]> git.saurik.com Git - wxWidgets.git/blob - configure
fix compilation after r50329
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50595 2007-12-09 12:40:58Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
898 COND_TOOLKIT_
899 COND_TOOLKIT_COCOA
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB
903 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11
933 COND_TOOLKIT_X11_USE_GUI_1
934 COND_UNICODE_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_0
938 COND_USE_GUI_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_PCH_1
946 COND_USE_PLUGINS_0
947 COND_USE_RTTI_0
948 COND_USE_RTTI_1
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSION_0
953 COND_USE_SOVERSOLARIS_1
954 COND_USE_STC_1
955 COND_USE_THREADS_0
956 COND_USE_THREADS_1
957 COND_USE_XRC_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
960 COND_WXUNIV_0
961 COND_WXUNIV_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
968 DEREZ
969 SHARED
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
972 USE_GUI
973 AFMINSTALL
974 WIN32INSTALL
975 TOOLKIT
976 TOOLKIT_DIR
977 TOOLCHAIN_NAME
978 TOOLCHAIN_FULLNAME
979 cross_compiling
980 WIDGET_SET
981 WX_RELEASE
982 WX_VERSION
983 WX_SUBVERSION
984 WX_CHARTYPE
985 WX_DEBUGTYPE
986 WXCONFIG_CPPFLAGS
987 WXCONFIG_CFLAGS
988 WXCONFIG_CXXFLAGS
989 WXCONFIG_LIBS
990 WXCONFIG_RPATH
991 WXCONFIG_LDFLAGS_GUI
992 WXCONFIG_RESFLAGS
993 GUIDIST
994 DISTDIR
995 SAMPLES_SUBDIRS
996 LDFLAGS_GL
997 OPENGL_LIBS
998 DMALLOC_LIBS
999 WX_VERSION_TAG
1000 RESCOMP
1001 RESFLAGS
1002 RESPROGRAMOBJ
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1005 LIBWXMACRES
1006 POSTLINK_COMMAND
1007 MACSETFILE
1008 GCC
1009 DLLTOOL
1010 CPPUNIT_CONFIG
1011 LIBOBJS
1012 LTLIBOBJS'
1013 ac_subst_files=''
1014 ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 CC
1018 CFLAGS
1019 LDFLAGS
1020 LIBS
1021 CPPFLAGS
1022 CPP
1023 CXX
1024 CXXFLAGS
1025 CCC
1026 PKG_CONFIG
1027 DIRECTFB_CFLAGS
1028 DIRECTFB_LIBS
1029 XMKMF
1030 PANGOX_CFLAGS
1031 PANGOX_LIBS
1032 PANGOFT2_CFLAGS
1033 PANGOFT2_LIBS
1034 PANGOXFT_CFLAGS
1035 PANGOXFT_LIBS
1036 GTKPRINT_CFLAGS
1037 GTKPRINT_LIBS
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1040 GNOMEVFS_CFLAGS
1041 GNOMEVFS_LIBS
1042 HILDON_CFLAGS
1043 HILDON_LIBS
1044 CAIRO_CFLAGS
1045 CAIRO_LIBS
1046 GST_CFLAGS
1047 GST_LIBS'
1048 ac_subdirs_all='src/tiff
1049 src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile (Win32 only)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images (GIF file format)
1840 --enable-pcx use pcx images (PCX file format)
1841 --enable-tga use tga images (TGA file format)
1842 --enable-iff use iff images (IFF file format)
1843 --enable-pnm use pnm images (PNM file format)
1844 --enable-xpm use xpm images (XPM file format)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects (Win32 only)
1847 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1848 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1849 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1850 --enable-wxdib use wxDIB class (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1858 can
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1861
1862 Optional Packages:
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1878 --with-x11 use X11
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1913 CPP C preprocessor
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1917 DIRECTFB_CFLAGS
1918 C compiler flags for DIRECTFB, overriding pkg-config
1919 DIRECTFB_LIBS
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 PANGOX_CFLAGS
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 PANGOFT2_CFLAGS
1926 C compiler flags for PANGOFT2, overriding pkg-config
1927 PANGOFT2_LIBS
1928 linker flags for PANGOFT2, overriding pkg-config
1929 PANGOXFT_CFLAGS
1930 C compiler flags for PANGOXFT, overriding pkg-config
1931 PANGOXFT_LIBS
1932 linker flags for PANGOXFT, overriding pkg-config
1933 GTKPRINT_CFLAGS
1934 C compiler flags for GTKPRINT, overriding pkg-config
1935 GTKPRINT_LIBS
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 GNOMEVFS_CFLAGS
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1943 GNOMEVFS_LIBS
1944 linker flags for GNOMEVFS, overriding pkg-config
1945 HILDON_CFLAGS
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1948 CAIRO_CFLAGS
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1953
1954 Use these variables to override the choices made by `configure' or to help
1955 it to find libraries and programs with nonstandard names/locations.
1956
1957 Report bugs to <wx-dev@lists.wxwidgets.org>.
1958 _ACEOF
1959 ac_status=$?
1960 fi
1961
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1965 test -d "$ac_dir" || continue
1966 ac_builddir=.
1967
1968 case "$ac_dir" in
1969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1970 *)
1971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 esac ;;
1978 esac
1979 ac_abs_top_builddir=$ac_pwd
1980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir=$ac_top_build_prefix
1983
1984 case $srcdir in
1985 .) # We are building in place.
1986 ac_srcdir=.
1987 ac_top_srcdir=$ac_top_builddir_sub
1988 ac_abs_top_srcdir=$ac_pwd ;;
1989 [\\/]* | ?:[\\/]* ) # Absolute name.
1990 ac_srcdir=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir=$srcdir
1992 ac_abs_top_srcdir=$srcdir ;;
1993 *) # Relative name.
1994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1997 esac
1998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1999
2000 cd "$ac_dir" || { ac_status=$?; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2003 echo &&
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2006 echo &&
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2008 else
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2010 fi || ac_status=$?
2011 cd "$ac_pwd" || { ac_status=$?; break; }
2012 done
2013 fi
2014
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2017 cat <<\_ACEOF
2018 wxWidgets configure 2.9.0
2019 generated by GNU Autoconf 2.61
2020
2021 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2023 This configure script is free software; the Free Software Foundation
2024 gives unlimited permission to copy, distribute and modify it.
2025 _ACEOF
2026 exit
2027 fi
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2031
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2034
2035 $ $0 $@
2036
2037 _ACEOF
2038 exec 5>>config.log
2039 {
2040 cat <<_ASUNAME
2041 ## --------- ##
2042 ## Platform. ##
2043 ## --------- ##
2044
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2053
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2061
2062 _ASUNAME
2063
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 echo "PATH: $as_dir"
2070 done
2071 IFS=$as_save_IFS
2072
2073 } >&5
2074
2075 cat >&5 <<_ACEOF
2076
2077
2078 ## ----------- ##
2079 ## Core tests. ##
2080 ## ----------- ##
2081
2082 _ACEOF
2083
2084
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_configure_args=
2091 ac_configure_args0=
2092 ac_configure_args1=
2093 ac_must_keep_next=false
2094 for ac_pass in 1 2
2095 do
2096 for ac_arg
2097 do
2098 case $ac_arg in
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2102 continue ;;
2103 *\'*)
2104 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 esac
2106 case $ac_pass in
2107 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2108 2)
2109 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2112 else
2113 case $ac_arg in
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 esac
2121 ;;
2122 -* ) ac_must_keep_next=true ;;
2123 esac
2124 fi
2125 ac_configure_args="$ac_configure_args '$ac_arg'"
2126 ;;
2127 esac
2128 done
2129 done
2130 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2131 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2132
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2140 {
2141 echo
2142
2143 cat <<\_ASBOX
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2147 _ASBOX
2148 echo
2149 # The following way of writing the cache mishandles newlines in values,
2150 (
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2153 case $ac_val in #(
2154 *${as_nl}*)
2155 case $ac_var in #(
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 esac
2159 case $ac_var in #(
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2162 esac ;;
2163 esac
2164 done
2165 (set) 2>&1 |
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2168 sed -n \
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 ;; #(
2172 *)
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2174 ;;
2175 esac |
2176 sort
2177 )
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2184 _ASBOX
2185 echo
2186 for ac_var in $ac_subst_vars
2187 do
2188 eval ac_val=\$$ac_var
2189 case $ac_val in
2190 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 esac
2192 echo "$ac_var='\''$ac_val'\''"
2193 done | sort
2194 echo
2195
2196 if test -n "$ac_subst_files"; then
2197 cat <<\_ASBOX
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2201 _ASBOX
2202 echo
2203 for ac_var in $ac_subst_files
2204 do
2205 eval ac_val=\$$ac_var
2206 case $ac_val in
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 esac
2209 echo "$ac_var='\''$ac_val'\''"
2210 done | sort
2211 echo
2212 fi
2213
2214 if test -s confdefs.h; then
2215 cat <<\_ASBOX
2216 ## ----------- ##
2217 ## confdefs.h. ##
2218 ## ----------- ##
2219 _ASBOX
2220 echo
2221 cat confdefs.h
2222 echo
2223 fi
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2227 } >&5
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 exit $exit_status
2231 ' 0
2232 for ac_signal in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2234 done
2235 ac_signal=0
2236
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest* confdefs.h
2239
2240 # Predefined preprocessor variables.
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 _ACEOF
2245
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 _ACEOF
2250
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2254 _ACEOF
2255
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 _ACEOF
2260
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2264 _ACEOF
2265
2266
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x "$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE; then
2272 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2273 else
2274 set x "$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2276 fi
2277 shift
2278 for ac_site_file
2279 do
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2284 . "$ac_site_file"
2285 fi
2286 done
2287
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2294 case $cache_file in
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2297 esac
2298 fi
2299 else
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2302 >$cache_file
2303 fi
2304
2305 # Check that the precious variables saved in the cache have kept the same
2306 # value.
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2314 set,)
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2318 ,set)
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2322 ,);;
2323 *)
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted=:
2332 fi;;
2333 esac
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2336 case $ac_new_val in
2337 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2339 esac
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2343 esac
2344 fi
2345 done
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2352 fi
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378 ac_ext=c
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383
2384
2385
2386
2387
2388 ac_aux_dir=
2389 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2393 break
2394 elif test -f "$ac_dir/install.sh"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2397 break
2398 elif test -f "$ac_dir/shtool"; then
2399 ac_aux_dir=$ac_dir
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2401 break
2402 fi
2403 done
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2408 fi
2409
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417
2418
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2424
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2441
2442 fi
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2446 *-*-*) ;;
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2450 esac
2451 build=$ac_cv_build
2452 ac_save_IFS=$IFS; IFS='-'
2453 set x $ac_cv_build
2454 shift
2455 build_cpu=$1
2456 build_vendor=$2
2457 shift; shift
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2460 build_os=$*
2461 IFS=$ac_save_IFS
2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463
2464
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 else
2470 if test "x$host_alias" = x; then
2471 ac_cv_host=$ac_cv_build
2472 else
2473 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2477 fi
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 case $ac_cv_host in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 host=$ac_cv_host
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_host
2491 shift
2492 host_cpu=$1
2493 host_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 host_os=$*
2498 IFS=$ac_save_IFS
2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$target_alias" = x; then
2508 ac_cv_target=$ac_cv_host
2509 else
2510 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 target=$ac_cv_target
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_target
2528 shift
2529 target_cpu=$1
2530 target_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 target_os=$*
2535 IFS=$ac_save_IFS
2536 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537
2538
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2543 NONENONEs,x,x, &&
2544 program_prefix=${target_alias}-
2545
2546
2547
2548 wx_major_version_number=2
2549 wx_minor_version_number=9
2550 wx_release_number=0
2551 wx_subrelease_number=0
2552
2553 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2554 WX_VERSION=$WX_RELEASE.$wx_release_number
2555 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2556
2557 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558
2559
2560 wx_top_builddir="`pwd`"
2561
2562
2563
2564
2565 USE_UNIX=1
2566 USE_OS2=0
2567 USE_WIN32=0
2568 USE_DOS=0
2569 USE_BEOS=0
2570 USE_MAC=0
2571
2572 USE_AIX=
2573 USE_BSD= USE_DARWIN= USE_FREEBSD=
2574 USE_GNU= USE_HPUX=
2575 USE_LINUX=
2576 USE_NETBSD=
2577 USE_OPENBSD=
2578 USE_OSF= USE_SGI=
2579 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2580 USE_ULTRIX=
2581 USE_UNIXWARE=
2582
2583 USE_ALPHA=
2584
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2586
2587 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2588
2589 DEFAULT_wxUSE_COCOA=0
2590 DEFAULT_wxUSE_GTK=0
2591 DEFAULT_wxUSE_MAC=0
2592 DEFAULT_wxUSE_MGL=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2595 DEFAULT_wxUSE_MSW=0
2596 DEFAULT_wxUSE_PM=0
2597 DEFAULT_wxUSE_X11=0
2598 DEFAULT_wxUSE_DFB=0
2599
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_MAC=0
2603 DEFAULT_DEFAULT_wxUSE_MGL=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_MSW=0
2607 DEFAULT_DEFAULT_wxUSE_PM=0
2608 DEFAULT_DEFAULT_wxUSE_X11=0
2609 DEFAULT_DEFAULT_wxUSE_DFB=0
2610
2611 PROGRAM_EXT=
2612 SO_SUFFIX=so
2613 SAMPLES_RPATH_FLAG=
2614 SAMPLES_RPATH_POSTLINK=
2615
2616 DEFAULT_STD_FLAG=yes
2617
2618 case "${host}" in
2619 *-hp-hpux* )
2620 USE_HPUX=1
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2623 SO_SUFFIX=sl
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __HPUX__ 1
2626 _ACEOF
2627
2628
2629 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2630 ;;
2631 *-*-linux* )
2632 USE_LINUX=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __LINUX__ 1
2635 _ACEOF
2636
2637 TMP=`uname -m`
2638 if test "x$TMP" = "xalpha"; then
2639 USE_ALPHA=1
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __ALPHA__ 1
2642 _ACEOF
2643
2644 fi
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2646 ;;
2647 *-*-gnu* | *-*-k*bsd*-gnu )
2648 USE_GNU=1
2649 TMP=`uname -m`
2650 if test "x$TMP" = "xalpha"; then
2651 USE_ALPHA=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __ALPHA__ 1
2654 _ACEOF
2655
2656 fi
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2658 ;;
2659 *-*-irix5* | *-*-irix6* )
2660 USE_SGI=1
2661 USE_SVR4=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SGI__ 1
2664 _ACEOF
2665
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __SVR4__ 1
2668 _ACEOF
2669
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 ;;
2672 *-*-solaris2* )
2673 USE_SUN=1
2674 USE_SOLARIS=1
2675 USE_SVR4=1
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SUN__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SOLARIS__ 1
2682 _ACEOF
2683
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SVR4__ 1
2686 _ACEOF
2687
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2690 ;;
2691 *-*-sunos4* )
2692 USE_SUN=1
2693 USE_SUNOS=1
2694 USE_BSD=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUN__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SUNOS__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-freebsd*)
2710 USE_BSD=1
2711 USE_FREEBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __FREEBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 ;;
2722 *-*-openbsd*|*-*-mirbsd*)
2723 USE_BSD=1
2724 USE_OPENBSD=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __OPENBSD__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __BSD__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 ;;
2735 *-*-netbsd*)
2736 USE_BSD=1
2737 USE_NETBSD=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __NETBSD__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2748
2749 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2750 ;;
2751 *-*-osf* )
2752 USE_ALPHA=1
2753 USE_OSF=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __ALPHA__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __OSF__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764 ;;
2765 *-*-dgux5* )
2766 USE_ALPHA=1
2767 USE_SVR4=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __ALPHA__ 1
2770 _ACEOF
2771
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SVR4__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 ;;
2778 *-*-sysv5* )
2779 USE_SYSV=1
2780 USE_SVR4=1
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SYSV__ 1
2783 _ACEOF
2784
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __SVR4__ 1
2787 _ACEOF
2788
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2790 ;;
2791 *-*-aix* )
2792 USE_AIX=1
2793 USE_SYSV=1
2794 USE_SVR4=1
2795 SO_SUFFIX=a
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __AIX__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SYSV__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __SVR4__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 ;;
2810
2811 *-*-*UnixWare*)
2812 USE_SYSV=1
2813 USE_SVR4=1
2814 USE_UNIXWARE=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __UNIXWARE__ 1
2817 _ACEOF
2818
2819 ;;
2820
2821 *-*-cygwin* | *-*-mingw32* )
2822 SO_SUFFIX=dll
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 SO_SUFFIX=dylib
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __BSD__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DARWIN__ 1
2880 _ACEOF
2881
2882 cat >>confdefs.h <<\_ACEOF
2883 #define TARGET_CARBON 1
2884 _ACEOF
2885
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 DEFAULT_STD_FLAG=no
2888 ;;
2889 powerpc-apple-macos* )
2890 USE_UNIX=0
2891 ac_cv_c_bigendian=yes
2892 SO_SUFFIX=shlib
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896
2897 *-*-beos* )
2898 USE_BEOS=1
2899 cat >>confdefs.h <<\_ACEOF
2900 #define __BEOS__ 1
2901 _ACEOF
2902
2903 ;;
2904
2905 *)
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2910
2911 DEFAULT_DEFAULT_wxUSE_X11=1
2912 DEFAULT_wxUSE_SHARED=no
2913 esac
2914
2915
2916
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2918
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2921
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_OPENGL=no
2928
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_IPV6=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935 DEFAULT_wxUSE_GSTREAMER8=no
2936
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2941
2942 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2943
2944 DEFAULT_wxUSE_GTK2=yes
2945
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2947
2948
2949
2950
2951
2952 enablestring=disable
2953 defaultval=
2954 if test -z "$defaultval"; then
2955 if test x"$enablestring" = xdisable; then
2956 defaultval=yes
2957 else
2958 defaultval=no
2959 fi
2960 fi
2961
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui='wxUSE_GUI=yes'
2969 else
2970 wx_cv_use_gui='wxUSE_GUI=no'
2971 fi
2972
2973 else
2974
2975 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2976
2977 fi
2978
2979
2980 eval "$wx_cv_use_gui"
2981
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2984 result=no
2985 else
2986 result=yes
2987 fi
2988 else
2989 result=$wxUSE_GUI
2990 fi
2991
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2994
2995
2996 enablestring=
2997 defaultval=
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3000 defaultval=yes
3001 else
3002 defaultval=no
3003 fi
3004 fi
3005
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3013 else
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3015 fi
3016
3017 else
3018
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3020
3021 fi
3022
3023
3024 eval "$wx_cv_use_monolithic"
3025
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3028 result=no
3029 else
3030 result=yes
3031 fi
3032 else
3033 result=$wxUSE_MONOLITHIC
3034 fi
3035
3036 { echo "$as_me:$LINENO: result: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3038
3039
3040 enablestring=
3041 defaultval=
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3044 defaultval=yes
3045 else
3046 defaultval=no
3047 fi
3048 fi
3049
3050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3057 else
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3059 fi
3060
3061 else
3062
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_plugins"
3069
3070 if test x"$enablestring" = xdisable; then
3071 if test $wxUSE_PLUGINS = yes; then
3072 result=no
3073 else
3074 result=yes
3075 fi
3076 else
3077 result=$wxUSE_PLUGINS
3078 fi
3079
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3082
3083
3084 withstring=without
3085 defaultval=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x"$withstring" = xwithout; then
3088 defaultval=yes
3089 else
3090 defaultval=no
3091 fi
3092 fi
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3095
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3101 else
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3103 fi
3104
3105 else
3106
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3108
3109 fi
3110
3111
3112 eval "$wx_cv_use_subdirs"
3113
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3116 result=no
3117 else
3118 result=yes
3119 fi
3120 else
3121 result=$wxWITH_SUBDIRS
3122 fi
3123
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3126
3127
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3131 fi
3132
3133
3134 enablestring=
3135 defaultval=
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3151 else
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3153 fi
3154
3155 else
3156
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_official_build"
3163
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxUSE_OFFICIAL_BUILD
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3180 fi
3181
3182 if test "x$VENDOR" = "x"; then
3183 VENDOR="custom"
3184 fi
3185
3186
3187 enablestring=disable
3188 defaultval=
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3191 defaultval=yes
3192 else
3193 defaultval=no
3194 fi
3195 fi
3196
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3204 else
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3206 fi
3207
3208 else
3209
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3211
3212 fi
3213
3214
3215 eval "$wx_cv_use_all_features"
3216
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3219 result=no
3220 else
3221 result=yes
3222 fi
3223 else
3224 result=$wxUSE_ALL_FEATURES
3225 fi
3226
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3229
3230
3231
3232 if test "$wxUSE_GUI" = "yes"; then
3233
3234
3235 enablestring=
3236 defaultval=
3237 if test -z "$defaultval"; then
3238 if test x"$enablestring" = xdisable; then
3239 defaultval=yes
3240 else
3241 defaultval=no
3242 fi
3243 fi
3244
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3252 else
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3254 fi
3255
3256 else
3257
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3259
3260 fi
3261
3262
3263 eval "$wx_cv_use_universal"
3264
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3267 result=no
3268 else
3269 result=yes
3270 fi
3271 else
3272 result=$wxUSE_UNIVERSAL
3273 fi
3274
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3277
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3279
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 fi
3284
3285 fi
3286
3287
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3291 fi
3292
3293
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3297 fi
3298
3299
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3315 fi
3316
3317
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 enablestring=
3355 defaultval=
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3358 defaultval=yes
3359 else
3360 defaultval=no
3361 fi
3362 fi
3363
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX=yes'
3371 else
3372 wx_cv_use_nanox='wxUSE_NANOX=no'
3373 fi
3374
3375 else
3376
3377 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3378
3379 fi
3380
3381
3382 eval "$wx_cv_use_nanox"
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3386 result=no
3387 else
3388 result=yes
3389 fi
3390 else
3391 result=$wxUSE_NANOX
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3401 fi
3402
3403
3404 enablestring=
3405 defaultval=
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3408 defaultval=yes
3409 else
3410 defaultval=no
3411 fi
3412 fi
3413
3414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3421 else
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3423 fi
3424
3425 else
3426
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3428
3429 fi
3430
3431
3432 eval "$wx_cv_use_gpe"
3433
3434 if test x"$enablestring" = xdisable; then
3435 if test $wxUSE_GPE = yes; then
3436 result=no
3437 else
3438 result=yes
3439 fi
3440 else
3441 result=$wxUSE_GPE
3442 fi
3443
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3446
3447
3448
3449
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3452
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3464 else
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3468 fi
3469
3470 else
3471
3472 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3473
3474 fi
3475
3476
3477 eval "$wx_cv_use_libpng"
3478
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3491 else
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496
3497
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3500
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3512 else
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3516 fi
3517
3518 else
3519
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3521
3522 fi
3523
3524
3525 eval "$wx_cv_use_libjpeg"
3526
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6; }
3539 else
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544
3545
3546 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3547 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3548
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3560 else
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3564 fi
3565
3566 else
3567
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3569
3570 fi
3571
3572
3573 eval "$wx_cv_use_libtiff"
3574
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3587 else
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3591 fi
3592
3593
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3596
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3608 else
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3612 fi
3613
3614 else
3615
3616 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3617
3618 fi
3619
3620
3621 eval "$wx_cv_use_libxpm"
3622
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 withstring=
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3646 defaultval=yes
3647 else
3648 defaultval=no
3649 fi
3650 fi
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3659 else
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libmspack"
3671
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3674 result=no
3675 else
3676 result=yes
3677 fi
3678 else
3679 result=$wxUSE_LIBMSPACK
3680 fi
3681
3682 { echo "$as_me:$LINENO: result: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3684
3685
3686 withstring=without
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3690 defaultval=yes
3691 else
3692 defaultval=no
3693 fi
3694 fi
3695 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3697
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3703 else
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3705 fi
3706
3707 else
3708
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3710
3711 fi
3712
3713
3714 eval "$wx_cv_use_gtkprint"
3715
3716 if test x"$withstring" = xwithout; then
3717 if test $wxUSE_GTKPRINT = yes; then
3718 result=no
3719 else
3720 result=yes
3721 fi
3722 else
3723 result=$wxUSE_GTKPRINT
3724 fi
3725
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3728
3729
3730 withstring=without
3731 defaultval=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x"$withstring" = xwithout; then
3734 defaultval=yes
3735 else
3736 defaultval=no
3737 fi
3738 fi
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3741
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3747 else
3748 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3749 fi
3750
3751 else
3752
3753 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3754
3755 fi
3756
3757
3758 eval "$wx_cv_use_gnomeprint"
3759
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3762 result=no
3763 else
3764 result=yes
3765 fi
3766 else
3767 result=$wxUSE_LIBGNOMEPRINT
3768 fi
3769
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3772
3773
3774 withstring=
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3778 defaultval=yes
3779 else
3780 defaultval=no
3781 fi
3782 fi
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3785
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3791 else
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3793 fi
3794
3795 else
3796
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3798
3799 fi
3800
3801
3802 eval "$wx_cv_use_gnomevfs"
3803
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3806 result=no
3807 else
3808 result=yes
3809 fi
3810 else
3811 result=$wxUSE_LIBGNOMEVFS
3812 fi
3813
3814 { echo "$as_me:$LINENO: result: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3816
3817
3818 withstring=
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3822 defaultval=yes
3823 else
3824 defaultval=no
3825 fi
3826 fi
3827 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3829
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3835 else
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3837 fi
3838
3839 else
3840
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3842
3843 fi
3844
3845
3846 eval "$wx_cv_use_hildon"
3847
3848 if test x"$withstring" = xwithout; then
3849 if test $wxUSE_LIBHILDON = yes; then
3850 result=no
3851 else
3852 result=yes
3853 fi
3854 else
3855 result=$wxUSE_LIBHILDON
3856 fi
3857
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3860
3861
3862 withstring=
3863 defaultval=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x"$withstring" = xwithout; then
3866 defaultval=yes
3867 else
3868 defaultval=no
3869 fi
3870 fi
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3873
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3879 else
3880 wx_cv_use_opengl='wxUSE_OPENGL=no'
3881 fi
3882
3883 else
3884
3885 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3886
3887 fi
3888
3889
3890 eval "$wx_cv_use_opengl"
3891
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3894 result=no
3895 else
3896 result=yes
3897 fi
3898 else
3899 result=$wxUSE_OPENGL
3900 fi
3901
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3904
3905
3906 fi
3907
3908
3909 withstring=
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3913 defaultval=yes
3914 else
3915 defaultval=no
3916 fi
3917 fi
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3920
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3926 else
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3928 fi
3929
3930 else
3931
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3933
3934 fi
3935
3936
3937 eval "$wx_cv_use_dmalloc"
3938
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3941 result=no
3942 else
3943 result=yes
3944 fi
3945 else
3946 result=$wxUSE_DMALLOC
3947 fi
3948
3949 { echo "$as_me:$LINENO: result: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3951
3952
3953 withstring=
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3957 defaultval=yes
3958 else
3959 defaultval=no
3960 fi
3961 fi
3962 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3964
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3967 withval=$with_sdl;
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3970 else
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3972 fi
3973
3974 else
3975
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3977
3978 fi
3979
3980
3981 eval "$wx_cv_use_sdl"
3982
3983 if test x"$withstring" = xwithout; then
3984 if test $wxUSE_LIBSDL = yes; then
3985 result=no
3986 else
3987 result=yes
3988 fi
3989 else
3990 result=$wxUSE_LIBSDL
3991 fi
3992
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3995
3996
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3999
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex='wxUSE_REGEX=yes'
4005 elif test "$withval" = no; then
4006 wx_cv_use_regex='wxUSE_REGEX=no'
4007 elif test "$withval" = sys; then
4008 wx_cv_use_regex='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex='wxUSE_REGEX=builtin'
4011 else
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4015 fi
4016
4017 else
4018
4019 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4020
4021 fi
4022
4023
4024 eval "$wx_cv_use_regex"
4025
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4038 else
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4042 fi
4043
4044
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4047
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4050 withval=$with_zlib;
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=no'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4059 else
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4063 fi
4064
4065 else
4066
4067 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4068
4069 fi
4070
4071
4072 eval "$wx_cv_use_zlib"
4073
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result: system version" >&5
4082 echo "${ECHO_T}system version" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result: builtin version" >&5
4085 echo "${ECHO_T}builtin version" >&6; }
4086 else
4087 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4088 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4090 fi
4091
4092
4093 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4094 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4095
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4107 else
4108 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4109 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4111 fi
4112
4113 else
4114
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4116
4117 fi
4118
4119
4120 eval "$wx_cv_use_expat"
4121
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4134 else
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4138 fi
4139
4140
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4143
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK=$withval
4148 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4149
4150 fi
4151
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4154
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4157
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN=$withval
4162 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4163
4164 fi
4165
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4168
4169
4170
4171 enablestring=disable
4172 defaultval=
4173 if test -z "$defaultval"; then
4174 if test x"$enablestring" = xdisable; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared='wxUSE_SHARED=yes'
4188 else
4189 wx_cv_use_shared='wxUSE_SHARED=no'
4190 fi
4191
4192 else
4193
4194 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4195
4196 fi
4197
4198
4199 eval "$wx_cv_use_shared"
4200
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4203 result=no
4204 else
4205 result=yes
4206 fi
4207 else
4208 result=$wxUSE_SHARED
4209 fi
4210
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4213
4214
4215 enablestring=disable
4216 defaultval=
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4219 defaultval=yes
4220 else
4221 defaultval=no
4222 fi
4223 fi
4224
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4232 else
4233 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4234 fi
4235
4236 else
4237
4238 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4239
4240 fi
4241
4242
4243 eval "$wx_cv_use_optimise"
4244
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4247 result=no
4248 else
4249 result=yes
4250 fi
4251 else
4252 result=$wxUSE_OPTIMISE
4253 fi
4254
4255 { echo "$as_me:$LINENO: result: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4257
4258
4259 enablestring=
4260 defaultval=
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4263 defaultval=yes
4264 else
4265 defaultval=no
4266 fi
4267 fi
4268
4269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4276 else
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4278 fi
4279
4280 else
4281
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4283
4284 fi
4285
4286
4287 eval "$wx_cv_use_debug"
4288
4289 if test x"$enablestring" = xdisable; then
4290 if test $wxUSE_DEBUG = yes; then
4291 result=no
4292 else
4293 result=yes
4294 fi
4295 else
4296 result=$wxUSE_DEBUG
4297 fi
4298
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4301
4302
4303 enablestring=
4304 defaultval=
4305 if test -z "$defaultval"; then
4306 if test x"$enablestring" = xdisable; then
4307 defaultval=yes
4308 else
4309 defaultval=no
4310 fi
4311 fi
4312
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl='wxUSE_STL=yes'
4320 else
4321 wx_cv_use_stl='wxUSE_STL=no'
4322 fi
4323
4324 else
4325
4326 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4327
4328 fi
4329
4330
4331 eval "$wx_cv_use_stl"
4332
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4335 result=no
4336 else
4337 result=yes
4338 fi
4339 else
4340 result=$wxUSE_STL
4341 fi
4342
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4345
4346
4347 enablestring=
4348 defaultval=
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4351 defaultval=yes
4352 else
4353 defaultval=no
4354 fi
4355 fi
4356
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4364 else
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4366 fi
4367
4368 else
4369
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_std_iostreams"
4376
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4379 result=no
4380 else
4381 result=yes
4382 fi
4383 else
4384 result=$wxUSE_STD_IOSTREAM
4385 fi
4386
4387 { echo "$as_me:$LINENO: result: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4389
4390
4391 enablestring=
4392 defaultval=
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4395 defaultval=yes
4396 else
4397 defaultval=no
4398 fi
4399 fi
4400
4401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4408 else
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4410 fi
4411
4412 else
4413
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4415
4416 fi
4417
4418
4419 eval "$wx_cv_use_std_string"
4420
4421 if test x"$enablestring" = xdisable; then
4422 if test $wxUSE_STD_STRING = yes; then
4423 result=no
4424 else
4425 result=yes
4426 fi
4427 else
4428 result=$wxUSE_STD_STRING
4429 fi
4430
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4433
4434
4435 enablestring=disable
4436 defaultval=
4437 if test -z "$defaultval"; then
4438 if test x"$enablestring" = xdisable; then
4439 defaultval=yes
4440 else
4441 defaultval=no
4442 fi
4443 fi
4444
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4452 else
4453 wx_cv_use_unicode='wxUSE_UNICODE=no'
4454 fi
4455
4456 else
4457
4458 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4459
4460 fi
4461
4462
4463 eval "$wx_cv_use_unicode"
4464
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4467 result=no
4468 else
4469 result=yes
4470 fi
4471 else
4472 result=$wxUSE_UNICODE
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4477
4478
4479 enablestring=
4480 defaultval=
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4483 defaultval=yes
4484 else
4485 defaultval=no
4486 fi
4487 fi
4488
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4496 else
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4498 fi
4499
4500 else
4501
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4503
4504 fi
4505
4506
4507 eval "$wx_cv_use_mslu"
4508
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4511 result=no
4512 else
4513 result=yes
4514 fi
4515 else
4516 result=$wxUSE_UNICODE_MSLU
4517 fi
4518
4519 { echo "$as_me:$LINENO: result: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4521
4522
4523 enablestring=
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4530
4531 else
4532
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4534
4535 fi
4536
4537
4538 eval "$wx_cv_use_utf8"
4539
4540 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4542
4543
4544 enablestring=
4545 defaultval=
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4548 defaultval=yes
4549 else
4550 defaultval=no
4551 fi
4552 fi
4553
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4561 else
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4563 fi
4564
4565 else
4566
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4568
4569 fi
4570
4571
4572 eval "$wx_cv_use_utf8only"
4573
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4576 result=no
4577 else
4578 result=yes
4579 fi
4580 else
4581 result=$wxUSE_UNICODE_UTF8_LOCALE
4582 fi
4583
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4586
4587
4588 enablestring=
4589 defaultval=
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4592 defaultval=yes
4593 else
4594 defaultval=no
4595 fi
4596 fi
4597
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4605 else
4606 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4607 fi
4608
4609 else
4610
4611 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4612
4613 fi
4614
4615
4616 eval "$wx_cv_use_extended_rtti"
4617
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4620 result=no
4621 else
4622 result=yes
4623 fi
4624 else
4625 result=$wxUSE_EXTENDED_RTTI
4626 fi
4627
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4630
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4633
4634 enablestring=
4635 defaultval=
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4638 defaultval=yes
4639 else
4640 defaultval=no
4641 fi
4642 fi
4643
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF=yes'
4651 else
4652 wx_cv_use_omf='wxUSE_OMF=no'
4653 fi
4654
4655 else
4656
4657 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4658
4659 fi
4660
4661
4662 eval "$wx_cv_use_omf"
4663
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4666 result=no
4667 else
4668 result=yes
4669 fi
4670 else
4671 result=$wxUSE_OMF
4672 fi
4673
4674 { echo "$as_me:$LINENO: result: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4676
4677 fi
4678
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4682 BUILD=debug
4683 elif test "$wxUSE_DEBUG" = "no"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4686 BUILD=release
4687 fi
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4707 else
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_debug_flag"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_DEBUG_FLAG
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733
4734 enablestring=
4735 defaultval=
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4738 defaultval=yes
4739 else
4740 defaultval=no
4741 fi
4742 fi
4743
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4751 else
4752 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_debug_info"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_DEBUG_INFO
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777
4778 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4779 wxUSE_DEBUG=yes
4780 BUILD=debug
4781 fi
4782
4783
4784 enablestring=
4785 defaultval=
4786 if test -z "$defaultval"; then
4787 if test x"$enablestring" = xdisable; then
4788 defaultval=yes
4789 else
4790 defaultval=no
4791 fi
4792 fi
4793
4794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4796 # Check whether --enable-debug_gdb was given.
4797 if test "${enable_debug_gdb+set}" = set; then
4798 enableval=$enable_debug_gdb;
4799 if test "$enableval" = yes; then
4800 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4801 else
4802 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4803 fi
4804
4805 else
4806
4807 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4808
4809 fi
4810
4811
4812 eval "$wx_cv_use_debug_gdb"
4813
4814 if test x"$enablestring" = xdisable; then
4815 if test $wxUSE_DEBUG_GDB = yes; then
4816 result=no
4817 else
4818 result=yes
4819 fi
4820 else
4821 result=$wxUSE_DEBUG_GDB
4822 fi
4823
4824 { echo "$as_me:$LINENO: result: $result" >&5
4825 echo "${ECHO_T}$result" >&6; }
4826
4827
4828 enablestring=
4829 defaultval=
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4832 defaultval=yes
4833 else
4834 defaultval=no
4835 fi
4836 fi
4837
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4840 # Check whether --enable-debug_cntxt was given.
4841 if test "${enable_debug_cntxt+set}" = set; then
4842 enableval=$enable_debug_cntxt;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4845 else
4846 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4847 fi
4848
4849 else
4850
4851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4852
4853 fi
4854
4855
4856 eval "$wx_cv_use_debug_cntxt"
4857
4858 if test x"$enablestring" = xdisable; then
4859 if test $wxUSE_DEBUG_CONTEXT = yes; then
4860 result=no
4861 else
4862 result=yes
4863 fi
4864 else
4865 result=$wxUSE_DEBUG_CONTEXT
4866 fi
4867
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4870
4871
4872 enablestring=
4873 defaultval=
4874 if test -z "$defaultval"; then
4875 if test x"$enablestring" = xdisable; then
4876 defaultval=yes
4877 else
4878 defaultval=no
4879 fi
4880 fi
4881
4882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4884 # Check whether --enable-mem_tracing was given.
4885 if test "${enable_mem_tracing+set}" = set; then
4886 enableval=$enable_mem_tracing;
4887 if test "$enableval" = yes; then
4888 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4889 else
4890 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4891 fi
4892
4893 else
4894
4895 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4896
4897 fi
4898
4899
4900 eval "$wx_cv_use_mem_tracing"
4901
4902 if test x"$enablestring" = xdisable; then
4903 if test $wxUSE_MEM_TRACING = yes; then
4904 result=no
4905 else
4906 result=yes
4907 fi
4908 else
4909 result=$wxUSE_MEM_TRACING
4910 fi
4911
4912 { echo "$as_me:$LINENO: result: $result" >&5
4913 echo "${ECHO_T}$result" >&6; }
4914
4915
4916 enablestring=
4917 defaultval=
4918 if test -z "$defaultval"; then
4919 if test x"$enablestring" = xdisable; then
4920 defaultval=yes
4921 else
4922 defaultval=no
4923 fi
4924 fi
4925
4926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4928 # Check whether --enable-profile was given.
4929 if test "${enable_profile+set}" = set; then
4930 enableval=$enable_profile;
4931 if test "$enableval" = yes; then
4932 wx_cv_use_profile='wxUSE_PROFILE=yes'
4933 else
4934 wx_cv_use_profile='wxUSE_PROFILE=no'
4935 fi
4936
4937 else
4938
4939 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4940
4941 fi
4942
4943
4944 eval "$wx_cv_use_profile"
4945
4946 if test x"$enablestring" = xdisable; then
4947 if test $wxUSE_PROFILE = yes; then
4948 result=no
4949 else
4950 result=yes
4951 fi
4952 else
4953 result=$wxUSE_PROFILE
4954 fi
4955
4956 { echo "$as_me:$LINENO: result: $result" >&5
4957 echo "${ECHO_T}$result" >&6; }
4958
4959
4960 enablestring=
4961 defaultval=
4962 if test -z "$defaultval"; then
4963 if test x"$enablestring" = xdisable; then
4964 defaultval=yes
4965 else
4966 defaultval=no
4967 fi
4968 fi
4969
4970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4977 else
4978 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4979 fi
4980
4981 else
4982
4983 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4984
4985 fi
4986
4987
4988 eval "$wx_cv_use_no_rtti"
4989
4990 if test x"$enablestring" = xdisable; then
4991 if test $wxUSE_NO_RTTI = yes; then
4992 result=no
4993 else
4994 result=yes
4995 fi
4996 else
4997 result=$wxUSE_NO_RTTI
4998 fi
4999
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5002
5003
5004 enablestring=
5005 defaultval=
5006 if test -z "$defaultval"; then
5007 if test x"$enablestring" = xdisable; then
5008 defaultval=yes
5009 else
5010 defaultval=no
5011 fi
5012 fi
5013
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5016 # Check whether --enable-no_exceptions was given.
5017 if test "${enable_no_exceptions+set}" = set; then
5018 enableval=$enable_no_exceptions;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5021 else
5022 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5023 fi
5024
5025 else
5026
5027 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_no_exceptions"
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_NO_EXCEPTIONS = yes; then
5036 result=no
5037 else
5038 result=yes
5039 fi
5040 else
5041 result=$wxUSE_NO_EXCEPTIONS
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5060 # Check whether --enable-permissive was given.
5061 if test "${enable_permissive+set}" = set; then
5062 enableval=$enable_permissive;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5065 else
5066 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5067 fi
5068
5069 else
5070
5071 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5072
5073 fi
5074
5075
5076 eval "$wx_cv_use_permissive"
5077
5078 if test x"$enablestring" = xdisable; then
5079 if test $wxUSE_PERMISSIVE = yes; then
5080 result=no
5081 else
5082 result=yes
5083 fi
5084 else
5085 result=$wxUSE_PERMISSIVE
5086 fi
5087
5088 { echo "$as_me:$LINENO: result: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5090
5091
5092 enablestring=
5093 defaultval=
5094 if test -z "$defaultval"; then
5095 if test x"$enablestring" = xdisable; then
5096 defaultval=yes
5097 else
5098 defaultval=no
5099 fi
5100 fi
5101
5102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5104 # Check whether --enable-no_deps was given.
5105 if test "${enable_no_deps+set}" = set; then
5106 enableval=$enable_no_deps;
5107 if test "$enableval" = yes; then
5108 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5109 else
5110 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5111 fi
5112
5113 else
5114
5115 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5116
5117 fi
5118
5119
5120 eval "$wx_cv_use_no_deps"
5121
5122 if test x"$enablestring" = xdisable; then
5123 if test $wxUSE_NO_DEPS = yes; then
5124 result=no
5125 else
5126 result=yes
5127 fi
5128 else
5129 result=$wxUSE_NO_DEPS
5130 fi
5131
5132 { echo "$as_me:$LINENO: result: $result" >&5
5133 echo "${ECHO_T}$result" >&6; }
5134
5135
5136 enablestring=disable
5137 defaultval=
5138 if test -z "$defaultval"; then
5139 if test x"$enablestring" = xdisable; then
5140 defaultval=yes
5141 else
5142 defaultval=no
5143 fi
5144 fi
5145
5146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5148 # Check whether --enable-vararg_macros was given.
5149 if test "${enable_vararg_macros+set}" = set; then
5150 enableval=$enable_vararg_macros;
5151 if test "$enableval" = yes; then
5152 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5153 else
5154 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5155 fi
5156
5157 else
5158
5159 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5160
5161 fi
5162
5163
5164 eval "$wx_cv_use_vararg_macros"
5165
5166 if test x"$enablestring" = xdisable; then
5167 if test $wxUSE_VARARG_MACROS = yes; then
5168 result=no
5169 else
5170 result=yes
5171 fi
5172 else
5173 result=$wxUSE_VARARG_MACROS
5174 fi
5175
5176 { echo "$as_me:$LINENO: result: $result" >&5
5177 echo "${ECHO_T}$result" >&6; }
5178
5179
5180 enablestring=
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5183 # Check whether --enable-universal_binary was given.
5184 if test "${enable_universal_binary+set}" = set; then
5185 enableval=$enable_universal_binary;
5186 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5187
5188 else
5189
5190 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5191
5192 fi
5193
5194
5195 eval "$wx_cv_use_universal_binary"
5196
5197 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5198 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5199
5200
5201
5202 enablestring=
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}-compat26" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5214 # Check whether --enable-compat26 was given.
5215 if test "${enable_compat26+set}" = set; then
5216 enableval=$enable_compat26;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5219 else
5220 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5221 fi
5222
5223 else
5224
5225 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5226
5227 fi
5228
5229
5230 eval "$wx_cv_use_compat26"
5231
5232 if test x"$enablestring" = xdisable; then
5233 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5234 result=no
5235 else
5236 result=yes
5237 fi
5238 else
5239 result=$WXWIN_COMPATIBILITY_2_6
5240 fi
5241
5242 { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5244
5245
5246 enablestring=disable
5247 defaultval=
5248 if test -z "$defaultval"; then
5249 if test x"$enablestring" = xdisable; then
5250 defaultval=yes
5251 else
5252 defaultval=no
5253 fi
5254 fi
5255
5256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5258 # Check whether --enable-compat28 was given.
5259 if test "${enable_compat28+set}" = set; then
5260 enableval=$enable_compat28;
5261 if test "$enableval" = yes; then
5262 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5263 else
5264 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5265 fi
5266
5267 else
5268
5269 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5270
5271 fi
5272
5273
5274 eval "$wx_cv_use_compat28"
5275
5276 if test x"$enablestring" = xdisable; then
5277 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5278 result=no
5279 else
5280 result=yes
5281 fi
5282 else
5283 result=$WXWIN_COMPATIBILITY_2_8
5284 fi
5285
5286 { echo "$as_me:$LINENO: result: $result" >&5
5287 echo "${ECHO_T}$result" >&6; }
5288
5289
5290
5291 enablestring=disable
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}-rpath" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5303 # Check whether --enable-rpath was given.
5304 if test "${enable_rpath+set}" = set; then
5305 enableval=$enable_rpath;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_rpath='wxUSE_RPATH=yes'
5308 else
5309 wx_cv_use_rpath='wxUSE_RPATH=no'
5310 fi
5311
5312 else
5313
5314 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5315
5316 fi
5317
5318
5319 eval "$wx_cv_use_rpath"
5320
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_RPATH = yes; then
5323 result=no
5324 else
5325 result=yes
5326 fi
5327 else
5328 result=$wxUSE_RPATH
5329 fi
5330
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5333
5334
5335
5336 enablestring=
5337 defaultval=
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5348 # Check whether --enable-objc_uniquifying was given.
5349 if test "${enable_objc_uniquifying+set}" = set; then
5350 enableval=$enable_objc_uniquifying;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5353 else
5354 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5355 fi
5356
5357 else
5358
5359 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5360
5361 fi
5362
5363
5364 eval "$wx_cv_use_objc_uniquifying"
5365
5366 if test x"$enablestring" = xdisable; then
5367 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5368 result=no
5369 else
5370 result=yes
5371 fi
5372 else
5373 result=$wxUSE_OBJC_UNIQUIFYING
5374 fi
5375
5376 { echo "$as_me:$LINENO: result: $result" >&5
5377 echo "${ECHO_T}$result" >&6; }
5378
5379
5380
5381 enablestring=disable
5382 defaultval=
5383 if test -z "$defaultval"; then
5384 if test x"$enablestring" = xdisable; then
5385 defaultval=yes
5386 else
5387 defaultval=no
5388 fi
5389 fi
5390
5391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5393 # Check whether --enable-visibility was given.
5394 if test "${enable_visibility+set}" = set; then
5395 enableval=$enable_visibility;
5396 if test "$enableval" = yes; then
5397 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5398 else
5399 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5400 fi
5401
5402 else
5403
5404 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5405
5406 fi
5407
5408
5409 eval "$wx_cv_use_visibility"
5410
5411 if test x"$enablestring" = xdisable; then
5412 if test $wxUSE_VISIBILITY = yes; then
5413 result=no
5414 else
5415 result=yes
5416 fi
5417 else
5418 result=$wxUSE_VISIBILITY
5419 fi
5420
5421 { echo "$as_me:$LINENO: result: $result" >&5
5422 echo "${ECHO_T}$result" >&6; }
5423
5424
5425
5426
5427 enablestring=
5428 defaultval=$wxUSE_ALL_FEATURES
5429 if test -z "$defaultval"; then
5430 if test x"$enablestring" = xdisable; then
5431 defaultval=yes
5432 else
5433 defaultval=no
5434 fi
5435 fi
5436
5437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5439 # Check whether --enable-intl was given.
5440 if test "${enable_intl+set}" = set; then
5441 enableval=$enable_intl;
5442 if test "$enableval" = yes; then
5443 wx_cv_use_intl='wxUSE_INTL=yes'
5444 else
5445 wx_cv_use_intl='wxUSE_INTL=no'
5446 fi
5447
5448 else
5449
5450 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5451
5452 fi
5453
5454
5455 eval "$wx_cv_use_intl"
5456
5457 if test x"$enablestring" = xdisable; then
5458 if test $wxUSE_INTL = yes; then
5459 result=no
5460 else
5461 result=yes
5462 fi
5463 else
5464 result=$wxUSE_INTL
5465 fi
5466
5467 { echo "$as_me:$LINENO: result: $result" >&5
5468 echo "${ECHO_T}$result" >&6; }
5469
5470
5471 enablestring=
5472 defaultval=$wxUSE_ALL_FEATURES
5473 if test -z "$defaultval"; then
5474 if test x"$enablestring" = xdisable; then
5475 defaultval=yes
5476 else
5477 defaultval=no
5478 fi
5479 fi
5480
5481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5483 # Check whether --enable-config was given.
5484 if test "${enable_config+set}" = set; then
5485 enableval=$enable_config;
5486 if test "$enableval" = yes; then
5487 wx_cv_use_config='wxUSE_CONFIG=yes'
5488 else
5489 wx_cv_use_config='wxUSE_CONFIG=no'
5490 fi
5491
5492 else
5493
5494 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5495
5496 fi
5497
5498
5499 eval "$wx_cv_use_config"
5500
5501 if test x"$enablestring" = xdisable; then
5502 if test $wxUSE_CONFIG = yes; then
5503 result=no
5504 else
5505 result=yes
5506 fi
5507 else
5508 result=$wxUSE_CONFIG
5509 fi
5510
5511 { echo "$as_me:$LINENO: result: $result" >&5
5512 echo "${ECHO_T}$result" >&6; }
5513
5514
5515
5516 enablestring=
5517 defaultval=$wxUSE_ALL_FEATURES
5518 if test -z "$defaultval"; then
5519 if test x"$enablestring" = xdisable; then
5520 defaultval=yes
5521 else
5522 defaultval=no
5523 fi
5524 fi
5525
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5528 # Check whether --enable-protocols was given.
5529 if test "${enable_protocols+set}" = set; then
5530 enableval=$enable_protocols;
5531 if test "$enableval" = yes; then
5532 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5533 else
5534 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5535 fi
5536
5537 else
5538
5539 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5540
5541 fi
5542
5543
5544 eval "$wx_cv_use_protocols"
5545
5546 if test x"$enablestring" = xdisable; then
5547 if test $wxUSE_PROTOCOL = yes; then
5548 result=no
5549 else
5550 result=yes
5551 fi
5552 else
5553 result=$wxUSE_PROTOCOL
5554 fi
5555
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5558
5559
5560 enablestring=
5561 defaultval=$wxUSE_ALL_FEATURES
5562 if test -z "$defaultval"; then
5563 if test x"$enablestring" = xdisable; then
5564 defaultval=yes
5565 else
5566 defaultval=no
5567 fi
5568 fi
5569
5570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5571 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5572 # Check whether --enable-ftp was given.
5573 if test "${enable_ftp+set}" = set; then
5574 enableval=$enable_ftp;
5575 if test "$enableval" = yes; then
5576 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5577 else
5578 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5579 fi
5580
5581 else
5582
5583 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5584
5585 fi
5586
5587
5588 eval "$wx_cv_use_ftp"
5589
5590 if test x"$enablestring" = xdisable; then
5591 if test $wxUSE_PROTOCOL_FTP = yes; then
5592 result=no
5593 else
5594 result=yes
5595 fi
5596 else
5597 result=$wxUSE_PROTOCOL_FTP
5598 fi
5599
5600 { echo "$as_me:$LINENO: result: $result" >&5
5601 echo "${ECHO_T}$result" >&6; }
5602
5603
5604 enablestring=
5605 defaultval=$wxUSE_ALL_FEATURES
5606 if test -z "$defaultval"; then
5607 if test x"$enablestring" = xdisable; then
5608 defaultval=yes
5609 else
5610 defaultval=no
5611 fi
5612 fi
5613
5614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5616 # Check whether --enable-http was given.
5617 if test "${enable_http+set}" = set; then
5618 enableval=$enable_http;
5619 if test "$enableval" = yes; then
5620 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5621 else
5622 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5623 fi
5624
5625 else
5626
5627 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5628
5629 fi
5630
5631
5632 eval "$wx_cv_use_http"
5633
5634 if test x"$enablestring" = xdisable; then
5635 if test $wxUSE_PROTOCOL_HTTP = yes; then
5636 result=no
5637 else
5638 result=yes
5639 fi
5640 else
5641 result=$wxUSE_PROTOCOL_HTTP
5642 fi
5643
5644 { echo "$as_me:$LINENO: result: $result" >&5
5645 echo "${ECHO_T}$result" >&6; }
5646
5647
5648 enablestring=
5649 defaultval=$wxUSE_ALL_FEATURES
5650 if test -z "$defaultval"; then
5651 if test x"$enablestring" = xdisable; then
5652 defaultval=yes
5653 else
5654 defaultval=no
5655 fi
5656 fi
5657
5658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5660 # Check whether --enable-fileproto was given.
5661 if test "${enable_fileproto+set}" = set; then
5662 enableval=$enable_fileproto;
5663 if test "$enableval" = yes; then
5664 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5665 else
5666 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5667 fi
5668
5669 else
5670
5671 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5672
5673 fi
5674
5675
5676 eval "$wx_cv_use_fileproto"
5677
5678 if test x"$enablestring" = xdisable; then
5679 if test $wxUSE_PROTOCOL_FILE = yes; then
5680 result=no
5681 else
5682 result=yes
5683 fi
5684 else
5685 result=$wxUSE_PROTOCOL_FILE
5686 fi
5687
5688 { echo "$as_me:$LINENO: result: $result" >&5
5689 echo "${ECHO_T}$result" >&6; }
5690
5691
5692 enablestring=
5693 defaultval=$wxUSE_ALL_FEATURES
5694 if test -z "$defaultval"; then
5695 if test x"$enablestring" = xdisable; then
5696 defaultval=yes
5697 else
5698 defaultval=no
5699 fi
5700 fi
5701
5702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5704 # Check whether --enable-sockets was given.
5705 if test "${enable_sockets+set}" = set; then
5706 enableval=$enable_sockets;
5707 if test "$enableval" = yes; then
5708 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5709 else
5710 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5711 fi
5712
5713 else
5714
5715 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5716
5717 fi
5718
5719
5720 eval "$wx_cv_use_sockets"
5721
5722 if test x"$enablestring" = xdisable; then
5723 if test $wxUSE_SOCKETS = yes; then
5724 result=no
5725 else
5726 result=yes
5727 fi
5728 else
5729 result=$wxUSE_SOCKETS
5730 fi
5731
5732 { echo "$as_me:$LINENO: result: $result" >&5
5733 echo "${ECHO_T}$result" >&6; }
5734
5735
5736 enablestring=
5737 defaultval=$wxUSE_ALL_FEATURES
5738 if test -z "$defaultval"; then
5739 if test x"$enablestring" = xdisable; then
5740 defaultval=yes
5741 else
5742 defaultval=no
5743 fi
5744 fi
5745
5746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5748 # Check whether --enable-ipv6 was given.
5749 if test "${enable_ipv6+set}" = set; then
5750 enableval=$enable_ipv6;
5751 if test "$enableval" = yes; then
5752 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5753 else
5754 wx_cv_use_ipv6='wxUSE_IPV6=no'
5755 fi
5756
5757 else
5758
5759 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5760
5761 fi
5762
5763
5764 eval "$wx_cv_use_ipv6"
5765
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_IPV6 = yes; then
5768 result=no
5769 else
5770 result=yes
5771 fi
5772 else
5773 result=$wxUSE_IPV6
5774 fi
5775
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5778
5779
5780 enablestring=
5781 defaultval=$wxUSE_ALL_FEATURES
5782 if test -z "$defaultval"; then
5783 if test x"$enablestring" = xdisable; then
5784 defaultval=yes
5785 else
5786 defaultval=no
5787 fi
5788 fi
5789
5790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5792 # Check whether --enable-ole was given.
5793 if test "${enable_ole+set}" = set; then
5794 enableval=$enable_ole;
5795 if test "$enableval" = yes; then
5796 wx_cv_use_ole='wxUSE_OLE=yes'
5797 else
5798 wx_cv_use_ole='wxUSE_OLE=no'
5799 fi
5800
5801 else
5802
5803 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5804
5805 fi
5806
5807
5808 eval "$wx_cv_use_ole"
5809
5810 if test x"$enablestring" = xdisable; then
5811 if test $wxUSE_OLE = yes; then
5812 result=no
5813 else
5814 result=yes
5815 fi
5816 else
5817 result=$wxUSE_OLE
5818 fi
5819
5820 { echo "$as_me:$LINENO: result: $result" >&5
5821 echo "${ECHO_T}$result" >&6; }
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}-dataobj" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5836 # Check whether --enable-dataobj was given.
5837 if test "${enable_dataobj+set}" = set; then
5838 enableval=$enable_dataobj;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5841 else
5842 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5843 fi
5844
5845 else
5846
5847 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5848
5849 fi
5850
5851
5852 eval "$wx_cv_use_dataobj"
5853
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_DATAOBJ = yes; then
5856 result=no
5857 else
5858 result=yes
5859 fi
5860 else
5861 result=$wxUSE_DATAOBJ
5862 fi
5863
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5866
5867
5868
5869 enablestring=
5870 defaultval=$wxUSE_ALL_FEATURES
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5873 defaultval=yes
5874 else
5875 defaultval=no
5876 fi
5877 fi
5878
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5881 # Check whether --enable-ipc was given.
5882 if test "${enable_ipc+set}" = set; then
5883 enableval=$enable_ipc;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_ipc='wxUSE_IPC=yes'
5886 else
5887 wx_cv_use_ipc='wxUSE_IPC=no'
5888 fi
5889
5890 else
5891
5892 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5893
5894 fi
5895
5896
5897 eval "$wx_cv_use_ipc"
5898
5899 if test x"$enablestring" = xdisable; then
5900 if test $wxUSE_IPC = yes; then
5901 result=no
5902 else
5903 result=yes
5904 fi
5905 else
5906 result=$wxUSE_IPC
5907 fi
5908
5909 { echo "$as_me:$LINENO: result: $result" >&5
5910 echo "${ECHO_T}$result" >&6; }
5911
5912
5913
5914 enablestring=
5915 defaultval=$wxUSE_ALL_FEATURES
5916 if test -z "$defaultval"; then
5917 if test x"$enablestring" = xdisable; then
5918 defaultval=yes
5919 else
5920 defaultval=no
5921 fi
5922 fi
5923
5924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5925 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5926 # Check whether --enable-baseevtloop was given.
5927 if test "${enable_baseevtloop+set}" = set; then
5928 enableval=$enable_baseevtloop;
5929 if test "$enableval" = yes; then
5930 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5931 else
5932 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5933 fi
5934
5935 else
5936
5937 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5938
5939 fi
5940
5941
5942 eval "$wx_cv_use_baseevtloop"
5943
5944 if test x"$enablestring" = xdisable; then
5945 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5946 result=no
5947 else
5948 result=yes
5949 fi
5950 else
5951 result=$wxUSE_CONSOLE_EVENTLOOP
5952 fi
5953
5954 { echo "$as_me:$LINENO: result: $result" >&5
5955 echo "${ECHO_T}$result" >&6; }
5956
5957
5958 enablestring=
5959 defaultval=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x"$enablestring" = xdisable; then
5962 defaultval=yes
5963 else
5964 defaultval=no
5965 fi
5966 fi
5967
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5970 # Check whether --enable-epollloop was given.
5971 if test "${enable_epollloop+set}" = set; then
5972 enableval=$enable_epollloop;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5975 else
5976 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5977 fi
5978
5979 else
5980
5981 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5982
5983 fi
5984
5985
5986 eval "$wx_cv_use_epollloop"
5987
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5990 result=no
5991 else
5992 result=yes
5993 fi
5994 else
5995 result=$wxUSE_EPOLL_DISPATCHER
5996 fi
5997
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6000
6001
6002 enablestring=
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6006 defaultval=yes
6007 else
6008 defaultval=no
6009 fi
6010 fi
6011
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6014 # Check whether --enable-selectloop was given.
6015 if test "${enable_selectloop+set}" = set; then
6016 enableval=$enable_selectloop;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6019 else
6020 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6021 fi
6022
6023 else
6024
6025 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6026
6027 fi
6028
6029
6030 eval "$wx_cv_use_selectloop"
6031
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_SELECT_DISPATCHER = yes; then
6034 result=no
6035 else
6036 result=yes
6037 fi
6038 else
6039 result=$wxUSE_SELECT_DISPATCHER
6040 fi
6041
6042 { echo "$as_me:$LINENO: result: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6044
6045
6046
6047 enablestring=
6048 defaultval=$wxUSE_ALL_FEATURES
6049 if test -z "$defaultval"; then
6050 if test x"$enablestring" = xdisable; then
6051 defaultval=yes
6052 else
6053 defaultval=no
6054 fi
6055 fi
6056
6057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6058 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6059 # Check whether --enable-apple_ieee was given.
6060 if test "${enable_apple_ieee+set}" = set; then
6061 enableval=$enable_apple_ieee;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6064 else
6065 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6066 fi
6067
6068 else
6069
6070 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6071
6072 fi
6073
6074
6075 eval "$wx_cv_use_apple_ieee"
6076
6077 if test x"$enablestring" = xdisable; then
6078 if test $wxUSE_APPLE_IEEE = yes; then
6079 result=no
6080 else
6081 result=yes
6082 fi
6083 else
6084 result=$wxUSE_APPLE_IEEE
6085 fi
6086
6087 { echo "$as_me:$LINENO: result: $result" >&5
6088 echo "${ECHO_T}$result" >&6; }
6089
6090
6091 enablestring=
6092 defaultval=$wxUSE_ALL_FEATURES
6093 if test -z "$defaultval"; then
6094 if test x"$enablestring" = xdisable; then
6095 defaultval=yes
6096 else
6097 defaultval=no
6098 fi
6099 fi
6100
6101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6103 # Check whether --enable-arcstream was given.
6104 if test "${enable_arcstream+set}" = set; then
6105 enableval=$enable_arcstream;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6108 else
6109 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6110 fi
6111
6112 else
6113
6114 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6115
6116 fi
6117
6118
6119 eval "$wx_cv_use_arcstream"
6120
6121 if test x"$enablestring" = xdisable; then
6122 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6123 result=no
6124 else
6125 result=yes
6126 fi
6127 else
6128 result=$wxUSE_ARCHIVE_STREAMS
6129 fi
6130
6131 { echo "$as_me:$LINENO: result: $result" >&5
6132 echo "${ECHO_T}$result" >&6; }
6133
6134
6135 enablestring=
6136 defaultval=$wxUSE_ALL_FEATURES
6137 if test -z "$defaultval"; then
6138 if test x"$enablestring" = xdisable; then
6139 defaultval=yes
6140 else
6141 defaultval=no
6142 fi
6143 fi
6144
6145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6146 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6147 # Check whether --enable-base64 was given.
6148 if test "${enable_base64+set}" = set; then
6149 enableval=$enable_base64;
6150 if test "$enableval" = yes; then
6151 wx_cv_use_base64='wxUSE_BASE64=yes'
6152 else
6153 wx_cv_use_base64='wxUSE_BASE64=no'
6154 fi
6155
6156 else
6157
6158 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6159
6160 fi
6161
6162
6163 eval "$wx_cv_use_base64"
6164
6165 if test x"$enablestring" = xdisable; then
6166 if test $wxUSE_BASE64 = yes; then
6167 result=no
6168 else
6169 result=yes
6170 fi
6171 else
6172 result=$wxUSE_BASE64
6173 fi
6174
6175 { echo "$as_me:$LINENO: result: $result" >&5
6176 echo "${ECHO_T}$result" >&6; }
6177
6178
6179 enablestring=
6180 defaultval=$wxUSE_ALL_FEATURES
6181 if test -z "$defaultval"; then
6182 if test x"$enablestring" = xdisable; then
6183 defaultval=yes
6184 else
6185 defaultval=no
6186 fi
6187 fi
6188
6189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6190 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6191 # Check whether --enable-backtrace was given.
6192 if test "${enable_backtrace+set}" = set; then
6193 enableval=$enable_backtrace;
6194 if test "$enableval" = yes; then
6195 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6196 else
6197 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6198 fi
6199
6200 else
6201
6202 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6203
6204 fi
6205
6206
6207 eval "$wx_cv_use_backtrace"
6208
6209 if test x"$enablestring" = xdisable; then
6210 if test $wxUSE_STACKWALKER = yes; then
6211 result=no
6212 else
6213 result=yes
6214 fi
6215 else
6216 result=$wxUSE_STACKWALKER
6217 fi
6218
6219 { echo "$as_me:$LINENO: result: $result" >&5
6220 echo "${ECHO_T}$result" >&6; }
6221
6222
6223 enablestring=
6224 defaultval=$wxUSE_ALL_FEATURES
6225 if test -z "$defaultval"; then
6226 if test x"$enablestring" = xdisable; then
6227 defaultval=yes
6228 else
6229 defaultval=no
6230 fi
6231 fi
6232
6233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6235 # Check whether --enable-catch_segvs was given.
6236 if test "${enable_catch_segvs+set}" = set; then
6237 enableval=$enable_catch_segvs;
6238 if test "$enableval" = yes; then
6239 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6240 else
6241 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6242 fi
6243
6244 else
6245
6246 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6247
6248 fi
6249
6250
6251 eval "$wx_cv_use_catch_segvs"
6252
6253 if test x"$enablestring" = xdisable; then
6254 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6255 result=no
6256 else
6257 result=yes
6258 fi
6259 else
6260 result=$wxUSE_ON_FATAL_EXCEPTION
6261 fi
6262
6263 { echo "$as_me:$LINENO: result: $result" >&5
6264 echo "${ECHO_T}$result" >&6; }
6265
6266
6267 enablestring=
6268 defaultval=$wxUSE_ALL_FEATURES
6269 if test -z "$defaultval"; then
6270 if test x"$enablestring" = xdisable; then
6271 defaultval=yes
6272 else
6273 defaultval=no
6274 fi
6275 fi
6276
6277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6279 # Check whether --enable-cmdline was given.
6280 if test "${enable_cmdline+set}" = set; then
6281 enableval=$enable_cmdline;
6282 if test "$enableval" = yes; then
6283 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6284 else
6285 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6286 fi
6287
6288 else
6289
6290 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6291
6292 fi
6293
6294
6295 eval "$wx_cv_use_cmdline"
6296
6297 if test x"$enablestring" = xdisable; then
6298 if test $wxUSE_CMDLINE_PARSER = yes; then
6299 result=no
6300 else
6301 result=yes
6302 fi
6303 else
6304 result=$wxUSE_CMDLINE_PARSER
6305 fi
6306
6307 { echo "$as_me:$LINENO: result: $result" >&5
6308 echo "${ECHO_T}$result" >&6; }
6309
6310
6311 enablestring=
6312 defaultval=$wxUSE_ALL_FEATURES
6313 if test -z "$defaultval"; then
6314 if test x"$enablestring" = xdisable; then
6315 defaultval=yes
6316 else
6317 defaultval=no
6318 fi
6319 fi
6320
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6323 # Check whether --enable-datetime was given.
6324 if test "${enable_datetime+set}" = set; then
6325 enableval=$enable_datetime;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6328 else
6329 wx_cv_use_datetime='wxUSE_DATETIME=no'
6330 fi
6331
6332 else
6333
6334 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6335
6336 fi
6337
6338
6339 eval "$wx_cv_use_datetime"
6340
6341 if test x"$enablestring" = xdisable; then
6342 if test $wxUSE_DATETIME = yes; then
6343 result=no
6344 else
6345 result=yes
6346 fi
6347 else
6348 result=$wxUSE_DATETIME
6349 fi
6350
6351 { echo "$as_me:$LINENO: result: $result" >&5
6352 echo "${ECHO_T}$result" >&6; }
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}-debugreport" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6367 # Check whether --enable-debugreport was given.
6368 if test "${enable_debugreport+set}" = set; then
6369 enableval=$enable_debugreport;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6372 else
6373 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6374 fi
6375
6376 else
6377
6378 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_debugreport"
6384
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_DEBUGREPORT = yes; then
6387 result=no
6388 else
6389 result=yes
6390 fi
6391 else
6392 result=$wxUSE_DEBUGREPORT
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}-dialupman" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6411 # Check whether --enable-dialupman was given.
6412 if test "${enable_dialupman+set}" = set; then
6413 enableval=$enable_dialupman;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6416 else
6417 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6418 fi
6419
6420 else
6421
6422 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_dialupman"
6428
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_DIALUP_MANAGER = yes; then
6431 result=no
6432 else
6433 result=yes
6434 fi
6435 else
6436 result=$wxUSE_DIALUP_MANAGER
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}-dynlib" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6455 # Check whether --enable-dynlib was given.
6456 if test "${enable_dynlib+set}" = set; then
6457 enableval=$enable_dynlib;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6460 else
6461 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6462 fi
6463
6464 else
6465
6466 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_dynlib"
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_DYNLIB_CLASS = yes; then
6475 result=no
6476 else
6477 result=yes
6478 fi
6479 else
6480 result=$wxUSE_DYNLIB_CLASS
6481 fi
6482
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6485
6486
6487 enablestring=
6488 defaultval=$wxUSE_ALL_FEATURES
6489 if test -z "$defaultval"; then
6490 if test x"$enablestring" = xdisable; then
6491 defaultval=yes
6492 else
6493 defaultval=no
6494 fi
6495 fi
6496
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6499 # Check whether --enable-dynamicloader was given.
6500 if test "${enable_dynamicloader+set}" = set; then
6501 enableval=$enable_dynamicloader;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6504 else
6505 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6506 fi
6507
6508 else
6509
6510 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6511
6512 fi
6513
6514
6515 eval "$wx_cv_use_dynamicloader"
6516
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_DYNAMIC_LOADER = yes; then
6519 result=no
6520 else
6521 result=yes
6522 fi
6523 else
6524 result=$wxUSE_DYNAMIC_LOADER
6525 fi
6526
6527 { echo "$as_me:$LINENO: result: $result" >&5
6528 echo "${ECHO_T}$result" >&6; }
6529
6530
6531 enablestring=
6532 defaultval=$wxUSE_ALL_FEATURES
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6535 defaultval=yes
6536 else
6537 defaultval=no
6538 fi
6539 fi
6540
6541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6543 # Check whether --enable-exceptions was given.
6544 if test "${enable_exceptions+set}" = set; then
6545 enableval=$enable_exceptions;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6548 else
6549 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6550 fi
6551
6552 else
6553
6554 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6555
6556 fi
6557
6558
6559 eval "$wx_cv_use_exceptions"
6560
6561 if test x"$enablestring" = xdisable; then
6562 if test $wxUSE_EXCEPTIONS = yes; then
6563 result=no
6564 else
6565 result=yes
6566 fi
6567 else
6568 result=$wxUSE_EXCEPTIONS
6569 fi
6570
6571 { echo "$as_me:$LINENO: result: $result" >&5
6572 echo "${ECHO_T}$result" >&6; }
6573
6574
6575 enablestring=
6576 defaultval=$wxUSE_ALL_FEATURES
6577 if test -z "$defaultval"; then
6578 if test x"$enablestring" = xdisable; then
6579 defaultval=yes
6580 else
6581 defaultval=no
6582 fi
6583 fi
6584
6585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6586 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6587 # Check whether --enable-ffile was given.
6588 if test "${enable_ffile+set}" = set; then
6589 enableval=$enable_ffile;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_ffile='wxUSE_FFILE=yes'
6592 else
6593 wx_cv_use_ffile='wxUSE_FFILE=no'
6594 fi
6595
6596 else
6597
6598 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6599
6600 fi
6601
6602
6603 eval "$wx_cv_use_ffile"
6604
6605 if test x"$enablestring" = xdisable; then
6606 if test $wxUSE_FFILE = yes; then
6607 result=no
6608 else
6609 result=yes
6610 fi
6611 else
6612 result=$wxUSE_FFILE
6613 fi
6614
6615 { echo "$as_me:$LINENO: result: $result" >&5
6616 echo "${ECHO_T}$result" >&6; }
6617
6618
6619 enablestring=
6620 defaultval=$wxUSE_ALL_FEATURES
6621 if test -z "$defaultval"; then
6622 if test x"$enablestring" = xdisable; then
6623 defaultval=yes
6624 else
6625 defaultval=no
6626 fi
6627 fi
6628
6629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6631 # Check whether --enable-file was given.
6632 if test "${enable_file+set}" = set; then
6633 enableval=$enable_file;
6634 if test "$enableval" = yes; then
6635 wx_cv_use_file='wxUSE_FILE=yes'
6636 else
6637 wx_cv_use_file='wxUSE_FILE=no'
6638 fi
6639
6640 else
6641
6642 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6643
6644 fi
6645
6646
6647 eval "$wx_cv_use_file"
6648
6649 if test x"$enablestring" = xdisable; then
6650 if test $wxUSE_FILE = yes; then
6651 result=no
6652 else
6653 result=yes
6654 fi
6655 else
6656 result=$wxUSE_FILE
6657 fi
6658
6659 { echo "$as_me:$LINENO: result: $result" >&5
6660 echo "${ECHO_T}$result" >&6; }
6661
6662
6663 enablestring=
6664 defaultval=$wxUSE_ALL_FEATURES
6665 if test -z "$defaultval"; then
6666 if test x"$enablestring" = xdisable; then
6667 defaultval=yes
6668 else
6669 defaultval=no
6670 fi
6671 fi
6672
6673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6675 # Check whether --enable-filesystem was given.
6676 if test "${enable_filesystem+set}" = set; then
6677 enableval=$enable_filesystem;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6680 else
6681 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6682 fi
6683
6684 else
6685
6686 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6687
6688 fi
6689
6690
6691 eval "$wx_cv_use_filesystem"
6692
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_FILESYSTEM = yes; then
6695 result=no
6696 else
6697 result=yes
6698 fi
6699 else
6700 result=$wxUSE_FILESYSTEM
6701 fi
6702
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6705
6706
6707 enablestring=
6708 defaultval=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6711 defaultval=yes
6712 else
6713 defaultval=no
6714 fi
6715 fi
6716
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6719 # Check whether --enable-fontenum was given.
6720 if test "${enable_fontenum+set}" = set; then
6721 enableval=$enable_fontenum;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6724 else
6725 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6726 fi
6727
6728 else
6729
6730 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6731
6732 fi
6733
6734
6735 eval "$wx_cv_use_fontenum"
6736
6737 if test x"$enablestring" = xdisable; then
6738 if test $wxUSE_FONTENUM = yes; then
6739 result=no
6740 else
6741 result=yes
6742 fi
6743 else
6744 result=$wxUSE_FONTENUM
6745 fi
6746
6747 { echo "$as_me:$LINENO: result: $result" >&5
6748 echo "${ECHO_T}$result" >&6; }
6749
6750
6751 enablestring=
6752 defaultval=$wxUSE_ALL_FEATURES
6753 if test -z "$defaultval"; then
6754 if test x"$enablestring" = xdisable; then
6755 defaultval=yes
6756 else
6757 defaultval=no
6758 fi
6759 fi
6760
6761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6763 # Check whether --enable-fontmap was given.
6764 if test "${enable_fontmap+set}" = set; then
6765 enableval=$enable_fontmap;
6766 if test "$enableval" = yes; then
6767 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6768 else
6769 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6770 fi
6771
6772 else
6773
6774 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6775
6776 fi
6777
6778
6779 eval "$wx_cv_use_fontmap"
6780
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_FONTMAP = yes; then
6783 result=no
6784 else
6785 result=yes
6786 fi
6787 else
6788 result=$wxUSE_FONTMAP
6789 fi
6790
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6793
6794
6795 enablestring=
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6799 defaultval=yes
6800 else
6801 defaultval=no
6802 fi
6803 fi
6804
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6807 # Check whether --enable-fs_archive was given.
6808 if test "${enable_fs_archive+set}" = set; then
6809 enableval=$enable_fs_archive;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6812 else
6813 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6814 fi
6815
6816 else
6817
6818 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6819
6820 fi
6821
6822
6823 eval "$wx_cv_use_fs_archive"
6824
6825 if test x"$enablestring" = xdisable; then
6826 if test $wxUSE_FS_ARCHIVE = yes; then
6827 result=no
6828 else
6829 result=yes
6830 fi
6831 else
6832 result=$wxUSE_FS_ARCHIVE
6833 fi
6834
6835 { echo "$as_me:$LINENO: result: $result" >&5
6836 echo "${ECHO_T}$result" >&6; }
6837
6838
6839 enablestring=
6840 defaultval=$wxUSE_ALL_FEATURES
6841 if test -z "$defaultval"; then
6842 if test x"$enablestring" = xdisable; then
6843 defaultval=yes
6844 else
6845 defaultval=no
6846 fi
6847 fi
6848
6849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6850 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6851 # Check whether --enable-fs_inet was given.
6852 if test "${enable_fs_inet+set}" = set; then
6853 enableval=$enable_fs_inet;
6854 if test "$enableval" = yes; then
6855 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6856 else
6857 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6858 fi
6859
6860 else
6861
6862 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6863
6864 fi
6865
6866
6867 eval "$wx_cv_use_fs_inet"
6868
6869 if test x"$enablestring" = xdisable; then
6870 if test $wxUSE_FS_INET = yes; then
6871 result=no
6872 else
6873 result=yes
6874 fi
6875 else
6876 result=$wxUSE_FS_INET
6877 fi
6878
6879 { echo "$as_me:$LINENO: result: $result" >&5
6880 echo "${ECHO_T}$result" >&6; }
6881
6882
6883 enablestring=
6884 defaultval=$wxUSE_ALL_FEATURES
6885 if test -z "$defaultval"; then
6886 if test x"$enablestring" = xdisable; then
6887 defaultval=yes
6888 else
6889 defaultval=no
6890 fi
6891 fi
6892
6893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6894 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6895 # Check whether --enable-fs_zip was given.
6896 if test "${enable_fs_zip+set}" = set; then
6897 enableval=$enable_fs_zip;
6898 if test "$enableval" = yes; then
6899 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6900 else
6901 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6902 fi
6903
6904 else
6905
6906 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6907
6908 fi
6909
6910
6911 eval "$wx_cv_use_fs_zip"
6912
6913 if test x"$enablestring" = xdisable; then
6914 if test $wxUSE_FS_ZIP = yes; then
6915 result=no
6916 else
6917 result=yes
6918 fi
6919 else
6920 result=$wxUSE_FS_ZIP
6921 fi
6922
6923 { echo "$as_me:$LINENO: result: $result" >&5
6924 echo "${ECHO_T}$result" >&6; }
6925
6926
6927 enablestring=
6928 defaultval=$wxUSE_ALL_FEATURES
6929 if test -z "$defaultval"; then
6930 if test x"$enablestring" = xdisable; then
6931 defaultval=yes
6932 else
6933 defaultval=no
6934 fi
6935 fi
6936
6937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6938 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6939 # Check whether --enable-geometry was given.
6940 if test "${enable_geometry+set}" = set; then
6941 enableval=$enable_geometry;
6942 if test "$enableval" = yes; then
6943 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6944 else
6945 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6946 fi
6947
6948 else
6949
6950 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6951
6952 fi
6953
6954
6955 eval "$wx_cv_use_geometry"
6956
6957 if test x"$enablestring" = xdisable; then
6958 if test $wxUSE_GEOMETRY = yes; then
6959 result=no
6960 else
6961 result=yes
6962 fi
6963 else
6964 result=$wxUSE_GEOMETRY
6965 fi
6966
6967 { echo "$as_me:$LINENO: result: $result" >&5
6968 echo "${ECHO_T}$result" >&6; }
6969
6970
6971 enablestring=
6972 defaultval=$wxUSE_ALL_FEATURES
6973 if test -z "$defaultval"; then
6974 if test x"$enablestring" = xdisable; then
6975 defaultval=yes
6976 else
6977 defaultval=no
6978 fi
6979 fi
6980
6981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6982 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6983 # Check whether --enable-log was given.
6984 if test "${enable_log+set}" = set; then
6985 enableval=$enable_log;
6986 if test "$enableval" = yes; then
6987 wx_cv_use_log='wxUSE_LOG=yes'
6988 else
6989 wx_cv_use_log='wxUSE_LOG=no'
6990 fi
6991
6992 else
6993
6994 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6995
6996 fi
6997
6998
6999 eval "$wx_cv_use_log"
7000
7001 if test x"$enablestring" = xdisable; then
7002 if test $wxUSE_LOG = yes; then
7003 result=no
7004 else
7005 result=yes
7006 fi
7007 else
7008 result=$wxUSE_LOG
7009 fi
7010
7011 { echo "$as_me:$LINENO: result: $result" >&5
7012 echo "${ECHO_T}$result" >&6; }
7013
7014
7015 enablestring=
7016 defaultval=$wxUSE_ALL_FEATURES
7017 if test -z "$defaultval"; then
7018 if test x"$enablestring" = xdisable; then
7019 defaultval=yes
7020 else
7021 defaultval=no
7022 fi
7023 fi
7024
7025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7026 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7027 # Check whether --enable-longlong was given.
7028 if test "${enable_longlong+set}" = set; then
7029 enableval=$enable_longlong;
7030 if test "$enableval" = yes; then
7031 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7032 else
7033 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7034 fi
7035
7036 else
7037
7038 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7039
7040 fi
7041
7042
7043 eval "$wx_cv_use_longlong"
7044
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_LONGLONG = yes; then
7047 result=no
7048 else
7049 result=yes
7050 fi
7051 else
7052 result=$wxUSE_LONGLONG
7053 fi
7054
7055 { echo "$as_me:$LINENO: result: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7057
7058
7059 enablestring=
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7063 defaultval=yes
7064 else
7065 defaultval=no
7066 fi
7067 fi
7068
7069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7071 # Check whether --enable-mimetype was given.
7072 if test "${enable_mimetype+set}" = set; then
7073 enableval=$enable_mimetype;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7076 else
7077 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7078 fi
7079
7080 else
7081
7082 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7083
7084 fi
7085
7086
7087 eval "$wx_cv_use_mimetype"
7088
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_MIMETYPE = yes; then
7091 result=no
7092 else
7093 result=yes
7094 fi
7095 else
7096 result=$wxUSE_MIMETYPE
7097 fi
7098
7099 { echo "$as_me:$LINENO: result: $result" >&5
7100 echo "${ECHO_T}$result" >&6; }
7101
7102
7103 enablestring=
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7107 defaultval=yes
7108 else
7109 defaultval=no
7110 fi
7111 fi
7112
7113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7114 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7115 # Check whether --enable-snglinst was given.
7116 if test "${enable_snglinst+set}" = set; then
7117 enableval=$enable_snglinst;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7120 else
7121 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7122 fi
7123
7124 else
7125
7126 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7127
7128 fi
7129
7130
7131 eval "$wx_cv_use_snglinst"
7132
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_SNGLINST_CHECKER = yes; then
7135 result=no
7136 else
7137 result=yes
7138 fi
7139 else
7140 result=$wxUSE_SNGLINST_CHECKER
7141 fi
7142
7143 { echo "$as_me:$LINENO: result: $result" >&5
7144 echo "${ECHO_T}$result" >&6; }
7145
7146
7147 enablestring=
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7151 defaultval=yes
7152 else
7153 defaultval=no
7154 fi
7155 fi
7156
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7159 # Check whether --enable-stdpaths was given.
7160 if test "${enable_stdpaths+set}" = set; then
7161 enableval=$enable_stdpaths;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7164 else
7165 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7166 fi
7167
7168 else
7169
7170 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7171
7172 fi
7173
7174
7175 eval "$wx_cv_use_stdpaths"
7176
7177 if test x"$enablestring" = xdisable; then
7178 if test $wxUSE_STDPATHS = yes; then
7179 result=no
7180 else
7181 result=yes
7182 fi
7183 else
7184 result=$wxUSE_STDPATHS
7185 fi
7186
7187 { echo "$as_me:$LINENO: result: $result" >&5
7188 echo "${ECHO_T}$result" >&6; }
7189
7190
7191 enablestring=
7192 defaultval=$wxUSE_ALL_FEATURES
7193 if test -z "$defaultval"; then
7194 if test x"$enablestring" = xdisable; then
7195 defaultval=yes
7196 else
7197 defaultval=no
7198 fi
7199 fi
7200
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7203 # Check whether --enable-stopwatch was given.
7204 if test "${enable_stopwatch+set}" = set; then
7205 enableval=$enable_stopwatch;
7206 if test "$enableval" = yes; then
7207 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7208 else
7209 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7210 fi
7211
7212 else
7213
7214 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7215
7216 fi
7217
7218
7219 eval "$wx_cv_use_stopwatch"
7220
7221 if test x"$enablestring" = xdisable; then
7222 if test $wxUSE_STOPWATCH = yes; then
7223 result=no
7224 else
7225 result=yes
7226 fi
7227 else
7228 result=$wxUSE_STOPWATCH
7229 fi
7230
7231 { echo "$as_me:$LINENO: result: $result" >&5
7232 echo "${ECHO_T}$result" >&6; }
7233
7234
7235 enablestring=
7236 defaultval=$wxUSE_ALL_FEATURES
7237 if test -z "$defaultval"; then
7238 if test x"$enablestring" = xdisable; then
7239 defaultval=yes
7240 else
7241 defaultval=no
7242 fi
7243 fi
7244
7245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7247 # Check whether --enable-streams was given.
7248 if test "${enable_streams+set}" = set; then
7249 enableval=$enable_streams;
7250 if test "$enableval" = yes; then
7251 wx_cv_use_streams='wxUSE_STREAMS=yes'
7252 else
7253 wx_cv_use_streams='wxUSE_STREAMS=no'
7254 fi
7255
7256 else
7257
7258 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7259
7260 fi
7261
7262
7263 eval "$wx_cv_use_streams"
7264
7265 if test x"$enablestring" = xdisable; then
7266 if test $wxUSE_STREAMS = yes; then
7267 result=no
7268 else
7269 result=yes
7270 fi
7271 else
7272 result=$wxUSE_STREAMS
7273 fi
7274
7275 { echo "$as_me:$LINENO: result: $result" >&5
7276 echo "${ECHO_T}$result" >&6; }
7277
7278
7279 enablestring=
7280 defaultval=$wxUSE_ALL_FEATURES
7281 if test -z "$defaultval"; then
7282 if test x"$enablestring" = xdisable; then
7283 defaultval=yes
7284 else
7285 defaultval=no
7286 fi
7287 fi
7288
7289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7291 # Check whether --enable-system_options was given.
7292 if test "${enable_system_options+set}" = set; then
7293 enableval=$enable_system_options;
7294 if test "$enableval" = yes; then
7295 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7296 else
7297 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7298 fi
7299
7300 else
7301
7302 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7303
7304 fi
7305
7306
7307 eval "$wx_cv_use_system_options"
7308
7309 if test x"$enablestring" = xdisable; then
7310 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7311 result=no
7312 else
7313 result=yes
7314 fi
7315 else
7316 result=$wxUSE_SYSTEM_OPTIONS
7317 fi
7318
7319 { echo "$as_me:$LINENO: result: $result" >&5
7320 echo "${ECHO_T}$result" >&6; }
7321
7322
7323 enablestring=
7324 defaultval=$wxUSE_ALL_FEATURES
7325 if test -z "$defaultval"; then
7326 if test x"$enablestring" = xdisable; then
7327 defaultval=yes
7328 else
7329 defaultval=no
7330 fi
7331 fi
7332
7333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7335 # Check whether --enable-tarstream was given.
7336 if test "${enable_tarstream+set}" = set; then
7337 enableval=$enable_tarstream;
7338 if test "$enableval" = yes; then
7339 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7340 else
7341 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7342 fi
7343
7344 else
7345
7346 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7347
7348 fi
7349
7350
7351 eval "$wx_cv_use_tarstream"
7352
7353 if test x"$enablestring" = xdisable; then
7354 if test $wxUSE_TARSTREAM = yes; then
7355 result=no
7356 else
7357 result=yes
7358 fi
7359 else
7360 result=$wxUSE_TARSTREAM
7361 fi
7362
7363 { echo "$as_me:$LINENO: result: $result" >&5
7364 echo "${ECHO_T}$result" >&6; }
7365
7366
7367 enablestring=
7368 defaultval=$wxUSE_ALL_FEATURES
7369 if test -z "$defaultval"; then
7370 if test x"$enablestring" = xdisable; then
7371 defaultval=yes
7372 else
7373 defaultval=no
7374 fi
7375 fi
7376
7377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7378 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7379 # Check whether --enable-textbuf was given.
7380 if test "${enable_textbuf+set}" = set; then
7381 enableval=$enable_textbuf;
7382 if test "$enableval" = yes; then
7383 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7384 else
7385 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7386 fi
7387
7388 else
7389
7390 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7391
7392 fi
7393
7394
7395 eval "$wx_cv_use_textbuf"
7396
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_TEXTBUFFER = yes; then
7399 result=no
7400 else
7401 result=yes
7402 fi
7403 else
7404 result=$wxUSE_TEXTBUFFER
7405 fi
7406
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7409
7410
7411 enablestring=
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7415 defaultval=yes
7416 else
7417 defaultval=no
7418 fi
7419 fi
7420
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7423 # Check whether --enable-textfile was given.
7424 if test "${enable_textfile+set}" = set; then
7425 enableval=$enable_textfile;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7428 else
7429 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7430 fi
7431
7432 else
7433
7434 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7435
7436 fi
7437
7438
7439 eval "$wx_cv_use_textfile"
7440
7441 if test x"$enablestring" = xdisable; then
7442 if test $wxUSE_TEXTFILE = yes; then
7443 result=no
7444 else
7445 result=yes
7446 fi
7447 else
7448 result=$wxUSE_TEXTFILE
7449 fi
7450
7451 { echo "$as_me:$LINENO: result: $result" >&5
7452 echo "${ECHO_T}$result" >&6; }
7453
7454
7455 enablestring=
7456 defaultval=$wxUSE_ALL_FEATURES
7457 if test -z "$defaultval"; then
7458 if test x"$enablestring" = xdisable; then
7459 defaultval=yes
7460 else
7461 defaultval=no
7462 fi
7463 fi
7464
7465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7467 # Check whether --enable-timer was given.
7468 if test "${enable_timer+set}" = set; then
7469 enableval=$enable_timer;
7470 if test "$enableval" = yes; then
7471 wx_cv_use_timer='wxUSE_TIMER=yes'
7472 else
7473 wx_cv_use_timer='wxUSE_TIMER=no'
7474 fi
7475
7476 else
7477
7478 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7479
7480 fi
7481
7482
7483 eval "$wx_cv_use_timer"
7484
7485 if test x"$enablestring" = xdisable; then
7486 if test $wxUSE_TIMER = yes; then
7487 result=no
7488 else
7489 result=yes
7490 fi
7491 else
7492 result=$wxUSE_TIMER
7493 fi
7494
7495 { echo "$as_me:$LINENO: result: $result" >&5
7496 echo "${ECHO_T}$result" >&6; }
7497
7498
7499 enablestring=
7500 defaultval=$wxUSE_ALL_FEATURES
7501 if test -z "$defaultval"; then
7502 if test x"$enablestring" = xdisable; then
7503 defaultval=yes
7504 else
7505 defaultval=no
7506 fi
7507 fi
7508
7509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7511 # Check whether --enable-sound was given.
7512 if test "${enable_sound+set}" = set; then
7513 enableval=$enable_sound;
7514 if test "$enableval" = yes; then
7515 wx_cv_use_sound='wxUSE_SOUND=yes'
7516 else
7517 wx_cv_use_sound='wxUSE_SOUND=no'
7518 fi
7519
7520 else
7521
7522 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7523
7524 fi
7525
7526
7527 eval "$wx_cv_use_sound"
7528
7529 if test x"$enablestring" = xdisable; then
7530 if test $wxUSE_SOUND = yes; then
7531 result=no
7532 else
7533 result=yes
7534 fi
7535 else
7536 result=$wxUSE_SOUND
7537 fi
7538
7539 { echo "$as_me:$LINENO: result: $result" >&5
7540 echo "${ECHO_T}$result" >&6; }
7541
7542
7543 enablestring=
7544 defaultval=$wxUSE_ALL_FEATURES
7545 if test -z "$defaultval"; then
7546 if test x"$enablestring" = xdisable; then
7547 defaultval=yes
7548 else
7549 defaultval=no
7550 fi
7551 fi
7552
7553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7555 # Check whether --enable-mediactrl was given.
7556 if test "${enable_mediactrl+set}" = set; then
7557 enableval=$enable_mediactrl;
7558 if test "$enableval" = yes; then
7559 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7560 else
7561 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7562 fi
7563
7564 else
7565
7566 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7567
7568 fi
7569
7570
7571 eval "$wx_cv_use_mediactrl"
7572
7573 if test x"$enablestring" = xdisable; then
7574 if test $wxUSE_MEDIACTRL = yes; then
7575 result=no
7576 else
7577 result=yes
7578 fi
7579 else
7580 result=$wxUSE_MEDIACTRL
7581 fi
7582
7583 { echo "$as_me:$LINENO: result: $result" >&5
7584 echo "${ECHO_T}$result" >&6; }
7585
7586
7587 enablestring=
7588 defaultval=$wxUSE_ALL_FEATURES
7589 if test -z "$defaultval"; then
7590 if test x"$enablestring" = xdisable; then
7591 defaultval=yes
7592 else
7593 defaultval=no
7594 fi
7595 fi
7596
7597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7599 # Check whether --enable-gstreamer8 was given.
7600 if test "${enable_gstreamer8+set}" = set; then
7601 enableval=$enable_gstreamer8;
7602 if test "$enableval" = yes; then
7603 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7604 else
7605 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7606 fi
7607
7608 else
7609
7610 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7611
7612 fi
7613
7614
7615 eval "$wx_cv_use_gstreamer8"
7616
7617 if test x"$enablestring" = xdisable; then
7618 if test $wxUSE_GSTREAMER8 = yes; then
7619 result=no
7620 else
7621 result=yes
7622 fi
7623 else
7624 result=$wxUSE_GSTREAMER8
7625 fi
7626
7627 { echo "$as_me:$LINENO: result: $result" >&5
7628 echo "${ECHO_T}$result" >&6; }
7629
7630
7631 enablestring=
7632 defaultval=$wxUSE_ALL_FEATURES
7633 if test -z "$defaultval"; then
7634 if test x"$enablestring" = xdisable; then
7635 defaultval=yes
7636 else
7637 defaultval=no
7638 fi
7639 fi
7640
7641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7642 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7643 # Check whether --enable-printfposparam was given.
7644 if test "${enable_printfposparam+set}" = set; then
7645 enableval=$enable_printfposparam;
7646 if test "$enableval" = yes; then
7647 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7648 else
7649 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7650 fi
7651
7652 else
7653
7654 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7655
7656 fi
7657
7658
7659 eval "$wx_cv_use_printfposparam"
7660
7661 if test x"$enablestring" = xdisable; then
7662 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7663 result=no
7664 else
7665 result=yes
7666 fi
7667 else
7668 result=$wxUSE_PRINTF_POS_PARAMS
7669 fi
7670
7671 { echo "$as_me:$LINENO: result: $result" >&5
7672 echo "${ECHO_T}$result" >&6; }
7673
7674
7675 enablestring=
7676 defaultval=$wxUSE_ALL_FEATURES
7677 if test -z "$defaultval"; then
7678 if test x"$enablestring" = xdisable; then
7679 defaultval=yes
7680 else
7681 defaultval=no
7682 fi
7683 fi
7684
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7687 # Check whether --enable-zipstream was given.
7688 if test "${enable_zipstream+set}" = set; then
7689 enableval=$enable_zipstream;
7690 if test "$enableval" = yes; then
7691 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7692 else
7693 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7694 fi
7695
7696 else
7697
7698 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7699
7700 fi
7701
7702
7703 eval "$wx_cv_use_zipstream"
7704
7705 if test x"$enablestring" = xdisable; then
7706 if test $wxUSE_ZIPSTREAM = yes; then
7707 result=no
7708 else
7709 result=yes
7710 fi
7711 else
7712 result=$wxUSE_ZIPSTREAM
7713 fi
7714
7715 { echo "$as_me:$LINENO: result: $result" >&5
7716 echo "${ECHO_T}$result" >&6; }
7717
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}-url" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7732 # Check whether --enable-url was given.
7733 if test "${enable_url+set}" = set; then
7734 enableval=$enable_url;
7735 if test "$enableval" = yes; then
7736 wx_cv_use_url='wxUSE_URL=yes'
7737 else
7738 wx_cv_use_url='wxUSE_URL=no'
7739 fi
7740
7741 else
7742
7743 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7744
7745 fi
7746
7747
7748 eval "$wx_cv_use_url"
7749
7750 if test x"$enablestring" = xdisable; then
7751 if test $wxUSE_URL = yes; then
7752 result=no
7753 else
7754 result=yes
7755 fi
7756 else
7757 result=$wxUSE_URL
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}-variant" >&5
7775 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7776 # Check whether --enable-variant was given.
7777 if test "${enable_variant+set}" = set; then
7778 enableval=$enable_variant;
7779 if test "$enableval" = yes; then
7780 wx_cv_use_variant='wxUSE_VARIANT=yes'
7781 else
7782 wx_cv_use_variant='wxUSE_VARIANT=no'
7783 fi
7784
7785 else
7786
7787 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7788
7789 fi
7790
7791
7792 eval "$wx_cv_use_variant"
7793
7794 if test x"$enablestring" = xdisable; then
7795 if test $wxUSE_VARIANT = yes; then
7796 result=no
7797 else
7798 result=yes
7799 fi
7800 else
7801 result=$wxUSE_VARIANT
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}-protocol" >&5
7819 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7820 # Check whether --enable-protocol was given.
7821 if test "${enable_protocol+set}" = set; then
7822 enableval=$enable_protocol;
7823 if test "$enableval" = yes; then
7824 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7825 else
7826 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7827 fi
7828
7829 else
7830
7831 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7832
7833 fi
7834
7835
7836 eval "$wx_cv_use_protocol"
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_PROTOCOL = yes; then
7840 result=no
7841 else
7842 result=yes
7843 fi
7844 else
7845 result=$wxUSE_PROTOCOL
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}-protocol_http" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7864 # Check whether --enable-protocol_http was given.
7865 if test "${enable_protocol_http+set}" = set; then
7866 enableval=$enable_protocol_http;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7869 else
7870 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7871 fi
7872
7873 else
7874
7875 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7876
7877 fi
7878
7879
7880 eval "$wx_cv_use_protocol_http"
7881
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_PROTOCOL_HTTP = yes; then
7884 result=no
7885 else
7886 result=yes
7887 fi
7888 else
7889 result=$wxUSE_PROTOCOL_HTTP
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}-protocol_ftp" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7908 # Check whether --enable-protocol_ftp was given.
7909 if test "${enable_protocol_ftp+set}" = set; then
7910 enableval=$enable_protocol_ftp;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7913 else
7914 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7915 fi
7916
7917 else
7918
7919 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7920
7921 fi
7922
7923
7924 eval "$wx_cv_use_protocol_ftp"
7925
7926 if test x"$enablestring" = xdisable; then
7927 if test $wxUSE_PROTOCOL_FTP = yes; then
7928 result=no
7929 else
7930 result=yes
7931 fi
7932 else
7933 result=$wxUSE_PROTOCOL_FTP
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}-protocol_file" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7952 # Check whether --enable-protocol_file was given.
7953 if test "${enable_protocol_file+set}" = set; then
7954 enableval=$enable_protocol_file;
7955 if test "$enableval" = yes; then
7956 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7957 else
7958 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7959 fi
7960
7961 else
7962
7963 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7964
7965 fi
7966
7967
7968 eval "$wx_cv_use_protocol_file"
7969
7970 if test x"$enablestring" = xdisable; then
7971 if test $wxUSE_PROTOCOL_FILE = yes; then
7972 result=no
7973 else
7974 result=yes
7975 fi
7976 else
7977 result=$wxUSE_PROTOCOL_FILE
7978 fi
7979
7980 { echo "$as_me:$LINENO: result: $result" >&5
7981 echo "${ECHO_T}$result" >&6; }
7982
7983
7984
7985 enablestring=
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7989 defaultval=yes
7990 else
7991 defaultval=no
7992 fi
7993 fi
7994
7995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7997 # Check whether --enable-threads was given.
7998 if test "${enable_threads+set}" = set; then
7999 enableval=$enable_threads;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_threads='wxUSE_THREADS=yes'
8002 else
8003 wx_cv_use_threads='wxUSE_THREADS=no'
8004 fi
8005
8006 else
8007
8008 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8009
8010 fi
8011
8012
8013 eval "$wx_cv_use_threads"
8014
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_THREADS = yes; then
8017 result=no
8018 else
8019 result=yes
8020 fi
8021 else
8022 result=$wxUSE_THREADS
8023 fi
8024
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8027
8028
8029
8030 enablestring=
8031 defaultval=
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8034 defaultval=yes
8035 else
8036 defaultval=no
8037 fi
8038 fi
8039
8040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8042 # Check whether --enable-iniconf was given.
8043 if test "${enable_iniconf+set}" = set; then
8044 enableval=$enable_iniconf;
8045 if test "$enableval" = yes; then
8046 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8047 else
8048 wx_cv_use_iniconf='wxUSE_INICONF=no'
8049 fi
8050
8051 else
8052
8053 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8054
8055 fi
8056
8057
8058 eval "$wx_cv_use_iniconf"
8059
8060 if test x"$enablestring" = xdisable; then
8061 if test $wxUSE_INICONF = yes; then
8062 result=no
8063 else
8064 result=yes
8065 fi
8066 else
8067 result=$wxUSE_INICONF
8068 fi
8069
8070 { echo "$as_me:$LINENO: result: $result" >&5
8071 echo "${ECHO_T}$result" >&6; }
8072
8073
8074 enablestring=
8075 defaultval=$wxUSE_ALL_FEATURES
8076 if test -z "$defaultval"; then
8077 if test x"$enablestring" = xdisable; then
8078 defaultval=yes
8079 else
8080 defaultval=no
8081 fi
8082 fi
8083
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8086 # Check whether --enable-regkey was given.
8087 if test "${enable_regkey+set}" = set; then
8088 enableval=$enable_regkey;
8089 if test "$enableval" = yes; then
8090 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8091 else
8092 wx_cv_use_regkey='wxUSE_REGKEY=no'
8093 fi
8094
8095 else
8096
8097 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8098
8099 fi
8100
8101
8102 eval "$wx_cv_use_regkey"
8103
8104 if test x"$enablestring" = xdisable; then
8105 if test $wxUSE_REGKEY = yes; then
8106 result=no
8107 else
8108 result=yes
8109 fi
8110 else
8111 result=$wxUSE_REGKEY
8112 fi
8113
8114 { echo "$as_me:$LINENO: result: $result" >&5
8115 echo "${ECHO_T}$result" >&6; }
8116
8117
8118 if test "$wxUSE_GUI" = "yes"; then
8119
8120
8121
8122 enablestring=
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8126 defaultval=yes
8127 else
8128 defaultval=no
8129 fi
8130 fi
8131
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8134 # Check whether --enable-docview was given.
8135 if test "${enable_docview+set}" = set; then
8136 enableval=$enable_docview;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8139 else
8140 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8141 fi
8142
8143 else
8144
8145 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8146
8147 fi
8148
8149
8150 eval "$wx_cv_use_docview"
8151
8152 if test x"$enablestring" = xdisable; then
8153 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8154 result=no
8155 else
8156 result=yes
8157 fi
8158 else
8159 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8160 fi
8161
8162 { echo "$as_me:$LINENO: result: $result" >&5
8163 echo "${ECHO_T}$result" >&6; }
8164
8165
8166 enablestring=
8167 defaultval=$wxUSE_ALL_FEATURES
8168 if test -z "$defaultval"; then
8169 if test x"$enablestring" = xdisable; then
8170 defaultval=yes
8171 else
8172 defaultval=no
8173 fi
8174 fi
8175
8176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8178 # Check whether --enable-help was given.
8179 if test "${enable_help+set}" = set; then
8180 enableval=$enable_help;
8181 if test "$enableval" = yes; then
8182 wx_cv_use_help='wxUSE_HELP=yes'
8183 else
8184 wx_cv_use_help='wxUSE_HELP=no'
8185 fi
8186
8187 else
8188
8189 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8190
8191 fi
8192
8193
8194 eval "$wx_cv_use_help"
8195
8196 if test x"$enablestring" = xdisable; then
8197 if test $wxUSE_HELP = yes; then
8198 result=no
8199 else
8200 result=yes
8201 fi
8202 else
8203 result=$wxUSE_HELP
8204 fi
8205
8206 { echo "$as_me:$LINENO: result: $result" >&5
8207 echo "${ECHO_T}$result" >&6; }
8208
8209
8210 enablestring=
8211 defaultval=$wxUSE_ALL_FEATURES
8212 if test -z "$defaultval"; then
8213 if test x"$enablestring" = xdisable; then
8214 defaultval=yes
8215 else
8216 defaultval=no
8217 fi
8218 fi
8219
8220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8222 # Check whether --enable-mshtmlhelp was given.
8223 if test "${enable_mshtmlhelp+set}" = set; then
8224 enableval=$enable_mshtmlhelp;
8225 if test "$enableval" = yes; then
8226 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8227 else
8228 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8229 fi
8230
8231 else
8232
8233 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8234
8235 fi
8236
8237
8238 eval "$wx_cv_use_mshtmlhelp"
8239
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_MS_HTML_HELP = yes; then
8242 result=no
8243 else
8244 result=yes
8245 fi
8246 else
8247 result=$wxUSE_MS_HTML_HELP
8248 fi
8249
8250 { echo "$as_me:$LINENO: result: $result" >&5
8251 echo "${ECHO_T}$result" >&6; }
8252
8253
8254 enablestring=
8255 defaultval=$wxUSE_ALL_FEATURES
8256 if test -z "$defaultval"; then
8257 if test x"$enablestring" = xdisable; then
8258 defaultval=yes
8259 else
8260 defaultval=no
8261 fi
8262 fi
8263
8264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8266 # Check whether --enable-html was given.
8267 if test "${enable_html+set}" = set; then
8268 enableval=$enable_html;
8269 if test "$enableval" = yes; then
8270 wx_cv_use_html='wxUSE_HTML=yes'
8271 else
8272 wx_cv_use_html='wxUSE_HTML=no'
8273 fi
8274
8275 else
8276
8277 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8278
8279 fi
8280
8281
8282 eval "$wx_cv_use_html"
8283
8284 if test x"$enablestring" = xdisable; then
8285 if test $wxUSE_HTML = yes; then
8286 result=no
8287 else
8288 result=yes
8289 fi
8290 else
8291 result=$wxUSE_HTML
8292 fi
8293
8294 { echo "$as_me:$LINENO: result: $result" >&5
8295 echo "${ECHO_T}$result" >&6; }
8296
8297
8298 enablestring=
8299 defaultval=$wxUSE_ALL_FEATURES
8300 if test -z "$defaultval"; then
8301 if test x"$enablestring" = xdisable; then
8302 defaultval=yes
8303 else
8304 defaultval=no
8305 fi
8306 fi
8307
8308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8309 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8310 # Check whether --enable-htmlhelp was given.
8311 if test "${enable_htmlhelp+set}" = set; then
8312 enableval=$enable_htmlhelp;
8313 if test "$enableval" = yes; then
8314 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8315 else
8316 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8317 fi
8318
8319 else
8320
8321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8322
8323 fi
8324
8325
8326 eval "$wx_cv_use_htmlhelp"
8327
8328 if test x"$enablestring" = xdisable; then
8329 if test $wxUSE_WXHTML_HELP = yes; then
8330 result=no
8331 else
8332 result=yes
8333 fi
8334 else
8335 result=$wxUSE_WXHTML_HELP
8336 fi
8337
8338 { echo "$as_me:$LINENO: result: $result" >&5
8339 echo "${ECHO_T}$result" >&6; }
8340
8341
8342 enablestring=
8343 defaultval=$wxUSE_ALL_FEATURES
8344 if test -z "$defaultval"; then
8345 if test x"$enablestring" = xdisable; then
8346 defaultval=yes
8347 else
8348 defaultval=no
8349 fi
8350 fi
8351
8352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8353 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8354 # Check whether --enable-xrc was given.
8355 if test "${enable_xrc+set}" = set; then
8356 enableval=$enable_xrc;
8357 if test "$enableval" = yes; then
8358 wx_cv_use_xrc='wxUSE_XRC=yes'
8359 else
8360 wx_cv_use_xrc='wxUSE_XRC=no'
8361 fi
8362
8363 else
8364
8365 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8366
8367 fi
8368
8369
8370 eval "$wx_cv_use_xrc"
8371
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_XRC = yes; then
8374 result=no
8375 else
8376 result=yes
8377 fi
8378 else
8379 result=$wxUSE_XRC
8380 fi
8381
8382 { echo "$as_me:$LINENO: result: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8384
8385
8386 enablestring=
8387 defaultval=$wxUSE_ALL_FEATURES
8388 if test -z "$defaultval"; then
8389 if test x"$enablestring" = xdisable; then
8390 defaultval=yes
8391 else
8392 defaultval=no
8393 fi
8394 fi
8395
8396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8397 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8398 # Check whether --enable-aui was given.
8399 if test "${enable_aui+set}" = set; then
8400 enableval=$enable_aui;
8401 if test "$enableval" = yes; then
8402 wx_cv_use_aui='wxUSE_AUI=yes'
8403 else
8404 wx_cv_use_aui='wxUSE_AUI=no'
8405 fi
8406
8407 else
8408
8409 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8410
8411 fi
8412
8413
8414 eval "$wx_cv_use_aui"
8415
8416 if test x"$enablestring" = xdisable; then
8417 if test $wxUSE_AUI = yes; then
8418 result=no
8419 else
8420 result=yes
8421 fi
8422 else
8423 result=$wxUSE_AUI
8424 fi
8425
8426 { echo "$as_me:$LINENO: result: $result" >&5
8427 echo "${ECHO_T}$result" >&6; }
8428
8429
8430 enablestring=
8431 defaultval=$wxUSE_ALL_FEATURES
8432 if test -z "$defaultval"; then
8433 if test x"$enablestring" = xdisable; then
8434 defaultval=yes
8435 else
8436 defaultval=no
8437 fi
8438 fi
8439
8440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8442 # Check whether --enable-stc was given.
8443 if test "${enable_stc+set}" = set; then
8444 enableval=$enable_stc;
8445 if test "$enableval" = yes; then
8446 wx_cv_use_stc='wxUSE_STC=yes'
8447 else
8448 wx_cv_use_stc='wxUSE_STC=no'
8449 fi
8450
8451 else
8452
8453 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8454
8455 fi
8456
8457
8458 eval "$wx_cv_use_stc"
8459
8460 if test x"$enablestring" = xdisable; then
8461 if test $wxUSE_STC = yes; then
8462 result=no
8463 else
8464 result=yes
8465 fi
8466 else
8467 result=$wxUSE_STC
8468 fi
8469
8470 { echo "$as_me:$LINENO: result: $result" >&5
8471 echo "${ECHO_T}$result" >&6; }
8472
8473
8474 enablestring=
8475 defaultval=$wxUSE_ALL_FEATURES
8476 if test -z "$defaultval"; then
8477 if test x"$enablestring" = xdisable; then
8478 defaultval=yes
8479 else
8480 defaultval=no
8481 fi
8482 fi
8483
8484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8486 # Check whether --enable-constraints was given.
8487 if test "${enable_constraints+set}" = set; then
8488 enableval=$enable_constraints;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8491 else
8492 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8493 fi
8494
8495 else
8496
8497 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8498
8499 fi
8500
8501
8502 eval "$wx_cv_use_constraints"
8503
8504 if test x"$enablestring" = xdisable; then
8505 if test $wxUSE_CONSTRAINTS = yes; then
8506 result=no
8507 else
8508 result=yes
8509 fi
8510 else
8511 result=$wxUSE_CONSTRAINTS
8512 fi
8513
8514 { echo "$as_me:$LINENO: result: $result" >&5
8515 echo "${ECHO_T}$result" >&6; }
8516
8517
8518 enablestring=
8519 defaultval=$wxUSE_ALL_FEATURES
8520 if test -z "$defaultval"; then
8521 if test x"$enablestring" = xdisable; then
8522 defaultval=yes
8523 else
8524 defaultval=no
8525 fi
8526 fi
8527
8528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8530 # Check whether --enable-printarch was given.
8531 if test "${enable_printarch+set}" = set; then
8532 enableval=$enable_printarch;
8533 if test "$enableval" = yes; then
8534 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8535 else
8536 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8537 fi
8538
8539 else
8540
8541 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8542
8543 fi
8544
8545
8546 eval "$wx_cv_use_printarch"
8547
8548 if test x"$enablestring" = xdisable; then
8549 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8550 result=no
8551 else
8552 result=yes
8553 fi
8554 else
8555 result=$wxUSE_PRINTING_ARCHITECTURE
8556 fi
8557
8558 { echo "$as_me:$LINENO: result: $result" >&5
8559 echo "${ECHO_T}$result" >&6; }
8560
8561
8562 enablestring=
8563 defaultval=$wxUSE_ALL_FEATURES
8564 if test -z "$defaultval"; then
8565 if test x"$enablestring" = xdisable; then
8566 defaultval=yes
8567 else
8568 defaultval=no
8569 fi
8570 fi
8571
8572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8574 # Check whether --enable-mdi was given.
8575 if test "${enable_mdi+set}" = set; then
8576 enableval=$enable_mdi;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_mdi='wxUSE_MDI=yes'
8579 else
8580 wx_cv_use_mdi='wxUSE_MDI=no'
8581 fi
8582
8583 else
8584
8585 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8586
8587 fi
8588
8589
8590 eval "$wx_cv_use_mdi"
8591
8592 if test x"$enablestring" = xdisable; then
8593 if test $wxUSE_MDI = yes; then
8594 result=no
8595 else
8596 result=yes
8597 fi
8598 else
8599 result=$wxUSE_MDI
8600 fi
8601
8602 { echo "$as_me:$LINENO: result: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8604
8605
8606 enablestring=
8607 defaultval=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x"$enablestring" = xdisable; then
8610 defaultval=yes
8611 else
8612 defaultval=no
8613 fi
8614 fi
8615
8616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8618 # Check whether --enable-mdidoc was given.
8619 if test "${enable_mdidoc+set}" = set; then
8620 enableval=$enable_mdidoc;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8623 else
8624 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8625 fi
8626
8627 else
8628
8629 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8630
8631 fi
8632
8633
8634 eval "$wx_cv_use_mdidoc"
8635
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8638 result=no
8639 else
8640 result=yes
8641 fi
8642 else
8643 result=$wxUSE_MDI_ARCHITECTURE
8644 fi
8645
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8648
8649
8650 enablestring=
8651 defaultval=$wxUSE_ALL_FEATURES
8652 if test -z "$defaultval"; then
8653 if test x"$enablestring" = xdisable; then
8654 defaultval=yes
8655 else
8656 defaultval=no
8657 fi
8658 fi
8659
8660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8662 # Check whether --enable-loggui was given.
8663 if test "${enable_loggui+set}" = set; then
8664 enableval=$enable_loggui;
8665 if test "$enableval" = yes; then
8666 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8667 else
8668 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8669 fi
8670
8671 else
8672
8673 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8674
8675 fi
8676
8677
8678 eval "$wx_cv_use_loggui"
8679
8680 if test x"$enablestring" = xdisable; then
8681 if test $wxUSE_LOGGUI = yes; then
8682 result=no
8683 else
8684 result=yes
8685 fi
8686 else
8687 result=$wxUSE_LOGGUI
8688 fi
8689
8690 { echo "$as_me:$LINENO: result: $result" >&5
8691 echo "${ECHO_T}$result" >&6; }
8692
8693
8694 enablestring=
8695 defaultval=$wxUSE_ALL_FEATURES
8696 if test -z "$defaultval"; then
8697 if test x"$enablestring" = xdisable; then
8698 defaultval=yes
8699 else
8700 defaultval=no
8701 fi
8702 fi
8703
8704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8706 # Check whether --enable-logwin was given.
8707 if test "${enable_logwin+set}" = set; then
8708 enableval=$enable_logwin;
8709 if test "$enableval" = yes; then
8710 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8711 else
8712 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8713 fi
8714
8715 else
8716
8717 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8718
8719 fi
8720
8721
8722 eval "$wx_cv_use_logwin"
8723
8724 if test x"$enablestring" = xdisable; then
8725 if test $wxUSE_LOGWINDOW = yes; then
8726 result=no
8727 else
8728 result=yes
8729 fi
8730 else
8731 result=$wxUSE_LOGWINDOW
8732 fi
8733
8734 { echo "$as_me:$LINENO: result: $result" >&5
8735 echo "${ECHO_T}$result" >&6; }
8736
8737
8738 enablestring=
8739 defaultval=$wxUSE_ALL_FEATURES
8740 if test -z "$defaultval"; then
8741 if test x"$enablestring" = xdisable; then
8742 defaultval=yes
8743 else
8744 defaultval=no
8745 fi
8746 fi
8747
8748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8750 # Check whether --enable-logdialog was given.
8751 if test "${enable_logdialog+set}" = set; then
8752 enableval=$enable_logdialog;
8753 if test "$enableval" = yes; then
8754 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8755 else
8756 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8757 fi
8758
8759 else
8760
8761 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8762
8763 fi
8764
8765
8766 eval "$wx_cv_use_logdialog"
8767
8768 if test x"$enablestring" = xdisable; then
8769 if test $wxUSE_LOGDIALOG = yes; then
8770 result=no
8771 else
8772 result=yes
8773 fi
8774 else
8775 result=$wxUSE_LOGDIALOG
8776 fi
8777
8778 { echo "$as_me:$LINENO: result: $result" >&5
8779 echo "${ECHO_T}$result" >&6; }
8780
8781
8782 enablestring=
8783 defaultval=$wxUSE_ALL_FEATURES
8784 if test -z "$defaultval"; then
8785 if test x"$enablestring" = xdisable; then
8786 defaultval=yes
8787 else
8788 defaultval=no
8789 fi
8790 fi
8791
8792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8794 # Check whether --enable-webkit was given.
8795 if test "${enable_webkit+set}" = set; then
8796 enableval=$enable_webkit;
8797 if test "$enableval" = yes; then
8798 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8799 else
8800 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8801 fi
8802
8803 else
8804
8805 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8806
8807 fi
8808
8809
8810 eval "$wx_cv_use_webkit"
8811
8812 if test x"$enablestring" = xdisable; then
8813 if test $wxUSE_WEBKIT = yes; then
8814 result=no
8815 else
8816 result=yes
8817 fi
8818 else
8819 result=$wxUSE_WEBKIT
8820 fi
8821
8822 { echo "$as_me:$LINENO: result: $result" >&5
8823 echo "${ECHO_T}$result" >&6; }
8824
8825
8826 enablestring=
8827 defaultval=$wxUSE_ALL_FEATURES
8828 if test -z "$defaultval"; then
8829 if test x"$enablestring" = xdisable; then
8830 defaultval=yes
8831 else
8832 defaultval=no
8833 fi
8834 fi
8835
8836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8837 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8838 # Check whether --enable-richtext was given.
8839 if test "${enable_richtext+set}" = set; then
8840 enableval=$enable_richtext;
8841 if test "$enableval" = yes; then
8842 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8843 else
8844 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8845 fi
8846
8847 else
8848
8849 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8850
8851 fi
8852
8853
8854 eval "$wx_cv_use_richtext"
8855
8856 if test x"$enablestring" = xdisable; then
8857 if test $wxUSE_RICHTEXT = yes; then
8858 result=no
8859 else
8860 result=yes
8861 fi
8862 else
8863 result=$wxUSE_RICHTEXT
8864 fi
8865
8866 { echo "$as_me:$LINENO: result: $result" >&5
8867 echo "${ECHO_T}$result" >&6; }
8868
8869
8870 enablestring=
8871 defaultval=$wxUSE_ALL_FEATURES
8872 if test -z "$defaultval"; then
8873 if test x"$enablestring" = xdisable; then
8874 defaultval=yes
8875 else
8876 defaultval=no
8877 fi
8878 fi
8879
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8882 # Check whether --enable-graphics_ctx was given.
8883 if test "${enable_graphics_ctx+set}" = set; then
8884 enableval=$enable_graphics_ctx;
8885 if test "$enableval" = yes; then
8886 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8887 else
8888 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8889 fi
8890
8891 else
8892
8893 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8894
8895 fi
8896
8897
8898 eval "$wx_cv_use_graphics_ctx"
8899
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8902 result=no
8903 else
8904 result=yes
8905 fi
8906 else
8907 result=$wxUSE_GRAPHICS_CONTEXT
8908 fi
8909
8910 { echo "$as_me:$LINENO: result: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8912
8913
8914 enablestring=
8915 defaultval=$wxUSE_ALL_FEATURES
8916 if test -z "$defaultval"; then
8917 if test x"$enablestring" = xdisable; then
8918 defaultval=yes
8919 else
8920 defaultval=no
8921 fi
8922 fi
8923
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8926 # Check whether --enable-postscript was given.
8927 if test "${enable_postscript+set}" = set; then
8928 enableval=$enable_postscript;
8929 if test "$enableval" = yes; then
8930 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8931 else
8932 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8933 fi
8934
8935 else
8936
8937 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8938
8939 fi
8940
8941
8942 eval "$wx_cv_use_postscript"
8943
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_POSTSCRIPT = yes; then
8946 result=no
8947 else
8948 result=yes
8949 fi
8950 else
8951 result=$wxUSE_POSTSCRIPT
8952 fi
8953
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8956
8957
8958 enablestring=
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8962 defaultval=yes
8963 else
8964 defaultval=no
8965 fi
8966 fi
8967
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8970 # Check whether --enable-svg was given.
8971 if test "${enable_svg+set}" = set; then
8972 enableval=$enable_svg;
8973 if test "$enableval" = yes; then
8974 wx_cv_use_svg='wxUSE_SVG=yes'
8975 else
8976 wx_cv_use_svg='wxUSE_SVG=no'
8977 fi
8978
8979 else
8980
8981 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8982
8983 fi
8984
8985
8986 eval "$wx_cv_use_svg"
8987
8988 if test x"$enablestring" = xdisable; then
8989 if test $wxUSE_SVG = yes; then
8990 result=no
8991 else
8992 result=yes
8993 fi
8994 else
8995 result=$wxUSE_SVG
8996 fi
8997
8998 { echo "$as_me:$LINENO: result: $result" >&5
8999 echo "${ECHO_T}$result" >&6; }
9000
9001
9002
9003
9004 enablestring=
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9008 defaultval=yes
9009 else
9010 defaultval=no
9011 fi
9012 fi
9013
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9016 # Check whether --enable-clipboard was given.
9017 if test "${enable_clipboard+set}" = set; then
9018 enableval=$enable_clipboard;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9021 else
9022 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9023 fi
9024
9025 else
9026
9027 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9028
9029 fi
9030
9031
9032 eval "$wx_cv_use_clipboard"
9033
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_CLIPBOARD = yes; then
9036 result=no
9037 else
9038 result=yes
9039 fi
9040 else
9041 result=$wxUSE_CLIPBOARD
9042 fi
9043
9044 { echo "$as_me:$LINENO: result: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9046
9047
9048 enablestring=
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9052 defaultval=yes
9053 else
9054 defaultval=no
9055 fi
9056 fi
9057
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9060 # Check whether --enable-dnd was given.
9061 if test "${enable_dnd+set}" = set; then
9062 enableval=$enable_dnd;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9065 else
9066 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9067 fi
9068
9069 else
9070
9071 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9072
9073 fi
9074
9075
9076 eval "$wx_cv_use_dnd"
9077
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_DRAG_AND_DROP = yes; then
9080 result=no
9081 else
9082 result=yes
9083 fi
9084 else
9085 result=$wxUSE_DRAG_AND_DROP
9086 fi
9087
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9090
9091
9092 enablestring=
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9096 defaultval=yes
9097 else
9098 defaultval=no
9099 fi
9100 fi
9101
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9104 # Check whether --enable-metafile was given.
9105 if test "${enable_metafile+set}" = set; then
9106 enableval=$enable_metafile;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9109 else
9110 wx_cv_use_metafile='wxUSE_METAFILE=no'
9111 fi
9112
9113 else
9114
9115 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9116
9117 fi
9118
9119
9120 eval "$wx_cv_use_metafile"
9121
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_METAFILE = yes; then
9124 result=no
9125 else
9126 result=yes
9127 fi
9128 else
9129 result=$wxUSE_METAFILE
9130 fi
9131
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9134
9135
9136
9137 DEFAULT_wxUSE_CONTROLS=none
9138
9139 enablestring=disable
9140 defaultval=
9141 if test -z "$defaultval"; then
9142 if test x"$enablestring" = xdisable; then
9143 defaultval=yes
9144 else
9145 defaultval=no
9146 fi
9147 fi
9148
9149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9151 # Check whether --enable-controls was given.
9152 if test "${enable_controls+set}" = set; then
9153 enableval=$enable_controls;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9156 else
9157 wx_cv_use_controls='wxUSE_CONTROLS=no'
9158 fi
9159
9160 else
9161
9162 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9163
9164 fi
9165
9166
9167 eval "$wx_cv_use_controls"
9168
9169 if test x"$enablestring" = xdisable; then
9170 if test $wxUSE_CONTROLS = yes; then
9171 result=no
9172 else
9173 result=yes
9174 fi
9175 else
9176 result=$wxUSE_CONTROLS
9177 fi
9178
9179 { echo "$as_me:$LINENO: result: $result" >&5
9180 echo "${ECHO_T}$result" >&6; }
9181
9182
9183 if test "$wxUSE_CONTROLS" = "yes"; then
9184 DEFAULT_wxUSE_ACCEL=yes
9185 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9186 DEFAULT_wxUSE_BMPBUTTON=yes
9187 DEFAULT_wxUSE_BUTTON=yes
9188 DEFAULT_wxUSE_CALCTRL=yes
9189 DEFAULT_wxUSE_CARET=yes
9190 DEFAULT_wxUSE_COMBOBOX=yes
9191 DEFAULT_wxUSE_CHECKBOX=yes
9192 DEFAULT_wxUSE_CHECKLISTBOX=yes
9193 DEFAULT_wxUSE_CHOICE=yes
9194 DEFAULT_wxUSE_CHOICEBOOK=yes
9195 DEFAULT_wxUSE_COLLPANE=yes
9196 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9197 DEFAULT_wxUSE_COMBOBOX=yes
9198 DEFAULT_wxUSE_DATEPICKCTRL=yes
9199 DEFAULT_wxUSE_DISPLAY=yes
9200 DEFAULT_wxUSE_DETECT_SM=yes
9201 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9202 DEFAULT_wxUSE_FILECTRL=yes
9203 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9204 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9205 DEFAULT_wxUSE_GAUGE=yes
9206 DEFAULT_wxUSE_GRID=yes
9207 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9208 DEFAULT_wxUSE_DATAVIEWCTRL=no
9209 DEFAULT_wxUSE_IMAGLIST=yes
9210 DEFAULT_wxUSE_LISTBOOK=yes
9211 DEFAULT_wxUSE_LISTBOX=yes
9212 DEFAULT_wxUSE_LISTCTRL=yes
9213 DEFAULT_wxUSE_NOTEBOOK=yes
9214 DEFAULT_wxUSE_RADIOBOX=yes
9215 DEFAULT_wxUSE_RADIOBTN=yes
9216 DEFAULT_wxUSE_SASH=yes
9217 DEFAULT_wxUSE_SCROLLBAR=yes
9218 DEFAULT_wxUSE_SEARCHCTRL=yes
9219 DEFAULT_wxUSE_SLIDER=yes
9220 DEFAULT_wxUSE_SPINBTN=yes
9221 DEFAULT_wxUSE_SPINCTRL=yes
9222 DEFAULT_wxUSE_SPLITTER=yes
9223 DEFAULT_wxUSE_STATBMP=yes
9224 DEFAULT_wxUSE_STATBOX=yes
9225 DEFAULT_wxUSE_STATLINE=yes
9226 DEFAULT_wxUSE_STATUSBAR=yes
9227 DEFAULT_wxUSE_TAB_DIALOG=yes
9228 DEFAULT_wxUSE_TOGGLEBTN=yes
9229 DEFAULT_wxUSE_TOOLBAR=yes
9230 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9231 DEFAULT_wxUSE_TOOLTIPS=yes
9232 DEFAULT_wxUSE_TREEBOOK=yes
9233 DEFAULT_wxUSE_TOOLBOOK=yes
9234 DEFAULT_wxUSE_TREECTRL=yes
9235 DEFAULT_wxUSE_POPUPWIN=yes
9236 DEFAULT_wxUSE_TIPWINDOW=yes
9237 elif test "$wxUSE_CONTROLS" = "no"; then
9238 DEFAULT_wxUSE_ACCEL=no
9239 DEFAULT_wxUSE_ANIMATIONCTRL=no
9240 DEFAULT_wxUSE_BMPBUTTON=no
9241 DEFAULT_wxUSE_BUTTON=no
9242 DEFAULT_wxUSE_CALCTRL=no
9243 DEFAULT_wxUSE_CARET=no
9244 DEFAULT_wxUSE_COLLPANE=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_CHECKBOX=no
9247 DEFAULT_wxUSE_CHECKLISTBOX=no
9248 DEFAULT_wxUSE_CHOICE=no
9249 DEFAULT_wxUSE_CHOICEBOOK=no
9250 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9251 DEFAULT_wxUSE_COMBOBOX=no
9252 DEFAULT_wxUSE_DATEPICKCTRL=no
9253 DEFAULT_wxUSE_DISPLAY=no
9254 DEFAULT_wxUSE_DETECT_SM=no
9255 DEFAULT_wxUSE_DIRPICKERCTRL=no
9256 DEFAULT_wxUSE_FILECTRL=no
9257 DEFAULT_wxUSE_FILEPICKERCTRL=no
9258 DEFAULT_wxUSE_FONTPICKERCTRL=no
9259 DEFAULT_wxUSE_GAUGE=no
9260 DEFAULT_wxUSE_GRID=no
9261 DEFAULT_wxUSE_HYPERLINKCTRL=no
9262 DEFAULT_wxUSE_DATAVIEWCTRL=no
9263 DEFAULT_wxUSE_IMAGLIST=no
9264 DEFAULT_wxUSE_LISTBOOK=no
9265 DEFAULT_wxUSE_LISTBOX=no
9266 DEFAULT_wxUSE_LISTCTRL=no
9267 DEFAULT_wxUSE_NOTEBOOK=no
9268 DEFAULT_wxUSE_RADIOBOX=no
9269 DEFAULT_wxUSE_RADIOBTN=no
9270 DEFAULT_wxUSE_SASH=no
9271 DEFAULT_wxUSE_SCROLLBAR=no
9272 DEFAULT_wxUSE_SEARCHCTRL=no
9273 DEFAULT_wxUSE_SLIDER=no
9274 DEFAULT_wxUSE_SPINBTN=no
9275 DEFAULT_wxUSE_SPINCTRL=no
9276 DEFAULT_wxUSE_SPLITTER=no
9277 DEFAULT_wxUSE_STATBMP=no
9278 DEFAULT_wxUSE_STATBOX=no
9279 DEFAULT_wxUSE_STATLINE=no
9280 DEFAULT_wxUSE_STATUSBAR=no
9281 DEFAULT_wxUSE_TAB_DIALOG=no
9282 DEFAULT_wxUSE_TOGGLEBTN=no
9283 DEFAULT_wxUSE_TOOLBAR=no
9284 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9285 DEFAULT_wxUSE_TOOLTIPS=no
9286 DEFAULT_wxUSE_TREEBOOK=no
9287 DEFAULT_wxUSE_TOOLBOOK=no
9288 DEFAULT_wxUSE_TREECTRL=no
9289 DEFAULT_wxUSE_POPUPWIN=no
9290 DEFAULT_wxUSE_TIPWINDOW=no
9291 fi
9292
9293
9294 enablestring=
9295 defaultval=$wxUSE_ALL_FEATURES
9296 if test -z "$defaultval"; then
9297 if test x"$enablestring" = xdisable; then
9298 defaultval=yes
9299 else
9300 defaultval=no
9301 fi
9302 fi
9303
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9306 # Check whether --enable-accel was given.
9307 if test "${enable_accel+set}" = set; then
9308 enableval=$enable_accel;
9309 if test "$enableval" = yes; then
9310 wx_cv_use_accel='wxUSE_ACCEL=yes'
9311 else
9312 wx_cv_use_accel='wxUSE_ACCEL=no'
9313 fi
9314
9315 else
9316
9317 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9318
9319 fi
9320
9321
9322 eval "$wx_cv_use_accel"
9323
9324 if test x"$enablestring" = xdisable; then
9325 if test $wxUSE_ACCEL = yes; then
9326 result=no
9327 else
9328 result=yes
9329 fi
9330 else
9331 result=$wxUSE_ACCEL
9332 fi
9333
9334 { echo "$as_me:$LINENO: result: $result" >&5
9335 echo "${ECHO_T}$result" >&6; }
9336
9337
9338 enablestring=
9339 defaultval=$wxUSE_ALL_FEATURES
9340 if test -z "$defaultval"; then
9341 if test x"$enablestring" = xdisable; then
9342 defaultval=yes
9343 else
9344 defaultval=no
9345 fi
9346 fi
9347
9348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9350 # Check whether --enable-animatectrl was given.
9351 if test "${enable_animatectrl+set}" = set; then
9352 enableval=$enable_animatectrl;
9353 if test "$enableval" = yes; then
9354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9355 else
9356 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9357 fi
9358
9359 else
9360
9361 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9362
9363 fi
9364
9365
9366 eval "$wx_cv_use_animatectrl"
9367
9368 if test x"$enablestring" = xdisable; then
9369 if test $wxUSE_ANIMATIONCTRL = yes; then
9370 result=no
9371 else
9372 result=yes
9373 fi
9374 else
9375 result=$wxUSE_ANIMATIONCTRL
9376 fi
9377
9378 { echo "$as_me:$LINENO: result: $result" >&5
9379 echo "${ECHO_T}$result" >&6; }
9380
9381
9382 enablestring=
9383 defaultval=$wxUSE_ALL_FEATURES
9384 if test -z "$defaultval"; then
9385 if test x"$enablestring" = xdisable; then
9386 defaultval=yes
9387 else
9388 defaultval=no
9389 fi
9390 fi
9391
9392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9394 # Check whether --enable-button was given.
9395 if test "${enable_button+set}" = set; then
9396 enableval=$enable_button;
9397 if test "$enableval" = yes; then
9398 wx_cv_use_button='wxUSE_BUTTON=yes'
9399 else
9400 wx_cv_use_button='wxUSE_BUTTON=no'
9401 fi
9402
9403 else
9404
9405 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9406
9407 fi
9408
9409
9410 eval "$wx_cv_use_button"
9411
9412 if test x"$enablestring" = xdisable; then
9413 if test $wxUSE_BUTTON = yes; then
9414 result=no
9415 else
9416 result=yes
9417 fi
9418 else
9419 result=$wxUSE_BUTTON
9420 fi
9421
9422 { echo "$as_me:$LINENO: result: $result" >&5
9423 echo "${ECHO_T}$result" >&6; }
9424
9425
9426 enablestring=
9427 defaultval=$wxUSE_ALL_FEATURES
9428 if test -z "$defaultval"; then
9429 if test x"$enablestring" = xdisable; then
9430 defaultval=yes
9431 else
9432 defaultval=no
9433 fi
9434 fi
9435
9436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9438 # Check whether --enable-bmpbutton was given.
9439 if test "${enable_bmpbutton+set}" = set; then
9440 enableval=$enable_bmpbutton;
9441 if test "$enableval" = yes; then
9442 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9443 else
9444 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9445 fi
9446
9447 else
9448
9449 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9450
9451 fi
9452
9453
9454 eval "$wx_cv_use_bmpbutton"
9455
9456 if test x"$enablestring" = xdisable; then
9457 if test $wxUSE_BMPBUTTON = yes; then
9458 result=no
9459 else
9460 result=yes
9461 fi
9462 else
9463 result=$wxUSE_BMPBUTTON
9464 fi
9465
9466 { echo "$as_me:$LINENO: result: $result" >&5
9467 echo "${ECHO_T}$result" >&6; }
9468
9469
9470 enablestring=
9471 defaultval=$wxUSE_ALL_FEATURES
9472 if test -z "$defaultval"; then
9473 if test x"$enablestring" = xdisable; then
9474 defaultval=yes
9475 else
9476 defaultval=no
9477 fi
9478 fi
9479
9480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9481 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9482 # Check whether --enable-bmpcombobox was given.
9483 if test "${enable_bmpcombobox+set}" = set; then
9484 enableval=$enable_bmpcombobox;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9487 else
9488 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9489 fi
9490
9491 else
9492
9493 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9494
9495 fi
9496
9497
9498 eval "$wx_cv_use_bmpcombobox"
9499
9500 if test x"$enablestring" = xdisable; then
9501 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9502 result=no
9503 else
9504 result=yes
9505 fi
9506 else
9507 result=$wxUSE_BITMAPCOMBOBOX
9508 fi
9509
9510 { echo "$as_me:$LINENO: result: $result" >&5
9511 echo "${ECHO_T}$result" >&6; }
9512
9513
9514 enablestring=
9515 defaultval=$wxUSE_ALL_FEATURES
9516 if test -z "$defaultval"; then
9517 if test x"$enablestring" = xdisable; then
9518 defaultval=yes
9519 else
9520 defaultval=no
9521 fi
9522 fi
9523
9524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9525 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9526 # Check whether --enable-calendar was given.
9527 if test "${enable_calendar+set}" = set; then
9528 enableval=$enable_calendar;
9529 if test "$enableval" = yes; then
9530 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9531 else
9532 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9533 fi
9534
9535 else
9536
9537 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9538
9539 fi
9540
9541
9542 eval "$wx_cv_use_calendar"
9543
9544 if test x"$enablestring" = xdisable; then
9545 if test $wxUSE_CALCTRL = yes; then
9546 result=no
9547 else
9548 result=yes
9549 fi
9550 else
9551 result=$wxUSE_CALCTRL
9552 fi
9553
9554 { echo "$as_me:$LINENO: result: $result" >&5
9555 echo "${ECHO_T}$result" >&6; }
9556
9557
9558 enablestring=
9559 defaultval=$wxUSE_ALL_FEATURES
9560 if test -z "$defaultval"; then
9561 if test x"$enablestring" = xdisable; then
9562 defaultval=yes
9563 else
9564 defaultval=no
9565 fi
9566 fi
9567
9568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9570 # Check whether --enable-caret was given.
9571 if test "${enable_caret+set}" = set; then
9572 enableval=$enable_caret;
9573 if test "$enableval" = yes; then
9574 wx_cv_use_caret='wxUSE_CARET=yes'
9575 else
9576 wx_cv_use_caret='wxUSE_CARET=no'
9577 fi
9578
9579 else
9580
9581 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9582
9583 fi
9584
9585
9586 eval "$wx_cv_use_caret"
9587
9588 if test x"$enablestring" = xdisable; then
9589 if test $wxUSE_CARET = yes; then
9590 result=no
9591 else
9592 result=yes
9593 fi
9594 else
9595 result=$wxUSE_CARET
9596 fi
9597
9598 { echo "$as_me:$LINENO: result: $result" >&5
9599 echo "${ECHO_T}$result" >&6; }
9600
9601
9602 enablestring=
9603 defaultval=$wxUSE_ALL_FEATURES
9604 if test -z "$defaultval"; then
9605 if test x"$enablestring" = xdisable; then
9606 defaultval=yes
9607 else
9608 defaultval=no
9609 fi
9610 fi
9611
9612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9614 # Check whether --enable-checkbox was given.
9615 if test "${enable_checkbox+set}" = set; then
9616 enableval=$enable_checkbox;
9617 if test "$enableval" = yes; then
9618 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9619 else
9620 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9621 fi
9622
9623 else
9624
9625 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9626
9627 fi
9628
9629
9630 eval "$wx_cv_use_checkbox"
9631
9632 if test x"$enablestring" = xdisable; then
9633 if test $wxUSE_CHECKBOX = yes; then
9634 result=no
9635 else
9636 result=yes
9637 fi
9638 else
9639 result=$wxUSE_CHECKBOX
9640 fi
9641
9642 { echo "$as_me:$LINENO: result: $result" >&5
9643 echo "${ECHO_T}$result" >&6; }
9644
9645
9646 enablestring=
9647 defaultval=$wxUSE_ALL_FEATURES
9648 if test -z "$defaultval"; then
9649 if test x"$enablestring" = xdisable; then
9650 defaultval=yes
9651 else
9652 defaultval=no
9653 fi
9654 fi
9655
9656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9658 # Check whether --enable-checklst was given.
9659 if test "${enable_checklst+set}" = set; then
9660 enableval=$enable_checklst;
9661 if test "$enableval" = yes; then
9662 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9663 else
9664 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9665 fi
9666
9667 else
9668
9669 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9670
9671 fi
9672
9673
9674 eval "$wx_cv_use_checklst"
9675
9676 if test x"$enablestring" = xdisable; then
9677 if test $wxUSE_CHECKLST = yes; then
9678 result=no
9679 else
9680 result=yes
9681 fi
9682 else
9683 result=$wxUSE_CHECKLST
9684 fi
9685
9686 { echo "$as_me:$LINENO: result: $result" >&5
9687 echo "${ECHO_T}$result" >&6; }
9688
9689
9690 enablestring=
9691 defaultval=$wxUSE_ALL_FEATURES
9692 if test -z "$defaultval"; then
9693 if test x"$enablestring" = xdisable; then
9694 defaultval=yes
9695 else
9696 defaultval=no
9697 fi
9698 fi
9699
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9702 # Check whether --enable-choice was given.
9703 if test "${enable_choice+set}" = set; then
9704 enableval=$enable_choice;
9705 if test "$enableval" = yes; then
9706 wx_cv_use_choice='wxUSE_CHOICE=yes'
9707 else
9708 wx_cv_use_choice='wxUSE_CHOICE=no'
9709 fi
9710
9711 else
9712
9713 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9714
9715 fi
9716
9717
9718 eval "$wx_cv_use_choice"
9719
9720 if test x"$enablestring" = xdisable; then
9721 if test $wxUSE_CHOICE = yes; then
9722 result=no
9723 else
9724 result=yes
9725 fi
9726 else
9727 result=$wxUSE_CHOICE
9728 fi
9729
9730 { echo "$as_me:$LINENO: result: $result" >&5
9731 echo "${ECHO_T}$result" >&6; }
9732
9733
9734 enablestring=
9735 defaultval=$wxUSE_ALL_FEATURES
9736 if test -z "$defaultval"; then
9737 if test x"$enablestring" = xdisable; then
9738 defaultval=yes
9739 else
9740 defaultval=no
9741 fi
9742 fi
9743
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9746 # Check whether --enable-choicebook was given.
9747 if test "${enable_choicebook+set}" = set; then
9748 enableval=$enable_choicebook;
9749 if test "$enableval" = yes; then
9750 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9751 else
9752 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9753 fi
9754
9755 else
9756
9757 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9758
9759 fi
9760
9761
9762 eval "$wx_cv_use_choicebook"
9763
9764 if test x"$enablestring" = xdisable; then
9765 if test $wxUSE_CHOICEBOOK = yes; then
9766 result=no
9767 else
9768 result=yes
9769 fi
9770 else
9771 result=$wxUSE_CHOICEBOOK
9772 fi
9773
9774 { echo "$as_me:$LINENO: result: $result" >&5
9775 echo "${ECHO_T}$result" >&6; }
9776
9777
9778 enablestring=
9779 defaultval=$wxUSE_ALL_FEATURES
9780 if test -z "$defaultval"; then
9781 if test x"$enablestring" = xdisable; then
9782 defaultval=yes
9783 else
9784 defaultval=no
9785 fi
9786 fi
9787
9788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9789 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9790 # Check whether --enable-collpane was given.
9791 if test "${enable_collpane+set}" = set; then
9792 enableval=$enable_collpane;
9793 if test "$enableval" = yes; then
9794 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9795 else
9796 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9797 fi
9798
9799 else
9800
9801 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9802
9803 fi
9804
9805
9806 eval "$wx_cv_use_collpane"
9807
9808 if test x"$enablestring" = xdisable; then
9809 if test $wxUSE_COLLPANE = yes; then
9810 result=no
9811 else
9812 result=yes
9813 fi
9814 else
9815 result=$wxUSE_COLLPANE
9816 fi
9817
9818 { echo "$as_me:$LINENO: result: $result" >&5
9819 echo "${ECHO_T}$result" >&6; }
9820
9821
9822 enablestring=
9823 defaultval=$wxUSE_ALL_FEATURES
9824 if test -z "$defaultval"; then
9825 if test x"$enablestring" = xdisable; then
9826 defaultval=yes
9827 else
9828 defaultval=no
9829 fi
9830 fi
9831
9832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9834 # Check whether --enable-colourpicker was given.
9835 if test "${enable_colourpicker+set}" = set; then
9836 enableval=$enable_colourpicker;
9837 if test "$enableval" = yes; then
9838 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9839 else
9840 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9841 fi
9842
9843 else
9844
9845 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9846
9847 fi
9848
9849
9850 eval "$wx_cv_use_colourpicker"
9851
9852 if test x"$enablestring" = xdisable; then
9853 if test $wxUSE_COLOURPICKERCTRL = yes; then
9854 result=no
9855 else
9856 result=yes
9857 fi
9858 else
9859 result=$wxUSE_COLOURPICKERCTRL
9860 fi
9861
9862 { echo "$as_me:$LINENO: result: $result" >&5
9863 echo "${ECHO_T}$result" >&6; }
9864
9865
9866 enablestring=
9867 defaultval=$wxUSE_ALL_FEATURES
9868 if test -z "$defaultval"; then
9869 if test x"$enablestring" = xdisable; then
9870 defaultval=yes
9871 else
9872 defaultval=no
9873 fi
9874 fi
9875
9876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9877 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9878 # Check whether --enable-combobox was given.
9879 if test "${enable_combobox+set}" = set; then
9880 enableval=$enable_combobox;
9881 if test "$enableval" = yes; then
9882 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9883 else
9884 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9885 fi
9886
9887 else
9888
9889 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9890
9891 fi
9892
9893
9894 eval "$wx_cv_use_combobox"
9895
9896 if test x"$enablestring" = xdisable; then
9897 if test $wxUSE_COMBOBOX = yes; then
9898 result=no
9899 else
9900 result=yes
9901 fi
9902 else
9903 result=$wxUSE_COMBOBOX
9904 fi
9905
9906 { echo "$as_me:$LINENO: result: $result" >&5
9907 echo "${ECHO_T}$result" >&6; }
9908
9909
9910 enablestring=
9911 defaultval=$wxUSE_ALL_FEATURES
9912 if test -z "$defaultval"; then
9913 if test x"$enablestring" = xdisable; then
9914 defaultval=yes
9915 else
9916 defaultval=no
9917 fi
9918 fi
9919
9920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9921 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9922 # Check whether --enable-comboctrl was given.
9923 if test "${enable_comboctrl+set}" = set; then
9924 enableval=$enable_comboctrl;
9925 if test "$enableval" = yes; then
9926 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9927 else
9928 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9929 fi
9930
9931 else
9932
9933 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9934
9935 fi
9936
9937
9938 eval "$wx_cv_use_comboctrl"
9939
9940 if test x"$enablestring" = xdisable; then
9941 if test $wxUSE_COMBOCTRL = yes; then
9942 result=no
9943 else
9944 result=yes
9945 fi
9946 else
9947 result=$wxUSE_COMBOCTRL
9948 fi
9949
9950 { echo "$as_me:$LINENO: result: $result" >&5
9951 echo "${ECHO_T}$result" >&6; }
9952
9953
9954 enablestring=
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9958 defaultval=yes
9959 else
9960 defaultval=no
9961 fi
9962 fi
9963
9964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9966 # Check whether --enable-datepick was given.
9967 if test "${enable_datepick+set}" = set; then
9968 enableval=$enable_datepick;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9971 else
9972 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9973 fi
9974
9975 else
9976
9977 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9978
9979 fi
9980
9981
9982 eval "$wx_cv_use_datepick"
9983
9984 if test x"$enablestring" = xdisable; then
9985 if test $wxUSE_DATEPICKCTRL = yes; then
9986 result=no
9987 else
9988 result=yes
9989 fi
9990 else
9991 result=$wxUSE_DATEPICKCTRL
9992 fi
9993
9994 { echo "$as_me:$LINENO: result: $result" >&5
9995 echo "${ECHO_T}$result" >&6; }
9996
9997
9998 enablestring=
9999 defaultval=$wxUSE_ALL_FEATURES
10000 if test -z "$defaultval"; then
10001 if test x"$enablestring" = xdisable; then
10002 defaultval=yes
10003 else
10004 defaultval=no
10005 fi
10006 fi
10007
10008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10010 # Check whether --enable-dirpicker was given.
10011 if test "${enable_dirpicker+set}" = set; then
10012 enableval=$enable_dirpicker;
10013 if test "$enableval" = yes; then
10014 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10015 else
10016 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10017 fi
10018
10019 else
10020
10021 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10022
10023 fi
10024
10025
10026 eval "$wx_cv_use_dirpicker"
10027
10028 if test x"$enablestring" = xdisable; then
10029 if test $wxUSE_DIRPICKERCTRL = yes; then
10030 result=no
10031 else
10032 result=yes
10033 fi
10034 else
10035 result=$wxUSE_DIRPICKERCTRL
10036 fi
10037
10038 { echo "$as_me:$LINENO: result: $result" >&5
10039 echo "${ECHO_T}$result" >&6; }
10040
10041
10042 enablestring=
10043 defaultval=$wxUSE_ALL_FEATURES
10044 if test -z "$defaultval"; then
10045 if test x"$enablestring" = xdisable; then
10046 defaultval=yes
10047 else
10048 defaultval=no
10049 fi
10050 fi
10051
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10054 # Check whether --enable-display was given.
10055 if test "${enable_display+set}" = set; then
10056 enableval=$enable_display;
10057 if test "$enableval" = yes; then
10058 wx_cv_use_display='wxUSE_DISPLAY=yes'
10059 else
10060 wx_cv_use_display='wxUSE_DISPLAY=no'
10061 fi
10062
10063 else
10064
10065 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10066
10067 fi
10068
10069
10070 eval "$wx_cv_use_display"
10071
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_DISPLAY = yes; then
10074 result=no
10075 else
10076 result=yes
10077 fi
10078 else
10079 result=$wxUSE_DISPLAY
10080 fi
10081
10082 { echo "$as_me:$LINENO: result: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10084
10085
10086 enablestring=
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10090 defaultval=yes
10091 else
10092 defaultval=no
10093 fi
10094 fi
10095
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10098 # Check whether --enable-detect_sm was given.
10099 if test "${enable_detect_sm+set}" = set; then
10100 enableval=$enable_detect_sm;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10103 else
10104 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10105 fi
10106
10107 else
10108
10109 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10110
10111 fi
10112
10113
10114 eval "$wx_cv_use_detect_sm"
10115
10116 if test x"$enablestring" = xdisable; then
10117 if test $wxUSE_DETECT_SM = yes; then
10118 result=no
10119 else
10120 result=yes
10121 fi
10122 else
10123 result=$wxUSE_DETECT_SM
10124 fi
10125
10126 { echo "$as_me:$LINENO: result: $result" >&5
10127 echo "${ECHO_T}$result" >&6; }
10128
10129
10130 enablestring=
10131 defaultval=$wxUSE_ALL_FEATURES
10132 if test -z "$defaultval"; then
10133 if test x"$enablestring" = xdisable; then
10134 defaultval=yes
10135 else
10136 defaultval=no
10137 fi
10138 fi
10139
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10142 # Check whether --enable-editablebox was given.
10143 if test "${enable_editablebox+set}" = set; then
10144 enableval=$enable_editablebox;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10147 else
10148 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10149 fi
10150
10151 else
10152
10153 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10154
10155 fi
10156
10157
10158 eval "$wx_cv_use_editablebox"
10159
10160 if test x"$enablestring" = xdisable; then
10161 if test $wxUSE_EDITABLELISTBOX = yes; then
10162 result=no
10163 else
10164 result=yes
10165 fi
10166 else
10167 result=$wxUSE_EDITABLELISTBOX
10168 fi
10169
10170 { echo "$as_me:$LINENO: result: $result" >&5
10171 echo "${ECHO_T}$result" >&6; }
10172
10173
10174 enablestring=
10175 defaultval=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x"$enablestring" = xdisable; then
10178 defaultval=yes
10179 else
10180 defaultval=no
10181 fi
10182 fi
10183
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10186 # Check whether --enable-filepicker was given.
10187 if test "${enable_filepicker+set}" = set; then
10188 enableval=$enable_filepicker;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10191 else
10192 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10193 fi
10194
10195 else
10196
10197 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10198
10199 fi
10200
10201
10202 eval "$wx_cv_use_filepicker"
10203
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_FILEPICKERCTRL = yes; then
10206 result=no
10207 else
10208 result=yes
10209 fi
10210 else
10211 result=$wxUSE_FILEPICKERCTRL
10212 fi
10213
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10216
10217
10218 enablestring=
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10222 defaultval=yes
10223 else
10224 defaultval=no
10225 fi
10226 fi
10227
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10230 # Check whether --enable-filectrl was given.
10231 if test "${enable_filectrl+set}" = set; then
10232 enableval=$enable_filectrl;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10235 else
10236 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10237 fi
10238
10239 else
10240
10241 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10242
10243 fi
10244
10245
10246 eval "$wx_cv_use_filectrl"
10247
10248 if test x"$enablestring" = xdisable; then
10249 if test $wxUSE_FILECTRL = yes; then
10250 result=no
10251 else
10252 result=yes
10253 fi
10254 else
10255 result=$wxUSE_FILECTRL
10256 fi
10257
10258 { echo "$as_me:$LINENO: result: $result" >&5
10259 echo "${ECHO_T}$result" >&6; }
10260
10261
10262 enablestring=
10263 defaultval=$wxUSE_ALL_FEATURES
10264 if test -z "$defaultval"; then
10265 if test x"$enablestring" = xdisable; then
10266 defaultval=yes
10267 else
10268 defaultval=no
10269 fi
10270 fi
10271
10272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10274 # Check whether --enable-fontpicker was given.
10275 if test "${enable_fontpicker+set}" = set; then
10276 enableval=$enable_fontpicker;
10277 if test "$enableval" = yes; then
10278 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10279 else
10280 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10281 fi
10282
10283 else
10284
10285 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10286
10287 fi
10288
10289
10290 eval "$wx_cv_use_fontpicker"
10291
10292 if test x"$enablestring" = xdisable; then
10293 if test $wxUSE_FONTPICKERCTRL = yes; then
10294 result=no
10295 else
10296 result=yes
10297 fi
10298 else
10299 result=$wxUSE_FONTPICKERCTRL
10300 fi
10301
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10304
10305
10306 enablestring=
10307 defaultval=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x"$enablestring" = xdisable; then
10310 defaultval=yes
10311 else
10312 defaultval=no
10313 fi
10314 fi
10315
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10318 # Check whether --enable-gauge was given.
10319 if test "${enable_gauge+set}" = set; then
10320 enableval=$enable_gauge;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10323 else
10324 wx_cv_use_gauge='wxUSE_GAUGE=no'
10325 fi
10326
10327 else
10328
10329 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10330
10331 fi
10332
10333
10334 eval "$wx_cv_use_gauge"
10335
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_GAUGE = yes; then
10338 result=no
10339 else
10340 result=yes
10341 fi
10342 else
10343 result=$wxUSE_GAUGE
10344 fi
10345
10346 { echo "$as_me:$LINENO: result: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10348
10349
10350 enablestring=
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10354 defaultval=yes
10355 else
10356 defaultval=no
10357 fi
10358 fi
10359
10360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10361 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10362 # Check whether --enable-grid was given.
10363 if test "${enable_grid+set}" = set; then
10364 enableval=$enable_grid;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_grid='wxUSE_GRID=yes'
10367 else
10368 wx_cv_use_grid='wxUSE_GRID=no'
10369 fi
10370
10371 else
10372
10373 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10374
10375 fi
10376
10377
10378 eval "$wx_cv_use_grid"
10379
10380 if test x"$enablestring" = xdisable; then
10381 if test $wxUSE_GRID = yes; then
10382 result=no
10383 else
10384 result=yes
10385 fi
10386 else
10387 result=$wxUSE_GRID
10388 fi
10389
10390 { echo "$as_me:$LINENO: result: $result" >&5
10391 echo "${ECHO_T}$result" >&6; }
10392
10393
10394 enablestring=
10395 defaultval=$wxUSE_ALL_FEATURES
10396 if test -z "$defaultval"; then
10397 if test x"$enablestring" = xdisable; then
10398 defaultval=yes
10399 else
10400 defaultval=no
10401 fi
10402 fi
10403
10404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10405 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10406 # Check whether --enable-dataviewctrl was given.
10407 if test "${enable_dataviewctrl+set}" = set; then
10408 enableval=$enable_dataviewctrl;
10409 if test "$enableval" = yes; then
10410 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10411 else
10412 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10413 fi
10414
10415 else
10416
10417 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10418
10419 fi
10420
10421
10422 eval "$wx_cv_use_dataviewctrl"
10423
10424 if test x"$enablestring" = xdisable; then
10425 if test $wxUSE_DATAVIEWCTRL = yes; then
10426 result=no
10427 else
10428 result=yes
10429 fi
10430 else
10431 result=$wxUSE_DATAVIEWCTRL
10432 fi
10433
10434 { echo "$as_me:$LINENO: result: $result" >&5
10435 echo "${ECHO_T}$result" >&6; }
10436
10437
10438 enablestring=
10439 defaultval=$wxUSE_ALL_FEATURES
10440 if test -z "$defaultval"; then
10441 if test x"$enablestring" = xdisable; then
10442 defaultval=yes
10443 else
10444 defaultval=no
10445 fi
10446 fi
10447
10448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10450 # Check whether --enable-hyperlink was given.
10451 if test "${enable_hyperlink+set}" = set; then
10452 enableval=$enable_hyperlink;
10453 if test "$enableval" = yes; then
10454 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10455 else
10456 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10457 fi
10458
10459 else
10460
10461 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10462
10463 fi
10464
10465
10466 eval "$wx_cv_use_hyperlink"
10467
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_HYPERLINKCTRL = yes; then
10470 result=no
10471 else
10472 result=yes
10473 fi
10474 else
10475 result=$wxUSE_HYPERLINKCTRL
10476 fi
10477
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10480
10481
10482 enablestring=
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10486 defaultval=yes
10487 else
10488 defaultval=no
10489 fi
10490 fi
10491
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10494 # Check whether --enable-imaglist was given.
10495 if test "${enable_imaglist+set}" = set; then
10496 enableval=$enable_imaglist;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10499 else
10500 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10501 fi
10502
10503 else
10504
10505 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10506
10507 fi
10508
10509
10510 eval "$wx_cv_use_imaglist"
10511
10512 if test x"$enablestring" = xdisable; then
10513 if test $wxUSE_IMAGLIST = yes; then
10514 result=no
10515 else
10516 result=yes
10517 fi
10518 else
10519 result=$wxUSE_IMAGLIST
10520 fi
10521
10522 { echo "$as_me:$LINENO: result: $result" >&5
10523 echo "${ECHO_T}$result" >&6; }
10524
10525
10526 enablestring=
10527 defaultval=$wxUSE_ALL_FEATURES
10528 if test -z "$defaultval"; then
10529 if test x"$enablestring" = xdisable; then
10530 defaultval=yes
10531 else
10532 defaultval=no
10533 fi
10534 fi
10535
10536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10538 # Check whether --enable-listbook was given.
10539 if test "${enable_listbook+set}" = set; then
10540 enableval=$enable_listbook;
10541 if test "$enableval" = yes; then
10542 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10543 else
10544 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10545 fi
10546
10547 else
10548
10549 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10550
10551 fi
10552
10553
10554 eval "$wx_cv_use_listbook"
10555
10556 if test x"$enablestring" = xdisable; then
10557 if test $wxUSE_LISTBOOK = yes; then
10558 result=no
10559 else
10560 result=yes
10561 fi
10562 else
10563 result=$wxUSE_LISTBOOK
10564 fi
10565
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10568
10569
10570 enablestring=
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10574 defaultval=yes
10575 else
10576 defaultval=no
10577 fi
10578 fi
10579
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10582 # Check whether --enable-listbox was given.
10583 if test "${enable_listbox+set}" = set; then
10584 enableval=$enable_listbox;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10587 else
10588 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10589 fi
10590
10591 else
10592
10593 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10594
10595 fi
10596
10597
10598 eval "$wx_cv_use_listbox"
10599
10600 if test x"$enablestring" = xdisable; then
10601 if test $wxUSE_LISTBOX = yes; then
10602 result=no
10603 else
10604 result=yes
10605 fi
10606 else
10607 result=$wxUSE_LISTBOX
10608 fi
10609
10610 { echo "$as_me:$LINENO: result: $result" >&5
10611 echo "${ECHO_T}$result" >&6; }
10612
10613
10614 enablestring=
10615 defaultval=$wxUSE_ALL_FEATURES
10616 if test -z "$defaultval"; then
10617 if test x"$enablestring" = xdisable; then
10618 defaultval=yes
10619 else
10620 defaultval=no
10621 fi
10622 fi
10623
10624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10626 # Check whether --enable-listctrl was given.
10627 if test "${enable_listctrl+set}" = set; then
10628 enableval=$enable_listctrl;
10629 if test "$enableval" = yes; then
10630 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10631 else
10632 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10633 fi
10634
10635 else
10636
10637 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10638
10639 fi
10640
10641
10642 eval "$wx_cv_use_listctrl"
10643
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_LISTCTRL = yes; then
10646 result=no
10647 else
10648 result=yes
10649 fi
10650 else
10651 result=$wxUSE_LISTCTRL
10652 fi
10653
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10656
10657
10658 enablestring=
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10662 defaultval=yes
10663 else
10664 defaultval=no
10665 fi
10666 fi
10667
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10670 # Check whether --enable-notebook was given.
10671 if test "${enable_notebook+set}" = set; then
10672 enableval=$enable_notebook;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10675 else
10676 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10677 fi
10678
10679 else
10680
10681 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10682
10683 fi
10684
10685
10686 eval "$wx_cv_use_notebook"
10687
10688 if test x"$enablestring" = xdisable; then
10689 if test $wxUSE_NOTEBOOK = yes; then
10690 result=no
10691 else
10692 result=yes
10693 fi
10694 else
10695 result=$wxUSE_NOTEBOOK
10696 fi
10697
10698 { echo "$as_me:$LINENO: result: $result" >&5
10699 echo "${ECHO_T}$result" >&6; }
10700
10701
10702 enablestring=
10703 defaultval=$wxUSE_ALL_FEATURES
10704 if test -z "$defaultval"; then
10705 if test x"$enablestring" = xdisable; then
10706 defaultval=yes
10707 else
10708 defaultval=no
10709 fi
10710 fi
10711
10712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10714 # Check whether --enable-notifmsg was given.
10715 if test "${enable_notifmsg+set}" = set; then
10716 enableval=$enable_notifmsg;
10717 if test "$enableval" = yes; then
10718 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10719 else
10720 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10721 fi
10722
10723 else
10724
10725 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10726
10727 fi
10728
10729
10730 eval "$wx_cv_use_notifmsg"
10731
10732 if test x"$enablestring" = xdisable; then
10733 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10734 result=no
10735 else
10736 result=yes
10737 fi
10738 else
10739 result=$wxUSE_NOTIFICATION_MESSAGE
10740 fi
10741
10742 { echo "$as_me:$LINENO: result: $result" >&5
10743 echo "${ECHO_T}$result" >&6; }
10744
10745
10746 enablestring=
10747 defaultval=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x"$enablestring" = xdisable; then
10750 defaultval=yes
10751 else
10752 defaultval=no
10753 fi
10754 fi
10755
10756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10758 # Check whether --enable-odcombobox was given.
10759 if test "${enable_odcombobox+set}" = set; then
10760 enableval=$enable_odcombobox;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10763 else
10764 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10765 fi
10766
10767 else
10768
10769 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10770
10771 fi
10772
10773
10774 eval "$wx_cv_use_odcombobox"
10775
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_ODCOMBOBOX = yes; then
10778 result=no
10779 else
10780 result=yes
10781 fi
10782 else
10783 result=$wxUSE_ODCOMBOBOX
10784 fi
10785
10786 { echo "$as_me:$LINENO: result: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10788
10789
10790 enablestring=
10791 defaultval=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x"$enablestring" = xdisable; then
10794 defaultval=yes
10795 else
10796 defaultval=no
10797 fi
10798 fi
10799
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10802 # Check whether --enable-radiobox was given.
10803 if test "${enable_radiobox+set}" = set; then
10804 enableval=$enable_radiobox;
10805 if test "$enableval" = yes; then
10806 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10807 else
10808 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10809 fi
10810
10811 else
10812
10813 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10814
10815 fi
10816
10817
10818 eval "$wx_cv_use_radiobox"
10819
10820 if test x"$enablestring" = xdisable; then
10821 if test $wxUSE_RADIOBOX = yes; then
10822 result=no
10823 else
10824 result=yes
10825 fi
10826 else
10827 result=$wxUSE_RADIOBOX
10828 fi
10829
10830 { echo "$as_me:$LINENO: result: $result" >&5
10831 echo "${ECHO_T}$result" >&6; }
10832
10833
10834 enablestring=
10835 defaultval=$wxUSE_ALL_FEATURES
10836 if test -z "$defaultval"; then
10837 if test x"$enablestring" = xdisable; then
10838 defaultval=yes
10839 else
10840 defaultval=no
10841 fi
10842 fi
10843
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10846 # Check whether --enable-radiobtn was given.
10847 if test "${enable_radiobtn+set}" = set; then
10848 enableval=$enable_radiobtn;
10849 if test "$enableval" = yes; then
10850 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10851 else
10852 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10853 fi
10854
10855 else
10856
10857 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10858
10859 fi
10860
10861
10862 eval "$wx_cv_use_radiobtn"
10863
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_RADIOBTN = yes; then
10866 result=no
10867 else
10868 result=yes
10869 fi
10870 else
10871 result=$wxUSE_RADIOBTN
10872 fi
10873
10874 { echo "$as_me:$LINENO: result: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10876
10877
10878 enablestring=
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10882 defaultval=yes
10883 else
10884 defaultval=no
10885 fi
10886 fi
10887
10888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10890 # Check whether --enable-sash was given.
10891 if test "${enable_sash+set}" = set; then
10892 enableval=$enable_sash;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_sash='wxUSE_SASH=yes'
10895 else
10896 wx_cv_use_sash='wxUSE_SASH=no'
10897 fi
10898
10899 else
10900
10901 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10902
10903 fi
10904
10905
10906 eval "$wx_cv_use_sash"
10907
10908 if test x"$enablestring" = xdisable; then
10909 if test $wxUSE_SASH = yes; then
10910 result=no
10911 else
10912 result=yes
10913 fi
10914 else
10915 result=$wxUSE_SASH
10916 fi
10917
10918 { echo "$as_me:$LINENO: result: $result" >&5
10919 echo "${ECHO_T}$result" >&6; }
10920
10921
10922 enablestring=
10923 defaultval=$wxUSE_ALL_FEATURES
10924 if test -z "$defaultval"; then
10925 if test x"$enablestring" = xdisable; then
10926 defaultval=yes
10927 else
10928 defaultval=no
10929 fi
10930 fi
10931
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10934 # Check whether --enable-scrollbar was given.
10935 if test "${enable_scrollbar+set}" = set; then
10936 enableval=$enable_scrollbar;
10937 if test "$enableval" = yes; then
10938 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10939 else
10940 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10941 fi
10942
10943 else
10944
10945 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10946
10947 fi
10948
10949
10950 eval "$wx_cv_use_scrollbar"
10951
10952 if test x"$enablestring" = xdisable; then
10953 if test $wxUSE_SCROLLBAR = yes; then
10954 result=no
10955 else
10956 result=yes
10957 fi
10958 else
10959 result=$wxUSE_SCROLLBAR
10960 fi
10961
10962 { echo "$as_me:$LINENO: result: $result" >&5
10963 echo "${ECHO_T}$result" >&6; }
10964
10965
10966 enablestring=
10967 defaultval=$wxUSE_ALL_FEATURES
10968 if test -z "$defaultval"; then
10969 if test x"$enablestring" = xdisable; then
10970 defaultval=yes
10971 else
10972 defaultval=no
10973 fi
10974 fi
10975
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10978 # Check whether --enable-searchctrl was given.
10979 if test "${enable_searchctrl+set}" = set; then
10980 enableval=$enable_searchctrl;
10981 if test "$enableval" = yes; then
10982 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10983 else
10984 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10985 fi
10986
10987 else
10988
10989 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10990
10991 fi
10992
10993
10994 eval "$wx_cv_use_searchctrl"
10995
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_SEARCHCTRL = yes; then
10998 result=no
10999 else
11000 result=yes
11001 fi
11002 else
11003 result=$wxUSE_SEARCHCTRL
11004 fi
11005
11006 { echo "$as_me:$LINENO: result: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11008
11009
11010 enablestring=
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11014 defaultval=yes
11015 else
11016 defaultval=no
11017 fi
11018 fi
11019
11020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11022 # Check whether --enable-slider was given.
11023 if test "${enable_slider+set}" = set; then
11024 enableval=$enable_slider;
11025 if test "$enableval" = yes; then
11026 wx_cv_use_slider='wxUSE_SLIDER=yes'
11027 else
11028 wx_cv_use_slider='wxUSE_SLIDER=no'
11029 fi
11030
11031 else
11032
11033 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11034
11035 fi
11036
11037
11038 eval "$wx_cv_use_slider"
11039
11040 if test x"$enablestring" = xdisable; then
11041 if test $wxUSE_SLIDER = yes; then
11042 result=no
11043 else
11044 result=yes
11045 fi
11046 else
11047 result=$wxUSE_SLIDER
11048 fi
11049
11050 { echo "$as_me:$LINENO: result: $result" >&5
11051 echo "${ECHO_T}$result" >&6; }
11052
11053
11054 enablestring=
11055 defaultval=$wxUSE_ALL_FEATURES
11056 if test -z "$defaultval"; then
11057 if test x"$enablestring" = xdisable; then
11058 defaultval=yes
11059 else
11060 defaultval=no
11061 fi
11062 fi
11063
11064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11065 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11066 # Check whether --enable-spinbtn was given.
11067 if test "${enable_spinbtn+set}" = set; then
11068 enableval=$enable_spinbtn;
11069 if test "$enableval" = yes; then
11070 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11071 else
11072 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11073 fi
11074
11075 else
11076
11077 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11078
11079 fi
11080
11081
11082 eval "$wx_cv_use_spinbtn"
11083
11084 if test x"$enablestring" = xdisable; then
11085 if test $wxUSE_SPINBTN = yes; then
11086 result=no
11087 else
11088 result=yes
11089 fi
11090 else
11091 result=$wxUSE_SPINBTN
11092 fi
11093
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11096
11097
11098 enablestring=
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11102 defaultval=yes
11103 else
11104 defaultval=no
11105 fi
11106 fi
11107
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11110 # Check whether --enable-spinctrl was given.
11111 if test "${enable_spinctrl+set}" = set; then
11112 enableval=$enable_spinctrl;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11115 else
11116 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11117 fi
11118
11119 else
11120
11121 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11122
11123 fi
11124
11125
11126 eval "$wx_cv_use_spinctrl"
11127
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_SPINCTRL = yes; then
11130 result=no
11131 else
11132 result=yes
11133 fi
11134 else
11135 result=$wxUSE_SPINCTRL
11136 fi
11137
11138 { echo "$as_me:$LINENO: result: $result" >&5
11139 echo "${ECHO_T}$result" >&6; }
11140
11141
11142 enablestring=
11143 defaultval=$wxUSE_ALL_FEATURES
11144 if test -z "$defaultval"; then
11145 if test x"$enablestring" = xdisable; then
11146 defaultval=yes
11147 else
11148 defaultval=no
11149 fi
11150 fi
11151
11152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11153 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11154 # Check whether --enable-splitter was given.
11155 if test "${enable_splitter+set}" = set; then
11156 enableval=$enable_splitter;
11157 if test "$enableval" = yes; then
11158 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11159 else
11160 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11161 fi
11162
11163 else
11164
11165 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11166
11167 fi
11168
11169
11170 eval "$wx_cv_use_splitter"
11171
11172 if test x"$enablestring" = xdisable; then
11173 if test $wxUSE_SPLITTER = yes; then
11174 result=no
11175 else
11176 result=yes
11177 fi
11178 else
11179 result=$wxUSE_SPLITTER
11180 fi
11181
11182 { echo "$as_me:$LINENO: result: $result" >&5
11183 echo "${ECHO_T}$result" >&6; }
11184
11185
11186 enablestring=
11187 defaultval=$wxUSE_ALL_FEATURES
11188 if test -z "$defaultval"; then
11189 if test x"$enablestring" = xdisable; then
11190 defaultval=yes
11191 else
11192 defaultval=no
11193 fi
11194 fi
11195
11196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11197 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11198 # Check whether --enable-statbmp was given.
11199 if test "${enable_statbmp+set}" = set; then
11200 enableval=$enable_statbmp;
11201 if test "$enableval" = yes; then
11202 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11203 else
11204 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11205 fi
11206
11207 else
11208
11209 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11210
11211 fi
11212
11213
11214 eval "$wx_cv_use_statbmp"
11215
11216 if test x"$enablestring" = xdisable; then
11217 if test $wxUSE_STATBMP = yes; then
11218 result=no
11219 else
11220 result=yes
11221 fi
11222 else
11223 result=$wxUSE_STATBMP
11224 fi
11225
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11228
11229
11230 enablestring=
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11234 defaultval=yes
11235 else
11236 defaultval=no
11237 fi
11238 fi
11239
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11242 # Check whether --enable-statbox was given.
11243 if test "${enable_statbox+set}" = set; then
11244 enableval=$enable_statbox;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11247 else
11248 wx_cv_use_statbox='wxUSE_STATBOX=no'
11249 fi
11250
11251 else
11252
11253 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11254
11255 fi
11256
11257
11258 eval "$wx_cv_use_statbox"
11259
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_STATBOX = yes; then
11262 result=no
11263 else
11264 result=yes
11265 fi
11266 else
11267 result=$wxUSE_STATBOX
11268 fi
11269
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11272
11273
11274 enablestring=
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11278 defaultval=yes
11279 else
11280 defaultval=no
11281 fi
11282 fi
11283
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11286 # Check whether --enable-statline was given.
11287 if test "${enable_statline+set}" = set; then
11288 enableval=$enable_statline;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_statline='wxUSE_STATLINE=yes'
11291 else
11292 wx_cv_use_statline='wxUSE_STATLINE=no'
11293 fi
11294
11295 else
11296
11297 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11298
11299 fi
11300
11301
11302 eval "$wx_cv_use_statline"
11303
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_STATLINE = yes; then
11306 result=no
11307 else
11308 result=yes
11309 fi
11310 else
11311 result=$wxUSE_STATLINE
11312 fi
11313
11314 { echo "$as_me:$LINENO: result: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11316
11317
11318 enablestring=
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11322 defaultval=yes
11323 else
11324 defaultval=no
11325 fi
11326 fi
11327
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11330 # Check whether --enable-stattext was given.
11331 if test "${enable_stattext+set}" = set; then
11332 enableval=$enable_stattext;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11335 else
11336 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11337 fi
11338
11339 else
11340
11341 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11342
11343 fi
11344
11345
11346 eval "$wx_cv_use_stattext"
11347
11348 if test x"$enablestring" = xdisable; then
11349 if test $wxUSE_STATTEXT = yes; then
11350 result=no
11351 else
11352 result=yes
11353 fi
11354 else
11355 result=$wxUSE_STATTEXT
11356 fi
11357
11358 { echo "$as_me:$LINENO: result: $result" >&5
11359 echo "${ECHO_T}$result" >&6; }
11360
11361
11362 enablestring=
11363 defaultval=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x"$enablestring" = xdisable; then
11366 defaultval=yes
11367 else
11368 defaultval=no
11369 fi
11370 fi
11371
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11374 # Check whether --enable-statusbar was given.
11375 if test "${enable_statusbar+set}" = set; then
11376 enableval=$enable_statusbar;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11379 else
11380 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11381 fi
11382
11383 else
11384
11385 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11386
11387 fi
11388
11389
11390 eval "$wx_cv_use_statusbar"
11391
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_STATUSBAR = yes; then
11394 result=no
11395 else
11396 result=yes
11397 fi
11398 else
11399 result=$wxUSE_STATUSBAR
11400 fi
11401
11402 { echo "$as_me:$LINENO: result: $result" >&5
11403 echo "${ECHO_T}$result" >&6; }
11404
11405
11406 enablestring=
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11410 defaultval=yes
11411 else
11412 defaultval=no
11413 fi
11414 fi
11415
11416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11417 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11418 # Check whether --enable-tabdialog was given.
11419 if test "${enable_tabdialog+set}" = set; then
11420 enableval=$enable_tabdialog;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11423 else
11424 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11425 fi
11426
11427 else
11428
11429 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11430
11431 fi
11432
11433
11434 eval "$wx_cv_use_tabdialog"
11435
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_TAB_DIALOG = yes; then
11438 result=no
11439 else
11440 result=yes
11441 fi
11442 else
11443 result=$wxUSE_TAB_DIALOG
11444 fi
11445
11446 { echo "$as_me:$LINENO: result: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11448
11449
11450 enablestring=
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11454 defaultval=yes
11455 else
11456 defaultval=no
11457 fi
11458 fi
11459
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11462 # Check whether --enable-taskbaricon was given.
11463 if test "${enable_taskbaricon+set}" = set; then
11464 enableval=$enable_taskbaricon;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11467 else
11468 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11469 fi
11470
11471 else
11472
11473 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11474
11475 fi
11476
11477
11478 eval "$wx_cv_use_taskbaricon"
11479
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_TASKBARICON = yes; then
11482 result=no
11483 else
11484 result=yes
11485 fi
11486 else
11487 result=$wxUSE_TASKBARICON
11488 fi
11489
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11492
11493
11494 enablestring=
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11498 defaultval=yes
11499 else
11500 defaultval=no
11501 fi
11502 fi
11503
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11506 # Check whether --enable-textctrl was given.
11507 if test "${enable_textctrl+set}" = set; then
11508 enableval=$enable_textctrl;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11511 else
11512 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11513 fi
11514
11515 else
11516
11517 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11518
11519 fi
11520
11521
11522 eval "$wx_cv_use_textctrl"
11523
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_TEXTCTRL = yes; then
11526 result=no
11527 else
11528 result=yes
11529 fi
11530 else
11531 result=$wxUSE_TEXTCTRL
11532 fi
11533
11534 { echo "$as_me:$LINENO: result: $result" >&5
11535 echo "${ECHO_T}$result" >&6; }
11536
11537
11538 enablestring=
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11542 defaultval=yes
11543 else
11544 defaultval=no
11545 fi
11546 fi
11547
11548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11549 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11550 # Check whether --enable-togglebtn was given.
11551 if test "${enable_togglebtn+set}" = set; then
11552 enableval=$enable_togglebtn;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11555 else
11556 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11557 fi
11558
11559 else
11560
11561 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11562
11563 fi
11564
11565
11566 eval "$wx_cv_use_togglebtn"
11567
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_TOGGLEBTN = yes; then
11570 result=no
11571 else
11572 result=yes
11573 fi
11574 else
11575 result=$wxUSE_TOGGLEBTN
11576 fi
11577
11578 { echo "$as_me:$LINENO: result: $result" >&5
11579 echo "${ECHO_T}$result" >&6; }
11580
11581
11582 enablestring=
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11586 defaultval=yes
11587 else
11588 defaultval=no
11589 fi
11590 fi
11591
11592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11593 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11594 # Check whether --enable-toolbar was given.
11595 if test "${enable_toolbar+set}" = set; then
11596 enableval=$enable_toolbar;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11599 else
11600 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11601 fi
11602
11603 else
11604
11605 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11606
11607 fi
11608
11609
11610 eval "$wx_cv_use_toolbar"
11611
11612 if test x"$enablestring" = xdisable; then
11613 if test $wxUSE_TOOLBAR = yes; then
11614 result=no
11615 else
11616 result=yes
11617 fi
11618 else
11619 result=$wxUSE_TOOLBAR
11620 fi
11621
11622 { echo "$as_me:$LINENO: result: $result" >&5
11623 echo "${ECHO_T}$result" >&6; }
11624
11625
11626 enablestring=
11627 defaultval=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x"$enablestring" = xdisable; then
11630 defaultval=yes
11631 else
11632 defaultval=no
11633 fi
11634 fi
11635
11636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11637 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11638 # Check whether --enable-tbarnative was given.
11639 if test "${enable_tbarnative+set}" = set; then
11640 enableval=$enable_tbarnative;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11643 else
11644 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11645 fi
11646
11647 else
11648
11649 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11650
11651 fi
11652
11653
11654 eval "$wx_cv_use_tbarnative"
11655
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11658 result=no
11659 else
11660 result=yes
11661 fi
11662 else
11663 result=$wxUSE_TOOLBAR_NATIVE
11664 fi
11665
11666 { echo "$as_me:$LINENO: result: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11668
11669
11670 enablestring=
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11674 defaultval=yes
11675 else
11676 defaultval=no
11677 fi
11678 fi
11679
11680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11681 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11682 # Check whether --enable-treebook was given.
11683 if test "${enable_treebook+set}" = set; then
11684 enableval=$enable_treebook;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11687 else
11688 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11689 fi
11690
11691 else
11692
11693 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11694
11695 fi
11696
11697
11698 eval "$wx_cv_use_treebook"
11699
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_TREEBOOK = yes; then
11702 result=no
11703 else
11704 result=yes
11705 fi
11706 else
11707 result=$wxUSE_TREEBOOK
11708 fi
11709
11710 { echo "$as_me:$LINENO: result: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11712
11713
11714 enablestring=
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11718 defaultval=yes
11719 else
11720 defaultval=no
11721 fi
11722 fi
11723
11724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11725 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11726 # Check whether --enable-toolbook was given.
11727 if test "${enable_toolbook+set}" = set; then
11728 enableval=$enable_toolbook;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11731 else
11732 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11733 fi
11734
11735 else
11736
11737 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11738
11739 fi
11740
11741
11742 eval "$wx_cv_use_toolbook"
11743
11744 if test x"$enablestring" = xdisable; then
11745 if test $wxUSE_TOOLBOOK = yes; then
11746 result=no
11747 else
11748 result=yes
11749 fi
11750 else
11751 result=$wxUSE_TOOLBOOK
11752 fi
11753
11754 { echo "$as_me:$LINENO: result: $result" >&5
11755 echo "${ECHO_T}$result" >&6; }
11756
11757
11758 enablestring=
11759 defaultval=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x"$enablestring" = xdisable; then
11762 defaultval=yes
11763 else
11764 defaultval=no
11765 fi
11766 fi
11767
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11770 # Check whether --enable-treectrl was given.
11771 if test "${enable_treectrl+set}" = set; then
11772 enableval=$enable_treectrl;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11775 else
11776 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11777 fi
11778
11779 else
11780
11781 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11782
11783 fi
11784
11785
11786 eval "$wx_cv_use_treectrl"
11787
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_TREECTRL = yes; then
11790 result=no
11791 else
11792 result=yes
11793 fi
11794 else
11795 result=$wxUSE_TREECTRL
11796 fi
11797
11798 { echo "$as_me:$LINENO: result: $result" >&5
11799 echo "${ECHO_T}$result" >&6; }
11800
11801
11802 enablestring=
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11806 defaultval=yes
11807 else
11808 defaultval=no
11809 fi
11810 fi
11811
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11814 # Check whether --enable-tipwindow was given.
11815 if test "${enable_tipwindow+set}" = set; then
11816 enableval=$enable_tipwindow;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11819 else
11820 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11821 fi
11822
11823 else
11824
11825 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11826
11827 fi
11828
11829
11830 eval "$wx_cv_use_tipwindow"
11831
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_TIPWINDOW = yes; then
11834 result=no
11835 else
11836 result=yes
11837 fi
11838 else
11839 result=$wxUSE_TIPWINDOW
11840 fi
11841
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11844
11845
11846 enablestring=
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11850 defaultval=yes
11851 else
11852 defaultval=no
11853 fi
11854 fi
11855
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11858 # Check whether --enable-popupwin was given.
11859 if test "${enable_popupwin+set}" = set; then
11860 enableval=$enable_popupwin;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11863 else
11864 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11865 fi
11866
11867 else
11868
11869 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11870
11871 fi
11872
11873
11874 eval "$wx_cv_use_popupwin"
11875
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_POPUPWIN = yes; then
11878 result=no
11879 else
11880 result=yes
11881 fi
11882 else
11883 result=$wxUSE_POPUPWIN
11884 fi
11885
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11888
11889
11890
11891
11892 enablestring=
11893 defaultval=$wxUSE_ALL_FEATURES
11894 if test -z "$defaultval"; then
11895 if test x"$enablestring" = xdisable; then
11896 defaultval=yes
11897 else
11898 defaultval=no
11899 fi
11900 fi
11901
11902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11904 # Check whether --enable-commondlg was given.
11905 if test "${enable_commondlg+set}" = set; then
11906 enableval=$enable_commondlg;
11907 if test "$enableval" = yes; then
11908 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11909 else
11910 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11911 fi
11912
11913 else
11914
11915 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11916
11917 fi
11918
11919
11920 eval "$wx_cv_use_commondlg"
11921
11922 if test x"$enablestring" = xdisable; then
11923 if test $wxUSE_COMMONDLGS = yes; then
11924 result=no
11925 else
11926 result=yes
11927 fi
11928 else
11929 result=$wxUSE_COMMONDLGS
11930 fi
11931
11932 { echo "$as_me:$LINENO: result: $result" >&5
11933 echo "${ECHO_T}$result" >&6; }
11934
11935
11936 enablestring=
11937 defaultval=$wxUSE_ALL_FEATURES
11938 if test -z "$defaultval"; then
11939 if test x"$enablestring" = xdisable; then
11940 defaultval=yes
11941 else
11942 defaultval=no
11943 fi
11944 fi
11945
11946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11947 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11948 # Check whether --enable-aboutdlg was given.
11949 if test "${enable_aboutdlg+set}" = set; then
11950 enableval=$enable_aboutdlg;
11951 if test "$enableval" = yes; then
11952 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11953 else
11954 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11955 fi
11956
11957 else
11958
11959 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11960
11961 fi
11962
11963
11964 eval "$wx_cv_use_aboutdlg"
11965
11966 if test x"$enablestring" = xdisable; then
11967 if test $wxUSE_ABOUTDLG = yes; then
11968 result=no
11969 else
11970 result=yes
11971 fi
11972 else
11973 result=$wxUSE_ABOUTDLG
11974 fi
11975
11976 { echo "$as_me:$LINENO: result: $result" >&5
11977 echo "${ECHO_T}$result" >&6; }
11978
11979
11980 enablestring=
11981 defaultval=$wxUSE_ALL_FEATURES
11982 if test -z "$defaultval"; then
11983 if test x"$enablestring" = xdisable; then
11984 defaultval=yes
11985 else
11986 defaultval=no
11987 fi
11988 fi
11989
11990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11991 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11992 # Check whether --enable-choicedlg was given.
11993 if test "${enable_choicedlg+set}" = set; then
11994 enableval=$enable_choicedlg;
11995 if test "$enableval" = yes; then
11996 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11997 else
11998 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11999 fi
12000
12001 else
12002
12003 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12004
12005 fi
12006
12007
12008 eval "$wx_cv_use_choicedlg"
12009
12010 if test x"$enablestring" = xdisable; then
12011 if test $wxUSE_CHOICEDLG = yes; then
12012 result=no
12013 else
12014 result=yes
12015 fi
12016 else
12017 result=$wxUSE_CHOICEDLG
12018 fi
12019
12020 { echo "$as_me:$LINENO: result: $result" >&5
12021 echo "${ECHO_T}$result" >&6; }
12022
12023
12024 enablestring=
12025 defaultval=$wxUSE_ALL_FEATURES
12026 if test -z "$defaultval"; then
12027 if test x"$enablestring" = xdisable; then
12028 defaultval=yes
12029 else
12030 defaultval=no
12031 fi
12032 fi
12033
12034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12036 # Check whether --enable-coldlg was given.
12037 if test "${enable_coldlg+set}" = set; then
12038 enableval=$enable_coldlg;
12039 if test "$enableval" = yes; then
12040 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12041 else
12042 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12043 fi
12044
12045 else
12046
12047 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12048
12049 fi
12050
12051
12052 eval "$wx_cv_use_coldlg"
12053
12054 if test x"$enablestring" = xdisable; then
12055 if test $wxUSE_COLOURDLG = yes; then
12056 result=no
12057 else
12058 result=yes
12059 fi
12060 else
12061 result=$wxUSE_COLOURDLG
12062 fi
12063
12064 { echo "$as_me:$LINENO: result: $result" >&5
12065 echo "${ECHO_T}$result" >&6; }
12066
12067
12068 enablestring=
12069 defaultval=$wxUSE_ALL_FEATURES
12070 if test -z "$defaultval"; then
12071 if test x"$enablestring" = xdisable; then
12072 defaultval=yes
12073 else
12074 defaultval=no
12075 fi
12076 fi
12077
12078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12079 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12080 # Check whether --enable-filedlg was given.
12081 if test "${enable_filedlg+set}" = set; then
12082 enableval=$enable_filedlg;
12083 if test "$enableval" = yes; then
12084 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12085 else
12086 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12087 fi
12088
12089 else
12090
12091 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12092
12093 fi
12094
12095
12096 eval "$wx_cv_use_filedlg"
12097
12098 if test x"$enablestring" = xdisable; then
12099 if test $wxUSE_FILEDLG = yes; then
12100 result=no
12101 else
12102 result=yes
12103 fi
12104 else
12105 result=$wxUSE_FILEDLG
12106 fi
12107
12108 { echo "$as_me:$LINENO: result: $result" >&5
12109 echo "${ECHO_T}$result" >&6; }
12110
12111
12112 enablestring=
12113 defaultval=$wxUSE_ALL_FEATURES
12114 if test -z "$defaultval"; then
12115 if test x"$enablestring" = xdisable; then
12116 defaultval=yes
12117 else
12118 defaultval=no
12119 fi
12120 fi
12121
12122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12123 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12124 # Check whether --enable-finddlg was given.
12125 if test "${enable_finddlg+set}" = set; then
12126 enableval=$enable_finddlg;
12127 if test "$enableval" = yes; then
12128 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12129 else
12130 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12131 fi
12132
12133 else
12134
12135 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12136
12137 fi
12138
12139
12140 eval "$wx_cv_use_finddlg"
12141
12142 if test x"$enablestring" = xdisable; then
12143 if test $wxUSE_FINDREPLDLG = yes; then
12144 result=no
12145 else
12146 result=yes
12147 fi
12148 else
12149 result=$wxUSE_FINDREPLDLG
12150 fi
12151
12152 { echo "$as_me:$LINENO: result: $result" >&5
12153 echo "${ECHO_T}$result" >&6; }
12154
12155
12156 enablestring=
12157 defaultval=$wxUSE_ALL_FEATURES
12158 if test -z "$defaultval"; then
12159 if test x"$enablestring" = xdisable; then
12160 defaultval=yes
12161 else
12162 defaultval=no
12163 fi
12164 fi
12165
12166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12167 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12168 # Check whether --enable-fontdlg was given.
12169 if test "${enable_fontdlg+set}" = set; then
12170 enableval=$enable_fontdlg;
12171 if test "$enableval" = yes; then
12172 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12173 else
12174 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12175 fi
12176
12177 else
12178
12179 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12180
12181 fi
12182
12183
12184 eval "$wx_cv_use_fontdlg"
12185
12186 if test x"$enablestring" = xdisable; then
12187 if test $wxUSE_FONTDLG = yes; then
12188 result=no
12189 else
12190 result=yes
12191 fi
12192 else
12193 result=$wxUSE_FONTDLG
12194 fi
12195
12196 { echo "$as_me:$LINENO: result: $result" >&5
12197 echo "${ECHO_T}$result" >&6; }
12198
12199
12200 enablestring=
12201 defaultval=$wxUSE_ALL_FEATURES
12202 if test -z "$defaultval"; then
12203 if test x"$enablestring" = xdisable; then
12204 defaultval=yes
12205 else
12206 defaultval=no
12207 fi
12208 fi
12209
12210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12211 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12212 # Check whether --enable-dirdlg was given.
12213 if test "${enable_dirdlg+set}" = set; then
12214 enableval=$enable_dirdlg;
12215 if test "$enableval" = yes; then
12216 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12217 else
12218 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12219 fi
12220
12221 else
12222
12223 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12224
12225 fi
12226
12227
12228 eval "$wx_cv_use_dirdlg"
12229
12230 if test x"$enablestring" = xdisable; then
12231 if test $wxUSE_DIRDLG = yes; then
12232 result=no
12233 else
12234 result=yes
12235 fi
12236 else
12237 result=$wxUSE_DIRDLG
12238 fi
12239
12240 { echo "$as_me:$LINENO: result: $result" >&5
12241 echo "${ECHO_T}$result" >&6; }
12242
12243
12244 enablestring=
12245 defaultval=$wxUSE_ALL_FEATURES
12246 if test -z "$defaultval"; then
12247 if test x"$enablestring" = xdisable; then
12248 defaultval=yes
12249 else
12250 defaultval=no
12251 fi
12252 fi
12253
12254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12255 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12256 # Check whether --enable-msgdlg was given.
12257 if test "${enable_msgdlg+set}" = set; then
12258 enableval=$enable_msgdlg;
12259 if test "$enableval" = yes; then
12260 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12261 else
12262 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12263 fi
12264
12265 else
12266
12267 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12268
12269 fi
12270
12271
12272 eval "$wx_cv_use_msgdlg"
12273
12274 if test x"$enablestring" = xdisable; then
12275 if test $wxUSE_MSGDLG = yes; then
12276 result=no
12277 else
12278 result=yes
12279 fi
12280 else
12281 result=$wxUSE_MSGDLG
12282 fi
12283
12284 { echo "$as_me:$LINENO: result: $result" >&5
12285 echo "${ECHO_T}$result" >&6; }
12286
12287
12288 enablestring=
12289 defaultval=$wxUSE_ALL_FEATURES
12290 if test -z "$defaultval"; then
12291 if test x"$enablestring" = xdisable; then
12292 defaultval=yes
12293 else
12294 defaultval=no
12295 fi
12296 fi
12297
12298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12299 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12300 # Check whether --enable-numberdlg was given.
12301 if test "${enable_numberdlg+set}" = set; then
12302 enableval=$enable_numberdlg;
12303 if test "$enableval" = yes; then
12304 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12305 else
12306 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12307 fi
12308
12309 else
12310
12311 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12312
12313 fi
12314
12315
12316 eval "$wx_cv_use_numberdlg"
12317
12318 if test x"$enablestring" = xdisable; then
12319 if test $wxUSE_NUMBERDLG = yes; then
12320 result=no
12321 else
12322 result=yes
12323 fi
12324 else
12325 result=$wxUSE_NUMBERDLG
12326 fi
12327
12328 { echo "$as_me:$LINENO: result: $result" >&5
12329 echo "${ECHO_T}$result" >&6; }
12330
12331
12332 enablestring=
12333 defaultval=$wxUSE_ALL_FEATURES
12334 if test -z "$defaultval"; then
12335 if test x"$enablestring" = xdisable; then
12336 defaultval=yes
12337 else
12338 defaultval=no
12339 fi
12340 fi
12341
12342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12343 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12344 # Check whether --enable-splash was given.
12345 if test "${enable_splash+set}" = set; then
12346 enableval=$enable_splash;
12347 if test "$enableval" = yes; then
12348 wx_cv_use_splash='wxUSE_SPLASH=yes'
12349 else
12350 wx_cv_use_splash='wxUSE_SPLASH=no'
12351 fi
12352
12353 else
12354
12355 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12356
12357 fi
12358
12359
12360 eval "$wx_cv_use_splash"
12361
12362 if test x"$enablestring" = xdisable; then
12363 if test $wxUSE_SPLASH = yes; then
12364 result=no
12365 else
12366 result=yes
12367 fi
12368 else
12369 result=$wxUSE_SPLASH
12370 fi
12371
12372 { echo "$as_me:$LINENO: result: $result" >&5
12373 echo "${ECHO_T}$result" >&6; }
12374
12375
12376 enablestring=
12377 defaultval=$wxUSE_ALL_FEATURES
12378 if test -z "$defaultval"; then
12379 if test x"$enablestring" = xdisable; then
12380 defaultval=yes
12381 else
12382 defaultval=no
12383 fi
12384 fi
12385
12386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12387 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12388 # Check whether --enable-textdlg was given.
12389 if test "${enable_textdlg+set}" = set; then
12390 enableval=$enable_textdlg;
12391 if test "$enableval" = yes; then
12392 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12393 else
12394 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12395 fi
12396
12397 else
12398
12399 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12400
12401 fi
12402
12403
12404 eval "$wx_cv_use_textdlg"
12405
12406 if test x"$enablestring" = xdisable; then
12407 if test $wxUSE_TEXTDLG = yes; then
12408 result=no
12409 else
12410 result=yes
12411 fi
12412 else
12413 result=$wxUSE_TEXTDLG
12414 fi
12415
12416 { echo "$as_me:$LINENO: result: $result" >&5
12417 echo "${ECHO_T}$result" >&6; }
12418
12419
12420 enablestring=
12421 defaultval=$wxUSE_ALL_FEATURES
12422 if test -z "$defaultval"; then
12423 if test x"$enablestring" = xdisable; then
12424 defaultval=yes
12425 else
12426 defaultval=no
12427 fi
12428 fi
12429
12430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12431 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12432 # Check whether --enable-tipdlg was given.
12433 if test "${enable_tipdlg+set}" = set; then
12434 enableval=$enable_tipdlg;
12435 if test "$enableval" = yes; then
12436 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12437 else
12438 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12439 fi
12440
12441 else
12442
12443 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12444
12445 fi
12446
12447
12448 eval "$wx_cv_use_tipdlg"
12449
12450 if test x"$enablestring" = xdisable; then
12451 if test $wxUSE_STARTUP_TIPS = yes; then
12452 result=no
12453 else
12454 result=yes
12455 fi
12456 else
12457 result=$wxUSE_STARTUP_TIPS
12458 fi
12459
12460 { echo "$as_me:$LINENO: result: $result" >&5
12461 echo "${ECHO_T}$result" >&6; }
12462
12463
12464 enablestring=
12465 defaultval=$wxUSE_ALL_FEATURES
12466 if test -z "$defaultval"; then
12467 if test x"$enablestring" = xdisable; then
12468 defaultval=yes
12469 else
12470 defaultval=no
12471 fi
12472 fi
12473
12474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12475 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12476 # Check whether --enable-progressdlg was given.
12477 if test "${enable_progressdlg+set}" = set; then
12478 enableval=$enable_progressdlg;
12479 if test "$enableval" = yes; then
12480 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12481 else
12482 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12483 fi
12484
12485 else
12486
12487 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12488
12489 fi
12490
12491
12492 eval "$wx_cv_use_progressdlg"
12493
12494 if test x"$enablestring" = xdisable; then
12495 if test $wxUSE_PROGRESSDLG = yes; then
12496 result=no
12497 else
12498 result=yes
12499 fi
12500 else
12501 result=$wxUSE_PROGRESSDLG
12502 fi
12503
12504 { echo "$as_me:$LINENO: result: $result" >&5
12505 echo "${ECHO_T}$result" >&6; }
12506
12507
12508 enablestring=
12509 defaultval=$wxUSE_ALL_FEATURES
12510 if test -z "$defaultval"; then
12511 if test x"$enablestring" = xdisable; then
12512 defaultval=yes
12513 else
12514 defaultval=no
12515 fi
12516 fi
12517
12518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12519 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12520 # Check whether --enable-wizarddlg was given.
12521 if test "${enable_wizarddlg+set}" = set; then
12522 enableval=$enable_wizarddlg;
12523 if test "$enableval" = yes; then
12524 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12525 else
12526 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12527 fi
12528
12529 else
12530
12531 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12532
12533 fi
12534
12535
12536 eval "$wx_cv_use_wizarddlg"
12537
12538 if test x"$enablestring" = xdisable; then
12539 if test $wxUSE_WIZARDDLG = yes; then
12540 result=no
12541 else
12542 result=yes
12543 fi
12544 else
12545 result=$wxUSE_WIZARDDLG
12546 fi
12547
12548 { echo "$as_me:$LINENO: result: $result" >&5
12549 echo "${ECHO_T}$result" >&6; }
12550
12551
12552
12553
12554 enablestring=
12555 defaultval=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x"$enablestring" = xdisable; then
12558 defaultval=yes
12559 else
12560 defaultval=no
12561 fi
12562 fi
12563
12564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12565 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12566 # Check whether --enable-menus was given.
12567 if test "${enable_menus+set}" = set; then
12568 enableval=$enable_menus;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_menus='wxUSE_MENUS=yes'
12571 else
12572 wx_cv_use_menus='wxUSE_MENUS=no'
12573 fi
12574
12575 else
12576
12577 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12578
12579 fi
12580
12581
12582 eval "$wx_cv_use_menus"
12583
12584 if test x"$enablestring" = xdisable; then
12585 if test $wxUSE_MENUS = yes; then
12586 result=no
12587 else
12588 result=yes
12589 fi
12590 else
12591 result=$wxUSE_MENUS
12592 fi
12593
12594 { echo "$as_me:$LINENO: result: $result" >&5
12595 echo "${ECHO_T}$result" >&6; }
12596
12597
12598 enablestring=
12599 defaultval=$wxUSE_ALL_FEATURES
12600 if test -z "$defaultval"; then
12601 if test x"$enablestring" = xdisable; then
12602 defaultval=yes
12603 else
12604 defaultval=no
12605 fi
12606 fi
12607
12608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12609 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12610 # Check whether --enable-miniframe was given.
12611 if test "${enable_miniframe+set}" = set; then
12612 enableval=$enable_miniframe;
12613 if test "$enableval" = yes; then
12614 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12615 else
12616 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12617 fi
12618
12619 else
12620
12621 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12622
12623 fi
12624
12625
12626 eval "$wx_cv_use_miniframe"
12627
12628 if test x"$enablestring" = xdisable; then
12629 if test $wxUSE_MINIFRAME = yes; then
12630 result=no
12631 else
12632 result=yes
12633 fi
12634 else
12635 result=$wxUSE_MINIFRAME
12636 fi
12637
12638 { echo "$as_me:$LINENO: result: $result" >&5
12639 echo "${ECHO_T}$result" >&6; }
12640
12641
12642 enablestring=
12643 defaultval=$wxUSE_ALL_FEATURES
12644 if test -z "$defaultval"; then
12645 if test x"$enablestring" = xdisable; then
12646 defaultval=yes
12647 else
12648 defaultval=no
12649 fi
12650 fi
12651
12652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12653 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12654 # Check whether --enable-tooltips was given.
12655 if test "${enable_tooltips+set}" = set; then
12656 enableval=$enable_tooltips;
12657 if test "$enableval" = yes; then
12658 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12659 else
12660 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12661 fi
12662
12663 else
12664
12665 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12666
12667 fi
12668
12669
12670 eval "$wx_cv_use_tooltips"
12671
12672 if test x"$enablestring" = xdisable; then
12673 if test $wxUSE_TOOLTIPS = yes; then
12674 result=no
12675 else
12676 result=yes
12677 fi
12678 else
12679 result=$wxUSE_TOOLTIPS
12680 fi
12681
12682 { echo "$as_me:$LINENO: result: $result" >&5
12683 echo "${ECHO_T}$result" >&6; }
12684
12685
12686 enablestring=
12687 defaultval=$wxUSE_ALL_FEATURES
12688 if test -z "$defaultval"; then
12689 if test x"$enablestring" = xdisable; then
12690 defaultval=yes
12691 else
12692 defaultval=no
12693 fi
12694 fi
12695
12696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12697 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12698 # Check whether --enable-splines was given.
12699 if test "${enable_splines+set}" = set; then
12700 enableval=$enable_splines;
12701 if test "$enableval" = yes; then
12702 wx_cv_use_splines='wxUSE_SPLINES=yes'
12703 else
12704 wx_cv_use_splines='wxUSE_SPLINES=no'
12705 fi
12706
12707 else
12708
12709 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12710
12711 fi
12712
12713
12714 eval "$wx_cv_use_splines"
12715
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_SPLINES = yes; then
12718 result=no
12719 else
12720 result=yes
12721 fi
12722 else
12723 result=$wxUSE_SPLINES
12724 fi
12725
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12728
12729
12730 enablestring=
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12734 defaultval=yes
12735 else
12736 defaultval=no
12737 fi
12738 fi
12739
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12742 # Check whether --enable-mousewheel was given.
12743 if test "${enable_mousewheel+set}" = set; then
12744 enableval=$enable_mousewheel;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12747 else
12748 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12749 fi
12750
12751 else
12752
12753 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12754
12755 fi
12756
12757
12758 eval "$wx_cv_use_mousewheel"
12759
12760 if test x"$enablestring" = xdisable; then
12761 if test $wxUSE_MOUSEWHEEL = yes; then
12762 result=no
12763 else
12764 result=yes
12765 fi
12766 else
12767 result=$wxUSE_MOUSEWHEEL
12768 fi
12769
12770 { echo "$as_me:$LINENO: result: $result" >&5
12771 echo "${ECHO_T}$result" >&6; }
12772
12773
12774 enablestring=
12775 defaultval=$wxUSE_ALL_FEATURES
12776 if test -z "$defaultval"; then
12777 if test x"$enablestring" = xdisable; then
12778 defaultval=yes
12779 else
12780 defaultval=no
12781 fi
12782 fi
12783
12784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12785 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12786 # Check whether --enable-validators was given.
12787 if test "${enable_validators+set}" = set; then
12788 enableval=$enable_validators;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12791 else
12792 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12793 fi
12794
12795 else
12796
12797 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12798
12799 fi
12800
12801
12802 eval "$wx_cv_use_validators"
12803
12804 if test x"$enablestring" = xdisable; then
12805 if test $wxUSE_VALIDATORS = yes; then
12806 result=no
12807 else
12808 result=yes
12809 fi
12810 else
12811 result=$wxUSE_VALIDATORS
12812 fi
12813
12814 { echo "$as_me:$LINENO: result: $result" >&5
12815 echo "${ECHO_T}$result" >&6; }
12816
12817
12818 enablestring=
12819 defaultval=$wxUSE_ALL_FEATURES
12820 if test -z "$defaultval"; then
12821 if test x"$enablestring" = xdisable; then
12822 defaultval=yes
12823 else
12824 defaultval=no
12825 fi
12826 fi
12827
12828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12829 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12830 # Check whether --enable-busyinfo was given.
12831 if test "${enable_busyinfo+set}" = set; then
12832 enableval=$enable_busyinfo;
12833 if test "$enableval" = yes; then
12834 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12835 else
12836 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12837 fi
12838
12839 else
12840
12841 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12842
12843 fi
12844
12845
12846 eval "$wx_cv_use_busyinfo"
12847
12848 if test x"$enablestring" = xdisable; then
12849 if test $wxUSE_BUSYINFO = yes; then
12850 result=no
12851 else
12852 result=yes
12853 fi
12854 else
12855 result=$wxUSE_BUSYINFO
12856 fi
12857
12858 { echo "$as_me:$LINENO: result: $result" >&5
12859 echo "${ECHO_T}$result" >&6; }
12860
12861
12862 enablestring=
12863 defaultval=$wxUSE_ALL_FEATURES
12864 if test -z "$defaultval"; then
12865 if test x"$enablestring" = xdisable; then
12866 defaultval=yes
12867 else
12868 defaultval=no
12869 fi
12870 fi
12871
12872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12873 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12874 # Check whether --enable-joystick was given.
12875 if test "${enable_joystick+set}" = set; then
12876 enableval=$enable_joystick;
12877 if test "$enableval" = yes; then
12878 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12879 else
12880 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12881 fi
12882
12883 else
12884
12885 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12886
12887 fi
12888
12889
12890 eval "$wx_cv_use_joystick"
12891
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_JOYSTICK = yes; then
12894 result=no
12895 else
12896 result=yes
12897 fi
12898 else
12899 result=$wxUSE_JOYSTICK
12900 fi
12901
12902 { echo "$as_me:$LINENO: result: $result" >&5
12903 echo "${ECHO_T}$result" >&6; }
12904
12905
12906 enablestring=
12907 defaultval=$wxUSE_ALL_FEATURES
12908 if test -z "$defaultval"; then
12909 if test x"$enablestring" = xdisable; then
12910 defaultval=yes
12911 else
12912 defaultval=no
12913 fi
12914 fi
12915
12916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12917 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12918 # Check whether --enable-metafile was given.
12919 if test "${enable_metafile+set}" = set; then
12920 enableval=$enable_metafile;
12921 if test "$enableval" = yes; then
12922 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12923 else
12924 wx_cv_use_metafile='wxUSE_METAFILE=no'
12925 fi
12926
12927 else
12928
12929 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12930
12931 fi
12932
12933
12934 eval "$wx_cv_use_metafile"
12935
12936 if test x"$enablestring" = xdisable; then
12937 if test $wxUSE_METAFILE = yes; then
12938 result=no
12939 else
12940 result=yes
12941 fi
12942 else
12943 result=$wxUSE_METAFILE
12944 fi
12945
12946 { echo "$as_me:$LINENO: result: $result" >&5
12947 echo "${ECHO_T}$result" >&6; }
12948
12949
12950 enablestring=
12951 defaultval=$wxUSE_ALL_FEATURES
12952 if test -z "$defaultval"; then
12953 if test x"$enablestring" = xdisable; then
12954 defaultval=yes
12955 else
12956 defaultval=no
12957 fi
12958 fi
12959
12960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12961 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12962 # Check whether --enable-dragimage was given.
12963 if test "${enable_dragimage+set}" = set; then
12964 enableval=$enable_dragimage;
12965 if test "$enableval" = yes; then
12966 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12967 else
12968 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12969 fi
12970
12971 else
12972
12973 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12974
12975 fi
12976
12977
12978 eval "$wx_cv_use_dragimage"
12979
12980 if test x"$enablestring" = xdisable; then
12981 if test $wxUSE_DRAGIMAGE = yes; then
12982 result=no
12983 else
12984 result=yes
12985 fi
12986 else
12987 result=$wxUSE_DRAGIMAGE
12988 fi
12989
12990 { echo "$as_me:$LINENO: result: $result" >&5
12991 echo "${ECHO_T}$result" >&6; }
12992
12993
12994 enablestring=
12995 defaultval=$wxUSE_ALL_FEATURES
12996 if test -z "$defaultval"; then
12997 if test x"$enablestring" = xdisable; then
12998 defaultval=yes
12999 else
13000 defaultval=no
13001 fi
13002 fi
13003
13004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13005 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13006 # Check whether --enable-accessibility was given.
13007 if test "${enable_accessibility+set}" = set; then
13008 enableval=$enable_accessibility;
13009 if test "$enableval" = yes; then
13010 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13011 else
13012 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13013 fi
13014
13015 else
13016
13017 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13018
13019 fi
13020
13021
13022 eval "$wx_cv_use_accessibility"
13023
13024 if test x"$enablestring" = xdisable; then
13025 if test $wxUSE_ACCESSIBILITY = yes; then
13026 result=no
13027 else
13028 result=yes
13029 fi
13030 else
13031 result=$wxUSE_ACCESSIBILITY
13032 fi
13033
13034 { echo "$as_me:$LINENO: result: $result" >&5
13035 echo "${ECHO_T}$result" >&6; }
13036
13037
13038
13039
13040 enablestring=
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13044 defaultval=yes
13045 else
13046 defaultval=no
13047 fi
13048 fi
13049
13050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13051 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13052 # Check whether --enable-palette was given.
13053 if test "${enable_palette+set}" = set; then
13054 enableval=$enable_palette;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_palette='wxUSE_PALETTE=yes'
13057 else
13058 wx_cv_use_palette='wxUSE_PALETTE=no'
13059 fi
13060
13061 else
13062
13063 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13064
13065 fi
13066
13067
13068 eval "$wx_cv_use_palette"
13069
13070 if test x"$enablestring" = xdisable; then
13071 if test $wxUSE_PALETTE = yes; then
13072 result=no
13073 else
13074 result=yes
13075 fi
13076 else
13077 result=$wxUSE_PALETTE
13078 fi
13079
13080 { echo "$as_me:$LINENO: result: $result" >&5
13081 echo "${ECHO_T}$result" >&6; }
13082
13083
13084 enablestring=
13085 defaultval=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x"$enablestring" = xdisable; then
13088 defaultval=yes
13089 else
13090 defaultval=no
13091 fi
13092 fi
13093
13094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13096 # Check whether --enable-image was given.
13097 if test "${enable_image+set}" = set; then
13098 enableval=$enable_image;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_image='wxUSE_IMAGE=yes'
13101 else
13102 wx_cv_use_image='wxUSE_IMAGE=no'
13103 fi
13104
13105 else
13106
13107 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13108
13109 fi
13110
13111
13112 eval "$wx_cv_use_image"
13113
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_IMAGE = yes; then
13116 result=no
13117 else
13118 result=yes
13119 fi
13120 else
13121 result=$wxUSE_IMAGE
13122 fi
13123
13124 { echo "$as_me:$LINENO: result: $result" >&5
13125 echo "${ECHO_T}$result" >&6; }
13126
13127
13128 enablestring=
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13132 defaultval=yes
13133 else
13134 defaultval=no
13135 fi
13136 fi
13137
13138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13139 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13140 # Check whether --enable-gif was given.
13141 if test "${enable_gif+set}" = set; then
13142 enableval=$enable_gif;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_gif='wxUSE_GIF=yes'
13145 else
13146 wx_cv_use_gif='wxUSE_GIF=no'
13147 fi
13148
13149 else
13150
13151 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13152
13153 fi
13154
13155
13156 eval "$wx_cv_use_gif"
13157
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_GIF = yes; then
13160 result=no
13161 else
13162 result=yes
13163 fi
13164 else
13165 result=$wxUSE_GIF
13166 fi
13167
13168 { echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6; }
13170
13171
13172 enablestring=
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13176 defaultval=yes
13177 else
13178 defaultval=no
13179 fi
13180 fi
13181
13182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13184 # Check whether --enable-pcx was given.
13185 if test "${enable_pcx+set}" = set; then
13186 enableval=$enable_pcx;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_pcx='wxUSE_PCX=yes'
13189 else
13190 wx_cv_use_pcx='wxUSE_PCX=no'
13191 fi
13192
13193 else
13194
13195 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13196
13197 fi
13198
13199
13200 eval "$wx_cv_use_pcx"
13201
13202 if test x"$enablestring" = xdisable; then
13203 if test $wxUSE_PCX = yes; then
13204 result=no
13205 else
13206 result=yes
13207 fi
13208 else
13209 result=$wxUSE_PCX
13210 fi
13211
13212 { echo "$as_me:$LINENO: result: $result" >&5
13213 echo "${ECHO_T}$result" >&6; }
13214
13215
13216 enablestring=
13217 defaultval=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x"$enablestring" = xdisable; then
13220 defaultval=yes
13221 else
13222 defaultval=no
13223 fi
13224 fi
13225
13226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13227 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13228 # Check whether --enable-tga was given.
13229 if test "${enable_tga+set}" = set; then
13230 enableval=$enable_tga;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_tga='wxUSE_TGA=yes'
13233 else
13234 wx_cv_use_tga='wxUSE_TGA=no'
13235 fi
13236
13237 else
13238
13239 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13240
13241 fi
13242
13243
13244 eval "$wx_cv_use_tga"
13245
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_TGA = yes; then
13248 result=no
13249 else
13250 result=yes
13251 fi
13252 else
13253 result=$wxUSE_TGA
13254 fi
13255
13256 { echo "$as_me:$LINENO: result: $result" >&5
13257 echo "${ECHO_T}$result" >&6; }
13258
13259
13260 enablestring=
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13264 defaultval=yes
13265 else
13266 defaultval=no
13267 fi
13268 fi
13269
13270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13271 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13272 # Check whether --enable-iff was given.
13273 if test "${enable_iff+set}" = set; then
13274 enableval=$enable_iff;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_iff='wxUSE_IFF=yes'
13277 else
13278 wx_cv_use_iff='wxUSE_IFF=no'
13279 fi
13280
13281 else
13282
13283 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13284
13285 fi
13286
13287
13288 eval "$wx_cv_use_iff"
13289
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_IFF = yes; then
13292 result=no
13293 else
13294 result=yes
13295 fi
13296 else
13297 result=$wxUSE_IFF
13298 fi
13299
13300 { echo "$as_me:$LINENO: result: $result" >&5
13301 echo "${ECHO_T}$result" >&6; }
13302
13303
13304 enablestring=
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13308 defaultval=yes
13309 else
13310 defaultval=no
13311 fi
13312 fi
13313
13314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13315 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13316 # Check whether --enable-pnm was given.
13317 if test "${enable_pnm+set}" = set; then
13318 enableval=$enable_pnm;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_pnm='wxUSE_PNM=yes'
13321 else
13322 wx_cv_use_pnm='wxUSE_PNM=no'
13323 fi
13324
13325 else
13326
13327 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13328
13329 fi
13330
13331
13332 eval "$wx_cv_use_pnm"
13333
13334 if test x"$enablestring" = xdisable; then
13335 if test $wxUSE_PNM = yes; then
13336 result=no
13337 else
13338 result=yes
13339 fi
13340 else
13341 result=$wxUSE_PNM
13342 fi
13343
13344 { echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6; }
13346
13347
13348 enablestring=
13349 defaultval=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x"$enablestring" = xdisable; then
13352 defaultval=yes
13353 else
13354 defaultval=no
13355 fi
13356 fi
13357
13358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13360 # Check whether --enable-xpm was given.
13361 if test "${enable_xpm+set}" = set; then
13362 enableval=$enable_xpm;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_xpm='wxUSE_XPM=yes'
13365 else
13366 wx_cv_use_xpm='wxUSE_XPM=no'
13367 fi
13368
13369 else
13370
13371 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13372
13373 fi
13374
13375
13376 eval "$wx_cv_use_xpm"
13377
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_XPM = yes; then
13380 result=no
13381 else
13382 result=yes
13383 fi
13384 else
13385 result=$wxUSE_XPM
13386 fi
13387
13388 { echo "$as_me:$LINENO: result: $result" >&5
13389 echo "${ECHO_T}$result" >&6; }
13390
13391
13392 enablestring=
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13396 defaultval=yes
13397 else
13398 defaultval=no
13399 fi
13400 fi
13401
13402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13403 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13404 # Check whether --enable-ico_cur was given.
13405 if test "${enable_ico_cur+set}" = set; then
13406 enableval=$enable_ico_cur;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13409 else
13410 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13411 fi
13412
13413 else
13414
13415 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13416
13417 fi
13418
13419
13420 eval "$wx_cv_use_ico_cur"
13421
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_ICO_CUR = yes; then
13424 result=no
13425 else
13426 result=yes
13427 fi
13428 else
13429 result=$wxUSE_ICO_CUR
13430 fi
13431
13432 { echo "$as_me:$LINENO: result: $result" >&5
13433 echo "${ECHO_T}$result" >&6; }
13434
13435
13436
13437
13438 enablestring=
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13442 defaultval=yes
13443 else
13444 defaultval=no
13445 fi
13446 fi
13447
13448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13449 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13450 # Check whether --enable-dccache was given.
13451 if test "${enable_dccache+set}" = set; then
13452 enableval=$enable_dccache;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13455 else
13456 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13457 fi
13458
13459 else
13460
13461 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13462
13463 fi
13464
13465
13466 eval "$wx_cv_use_dccache"
13467
13468 if test x"$enablestring" = xdisable; then
13469 if test $wxUSE_DC_CACHEING = yes; then
13470 result=no
13471 else
13472 result=yes
13473 fi
13474 else
13475 result=$wxUSE_DC_CACHEING
13476 fi
13477
13478 { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13480
13481
13482 enablestring=
13483 defaultval=$wxUSE_ALL_FEATURES
13484 if test -z "$defaultval"; then
13485 if test x"$enablestring" = xdisable; then
13486 defaultval=yes
13487 else
13488 defaultval=no
13489 fi
13490 fi
13491
13492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13494 # Check whether --enable-ps-in-msw was given.
13495 if test "${enable_ps_in_msw+set}" = set; then
13496 enableval=$enable_ps_in_msw;
13497 if test "$enableval" = yes; then
13498 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13499 else
13500 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13501 fi
13502
13503 else
13504
13505 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13506
13507 fi
13508
13509
13510 eval "$wx_cv_use_ps_in_msw"
13511
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13514 result=no
13515 else
13516 result=yes
13517 fi
13518 else
13519 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13520 fi
13521
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13524
13525
13526 enablestring=
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13530 defaultval=yes
13531 else
13532 defaultval=no
13533 fi
13534 fi
13535
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13538 # Check whether --enable-ownerdrawn was given.
13539 if test "${enable_ownerdrawn+set}" = set; then
13540 enableval=$enable_ownerdrawn;
13541 if test "$enableval" = yes; then
13542 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13543 else
13544 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13545 fi
13546
13547 else
13548
13549 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13550
13551 fi
13552
13553
13554 eval "$wx_cv_use_ownerdrawn"
13555
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_OWNER_DRAWN = yes; then
13558 result=no
13559 else
13560 result=yes
13561 fi
13562 else
13563 result=$wxUSE_OWNER_DRAWN
13564 fi
13565
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13568
13569
13570 enablestring=
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13574 defaultval=yes
13575 else
13576 defaultval=no
13577 fi
13578 fi
13579
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13582 # Check whether --enable-uxtheme was given.
13583 if test "${enable_uxtheme+set}" = set; then
13584 enableval=$enable_uxtheme;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13587 else
13588 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13589 fi
13590
13591 else
13592
13593 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13594
13595 fi
13596
13597
13598 eval "$wx_cv_use_uxtheme"
13599
13600 if test x"$enablestring" = xdisable; then
13601 if test $wxUSE_UXTHEME = yes; then
13602 result=no
13603 else
13604 result=yes
13605 fi
13606 else
13607 result=$wxUSE_UXTHEME
13608 fi
13609
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13612
13613
13614 enablestring=
13615 defaultval=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x"$enablestring" = xdisable; then
13618 defaultval=yes
13619 else
13620 defaultval=no
13621 fi
13622 fi
13623
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13626 # Check whether --enable-wxdib was given.
13627 if test "${enable_wxdib+set}" = set; then
13628 enableval=$enable_wxdib;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_wxdib='wxUSE_DIB=yes'
13631 else
13632 wx_cv_use_wxdib='wxUSE_DIB=no'
13633 fi
13634
13635 else
13636
13637 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13638
13639 fi
13640
13641
13642 eval "$wx_cv_use_wxdib"
13643
13644 if test x"$enablestring" = xdisable; then
13645 if test $wxUSE_DIB = yes; then
13646 result=no
13647 else
13648 result=yes
13649 fi
13650 else
13651 result=$wxUSE_DIB
13652 fi
13653
13654 { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13656
13657
13658 fi
13659
13660
13661 { echo "$as_me:$LINENO: checking for toolkit" >&5
13662 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13663
13664 # In Wine, we need to default to MSW, not GTK or MOTIF
13665 if test "$wxUSE_WINE" = "yes"; then
13666 DEFAULT_DEFAULT_wxUSE_GTK=0
13667 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13668 DEFAULT_DEFAULT_wxUSE_MSW=1
13669 wxUSE_SHARED=no
13670 CC=${CC:-winegcc}
13671 CXX=${CXX:-wineg++}
13672 fi
13673
13674
13675 if test "$wxUSE_GUI" = "yes"; then
13676
13677 if test "$USE_BEOS" = 1; then
13678 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13679 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13680 { (exit 1); exit 1; }; }
13681 fi
13682
13683 if test "$TOOLKIT_GIVEN" = 1; then
13684 for toolkit in $ALL_TOOLKITS; do
13685 var=wxUSE_$toolkit
13686 eval "value=\$${var}"
13687 if test "x$value" = "xno"; then
13688 eval "$var=0"
13689 elif test "x$value" != "x"; then
13690 eval "$var=1"
13691 fi
13692
13693 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13694 eval "wx${toolkit}_VERSION=$value"
13695 fi
13696 done
13697 else
13698 for toolkit in $ALL_TOOLKITS; do
13699 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13700 eval "wxUSE_$toolkit=\$${var}"
13701 done
13702 fi
13703
13704 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13705 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13706 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13707
13708 case "${host}" in
13709 *-pc-os2_emx | *-pc-os2-emx )
13710 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13711 esac
13712
13713 case "$NUM_TOOLKITS" in
13714 1)
13715 ;;
13716 0)
13717 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13718 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13719 { (exit 1); exit 1; }; }
13720 ;;
13721 *)
13722 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13723 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13724 { (exit 1); exit 1; }; }
13725 esac
13726
13727 # to be removed when --disable-gtk2 isn't needed
13728 if test "x$wxUSE_GTK2" = "xyes"; then
13729 wxGTK_VERSION=2
13730 elif test "x$wxUSE_GTK2" = "xno"; then
13731 wxGTK_VERSION=1
13732 fi
13733
13734 for toolkit in $ALL_TOOLKITS; do
13735 var=wxUSE_$toolkit
13736 eval "value=\$${var}"
13737 if test "$value" = 1; then
13738 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13739 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13740 echo "${ECHO_T}$toolkit_echo" >&6; }
13741 fi
13742 done
13743 else
13744 if test "x$host_alias" != "x"; then
13745 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13746 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13747 else
13748 { echo "$as_me:$LINENO: result: base only" >&5
13749 echo "${ECHO_T}base only" >&6; }
13750 fi
13751 fi
13752
13753
13754 cat >confcache <<\_ACEOF
13755 # This file is a shell script that caches the results of configure
13756 # tests run on this system so they can be shared between configure
13757 # scripts and configure runs, see configure's option --config-cache.
13758 # It is not useful on other systems. If it contains results you don't
13759 # want to keep, you may remove or edit it.
13760 #
13761 # config.status only pays attention to the cache file if you give it
13762 # the --recheck option to rerun configure.
13763 #
13764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13766 # following values.
13767
13768 _ACEOF
13769
13770 # The following way of writing the cache mishandles newlines in values,
13771 # but we know of no workaround that is simple, portable, and efficient.
13772 # So, we kill variables containing newlines.
13773 # Ultrix sh set writes to stderr and can't be redirected directly,
13774 # and sets the high bit in the cache file unless we assign to the vars.
13775 (
13776 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13777 eval ac_val=\$$ac_var
13778 case $ac_val in #(
13779 *${as_nl}*)
13780 case $ac_var in #(
13781 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13783 esac
13784 case $ac_var in #(
13785 _ | IFS | as_nl) ;; #(
13786 *) $as_unset $ac_var ;;
13787 esac ;;
13788 esac
13789 done
13790
13791 (set) 2>&1 |
13792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13793 *${as_nl}ac_space=\ *)
13794 # `set' does not quote correctly, so add quotes (double-quote
13795 # substitution turns \\\\ into \\, and sed turns \\ into \).
13796 sed -n \
13797 "s/'/'\\\\''/g;
13798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13799 ;; #(
13800 *)
13801 # `set' quotes correctly as required by POSIX, so do not add quotes.
13802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13803 ;;
13804 esac |
13805 sort
13806 ) |
13807 sed '
13808 /^ac_cv_env_/b end
13809 t clear
13810 :clear
13811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13812 t end
13813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13814 :end' >>confcache
13815 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13816 if test -w "$cache_file"; then
13817 test "x$cache_file" != "x/dev/null" &&
13818 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13819 echo "$as_me: updating cache $cache_file" >&6;}
13820 cat confcache >$cache_file
13821 else
13822 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13823 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13824 fi
13825 fi
13826 rm -f confcache
13827
13828 CFLAGS=${CFLAGS:=}
13829
13830
13831
13832 ac_ext=c
13833 ac_cpp='$CPP $CPPFLAGS'
13834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13837 if test -n "$ac_tool_prefix"; then
13838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13839 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13842 if test "${ac_cv_prog_CC+set}" = set; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13844 else
13845 if test -n "$CC"; then
13846 ac_cv_prog_CC="$CC" # Let the user override the test.
13847 else
13848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13849 for as_dir in $PATH
13850 do
13851 IFS=$as_save_IFS
13852 test -z "$as_dir" && as_dir=.
13853 for ac_exec_ext in '' $ac_executable_extensions; do
13854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13855 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13857 break 2
13858 fi
13859 done
13860 done
13861 IFS=$as_save_IFS
13862
13863 fi
13864 fi
13865 CC=$ac_cv_prog_CC
13866 if test -n "$CC"; then
13867 { echo "$as_me:$LINENO: result: $CC" >&5
13868 echo "${ECHO_T}$CC" >&6; }
13869 else
13870 { echo "$as_me:$LINENO: result: no" >&5
13871 echo "${ECHO_T}no" >&6; }
13872 fi
13873
13874
13875 fi
13876 if test -z "$ac_cv_prog_CC"; then
13877 ac_ct_CC=$CC
13878 # Extract the first word of "gcc", so it can be a program name with args.
13879 set dummy gcc; ac_word=$2
13880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 else
13885 if test -n "$ac_ct_CC"; then
13886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13887 else
13888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13889 for as_dir in $PATH
13890 do
13891 IFS=$as_save_IFS
13892 test -z "$as_dir" && as_dir=.
13893 for ac_exec_ext in '' $ac_executable_extensions; do
13894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13895 ac_cv_prog_ac_ct_CC="gcc"
13896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13897 break 2
13898 fi
13899 done
13900 done
13901 IFS=$as_save_IFS
13902
13903 fi
13904 fi
13905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13906 if test -n "$ac_ct_CC"; then
13907 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13908 echo "${ECHO_T}$ac_ct_CC" >&6; }
13909 else
13910 { echo "$as_me:$LINENO: result: no" >&5
13911 echo "${ECHO_T}no" >&6; }
13912 fi
13913
13914 if test "x$ac_ct_CC" = x; then
13915 CC=""
13916 else
13917 case $cross_compiling:$ac_tool_warned in
13918 yes:)
13919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13920 whose name does not start with the host triplet. If you think this
13921 configuration is useful to you, please write to autoconf@gnu.org." >&5
13922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13923 whose name does not start with the host triplet. If you think this
13924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13925 ac_tool_warned=yes ;;
13926 esac
13927 CC=$ac_ct_CC
13928 fi
13929 else
13930 CC="$ac_cv_prog_CC"
13931 fi
13932
13933 if test -z "$CC"; then
13934 if test -n "$ac_tool_prefix"; then
13935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13936 set dummy ${ac_tool_prefix}cc; ac_word=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_prog_CC+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 else
13942 if test -n "$CC"; then
13943 ac_cv_prog_CC="$CC" # Let the user override the test.
13944 else
13945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13946 for as_dir in $PATH
13947 do
13948 IFS=$as_save_IFS
13949 test -z "$as_dir" && as_dir=.
13950 for ac_exec_ext in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_prog_CC="${ac_tool_prefix}cc"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 break 2
13955 fi
13956 done
13957 done
13958 IFS=$as_save_IFS
13959
13960 fi
13961 fi
13962 CC=$ac_cv_prog_CC
13963 if test -n "$CC"; then
13964 { echo "$as_me:$LINENO: result: $CC" >&5
13965 echo "${ECHO_T}$CC" >&6; }
13966 else
13967 { echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6; }
13969 fi
13970
13971
13972 fi
13973 fi
13974 if test -z "$CC"; then
13975 # Extract the first word of "cc", so it can be a program name with args.
13976 set dummy cc; ac_word=$2
13977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13979 if test "${ac_cv_prog_CC+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 if test -n "$CC"; then
13983 ac_cv_prog_CC="$CC" # Let the user override the test.
13984 else
13985 ac_prog_rejected=no
13986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13987 for as_dir in $PATH
13988 do
13989 IFS=$as_save_IFS
13990 test -z "$as_dir" && as_dir=.
13991 for ac_exec_ext in '' $ac_executable_extensions; do
13992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13994 ac_prog_rejected=yes
13995 continue
13996 fi
13997 ac_cv_prog_CC="cc"
13998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 break 2
14000 fi
14001 done
14002 done
14003 IFS=$as_save_IFS
14004
14005 if test $ac_prog_rejected = yes; then
14006 # We found a bogon in the path, so make sure we never use it.
14007 set dummy $ac_cv_prog_CC
14008 shift
14009 if test $# != 0; then
14010 # We chose a different compiler from the bogus one.
14011 # However, it has the same basename, so the bogon will be chosen
14012 # first if we set CC to just the basename; use the full file name.
14013 shift
14014 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14015 fi
14016 fi
14017 fi
14018 fi
14019 CC=$ac_cv_prog_CC
14020 if test -n "$CC"; then
14021 { echo "$as_me:$LINENO: result: $CC" >&5
14022 echo "${ECHO_T}$CC" >&6; }
14023 else
14024 { echo "$as_me:$LINENO: result: no" >&5
14025 echo "${ECHO_T}no" >&6; }
14026 fi
14027
14028
14029 fi
14030 if test -z "$CC"; then
14031 if test -n "$ac_tool_prefix"; then
14032 for ac_prog in cl.exe
14033 do
14034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14038 if test "${ac_cv_prog_CC+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041 if test -n "$CC"; then
14042 ac_cv_prog_CC="$CC" # Let the user override the test.
14043 else
14044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14045 for as_dir in $PATH
14046 do
14047 IFS=$as_save_IFS
14048 test -z "$as_dir" && as_dir=.
14049 for ac_exec_ext in '' $ac_executable_extensions; do
14050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14053 break 2
14054 fi
14055 done
14056 done
14057 IFS=$as_save_IFS
14058
14059 fi
14060 fi
14061 CC=$ac_cv_prog_CC
14062 if test -n "$CC"; then
14063 { echo "$as_me:$LINENO: result: $CC" >&5
14064 echo "${ECHO_T}$CC" >&6; }
14065 else
14066 { echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6; }
14068 fi
14069
14070
14071 test -n "$CC" && break
14072 done
14073 fi
14074 if test -z "$CC"; then
14075 ac_ct_CC=$CC
14076 for ac_prog in cl.exe
14077 do
14078 # Extract the first word of "$ac_prog", so it can be a program name with args.
14079 set dummy $ac_prog; ac_word=$2
14080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 else
14085 if test -n "$ac_ct_CC"; then
14086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14087 else
14088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14089 for as_dir in $PATH
14090 do
14091 IFS=$as_save_IFS
14092 test -z "$as_dir" && as_dir=.
14093 for ac_exec_ext in '' $ac_executable_extensions; do
14094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14095 ac_cv_prog_ac_ct_CC="$ac_prog"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14097 break 2
14098 fi
14099 done
14100 done
14101 IFS=$as_save_IFS
14102
14103 fi
14104 fi
14105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14106 if test -n "$ac_ct_CC"; then
14107 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14108 echo "${ECHO_T}$ac_ct_CC" >&6; }
14109 else
14110 { echo "$as_me:$LINENO: result: no" >&5
14111 echo "${ECHO_T}no" >&6; }
14112 fi
14113
14114
14115 test -n "$ac_ct_CC" && break
14116 done
14117
14118 if test "x$ac_ct_CC" = x; then
14119 CC=""
14120 else
14121 case $cross_compiling:$ac_tool_warned in
14122 yes:)
14123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14124 whose name does not start with the host triplet. If you think this
14125 configuration is useful to you, please write to autoconf@gnu.org." >&5
14126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14127 whose name does not start with the host triplet. If you think this
14128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14129 ac_tool_warned=yes ;;
14130 esac
14131 CC=$ac_ct_CC
14132 fi
14133 fi
14134
14135 fi
14136
14137
14138 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14139 See \`config.log' for more details." >&5
14140 echo "$as_me: error: no acceptable C compiler found in \$PATH
14141 See \`config.log' for more details." >&2;}
14142 { (exit 1); exit 1; }; }
14143
14144 # Provide some information about the compiler.
14145 echo "$as_me:$LINENO: checking for C compiler version" >&5
14146 ac_compiler=`set X $ac_compile; echo $2`
14147 { (ac_try="$ac_compiler --version >&5"
14148 case "(($ac_try" in
14149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14150 *) ac_try_echo=$ac_try;;
14151 esac
14152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14153 (eval "$ac_compiler --version >&5") 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }
14157 { (ac_try="$ac_compiler -v >&5"
14158 case "(($ac_try" in
14159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14160 *) ac_try_echo=$ac_try;;
14161 esac
14162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14163 (eval "$ac_compiler -v >&5") 2>&5
14164 ac_status=$?
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }
14167 { (ac_try="$ac_compiler -V >&5"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compiler -V >&5") 2>&5
14174 ac_status=$?
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }
14177
14178 cat >conftest.$ac_ext <<_ACEOF
14179 /* confdefs.h. */
14180 _ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184
14185 int
14186 main ()
14187 {
14188
14189 ;
14190 return 0;
14191 }
14192 _ACEOF
14193 ac_clean_files_save=$ac_clean_files
14194 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14195 # Try to create an executable without -o first, disregard a.out.
14196 # It will help us diagnose broken compilers, and finding out an intuition
14197 # of exeext.
14198 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14199 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14200 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14201 #
14202 # List of possible output files, starting from the most likely.
14203 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14204 # only as a last resort. b.out is created by i960 compilers.
14205 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14206 #
14207 # The IRIX 6 linker writes into existing files which may not be
14208 # executable, retaining their permissions. Remove them first so a
14209 # subsequent execution test works.
14210 ac_rmfiles=
14211 for ac_file in $ac_files
14212 do
14213 case $ac_file in
14214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14215 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14216 esac
14217 done
14218 rm -f $ac_rmfiles
14219
14220 if { (ac_try="$ac_link_default"
14221 case "(($ac_try" in
14222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14223 *) ac_try_echo=$ac_try;;
14224 esac
14225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14226 (eval "$ac_link_default") 2>&5
14227 ac_status=$?
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; then
14230 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14231 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14232 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14233 # so that the user can short-circuit this test for compilers unknown to
14234 # Autoconf.
14235 for ac_file in $ac_files ''
14236 do
14237 test -f "$ac_file" || continue
14238 case $ac_file in
14239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14240 ;;
14241 [ab].out )
14242 # We found the default executable, but exeext='' is most
14243 # certainly right.
14244 break;;
14245 *.* )
14246 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14247 then :; else
14248 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14249 fi
14250 # We set ac_cv_exeext here because the later test for it is not
14251 # safe: cross compilers may not add the suffix if given an `-o'
14252 # argument, so we may need to know it at that point already.
14253 # Even if this section looks crufty: it has the advantage of
14254 # actually working.
14255 break;;
14256 * )
14257 break;;
14258 esac
14259 done
14260 test "$ac_cv_exeext" = no && ac_cv_exeext=
14261
14262 else
14263 ac_file=''
14264 fi
14265
14266 { echo "$as_me:$LINENO: result: $ac_file" >&5
14267 echo "${ECHO_T}$ac_file" >&6; }
14268 if test -z "$ac_file"; then
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.$ac_ext >&5
14271
14272 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14273 See \`config.log' for more details." >&5
14274 echo "$as_me: error: C compiler cannot create executables
14275 See \`config.log' for more details." >&2;}
14276 { (exit 77); exit 77; }; }
14277 fi
14278
14279 ac_exeext=$ac_cv_exeext
14280
14281 # Check that the compiler produces executables we can run. If not, either
14282 # the compiler is broken, or we cross compile.
14283 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14284 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14285 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14286 # If not cross compiling, check that we can run a simple program.
14287 if test "$cross_compiling" != yes; then
14288 if { ac_try='./$ac_file'
14289 { (case "(($ac_try" in
14290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14291 *) ac_try_echo=$ac_try;;
14292 esac
14293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14294 (eval "$ac_try") 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14298 cross_compiling=no
14299 else
14300 if test "$cross_compiling" = maybe; then
14301 cross_compiling=yes
14302 else
14303 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14304 If you meant to cross compile, use \`--host'.
14305 See \`config.log' for more details." >&5
14306 echo "$as_me: error: cannot run C compiled programs.
14307 If you meant to cross compile, use \`--host'.
14308 See \`config.log' for more details." >&2;}
14309 { (exit 1); exit 1; }; }
14310 fi
14311 fi
14312 fi
14313 { echo "$as_me:$LINENO: result: yes" >&5
14314 echo "${ECHO_T}yes" >&6; }
14315
14316 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14317 ac_clean_files=$ac_clean_files_save
14318 # Check that the compiler produces executables we can run. If not, either
14319 # the compiler is broken, or we cross compile.
14320 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14321 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14322 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14323 echo "${ECHO_T}$cross_compiling" >&6; }
14324
14325 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14326 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14327 if { (ac_try="$ac_link"
14328 case "(($ac_try" in
14329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14330 *) ac_try_echo=$ac_try;;
14331 esac
14332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14333 (eval "$ac_link") 2>&5
14334 ac_status=$?
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; then
14337 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14338 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14339 # work properly (i.e., refer to `conftest.exe'), while it won't with
14340 # `rm'.
14341 for ac_file in conftest.exe conftest conftest.*; do
14342 test -f "$ac_file" || continue
14343 case $ac_file in
14344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14345 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14346 break;;
14347 * ) break;;
14348 esac
14349 done
14350 else
14351 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14352 See \`config.log' for more details." >&5
14353 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14354 See \`config.log' for more details." >&2;}
14355 { (exit 1); exit 1; }; }
14356 fi
14357
14358 rm -f conftest$ac_cv_exeext
14359 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14360 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14361
14362 rm -f conftest.$ac_ext
14363 EXEEXT=$ac_cv_exeext
14364 ac_exeext=$EXEEXT
14365 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14366 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14367 if test "${ac_cv_objext+set}" = set; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 else
14370 cat >conftest.$ac_ext <<_ACEOF
14371 /* confdefs.h. */
14372 _ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14376
14377 int
14378 main ()
14379 {
14380
14381 ;
14382 return 0;
14383 }
14384 _ACEOF
14385 rm -f conftest.o conftest.obj
14386 if { (ac_try="$ac_compile"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_compile") 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; then
14396 for ac_file in conftest.o conftest.obj conftest.*; do
14397 test -f "$ac_file" || continue;
14398 case $ac_file in
14399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14401 break;;
14402 esac
14403 done
14404 else
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14407
14408 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14409 See \`config.log' for more details." >&5
14410 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14411 See \`config.log' for more details." >&2;}
14412 { (exit 1); exit 1; }; }
14413 fi
14414
14415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14416 fi
14417 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14418 echo "${ECHO_T}$ac_cv_objext" >&6; }
14419 OBJEXT=$ac_cv_objext
14420 ac_objext=$OBJEXT
14421 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14422 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14423 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 cat >conftest.$ac_ext <<_ACEOF
14427 /* confdefs.h. */
14428 _ACEOF
14429 cat confdefs.h >>conftest.$ac_ext
14430 cat >>conftest.$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432
14433 int
14434 main ()
14435 {
14436 #ifndef __GNUC__
14437 choke me
14438 #endif
14439
14440 ;
14441 return 0;
14442 }
14443 _ACEOF
14444 rm -f conftest.$ac_objext
14445 if { (ac_try="$ac_compile"
14446 case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14449 esac
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_compile") 2>conftest.er1
14452 ac_status=$?
14453 grep -v '^ *+' conftest.er1 >conftest.err
14454 rm -f conftest.er1
14455 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } && {
14458 test -z "$ac_c_werror_flag" ||
14459 test ! -s conftest.err
14460 } && test -s conftest.$ac_objext; then
14461 ac_compiler_gnu=yes
14462 else
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14465
14466 ac_compiler_gnu=no
14467 fi
14468
14469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14471
14472 fi
14473 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14474 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14475 GCC=`test $ac_compiler_gnu = yes && echo yes`
14476 ac_test_CFLAGS=${CFLAGS+set}
14477 ac_save_CFLAGS=$CFLAGS
14478 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14479 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14480 if test "${ac_cv_prog_cc_g+set}" = set; then
14481 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 else
14483 ac_save_c_werror_flag=$ac_c_werror_flag
14484 ac_c_werror_flag=yes
14485 ac_cv_prog_cc_g=no
14486 CFLAGS="-g"
14487 cat >conftest.$ac_ext <<_ACEOF
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493
14494 int
14495 main ()
14496 {
14497
14498 ;
14499 return 0;
14500 }
14501 _ACEOF
14502 rm -f conftest.$ac_objext
14503 if { (ac_try="$ac_compile"
14504 case "(($ac_try" in
14505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14507 esac
14508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14509 (eval "$ac_compile") 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } && {
14516 test -z "$ac_c_werror_flag" ||
14517 test ! -s conftest.err
14518 } && test -s conftest.$ac_objext; then
14519 ac_cv_prog_cc_g=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 CFLAGS=""
14525 cat >conftest.$ac_ext <<_ACEOF
14526 /* confdefs.h. */
14527 _ACEOF
14528 cat confdefs.h >>conftest.$ac_ext
14529 cat >>conftest.$ac_ext <<_ACEOF
14530 /* end confdefs.h. */
14531
14532 int
14533 main ()
14534 {
14535
14536 ;
14537 return 0;
14538 }
14539 _ACEOF
14540 rm -f conftest.$ac_objext
14541 if { (ac_try="$ac_compile"
14542 case "(($ac_try" in
14543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14545 esac
14546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14547 (eval "$ac_compile") 2>conftest.er1
14548 ac_status=$?
14549 grep -v '^ *+' conftest.er1 >conftest.err
14550 rm -f conftest.er1
14551 cat conftest.err >&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); } && {
14554 test -z "$ac_c_werror_flag" ||
14555 test ! -s conftest.err
14556 } && test -s conftest.$ac_objext; then
14557 :
14558 else
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.$ac_ext >&5
14561
14562 ac_c_werror_flag=$ac_save_c_werror_flag
14563 CFLAGS="-g"
14564 cat >conftest.$ac_ext <<_ACEOF
14565 /* confdefs.h. */
14566 _ACEOF
14567 cat confdefs.h >>conftest.$ac_ext
14568 cat >>conftest.$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570
14571 int
14572 main ()
14573 {
14574
14575 ;
14576 return 0;
14577 }
14578 _ACEOF
14579 rm -f conftest.$ac_objext
14580 if { (ac_try="$ac_compile"
14581 case "(($ac_try" in
14582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14583 *) ac_try_echo=$ac_try;;
14584 esac
14585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_compile") 2>conftest.er1
14587 ac_status=$?
14588 grep -v '^ *+' conftest.er1 >conftest.err
14589 rm -f conftest.er1
14590 cat conftest.err >&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); } && {
14593 test -z "$ac_c_werror_flag" ||
14594 test ! -s conftest.err
14595 } && test -s conftest.$ac_objext; then
14596 ac_cv_prog_cc_g=yes
14597 else
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14600
14601
14602 fi
14603
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 fi
14606
14607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14608 fi
14609
14610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 ac_c_werror_flag=$ac_save_c_werror_flag
14612 fi
14613 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14614 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14615 if test "$ac_test_CFLAGS" = set; then
14616 CFLAGS=$ac_save_CFLAGS
14617 elif test $ac_cv_prog_cc_g = yes; then
14618 if test "$GCC" = yes; then
14619 CFLAGS="-g -O2"
14620 else
14621 CFLAGS="-g"
14622 fi
14623 else
14624 if test "$GCC" = yes; then
14625 CFLAGS="-O2"
14626 else
14627 CFLAGS=
14628 fi
14629 fi
14630 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14631 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14632 if test "${ac_cv_prog_cc_c89+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 ac_cv_prog_cc_c89=no
14636 ac_save_CC=$CC
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <stdarg.h>
14644 #include <stdio.h>
14645 #include <sys/types.h>
14646 #include <sys/stat.h>
14647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14648 struct buf { int x; };
14649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14650 static char *e (p, i)
14651 char **p;
14652 int i;
14653 {
14654 return p[i];
14655 }
14656 static char *f (char * (*g) (char **, int), char **p, ...)
14657 {
14658 char *s;
14659 va_list v;
14660 va_start (v,p);
14661 s = g (p, va_arg (v,int));
14662 va_end (v);
14663 return s;
14664 }
14665
14666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14667 function prototypes and stuff, but not '\xHH' hex character constants.
14668 These don't provoke an error unfortunately, instead are silently treated
14669 as 'x'. The following induces an error, until -std is added to get
14670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14671 array size at least. It's necessary to write '\x00'==0 to get something
14672 that's true only with -std. */
14673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14674
14675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14676 inside strings and character constants. */
14677 #define FOO(x) 'x'
14678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14679
14680 int test (int i, double x);
14681 struct s1 {int (*f) (int a);};
14682 struct s2 {int (*f) (double a);};
14683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14684 int argc;
14685 char **argv;
14686 int
14687 main ()
14688 {
14689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14690 ;
14691 return 0;
14692 }
14693 _ACEOF
14694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14696 do
14697 CC="$ac_save_CC $ac_arg"
14698 rm -f conftest.$ac_objext
14699 if { (ac_try="$ac_compile"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_compile") 2>conftest.er1
14706 ac_status=$?
14707 grep -v '^ *+' conftest.er1 >conftest.err
14708 rm -f conftest.er1
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest.$ac_objext; then
14715 ac_cv_prog_cc_c89=$ac_arg
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14719
14720
14721 fi
14722
14723 rm -f core conftest.err conftest.$ac_objext
14724 test "x$ac_cv_prog_cc_c89" != "xno" && break
14725 done
14726 rm -f conftest.$ac_ext
14727 CC=$ac_save_CC
14728
14729 fi
14730 # AC_CACHE_VAL
14731 case "x$ac_cv_prog_cc_c89" in
14732 x)
14733 { echo "$as_me:$LINENO: result: none needed" >&5
14734 echo "${ECHO_T}none needed" >&6; } ;;
14735 xno)
14736 { echo "$as_me:$LINENO: result: unsupported" >&5
14737 echo "${ECHO_T}unsupported" >&6; } ;;
14738 *)
14739 CC="$CC $ac_cv_prog_cc_c89"
14740 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14741 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14742 esac
14743
14744
14745 ac_ext=c
14746 ac_cpp='$CPP $CPPFLAGS'
14747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14750
14751
14752
14753
14754 ac_ext=c
14755 ac_cpp='$CPP $CPPFLAGS'
14756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14759
14760 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14761 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14762 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 else
14765 cat >conftest.$ac_ext <<_ACEOF
14766 /* confdefs.h. */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771
14772 int
14773 main ()
14774 {
14775
14776 #ifndef __INTEL_COMPILER
14777 choke me
14778 #endif
14779
14780 ;
14781 return 0;
14782 }
14783 _ACEOF
14784 rm -f conftest.$ac_objext
14785 if { (ac_try="$ac_compile"
14786 case "(($ac_try" in
14787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14788 *) ac_try_echo=$ac_try;;
14789 esac
14790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14791 (eval "$ac_compile") 2>conftest.er1
14792 ac_status=$?
14793 grep -v '^ *+' conftest.er1 >conftest.err
14794 rm -f conftest.er1
14795 cat conftest.err >&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); } && {
14798 test -z "$ac_c_werror_flag" ||
14799 test ! -s conftest.err
14800 } && test -s conftest.$ac_objext; then
14801 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14802 else
14803 echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14805
14806 bakefile_cv_c_compiler___INTEL_COMPILER=no
14807
14808 fi
14809
14810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14811
14812
14813 fi
14814 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14815 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14816 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14817 :; INTELCC=yes
14818 else
14819 :;
14820 fi
14821 ac_ext=c
14822 ac_cpp='$CPP $CPPFLAGS'
14823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14826
14827
14828
14829
14830 if test "x$GCC" != "xyes"; then
14831 if test "xCC" = "xC"; then
14832 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14833 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14834 if test "${bakefile_cv_c_exto+set}" = set; then
14835 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 else
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843
14844 int
14845 main ()
14846 {
14847
14848 ;
14849 return 0;
14850 }
14851 _ACEOF
14852 rm -f conftest.$ac_objext conftest.$ac_ext.o
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>&5
14855 ac_status=$?
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); }; then
14858 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14859 case $ac_file in
14860 conftest.$ac_ext.o)
14861 bakefile_cv_c_exto="-ext o"
14862 ;;
14863 *)
14864 ;;
14865 esac
14866 done
14867 else
14868 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14869 See \`config.log' for more details." >&5
14870 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14871 See \`config.log' for more details." >&2;}
14872 { (exit 1); exit 1; }; }
14873
14874 fi
14875
14876 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14877
14878 fi
14879 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14880 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14881 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14882 if test "c" = "c"; then
14883 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14884 fi
14885 if test "c" = "cxx"; then
14886 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14887 fi
14888 fi
14889
14890 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14891 unset ac_cv_prog_cc_g
14892 ac_test_CFLAGS=${CFLAGS+set}
14893 ac_save_CFLAGS=$CFLAGS
14894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14896 if test "${ac_cv_prog_cc_g+set}" = set; then
14897 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 else
14899 ac_save_c_werror_flag=$ac_c_werror_flag
14900 ac_c_werror_flag=yes
14901 ac_cv_prog_cc_g=no
14902 CFLAGS="-g"
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909
14910 int
14911 main ()
14912 {
14913
14914 ;
14915 return 0;
14916 }
14917 _ACEOF
14918 rm -f conftest.$ac_objext
14919 if { (ac_try="$ac_compile"
14920 case "(($ac_try" in
14921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14922 *) ac_try_echo=$ac_try;;
14923 esac
14924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14925 (eval "$ac_compile") 2>conftest.er1
14926 ac_status=$?
14927 grep -v '^ *+' conftest.er1 >conftest.err
14928 rm -f conftest.er1
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } && {
14932 test -z "$ac_c_werror_flag" ||
14933 test ! -s conftest.err
14934 } && test -s conftest.$ac_objext; then
14935 ac_cv_prog_cc_g=yes
14936 else
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14939
14940 CFLAGS=""
14941 cat >conftest.$ac_ext <<_ACEOF
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947
14948 int
14949 main ()
14950 {
14951
14952 ;
14953 return 0;
14954 }
14955 _ACEOF
14956 rm -f conftest.$ac_objext
14957 if { (ac_try="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest.$ac_objext; then
14973 :
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14977
14978 ac_c_werror_flag=$ac_save_c_werror_flag
14979 CFLAGS="-g"
14980 cat >conftest.$ac_ext <<_ACEOF
14981 /* confdefs.h. */
14982 _ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986
14987 int
14988 main ()
14989 {
14990
14991 ;
14992 return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext
14996 if { (ac_try="$ac_compile"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15000 esac
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compile") 2>conftest.er1
15003 ac_status=$?
15004 grep -v '^ *+' conftest.er1 >conftest.err
15005 rm -f conftest.er1
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } && {
15009 test -z "$ac_c_werror_flag" ||
15010 test ! -s conftest.err
15011 } && test -s conftest.$ac_objext; then
15012 ac_cv_prog_cc_g=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017
15018 fi
15019
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 fi
15022
15023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 fi
15025
15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15027 ac_c_werror_flag=$ac_save_c_werror_flag
15028 fi
15029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15031 if test "$ac_test_CFLAGS" = set; then
15032 CFLAGS=$ac_save_CFLAGS
15033 elif test $ac_cv_prog_cc_g = yes; then
15034 if test "$GCC" = yes; then
15035 CFLAGS="-g -O2"
15036 else
15037 CFLAGS="-g"
15038 fi
15039 else
15040 if test "$GCC" = yes; then
15041 CFLAGS="-O2"
15042 else
15043 CFLAGS=
15044 fi
15045 fi
15046 fi
15047 fi
15048
15049 case `uname -s` in
15050 AIX*)
15051
15052
15053 ac_ext=c
15054 ac_cpp='$CPP $CPPFLAGS'
15055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15058
15059 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15060 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15061 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15063 else
15064 cat >conftest.$ac_ext <<_ACEOF
15065 /* confdefs.h. */
15066 _ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070
15071 int
15072 main ()
15073 {
15074
15075 #ifndef __xlC__
15076 choke me
15077 #endif
15078
15079 ;
15080 return 0;
15081 }
15082 _ACEOF
15083 rm -f conftest.$ac_objext
15084 if { (ac_try="$ac_compile"
15085 case "(($ac_try" in
15086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15087 *) ac_try_echo=$ac_try;;
15088 esac
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_compile") 2>conftest.er1
15091 ac_status=$?
15092 grep -v '^ *+' conftest.er1 >conftest.err
15093 rm -f conftest.er1
15094 cat conftest.err >&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } && {
15097 test -z "$ac_c_werror_flag" ||
15098 test ! -s conftest.err
15099 } && test -s conftest.$ac_objext; then
15100 bakefile_cv_c_compiler___xlC__=yes
15101 else
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.$ac_ext >&5
15104
15105 bakefile_cv_c_compiler___xlC__=no
15106
15107 fi
15108
15109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15110
15111
15112 fi
15113 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15114 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15115 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15116 :; XLCC=yes
15117 else
15118 :;
15119 fi
15120 ac_ext=c
15121 ac_cpp='$CPP $CPPFLAGS'
15122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15125
15126
15127
15128 ;;
15129
15130 Darwin)
15131
15132
15133 ac_ext=c
15134 ac_cpp='$CPP $CPPFLAGS'
15135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15138
15139 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15140 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15141 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15143 else
15144 cat >conftest.$ac_ext <<_ACEOF
15145 /* confdefs.h. */
15146 _ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150
15151 int
15152 main ()
15153 {
15154
15155 #ifndef __MWERKS__
15156 choke me
15157 #endif
15158
15159 ;
15160 return 0;
15161 }
15162 _ACEOF
15163 rm -f conftest.$ac_objext
15164 if { (ac_try="$ac_compile"
15165 case "(($ac_try" in
15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15167 *) ac_try_echo=$ac_try;;
15168 esac
15169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15170 (eval "$ac_compile") 2>conftest.er1
15171 ac_status=$?
15172 grep -v '^ *+' conftest.er1 >conftest.err
15173 rm -f conftest.er1
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } && {
15177 test -z "$ac_c_werror_flag" ||
15178 test ! -s conftest.err
15179 } && test -s conftest.$ac_objext; then
15180 bakefile_cv_c_compiler___MWERKS__=yes
15181 else
15182 echo "$as_me: failed program was:" >&5
15183 sed 's/^/| /' conftest.$ac_ext >&5
15184
15185 bakefile_cv_c_compiler___MWERKS__=no
15186
15187 fi
15188
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15190
15191
15192 fi
15193 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15194 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15195 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15196 :; MWCC=yes
15197 else
15198 :;
15199 fi
15200 ac_ext=c
15201 ac_cpp='$CPP $CPPFLAGS'
15202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15205
15206
15207
15208
15209
15210 ac_ext=c
15211 ac_cpp='$CPP $CPPFLAGS'
15212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15215
15216 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15217 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15218 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 else
15221 cat >conftest.$ac_ext <<_ACEOF
15222 /* confdefs.h. */
15223 _ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227
15228 int
15229 main ()
15230 {
15231
15232 #ifndef __xlC__
15233 choke me
15234 #endif
15235
15236 ;
15237 return 0;
15238 }
15239 _ACEOF
15240 rm -f conftest.$ac_objext
15241 if { (ac_try="$ac_compile"
15242 case "(($ac_try" in
15243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15244 *) ac_try_echo=$ac_try;;
15245 esac
15246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15247 (eval "$ac_compile") 2>conftest.er1
15248 ac_status=$?
15249 grep -v '^ *+' conftest.er1 >conftest.err
15250 rm -f conftest.er1
15251 cat conftest.err >&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } && {
15254 test -z "$ac_c_werror_flag" ||
15255 test ! -s conftest.err
15256 } && test -s conftest.$ac_objext; then
15257 bakefile_cv_c_compiler___xlC__=yes
15258 else
15259 echo "$as_me: failed program was:" >&5
15260 sed 's/^/| /' conftest.$ac_ext >&5
15261
15262 bakefile_cv_c_compiler___xlC__=no
15263
15264 fi
15265
15266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267
15268
15269 fi
15270 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15271 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15272 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15273 :; XLCC=yes
15274 else
15275 :;
15276 fi
15277 ac_ext=c
15278 ac_cpp='$CPP $CPPFLAGS'
15279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15282
15283
15284
15285 ;;
15286
15287 IRIX*)
15288
15289
15290 ac_ext=c
15291 ac_cpp='$CPP $CPPFLAGS'
15292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15295
15296 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15297 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15298 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 cat >conftest.$ac_ext <<_ACEOF
15302 /* confdefs.h. */
15303 _ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307
15308 int
15309 main ()
15310 {
15311
15312 #ifndef _SGI_COMPILER_VERSION
15313 choke me
15314 #endif
15315
15316 ;
15317 return 0;
15318 }
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (ac_try="$ac_compile"
15322 case "(($ac_try" in
15323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15324 *) ac_try_echo=$ac_try;;
15325 esac
15326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15327 (eval "$ac_compile") 2>conftest.er1
15328 ac_status=$?
15329 grep -v '^ *+' conftest.er1 >conftest.err
15330 rm -f conftest.er1
15331 cat conftest.err >&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); } && {
15334 test -z "$ac_c_werror_flag" ||
15335 test ! -s conftest.err
15336 } && test -s conftest.$ac_objext; then
15337 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15338 else
15339 echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.$ac_ext >&5
15341
15342 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15343
15344 fi
15345
15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15347
15348
15349 fi
15350 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15351 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15352 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15353 :; SGICC=yes
15354 else
15355 :;
15356 fi
15357 ac_ext=c
15358 ac_cpp='$CPP $CPPFLAGS'
15359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15362
15363
15364
15365 ;;
15366
15367 Linux*)
15368
15369
15370 ac_ext=c
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15375
15376 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15377 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15378 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 else
15381 cat >conftest.$ac_ext <<_ACEOF
15382 /* confdefs.h. */
15383 _ACEOF
15384 cat confdefs.h >>conftest.$ac_ext
15385 cat >>conftest.$ac_ext <<_ACEOF
15386 /* end confdefs.h. */
15387
15388 int
15389 main ()
15390 {
15391
15392 #ifndef __SUNPRO_C
15393 choke me
15394 #endif
15395
15396 ;
15397 return 0;
15398 }
15399 _ACEOF
15400 rm -f conftest.$ac_objext
15401 if { (ac_try="$ac_compile"
15402 case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15405 esac
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_compile") 2>conftest.er1
15408 ac_status=$?
15409 grep -v '^ *+' conftest.er1 >conftest.err
15410 rm -f conftest.er1
15411 cat conftest.err >&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } && {
15414 test -z "$ac_c_werror_flag" ||
15415 test ! -s conftest.err
15416 } && test -s conftest.$ac_objext; then
15417 bakefile_cv_c_compiler___SUNPRO_C=yes
15418 else
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.$ac_ext >&5
15421
15422 bakefile_cv_c_compiler___SUNPRO_C=no
15423
15424 fi
15425
15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15427
15428
15429 fi
15430 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15431 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15432 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15433 :; SUNCC=yes
15434 else
15435 :;
15436 fi
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442
15443
15444
15445 ;;
15446
15447 HP-UX*)
15448
15449
15450 ac_ext=c
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15455
15456 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15457 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15458 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 else
15461 cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h. */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15467
15468 int
15469 main ()
15470 {
15471
15472 #ifndef __HP_cc
15473 choke me
15474 #endif
15475
15476 ;
15477 return 0;
15478 }
15479 _ACEOF
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest.$ac_objext; then
15497 bakefile_cv_c_compiler___HP_cc=yes
15498 else
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15501
15502 bakefile_cv_c_compiler___HP_cc=no
15503
15504 fi
15505
15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15507
15508
15509 fi
15510 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15511 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15512 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15513 :; HPCC=yes
15514 else
15515 :;
15516 fi
15517 ac_ext=c
15518 ac_cpp='$CPP $CPPFLAGS'
15519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15522
15523
15524
15525 ;;
15526
15527 OSF1)
15528
15529
15530 ac_ext=c
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535
15536 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15537 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15538 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547
15548 int
15549 main ()
15550 {
15551
15552 #ifndef __DECC
15553 choke me
15554 #endif
15555
15556 ;
15557 return 0;
15558 }
15559 _ACEOF
15560 rm -f conftest.$ac_objext
15561 if { (ac_try="$ac_compile"
15562 case "(($ac_try" in
15563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564 *) ac_try_echo=$ac_try;;
15565 esac
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567 (eval "$ac_compile") 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } && {
15574 test -z "$ac_c_werror_flag" ||
15575 test ! -s conftest.err
15576 } && test -s conftest.$ac_objext; then
15577 bakefile_cv_c_compiler___DECC=yes
15578 else
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.$ac_ext >&5
15581
15582 bakefile_cv_c_compiler___DECC=no
15583
15584 fi
15585
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587
15588
15589 fi
15590 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15591 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15592 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15593 :; COMPAQCC=yes
15594 else
15595 :;
15596 fi
15597 ac_ext=c
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15602
15603
15604
15605 ;;
15606
15607 SunOS)
15608
15609
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15615
15616 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15617 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15618 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 cat >conftest.$ac_ext <<_ACEOF
15622 /* confdefs.h. */
15623 _ACEOF
15624 cat confdefs.h >>conftest.$ac_ext
15625 cat >>conftest.$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15627
15628 int
15629 main ()
15630 {
15631
15632 #ifndef __SUNPRO_C
15633 choke me
15634 #endif
15635
15636 ;
15637 return 0;
15638 }
15639 _ACEOF
15640 rm -f conftest.$ac_objext
15641 if { (ac_try="$ac_compile"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_compile") 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest.$ac_objext; then
15657 bakefile_cv_c_compiler___SUNPRO_C=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 bakefile_cv_c_compiler___SUNPRO_C=no
15663
15664 fi
15665
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667
15668
15669 fi
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15671 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15672 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15673 :; SUNCC=yes
15674 else
15675 :;
15676 fi
15677 ac_ext=c
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
15683
15684
15685 ;;
15686 esac
15687 fi
15688
15689
15690
15691 ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15697 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15698 # On Suns, sometimes $CPP names a directory.
15699 if test -n "$CPP" && test -d "$CPP"; then
15700 CPP=
15701 fi
15702 if test -z "$CPP"; then
15703 if test "${ac_cv_prog_CPP+set}" = set; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 else
15706 # Double quotes because CPP needs to be expanded
15707 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15708 do
15709 ac_preproc_ok=false
15710 for ac_c_preproc_warn_flag in '' yes
15711 do
15712 # Use a header file that comes with gcc, so configuring glibc
15713 # with a fresh cross-compiler works.
15714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15715 # <limits.h> exists even on freestanding compilers.
15716 # On the NeXT, cc -E runs the code through the compiler's parser,
15717 # not just through cpp. "Syntax error" is here to catch this case.
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 #ifdef __STDC__
15725 # include <limits.h>
15726 #else
15727 # include <assert.h>
15728 #endif
15729 Syntax error
15730 _ACEOF
15731 if { (ac_try="$ac_cpp conftest.$ac_ext"
15732 case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15735 esac
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15738 ac_status=$?
15739 grep -v '^ *+' conftest.er1 >conftest.err
15740 rm -f conftest.er1
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } >/dev/null && {
15744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15745 test ! -s conftest.err
15746 }; then
15747 :
15748 else
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15751
15752 # Broken: fails on valid input.
15753 continue
15754 fi
15755
15756 rm -f conftest.err conftest.$ac_ext
15757
15758 # OK, works on sane cases. Now check whether nonexistent headers
15759 # can be detected and how.
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 #include <ac_nonexistent.h>
15767 _ACEOF
15768 if { (ac_try="$ac_cpp conftest.$ac_ext"
15769 case "(($ac_try" in
15770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15771 *) ac_try_echo=$ac_try;;
15772 esac
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15775 ac_status=$?
15776 grep -v '^ *+' conftest.er1 >conftest.err
15777 rm -f conftest.er1
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } >/dev/null && {
15781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15782 test ! -s conftest.err
15783 }; then
15784 # Broken: success on invalid input.
15785 continue
15786 else
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.$ac_ext >&5
15789
15790 # Passes both tests.
15791 ac_preproc_ok=:
15792 break
15793 fi
15794
15795 rm -f conftest.err conftest.$ac_ext
15796
15797 done
15798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15799 rm -f conftest.err conftest.$ac_ext
15800 if $ac_preproc_ok; then
15801 break
15802 fi
15803
15804 done
15805 ac_cv_prog_CPP=$CPP
15806
15807 fi
15808 CPP=$ac_cv_prog_CPP
15809 else
15810 ac_cv_prog_CPP=$CPP
15811 fi
15812 { echo "$as_me:$LINENO: result: $CPP" >&5
15813 echo "${ECHO_T}$CPP" >&6; }
15814 ac_preproc_ok=false
15815 for ac_c_preproc_warn_flag in '' yes
15816 do
15817 # Use a header file that comes with gcc, so configuring glibc
15818 # with a fresh cross-compiler works.
15819 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15820 # <limits.h> exists even on freestanding compilers.
15821 # On the NeXT, cc -E runs the code through the compiler's parser,
15822 # not just through cpp. "Syntax error" is here to catch this case.
15823 cat >conftest.$ac_ext <<_ACEOF
15824 /* confdefs.h. */
15825 _ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 #ifdef __STDC__
15830 # include <limits.h>
15831 #else
15832 # include <assert.h>
15833 #endif
15834 Syntax error
15835 _ACEOF
15836 if { (ac_try="$ac_cpp conftest.$ac_ext"
15837 case "(($ac_try" in
15838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15839 *) ac_try_echo=$ac_try;;
15840 esac
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15843 ac_status=$?
15844 grep -v '^ *+' conftest.er1 >conftest.err
15845 rm -f conftest.er1
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } >/dev/null && {
15849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15850 test ! -s conftest.err
15851 }; then
15852 :
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 # Broken: fails on valid input.
15858 continue
15859 fi
15860
15861 rm -f conftest.err conftest.$ac_ext
15862
15863 # OK, works on sane cases. Now check whether nonexistent headers
15864 # can be detected and how.
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 #include <ac_nonexistent.h>
15872 _ACEOF
15873 if { (ac_try="$ac_cpp conftest.$ac_ext"
15874 case "(($ac_try" in
15875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15876 *) ac_try_echo=$ac_try;;
15877 esac
15878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15880 ac_status=$?
15881 grep -v '^ *+' conftest.er1 >conftest.err
15882 rm -f conftest.er1
15883 cat conftest.err >&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } >/dev/null && {
15886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15887 test ! -s conftest.err
15888 }; then
15889 # Broken: success on invalid input.
15890 continue
15891 else
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15894
15895 # Passes both tests.
15896 ac_preproc_ok=:
15897 break
15898 fi
15899
15900 rm -f conftest.err conftest.$ac_ext
15901
15902 done
15903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15904 rm -f conftest.err conftest.$ac_ext
15905 if $ac_preproc_ok; then
15906 :
15907 else
15908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15909 See \`config.log' for more details." >&5
15910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15911 See \`config.log' for more details." >&2;}
15912 { (exit 1); exit 1; }; }
15913 fi
15914
15915 ac_ext=c
15916 ac_cpp='$CPP $CPPFLAGS'
15917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15920
15921
15922 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15923 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 else
15927 # Extract the first word of "grep ggrep" to use in msg output
15928 if test -z "$GREP"; then
15929 set dummy grep ggrep; ac_prog_name=$2
15930 if test "${ac_cv_path_GREP+set}" = set; then
15931 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 else
15933 ac_path_GREP_found=false
15934 # Loop through the user's path and test for each of PROGNAME-LIST
15935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15936 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15937 do
15938 IFS=$as_save_IFS
15939 test -z "$as_dir" && as_dir=.
15940 for ac_prog in grep ggrep; do
15941 for ac_exec_ext in '' $ac_executable_extensions; do
15942 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15943 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15944 # Check for GNU ac_path_GREP and select it if it is found.
15945 # Check for GNU $ac_path_GREP
15946 case `"$ac_path_GREP" --version 2>&1` in
15947 *GNU*)
15948 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15949 *)
15950 ac_count=0
15951 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15952 while :
15953 do
15954 cat "conftest.in" "conftest.in" >"conftest.tmp"
15955 mv "conftest.tmp" "conftest.in"
15956 cp "conftest.in" "conftest.nl"
15957 echo 'GREP' >> "conftest.nl"
15958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15960 ac_count=`expr $ac_count + 1`
15961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15962 # Best one so far, save it but keep looking for a better one
15963 ac_cv_path_GREP="$ac_path_GREP"
15964 ac_path_GREP_max=$ac_count
15965 fi
15966 # 10*(2^10) chars as input seems more than enough
15967 test $ac_count -gt 10 && break
15968 done
15969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15970 esac
15971
15972
15973 $ac_path_GREP_found && break 3
15974 done
15975 done
15976
15977 done
15978 IFS=$as_save_IFS
15979
15980
15981 fi
15982
15983 GREP="$ac_cv_path_GREP"
15984 if test -z "$GREP"; then
15985 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15986 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15987 { (exit 1); exit 1; }; }
15988 fi
15989
15990 else
15991 ac_cv_path_GREP=$GREP
15992 fi
15993
15994
15995 fi
15996 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15997 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15998 GREP="$ac_cv_path_GREP"
15999
16000
16001 { echo "$as_me:$LINENO: checking for egrep" >&5
16002 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16003 if test "${ac_cv_path_EGREP+set}" = set; then
16004 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 else
16006 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16007 then ac_cv_path_EGREP="$GREP -E"
16008 else
16009 # Extract the first word of "egrep" to use in msg output
16010 if test -z "$EGREP"; then
16011 set dummy egrep; ac_prog_name=$2
16012 if test "${ac_cv_path_EGREP+set}" = set; then
16013 echo $ECHO_N "(cached) $ECHO_C" >&6
16014 else
16015 ac_path_EGREP_found=false
16016 # Loop through the user's path and test for each of PROGNAME-LIST
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16019 do
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_prog in egrep; do
16023 for ac_exec_ext in '' $ac_executable_extensions; do
16024 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16025 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16026 # Check for GNU ac_path_EGREP and select it if it is found.
16027 # Check for GNU $ac_path_EGREP
16028 case `"$ac_path_EGREP" --version 2>&1` in
16029 *GNU*)
16030 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16031 *)
16032 ac_count=0
16033 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16034 while :
16035 do
16036 cat "conftest.in" "conftest.in" >"conftest.tmp"
16037 mv "conftest.tmp" "conftest.in"
16038 cp "conftest.in" "conftest.nl"
16039 echo 'EGREP' >> "conftest.nl"
16040 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16041 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16042 ac_count=`expr $ac_count + 1`
16043 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16044 # Best one so far, save it but keep looking for a better one
16045 ac_cv_path_EGREP="$ac_path_EGREP"
16046 ac_path_EGREP_max=$ac_count
16047 fi
16048 # 10*(2^10) chars as input seems more than enough
16049 test $ac_count -gt 10 && break
16050 done
16051 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16052 esac
16053
16054
16055 $ac_path_EGREP_found && break 3
16056 done
16057 done
16058
16059 done
16060 IFS=$as_save_IFS
16061
16062
16063 fi
16064
16065 EGREP="$ac_cv_path_EGREP"
16066 if test -z "$EGREP"; then
16067 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16068 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16069 { (exit 1); exit 1; }; }
16070 fi
16071
16072 else
16073 ac_cv_path_EGREP=$EGREP
16074 fi
16075
16076
16077 fi
16078 fi
16079 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16080 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16081 EGREP="$ac_cv_path_EGREP"
16082
16083
16084 if test $ac_cv_c_compiler_gnu = yes; then
16085 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16086 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16087 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 else
16090 ac_pattern="Autoconf.*'x'"
16091 cat >conftest.$ac_ext <<_ACEOF
16092 /* confdefs.h. */
16093 _ACEOF
16094 cat confdefs.h >>conftest.$ac_ext
16095 cat >>conftest.$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 #include <sgtty.h>
16098 Autoconf TIOCGETP
16099 _ACEOF
16100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16101 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16102 ac_cv_prog_gcc_traditional=yes
16103 else
16104 ac_cv_prog_gcc_traditional=no
16105 fi
16106 rm -f conftest*
16107
16108
16109 if test $ac_cv_prog_gcc_traditional = no; then
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <termio.h>
16117 Autoconf TCGETA
16118 _ACEOF
16119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16120 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16121 ac_cv_prog_gcc_traditional=yes
16122 fi
16123 rm -f conftest*
16124
16125 fi
16126 fi
16127 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16128 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16129 if test $ac_cv_prog_gcc_traditional = yes; then
16130 CC="$CC -traditional"
16131 fi
16132 fi
16133
16134
16135 CXXFLAGS=${CXXFLAGS:=}
16136
16137
16138
16139 ac_ext=cpp
16140 ac_cpp='$CXXCPP $CPPFLAGS'
16141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16144 if test -z "$CXX"; then
16145 if test -n "$CCC"; then
16146 CXX=$CCC
16147 else
16148 if test -n "$ac_tool_prefix"; then
16149 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16150 do
16151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16155 if test "${ac_cv_prog_CXX+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 if test -n "$CXX"; then
16159 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16160 else
16161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16162 for as_dir in $PATH
16163 do
16164 IFS=$as_save_IFS
16165 test -z "$as_dir" && as_dir=.
16166 for ac_exec_ext in '' $ac_executable_extensions; do
16167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16168 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16170 break 2
16171 fi
16172 done
16173 done
16174 IFS=$as_save_IFS
16175
16176 fi
16177 fi
16178 CXX=$ac_cv_prog_CXX
16179 if test -n "$CXX"; then
16180 { echo "$as_me:$LINENO: result: $CXX" >&5
16181 echo "${ECHO_T}$CXX" >&6; }
16182 else
16183 { echo "$as_me:$LINENO: result: no" >&5
16184 echo "${ECHO_T}no" >&6; }
16185 fi
16186
16187
16188 test -n "$CXX" && break
16189 done
16190 fi
16191 if test -z "$CXX"; then
16192 ac_ct_CXX=$CXX
16193 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16194 do
16195 # Extract the first word of "$ac_prog", so it can be a program name with args.
16196 set dummy $ac_prog; ac_word=$2
16197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16199 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test -n "$ac_ct_CXX"; then
16203 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16204 else
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH
16207 do
16208 IFS=$as_save_IFS
16209 test -z "$as_dir" && as_dir=.
16210 for ac_exec_ext in '' $ac_executable_extensions; do
16211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16212 ac_cv_prog_ac_ct_CXX="$ac_prog"
16213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16214 break 2
16215 fi
16216 done
16217 done
16218 IFS=$as_save_IFS
16219
16220 fi
16221 fi
16222 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16223 if test -n "$ac_ct_CXX"; then
16224 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16225 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16226 else
16227 { echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6; }
16229 fi
16230
16231
16232 test -n "$ac_ct_CXX" && break
16233 done
16234
16235 if test "x$ac_ct_CXX" = x; then
16236 CXX="g++"
16237 else
16238 case $cross_compiling:$ac_tool_warned in
16239 yes:)
16240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16241 whose name does not start with the host triplet. If you think this
16242 configuration is useful to you, please write to autoconf@gnu.org." >&5
16243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16244 whose name does not start with the host triplet. If you think this
16245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16246 ac_tool_warned=yes ;;
16247 esac
16248 CXX=$ac_ct_CXX
16249 fi
16250 fi
16251
16252 fi
16253 fi
16254 # Provide some information about the compiler.
16255 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16256 ac_compiler=`set X $ac_compile; echo $2`
16257 { (ac_try="$ac_compiler --version >&5"
16258 case "(($ac_try" in
16259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16260 *) ac_try_echo=$ac_try;;
16261 esac
16262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16263 (eval "$ac_compiler --version >&5") 2>&5
16264 ac_status=$?
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); }
16267 { (ac_try="$ac_compiler -v >&5"
16268 case "(($ac_try" in
16269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16270 *) ac_try_echo=$ac_try;;
16271 esac
16272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16273 (eval "$ac_compiler -v >&5") 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }
16277 { (ac_try="$ac_compiler -V >&5"
16278 case "(($ac_try" in
16279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16280 *) ac_try_echo=$ac_try;;
16281 esac
16282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16283 (eval "$ac_compiler -V >&5") 2>&5
16284 ac_status=$?
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }
16287
16288 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16289 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16290 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299
16300 int
16301 main ()
16302 {
16303 #ifndef __GNUC__
16304 choke me
16305 #endif
16306
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (ac_try="$ac_compile"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16315 *) ac_try_echo=$ac_try;;
16316 esac
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_compile") 2>conftest.er1
16319 ac_status=$?
16320 grep -v '^ *+' conftest.er1 >conftest.err
16321 rm -f conftest.er1
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_cxx_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest.$ac_objext; then
16328 ac_compiler_gnu=yes
16329 else
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16332
16333 ac_compiler_gnu=no
16334 fi
16335
16336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16337 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16338
16339 fi
16340 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16341 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16342 GXX=`test $ac_compiler_gnu = yes && echo yes`
16343 ac_test_CXXFLAGS=${CXXFLAGS+set}
16344 ac_save_CXXFLAGS=$CXXFLAGS
16345 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16346 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16347 if test "${ac_cv_prog_cxx_g+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16351 ac_cxx_werror_flag=yes
16352 ac_cv_prog_cxx_g=no
16353 CXXFLAGS="-g"
16354 cat >conftest.$ac_ext <<_ACEOF
16355 /* confdefs.h. */
16356 _ACEOF
16357 cat confdefs.h >>conftest.$ac_ext
16358 cat >>conftest.$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16360
16361 int
16362 main ()
16363 {
16364
16365 ;
16366 return 0;
16367 }
16368 _ACEOF
16369 rm -f conftest.$ac_objext
16370 if { (ac_try="$ac_compile"
16371 case "(($ac_try" in
16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16374 esac
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_compile") 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_cxx_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest.$ac_objext; then
16386 ac_cv_prog_cxx_g=yes
16387 else
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16390
16391 CXXFLAGS=""
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398
16399 int
16400 main ()
16401 {
16402
16403 ;
16404 return 0;
16405 }
16406 _ACEOF
16407 rm -f conftest.$ac_objext
16408 if { (ac_try="$ac_compile"
16409 case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412 esac
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_compile") 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } && {
16421 test -z "$ac_cxx_werror_flag" ||
16422 test ! -s conftest.err
16423 } && test -s conftest.$ac_objext; then
16424 :
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16428
16429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16430 CXXFLAGS="-g"
16431 cat >conftest.$ac_ext <<_ACEOF
16432 /* confdefs.h. */
16433 _ACEOF
16434 cat confdefs.h >>conftest.$ac_ext
16435 cat >>conftest.$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16437
16438 int
16439 main ()
16440 {
16441
16442 ;
16443 return 0;
16444 }
16445 _ACEOF
16446 rm -f conftest.$ac_objext
16447 if { (ac_try="$ac_compile"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16451 esac
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_compile") 2>conftest.er1
16454 ac_status=$?
16455 grep -v '^ *+' conftest.er1 >conftest.err
16456 rm -f conftest.er1
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_cxx_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest.$ac_objext; then
16463 ac_cv_prog_cxx_g=yes
16464 else
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16467
16468
16469 fi
16470
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 fi
16473
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475 fi
16476
16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16479 fi
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16481 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16482 if test "$ac_test_CXXFLAGS" = set; then
16483 CXXFLAGS=$ac_save_CXXFLAGS
16484 elif test $ac_cv_prog_cxx_g = yes; then
16485 if test "$GXX" = yes; then
16486 CXXFLAGS="-g -O2"
16487 else
16488 CXXFLAGS="-g"
16489 fi
16490 else
16491 if test "$GXX" = yes; then
16492 CXXFLAGS="-O2"
16493 else
16494 CXXFLAGS=
16495 fi
16496 fi
16497 ac_ext=c
16498 ac_cpp='$CPP $CPPFLAGS'
16499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16502
16503
16504
16505
16506 ac_ext=cpp
16507 ac_cpp='$CXXCPP $CPPFLAGS'
16508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16511
16512 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16513 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16514 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 else
16517 cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h. */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523
16524 int
16525 main ()
16526 {
16527
16528 #ifndef __INTEL_COMPILER
16529 choke me
16530 #endif
16531
16532 ;
16533 return 0;
16534 }
16535 _ACEOF
16536 rm -f conftest.$ac_objext
16537 if { (ac_try="$ac_compile"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16541 esac
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_compile") 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } && {
16550 test -z "$ac_cxx_werror_flag" ||
16551 test ! -s conftest.err
16552 } && test -s conftest.$ac_objext; then
16553 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16554 else
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16557
16558 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16559
16560 fi
16561
16562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563
16564
16565 fi
16566 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16567 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16568 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16569 :; INTELCXX=yes
16570 else
16571 :;
16572 fi
16573 ac_ext=c
16574 ac_cpp='$CPP $CPPFLAGS'
16575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16578
16579
16580
16581
16582 if test "x$GCXX" != "xyes"; then
16583 if test "xCXX" = "xC"; then
16584 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16585 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16586 if test "${bakefile_cv_c_exto+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595
16596 int
16597 main ()
16598 {
16599
16600 ;
16601 return 0;
16602 }
16603 _ACEOF
16604 rm -f conftest.$ac_objext conftest.$ac_ext.o
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; then
16610 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16611 case $ac_file in
16612 conftest.$ac_ext.o)
16613 bakefile_cv_c_exto="-ext o"
16614 ;;
16615 *)
16616 ;;
16617 esac
16618 done
16619 else
16620 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16621 See \`config.log' for more details." >&5
16622 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16623 See \`config.log' for more details." >&2;}
16624 { (exit 1); exit 1; }; }
16625
16626 fi
16627
16628 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16629
16630 fi
16631 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16632 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16633 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16634 if test "c" = "c"; then
16635 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16636 fi
16637 if test "c" = "cxx"; then
16638 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16639 fi
16640 fi
16641
16642 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16643 unset ac_cv_prog_cc_g
16644 ac_test_CFLAGS=${CFLAGS+set}
16645 ac_save_CFLAGS=$CFLAGS
16646 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16647 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16648 if test "${ac_cv_prog_cc_g+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 else
16651 ac_save_c_werror_flag=$ac_c_werror_flag
16652 ac_c_werror_flag=yes
16653 ac_cv_prog_cc_g=no
16654 CFLAGS="-g"
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661
16662 int
16663 main ()
16664 {
16665
16666 ;
16667 return 0;
16668 }
16669 _ACEOF
16670 rm -f conftest.$ac_objext
16671 if { (ac_try="$ac_compile"
16672 case "(($ac_try" in
16673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16674 *) ac_try_echo=$ac_try;;
16675 esac
16676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16677 (eval "$ac_compile") 2>conftest.er1
16678 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } && {
16684 test -z "$ac_c_werror_flag" ||
16685 test ! -s conftest.err
16686 } && test -s conftest.$ac_objext; then
16687 ac_cv_prog_cc_g=yes
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 CFLAGS=""
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699
16700 int
16701 main ()
16702 {
16703
16704 ;
16705 return 0;
16706 }
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (ac_try="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713 esac
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_c_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.$ac_objext; then
16725 :
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16729
16730 ac_c_werror_flag=$ac_save_c_werror_flag
16731 CFLAGS="-g"
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738
16739 int
16740 main ()
16741 {
16742
16743 ;
16744 return 0;
16745 }
16746 _ACEOF
16747 rm -f conftest.$ac_objext
16748 if { (ac_try="$ac_compile"
16749 case "(($ac_try" in
16750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16752 esac
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_compile") 2>conftest.er1
16755 ac_status=$?
16756 grep -v '^ *+' conftest.er1 >conftest.err
16757 rm -f conftest.er1
16758 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } && {
16761 test -z "$ac_c_werror_flag" ||
16762 test ! -s conftest.err
16763 } && test -s conftest.$ac_objext; then
16764 ac_cv_prog_cc_g=yes
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16768
16769
16770 fi
16771
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 fi
16774
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 fi
16777
16778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16779 ac_c_werror_flag=$ac_save_c_werror_flag
16780 fi
16781 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16782 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16783 if test "$ac_test_CFLAGS" = set; then
16784 CFLAGS=$ac_save_CFLAGS
16785 elif test $ac_cv_prog_cc_g = yes; then
16786 if test "$GCC" = yes; then
16787 CFLAGS="-g -O2"
16788 else
16789 CFLAGS="-g"
16790 fi
16791 else
16792 if test "$GCC" = yes; then
16793 CFLAGS="-O2"
16794 else
16795 CFLAGS=
16796 fi
16797 fi
16798 fi
16799 fi
16800
16801 case `uname -s` in
16802 AIX*)
16803
16804
16805 ac_ext=cpp
16806 ac_cpp='$CXXCPP $CPPFLAGS'
16807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16810
16811 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16812 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16813 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16815 else
16816 cat >conftest.$ac_ext <<_ACEOF
16817 /* confdefs.h. */
16818 _ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822
16823 int
16824 main ()
16825 {
16826
16827 #ifndef __xlC__
16828 choke me
16829 #endif
16830
16831 ;
16832 return 0;
16833 }
16834 _ACEOF
16835 rm -f conftest.$ac_objext
16836 if { (ac_try="$ac_compile"
16837 case "(($ac_try" in
16838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16839 *) ac_try_echo=$ac_try;;
16840 esac
16841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16842 (eval "$ac_compile") 2>conftest.er1
16843 ac_status=$?
16844 grep -v '^ *+' conftest.er1 >conftest.err
16845 rm -f conftest.er1
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } && {
16849 test -z "$ac_cxx_werror_flag" ||
16850 test ! -s conftest.err
16851 } && test -s conftest.$ac_objext; then
16852 bakefile_cv_cxx_compiler___xlC__=yes
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16856
16857 bakefile_cv_cxx_compiler___xlC__=no
16858
16859 fi
16860
16861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16862
16863
16864 fi
16865 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16866 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16867 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16868 :; XLCXX=yes
16869 else
16870 :;
16871 fi
16872 ac_ext=c
16873 ac_cpp='$CPP $CPPFLAGS'
16874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16877
16878
16879
16880 ;;
16881
16882 Darwin)
16883
16884
16885 ac_ext=cpp
16886 ac_cpp='$CXXCPP $CPPFLAGS'
16887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16890
16891 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16892 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16893 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902
16903 int
16904 main ()
16905 {
16906
16907 #ifndef __MWERKS__
16908 choke me
16909 #endif
16910
16911 ;
16912 return 0;
16913 }
16914 _ACEOF
16915 rm -f conftest.$ac_objext
16916 if { (ac_try="$ac_compile"
16917 case "(($ac_try" in
16918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16919 *) ac_try_echo=$ac_try;;
16920 esac
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16922 (eval "$ac_compile") 2>conftest.er1
16923 ac_status=$?
16924 grep -v '^ *+' conftest.er1 >conftest.err
16925 rm -f conftest.er1
16926 cat conftest.err >&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } && {
16929 test -z "$ac_cxx_werror_flag" ||
16930 test ! -s conftest.err
16931 } && test -s conftest.$ac_objext; then
16932 bakefile_cv_cxx_compiler___MWERKS__=yes
16933 else
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.$ac_ext >&5
16936
16937 bakefile_cv_cxx_compiler___MWERKS__=no
16938
16939 fi
16940
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942
16943
16944 fi
16945 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16946 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16947 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16948 :; MWCXX=yes
16949 else
16950 :;
16951 fi
16952 ac_ext=c
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957
16958
16959
16960
16961
16962 ac_ext=cpp
16963 ac_cpp='$CXXCPP $CPPFLAGS'
16964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16967
16968 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16969 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16970 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 else
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979
16980 int
16981 main ()
16982 {
16983
16984 #ifndef __xlC__
16985 choke me
16986 #endif
16987
16988 ;
16989 return 0;
16990 }
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (ac_try="$ac_compile"
16994 case "(($ac_try" in
16995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16996 *) ac_try_echo=$ac_try;;
16997 esac
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_compile") 2>conftest.er1
17000 ac_status=$?
17001 grep -v '^ *+' conftest.er1 >conftest.err
17002 rm -f conftest.er1
17003 cat conftest.err >&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } && {
17006 test -z "$ac_cxx_werror_flag" ||
17007 test ! -s conftest.err
17008 } && test -s conftest.$ac_objext; then
17009 bakefile_cv_cxx_compiler___xlC__=yes
17010 else
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17013
17014 bakefile_cv_cxx_compiler___xlC__=no
17015
17016 fi
17017
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019
17020
17021 fi
17022 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17023 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17024 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17025 :; XLCXX=yes
17026 else
17027 :;
17028 fi
17029 ac_ext=c
17030 ac_cpp='$CPP $CPPFLAGS'
17031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17034
17035
17036
17037 ;;
17038
17039 IRIX*)
17040
17041
17042 ac_ext=cpp
17043 ac_cpp='$CXXCPP $CPPFLAGS'
17044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17047
17048 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17049 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17050 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053 cat >conftest.$ac_ext <<_ACEOF
17054 /* confdefs.h. */
17055 _ACEOF
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17059
17060 int
17061 main ()
17062 {
17063
17064 #ifndef _SGI_COMPILER_VERSION
17065 choke me
17066 #endif
17067
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 rm -f conftest.$ac_objext
17073 if { (ac_try="$ac_compile"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17077 esac
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_compile") 2>conftest.er1
17080 ac_status=$?
17081 grep -v '^ *+' conftest.er1 >conftest.err
17082 rm -f conftest.er1
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } && {
17086 test -z "$ac_cxx_werror_flag" ||
17087 test ! -s conftest.err
17088 } && test -s conftest.$ac_objext; then
17089 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17090 else
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17093
17094 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17095
17096 fi
17097
17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099
17100
17101 fi
17102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17103 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17104 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17105 :; SGICXX=yes
17106 else
17107 :;
17108 fi
17109 ac_ext=c
17110 ac_cpp='$CPP $CPPFLAGS'
17111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17114
17115
17116
17117 ;;
17118
17119 Linux*)
17120
17121
17122 ac_ext=cpp
17123 ac_cpp='$CXXCPP $CPPFLAGS'
17124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17127
17128 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17129 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17130 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 cat >conftest.$ac_ext <<_ACEOF
17134 /* confdefs.h. */
17135 _ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139
17140 int
17141 main ()
17142 {
17143
17144 #ifndef __SUNPRO_CC
17145 choke me
17146 #endif
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_cxx_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17169 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17173
17174 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17175
17176 fi
17177
17178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179
17180
17181 fi
17182 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17183 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17184 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17185 :; SUNCXX=yes
17186 else
17187 :;
17188 fi
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194
17195
17196
17197 ;;
17198
17199 HP-UX*)
17200
17201
17202 ac_ext=cpp
17203 ac_cpp='$CXXCPP $CPPFLAGS'
17204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17207
17208 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17209 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17210 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 else
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219
17220 int
17221 main ()
17222 {
17223
17224 #ifndef __HP_aCC
17225 choke me
17226 #endif
17227
17228 ;
17229 return 0;
17230 }
17231 _ACEOF
17232 rm -f conftest.$ac_objext
17233 if { (ac_try="$ac_compile"
17234 case "(($ac_try" in
17235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17237 esac
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_compile") 2>conftest.er1
17240 ac_status=$?
17241 grep -v '^ *+' conftest.er1 >conftest.err
17242 rm -f conftest.er1
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } && {
17246 test -z "$ac_cxx_werror_flag" ||
17247 test ! -s conftest.err
17248 } && test -s conftest.$ac_objext; then
17249 bakefile_cv_cxx_compiler___HP_aCC=yes
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17253
17254 bakefile_cv_cxx_compiler___HP_aCC=no
17255
17256 fi
17257
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259
17260
17261 fi
17262 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17264 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17265 :; HPCXX=yes
17266 else
17267 :;
17268 fi
17269 ac_ext=c
17270 ac_cpp='$CPP $CPPFLAGS'
17271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17274
17275
17276
17277 ;;
17278
17279 OSF1)
17280
17281
17282 ac_ext=cpp
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17289 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17290 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299
17300 int
17301 main ()
17302 {
17303
17304 #ifndef __DECCXX
17305 choke me
17306 #endif
17307
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (ac_try="$ac_compile"
17314 case "(($ac_try" in
17315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17316 *) ac_try_echo=$ac_try;;
17317 esac
17318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17319 (eval "$ac_compile") 2>conftest.er1
17320 ac_status=$?
17321 grep -v '^ *+' conftest.er1 >conftest.err
17322 rm -f conftest.er1
17323 cat conftest.err >&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } && {
17326 test -z "$ac_cxx_werror_flag" ||
17327 test ! -s conftest.err
17328 } && test -s conftest.$ac_objext; then
17329 bakefile_cv_cxx_compiler___DECCXX=yes
17330 else
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.$ac_ext >&5
17333
17334 bakefile_cv_cxx_compiler___DECCXX=no
17335
17336 fi
17337
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339
17340
17341 fi
17342 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17343 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17344 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17345 :; COMPAQCXX=yes
17346 else
17347 :;
17348 fi
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
17355
17356
17357 ;;
17358
17359 SunOS)
17360
17361
17362 ac_ext=cpp
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17367
17368 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379
17380 int
17381 main ()
17382 {
17383
17384 #ifndef __SUNPRO_CC
17385 choke me
17386 #endif
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17415
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17425 :; SUNCXX=yes
17426 else
17427 :;
17428 fi
17429 ac_ext=c
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434
17435
17436
17437 ;;
17438 esac
17439 fi
17440
17441
17442
17443 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17444 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17445 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17446 { (exit 1); exit 1; }; }
17447 fi
17448
17449 if test "x$SUNCXX" != xyes; then
17450 if test -n "$ac_tool_prefix"; then
17451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17452 set dummy ${ac_tool_prefix}ar; ac_word=$2
17453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17455 if test "${ac_cv_prog_AR+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 else
17458 if test -n "$AR"; then
17459 ac_cv_prog_AR="$AR" # Let the user override the test.
17460 else
17461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17462 for as_dir in $PATH
17463 do
17464 IFS=$as_save_IFS
17465 test -z "$as_dir" && as_dir=.
17466 for ac_exec_ext in '' $ac_executable_extensions; do
17467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17468 ac_cv_prog_AR="${ac_tool_prefix}ar"
17469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17470 break 2
17471 fi
17472 done
17473 done
17474 IFS=$as_save_IFS
17475
17476 fi
17477 fi
17478 AR=$ac_cv_prog_AR
17479 if test -n "$AR"; then
17480 { echo "$as_me:$LINENO: result: $AR" >&5
17481 echo "${ECHO_T}$AR" >&6; }
17482 else
17483 { echo "$as_me:$LINENO: result: no" >&5
17484 echo "${ECHO_T}no" >&6; }
17485 fi
17486
17487
17488 fi
17489 if test -z "$ac_cv_prog_AR"; then
17490 ac_ct_AR=$AR
17491 # Extract the first word of "ar", so it can be a program name with args.
17492 set dummy ar; ac_word=$2
17493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17495 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 if test -n "$ac_ct_AR"; then
17499 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17500 else
17501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17502 for as_dir in $PATH
17503 do
17504 IFS=$as_save_IFS
17505 test -z "$as_dir" && as_dir=.
17506 for ac_exec_ext in '' $ac_executable_extensions; do
17507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17508 ac_cv_prog_ac_ct_AR="ar"
17509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17510 break 2
17511 fi
17512 done
17513 done
17514 IFS=$as_save_IFS
17515
17516 fi
17517 fi
17518 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17519 if test -n "$ac_ct_AR"; then
17520 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17521 echo "${ECHO_T}$ac_ct_AR" >&6; }
17522 else
17523 { echo "$as_me:$LINENO: result: no" >&5
17524 echo "${ECHO_T}no" >&6; }
17525 fi
17526
17527 if test "x$ac_ct_AR" = x; then
17528 AR=""
17529 else
17530 case $cross_compiling:$ac_tool_warned in
17531 yes:)
17532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17533 whose name does not start with the host triplet. If you think this
17534 configuration is useful to you, please write to autoconf@gnu.org." >&5
17535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17536 whose name does not start with the host triplet. If you think this
17537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17538 ac_tool_warned=yes ;;
17539 esac
17540 AR=$ac_ct_AR
17541 fi
17542 else
17543 AR="$ac_cv_prog_AR"
17544 fi
17545
17546 if test "x$AR" = "x" ; then
17547 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17548 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17549 { (exit 1); exit 1; }; }
17550 fi
17551 fi
17552
17553 retest_macosx_linking=no
17554
17555 #if test "$wxUSE_MAC" = 1; then
17556 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17557 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17558 # Implicitly turn on the new --with-macosx-sdk using the default
17559 # SDK which provides the behavior this option has always had.
17560 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17561 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17562 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17563 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17564 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17565 wxUSE_MACOSX_SDK=yes
17566 fi
17567 else
17568 # Complain to user if he specified an argument to --enable-universal_binary
17569 # and also 1) specified --with-macosx-sdk using the default (yes) or
17570 # 2) specified --with-macosx-sdk using a path or 3) specified
17571 # --without-macosx-sdk (no).
17572 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17573 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17574 See \`config.log' for more details." >&5
17575 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17576 See \`config.log' for more details." >&2;}
17577 { (exit 1); exit 1; }; }
17578 else
17579 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17580 # special-case the empty string because the below test simply
17581 # converts "no" to the empty string anyway.
17582 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17583 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17584 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17585 fi
17586 fi
17587 OSX_UNIV_OPTS="-arch ppc -arch i386"
17588 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17589 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17590 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17591 retest_macosx_linking=yes
17592
17593 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17594 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17595 bk_use_pch=no
17596 fi
17597 #fi
17598
17599 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17600 wxUSE_MACOSX_SDK=
17601 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17602 # TODO: Search for most recent SDK and use it.
17603 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17604 fi
17605
17606
17607 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17608 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17609 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17610 if ! test -d "$wxUSE_MACOSX_SDK"; then
17611 { { echo "$as_me:$LINENO: error: not found
17612 See \`config.log' for more details." >&5
17613 echo "$as_me: error: not found
17614 See \`config.log' for more details." >&2;}
17615 { (exit 1); exit 1; }; }
17616 else
17617 { echo "$as_me:$LINENO: result: exists" >&5
17618 echo "${ECHO_T}exists" >&6; }
17619 fi
17620 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17621 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17622 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17623 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17624 retest_macosx_linking=yes
17625 fi
17626
17627 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17628 wxUSE_MACOSX_VERSION_MIN=
17629 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17630 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17631 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17632 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17633
17634 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/'`
17635
17636 # If that failed, try again with the new key
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17638
17639 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/'`
17640
17641 fi
17642
17643 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17644 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17645 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17646 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17647 else
17648 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17649 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17650 wxUSE_MACOSX_VERSION_MIN=
17651 fi
17652 else
17653 wxUSE_MACOSX_VERSION_MIN=
17654 fi
17655 fi
17656
17657 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17658 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17659 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17660 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17661 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17662 retest_macosx_linking=yes
17663 fi
17664
17665 if test "x$retest_macosx_linking" = "xyes"; then
17666 ac_ext=c
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17671
17672 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17673 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17674 cat >conftest.$ac_ext <<_ACEOF
17675 /* confdefs.h. */
17676 _ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680
17681 int
17682 main ()
17683 {
17684
17685 ;
17686 return 0;
17687 }
17688 _ACEOF
17689 rm -f conftest.$ac_objext conftest$ac_exeext
17690 if { (ac_try="$ac_link"
17691 case "(($ac_try" in
17692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17693 *) ac_try_echo=$ac_try;;
17694 esac
17695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17696 (eval "$ac_link") 2>conftest.er1
17697 ac_status=$?
17698 grep -v '^ *+' conftest.er1 >conftest.err
17699 rm -f conftest.er1
17700 cat conftest.err >&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } && {
17703 test -z "$ac_c_werror_flag" ||
17704 test ! -s conftest.err
17705 } && test -s conftest$ac_exeext &&
17706 $as_test_x conftest$ac_exeext; then
17707 { echo "$as_me:$LINENO: result: yes" >&5
17708 echo "${ECHO_T}yes" >&6; }
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17714 See \`config.log' for more details." >&5
17715 echo "$as_me: error: no. Try a different SDK
17716 See \`config.log' for more details." >&2;}
17717 { (exit 1); exit 1; }; }; exit 1
17718 fi
17719
17720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17721 conftest$ac_exeext conftest.$ac_ext
17722 ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728
17729 ac_ext=cpp
17730 ac_cpp='$CXXCPP $CPPFLAGS'
17731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17734
17735 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17736 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17737 cat >conftest.$ac_ext <<_ACEOF
17738 /* confdefs.h. */
17739 _ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743
17744 int
17745 main ()
17746 {
17747
17748 ;
17749 return 0;
17750 }
17751 _ACEOF
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (ac_try="$ac_link"
17754 case "(($ac_try" in
17755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17756 *) ac_try_echo=$ac_try;;
17757 esac
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_link") 2>conftest.er1
17760 ac_status=$?
17761 grep -v '^ *+' conftest.er1 >conftest.err
17762 rm -f conftest.er1
17763 cat conftest.err >&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } && {
17766 test -z "$ac_cxx_werror_flag" ||
17767 test ! -s conftest.err
17768 } && test -s conftest$ac_exeext &&
17769 $as_test_x conftest$ac_exeext; then
17770 { echo "$as_me:$LINENO: result: yes" >&5
17771 echo "${ECHO_T}yes" >&6; }
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17777 See \`config.log' for more details." >&5
17778 echo "$as_me: error: no. Try a different SDK
17779 See \`config.log' for more details." >&2;}
17780 { (exit 1); exit 1; }; }; exit 1
17781 fi
17782
17783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17784 conftest$ac_exeext conftest.$ac_ext
17785 ac_ext=c
17786 ac_cpp='$CPP $CPPFLAGS'
17787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17790
17791 fi
17792
17793
17794 case "${host}" in
17795
17796 *-*-darwin* )
17797 INSTALL_PROGRAM="cp -fp"
17798 INSTALL_DATA="cp -fp"
17799 ;;
17800 *)
17801 ;;
17802 esac
17803
17804
17805 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17806 CXXFLAGS="-qunique $CXXFLAGS"
17807 fi
17808
17809 case "${host}" in
17810 powerpc-*-darwin* )
17811 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17812 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17813 cat >conftest.$ac_ext <<_ACEOF
17814 /* confdefs.h. */
17815 _ACEOF
17816 cat confdefs.h >>conftest.$ac_ext
17817 cat >>conftest.$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819
17820 int
17821 main ()
17822 {
17823 #ifndef __POWERPC__
17824 choke me for lack of PowerPC
17825 #endif
17826
17827 ;
17828 return 0;
17829 }
17830 _ACEOF
17831 rm -f conftest.$ac_objext
17832 if { (ac_try="$ac_compile"
17833 case "(($ac_try" in
17834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17836 esac
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_compile") 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && {
17845 test -z "$ac_c_werror_flag" ||
17846 test ! -s conftest.err
17847 } && test -s conftest.$ac_objext; then
17848 { echo "$as_me:$LINENO: result: yes" >&5
17849 echo "${ECHO_T}yes" >&6; }
17850 else
17851 echo "$as_me: failed program was:" >&5
17852 sed 's/^/| /' conftest.$ac_ext >&5
17853
17854 { echo "$as_me:$LINENO: result: no" >&5
17855 echo "${ECHO_T}no" >&6; }
17856 cat >>confdefs.h <<\_ACEOF
17857 #define __POWERPC__ 1
17858 _ACEOF
17859
17860
17861 fi
17862
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17864 ;;
17865 esac
17866
17867 case "${host}" in
17868 *-*-darwin* )
17869 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17870 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <CoreFoundation/CFBase.h>
17878
17879 int
17880 main ()
17881 {
17882
17883 ;
17884 return 0;
17885 }
17886 _ACEOF
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17892 esac
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 { echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6; }
17906 else
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17909
17910 { echo "$as_me:$LINENO: result: no" >&5
17911 echo "${ECHO_T}no" >&6; }
17912 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17913 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #define __CF_USE_FRAMEWORK_INCLUDES__
17921 #include <CoreFoundation/CFBase.h>
17922
17923 int
17924 main ()
17925 {
17926
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext
17932 if { (ac_try="$ac_compile"
17933 case "(($ac_try" in
17934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17936 esac
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_compile") 2>conftest.er1
17939 ac_status=$?
17940 grep -v '^ *+' conftest.er1 >conftest.err
17941 rm -f conftest.er1
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } && {
17945 test -z "$ac_c_werror_flag" ||
17946 test ! -s conftest.err
17947 } && test -s conftest.$ac_objext; then
17948 { echo "$as_me:$LINENO: result: yes" >&5
17949 echo "${ECHO_T}yes" >&6; }
17950 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17951 else
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17954
17955 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17956 See \`config.log' for more details." >&5
17957 echo "$as_me: error: no. CoreFoundation not available.
17958 See \`config.log' for more details." >&2;}
17959 { (exit 1); exit 1; }; }
17960
17961 fi
17962
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964
17965
17966 fi
17967
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 ;;
17970 esac
17971
17972 wants_win32=0
17973 doesnt_want_win32=0
17974 case "${host}" in
17975 *-*-cygwin*)
17976 if test "$wxUSE_MSW" = 1 ; then
17977 wants_win32=1
17978 else
17979 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17980 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17981 if test "${wx_cv_nocygwin+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984
17985 cat >conftest.$ac_ext <<_ACEOF
17986 /* confdefs.h. */
17987 _ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991
17992 int
17993 main ()
17994 {
17995
17996 #ifdef __MINGW32__
17997 choke me
17998 #endif
17999
18000 ;
18001 return 0;
18002 }
18003 _ACEOF
18004 rm -f conftest.$ac_objext
18005 if { (ac_try="$ac_compile"
18006 case "(($ac_try" in
18007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18008 *) ac_try_echo=$ac_try;;
18009 esac
18010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18011 (eval "$ac_compile") 2>conftest.er1
18012 ac_status=$?
18013 grep -v '^ *+' conftest.er1 >conftest.err
18014 rm -f conftest.er1
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } && {
18018 test -z "$ac_c_werror_flag" ||
18019 test ! -s conftest.err
18020 } && test -s conftest.$ac_objext; then
18021 wx_cv_nocygwin=no
18022 else
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18025
18026 wx_cv_nocygwin=yes
18027
18028 fi
18029
18030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18031
18032
18033 fi
18034 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18035 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18036
18037 if test "$wx_cv_nocygwin" = "yes"; then
18038 wants_win32=1
18039 else
18040 doesnt_want_win32=1
18041 fi
18042 fi
18043 if test "$wants_win32" = 1 ; then
18044 BAKEFILE_FORCE_PLATFORM=win32
18045 fi
18046 ;;
18047 *-*-mingw*)
18048 wants_win32=1
18049 ;;
18050 esac
18051
18052 if test "$wxUSE_WINE" = "yes"; then
18053 wants_win32=1
18054 LDFLAGS_GUI="-mwindows"
18055 fi
18056
18057 if test "$wants_win32" = 1 ; then
18058 USE_UNIX=0
18059 USE_WIN32=1
18060 cat >>confdefs.h <<\_ACEOF
18061 #define __WIN32__ 1
18062 _ACEOF
18063
18064 cat >>confdefs.h <<\_ACEOF
18065 #define __WIN95__ 1
18066 _ACEOF
18067
18068 cat >>confdefs.h <<\_ACEOF
18069 #define __WINDOWS__ 1
18070 _ACEOF
18071
18072 cat >>confdefs.h <<\_ACEOF
18073 #define __GNUWIN32__ 1
18074 _ACEOF
18075
18076 cat >>confdefs.h <<\_ACEOF
18077 #define STRICT 1
18078 _ACEOF
18079
18080 fi
18081 if test "$doesnt_want_win32" = 1 ; then
18082 USE_UNIX=1
18083 USE_WIN32=0
18084 fi
18085
18086 if test "$USE_UNIX" = 1 ; then
18087 wxUSE_UNIX=yes
18088 cat >>confdefs.h <<\_ACEOF
18089 #define __UNIX__ 1
18090 _ACEOF
18091
18092 fi
18093
18094 case "${host}" in
18095 *-pc-os2_emx | *-pc-os2-emx )
18096 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18097 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18098 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18099 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18100 echo $ECHO_N "(cached) $ECHO_C" >&6
18101 else
18102 ac_check_lib_save_LIBS=$LIBS
18103 LIBS="-lcExt $LIBS"
18104 cat >conftest.$ac_ext <<_ACEOF
18105 /* confdefs.h. */
18106 _ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18110
18111 /* Override any GCC internal prototype to avoid an error.
18112 Use char because int might match the return type of a GCC
18113 builtin and then its argument prototype would still apply. */
18114 #ifdef __cplusplus
18115 extern "C"
18116 #endif
18117 char drand48 ();
18118 int
18119 main ()
18120 {
18121 return drand48 ();
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 rm -f conftest.$ac_objext conftest$ac_exeext
18127 if { (ac_try="$ac_link"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18131 esac
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_link") 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest$ac_exeext &&
18143 $as_test_x conftest$ac_exeext; then
18144 ac_cv_lib_cExt_drand48=yes
18145 else
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18148
18149 ac_cv_lib_cExt_drand48=no
18150 fi
18151
18152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18153 conftest$ac_exeext conftest.$ac_ext
18154 LIBS=$ac_check_lib_save_LIBS
18155 fi
18156 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18157 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18158 if test $ac_cv_lib_cExt_drand48 = yes; then
18159 LIBS="$LIBS -lcExt"
18160 fi
18161
18162 else
18163 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18164 fi
18165 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18166 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18167 if test "${wx_cv_gccversion+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170
18171 if test "$cross_compiling" = yes; then
18172 wx_cv_gccversion="EMX2"
18173
18174 else
18175 cat >conftest.$ac_ext <<_ACEOF
18176 /* confdefs.h. */
18177 _ACEOF
18178 cat confdefs.h >>conftest.$ac_ext
18179 cat >>conftest.$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18181
18182 #include <stdio.h>
18183
18184 int main()
18185 {
18186 FILE *f=fopen("conftestval", "w");
18187 if (!f) exit(1);
18188 fprintf(f,
18189 #if (__GNUC__ < 3)
18190 "EMX2"
18191 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18192 "EMX3"
18193 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18194 "Innotek5"
18195 #else
18196 "Innotek6"
18197 #endif
18198 );
18199 exit(0);
18200 }
18201
18202 _ACEOF
18203 rm -f conftest$ac_exeext
18204 if { (ac_try="$ac_link"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18208 esac
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_link") 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18214 { (case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18217 esac
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_try") 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 wx_cv_gccversion=`cat conftestval`
18224 else
18225 echo "$as_me: program exited with status $ac_status" >&5
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18228
18229 ( exit $ac_status )
18230 wx_cv_gccversion="EMX2"
18231 fi
18232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18233 fi
18234
18235
18236
18237 fi
18238 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18239 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18240 if test "$wx_cv_gccversion" = "EMX2"; then
18241 LIBS="$LIBS -lstdcpp"
18242 LDFLAGS="$LDFLAGS -Zsysv-signals"
18243 else
18244 if test "$wx_cv_gccversion" = "EMX3"; then
18245 LIBS="$LIBS -lstdcxx -lgcc"
18246 LDFLAGS="$LDFLAGS -Zsysv-signals"
18247 else
18248 LIBS="$LIBS -lstdc++"
18249 fi
18250 fi
18251 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18252 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18253 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18254 wxUSE_OMF=yes
18255 enable_omf=yes
18256 fi
18257 ;;
18258 *)
18259
18260 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18261 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18262 if test "${ac_cv_string_strcasecmp+set}" = set; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272
18273 #include <string.h>
18274
18275 int
18276 main ()
18277 {
18278
18279 strcasecmp("foo", "bar");
18280
18281 ;
18282 return 0;
18283 }
18284 _ACEOF
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (ac_try="$ac_link"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_link") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest$ac_exeext &&
18302 $as_test_x conftest$ac_exeext; then
18303 ac_cv_string_strcasecmp=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18307
18308 ac_cv_string_strcasecmp=no
18309
18310 fi
18311
18312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18313 conftest$ac_exeext conftest.$ac_ext
18314
18315 fi
18316 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18317 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18318
18319 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18320 cat >>confdefs.h <<\_ACEOF
18321 #define HAVE_STRCASECMP_IN_STRING_H 1
18322 _ACEOF
18323
18324 else
18325 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18326 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18327 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 else
18330
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337
18338 #include <strings.h>
18339
18340 int
18341 main ()
18342 {
18343
18344 strcasecmp("foo", "bar");
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext conftest$ac_exeext
18351 if { (ac_try="$ac_link"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_link") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest$ac_exeext &&
18367 $as_test_x conftest$ac_exeext; then
18368 ac_cv_strings_strcasecmp=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18372
18373 ac_cv_strings_strcasecmp=no
18374
18375 fi
18376
18377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18378 conftest$ac_exeext conftest.$ac_ext
18379
18380 fi
18381 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18382 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18383
18384 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18385 cat >>confdefs.h <<\_ACEOF
18386 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18387 _ACEOF
18388
18389 else
18390 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18391 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18392 { (exit 1); exit 1; }; }
18393 fi
18394 fi
18395
18396 ;;
18397 esac
18398
18399
18400 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18402 if test "${ac_cv_header_stdc+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 else
18405 cat >conftest.$ac_ext <<_ACEOF
18406 /* confdefs.h. */
18407 _ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 #include <stdlib.h>
18412 #include <stdarg.h>
18413 #include <string.h>
18414 #include <float.h>
18415
18416 int
18417 main ()
18418 {
18419
18420 ;
18421 return 0;
18422 }
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18429 esac
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18432 ac_status=$?
18433 grep -v '^ *+' conftest.er1 >conftest.err
18434 rm -f conftest.er1
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_c_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 ac_cv_header_stdc=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18445
18446 ac_cv_header_stdc=no
18447 fi
18448
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450
18451 if test $ac_cv_header_stdc = yes; then
18452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <string.h>
18460
18461 _ACEOF
18462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18463 $EGREP "memchr" >/dev/null 2>&1; then
18464 :
18465 else
18466 ac_cv_header_stdc=no
18467 fi
18468 rm -f conftest*
18469
18470 fi
18471
18472 if test $ac_cv_header_stdc = yes; then
18473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18474 cat >conftest.$ac_ext <<_ACEOF
18475 /* confdefs.h. */
18476 _ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18480 #include <stdlib.h>
18481
18482 _ACEOF
18483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18484 $EGREP "free" >/dev/null 2>&1; then
18485 :
18486 else
18487 ac_cv_header_stdc=no
18488 fi
18489 rm -f conftest*
18490
18491 fi
18492
18493 if test $ac_cv_header_stdc = yes; then
18494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18495 if test "$cross_compiling" = yes; then
18496 :
18497 else
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <ctype.h>
18505 #include <stdlib.h>
18506 #if ((' ' & 0x0FF) == 0x020)
18507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18509 #else
18510 # define ISLOWER(c) \
18511 (('a' <= (c) && (c) <= 'i') \
18512 || ('j' <= (c) && (c) <= 'r') \
18513 || ('s' <= (c) && (c) <= 'z'))
18514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18515 #endif
18516
18517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18518 int
18519 main ()
18520 {
18521 int i;
18522 for (i = 0; i < 256; i++)
18523 if (XOR (islower (i), ISLOWER (i))
18524 || toupper (i) != TOUPPER (i))
18525 return 2;
18526 return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest$ac_exeext
18530 if { (ac_try="$ac_link"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_link") 2>&5
18537 ac_status=$?
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18540 { (case "(($ac_try" in
18541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18542 *) ac_try_echo=$ac_try;;
18543 esac
18544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18545 (eval "$ac_try") 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18549 :
18550 else
18551 echo "$as_me: program exited with status $ac_status" >&5
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 ( exit $ac_status )
18556 ac_cv_header_stdc=no
18557 fi
18558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18559 fi
18560
18561
18562 fi
18563 fi
18564 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18566 if test $ac_cv_header_stdc = yes; then
18567
18568 cat >>confdefs.h <<\_ACEOF
18569 #define STDC_HEADERS 1
18570 _ACEOF
18571
18572 fi
18573
18574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18585 inttypes.h stdint.h unistd.h
18586 do
18587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18600
18601 #include <$ac_header>
18602 _ACEOF
18603 rm -f conftest.$ac_objext
18604 if { (ac_try="$ac_compile"
18605 case "(($ac_try" in
18606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18607 *) ac_try_echo=$ac_try;;
18608 esac
18609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18610 (eval "$ac_compile") 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } && {
18617 test -z "$ac_c_werror_flag" ||
18618 test ! -s conftest.err
18619 } && test -s conftest.$ac_objext; then
18620 eval "$as_ac_Header=yes"
18621 else
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.$ac_ext >&5
18624
18625 eval "$as_ac_Header=no"
18626 fi
18627
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 fi
18630 ac_res=`eval echo '${'$as_ac_Header'}'`
18631 { echo "$as_me:$LINENO: result: $ac_res" >&5
18632 echo "${ECHO_T}$ac_res" >&6; }
18633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18634 cat >>confdefs.h <<_ACEOF
18635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18636 _ACEOF
18637
18638 fi
18639
18640 done
18641
18642
18643
18644
18645 for ac_header in langinfo.h wchar.h
18646 do
18647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 else
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18660
18661 #include <$ac_header>
18662 _ACEOF
18663 rm -f conftest.$ac_objext
18664 if { (ac_try="$ac_compile"
18665 case "(($ac_try" in
18666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18667 *) ac_try_echo=$ac_try;;
18668 esac
18669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18670 (eval "$ac_compile") 2>conftest.er1
18671 ac_status=$?
18672 grep -v '^ *+' conftest.er1 >conftest.err
18673 rm -f conftest.er1
18674 cat conftest.err >&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && {
18677 test -z "$ac_c_werror_flag" ||
18678 test ! -s conftest.err
18679 } && test -s conftest.$ac_objext; then
18680 eval "$as_ac_Header=yes"
18681 else
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 eval "$as_ac_Header=no"
18686 fi
18687
18688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 fi
18690 ac_res=`eval echo '${'$as_ac_Header'}'`
18691 { echo "$as_me:$LINENO: result: $ac_res" >&5
18692 echo "${ECHO_T}$ac_res" >&6; }
18693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18694 cat >>confdefs.h <<_ACEOF
18695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18696 _ACEOF
18697
18698 fi
18699
18700 done
18701
18702
18703 if test "$ac_cv_header_wchar_h" != "yes"; then
18704
18705 for ac_header in wcstr.h
18706 do
18707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713 cat >conftest.$ac_ext <<_ACEOF
18714 /* confdefs.h. */
18715 _ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719 $ac_includes_default
18720
18721 #include <$ac_header>
18722 _ACEOF
18723 rm -f conftest.$ac_objext
18724 if { (ac_try="$ac_compile"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18728 esac
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_compile") 2>conftest.er1
18731 ac_status=$?
18732 grep -v '^ *+' conftest.er1 >conftest.err
18733 rm -f conftest.er1
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest.$ac_objext; then
18740 eval "$as_ac_Header=yes"
18741 else
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18744
18745 eval "$as_ac_Header=no"
18746 fi
18747
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18749 fi
18750 ac_res=`eval echo '${'$as_ac_Header'}'`
18751 { echo "$as_me:$LINENO: result: $ac_res" >&5
18752 echo "${ECHO_T}$ac_res" >&6; }
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18756 _ACEOF
18757
18758 fi
18759
18760 done
18761
18762 fi
18763
18764 case "${host}" in
18765 *-pc-os2_emx | *-pc-os2-emx )
18766 if test $ac_cv_header_langinfo_h = "yes" \
18767 -a \( "$wx_cv_gccversion" = "EMX2" \
18768 -o "$wx_cv_gccversion" = "EMX3" \
18769 -o "$wx_cv_gccversion" = "Innotek5" \); then
18770 LIBS="$LIBS -lintl"
18771 fi
18772 ;;
18773 esac
18774
18775 if test "$USE_UNIX" = 1 ; then
18776
18777 for ac_header in sys/select.h
18778 do
18779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6
18784 else
18785 cat >conftest.$ac_ext <<_ACEOF
18786 /* confdefs.h. */
18787 _ACEOF
18788 cat confdefs.h >>conftest.$ac_ext
18789 cat >>conftest.$ac_ext <<_ACEOF
18790 /* end confdefs.h. */
18791 $ac_includes_default
18792
18793 #include <$ac_header>
18794 _ACEOF
18795 rm -f conftest.$ac_objext
18796 if { (ac_try="$ac_compile"
18797 case "(($ac_try" in
18798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18800 esac
18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_compile") 2>conftest.er1
18803 ac_status=$?
18804 grep -v '^ *+' conftest.er1 >conftest.err
18805 rm -f conftest.er1
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } && {
18809 test -z "$ac_c_werror_flag" ||
18810 test ! -s conftest.err
18811 } && test -s conftest.$ac_objext; then
18812 eval "$as_ac_Header=yes"
18813 else
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18816
18817 eval "$as_ac_Header=no"
18818 fi
18819
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18821 fi
18822 ac_res=`eval echo '${'$as_ac_Header'}'`
18823 { echo "$as_me:$LINENO: result: $ac_res" >&5
18824 echo "${ECHO_T}$ac_res" >&6; }
18825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18826 cat >>confdefs.h <<_ACEOF
18827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18828 _ACEOF
18829
18830 fi
18831
18832 done
18833
18834 fi
18835
18836
18837 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18838 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18839 if test "${ac_cv_c_const+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 else
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h. */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848
18849 int
18850 main ()
18851 {
18852 /* FIXME: Include the comments suggested by Paul. */
18853 #ifndef __cplusplus
18854 /* Ultrix mips cc rejects this. */
18855 typedef int charset[2];
18856 const charset cs;
18857 /* SunOS 4.1.1 cc rejects this. */
18858 char const *const *pcpcc;
18859 char **ppc;
18860 /* NEC SVR4.0.2 mips cc rejects this. */
18861 struct point {int x, y;};
18862 static struct point const zero = {0,0};
18863 /* AIX XL C 1.02.0.0 rejects this.
18864 It does not let you subtract one const X* pointer from another in
18865 an arm of an if-expression whose if-part is not a constant
18866 expression */
18867 const char *g = "string";
18868 pcpcc = &g + (g ? g-g : 0);
18869 /* HPUX 7.0 cc rejects these. */
18870 ++pcpcc;
18871 ppc = (char**) pcpcc;
18872 pcpcc = (char const *const *) ppc;
18873 { /* SCO 3.2v4 cc rejects this. */
18874 char *t;
18875 char const *s = 0 ? (char *) 0 : (char const *) 0;
18876
18877 *t++ = 0;
18878 if (s) return 0;
18879 }
18880 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18881 int x[] = {25, 17};
18882 const int *foo = &x[0];
18883 ++foo;
18884 }
18885 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18886 typedef const int *iptr;
18887 iptr p = 0;
18888 ++p;
18889 }
18890 { /* AIX XL C 1.02.0.0 rejects this saying
18891 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18892 struct s { int j; const int *ap[3]; };
18893 struct s *b; b->j = 5;
18894 }
18895 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18896 const int foo = 10;
18897 if (!foo) return 0;
18898 }
18899 return !cs[0] && !zero.x;
18900 #endif
18901
18902 ;
18903 return 0;
18904 }
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (ac_try="$ac_compile"
18908 case "(($ac_try" in
18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18911 esac
18912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_compile") 2>conftest.er1
18914 ac_status=$?
18915 grep -v '^ *+' conftest.er1 >conftest.err
18916 rm -f conftest.er1
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } && {
18920 test -z "$ac_c_werror_flag" ||
18921 test ! -s conftest.err
18922 } && test -s conftest.$ac_objext; then
18923 ac_cv_c_const=yes
18924 else
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18927
18928 ac_cv_c_const=no
18929 fi
18930
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18932 fi
18933 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18934 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18935 if test $ac_cv_c_const = no; then
18936
18937 cat >>confdefs.h <<\_ACEOF
18938 #define const
18939 _ACEOF
18940
18941 fi
18942
18943 { echo "$as_me:$LINENO: checking for inline" >&5
18944 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18945 if test "${ac_cv_c_inline+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948 ac_cv_c_inline=no
18949 for ac_kw in inline __inline__ __inline; do
18950 cat >conftest.$ac_ext <<_ACEOF
18951 /* confdefs.h. */
18952 _ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18956 #ifndef __cplusplus
18957 typedef int foo_t;
18958 static $ac_kw foo_t static_foo () {return 0; }
18959 $ac_kw foo_t foo () {return 0; }
18960 #endif
18961
18962 _ACEOF
18963 rm -f conftest.$ac_objext
18964 if { (ac_try="$ac_compile"
18965 case "(($ac_try" in
18966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18967 *) ac_try_echo=$ac_try;;
18968 esac
18969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18970 (eval "$ac_compile") 2>conftest.er1
18971 ac_status=$?
18972 grep -v '^ *+' conftest.er1 >conftest.err
18973 rm -f conftest.er1
18974 cat conftest.err >&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } && {
18977 test -z "$ac_c_werror_flag" ||
18978 test ! -s conftest.err
18979 } && test -s conftest.$ac_objext; then
18980 ac_cv_c_inline=$ac_kw
18981 else
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18984
18985
18986 fi
18987
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 test "$ac_cv_c_inline" != no && break
18990 done
18991
18992 fi
18993 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18994 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18995
18996
18997 case $ac_cv_c_inline in
18998 inline | yes) ;;
18999 *)
19000 case $ac_cv_c_inline in
19001 no) ac_val=;;
19002 *) ac_val=$ac_cv_c_inline;;
19003 esac
19004 cat >>confdefs.h <<_ACEOF
19005 #ifndef __cplusplus
19006 #define inline $ac_val
19007 #endif
19008 _ACEOF
19009 ;;
19010 esac
19011
19012
19013 { echo "$as_me:$LINENO: checking for short" >&5
19014 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19015 if test "${ac_cv_type_short+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 else
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 $ac_includes_default
19025 typedef short ac__type_new_;
19026 int
19027 main ()
19028 {
19029 if ((ac__type_new_ *) 0)
19030 return 0;
19031 if (sizeof (ac__type_new_))
19032 return 0;
19033 ;
19034 return 0;
19035 }
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19042 esac
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19045 ac_status=$?
19046 grep -v '^ *+' conftest.er1 >conftest.err
19047 rm -f conftest.er1
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_type_short=yes
19055 else
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19058
19059 ac_cv_type_short=no
19060 fi
19061
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 fi
19064 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19065 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19066
19067 # The cast to long int works around a bug in the HP C Compiler
19068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19070 # This bug is HP SR number 8606223364.
19071 { echo "$as_me:$LINENO: checking size of short" >&5
19072 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19073 if test "${ac_cv_sizeof_short+set}" = set; then
19074 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 else
19076 if test "$cross_compiling" = yes; then
19077 # Depending upon the size, compute the lo and hi bounds.
19078 cat >conftest.$ac_ext <<_ACEOF
19079 /* confdefs.h. */
19080 _ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19085 typedef short ac__type_sizeof_;
19086 int
19087 main ()
19088 {
19089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19090 test_array [0] = 0
19091
19092 ;
19093 return 0;
19094 }
19095 _ACEOF
19096 rm -f conftest.$ac_objext
19097 if { (ac_try="$ac_compile"
19098 case "(($ac_try" in
19099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19100 *) ac_try_echo=$ac_try;;
19101 esac
19102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19103 (eval "$ac_compile") 2>conftest.er1
19104 ac_status=$?
19105 grep -v '^ *+' conftest.er1 >conftest.err
19106 rm -f conftest.er1
19107 cat conftest.err >&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } && {
19110 test -z "$ac_c_werror_flag" ||
19111 test ! -s conftest.err
19112 } && test -s conftest.$ac_objext; then
19113 ac_lo=0 ac_mid=0
19114 while :; do
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19122 typedef short ac__type_sizeof_;
19123 int
19124 main ()
19125 {
19126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19127 test_array [0] = 0
19128
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19138 esac
19139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19150 ac_hi=$ac_mid; break
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155 ac_lo=`expr $ac_mid + 1`
19156 if test $ac_lo -le $ac_mid; then
19157 ac_lo= ac_hi=
19158 break
19159 fi
19160 ac_mid=`expr 2 '*' $ac_mid + 1`
19161 fi
19162
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 done
19165 else
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.$ac_ext >&5
19168
19169 cat >conftest.$ac_ext <<_ACEOF
19170 /* confdefs.h. */
19171 _ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19176 typedef short ac__type_sizeof_;
19177 int
19178 main ()
19179 {
19180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19181 test_array [0] = 0
19182
19183 ;
19184 return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19192 esac
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19195 ac_status=$?
19196 grep -v '^ *+' conftest.er1 >conftest.err
19197 rm -f conftest.er1
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.$ac_objext; then
19204 ac_hi=-1 ac_mid=-1
19205 while :; do
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 $ac_includes_default
19213 typedef short ac__type_sizeof_;
19214 int
19215 main ()
19216 {
19217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19218 test_array [0] = 0
19219
19220 ;
19221 return 0;
19222 }
19223 _ACEOF
19224 rm -f conftest.$ac_objext
19225 if { (ac_try="$ac_compile"
19226 case "(($ac_try" in
19227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19228 *) ac_try_echo=$ac_try;;
19229 esac
19230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19231 (eval "$ac_compile") 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } && {
19238 test -z "$ac_c_werror_flag" ||
19239 test ! -s conftest.err
19240 } && test -s conftest.$ac_objext; then
19241 ac_lo=$ac_mid; break
19242 else
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19245
19246 ac_hi=`expr '(' $ac_mid ')' - 1`
19247 if test $ac_mid -le $ac_hi; then
19248 ac_lo= ac_hi=
19249 break
19250 fi
19251 ac_mid=`expr 2 '*' $ac_mid`
19252 fi
19253
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19255 done
19256 else
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19259
19260 ac_lo= ac_hi=
19261 fi
19262
19263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 fi
19265
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 # Binary search between lo and hi bounds.
19268 while test "x$ac_lo" != "x$ac_hi"; do
19269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 $ac_includes_default
19277 typedef short ac__type_sizeof_;
19278 int
19279 main ()
19280 {
19281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19282 test_array [0] = 0
19283
19284 ;
19285 return 0;
19286 }
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19293 esac
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.$ac_objext; then
19305 ac_hi=$ac_mid
19306 else
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19309
19310 ac_lo=`expr '(' $ac_mid ')' + 1`
19311 fi
19312
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 done
19315 case $ac_lo in
19316 ?*) ac_cv_sizeof_short=$ac_lo;;
19317 '') if test "$ac_cv_type_short" = yes; then
19318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19319 See \`config.log' for more details." >&5
19320 echo "$as_me: error: cannot compute sizeof (short)
19321 See \`config.log' for more details." >&2;}
19322 { (exit 77); exit 77; }; }
19323 else
19324 ac_cv_sizeof_short=0
19325 fi ;;
19326 esac
19327 else
19328 cat >conftest.$ac_ext <<_ACEOF
19329 /* confdefs.h. */
19330 _ACEOF
19331 cat confdefs.h >>conftest.$ac_ext
19332 cat >>conftest.$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19334 $ac_includes_default
19335 typedef short ac__type_sizeof_;
19336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19338 #include <stdio.h>
19339 #include <stdlib.h>
19340 int
19341 main ()
19342 {
19343
19344 FILE *f = fopen ("conftest.val", "w");
19345 if (! f)
19346 return 1;
19347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19348 {
19349 long int i = longval ();
19350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19351 return 1;
19352 fprintf (f, "%ld\n", i);
19353 }
19354 else
19355 {
19356 unsigned long int i = ulongval ();
19357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19358 return 1;
19359 fprintf (f, "%lu\n", i);
19360 }
19361 return ferror (f) || fclose (f) != 0;
19362
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 rm -f conftest$ac_exeext
19368 if { (ac_try="$ac_link"
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_link") 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19378 { (case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19381 esac
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_try") 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_sizeof_short=`cat conftest.val`
19388 else
19389 echo "$as_me: program exited with status $ac_status" >&5
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.$ac_ext >&5
19392
19393 ( exit $ac_status )
19394 if test "$ac_cv_type_short" = yes; then
19395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19396 See \`config.log' for more details." >&5
19397 echo "$as_me: error: cannot compute sizeof (short)
19398 See \`config.log' for more details." >&2;}
19399 { (exit 77); exit 77; }; }
19400 else
19401 ac_cv_sizeof_short=0
19402 fi
19403 fi
19404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19405 fi
19406 rm -f conftest.val
19407 fi
19408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19409 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19410
19411
19412
19413 cat >>confdefs.h <<_ACEOF
19414 #define SIZEOF_SHORT $ac_cv_sizeof_short
19415 _ACEOF
19416
19417
19418 { echo "$as_me:$LINENO: checking for void *" >&5
19419 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19420 if test "${ac_cv_type_void_p+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 else
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 $ac_includes_default
19430 typedef void * ac__type_new_;
19431 int
19432 main ()
19433 {
19434 if ((ac__type_new_ *) 0)
19435 return 0;
19436 if (sizeof (ac__type_new_))
19437 return 0;
19438 ;
19439 return 0;
19440 }
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19447 esac
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19450 ac_status=$?
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
19459 ac_cv_type_void_p=yes
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19463
19464 ac_cv_type_void_p=no
19465 fi
19466
19467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 fi
19469 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19470 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19471
19472 # The cast to long int works around a bug in the HP C Compiler
19473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19475 # This bug is HP SR number 8606223364.
19476 { echo "$as_me:$LINENO: checking size of void *" >&5
19477 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19478 if test "${ac_cv_sizeof_void_p+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19480 else
19481 if test "$cross_compiling" = yes; then
19482 # Depending upon the size, compute the lo and hi bounds.
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19490 typedef void * ac__type_sizeof_;
19491 int
19492 main ()
19493 {
19494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19495 test_array [0] = 0
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (ac_try="$ac_compile"
19503 case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19506 esac
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_compile") 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && {
19515 test -z "$ac_c_werror_flag" ||
19516 test ! -s conftest.err
19517 } && test -s conftest.$ac_objext; then
19518 ac_lo=0 ac_mid=0
19519 while :; do
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19527 typedef void * ac__type_sizeof_;
19528 int
19529 main ()
19530 {
19531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19532 test_array [0] = 0
19533
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_hi=$ac_mid; break
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_lo=`expr $ac_mid + 1`
19561 if test $ac_lo -le $ac_mid; then
19562 ac_lo= ac_hi=
19563 break
19564 fi
19565 ac_mid=`expr 2 '*' $ac_mid + 1`
19566 fi
19567
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 done
19570 else
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19573
19574 cat >conftest.$ac_ext <<_ACEOF
19575 /* confdefs.h. */
19576 _ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 $ac_includes_default
19581 typedef void * ac__type_sizeof_;
19582 int
19583 main ()
19584 {
19585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19586 test_array [0] = 0
19587
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 ac_hi=-1 ac_mid=-1
19610 while :; do
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19618 typedef void * ac__type_sizeof_;
19619 int
19620 main ()
19621 {
19622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19623 test_array [0] = 0
19624
19625 ;
19626 return 0;
19627 }
19628 _ACEOF
19629 rm -f conftest.$ac_objext
19630 if { (ac_try="$ac_compile"
19631 case "(($ac_try" in
19632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19633 *) ac_try_echo=$ac_try;;
19634 esac
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_compile") 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && {
19643 test -z "$ac_c_werror_flag" ||
19644 test ! -s conftest.err
19645 } && test -s conftest.$ac_objext; then
19646 ac_lo=$ac_mid; break
19647 else
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19650
19651 ac_hi=`expr '(' $ac_mid ')' - 1`
19652 if test $ac_mid -le $ac_hi; then
19653 ac_lo= ac_hi=
19654 break
19655 fi
19656 ac_mid=`expr 2 '*' $ac_mid`
19657 fi
19658
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660 done
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19664
19665 ac_lo= ac_hi=
19666 fi
19667
19668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 fi
19670
19671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 # Binary search between lo and hi bounds.
19673 while test "x$ac_lo" != "x$ac_hi"; do
19674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 typedef void * ac__type_sizeof_;
19683 int
19684 main ()
19685 {
19686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19687 test_array [0] = 0
19688
19689 ;
19690 return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698 esac
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19710 ac_hi=$ac_mid
19711 else
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19714
19715 ac_lo=`expr '(' $ac_mid ')' + 1`
19716 fi
19717
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 done
19720 case $ac_lo in
19721 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19722 '') if test "$ac_cv_type_void_p" = yes; then
19723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19724 See \`config.log' for more details." >&5
19725 echo "$as_me: error: cannot compute sizeof (void *)
19726 See \`config.log' for more details." >&2;}
19727 { (exit 77); exit 77; }; }
19728 else
19729 ac_cv_sizeof_void_p=0
19730 fi ;;
19731 esac
19732 else
19733 cat >conftest.$ac_ext <<_ACEOF
19734 /* confdefs.h. */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef void * ac__type_sizeof_;
19741 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19742 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19743 #include <stdio.h>
19744 #include <stdlib.h>
19745 int
19746 main ()
19747 {
19748
19749 FILE *f = fopen ("conftest.val", "w");
19750 if (! f)
19751 return 1;
19752 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19753 {
19754 long int i = longval ();
19755 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19756 return 1;
19757 fprintf (f, "%ld\n", i);
19758 }
19759 else
19760 {
19761 unsigned long int i = ulongval ();
19762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19763 return 1;
19764 fprintf (f, "%lu\n", i);
19765 }
19766 return ferror (f) || fclose (f) != 0;
19767
19768 ;
19769 return 0;
19770 }
19771 _ACEOF
19772 rm -f conftest$ac_exeext
19773 if { (ac_try="$ac_link"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19777 esac
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_link") 2>&5
19780 ac_status=$?
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19783 { (case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19786 esac
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_try") 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_cv_sizeof_void_p=`cat conftest.val`
19793 else
19794 echo "$as_me: program exited with status $ac_status" >&5
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19797
19798 ( exit $ac_status )
19799 if test "$ac_cv_type_void_p" = yes; then
19800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19801 See \`config.log' for more details." >&5
19802 echo "$as_me: error: cannot compute sizeof (void *)
19803 See \`config.log' for more details." >&2;}
19804 { (exit 77); exit 77; }; }
19805 else
19806 ac_cv_sizeof_void_p=0
19807 fi
19808 fi
19809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19810 fi
19811 rm -f conftest.val
19812 fi
19813 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19814 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19815
19816
19817
19818 cat >>confdefs.h <<_ACEOF
19819 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19820 _ACEOF
19821
19822
19823 { echo "$as_me:$LINENO: checking for int" >&5
19824 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19825 if test "${ac_cv_type_int+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 cat >conftest.$ac_ext <<_ACEOF
19829 /* confdefs.h. */
19830 _ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19835 typedef int ac__type_new_;
19836 int
19837 main ()
19838 {
19839 if ((ac__type_new_ *) 0)
19840 return 0;
19841 if (sizeof (ac__type_new_))
19842 return 0;
19843 ;
19844 return 0;
19845 }
19846 _ACEOF
19847 rm -f conftest.$ac_objext
19848 if { (ac_try="$ac_compile"
19849 case "(($ac_try" in
19850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19851 *) ac_try_echo=$ac_try;;
19852 esac
19853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19854 (eval "$ac_compile") 2>conftest.er1
19855 ac_status=$?
19856 grep -v '^ *+' conftest.er1 >conftest.err
19857 rm -f conftest.er1
19858 cat conftest.err >&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } && {
19861 test -z "$ac_c_werror_flag" ||
19862 test ! -s conftest.err
19863 } && test -s conftest.$ac_objext; then
19864 ac_cv_type_int=yes
19865 else
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.$ac_ext >&5
19868
19869 ac_cv_type_int=no
19870 fi
19871
19872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19873 fi
19874 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19875 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19876
19877 # The cast to long int works around a bug in the HP C Compiler
19878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19880 # This bug is HP SR number 8606223364.
19881 { echo "$as_me:$LINENO: checking size of int" >&5
19882 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19883 if test "${ac_cv_sizeof_int+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 else
19886 if test "$cross_compiling" = yes; then
19887 # Depending upon the size, compute the lo and hi bounds.
19888 cat >conftest.$ac_ext <<_ACEOF
19889 /* confdefs.h. */
19890 _ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 typedef int ac__type_sizeof_;
19896 int
19897 main ()
19898 {
19899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19900 test_array [0] = 0
19901
19902 ;
19903 return 0;
19904 }
19905 _ACEOF
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19911 esac
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_lo=0 ac_mid=0
19924 while :; do
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19932 typedef int ac__type_sizeof_;
19933 int
19934 main ()
19935 {
19936 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19937 test_array [0] = 0
19938
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_hi=$ac_mid; break
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 ac_lo=`expr $ac_mid + 1`
19966 if test $ac_lo -le $ac_mid; then
19967 ac_lo= ac_hi=
19968 break
19969 fi
19970 ac_mid=`expr 2 '*' $ac_mid + 1`
19971 fi
19972
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 done
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19978
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 typedef int ac__type_sizeof_;
19987 int
19988 main ()
19989 {
19990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19991 test_array [0] = 0
19992
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20002 esac
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20005 ac_status=$?
20006 grep -v '^ *+' conftest.er1 >conftest.err
20007 rm -f conftest.er1
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.$ac_objext; then
20014 ac_hi=-1 ac_mid=-1
20015 while :; do
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 typedef int ac__type_sizeof_;
20024 int
20025 main ()
20026 {
20027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20028 test_array [0] = 0
20029
20030 ;
20031 return 0;
20032 }
20033 _ACEOF
20034 rm -f conftest.$ac_objext
20035 if { (ac_try="$ac_compile"
20036 case "(($ac_try" in
20037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20038 *) ac_try_echo=$ac_try;;
20039 esac
20040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20041 (eval "$ac_compile") 2>conftest.er1
20042 ac_status=$?
20043 grep -v '^ *+' conftest.er1 >conftest.err
20044 rm -f conftest.er1
20045 cat conftest.err >&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } && {
20048 test -z "$ac_c_werror_flag" ||
20049 test ! -s conftest.err
20050 } && test -s conftest.$ac_objext; then
20051 ac_lo=$ac_mid; break
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20055
20056 ac_hi=`expr '(' $ac_mid ')' - 1`
20057 if test $ac_mid -le $ac_hi; then
20058 ac_lo= ac_hi=
20059 break
20060 fi
20061 ac_mid=`expr 2 '*' $ac_mid`
20062 fi
20063
20064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20065 done
20066 else
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20069
20070 ac_lo= ac_hi=
20071 fi
20072
20073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 fi
20075
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 # Binary search between lo and hi bounds.
20078 while test "x$ac_lo" != "x$ac_hi"; do
20079 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20080 cat >conftest.$ac_ext <<_ACEOF
20081 /* confdefs.h. */
20082 _ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 $ac_includes_default
20087 typedef int ac__type_sizeof_;
20088 int
20089 main ()
20090 {
20091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20092 test_array [0] = 0
20093
20094 ;
20095 return 0;
20096 }
20097 _ACEOF
20098 rm -f conftest.$ac_objext
20099 if { (ac_try="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20103 esac
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20106 ac_status=$?
20107 grep -v '^ *+' conftest.er1 >conftest.err
20108 rm -f conftest.er1
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && {
20112 test -z "$ac_c_werror_flag" ||
20113 test ! -s conftest.err
20114 } && test -s conftest.$ac_objext; then
20115 ac_hi=$ac_mid
20116 else
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20119
20120 ac_lo=`expr '(' $ac_mid ')' + 1`
20121 fi
20122
20123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 done
20125 case $ac_lo in
20126 ?*) ac_cv_sizeof_int=$ac_lo;;
20127 '') if test "$ac_cv_type_int" = yes; then
20128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20129 See \`config.log' for more details." >&5
20130 echo "$as_me: error: cannot compute sizeof (int)
20131 See \`config.log' for more details." >&2;}
20132 { (exit 77); exit 77; }; }
20133 else
20134 ac_cv_sizeof_int=0
20135 fi ;;
20136 esac
20137 else
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef int ac__type_sizeof_;
20146 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20147 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20148 #include <stdio.h>
20149 #include <stdlib.h>
20150 int
20151 main ()
20152 {
20153
20154 FILE *f = fopen ("conftest.val", "w");
20155 if (! f)
20156 return 1;
20157 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20158 {
20159 long int i = longval ();
20160 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20161 return 1;
20162 fprintf (f, "%ld\n", i);
20163 }
20164 else
20165 {
20166 unsigned long int i = ulongval ();
20167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20168 return 1;
20169 fprintf (f, "%lu\n", i);
20170 }
20171 return ferror (f) || fclose (f) != 0;
20172
20173 ;
20174 return 0;
20175 }
20176 _ACEOF
20177 rm -f conftest$ac_exeext
20178 if { (ac_try="$ac_link"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20182 esac
20183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_link") 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20188 { (case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20191 esac
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_try") 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 ac_cv_sizeof_int=`cat conftest.val`
20198 else
20199 echo "$as_me: program exited with status $ac_status" >&5
20200 echo "$as_me: failed program was:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20202
20203 ( exit $ac_status )
20204 if test "$ac_cv_type_int" = yes; then
20205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20206 See \`config.log' for more details." >&5
20207 echo "$as_me: error: cannot compute sizeof (int)
20208 See \`config.log' for more details." >&2;}
20209 { (exit 77); exit 77; }; }
20210 else
20211 ac_cv_sizeof_int=0
20212 fi
20213 fi
20214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20215 fi
20216 rm -f conftest.val
20217 fi
20218 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20219 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20220
20221
20222
20223 cat >>confdefs.h <<_ACEOF
20224 #define SIZEOF_INT $ac_cv_sizeof_int
20225 _ACEOF
20226
20227
20228 { echo "$as_me:$LINENO: checking for long" >&5
20229 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20230 if test "${ac_cv_type_long+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 else
20233 cat >conftest.$ac_ext <<_ACEOF
20234 /* confdefs.h. */
20235 _ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 $ac_includes_default
20240 typedef long ac__type_new_;
20241 int
20242 main ()
20243 {
20244 if ((ac__type_new_ *) 0)
20245 return 0;
20246 if (sizeof (ac__type_new_))
20247 return 0;
20248 ;
20249 return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest.$ac_objext
20253 if { (ac_try="$ac_compile"
20254 case "(($ac_try" in
20255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 *) ac_try_echo=$ac_try;;
20257 esac
20258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 (eval "$ac_compile") 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } && {
20266 test -z "$ac_c_werror_flag" ||
20267 test ! -s conftest.err
20268 } && test -s conftest.$ac_objext; then
20269 ac_cv_type_long=yes
20270 else
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20273
20274 ac_cv_type_long=no
20275 fi
20276
20277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20278 fi
20279 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20280 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20281
20282 # The cast to long int works around a bug in the HP C Compiler
20283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20285 # This bug is HP SR number 8606223364.
20286 { echo "$as_me:$LINENO: checking size of long" >&5
20287 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20288 if test "${ac_cv_sizeof_long+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 else
20291 if test "$cross_compiling" = yes; then
20292 # Depending upon the size, compute the lo and hi bounds.
20293 cat >conftest.$ac_ext <<_ACEOF
20294 /* confdefs.h. */
20295 _ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 $ac_includes_default
20300 typedef long ac__type_sizeof_;
20301 int
20302 main ()
20303 {
20304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20305 test_array [0] = 0
20306
20307 ;
20308 return 0;
20309 }
20310 _ACEOF
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20316 esac
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20319 ac_status=$?
20320 grep -v '^ *+' conftest.er1 >conftest.err
20321 rm -f conftest.er1
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 ac_lo=0 ac_mid=0
20329 while :; do
20330 cat >conftest.$ac_ext <<_ACEOF
20331 /* confdefs.h. */
20332 _ACEOF
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 $ac_includes_default
20337 typedef long ac__type_sizeof_;
20338 int
20339 main ()
20340 {
20341 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20342 test_array [0] = 0
20343
20344 ;
20345 return 0;
20346 }
20347 _ACEOF
20348 rm -f conftest.$ac_objext
20349 if { (ac_try="$ac_compile"
20350 case "(($ac_try" in
20351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20352 *) ac_try_echo=$ac_try;;
20353 esac
20354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20355 (eval "$ac_compile") 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } && {
20362 test -z "$ac_c_werror_flag" ||
20363 test ! -s conftest.err
20364 } && test -s conftest.$ac_objext; then
20365 ac_hi=$ac_mid; break
20366 else
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.$ac_ext >&5
20369
20370 ac_lo=`expr $ac_mid + 1`
20371 if test $ac_lo -le $ac_mid; then
20372 ac_lo= ac_hi=
20373 break
20374 fi
20375 ac_mid=`expr 2 '*' $ac_mid + 1`
20376 fi
20377
20378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20379 done
20380 else
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20383
20384 cat >conftest.$ac_ext <<_ACEOF
20385 /* confdefs.h. */
20386 _ACEOF
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390 $ac_includes_default
20391 typedef long ac__type_sizeof_;
20392 int
20393 main ()
20394 {
20395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20396 test_array [0] = 0
20397
20398 ;
20399 return 0;
20400 }
20401 _ACEOF
20402 rm -f conftest.$ac_objext
20403 if { (ac_try="$ac_compile"
20404 case "(($ac_try" in
20405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20406 *) ac_try_echo=$ac_try;;
20407 esac
20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20409 (eval "$ac_compile") 2>conftest.er1
20410 ac_status=$?
20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && {
20416 test -z "$ac_c_werror_flag" ||
20417 test ! -s conftest.err
20418 } && test -s conftest.$ac_objext; then
20419 ac_hi=-1 ac_mid=-1
20420 while :; do
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h. */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 $ac_includes_default
20428 typedef long ac__type_sizeof_;
20429 int
20430 main ()
20431 {
20432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20433 test_array [0] = 0
20434
20435 ;
20436 return 0;
20437 }
20438 _ACEOF
20439 rm -f conftest.$ac_objext
20440 if { (ac_try="$ac_compile"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20444 esac
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_compile") 2>conftest.er1
20447 ac_status=$?
20448 grep -v '^ *+' conftest.er1 >conftest.err
20449 rm -f conftest.er1
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } && {
20453 test -z "$ac_c_werror_flag" ||
20454 test ! -s conftest.err
20455 } && test -s conftest.$ac_objext; then
20456 ac_lo=$ac_mid; break
20457 else
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.$ac_ext >&5
20460
20461 ac_hi=`expr '(' $ac_mid ')' - 1`
20462 if test $ac_mid -le $ac_hi; then
20463 ac_lo= ac_hi=
20464 break
20465 fi
20466 ac_mid=`expr 2 '*' $ac_mid`
20467 fi
20468
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20470 done
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_lo= ac_hi=
20476 fi
20477
20478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 fi
20480
20481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20482 # Binary search between lo and hi bounds.
20483 while test "x$ac_lo" != "x$ac_hi"; do
20484 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 $ac_includes_default
20492 typedef long ac__type_sizeof_;
20493 int
20494 main ()
20495 {
20496 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20497 test_array [0] = 0
20498
20499 ;
20500 return 0;
20501 }
20502 _ACEOF
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20511 ac_status=$?
20512 grep -v '^ *+' conftest.er1 >conftest.err
20513 rm -f conftest.er1
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_hi=$ac_mid
20521 else
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20524
20525 ac_lo=`expr '(' $ac_mid ')' + 1`
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 done
20530 case $ac_lo in
20531 ?*) ac_cv_sizeof_long=$ac_lo;;
20532 '') if test "$ac_cv_type_long" = yes; then
20533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20534 See \`config.log' for more details." >&5
20535 echo "$as_me: error: cannot compute sizeof (long)
20536 See \`config.log' for more details." >&2;}
20537 { (exit 77); exit 77; }; }
20538 else
20539 ac_cv_sizeof_long=0
20540 fi ;;
20541 esac
20542 else
20543 cat >conftest.$ac_ext <<_ACEOF
20544 /* confdefs.h. */
20545 _ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef long ac__type_sizeof_;
20551 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20552 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20553 #include <stdio.h>
20554 #include <stdlib.h>
20555 int
20556 main ()
20557 {
20558
20559 FILE *f = fopen ("conftest.val", "w");
20560 if (! f)
20561 return 1;
20562 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20563 {
20564 long int i = longval ();
20565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20566 return 1;
20567 fprintf (f, "%ld\n", i);
20568 }
20569 else
20570 {
20571 unsigned long int i = ulongval ();
20572 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20573 return 1;
20574 fprintf (f, "%lu\n", i);
20575 }
20576 return ferror (f) || fclose (f) != 0;
20577
20578 ;
20579 return 0;
20580 }
20581 _ACEOF
20582 rm -f conftest$ac_exeext
20583 if { (ac_try="$ac_link"
20584 case "(($ac_try" in
20585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20586 *) ac_try_echo=$ac_try;;
20587 esac
20588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20589 (eval "$ac_link") 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20593 { (case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595 *) ac_try_echo=$ac_try;;
20596 esac
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_try") 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 ac_cv_sizeof_long=`cat conftest.val`
20603 else
20604 echo "$as_me: program exited with status $ac_status" >&5
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20607
20608 ( exit $ac_status )
20609 if test "$ac_cv_type_long" = yes; then
20610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20611 See \`config.log' for more details." >&5
20612 echo "$as_me: error: cannot compute sizeof (long)
20613 See \`config.log' for more details." >&2;}
20614 { (exit 77); exit 77; }; }
20615 else
20616 ac_cv_sizeof_long=0
20617 fi
20618 fi
20619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20620 fi
20621 rm -f conftest.val
20622 fi
20623 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20624 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20625
20626
20627
20628 cat >>confdefs.h <<_ACEOF
20629 #define SIZEOF_LONG $ac_cv_sizeof_long
20630 _ACEOF
20631
20632
20633 { echo "$as_me:$LINENO: checking for size_t" >&5
20634 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20635 if test "${ac_cv_type_size_t+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 typedef size_t ac__type_new_;
20646 int
20647 main ()
20648 {
20649 if ((ac__type_new_ *) 0)
20650 return 0;
20651 if (sizeof (ac__type_new_))
20652 return 0;
20653 ;
20654 return 0;
20655 }
20656 _ACEOF
20657 rm -f conftest.$ac_objext
20658 if { (ac_try="$ac_compile"
20659 case "(($ac_try" in
20660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20661 *) ac_try_echo=$ac_try;;
20662 esac
20663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20664 (eval "$ac_compile") 2>conftest.er1
20665 ac_status=$?
20666 grep -v '^ *+' conftest.er1 >conftest.err
20667 rm -f conftest.er1
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } && {
20671 test -z "$ac_c_werror_flag" ||
20672 test ! -s conftest.err
20673 } && test -s conftest.$ac_objext; then
20674 ac_cv_type_size_t=yes
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 ac_cv_type_size_t=no
20680 fi
20681
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 fi
20684 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20685 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20686
20687 # The cast to long int works around a bug in the HP C Compiler
20688 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20689 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20690 # This bug is HP SR number 8606223364.
20691 { echo "$as_me:$LINENO: checking size of size_t" >&5
20692 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20693 if test "${ac_cv_sizeof_size_t+set}" = set; then
20694 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 else
20696 if test "$cross_compiling" = yes; then
20697 # Depending upon the size, compute the lo and hi bounds.
20698 cat >conftest.$ac_ext <<_ACEOF
20699 /* confdefs.h. */
20700 _ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 $ac_includes_default
20705 typedef size_t ac__type_sizeof_;
20706 int
20707 main ()
20708 {
20709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20710 test_array [0] = 0
20711
20712 ;
20713 return 0;
20714 }
20715 _ACEOF
20716 rm -f conftest.$ac_objext
20717 if { (ac_try="$ac_compile"
20718 case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20721 esac
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_compile") 2>conftest.er1
20724 ac_status=$?
20725 grep -v '^ *+' conftest.er1 >conftest.err
20726 rm -f conftest.er1
20727 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } && {
20730 test -z "$ac_c_werror_flag" ||
20731 test ! -s conftest.err
20732 } && test -s conftest.$ac_objext; then
20733 ac_lo=0 ac_mid=0
20734 while :; do
20735 cat >conftest.$ac_ext <<_ACEOF
20736 /* confdefs.h. */
20737 _ACEOF
20738 cat confdefs.h >>conftest.$ac_ext
20739 cat >>conftest.$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 $ac_includes_default
20742 typedef size_t ac__type_sizeof_;
20743 int
20744 main ()
20745 {
20746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20747 test_array [0] = 0
20748
20749 ;
20750 return 0;
20751 }
20752 _ACEOF
20753 rm -f conftest.$ac_objext
20754 if { (ac_try="$ac_compile"
20755 case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20758 esac
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.$ac_objext; then
20770 ac_hi=$ac_mid; break
20771 else
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.$ac_ext >&5
20774
20775 ac_lo=`expr $ac_mid + 1`
20776 if test $ac_lo -le $ac_mid; then
20777 ac_lo= ac_hi=
20778 break
20779 fi
20780 ac_mid=`expr 2 '*' $ac_mid + 1`
20781 fi
20782
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 done
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 cat >conftest.$ac_ext <<_ACEOF
20790 /* confdefs.h. */
20791 _ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 typedef size_t ac__type_sizeof_;
20797 int
20798 main ()
20799 {
20800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20801 test_array [0] = 0
20802
20803 ;
20804 return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20812 esac
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20815 ac_status=$?
20816 grep -v '^ *+' conftest.er1 >conftest.err
20817 rm -f conftest.er1
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && {
20821 test -z "$ac_c_werror_flag" ||
20822 test ! -s conftest.err
20823 } && test -s conftest.$ac_objext; then
20824 ac_hi=-1 ac_mid=-1
20825 while :; do
20826 cat >conftest.$ac_ext <<_ACEOF
20827 /* confdefs.h. */
20828 _ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 $ac_includes_default
20833 typedef size_t ac__type_sizeof_;
20834 int
20835 main ()
20836 {
20837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20838 test_array [0] = 0
20839
20840 ;
20841 return 0;
20842 }
20843 _ACEOF
20844 rm -f conftest.$ac_objext
20845 if { (ac_try="$ac_compile"
20846 case "(($ac_try" in
20847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20848 *) ac_try_echo=$ac_try;;
20849 esac
20850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20851 (eval "$ac_compile") 2>conftest.er1
20852 ac_status=$?
20853 grep -v '^ *+' conftest.er1 >conftest.err
20854 rm -f conftest.er1
20855 cat conftest.err >&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } && {
20858 test -z "$ac_c_werror_flag" ||
20859 test ! -s conftest.err
20860 } && test -s conftest.$ac_objext; then
20861 ac_lo=$ac_mid; break
20862 else
20863 echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20865
20866 ac_hi=`expr '(' $ac_mid ')' - 1`
20867 if test $ac_mid -le $ac_hi; then
20868 ac_lo= ac_hi=
20869 break
20870 fi
20871 ac_mid=`expr 2 '*' $ac_mid`
20872 fi
20873
20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875 done
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880 ac_lo= ac_hi=
20881 fi
20882
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884 fi
20885
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 # Binary search between lo and hi bounds.
20888 while test "x$ac_lo" != "x$ac_hi"; do
20889 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 typedef size_t ac__type_sizeof_;
20898 int
20899 main ()
20900 {
20901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20902 test_array [0] = 0
20903
20904 ;
20905 return 0;
20906 }
20907 _ACEOF
20908 rm -f conftest.$ac_objext
20909 if { (ac_try="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20913 esac
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20925 ac_hi=$ac_mid
20926 else
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 ac_lo=`expr '(' $ac_mid ')' + 1`
20931 fi
20932
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 done
20935 case $ac_lo in
20936 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20937 '') if test "$ac_cv_type_size_t" = yes; then
20938 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20939 See \`config.log' for more details." >&5
20940 echo "$as_me: error: cannot compute sizeof (size_t)
20941 See \`config.log' for more details." >&2;}
20942 { (exit 77); exit 77; }; }
20943 else
20944 ac_cv_sizeof_size_t=0
20945 fi ;;
20946 esac
20947 else
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef size_t ac__type_sizeof_;
20956 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20957 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20958 #include <stdio.h>
20959 #include <stdlib.h>
20960 int
20961 main ()
20962 {
20963
20964 FILE *f = fopen ("conftest.val", "w");
20965 if (! f)
20966 return 1;
20967 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20968 {
20969 long int i = longval ();
20970 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20971 return 1;
20972 fprintf (f, "%ld\n", i);
20973 }
20974 else
20975 {
20976 unsigned long int i = ulongval ();
20977 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20978 return 1;
20979 fprintf (f, "%lu\n", i);
20980 }
20981 return ferror (f) || fclose (f) != 0;
20982
20983 ;
20984 return 0;
20985 }
20986 _ACEOF
20987 rm -f conftest$ac_exeext
20988 if { (ac_try="$ac_link"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20991 *) ac_try_echo=$ac_try;;
20992 esac
20993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_link") 2>&5
20995 ac_status=$?
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20998 { (case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_try") 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 ac_cv_sizeof_size_t=`cat conftest.val`
21008 else
21009 echo "$as_me: program exited with status $ac_status" >&5
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21012
21013 ( exit $ac_status )
21014 if test "$ac_cv_type_size_t" = yes; then
21015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21016 See \`config.log' for more details." >&5
21017 echo "$as_me: error: cannot compute sizeof (size_t)
21018 See \`config.log' for more details." >&2;}
21019 { (exit 77); exit 77; }; }
21020 else
21021 ac_cv_sizeof_size_t=0
21022 fi
21023 fi
21024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21025 fi
21026 rm -f conftest.val
21027 fi
21028 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21029 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21030
21031
21032
21033 cat >>confdefs.h <<_ACEOF
21034 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21035 _ACEOF
21036
21037
21038
21039 case "${host}" in
21040 arm-*-linux* )
21041 { echo "$as_me:$LINENO: checking for long long" >&5
21042 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21043 if test "${ac_cv_type_long_long+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 else
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h. */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 $ac_includes_default
21053 typedef long long ac__type_new_;
21054 int
21055 main ()
21056 {
21057 if ((ac__type_new_ *) 0)
21058 return 0;
21059 if (sizeof (ac__type_new_))
21060 return 0;
21061 ;
21062 return 0;
21063 }
21064 _ACEOF
21065 rm -f conftest.$ac_objext
21066 if { (ac_try="$ac_compile"
21067 case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21070 esac
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_compile") 2>conftest.er1
21073 ac_status=$?
21074 grep -v '^ *+' conftest.er1 >conftest.err
21075 rm -f conftest.er1
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && {
21079 test -z "$ac_c_werror_flag" ||
21080 test ! -s conftest.err
21081 } && test -s conftest.$ac_objext; then
21082 ac_cv_type_long_long=yes
21083 else
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 ac_cv_type_long_long=no
21088 fi
21089
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21091 fi
21092 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21093 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21094
21095 # The cast to long int works around a bug in the HP C Compiler
21096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21098 # This bug is HP SR number 8606223364.
21099 { echo "$as_me:$LINENO: checking size of long long" >&5
21100 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21101 if test "${ac_cv_sizeof_long_long+set}" = set; then
21102 echo $ECHO_N "(cached) $ECHO_C" >&6
21103 else
21104 if test "$cross_compiling" = yes; then
21105 # Depending upon the size, compute the lo and hi bounds.
21106 cat >conftest.$ac_ext <<_ACEOF
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 typedef long long ac__type_sizeof_;
21114 int
21115 main ()
21116 {
21117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21118 test_array [0] = 0
21119
21120 ;
21121 return 0;
21122 }
21123 _ACEOF
21124 rm -f conftest.$ac_objext
21125 if { (ac_try="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21129 esac
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21132 ac_status=$?
21133 grep -v '^ *+' conftest.er1 >conftest.err
21134 rm -f conftest.er1
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } && {
21138 test -z "$ac_c_werror_flag" ||
21139 test ! -s conftest.err
21140 } && test -s conftest.$ac_objext; then
21141 ac_lo=0 ac_mid=0
21142 while :; do
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef long long ac__type_sizeof_;
21151 int
21152 main ()
21153 {
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 test_array [0] = 0
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_hi=$ac_mid; break
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_lo=`expr $ac_mid + 1`
21184 if test $ac_lo -le $ac_mid; then
21185 ac_lo= ac_hi=
21186 break
21187 fi
21188 ac_mid=`expr 2 '*' $ac_mid + 1`
21189 fi
21190
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 done
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21196
21197 cat >conftest.$ac_ext <<_ACEOF
21198 /* confdefs.h. */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef long long ac__type_sizeof_;
21205 int
21206 main ()
21207 {
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21209 test_array [0] = 0
21210
21211 ;
21212 return 0;
21213 }
21214 _ACEOF
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21220 esac
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_hi=-1 ac_mid=-1
21233 while :; do
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 $ac_includes_default
21241 typedef long long ac__type_sizeof_;
21242 int
21243 main ()
21244 {
21245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21246 test_array [0] = 0
21247
21248 ;
21249 return 0;
21250 }
21251 _ACEOF
21252 rm -f conftest.$ac_objext
21253 if { (ac_try="$ac_compile"
21254 case "(($ac_try" in
21255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21256 *) ac_try_echo=$ac_try;;
21257 esac
21258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21259 (eval "$ac_compile") 2>conftest.er1
21260 ac_status=$?
21261 grep -v '^ *+' conftest.er1 >conftest.err
21262 rm -f conftest.er1
21263 cat conftest.err >&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } && {
21266 test -z "$ac_c_werror_flag" ||
21267 test ! -s conftest.err
21268 } && test -s conftest.$ac_objext; then
21269 ac_lo=$ac_mid; break
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21273
21274 ac_hi=`expr '(' $ac_mid ')' - 1`
21275 if test $ac_mid -le $ac_hi; then
21276 ac_lo= ac_hi=
21277 break
21278 fi
21279 ac_mid=`expr 2 '*' $ac_mid`
21280 fi
21281
21282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21283 done
21284 else
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21287
21288 ac_lo= ac_hi=
21289 fi
21290
21291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 # Binary search between lo and hi bounds.
21296 while test "x$ac_lo" != "x$ac_hi"; do
21297 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 $ac_includes_default
21305 typedef long long ac__type_sizeof_;
21306 int
21307 main ()
21308 {
21309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21310 test_array [0] = 0
21311
21312 ;
21313 return 0;
21314 }
21315 _ACEOF
21316 rm -f conftest.$ac_objext
21317 if { (ac_try="$ac_compile"
21318 case "(($ac_try" in
21319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21320 *) ac_try_echo=$ac_try;;
21321 esac
21322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21323 (eval "$ac_compile") 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && {
21330 test -z "$ac_c_werror_flag" ||
21331 test ! -s conftest.err
21332 } && test -s conftest.$ac_objext; then
21333 ac_hi=$ac_mid
21334 else
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.$ac_ext >&5
21337
21338 ac_lo=`expr '(' $ac_mid ')' + 1`
21339 fi
21340
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 done
21343 case $ac_lo in
21344 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21345 '') if test "$ac_cv_type_long_long" = yes; then
21346 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21347 See \`config.log' for more details." >&5
21348 echo "$as_me: error: cannot compute sizeof (long long)
21349 See \`config.log' for more details." >&2;}
21350 { (exit 77); exit 77; }; }
21351 else
21352 ac_cv_sizeof_long_long=0
21353 fi ;;
21354 esac
21355 else
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 typedef long long ac__type_sizeof_;
21364 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21365 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21366 #include <stdio.h>
21367 #include <stdlib.h>
21368 int
21369 main ()
21370 {
21371
21372 FILE *f = fopen ("conftest.val", "w");
21373 if (! f)
21374 return 1;
21375 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21376 {
21377 long int i = longval ();
21378 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21379 return 1;
21380 fprintf (f, "%ld\n", i);
21381 }
21382 else
21383 {
21384 unsigned long int i = ulongval ();
21385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21386 return 1;
21387 fprintf (f, "%lu\n", i);
21388 }
21389 return ferror (f) || fclose (f) != 0;
21390
21391 ;
21392 return 0;
21393 }
21394 _ACEOF
21395 rm -f conftest$ac_exeext
21396 if { (ac_try="$ac_link"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21400 esac
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_link") 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21406 { (case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21409 esac
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_try") 2>&5
21412 ac_status=$?
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_sizeof_long_long=`cat conftest.val`
21416 else
21417 echo "$as_me: program exited with status $ac_status" >&5
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21420
21421 ( exit $ac_status )
21422 if test "$ac_cv_type_long_long" = yes; then
21423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21424 See \`config.log' for more details." >&5
21425 echo "$as_me: error: cannot compute sizeof (long long)
21426 See \`config.log' for more details." >&2;}
21427 { (exit 77); exit 77; }; }
21428 else
21429 ac_cv_sizeof_long_long=0
21430 fi
21431 fi
21432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21433 fi
21434 rm -f conftest.val
21435 fi
21436 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21437 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21438
21439
21440
21441 cat >>confdefs.h <<_ACEOF
21442 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21443 _ACEOF
21444
21445
21446 ;;
21447 *-hp-hpux* )
21448 { echo "$as_me:$LINENO: checking for long long" >&5
21449 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21450 if test "${ac_cv_type_long_long+set}" = set; then
21451 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 else
21453 cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h. */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 $ac_includes_default
21460 typedef long long ac__type_new_;
21461 int
21462 main ()
21463 {
21464 if ((ac__type_new_ *) 0)
21465 return 0;
21466 if (sizeof (ac__type_new_))
21467 return 0;
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 ac_cv_type_long_long=yes
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 ac_cv_type_long_long=no
21495 fi
21496
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 fi
21499 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21500 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21501
21502 # The cast to long int works around a bug in the HP C Compiler
21503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21505 # This bug is HP SR number 8606223364.
21506 { echo "$as_me:$LINENO: checking size of long long" >&5
21507 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21508 if test "${ac_cv_sizeof_long_long+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21510 else
21511 if test "$cross_compiling" = yes; then
21512 # Depending upon the size, compute the lo and hi bounds.
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef long long ac__type_sizeof_;
21521 int
21522 main ()
21523 {
21524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21525 test_array [0] = 0
21526
21527 ;
21528 return 0;
21529 }
21530 _ACEOF
21531 rm -f conftest.$ac_objext
21532 if { (ac_try="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21536 esac
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest.$ac_objext; then
21548 ac_lo=0 ac_mid=0
21549 while :; do
21550 cat >conftest.$ac_ext <<_ACEOF
21551 /* confdefs.h. */
21552 _ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 $ac_includes_default
21557 typedef long long ac__type_sizeof_;
21558 int
21559 main ()
21560 {
21561 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21562 test_array [0] = 0
21563
21564 ;
21565 return 0;
21566 }
21567 _ACEOF
21568 rm -f conftest.$ac_objext
21569 if { (ac_try="$ac_compile"
21570 case "(($ac_try" in
21571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572 *) ac_try_echo=$ac_try;;
21573 esac
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_compile") 2>conftest.er1
21576 ac_status=$?
21577 grep -v '^ *+' conftest.er1 >conftest.err
21578 rm -f conftest.er1
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } && {
21582 test -z "$ac_c_werror_flag" ||
21583 test ! -s conftest.err
21584 } && test -s conftest.$ac_objext; then
21585 ac_hi=$ac_mid; break
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 ac_lo=`expr $ac_mid + 1`
21591 if test $ac_lo -le $ac_mid; then
21592 ac_lo= ac_hi=
21593 break
21594 fi
21595 ac_mid=`expr 2 '*' $ac_mid + 1`
21596 fi
21597
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 done
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 cat >conftest.$ac_ext <<_ACEOF
21605 /* confdefs.h. */
21606 _ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21612 int
21613 main ()
21614 {
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21616 test_array [0] = 0
21617
21618 ;
21619 return 0;
21620 }
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21627 esac
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_hi=-1 ac_mid=-1
21640 while :; do
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 $ac_includes_default
21648 typedef long long ac__type_sizeof_;
21649 int
21650 main ()
21651 {
21652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21653 test_array [0] = 0
21654
21655 ;
21656 return 0;
21657 }
21658 _ACEOF
21659 rm -f conftest.$ac_objext
21660 if { (ac_try="$ac_compile"
21661 case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21664 esac
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_compile") 2>conftest.er1
21667 ac_status=$?
21668 grep -v '^ *+' conftest.er1 >conftest.err
21669 rm -f conftest.er1
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err
21675 } && test -s conftest.$ac_objext; then
21676 ac_lo=$ac_mid; break
21677 else
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 ac_hi=`expr '(' $ac_mid ')' - 1`
21682 if test $ac_mid -le $ac_hi; then
21683 ac_lo= ac_hi=
21684 break
21685 fi
21686 ac_mid=`expr 2 '*' $ac_mid`
21687 fi
21688
21689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690 done
21691 else
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21694
21695 ac_lo= ac_hi=
21696 fi
21697
21698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699 fi
21700
21701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21702 # Binary search between lo and hi bounds.
21703 while test "x$ac_lo" != "x$ac_hi"; do
21704 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 $ac_includes_default
21712 typedef long long ac__type_sizeof_;
21713 int
21714 main ()
21715 {
21716 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21717 test_array [0] = 0
21718
21719 ;
21720 return 0;
21721 }
21722 _ACEOF
21723 rm -f conftest.$ac_objext
21724 if { (ac_try="$ac_compile"
21725 case "(($ac_try" in
21726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21727 *) ac_try_echo=$ac_try;;
21728 esac
21729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21730 (eval "$ac_compile") 2>conftest.er1
21731 ac_status=$?
21732 grep -v '^ *+' conftest.er1 >conftest.err
21733 rm -f conftest.er1
21734 cat conftest.err >&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } && {
21737 test -z "$ac_c_werror_flag" ||
21738 test ! -s conftest.err
21739 } && test -s conftest.$ac_objext; then
21740 ac_hi=$ac_mid
21741 else
21742 echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.$ac_ext >&5
21744
21745 ac_lo=`expr '(' $ac_mid ')' + 1`
21746 fi
21747
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 done
21750 case $ac_lo in
21751 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21752 '') if test "$ac_cv_type_long_long" = yes; then
21753 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21754 See \`config.log' for more details." >&5
21755 echo "$as_me: error: cannot compute sizeof (long long)
21756 See \`config.log' for more details." >&2;}
21757 { (exit 77); exit 77; }; }
21758 else
21759 ac_cv_sizeof_long_long=0
21760 fi ;;
21761 esac
21762 else
21763 cat >conftest.$ac_ext <<_ACEOF
21764 /* confdefs.h. */
21765 _ACEOF
21766 cat confdefs.h >>conftest.$ac_ext
21767 cat >>conftest.$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21769 $ac_includes_default
21770 typedef long long ac__type_sizeof_;
21771 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21772 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21773 #include <stdio.h>
21774 #include <stdlib.h>
21775 int
21776 main ()
21777 {
21778
21779 FILE *f = fopen ("conftest.val", "w");
21780 if (! f)
21781 return 1;
21782 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21783 {
21784 long int i = longval ();
21785 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21786 return 1;
21787 fprintf (f, "%ld\n", i);
21788 }
21789 else
21790 {
21791 unsigned long int i = ulongval ();
21792 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21793 return 1;
21794 fprintf (f, "%lu\n", i);
21795 }
21796 return ferror (f) || fclose (f) != 0;
21797
21798 ;
21799 return 0;
21800 }
21801 _ACEOF
21802 rm -f conftest$ac_exeext
21803 if { (ac_try="$ac_link"
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_link") 2>&5
21810 ac_status=$?
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21813 { (case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21816 esac
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_try") 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 ac_cv_sizeof_long_long=`cat conftest.val`
21823 else
21824 echo "$as_me: program exited with status $ac_status" >&5
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21827
21828 ( exit $ac_status )
21829 if test "$ac_cv_type_long_long" = yes; then
21830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21831 See \`config.log' for more details." >&5
21832 echo "$as_me: error: cannot compute sizeof (long long)
21833 See \`config.log' for more details." >&2;}
21834 { (exit 77); exit 77; }; }
21835 else
21836 ac_cv_sizeof_long_long=0
21837 fi
21838 fi
21839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21840 fi
21841 rm -f conftest.val
21842 fi
21843 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21844 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21845
21846
21847
21848 cat >>confdefs.h <<_ACEOF
21849 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21850 _ACEOF
21851
21852
21853 if test "$ac_cv_sizeof_long_long" != 0; then
21854 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21855 fi
21856 ;;
21857 * )
21858 { echo "$as_me:$LINENO: checking for long long" >&5
21859 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21860 if test "${ac_cv_type_long_long+set}" = set; then
21861 echo $ECHO_N "(cached) $ECHO_C" >&6
21862 else
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_new_;
21871 int
21872 main ()
21873 {
21874 if ((ac__type_new_ *) 0)
21875 return 0;
21876 if (sizeof (ac__type_new_))
21877 return 0;
21878 ;
21879 return 0;
21880 }
21881 _ACEOF
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21887 esac
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_cv_type_long_long=yes
21900 else
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21903
21904 ac_cv_type_long_long=no
21905 fi
21906
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 fi
21909 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21910 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21911
21912 # The cast to long int works around a bug in the HP C Compiler
21913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21915 # This bug is HP SR number 8606223364.
21916 { echo "$as_me:$LINENO: checking size of long long" >&5
21917 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21918 if test "${ac_cv_sizeof_long_long+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 else
21921 if test "$cross_compiling" = yes; then
21922 # Depending upon the size, compute the lo and hi bounds.
21923 cat >conftest.$ac_ext <<_ACEOF
21924 /* confdefs.h. */
21925 _ACEOF
21926 cat confdefs.h >>conftest.$ac_ext
21927 cat >>conftest.$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef long long ac__type_sizeof_;
21931 int
21932 main ()
21933 {
21934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21935 test_array [0] = 0
21936
21937 ;
21938 return 0;
21939 }
21940 _ACEOF
21941 rm -f conftest.$ac_objext
21942 if { (ac_try="$ac_compile"
21943 case "(($ac_try" in
21944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21946 esac
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_compile") 2>conftest.er1
21949 ac_status=$?
21950 grep -v '^ *+' conftest.er1 >conftest.err
21951 rm -f conftest.er1
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && {
21955 test -z "$ac_c_werror_flag" ||
21956 test ! -s conftest.err
21957 } && test -s conftest.$ac_objext; then
21958 ac_lo=0 ac_mid=0
21959 while :; do
21960 cat >conftest.$ac_ext <<_ACEOF
21961 /* confdefs.h. */
21962 _ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 typedef long long ac__type_sizeof_;
21968 int
21969 main ()
21970 {
21971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21972 test_array [0] = 0
21973
21974 ;
21975 return 0;
21976 }
21977 _ACEOF
21978 rm -f conftest.$ac_objext
21979 if { (ac_try="$ac_compile"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21982 *) ac_try_echo=$ac_try;;
21983 esac
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_compile") 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } && {
21992 test -z "$ac_c_werror_flag" ||
21993 test ! -s conftest.err
21994 } && test -s conftest.$ac_objext; then
21995 ac_hi=$ac_mid; break
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ac_lo=`expr $ac_mid + 1`
22001 if test $ac_lo -le $ac_mid; then
22002 ac_lo= ac_hi=
22003 break
22004 fi
22005 ac_mid=`expr 2 '*' $ac_mid + 1`
22006 fi
22007
22008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009 done
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 cat >conftest.$ac_ext <<_ACEOF
22015 /* confdefs.h. */
22016 _ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef long long ac__type_sizeof_;
22022 int
22023 main ()
22024 {
22025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22026 test_array [0] = 0
22027
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 rm -f conftest.$ac_objext
22033 if { (ac_try="$ac_compile"
22034 case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22037 esac
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_compile") 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22049 ac_hi=-1 ac_mid=-1
22050 while :; do
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef long long ac__type_sizeof_;
22059 int
22060 main ()
22061 {
22062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22063 test_array [0] = 0
22064
22065 ;
22066 return 0;
22067 }
22068 _ACEOF
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22073 *) ac_try_echo=$ac_try;;
22074 esac
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22077 ac_status=$?
22078 grep -v '^ *+' conftest.er1 >conftest.err
22079 rm -f conftest.er1
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.$ac_objext; then
22086 ac_lo=$ac_mid; break
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22090
22091 ac_hi=`expr '(' $ac_mid ')' - 1`
22092 if test $ac_mid -le $ac_hi; then
22093 ac_lo= ac_hi=
22094 break
22095 fi
22096 ac_mid=`expr 2 '*' $ac_mid`
22097 fi
22098
22099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22100 done
22101 else
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22104
22105 ac_lo= ac_hi=
22106 fi
22107
22108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 fi
22110
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22112 # Binary search between lo and hi bounds.
22113 while test "x$ac_lo" != "x$ac_hi"; do
22114 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long long ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_lo=`expr '(' $ac_mid ')' + 1`
22156 fi
22157
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 done
22160 case $ac_lo in
22161 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22162 '') if test "$ac_cv_type_long_long" = yes; then
22163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22164 See \`config.log' for more details." >&5
22165 echo "$as_me: error: cannot compute sizeof (long long)
22166 See \`config.log' for more details." >&2;}
22167 { (exit 77); exit 77; }; }
22168 else
22169 ac_cv_sizeof_long_long=0
22170 fi ;;
22171 esac
22172 else
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h. */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 $ac_includes_default
22180 typedef long long ac__type_sizeof_;
22181 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22182 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22183 #include <stdio.h>
22184 #include <stdlib.h>
22185 int
22186 main ()
22187 {
22188
22189 FILE *f = fopen ("conftest.val", "w");
22190 if (! f)
22191 return 1;
22192 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22193 {
22194 long int i = longval ();
22195 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22196 return 1;
22197 fprintf (f, "%ld\n", i);
22198 }
22199 else
22200 {
22201 unsigned long int i = ulongval ();
22202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22203 return 1;
22204 fprintf (f, "%lu\n", i);
22205 }
22206 return ferror (f) || fclose (f) != 0;
22207
22208 ;
22209 return 0;
22210 }
22211 _ACEOF
22212 rm -f conftest$ac_exeext
22213 if { (ac_try="$ac_link"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22217 esac
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_link") 2>&5
22220 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22223 { (case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22225 *) ac_try_echo=$ac_try;;
22226 esac
22227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_try") 2>&5
22229 ac_status=$?
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); }; }; then
22232 ac_cv_sizeof_long_long=`cat conftest.val`
22233 else
22234 echo "$as_me: program exited with status $ac_status" >&5
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22237
22238 ( exit $ac_status )
22239 if test "$ac_cv_type_long_long" = yes; then
22240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22241 See \`config.log' for more details." >&5
22242 echo "$as_me: error: cannot compute sizeof (long long)
22243 See \`config.log' for more details." >&2;}
22244 { (exit 77); exit 77; }; }
22245 else
22246 ac_cv_sizeof_long_long=0
22247 fi
22248 fi
22249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22250 fi
22251 rm -f conftest.val
22252 fi
22253 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22255
22256
22257
22258 cat >>confdefs.h <<_ACEOF
22259 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22260 _ACEOF
22261
22262
22263 esac
22264
22265 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22266 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22267 if test "${ac_cv_type_wchar_t+set}" = set; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22269 else
22270 cat >conftest.$ac_ext <<_ACEOF
22271 /* confdefs.h. */
22272 _ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276
22277 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22278 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22279 # error "fake wchar_t"
22280 #endif
22281 #ifdef HAVE_WCHAR_H
22282 # ifdef __CYGWIN__
22283 # include <stddef.h>
22284 # endif
22285 # include <wchar.h>
22286 #endif
22287 #ifdef HAVE_STDLIB_H
22288 # include <stdlib.h>
22289 #endif
22290 #include <stdio.h>
22291
22292
22293
22294 typedef wchar_t ac__type_new_;
22295 int
22296 main ()
22297 {
22298 if ((ac__type_new_ *) 0)
22299 return 0;
22300 if (sizeof (ac__type_new_))
22301 return 0;
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (ac_try="$ac_compile"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22311 esac
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_compile") 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest.$ac_objext; then
22323 ac_cv_type_wchar_t=yes
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_cv_type_wchar_t=no
22329 fi
22330
22331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 fi
22333 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22334 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22335
22336 # The cast to long int works around a bug in the HP C Compiler
22337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22339 # This bug is HP SR number 8606223364.
22340 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22341 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22342 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22343 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 else
22345 if test "$cross_compiling" = yes; then
22346 # Depending upon the size, compute the lo and hi bounds.
22347 cat >conftest.$ac_ext <<_ACEOF
22348 /* confdefs.h. */
22349 _ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353
22354 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22355 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22356 # error "fake wchar_t"
22357 #endif
22358 #ifdef HAVE_WCHAR_H
22359 # ifdef __CYGWIN__
22360 # include <stddef.h>
22361 # endif
22362 # include <wchar.h>
22363 #endif
22364 #ifdef HAVE_STDLIB_H
22365 # include <stdlib.h>
22366 #endif
22367 #include <stdio.h>
22368
22369
22370
22371 typedef wchar_t ac__type_sizeof_;
22372 int
22373 main ()
22374 {
22375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22376 test_array [0] = 0
22377
22378 ;
22379 return 0;
22380 }
22381 _ACEOF
22382 rm -f conftest.$ac_objext
22383 if { (ac_try="$ac_compile"
22384 case "(($ac_try" in
22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22387 esac
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_compile") 2>conftest.er1
22390 ac_status=$?
22391 grep -v '^ *+' conftest.er1 >conftest.err
22392 rm -f conftest.er1
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } && {
22396 test -z "$ac_c_werror_flag" ||
22397 test ! -s conftest.err
22398 } && test -s conftest.$ac_objext; then
22399 ac_lo=0 ac_mid=0
22400 while :; do
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407
22408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22410 # error "fake wchar_t"
22411 #endif
22412 #ifdef HAVE_WCHAR_H
22413 # ifdef __CYGWIN__
22414 # include <stddef.h>
22415 # endif
22416 # include <wchar.h>
22417 #endif
22418 #ifdef HAVE_STDLIB_H
22419 # include <stdlib.h>
22420 #endif
22421 #include <stdio.h>
22422
22423
22424
22425 typedef wchar_t ac__type_sizeof_;
22426 int
22427 main ()
22428 {
22429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22430 test_array [0] = 0
22431
22432 ;
22433 return 0;
22434 }
22435 _ACEOF
22436 rm -f conftest.$ac_objext
22437 if { (ac_try="$ac_compile"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22440 *) ac_try_echo=$ac_try;;
22441 esac
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_compile") 2>conftest.er1
22444 ac_status=$?
22445 grep -v '^ *+' conftest.er1 >conftest.err
22446 rm -f conftest.er1
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest.$ac_objext; then
22453 ac_hi=$ac_mid; break
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 ac_lo=`expr $ac_mid + 1`
22459 if test $ac_lo -le $ac_mid; then
22460 ac_lo= ac_hi=
22461 break
22462 fi
22463 ac_mid=`expr 2 '*' $ac_mid + 1`
22464 fi
22465
22466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 done
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478
22479 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22480 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22481 # error "fake wchar_t"
22482 #endif
22483 #ifdef HAVE_WCHAR_H
22484 # ifdef __CYGWIN__
22485 # include <stddef.h>
22486 # endif
22487 # include <wchar.h>
22488 #endif
22489 #ifdef HAVE_STDLIB_H
22490 # include <stdlib.h>
22491 #endif
22492 #include <stdio.h>
22493
22494
22495
22496 typedef wchar_t ac__type_sizeof_;
22497 int
22498 main ()
22499 {
22500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22501 test_array [0] = 0
22502
22503 ;
22504 return 0;
22505 }
22506 _ACEOF
22507 rm -f conftest.$ac_objext
22508 if { (ac_try="$ac_compile"
22509 case "(($ac_try" in
22510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22512 esac
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_compile") 2>conftest.er1
22515 ac_status=$?
22516 grep -v '^ *+' conftest.er1 >conftest.err
22517 rm -f conftest.er1
22518 cat conftest.err >&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); } && {
22521 test -z "$ac_c_werror_flag" ||
22522 test ! -s conftest.err
22523 } && test -s conftest.$ac_objext; then
22524 ac_hi=-1 ac_mid=-1
22525 while :; do
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532
22533 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22534 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22535 # error "fake wchar_t"
22536 #endif
22537 #ifdef HAVE_WCHAR_H
22538 # ifdef __CYGWIN__
22539 # include <stddef.h>
22540 # endif
22541 # include <wchar.h>
22542 #endif
22543 #ifdef HAVE_STDLIB_H
22544 # include <stdlib.h>
22545 #endif
22546 #include <stdio.h>
22547
22548
22549
22550 typedef wchar_t ac__type_sizeof_;
22551 int
22552 main ()
22553 {
22554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22555 test_array [0] = 0
22556
22557 ;
22558 return 0;
22559 }
22560 _ACEOF
22561 rm -f conftest.$ac_objext
22562 if { (ac_try="$ac_compile"
22563 case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565 *) ac_try_echo=$ac_try;;
22566 esac
22567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22568 (eval "$ac_compile") 2>conftest.er1
22569 ac_status=$?
22570 grep -v '^ *+' conftest.er1 >conftest.err
22571 rm -f conftest.er1
22572 cat conftest.err >&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } && {
22575 test -z "$ac_c_werror_flag" ||
22576 test ! -s conftest.err
22577 } && test -s conftest.$ac_objext; then
22578 ac_lo=$ac_mid; break
22579 else
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22582
22583 ac_hi=`expr '(' $ac_mid ')' - 1`
22584 if test $ac_mid -le $ac_hi; then
22585 ac_lo= ac_hi=
22586 break
22587 fi
22588 ac_mid=`expr 2 '*' $ac_mid`
22589 fi
22590
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 done
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22596
22597 ac_lo= ac_hi=
22598 fi
22599
22600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22601 fi
22602
22603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22604 # Binary search between lo and hi bounds.
22605 while test "x$ac_lo" != "x$ac_hi"; do
22606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22607 cat >conftest.$ac_ext <<_ACEOF
22608 /* confdefs.h. */
22609 _ACEOF
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22613
22614 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22615 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22616 # error "fake wchar_t"
22617 #endif
22618 #ifdef HAVE_WCHAR_H
22619 # ifdef __CYGWIN__
22620 # include <stddef.h>
22621 # endif
22622 # include <wchar.h>
22623 #endif
22624 #ifdef HAVE_STDLIB_H
22625 # include <stdlib.h>
22626 #endif
22627 #include <stdio.h>
22628
22629
22630
22631 typedef wchar_t ac__type_sizeof_;
22632 int
22633 main ()
22634 {
22635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22636 test_array [0] = 0
22637
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest.$ac_objext
22643 if { (ac_try="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22647 esac
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22650 ac_status=$?
22651 grep -v '^ *+' conftest.er1 >conftest.err
22652 rm -f conftest.er1
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest.$ac_objext; then
22659 ac_hi=$ac_mid
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22663
22664 ac_lo=`expr '(' $ac_mid ')' + 1`
22665 fi
22666
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 done
22669 case $ac_lo in
22670 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22671 '') if test "$ac_cv_type_wchar_t" = yes; then
22672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22673 See \`config.log' for more details." >&5
22674 echo "$as_me: error: cannot compute sizeof (wchar_t)
22675 See \`config.log' for more details." >&2;}
22676 { (exit 77); exit 77; }; }
22677 else
22678 ac_cv_sizeof_wchar_t=0
22679 fi ;;
22680 esac
22681 else
22682 cat >conftest.$ac_ext <<_ACEOF
22683 /* confdefs.h. */
22684 _ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688
22689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22691 # error "fake wchar_t"
22692 #endif
22693 #ifdef HAVE_WCHAR_H
22694 # ifdef __CYGWIN__
22695 # include <stddef.h>
22696 # endif
22697 # include <wchar.h>
22698 #endif
22699 #ifdef HAVE_STDLIB_H
22700 # include <stdlib.h>
22701 #endif
22702 #include <stdio.h>
22703
22704
22705
22706 typedef wchar_t ac__type_sizeof_;
22707 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22708 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22709 #include <stdio.h>
22710 #include <stdlib.h>
22711 int
22712 main ()
22713 {
22714
22715 FILE *f = fopen ("conftest.val", "w");
22716 if (! f)
22717 return 1;
22718 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22719 {
22720 long int i = longval ();
22721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22722 return 1;
22723 fprintf (f, "%ld\n", i);
22724 }
22725 else
22726 {
22727 unsigned long int i = ulongval ();
22728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22729 return 1;
22730 fprintf (f, "%lu\n", i);
22731 }
22732 return ferror (f) || fclose (f) != 0;
22733
22734 ;
22735 return 0;
22736 }
22737 _ACEOF
22738 rm -f conftest$ac_exeext
22739 if { (ac_try="$ac_link"
22740 case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22743 esac
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_link") 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22749 { (case "(($ac_try" in
22750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22752 esac
22753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_try") 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_cv_sizeof_wchar_t=`cat conftest.val`
22759 else
22760 echo "$as_me: program exited with status $ac_status" >&5
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22763
22764 ( exit $ac_status )
22765 if test "$ac_cv_type_wchar_t" = yes; then
22766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22767 See \`config.log' for more details." >&5
22768 echo "$as_me: error: cannot compute sizeof (wchar_t)
22769 See \`config.log' for more details." >&2;}
22770 { (exit 77); exit 77; }; }
22771 else
22772 ac_cv_sizeof_wchar_t=0
22773 fi
22774 fi
22775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22776 fi
22777 rm -f conftest.val
22778 fi
22779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22780 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22781
22782
22783
22784 cat >>confdefs.h <<_ACEOF
22785 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22786 _ACEOF
22787
22788
22789 if test "$ac_cv_sizeof_wchar_t" != 0; then
22790 wxUSE_WCHAR_T=yes
22791 else
22792 wxUSE_WCHAR_T=no
22793 fi
22794
22795 { echo "$as_me:$LINENO: checking for va_copy" >&5
22796 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22797 if test "${wx_cv_func_va_copy+set}" = set; then
22798 echo $ECHO_N "(cached) $ECHO_C" >&6
22799 else
22800
22801 ac_ext=cpp
22802 ac_cpp='$CXXCPP $CPPFLAGS'
22803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22806
22807 cat >conftest.$ac_ext <<_ACEOF
22808
22809 #include <stdarg.h>
22810 void foo(char *f, ...)
22811 {
22812 va_list ap1, ap2;
22813 va_start(ap1, f);
22814 va_copy(ap2, ap1);
22815 va_end(ap2);
22816 va_end(ap1);
22817 }
22818 int main()
22819 {
22820 foo("hi", 17);
22821 return 0;
22822 }
22823 _ACEOF
22824 rm -f conftest.$ac_objext conftest$ac_exeext
22825 if { (ac_try="$ac_link"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22829 esac
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_link") 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_cxx_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest$ac_exeext &&
22841 $as_test_x conftest$ac_exeext; then
22842 wx_cv_func_va_copy=yes
22843 else
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22846
22847 wx_cv_func_va_copy=no
22848
22849 fi
22850
22851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22852 conftest$ac_exeext conftest.$ac_ext
22853 ac_ext=c
22854 ac_cpp='$CPP $CPPFLAGS'
22855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22858
22859
22860
22861 fi
22862 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22863 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22864
22865 if test $wx_cv_func_va_copy = "yes"; then
22866 cat >>confdefs.h <<\_ACEOF
22867 #define HAVE_VA_COPY 1
22868 _ACEOF
22869
22870 else
22871 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22872 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22873 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22874 echo $ECHO_N "(cached) $ECHO_C" >&6
22875 else
22876
22877 if test "$cross_compiling" = yes; then
22878 wx_cv_type_va_list_lvalue=yes
22879
22880 else
22881 cat >conftest.$ac_ext <<_ACEOF
22882
22883 #include <stdarg.h>
22884 int foo(char *f, ...)
22885 {
22886 va_list ap1, ap2;
22887 va_start(ap1, f);
22888 ap2 = ap1;
22889 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22890 return 1;
22891 va_end(ap2);
22892 va_end(ap1);
22893 return 0;
22894 }
22895 int main()
22896 {
22897 return foo("hi", 17);
22898 }
22899 _ACEOF
22900 rm -f conftest$ac_exeext
22901 if { (ac_try="$ac_link"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22904 *) ac_try_echo=$ac_try;;
22905 esac
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_link") 2>&5
22908 ac_status=$?
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22911 { (case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22914 esac
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_try") 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 wx_cv_type_va_list_lvalue=yes
22921 else
22922 echo "$as_me: program exited with status $ac_status" >&5
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 ( exit $ac_status )
22927 wx_cv_type_va_list_lvalue=no
22928 fi
22929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22930 fi
22931
22932
22933
22934
22935 fi
22936 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22937 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22938
22939 if test $wx_cv_type_va_list_lvalue != "yes"; then
22940 cat >>confdefs.h <<\_ACEOF
22941 #define VA_LIST_IS_ARRAY 1
22942 _ACEOF
22943
22944 fi
22945 fi
22946
22947 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22948
22949 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22950 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22951 if test "${wx_cv_have_variadic_macros+set}" = set; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 else
22954
22955 ac_ext=cpp
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22960
22961 cat >conftest.$ac_ext <<_ACEOF
22962 /* confdefs.h. */
22963 _ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967
22968 #include <stdio.h>
22969 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22970
22971 int
22972 main ()
22973 {
22974
22975 test("%s %d %p", "test", 1, 0);
22976
22977
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_cxx_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 wx_cv_have_variadic_macros=yes
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 wx_cv_have_variadic_macros=no
23005
23006 fi
23007
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 ac_ext=c
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014
23015
23016
23017 fi
23018 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23019 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23020
23021 if test $wx_cv_have_variadic_macros = "yes"; then
23022 cat >>confdefs.h <<\_ACEOF
23023 #define HAVE_VARIADIC_MACROS 1
23024 _ACEOF
23025
23026 fi
23027
23028 fi
23029 # Check whether --enable-largefile was given.
23030 if test "${enable_largefile+set}" = set; then
23031 enableval=$enable_largefile;
23032 fi
23033
23034 if test "$enable_largefile" != no; then
23035 wx_largefile=no
23036
23037 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23038 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23039 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23041 else
23042
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 #define _FILE_OFFSET_BITS 64
23050 #include <sys/types.h>
23051 int
23052 main ()
23053 {
23054 typedef struct {
23055 unsigned int field: sizeof(off_t) == 8;
23056 } wxlf;
23057
23058 ;
23059 return 0;
23060 }
23061 _ACEOF
23062 rm -f conftest.$ac_objext
23063 if { (ac_try="$ac_compile"
23064 case "(($ac_try" in
23065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23066 *) ac_try_echo=$ac_try;;
23067 esac
23068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23069 (eval "$ac_compile") 2>conftest.er1
23070 ac_status=$?
23071 grep -v '^ *+' conftest.er1 >conftest.err
23072 rm -f conftest.er1
23073 cat conftest.err >&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); } && {
23076 test -z "$ac_c_werror_flag" ||
23077 test ! -s conftest.err
23078 } && test -s conftest.$ac_objext; then
23079 ac_cv_sys_file_offset_bits=64
23080 else
23081 echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.$ac_ext >&5
23083
23084 ac_cv_sys_file_offset_bits=no
23085 fi
23086
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088
23089
23090 fi
23091 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23092 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23093
23094 if test "$ac_cv_sys_file_offset_bits" != no; then
23095 wx_largefile=yes
23096 cat >>confdefs.h <<_ACEOF
23097 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23098 _ACEOF
23099
23100 fi
23101
23102 if test "x$wx_largefile" != "xyes"; then
23103
23104 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23105 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23106 if test "${ac_cv_sys_large_files+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 else
23109
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 #define _LARGE_FILES 1
23117 #include <sys/types.h>
23118 int
23119 main ()
23120 {
23121 typedef struct {
23122 unsigned int field: sizeof(off_t) == 8;
23123 } wxlf;
23124
23125 ;
23126 return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_cv_sys_large_files=1
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_cv_sys_large_files=no
23152 fi
23153
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155
23156
23157 fi
23158 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23159 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23160
23161 if test "$ac_cv_sys_large_files" != no; then
23162 wx_largefile=yes
23163 cat >>confdefs.h <<_ACEOF
23164 #define _LARGE_FILES $ac_cv_sys_large_files
23165 _ACEOF
23166
23167 fi
23168
23169 fi
23170
23171 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23172 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23173 if test "x$wx_largefile" = "xyes"; then
23174 cat >>confdefs.h <<\_ACEOF
23175 #define HAVE_LARGEFILE_SUPPORT 1
23176 _ACEOF
23177
23178 fi
23179 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23180 echo "${ECHO_T}$wx_largefile" >&6; }
23181 fi
23182
23183
23184 if test "x$wx_largefile" = "xyes"; then
23185 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23186 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23187
23188 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23189 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23190 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23191 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194
23195 ac_ext=cpp
23196 ac_cpp='$CXXCPP $CPPFLAGS'
23197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23200
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207
23208 int
23209 main ()
23210 {
23211
23212 #ifndef __STDC_EXT__
23213 choke me
23214 #endif
23215
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23225 esac
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23228 ac_status=$?
23229 grep -v '^ *+' conftest.er1 >conftest.err
23230 rm -f conftest.er1
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_cxx_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 wx_cv_STDC_EXT_required=no
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 wx_cv_STDC_EXT_required=yes
23243
23244 fi
23245
23246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 ac_ext=c
23248 ac_cpp='$CPP $CPPFLAGS'
23249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23252
23253
23254
23255 fi
23256 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23257 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23258 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23259 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23260 fi
23261 fi
23262 else
23263 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23264 fi
23265 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23266 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23267 if test "${ac_cv_sys_largefile_source+set}" = set; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23269 else
23270 while :; do
23271 cat >conftest.$ac_ext <<_ACEOF
23272 /* confdefs.h. */
23273 _ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277 #include <sys/types.h> /* for off_t */
23278 #include <stdio.h>
23279 int
23280 main ()
23281 {
23282 int (*fp) (FILE *, off_t, int) = fseeko;
23283 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23284 ;
23285 return 0;
23286 }
23287 _ACEOF
23288 rm -f conftest.$ac_objext conftest$ac_exeext
23289 if { (ac_try="$ac_link"
23290 case "(($ac_try" in
23291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23292 *) ac_try_echo=$ac_try;;
23293 esac
23294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23295 (eval "$ac_link") 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } && {
23302 test -z "$ac_c_werror_flag" ||
23303 test ! -s conftest.err
23304 } && test -s conftest$ac_exeext &&
23305 $as_test_x conftest$ac_exeext; then
23306 ac_cv_sys_largefile_source=no; break
23307 else
23308 echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.$ac_ext >&5
23310
23311
23312 fi
23313
23314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23315 conftest$ac_exeext conftest.$ac_ext
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 #define _LARGEFILE_SOURCE 1
23323 #include <sys/types.h> /* for off_t */
23324 #include <stdio.h>
23325 int
23326 main ()
23327 {
23328 int (*fp) (FILE *, off_t, int) = fseeko;
23329 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23330 ;
23331 return 0;
23332 }
23333 _ACEOF
23334 rm -f conftest.$ac_objext conftest$ac_exeext
23335 if { (ac_try="$ac_link"
23336 case "(($ac_try" in
23337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23338 *) ac_try_echo=$ac_try;;
23339 esac
23340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23341 (eval "$ac_link") 2>conftest.er1
23342 ac_status=$?
23343 grep -v '^ *+' conftest.er1 >conftest.err
23344 rm -f conftest.er1
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } && {
23348 test -z "$ac_c_werror_flag" ||
23349 test ! -s conftest.err
23350 } && test -s conftest$ac_exeext &&
23351 $as_test_x conftest$ac_exeext; then
23352 ac_cv_sys_largefile_source=1; break
23353 else
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23356
23357
23358 fi
23359
23360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23361 conftest$ac_exeext conftest.$ac_ext
23362 ac_cv_sys_largefile_source=unknown
23363 break
23364 done
23365 fi
23366 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23367 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23368 case $ac_cv_sys_largefile_source in #(
23369 no | unknown) ;;
23370 *)
23371 cat >>confdefs.h <<_ACEOF
23372 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23373 _ACEOF
23374 ;;
23375 esac
23376 rm -f conftest*
23377
23378 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23379 # in glibc 2.1.3, but that breaks too many other things.
23380 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23381 if test $ac_cv_sys_largefile_source != unknown; then
23382
23383 cat >>confdefs.h <<\_ACEOF
23384 #define HAVE_FSEEKO 1
23385 _ACEOF
23386
23387 fi
23388
23389 if test "$ac_cv_sys_largefile_source" != no; then
23390 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23391 fi
23392 fi
23393
23394 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23395 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23396 if test "${ac_cv_c_bigendian+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 else
23399 ac_cv_c_bigendian=unknown
23400 # See if sys/param.h defines the BYTE_ORDER macro.
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <sys/types.h>
23408 #include <sys/param.h>
23409 int
23410 main ()
23411 {
23412
23413 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23414 bogus endian macros
23415 #endif
23416 ;
23417 return 0;
23418 }
23419 _ACEOF
23420 rm -f conftest.$ac_objext
23421 if { (ac_try="$ac_compile"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23425 esac
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_compile") 2>conftest.er1
23428 ac_status=$?
23429 grep -v '^ *+' conftest.er1 >conftest.err
23430 rm -f conftest.er1
23431 cat conftest.err >&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } && {
23434 test -z "$ac_c_werror_flag" ||
23435 test ! -s conftest.err
23436 } && test -s conftest.$ac_objext; then
23437 # It does; now see whether it defined to BIG_ENDIAN or not.
23438 cat >conftest.$ac_ext <<_ACEOF
23439 /* confdefs.h. */
23440 _ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #include <sys/types.h>
23445 #include <sys/param.h>
23446 int
23447 main ()
23448 {
23449
23450 #if BYTE_ORDER != BIG_ENDIAN
23451 not big endian
23452 #endif
23453 ;
23454 return 0;
23455 }
23456 _ACEOF
23457 rm -f conftest.$ac_objext
23458 if { (ac_try="$ac_compile"
23459 case "(($ac_try" in
23460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23461 *) ac_try_echo=$ac_try;;
23462 esac
23463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464 (eval "$ac_compile") 2>conftest.er1
23465 ac_status=$?
23466 grep -v '^ *+' conftest.er1 >conftest.err
23467 rm -f conftest.er1
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && {
23471 test -z "$ac_c_werror_flag" ||
23472 test ! -s conftest.err
23473 } && test -s conftest.$ac_objext; then
23474 ac_cv_c_bigendian=yes
23475 else
23476 echo "$as_me: failed program was:" >&5
23477 sed 's/^/| /' conftest.$ac_ext >&5
23478
23479 ac_cv_c_bigendian=no
23480 fi
23481
23482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487
23488 fi
23489
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 if test $ac_cv_c_bigendian = unknown; then
23492 if test "$cross_compiling" = yes; then
23493 ac_cv_c_bigendian=unknown
23494 else
23495 cat >conftest.$ac_ext <<_ACEOF
23496 /* confdefs.h. */
23497 _ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23501 main () {
23502 /* Are we little or big endian? From Harbison&Steele. */
23503 union
23504 {
23505 long l;
23506 char c[sizeof (long)];
23507 } u;
23508 u.l = 1;
23509 exit (u.c[sizeof (long) - 1] == 1);
23510 }
23511 _ACEOF
23512 rm -f conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23517 esac
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>&5
23520 ac_status=$?
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23526 esac
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 ac_cv_c_bigendian=no
23533 else
23534 echo "$as_me: program exited with status $ac_status" >&5
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 ( exit $ac_status )
23539 ac_cv_c_bigendian=yes
23540 fi
23541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23542 fi
23543
23544
23545 fi
23546 fi
23547 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23548 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23549 if test $ac_cv_c_bigendian = unknown; then
23550 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
23551 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
23552 fi
23553 if test $ac_cv_c_bigendian = yes; then
23554 cat >>confdefs.h <<\_ACEOF
23555 #define WORDS_BIGENDIAN 1
23556 _ACEOF
23557
23558 fi
23559
23560
23561
23562
23563 ac_ext=cpp
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23568
23569
23570
23571 for ac_header in iostream
23572 do
23573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 else
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585
23586
23587 #include <$ac_header>
23588 _ACEOF
23589 rm -f conftest.$ac_objext
23590 if { (ac_try="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23594 esac
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23597 ac_status=$?
23598 grep -v '^ *+' conftest.er1 >conftest.err
23599 rm -f conftest.er1
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_cxx_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23606 eval "$as_ac_Header=yes"
23607 else
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23610
23611 eval "$as_ac_Header=no"
23612 fi
23613
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23615 fi
23616 ac_res=`eval echo '${'$as_ac_Header'}'`
23617 { echo "$as_me:$LINENO: result: $ac_res" >&5
23618 echo "${ECHO_T}$ac_res" >&6; }
23619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23620 cat >>confdefs.h <<_ACEOF
23621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23622 _ACEOF
23623
23624 fi
23625
23626 done
23627
23628
23629 if test "$ac_cv_header_iostream" = "yes" ; then
23630 :
23631 else
23632 cat >>confdefs.h <<\_ACEOF
23633 #define wxUSE_IOSTREAMH 1
23634 _ACEOF
23635
23636 fi
23637
23638 ac_ext=c
23639 ac_cpp='$CPP $CPPFLAGS'
23640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23643
23644
23645
23646
23647 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23648 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23649 if test "${wx_cv_cpp_bool+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23651 else
23652
23653
23654 ac_ext=cpp
23655 ac_cpp='$CXXCPP $CPPFLAGS'
23656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659
23660
23661 cat >conftest.$ac_ext <<_ACEOF
23662 /* confdefs.h. */
23663 _ACEOF
23664 cat confdefs.h >>conftest.$ac_ext
23665 cat >>conftest.$ac_ext <<_ACEOF
23666 /* end confdefs.h. */
23667
23668
23669 int
23670 main ()
23671 {
23672
23673 bool b = true;
23674
23675 return 0;
23676
23677 ;
23678 return 0;
23679 }
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23689 ac_status=$?
23690 grep -v '^ *+' conftest.er1 >conftest.err
23691 rm -f conftest.er1
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_cxx_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23698
23699 wx_cv_cpp_bool=yes
23700
23701 else
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23704
23705
23706 wx_cv_cpp_bool=no
23707
23708
23709 fi
23710
23711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23712
23713 ac_ext=c
23714 ac_cpp='$CPP $CPPFLAGS'
23715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23718
23719
23720 fi
23721 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23722 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23723
23724 if test "$wx_cv_cpp_bool" = "yes"; then
23725 cat >>confdefs.h <<\_ACEOF
23726 #define HAVE_BOOL 1
23727 _ACEOF
23728
23729 fi
23730
23731
23732
23733 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23734 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23735 if test "${wx_cv_explicit+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 else
23738
23739
23740 ac_ext=cpp
23741 ac_cpp='$CXXCPP $CPPFLAGS'
23742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23745
23746
23747 cat >conftest.$ac_ext <<_ACEOF
23748 /* confdefs.h. */
23749 _ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753
23754 class Foo { public: explicit Foo(int) {} };
23755
23756 int
23757 main ()
23758 {
23759
23760 return 0;
23761
23762 ;
23763 return 0;
23764 }
23765 _ACEOF
23766 rm -f conftest.$ac_objext
23767 if { (ac_try="$ac_compile"
23768 case "(($ac_try" in
23769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23770 *) ac_try_echo=$ac_try;;
23771 esac
23772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23773 (eval "$ac_compile") 2>conftest.er1
23774 ac_status=$?
23775 grep -v '^ *+' conftest.er1 >conftest.err
23776 rm -f conftest.er1
23777 cat conftest.err >&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); } && {
23780 test -z "$ac_cxx_werror_flag" ||
23781 test ! -s conftest.err
23782 } && test -s conftest.$ac_objext; then
23783
23784 cat >conftest.$ac_ext <<_ACEOF
23785 /* confdefs.h. */
23786 _ACEOF
23787 cat confdefs.h >>conftest.$ac_ext
23788 cat >>conftest.$ac_ext <<_ACEOF
23789 /* end confdefs.h. */
23790
23791 class Foo { public: explicit Foo(int) {} };
23792 static void TakeFoo(const Foo& foo) { }
23793
23794 int
23795 main ()
23796 {
23797
23798 TakeFoo(17);
23799 return 0;
23800
23801 ;
23802 return 0;
23803 }
23804 _ACEOF
23805 rm -f conftest.$ac_objext
23806 if { (ac_try="$ac_compile"
23807 case "(($ac_try" in
23808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23809 *) ac_try_echo=$ac_try;;
23810 esac
23811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23812 (eval "$ac_compile") 2>conftest.er1
23813 ac_status=$?
23814 grep -v '^ *+' conftest.er1 >conftest.err
23815 rm -f conftest.er1
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } && {
23819 test -z "$ac_cxx_werror_flag" ||
23820 test ! -s conftest.err
23821 } && test -s conftest.$ac_objext; then
23822 wx_cv_explicit=no
23823 else
23824 echo "$as_me: failed program was:" >&5
23825 sed 's/^/| /' conftest.$ac_ext >&5
23826
23827 wx_cv_explicit=yes
23828
23829 fi
23830
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832
23833 else
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.$ac_ext >&5
23836
23837 wx_cv_explicit=no
23838
23839 fi
23840
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842
23843 ac_ext=c
23844 ac_cpp='$CPP $CPPFLAGS'
23845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23848
23849
23850 fi
23851 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23852 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23853
23854 if test "$wx_cv_explicit" = "yes"; then
23855 cat >>confdefs.h <<\_ACEOF
23856 #define HAVE_EXPLICIT 1
23857 _ACEOF
23858
23859 fi
23860
23861
23862 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23864 if test "${ac_cv_cxx_const_cast+set}" = set; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 else
23867
23868 ac_ext=cpp
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873
23874 cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h. */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880
23881 int
23882 main ()
23883 {
23884 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23885 ;
23886 return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext
23890 if { (ac_try="$ac_compile"
23891 case "(($ac_try" in
23892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23893 *) ac_try_echo=$ac_try;;
23894 esac
23895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23896 (eval "$ac_compile") 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } && {
23903 test -z "$ac_cxx_werror_flag" ||
23904 test ! -s conftest.err
23905 } && test -s conftest.$ac_objext; then
23906 ac_cv_cxx_const_cast=yes
23907 else
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23910
23911 ac_cv_cxx_const_cast=no
23912 fi
23913
23914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23920
23921
23922 fi
23923 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23924 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23925 if test "$ac_cv_cxx_const_cast" = yes; then
23926
23927 cat >>confdefs.h <<\_ACEOF
23928 #define HAVE_CONST_CAST
23929 _ACEOF
23930
23931 fi
23932
23933 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23934 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23935 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23936 echo $ECHO_N "(cached) $ECHO_C" >&6
23937 else
23938
23939 ac_ext=cpp
23940 ac_cpp='$CXXCPP $CPPFLAGS'
23941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23944
23945 cat >conftest.$ac_ext <<_ACEOF
23946 /* confdefs.h. */
23947 _ACEOF
23948 cat confdefs.h >>conftest.$ac_ext
23949 cat >>conftest.$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #include <typeinfo>
23952 class Base { public : Base () {} virtual void f () = 0;};
23953 class Derived : public Base { public : Derived () {} virtual void f () {} };
23954 class Unrelated { public : Unrelated () {} };
23955 int g (Unrelated&) { return 0; }
23956 int
23957 main ()
23958 {
23959
23960 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23961 ;
23962 return 0;
23963 }
23964 _ACEOF
23965 rm -f conftest.$ac_objext
23966 if { (ac_try="$ac_compile"
23967 case "(($ac_try" in
23968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23969 *) ac_try_echo=$ac_try;;
23970 esac
23971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23972 (eval "$ac_compile") 2>conftest.er1
23973 ac_status=$?
23974 grep -v '^ *+' conftest.er1 >conftest.err
23975 rm -f conftest.er1
23976 cat conftest.err >&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } && {
23979 test -z "$ac_cxx_werror_flag" ||
23980 test ! -s conftest.err
23981 } && test -s conftest.$ac_objext; then
23982 ac_cv_cxx_reinterpret_cast=yes
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23986
23987 ac_cv_cxx_reinterpret_cast=no
23988 fi
23989
23990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23991 ac_ext=c
23992 ac_cpp='$CPP $CPPFLAGS'
23993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23996
23997
23998 fi
23999 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24000 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24001 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24002
24003 cat >>confdefs.h <<\_ACEOF
24004 #define HAVE_REINTERPRET_CAST
24005 _ACEOF
24006
24007 fi
24008
24009 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24010 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24011 if test "${ac_cv_cxx_static_cast+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 else
24014
24015 ac_ext=cpp
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020
24021 cat >conftest.$ac_ext <<_ACEOF
24022 /* confdefs.h. */
24023 _ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <typeinfo>
24028 class Base { public : Base () {} virtual void f () = 0; };
24029 class Derived : public Base { public : Derived () {} virtual void f () {} };
24030 int g (Derived&) { return 0; }
24031 int
24032 main ()
24033 {
24034
24035 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24045 esac
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_cxx_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_cxx_static_cast=yes
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 ac_cv_cxx_static_cast=no
24063 fi
24064
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 ac_ext=c
24067 ac_cpp='$CPP $CPPFLAGS'
24068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24071
24072
24073 fi
24074 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24075 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24076 if test "$ac_cv_cxx_static_cast" = yes; then
24077
24078 cat >>confdefs.h <<\_ACEOF
24079 #define HAVE_STATIC_CAST
24080 _ACEOF
24081
24082 fi
24083
24084
24085 if test "x$SUNCXX" = xyes; then
24086 CXXFLAGS="-features=tmplife $CXXFLAGS"
24087 fi
24088
24089 if test "x$SUNCC" = xyes; then
24090 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24091 fi
24092
24093 if test "x$SGICC" = "xyes"; then
24094 CFLAGS="-woff 3970 $CFLAGS"
24095 fi
24096 if test "x$SGICXX" = "xyes"; then
24097 CXXFLAGS="-woff 3970 $CXXFLAGS"
24098 fi
24099
24100 if test "x$HPCC" = "xyes"; then
24101 CFLAGS="+W 2011,2450 $CFLAGS"
24102 fi
24103 if test "x$HPCXX" = "xyes"; then
24104 CXXFLAGS="+W 2340 $CXXFLAGS"
24105 fi
24106
24107 if test "x$COMPAQCXX" = "xyes"; then
24108 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24109 fi
24110
24111 ac_ext=cpp
24112 ac_cpp='$CXXCPP $CPPFLAGS'
24113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24116
24117
24118 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24119 if test "$wxUSE_UNICODE" = "yes"; then
24120 std_string="std::wstring"
24121 char_type="wchar_t"
24122 else
24123 std_string="std::string"
24124 char_type="char"
24125 fi
24126
24127 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24128 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24129 if test "${wx_cv_class_stdstring+set}" = set; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 else
24132
24133 cat >conftest.$ac_ext <<_ACEOF
24134 /* confdefs.h. */
24135 _ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 #include <string>
24140 int
24141 main ()
24142 {
24143 $std_string foo;
24144 ;
24145 return 0;
24146 }
24147 _ACEOF
24148 rm -f conftest.$ac_objext
24149 if { (ac_try="$ac_compile"
24150 case "(($ac_try" in
24151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24152 *) ac_try_echo=$ac_try;;
24153 esac
24154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24155 (eval "$ac_compile") 2>conftest.er1
24156 ac_status=$?
24157 grep -v '^ *+' conftest.er1 >conftest.err
24158 rm -f conftest.er1
24159 cat conftest.err >&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } && {
24162 test -z "$ac_cxx_werror_flag" ||
24163 test ! -s conftest.err
24164 } && test -s conftest.$ac_objext; then
24165 wx_cv_class_stdstring=yes
24166 else
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.$ac_ext >&5
24169
24170 wx_cv_class_stdstring=no
24171
24172 fi
24173
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175
24176
24177 fi
24178 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24179 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24180
24181 if test "$wx_cv_class_stdstring" = yes; then
24182 if test "$wxUSE_UNICODE" = "yes"; then
24183 cat >>confdefs.h <<\_ACEOF
24184 #define HAVE_STD_WSTRING 1
24185 _ACEOF
24186
24187 fi
24188 else
24189 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24190 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24191 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 else
24194
24195 cat >conftest.$ac_ext <<_ACEOF
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201
24202 #ifdef HAVE_WCHAR_H
24203 # ifdef __CYGWIN__
24204 # include <stddef.h>
24205 # endif
24206 # include <wchar.h>
24207 #endif
24208 #ifdef HAVE_STDLIB_H
24209 # include <stdlib.h>
24210 #endif
24211 #include <stdio.h>
24212 #include <string>
24213
24214 int
24215 main ()
24216 {
24217 std::basic_string<$char_type> foo;
24218 const $char_type* dummy = foo.c_str();
24219 ;
24220 return 0;
24221 }
24222 _ACEOF
24223 rm -f conftest.$ac_objext
24224 if { (ac_try="$ac_compile"
24225 case "(($ac_try" in
24226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24227 *) ac_try_echo=$ac_try;;
24228 esac
24229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24230 (eval "$ac_compile") 2>conftest.er1
24231 ac_status=$?
24232 grep -v '^ *+' conftest.er1 >conftest.err
24233 rm -f conftest.er1
24234 cat conftest.err >&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } && {
24237 test -z "$ac_cxx_werror_flag" ||
24238 test ! -s conftest.err
24239 } && test -s conftest.$ac_objext; then
24240 wx_cv_class_stdbasicstring=yes
24241 else
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.$ac_ext >&5
24244
24245 wx_cv_class_stdbasicstring=no
24246
24247 fi
24248
24249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24250
24251
24252 fi
24253 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24254 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24255
24256 if test "$wx_cv_class_stdbasicstring" != yes; then
24257 if test "$wxUSE_STL" = "yes"; then
24258 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24259 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24260 { (exit 1); exit 1; }; }
24261 elif test "$wxUSE_STD_STRING" = "yes"; then
24262 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24263 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24264 { (exit 1); exit 1; }; }
24265 else
24266 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24267 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24268 wxUSE_STD_STRING=no
24269 fi
24270 fi
24271 fi
24272 fi
24273
24274 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24275 { echo "$as_me:$LINENO: checking for std::istream" >&5
24276 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24277 if test "${ac_cv_type_std__istream+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 else
24280 cat >conftest.$ac_ext <<_ACEOF
24281 /* confdefs.h. */
24282 _ACEOF
24283 cat confdefs.h >>conftest.$ac_ext
24284 cat >>conftest.$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <iostream>
24287
24288 typedef std::istream ac__type_new_;
24289 int
24290 main ()
24291 {
24292 if ((ac__type_new_ *) 0)
24293 return 0;
24294 if (sizeof (ac__type_new_))
24295 return 0;
24296 ;
24297 return 0;
24298 }
24299 _ACEOF
24300 rm -f conftest.$ac_objext
24301 if { (ac_try="$ac_compile"
24302 case "(($ac_try" in
24303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24304 *) ac_try_echo=$ac_try;;
24305 esac
24306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24307 (eval "$ac_compile") 2>conftest.er1
24308 ac_status=$?
24309 grep -v '^ *+' conftest.er1 >conftest.err
24310 rm -f conftest.er1
24311 cat conftest.err >&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } && {
24314 test -z "$ac_cxx_werror_flag" ||
24315 test ! -s conftest.err
24316 } && test -s conftest.$ac_objext; then
24317 ac_cv_type_std__istream=yes
24318 else
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 ac_cv_type_std__istream=no
24323 fi
24324
24325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24326 fi
24327 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24328 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24329 if test $ac_cv_type_std__istream = yes; then
24330
24331 cat >>confdefs.h <<_ACEOF
24332 #define HAVE_STD__ISTREAM 1
24333 _ACEOF
24334
24335
24336 else
24337 wxUSE_STD_IOSTREAM=no
24338 fi
24339 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24340 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24341 if test "${ac_cv_type_std__ostream+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 else
24344 cat >conftest.$ac_ext <<_ACEOF
24345 /* confdefs.h. */
24346 _ACEOF
24347 cat confdefs.h >>conftest.$ac_ext
24348 cat >>conftest.$ac_ext <<_ACEOF
24349 /* end confdefs.h. */
24350 #include <iostream>
24351
24352 typedef std::ostream ac__type_new_;
24353 int
24354 main ()
24355 {
24356 if ((ac__type_new_ *) 0)
24357 return 0;
24358 if (sizeof (ac__type_new_))
24359 return 0;
24360 ;
24361 return 0;
24362 }
24363 _ACEOF
24364 rm -f conftest.$ac_objext
24365 if { (ac_try="$ac_compile"
24366 case "(($ac_try" in
24367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24368 *) ac_try_echo=$ac_try;;
24369 esac
24370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24371 (eval "$ac_compile") 2>conftest.er1
24372 ac_status=$?
24373 grep -v '^ *+' conftest.er1 >conftest.err
24374 rm -f conftest.er1
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } && {
24378 test -z "$ac_cxx_werror_flag" ||
24379 test ! -s conftest.err
24380 } && test -s conftest.$ac_objext; then
24381 ac_cv_type_std__ostream=yes
24382 else
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.$ac_ext >&5
24385
24386 ac_cv_type_std__ostream=no
24387 fi
24388
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24390 fi
24391 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24392 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24393 if test $ac_cv_type_std__ostream = yes; then
24394
24395 cat >>confdefs.h <<_ACEOF
24396 #define HAVE_STD__OSTREAM 1
24397 _ACEOF
24398
24399
24400 else
24401 wxUSE_STD_IOSTREAM=no
24402 fi
24403
24404
24405 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24406 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24407 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24408 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24409 { (exit 1); exit 1; }; }
24410 else
24411 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24412 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24413 fi
24414 fi
24415 fi
24416
24417 if test "$wxUSE_STL" = "yes"; then
24418 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24419 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24420 if test "${wx_cv_lib_stl+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 else
24423 cat >conftest.$ac_ext <<_ACEOF
24424 /* confdefs.h. */
24425 _ACEOF
24426 cat confdefs.h >>conftest.$ac_ext
24427 cat >>conftest.$ac_ext <<_ACEOF
24428 /* end confdefs.h. */
24429 #include <string>
24430 #include <functional>
24431 #include <algorithm>
24432 #include <vector>
24433 #include <list>
24434 int
24435 main ()
24436 {
24437 std::vector<int> moo;
24438 std::list<int> foo;
24439 std::vector<int>::iterator it =
24440 std::find_if(moo.begin(), moo.end(),
24441 std::bind2nd(std::less<int>(), 3));
24442 ;
24443 return 0;
24444 }
24445 _ACEOF
24446 rm -f conftest.$ac_objext
24447 if { (ac_try="$ac_compile"
24448 case "(($ac_try" in
24449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24450 *) ac_try_echo=$ac_try;;
24451 esac
24452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24453 (eval "$ac_compile") 2>conftest.er1
24454 ac_status=$?
24455 grep -v '^ *+' conftest.er1 >conftest.err
24456 rm -f conftest.er1
24457 cat conftest.err >&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } && {
24460 test -z "$ac_cxx_werror_flag" ||
24461 test ! -s conftest.err
24462 } && test -s conftest.$ac_objext; then
24463 wx_cv_lib_stl=yes
24464 else
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.$ac_ext >&5
24467
24468 wx_cv_lib_stl=no
24469
24470 fi
24471
24472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24473
24474 fi
24475 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24476 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24477
24478 if test "$wx_cv_lib_stl" != yes; then
24479 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24480 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24481 { (exit 1); exit 1; }; }
24482 fi
24483
24484 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24485 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24486 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24487 echo $ECHO_N "(cached) $ECHO_C" >&6
24488 else
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 #include <string>
24496 int
24497 main ()
24498 {
24499 std::string foo, bar;
24500 foo.compare(bar);
24501 foo.compare(1, 1, bar);
24502 foo.compare(1, 1, bar, 1, 1);
24503 foo.compare("");
24504 foo.compare(1, 1, "");
24505 foo.compare(1, 1, "", 2);
24506 ;
24507 return 0;
24508 }
24509 _ACEOF
24510 rm -f conftest.$ac_objext
24511 if { (ac_try="$ac_compile"
24512 case "(($ac_try" in
24513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24514 *) ac_try_echo=$ac_try;;
24515 esac
24516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24517 (eval "$ac_compile") 2>conftest.er1
24518 ac_status=$?
24519 grep -v '^ *+' conftest.er1 >conftest.err
24520 rm -f conftest.er1
24521 cat conftest.err >&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } && {
24524 test -z "$ac_cxx_werror_flag" ||
24525 test ! -s conftest.err
24526 } && test -s conftest.$ac_objext; then
24527 wx_cv_func_stdstring_compare=yes
24528 else
24529 echo "$as_me: failed program was:" >&5
24530 sed 's/^/| /' conftest.$ac_ext >&5
24531
24532 wx_cv_func_stdstring_compare=no
24533
24534 fi
24535
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24537
24538 fi
24539 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24540 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24541
24542 if test "$wx_cv_func_stdstring_compare" = yes; then
24543 cat >>confdefs.h <<\_ACEOF
24544 #define HAVE_STD_STRING_COMPARE 1
24545 _ACEOF
24546
24547 fi
24548
24549 { echo "$as_me:$LINENO: checking for hash_map" >&5
24550 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24551 if test "${ac_cv_header_hash_map+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24553 else
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560
24561
24562
24563 #include <hash_map>
24564 _ACEOF
24565 rm -f conftest.$ac_objext
24566 if { (ac_try="$ac_compile"
24567 case "(($ac_try" in
24568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24569 *) ac_try_echo=$ac_try;;
24570 esac
24571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24572 (eval "$ac_compile") 2>conftest.er1
24573 ac_status=$?
24574 grep -v '^ *+' conftest.er1 >conftest.err
24575 rm -f conftest.er1
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } && {
24579 test -z "$ac_cxx_werror_flag" ||
24580 test ! -s conftest.err
24581 } && test -s conftest.$ac_objext; then
24582 ac_cv_header_hash_map=yes
24583 else
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.$ac_ext >&5
24586
24587 ac_cv_header_hash_map=no
24588 fi
24589
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591 fi
24592 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24593 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24594 if test $ac_cv_header_hash_map = yes; then
24595 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24596 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24597 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24598 echo $ECHO_N "(cached) $ECHO_C" >&6
24599 else
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 #include <hash_map>
24607 #include <hash_set>
24608 int
24609 main ()
24610 {
24611 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24612 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24613 ;
24614 return 0;
24615 }
24616 _ACEOF
24617 rm -f conftest.$ac_objext
24618 if { (ac_try="$ac_compile"
24619 case "(($ac_try" in
24620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24621 *) ac_try_echo=$ac_try;;
24622 esac
24623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24624 (eval "$ac_compile") 2>conftest.er1
24625 ac_status=$?
24626 grep -v '^ *+' conftest.er1 >conftest.err
24627 rm -f conftest.er1
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } && {
24631 test -z "$ac_cxx_werror_flag" ||
24632 test ! -s conftest.err
24633 } && test -s conftest.$ac_objext; then
24634 wx_cv_class_stdhashmapset=yes
24635 else
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24638
24639 wx_cv_class_stdhashmapset=no
24640 fi
24641
24642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24643
24644
24645 fi
24646 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24647 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24648 fi
24649
24650
24651
24652 if test "$wx_cv_class_stdhashmapset" = yes; then
24653 cat >>confdefs.h <<\_ACEOF
24654 #define HAVE_HASH_MAP 1
24655 _ACEOF
24656
24657 cat >>confdefs.h <<\_ACEOF
24658 #define HAVE_STD_HASH_MAP 1
24659 _ACEOF
24660
24661 fi
24662
24663 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24664 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24665 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24667 else
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674
24675
24676
24677 #include <ext/hash_map>
24678 _ACEOF
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24684 esac
24685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24687 ac_status=$?
24688 grep -v '^ *+' conftest.er1 >conftest.err
24689 rm -f conftest.er1
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 ac_cv_header_ext_hash_map=yes
24697 else
24698 echo "$as_me: failed program was:" >&5
24699 sed 's/^/| /' conftest.$ac_ext >&5
24700
24701 ac_cv_header_ext_hash_map=no
24702 fi
24703
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705 fi
24706 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24707 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24708 if test $ac_cv_header_ext_hash_map = yes; then
24709 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24710 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24711 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 else
24714 cat >conftest.$ac_ext <<_ACEOF
24715 /* confdefs.h. */
24716 _ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24720 #include <ext/hash_map>
24721 #include <ext/hash_set>
24722 int
24723 main ()
24724 {
24725 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24726 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24727 ;
24728 return 0;
24729 }
24730 _ACEOF
24731 rm -f conftest.$ac_objext
24732 if { (ac_try="$ac_compile"
24733 case "(($ac_try" in
24734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24735 *) ac_try_echo=$ac_try;;
24736 esac
24737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24738 (eval "$ac_compile") 2>conftest.er1
24739 ac_status=$?
24740 grep -v '^ *+' conftest.er1 >conftest.err
24741 rm -f conftest.er1
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } && {
24745 test -z "$ac_cxx_werror_flag" ||
24746 test ! -s conftest.err
24747 } && test -s conftest.$ac_objext; then
24748 wx_cv_class_gnuhashmapset=yes
24749 else
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24752
24753 wx_cv_class_gnuhashmapset=no
24754 fi
24755
24756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757
24758
24759 fi
24760 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24761 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24762 fi
24763
24764
24765
24766 if test "$wx_cv_class_gnuhashmapset" = yes; then
24767 cat >>confdefs.h <<\_ACEOF
24768 #define HAVE_EXT_HASH_MAP 1
24769 _ACEOF
24770
24771 cat >>confdefs.h <<\_ACEOF
24772 #define HAVE_GNU_CXX_HASH_MAP 1
24773 _ACEOF
24774
24775 fi
24776 fi
24777
24778
24779
24780 if test -n "$GCC"; then
24781 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24782 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24783 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 else
24786
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
24794 int
24795 main ()
24796 {
24797
24798 unsigned int value=0;
24799 /* wxAtomicInc doesn't use return value here */
24800 __sync_fetch_and_add(&value, 2);
24801 __sync_sub_and_fetch(&value, 1);
24802 /* but wxAtomicDec does, so mimic that: */
24803 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24804
24805 ;
24806 return 0;
24807 }
24808 _ACEOF
24809 rm -f conftest.$ac_objext conftest$ac_exeext
24810 if { (ac_try="$ac_link"
24811 case "(($ac_try" in
24812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24813 *) ac_try_echo=$ac_try;;
24814 esac
24815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24816 (eval "$ac_link") 2>conftest.er1
24817 ac_status=$?
24818 grep -v '^ *+' conftest.er1 >conftest.err
24819 rm -f conftest.er1
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } && {
24823 test -z "$ac_cxx_werror_flag" ||
24824 test ! -s conftest.err
24825 } && test -s conftest$ac_exeext &&
24826 $as_test_x conftest$ac_exeext; then
24827 wx_cv_cc_gcc_atomic_builtins=yes
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 wx_cv_cc_gcc_atomic_builtins=no
24833 fi
24834
24835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24836 conftest$ac_exeext conftest.$ac_ext
24837
24838 fi
24839
24840 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24841 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24842 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24843 cat >>confdefs.h <<\_ACEOF
24844 #define HAVE_GCC_ATOMIC_BUILTINS 1
24845 _ACEOF
24846
24847 fi
24848 fi
24849
24850
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24856
24857
24858
24859 SEARCH_INCLUDE="\
24860 /usr/local/include \
24861 \
24862 /usr/Motif-2.1/include \
24863 /usr/Motif-1.2/include \
24864 /usr/include/Motif1.2 \
24865 \
24866 /usr/dt/include \
24867 /usr/openwin/include \
24868 \
24869 /usr/include/Xm \
24870 \
24871 /usr/X11R6/include \
24872 /usr/X11R6.4/include \
24873 /usr/X11R5/include \
24874 /usr/X11R4/include \
24875 \
24876 /usr/include/X11R6 \
24877 /usr/include/X11R5 \
24878 /usr/include/X11R4 \
24879 \
24880 /usr/local/X11R6/include \
24881 /usr/local/X11R5/include \
24882 /usr/local/X11R4/include \
24883 \
24884 /usr/local/include/X11R6 \
24885 /usr/local/include/X11R5 \
24886 /usr/local/include/X11R4 \
24887 \
24888 /usr/X11/include \
24889 /usr/include/X11 \
24890 /usr/local/X11/include \
24891 /usr/local/include/X11 \
24892 \
24893 /usr/XFree86/include/X11 \
24894 /usr/pkg/include \
24895 \
24896 /usr/openwin/share/include"
24897
24898 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24899 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24900
24901 case "${host}" in
24902 *-*-irix6* )
24903 if test "${wx_cv_std_libpath+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 else
24906
24907 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24908 for e in a so sl dylib dll.a; do
24909 libc="$d/libc.$e"
24910 if test -f $libc; then
24911 save_LIBS="$LIBS"
24912 LIBS="$libc"
24913 cat >conftest.$ac_ext <<_ACEOF
24914 int main() { return 0; }
24915 _ACEOF
24916 rm -f conftest.$ac_objext conftest$ac_exeext
24917 if { (ac_try="$ac_link"
24918 case "(($ac_try" in
24919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24920 *) ac_try_echo=$ac_try;;
24921 esac
24922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24923 (eval "$ac_link") 2>conftest.er1
24924 ac_status=$?
24925 grep -v '^ *+' conftest.er1 >conftest.err
24926 rm -f conftest.er1
24927 cat conftest.err >&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } && {
24930 test -z "$ac_c_werror_flag" ||
24931 test ! -s conftest.err
24932 } && test -s conftest$ac_exeext &&
24933 $as_test_x conftest$ac_exeext; then
24934 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24935 else
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.$ac_ext >&5
24938
24939
24940 fi
24941
24942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24943 conftest$ac_exeext conftest.$ac_ext
24944 LIBS="$save_LIBS"
24945 if test "x$wx_cv_std_libpath" != "x"; then
24946 break 2
24947 fi
24948 fi
24949 done
24950 done
24951 if test "x$wx_cv_std_libpath" = "x"; then
24952 wx_cv_std_libpath="lib"
24953 fi
24954
24955
24956 fi
24957
24958 ;;
24959
24960 *-*-solaris2* )
24961 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24962 wx_cv_std_libpath="lib/64"
24963 else
24964 wx_cv_std_libpath="lib"
24965 fi
24966 ;;
24967
24968 *-*-linux* )
24969 if test "$ac_cv_sizeof_void_p" = 8 -a \
24970 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24971 wx_cv_std_libpath="lib64"
24972 else
24973 wx_cv_std_libpath="lib"
24974 fi
24975 ;;
24976
24977 *)
24978 wx_cv_std_libpath="lib";
24979 ;;
24980 esac
24981
24982 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24983 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24984
24985 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24986
24987 if test "$build" != "$host" -a "$GCC" = yes; then
24988 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24989 cross_root=`dirname $cross_root`
24990 cross_root=`dirname $cross_root`
24991
24992 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24993 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24994 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24995
24996 if test -z "$PKG_CONFIG_PATH"; then
24997 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24998 export PKG_CONFIG_PATH
24999 fi
25000
25001 if test -z "$x_includes" -o "$x_includes" = NONE; then
25002
25003 ac_find_includes=
25004 for ac_dir in $SEARCH_INCLUDE /usr/include;
25005 do
25006 if test -f "$ac_dir/X11/Intrinsic.h"; then
25007 ac_find_includes=$ac_dir
25008 break
25009 fi
25010 done
25011
25012 x_includes=$ac_find_includes
25013 fi
25014 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25015
25016 ac_find_libraries=
25017 for ac_dir in $SEARCH_LIB;
25018 do
25019 for ac_extension in a so sl dylib dll.a; do
25020 if test -f "$ac_dir/libXt.$ac_extension"; then
25021 ac_find_libraries=$ac_dir
25022 break 2
25023 fi
25024 done
25025 done
25026
25027 x_libraries=$ac_find_libraries
25028 fi
25029 fi
25030 fi
25031
25032
25033 cat >confcache <<\_ACEOF
25034 # This file is a shell script that caches the results of configure
25035 # tests run on this system so they can be shared between configure
25036 # scripts and configure runs, see configure's option --config-cache.
25037 # It is not useful on other systems. If it contains results you don't
25038 # want to keep, you may remove or edit it.
25039 #
25040 # config.status only pays attention to the cache file if you give it
25041 # the --recheck option to rerun configure.
25042 #
25043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25045 # following values.
25046
25047 _ACEOF
25048
25049 # The following way of writing the cache mishandles newlines in values,
25050 # but we know of no workaround that is simple, portable, and efficient.
25051 # So, we kill variables containing newlines.
25052 # Ultrix sh set writes to stderr and can't be redirected directly,
25053 # and sets the high bit in the cache file unless we assign to the vars.
25054 (
25055 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25056 eval ac_val=\$$ac_var
25057 case $ac_val in #(
25058 *${as_nl}*)
25059 case $ac_var in #(
25060 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25061 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25062 esac
25063 case $ac_var in #(
25064 _ | IFS | as_nl) ;; #(
25065 *) $as_unset $ac_var ;;
25066 esac ;;
25067 esac
25068 done
25069
25070 (set) 2>&1 |
25071 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25072 *${as_nl}ac_space=\ *)
25073 # `set' does not quote correctly, so add quotes (double-quote
25074 # substitution turns \\\\ into \\, and sed turns \\ into \).
25075 sed -n \
25076 "s/'/'\\\\''/g;
25077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25078 ;; #(
25079 *)
25080 # `set' quotes correctly as required by POSIX, so do not add quotes.
25081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25082 ;;
25083 esac |
25084 sort
25085 ) |
25086 sed '
25087 /^ac_cv_env_/b end
25088 t clear
25089 :clear
25090 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25091 t end
25092 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25093 :end' >>confcache
25094 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25095 if test -w "$cache_file"; then
25096 test "x$cache_file" != "x/dev/null" &&
25097 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25098 echo "$as_me: updating cache $cache_file" >&6;}
25099 cat confcache >$cache_file
25100 else
25101 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25102 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25103 fi
25104 fi
25105 rm -f confcache
25106
25107 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25108 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25109 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25110 if test "${wx_cv_lib_glibc21+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 else
25113
25114 cat >conftest.$ac_ext <<_ACEOF
25115 /* confdefs.h. */
25116 _ACEOF
25117 cat confdefs.h >>conftest.$ac_ext
25118 cat >>conftest.$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <features.h>
25121 int
25122 main ()
25123 {
25124
25125 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25126 not glibc 2.1
25127 #endif
25128
25129 ;
25130 return 0;
25131 }
25132 _ACEOF
25133 rm -f conftest.$ac_objext
25134 if { (ac_try="$ac_compile"
25135 case "(($ac_try" in
25136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25137 *) ac_try_echo=$ac_try;;
25138 esac
25139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25140 (eval "$ac_compile") 2>conftest.er1
25141 ac_status=$?
25142 grep -v '^ *+' conftest.er1 >conftest.err
25143 rm -f conftest.er1
25144 cat conftest.err >&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && {
25147 test -z "$ac_c_werror_flag" ||
25148 test ! -s conftest.err
25149 } && test -s conftest.$ac_objext; then
25150
25151 wx_cv_lib_glibc21=yes
25152
25153 else
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25156
25157
25158 wx_cv_lib_glibc21=no
25159
25160
25161 fi
25162
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164
25165 fi
25166 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25167 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25168 if test "$wx_cv_lib_glibc21" = "yes"; then
25169 cat >>confdefs.h <<\_ACEOF
25170 #define wxHAVE_GLIBC2 1
25171 _ACEOF
25172
25173 fi
25174 fi
25175
25176 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25177 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25178 cat >>confdefs.h <<\_ACEOF
25179 #define _GNU_SOURCE 1
25180 _ACEOF
25181
25182 fi
25183 fi
25184
25185 have_cos=0
25186 have_floor=0
25187
25188 for ac_func in cos
25189 do
25190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25194 echo $ECHO_N "(cached) $ECHO_C" >&6
25195 else
25196 cat >conftest.$ac_ext <<_ACEOF
25197 /* confdefs.h. */
25198 _ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25204 #define $ac_func innocuous_$ac_func
25205
25206 /* System header to define __stub macros and hopefully few prototypes,
25207 which can conflict with char $ac_func (); below.
25208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25209 <limits.h> exists even on freestanding compilers. */
25210
25211 #ifdef __STDC__
25212 # include <limits.h>
25213 #else
25214 # include <assert.h>
25215 #endif
25216
25217 #undef $ac_func
25218
25219 /* Override any GCC internal prototype to avoid an error.
25220 Use char because int might match the return type of a GCC
25221 builtin and then its argument prototype would still apply. */
25222 #ifdef __cplusplus
25223 extern "C"
25224 #endif
25225 char $ac_func ();
25226 /* The GNU C library defines this for functions which it implements
25227 to always fail with ENOSYS. Some functions are actually named
25228 something starting with __ and the normal name is an alias. */
25229 #if defined __stub_$ac_func || defined __stub___$ac_func
25230 choke me
25231 #endif
25232
25233 int
25234 main ()
25235 {
25236 return $ac_func ();
25237 ;
25238 return 0;
25239 }
25240 _ACEOF
25241 rm -f conftest.$ac_objext conftest$ac_exeext
25242 if { (ac_try="$ac_link"
25243 case "(($ac_try" in
25244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25245 *) ac_try_echo=$ac_try;;
25246 esac
25247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25248 (eval "$ac_link") 2>conftest.er1
25249 ac_status=$?
25250 grep -v '^ *+' conftest.er1 >conftest.err
25251 rm -f conftest.er1
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } && {
25255 test -z "$ac_c_werror_flag" ||
25256 test ! -s conftest.err
25257 } && test -s conftest$ac_exeext &&
25258 $as_test_x conftest$ac_exeext; then
25259 eval "$as_ac_var=yes"
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 eval "$as_ac_var=no"
25265 fi
25266
25267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25268 conftest$ac_exeext conftest.$ac_ext
25269 fi
25270 ac_res=`eval echo '${'$as_ac_var'}'`
25271 { echo "$as_me:$LINENO: result: $ac_res" >&5
25272 echo "${ECHO_T}$ac_res" >&6; }
25273 if test `eval echo '${'$as_ac_var'}'` = yes; then
25274 cat >>confdefs.h <<_ACEOF
25275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25276 _ACEOF
25277 have_cos=1
25278 fi
25279 done
25280
25281
25282 for ac_func in floor
25283 do
25284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25288 echo $ECHO_N "(cached) $ECHO_C" >&6
25289 else
25290 cat >conftest.$ac_ext <<_ACEOF
25291 /* confdefs.h. */
25292 _ACEOF
25293 cat confdefs.h >>conftest.$ac_ext
25294 cat >>conftest.$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25298 #define $ac_func innocuous_$ac_func
25299
25300 /* System header to define __stub macros and hopefully few prototypes,
25301 which can conflict with char $ac_func (); below.
25302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25303 <limits.h> exists even on freestanding compilers. */
25304
25305 #ifdef __STDC__
25306 # include <limits.h>
25307 #else
25308 # include <assert.h>
25309 #endif
25310
25311 #undef $ac_func
25312
25313 /* Override any GCC internal prototype to avoid an error.
25314 Use char because int might match the return type of a GCC
25315 builtin and then its argument prototype would still apply. */
25316 #ifdef __cplusplus
25317 extern "C"
25318 #endif
25319 char $ac_func ();
25320 /* The GNU C library defines this for functions which it implements
25321 to always fail with ENOSYS. Some functions are actually named
25322 something starting with __ and the normal name is an alias. */
25323 #if defined __stub_$ac_func || defined __stub___$ac_func
25324 choke me
25325 #endif
25326
25327 int
25328 main ()
25329 {
25330 return $ac_func ();
25331 ;
25332 return 0;
25333 }
25334 _ACEOF
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (ac_try="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25340 esac
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>conftest.er1
25343 ac_status=$?
25344 grep -v '^ *+' conftest.er1 >conftest.err
25345 rm -f conftest.er1
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_c_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest$ac_exeext &&
25352 $as_test_x conftest$ac_exeext; then
25353 eval "$as_ac_var=yes"
25354 else
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25357
25358 eval "$as_ac_var=no"
25359 fi
25360
25361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25362 conftest$ac_exeext conftest.$ac_ext
25363 fi
25364 ac_res=`eval echo '${'$as_ac_var'}'`
25365 { echo "$as_me:$LINENO: result: $ac_res" >&5
25366 echo "${ECHO_T}$ac_res" >&6; }
25367 if test `eval echo '${'$as_ac_var'}'` = yes; then
25368 cat >>confdefs.h <<_ACEOF
25369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25370 _ACEOF
25371 have_floor=1
25372 fi
25373 done
25374
25375 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25376 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25377 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25378 { echo "$as_me:$LINENO: result: yes" >&5
25379 echo "${ECHO_T}yes" >&6; }
25380 else
25381 { echo "$as_me:$LINENO: result: no" >&5
25382 echo "${ECHO_T}no" >&6; }
25383 LIBS="$LIBS -lm"
25384 # use different functions to avoid configure caching
25385 have_sin=0
25386 have_ceil=0
25387
25388 for ac_func in sin
25389 do
25390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25393 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 else
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25404 #define $ac_func innocuous_$ac_func
25405
25406 /* System header to define __stub macros and hopefully few prototypes,
25407 which can conflict with char $ac_func (); below.
25408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25409 <limits.h> exists even on freestanding compilers. */
25410
25411 #ifdef __STDC__
25412 # include <limits.h>
25413 #else
25414 # include <assert.h>
25415 #endif
25416
25417 #undef $ac_func
25418
25419 /* Override any GCC internal prototype to avoid an error.
25420 Use char because int might match the return type of a GCC
25421 builtin and then its argument prototype would still apply. */
25422 #ifdef __cplusplus
25423 extern "C"
25424 #endif
25425 char $ac_func ();
25426 /* The GNU C library defines this for functions which it implements
25427 to always fail with ENOSYS. Some functions are actually named
25428 something starting with __ and the normal name is an alias. */
25429 #if defined __stub_$ac_func || defined __stub___$ac_func
25430 choke me
25431 #endif
25432
25433 int
25434 main ()
25435 {
25436 return $ac_func ();
25437 ;
25438 return 0;
25439 }
25440 _ACEOF
25441 rm -f conftest.$ac_objext conftest$ac_exeext
25442 if { (ac_try="$ac_link"
25443 case "(($ac_try" in
25444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25445 *) ac_try_echo=$ac_try;;
25446 esac
25447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25448 (eval "$ac_link") 2>conftest.er1
25449 ac_status=$?
25450 grep -v '^ *+' conftest.er1 >conftest.err
25451 rm -f conftest.er1
25452 cat conftest.err >&5
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } && {
25455 test -z "$ac_c_werror_flag" ||
25456 test ! -s conftest.err
25457 } && test -s conftest$ac_exeext &&
25458 $as_test_x conftest$ac_exeext; then
25459 eval "$as_ac_var=yes"
25460 else
25461 echo "$as_me: failed program was:" >&5
25462 sed 's/^/| /' conftest.$ac_ext >&5
25463
25464 eval "$as_ac_var=no"
25465 fi
25466
25467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25468 conftest$ac_exeext conftest.$ac_ext
25469 fi
25470 ac_res=`eval echo '${'$as_ac_var'}'`
25471 { echo "$as_me:$LINENO: result: $ac_res" >&5
25472 echo "${ECHO_T}$ac_res" >&6; }
25473 if test `eval echo '${'$as_ac_var'}'` = yes; then
25474 cat >>confdefs.h <<_ACEOF
25475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25476 _ACEOF
25477 have_sin=1
25478 fi
25479 done
25480
25481
25482 for ac_func in ceil
25483 do
25484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 else
25490 cat >conftest.$ac_ext <<_ACEOF
25491 /* confdefs.h. */
25492 _ACEOF
25493 cat confdefs.h >>conftest.$ac_ext
25494 cat >>conftest.$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25498 #define $ac_func innocuous_$ac_func
25499
25500 /* System header to define __stub macros and hopefully few prototypes,
25501 which can conflict with char $ac_func (); below.
25502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25503 <limits.h> exists even on freestanding compilers. */
25504
25505 #ifdef __STDC__
25506 # include <limits.h>
25507 #else
25508 # include <assert.h>
25509 #endif
25510
25511 #undef $ac_func
25512
25513 /* Override any GCC internal prototype to avoid an error.
25514 Use char because int might match the return type of a GCC
25515 builtin and then its argument prototype would still apply. */
25516 #ifdef __cplusplus
25517 extern "C"
25518 #endif
25519 char $ac_func ();
25520 /* The GNU C library defines this for functions which it implements
25521 to always fail with ENOSYS. Some functions are actually named
25522 something starting with __ and the normal name is an alias. */
25523 #if defined __stub_$ac_func || defined __stub___$ac_func
25524 choke me
25525 #endif
25526
25527 int
25528 main ()
25529 {
25530 return $ac_func ();
25531 ;
25532 return 0;
25533 }
25534 _ACEOF
25535 rm -f conftest.$ac_objext conftest$ac_exeext
25536 if { (ac_try="$ac_link"
25537 case "(($ac_try" in
25538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25539 *) ac_try_echo=$ac_try;;
25540 esac
25541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25542 (eval "$ac_link") 2>conftest.er1
25543 ac_status=$?
25544 grep -v '^ *+' conftest.er1 >conftest.err
25545 rm -f conftest.er1
25546 cat conftest.err >&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } && {
25549 test -z "$ac_c_werror_flag" ||
25550 test ! -s conftest.err
25551 } && test -s conftest$ac_exeext &&
25552 $as_test_x conftest$ac_exeext; then
25553 eval "$as_ac_var=yes"
25554 else
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.$ac_ext >&5
25557
25558 eval "$as_ac_var=no"
25559 fi
25560
25561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25562 conftest$ac_exeext conftest.$ac_ext
25563 fi
25564 ac_res=`eval echo '${'$as_ac_var'}'`
25565 { echo "$as_me:$LINENO: result: $ac_res" >&5
25566 echo "${ECHO_T}$ac_res" >&6; }
25567 if test `eval echo '${'$as_ac_var'}'` = yes; then
25568 cat >>confdefs.h <<_ACEOF
25569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25570 _ACEOF
25571 have_ceil=1
25572 fi
25573 done
25574
25575 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25576 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25577 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25578 { echo "$as_me:$LINENO: result: yes" >&5
25579 echo "${ECHO_T}yes" >&6; }
25580 else
25581 { echo "$as_me:$LINENO: result: no" >&5
25582 echo "${ECHO_T}no" >&6; }
25583 # not sure we should warn the user, crash, etc.
25584 fi
25585 fi
25586
25587 ac_ext=cpp
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25592
25593 if test "wxUSE_UNICODE" = "yes"; then
25594
25595 for wx_func in wcstoull
25596 do
25597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 else
25602
25603 cat >conftest.$ac_ext <<_ACEOF
25604
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610
25611
25612 $ac_includes_default
25613
25614 int
25615 main ()
25616 {
25617
25618 #ifndef $wx_func
25619 &$wx_func;
25620 #endif
25621
25622
25623 ;
25624 return 0;
25625 }
25626
25627 _ACEOF
25628 rm -f conftest.$ac_objext conftest$ac_exeext
25629 if { (ac_try="$ac_link"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632 *) ac_try_echo=$ac_try;;
25633 esac
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_link") 2>conftest.er1
25636 ac_status=$?
25637 grep -v '^ *+' conftest.er1 >conftest.err
25638 rm -f conftest.er1
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_cxx_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest$ac_exeext &&
25645 $as_test_x conftest$ac_exeext; then
25646 eval wx_cv_func_$wx_func=yes
25647 else
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.$ac_ext >&5
25650
25651 eval wx_cv_func_$wx_func=no
25652 fi
25653
25654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25655 conftest$ac_exeext conftest.$ac_ext
25656
25657 fi
25658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25659 { echo "$as_me:$LINENO: result: $ac_res" >&5
25660 echo "${ECHO_T}$ac_res" >&6; }
25661
25662 if eval test \$wx_cv_func_$wx_func = yes
25663 then
25664 cat >>confdefs.h <<_ACEOF
25665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25666 _ACEOF
25667
25668
25669 else
25670 :
25671
25672 fi
25673 done
25674
25675 else
25676
25677 for wx_func in strtoull
25678 do
25679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 else
25684
25685 cat >conftest.$ac_ext <<_ACEOF
25686
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692
25693
25694 $ac_includes_default
25695
25696 int
25697 main ()
25698 {
25699
25700 #ifndef $wx_func
25701 &$wx_func;
25702 #endif
25703
25704
25705 ;
25706 return 0;
25707 }
25708
25709 _ACEOF
25710 rm -f conftest.$ac_objext conftest$ac_exeext
25711 if { (ac_try="$ac_link"
25712 case "(($ac_try" in
25713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25714 *) ac_try_echo=$ac_try;;
25715 esac
25716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25717 (eval "$ac_link") 2>conftest.er1
25718 ac_status=$?
25719 grep -v '^ *+' conftest.er1 >conftest.err
25720 rm -f conftest.er1
25721 cat conftest.err >&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } && {
25724 test -z "$ac_cxx_werror_flag" ||
25725 test ! -s conftest.err
25726 } && test -s conftest$ac_exeext &&
25727 $as_test_x conftest$ac_exeext; then
25728 eval wx_cv_func_$wx_func=yes
25729 else
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25732
25733 eval wx_cv_func_$wx_func=no
25734 fi
25735
25736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25737 conftest$ac_exeext conftest.$ac_ext
25738
25739 fi
25740 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25741 { echo "$as_me:$LINENO: result: $ac_res" >&5
25742 echo "${ECHO_T}$ac_res" >&6; }
25743
25744 if eval test \$wx_cv_func_$wx_func = yes
25745 then
25746 cat >>confdefs.h <<_ACEOF
25747 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25748 _ACEOF
25749
25750
25751 else
25752 :
25753
25754 fi
25755 done
25756
25757 fi
25758 ac_ext=c
25759 ac_cpp='$CPP $CPPFLAGS'
25760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25763
25764
25765
25766
25767 if test "$wxUSE_REGEX" != "no"; then
25768 cat >>confdefs.h <<\_ACEOF
25769 #define wxUSE_REGEX 1
25770 _ACEOF
25771
25772
25773 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25774 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25775 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25776 wxUSE_REGEX=builtin
25777 fi
25778
25779 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25780 { echo "$as_me:$LINENO: checking for regex.h" >&5
25781 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25782 if test "${ac_cv_header_regex_h+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791
25792
25793 #include <regex.h>
25794 _ACEOF
25795 rm -f conftest.$ac_objext
25796 if { (ac_try="$ac_compile"
25797 case "(($ac_try" in
25798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25799 *) ac_try_echo=$ac_try;;
25800 esac
25801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25802 (eval "$ac_compile") 2>conftest.er1
25803 ac_status=$?
25804 grep -v '^ *+' conftest.er1 >conftest.err
25805 rm -f conftest.er1
25806 cat conftest.err >&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); } && {
25809 test -z "$ac_c_werror_flag" ||
25810 test ! -s conftest.err
25811 } && test -s conftest.$ac_objext; then
25812 ac_cv_header_regex_h=yes
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817 ac_cv_header_regex_h=no
25818 fi
25819
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 fi
25822 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25823 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25824 if test $ac_cv_header_regex_h = yes; then
25825
25826
25827 for ac_func in regcomp re_search
25828 do
25829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25833 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 else
25835 cat >conftest.$ac_ext <<_ACEOF
25836 /* confdefs.h. */
25837 _ACEOF
25838 cat confdefs.h >>conftest.$ac_ext
25839 cat >>conftest.$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25843 #define $ac_func innocuous_$ac_func
25844
25845 /* System header to define __stub macros and hopefully few prototypes,
25846 which can conflict with char $ac_func (); below.
25847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25848 <limits.h> exists even on freestanding compilers. */
25849
25850 #ifdef __STDC__
25851 # include <limits.h>
25852 #else
25853 # include <assert.h>
25854 #endif
25855
25856 #undef $ac_func
25857
25858 /* Override any GCC internal prototype to avoid an error.
25859 Use char because int might match the return type of a GCC
25860 builtin and then its argument prototype would still apply. */
25861 #ifdef __cplusplus
25862 extern "C"
25863 #endif
25864 char $ac_func ();
25865 /* The GNU C library defines this for functions which it implements
25866 to always fail with ENOSYS. Some functions are actually named
25867 something starting with __ and the normal name is an alias. */
25868 #if defined __stub_$ac_func || defined __stub___$ac_func
25869 choke me
25870 #endif
25871
25872 int
25873 main ()
25874 {
25875 return $ac_func ();
25876 ;
25877 return 0;
25878 }
25879 _ACEOF
25880 rm -f conftest.$ac_objext conftest$ac_exeext
25881 if { (ac_try="$ac_link"
25882 case "(($ac_try" in
25883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25884 *) ac_try_echo=$ac_try;;
25885 esac
25886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25887 (eval "$ac_link") 2>conftest.er1
25888 ac_status=$?
25889 grep -v '^ *+' conftest.er1 >conftest.err
25890 rm -f conftest.er1
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && {
25894 test -z "$ac_c_werror_flag" ||
25895 test ! -s conftest.err
25896 } && test -s conftest$ac_exeext &&
25897 $as_test_x conftest$ac_exeext; then
25898 eval "$as_ac_var=yes"
25899 else
25900 echo "$as_me: failed program was:" >&5
25901 sed 's/^/| /' conftest.$ac_ext >&5
25902
25903 eval "$as_ac_var=no"
25904 fi
25905
25906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25907 conftest$ac_exeext conftest.$ac_ext
25908 fi
25909 ac_res=`eval echo '${'$as_ac_var'}'`
25910 { echo "$as_me:$LINENO: result: $ac_res" >&5
25911 echo "${ECHO_T}$ac_res" >&6; }
25912 if test `eval echo '${'$as_ac_var'}'` = yes; then
25913 cat >>confdefs.h <<_ACEOF
25914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25915 _ACEOF
25916
25917 fi
25918 done
25919
25920 fi
25921
25922
25923
25924 if test "x$ac_cv_func_regcomp" != "xyes"; then
25925 if test "$wxUSE_REGEX" = "sys" ; then
25926 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25927 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25928 { (exit 1); exit 1; }; }
25929 else
25930 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25931 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25932 wxUSE_REGEX=builtin
25933 fi
25934 else
25935 wxUSE_REGEX=sys
25936 cat >>confdefs.h <<\_ACEOF
25937 #define WX_NO_REGEX_ADVANCED 1
25938 _ACEOF
25939
25940 fi
25941 fi
25942 fi
25943
25944
25945 ZLIB_LINK=
25946 if test "$wxUSE_ZLIB" != "no" ; then
25947 cat >>confdefs.h <<\_ACEOF
25948 #define wxUSE_ZLIB 1
25949 _ACEOF
25950
25951
25952 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25953 if test "$USE_DARWIN" = 1; then
25954 system_zlib_h_ok="yes"
25955 else
25956 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25957 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25958 if test "${ac_cv_header_zlib_h+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25960 else
25961 if test "$cross_compiling" = yes; then
25962 unset ac_cv_header_zlib_h
25963
25964 else
25965 cat >conftest.$ac_ext <<_ACEOF
25966 /* confdefs.h. */
25967 _ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971
25972 #include <zlib.h>
25973 #include <stdio.h>
25974
25975 int main()
25976 {
25977 FILE *f=fopen("conftestval", "w");
25978 if (!f) exit(1);
25979 fprintf(f, "%s",
25980 ZLIB_VERSION[0] == '1' &&
25981 (ZLIB_VERSION[2] > '1' ||
25982 (ZLIB_VERSION[2] == '1' &&
25983 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25984 exit(0);
25985 }
25986
25987 _ACEOF
25988 rm -f conftest$ac_exeext
25989 if { (ac_try="$ac_link"
25990 case "(($ac_try" in
25991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25992 *) ac_try_echo=$ac_try;;
25993 esac
25994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25995 (eval "$ac_link") 2>&5
25996 ac_status=$?
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25999 { (case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26002 esac
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_try") 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_cv_header_zlib_h=`cat conftestval`
26009 else
26010 echo "$as_me: program exited with status $ac_status" >&5
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26013
26014 ( exit $ac_status )
26015 ac_cv_header_zlib_h=no
26016 fi
26017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26018 fi
26019
26020
26021
26022 fi
26023 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26024 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26025 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26026 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26027 if test "${ac_cv_header_zlib_h+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 else
26030 cat >conftest.$ac_ext <<_ACEOF
26031 /* confdefs.h. */
26032 _ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26036
26037
26038 #include <zlib.h>
26039 _ACEOF
26040 rm -f conftest.$ac_objext
26041 if { (ac_try="$ac_compile"
26042 case "(($ac_try" in
26043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26044 *) ac_try_echo=$ac_try;;
26045 esac
26046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26047 (eval "$ac_compile") 2>conftest.er1
26048 ac_status=$?
26049 grep -v '^ *+' conftest.er1 >conftest.err
26050 rm -f conftest.er1
26051 cat conftest.err >&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); } && {
26054 test -z "$ac_c_werror_flag" ||
26055 test ! -s conftest.err
26056 } && test -s conftest.$ac_objext; then
26057 ac_cv_header_zlib_h=yes
26058 else
26059 echo "$as_me: failed program was:" >&5
26060 sed 's/^/| /' conftest.$ac_ext >&5
26061
26062 ac_cv_header_zlib_h=no
26063 fi
26064
26065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26066 fi
26067 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26068 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26069
26070
26071
26072 system_zlib_h_ok=$ac_cv_header_zlib_h
26073 fi
26074
26075 if test "$system_zlib_h_ok" = "yes"; then
26076 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26077 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26078 if test "${ac_cv_lib_z_deflate+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 ac_check_lib_save_LIBS=$LIBS
26082 LIBS="-lz $LIBS"
26083 cat >conftest.$ac_ext <<_ACEOF
26084 /* confdefs.h. */
26085 _ACEOF
26086 cat confdefs.h >>conftest.$ac_ext
26087 cat >>conftest.$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26089
26090 /* Override any GCC internal prototype to avoid an error.
26091 Use char because int might match the return type of a GCC
26092 builtin and then its argument prototype would still apply. */
26093 #ifdef __cplusplus
26094 extern "C"
26095 #endif
26096 char deflate ();
26097 int
26098 main ()
26099 {
26100 return deflate ();
26101 ;
26102 return 0;
26103 }
26104 _ACEOF
26105 rm -f conftest.$ac_objext conftest$ac_exeext
26106 if { (ac_try="$ac_link"
26107 case "(($ac_try" in
26108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26109 *) ac_try_echo=$ac_try;;
26110 esac
26111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26112 (eval "$ac_link") 2>conftest.er1
26113 ac_status=$?
26114 grep -v '^ *+' conftest.er1 >conftest.err
26115 rm -f conftest.er1
26116 cat conftest.err >&5
26117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26118 (exit $ac_status); } && {
26119 test -z "$ac_c_werror_flag" ||
26120 test ! -s conftest.err
26121 } && test -s conftest$ac_exeext &&
26122 $as_test_x conftest$ac_exeext; then
26123 ac_cv_lib_z_deflate=yes
26124 else
26125 echo "$as_me: failed program was:" >&5
26126 sed 's/^/| /' conftest.$ac_ext >&5
26127
26128 ac_cv_lib_z_deflate=no
26129 fi
26130
26131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26132 conftest$ac_exeext conftest.$ac_ext
26133 LIBS=$ac_check_lib_save_LIBS
26134 fi
26135 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26136 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26137 if test $ac_cv_lib_z_deflate = yes; then
26138 ZLIB_LINK=" -lz"
26139 fi
26140
26141 fi
26142
26143 if test "x$ZLIB_LINK" = "x" ; then
26144 if test "$wxUSE_ZLIB" = "sys" ; then
26145 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26146 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26147 { (exit 1); exit 1; }; }
26148 else
26149 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26150 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26151 wxUSE_ZLIB=builtin
26152 fi
26153 else
26154 wxUSE_ZLIB=sys
26155 fi
26156 fi
26157 fi
26158
26159
26160 PNG_LINK=
26161 if test "$wxUSE_LIBPNG" != "no" ; then
26162 cat >>confdefs.h <<\_ACEOF
26163 #define wxUSE_LIBPNG 1
26164 _ACEOF
26165
26166
26167 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26168 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26169 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26170 wxUSE_LIBPNG=sys
26171 fi
26172
26173 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26174 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26175 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26176 wxUSE_LIBPNG=builtin
26177 fi
26178
26179 if test "$wxUSE_MGL" != 1 ; then
26180 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26181 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26182 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26183 if test "${ac_cv_header_png_h+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 else
26186 if test "$cross_compiling" = yes; then
26187 unset ac_cv_header_png_h
26188
26189 else
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h. */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196
26197 #include <png.h>
26198 #include <stdio.h>
26199
26200 int main()
26201 {
26202 FILE *f=fopen("conftestval", "w");
26203 if (!f) exit(1);
26204 fprintf(f, "%s",
26205 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26206 exit(0);
26207 }
26208
26209 _ACEOF
26210 rm -f conftest$ac_exeext
26211 if { (ac_try="$ac_link"
26212 case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26215 esac
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_link") 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26221 { (case "(($ac_try" in
26222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26223 *) ac_try_echo=$ac_try;;
26224 esac
26225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26226 (eval "$ac_try") 2>&5
26227 ac_status=$?
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); }; }; then
26230 ac_cv_header_png_h=`cat conftestval`
26231 else
26232 echo "$as_me: program exited with status $ac_status" >&5
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26235
26236 ( exit $ac_status )
26237 ac_cv_header_png_h=no
26238 fi
26239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26240 fi
26241
26242
26243
26244 fi
26245 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26246 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26247 { echo "$as_me:$LINENO: checking for png.h" >&5
26248 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26249 if test "${ac_cv_header_png_h+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 else
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h. */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258
26259
26260 #include <png.h>
26261 _ACEOF
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26267 esac
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26270 ac_status=$?
26271 grep -v '^ *+' conftest.er1 >conftest.err
26272 rm -f conftest.er1
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_c_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.$ac_objext; then
26279 ac_cv_header_png_h=yes
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 ac_cv_header_png_h=no
26285 fi
26286
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288 fi
26289 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26290 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26291
26292
26293
26294 if test "$ac_cv_header_png_h" = "yes"; then
26295 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26296 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26297 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26299 else
26300 ac_check_lib_save_LIBS=$LIBS
26301 LIBS="-lpng -lz -lm $LIBS"
26302 cat >conftest.$ac_ext <<_ACEOF
26303 /* confdefs.h. */
26304 _ACEOF
26305 cat confdefs.h >>conftest.$ac_ext
26306 cat >>conftest.$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308
26309 /* Override any GCC internal prototype to avoid an error.
26310 Use char because int might match the return type of a GCC
26311 builtin and then its argument prototype would still apply. */
26312 #ifdef __cplusplus
26313 extern "C"
26314 #endif
26315 char png_check_sig ();
26316 int
26317 main ()
26318 {
26319 return png_check_sig ();
26320 ;
26321 return 0;
26322 }
26323 _ACEOF
26324 rm -f conftest.$ac_objext conftest$ac_exeext
26325 if { (ac_try="$ac_link"
26326 case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26329 esac
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_link") 2>conftest.er1
26332 ac_status=$?
26333 grep -v '^ *+' conftest.er1 >conftest.err
26334 rm -f conftest.er1
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_c_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest$ac_exeext &&
26341 $as_test_x conftest$ac_exeext; then
26342 ac_cv_lib_png_png_check_sig=yes
26343 else
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26346
26347 ac_cv_lib_png_png_check_sig=no
26348 fi
26349
26350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26351 conftest$ac_exeext conftest.$ac_ext
26352 LIBS=$ac_check_lib_save_LIBS
26353 fi
26354 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26355 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26356 if test $ac_cv_lib_png_png_check_sig = yes; then
26357 PNG_LINK=" -lpng -lz"
26358 fi
26359
26360 fi
26361
26362 if test "x$PNG_LINK" = "x" ; then
26363 if test "$wxUSE_LIBPNG" = "sys" ; then
26364 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26365 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26366 { (exit 1); exit 1; }; }
26367 else
26368 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26369 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26370 wxUSE_LIBPNG=builtin
26371 fi
26372 else
26373 wxUSE_LIBPNG=sys
26374 fi
26375 fi
26376 fi
26377 fi
26378
26379
26380 JPEG_LINK=
26381 if test "$wxUSE_LIBJPEG" != "no" ; then
26382 cat >>confdefs.h <<\_ACEOF
26383 #define wxUSE_LIBJPEG 1
26384 _ACEOF
26385
26386
26387 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26388 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26389 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26390 wxUSE_LIBJPEG=sys
26391 fi
26392
26393 if test "$wxUSE_MGL" != 1 ; then
26394 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26395 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26396 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26397 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26399 else
26400 cat >conftest.$ac_ext <<_ACEOF
26401 /* confdefs.h. */
26402 _ACEOF
26403 cat confdefs.h >>conftest.$ac_ext
26404 cat >>conftest.$ac_ext <<_ACEOF
26405 /* end confdefs.h. */
26406
26407 #undef HAVE_STDLIB_H
26408 #include <stdio.h>
26409 #include <jpeglib.h>
26410
26411 int
26412 main ()
26413 {
26414
26415
26416 ;
26417 return 0;
26418 }
26419 _ACEOF
26420 rm -f conftest.$ac_objext
26421 if { (ac_try="$ac_compile"
26422 case "(($ac_try" in
26423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26424 *) ac_try_echo=$ac_try;;
26425 esac
26426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26427 (eval "$ac_compile") 2>conftest.er1
26428 ac_status=$?
26429 grep -v '^ *+' conftest.er1 >conftest.err
26430 rm -f conftest.er1
26431 cat conftest.err >&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); } && {
26434 test -z "$ac_c_werror_flag" ||
26435 test ! -s conftest.err
26436 } && test -s conftest.$ac_objext; then
26437 ac_cv_header_jpeglib_h=yes
26438 else
26439 echo "$as_me: failed program was:" >&5
26440 sed 's/^/| /' conftest.$ac_ext >&5
26441
26442 ac_cv_header_jpeglib_h=no
26443
26444 fi
26445
26446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26447
26448 fi
26449
26450 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26451 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26452
26453 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26454 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26455 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26456 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459 ac_check_lib_save_LIBS=$LIBS
26460 LIBS="-ljpeg $LIBS"
26461 cat >conftest.$ac_ext <<_ACEOF
26462 /* confdefs.h. */
26463 _ACEOF
26464 cat confdefs.h >>conftest.$ac_ext
26465 cat >>conftest.$ac_ext <<_ACEOF
26466 /* end confdefs.h. */
26467
26468 /* Override any GCC internal prototype to avoid an error.
26469 Use char because int might match the return type of a GCC
26470 builtin and then its argument prototype would still apply. */
26471 #ifdef __cplusplus
26472 extern "C"
26473 #endif
26474 char jpeg_read_header ();
26475 int
26476 main ()
26477 {
26478 return jpeg_read_header ();
26479 ;
26480 return 0;
26481 }
26482 _ACEOF
26483 rm -f conftest.$ac_objext conftest$ac_exeext
26484 if { (ac_try="$ac_link"
26485 case "(($ac_try" in
26486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26487 *) ac_try_echo=$ac_try;;
26488 esac
26489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26490 (eval "$ac_link") 2>conftest.er1
26491 ac_status=$?
26492 grep -v '^ *+' conftest.er1 >conftest.err
26493 rm -f conftest.er1
26494 cat conftest.err >&5
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); } && {
26497 test -z "$ac_c_werror_flag" ||
26498 test ! -s conftest.err
26499 } && test -s conftest$ac_exeext &&
26500 $as_test_x conftest$ac_exeext; then
26501 ac_cv_lib_jpeg_jpeg_read_header=yes
26502 else
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.$ac_ext >&5
26505
26506 ac_cv_lib_jpeg_jpeg_read_header=no
26507 fi
26508
26509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26510 conftest$ac_exeext conftest.$ac_ext
26511 LIBS=$ac_check_lib_save_LIBS
26512 fi
26513 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26514 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26515 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26516 JPEG_LINK=" -ljpeg"
26517 fi
26518
26519 fi
26520
26521 if test "x$JPEG_LINK" = "x" ; then
26522 if test "$wxUSE_LIBJPEG" = "sys" ; then
26523 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26524 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26525 { (exit 1); exit 1; }; }
26526 else
26527 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26528 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26529 wxUSE_LIBJPEG=builtin
26530 fi
26531 else
26532 wxUSE_LIBJPEG=sys
26533
26534 if test "$wxUSE_MSW" = 1; then
26535 { echo "$as_me:$LINENO: checking for boolean" >&5
26536 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26537 if test "${ac_cv_type_boolean+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540 cat >conftest.$ac_ext <<_ACEOF
26541 /* confdefs.h. */
26542 _ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546 #include <windows.h>
26547
26548 typedef boolean ac__type_new_;
26549 int
26550 main ()
26551 {
26552 if ((ac__type_new_ *) 0)
26553 return 0;
26554 if (sizeof (ac__type_new_))
26555 return 0;
26556 ;
26557 return 0;
26558 }
26559 _ACEOF
26560 rm -f conftest.$ac_objext
26561 if { (ac_try="$ac_compile"
26562 case "(($ac_try" in
26563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26564 *) ac_try_echo=$ac_try;;
26565 esac
26566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26567 (eval "$ac_compile") 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } && {
26574 test -z "$ac_c_werror_flag" ||
26575 test ! -s conftest.err
26576 } && test -s conftest.$ac_objext; then
26577 ac_cv_type_boolean=yes
26578 else
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.$ac_ext >&5
26581
26582 ac_cv_type_boolean=no
26583 fi
26584
26585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 fi
26587 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26588 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26589 if test $ac_cv_type_boolean = yes; then
26590
26591 cat >>confdefs.h <<_ACEOF
26592 #define HAVE_BOOLEAN 1
26593 _ACEOF
26594
26595
26596 { echo "$as_me:$LINENO: checking for boolean" >&5
26597 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26598 if test "${ac_cv_type_boolean+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601 cat >conftest.$ac_ext <<_ACEOF
26602 /* confdefs.h. */
26603 _ACEOF
26604 cat confdefs.h >>conftest.$ac_ext
26605 cat >>conftest.$ac_ext <<_ACEOF
26606 /* end confdefs.h. */
26607
26608 #undef HAVE_BOOLEAN
26609 #include <stdio.h>
26610 #include <jpeglib.h>
26611
26612
26613 typedef boolean ac__type_new_;
26614 int
26615 main ()
26616 {
26617 if ((ac__type_new_ *) 0)
26618 return 0;
26619 if (sizeof (ac__type_new_))
26620 return 0;
26621 ;
26622 return 0;
26623 }
26624 _ACEOF
26625 rm -f conftest.$ac_objext
26626 if { (ac_try="$ac_compile"
26627 case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26630 esac
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_compile") 2>conftest.er1
26633 ac_status=$?
26634 grep -v '^ *+' conftest.er1 >conftest.err
26635 rm -f conftest.er1
26636 cat conftest.err >&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } && {
26639 test -z "$ac_c_werror_flag" ||
26640 test ! -s conftest.err
26641 } && test -s conftest.$ac_objext; then
26642 ac_cv_type_boolean=yes
26643 else
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26646
26647 ac_cv_type_boolean=no
26648 fi
26649
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 fi
26652 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26653 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26654
26655 # The cast to long int works around a bug in the HP C Compiler
26656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26657 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26658 # This bug is HP SR number 8606223364.
26659 { echo "$as_me:$LINENO: checking size of boolean" >&5
26660 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26661 if test "${ac_cv_sizeof_boolean+set}" = set; then
26662 echo $ECHO_N "(cached) $ECHO_C" >&6
26663 else
26664 if test "$cross_compiling" = yes; then
26665 # Depending upon the size, compute the lo and hi bounds.
26666 cat >conftest.$ac_ext <<_ACEOF
26667 /* confdefs.h. */
26668 _ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26672
26673 #undef HAVE_BOOLEAN
26674 #include <stdio.h>
26675 #include <jpeglib.h>
26676
26677
26678 typedef boolean ac__type_sizeof_;
26679 int
26680 main ()
26681 {
26682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26683 test_array [0] = 0
26684
26685 ;
26686 return 0;
26687 }
26688 _ACEOF
26689 rm -f conftest.$ac_objext
26690 if { (ac_try="$ac_compile"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26694 esac
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_compile") 2>conftest.er1
26697 ac_status=$?
26698 grep -v '^ *+' conftest.er1 >conftest.err
26699 rm -f conftest.er1
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } && {
26703 test -z "$ac_c_werror_flag" ||
26704 test ! -s conftest.err
26705 } && test -s conftest.$ac_objext; then
26706 ac_lo=0 ac_mid=0
26707 while :; do
26708 cat >conftest.$ac_ext <<_ACEOF
26709 /* confdefs.h. */
26710 _ACEOF
26711 cat confdefs.h >>conftest.$ac_ext
26712 cat >>conftest.$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26714
26715 #undef HAVE_BOOLEAN
26716 #include <stdio.h>
26717 #include <jpeglib.h>
26718
26719
26720 typedef boolean ac__type_sizeof_;
26721 int
26722 main ()
26723 {
26724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26725 test_array [0] = 0
26726
26727 ;
26728 return 0;
26729 }
26730 _ACEOF
26731 rm -f conftest.$ac_objext
26732 if { (ac_try="$ac_compile"
26733 case "(($ac_try" in
26734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26735 *) ac_try_echo=$ac_try;;
26736 esac
26737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26738 (eval "$ac_compile") 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } && {
26745 test -z "$ac_c_werror_flag" ||
26746 test ! -s conftest.err
26747 } && test -s conftest.$ac_objext; then
26748 ac_hi=$ac_mid; break
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 ac_lo=`expr $ac_mid + 1`
26754 if test $ac_lo -le $ac_mid; then
26755 ac_lo= ac_hi=
26756 break
26757 fi
26758 ac_mid=`expr 2 '*' $ac_mid + 1`
26759 fi
26760
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 done
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767 cat >conftest.$ac_ext <<_ACEOF
26768 /* confdefs.h. */
26769 _ACEOF
26770 cat confdefs.h >>conftest.$ac_ext
26771 cat >>conftest.$ac_ext <<_ACEOF
26772 /* end confdefs.h. */
26773
26774 #undef HAVE_BOOLEAN
26775 #include <stdio.h>
26776 #include <jpeglib.h>
26777
26778
26779 typedef boolean ac__type_sizeof_;
26780 int
26781 main ()
26782 {
26783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26784 test_array [0] = 0
26785
26786 ;
26787 return 0;
26788 }
26789 _ACEOF
26790 rm -f conftest.$ac_objext
26791 if { (ac_try="$ac_compile"
26792 case "(($ac_try" in
26793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26794 *) ac_try_echo=$ac_try;;
26795 esac
26796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26797 (eval "$ac_compile") 2>conftest.er1
26798 ac_status=$?
26799 grep -v '^ *+' conftest.er1 >conftest.err
26800 rm -f conftest.er1
26801 cat conftest.err >&5
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); } && {
26804 test -z "$ac_c_werror_flag" ||
26805 test ! -s conftest.err
26806 } && test -s conftest.$ac_objext; then
26807 ac_hi=-1 ac_mid=-1
26808 while :; do
26809 cat >conftest.$ac_ext <<_ACEOF
26810 /* confdefs.h. */
26811 _ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26815
26816 #undef HAVE_BOOLEAN
26817 #include <stdio.h>
26818 #include <jpeglib.h>
26819
26820
26821 typedef boolean ac__type_sizeof_;
26822 int
26823 main ()
26824 {
26825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26826 test_array [0] = 0
26827
26828 ;
26829 return 0;
26830 }
26831 _ACEOF
26832 rm -f conftest.$ac_objext
26833 if { (ac_try="$ac_compile"
26834 case "(($ac_try" in
26835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26836 *) ac_try_echo=$ac_try;;
26837 esac
26838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26839 (eval "$ac_compile") 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } && {
26846 test -z "$ac_c_werror_flag" ||
26847 test ! -s conftest.err
26848 } && test -s conftest.$ac_objext; then
26849 ac_lo=$ac_mid; break
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 ac_hi=`expr '(' $ac_mid ')' - 1`
26855 if test $ac_mid -le $ac_hi; then
26856 ac_lo= ac_hi=
26857 break
26858 fi
26859 ac_mid=`expr 2 '*' $ac_mid`
26860 fi
26861
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863 done
26864 else
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26867
26868 ac_lo= ac_hi=
26869 fi
26870
26871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26872 fi
26873
26874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 # Binary search between lo and hi bounds.
26876 while test "x$ac_lo" != "x$ac_hi"; do
26877 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26878 cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h. */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26884
26885 #undef HAVE_BOOLEAN
26886 #include <stdio.h>
26887 #include <jpeglib.h>
26888
26889
26890 typedef boolean ac__type_sizeof_;
26891 int
26892 main ()
26893 {
26894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26895 test_array [0] = 0
26896
26897 ;
26898 return 0;
26899 }
26900 _ACEOF
26901 rm -f conftest.$ac_objext
26902 if { (ac_try="$ac_compile"
26903 case "(($ac_try" in
26904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26905 *) ac_try_echo=$ac_try;;
26906 esac
26907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26908 (eval "$ac_compile") 2>conftest.er1
26909 ac_status=$?
26910 grep -v '^ *+' conftest.er1 >conftest.err
26911 rm -f conftest.er1
26912 cat conftest.err >&5
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); } && {
26915 test -z "$ac_c_werror_flag" ||
26916 test ! -s conftest.err
26917 } && test -s conftest.$ac_objext; then
26918 ac_hi=$ac_mid
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26922
26923 ac_lo=`expr '(' $ac_mid ')' + 1`
26924 fi
26925
26926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26927 done
26928 case $ac_lo in
26929 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26930 '') if test "$ac_cv_type_boolean" = yes; then
26931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26932 See \`config.log' for more details." >&5
26933 echo "$as_me: error: cannot compute sizeof (boolean)
26934 See \`config.log' for more details." >&2;}
26935 { (exit 77); exit 77; }; }
26936 else
26937 ac_cv_sizeof_boolean=0
26938 fi ;;
26939 esac
26940 else
26941 cat >conftest.$ac_ext <<_ACEOF
26942 /* confdefs.h. */
26943 _ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26947
26948 #undef HAVE_BOOLEAN
26949 #include <stdio.h>
26950 #include <jpeglib.h>
26951
26952
26953 typedef boolean ac__type_sizeof_;
26954 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26955 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26956 #include <stdio.h>
26957 #include <stdlib.h>
26958 int
26959 main ()
26960 {
26961
26962 FILE *f = fopen ("conftest.val", "w");
26963 if (! f)
26964 return 1;
26965 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26966 {
26967 long int i = longval ();
26968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26969 return 1;
26970 fprintf (f, "%ld\n", i);
26971 }
26972 else
26973 {
26974 unsigned long int i = ulongval ();
26975 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26976 return 1;
26977 fprintf (f, "%lu\n", i);
26978 }
26979 return ferror (f) || fclose (f) != 0;
26980
26981 ;
26982 return 0;
26983 }
26984 _ACEOF
26985 rm -f conftest$ac_exeext
26986 if { (ac_try="$ac_link"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26990 esac
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_link") 2>&5
26993 ac_status=$?
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26996 { (case "(($ac_try" in
26997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
26999 esac
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_try") 2>&5
27002 ac_status=$?
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 ac_cv_sizeof_boolean=`cat conftest.val`
27006 else
27007 echo "$as_me: program exited with status $ac_status" >&5
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 ( exit $ac_status )
27012 if test "$ac_cv_type_boolean" = yes; then
27013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27014 See \`config.log' for more details." >&5
27015 echo "$as_me: error: cannot compute sizeof (boolean)
27016 See \`config.log' for more details." >&2;}
27017 { (exit 77); exit 77; }; }
27018 else
27019 ac_cv_sizeof_boolean=0
27020 fi
27021 fi
27022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27023 fi
27024 rm -f conftest.val
27025 fi
27026 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27027 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27028
27029
27030
27031 cat >>confdefs.h <<_ACEOF
27032 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27033 _ACEOF
27034
27035
27036 cat >>confdefs.h <<_ACEOF
27037 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27038 _ACEOF
27039
27040
27041 fi
27042
27043 fi
27044 fi
27045 fi
27046 fi
27047 fi
27048
27049
27050 TIFF_LINK=
27051 TIFF_PREREQ_LINKS=-lm
27052 if test "$wxUSE_LIBTIFF" != "no" ; then
27053 cat >>confdefs.h <<\_ACEOF
27054 #define wxUSE_LIBTIFF 1
27055 _ACEOF
27056
27057
27058 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27059 if test "$wxUSE_LIBJPEG" = "sys"; then
27060 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27061 fi
27062 if test "$wxUSE_ZLIB" = "sys"; then
27063 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27064 fi
27065 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27066 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27067 if test "${ac_cv_header_tiffio_h+set}" = set; then
27068 echo $ECHO_N "(cached) $ECHO_C" >&6
27069 else
27070 cat >conftest.$ac_ext <<_ACEOF
27071 /* confdefs.h. */
27072 _ACEOF
27073 cat confdefs.h >>conftest.$ac_ext
27074 cat >>conftest.$ac_ext <<_ACEOF
27075 /* end confdefs.h. */
27076
27077
27078
27079 #include <tiffio.h>
27080 _ACEOF
27081 rm -f conftest.$ac_objext
27082 if { (ac_try="$ac_compile"
27083 case "(($ac_try" in
27084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27086 esac
27087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_compile") 2>conftest.er1
27089 ac_status=$?
27090 grep -v '^ *+' conftest.er1 >conftest.err
27091 rm -f conftest.er1
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } && {
27095 test -z "$ac_c_werror_flag" ||
27096 test ! -s conftest.err
27097 } && test -s conftest.$ac_objext; then
27098 ac_cv_header_tiffio_h=yes
27099 else
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27102
27103 ac_cv_header_tiffio_h=no
27104 fi
27105
27106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27107 fi
27108 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27109 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27110 if test $ac_cv_header_tiffio_h = yes; then
27111
27112 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27113 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27114 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27115 echo $ECHO_N "(cached) $ECHO_C" >&6
27116 else
27117 ac_check_lib_save_LIBS=$LIBS
27118 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27119 cat >conftest.$ac_ext <<_ACEOF
27120 /* confdefs.h. */
27121 _ACEOF
27122 cat confdefs.h >>conftest.$ac_ext
27123 cat >>conftest.$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27125
27126 /* Override any GCC internal prototype to avoid an error.
27127 Use char because int might match the return type of a GCC
27128 builtin and then its argument prototype would still apply. */
27129 #ifdef __cplusplus
27130 extern "C"
27131 #endif
27132 char TIFFError ();
27133 int
27134 main ()
27135 {
27136 return TIFFError ();
27137 ;
27138 return 0;
27139 }
27140 _ACEOF
27141 rm -f conftest.$ac_objext conftest$ac_exeext
27142 if { (ac_try="$ac_link"
27143 case "(($ac_try" in
27144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27146 esac
27147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_link") 2>conftest.er1
27149 ac_status=$?
27150 grep -v '^ *+' conftest.er1 >conftest.err
27151 rm -f conftest.er1
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } && {
27155 test -z "$ac_c_werror_flag" ||
27156 test ! -s conftest.err
27157 } && test -s conftest$ac_exeext &&
27158 $as_test_x conftest$ac_exeext; then
27159 ac_cv_lib_tiff_TIFFError=yes
27160 else
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.$ac_ext >&5
27163
27164 ac_cv_lib_tiff_TIFFError=no
27165 fi
27166
27167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27168 conftest$ac_exeext conftest.$ac_ext
27169 LIBS=$ac_check_lib_save_LIBS
27170 fi
27171 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27172 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27173 if test $ac_cv_lib_tiff_TIFFError = yes; then
27174 TIFF_LINK=" -ltiff"
27175 fi
27176
27177
27178 fi
27179
27180
27181
27182 if test "x$TIFF_LINK" = "x" ; then
27183 if test "$wxUSE_LIBTIFF" = "sys" ; then
27184 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27185 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27186 { (exit 1); exit 1; }; }
27187 else
27188 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27189 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27190 wxUSE_LIBTIFF=builtin
27191 fi
27192 else
27193 wxUSE_LIBTIFF=sys
27194 fi
27195 fi
27196 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27197 if test "$wxUSE_LIBJPEG" = "no"; then
27198 ac_configure_args="$ac_configure_args --disable-jpeg"
27199 fi
27200 subdirs="$subdirs src/tiff"
27201
27202 fi
27203 fi
27204
27205
27206 if test "$wxUSE_WCHAR_T" != "yes"; then
27207 if test "$wxUSE_EXPAT" != "no"; then
27208 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27209 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27210 wxUSE_EXPAT=no
27211 fi
27212 if test "$wxUSE_XML" != "no"; then
27213 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27214 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27215 wxUSE_XML=no
27216 fi
27217 fi
27218
27219 if test "$wxUSE_EXPAT" != "no"; then
27220 wxUSE_XML=yes
27221 cat >>confdefs.h <<\_ACEOF
27222 #define wxUSE_EXPAT 1
27223 _ACEOF
27224
27225 cat >>confdefs.h <<\_ACEOF
27226 #define wxUSE_XML 1
27227 _ACEOF
27228
27229
27230 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27231 { echo "$as_me:$LINENO: checking for expat.h" >&5
27232 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27233 if test "${ac_cv_header_expat_h+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27235 else
27236 cat >conftest.$ac_ext <<_ACEOF
27237 /* confdefs.h. */
27238 _ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27242
27243
27244 #include <expat.h>
27245 _ACEOF
27246 rm -f conftest.$ac_objext
27247 if { (ac_try="$ac_compile"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27251 esac
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_compile") 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } && {
27260 test -z "$ac_c_werror_flag" ||
27261 test ! -s conftest.err
27262 } && test -s conftest.$ac_objext; then
27263 ac_cv_header_expat_h=yes
27264 else
27265 echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27267
27268 ac_cv_header_expat_h=no
27269 fi
27270
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 fi
27273 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27274 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27275 if test $ac_cv_header_expat_h = yes; then
27276 found_expat_h=1
27277 fi
27278
27279
27280 if test "x$found_expat_h" = "x1"; then
27281 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27282 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27283 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27284 echo $ECHO_N "(cached) $ECHO_C" >&6
27285 else
27286
27287 ac_ext=cpp
27288 ac_cpp='$CXXCPP $CPPFLAGS'
27289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27292
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <expat.h>
27300 int
27301 main ()
27302 {
27303
27304 ;
27305 return 0;
27306 }
27307 _ACEOF
27308 rm -f conftest.$ac_objext
27309 if { (ac_try="$ac_compile"
27310 case "(($ac_try" in
27311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27312 *) ac_try_echo=$ac_try;;
27313 esac
27314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27315 (eval "$ac_compile") 2>conftest.er1
27316 ac_status=$?
27317 grep -v '^ *+' conftest.er1 >conftest.err
27318 rm -f conftest.er1
27319 cat conftest.err >&5
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); } && {
27322 test -z "$ac_cxx_werror_flag" ||
27323 test ! -s conftest.err
27324 } && test -s conftest.$ac_objext; then
27325 wx_cv_expat_is_not_broken=yes
27326 else
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.$ac_ext >&5
27329
27330 wx_cv_expat_is_not_broken=no
27331
27332 fi
27333
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 ac_ext=c
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27340
27341
27342
27343 fi
27344 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27345 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27346 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27347 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27348 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27349 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27351 else
27352 ac_check_lib_save_LIBS=$LIBS
27353 LIBS="-lexpat $LIBS"
27354 cat >conftest.$ac_ext <<_ACEOF
27355 /* confdefs.h. */
27356 _ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360
27361 /* Override any GCC internal prototype to avoid an error.
27362 Use char because int might match the return type of a GCC
27363 builtin and then its argument prototype would still apply. */
27364 #ifdef __cplusplus
27365 extern "C"
27366 #endif
27367 char XML_ParserCreate ();
27368 int
27369 main ()
27370 {
27371 return XML_ParserCreate ();
27372 ;
27373 return 0;
27374 }
27375 _ACEOF
27376 rm -f conftest.$ac_objext conftest$ac_exeext
27377 if { (ac_try="$ac_link"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27381 esac
27382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_link") 2>conftest.er1
27384 ac_status=$?
27385 grep -v '^ *+' conftest.er1 >conftest.err
27386 rm -f conftest.er1
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_c_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest$ac_exeext &&
27393 $as_test_x conftest$ac_exeext; then
27394 ac_cv_lib_expat_XML_ParserCreate=yes
27395 else
27396 echo "$as_me: failed program was:" >&5
27397 sed 's/^/| /' conftest.$ac_ext >&5
27398
27399 ac_cv_lib_expat_XML_ParserCreate=no
27400 fi
27401
27402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27403 conftest$ac_exeext conftest.$ac_ext
27404 LIBS=$ac_check_lib_save_LIBS
27405 fi
27406 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27407 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27408 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27409 EXPAT_LINK=" -lexpat"
27410 fi
27411
27412 fi
27413 fi
27414 if test "x$EXPAT_LINK" = "x" ; then
27415 if test "$wxUSE_EXPAT" = "sys" ; then
27416 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27417 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27418 { (exit 1); exit 1; }; }
27419 else
27420 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27421 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27422 wxUSE_EXPAT=builtin
27423 fi
27424 else
27425 wxUSE_EXPAT=sys
27426 fi
27427 fi
27428 if test "$wxUSE_EXPAT" = "builtin" ; then
27429 subdirs="$subdirs src/expat"
27430
27431 fi
27432 fi
27433
27434
27435
27436 if test "$wxUSE_LIBMSPACK" != "no"; then
27437 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27438 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27439 if test "${ac_cv_header_mspack_h+set}" = set; then
27440 echo $ECHO_N "(cached) $ECHO_C" >&6
27441 else
27442 cat >conftest.$ac_ext <<_ACEOF
27443 /* confdefs.h. */
27444 _ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448
27449
27450 #include <mspack.h>
27451 _ACEOF
27452 rm -f conftest.$ac_objext
27453 if { (ac_try="$ac_compile"
27454 case "(($ac_try" in
27455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27456 *) ac_try_echo=$ac_try;;
27457 esac
27458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27459 (eval "$ac_compile") 2>conftest.er1
27460 ac_status=$?
27461 grep -v '^ *+' conftest.er1 >conftest.err
27462 rm -f conftest.er1
27463 cat conftest.err >&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } && {
27466 test -z "$ac_c_werror_flag" ||
27467 test ! -s conftest.err
27468 } && test -s conftest.$ac_objext; then
27469 ac_cv_header_mspack_h=yes
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ac_cv_header_mspack_h=no
27475 fi
27476
27477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27478 fi
27479 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27480 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27481 if test $ac_cv_header_mspack_h = yes; then
27482 found_mspack_h=1
27483 fi
27484
27485
27486 if test "x$found_mspack_h" = "x1"; then
27487 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27488 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27489 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 else
27492 ac_check_lib_save_LIBS=$LIBS
27493 LIBS="-lmspack $LIBS"
27494 cat >conftest.$ac_ext <<_ACEOF
27495 /* confdefs.h. */
27496 _ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500
27501 /* Override any GCC internal prototype to avoid an error.
27502 Use char because int might match the return type of a GCC
27503 builtin and then its argument prototype would still apply. */
27504 #ifdef __cplusplus
27505 extern "C"
27506 #endif
27507 char mspack_create_chm_decompressor ();
27508 int
27509 main ()
27510 {
27511 return mspack_create_chm_decompressor ();
27512 ;
27513 return 0;
27514 }
27515 _ACEOF
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (ac_try="$ac_link"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27521 esac
27522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_link") 2>conftest.er1
27524 ac_status=$?
27525 grep -v '^ *+' conftest.er1 >conftest.err
27526 rm -f conftest.er1
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest$ac_exeext &&
27533 $as_test_x conftest$ac_exeext; then
27534 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27535 else
27536 echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27538
27539 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27540 fi
27541
27542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27543 conftest$ac_exeext conftest.$ac_ext
27544 LIBS=$ac_check_lib_save_LIBS
27545 fi
27546 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27547 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27548 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27549 MSPACK_LINK=" -lmspack"
27550 fi
27551
27552 fi
27553 if test "x$MSPACK_LINK" = "x" ; then
27554 wxUSE_LIBMSPACK=no
27555 fi
27556 fi
27557
27558 if test "$wxUSE_LIBMSPACK" != "no"; then
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_LIBMSPACK 1
27561 _ACEOF
27562
27563 fi
27564
27565
27566
27567 AFMINSTALL=
27568 WIN32INSTALL=
27569
27570 TOOLKIT=
27571 TOOLKIT_INCLUDE=
27572 WIDGET_SET=
27573
27574 if test "$USE_WIN32" = 1 ; then
27575
27576 for ac_header in w32api.h
27577 do
27578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27582 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 else
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590
27591
27592 #include <$ac_header>
27593 _ACEOF
27594 rm -f conftest.$ac_objext
27595 if { (ac_try="$ac_compile"
27596 case "(($ac_try" in
27597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27598 *) ac_try_echo=$ac_try;;
27599 esac
27600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27601 (eval "$ac_compile") 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } && {
27608 test -z "$ac_c_werror_flag" ||
27609 test ! -s conftest.err
27610 } && test -s conftest.$ac_objext; then
27611 eval "$as_ac_Header=yes"
27612 else
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.$ac_ext >&5
27615
27616 eval "$as_ac_Header=no"
27617 fi
27618
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27620 fi
27621 ac_res=`eval echo '${'$as_ac_Header'}'`
27622 { echo "$as_me:$LINENO: result: $ac_res" >&5
27623 echo "${ECHO_T}$ac_res" >&6; }
27624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27625 cat >>confdefs.h <<_ACEOF
27626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27627 _ACEOF
27628
27629 fi
27630
27631 done
27632
27633 { echo "$as_me:$LINENO: checking for windows.h" >&5
27634 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27635 if test "${ac_cv_header_windows_h+set}" = set; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27637 else
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644
27645
27646 #include <windows.h>
27647 _ACEOF
27648 rm -f conftest.$ac_objext
27649 if { (ac_try="$ac_compile"
27650 case "(($ac_try" in
27651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27652 *) ac_try_echo=$ac_try;;
27653 esac
27654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27655 (eval "$ac_compile") 2>conftest.er1
27656 ac_status=$?
27657 grep -v '^ *+' conftest.er1 >conftest.err
27658 rm -f conftest.er1
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } && {
27662 test -z "$ac_c_werror_flag" ||
27663 test ! -s conftest.err
27664 } && test -s conftest.$ac_objext; then
27665 ac_cv_header_windows_h=yes
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27669
27670 ac_cv_header_windows_h=no
27671 fi
27672
27673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27674 fi
27675 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27677 if test $ac_cv_header_windows_h = yes; then
27678 :
27679 else
27680
27681 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27682 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27683 { (exit 1); exit 1; }; }
27684
27685 fi
27686
27687
27688
27689 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27690
27691 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27692 LIBS="$LIBS -loleacc"
27693 fi
27694
27695 case "${host}" in
27696 *-*-cygwin* )
27697 LIBS="$LIBS -lkernel32 -luser32"
27698 esac
27699
27700 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27701 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27702
27703 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27704
27705 WIN32INSTALL=win32install
27706
27707 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27708 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27709 if test "${ac_cv_header_pbt_h+set}" = set; then
27710 echo $ECHO_N "(cached) $ECHO_C" >&6
27711 else
27712 cat >conftest.$ac_ext <<_ACEOF
27713 /* confdefs.h. */
27714 _ACEOF
27715 cat confdefs.h >>conftest.$ac_ext
27716 cat >>conftest.$ac_ext <<_ACEOF
27717 /* end confdefs.h. */
27718
27719
27720 #include <pbt.h>
27721 _ACEOF
27722 rm -f conftest.$ac_objext
27723 if { (ac_try="$ac_compile"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27727 esac
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_compile") 2>conftest.er1
27730 ac_status=$?
27731 grep -v '^ *+' conftest.er1 >conftest.err
27732 rm -f conftest.er1
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_c_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest.$ac_objext; then
27739 ac_cv_header_pbt_h=yes
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 ac_cv_header_pbt_h=no
27745 fi
27746
27747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27748 fi
27749 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27750 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27751 if test $ac_cv_header_pbt_h = yes; then
27752 :
27753 else
27754 cat >>confdefs.h <<\_ACEOF
27755 #define NEED_PBT_H 1
27756 _ACEOF
27757
27758 fi
27759
27760
27761 fi
27762
27763 if test "$wxUSE_GUI" = "yes"; then
27764 USE_GUI=1
27765
27766 GUI_TK_LIBRARY=
27767
27768 WXGTK12=
27769 WXGTK127=
27770 WXGTK2=
27771 WXGPE=
27772
27773 if test "$wxUSE_COCOA" = 1 ; then
27774 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27775 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27776 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27777 wxUSE_PRINTING_ARCHITECTURE=no
27778 fi
27779 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27780 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27781 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27782 wxUSE_DRAG_AND_DROP=no
27783 fi
27784 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27785 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27786 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27787 wxUSE_DRAGIMAGE=no
27788 fi
27789 fi
27790
27791 if test "$wxUSE_MSW" = 1 ; then
27792 TOOLKIT=MSW
27793 GUIDIST=MSW_DIST
27794
27795 case "${host}" in
27796 *-*-mingw32* )
27797 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27798 esac
27799 fi
27800
27801 if test "$wxUSE_GTK" = 1; then
27802 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27803 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27804
27805 gtk_version_cached=1
27806 if test "${wx_cv_lib_gtk+set}" = set; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 else
27809
27810 gtk_version_cached=0
27811 { echo "$as_me:$LINENO: result: " >&5
27812 echo "${ECHO_T}" >&6; }
27813
27814 GTK_MODULES=
27815 if test "$wxUSE_THREADS" = "yes"; then
27816 GTK_MODULES=gthread
27817 fi
27818
27819 wx_cv_lib_gtk=
27820 if test "x$wxGTK_VERSION" != "x1"
27821 then
27822 case "${host}" in
27823 *-*-solaris2* )
27824 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27825 enable_gtktest=no
27826 fi
27827 esac
27828
27829 # Check whether --enable-gtktest was given.
27830 if test "${enable_gtktest+set}" = set; then
27831 enableval=$enable_gtktest;
27832 else
27833 enable_gtktest=yes
27834 fi
27835
27836
27837 pkg_config_args=gtk+-2.0
27838 for module in . $GTK_MODULES
27839 do
27840 case "$module" in
27841 gthread)
27842 pkg_config_args="$pkg_config_args gthread-2.0"
27843 ;;
27844 esac
27845 done
27846
27847 no_gtk=""
27848
27849 # Extract the first word of "pkg-config", so it can be a program name with args.
27850 set dummy pkg-config; ac_word=$2
27851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 else
27856 case $PKG_CONFIG in
27857 [\\/]* | ?:[\\/]*)
27858 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27859 ;;
27860 *)
27861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27862 for as_dir in $PATH
27863 do
27864 IFS=$as_save_IFS
27865 test -z "$as_dir" && as_dir=.
27866 for ac_exec_ext in '' $ac_executable_extensions; do
27867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27868 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27870 break 2
27871 fi
27872 done
27873 done
27874 IFS=$as_save_IFS
27875
27876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27877 ;;
27878 esac
27879 fi
27880 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27881 if test -n "$PKG_CONFIG"; then
27882 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27883 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27884 else
27885 { echo "$as_me:$LINENO: result: no" >&5
27886 echo "${ECHO_T}no" >&6; }
27887 fi
27888
27889
27890
27891 if test x$PKG_CONFIG != xno ; then
27892 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27893 :
27894 else
27895 echo "*** pkg-config too old; version 0.7 or better required."
27896 no_gtk=yes
27897 PKG_CONFIG=no
27898 fi
27899 else
27900 no_gtk=yes
27901 fi
27902
27903 min_gtk_version=2.4.0
27904 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27905 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27906
27907 if test x$PKG_CONFIG != xno ; then
27908 ## don't try to run the test against uninstalled libtool libs
27909 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27910 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27911 enable_gtktest=no
27912 fi
27913
27914 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27915 :
27916 else
27917 no_gtk=yes
27918 fi
27919 fi
27920
27921 if test x"$no_gtk" = x ; then
27922 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27923 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27924 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27926 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27928 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27930 if test "x$enable_gtktest" = "xyes" ; then
27931 ac_save_CFLAGS="$CFLAGS"
27932 ac_save_LIBS="$LIBS"
27933 CFLAGS="$CFLAGS $GTK_CFLAGS"
27934 LIBS="$GTK_LIBS $LIBS"
27935 rm -f conf.gtktest
27936 if test "$cross_compiling" = yes; then
27937 echo $ac_n "cross compiling; assumed OK... $ac_c"
27938 else
27939 cat >conftest.$ac_ext <<_ACEOF
27940 /* confdefs.h. */
27941 _ACEOF
27942 cat confdefs.h >>conftest.$ac_ext
27943 cat >>conftest.$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27945
27946 #include <gtk/gtk.h>
27947 #include <stdio.h>
27948 #include <stdlib.h>
27949
27950 int
27951 main ()
27952 {
27953 int major, minor, micro;
27954 char *tmp_version;
27955
27956 system ("touch conf.gtktest");
27957
27958 /* HP/UX 9 (%@#!) writes to sscanf strings */
27959 tmp_version = g_strdup("$min_gtk_version");
27960 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27961 printf("%s, bad version string\n", "$min_gtk_version");
27962 exit(1);
27963 }
27964
27965 if ((gtk_major_version != $gtk_config_major_version) ||
27966 (gtk_minor_version != $gtk_config_minor_version) ||
27967 (gtk_micro_version != $gtk_config_micro_version))
27968 {
27969 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27970 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27971 gtk_major_version, gtk_minor_version, gtk_micro_version);
27972 printf ("*** was found! If pkg-config was correct, then it is best\n");
27973 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27974 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27975 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27976 printf("*** required on your system.\n");
27977 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27978 printf("*** to point to the correct configuration files\n");
27979 }
27980 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27981 (gtk_minor_version != GTK_MINOR_VERSION) ||
27982 (gtk_micro_version != GTK_MICRO_VERSION))
27983 {
27984 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27985 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27986 printf("*** library (version %d.%d.%d)\n",
27987 gtk_major_version, gtk_minor_version, gtk_micro_version);
27988 }
27989 else
27990 {
27991 if ((gtk_major_version > major) ||
27992 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27993 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27994 {
27995 return 0;
27996 }
27997 else
27998 {
27999 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28000 gtk_major_version, gtk_minor_version, gtk_micro_version);
28001 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28002 major, minor, micro);
28003 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28004 printf("***\n");
28005 printf("*** If you have already installed a sufficiently new version, this error\n");
28006 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28007 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28008 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28009 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28010 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28011 printf("*** so that the correct libraries are found at run-time))\n");
28012 }
28013 }
28014 return 1;
28015 }
28016
28017 _ACEOF
28018 rm -f conftest$ac_exeext
28019 if { (ac_try="$ac_link"
28020 case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28023 esac
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_link") 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28029 { (case "(($ac_try" in
28030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28031 *) ac_try_echo=$ac_try;;
28032 esac
28033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28034 (eval "$ac_try") 2>&5
28035 ac_status=$?
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; }; then
28038 :
28039 else
28040 echo "$as_me: program exited with status $ac_status" >&5
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28043
28044 ( exit $ac_status )
28045 no_gtk=yes
28046 fi
28047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28048 fi
28049
28050
28051 CFLAGS="$ac_save_CFLAGS"
28052 LIBS="$ac_save_LIBS"
28053 fi
28054 fi
28055 if test "x$no_gtk" = x ; then
28056 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28057 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28058 wx_cv_lib_gtk=2.0
28059 else
28060 { echo "$as_me:$LINENO: result: no" >&5
28061 echo "${ECHO_T}no" >&6; }
28062 if test "$PKG_CONFIG" = "no" ; then
28063 echo "*** A new enough version of pkg-config was not found."
28064 echo "*** See http://pkgconfig.sourceforge.net"
28065 else
28066 if test -f conf.gtktest ; then
28067 :
28068 else
28069 echo "*** Could not run GTK+ test program, checking why..."
28070 ac_save_CFLAGS="$CFLAGS"
28071 ac_save_LIBS="$LIBS"
28072 CFLAGS="$CFLAGS $GTK_CFLAGS"
28073 LIBS="$LIBS $GTK_LIBS"
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h. */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080
28081 #include <gtk/gtk.h>
28082 #include <stdio.h>
28083
28084 int
28085 main ()
28086 {
28087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28088 ;
28089 return 0;
28090 }
28091 _ACEOF
28092 rm -f conftest.$ac_objext conftest$ac_exeext
28093 if { (ac_try="$ac_link"
28094 case "(($ac_try" in
28095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28096 *) ac_try_echo=$ac_try;;
28097 esac
28098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28099 (eval "$ac_link") 2>conftest.er1
28100 ac_status=$?
28101 grep -v '^ *+' conftest.er1 >conftest.err
28102 rm -f conftest.er1
28103 cat conftest.err >&5
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); } && {
28106 test -z "$ac_c_werror_flag" ||
28107 test ! -s conftest.err
28108 } && test -s conftest$ac_exeext &&
28109 $as_test_x conftest$ac_exeext; then
28110 echo "*** The test program compiled, but did not run. This usually means"
28111 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28112 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28115 echo "*** is required on your system"
28116 echo "***"
28117 echo "*** If you have an old version installed, it is best to remove it, although"
28118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28119 else
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28122
28123 echo "*** The test program failed to compile or link. See the file config.log for the"
28124 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28125 fi
28126
28127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28128 conftest$ac_exeext conftest.$ac_ext
28129 CFLAGS="$ac_save_CFLAGS"
28130 LIBS="$ac_save_LIBS"
28131 fi
28132 fi
28133 GTK_CFLAGS=""
28134 GTK_LIBS=""
28135 :
28136 fi
28137
28138
28139 rm -f conf.gtktest
28140
28141
28142 case "${host}" in
28143 *-*-solaris2* )
28144 if test "$wxUSE_SHARED" != "yes"; then
28145 GTK_LIBS="$GTK_LIBS -lX11"
28146 fi
28147 esac
28148 fi
28149
28150 if test -z "$wx_cv_lib_gtk"; then
28151 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28152
28153 # Check whether --with-gtk-prefix was given.
28154 if test "${with_gtk_prefix+set}" = set; then
28155 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28156 else
28157 gtk_config_prefix=""
28158 fi
28159
28160
28161 # Check whether --with-gtk-exec-prefix was given.
28162 if test "${with_gtk_exec_prefix+set}" = set; then
28163 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28164 else
28165 gtk_config_exec_prefix=""
28166 fi
28167
28168 # Check whether --enable-gtktest was given.
28169 if test "${enable_gtktest+set}" = set; then
28170 enableval=$enable_gtktest;
28171 else
28172 enable_gtktest=yes
28173 fi
28174
28175
28176 for module in . $GTK_MODULES
28177 do
28178 case "$module" in
28179 gthread)
28180 gtk_config_args="$gtk_config_args gthread"
28181 ;;
28182 esac
28183 done
28184
28185 if test x$gtk_config_exec_prefix != x ; then
28186 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28187 if test x${GTK_CONFIG+set} != xset ; then
28188 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28189 fi
28190 fi
28191 if test x$gtk_config_prefix != x ; then
28192 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28193 if test x${GTK_CONFIG+set} != xset ; then
28194 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28195 fi
28196 fi
28197
28198 # Extract the first word of "gtk-config", so it can be a program name with args.
28199 set dummy gtk-config; ac_word=$2
28200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28202 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 else
28205 case $GTK_CONFIG in
28206 [\\/]* | ?:[\\/]*)
28207 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28208 ;;
28209 *)
28210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28211 for as_dir in $PATH
28212 do
28213 IFS=$as_save_IFS
28214 test -z "$as_dir" && as_dir=.
28215 for ac_exec_ext in '' $ac_executable_extensions; do
28216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28217 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28219 break 2
28220 fi
28221 done
28222 done
28223 IFS=$as_save_IFS
28224
28225 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28226 ;;
28227 esac
28228 fi
28229 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28230 if test -n "$GTK_CONFIG"; then
28231 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28232 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28233 else
28234 { echo "$as_me:$LINENO: result: no" >&5
28235 echo "${ECHO_T}no" >&6; }
28236 fi
28237
28238
28239 min_gtk_version=1.2.7
28240 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28241 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28242 no_gtk=""
28243 if test "$GTK_CONFIG" = "no" ; then
28244 no_gtk=yes
28245 else
28246 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28247 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28248 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28250 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28252 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28254 if test "x$enable_gtktest" = "xyes" ; then
28255 ac_save_CFLAGS="$CFLAGS"
28256 ac_save_LIBS="$LIBS"
28257 CFLAGS="$CFLAGS $GTK_CFLAGS"
28258 LIBS="$GTK_LIBS $LIBS"
28259 rm -f conf.gtktest
28260 if test "$cross_compiling" = yes; then
28261 echo $ac_n "cross compiling; assumed OK... $ac_c"
28262 else
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269
28270 #include <gtk/gtk.h>
28271 #include <stdio.h>
28272 #include <stdlib.h>
28273
28274 int
28275 main ()
28276 {
28277 int major, minor, micro;
28278 char *tmp_version;
28279
28280 system ("touch conf.gtktest");
28281
28282 /* HP/UX 9 (%@#!) writes to sscanf strings */
28283 tmp_version = g_strdup("$min_gtk_version");
28284 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28285 printf("%s, bad version string\n", "$min_gtk_version");
28286 exit(1);
28287 }
28288
28289 if ((gtk_major_version != $gtk_config_major_version) ||
28290 (gtk_minor_version != $gtk_config_minor_version) ||
28291 (gtk_micro_version != $gtk_config_micro_version))
28292 {
28293 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28294 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28295 gtk_major_version, gtk_minor_version, gtk_micro_version);
28296 printf ("*** was found! If gtk-config was correct, then it is best\n");
28297 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28298 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28299 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28300 printf("*** required on your system.\n");
28301 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28302 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28303 printf("*** before re-running configure\n");
28304 }
28305 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28306 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28307 (gtk_minor_version != GTK_MINOR_VERSION) ||
28308 (gtk_micro_version != GTK_MICRO_VERSION))
28309 {
28310 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28311 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28312 printf("*** library (version %d.%d.%d)\n",
28313 gtk_major_version, gtk_minor_version, gtk_micro_version);
28314 }
28315 #endif /* defined (GTK_MAJOR_VERSION) ... */
28316 else
28317 {
28318 if ((gtk_major_version > major) ||
28319 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28320 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28321 {
28322 return 0;
28323 }
28324 else
28325 {
28326 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28327 gtk_major_version, gtk_minor_version, gtk_micro_version);
28328 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28329 major, minor, micro);
28330 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28331 printf("***\n");
28332 printf("*** If you have already installed a sufficiently new version, this error\n");
28333 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28334 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28335 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28336 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28337 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28338 printf("*** so that the correct libraries are found at run-time))\n");
28339 }
28340 }
28341 return 1;
28342 }
28343
28344 _ACEOF
28345 rm -f conftest$ac_exeext
28346 if { (ac_try="$ac_link"
28347 case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28350 esac
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_link") 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28356 { (case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28359 esac
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_try") 2>&5
28362 ac_status=$?
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); }; }; then
28365 :
28366 else
28367 echo "$as_me: program exited with status $ac_status" >&5
28368 echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.$ac_ext >&5
28370
28371 ( exit $ac_status )
28372 no_gtk=yes
28373 fi
28374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28375 fi
28376
28377
28378 CFLAGS="$ac_save_CFLAGS"
28379 LIBS="$ac_save_LIBS"
28380 fi
28381 fi
28382 if test "x$no_gtk" = x ; then
28383 { echo "$as_me:$LINENO: result: yes" >&5
28384 echo "${ECHO_T}yes" >&6; }
28385 wx_cv_lib_gtk=1.2.7
28386 else
28387 { echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6; }
28389 if test "$GTK_CONFIG" = "no" ; then
28390 echo "*** The gtk-config script installed by GTK could not be found"
28391 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28392 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28393 echo "*** full path to gtk-config."
28394 else
28395 if test -f conf.gtktest ; then
28396 :
28397 else
28398 echo "*** Could not run GTK test program, checking why..."
28399 CFLAGS="$CFLAGS $GTK_CFLAGS"
28400 LIBS="$LIBS $GTK_LIBS"
28401 cat >conftest.$ac_ext <<_ACEOF
28402 /* confdefs.h. */
28403 _ACEOF
28404 cat confdefs.h >>conftest.$ac_ext
28405 cat >>conftest.$ac_ext <<_ACEOF
28406 /* end confdefs.h. */
28407
28408 #include <gtk/gtk.h>
28409 #include <stdio.h>
28410
28411 int
28412 main ()
28413 {
28414 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28415 ;
28416 return 0;
28417 }
28418 _ACEOF
28419 rm -f conftest.$ac_objext conftest$ac_exeext
28420 if { (ac_try="$ac_link"
28421 case "(($ac_try" in
28422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28423 *) ac_try_echo=$ac_try;;
28424 esac
28425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28426 (eval "$ac_link") 2>conftest.er1
28427 ac_status=$?
28428 grep -v '^ *+' conftest.er1 >conftest.err
28429 rm -f conftest.er1
28430 cat conftest.err >&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); } && {
28433 test -z "$ac_c_werror_flag" ||
28434 test ! -s conftest.err
28435 } && test -s conftest$ac_exeext &&
28436 $as_test_x conftest$ac_exeext; then
28437 echo "*** The test program compiled, but did not run. This usually means"
28438 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28439 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28441 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28442 echo "*** is required on your system"
28443 echo "***"
28444 echo "*** If you have an old version installed, it is best to remove it, although"
28445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28446 echo "***"
28447 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28448 echo "*** came with the system with the command"
28449 echo "***"
28450 echo "*** rpm --erase --nodeps gtk gtk-devel"
28451 else
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.$ac_ext >&5
28454
28455 echo "*** The test program failed to compile or link. See the file config.log for the"
28456 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28457 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28458 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28459 fi
28460
28461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28462 conftest$ac_exeext conftest.$ac_ext
28463 CFLAGS="$ac_save_CFLAGS"
28464 LIBS="$ac_save_LIBS"
28465 fi
28466 fi
28467 GTK_CFLAGS=""
28468 GTK_LIBS=""
28469 :
28470 fi
28471
28472
28473 rm -f conf.gtktest
28474
28475
28476 if test -z "$wx_cv_lib_gtk"; then
28477
28478 # Check whether --with-gtk-prefix was given.
28479 if test "${with_gtk_prefix+set}" = set; then
28480 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28481 else
28482 gtk_config_prefix=""
28483 fi
28484
28485
28486 # Check whether --with-gtk-exec-prefix was given.
28487 if test "${with_gtk_exec_prefix+set}" = set; then
28488 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28489 else
28490 gtk_config_exec_prefix=""
28491 fi
28492
28493 # Check whether --enable-gtktest was given.
28494 if test "${enable_gtktest+set}" = set; then
28495 enableval=$enable_gtktest;
28496 else
28497 enable_gtktest=yes
28498 fi
28499
28500
28501 for module in . $GTK_MODULES
28502 do
28503 case "$module" in
28504 gthread)
28505 gtk_config_args="$gtk_config_args gthread"
28506 ;;
28507 esac
28508 done
28509
28510 if test x$gtk_config_exec_prefix != x ; then
28511 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28512 if test x${GTK_CONFIG+set} != xset ; then
28513 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28514 fi
28515 fi
28516 if test x$gtk_config_prefix != x ; then
28517 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28518 if test x${GTK_CONFIG+set} != xset ; then
28519 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28520 fi
28521 fi
28522
28523 # Extract the first word of "gtk-config", so it can be a program name with args.
28524 set dummy gtk-config; ac_word=$2
28525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28527 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28528 echo $ECHO_N "(cached) $ECHO_C" >&6
28529 else
28530 case $GTK_CONFIG in
28531 [\\/]* | ?:[\\/]*)
28532 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28533 ;;
28534 *)
28535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28536 for as_dir in $PATH
28537 do
28538 IFS=$as_save_IFS
28539 test -z "$as_dir" && as_dir=.
28540 for ac_exec_ext in '' $ac_executable_extensions; do
28541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28542 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28544 break 2
28545 fi
28546 done
28547 done
28548 IFS=$as_save_IFS
28549
28550 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28551 ;;
28552 esac
28553 fi
28554 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28555 if test -n "$GTK_CONFIG"; then
28556 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28557 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28558 else
28559 { echo "$as_me:$LINENO: result: no" >&5
28560 echo "${ECHO_T}no" >&6; }
28561 fi
28562
28563
28564 min_gtk_version=1.2.3
28565 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28566 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28567 no_gtk=""
28568 if test "$GTK_CONFIG" = "no" ; then
28569 no_gtk=yes
28570 else
28571 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28572 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28573 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28575 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28577 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28579 if test "x$enable_gtktest" = "xyes" ; then
28580 ac_save_CFLAGS="$CFLAGS"
28581 ac_save_LIBS="$LIBS"
28582 CFLAGS="$CFLAGS $GTK_CFLAGS"
28583 LIBS="$GTK_LIBS $LIBS"
28584 rm -f conf.gtktest
28585 if test "$cross_compiling" = yes; then
28586 echo $ac_n "cross compiling; assumed OK... $ac_c"
28587 else
28588 cat >conftest.$ac_ext <<_ACEOF
28589 /* confdefs.h. */
28590 _ACEOF
28591 cat confdefs.h >>conftest.$ac_ext
28592 cat >>conftest.$ac_ext <<_ACEOF
28593 /* end confdefs.h. */
28594
28595 #include <gtk/gtk.h>
28596 #include <stdio.h>
28597 #include <stdlib.h>
28598
28599 int
28600 main ()
28601 {
28602 int major, minor, micro;
28603 char *tmp_version;
28604
28605 system ("touch conf.gtktest");
28606
28607 /* HP/UX 9 (%@#!) writes to sscanf strings */
28608 tmp_version = g_strdup("$min_gtk_version");
28609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28610 printf("%s, bad version string\n", "$min_gtk_version");
28611 exit(1);
28612 }
28613
28614 if ((gtk_major_version != $gtk_config_major_version) ||
28615 (gtk_minor_version != $gtk_config_minor_version) ||
28616 (gtk_micro_version != $gtk_config_micro_version))
28617 {
28618 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28619 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28620 gtk_major_version, gtk_minor_version, gtk_micro_version);
28621 printf ("*** was found! If gtk-config was correct, then it is best\n");
28622 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28623 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28624 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28625 printf("*** required on your system.\n");
28626 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28627 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28628 printf("*** before re-running configure\n");
28629 }
28630 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28631 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28632 (gtk_minor_version != GTK_MINOR_VERSION) ||
28633 (gtk_micro_version != GTK_MICRO_VERSION))
28634 {
28635 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28636 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28637 printf("*** library (version %d.%d.%d)\n",
28638 gtk_major_version, gtk_minor_version, gtk_micro_version);
28639 }
28640 #endif /* defined (GTK_MAJOR_VERSION) ... */
28641 else
28642 {
28643 if ((gtk_major_version > major) ||
28644 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28645 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28646 {
28647 return 0;
28648 }
28649 else
28650 {
28651 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28652 gtk_major_version, gtk_minor_version, gtk_micro_version);
28653 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28654 major, minor, micro);
28655 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28656 printf("***\n");
28657 printf("*** If you have already installed a sufficiently new version, this error\n");
28658 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28659 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28660 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28661 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28662 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28663 printf("*** so that the correct libraries are found at run-time))\n");
28664 }
28665 }
28666 return 1;
28667 }
28668
28669 _ACEOF
28670 rm -f conftest$ac_exeext
28671 if { (ac_try="$ac_link"
28672 case "(($ac_try" in
28673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28674 *) ac_try_echo=$ac_try;;
28675 esac
28676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28677 (eval "$ac_link") 2>&5
28678 ac_status=$?
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28681 { (case "(($ac_try" in
28682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28683 *) ac_try_echo=$ac_try;;
28684 esac
28685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28686 (eval "$ac_try") 2>&5
28687 ac_status=$?
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; }; then
28690 :
28691 else
28692 echo "$as_me: program exited with status $ac_status" >&5
28693 echo "$as_me: failed program was:" >&5
28694 sed 's/^/| /' conftest.$ac_ext >&5
28695
28696 ( exit $ac_status )
28697 no_gtk=yes
28698 fi
28699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28700 fi
28701
28702
28703 CFLAGS="$ac_save_CFLAGS"
28704 LIBS="$ac_save_LIBS"
28705 fi
28706 fi
28707 if test "x$no_gtk" = x ; then
28708 { echo "$as_me:$LINENO: result: yes" >&5
28709 echo "${ECHO_T}yes" >&6; }
28710 wx_cv_lib_gtk=1.2.3
28711 else
28712 { echo "$as_me:$LINENO: result: no" >&5
28713 echo "${ECHO_T}no" >&6; }
28714 if test "$GTK_CONFIG" = "no" ; then
28715 echo "*** The gtk-config script installed by GTK could not be found"
28716 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28717 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28718 echo "*** full path to gtk-config."
28719 else
28720 if test -f conf.gtktest ; then
28721 :
28722 else
28723 echo "*** Could not run GTK test program, checking why..."
28724 CFLAGS="$CFLAGS $GTK_CFLAGS"
28725 LIBS="$LIBS $GTK_LIBS"
28726 cat >conftest.$ac_ext <<_ACEOF
28727 /* confdefs.h. */
28728 _ACEOF
28729 cat confdefs.h >>conftest.$ac_ext
28730 cat >>conftest.$ac_ext <<_ACEOF
28731 /* end confdefs.h. */
28732
28733 #include <gtk/gtk.h>
28734 #include <stdio.h>
28735
28736 int
28737 main ()
28738 {
28739 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28740 ;
28741 return 0;
28742 }
28743 _ACEOF
28744 rm -f conftest.$ac_objext conftest$ac_exeext
28745 if { (ac_try="$ac_link"
28746 case "(($ac_try" in
28747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748 *) ac_try_echo=$ac_try;;
28749 esac
28750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751 (eval "$ac_link") 2>conftest.er1
28752 ac_status=$?
28753 grep -v '^ *+' conftest.er1 >conftest.err
28754 rm -f conftest.er1
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } && {
28758 test -z "$ac_c_werror_flag" ||
28759 test ! -s conftest.err
28760 } && test -s conftest$ac_exeext &&
28761 $as_test_x conftest$ac_exeext; then
28762 echo "*** The test program compiled, but did not run. This usually means"
28763 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28764 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28767 echo "*** is required on your system"
28768 echo "***"
28769 echo "*** If you have an old version installed, it is best to remove it, although"
28770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28771 echo "***"
28772 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28773 echo "*** came with the system with the command"
28774 echo "***"
28775 echo "*** rpm --erase --nodeps gtk gtk-devel"
28776 else
28777 echo "$as_me: failed program was:" >&5
28778 sed 's/^/| /' conftest.$ac_ext >&5
28779
28780 echo "*** The test program failed to compile or link. See the file config.log for the"
28781 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28782 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28783 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28784 fi
28785
28786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28787 conftest$ac_exeext conftest.$ac_ext
28788 CFLAGS="$ac_save_CFLAGS"
28789 LIBS="$ac_save_LIBS"
28790 fi
28791 fi
28792 GTK_CFLAGS=""
28793 GTK_LIBS=""
28794 :
28795 fi
28796
28797
28798 rm -f conf.gtktest
28799
28800 fi
28801 fi
28802 fi
28803
28804 if test -z "$wx_cv_lib_gtk"; then
28805 wx_cv_lib_gtk=none
28806 else
28807 wx_cv_cflags_gtk=$GTK_CFLAGS
28808 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28809 fi
28810
28811
28812 fi
28813
28814
28815 if test "$gtk_version_cached" = 1; then
28816 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28817 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28818 fi
28819
28820 case "$wx_cv_lib_gtk" in
28821 2.0) WXGTK2=1
28822 TOOLKIT_VERSION=2
28823 ;;
28824 1.2.7) WXGTK127=1
28825 WXGTK12=1
28826 ;;
28827 1.2.3) WXGTK12=1
28828 ;;
28829 *) { { echo "$as_me:$LINENO: error:
28830 The development files for GTK+ were not found. For GTK+ 2, please
28831 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28832 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28833 and that the version is 1.2.3 or above. Also check that the
28834 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28835 --libs' are in the LD_LIBRARY_PATH or equivalent.
28836 " >&5
28837 echo "$as_me: error:
28838 The development files for GTK+ were not found. For GTK+ 2, please
28839 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28840 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28841 and that the version is 1.2.3 or above. Also check that the
28842 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28843 --libs' are in the LD_LIBRARY_PATH or equivalent.
28844 " >&2;}
28845 { (exit 1); exit 1; }; }
28846 ;;
28847 esac
28848
28849 if test "$WXGTK2" = 1; then
28850 save_CFLAGS="$CFLAGS"
28851 save_LIBS="$LIBS"
28852 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28853 LIBS="$LIBS $wx_cv_libs_gtk"
28854
28855 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28856 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28857 cat >conftest.$ac_ext <<_ACEOF
28858 /* confdefs.h. */
28859 _ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28863
28864 #include <gtk/gtk.h>
28865
28866 int
28867 main ()
28868 {
28869
28870 #if !GTK_CHECK_VERSION(2,10,0)
28871 Not GTK+ 2.10
28872 #endif
28873
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 rm -f conftest.$ac_objext
28879 if { (ac_try="$ac_compile"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28883 esac
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_compile") 2>conftest.er1
28886 ac_status=$?
28887 grep -v '^ *+' conftest.er1 >conftest.err
28888 rm -f conftest.er1
28889 cat conftest.err >&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } && {
28892 test -z "$ac_c_werror_flag" ||
28893 test ! -s conftest.err
28894 } && test -s conftest.$ac_objext; then
28895
28896 cat >>confdefs.h <<\_ACEOF
28897 #define __WXGTK210__ 1
28898 _ACEOF
28899
28900 cat >>confdefs.h <<\_ACEOF
28901 #define __WXGTK26__ 1
28902 _ACEOF
28903
28904 { echo "$as_me:$LINENO: result: yes" >&5
28905 echo "${ECHO_T}yes" >&6; }
28906 ac_wxgtk210=1
28907
28908 else
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912
28913 { echo "$as_me:$LINENO: result: no" >&5
28914 echo "${ECHO_T}no" >&6; }
28915 ac_wxgtk210=0
28916
28917 fi
28918
28919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28920
28921 if test "$ac_wxgtk210" = 0; then
28922 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28923 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28924 cat >conftest.$ac_ext <<_ACEOF
28925 /* confdefs.h. */
28926 _ACEOF
28927 cat confdefs.h >>conftest.$ac_ext
28928 cat >>conftest.$ac_ext <<_ACEOF
28929 /* end confdefs.h. */
28930
28931 #include <gtk/gtk.h>
28932
28933 int
28934 main ()
28935 {
28936
28937 #if !GTK_CHECK_VERSION(2,6,0)
28938 Not GTK+ 2.6
28939 #endif
28940
28941 ;
28942 return 0;
28943 }
28944 _ACEOF
28945 rm -f conftest.$ac_objext
28946 if { (ac_try="$ac_compile"
28947 case "(($ac_try" in
28948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28949 *) ac_try_echo=$ac_try;;
28950 esac
28951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28952 (eval "$ac_compile") 2>conftest.er1
28953 ac_status=$?
28954 grep -v '^ *+' conftest.er1 >conftest.err
28955 rm -f conftest.er1
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } && {
28959 test -z "$ac_c_werror_flag" ||
28960 test ! -s conftest.err
28961 } && test -s conftest.$ac_objext; then
28962
28963 cat >>confdefs.h <<\_ACEOF
28964 #define __WXGTK26__ 1
28965 _ACEOF
28966
28967 { echo "$as_me:$LINENO: result: yes" >&5
28968 echo "${ECHO_T}yes" >&6; }
28969 ac_wxgtk26=1
28970
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975
28976 { echo "$as_me:$LINENO: result: no" >&5
28977 echo "${ECHO_T}no" >&6; }
28978 ac_wxgtk26=0
28979
28980 fi
28981
28982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983 fi
28984
28985 CFLAGS="$save_CFLAGS"
28986 LIBS="$save_LIBS"
28987 else
28988 if test "$wxUSE_UNICODE" = "yes"; then
28989 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28990 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28991 wxUSE_UNICODE=no
28992 fi
28993
28994 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28995 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28996 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28998 else
28999 ac_check_lib_save_LIBS=$LIBS
29000 LIBS="-lgdk $LIBS"
29001 cat >conftest.$ac_ext <<_ACEOF
29002 /* confdefs.h. */
29003 _ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29007
29008 /* Override any GCC internal prototype to avoid an error.
29009 Use char because int might match the return type of a GCC
29010 builtin and then its argument prototype would still apply. */
29011 #ifdef __cplusplus
29012 extern "C"
29013 #endif
29014 char gdk_im_open ();
29015 int
29016 main ()
29017 {
29018 return gdk_im_open ();
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 rm -f conftest.$ac_objext conftest$ac_exeext
29024 if { (ac_try="$ac_link"
29025 case "(($ac_try" in
29026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29027 *) ac_try_echo=$ac_try;;
29028 esac
29029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29030 (eval "$ac_link") 2>conftest.er1
29031 ac_status=$?
29032 grep -v '^ *+' conftest.er1 >conftest.err
29033 rm -f conftest.er1
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } && {
29037 test -z "$ac_c_werror_flag" ||
29038 test ! -s conftest.err
29039 } && test -s conftest$ac_exeext &&
29040 $as_test_x conftest$ac_exeext; then
29041 ac_cv_lib_gdk_gdk_im_open=yes
29042 else
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.$ac_ext >&5
29045
29046 ac_cv_lib_gdk_gdk_im_open=no
29047 fi
29048
29049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29050 conftest$ac_exeext conftest.$ac_ext
29051 LIBS=$ac_check_lib_save_LIBS
29052 fi
29053 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29054 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29055 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29056 cat >>confdefs.h <<\_ACEOF
29057 #define HAVE_XIM 1
29058 _ACEOF
29059
29060 fi
29061
29062
29063 if test "$USE_DARWIN" != 1; then
29064
29065 for ac_func in poll
29066 do
29067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29072 else
29073 cat >conftest.$ac_ext <<_ACEOF
29074 /* confdefs.h. */
29075 _ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29081 #define $ac_func innocuous_$ac_func
29082
29083 /* System header to define __stub macros and hopefully few prototypes,
29084 which can conflict with char $ac_func (); below.
29085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29086 <limits.h> exists even on freestanding compilers. */
29087
29088 #ifdef __STDC__
29089 # include <limits.h>
29090 #else
29091 # include <assert.h>
29092 #endif
29093
29094 #undef $ac_func
29095
29096 /* Override any GCC internal prototype to avoid an error.
29097 Use char because int might match the return type of a GCC
29098 builtin and then its argument prototype would still apply. */
29099 #ifdef __cplusplus
29100 extern "C"
29101 #endif
29102 char $ac_func ();
29103 /* The GNU C library defines this for functions which it implements
29104 to always fail with ENOSYS. Some functions are actually named
29105 something starting with __ and the normal name is an alias. */
29106 #if defined __stub_$ac_func || defined __stub___$ac_func
29107 choke me
29108 #endif
29109
29110 int
29111 main ()
29112 {
29113 return $ac_func ();
29114 ;
29115 return 0;
29116 }
29117 _ACEOF
29118 rm -f conftest.$ac_objext conftest$ac_exeext
29119 if { (ac_try="$ac_link"
29120 case "(($ac_try" in
29121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29122 *) ac_try_echo=$ac_try;;
29123 esac
29124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29125 (eval "$ac_link") 2>conftest.er1
29126 ac_status=$?
29127 grep -v '^ *+' conftest.er1 >conftest.err
29128 rm -f conftest.er1
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } && {
29132 test -z "$ac_c_werror_flag" ||
29133 test ! -s conftest.err
29134 } && test -s conftest$ac_exeext &&
29135 $as_test_x conftest$ac_exeext; then
29136 eval "$as_ac_var=yes"
29137 else
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.$ac_ext >&5
29140
29141 eval "$as_ac_var=no"
29142 fi
29143
29144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29145 conftest$ac_exeext conftest.$ac_ext
29146 fi
29147 ac_res=`eval echo '${'$as_ac_var'}'`
29148 { echo "$as_me:$LINENO: result: $ac_res" >&5
29149 echo "${ECHO_T}$ac_res" >&6; }
29150 if test `eval echo '${'$as_ac_var'}'` = yes; then
29151 cat >>confdefs.h <<_ACEOF
29152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29153 _ACEOF
29154
29155 fi
29156 done
29157
29158 fi
29159 fi
29160
29161 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29162 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29163
29164 AFMINSTALL=afminstall
29165 TOOLKIT=GTK
29166 GUIDIST=GTK_DIST
29167
29168 if test "$wxUSE_GPE" = "yes"; then
29169 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29170 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29171
29172 ac_find_libraries=
29173 for ac_dir in $SEARCH_LIB;
29174 do
29175 for ac_extension in a so sl dylib dll.a; do
29176 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29177 ac_find_libraries=$ac_dir
29178 break 2
29179 fi
29180 done
29181 done
29182
29183 if test "$ac_find_libraries" != "" ; then
29184
29185 if test "$ac_find_libraries" = "default location"; then
29186 ac_path_to_link=""
29187 else
29188 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29189 result=$?
29190 if test $result = 0; then
29191 ac_path_to_link=""
29192 else
29193 ac_path_to_link=" -L$ac_find_libraries"
29194 fi
29195 fi
29196
29197 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29198 WXGPE=1
29199 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29200 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29201 else
29202 { echo "$as_me:$LINENO: result: not found" >&5
29203 echo "${ECHO_T}not found" >&6; }
29204 fi
29205
29206 fi
29207 fi
29208
29209 if test "$wxUSE_MGL" = 1; then
29210 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29211 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29212 if test "x$MGL_ROOT" = x ; then
29213 { echo "$as_me:$LINENO: result: not found" >&5
29214 echo "${ECHO_T}not found" >&6; }
29215 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29216 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29217 { (exit 1); exit 1; }; }
29218 else
29219 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29220 echo "${ECHO_T}$MGL_ROOT" >&6; }
29221 fi
29222
29223 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29224 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29225 case "${host}" in
29226 *-*-linux* )
29227 if test "x$wxUSE_SHARED" = xyes ; then
29228 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29229 else
29230 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29231 fi
29232 ;;
29233 *-pc-msdosdjgpp )
29234 mgl_os_candidates="dos32/dj2"
29235 ;;
29236 *)
29237 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29238 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29239 { (exit 1); exit 1; }; }
29240 esac
29241
29242 mgl_lib_type=""
29243 mgl_os=""
29244
29245 for mgl_os_i in $mgl_os_candidates ; do
29246 if test "x$mgl_os" = x ; then
29247 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29248 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29249 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29250 mgl_lib_type=debug
29251 mgl_os=$mgl_os_i
29252 fi
29253 fi
29254 if test "x$mgl_lib_type" = x ; then
29255 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29256 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29257 mgl_lib_type=release
29258 mgl_os=$mgl_os_i
29259 fi
29260 fi
29261 fi
29262 done
29263
29264 if test "x$mgl_os" = x ; then
29265 { echo "$as_me:$LINENO: result: not found" >&5
29266 echo "${ECHO_T}not found" >&6; }
29267 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29268 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29269 { (exit 1); exit 1; }; }
29270 fi
29271 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29272 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29273
29274 wxUSE_UNIVERSAL="yes"
29275
29276 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29277 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29278
29279 AFMINSTALL=afminstall
29280 TOOLKIT=MGL
29281 GUIDIST=MGL_DIST
29282 fi
29283
29284 if test "$wxUSE_DFB" = 1; then
29285
29286
29287 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29288 if test -n "$ac_tool_prefix"; then
29289 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29290 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29294 echo $ECHO_N "(cached) $ECHO_C" >&6
29295 else
29296 case $PKG_CONFIG in
29297 [\\/]* | ?:[\\/]*)
29298 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29299 ;;
29300 *)
29301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29302 for as_dir in $PATH
29303 do
29304 IFS=$as_save_IFS
29305 test -z "$as_dir" && as_dir=.
29306 for ac_exec_ext in '' $ac_executable_extensions; do
29307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29308 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29310 break 2
29311 fi
29312 done
29313 done
29314 IFS=$as_save_IFS
29315
29316 ;;
29317 esac
29318 fi
29319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29320 if test -n "$PKG_CONFIG"; then
29321 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29322 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29323 else
29324 { echo "$as_me:$LINENO: result: no" >&5
29325 echo "${ECHO_T}no" >&6; }
29326 fi
29327
29328
29329 fi
29330 if test -z "$ac_cv_path_PKG_CONFIG"; then
29331 ac_pt_PKG_CONFIG=$PKG_CONFIG
29332 # Extract the first word of "pkg-config", so it can be a program name with args.
29333 set dummy pkg-config; ac_word=$2
29334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29338 else
29339 case $ac_pt_PKG_CONFIG in
29340 [\\/]* | ?:[\\/]*)
29341 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29342 ;;
29343 *)
29344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29345 for as_dir in $PATH
29346 do
29347 IFS=$as_save_IFS
29348 test -z "$as_dir" && as_dir=.
29349 for ac_exec_ext in '' $ac_executable_extensions; do
29350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29351 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29353 break 2
29354 fi
29355 done
29356 done
29357 IFS=$as_save_IFS
29358
29359 ;;
29360 esac
29361 fi
29362 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29363 if test -n "$ac_pt_PKG_CONFIG"; then
29364 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29365 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29366 else
29367 { echo "$as_me:$LINENO: result: no" >&5
29368 echo "${ECHO_T}no" >&6; }
29369 fi
29370
29371 if test "x$ac_pt_PKG_CONFIG" = x; then
29372 PKG_CONFIG=""
29373 else
29374 case $cross_compiling:$ac_tool_warned in
29375 yes:)
29376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29377 whose name does not start with the host triplet. If you think this
29378 configuration is useful to you, please write to autoconf@gnu.org." >&5
29379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29380 whose name does not start with the host triplet. If you think this
29381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29382 ac_tool_warned=yes ;;
29383 esac
29384 PKG_CONFIG=$ac_pt_PKG_CONFIG
29385 fi
29386 else
29387 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29388 fi
29389
29390 fi
29391 if test -n "$PKG_CONFIG"; then
29392 _pkg_min_version=0.9.0
29393 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29394 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29395 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29396 { echo "$as_me:$LINENO: result: yes" >&5
29397 echo "${ECHO_T}yes" >&6; }
29398 else
29399 { echo "$as_me:$LINENO: result: no" >&5
29400 echo "${ECHO_T}no" >&6; }
29401 PKG_CONFIG=""
29402 fi
29403
29404 fi
29405
29406
29407 pkg_failed=no
29408 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29409 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29410
29411 if test -n "$PKG_CONFIG"; then
29412 if test -n "$DIRECTFB_CFLAGS"; then
29413 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29414 else
29415 if test -n "$PKG_CONFIG" && \
29416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29417 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; then
29421 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29422 else
29423 pkg_failed=yes
29424 fi
29425 fi
29426 else
29427 pkg_failed=untried
29428 fi
29429 if test -n "$PKG_CONFIG"; then
29430 if test -n "$DIRECTFB_LIBS"; then
29431 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29432 else
29433 if test -n "$PKG_CONFIG" && \
29434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29435 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29436 ac_status=$?
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; then
29439 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29440 else
29441 pkg_failed=yes
29442 fi
29443 fi
29444 else
29445 pkg_failed=untried
29446 fi
29447
29448
29449
29450 if test $pkg_failed = yes; then
29451
29452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29453 _pkg_short_errors_supported=yes
29454 else
29455 _pkg_short_errors_supported=no
29456 fi
29457 if test $_pkg_short_errors_supported = yes; then
29458 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29459 else
29460 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29461 fi
29462 # Put the nasty error message in config.log where it belongs
29463 echo "$DIRECTFB_PKG_ERRORS" >&5
29464
29465
29466 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29467 echo "$as_me: error: DirectFB not found." >&2;}
29468 { (exit 1); exit 1; }; }
29469
29470
29471 elif test $pkg_failed = untried; then
29472
29473 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29474 echo "$as_me: error: DirectFB not found." >&2;}
29475 { (exit 1); exit 1; }; }
29476
29477
29478 else
29479 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29480 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29481 { echo "$as_me:$LINENO: result: yes" >&5
29482 echo "${ECHO_T}yes" >&6; }
29483
29484 wxUSE_UNIVERSAL="yes"
29485 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29486 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29487 TOOLKIT=DFB
29488 GUIDIST=DFB_DIST
29489
29490 fi
29491 fi
29492
29493 if test "$wxUSE_MICROWIN" = 1; then
29494 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29495 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29496 if test "x$MICROWINDOWS" = x ; then
29497 { echo "$as_me:$LINENO: result: not found" >&5
29498 echo "${ECHO_T}not found" >&6; }
29499 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29500 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29501 { (exit 1); exit 1; }; }
29502 else
29503 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29504 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29505 fi
29506
29507 if test -f $MICROWINDOWS/lib/libmwin.a; then
29508 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29509 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29510 else
29511 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29512 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29513 { (exit 1); exit 1; }; }
29514 fi
29515
29516 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29517 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29518
29519 wxUSE_UNIVERSAL="yes"
29520
29521 AFMINSTALL=afminstall
29522 TOOLKIT=MICROWIN
29523 GUIDIST=MICROWIN_DIST
29524
29525 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29526 fi
29527
29528 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29529 { echo "$as_me:$LINENO: checking for X" >&5
29530 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29531
29532
29533 # Check whether --with-x was given.
29534 if test "${with_x+set}" = set; then
29535 withval=$with_x;
29536 fi
29537
29538 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29539 if test "x$with_x" = xno; then
29540 # The user explicitly disabled X.
29541 have_x=disabled
29542 else
29543 case $x_includes,$x_libraries in #(
29544 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29545 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29546 { (exit 1); exit 1; }; };; #(
29547 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 else
29550 # One or both of the vars are not set, and there is no cached value.
29551 ac_x_includes=no ac_x_libraries=no
29552 rm -f -r conftest.dir
29553 if mkdir conftest.dir; then
29554 cd conftest.dir
29555 cat >Imakefile <<'_ACEOF'
29556 incroot:
29557 @echo incroot='${INCROOT}'
29558 usrlibdir:
29559 @echo usrlibdir='${USRLIBDIR}'
29560 libdir:
29561 @echo libdir='${LIBDIR}'
29562 _ACEOF
29563 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29565 for ac_var in incroot usrlibdir libdir; do
29566 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29567 done
29568 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29569 for ac_extension in a so sl; do
29570 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29571 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29572 ac_im_usrlibdir=$ac_im_libdir; break
29573 fi
29574 done
29575 # Screen out bogus values from the imake configuration. They are
29576 # bogus both because they are the default anyway, and because
29577 # using them would break gcc on systems where it needs fixed includes.
29578 case $ac_im_incroot in
29579 /usr/include) ac_x_includes= ;;
29580 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29581 esac
29582 case $ac_im_usrlibdir in
29583 /usr/lib | /lib) ;;
29584 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29585 esac
29586 fi
29587 cd ..
29588 rm -f -r conftest.dir
29589 fi
29590
29591 # Standard set of common directories for X headers.
29592 # Check X11 before X11Rn because it is often a symlink to the current release.
29593 ac_x_header_dirs='
29594 /usr/X11/include
29595 /usr/X11R6/include
29596 /usr/X11R5/include
29597 /usr/X11R4/include
29598
29599 /usr/include/X11
29600 /usr/include/X11R6
29601 /usr/include/X11R5
29602 /usr/include/X11R4
29603
29604 /usr/local/X11/include
29605 /usr/local/X11R6/include
29606 /usr/local/X11R5/include
29607 /usr/local/X11R4/include
29608
29609 /usr/local/include/X11
29610 /usr/local/include/X11R6
29611 /usr/local/include/X11R5
29612 /usr/local/include/X11R4
29613
29614 /usr/X386/include
29615 /usr/x386/include
29616 /usr/XFree86/include/X11
29617
29618 /usr/include
29619 /usr/local/include
29620 /usr/unsupported/include
29621 /usr/athena/include
29622 /usr/local/x11r5/include
29623 /usr/lpp/Xamples/include
29624
29625 /usr/openwin/include
29626 /usr/openwin/share/include'
29627
29628 if test "$ac_x_includes" = no; then
29629 # Guess where to find include files, by looking for Xlib.h.
29630 # First, try using that file with no special directory specified.
29631 cat >conftest.$ac_ext <<_ACEOF
29632 /* confdefs.h. */
29633 _ACEOF
29634 cat confdefs.h >>conftest.$ac_ext
29635 cat >>conftest.$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 #include <X11/Xlib.h>
29638 _ACEOF
29639 if { (ac_try="$ac_cpp conftest.$ac_ext"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29643 esac
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } >/dev/null && {
29652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 }; then
29655 # We can compile using X headers with no special include directory.
29656 ac_x_includes=
29657 else
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29660
29661 for ac_dir in $ac_x_header_dirs; do
29662 if test -r "$ac_dir/X11/Xlib.h"; then
29663 ac_x_includes=$ac_dir
29664 break
29665 fi
29666 done
29667 fi
29668
29669 rm -f conftest.err conftest.$ac_ext
29670 fi # $ac_x_includes = no
29671
29672 if test "$ac_x_libraries" = no; then
29673 # Check for the libraries.
29674 # See if we find them without any special options.
29675 # Don't add to $LIBS permanently.
29676 ac_save_LIBS=$LIBS
29677 LIBS="-lX11 $LIBS"
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h. */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684 #include <X11/Xlib.h>
29685 int
29686 main ()
29687 {
29688 XrmInitialize ()
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 rm -f conftest.$ac_objext conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29698 esac
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>conftest.er1
29701 ac_status=$?
29702 grep -v '^ *+' conftest.er1 >conftest.err
29703 rm -f conftest.er1
29704 cat conftest.err >&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } && {
29707 test -z "$ac_c_werror_flag" ||
29708 test ! -s conftest.err
29709 } && test -s conftest$ac_exeext &&
29710 $as_test_x conftest$ac_exeext; then
29711 LIBS=$ac_save_LIBS
29712 # We can link X programs with no special library path.
29713 ac_x_libraries=
29714 else
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.$ac_ext >&5
29717
29718 LIBS=$ac_save_LIBS
29719 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29720 do
29721 # Don't even attempt the hair of trying to link an X program!
29722 for ac_extension in a so sl; do
29723 if test -r "$ac_dir/libX11.$ac_extension"; then
29724 ac_x_libraries=$ac_dir
29725 break 2
29726 fi
29727 done
29728 done
29729 fi
29730
29731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29732 conftest$ac_exeext conftest.$ac_ext
29733 fi # $ac_x_libraries = no
29734
29735 case $ac_x_includes,$ac_x_libraries in #(
29736 no,* | *,no | *\'*)
29737 # Didn't find X, or a directory has "'" in its name.
29738 ac_cv_have_x="have_x=no";; #(
29739 *)
29740 # Record where we found X for the cache.
29741 ac_cv_have_x="have_x=yes\
29742 ac_x_includes='$ac_x_includes'\
29743 ac_x_libraries='$ac_x_libraries'"
29744 esac
29745 fi
29746 ;; #(
29747 *) have_x=yes;;
29748 esac
29749 eval "$ac_cv_have_x"
29750 fi # $with_x != no
29751
29752 if test "$have_x" != yes; then
29753 { echo "$as_me:$LINENO: result: $have_x" >&5
29754 echo "${ECHO_T}$have_x" >&6; }
29755 no_x=yes
29756 else
29757 # If each of the values was on the command line, it overrides each guess.
29758 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29759 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29760 # Update the cache value to reflect the command line values.
29761 ac_cv_have_x="have_x=yes\
29762 ac_x_includes='$x_includes'\
29763 ac_x_libraries='$x_libraries'"
29764 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29765 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29766 fi
29767
29768 if test "$no_x" = yes; then
29769 # Not all programs may use this symbol, but it does not hurt to define it.
29770
29771 cat >>confdefs.h <<\_ACEOF
29772 #define X_DISPLAY_MISSING 1
29773 _ACEOF
29774
29775 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29776 else
29777 if test -n "$x_includes"; then
29778 X_CFLAGS="$X_CFLAGS -I$x_includes"
29779 fi
29780
29781 # It would also be nice to do this for all -L options, not just this one.
29782 if test -n "$x_libraries"; then
29783 X_LIBS="$X_LIBS -L$x_libraries"
29784 # For Solaris; some versions of Sun CC require a space after -R and
29785 # others require no space. Words are not sufficient . . . .
29786 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29787 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29788 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29789 ac_xsave_c_werror_flag=$ac_c_werror_flag
29790 ac_c_werror_flag=yes
29791 cat >conftest.$ac_ext <<_ACEOF
29792 /* confdefs.h. */
29793 _ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29797
29798 int
29799 main ()
29800 {
29801
29802 ;
29803 return 0;
29804 }
29805 _ACEOF
29806 rm -f conftest.$ac_objext conftest$ac_exeext
29807 if { (ac_try="$ac_link"
29808 case "(($ac_try" in
29809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29810 *) ac_try_echo=$ac_try;;
29811 esac
29812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29813 (eval "$ac_link") 2>conftest.er1
29814 ac_status=$?
29815 grep -v '^ *+' conftest.er1 >conftest.err
29816 rm -f conftest.er1
29817 cat conftest.err >&5
29818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29819 (exit $ac_status); } && {
29820 test -z "$ac_c_werror_flag" ||
29821 test ! -s conftest.err
29822 } && test -s conftest$ac_exeext &&
29823 $as_test_x conftest$ac_exeext; then
29824 { echo "$as_me:$LINENO: result: no" >&5
29825 echo "${ECHO_T}no" >&6; }
29826 X_LIBS="$X_LIBS -R$x_libraries"
29827 else
29828 echo "$as_me: failed program was:" >&5
29829 sed 's/^/| /' conftest.$ac_ext >&5
29830
29831 LIBS="$ac_xsave_LIBS -R $x_libraries"
29832 cat >conftest.$ac_ext <<_ACEOF
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838
29839 int
29840 main ()
29841 {
29842
29843 ;
29844 return 0;
29845 }
29846 _ACEOF
29847 rm -f conftest.$ac_objext conftest$ac_exeext
29848 if { (ac_try="$ac_link"
29849 case "(($ac_try" in
29850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29851 *) ac_try_echo=$ac_try;;
29852 esac
29853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29854 (eval "$ac_link") 2>conftest.er1
29855 ac_status=$?
29856 grep -v '^ *+' conftest.er1 >conftest.err
29857 rm -f conftest.er1
29858 cat conftest.err >&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } && {
29861 test -z "$ac_c_werror_flag" ||
29862 test ! -s conftest.err
29863 } && test -s conftest$ac_exeext &&
29864 $as_test_x conftest$ac_exeext; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29867 X_LIBS="$X_LIBS -R $x_libraries"
29868 else
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29871
29872 { echo "$as_me:$LINENO: result: neither works" >&5
29873 echo "${ECHO_T}neither works" >&6; }
29874 fi
29875
29876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29877 conftest$ac_exeext conftest.$ac_ext
29878 fi
29879
29880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29881 conftest$ac_exeext conftest.$ac_ext
29882 ac_c_werror_flag=$ac_xsave_c_werror_flag
29883 LIBS=$ac_xsave_LIBS
29884 fi
29885
29886 # Check for system-dependent libraries X programs must link with.
29887 # Do this before checking for the system-independent R6 libraries
29888 # (-lICE), since we may need -lsocket or whatever for X linking.
29889
29890 if test "$ISC" = yes; then
29891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29892 else
29893 # Martyn Johnson says this is needed for Ultrix, if the X
29894 # libraries were built with DECnet support. And Karl Berry says
29895 # the Alpha needs dnet_stub (dnet does not exist).
29896 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29897 cat >conftest.$ac_ext <<_ACEOF
29898 /* confdefs.h. */
29899 _ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29903
29904 /* Override any GCC internal prototype to avoid an error.
29905 Use char because int might match the return type of a GCC
29906 builtin and then its argument prototype would still apply. */
29907 #ifdef __cplusplus
29908 extern "C"
29909 #endif
29910 char XOpenDisplay ();
29911 int
29912 main ()
29913 {
29914 return XOpenDisplay ();
29915 ;
29916 return 0;
29917 }
29918 _ACEOF
29919 rm -f conftest.$ac_objext conftest$ac_exeext
29920 if { (ac_try="$ac_link"
29921 case "(($ac_try" in
29922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29923 *) ac_try_echo=$ac_try;;
29924 esac
29925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29926 (eval "$ac_link") 2>conftest.er1
29927 ac_status=$?
29928 grep -v '^ *+' conftest.er1 >conftest.err
29929 rm -f conftest.er1
29930 cat conftest.err >&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); } && {
29933 test -z "$ac_c_werror_flag" ||
29934 test ! -s conftest.err
29935 } && test -s conftest$ac_exeext &&
29936 $as_test_x conftest$ac_exeext; then
29937 :
29938 else
29939 echo "$as_me: failed program was:" >&5
29940 sed 's/^/| /' conftest.$ac_ext >&5
29941
29942 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29943 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29944 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 else
29947 ac_check_lib_save_LIBS=$LIBS
29948 LIBS="-ldnet $LIBS"
29949 cat >conftest.$ac_ext <<_ACEOF
29950 /* confdefs.h. */
29951 _ACEOF
29952 cat confdefs.h >>conftest.$ac_ext
29953 cat >>conftest.$ac_ext <<_ACEOF
29954 /* end confdefs.h. */
29955
29956 /* Override any GCC internal prototype to avoid an error.
29957 Use char because int might match the return type of a GCC
29958 builtin and then its argument prototype would still apply. */
29959 #ifdef __cplusplus
29960 extern "C"
29961 #endif
29962 char dnet_ntoa ();
29963 int
29964 main ()
29965 {
29966 return dnet_ntoa ();
29967 ;
29968 return 0;
29969 }
29970 _ACEOF
29971 rm -f conftest.$ac_objext conftest$ac_exeext
29972 if { (ac_try="$ac_link"
29973 case "(($ac_try" in
29974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29975 *) ac_try_echo=$ac_try;;
29976 esac
29977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29978 (eval "$ac_link") 2>conftest.er1
29979 ac_status=$?
29980 grep -v '^ *+' conftest.er1 >conftest.err
29981 rm -f conftest.er1
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } && {
29985 test -z "$ac_c_werror_flag" ||
29986 test ! -s conftest.err
29987 } && test -s conftest$ac_exeext &&
29988 $as_test_x conftest$ac_exeext; then
29989 ac_cv_lib_dnet_dnet_ntoa=yes
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994 ac_cv_lib_dnet_dnet_ntoa=no
29995 fi
29996
29997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29998 conftest$ac_exeext conftest.$ac_ext
29999 LIBS=$ac_check_lib_save_LIBS
30000 fi
30001 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30002 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30003 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30004 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30005 fi
30006
30007 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30008 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30009 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30010 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30011 echo $ECHO_N "(cached) $ECHO_C" >&6
30012 else
30013 ac_check_lib_save_LIBS=$LIBS
30014 LIBS="-ldnet_stub $LIBS"
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021
30022 /* Override any GCC internal prototype to avoid an error.
30023 Use char because int might match the return type of a GCC
30024 builtin and then its argument prototype would still apply. */
30025 #ifdef __cplusplus
30026 extern "C"
30027 #endif
30028 char dnet_ntoa ();
30029 int
30030 main ()
30031 {
30032 return dnet_ntoa ();
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (ac_try="$ac_link"
30039 case "(($ac_try" in
30040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30041 *) ac_try_echo=$ac_try;;
30042 esac
30043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_link") 2>conftest.er1
30045 ac_status=$?
30046 grep -v '^ *+' conftest.er1 >conftest.err
30047 rm -f conftest.er1
30048 cat conftest.err >&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && {
30051 test -z "$ac_c_werror_flag" ||
30052 test ! -s conftest.err
30053 } && test -s conftest$ac_exeext &&
30054 $as_test_x conftest$ac_exeext; then
30055 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 ac_cv_lib_dnet_stub_dnet_ntoa=no
30061 fi
30062
30063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30064 conftest$ac_exeext conftest.$ac_ext
30065 LIBS=$ac_check_lib_save_LIBS
30066 fi
30067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30068 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30069 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30070 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30071 fi
30072
30073 fi
30074 fi
30075
30076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30077 conftest$ac_exeext conftest.$ac_ext
30078 LIBS="$ac_xsave_LIBS"
30079
30080 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30081 # to get the SysV transport functions.
30082 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30083 # needs -lnsl.
30084 # The nsl library prevents programs from opening the X display
30085 # on Irix 5.2, according to T.E. Dickey.
30086 # The functions gethostbyname, getservbyname, and inet_addr are
30087 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30088 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30089 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30090 if test "${ac_cv_func_gethostbyname+set}" = set; then
30091 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 else
30093 cat >conftest.$ac_ext <<_ACEOF
30094 /* confdefs.h. */
30095 _ACEOF
30096 cat confdefs.h >>conftest.$ac_ext
30097 cat >>conftest.$ac_ext <<_ACEOF
30098 /* end confdefs.h. */
30099 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30101 #define gethostbyname innocuous_gethostbyname
30102
30103 /* System header to define __stub macros and hopefully few prototypes,
30104 which can conflict with char gethostbyname (); below.
30105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30106 <limits.h> exists even on freestanding compilers. */
30107
30108 #ifdef __STDC__
30109 # include <limits.h>
30110 #else
30111 # include <assert.h>
30112 #endif
30113
30114 #undef gethostbyname
30115
30116 /* Override any GCC internal prototype to avoid an error.
30117 Use char because int might match the return type of a GCC
30118 builtin and then its argument prototype would still apply. */
30119 #ifdef __cplusplus
30120 extern "C"
30121 #endif
30122 char gethostbyname ();
30123 /* The GNU C library defines this for functions which it implements
30124 to always fail with ENOSYS. Some functions are actually named
30125 something starting with __ and the normal name is an alias. */
30126 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30127 choke me
30128 #endif
30129
30130 int
30131 main ()
30132 {
30133 return gethostbyname ();
30134 ;
30135 return 0;
30136 }
30137 _ACEOF
30138 rm -f conftest.$ac_objext conftest$ac_exeext
30139 if { (ac_try="$ac_link"
30140 case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30143 esac
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_link") 2>conftest.er1
30146 ac_status=$?
30147 grep -v '^ *+' conftest.er1 >conftest.err
30148 rm -f conftest.er1
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } && {
30152 test -z "$ac_c_werror_flag" ||
30153 test ! -s conftest.err
30154 } && test -s conftest$ac_exeext &&
30155 $as_test_x conftest$ac_exeext; then
30156 ac_cv_func_gethostbyname=yes
30157 else
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30160
30161 ac_cv_func_gethostbyname=no
30162 fi
30163
30164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30165 conftest$ac_exeext conftest.$ac_ext
30166 fi
30167 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30168 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30169
30170 if test $ac_cv_func_gethostbyname = no; then
30171 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30172 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30173 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30174 echo $ECHO_N "(cached) $ECHO_C" >&6
30175 else
30176 ac_check_lib_save_LIBS=$LIBS
30177 LIBS="-lnsl $LIBS"
30178 cat >conftest.$ac_ext <<_ACEOF
30179 /* confdefs.h. */
30180 _ACEOF
30181 cat confdefs.h >>conftest.$ac_ext
30182 cat >>conftest.$ac_ext <<_ACEOF
30183 /* end confdefs.h. */
30184
30185 /* Override any GCC internal prototype to avoid an error.
30186 Use char because int might match the return type of a GCC
30187 builtin and then its argument prototype would still apply. */
30188 #ifdef __cplusplus
30189 extern "C"
30190 #endif
30191 char gethostbyname ();
30192 int
30193 main ()
30194 {
30195 return gethostbyname ();
30196 ;
30197 return 0;
30198 }
30199 _ACEOF
30200 rm -f conftest.$ac_objext conftest$ac_exeext
30201 if { (ac_try="$ac_link"
30202 case "(($ac_try" in
30203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30204 *) ac_try_echo=$ac_try;;
30205 esac
30206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30207 (eval "$ac_link") 2>conftest.er1
30208 ac_status=$?
30209 grep -v '^ *+' conftest.er1 >conftest.err
30210 rm -f conftest.er1
30211 cat conftest.err >&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } && {
30214 test -z "$ac_c_werror_flag" ||
30215 test ! -s conftest.err
30216 } && test -s conftest$ac_exeext &&
30217 $as_test_x conftest$ac_exeext; then
30218 ac_cv_lib_nsl_gethostbyname=yes
30219 else
30220 echo "$as_me: failed program was:" >&5
30221 sed 's/^/| /' conftest.$ac_ext >&5
30222
30223 ac_cv_lib_nsl_gethostbyname=no
30224 fi
30225
30226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30227 conftest$ac_exeext conftest.$ac_ext
30228 LIBS=$ac_check_lib_save_LIBS
30229 fi
30230 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30231 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30232 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30234 fi
30235
30236 if test $ac_cv_lib_nsl_gethostbyname = no; then
30237 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30238 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30239 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 else
30242 ac_check_lib_save_LIBS=$LIBS
30243 LIBS="-lbsd $LIBS"
30244 cat >conftest.$ac_ext <<_ACEOF
30245 /* confdefs.h. */
30246 _ACEOF
30247 cat confdefs.h >>conftest.$ac_ext
30248 cat >>conftest.$ac_ext <<_ACEOF
30249 /* end confdefs.h. */
30250
30251 /* Override any GCC internal prototype to avoid an error.
30252 Use char because int might match the return type of a GCC
30253 builtin and then its argument prototype would still apply. */
30254 #ifdef __cplusplus
30255 extern "C"
30256 #endif
30257 char gethostbyname ();
30258 int
30259 main ()
30260 {
30261 return gethostbyname ();
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext conftest$ac_exeext
30267 if { (ac_try="$ac_link"
30268 case "(($ac_try" in
30269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30271 esac
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_link") 2>conftest.er1
30274 ac_status=$?
30275 grep -v '^ *+' conftest.er1 >conftest.err
30276 rm -f conftest.er1
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } && {
30280 test -z "$ac_c_werror_flag" ||
30281 test ! -s conftest.err
30282 } && test -s conftest$ac_exeext &&
30283 $as_test_x conftest$ac_exeext; then
30284 ac_cv_lib_bsd_gethostbyname=yes
30285 else
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30288
30289 ac_cv_lib_bsd_gethostbyname=no
30290 fi
30291
30292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30293 conftest$ac_exeext conftest.$ac_ext
30294 LIBS=$ac_check_lib_save_LIBS
30295 fi
30296 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30297 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30298 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30299 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30300 fi
30301
30302 fi
30303 fi
30304
30305 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30306 # socket/setsockopt and other routines are undefined under SCO ODT
30307 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30308 # on later versions), says Simon Leinen: it contains gethostby*
30309 # variants that don't use the name server (or something). -lsocket
30310 # must be given before -lnsl if both are needed. We assume that
30311 # if connect needs -lnsl, so does gethostbyname.
30312 { echo "$as_me:$LINENO: checking for connect" >&5
30313 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30314 if test "${ac_cv_func_connect+set}" = set; then
30315 echo $ECHO_N "(cached) $ECHO_C" >&6
30316 else
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30325 #define connect innocuous_connect
30326
30327 /* System header to define __stub macros and hopefully few prototypes,
30328 which can conflict with char connect (); below.
30329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30330 <limits.h> exists even on freestanding compilers. */
30331
30332 #ifdef __STDC__
30333 # include <limits.h>
30334 #else
30335 # include <assert.h>
30336 #endif
30337
30338 #undef connect
30339
30340 /* Override any GCC internal prototype to avoid an error.
30341 Use char because int might match the return type of a GCC
30342 builtin and then its argument prototype would still apply. */
30343 #ifdef __cplusplus
30344 extern "C"
30345 #endif
30346 char connect ();
30347 /* The GNU C library defines this for functions which it implements
30348 to always fail with ENOSYS. Some functions are actually named
30349 something starting with __ and the normal name is an alias. */
30350 #if defined __stub_connect || defined __stub___connect
30351 choke me
30352 #endif
30353
30354 int
30355 main ()
30356 {
30357 return connect ();
30358 ;
30359 return 0;
30360 }
30361 _ACEOF
30362 rm -f conftest.$ac_objext conftest$ac_exeext
30363 if { (ac_try="$ac_link"
30364 case "(($ac_try" in
30365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30366 *) ac_try_echo=$ac_try;;
30367 esac
30368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30369 (eval "$ac_link") 2>conftest.er1
30370 ac_status=$?
30371 grep -v '^ *+' conftest.er1 >conftest.err
30372 rm -f conftest.er1
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } && {
30376 test -z "$ac_c_werror_flag" ||
30377 test ! -s conftest.err
30378 } && test -s conftest$ac_exeext &&
30379 $as_test_x conftest$ac_exeext; then
30380 ac_cv_func_connect=yes
30381 else
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385 ac_cv_func_connect=no
30386 fi
30387
30388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30389 conftest$ac_exeext conftest.$ac_ext
30390 fi
30391 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30392 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30393
30394 if test $ac_cv_func_connect = no; then
30395 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30397 if test "${ac_cv_lib_socket_connect+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 else
30400 ac_check_lib_save_LIBS=$LIBS
30401 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30402 cat >conftest.$ac_ext <<_ACEOF
30403 /* confdefs.h. */
30404 _ACEOF
30405 cat confdefs.h >>conftest.$ac_ext
30406 cat >>conftest.$ac_ext <<_ACEOF
30407 /* end confdefs.h. */
30408
30409 /* Override any GCC internal prototype to avoid an error.
30410 Use char because int might match the return type of a GCC
30411 builtin and then its argument prototype would still apply. */
30412 #ifdef __cplusplus
30413 extern "C"
30414 #endif
30415 char connect ();
30416 int
30417 main ()
30418 {
30419 return connect ();
30420 ;
30421 return 0;
30422 }
30423 _ACEOF
30424 rm -f conftest.$ac_objext conftest$ac_exeext
30425 if { (ac_try="$ac_link"
30426 case "(($ac_try" in
30427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30428 *) ac_try_echo=$ac_try;;
30429 esac
30430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30431 (eval "$ac_link") 2>conftest.er1
30432 ac_status=$?
30433 grep -v '^ *+' conftest.er1 >conftest.err
30434 rm -f conftest.er1
30435 cat conftest.err >&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); } && {
30438 test -z "$ac_c_werror_flag" ||
30439 test ! -s conftest.err
30440 } && test -s conftest$ac_exeext &&
30441 $as_test_x conftest$ac_exeext; then
30442 ac_cv_lib_socket_connect=yes
30443 else
30444 echo "$as_me: failed program was:" >&5
30445 sed 's/^/| /' conftest.$ac_ext >&5
30446
30447 ac_cv_lib_socket_connect=no
30448 fi
30449
30450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30451 conftest$ac_exeext conftest.$ac_ext
30452 LIBS=$ac_check_lib_save_LIBS
30453 fi
30454 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30455 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30456 if test $ac_cv_lib_socket_connect = yes; then
30457 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30458 fi
30459
30460 fi
30461
30462 # Guillermo Gomez says -lposix is necessary on A/UX.
30463 { echo "$as_me:$LINENO: checking for remove" >&5
30464 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30465 if test "${ac_cv_func_remove+set}" = set; then
30466 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 else
30468 cat >conftest.$ac_ext <<_ACEOF
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30476 #define remove innocuous_remove
30477
30478 /* System header to define __stub macros and hopefully few prototypes,
30479 which can conflict with char remove (); below.
30480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30481 <limits.h> exists even on freestanding compilers. */
30482
30483 #ifdef __STDC__
30484 # include <limits.h>
30485 #else
30486 # include <assert.h>
30487 #endif
30488
30489 #undef remove
30490
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30494 #ifdef __cplusplus
30495 extern "C"
30496 #endif
30497 char remove ();
30498 /* The GNU C library defines this for functions which it implements
30499 to always fail with ENOSYS. Some functions are actually named
30500 something starting with __ and the normal name is an alias. */
30501 #if defined __stub_remove || defined __stub___remove
30502 choke me
30503 #endif
30504
30505 int
30506 main ()
30507 {
30508 return remove ();
30509 ;
30510 return 0;
30511 }
30512 _ACEOF
30513 rm -f conftest.$ac_objext conftest$ac_exeext
30514 if { (ac_try="$ac_link"
30515 case "(($ac_try" in
30516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30517 *) ac_try_echo=$ac_try;;
30518 esac
30519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30520 (eval "$ac_link") 2>conftest.er1
30521 ac_status=$?
30522 grep -v '^ *+' conftest.er1 >conftest.err
30523 rm -f conftest.er1
30524 cat conftest.err >&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } && {
30527 test -z "$ac_c_werror_flag" ||
30528 test ! -s conftest.err
30529 } && test -s conftest$ac_exeext &&
30530 $as_test_x conftest$ac_exeext; then
30531 ac_cv_func_remove=yes
30532 else
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.$ac_ext >&5
30535
30536 ac_cv_func_remove=no
30537 fi
30538
30539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30540 conftest$ac_exeext conftest.$ac_ext
30541 fi
30542 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30543 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30544
30545 if test $ac_cv_func_remove = no; then
30546 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30547 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30548 if test "${ac_cv_lib_posix_remove+set}" = set; then
30549 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 else
30551 ac_check_lib_save_LIBS=$LIBS
30552 LIBS="-lposix $LIBS"
30553 cat >conftest.$ac_ext <<_ACEOF
30554 /* confdefs.h. */
30555 _ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30559
30560 /* Override any GCC internal prototype to avoid an error.
30561 Use char because int might match the return type of a GCC
30562 builtin and then its argument prototype would still apply. */
30563 #ifdef __cplusplus
30564 extern "C"
30565 #endif
30566 char remove ();
30567 int
30568 main ()
30569 {
30570 return remove ();
30571 ;
30572 return 0;
30573 }
30574 _ACEOF
30575 rm -f conftest.$ac_objext conftest$ac_exeext
30576 if { (ac_try="$ac_link"
30577 case "(($ac_try" in
30578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30579 *) ac_try_echo=$ac_try;;
30580 esac
30581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30582 (eval "$ac_link") 2>conftest.er1
30583 ac_status=$?
30584 grep -v '^ *+' conftest.er1 >conftest.err
30585 rm -f conftest.er1
30586 cat conftest.err >&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } && {
30589 test -z "$ac_c_werror_flag" ||
30590 test ! -s conftest.err
30591 } && test -s conftest$ac_exeext &&
30592 $as_test_x conftest$ac_exeext; then
30593 ac_cv_lib_posix_remove=yes
30594 else
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.$ac_ext >&5
30597
30598 ac_cv_lib_posix_remove=no
30599 fi
30600
30601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30602 conftest$ac_exeext conftest.$ac_ext
30603 LIBS=$ac_check_lib_save_LIBS
30604 fi
30605 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30606 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30607 if test $ac_cv_lib_posix_remove = yes; then
30608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30609 fi
30610
30611 fi
30612
30613 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30614 { echo "$as_me:$LINENO: checking for shmat" >&5
30615 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30616 if test "${ac_cv_func_shmat+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619 cat >conftest.$ac_ext <<_ACEOF
30620 /* confdefs.h. */
30621 _ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30627 #define shmat innocuous_shmat
30628
30629 /* System header to define __stub macros and hopefully few prototypes,
30630 which can conflict with char shmat (); below.
30631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30632 <limits.h> exists even on freestanding compilers. */
30633
30634 #ifdef __STDC__
30635 # include <limits.h>
30636 #else
30637 # include <assert.h>
30638 #endif
30639
30640 #undef shmat
30641
30642 /* Override any GCC internal prototype to avoid an error.
30643 Use char because int might match the return type of a GCC
30644 builtin and then its argument prototype would still apply. */
30645 #ifdef __cplusplus
30646 extern "C"
30647 #endif
30648 char shmat ();
30649 /* The GNU C library defines this for functions which it implements
30650 to always fail with ENOSYS. Some functions are actually named
30651 something starting with __ and the normal name is an alias. */
30652 #if defined __stub_shmat || defined __stub___shmat
30653 choke me
30654 #endif
30655
30656 int
30657 main ()
30658 {
30659 return shmat ();
30660 ;
30661 return 0;
30662 }
30663 _ACEOF
30664 rm -f conftest.$ac_objext conftest$ac_exeext
30665 if { (ac_try="$ac_link"
30666 case "(($ac_try" in
30667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30668 *) ac_try_echo=$ac_try;;
30669 esac
30670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30671 (eval "$ac_link") 2>conftest.er1
30672 ac_status=$?
30673 grep -v '^ *+' conftest.er1 >conftest.err
30674 rm -f conftest.er1
30675 cat conftest.err >&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } && {
30678 test -z "$ac_c_werror_flag" ||
30679 test ! -s conftest.err
30680 } && test -s conftest$ac_exeext &&
30681 $as_test_x conftest$ac_exeext; then
30682 ac_cv_func_shmat=yes
30683 else
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687 ac_cv_func_shmat=no
30688 fi
30689
30690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30691 conftest$ac_exeext conftest.$ac_ext
30692 fi
30693 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30694 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30695
30696 if test $ac_cv_func_shmat = no; then
30697 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30698 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30699 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30700 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 else
30702 ac_check_lib_save_LIBS=$LIBS
30703 LIBS="-lipc $LIBS"
30704 cat >conftest.$ac_ext <<_ACEOF
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30714 #ifdef __cplusplus
30715 extern "C"
30716 #endif
30717 char shmat ();
30718 int
30719 main ()
30720 {
30721 return shmat ();
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30731 esac
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744 ac_cv_lib_ipc_shmat=yes
30745 else
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 ac_cv_lib_ipc_shmat=no
30750 fi
30751
30752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30753 conftest$ac_exeext conftest.$ac_ext
30754 LIBS=$ac_check_lib_save_LIBS
30755 fi
30756 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30757 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30758 if test $ac_cv_lib_ipc_shmat = yes; then
30759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30760 fi
30761
30762 fi
30763 fi
30764
30765 # Check for libraries that X11R6 Xt/Xaw programs need.
30766 ac_save_LDFLAGS=$LDFLAGS
30767 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30768 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30769 # check for ICE first), but we must link in the order -lSM -lICE or
30770 # we get undefined symbols. So assume we have SM if we have ICE.
30771 # These have to be linked with before -lX11, unlike the other
30772 # libraries we check for below, so use a different variable.
30773 # John Interrante, Karl Berry
30774 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30775 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30776 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 else
30779 ac_check_lib_save_LIBS=$LIBS
30780 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30781 cat >conftest.$ac_ext <<_ACEOF
30782 /* confdefs.h. */
30783 _ACEOF
30784 cat confdefs.h >>conftest.$ac_ext
30785 cat >>conftest.$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30787
30788 /* Override any GCC internal prototype to avoid an error.
30789 Use char because int might match the return type of a GCC
30790 builtin and then its argument prototype would still apply. */
30791 #ifdef __cplusplus
30792 extern "C"
30793 #endif
30794 char IceConnectionNumber ();
30795 int
30796 main ()
30797 {
30798 return IceConnectionNumber ();
30799 ;
30800 return 0;
30801 }
30802 _ACEOF
30803 rm -f conftest.$ac_objext conftest$ac_exeext
30804 if { (ac_try="$ac_link"
30805 case "(($ac_try" in
30806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30807 *) ac_try_echo=$ac_try;;
30808 esac
30809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30810 (eval "$ac_link") 2>conftest.er1
30811 ac_status=$?
30812 grep -v '^ *+' conftest.er1 >conftest.err
30813 rm -f conftest.er1
30814 cat conftest.err >&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } && {
30817 test -z "$ac_c_werror_flag" ||
30818 test ! -s conftest.err
30819 } && test -s conftest$ac_exeext &&
30820 $as_test_x conftest$ac_exeext; then
30821 ac_cv_lib_ICE_IceConnectionNumber=yes
30822 else
30823 echo "$as_me: failed program was:" >&5
30824 sed 's/^/| /' conftest.$ac_ext >&5
30825
30826 ac_cv_lib_ICE_IceConnectionNumber=no
30827 fi
30828
30829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30830 conftest$ac_exeext conftest.$ac_ext
30831 LIBS=$ac_check_lib_save_LIBS
30832 fi
30833 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30834 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30835 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30836 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30837 fi
30838
30839 LDFLAGS=$ac_save_LDFLAGS
30840
30841 fi
30842
30843
30844 if test "$no_x" = "yes"; then
30845 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30846 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30847 { (exit 1); exit 1; }; }
30848 fi
30849
30850 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30851 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30852 AFMINSTALL=afminstall
30853 COMPILED_X_PROGRAM=0
30854
30855 fi
30856
30857 if test "$wxUSE_X11" = 1; then
30858 if test "$wxUSE_NANOX" = "yes"; then
30859 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30860 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30861 if test "x$MICROWIN" = x ; then
30862 { echo "$as_me:$LINENO: result: not found" >&5
30863 echo "${ECHO_T}not found" >&6; }
30864 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30865 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30866 { (exit 1); exit 1; }; }
30867 else
30868 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30869 echo "${ECHO_T}$MICROWIN" >&6; }
30870 cat >>confdefs.h <<\_ACEOF
30871 #define wxUSE_NANOX 1
30872 _ACEOF
30873
30874 fi
30875 fi
30876
30877 if test "$wxUSE_UNICODE" = "yes"; then
30878
30879
30880 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30881 if test -n "$ac_tool_prefix"; then
30882 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30883 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30886 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30887 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 else
30889 case $PKG_CONFIG in
30890 [\\/]* | ?:[\\/]*)
30891 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30892 ;;
30893 *)
30894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30895 for as_dir in $PATH
30896 do
30897 IFS=$as_save_IFS
30898 test -z "$as_dir" && as_dir=.
30899 for ac_exec_ext in '' $ac_executable_extensions; do
30900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30901 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30903 break 2
30904 fi
30905 done
30906 done
30907 IFS=$as_save_IFS
30908
30909 ;;
30910 esac
30911 fi
30912 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30913 if test -n "$PKG_CONFIG"; then
30914 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30915 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30916 else
30917 { echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6; }
30919 fi
30920
30921
30922 fi
30923 if test -z "$ac_cv_path_PKG_CONFIG"; then
30924 ac_pt_PKG_CONFIG=$PKG_CONFIG
30925 # Extract the first word of "pkg-config", so it can be a program name with args.
30926 set dummy pkg-config; ac_word=$2
30927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30929 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 else
30932 case $ac_pt_PKG_CONFIG in
30933 [\\/]* | ?:[\\/]*)
30934 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30935 ;;
30936 *)
30937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30938 for as_dir in $PATH
30939 do
30940 IFS=$as_save_IFS
30941 test -z "$as_dir" && as_dir=.
30942 for ac_exec_ext in '' $ac_executable_extensions; do
30943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30944 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30946 break 2
30947 fi
30948 done
30949 done
30950 IFS=$as_save_IFS
30951
30952 ;;
30953 esac
30954 fi
30955 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30956 if test -n "$ac_pt_PKG_CONFIG"; then
30957 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30958 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30959 else
30960 { echo "$as_me:$LINENO: result: no" >&5
30961 echo "${ECHO_T}no" >&6; }
30962 fi
30963
30964 if test "x$ac_pt_PKG_CONFIG" = x; then
30965 PKG_CONFIG=""
30966 else
30967 case $cross_compiling:$ac_tool_warned in
30968 yes:)
30969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30970 whose name does not start with the host triplet. If you think this
30971 configuration is useful to you, please write to autoconf@gnu.org." >&5
30972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30973 whose name does not start with the host triplet. If you think this
30974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30975 ac_tool_warned=yes ;;
30976 esac
30977 PKG_CONFIG=$ac_pt_PKG_CONFIG
30978 fi
30979 else
30980 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30981 fi
30982
30983 fi
30984 if test -n "$PKG_CONFIG"; then
30985 _pkg_min_version=0.9.0
30986 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30987 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30988 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30989 { echo "$as_me:$LINENO: result: yes" >&5
30990 echo "${ECHO_T}yes" >&6; }
30991 else
30992 { echo "$as_me:$LINENO: result: no" >&5
30993 echo "${ECHO_T}no" >&6; }
30994 PKG_CONFIG=""
30995 fi
30996
30997 fi
30998
30999
31000 pkg_failed=no
31001 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31002 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31003
31004 if test -n "$PKG_CONFIG"; then
31005 if test -n "$PANGOX_CFLAGS"; then
31006 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31007 else
31008 if test -n "$PKG_CONFIG" && \
31009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31010 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; then
31014 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31015 else
31016 pkg_failed=yes
31017 fi
31018 fi
31019 else
31020 pkg_failed=untried
31021 fi
31022 if test -n "$PKG_CONFIG"; then
31023 if test -n "$PANGOX_LIBS"; then
31024 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31025 else
31026 if test -n "$PKG_CONFIG" && \
31027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31028 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31029 ac_status=$?
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; then
31032 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31033 else
31034 pkg_failed=yes
31035 fi
31036 fi
31037 else
31038 pkg_failed=untried
31039 fi
31040
31041
31042
31043 if test $pkg_failed = yes; then
31044
31045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31046 _pkg_short_errors_supported=yes
31047 else
31048 _pkg_short_errors_supported=no
31049 fi
31050 if test $_pkg_short_errors_supported = yes; then
31051 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31052 else
31053 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31054 fi
31055 # Put the nasty error message in config.log where it belongs
31056 echo "$PANGOX_PKG_ERRORS" >&5
31057
31058
31059 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31060 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31061 { (exit 1); exit 1; }; }
31062
31063
31064 elif test $pkg_failed = untried; then
31065
31066 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31067 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31068 { (exit 1); exit 1; }; }
31069
31070
31071 else
31072 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31073 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31074 { echo "$as_me:$LINENO: result: yes" >&5
31075 echo "${ECHO_T}yes" >&6; }
31076
31077 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31078 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31079 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31080
31081 fi
31082
31083 pkg_failed=no
31084 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31085 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31086
31087 if test -n "$PKG_CONFIG"; then
31088 if test -n "$PANGOFT2_CFLAGS"; then
31089 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31090 else
31091 if test -n "$PKG_CONFIG" && \
31092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31093 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31094 ac_status=$?
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; then
31097 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31098 else
31099 pkg_failed=yes
31100 fi
31101 fi
31102 else
31103 pkg_failed=untried
31104 fi
31105 if test -n "$PKG_CONFIG"; then
31106 if test -n "$PANGOFT2_LIBS"; then
31107 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31108 else
31109 if test -n "$PKG_CONFIG" && \
31110 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31111 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31112 ac_status=$?
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; then
31115 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31116 else
31117 pkg_failed=yes
31118 fi
31119 fi
31120 else
31121 pkg_failed=untried
31122 fi
31123
31124
31125
31126 if test $pkg_failed = yes; then
31127
31128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31129 _pkg_short_errors_supported=yes
31130 else
31131 _pkg_short_errors_supported=no
31132 fi
31133 if test $_pkg_short_errors_supported = yes; then
31134 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31135 else
31136 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31137 fi
31138 # Put the nasty error message in config.log where it belongs
31139 echo "$PANGOFT2_PKG_ERRORS" >&5
31140
31141
31142 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31143 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31144 wxUSE_PRINTING_ARCHITECTURE="no"
31145
31146
31147 elif test $pkg_failed = untried; then
31148
31149 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31150 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31151 wxUSE_PRINTING_ARCHITECTURE="no"
31152
31153
31154 else
31155 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31156 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31157 { echo "$as_me:$LINENO: result: yes" >&5
31158 echo "${ECHO_T}yes" >&6; }
31159
31160 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31161 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31162 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31163
31164 fi
31165
31166 pkg_failed=no
31167 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31168 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31169
31170 if test -n "$PKG_CONFIG"; then
31171 if test -n "$PANGOXFT_CFLAGS"; then
31172 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31173 else
31174 if test -n "$PKG_CONFIG" && \
31175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31176 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; then
31180 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31181 else
31182 pkg_failed=yes
31183 fi
31184 fi
31185 else
31186 pkg_failed=untried
31187 fi
31188 if test -n "$PKG_CONFIG"; then
31189 if test -n "$PANGOXFT_LIBS"; then
31190 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31191 else
31192 if test -n "$PKG_CONFIG" && \
31193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31194 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31195 ac_status=$?
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; then
31198 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31199 else
31200 pkg_failed=yes
31201 fi
31202 fi
31203 else
31204 pkg_failed=untried
31205 fi
31206
31207
31208
31209 if test $pkg_failed = yes; then
31210
31211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31212 _pkg_short_errors_supported=yes
31213 else
31214 _pkg_short_errors_supported=no
31215 fi
31216 if test $_pkg_short_errors_supported = yes; then
31217 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31218 else
31219 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31220 fi
31221 # Put the nasty error message in config.log where it belongs
31222 echo "$PANGOXFT_PKG_ERRORS" >&5
31223
31224
31225 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31226 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31227
31228
31229 elif test $pkg_failed = untried; then
31230
31231 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31232 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31233
31234
31235 else
31236 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31237 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31238 { echo "$as_me:$LINENO: result: yes" >&5
31239 echo "${ECHO_T}yes" >&6; }
31240
31241 cat >>confdefs.h <<\_ACEOF
31242 #define HAVE_PANGO_XFT 1
31243 _ACEOF
31244
31245 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31246 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31247 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31248
31249 fi
31250 save_LIBS="$LIBS"
31251 LIBS="$LIBS $PANGOX_LIBS"
31252
31253 for ac_func in pango_font_family_is_monospace
31254 do
31255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31256 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31259 echo $ECHO_N "(cached) $ECHO_C" >&6
31260 else
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31269 #define $ac_func innocuous_$ac_func
31270
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31275
31276 #ifdef __STDC__
31277 # include <limits.h>
31278 #else
31279 # include <assert.h>
31280 #endif
31281
31282 #undef $ac_func
31283
31284 /* Override any GCC internal prototype to avoid an error.
31285 Use char because int might match the return type of a GCC
31286 builtin and then its argument prototype would still apply. */
31287 #ifdef __cplusplus
31288 extern "C"
31289 #endif
31290 char $ac_func ();
31291 /* The GNU C library defines this for functions which it implements
31292 to always fail with ENOSYS. Some functions are actually named
31293 something starting with __ and the normal name is an alias. */
31294 #if defined __stub_$ac_func || defined __stub___$ac_func
31295 choke me
31296 #endif
31297
31298 int
31299 main ()
31300 {
31301 return $ac_func ();
31302 ;
31303 return 0;
31304 }
31305 _ACEOF
31306 rm -f conftest.$ac_objext conftest$ac_exeext
31307 if { (ac_try="$ac_link"
31308 case "(($ac_try" in
31309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31310 *) ac_try_echo=$ac_try;;
31311 esac
31312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31313 (eval "$ac_link") 2>conftest.er1
31314 ac_status=$?
31315 grep -v '^ *+' conftest.er1 >conftest.err
31316 rm -f conftest.er1
31317 cat conftest.err >&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } && {
31320 test -z "$ac_c_werror_flag" ||
31321 test ! -s conftest.err
31322 } && test -s conftest$ac_exeext &&
31323 $as_test_x conftest$ac_exeext; then
31324 eval "$as_ac_var=yes"
31325 else
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31328
31329 eval "$as_ac_var=no"
31330 fi
31331
31332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31333 conftest$ac_exeext conftest.$ac_ext
31334 fi
31335 ac_res=`eval echo '${'$as_ac_var'}'`
31336 { echo "$as_me:$LINENO: result: $ac_res" >&5
31337 echo "${ECHO_T}$ac_res" >&6; }
31338 if test `eval echo '${'$as_ac_var'}'` = yes; then
31339 cat >>confdefs.h <<_ACEOF
31340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31341 _ACEOF
31342
31343 fi
31344 done
31345
31346 LIBS="$save_LIBS"
31347 fi
31348
31349 wxUSE_UNIVERSAL="yes"
31350
31351 if test "$wxUSE_NANOX" = "yes"; then
31352 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31353 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"
31354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31355 else
31356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31357 fi
31358
31359 TOOLKIT=X11
31360 GUIDIST=X11_DIST
31361 fi
31362
31363 if test "$wxUSE_MOTIF" = 1; then
31364 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31365 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31366
31367 ac_find_includes=
31368 for ac_dir in $SEARCH_INCLUDE /usr/include;
31369 do
31370 if test -f "$ac_dir/Xm/Xm.h"; then
31371 ac_find_includes=$ac_dir
31372 break
31373 fi
31374 done
31375
31376 if test "$ac_find_includes" != "" ; then
31377 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31378 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31379
31380 if test "x$ac_find_includes" = "x/usr/include"; then
31381 ac_path_to_include=""
31382 else
31383 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31384 result=$?
31385 if test $result = 0; then
31386 ac_path_to_include=""
31387 else
31388 ac_path_to_include=" -I$ac_find_includes"
31389 fi
31390 fi
31391
31392 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31393 else
31394 save_CFLAGS=$CFLAGS
31395 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31396
31397 cat >conftest.$ac_ext <<_ACEOF
31398 /* confdefs.h. */
31399 _ACEOF
31400 cat confdefs.h >>conftest.$ac_ext
31401 cat >>conftest.$ac_ext <<_ACEOF
31402 /* end confdefs.h. */
31403
31404 #include <Xm/Xm.h>
31405
31406 int
31407 main ()
31408 {
31409
31410 int version;
31411 version = xmUseVersion;
31412
31413 ;
31414 return 0;
31415 }
31416 _ACEOF
31417 rm -f conftest.$ac_objext
31418 if { (ac_try="$ac_compile"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31422 esac
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_compile") 2>conftest.er1
31425 ac_status=$?
31426 grep -v '^ *+' conftest.er1 >conftest.err
31427 rm -f conftest.er1
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest.$ac_objext; then
31434
31435 { echo "$as_me:$LINENO: result: found in default search path" >&5
31436 echo "${ECHO_T}found in default search path" >&6; }
31437 COMPILED_X_PROGRAM=1
31438
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31442
31443
31444 { echo "$as_me:$LINENO: result: no" >&5
31445 echo "${ECHO_T}no" >&6; }
31446 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31447 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31448 { (exit 1); exit 1; }; }
31449
31450
31451 fi
31452
31453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454
31455 CFLAGS=$save_CFLAGS
31456 fi
31457
31458
31459 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31460 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31461
31462 ac_find_libraries=
31463 for ac_dir in $SEARCH_LIB;
31464 do
31465 for ac_extension in a so sl dylib dll.a; do
31466 if test -f "$ac_dir/libXm.$ac_extension"; then
31467 ac_find_libraries=$ac_dir
31468 break 2
31469 fi
31470 done
31471 done
31472
31473
31474 if test "x$ac_find_libraries" != "x" ; then
31475 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31476 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31477
31478
31479 if test "$ac_find_libraries" = "default location"; then
31480 ac_path_to_link=""
31481 else
31482 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31483 result=$?
31484 if test $result = 0; then
31485 ac_path_to_link=""
31486 else
31487 ac_path_to_link=" -L$ac_find_libraries"
31488 fi
31489 fi
31490
31491 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31492 else
31493 save_CFLAGS=$CFLAGS
31494 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31495 save_LIBS="$LIBS"
31496 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31497
31498 cat >conftest.$ac_ext <<_ACEOF
31499 /* confdefs.h. */
31500 _ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31504
31505 #include <Xm/Xm.h>
31506
31507 int
31508 main ()
31509 {
31510
31511 int version;
31512 version = xmUseVersion;
31513
31514 ;
31515 return 0;
31516 }
31517 _ACEOF
31518 rm -f conftest.$ac_objext conftest$ac_exeext
31519 if { (ac_try="$ac_link"
31520 case "(($ac_try" in
31521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31522 *) ac_try_echo=$ac_try;;
31523 esac
31524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31525 (eval "$ac_link") 2>conftest.er1
31526 ac_status=$?
31527 grep -v '^ *+' conftest.er1 >conftest.err
31528 rm -f conftest.er1
31529 cat conftest.err >&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); } && {
31532 test -z "$ac_c_werror_flag" ||
31533 test ! -s conftest.err
31534 } && test -s conftest$ac_exeext &&
31535 $as_test_x conftest$ac_exeext; then
31536
31537 { echo "$as_me:$LINENO: result: found in default search path" >&5
31538 echo "${ECHO_T}found in default search path" >&6; }
31539 COMPILED_X_PROGRAM=1
31540
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545
31546 { echo "$as_me:$LINENO: result: no" >&5
31547 echo "${ECHO_T}no" >&6; }
31548 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31549 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31550 { (exit 1); exit 1; }; }
31551
31552
31553 fi
31554
31555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31556 conftest$ac_exeext conftest.$ac_ext
31557
31558 CFLAGS=$save_CFLAGS
31559 LIBS="$save_LIBS"
31560 fi
31561
31562 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31563 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31564 libp_link=""
31565 libsm_ice_link=""
31566 libs_found=0
31567 for libp in "" " -lXp"; do
31568 if test "$libs_found" = 0; then
31569 for libsm_ice in "" " -lSM -lICE"; do
31570 if test "$libs_found" = 0; then
31571 save_LIBS="$LIBS"
31572 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31573 save_CFLAGS=$CFLAGS
31574 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31575
31576 cat >conftest.$ac_ext <<_ACEOF
31577 /* confdefs.h. */
31578 _ACEOF
31579 cat confdefs.h >>conftest.$ac_ext
31580 cat >>conftest.$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31582
31583 #include <Xm/Xm.h>
31584 #include <Xm/List.h>
31585
31586 int
31587 main ()
31588 {
31589
31590 XmString string = NULL;
31591 Widget w = NULL;
31592 int position = 0;
31593 XmListAddItem(w, string, position);
31594
31595 ;
31596 return 0;
31597 }
31598 _ACEOF
31599 rm -f conftest.$ac_objext conftest$ac_exeext
31600 if { (ac_try="$ac_link"
31601 case "(($ac_try" in
31602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31603 *) ac_try_echo=$ac_try;;
31604 esac
31605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31606 (eval "$ac_link") 2>conftest.er1
31607 ac_status=$?
31608 grep -v '^ *+' conftest.er1 >conftest.err
31609 rm -f conftest.er1
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } && {
31613 test -z "$ac_c_werror_flag" ||
31614 test ! -s conftest.err
31615 } && test -s conftest$ac_exeext &&
31616 $as_test_x conftest$ac_exeext; then
31617
31618 libp_link="$libp"
31619 libsm_ice_link="$libsm_ice"
31620 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31621 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31622 libs_found=1
31623
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628
31629
31630 fi
31631
31632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31633 conftest$ac_exeext conftest.$ac_ext
31634
31635 LIBS="$save_LIBS"
31636 CFLAGS=$save_CFLAGS
31637 fi
31638 done
31639 fi
31640 done
31641
31642 if test "$libs_found" = 0; then
31643 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31644 echo "${ECHO_T}can't find the right libraries" >&6; }
31645 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31646 echo "$as_me: error: can't link a simple motif program" >&2;}
31647 { (exit 1); exit 1; }; }
31648 fi
31649
31650 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31651 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31652 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31654 else
31655 ac_check_lib_save_LIBS=$LIBS
31656 LIBS="-lSgm $LIBS"
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663
31664 /* Override any GCC internal prototype to avoid an error.
31665 Use char because int might match the return type of a GCC
31666 builtin and then its argument prototype would still apply. */
31667 #ifdef __cplusplus
31668 extern "C"
31669 #endif
31670 char SgCreateList ();
31671 int
31672 main ()
31673 {
31674 return SgCreateList ();
31675 ;
31676 return 0;
31677 }
31678 _ACEOF
31679 rm -f conftest.$ac_objext conftest$ac_exeext
31680 if { (ac_try="$ac_link"
31681 case "(($ac_try" in
31682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31683 *) ac_try_echo=$ac_try;;
31684 esac
31685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31686 (eval "$ac_link") 2>conftest.er1
31687 ac_status=$?
31688 grep -v '^ *+' conftest.er1 >conftest.err
31689 rm -f conftest.er1
31690 cat conftest.err >&5
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } && {
31693 test -z "$ac_c_werror_flag" ||
31694 test ! -s conftest.err
31695 } && test -s conftest$ac_exeext &&
31696 $as_test_x conftest$ac_exeext; then
31697 ac_cv_lib_Sgm_SgCreateList=yes
31698 else
31699 echo "$as_me: failed program was:" >&5
31700 sed 's/^/| /' conftest.$ac_ext >&5
31701
31702 ac_cv_lib_Sgm_SgCreateList=no
31703 fi
31704
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707 LIBS=$ac_check_lib_save_LIBS
31708 fi
31709 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31710 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31711 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31712 libsgm_link=" -lSgm"
31713 fi
31714
31715
31716 save_CFLAGS=$CFLAGS
31717 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31718
31719 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31720 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31721 if test "${wx_cv_lib_motif2+set}" = set; then
31722 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 else
31724 cat >conftest.$ac_ext <<_ACEOF
31725 /* confdefs.h. */
31726 _ACEOF
31727 cat confdefs.h >>conftest.$ac_ext
31728 cat >>conftest.$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31730
31731 #include <Xm/Xm.h>
31732
31733 int
31734 main ()
31735 {
31736
31737 #if XmVersion < 2000
31738 Not Motif 2
31739 #endif
31740
31741 ;
31742 return 0;
31743 }
31744 _ACEOF
31745 rm -f conftest.$ac_objext
31746 if { (ac_try="$ac_compile"
31747 case "(($ac_try" in
31748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31749 *) ac_try_echo=$ac_try;;
31750 esac
31751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31752 (eval "$ac_compile") 2>conftest.er1
31753 ac_status=$?
31754 grep -v '^ *+' conftest.er1 >conftest.err
31755 rm -f conftest.er1
31756 cat conftest.err >&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } && {
31759 test -z "$ac_c_werror_flag" ||
31760 test ! -s conftest.err
31761 } && test -s conftest.$ac_objext; then
31762 wx_cv_lib_motif2="yes"
31763 else
31764 echo "$as_me: failed program was:" >&5
31765 sed 's/^/| /' conftest.$ac_ext >&5
31766
31767 wx_cv_lib_motif2="no"
31768 fi
31769
31770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31771 fi
31772 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31773 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31774 if test "$wx_cv_lib_motif2" = "yes"; then
31775 cat >>confdefs.h <<\_ACEOF
31776 #define __WXMOTIF20__ 1
31777 _ACEOF
31778
31779 else
31780 cat >>confdefs.h <<\_ACEOF
31781 #define __WXMOTIF20__ 0
31782 _ACEOF
31783
31784 fi
31785
31786 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31787 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31788 if test "${wx_cv_lib_lesstif+set}" = set; then
31789 echo $ECHO_N "(cached) $ECHO_C" >&6
31790 else
31791 cat >conftest.$ac_ext <<_ACEOF
31792 /* confdefs.h. */
31793 _ACEOF
31794 cat confdefs.h >>conftest.$ac_ext
31795 cat >>conftest.$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797
31798 #include <Xm/Xm.h>
31799
31800 int
31801 main ()
31802 {
31803
31804 #if !defined(LesstifVersion) || LesstifVersion <= 0
31805 Not Lesstif
31806 #endif
31807
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 rm -f conftest.$ac_objext
31813 if { (ac_try="$ac_compile"
31814 case "(($ac_try" in
31815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31817 esac
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_compile") 2>conftest.er1
31820 ac_status=$?
31821 grep -v '^ *+' conftest.er1 >conftest.err
31822 rm -f conftest.er1
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest.$ac_objext; then
31829 wx_cv_lib_lesstif="yes"
31830 else
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31833
31834 wx_cv_lib_lesstif="no"
31835 fi
31836
31837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31838
31839 fi
31840 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31841 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31842 if test "$wx_cv_lib_lesstif" = "yes"; then
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXLESSTIF__ 1
31845 _ACEOF
31846
31847 else
31848 cat >>confdefs.h <<\_ACEOF
31849 #define __WXLESSTIF__ 0
31850 _ACEOF
31851
31852 fi
31853
31854 CFLAGS=$save_CFLAGS
31855
31856 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31857 TOOLKIT=MOTIF
31858 GUIDIST=MOTIF_DIST
31859 fi
31860
31861 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31862 if test "$wxUSE_LIBXPM" = "sys"; then
31863 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31864 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31865
31866 ac_find_libraries=
31867 for ac_dir in $SEARCH_LIB;
31868 do
31869 for ac_extension in a so sl dylib dll.a; do
31870 if test -f "$ac_dir/libXpm.$ac_extension"; then
31871 ac_find_libraries=$ac_dir
31872 break 2
31873 fi
31874 done
31875 done
31876
31877 if test "$ac_find_libraries" != "" ; then
31878
31879 if test "$ac_find_libraries" = "default location"; then
31880 ac_path_to_link=""
31881 else
31882 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31883 result=$?
31884 if test $result = 0; then
31885 ac_path_to_link=""
31886 else
31887 ac_path_to_link=" -L$ac_find_libraries"
31888 fi
31889 fi
31890
31891 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31892 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31893 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31894
31895 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31896 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31897 if test "${wx_cv_x11_xpm_h+set}" = set; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31899 else
31900
31901 save_CFLAGS=$CFLAGS
31902 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31903
31904 cat >conftest.$ac_ext <<_ACEOF
31905 /* confdefs.h. */
31906 _ACEOF
31907 cat confdefs.h >>conftest.$ac_ext
31908 cat >>conftest.$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31910
31911 #include <X11/xpm.h>
31912
31913 int
31914 main ()
31915 {
31916
31917 int version;
31918 version = XpmLibraryVersion();
31919
31920 ;
31921 return 0;
31922 }
31923 _ACEOF
31924 rm -f conftest.$ac_objext
31925 if { (ac_try="$ac_compile"
31926 case "(($ac_try" in
31927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31928 *) ac_try_echo=$ac_try;;
31929 esac
31930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31931 (eval "$ac_compile") 2>conftest.er1
31932 ac_status=$?
31933 grep -v '^ *+' conftest.er1 >conftest.err
31934 rm -f conftest.er1
31935 cat conftest.err >&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } && {
31938 test -z "$ac_c_werror_flag" ||
31939 test ! -s conftest.err
31940 } && test -s conftest.$ac_objext; then
31941 wx_cv_x11_xpm_h=yes
31942 else
31943 echo "$as_me: failed program was:" >&5
31944 sed 's/^/| /' conftest.$ac_ext >&5
31945
31946 wx_cv_x11_xpm_h=no
31947
31948 fi
31949
31950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31951
31952 CFLAGS=$save_CFLAGS
31953
31954
31955 fi
31956 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31957 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31958
31959 if test $wx_cv_x11_xpm_h = "yes"; then
31960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31961 cat >>confdefs.h <<\_ACEOF
31962 #define wxHAVE_LIB_XPM 1
31963 _ACEOF
31964
31965 else
31966 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31967 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31968 fi
31969 fi
31970
31971 fi
31972
31973 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31974 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31975 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31976 echo $ECHO_N "(cached) $ECHO_C" >&6
31977 else
31978 ac_check_lib_save_LIBS=$LIBS
31979 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31980 cat >conftest.$ac_ext <<_ACEOF
31981 /* confdefs.h. */
31982 _ACEOF
31983 cat confdefs.h >>conftest.$ac_ext
31984 cat >>conftest.$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986
31987 /* Override any GCC internal prototype to avoid an error.
31988 Use char because int might match the return type of a GCC
31989 builtin and then its argument prototype would still apply. */
31990 #ifdef __cplusplus
31991 extern "C"
31992 #endif
31993 char XShapeQueryExtension ();
31994 int
31995 main ()
31996 {
31997 return XShapeQueryExtension ();
31998 ;
31999 return 0;
32000 }
32001 _ACEOF
32002 rm -f conftest.$ac_objext conftest$ac_exeext
32003 if { (ac_try="$ac_link"
32004 case "(($ac_try" in
32005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32006 *) ac_try_echo=$ac_try;;
32007 esac
32008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32009 (eval "$ac_link") 2>conftest.er1
32010 ac_status=$?
32011 grep -v '^ *+' conftest.er1 >conftest.err
32012 rm -f conftest.er1
32013 cat conftest.err >&5
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); } && {
32016 test -z "$ac_c_werror_flag" ||
32017 test ! -s conftest.err
32018 } && test -s conftest$ac_exeext &&
32019 $as_test_x conftest$ac_exeext; then
32020 ac_cv_lib_Xext_XShapeQueryExtension=yes
32021 else
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.$ac_ext >&5
32024
32025 ac_cv_lib_Xext_XShapeQueryExtension=no
32026 fi
32027
32028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32029 conftest$ac_exeext conftest.$ac_ext
32030 LIBS=$ac_check_lib_save_LIBS
32031 fi
32032 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32033 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32034 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32035
32036 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32037 wxHAVE_XEXT_LIB=1
32038
32039 fi
32040
32041
32042 if test "$wxHAVE_XEXT_LIB" = 1; then
32043 save_CFLAGS="$CFLAGS"
32044 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32045
32046 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32047 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32048 cat >conftest.$ac_ext <<_ACEOF
32049 /* confdefs.h. */
32050 _ACEOF
32051 cat confdefs.h >>conftest.$ac_ext
32052 cat >>conftest.$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32054
32055 #include <X11/Xlib.h>
32056 #include <X11/extensions/shape.h>
32057
32058 int
32059 main ()
32060 {
32061
32062 int dummy1, dummy2;
32063 XShapeQueryExtension((Display*)NULL,
32064 (int*)NULL, (int*)NULL);
32065
32066 ;
32067 return 0;
32068 }
32069 _ACEOF
32070 rm -f conftest.$ac_objext
32071 if { (ac_try="$ac_compile"
32072 case "(($ac_try" in
32073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32074 *) ac_try_echo=$ac_try;;
32075 esac
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_compile") 2>conftest.er1
32078 ac_status=$?
32079 grep -v '^ *+' conftest.er1 >conftest.err
32080 rm -f conftest.er1
32081 cat conftest.err >&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest.$ac_objext; then
32087
32088 cat >>confdefs.h <<\_ACEOF
32089 #define HAVE_XSHAPE 1
32090 _ACEOF
32091
32092 { echo "$as_me:$LINENO: result: found" >&5
32093 echo "${ECHO_T}found" >&6; }
32094
32095 else
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099
32100 { echo "$as_me:$LINENO: result: not found" >&5
32101 echo "${ECHO_T}not found" >&6; }
32102
32103 fi
32104
32105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32106 CFLAGS="$save_CFLAGS"
32107
32108 fi
32109 fi
32110
32111 if test "$wxUSE_MAC" = 1; then
32112 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32113 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32114 if test "$GCC" = yes; then
32115 { echo "$as_me:$LINENO: result: gcc" >&5
32116 echo "${ECHO_T}gcc" >&6; }
32117 CPPFLAGS_PASCAL="-fpascal-strings"
32118 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32119 { echo "$as_me:$LINENO: result: xlc" >&5
32120 echo "${ECHO_T}xlc" >&6; }
32121 CPPFLAGS_PASCAL="-qmacpstr"
32122 else
32123 { echo "$as_me:$LINENO: result: none" >&5
32124 echo "${ECHO_T}none" >&6; }
32125 fi
32126
32127 if test "x$wxUSE_UNIX" = "xyes"; then
32128 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32129 else
32130 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32131 fi
32132
32133 TOOLKIT=MAC
32134 GUIDIST=MACX_DIST
32135 WXBASEPORT="_carbon"
32136 fi
32137
32138 if test "$wxUSE_COCOA" = 1; then
32139 TOOLKIT=COCOA
32140 GUIDIST=COCOA_DIST
32141 fi
32142
32143 if test "$wxUSE_PM" = 1; then
32144 TOOLKIT=PM
32145 GUIDIST=PM_DIST
32146 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32147 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32148 if test "${wx_cv_spbcdata+set}" = set; then
32149 echo $ECHO_N "(cached) $ECHO_C" >&6
32150 else
32151
32152 cat >conftest.$ac_ext <<_ACEOF
32153 /* confdefs.h. */
32154 _ACEOF
32155 cat confdefs.h >>conftest.$ac_ext
32156 cat >>conftest.$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32158
32159 #define INCL_PM
32160 #include <os2.h>
32161
32162 int
32163 main ()
32164 {
32165
32166 SPBCDATA test;
32167
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 rm -f conftest.$ac_objext
32173 if { (ac_try="$ac_compile"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32177 esac
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_compile") 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest.$ac_objext; then
32189 wx_cv_spbcdata=yes
32190 else
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.$ac_ext >&5
32193
32194 wx_cv_spbcdata=no
32195
32196 fi
32197
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32199
32200
32201 fi
32202 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32203 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32204
32205 if test $wx_cv_spbcdata = "yes"; then
32206 cat >>confdefs.h <<\_ACEOF
32207 #define HAVE_SPBCDATA 1
32208 _ACEOF
32209
32210 fi
32211 fi
32212
32213 if test "$TOOLKIT" = "PM" ; then
32214 TOOLKIT_DIR="os2"
32215 else
32216 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32217 fi
32218
32219 if test "$wxUSE_UNIVERSAL" = "yes"; then
32220 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32221 WIDGET_SET=univ
32222 fi
32223
32224 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32225 DISTDIR="wx\$(TOOLKIT)"
32226 else
32227 USE_GUI=0
32228
32229 TOOLKIT_DIR="base"
32230
32231 if test "$USE_WIN32" = 1 ; then
32232 TOOLKIT="MSW"
32233 fi
32234
32235 GUIDIST="BASE_DIST"
32236 DISTDIR="wxBase"
32237 fi
32238
32239
32240
32241 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32242 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32243 wxUSE_UNICODE_UTF8=yes
32244 elif test "$USE_OS2" = 1 ; then
32245 wxUSE_UNICODE_UTF8=yes
32246 else
32247 wxUSE_UNICODE_UTF8=no
32248 fi
32249 fi
32250
32251
32252 if test "$wxUSE_GUI" = "yes"; then
32253 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32254
32255 for ac_header in X11/Xlib.h
32256 do
32257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 else
32263 cat >conftest.$ac_ext <<_ACEOF
32264 /* confdefs.h. */
32265 _ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269
32270
32271 #include <$ac_header>
32272 _ACEOF
32273 rm -f conftest.$ac_objext
32274 if { (ac_try="$ac_compile"
32275 case "(($ac_try" in
32276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32277 *) ac_try_echo=$ac_try;;
32278 esac
32279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32280 (eval "$ac_compile") 2>conftest.er1
32281 ac_status=$?
32282 grep -v '^ *+' conftest.er1 >conftest.err
32283 rm -f conftest.er1
32284 cat conftest.err >&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } && {
32287 test -z "$ac_c_werror_flag" ||
32288 test ! -s conftest.err
32289 } && test -s conftest.$ac_objext; then
32290 eval "$as_ac_Header=yes"
32291 else
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32294
32295 eval "$as_ac_Header=no"
32296 fi
32297
32298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32299 fi
32300 ac_res=`eval echo '${'$as_ac_Header'}'`
32301 { echo "$as_me:$LINENO: result: $ac_res" >&5
32302 echo "${ECHO_T}$ac_res" >&6; }
32303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32304 cat >>confdefs.h <<_ACEOF
32305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32306 _ACEOF
32307
32308 fi
32309
32310 done
32311
32312
32313 for ac_header in X11/XKBlib.h
32314 do
32315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 else
32321 cat >conftest.$ac_ext <<_ACEOF
32322 /* confdefs.h. */
32323 _ACEOF
32324 cat confdefs.h >>conftest.$ac_ext
32325 cat >>conftest.$ac_ext <<_ACEOF
32326 /* end confdefs.h. */
32327
32328 #if HAVE_X11_XLIB_H
32329 #include <X11/Xlib.h>
32330 #endif
32331
32332
32333 #include <$ac_header>
32334 _ACEOF
32335 rm -f conftest.$ac_objext
32336 if { (ac_try="$ac_compile"
32337 case "(($ac_try" in
32338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32339 *) ac_try_echo=$ac_try;;
32340 esac
32341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32342 (eval "$ac_compile") 2>conftest.er1
32343 ac_status=$?
32344 grep -v '^ *+' conftest.er1 >conftest.err
32345 rm -f conftest.er1
32346 cat conftest.err >&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } && {
32349 test -z "$ac_c_werror_flag" ||
32350 test ! -s conftest.err
32351 } && test -s conftest.$ac_objext; then
32352 eval "$as_ac_Header=yes"
32353 else
32354 echo "$as_me: failed program was:" >&5
32355 sed 's/^/| /' conftest.$ac_ext >&5
32356
32357 eval "$as_ac_Header=no"
32358 fi
32359
32360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32361 fi
32362 ac_res=`eval echo '${'$as_ac_Header'}'`
32363 { echo "$as_me:$LINENO: result: $ac_res" >&5
32364 echo "${ECHO_T}$ac_res" >&6; }
32365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32366 cat >>confdefs.h <<_ACEOF
32367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32368 _ACEOF
32369
32370 fi
32371
32372 done
32373
32374 fi
32375 fi
32376
32377
32378
32379 if test "$wxUSE_DISPLAY" = "yes"; then
32380 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32381 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32382 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32383
32384 ac_find_libraries=
32385 for ac_dir in $SEARCH_LIB;
32386 do
32387 for ac_extension in a so sl dylib dll.a; do
32388 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32389 ac_find_libraries=$ac_dir
32390 break 2
32391 fi
32392 done
32393 done
32394
32395 if test "$ac_find_libraries" != "" ; then
32396
32397 if test "$ac_find_libraries" = "default location"; then
32398 ac_path_to_link=""
32399 else
32400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32401 result=$?
32402 if test $result = 0; then
32403 ac_path_to_link=""
32404 else
32405 ac_path_to_link=" -L$ac_find_libraries"
32406 fi
32407 fi
32408
32409 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32410 LDFLAGS="$LDFLAGS $ac_path_to_link"
32411 fi
32412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32413 { echo "$as_me:$LINENO: result: yes" >&5
32414 echo "${ECHO_T}yes" >&6; }
32415
32416 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32417 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32418
32419 ac_find_libraries=
32420 for ac_dir in $SEARCH_LIB;
32421 do
32422 for ac_extension in a so sl dylib dll.a; do
32423 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32424 ac_find_libraries=$ac_dir
32425 break 2
32426 fi
32427 done
32428 done
32429
32430 if test "$ac_find_libraries" != "" ; then
32431 { echo "$as_me:$LINENO: result: yes" >&5
32432 echo "${ECHO_T}yes" >&6; }
32433
32434 for ac_header in X11/extensions/xf86vmode.h
32435 do
32436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32441 else
32442 cat >conftest.$ac_ext <<_ACEOF
32443 /* confdefs.h. */
32444 _ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448
32449 #if HAVE_X11_XLIB_H
32450 #include <X11/Xlib.h>
32451 #endif
32452
32453
32454 #include <$ac_header>
32455 _ACEOF
32456 rm -f conftest.$ac_objext
32457 if { (ac_try="$ac_compile"
32458 case "(($ac_try" in
32459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32460 *) ac_try_echo=$ac_try;;
32461 esac
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_compile") 2>conftest.er1
32464 ac_status=$?
32465 grep -v '^ *+' conftest.er1 >conftest.err
32466 rm -f conftest.er1
32467 cat conftest.err >&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } && {
32470 test -z "$ac_c_werror_flag" ||
32471 test ! -s conftest.err
32472 } && test -s conftest.$ac_objext; then
32473 eval "$as_ac_Header=yes"
32474 else
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.$ac_ext >&5
32477
32478 eval "$as_ac_Header=no"
32479 fi
32480
32481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32482 fi
32483 ac_res=`eval echo '${'$as_ac_Header'}'`
32484 { echo "$as_me:$LINENO: result: $ac_res" >&5
32485 echo "${ECHO_T}$ac_res" >&6; }
32486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32487 cat >>confdefs.h <<_ACEOF
32488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32489 _ACEOF
32490
32491 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32492
32493 fi
32494
32495 done
32496
32497 else
32498 { echo "$as_me:$LINENO: result: no" >&5
32499 echo "${ECHO_T}no" >&6; }
32500 fi
32501
32502 else
32503 { echo "$as_me:$LINENO: result: no" >&5
32504 echo "${ECHO_T}no" >&6; }
32505 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32506 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32507 wxUSE_DISPLAY="no"
32508 fi
32509 elif test "$wxUSE_MSW" = 1; then
32510 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32511 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32512 if test "${ac_cv_header_ddraw_h+set}" = set; then
32513 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 else
32515 cat >conftest.$ac_ext <<_ACEOF
32516 /* confdefs.h. */
32517 _ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521 #include <windows.h>
32522
32523 #include <ddraw.h>
32524 _ACEOF
32525 rm -f conftest.$ac_objext
32526 if { (ac_try="$ac_compile"
32527 case "(($ac_try" in
32528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32529 *) ac_try_echo=$ac_try;;
32530 esac
32531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32532 (eval "$ac_compile") 2>conftest.er1
32533 ac_status=$?
32534 grep -v '^ *+' conftest.er1 >conftest.err
32535 rm -f conftest.er1
32536 cat conftest.err >&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } && {
32539 test -z "$ac_c_werror_flag" ||
32540 test ! -s conftest.err
32541 } && test -s conftest.$ac_objext; then
32542 ac_cv_header_ddraw_h=yes
32543 else
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.$ac_ext >&5
32546
32547 ac_cv_header_ddraw_h=no
32548 fi
32549
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32551 fi
32552 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32553 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32554
32555
32556 fi
32557 fi
32558
32559 if test "$wxUSE_DETECT_SM" = "yes"; then
32560 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32561 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32562 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32563
32564 ac_find_libraries=
32565 for ac_dir in $SEARCH_LIB;
32566 do
32567 for ac_extension in a so sl dylib dll.a; do
32568 if test -f "$ac_dir/libSM.$ac_extension"; then
32569 ac_find_libraries=$ac_dir
32570 break 2
32571 fi
32572 done
32573 done
32574
32575 if test "$ac_find_libraries" != "" ; then
32576
32577 if test "$ac_find_libraries" = "default location"; then
32578 ac_path_to_link=""
32579 else
32580 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32581 result=$?
32582 if test $result = 0; then
32583 ac_path_to_link=""
32584 else
32585 ac_path_to_link=" -L$ac_find_libraries"
32586 fi
32587 fi
32588
32589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32590 LDFLAGS="$LDFLAGS $ac_path_to_link"
32591 fi
32592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32593 { echo "$as_me:$LINENO: result: yes" >&5
32594 echo "${ECHO_T}yes" >&6; }
32595 else
32596 { echo "$as_me:$LINENO: result: no" >&5
32597 echo "${ECHO_T}no" >&6; }
32598 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32599 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32600 wxUSE_DETECT_SM="no"
32601 fi
32602 else
32603 wxUSE_DETECT_SM="no"
32604 fi
32605 fi
32606
32607
32608
32609 USE_OPENGL=0
32610 if test "$wxUSE_OPENGL" = "yes"; then
32611 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32612 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32613 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32614 wxUSE_OPENGL="no"
32615 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32616 OPENGL_LIBS="-framework OpenGL -framework AGL"
32617 elif test "$wxUSE_MSW" = 1; then
32618 OPENGL_LIBS="-lopengl32 -lglu32"
32619 else
32620 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32621 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32622
32623 ac_find_includes=
32624 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32625 do
32626 if test -f "$ac_dir/GL/gl.h"; then
32627 ac_find_includes=$ac_dir
32628 break
32629 fi
32630 done
32631
32632 if test "$ac_find_includes" != "" ; then
32633 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32634 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32635
32636 if test "x$ac_find_includes" = "x/usr/include"; then
32637 ac_path_to_include=""
32638 else
32639 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32640 result=$?
32641 if test $result = 0; then
32642 ac_path_to_include=""
32643 else
32644 ac_path_to_include=" -I$ac_find_includes"
32645 fi
32646 fi
32647
32648 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32649 else
32650 { echo "$as_me:$LINENO: result: not found" >&5
32651 echo "${ECHO_T}not found" >&6; }
32652 fi
32653
32654 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32655 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32656 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 else
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665
32666
32667 #include <GL/gl.h>
32668 _ACEOF
32669 rm -f conftest.$ac_objext
32670 if { (ac_try="$ac_compile"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32674 esac
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_compile") 2>conftest.er1
32677 ac_status=$?
32678 grep -v '^ *+' conftest.er1 >conftest.err
32679 rm -f conftest.er1
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest.$ac_objext; then
32686 ac_cv_header_GL_gl_h=yes
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 ac_cv_header_GL_gl_h=no
32692 fi
32693
32694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32695 fi
32696 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32697 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32698 if test $ac_cv_header_GL_gl_h = yes; then
32699
32700 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32701 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32702 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32704 else
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711
32712
32713 #include <GL/glu.h>
32714 _ACEOF
32715 rm -f conftest.$ac_objext
32716 if { (ac_try="$ac_compile"
32717 case "(($ac_try" in
32718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32719 *) ac_try_echo=$ac_try;;
32720 esac
32721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32722 (eval "$ac_compile") 2>conftest.er1
32723 ac_status=$?
32724 grep -v '^ *+' conftest.er1 >conftest.err
32725 rm -f conftest.er1
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } && {
32729 test -z "$ac_c_werror_flag" ||
32730 test ! -s conftest.err
32731 } && test -s conftest.$ac_objext; then
32732 ac_cv_header_GL_glu_h=yes
32733 else
32734 echo "$as_me: failed program was:" >&5
32735 sed 's/^/| /' conftest.$ac_ext >&5
32736
32737 ac_cv_header_GL_glu_h=no
32738 fi
32739
32740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32741 fi
32742 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32743 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32744 if test $ac_cv_header_GL_glu_h = yes; then
32745
32746 found_gl=0
32747
32748 { echo "$as_me:$LINENO: checking for -lGL" >&5
32749 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32750
32751 ac_find_libraries=
32752 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32753 do
32754 for ac_extension in a so sl dylib dll.a; do
32755 if test -f "$ac_dir/libGL.$ac_extension"; then
32756 ac_find_libraries=$ac_dir
32757 break 2
32758 fi
32759 done
32760 done
32761
32762 if test "$ac_find_libraries" != "" ; then
32763 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32764 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32765
32766
32767 if test "$ac_find_libraries" = "default location"; then
32768 ac_path_to_link=""
32769 else
32770 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32771 result=$?
32772 if test $result = 0; then
32773 ac_path_to_link=""
32774 else
32775 ac_path_to_link=" -L$ac_find_libraries"
32776 fi
32777 fi
32778
32779 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32780 LDFLAGS_GL="$ac_path_to_link"
32781 fi
32782
32783 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32784 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32785
32786 ac_find_libraries=
32787 for ac_dir in $SEARCH_LIB;
32788 do
32789 for ac_extension in a so sl dylib dll.a; do
32790 if test -f "$ac_dir/libGLU.$ac_extension"; then
32791 ac_find_libraries=$ac_dir
32792 break 2
32793 fi
32794 done
32795 done
32796
32797 if test "$ac_find_libraries" != "" ; then
32798
32799 if test "$ac_find_libraries" = "default location"; then
32800 ac_path_to_link=""
32801 else
32802 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32803 result=$?
32804 if test $result = 0; then
32805 ac_path_to_link=""
32806 else
32807 ac_path_to_link=" -L$ac_find_libraries"
32808 fi
32809 fi
32810
32811 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32812 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32813 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32814 fi
32815
32816 found_gl=1
32817 OPENGL_LIBS="-lGL -lGLU"
32818 { echo "$as_me:$LINENO: result: yes" >&5
32819 echo "${ECHO_T}yes" >&6; }
32820 else
32821 { echo "$as_me:$LINENO: result: no" >&5
32822 echo "${ECHO_T}no" >&6; }
32823 fi
32824 else
32825 { echo "$as_me:$LINENO: result: no" >&5
32826 echo "${ECHO_T}no" >&6; }
32827 fi
32828
32829 if test "$found_gl" != 1; then
32830 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32831 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32832
32833 ac_find_libraries=
32834 for ac_dir in $SEARCH_LIB;
32835 do
32836 for ac_extension in a so sl dylib dll.a; do
32837 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32838 ac_find_libraries=$ac_dir
32839 break 2
32840 fi
32841 done
32842 done
32843
32844 if test "$ac_find_libraries" != "" ; then
32845
32846 if test "$ac_find_libraries" = "default location"; then
32847 ac_path_to_link=""
32848 else
32849 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32850 result=$?
32851 if test $result = 0; then
32852 ac_path_to_link=""
32853 else
32854 ac_path_to_link=" -L$ac_find_libraries"
32855 fi
32856 fi
32857
32858 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32859 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32860 { echo "$as_me:$LINENO: result: yes" >&5
32861 echo "${ECHO_T}yes" >&6; }
32862 else
32863 { echo "$as_me:$LINENO: result: no" >&5
32864 echo "${ECHO_T}no" >&6; }
32865 fi
32866 fi
32867
32868 fi
32869
32870
32871
32872 fi
32873
32874
32875
32876 if test "x$OPENGL_LIBS" = "x"; then
32877 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32878 echo "$as_me: error: OpenGL libraries not available" >&2;}
32879 { (exit 1); exit 1; }; }
32880 fi
32881 fi
32882
32883 if test "$wxUSE_OPENGL" = "yes"; then
32884 USE_OPENGL=1
32885 cat >>confdefs.h <<\_ACEOF
32886 #define wxUSE_OPENGL 1
32887 _ACEOF
32888
32889 cat >>confdefs.h <<\_ACEOF
32890 #define wxUSE_GLCANVAS 1
32891 _ACEOF
32892
32893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32894 fi
32895 fi
32896
32897
32898 if test -n "$TOOLKIT" ; then
32899 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32900 fi
32901
32902
32903
32904 if test "$wxUSE_SHARED" = "yes"; then
32905 case "${host}" in
32906 *-pc-msdosdjgpp )
32907 wxUSE_SHARED=no
32908 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32909 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32910 ;;
32911 esac
32912 fi
32913
32914 if test "$wxUSE_SHARED" = "yes"; then
32915
32916
32917 case "${host}" in
32918 *-*-cygwin* | *-*-mingw* )
32919 wx_cv_version_script=no
32920 ;;
32921
32922 *)
32923 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32924 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32925 if test "${wx_cv_version_script+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 else
32928
32929 echo "VER_1 { *; };" >conftest.sym
32930 echo "int main() { return 0; }" >conftest.cpp
32931
32932 if { ac_try='
32933 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32934 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32937 ac_status=$?
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } ; then
32940 if test -s conftest.stderr ; then
32941 wx_cv_version_script=no
32942 else
32943 wx_cv_version_script=yes
32944 fi
32945 else
32946 wx_cv_version_script=no
32947 fi
32948
32949 if test $wx_cv_version_script = yes
32950 then
32951 echo "struct B { virtual ~B() { } }; \
32952 struct D : public B { }; \
32953 void F() { D d; }" > conftest.cpp
32954
32955 if { ac_try='
32956 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32957 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try='
32964 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32965 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32968 ac_status=$?
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }
32971 then
32972 if { ac_try='
32973 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32974 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }
32980 then
32981 wx_cv_version_script=yes
32982 else
32983 wx_cv_version_script=no
32984 fi
32985 fi
32986 fi
32987
32988 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32989 rm -f conftest1.output conftest2.output conftest3.output
32990
32991 fi
32992 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32993 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32994
32995 if test $wx_cv_version_script = yes ; then
32996 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32997 fi
32998 ;;
32999 esac
33000
33001
33002 if test "$wxUSE_VISIBILITY" != "no"; then
33003
33004
33005 if test -n "$GCC"; then
33006 CFLAGS_VISIBILITY="-fvisibility=hidden"
33007 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33008 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33009 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33010 if test "${wx_cv_cc_visibility+set}" = set; then
33011 echo $ECHO_N "(cached) $ECHO_C" >&6
33012 else
33013
33014 wx_save_CXXFLAGS="$CXXFLAGS"
33015 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33016 ac_ext=cpp
33017 ac_cpp='$CXXCPP $CPPFLAGS'
33018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33021
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028
33029 /* we need gcc >= 4.0, older versions with visibility support
33030 didn't have class visibility: */
33031 #if defined(__GNUC__) && __GNUC__ < 4
33032 error this gcc is too old;
33033 #endif
33034
33035 /* visibility only makes sense for ELF shared libs: */
33036 #if !defined(__ELF__) && !defined(__APPLE__)
33037 error this platform has no visibility;
33038 #endif
33039
33040 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33041 extern __attribute__((__visibility__("default"))) int exportedvar;
33042 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33043 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33044 class __attribute__((__visibility__("default"))) Foo {
33045 Foo() {}
33046 };
33047
33048 int
33049 main ()
33050 {
33051
33052 ;
33053 return 0;
33054 }
33055 _ACEOF
33056 rm -f conftest.$ac_objext
33057 if { (ac_try="$ac_compile"
33058 case "(($ac_try" in
33059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33060 *) ac_try_echo=$ac_try;;
33061 esac
33062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33063 (eval "$ac_compile") 2>conftest.er1
33064 ac_status=$?
33065 grep -v '^ *+' conftest.er1 >conftest.err
33066 rm -f conftest.er1
33067 cat conftest.err >&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } && {
33070 test -z "$ac_cxx_werror_flag" ||
33071 test ! -s conftest.err
33072 } && test -s conftest.$ac_objext; then
33073 wx_cv_cc_visibility=yes
33074 else
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.$ac_ext >&5
33077
33078 wx_cv_cc_visibility=no
33079 fi
33080
33081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33082 ac_ext=c
33083 ac_cpp='$CPP $CPPFLAGS'
33084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33087
33088 CXXFLAGS="$wx_save_CXXFLAGS"
33089 fi
33090
33091 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33092 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33093 if test $wx_cv_cc_visibility = yes; then
33094 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33095 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33096 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33098 else
33099
33100 wx_save_CXXFLAGS="$CXXFLAGS"
33101 wx_save_LDFLAGS="$LDFLAGS"
33102 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33103 LDFLAGS="$LDFLAGS -shared -fPIC"
33104 ac_ext=cpp
33105 ac_cpp='$CXXCPP $CPPFLAGS'
33106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33109
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116
33117 #include <string>
33118
33119 int
33120 main ()
33121 {
33122
33123 std::string s("hello");
33124 return s.length();
33125
33126 ;
33127 return 0;
33128 }
33129 _ACEOF
33130 rm -f conftest.$ac_objext conftest$ac_exeext
33131 if { (ac_try="$ac_link"
33132 case "(($ac_try" in
33133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33134 *) ac_try_echo=$ac_try;;
33135 esac
33136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33137 (eval "$ac_link") 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } && {
33144 test -z "$ac_cxx_werror_flag" ||
33145 test ! -s conftest.err
33146 } && test -s conftest$ac_exeext &&
33147 $as_test_x conftest$ac_exeext; then
33148 wx_cv_cc_broken_libstdcxx_visibility=no
33149 else
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33152
33153 wx_cv_cc_broken_libstdcxx_visibility=yes
33154 fi
33155
33156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33157 conftest$ac_exeext conftest.$ac_ext
33158 ac_ext=c
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163
33164 CXXFLAGS="$wx_save_CXXFLAGS"
33165 LDFLAGS="$wx_save_LDFLAGS"
33166 fi
33167
33168 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33169 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33170
33171 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33172 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33173 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33174 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177
33178 ac_ext=cpp
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33183
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190
33191 #pragma GCC visibility push(default)
33192 #include <string>
33193 #pragma GCC visibility pop
33194
33195 int
33196 main ()
33197 {
33198
33199 std::string s("hello");
33200 return s.length();
33201
33202 ;
33203 return 0;
33204 }
33205 _ACEOF
33206 rm -f conftest.$ac_objext conftest$ac_exeext
33207 if { (ac_try="$ac_link"
33208 case "(($ac_try" in
33209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33210 *) ac_try_echo=$ac_try;;
33211 esac
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_link") 2>conftest.er1
33214 ac_status=$?
33215 grep -v '^ *+' conftest.er1 >conftest.err
33216 rm -f conftest.er1
33217 cat conftest.err >&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } && {
33220 test -z "$ac_cxx_werror_flag" ||
33221 test ! -s conftest.err
33222 } && test -s conftest$ac_exeext &&
33223 $as_test_x conftest$ac_exeext; then
33224 wx_cv_cc_visibility_workaround=no
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33228
33229 wx_cv_cc_visibility_workaround=yes
33230 fi
33231
33232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33233 conftest$ac_exeext conftest.$ac_ext
33234 ac_ext=c
33235 ac_cpp='$CPP $CPPFLAGS'
33236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33239
33240
33241 fi
33242
33243 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33244 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33245
33246 if test $wx_cv_cc_visibility_workaround = no; then
33247 wx_cv_cc_visibility=no
33248 fi
33249 fi
33250 fi
33251
33252 if test $wx_cv_cc_visibility = yes; then
33253 cat >>confdefs.h <<\_ACEOF
33254 #define HAVE_VISIBILITY 1
33255 _ACEOF
33256
33257 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33258 cat >>confdefs.h <<\_ACEOF
33259 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33260 _ACEOF
33261
33262 fi
33263 else
33264 CFLAGS_VISIBILITY=""
33265 CXXFLAGS_VISIBILITY=""
33266 fi
33267
33268
33269 fi
33270
33271 fi
33272
33273 if test "x$SUNCXX" = xyes; then
33274 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33275 WXCONFIG_RPATH="-R\$libdir"
33276 else
33277 case "${host}" in
33278 *-*-linux* | *-*-gnu* )
33279 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33280 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33281 ;;
33282
33283 *-*-solaris2* )
33284
33285 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33286
33287 saveLdflags="$LDFLAGS"
33288 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33289 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33290 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33291 cat >conftest.$ac_ext <<_ACEOF
33292 /* confdefs.h. */
33293 _ACEOF
33294 cat confdefs.h >>conftest.$ac_ext
33295 cat >>conftest.$ac_ext <<_ACEOF
33296 /* end confdefs.h. */
33297
33298 int
33299 main ()
33300 {
33301
33302 ;
33303 return 0;
33304 }
33305 _ACEOF
33306 rm -f conftest.$ac_objext conftest$ac_exeext
33307 if { (ac_try="$ac_link"
33308 case "(($ac_try" in
33309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33310 *) ac_try_echo=$ac_try;;
33311 esac
33312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33313 (eval "$ac_link") 2>conftest.er1
33314 ac_status=$?
33315 grep -v '^ *+' conftest.er1 >conftest.err
33316 rm -f conftest.er1
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } && {
33320 test -z "$ac_c_werror_flag" ||
33321 test ! -s conftest.err
33322 } && test -s conftest$ac_exeext &&
33323 $as_test_x conftest$ac_exeext; then
33324
33325 { echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6; }
33327 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33328 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33329
33330 else
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33333
33334
33335 { echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6; }
33337 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33338 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33339 LDFLAGS="$saveLdflags -Wl,-R,/"
33340 cat >conftest.$ac_ext <<_ACEOF
33341 /* confdefs.h. */
33342 _ACEOF
33343 cat confdefs.h >>conftest.$ac_ext
33344 cat >>conftest.$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33346
33347 int
33348 main ()
33349 {
33350
33351 ;
33352 return 0;
33353 }
33354 _ACEOF
33355 rm -f conftest.$ac_objext conftest$ac_exeext
33356 if { (ac_try="$ac_link"
33357 case "(($ac_try" in
33358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33359 *) ac_try_echo=$ac_try;;
33360 esac
33361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33362 (eval "$ac_link") 2>conftest.er1
33363 ac_status=$?
33364 grep -v '^ *+' conftest.er1 >conftest.err
33365 rm -f conftest.er1
33366 cat conftest.err >&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } && {
33369 test -z "$ac_c_werror_flag" ||
33370 test ! -s conftest.err
33371 } && test -s conftest$ac_exeext &&
33372 $as_test_x conftest$ac_exeext; then
33373
33374 { echo "$as_me:$LINENO: result: yes" >&5
33375 echo "${ECHO_T}yes" >&6; }
33376 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33377 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33378
33379 else
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.$ac_ext >&5
33382
33383
33384 { echo "$as_me:$LINENO: result: no" >&5
33385 echo "${ECHO_T}no" >&6; }
33386
33387 fi
33388
33389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33390 conftest$ac_exeext conftest.$ac_ext
33391
33392 fi
33393
33394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33395 conftest$ac_exeext conftest.$ac_ext
33396 LDFLAGS="$saveLdflags"
33397 ;;
33398
33399 *-*-darwin* )
33400 install_name_tool=`which install_name_tool`
33401 if test "$install_name_tool" -a -x "$install_name_tool"; then
33402 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33403 cat <<EOF >change-install-names
33404 #!/bin/sh
33405 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33406 inst_cmd="install_name_tool "
33407 for i in \${libnames} ; do
33408 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33409 done
33410 \${inst_cmd} \${3}
33411 EOF
33412 chmod +x change-install-names
33413 fi
33414 ;;
33415
33416 *-*-cygwin* | *-*-mingw32* )
33417 ;;
33418
33419 *-*-hpux* )
33420 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33421 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33422 ;;
33423
33424 esac
33425 fi
33426
33427 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33428
33429 if test $wxUSE_RPATH = "no"; then
33430 SAMPLES_RPATH_FLAG=''
33431 SAMPLES_RPATH_POSTLINK=''
33432 WXCONFIG_RPATH=''
33433 fi
33434
33435 SHARED=1
33436
33437 else
33438
33439 config_linkage_component="-static"
33440 SHARED=0
33441
33442 fi
33443
33444
33445 UNICODE=0
33446 lib_unicode_suffix=
33447 WX_CHARTYPE="ansi"
33448 if test "$wxUSE_UNICODE" = "yes"; then
33449 lib_unicode_suffix=u
33450 WX_CHARTYPE="unicode"
33451 UNICODE=1
33452 fi
33453
33454 lib_debug_suffix=
33455 WX_DEBUGTYPE="release"
33456 DEBUG_FLAG=0
33457 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33458 lib_debug_suffix=d
33459 WX_DEBUGTYPE="debug"
33460 DEBUG_FLAG=1
33461 fi
33462
33463 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33464 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33465
33466 DEBUG_INFO=0
33467 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33468 DEBUG_INFO=1
33469 fi
33470
33471 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33472
33473 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33474
33475 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33476
33477 if test "$cross_compiling" = "yes"; then
33478 HOST_SUFFIX="-$host_alias"
33479 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33480 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33481 fi
33482
33483 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33484 if test "${TOOLKIT_DIR}" = "os2"; then
33485 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33486 else
33487 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33488 fi
33489
33490
33491
33492 if test "$wxUSE_COCOA" = 1; then
33493
33494 ac_ext=c
33495 ac_cpp='$CPP $CPPFLAGS'
33496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33499
33500 ac_ext=m
33501
33502 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33503 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33504 cat >conftest.$ac_ext <<_ACEOF
33505 /* confdefs.h. */
33506 _ACEOF
33507 cat confdefs.h >>conftest.$ac_ext
33508 cat >>conftest.$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33510 #include <AppKit/NSEvent.h>
33511 #include <CoreFoundation/CoreFoundation.h>
33512
33513 int
33514 main ()
33515 {
33516
33517 ;
33518 return 0;
33519 }
33520 _ACEOF
33521 rm -f conftest.$ac_objext
33522 if { (ac_try="$ac_compile"
33523 case "(($ac_try" in
33524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33525 *) ac_try_echo=$ac_try;;
33526 esac
33527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33528 (eval "$ac_compile") 2>conftest.er1
33529 ac_status=$?
33530 grep -v '^ *+' conftest.er1 >conftest.err
33531 rm -f conftest.er1
33532 cat conftest.err >&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } && {
33535 test -z "$ac_c_werror_flag" ||
33536 test ! -s conftest.err
33537 } && test -s conftest.$ac_objext; then
33538 { echo "$as_me:$LINENO: result: no" >&5
33539 echo "${ECHO_T}no" >&6; }
33540 else
33541 echo "$as_me: failed program was:" >&5
33542 sed 's/^/| /' conftest.$ac_ext >&5
33543
33544 { echo "$as_me:$LINENO: result: yes" >&5
33545 echo "${ECHO_T}yes" >&6; }
33546 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33547 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33548 cat >conftest.$ac_ext <<_ACEOF
33549 /* confdefs.h. */
33550 _ACEOF
33551 cat confdefs.h >>conftest.$ac_ext
33552 cat >>conftest.$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554 #define __Point__ 1
33555 #include <AppKit/NSEvent.h>
33556 #include <CoreFoundation/CoreFoundation.h>
33557
33558 int
33559 main ()
33560 {
33561
33562 ;
33563 return 0;
33564 }
33565 _ACEOF
33566 rm -f conftest.$ac_objext
33567 if { (ac_try="$ac_compile"
33568 case "(($ac_try" in
33569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33570 *) ac_try_echo=$ac_try;;
33571 esac
33572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33573 (eval "$ac_compile") 2>conftest.er1
33574 ac_status=$?
33575 grep -v '^ *+' conftest.er1 >conftest.err
33576 rm -f conftest.er1
33577 cat conftest.err >&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } && {
33580 test -z "$ac_c_werror_flag" ||
33581 test ! -s conftest.err
33582 } && test -s conftest.$ac_objext; then
33583 { echo "$as_me:$LINENO: result: yes" >&5
33584 echo "${ECHO_T}yes" >&6; }
33585 cat >>confdefs.h <<\_ACEOF
33586 #define __Point__ 1
33587 _ACEOF
33588
33589
33590 else
33591 echo "$as_me: failed program was:" >&5
33592 sed 's/^/| /' conftest.$ac_ext >&5
33593
33594 { { echo "$as_me:$LINENO: error: no
33595 See \`config.log' for more details." >&5
33596 echo "$as_me: error: no
33597 See \`config.log' for more details." >&2;}
33598 { (exit 1); exit 1; }; }
33599
33600 fi
33601
33602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603
33604 fi
33605
33606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33607 ac_ext=c
33608 ac_cpp='$CPP $CPPFLAGS'
33609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612
33613 fi
33614
33615
33616 { echo "$as_me:$LINENO: checking for mode_t" >&5
33617 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33618 if test "${ac_cv_type_mode_t+set}" = set; then
33619 echo $ECHO_N "(cached) $ECHO_C" >&6
33620 else
33621 cat >conftest.$ac_ext <<_ACEOF
33622 /* confdefs.h. */
33623 _ACEOF
33624 cat confdefs.h >>conftest.$ac_ext
33625 cat >>conftest.$ac_ext <<_ACEOF
33626 /* end confdefs.h. */
33627 $ac_includes_default
33628 typedef mode_t ac__type_new_;
33629 int
33630 main ()
33631 {
33632 if ((ac__type_new_ *) 0)
33633 return 0;
33634 if (sizeof (ac__type_new_))
33635 return 0;
33636 ;
33637 return 0;
33638 }
33639 _ACEOF
33640 rm -f conftest.$ac_objext
33641 if { (ac_try="$ac_compile"
33642 case "(($ac_try" in
33643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33644 *) ac_try_echo=$ac_try;;
33645 esac
33646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33647 (eval "$ac_compile") 2>conftest.er1
33648 ac_status=$?
33649 grep -v '^ *+' conftest.er1 >conftest.err
33650 rm -f conftest.er1
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } && {
33654 test -z "$ac_c_werror_flag" ||
33655 test ! -s conftest.err
33656 } && test -s conftest.$ac_objext; then
33657 ac_cv_type_mode_t=yes
33658 else
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.$ac_ext >&5
33661
33662 ac_cv_type_mode_t=no
33663 fi
33664
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33666 fi
33667 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33668 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33669 if test $ac_cv_type_mode_t = yes; then
33670 :
33671 else
33672
33673 cat >>confdefs.h <<_ACEOF
33674 #define mode_t int
33675 _ACEOF
33676
33677 fi
33678
33679 { echo "$as_me:$LINENO: checking for off_t" >&5
33680 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33681 if test "${ac_cv_type_off_t+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684 cat >conftest.$ac_ext <<_ACEOF
33685 /* confdefs.h. */
33686 _ACEOF
33687 cat confdefs.h >>conftest.$ac_ext
33688 cat >>conftest.$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 $ac_includes_default
33691 typedef off_t ac__type_new_;
33692 int
33693 main ()
33694 {
33695 if ((ac__type_new_ *) 0)
33696 return 0;
33697 if (sizeof (ac__type_new_))
33698 return 0;
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33708 esac
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720 ac_cv_type_off_t=yes
33721 else
33722 echo "$as_me: failed program was:" >&5
33723 sed 's/^/| /' conftest.$ac_ext >&5
33724
33725 ac_cv_type_off_t=no
33726 fi
33727
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 fi
33730 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33731 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33732 if test $ac_cv_type_off_t = yes; then
33733 :
33734 else
33735
33736 cat >>confdefs.h <<_ACEOF
33737 #define off_t long int
33738 _ACEOF
33739
33740 fi
33741
33742 { echo "$as_me:$LINENO: checking for pid_t" >&5
33743 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33744 if test "${ac_cv_type_pid_t+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33746 else
33747 cat >conftest.$ac_ext <<_ACEOF
33748 /* confdefs.h. */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753 $ac_includes_default
33754 typedef pid_t ac__type_new_;
33755 int
33756 main ()
33757 {
33758 if ((ac__type_new_ *) 0)
33759 return 0;
33760 if (sizeof (ac__type_new_))
33761 return 0;
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 rm -f conftest.$ac_objext
33767 if { (ac_try="$ac_compile"
33768 case "(($ac_try" in
33769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33770 *) ac_try_echo=$ac_try;;
33771 esac
33772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33773 (eval "$ac_compile") 2>conftest.er1
33774 ac_status=$?
33775 grep -v '^ *+' conftest.er1 >conftest.err
33776 rm -f conftest.er1
33777 cat conftest.err >&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } && {
33780 test -z "$ac_c_werror_flag" ||
33781 test ! -s conftest.err
33782 } && test -s conftest.$ac_objext; then
33783 ac_cv_type_pid_t=yes
33784 else
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33787
33788 ac_cv_type_pid_t=no
33789 fi
33790
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792 fi
33793 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33794 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33795 if test $ac_cv_type_pid_t = yes; then
33796 :
33797 else
33798
33799 cat >>confdefs.h <<_ACEOF
33800 #define pid_t int
33801 _ACEOF
33802
33803 fi
33804
33805 { echo "$as_me:$LINENO: checking for size_t" >&5
33806 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33807 if test "${ac_cv_type_size_t+set}" = set; then
33808 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 else
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816 $ac_includes_default
33817 typedef size_t ac__type_new_;
33818 int
33819 main ()
33820 {
33821 if ((ac__type_new_ *) 0)
33822 return 0;
33823 if (sizeof (ac__type_new_))
33824 return 0;
33825 ;
33826 return 0;
33827 }
33828 _ACEOF
33829 rm -f conftest.$ac_objext
33830 if { (ac_try="$ac_compile"
33831 case "(($ac_try" in
33832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833 *) ac_try_echo=$ac_try;;
33834 esac
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_compile") 2>conftest.er1
33837 ac_status=$?
33838 grep -v '^ *+' conftest.er1 >conftest.err
33839 rm -f conftest.er1
33840 cat conftest.err >&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_c_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest.$ac_objext; then
33846 ac_cv_type_size_t=yes
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 ac_cv_type_size_t=no
33852 fi
33853
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33855 fi
33856 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33858 if test $ac_cv_type_size_t = yes; then
33859 :
33860 else
33861
33862 cat >>confdefs.h <<_ACEOF
33863 #define size_t unsigned int
33864 _ACEOF
33865
33866 fi
33867
33868
33869 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33870 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33871 if test "${ac_cv_type_ssize_t+set}" = set; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 else
33874 cat >conftest.$ac_ext <<_ACEOF
33875 /* confdefs.h. */
33876 _ACEOF
33877 cat confdefs.h >>conftest.$ac_ext
33878 cat >>conftest.$ac_ext <<_ACEOF
33879 /* end confdefs.h. */
33880 $ac_includes_default
33881 typedef ssize_t ac__type_new_;
33882 int
33883 main ()
33884 {
33885 if ((ac__type_new_ *) 0)
33886 return 0;
33887 if (sizeof (ac__type_new_))
33888 return 0;
33889 ;
33890 return 0;
33891 }
33892 _ACEOF
33893 rm -f conftest.$ac_objext
33894 if { (ac_try="$ac_compile"
33895 case "(($ac_try" in
33896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33897 *) ac_try_echo=$ac_try;;
33898 esac
33899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33900 (eval "$ac_compile") 2>conftest.er1
33901 ac_status=$?
33902 grep -v '^ *+' conftest.er1 >conftest.err
33903 rm -f conftest.er1
33904 cat conftest.err >&5
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); } && {
33907 test -z "$ac_c_werror_flag" ||
33908 test ! -s conftest.err
33909 } && test -s conftest.$ac_objext; then
33910 ac_cv_type_ssize_t=yes
33911 else
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.$ac_ext >&5
33914
33915 ac_cv_type_ssize_t=no
33916 fi
33917
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919 fi
33920 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33921 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33922 if test $ac_cv_type_ssize_t = yes; then
33923
33924 cat >>confdefs.h <<_ACEOF
33925 #define HAVE_SSIZE_T 1
33926 _ACEOF
33927
33928
33929 fi
33930
33931
33932 ac_ext=cpp
33933 ac_cpp='$CXXCPP $CPPFLAGS'
33934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33937 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33938 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33939 if test "${wx_cv_size_t_is_uint+set}" = set; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33941 else
33942
33943 cat >conftest.$ac_ext <<_ACEOF
33944 /* confdefs.h. */
33945 _ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 #include <stddef.h>
33950 int
33951 main ()
33952 {
33953
33954 return 0; }
33955
33956 struct Foo { void foo(size_t); void foo(unsigned int); };
33957
33958 int bar() {
33959
33960 ;
33961 return 0;
33962 }
33963 _ACEOF
33964 rm -f conftest.$ac_objext
33965 if { (ac_try="$ac_compile"
33966 case "(($ac_try" in
33967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33968 *) ac_try_echo=$ac_try;;
33969 esac
33970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33971 (eval "$ac_compile") 2>conftest.er1
33972 ac_status=$?
33973 grep -v '^ *+' conftest.er1 >conftest.err
33974 rm -f conftest.er1
33975 cat conftest.err >&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); } && {
33978 test -z "$ac_cxx_werror_flag" ||
33979 test ! -s conftest.err
33980 } && test -s conftest.$ac_objext; then
33981 wx_cv_size_t_is_uint=no
33982 else
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.$ac_ext >&5
33985
33986 wx_cv_size_t_is_uint=yes
33987
33988 fi
33989
33990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33991
33992
33993 fi
33994 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33995 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33996
33997 if test "$wx_cv_size_t_is_uint" = "yes"; then
33998 cat >>confdefs.h <<\_ACEOF
33999 #define wxSIZE_T_IS_UINT 1
34000 _ACEOF
34001
34002 else
34003 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34004 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34005 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34006 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 else
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014 #include <stddef.h>
34015 int
34016 main ()
34017 {
34018
34019 return 0; }
34020
34021 struct Foo { void foo(size_t); void foo(unsigned long); };
34022
34023 int bar() {
34024
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 rm -f conftest.$ac_objext
34030 if { (ac_try="$ac_compile"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34034 esac
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_compile") 2>conftest.er1
34037 ac_status=$?
34038 grep -v '^ *+' conftest.er1 >conftest.err
34039 rm -f conftest.er1
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_cxx_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest.$ac_objext; then
34046 wx_cv_size_t_is_ulong=no
34047 else
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34050
34051 wx_cv_size_t_is_ulong=yes
34052
34053 fi
34054
34055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34056
34057 fi
34058 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34059 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34060
34061 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34062 cat >>confdefs.h <<\_ACEOF
34063 #define wxSIZE_T_IS_ULONG 1
34064 _ACEOF
34065
34066 fi
34067 fi
34068
34069 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34070 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34071 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34073 else
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 #include <wchar.h>
34081 int
34082 main ()
34083 {
34084
34085 return 0; }
34086
34087 struct Foo { void foo(wchar_t);
34088 void foo(unsigned short);
34089 void foo(unsigned int);
34090 void foo(unsigned long); };
34091
34092 int bar() {
34093
34094 ;
34095 return 0;
34096 }
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34102 *) ac_try_echo=$ac_try;;
34103 esac
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_cxx_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.$ac_objext; then
34115 wx_cv_wchar_t_is_separate_type=yes
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 wx_cv_wchar_t_is_separate_type=no
34121
34122 fi
34123
34124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34125
34126 fi
34127 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34128 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34129
34130 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34131 cat >>confdefs.h <<\_ACEOF
34132 #define wxWCHAR_T_IS_REAL_TYPE 1
34133 _ACEOF
34134
34135 else
34136 cat >>confdefs.h <<\_ACEOF
34137 #define wxWCHAR_T_IS_REAL_TYPE 0
34138 _ACEOF
34139
34140 fi
34141
34142 ac_ext=c
34143 ac_cpp='$CPP $CPPFLAGS'
34144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34147
34148
34149 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34150 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34151 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 else
34154
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 #include <pwd.h>
34162 int
34163 main ()
34164 {
34165
34166 char *p;
34167 struct passwd *pw;
34168 p = pw->pw_gecos;
34169
34170 ;
34171 return 0;
34172 }
34173 _ACEOF
34174 rm -f conftest.$ac_objext
34175 if { (ac_try="$ac_compile"
34176 case "(($ac_try" in
34177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34178 *) ac_try_echo=$ac_try;;
34179 esac
34180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34181 (eval "$ac_compile") 2>conftest.er1
34182 ac_status=$?
34183 grep -v '^ *+' conftest.er1 >conftest.err
34184 rm -f conftest.er1
34185 cat conftest.err >&5
34186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34187 (exit $ac_status); } && {
34188 test -z "$ac_c_werror_flag" ||
34189 test ! -s conftest.err
34190 } && test -s conftest.$ac_objext; then
34191
34192 wx_cv_struct_pw_gecos=yes
34193
34194 else
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.$ac_ext >&5
34197
34198
34199 wx_cv_struct_pw_gecos=no
34200
34201
34202 fi
34203
34204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34205
34206
34207 fi
34208 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34209 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34210
34211 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_PW_GECOS 1
34214 _ACEOF
34215
34216 fi
34217
34218
34219 if test "$wxUSE_WCHAR_T" = "yes"; then
34220 cat >>confdefs.h <<\_ACEOF
34221 #define wxUSE_WCHAR_T 1
34222 _ACEOF
34223
34224
34225 WCSLEN_FOUND=0
34226 WCHAR_LINK=
34227
34228 for ac_func in wcslen
34229 do
34230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236 cat >conftest.$ac_ext <<_ACEOF
34237 /* confdefs.h. */
34238 _ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34244 #define $ac_func innocuous_$ac_func
34245
34246 /* System header to define __stub macros and hopefully few prototypes,
34247 which can conflict with char $ac_func (); below.
34248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34249 <limits.h> exists even on freestanding compilers. */
34250
34251 #ifdef __STDC__
34252 # include <limits.h>
34253 #else
34254 # include <assert.h>
34255 #endif
34256
34257 #undef $ac_func
34258
34259 /* Override any GCC internal prototype to avoid an error.
34260 Use char because int might match the return type of a GCC
34261 builtin and then its argument prototype would still apply. */
34262 #ifdef __cplusplus
34263 extern "C"
34264 #endif
34265 char $ac_func ();
34266 /* The GNU C library defines this for functions which it implements
34267 to always fail with ENOSYS. Some functions are actually named
34268 something starting with __ and the normal name is an alias. */
34269 #if defined __stub_$ac_func || defined __stub___$ac_func
34270 choke me
34271 #endif
34272
34273 int
34274 main ()
34275 {
34276 return $ac_func ();
34277 ;
34278 return 0;
34279 }
34280 _ACEOF
34281 rm -f conftest.$ac_objext conftest$ac_exeext
34282 if { (ac_try="$ac_link"
34283 case "(($ac_try" in
34284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34285 *) ac_try_echo=$ac_try;;
34286 esac
34287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34288 (eval "$ac_link") 2>conftest.er1
34289 ac_status=$?
34290 grep -v '^ *+' conftest.er1 >conftest.err
34291 rm -f conftest.er1
34292 cat conftest.err >&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); } && {
34295 test -z "$ac_c_werror_flag" ||
34296 test ! -s conftest.err
34297 } && test -s conftest$ac_exeext &&
34298 $as_test_x conftest$ac_exeext; then
34299 eval "$as_ac_var=yes"
34300 else
34301 echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.$ac_ext >&5
34303
34304 eval "$as_ac_var=no"
34305 fi
34306
34307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34308 conftest$ac_exeext conftest.$ac_ext
34309 fi
34310 ac_res=`eval echo '${'$as_ac_var'}'`
34311 { echo "$as_me:$LINENO: result: $ac_res" >&5
34312 echo "${ECHO_T}$ac_res" >&6; }
34313 if test `eval echo '${'$as_ac_var'}'` = yes; then
34314 cat >>confdefs.h <<_ACEOF
34315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34316 _ACEOF
34317 WCSLEN_FOUND=1
34318 fi
34319 done
34320
34321
34322 if test "$WCSLEN_FOUND" = 0; then
34323 if test "$TOOLKIT" = "MSW"; then
34324 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34325 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34326 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 else
34329 ac_check_lib_save_LIBS=$LIBS
34330 LIBS="-lmsvcrt $LIBS"
34331 cat >conftest.$ac_ext <<_ACEOF
34332 /* confdefs.h. */
34333 _ACEOF
34334 cat confdefs.h >>conftest.$ac_ext
34335 cat >>conftest.$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337
34338 /* Override any GCC internal prototype to avoid an error.
34339 Use char because int might match the return type of a GCC
34340 builtin and then its argument prototype would still apply. */
34341 #ifdef __cplusplus
34342 extern "C"
34343 #endif
34344 char wcslen ();
34345 int
34346 main ()
34347 {
34348 return wcslen ();
34349 ;
34350 return 0;
34351 }
34352 _ACEOF
34353 rm -f conftest.$ac_objext conftest$ac_exeext
34354 if { (ac_try="$ac_link"
34355 case "(($ac_try" in
34356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34357 *) ac_try_echo=$ac_try;;
34358 esac
34359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34360 (eval "$ac_link") 2>conftest.er1
34361 ac_status=$?
34362 grep -v '^ *+' conftest.er1 >conftest.err
34363 rm -f conftest.er1
34364 cat conftest.err >&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } && {
34367 test -z "$ac_c_werror_flag" ||
34368 test ! -s conftest.err
34369 } && test -s conftest$ac_exeext &&
34370 $as_test_x conftest$ac_exeext; then
34371 ac_cv_lib_msvcrt_wcslen=yes
34372 else
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.$ac_ext >&5
34375
34376 ac_cv_lib_msvcrt_wcslen=no
34377 fi
34378
34379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34380 conftest$ac_exeext conftest.$ac_ext
34381 LIBS=$ac_check_lib_save_LIBS
34382 fi
34383 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34384 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34385 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34386 WCHAR_OK=1
34387 fi
34388
34389 else
34390 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34391 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34392 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34393 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 else
34395 ac_check_lib_save_LIBS=$LIBS
34396 LIBS="-lw $LIBS"
34397 cat >conftest.$ac_ext <<_ACEOF
34398 /* confdefs.h. */
34399 _ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34403
34404 /* Override any GCC internal prototype to avoid an error.
34405 Use char because int might match the return type of a GCC
34406 builtin and then its argument prototype would still apply. */
34407 #ifdef __cplusplus
34408 extern "C"
34409 #endif
34410 char wcslen ();
34411 int
34412 main ()
34413 {
34414 return wcslen ();
34415 ;
34416 return 0;
34417 }
34418 _ACEOF
34419 rm -f conftest.$ac_objext conftest$ac_exeext
34420 if { (ac_try="$ac_link"
34421 case "(($ac_try" in
34422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34423 *) ac_try_echo=$ac_try;;
34424 esac
34425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34426 (eval "$ac_link") 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } && {
34433 test -z "$ac_c_werror_flag" ||
34434 test ! -s conftest.err
34435 } && test -s conftest$ac_exeext &&
34436 $as_test_x conftest$ac_exeext; then
34437 ac_cv_lib_w_wcslen=yes
34438 else
34439 echo "$as_me: failed program was:" >&5
34440 sed 's/^/| /' conftest.$ac_ext >&5
34441
34442 ac_cv_lib_w_wcslen=no
34443 fi
34444
34445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34446 conftest$ac_exeext conftest.$ac_ext
34447 LIBS=$ac_check_lib_save_LIBS
34448 fi
34449 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34450 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34451 if test $ac_cv_lib_w_wcslen = yes; then
34452
34453 WCHAR_LINK=" -lw"
34454 WCSLEN_FOUND=1
34455
34456 fi
34457
34458 fi
34459 fi
34460
34461 if test "$WCSLEN_FOUND" = 1; then
34462 cat >>confdefs.h <<\_ACEOF
34463 #define HAVE_WCSLEN 1
34464 _ACEOF
34465
34466 fi
34467
34468
34469 for ac_func in wcsdup
34470 do
34471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34476 else
34477 cat >conftest.$ac_ext <<_ACEOF
34478 /* confdefs.h. */
34479 _ACEOF
34480 cat confdefs.h >>conftest.$ac_ext
34481 cat >>conftest.$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34485 #define $ac_func innocuous_$ac_func
34486
34487 /* System header to define __stub macros and hopefully few prototypes,
34488 which can conflict with char $ac_func (); below.
34489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34490 <limits.h> exists even on freestanding compilers. */
34491
34492 #ifdef __STDC__
34493 # include <limits.h>
34494 #else
34495 # include <assert.h>
34496 #endif
34497
34498 #undef $ac_func
34499
34500 /* Override any GCC internal prototype to avoid an error.
34501 Use char because int might match the return type of a GCC
34502 builtin and then its argument prototype would still apply. */
34503 #ifdef __cplusplus
34504 extern "C"
34505 #endif
34506 char $ac_func ();
34507 /* The GNU C library defines this for functions which it implements
34508 to always fail with ENOSYS. Some functions are actually named
34509 something starting with __ and the normal name is an alias. */
34510 #if defined __stub_$ac_func || defined __stub___$ac_func
34511 choke me
34512 #endif
34513
34514 int
34515 main ()
34516 {
34517 return $ac_func ();
34518 ;
34519 return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext conftest$ac_exeext
34523 if { (ac_try="$ac_link"
34524 case "(($ac_try" in
34525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34527 esac
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_link") 2>conftest.er1
34530 ac_status=$?
34531 grep -v '^ *+' conftest.er1 >conftest.err
34532 rm -f conftest.er1
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_c_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest$ac_exeext &&
34539 $as_test_x conftest$ac_exeext; then
34540 eval "$as_ac_var=yes"
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 eval "$as_ac_var=no"
34546 fi
34547
34548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34549 conftest$ac_exeext conftest.$ac_ext
34550 fi
34551 ac_res=`eval echo '${'$as_ac_var'}'`
34552 { echo "$as_me:$LINENO: result: $ac_res" >&5
34553 echo "${ECHO_T}$ac_res" >&6; }
34554 if test `eval echo '${'$as_ac_var'}'` = yes; then
34555 cat >>confdefs.h <<_ACEOF
34556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34557 _ACEOF
34558
34559 fi
34560 done
34561
34562
34563 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34564 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34565 fi
34566
34567 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34568 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34569 if test "${ac_cv_type_mbstate_t+set}" = set; then
34570 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 else
34572 cat >conftest.$ac_ext <<_ACEOF
34573 /* confdefs.h. */
34574 _ACEOF
34575 cat confdefs.h >>conftest.$ac_ext
34576 cat >>conftest.$ac_ext <<_ACEOF
34577 /* end confdefs.h. */
34578 #include <wchar.h>
34579
34580 typedef mbstate_t ac__type_new_;
34581 int
34582 main ()
34583 {
34584 if ((ac__type_new_ *) 0)
34585 return 0;
34586 if (sizeof (ac__type_new_))
34587 return 0;
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 rm -f conftest.$ac_objext
34593 if { (ac_try="$ac_compile"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34596 *) ac_try_echo=$ac_try;;
34597 esac
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_compile") 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } && {
34606 test -z "$ac_c_werror_flag" ||
34607 test ! -s conftest.err
34608 } && test -s conftest.$ac_objext; then
34609 ac_cv_type_mbstate_t=yes
34610 else
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.$ac_ext >&5
34613
34614 ac_cv_type_mbstate_t=no
34615 fi
34616
34617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34618 fi
34619 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34620 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34621 if test $ac_cv_type_mbstate_t = yes; then
34622
34623 cat >>confdefs.h <<_ACEOF
34624 #define HAVE_MBSTATE_T 1
34625 _ACEOF
34626
34627
34628 for ac_func in wcsrtombs
34629 do
34630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 else
34636 cat >conftest.$ac_ext <<_ACEOF
34637 /* confdefs.h. */
34638 _ACEOF
34639 cat confdefs.h >>conftest.$ac_ext
34640 cat >>conftest.$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34644 #define $ac_func innocuous_$ac_func
34645
34646 /* System header to define __stub macros and hopefully few prototypes,
34647 which can conflict with char $ac_func (); below.
34648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34649 <limits.h> exists even on freestanding compilers. */
34650
34651 #ifdef __STDC__
34652 # include <limits.h>
34653 #else
34654 # include <assert.h>
34655 #endif
34656
34657 #undef $ac_func
34658
34659 /* Override any GCC internal prototype to avoid an error.
34660 Use char because int might match the return type of a GCC
34661 builtin and then its argument prototype would still apply. */
34662 #ifdef __cplusplus
34663 extern "C"
34664 #endif
34665 char $ac_func ();
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined __stub_$ac_func || defined __stub___$ac_func
34670 choke me
34671 #endif
34672
34673 int
34674 main ()
34675 {
34676 return $ac_func ();
34677 ;
34678 return 0;
34679 }
34680 _ACEOF
34681 rm -f conftest.$ac_objext conftest$ac_exeext
34682 if { (ac_try="$ac_link"
34683 case "(($ac_try" in
34684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34685 *) ac_try_echo=$ac_try;;
34686 esac
34687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34688 (eval "$ac_link") 2>conftest.er1
34689 ac_status=$?
34690 grep -v '^ *+' conftest.er1 >conftest.err
34691 rm -f conftest.er1
34692 cat conftest.err >&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } && {
34695 test -z "$ac_c_werror_flag" ||
34696 test ! -s conftest.err
34697 } && test -s conftest$ac_exeext &&
34698 $as_test_x conftest$ac_exeext; then
34699 eval "$as_ac_var=yes"
34700 else
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.$ac_ext >&5
34703
34704 eval "$as_ac_var=no"
34705 fi
34706
34707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34708 conftest$ac_exeext conftest.$ac_ext
34709 fi
34710 ac_res=`eval echo '${'$as_ac_var'}'`
34711 { echo "$as_me:$LINENO: result: $ac_res" >&5
34712 echo "${ECHO_T}$ac_res" >&6; }
34713 if test `eval echo '${'$as_ac_var'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34716 _ACEOF
34717
34718 fi
34719 done
34720
34721 fi
34722
34723 else
34724 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34725 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34726 fi
34727
34728
34729
34730 for ac_func in snprintf vsnprintf
34731 do
34732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 else
34738 cat >conftest.$ac_ext <<_ACEOF
34739 /* confdefs.h. */
34740 _ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34746 #define $ac_func innocuous_$ac_func
34747
34748 /* System header to define __stub macros and hopefully few prototypes,
34749 which can conflict with char $ac_func (); below.
34750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34751 <limits.h> exists even on freestanding compilers. */
34752
34753 #ifdef __STDC__
34754 # include <limits.h>
34755 #else
34756 # include <assert.h>
34757 #endif
34758
34759 #undef $ac_func
34760
34761 /* Override any GCC internal prototype to avoid an error.
34762 Use char because int might match the return type of a GCC
34763 builtin and then its argument prototype would still apply. */
34764 #ifdef __cplusplus
34765 extern "C"
34766 #endif
34767 char $ac_func ();
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined __stub_$ac_func || defined __stub___$ac_func
34772 choke me
34773 #endif
34774
34775 int
34776 main ()
34777 {
34778 return $ac_func ();
34779 ;
34780 return 0;
34781 }
34782 _ACEOF
34783 rm -f conftest.$ac_objext conftest$ac_exeext
34784 if { (ac_try="$ac_link"
34785 case "(($ac_try" in
34786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34787 *) ac_try_echo=$ac_try;;
34788 esac
34789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34790 (eval "$ac_link") 2>conftest.er1
34791 ac_status=$?
34792 grep -v '^ *+' conftest.er1 >conftest.err
34793 rm -f conftest.er1
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } && {
34797 test -z "$ac_c_werror_flag" ||
34798 test ! -s conftest.err
34799 } && test -s conftest$ac_exeext &&
34800 $as_test_x conftest$ac_exeext; then
34801 eval "$as_ac_var=yes"
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34805
34806 eval "$as_ac_var=no"
34807 fi
34808
34809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34810 conftest$ac_exeext conftest.$ac_ext
34811 fi
34812 ac_res=`eval echo '${'$as_ac_var'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_var'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34818 _ACEOF
34819
34820 fi
34821 done
34822
34823
34824 if test "$ac_cv_func_vsnprintf" = "yes"; then
34825 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34826 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34827 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 else
34830
34831 cat >conftest.$ac_ext <<_ACEOF
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837
34838 #include <stdio.h>
34839 #include <stdarg.h>
34840 #ifdef __MSL__
34841 #if __MSL__ >= 0x6000
34842 namespace std {}
34843 using namespace std;
34844 #endif
34845 #endif
34846
34847 int
34848 main ()
34849 {
34850
34851 char *buf;
34852 va_list ap;
34853 vsnprintf(buf, 10u, "%s", ap);
34854
34855 ;
34856 return 0;
34857 }
34858 _ACEOF
34859 rm -f conftest.$ac_objext
34860 if { (ac_try="$ac_compile"
34861 case "(($ac_try" in
34862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34863 *) ac_try_echo=$ac_try;;
34864 esac
34865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34866 (eval "$ac_compile") 2>conftest.er1
34867 ac_status=$?
34868 grep -v '^ *+' conftest.er1 >conftest.err
34869 rm -f conftest.er1
34870 cat conftest.err >&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); } && {
34873 test -z "$ac_c_werror_flag" ||
34874 test ! -s conftest.err
34875 } && test -s conftest.$ac_objext; then
34876 wx_cv_func_vsnprintf_decl=yes
34877 else
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.$ac_ext >&5
34880
34881 wx_cv_func_vsnprintf_decl=no
34882
34883 fi
34884
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886
34887
34888 fi
34889 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34890 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34891
34892 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34893 cat >>confdefs.h <<\_ACEOF
34894 #define HAVE_VSNPRINTF_DECL 1
34895 _ACEOF
34896
34897
34898 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34899 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34900 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 else
34903
34904 cat >conftest.$ac_ext <<_ACEOF
34905 /* confdefs.h. */
34906 _ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34910
34911 #include <stdio.h>
34912 #include <stdarg.h>
34913 #ifdef __MSL__
34914 #if __MSL__ >= 0x6000
34915 namespace std {}
34916 using namespace std;
34917 #endif
34918 #endif
34919
34920 int
34921 main ()
34922 {
34923
34924 char *buf;
34925 va_list ap;
34926 const char *fmt = "%s";
34927 vsnprintf(buf, 10u, fmt, ap);
34928
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 rm -f conftest.$ac_objext
34934 if { (ac_try="$ac_compile"
34935 case "(($ac_try" in
34936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34937 *) ac_try_echo=$ac_try;;
34938 esac
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_compile") 2>conftest.er1
34941 ac_status=$?
34942 grep -v '^ *+' conftest.er1 >conftest.err
34943 rm -f conftest.er1
34944 cat conftest.err >&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } && {
34947 test -z "$ac_c_werror_flag" ||
34948 test ! -s conftest.err
34949 } && test -s conftest.$ac_objext; then
34950 wx_cv_func_broken_vsnprintf_decl=no
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34954
34955 wx_cv_func_broken_vsnprintf_decl=yes
34956
34957 fi
34958
34959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34960
34961
34962 fi
34963 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34964 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34965
34966 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34967 cat >>confdefs.h <<\_ACEOF
34968 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34969 _ACEOF
34970
34971 fi
34972 fi
34973 fi
34974
34975 if test "$ac_cv_func_snprintf" = "yes"; then
34976 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34977 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34978 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34979 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 else
34981
34982 cat >conftest.$ac_ext <<_ACEOF
34983 /* confdefs.h. */
34984 _ACEOF
34985 cat confdefs.h >>conftest.$ac_ext
34986 cat >>conftest.$ac_ext <<_ACEOF
34987 /* end confdefs.h. */
34988
34989 #include <stdio.h>
34990 #include <stdarg.h>
34991 #ifdef __MSL__
34992 #if __MSL__ >= 0x6000
34993 namespace std {}
34994 using namespace std;
34995 #endif
34996 #endif
34997
34998 int
34999 main ()
35000 {
35001
35002 char *buf;
35003 snprintf(buf, 10u, "%s", "wx");
35004
35005 ;
35006 return 0;
35007 }
35008 _ACEOF
35009 rm -f conftest.$ac_objext
35010 if { (ac_try="$ac_compile"
35011 case "(($ac_try" in
35012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35013 *) ac_try_echo=$ac_try;;
35014 esac
35015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35016 (eval "$ac_compile") 2>conftest.er1
35017 ac_status=$?
35018 grep -v '^ *+' conftest.er1 >conftest.err
35019 rm -f conftest.er1
35020 cat conftest.err >&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); } && {
35023 test -z "$ac_c_werror_flag" ||
35024 test ! -s conftest.err
35025 } && test -s conftest.$ac_objext; then
35026 wx_cv_func_snprintf_decl=yes
35027 else
35028 echo "$as_me: failed program was:" >&5
35029 sed 's/^/| /' conftest.$ac_ext >&5
35030
35031 wx_cv_func_snprintf_decl=no
35032
35033 fi
35034
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036
35037
35038 fi
35039 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35040 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35041
35042 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35043 cat >>confdefs.h <<\_ACEOF
35044 #define HAVE_SNPRINTF_DECL 1
35045 _ACEOF
35046
35047 fi
35048
35049 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35050
35051 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35052 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35053 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35054 echo $ECHO_N "(cached) $ECHO_C" >&6
35055 else
35056
35057 if test "$cross_compiling" = yes; then
35058
35059 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35060 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35061 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35062 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35063 wx_cv_func_snprintf_pos_params=no
35064
35065
35066 else
35067 cat >conftest.$ac_ext <<_ACEOF
35068 /* confdefs.h. */
35069 _ACEOF
35070 cat confdefs.h >>conftest.$ac_ext
35071 cat >>conftest.$ac_ext <<_ACEOF
35072 /* end confdefs.h. */
35073
35074 #include <stdio.h>
35075
35076 int main (void)
35077 {
35078 char buffer[128];
35079 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35080 if (strcmp ("2 3 1", buffer) == 0)
35081 exit (0);
35082 exit (1);
35083 }
35084
35085 _ACEOF
35086 rm -f conftest$ac_exeext
35087 if { (ac_try="$ac_link"
35088 case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35091 esac
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_link") 2>&5
35094 ac_status=$?
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35097 { (case "(($ac_try" in
35098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35099 *) ac_try_echo=$ac_try;;
35100 esac
35101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35102 (eval "$ac_try") 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; }; then
35106 wx_cv_func_snprintf_pos_params=no
35107 else
35108 echo "$as_me: program exited with status $ac_status" >&5
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112 ( exit $ac_status )
35113 wx_cv_func_snprintf_pos_params=yes
35114 fi
35115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35116 fi
35117
35118
35119
35120
35121 fi
35122 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35123 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35124
35125 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35126 cat >>confdefs.h <<\_ACEOF
35127 #define HAVE_UNIX98_PRINTF 1
35128 _ACEOF
35129
35130 fi
35131 fi
35132 fi
35133
35134 if test "$wxUSE_UNICODE" = yes; then
35135
35136 wchar_headers="#include <stdio.h>
35137 #include <wchar.h>"
35138 case "${host}" in
35139 *-*-solaris2* )
35140
35141 for ac_header in widec.h
35142 do
35143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 else
35149 cat >conftest.$ac_ext <<_ACEOF
35150 /* confdefs.h. */
35151 _ACEOF
35152 cat confdefs.h >>conftest.$ac_ext
35153 cat >>conftest.$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35155 $ac_includes_default
35156
35157 #include <$ac_header>
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35163 *) ac_try_echo=$ac_try;;
35164 esac
35165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35166 (eval "$ac_compile") 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } && {
35173 test -z "$ac_c_werror_flag" ||
35174 test ! -s conftest.err
35175 } && test -s conftest.$ac_objext; then
35176 eval "$as_ac_Header=yes"
35177 else
35178 echo "$as_me: failed program was:" >&5
35179 sed 's/^/| /' conftest.$ac_ext >&5
35180
35181 eval "$as_ac_Header=no"
35182 fi
35183
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35185 fi
35186 ac_res=`eval echo '${'$as_ac_Header'}'`
35187 { echo "$as_me:$LINENO: result: $ac_res" >&5
35188 echo "${ECHO_T}$ac_res" >&6; }
35189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35190 cat >>confdefs.h <<_ACEOF
35191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35192 _ACEOF
35193
35194 fi
35195
35196 done
35197
35198 if test "$ac_cv_header_widec_h" = "yes"; then
35199 wchar_headers="$wchar_headers
35200 #include <widec.h>"
35201 fi
35202 esac
35203
35204
35205 for wx_func in putws fputws wprintf vswprintf
35206 do
35207 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35208 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35209 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212
35213 cat >conftest.$ac_ext <<_ACEOF
35214
35215 /* confdefs.h. */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35220
35221 $wchar_headers
35222 $ac_includes_default
35223
35224 int
35225 main ()
35226 {
35227
35228 #ifndef $wx_func
35229 &$wx_func;
35230 #endif
35231
35232
35233 ;
35234 return 0;
35235 }
35236
35237 _ACEOF
35238 rm -f conftest.$ac_objext conftest$ac_exeext
35239 if { (ac_try="$ac_link"
35240 case "(($ac_try" in
35241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35242 *) ac_try_echo=$ac_try;;
35243 esac
35244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35245 (eval "$ac_link") 2>conftest.er1
35246 ac_status=$?
35247 grep -v '^ *+' conftest.er1 >conftest.err
35248 rm -f conftest.er1
35249 cat conftest.err >&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } && {
35252 test -z "$ac_c_werror_flag" ||
35253 test ! -s conftest.err
35254 } && test -s conftest$ac_exeext &&
35255 $as_test_x conftest$ac_exeext; then
35256 eval wx_cv_func_$wx_func=yes
35257 else
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35260
35261 eval wx_cv_func_$wx_func=no
35262 fi
35263
35264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35265 conftest$ac_exeext conftest.$ac_ext
35266
35267 fi
35268 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35269 { echo "$as_me:$LINENO: result: $ac_res" >&5
35270 echo "${ECHO_T}$ac_res" >&6; }
35271
35272 if eval test \$wx_cv_func_$wx_func = yes
35273 then
35274 cat >>confdefs.h <<_ACEOF
35275 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35276 _ACEOF
35277
35278
35279 else
35280 :
35281
35282 fi
35283 done
35284
35285
35286 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35287 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35288 cat >conftest.$ac_ext <<_ACEOF
35289 /* confdefs.h. */
35290 _ACEOF
35291 cat confdefs.h >>conftest.$ac_ext
35292 cat >>conftest.$ac_ext <<_ACEOF
35293 /* end confdefs.h. */
35294 #include <wchar.h>
35295 int
35296 main ()
35297 {
35298 &_vsnwprintf;
35299 ;
35300 return 0;
35301 }
35302 _ACEOF
35303 rm -f conftest.$ac_objext
35304 if { (ac_try="$ac_compile"
35305 case "(($ac_try" in
35306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35307 *) ac_try_echo=$ac_try;;
35308 esac
35309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35310 (eval "$ac_compile") 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } && {
35317 test -z "$ac_c_werror_flag" ||
35318 test ! -s conftest.err
35319 } && test -s conftest.$ac_objext; then
35320 { echo "$as_me:$LINENO: result: yes" >&5
35321 echo "${ECHO_T}yes" >&6; }
35322 cat >>confdefs.h <<\_ACEOF
35323 #define HAVE__VSNWPRINTF 1
35324 _ACEOF
35325
35326 else
35327 echo "$as_me: failed program was:" >&5
35328 sed 's/^/| /' conftest.$ac_ext >&5
35329
35330 { echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6; }
35332 fi
35333
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35335 fi
35336
35337 if test "$wxUSE_FILE" = "yes"; then
35338
35339 for wx_func in fsync
35340 do
35341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35343 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35345 else
35346
35347 cat >conftest.$ac_ext <<_ACEOF
35348
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354
35355
35356 $ac_includes_default
35357
35358 int
35359 main ()
35360 {
35361
35362 #ifndef $wx_func
35363 &$wx_func;
35364 #endif
35365
35366
35367 ;
35368 return 0;
35369 }
35370
35371 _ACEOF
35372 rm -f conftest.$ac_objext conftest$ac_exeext
35373 if { (ac_try="$ac_link"
35374 case "(($ac_try" in
35375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35376 *) ac_try_echo=$ac_try;;
35377 esac
35378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35379 (eval "$ac_link") 2>conftest.er1
35380 ac_status=$?
35381 grep -v '^ *+' conftest.er1 >conftest.err
35382 rm -f conftest.er1
35383 cat conftest.err >&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); } && {
35386 test -z "$ac_c_werror_flag" ||
35387 test ! -s conftest.err
35388 } && test -s conftest$ac_exeext &&
35389 $as_test_x conftest$ac_exeext; then
35390 eval wx_cv_func_$wx_func=yes
35391 else
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35394
35395 eval wx_cv_func_$wx_func=no
35396 fi
35397
35398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35399 conftest$ac_exeext conftest.$ac_ext
35400
35401 fi
35402 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35403 { echo "$as_me:$LINENO: result: $ac_res" >&5
35404 echo "${ECHO_T}$ac_res" >&6; }
35405
35406 if eval test \$wx_cv_func_$wx_func = yes
35407 then
35408 cat >>confdefs.h <<_ACEOF
35409 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35410 _ACEOF
35411
35412
35413 else
35414 :
35415
35416 fi
35417 done
35418
35419 fi
35420
35421 ac_ext=cpp
35422 ac_cpp='$CXXCPP $CPPFLAGS'
35423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35426
35427
35428 for wx_func in round
35429 do
35430 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35431 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35432 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35434 else
35435
35436 cat >conftest.$ac_ext <<_ACEOF
35437
35438 /* confdefs.h. */
35439 _ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443
35444 #include <math.h>
35445 $ac_includes_default
35446
35447 int
35448 main ()
35449 {
35450
35451 #ifndef $wx_func
35452 &$wx_func;
35453 #endif
35454
35455
35456 ;
35457 return 0;
35458 }
35459
35460 _ACEOF
35461 rm -f conftest.$ac_objext conftest$ac_exeext
35462 if { (ac_try="$ac_link"
35463 case "(($ac_try" in
35464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35465 *) ac_try_echo=$ac_try;;
35466 esac
35467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35468 (eval "$ac_link") 2>conftest.er1
35469 ac_status=$?
35470 grep -v '^ *+' conftest.er1 >conftest.err
35471 rm -f conftest.er1
35472 cat conftest.err >&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); } && {
35475 test -z "$ac_cxx_werror_flag" ||
35476 test ! -s conftest.err
35477 } && test -s conftest$ac_exeext &&
35478 $as_test_x conftest$ac_exeext; then
35479 eval wx_cv_func_$wx_func=yes
35480 else
35481 echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.$ac_ext >&5
35483
35484 eval wx_cv_func_$wx_func=no
35485 fi
35486
35487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35488 conftest$ac_exeext conftest.$ac_ext
35489
35490 fi
35491 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35492 { echo "$as_me:$LINENO: result: $ac_res" >&5
35493 echo "${ECHO_T}$ac_res" >&6; }
35494
35495 if eval test \$wx_cv_func_$wx_func = yes
35496 then
35497 cat >>confdefs.h <<_ACEOF
35498 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35499 _ACEOF
35500
35501
35502 else
35503 :
35504
35505 fi
35506 done
35507
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35513
35514
35515 if test "$TOOLKIT" != "MSW"; then
35516
35517
35518
35519
35520
35521 # Check whether --with-libiconv-prefix was given.
35522 if test "${with_libiconv_prefix+set}" = set; then
35523 withval=$with_libiconv_prefix;
35524 for dir in `echo "$withval" | tr : ' '`; do
35525 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35526 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35527 done
35528
35529 fi
35530
35531
35532 { echo "$as_me:$LINENO: checking for iconv" >&5
35533 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35534 if test "${am_cv_func_iconv+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35536 else
35537
35538 am_cv_func_iconv="no, consider installing GNU libiconv"
35539 am_cv_lib_iconv=no
35540 cat >conftest.$ac_ext <<_ACEOF
35541 /* confdefs.h. */
35542 _ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 #include <stdlib.h>
35547 #include <iconv.h>
35548 int
35549 main ()
35550 {
35551 iconv_t cd = iconv_open("","");
35552 iconv(cd,NULL,NULL,NULL,NULL);
35553 iconv_close(cd);
35554 ;
35555 return 0;
35556 }
35557 _ACEOF
35558 rm -f conftest.$ac_objext conftest$ac_exeext
35559 if { (ac_try="$ac_link"
35560 case "(($ac_try" in
35561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35562 *) ac_try_echo=$ac_try;;
35563 esac
35564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35565 (eval "$ac_link") 2>conftest.er1
35566 ac_status=$?
35567 grep -v '^ *+' conftest.er1 >conftest.err
35568 rm -f conftest.er1
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } && {
35572 test -z "$ac_c_werror_flag" ||
35573 test ! -s conftest.err
35574 } && test -s conftest$ac_exeext &&
35575 $as_test_x conftest$ac_exeext; then
35576 am_cv_func_iconv=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581
35582 fi
35583
35584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35585 conftest$ac_exeext conftest.$ac_ext
35586 if test "$am_cv_func_iconv" != yes; then
35587 am_save_LIBS="$LIBS"
35588 LIBS="$LIBS -liconv"
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 #include <stdlib.h>
35596 #include <iconv.h>
35597 int
35598 main ()
35599 {
35600 iconv_t cd = iconv_open("","");
35601 iconv(cd,NULL,NULL,NULL,NULL);
35602 iconv_close(cd);
35603 ;
35604 return 0;
35605 }
35606 _ACEOF
35607 rm -f conftest.$ac_objext conftest$ac_exeext
35608 if { (ac_try="$ac_link"
35609 case "(($ac_try" in
35610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35611 *) ac_try_echo=$ac_try;;
35612 esac
35613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35614 (eval "$ac_link") 2>conftest.er1
35615 ac_status=$?
35616 grep -v '^ *+' conftest.er1 >conftest.err
35617 rm -f conftest.er1
35618 cat conftest.err >&5
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); } && {
35621 test -z "$ac_c_werror_flag" ||
35622 test ! -s conftest.err
35623 } && test -s conftest$ac_exeext &&
35624 $as_test_x conftest$ac_exeext; then
35625 am_cv_lib_iconv=yes
35626 am_cv_func_iconv=yes
35627 else
35628 echo "$as_me: failed program was:" >&5
35629 sed 's/^/| /' conftest.$ac_ext >&5
35630
35631
35632 fi
35633
35634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35635 conftest$ac_exeext conftest.$ac_ext
35636 LIBS="$am_save_LIBS"
35637 fi
35638
35639 fi
35640 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35641 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35642 if test "$am_cv_func_iconv" = yes; then
35643
35644 cat >>confdefs.h <<\_ACEOF
35645 #define HAVE_ICONV 1
35646 _ACEOF
35647
35648 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35649 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35650 if test "${wx_cv_func_iconv_const+set}" = set; then
35651 echo $ECHO_N "(cached) $ECHO_C" >&6
35652 else
35653 cat >conftest.$ac_ext <<_ACEOF
35654 /* confdefs.h. */
35655 _ACEOF
35656 cat confdefs.h >>conftest.$ac_ext
35657 cat >>conftest.$ac_ext <<_ACEOF
35658 /* end confdefs.h. */
35659
35660 #include <stdlib.h>
35661 #include <iconv.h>
35662 extern
35663 #ifdef __cplusplus
35664 "C"
35665 #endif
35666 #if defined(__STDC__) || defined(__cplusplus)
35667 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35668 #else
35669 size_t iconv();
35670 #endif
35671
35672 int
35673 main ()
35674 {
35675
35676 ;
35677 return 0;
35678 }
35679 _ACEOF
35680 rm -f conftest.$ac_objext
35681 if { (ac_try="$ac_compile"
35682 case "(($ac_try" in
35683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35684 *) ac_try_echo=$ac_try;;
35685 esac
35686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35687 (eval "$ac_compile") 2>conftest.er1
35688 ac_status=$?
35689 grep -v '^ *+' conftest.er1 >conftest.err
35690 rm -f conftest.er1
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } && {
35694 test -z "$ac_c_werror_flag" ||
35695 test ! -s conftest.err
35696 } && test -s conftest.$ac_objext; then
35697 wx_cv_func_iconv_const="no"
35698 else
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35701
35702 wx_cv_func_iconv_const="yes"
35703
35704 fi
35705
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707
35708 fi
35709 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35710 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35711
35712 iconv_const=
35713 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35714 iconv_const="const"
35715 fi
35716
35717
35718 cat >>confdefs.h <<_ACEOF
35719 #define ICONV_CONST $iconv_const
35720 _ACEOF
35721
35722 fi
35723 LIBICONV=
35724 if test "$am_cv_lib_iconv" = yes; then
35725 LIBICONV="-liconv"
35726 fi
35727
35728
35729 LIBS="$LIBICONV $LIBS"
35730
35731 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35732
35733 for ac_func in sigaction
35734 do
35735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35739 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 else
35741 cat >conftest.$ac_ext <<_ACEOF
35742 /* confdefs.h. */
35743 _ACEOF
35744 cat confdefs.h >>conftest.$ac_ext
35745 cat >>conftest.$ac_ext <<_ACEOF
35746 /* end confdefs.h. */
35747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35749 #define $ac_func innocuous_$ac_func
35750
35751 /* System header to define __stub macros and hopefully few prototypes,
35752 which can conflict with char $ac_func (); below.
35753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35754 <limits.h> exists even on freestanding compilers. */
35755
35756 #ifdef __STDC__
35757 # include <limits.h>
35758 #else
35759 # include <assert.h>
35760 #endif
35761
35762 #undef $ac_func
35763
35764 /* Override any GCC internal prototype to avoid an error.
35765 Use char because int might match the return type of a GCC
35766 builtin and then its argument prototype would still apply. */
35767 #ifdef __cplusplus
35768 extern "C"
35769 #endif
35770 char $ac_func ();
35771 /* The GNU C library defines this for functions which it implements
35772 to always fail with ENOSYS. Some functions are actually named
35773 something starting with __ and the normal name is an alias. */
35774 #if defined __stub_$ac_func || defined __stub___$ac_func
35775 choke me
35776 #endif
35777
35778 int
35779 main ()
35780 {
35781 return $ac_func ();
35782 ;
35783 return 0;
35784 }
35785 _ACEOF
35786 rm -f conftest.$ac_objext conftest$ac_exeext
35787 if { (ac_try="$ac_link"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35790 *) ac_try_echo=$ac_try;;
35791 esac
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_link") 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_c_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest$ac_exeext &&
35803 $as_test_x conftest$ac_exeext; then
35804 eval "$as_ac_var=yes"
35805 else
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35808
35809 eval "$as_ac_var=no"
35810 fi
35811
35812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35813 conftest$ac_exeext conftest.$ac_ext
35814 fi
35815 ac_res=`eval echo '${'$as_ac_var'}'`
35816 { echo "$as_me:$LINENO: result: $ac_res" >&5
35817 echo "${ECHO_T}$ac_res" >&6; }
35818 if test `eval echo '${'$as_ac_var'}'` = yes; then
35819 cat >>confdefs.h <<_ACEOF
35820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35821 _ACEOF
35822
35823 fi
35824 done
35825
35826
35827 if test "$ac_cv_func_sigaction" = "no"; then
35828 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35829 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35830 wxUSE_ON_FATAL_EXCEPTION=no
35831 fi
35832
35833 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35834 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35835 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35836 if test "${wx_cv_type_sa_handler+set}" = set; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839
35840 ac_ext=cpp
35841 ac_cpp='$CXXCPP $CPPFLAGS'
35842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35845
35846 cat >conftest.$ac_ext <<_ACEOF
35847 /* confdefs.h. */
35848 _ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852 #include <signal.h>
35853 int
35854 main ()
35855 {
35856
35857 extern void testSigHandler(int);
35858
35859 struct sigaction sa;
35860 sa.sa_handler = testSigHandler;
35861
35862 ;
35863 return 0;
35864 }
35865 _ACEOF
35866 rm -f conftest.$ac_objext
35867 if { (ac_try="$ac_compile"
35868 case "(($ac_try" in
35869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35870 *) ac_try_echo=$ac_try;;
35871 esac
35872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35873 (eval "$ac_compile") 2>conftest.er1
35874 ac_status=$?
35875 grep -v '^ *+' conftest.er1 >conftest.err
35876 rm -f conftest.er1
35877 cat conftest.err >&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } && {
35880 test -z "$ac_cxx_werror_flag" ||
35881 test ! -s conftest.err
35882 } && test -s conftest.$ac_objext; then
35883
35884 wx_cv_type_sa_handler=int
35885
35886 else
35887 echo "$as_me: failed program was:" >&5
35888 sed 's/^/| /' conftest.$ac_ext >&5
35889
35890
35891 wx_cv_type_sa_handler=void
35892
35893 fi
35894
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35896 ac_ext=c
35897 ac_cpp='$CPP $CPPFLAGS'
35898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35901
35902
35903 fi
35904 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35905 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35906
35907 cat >>confdefs.h <<_ACEOF
35908 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35909 _ACEOF
35910
35911 fi
35912 fi
35913
35914 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35915 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35916 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35917 if test "${wx_cv_func_backtrace+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920
35921 ac_ext=cpp
35922 ac_cpp='$CXXCPP $CPPFLAGS'
35923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35926
35927 cat >conftest.$ac_ext <<_ACEOF
35928 /* confdefs.h. */
35929 _ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933 #include <execinfo.h>
35934 int
35935 main ()
35936 {
35937
35938 void *trace[1];
35939 char **messages;
35940
35941 backtrace(trace, 1);
35942 messages = backtrace_symbols(trace, 1);
35943
35944 ;
35945 return 0;
35946 }
35947 _ACEOF
35948 rm -f conftest.$ac_objext
35949 if { (ac_try="$ac_compile"
35950 case "(($ac_try" in
35951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35952 *) ac_try_echo=$ac_try;;
35953 esac
35954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35955 (eval "$ac_compile") 2>conftest.er1
35956 ac_status=$?
35957 grep -v '^ *+' conftest.er1 >conftest.err
35958 rm -f conftest.er1
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } && {
35962 test -z "$ac_cxx_werror_flag" ||
35963 test ! -s conftest.err
35964 } && test -s conftest.$ac_objext; then
35965 wx_cv_func_backtrace=yes
35966 else
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35969
35970 wx_cv_func_backtrace=no
35971
35972 fi
35973
35974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35975 ac_ext=c
35976 ac_cpp='$CPP $CPPFLAGS'
35977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35980
35981
35982
35983 fi
35984 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35985 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35986
35987
35988 if test "$wx_cv_func_backtrace" = "no"; then
35989 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35990 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35991 wxUSE_STACKWALKER=no
35992 else
35993 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35994 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35995 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 else
35998
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004
36005 cat >conftest.$ac_ext <<_ACEOF
36006 /* confdefs.h. */
36007 _ACEOF
36008 cat confdefs.h >>conftest.$ac_ext
36009 cat >>conftest.$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 #include <cxxabi.h>
36012 int
36013 main ()
36014 {
36015
36016 int rc;
36017 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36018
36019 ;
36020 return 0;
36021 }
36022 _ACEOF
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (ac_try="$ac_link"
36025 case "(($ac_try" in
36026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36028 esac
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_link") 2>conftest.er1
36031 ac_status=$?
36032 grep -v '^ *+' conftest.er1 >conftest.err
36033 rm -f conftest.er1
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_cxx_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest$ac_exeext &&
36040 $as_test_x conftest$ac_exeext; then
36041 wx_cv_func_cxa_demangle=yes
36042 else
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36045
36046 wx_cv_func_cxa_demangle=no
36047
36048 fi
36049
36050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36051 conftest$ac_exeext conftest.$ac_ext
36052 ac_ext=c
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36057
36058
36059
36060 fi
36061 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36062 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36063
36064 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36065 cat >>confdefs.h <<\_ACEOF
36066 #define HAVE_CXA_DEMANGLE 1
36067 _ACEOF
36068
36069 fi
36070 fi
36071 fi
36072
36073 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36074 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36075 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36076 wxUSE_STACKWALKER=no
36077 fi
36078
36079
36080
36081
36082 for ac_func in mkstemp mktemp
36083 do
36084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 else
36090 cat >conftest.$ac_ext <<_ACEOF
36091 /* confdefs.h. */
36092 _ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36098 #define $ac_func innocuous_$ac_func
36099
36100 /* System header to define __stub macros and hopefully few prototypes,
36101 which can conflict with char $ac_func (); below.
36102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36103 <limits.h> exists even on freestanding compilers. */
36104
36105 #ifdef __STDC__
36106 # include <limits.h>
36107 #else
36108 # include <assert.h>
36109 #endif
36110
36111 #undef $ac_func
36112
36113 /* Override any GCC internal prototype to avoid an error.
36114 Use char because int might match the return type of a GCC
36115 builtin and then its argument prototype would still apply. */
36116 #ifdef __cplusplus
36117 extern "C"
36118 #endif
36119 char $ac_func ();
36120 /* The GNU C library defines this for functions which it implements
36121 to always fail with ENOSYS. Some functions are actually named
36122 something starting with __ and the normal name is an alias. */
36123 #if defined __stub_$ac_func || defined __stub___$ac_func
36124 choke me
36125 #endif
36126
36127 int
36128 main ()
36129 {
36130 return $ac_func ();
36131 ;
36132 return 0;
36133 }
36134 _ACEOF
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36139 *) ac_try_echo=$ac_try;;
36140 esac
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36143 ac_status=$?
36144 grep -v '^ *+' conftest.er1 >conftest.err
36145 rm -f conftest.er1
36146 cat conftest.err >&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest$ac_exeext &&
36152 $as_test_x conftest$ac_exeext; then
36153 eval "$as_ac_var=yes"
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158 eval "$as_ac_var=no"
36159 fi
36160
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36163 fi
36164 ac_res=`eval echo '${'$as_ac_var'}'`
36165 { echo "$as_me:$LINENO: result: $ac_res" >&5
36166 echo "${ECHO_T}$ac_res" >&6; }
36167 if test `eval echo '${'$as_ac_var'}'` = yes; then
36168 cat >>confdefs.h <<_ACEOF
36169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36170 _ACEOF
36171 break
36172 fi
36173 done
36174
36175
36176 { echo "$as_me:$LINENO: checking for statfs" >&5
36177 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36178 if test "${wx_cv_func_statfs+set}" = set; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 else
36181 cat >conftest.$ac_ext <<_ACEOF
36182 /* confdefs.h. */
36183 _ACEOF
36184 cat confdefs.h >>conftest.$ac_ext
36185 cat >>conftest.$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36187
36188 #if defined(__BSD__)
36189 #include <sys/param.h>
36190 #include <sys/mount.h>
36191 #else
36192 #include <sys/vfs.h>
36193 #endif
36194
36195 int
36196 main ()
36197 {
36198
36199 long l;
36200 struct statfs fs;
36201 statfs("/", &fs);
36202 l = fs.f_bsize;
36203 l += fs.f_blocks;
36204 l += fs.f_bavail;
36205
36206 ;
36207 return 0;
36208 }
36209 _ACEOF
36210 rm -f conftest.$ac_objext
36211 if { (ac_try="$ac_compile"
36212 case "(($ac_try" in
36213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36215 esac
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_compile") 2>conftest.er1
36218 ac_status=$?
36219 grep -v '^ *+' conftest.er1 >conftest.err
36220 rm -f conftest.er1
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } && {
36224 test -z "$ac_c_werror_flag" ||
36225 test ! -s conftest.err
36226 } && test -s conftest.$ac_objext; then
36227 wx_cv_func_statfs=yes
36228 else
36229 echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.$ac_ext >&5
36231
36232 wx_cv_func_statfs=no
36233
36234 fi
36235
36236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36237
36238 fi
36239 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36240 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36241
36242 if test "$wx_cv_func_statfs" = "yes"; then
36243 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36244 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36245 if test "${wx_cv_func_statfs_decl+set}" = set; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36247 else
36248 ac_ext=cpp
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36253
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h. */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260
36261 #if defined(__BSD__)
36262 #include <sys/param.h>
36263 #include <sys/mount.h>
36264 #else
36265 #include <sys/vfs.h>
36266 #endif
36267
36268 int
36269 main ()
36270 {
36271
36272 struct statfs fs;
36273 statfs("", &fs);
36274
36275 ;
36276 return 0;
36277 }
36278 _ACEOF
36279 rm -f conftest.$ac_objext
36280 if { (ac_try="$ac_compile"
36281 case "(($ac_try" in
36282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36283 *) ac_try_echo=$ac_try;;
36284 esac
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_compile") 2>conftest.er1
36287 ac_status=$?
36288 grep -v '^ *+' conftest.er1 >conftest.err
36289 rm -f conftest.er1
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } && {
36293 test -z "$ac_cxx_werror_flag" ||
36294 test ! -s conftest.err
36295 } && test -s conftest.$ac_objext; then
36296 wx_cv_func_statfs_decl=yes
36297 else
36298 echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.$ac_ext >&5
36300
36301 wx_cv_func_statfs_decl=no
36302
36303 fi
36304
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36306 ac_ext=c
36307 ac_cpp='$CPP $CPPFLAGS'
36308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36311
36312
36313 fi
36314 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36315 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36316
36317 if test "$wx_cv_func_statfs_decl" = "yes"; then
36318 cat >>confdefs.h <<\_ACEOF
36319 #define HAVE_STATFS_DECL 1
36320 _ACEOF
36321
36322 fi
36323
36324 wx_cv_type_statvfs_t="struct statfs"
36325 cat >>confdefs.h <<\_ACEOF
36326 #define HAVE_STATFS 1
36327 _ACEOF
36328
36329 else
36330 { echo "$as_me:$LINENO: checking for statvfs" >&5
36331 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36332 if test "${wx_cv_func_statvfs+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36334 else
36335 cat >conftest.$ac_ext <<_ACEOF
36336 /* confdefs.h. */
36337 _ACEOF
36338 cat confdefs.h >>conftest.$ac_ext
36339 cat >>conftest.$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36341
36342 #include <stddef.h>
36343 #include <sys/statvfs.h>
36344
36345 int
36346 main ()
36347 {
36348
36349 statvfs("/", NULL);
36350
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 rm -f conftest.$ac_objext
36356 if { (ac_try="$ac_compile"
36357 case "(($ac_try" in
36358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36359 *) ac_try_echo=$ac_try;;
36360 esac
36361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36362 (eval "$ac_compile") 2>conftest.er1
36363 ac_status=$?
36364 grep -v '^ *+' conftest.er1 >conftest.err
36365 rm -f conftest.er1
36366 cat conftest.err >&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); } && {
36369 test -z "$ac_c_werror_flag" ||
36370 test ! -s conftest.err
36371 } && test -s conftest.$ac_objext; then
36372 wx_cv_func_statvfs=yes
36373 else
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36376
36377 wx_cv_func_statvfs=no
36378
36379 fi
36380
36381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36382
36383 fi
36384 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36385 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36386
36387 if test "$wx_cv_func_statvfs" = "yes"; then
36388 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36389 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36390 if test "${wx_cv_type_statvfs_t+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393 ac_ext=cpp
36394 ac_cpp='$CXXCPP $CPPFLAGS'
36395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398
36399 cat >conftest.$ac_ext <<_ACEOF
36400 /* confdefs.h. */
36401 _ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h. */
36405
36406 #include <sys/statvfs.h>
36407
36408 int
36409 main ()
36410 {
36411
36412 long l;
36413 statvfs_t fs;
36414 statvfs("/", &fs);
36415 l = fs.f_bsize;
36416 l += fs.f_blocks;
36417 l += fs.f_bavail;
36418
36419 ;
36420 return 0;
36421 }
36422 _ACEOF
36423 rm -f conftest.$ac_objext
36424 if { (ac_try="$ac_compile"
36425 case "(($ac_try" in
36426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36427 *) ac_try_echo=$ac_try;;
36428 esac
36429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36430 (eval "$ac_compile") 2>conftest.er1
36431 ac_status=$?
36432 grep -v '^ *+' conftest.er1 >conftest.err
36433 rm -f conftest.er1
36434 cat conftest.err >&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } && {
36437 test -z "$ac_cxx_werror_flag" ||
36438 test ! -s conftest.err
36439 } && test -s conftest.$ac_objext; then
36440 wx_cv_type_statvfs_t=statvfs_t
36441 else
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.$ac_ext >&5
36444
36445
36446 cat >conftest.$ac_ext <<_ACEOF
36447 /* confdefs.h. */
36448 _ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h. */
36452
36453 #include <sys/statvfs.h>
36454
36455 int
36456 main ()
36457 {
36458
36459 long l;
36460 struct statvfs fs;
36461 statvfs("/", &fs);
36462 l = fs.f_bsize;
36463 l += fs.f_blocks;
36464 l += fs.f_bavail;
36465
36466 ;
36467 return 0;
36468 }
36469 _ACEOF
36470 rm -f conftest.$ac_objext
36471 if { (ac_try="$ac_compile"
36472 case "(($ac_try" in
36473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36475 esac
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_compile") 2>conftest.er1
36478 ac_status=$?
36479 grep -v '^ *+' conftest.er1 >conftest.err
36480 rm -f conftest.er1
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_cxx_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest.$ac_objext; then
36487 wx_cv_type_statvfs_t="struct statvfs"
36488 else
36489 echo "$as_me: failed program was:" >&5
36490 sed 's/^/| /' conftest.$ac_ext >&5
36491
36492 wx_cv_type_statvfs_t="unknown"
36493
36494 fi
36495
36496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36497
36498
36499 fi
36500
36501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36502 ac_ext=c
36503 ac_cpp='$CPP $CPPFLAGS'
36504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36507
36508
36509 fi
36510 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36511 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36512
36513 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36514 cat >>confdefs.h <<\_ACEOF
36515 #define HAVE_STATVFS 1
36516 _ACEOF
36517
36518 fi
36519 else
36520 wx_cv_type_statvfs_t="unknown"
36521 fi
36522 fi
36523
36524 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36525 cat >>confdefs.h <<_ACEOF
36526 #define WX_STATFS_T $wx_cv_type_statvfs_t
36527 _ACEOF
36528
36529 else
36530 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36531 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36532 fi
36533
36534 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36535
36536
36537 for ac_func in fcntl flock
36538 do
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545 cat >conftest.$ac_ext <<_ACEOF
36546 /* confdefs.h. */
36547 _ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36554
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36559
36560 #ifdef __STDC__
36561 # include <limits.h>
36562 #else
36563 # include <assert.h>
36564 #endif
36565
36566 #undef $ac_func
36567
36568 /* Override any GCC internal prototype to avoid an error.
36569 Use char because int might match the return type of a GCC
36570 builtin and then its argument prototype would still apply. */
36571 #ifdef __cplusplus
36572 extern "C"
36573 #endif
36574 char $ac_func ();
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined __stub_$ac_func || defined __stub___$ac_func
36579 choke me
36580 #endif
36581
36582 int
36583 main ()
36584 {
36585 return $ac_func ();
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest$ac_exeext &&
36607 $as_test_x conftest$ac_exeext; then
36608 eval "$as_ac_var=yes"
36609 else
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.$ac_ext >&5
36612
36613 eval "$as_ac_var=no"
36614 fi
36615
36616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36617 conftest$ac_exeext conftest.$ac_ext
36618 fi
36619 ac_res=`eval echo '${'$as_ac_var'}'`
36620 { echo "$as_me:$LINENO: result: $ac_res" >&5
36621 echo "${ECHO_T}$ac_res" >&6; }
36622 if test `eval echo '${'$as_ac_var'}'` = yes; then
36623 cat >>confdefs.h <<_ACEOF
36624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36625 _ACEOF
36626 break
36627 fi
36628 done
36629
36630
36631 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36632 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36633 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36634 wxUSE_SNGLINST_CHECKER=no
36635 fi
36636 fi
36637
36638
36639
36640 for ac_func in setenv putenv
36641 do
36642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36657
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36662
36663 #ifdef __STDC__
36664 # include <limits.h>
36665 #else
36666 # include <assert.h>
36667 #endif
36668
36669 #undef $ac_func
36670
36671 /* Override any GCC internal prototype to avoid an error.
36672 Use char because int might match the return type of a GCC
36673 builtin and then its argument prototype would still apply. */
36674 #ifdef __cplusplus
36675 extern "C"
36676 #endif
36677 char $ac_func ();
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined __stub_$ac_func || defined __stub___$ac_func
36682 choke me
36683 #endif
36684
36685 int
36686 main ()
36687 {
36688 return $ac_func ();
36689 ;
36690 return 0;
36691 }
36692 _ACEOF
36693 rm -f conftest.$ac_objext conftest$ac_exeext
36694 if { (ac_try="$ac_link"
36695 case "(($ac_try" in
36696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36697 *) ac_try_echo=$ac_try;;
36698 esac
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_link") 2>conftest.er1
36701 ac_status=$?
36702 grep -v '^ *+' conftest.er1 >conftest.err
36703 rm -f conftest.er1
36704 cat conftest.err >&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest$ac_exeext &&
36710 $as_test_x conftest$ac_exeext; then
36711 eval "$as_ac_var=yes"
36712 else
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.$ac_ext >&5
36715
36716 eval "$as_ac_var=no"
36717 fi
36718
36719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36720 conftest$ac_exeext conftest.$ac_ext
36721 fi
36722 ac_res=`eval echo '${'$as_ac_var'}'`
36723 { echo "$as_me:$LINENO: result: $ac_res" >&5
36724 echo "${ECHO_T}$ac_res" >&6; }
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h <<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36728 _ACEOF
36729 break
36730 fi
36731 done
36732
36733 if test "$ac_cv_func_setenv" = "yes"; then
36734
36735 for ac_func in unsetenv
36736 do
36737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36751 #define $ac_func innocuous_$ac_func
36752
36753 /* System header to define __stub macros and hopefully few prototypes,
36754 which can conflict with char $ac_func (); below.
36755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36756 <limits.h> exists even on freestanding compilers. */
36757
36758 #ifdef __STDC__
36759 # include <limits.h>
36760 #else
36761 # include <assert.h>
36762 #endif
36763
36764 #undef $ac_func
36765
36766 /* Override any GCC internal prototype to avoid an error.
36767 Use char because int might match the return type of a GCC
36768 builtin and then its argument prototype would still apply. */
36769 #ifdef __cplusplus
36770 extern "C"
36771 #endif
36772 char $ac_func ();
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined __stub_$ac_func || defined __stub___$ac_func
36777 choke me
36778 #endif
36779
36780 int
36781 main ()
36782 {
36783 return $ac_func ();
36784 ;
36785 return 0;
36786 }
36787 _ACEOF
36788 rm -f conftest.$ac_objext conftest$ac_exeext
36789 if { (ac_try="$ac_link"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36792 *) ac_try_echo=$ac_try;;
36793 esac
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_link") 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest$ac_exeext &&
36805 $as_test_x conftest$ac_exeext; then
36806 eval "$as_ac_var=yes"
36807 else
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36810
36811 eval "$as_ac_var=no"
36812 fi
36813
36814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36815 conftest$ac_exeext conftest.$ac_ext
36816 fi
36817 ac_res=`eval echo '${'$as_ac_var'}'`
36818 { echo "$as_me:$LINENO: result: $ac_res" >&5
36819 echo "${ECHO_T}$ac_res" >&6; }
36820 if test `eval echo '${'$as_ac_var'}'` = yes; then
36821 cat >>confdefs.h <<_ACEOF
36822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36823 _ACEOF
36824
36825 fi
36826 done
36827
36828 fi
36829
36830 HAVE_SOME_SLEEP_FUNC=0
36831 if test "$USE_BEOS" = 1; then
36832 cat >>confdefs.h <<\_ACEOF
36833 #define HAVE_SLEEP 1
36834 _ACEOF
36835
36836 HAVE_SOME_SLEEP_FUNC=1
36837 fi
36838
36839 if test "$USE_DARWIN" = 1; then
36840 cat >>confdefs.h <<\_ACEOF
36841 #define HAVE_USLEEP 1
36842 _ACEOF
36843
36844 HAVE_SOME_SLEEP_FUNC=1
36845 fi
36846
36847 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36848 POSIX4_LINK=
36849
36850 for ac_func in nanosleep
36851 do
36852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36856 echo $ECHO_N "(cached) $ECHO_C" >&6
36857 else
36858 cat >conftest.$ac_ext <<_ACEOF
36859 /* confdefs.h. */
36860 _ACEOF
36861 cat confdefs.h >>conftest.$ac_ext
36862 cat >>conftest.$ac_ext <<_ACEOF
36863 /* end confdefs.h. */
36864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36866 #define $ac_func innocuous_$ac_func
36867
36868 /* System header to define __stub macros and hopefully few prototypes,
36869 which can conflict with char $ac_func (); below.
36870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36871 <limits.h> exists even on freestanding compilers. */
36872
36873 #ifdef __STDC__
36874 # include <limits.h>
36875 #else
36876 # include <assert.h>
36877 #endif
36878
36879 #undef $ac_func
36880
36881 /* Override any GCC internal prototype to avoid an error.
36882 Use char because int might match the return type of a GCC
36883 builtin and then its argument prototype would still apply. */
36884 #ifdef __cplusplus
36885 extern "C"
36886 #endif
36887 char $ac_func ();
36888 /* The GNU C library defines this for functions which it implements
36889 to always fail with ENOSYS. Some functions are actually named
36890 something starting with __ and the normal name is an alias. */
36891 #if defined __stub_$ac_func || defined __stub___$ac_func
36892 choke me
36893 #endif
36894
36895 int
36896 main ()
36897 {
36898 return $ac_func ();
36899 ;
36900 return 0;
36901 }
36902 _ACEOF
36903 rm -f conftest.$ac_objext conftest$ac_exeext
36904 if { (ac_try="$ac_link"
36905 case "(($ac_try" in
36906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36907 *) ac_try_echo=$ac_try;;
36908 esac
36909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36910 (eval "$ac_link") 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } && {
36917 test -z "$ac_c_werror_flag" ||
36918 test ! -s conftest.err
36919 } && test -s conftest$ac_exeext &&
36920 $as_test_x conftest$ac_exeext; then
36921 eval "$as_ac_var=yes"
36922 else
36923 echo "$as_me: failed program was:" >&5
36924 sed 's/^/| /' conftest.$ac_ext >&5
36925
36926 eval "$as_ac_var=no"
36927 fi
36928
36929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36930 conftest$ac_exeext conftest.$ac_ext
36931 fi
36932 ac_res=`eval echo '${'$as_ac_var'}'`
36933 { echo "$as_me:$LINENO: result: $ac_res" >&5
36934 echo "${ECHO_T}$ac_res" >&6; }
36935 if test `eval echo '${'$as_ac_var'}'` = yes; then
36936 cat >>confdefs.h <<_ACEOF
36937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36938 _ACEOF
36939 cat >>confdefs.h <<\_ACEOF
36940 #define HAVE_NANOSLEEP 1
36941 _ACEOF
36942
36943 else
36944
36945 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36946 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36947 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36948 echo $ECHO_N "(cached) $ECHO_C" >&6
36949 else
36950 ac_check_lib_save_LIBS=$LIBS
36951 LIBS="-lposix4 $LIBS"
36952 cat >conftest.$ac_ext <<_ACEOF
36953 /* confdefs.h. */
36954 _ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36958
36959 /* Override any GCC internal prototype to avoid an error.
36960 Use char because int might match the return type of a GCC
36961 builtin and then its argument prototype would still apply. */
36962 #ifdef __cplusplus
36963 extern "C"
36964 #endif
36965 char nanosleep ();
36966 int
36967 main ()
36968 {
36969 return nanosleep ();
36970 ;
36971 return 0;
36972 }
36973 _ACEOF
36974 rm -f conftest.$ac_objext conftest$ac_exeext
36975 if { (ac_try="$ac_link"
36976 case "(($ac_try" in
36977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36978 *) ac_try_echo=$ac_try;;
36979 esac
36980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36981 (eval "$ac_link") 2>conftest.er1
36982 ac_status=$?
36983 grep -v '^ *+' conftest.er1 >conftest.err
36984 rm -f conftest.er1
36985 cat conftest.err >&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } && {
36988 test -z "$ac_c_werror_flag" ||
36989 test ! -s conftest.err
36990 } && test -s conftest$ac_exeext &&
36991 $as_test_x conftest$ac_exeext; then
36992 ac_cv_lib_posix4_nanosleep=yes
36993 else
36994 echo "$as_me: failed program was:" >&5
36995 sed 's/^/| /' conftest.$ac_ext >&5
36996
36997 ac_cv_lib_posix4_nanosleep=no
36998 fi
36999
37000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37001 conftest$ac_exeext conftest.$ac_ext
37002 LIBS=$ac_check_lib_save_LIBS
37003 fi
37004 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37005 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37006 if test $ac_cv_lib_posix4_nanosleep = yes; then
37007
37008 cat >>confdefs.h <<\_ACEOF
37009 #define HAVE_NANOSLEEP 1
37010 _ACEOF
37011
37012 POSIX4_LINK=" -lposix4"
37013
37014 else
37015
37016
37017 for wx_func in usleep
37018 do
37019 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37020 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37021 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37022 echo $ECHO_N "(cached) $ECHO_C" >&6
37023 else
37024
37025 cat >conftest.$ac_ext <<_ACEOF
37026
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032
37033
37034 $ac_includes_default
37035
37036 int
37037 main ()
37038 {
37039
37040 #ifndef $wx_func
37041 &$wx_func;
37042 #endif
37043
37044
37045 ;
37046 return 0;
37047 }
37048
37049 _ACEOF
37050 rm -f conftest.$ac_objext conftest$ac_exeext
37051 if { (ac_try="$ac_link"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_link") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_c_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest$ac_exeext &&
37067 $as_test_x conftest$ac_exeext; then
37068 eval wx_cv_func_$wx_func=yes
37069 else
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 eval wx_cv_func_$wx_func=no
37074 fi
37075
37076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37077 conftest$ac_exeext conftest.$ac_ext
37078
37079 fi
37080 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37081 { echo "$as_me:$LINENO: result: $ac_res" >&5
37082 echo "${ECHO_T}$ac_res" >&6; }
37083
37084 if eval test \$wx_cv_func_$wx_func = yes
37085 then
37086 cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37088 _ACEOF
37089
37090
37091 else
37092 :
37093 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37094 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37095
37096 fi
37097 done
37098
37099
37100
37101 fi
37102
37103
37104
37105 fi
37106 done
37107
37108 fi
37109
37110
37111 for wx_func in uname
37112 do
37113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37116 echo $ECHO_N "(cached) $ECHO_C" >&6
37117 else
37118
37119 cat >conftest.$ac_ext <<_ACEOF
37120
37121 /* confdefs.h. */
37122 _ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126
37127 #include <sys/utsname.h>
37128 $ac_includes_default
37129
37130 int
37131 main ()
37132 {
37133
37134 #ifndef $wx_func
37135 &$wx_func;
37136 #endif
37137
37138
37139 ;
37140 return 0;
37141 }
37142
37143 _ACEOF
37144 rm -f conftest.$ac_objext conftest$ac_exeext
37145 if { (ac_try="$ac_link"
37146 case "(($ac_try" in
37147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37148 *) ac_try_echo=$ac_try;;
37149 esac
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_link") 2>conftest.er1
37152 ac_status=$?
37153 grep -v '^ *+' conftest.er1 >conftest.err
37154 rm -f conftest.er1
37155 cat conftest.err >&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); } && {
37158 test -z "$ac_c_werror_flag" ||
37159 test ! -s conftest.err
37160 } && test -s conftest$ac_exeext &&
37161 $as_test_x conftest$ac_exeext; then
37162 eval wx_cv_func_$wx_func=yes
37163 else
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.$ac_ext >&5
37166
37167 eval wx_cv_func_$wx_func=no
37168 fi
37169
37170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37171 conftest$ac_exeext conftest.$ac_ext
37172
37173 fi
37174 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37175 { echo "$as_me:$LINENO: result: $ac_res" >&5
37176 echo "${ECHO_T}$ac_res" >&6; }
37177
37178 if eval test \$wx_cv_func_$wx_func = yes
37179 then
37180 cat >>confdefs.h <<_ACEOF
37181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37182 _ACEOF
37183
37184
37185 else
37186 :
37187
37188 fi
37189 done
37190
37191 if test "$wx_cv_func_uname" != yes; then
37192
37193 for wx_func in gethostname
37194 do
37195 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37196 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37197 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37198 echo $ECHO_N "(cached) $ECHO_C" >&6
37199 else
37200
37201 cat >conftest.$ac_ext <<_ACEOF
37202
37203 /* confdefs.h. */
37204 _ACEOF
37205 cat confdefs.h >>conftest.$ac_ext
37206 cat >>conftest.$ac_ext <<_ACEOF
37207 /* end confdefs.h. */
37208
37209
37210 $ac_includes_default
37211
37212 int
37213 main ()
37214 {
37215
37216 #ifndef $wx_func
37217 &$wx_func;
37218 #endif
37219
37220
37221 ;
37222 return 0;
37223 }
37224
37225 _ACEOF
37226 rm -f conftest.$ac_objext conftest$ac_exeext
37227 if { (ac_try="$ac_link"
37228 case "(($ac_try" in
37229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37230 *) ac_try_echo=$ac_try;;
37231 esac
37232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37233 (eval "$ac_link") 2>conftest.er1
37234 ac_status=$?
37235 grep -v '^ *+' conftest.er1 >conftest.err
37236 rm -f conftest.er1
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } && {
37240 test -z "$ac_c_werror_flag" ||
37241 test ! -s conftest.err
37242 } && test -s conftest$ac_exeext &&
37243 $as_test_x conftest$ac_exeext; then
37244 eval wx_cv_func_$wx_func=yes
37245 else
37246 echo "$as_me: failed program was:" >&5
37247 sed 's/^/| /' conftest.$ac_ext >&5
37248
37249 eval wx_cv_func_$wx_func=no
37250 fi
37251
37252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37253 conftest$ac_exeext conftest.$ac_ext
37254
37255 fi
37256 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37257 { echo "$as_me:$LINENO: result: $ac_res" >&5
37258 echo "${ECHO_T}$ac_res" >&6; }
37259
37260 if eval test \$wx_cv_func_$wx_func = yes
37261 then
37262 cat >>confdefs.h <<_ACEOF
37263 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37264 _ACEOF
37265
37266
37267 else
37268 :
37269
37270 fi
37271 done
37272
37273 fi
37274
37275
37276 for wx_func in strtok_r
37277 do
37278 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37279 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37280 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37281 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 else
37283
37284 cat >conftest.$ac_ext <<_ACEOF
37285
37286 /* confdefs.h. */
37287 _ACEOF
37288 cat confdefs.h >>conftest.$ac_ext
37289 cat >>conftest.$ac_ext <<_ACEOF
37290 /* end confdefs.h. */
37291
37292 #define _REENTRANT
37293 $ac_includes_default
37294
37295 int
37296 main ()
37297 {
37298
37299 #ifndef $wx_func
37300 &$wx_func;
37301 #endif
37302
37303
37304 ;
37305 return 0;
37306 }
37307
37308 _ACEOF
37309 rm -f conftest.$ac_objext conftest$ac_exeext
37310 if { (ac_try="$ac_link"
37311 case "(($ac_try" in
37312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37313 *) ac_try_echo=$ac_try;;
37314 esac
37315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37316 (eval "$ac_link") 2>conftest.er1
37317 ac_status=$?
37318 grep -v '^ *+' conftest.er1 >conftest.err
37319 rm -f conftest.er1
37320 cat conftest.err >&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } && {
37323 test -z "$ac_c_werror_flag" ||
37324 test ! -s conftest.err
37325 } && test -s conftest$ac_exeext &&
37326 $as_test_x conftest$ac_exeext; then
37327 eval wx_cv_func_$wx_func=yes
37328 else
37329 echo "$as_me: failed program was:" >&5
37330 sed 's/^/| /' conftest.$ac_ext >&5
37331
37332 eval wx_cv_func_$wx_func=no
37333 fi
37334
37335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37336 conftest$ac_exeext conftest.$ac_ext
37337
37338 fi
37339 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37340 { echo "$as_me:$LINENO: result: $ac_res" >&5
37341 echo "${ECHO_T}$ac_res" >&6; }
37342
37343 if eval test \$wx_cv_func_$wx_func = yes
37344 then
37345 cat >>confdefs.h <<_ACEOF
37346 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37347 _ACEOF
37348
37349
37350 else
37351 :
37352
37353 fi
37354 done
37355
37356
37357 INET_LINK=
37358
37359 for ac_func in inet_addr
37360 do
37361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37364 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37365 echo $ECHO_N "(cached) $ECHO_C" >&6
37366 else
37367 cat >conftest.$ac_ext <<_ACEOF
37368 /* confdefs.h. */
37369 _ACEOF
37370 cat confdefs.h >>conftest.$ac_ext
37371 cat >>conftest.$ac_ext <<_ACEOF
37372 /* end confdefs.h. */
37373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37375 #define $ac_func innocuous_$ac_func
37376
37377 /* System header to define __stub macros and hopefully few prototypes,
37378 which can conflict with char $ac_func (); below.
37379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37380 <limits.h> exists even on freestanding compilers. */
37381
37382 #ifdef __STDC__
37383 # include <limits.h>
37384 #else
37385 # include <assert.h>
37386 #endif
37387
37388 #undef $ac_func
37389
37390 /* Override any GCC internal prototype to avoid an error.
37391 Use char because int might match the return type of a GCC
37392 builtin and then its argument prototype would still apply. */
37393 #ifdef __cplusplus
37394 extern "C"
37395 #endif
37396 char $ac_func ();
37397 /* The GNU C library defines this for functions which it implements
37398 to always fail with ENOSYS. Some functions are actually named
37399 something starting with __ and the normal name is an alias. */
37400 #if defined __stub_$ac_func || defined __stub___$ac_func
37401 choke me
37402 #endif
37403
37404 int
37405 main ()
37406 {
37407 return $ac_func ();
37408 ;
37409 return 0;
37410 }
37411 _ACEOF
37412 rm -f conftest.$ac_objext conftest$ac_exeext
37413 if { (ac_try="$ac_link"
37414 case "(($ac_try" in
37415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37416 *) ac_try_echo=$ac_try;;
37417 esac
37418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37419 (eval "$ac_link") 2>conftest.er1
37420 ac_status=$?
37421 grep -v '^ *+' conftest.er1 >conftest.err
37422 rm -f conftest.er1
37423 cat conftest.err >&5
37424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425 (exit $ac_status); } && {
37426 test -z "$ac_c_werror_flag" ||
37427 test ! -s conftest.err
37428 } && test -s conftest$ac_exeext &&
37429 $as_test_x conftest$ac_exeext; then
37430 eval "$as_ac_var=yes"
37431 else
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.$ac_ext >&5
37434
37435 eval "$as_ac_var=no"
37436 fi
37437
37438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37439 conftest$ac_exeext conftest.$ac_ext
37440 fi
37441 ac_res=`eval echo '${'$as_ac_var'}'`
37442 { echo "$as_me:$LINENO: result: $ac_res" >&5
37443 echo "${ECHO_T}$ac_res" >&6; }
37444 if test `eval echo '${'$as_ac_var'}'` = yes; then
37445 cat >>confdefs.h <<_ACEOF
37446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37447 _ACEOF
37448 cat >>confdefs.h <<\_ACEOF
37449 #define HAVE_INET_ADDR 1
37450 _ACEOF
37451
37452 else
37453
37454 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37455 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37456 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37457 echo $ECHO_N "(cached) $ECHO_C" >&6
37458 else
37459 ac_check_lib_save_LIBS=$LIBS
37460 LIBS="-lnsl $LIBS"
37461 cat >conftest.$ac_ext <<_ACEOF
37462 /* confdefs.h. */
37463 _ACEOF
37464 cat confdefs.h >>conftest.$ac_ext
37465 cat >>conftest.$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467
37468 /* Override any GCC internal prototype to avoid an error.
37469 Use char because int might match the return type of a GCC
37470 builtin and then its argument prototype would still apply. */
37471 #ifdef __cplusplus
37472 extern "C"
37473 #endif
37474 char inet_addr ();
37475 int
37476 main ()
37477 {
37478 return inet_addr ();
37479 ;
37480 return 0;
37481 }
37482 _ACEOF
37483 rm -f conftest.$ac_objext conftest$ac_exeext
37484 if { (ac_try="$ac_link"
37485 case "(($ac_try" in
37486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37487 *) ac_try_echo=$ac_try;;
37488 esac
37489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37490 (eval "$ac_link") 2>conftest.er1
37491 ac_status=$?
37492 grep -v '^ *+' conftest.er1 >conftest.err
37493 rm -f conftest.er1
37494 cat conftest.err >&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } && {
37497 test -z "$ac_c_werror_flag" ||
37498 test ! -s conftest.err
37499 } && test -s conftest$ac_exeext &&
37500 $as_test_x conftest$ac_exeext; then
37501 ac_cv_lib_nsl_inet_addr=yes
37502 else
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.$ac_ext >&5
37505
37506 ac_cv_lib_nsl_inet_addr=no
37507 fi
37508
37509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37510 conftest$ac_exeext conftest.$ac_ext
37511 LIBS=$ac_check_lib_save_LIBS
37512 fi
37513 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37514 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37515 if test $ac_cv_lib_nsl_inet_addr = yes; then
37516 INET_LINK="nsl"
37517 else
37518
37519 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37520 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37521 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 ac_check_lib_save_LIBS=$LIBS
37525 LIBS="-lresolv $LIBS"
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532
37533 /* Override any GCC internal prototype to avoid an error.
37534 Use char because int might match the return type of a GCC
37535 builtin and then its argument prototype would still apply. */
37536 #ifdef __cplusplus
37537 extern "C"
37538 #endif
37539 char inet_addr ();
37540 int
37541 main ()
37542 {
37543 return inet_addr ();
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 rm -f conftest.$ac_objext conftest$ac_exeext
37549 if { (ac_try="$ac_link"
37550 case "(($ac_try" in
37551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37552 *) ac_try_echo=$ac_try;;
37553 esac
37554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37555 (eval "$ac_link") 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } && {
37562 test -z "$ac_c_werror_flag" ||
37563 test ! -s conftest.err
37564 } && test -s conftest$ac_exeext &&
37565 $as_test_x conftest$ac_exeext; then
37566 ac_cv_lib_resolv_inet_addr=yes
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571 ac_cv_lib_resolv_inet_addr=no
37572 fi
37573
37574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37575 conftest$ac_exeext conftest.$ac_ext
37576 LIBS=$ac_check_lib_save_LIBS
37577 fi
37578 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37579 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37580 if test $ac_cv_lib_resolv_inet_addr = yes; then
37581 INET_LINK="resolv"
37582 else
37583
37584 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37585 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37586 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37589 ac_check_lib_save_LIBS=$LIBS
37590 LIBS="-lsocket $LIBS"
37591 cat >conftest.$ac_ext <<_ACEOF
37592 /* confdefs.h. */
37593 _ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597
37598 /* Override any GCC internal prototype to avoid an error.
37599 Use char because int might match the return type of a GCC
37600 builtin and then its argument prototype would still apply. */
37601 #ifdef __cplusplus
37602 extern "C"
37603 #endif
37604 char inet_addr ();
37605 int
37606 main ()
37607 {
37608 return inet_addr ();
37609 ;
37610 return 0;
37611 }
37612 _ACEOF
37613 rm -f conftest.$ac_objext conftest$ac_exeext
37614 if { (ac_try="$ac_link"
37615 case "(($ac_try" in
37616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37617 *) ac_try_echo=$ac_try;;
37618 esac
37619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37620 (eval "$ac_link") 2>conftest.er1
37621 ac_status=$?
37622 grep -v '^ *+' conftest.er1 >conftest.err
37623 rm -f conftest.er1
37624 cat conftest.err >&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } && {
37627 test -z "$ac_c_werror_flag" ||
37628 test ! -s conftest.err
37629 } && test -s conftest$ac_exeext &&
37630 $as_test_x conftest$ac_exeext; then
37631 ac_cv_lib_socket_inet_addr=yes
37632 else
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.$ac_ext >&5
37635
37636 ac_cv_lib_socket_inet_addr=no
37637 fi
37638
37639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37640 conftest$ac_exeext conftest.$ac_ext
37641 LIBS=$ac_check_lib_save_LIBS
37642 fi
37643 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37644 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37645 if test $ac_cv_lib_socket_inet_addr = yes; then
37646 INET_LINK="socket"
37647
37648 fi
37649
37650
37651
37652 fi
37653
37654
37655
37656 fi
37657
37658
37659
37660 fi
37661 done
37662
37663
37664
37665 for ac_func in inet_aton
37666 do
37667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37671 echo $ECHO_N "(cached) $ECHO_C" >&6
37672 else
37673 cat >conftest.$ac_ext <<_ACEOF
37674 /* confdefs.h. */
37675 _ACEOF
37676 cat confdefs.h >>conftest.$ac_ext
37677 cat >>conftest.$ac_ext <<_ACEOF
37678 /* end confdefs.h. */
37679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37681 #define $ac_func innocuous_$ac_func
37682
37683 /* System header to define __stub macros and hopefully few prototypes,
37684 which can conflict with char $ac_func (); below.
37685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37686 <limits.h> exists even on freestanding compilers. */
37687
37688 #ifdef __STDC__
37689 # include <limits.h>
37690 #else
37691 # include <assert.h>
37692 #endif
37693
37694 #undef $ac_func
37695
37696 /* Override any GCC internal prototype to avoid an error.
37697 Use char because int might match the return type of a GCC
37698 builtin and then its argument prototype would still apply. */
37699 #ifdef __cplusplus
37700 extern "C"
37701 #endif
37702 char $ac_func ();
37703 /* The GNU C library defines this for functions which it implements
37704 to always fail with ENOSYS. Some functions are actually named
37705 something starting with __ and the normal name is an alias. */
37706 #if defined __stub_$ac_func || defined __stub___$ac_func
37707 choke me
37708 #endif
37709
37710 int
37711 main ()
37712 {
37713 return $ac_func ();
37714 ;
37715 return 0;
37716 }
37717 _ACEOF
37718 rm -f conftest.$ac_objext conftest$ac_exeext
37719 if { (ac_try="$ac_link"
37720 case "(($ac_try" in
37721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37722 *) ac_try_echo=$ac_try;;
37723 esac
37724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37725 (eval "$ac_link") 2>conftest.er1
37726 ac_status=$?
37727 grep -v '^ *+' conftest.er1 >conftest.err
37728 rm -f conftest.er1
37729 cat conftest.err >&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); } && {
37732 test -z "$ac_c_werror_flag" ||
37733 test ! -s conftest.err
37734 } && test -s conftest$ac_exeext &&
37735 $as_test_x conftest$ac_exeext; then
37736 eval "$as_ac_var=yes"
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 eval "$as_ac_var=no"
37742 fi
37743
37744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37745 conftest$ac_exeext conftest.$ac_ext
37746 fi
37747 ac_res=`eval echo '${'$as_ac_var'}'`
37748 { echo "$as_me:$LINENO: result: $ac_res" >&5
37749 echo "${ECHO_T}$ac_res" >&6; }
37750 if test `eval echo '${'$as_ac_var'}'` = yes; then
37751 cat >>confdefs.h <<_ACEOF
37752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37753 _ACEOF
37754 cat >>confdefs.h <<\_ACEOF
37755 #define HAVE_INET_ATON 1
37756 _ACEOF
37757
37758 else
37759
37760 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37761 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37762 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37763 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37764 echo $ECHO_N "(cached) $ECHO_C" >&6
37765 else
37766 ac_check_lib_save_LIBS=$LIBS
37767 LIBS="-l$INET_LINK $LIBS"
37768 cat >conftest.$ac_ext <<_ACEOF
37769 /* confdefs.h. */
37770 _ACEOF
37771 cat confdefs.h >>conftest.$ac_ext
37772 cat >>conftest.$ac_ext <<_ACEOF
37773 /* end confdefs.h. */
37774
37775 /* Override any GCC internal prototype to avoid an error.
37776 Use char because int might match the return type of a GCC
37777 builtin and then its argument prototype would still apply. */
37778 #ifdef __cplusplus
37779 extern "C"
37780 #endif
37781 char inet_aton ();
37782 int
37783 main ()
37784 {
37785 return inet_aton ();
37786 ;
37787 return 0;
37788 }
37789 _ACEOF
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (ac_try="$ac_link"
37792 case "(($ac_try" in
37793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37794 *) ac_try_echo=$ac_try;;
37795 esac
37796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37797 (eval "$ac_link") 2>conftest.er1
37798 ac_status=$?
37799 grep -v '^ *+' conftest.er1 >conftest.err
37800 rm -f conftest.er1
37801 cat conftest.err >&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); } && {
37804 test -z "$ac_c_werror_flag" ||
37805 test ! -s conftest.err
37806 } && test -s conftest$ac_exeext &&
37807 $as_test_x conftest$ac_exeext; then
37808 eval "$as_ac_Lib=yes"
37809 else
37810 echo "$as_me: failed program was:" >&5
37811 sed 's/^/| /' conftest.$ac_ext >&5
37812
37813 eval "$as_ac_Lib=no"
37814 fi
37815
37816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37817 conftest$ac_exeext conftest.$ac_ext
37818 LIBS=$ac_check_lib_save_LIBS
37819 fi
37820 ac_res=`eval echo '${'$as_ac_Lib'}'`
37821 { echo "$as_me:$LINENO: result: $ac_res" >&5
37822 echo "${ECHO_T}$ac_res" >&6; }
37823 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37824 cat >>confdefs.h <<\_ACEOF
37825 #define HAVE_INET_ATON 1
37826 _ACEOF
37827
37828 fi
37829
37830
37831 fi
37832 done
37833
37834
37835 if test "x$INET_LINK" != "x"; then
37836 cat >>confdefs.h <<\_ACEOF
37837 #define HAVE_INET_ADDR 1
37838 _ACEOF
37839
37840 INET_LINK=" -l$INET_LINK"
37841 fi
37842
37843
37844 for wx_func in fdopen
37845 do
37846 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37847 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37848 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37849 echo $ECHO_N "(cached) $ECHO_C" >&6
37850 else
37851
37852 cat >conftest.$ac_ext <<_ACEOF
37853
37854 /* confdefs.h. */
37855 _ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859
37860
37861 $ac_includes_default
37862
37863 int
37864 main ()
37865 {
37866
37867 #ifndef $wx_func
37868 &$wx_func;
37869 #endif
37870
37871
37872 ;
37873 return 0;
37874 }
37875
37876 _ACEOF
37877 rm -f conftest.$ac_objext conftest$ac_exeext
37878 if { (ac_try="$ac_link"
37879 case "(($ac_try" in
37880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37881 *) ac_try_echo=$ac_try;;
37882 esac
37883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37884 (eval "$ac_link") 2>conftest.er1
37885 ac_status=$?
37886 grep -v '^ *+' conftest.er1 >conftest.err
37887 rm -f conftest.er1
37888 cat conftest.err >&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } && {
37891 test -z "$ac_c_werror_flag" ||
37892 test ! -s conftest.err
37893 } && test -s conftest$ac_exeext &&
37894 $as_test_x conftest$ac_exeext; then
37895 eval wx_cv_func_$wx_func=yes
37896 else
37897 echo "$as_me: failed program was:" >&5
37898 sed 's/^/| /' conftest.$ac_ext >&5
37899
37900 eval wx_cv_func_$wx_func=no
37901 fi
37902
37903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37904 conftest$ac_exeext conftest.$ac_ext
37905
37906 fi
37907 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37908 { echo "$as_me:$LINENO: result: $ac_res" >&5
37909 echo "${ECHO_T}$ac_res" >&6; }
37910
37911 if eval test \$wx_cv_func_$wx_func = yes
37912 then
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37915 _ACEOF
37916
37917
37918 else
37919 :
37920
37921 fi
37922 done
37923
37924
37925 if test "$wxUSE_TARSTREAM" = "yes"; then
37926
37927 for wx_func in sysconf
37928 do
37929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37931 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37932 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 else
37934
37935 cat >conftest.$ac_ext <<_ACEOF
37936
37937 /* confdefs.h. */
37938 _ACEOF
37939 cat confdefs.h >>conftest.$ac_ext
37940 cat >>conftest.$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37942
37943
37944 $ac_includes_default
37945
37946 int
37947 main ()
37948 {
37949
37950 #ifndef $wx_func
37951 &$wx_func;
37952 #endif
37953
37954
37955 ;
37956 return 0;
37957 }
37958
37959 _ACEOF
37960 rm -f conftest.$ac_objext conftest$ac_exeext
37961 if { (ac_try="$ac_link"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37964 *) ac_try_echo=$ac_try;;
37965 esac
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_link") 2>conftest.er1
37968 ac_status=$?
37969 grep -v '^ *+' conftest.er1 >conftest.err
37970 rm -f conftest.er1
37971 cat conftest.err >&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_c_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest$ac_exeext &&
37977 $as_test_x conftest$ac_exeext; then
37978 eval wx_cv_func_$wx_func=yes
37979 else
37980 echo "$as_me: failed program was:" >&5
37981 sed 's/^/| /' conftest.$ac_ext >&5
37982
37983 eval wx_cv_func_$wx_func=no
37984 fi
37985
37986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37987 conftest$ac_exeext conftest.$ac_ext
37988
37989 fi
37990 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37991 { echo "$as_me:$LINENO: result: $ac_res" >&5
37992 echo "${ECHO_T}$ac_res" >&6; }
37993
37994 if eval test \$wx_cv_func_$wx_func = yes
37995 then
37996 cat >>confdefs.h <<_ACEOF
37997 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37998 _ACEOF
37999
38000
38001 else
38002 :
38003
38004 fi
38005 done
38006
38007
38008
38009 for wx_func in getpwuid_r
38010 do
38011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38016
38017 cat >conftest.$ac_ext <<_ACEOF
38018
38019 /* confdefs.h. */
38020 _ACEOF
38021 cat confdefs.h >>conftest.$ac_ext
38022 cat >>conftest.$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024
38025
38026 #define _REENTRANT
38027 #include <pwd.h>
38028
38029 $ac_includes_default
38030
38031 int
38032 main ()
38033 {
38034
38035 #ifndef $wx_func
38036 &$wx_func;
38037 #endif
38038
38039 struct passwd pw, *ppw;
38040 char buf[1024];
38041 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38042
38043
38044 ;
38045 return 0;
38046 }
38047
38048 _ACEOF
38049 rm -f conftest.$ac_objext conftest$ac_exeext
38050 if { (ac_try="$ac_link"
38051 case "(($ac_try" in
38052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38053 *) ac_try_echo=$ac_try;;
38054 esac
38055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38056 (eval "$ac_link") 2>conftest.er1
38057 ac_status=$?
38058 grep -v '^ *+' conftest.er1 >conftest.err
38059 rm -f conftest.er1
38060 cat conftest.err >&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } && {
38063 test -z "$ac_c_werror_flag" ||
38064 test ! -s conftest.err
38065 } && test -s conftest$ac_exeext &&
38066 $as_test_x conftest$ac_exeext; then
38067 eval wx_cv_func_$wx_func=yes
38068 else
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38071
38072 eval wx_cv_func_$wx_func=no
38073 fi
38074
38075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38076 conftest$ac_exeext conftest.$ac_ext
38077
38078 fi
38079 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38080 { echo "$as_me:$LINENO: result: $ac_res" >&5
38081 echo "${ECHO_T}$ac_res" >&6; }
38082
38083 if eval test \$wx_cv_func_$wx_func = yes
38084 then
38085 cat >>confdefs.h <<_ACEOF
38086 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38087 _ACEOF
38088
38089
38090 else
38091 :
38092
38093 fi
38094 done
38095
38096
38097
38098 for wx_func in getgrgid_r
38099 do
38100 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38101 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38102 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 else
38105
38106 cat >conftest.$ac_ext <<_ACEOF
38107
38108 /* confdefs.h. */
38109 _ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38113
38114
38115 #define _REENTRANT
38116 #include <grp.h>
38117
38118 $ac_includes_default
38119
38120 int
38121 main ()
38122 {
38123
38124 #ifndef $wx_func
38125 &$wx_func;
38126 #endif
38127
38128 struct group grp, *pgrp;
38129 char buf[1024];
38130 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38131
38132
38133 ;
38134 return 0;
38135 }
38136
38137 _ACEOF
38138 rm -f conftest.$ac_objext conftest$ac_exeext
38139 if { (ac_try="$ac_link"
38140 case "(($ac_try" in
38141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38142 *) ac_try_echo=$ac_try;;
38143 esac
38144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38145 (eval "$ac_link") 2>conftest.er1
38146 ac_status=$?
38147 grep -v '^ *+' conftest.er1 >conftest.err
38148 rm -f conftest.er1
38149 cat conftest.err >&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } && {
38152 test -z "$ac_c_werror_flag" ||
38153 test ! -s conftest.err
38154 } && test -s conftest$ac_exeext &&
38155 $as_test_x conftest$ac_exeext; then
38156 eval wx_cv_func_$wx_func=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 eval wx_cv_func_$wx_func=no
38162 fi
38163
38164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38165 conftest$ac_exeext conftest.$ac_ext
38166
38167 fi
38168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38171
38172 if eval test \$wx_cv_func_$wx_func = yes
38173 then
38174 cat >>confdefs.h <<_ACEOF
38175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38176 _ACEOF
38177
38178
38179 else
38180 :
38181
38182 fi
38183 done
38184
38185 fi
38186
38187 fi
38188
38189
38190
38191 cat >confcache <<\_ACEOF
38192 # This file is a shell script that caches the results of configure
38193 # tests run on this system so they can be shared between configure
38194 # scripts and configure runs, see configure's option --config-cache.
38195 # It is not useful on other systems. If it contains results you don't
38196 # want to keep, you may remove or edit it.
38197 #
38198 # config.status only pays attention to the cache file if you give it
38199 # the --recheck option to rerun configure.
38200 #
38201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38203 # following values.
38204
38205 _ACEOF
38206
38207 # The following way of writing the cache mishandles newlines in values,
38208 # but we know of no workaround that is simple, portable, and efficient.
38209 # So, we kill variables containing newlines.
38210 # Ultrix sh set writes to stderr and can't be redirected directly,
38211 # and sets the high bit in the cache file unless we assign to the vars.
38212 (
38213 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38214 eval ac_val=\$$ac_var
38215 case $ac_val in #(
38216 *${as_nl}*)
38217 case $ac_var in #(
38218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38220 esac
38221 case $ac_var in #(
38222 _ | IFS | as_nl) ;; #(
38223 *) $as_unset $ac_var ;;
38224 esac ;;
38225 esac
38226 done
38227
38228 (set) 2>&1 |
38229 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38230 *${as_nl}ac_space=\ *)
38231 # `set' does not quote correctly, so add quotes (double-quote
38232 # substitution turns \\\\ into \\, and sed turns \\ into \).
38233 sed -n \
38234 "s/'/'\\\\''/g;
38235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38236 ;; #(
38237 *)
38238 # `set' quotes correctly as required by POSIX, so do not add quotes.
38239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38240 ;;
38241 esac |
38242 sort
38243 ) |
38244 sed '
38245 /^ac_cv_env_/b end
38246 t clear
38247 :clear
38248 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38249 t end
38250 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38251 :end' >>confcache
38252 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38253 if test -w "$cache_file"; then
38254 test "x$cache_file" != "x/dev/null" &&
38255 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38256 echo "$as_me: updating cache $cache_file" >&6;}
38257 cat confcache >$cache_file
38258 else
38259 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38260 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38261 fi
38262 fi
38263 rm -f confcache
38264
38265
38266 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38267
38268
38269 THREADS_LINK=
38270 THREADS_CFLAGS=
38271
38272 if test "$wxUSE_THREADS" = "yes" ; then
38273 if test "$USE_BEOS" = 1; then
38274 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38275 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38276 wxUSE_THREADS="no"
38277 fi
38278 fi
38279
38280 if test "$wxUSE_THREADS" = "yes" ; then
38281
38282
38283 THREAD_OPTS="-pthread"
38284 if test "x$SUNCXX" = xyes; then
38285 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38286 fi
38287
38288 case "${host}" in
38289 *-*-solaris2* | *-*-sunos4* )
38290 if test "x$GCC" = "xyes"; then
38291 THREAD_OPTS="-pthreads $THREAD_OPTS"
38292 fi
38293 ;;
38294 *-*-freebsd*)
38295 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38296 ;;
38297 *-*-darwin* | *-*-cygwin* )
38298 THREAD_OPTS=""
38299 ;;
38300 *-*-aix*)
38301 THREAD_OPTS="pthreads"
38302 ;;
38303 *-hp-hpux* )
38304 if test "x$GCC" = "xyes"; then
38305 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38306 THREAD_OPTS=""
38307 else
38308 THREAD_OPTS="-mt"
38309 fi
38310 ;;
38311
38312 *-*-irix* )
38313 if test "x$GCC" = "xyes"; then
38314 THREAD_OPTS=""
38315 fi
38316 ;;
38317
38318 *-*-*UnixWare*)
38319 if test "x$GCC" != "xyes"; then
38320 THREAD_OPTS="-Ethread"
38321 fi
38322 ;;
38323 esac
38324
38325 THREAD_OPTS="$THREAD_OPTS pthread none"
38326
38327 THREADS_OK=no
38328 for flag in $THREAD_OPTS; do
38329 case $flag in
38330 none)
38331 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38332 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38333 ;;
38334
38335 -*)
38336 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38337 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38338 THREADS_CFLAGS="$flag"
38339 ;;
38340
38341 *)
38342 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38343 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38344 THREADS_LINK="-l$flag"
38345 ;;
38346 esac
38347
38348 save_LIBS="$LIBS"
38349 save_CFLAGS="$CFLAGS"
38350 LIBS="$THREADS_LINK $LIBS"
38351 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38352
38353 cat >conftest.$ac_ext <<_ACEOF
38354 /* confdefs.h. */
38355 _ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 #include <pthread.h>
38360 int
38361 main ()
38362 {
38363 pthread_create(0,0,0,0);
38364 ;
38365 return 0;
38366 }
38367 _ACEOF
38368 rm -f conftest.$ac_objext conftest$ac_exeext
38369 if { (ac_try="$ac_link"
38370 case "(($ac_try" in
38371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38372 *) ac_try_echo=$ac_try;;
38373 esac
38374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38375 (eval "$ac_link") 2>conftest.er1
38376 ac_status=$?
38377 grep -v '^ *+' conftest.er1 >conftest.err
38378 rm -f conftest.er1
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } && {
38382 test -z "$ac_c_werror_flag" ||
38383 test ! -s conftest.err
38384 } && test -s conftest$ac_exeext &&
38385 $as_test_x conftest$ac_exeext; then
38386 THREADS_OK=yes
38387 else
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38390
38391
38392 fi
38393
38394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38395 conftest$ac_exeext conftest.$ac_ext
38396
38397 LIBS="$save_LIBS"
38398 CFLAGS="$save_CFLAGS"
38399
38400 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38401 echo "${ECHO_T}$THREADS_OK" >&6; }
38402 if test "x$THREADS_OK" = "xyes"; then
38403 break;
38404 fi
38405
38406 THREADS_LINK=""
38407 THREADS_CFLAGS=""
38408 done
38409
38410 if test "x$THREADS_OK" != "xyes"; then
38411 wxUSE_THREADS=no
38412 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38413 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38414 else
38415 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38416 LIBS="$THREADS_LINK $LIBS"
38417
38418 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38419 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38420 flag=no
38421 case "${host}" in
38422 *-aix*)
38423 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38424 flag="-D_THREAD_SAFE"
38425 ;;
38426 *-freebsd*)
38427 flag="-D_THREAD_SAFE"
38428 ;;
38429 *-hp-hpux* )
38430 flag="-D_REENTRANT"
38431 if test "x$GCC" != "xyes"; then
38432 flag="$flag -D_RWSTD_MULTI_THREAD"
38433 fi
38434 ;;
38435 *solaris* | alpha*-osf*)
38436 flag="-D_REENTRANT"
38437 ;;
38438 esac
38439 { echo "$as_me:$LINENO: result: ${flag}" >&5
38440 echo "${ECHO_T}${flag}" >&6; }
38441 if test "x$flag" != xno; then
38442 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38443 fi
38444
38445 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38446 fi
38447 fi
38448
38449 if test "$wxUSE_THREADS" = "yes" ; then
38450
38451 for ac_func in thr_setconcurrency
38452 do
38453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38457 echo $ECHO_N "(cached) $ECHO_C" >&6
38458 else
38459 cat >conftest.$ac_ext <<_ACEOF
38460 /* confdefs.h. */
38461 _ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h. */
38465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38467 #define $ac_func innocuous_$ac_func
38468
38469 /* System header to define __stub macros and hopefully few prototypes,
38470 which can conflict with char $ac_func (); below.
38471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38472 <limits.h> exists even on freestanding compilers. */
38473
38474 #ifdef __STDC__
38475 # include <limits.h>
38476 #else
38477 # include <assert.h>
38478 #endif
38479
38480 #undef $ac_func
38481
38482 /* Override any GCC internal prototype to avoid an error.
38483 Use char because int might match the return type of a GCC
38484 builtin and then its argument prototype would still apply. */
38485 #ifdef __cplusplus
38486 extern "C"
38487 #endif
38488 char $ac_func ();
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined __stub_$ac_func || defined __stub___$ac_func
38493 choke me
38494 #endif
38495
38496 int
38497 main ()
38498 {
38499 return $ac_func ();
38500 ;
38501 return 0;
38502 }
38503 _ACEOF
38504 rm -f conftest.$ac_objext conftest$ac_exeext
38505 if { (ac_try="$ac_link"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38509 esac
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_link") 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_c_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest$ac_exeext &&
38521 $as_test_x conftest$ac_exeext; then
38522 eval "$as_ac_var=yes"
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38526
38527 eval "$as_ac_var=no"
38528 fi
38529
38530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38531 conftest$ac_exeext conftest.$ac_ext
38532 fi
38533 ac_res=`eval echo '${'$as_ac_var'}'`
38534 { echo "$as_me:$LINENO: result: $ac_res" >&5
38535 echo "${ECHO_T}$ac_res" >&6; }
38536 if test `eval echo '${'$as_ac_var'}'` = yes; then
38537 cat >>confdefs.h <<_ACEOF
38538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38539 _ACEOF
38540
38541 fi
38542 done
38543
38544
38545 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38546 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38547 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38549 else
38550
38551 ac_ext=cpp
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38556
38557 cat >conftest.$ac_ext <<_ACEOF
38558 /* confdefs.h. */
38559 _ACEOF
38560 cat confdefs.h >>conftest.$ac_ext
38561 cat >>conftest.$ac_ext <<_ACEOF
38562 /* end confdefs.h. */
38563 #include <pthread.h>
38564 void ThreadCleanupFunc(void *p);
38565
38566 int
38567 main ()
38568 {
38569
38570 void *p;
38571 pthread_cleanup_push(ThreadCleanupFunc, p);
38572 pthread_cleanup_pop(0);
38573
38574 ;
38575 return 0;
38576 }
38577 _ACEOF
38578 rm -f conftest.$ac_objext
38579 if { (ac_try="$ac_compile"
38580 case "(($ac_try" in
38581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38582 *) ac_try_echo=$ac_try;;
38583 esac
38584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38585 (eval "$ac_compile") 2>conftest.er1
38586 ac_status=$?
38587 grep -v '^ *+' conftest.er1 >conftest.err
38588 rm -f conftest.er1
38589 cat conftest.err >&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); } && {
38592 test -z "$ac_cxx_werror_flag" ||
38593 test ! -s conftest.err
38594 } && test -s conftest.$ac_objext; then
38595
38596 wx_cv_func_pthread_cleanup=yes
38597
38598 else
38599 echo "$as_me: failed program was:" >&5
38600 sed 's/^/| /' conftest.$ac_ext >&5
38601
38602
38603 wx_cv_func_pthread_cleanup=no
38604
38605
38606 fi
38607
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615
38616 fi
38617 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38618 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38619 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38620 cat >>confdefs.h <<\_ACEOF
38621 #define wxHAVE_PTHREAD_CLEANUP 1
38622 _ACEOF
38623
38624 fi
38625
38626
38627 for ac_header in sched.h
38628 do
38629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38634 else
38635 cat >conftest.$ac_ext <<_ACEOF
38636 /* confdefs.h. */
38637 _ACEOF
38638 cat confdefs.h >>conftest.$ac_ext
38639 cat >>conftest.$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38641 $ac_includes_default
38642
38643 #include <$ac_header>
38644 _ACEOF
38645 rm -f conftest.$ac_objext
38646 if { (ac_try="$ac_compile"
38647 case "(($ac_try" in
38648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38649 *) ac_try_echo=$ac_try;;
38650 esac
38651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38652 (eval "$ac_compile") 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } && {
38659 test -z "$ac_c_werror_flag" ||
38660 test ! -s conftest.err
38661 } && test -s conftest.$ac_objext; then
38662 eval "$as_ac_Header=yes"
38663 else
38664 echo "$as_me: failed program was:" >&5
38665 sed 's/^/| /' conftest.$ac_ext >&5
38666
38667 eval "$as_ac_Header=no"
38668 fi
38669
38670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38671 fi
38672 ac_res=`eval echo '${'$as_ac_Header'}'`
38673 { echo "$as_me:$LINENO: result: $ac_res" >&5
38674 echo "${ECHO_T}$ac_res" >&6; }
38675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38676 cat >>confdefs.h <<_ACEOF
38677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38678 _ACEOF
38679
38680 fi
38681
38682 done
38683
38684 if test "$ac_cv_header_sched_h" = "yes"; then
38685 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38686 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38687 if test "${ac_cv_func_sched_yield+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690 cat >conftest.$ac_ext <<_ACEOF
38691 /* confdefs.h. */
38692 _ACEOF
38693 cat confdefs.h >>conftest.$ac_ext
38694 cat >>conftest.$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38698 #define sched_yield innocuous_sched_yield
38699
38700 /* System header to define __stub macros and hopefully few prototypes,
38701 which can conflict with char sched_yield (); below.
38702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38703 <limits.h> exists even on freestanding compilers. */
38704
38705 #ifdef __STDC__
38706 # include <limits.h>
38707 #else
38708 # include <assert.h>
38709 #endif
38710
38711 #undef sched_yield
38712
38713 /* Override any GCC internal prototype to avoid an error.
38714 Use char because int might match the return type of a GCC
38715 builtin and then its argument prototype would still apply. */
38716 #ifdef __cplusplus
38717 extern "C"
38718 #endif
38719 char sched_yield ();
38720 /* The GNU C library defines this for functions which it implements
38721 to always fail with ENOSYS. Some functions are actually named
38722 something starting with __ and the normal name is an alias. */
38723 #if defined __stub_sched_yield || defined __stub___sched_yield
38724 choke me
38725 #endif
38726
38727 int
38728 main ()
38729 {
38730 return sched_yield ();
38731 ;
38732 return 0;
38733 }
38734 _ACEOF
38735 rm -f conftest.$ac_objext conftest$ac_exeext
38736 if { (ac_try="$ac_link"
38737 case "(($ac_try" in
38738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38739 *) ac_try_echo=$ac_try;;
38740 esac
38741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38742 (eval "$ac_link") 2>conftest.er1
38743 ac_status=$?
38744 grep -v '^ *+' conftest.er1 >conftest.err
38745 rm -f conftest.er1
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } && {
38749 test -z "$ac_c_werror_flag" ||
38750 test ! -s conftest.err
38751 } && test -s conftest$ac_exeext &&
38752 $as_test_x conftest$ac_exeext; then
38753 ac_cv_func_sched_yield=yes
38754 else
38755 echo "$as_me: failed program was:" >&5
38756 sed 's/^/| /' conftest.$ac_ext >&5
38757
38758 ac_cv_func_sched_yield=no
38759 fi
38760
38761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38762 conftest$ac_exeext conftest.$ac_ext
38763 fi
38764 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38765 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38766 if test $ac_cv_func_sched_yield = yes; then
38767 cat >>confdefs.h <<\_ACEOF
38768 #define HAVE_SCHED_YIELD 1
38769 _ACEOF
38770
38771 else
38772
38773 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38774 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38775 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38777 else
38778 ac_check_lib_save_LIBS=$LIBS
38779 LIBS="-lposix4 $LIBS"
38780 cat >conftest.$ac_ext <<_ACEOF
38781 /* confdefs.h. */
38782 _ACEOF
38783 cat confdefs.h >>conftest.$ac_ext
38784 cat >>conftest.$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38786
38787 /* Override any GCC internal prototype to avoid an error.
38788 Use char because int might match the return type of a GCC
38789 builtin and then its argument prototype would still apply. */
38790 #ifdef __cplusplus
38791 extern "C"
38792 #endif
38793 char sched_yield ();
38794 int
38795 main ()
38796 {
38797 return sched_yield ();
38798 ;
38799 return 0;
38800 }
38801 _ACEOF
38802 rm -f conftest.$ac_objext conftest$ac_exeext
38803 if { (ac_try="$ac_link"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38807 esac
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_link") 2>conftest.er1
38810 ac_status=$?
38811 grep -v '^ *+' conftest.er1 >conftest.err
38812 rm -f conftest.er1
38813 cat conftest.err >&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest$ac_exeext &&
38819 $as_test_x conftest$ac_exeext; then
38820 ac_cv_lib_posix4_sched_yield=yes
38821 else
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.$ac_ext >&5
38824
38825 ac_cv_lib_posix4_sched_yield=no
38826 fi
38827
38828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38829 conftest$ac_exeext conftest.$ac_ext
38830 LIBS=$ac_check_lib_save_LIBS
38831 fi
38832 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38833 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38834 if test $ac_cv_lib_posix4_sched_yield = yes; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_SCHED_YIELD 1
38837 _ACEOF
38838 POSIX4_LINK=" -lposix4"
38839 else
38840 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38841 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38842
38843 fi
38844
38845
38846
38847 fi
38848
38849 fi
38850
38851 HAVE_PRIOR_FUNCS=0
38852 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38853 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38854 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38855 echo $ECHO_N "(cached) $ECHO_C" >&6
38856 else
38857 cat >conftest.$ac_ext <<_ACEOF
38858 /* confdefs.h. */
38859 _ACEOF
38860 cat confdefs.h >>conftest.$ac_ext
38861 cat >>conftest.$ac_ext <<_ACEOF
38862 /* end confdefs.h. */
38863 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38865 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38866
38867 /* System header to define __stub macros and hopefully few prototypes,
38868 which can conflict with char pthread_attr_getschedpolicy (); below.
38869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38870 <limits.h> exists even on freestanding compilers. */
38871
38872 #ifdef __STDC__
38873 # include <limits.h>
38874 #else
38875 # include <assert.h>
38876 #endif
38877
38878 #undef pthread_attr_getschedpolicy
38879
38880 /* Override any GCC internal prototype to avoid an error.
38881 Use char because int might match the return type of a GCC
38882 builtin and then its argument prototype would still apply. */
38883 #ifdef __cplusplus
38884 extern "C"
38885 #endif
38886 char pthread_attr_getschedpolicy ();
38887 /* The GNU C library defines this for functions which it implements
38888 to always fail with ENOSYS. Some functions are actually named
38889 something starting with __ and the normal name is an alias. */
38890 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38891 choke me
38892 #endif
38893
38894 int
38895 main ()
38896 {
38897 return pthread_attr_getschedpolicy ();
38898 ;
38899 return 0;
38900 }
38901 _ACEOF
38902 rm -f conftest.$ac_objext conftest$ac_exeext
38903 if { (ac_try="$ac_link"
38904 case "(($ac_try" in
38905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38906 *) ac_try_echo=$ac_try;;
38907 esac
38908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38909 (eval "$ac_link") 2>conftest.er1
38910 ac_status=$?
38911 grep -v '^ *+' conftest.er1 >conftest.err
38912 rm -f conftest.er1
38913 cat conftest.err >&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); } && {
38916 test -z "$ac_c_werror_flag" ||
38917 test ! -s conftest.err
38918 } && test -s conftest$ac_exeext &&
38919 $as_test_x conftest$ac_exeext; then
38920 ac_cv_func_pthread_attr_getschedpolicy=yes
38921 else
38922 echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38924
38925 ac_cv_func_pthread_attr_getschedpolicy=no
38926 fi
38927
38928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38929 conftest$ac_exeext conftest.$ac_ext
38930 fi
38931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38932 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38933 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38934 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38935 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38936 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38938 else
38939 cat >conftest.$ac_ext <<_ACEOF
38940 /* confdefs.h. */
38941 _ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38948
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char pthread_attr_setschedparam (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38953
38954 #ifdef __STDC__
38955 # include <limits.h>
38956 #else
38957 # include <assert.h>
38958 #endif
38959
38960 #undef pthread_attr_setschedparam
38961
38962 /* Override any GCC internal prototype to avoid an error.
38963 Use char because int might match the return type of a GCC
38964 builtin and then its argument prototype would still apply. */
38965 #ifdef __cplusplus
38966 extern "C"
38967 #endif
38968 char pthread_attr_setschedparam ();
38969 /* The GNU C library defines this for functions which it implements
38970 to always fail with ENOSYS. Some functions are actually named
38971 something starting with __ and the normal name is an alias. */
38972 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38973 choke me
38974 #endif
38975
38976 int
38977 main ()
38978 {
38979 return pthread_attr_setschedparam ();
38980 ;
38981 return 0;
38982 }
38983 _ACEOF
38984 rm -f conftest.$ac_objext conftest$ac_exeext
38985 if { (ac_try="$ac_link"
38986 case "(($ac_try" in
38987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38988 *) ac_try_echo=$ac_try;;
38989 esac
38990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38991 (eval "$ac_link") 2>conftest.er1
38992 ac_status=$?
38993 grep -v '^ *+' conftest.er1 >conftest.err
38994 rm -f conftest.er1
38995 cat conftest.err >&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); } && {
38998 test -z "$ac_c_werror_flag" ||
38999 test ! -s conftest.err
39000 } && test -s conftest$ac_exeext &&
39001 $as_test_x conftest$ac_exeext; then
39002 ac_cv_func_pthread_attr_setschedparam=yes
39003 else
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.$ac_ext >&5
39006
39007 ac_cv_func_pthread_attr_setschedparam=no
39008 fi
39009
39010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39011 conftest$ac_exeext conftest.$ac_ext
39012 fi
39013 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39014 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39015 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39016 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39017 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39018 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39029 #define sched_get_priority_max innocuous_sched_get_priority_max
39030
39031 /* System header to define __stub macros and hopefully few prototypes,
39032 which can conflict with char sched_get_priority_max (); below.
39033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39034 <limits.h> exists even on freestanding compilers. */
39035
39036 #ifdef __STDC__
39037 # include <limits.h>
39038 #else
39039 # include <assert.h>
39040 #endif
39041
39042 #undef sched_get_priority_max
39043
39044 /* Override any GCC internal prototype to avoid an error.
39045 Use char because int might match the return type of a GCC
39046 builtin and then its argument prototype would still apply. */
39047 #ifdef __cplusplus
39048 extern "C"
39049 #endif
39050 char sched_get_priority_max ();
39051 /* The GNU C library defines this for functions which it implements
39052 to always fail with ENOSYS. Some functions are actually named
39053 something starting with __ and the normal name is an alias. */
39054 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39055 choke me
39056 #endif
39057
39058 int
39059 main ()
39060 {
39061 return sched_get_priority_max ();
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 rm -f conftest.$ac_objext conftest$ac_exeext
39067 if { (ac_try="$ac_link"
39068 case "(($ac_try" in
39069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39070 *) ac_try_echo=$ac_try;;
39071 esac
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_link") 2>conftest.er1
39074 ac_status=$?
39075 grep -v '^ *+' conftest.er1 >conftest.err
39076 rm -f conftest.er1
39077 cat conftest.err >&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest$ac_exeext &&
39083 $as_test_x conftest$ac_exeext; then
39084 ac_cv_func_sched_get_priority_max=yes
39085 else
39086 echo "$as_me: failed program was:" >&5
39087 sed 's/^/| /' conftest.$ac_ext >&5
39088
39089 ac_cv_func_sched_get_priority_max=no
39090 fi
39091
39092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39093 conftest$ac_exeext conftest.$ac_ext
39094 fi
39095 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39096 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39097 if test $ac_cv_func_sched_get_priority_max = yes; then
39098 HAVE_PRIOR_FUNCS=1
39099 else
39100 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39101 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39102 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39103 echo $ECHO_N "(cached) $ECHO_C" >&6
39104 else
39105 ac_check_lib_save_LIBS=$LIBS
39106 LIBS="-lposix4 $LIBS"
39107 cat >conftest.$ac_ext <<_ACEOF
39108 /* confdefs.h. */
39109 _ACEOF
39110 cat confdefs.h >>conftest.$ac_ext
39111 cat >>conftest.$ac_ext <<_ACEOF
39112 /* end confdefs.h. */
39113
39114 /* Override any GCC internal prototype to avoid an error.
39115 Use char because int might match the return type of a GCC
39116 builtin and then its argument prototype would still apply. */
39117 #ifdef __cplusplus
39118 extern "C"
39119 #endif
39120 char sched_get_priority_max ();
39121 int
39122 main ()
39123 {
39124 return sched_get_priority_max ();
39125 ;
39126 return 0;
39127 }
39128 _ACEOF
39129 rm -f conftest.$ac_objext conftest$ac_exeext
39130 if { (ac_try="$ac_link"
39131 case "(($ac_try" in
39132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39133 *) ac_try_echo=$ac_try;;
39134 esac
39135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39136 (eval "$ac_link") 2>conftest.er1
39137 ac_status=$?
39138 grep -v '^ *+' conftest.er1 >conftest.err
39139 rm -f conftest.er1
39140 cat conftest.err >&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } && {
39143 test -z "$ac_c_werror_flag" ||
39144 test ! -s conftest.err
39145 } && test -s conftest$ac_exeext &&
39146 $as_test_x conftest$ac_exeext; then
39147 ac_cv_lib_posix4_sched_get_priority_max=yes
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152 ac_cv_lib_posix4_sched_get_priority_max=no
39153 fi
39154
39155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39156 conftest$ac_exeext conftest.$ac_ext
39157 LIBS=$ac_check_lib_save_LIBS
39158 fi
39159 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39160 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39161 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39162
39163 HAVE_PRIOR_FUNCS=1
39164 POSIX4_LINK=" -lposix4"
39165
39166 fi
39167
39168
39169 fi
39170
39171
39172 fi
39173
39174
39175 fi
39176
39177
39178 if test "$HAVE_PRIOR_FUNCS" = 1; then
39179 cat >>confdefs.h <<\_ACEOF
39180 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39181 _ACEOF
39182
39183 else
39184 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39185 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39186 fi
39187
39188 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39189 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39190 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39192 else
39193 cat >conftest.$ac_ext <<_ACEOF
39194 /* confdefs.h. */
39195 _ACEOF
39196 cat confdefs.h >>conftest.$ac_ext
39197 cat >>conftest.$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39201 #define pthread_cancel innocuous_pthread_cancel
39202
39203 /* System header to define __stub macros and hopefully few prototypes,
39204 which can conflict with char pthread_cancel (); below.
39205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39206 <limits.h> exists even on freestanding compilers. */
39207
39208 #ifdef __STDC__
39209 # include <limits.h>
39210 #else
39211 # include <assert.h>
39212 #endif
39213
39214 #undef pthread_cancel
39215
39216 /* Override any GCC internal prototype to avoid an error.
39217 Use char because int might match the return type of a GCC
39218 builtin and then its argument prototype would still apply. */
39219 #ifdef __cplusplus
39220 extern "C"
39221 #endif
39222 char pthread_cancel ();
39223 /* The GNU C library defines this for functions which it implements
39224 to always fail with ENOSYS. Some functions are actually named
39225 something starting with __ and the normal name is an alias. */
39226 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39227 choke me
39228 #endif
39229
39230 int
39231 main ()
39232 {
39233 return pthread_cancel ();
39234 ;
39235 return 0;
39236 }
39237 _ACEOF
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (ac_try="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39242 *) ac_try_echo=$ac_try;;
39243 esac
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39246 ac_status=$?
39247 grep -v '^ *+' conftest.er1 >conftest.err
39248 rm -f conftest.er1
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest$ac_exeext &&
39255 $as_test_x conftest$ac_exeext; then
39256 ac_cv_func_pthread_cancel=yes
39257 else
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39260
39261 ac_cv_func_pthread_cancel=no
39262 fi
39263
39264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39265 conftest$ac_exeext conftest.$ac_ext
39266 fi
39267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39268 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39269 if test $ac_cv_func_pthread_cancel = yes; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define HAVE_PTHREAD_CANCEL 1
39272 _ACEOF
39273
39274 else
39275 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39276 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39277 fi
39278
39279
39280 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39281 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39282 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39283 echo $ECHO_N "(cached) $ECHO_C" >&6
39284 else
39285 cat >conftest.$ac_ext <<_ACEOF
39286 /* confdefs.h. */
39287 _ACEOF
39288 cat confdefs.h >>conftest.$ac_ext
39289 cat >>conftest.$ac_ext <<_ACEOF
39290 /* end confdefs.h. */
39291 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39293 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39294
39295 /* System header to define __stub macros and hopefully few prototypes,
39296 which can conflict with char pthread_mutex_timedlock (); below.
39297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39298 <limits.h> exists even on freestanding compilers. */
39299
39300 #ifdef __STDC__
39301 # include <limits.h>
39302 #else
39303 # include <assert.h>
39304 #endif
39305
39306 #undef pthread_mutex_timedlock
39307
39308 /* Override any GCC internal prototype to avoid an error.
39309 Use char because int might match the return type of a GCC
39310 builtin and then its argument prototype would still apply. */
39311 #ifdef __cplusplus
39312 extern "C"
39313 #endif
39314 char pthread_mutex_timedlock ();
39315 /* The GNU C library defines this for functions which it implements
39316 to always fail with ENOSYS. Some functions are actually named
39317 something starting with __ and the normal name is an alias. */
39318 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39319 choke me
39320 #endif
39321
39322 int
39323 main ()
39324 {
39325 return pthread_mutex_timedlock ();
39326 ;
39327 return 0;
39328 }
39329 _ACEOF
39330 rm -f conftest.$ac_objext conftest$ac_exeext
39331 if { (ac_try="$ac_link"
39332 case "(($ac_try" in
39333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39334 *) ac_try_echo=$ac_try;;
39335 esac
39336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39337 (eval "$ac_link") 2>conftest.er1
39338 ac_status=$?
39339 grep -v '^ *+' conftest.er1 >conftest.err
39340 rm -f conftest.er1
39341 cat conftest.err >&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); } && {
39344 test -z "$ac_c_werror_flag" ||
39345 test ! -s conftest.err
39346 } && test -s conftest$ac_exeext &&
39347 $as_test_x conftest$ac_exeext; then
39348 ac_cv_func_pthread_mutex_timedlock=yes
39349 else
39350 echo "$as_me: failed program was:" >&5
39351 sed 's/^/| /' conftest.$ac_ext >&5
39352
39353 ac_cv_func_pthread_mutex_timedlock=no
39354 fi
39355
39356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39357 conftest$ac_exeext conftest.$ac_ext
39358 fi
39359 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39360 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39361 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39362 cat >>confdefs.h <<\_ACEOF
39363 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39364 _ACEOF
39365
39366 else
39367 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39368 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39369 fi
39370
39371
39372 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39373 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39374 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39386
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char pthread_attr_setstacksize (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39391
39392 #ifdef __STDC__
39393 # include <limits.h>
39394 #else
39395 # include <assert.h>
39396 #endif
39397
39398 #undef pthread_attr_setstacksize
39399
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39403 #ifdef __cplusplus
39404 extern "C"
39405 #endif
39406 char pthread_attr_setstacksize ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39411 choke me
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return pthread_attr_setstacksize ();
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39427 esac
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39430 ac_status=$?
39431 grep -v '^ *+' conftest.er1 >conftest.err
39432 rm -f conftest.er1
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 ac_cv_func_pthread_attr_setstacksize=yes
39441 else
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39444
39445 ac_cv_func_pthread_attr_setstacksize=no
39446 fi
39447
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39450 fi
39451 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39452 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39453 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39454 cat >>confdefs.h <<\_ACEOF
39455 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39456 _ACEOF
39457
39458 fi
39459
39460
39461
39462 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39463 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39464 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 else
39467
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h. */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474 #include <pthread.h>
39475 int
39476 main ()
39477 {
39478
39479 pthread_mutexattr_t attr;
39480 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39481
39482 ;
39483 return 0;
39484 }
39485 _ACEOF
39486 rm -f conftest.$ac_objext
39487 if { (ac_try="$ac_compile"
39488 case "(($ac_try" in
39489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39490 *) ac_try_echo=$ac_try;;
39491 esac
39492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39493 (eval "$ac_compile") 2>conftest.er1
39494 ac_status=$?
39495 grep -v '^ *+' conftest.er1 >conftest.err
39496 rm -f conftest.er1
39497 cat conftest.err >&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); } && {
39500 test -z "$ac_c_werror_flag" ||
39501 test ! -s conftest.err
39502 } && test -s conftest.$ac_objext; then
39503 wx_cv_type_pthread_mutexattr_t=yes
39504 else
39505 echo "$as_me: failed program was:" >&5
39506 sed 's/^/| /' conftest.$ac_ext >&5
39507
39508 wx_cv_type_pthread_mutexattr_t=no
39509
39510 fi
39511
39512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39513
39514 fi
39515 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39516 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39517
39518 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39519 cat >>confdefs.h <<\_ACEOF
39520 #define HAVE_PTHREAD_MUTEXATTR_T 1
39521 _ACEOF
39522
39523
39524 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39525 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39526 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39527 echo $ECHO_N "(cached) $ECHO_C" >&6
39528 else
39529
39530 cat >conftest.$ac_ext <<_ACEOF
39531 /* confdefs.h. */
39532 _ACEOF
39533 cat confdefs.h >>conftest.$ac_ext
39534 cat >>conftest.$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 #include <pthread.h>
39537 int
39538 main ()
39539 {
39540
39541 pthread_mutexattr_t attr;
39542 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39543
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext
39549 if { (ac_try="$ac_compile"
39550 case "(($ac_try" in
39551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39552 *) ac_try_echo=$ac_try;;
39553 esac
39554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39555 (eval "$ac_compile") 2>conftest.er1
39556 ac_status=$?
39557 grep -v '^ *+' conftest.er1 >conftest.err
39558 rm -f conftest.er1
39559 cat conftest.err >&5
39560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39561 (exit $ac_status); } && {
39562 test -z "$ac_c_werror_flag" ||
39563 test ! -s conftest.err
39564 } && test -s conftest.$ac_objext; then
39565 wx_cv_func_pthread_mutexattr_settype_decl=yes
39566 else
39567 echo "$as_me: failed program was:" >&5
39568 sed 's/^/| /' conftest.$ac_ext >&5
39569
39570 wx_cv_func_pthread_mutexattr_settype_decl=no
39571
39572 fi
39573
39574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39575
39576 fi
39577 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39578 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39579 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39582 _ACEOF
39583
39584 fi
39585 else
39586 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39587 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39588 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591
39592 cat >conftest.$ac_ext <<_ACEOF
39593 /* confdefs.h. */
39594 _ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598 #include <pthread.h>
39599 int
39600 main ()
39601 {
39602
39603 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39604
39605 ;
39606 return 0;
39607 }
39608 _ACEOF
39609 rm -f conftest.$ac_objext
39610 if { (ac_try="$ac_compile"
39611 case "(($ac_try" in
39612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39613 *) ac_try_echo=$ac_try;;
39614 esac
39615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39616 (eval "$ac_compile") 2>conftest.er1
39617 ac_status=$?
39618 grep -v '^ *+' conftest.er1 >conftest.err
39619 rm -f conftest.er1
39620 cat conftest.err >&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } && {
39623 test -z "$ac_c_werror_flag" ||
39624 test ! -s conftest.err
39625 } && test -s conftest.$ac_objext; then
39626
39627 wx_cv_type_pthread_rec_mutex_init=yes
39628
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39632
39633
39634 wx_cv_type_pthread_rec_mutex_init=no
39635
39636
39637 fi
39638
39639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39640
39641 fi
39642 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39643 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39644 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39645 cat >>confdefs.h <<\_ACEOF
39646 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39647 _ACEOF
39648
39649 else
39650 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39651 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39652 fi
39653 fi
39654 fi
39655
39656 else
39657 if test "$wxUSE_THREADS" = "yes" ; then
39658 case "${host}" in
39659 *-*-mingw32* )
39660 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39661 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39662 if test "${wx_cv_cflags_mthread+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 else
39665
39666 CFLAGS_OLD="$CFLAGS"
39667 CFLAGS="-mthreads $CFLAGS"
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674
39675 int
39676 main ()
39677 {
39678
39679 ;
39680 return 0;
39681 }
39682 _ACEOF
39683 rm -f conftest.$ac_objext
39684 if { (ac_try="$ac_compile"
39685 case "(($ac_try" in
39686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39687 *) ac_try_echo=$ac_try;;
39688 esac
39689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39690 (eval "$ac_compile") 2>conftest.er1
39691 ac_status=$?
39692 grep -v '^ *+' conftest.er1 >conftest.err
39693 rm -f conftest.er1
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } && {
39697 test -z "$ac_c_werror_flag" ||
39698 test ! -s conftest.err
39699 } && test -s conftest.$ac_objext; then
39700 wx_cv_cflags_mthread=yes
39701 else
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39704
39705 wx_cv_cflags_mthread=no
39706
39707 fi
39708
39709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39710
39711
39712 fi
39713 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39714 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39715
39716 if test "$wx_cv_cflags_mthread" = "yes"; then
39717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39718 LDFLAGS="$LDFLAGS -mthreads"
39719 else
39720 CFLAGS="$CFLAGS_OLD"
39721 fi
39722 ;;
39723 *-pc-os2*emx )
39724 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39725 LDFLAGS="$LDFLAGS -Zmt"
39726 ;;
39727 esac
39728 fi
39729 fi
39730
39731 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39732 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39733 if test "${ac_cv_func_localtime_r+set}" = set; then
39734 echo $ECHO_N "(cached) $ECHO_C" >&6
39735 else
39736 cat >conftest.$ac_ext <<_ACEOF
39737 /* confdefs.h. */
39738 _ACEOF
39739 cat confdefs.h >>conftest.$ac_ext
39740 cat >>conftest.$ac_ext <<_ACEOF
39741 /* end confdefs.h. */
39742 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39744 #define localtime_r innocuous_localtime_r
39745
39746 /* System header to define __stub macros and hopefully few prototypes,
39747 which can conflict with char localtime_r (); below.
39748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39749 <limits.h> exists even on freestanding compilers. */
39750
39751 #ifdef __STDC__
39752 # include <limits.h>
39753 #else
39754 # include <assert.h>
39755 #endif
39756
39757 #undef localtime_r
39758
39759 /* Override any GCC internal prototype to avoid an error.
39760 Use char because int might match the return type of a GCC
39761 builtin and then its argument prototype would still apply. */
39762 #ifdef __cplusplus
39763 extern "C"
39764 #endif
39765 char localtime_r ();
39766 /* The GNU C library defines this for functions which it implements
39767 to always fail with ENOSYS. Some functions are actually named
39768 something starting with __ and the normal name is an alias. */
39769 #if defined __stub_localtime_r || defined __stub___localtime_r
39770 choke me
39771 #endif
39772
39773 int
39774 main ()
39775 {
39776 return localtime_r ();
39777 ;
39778 return 0;
39779 }
39780 _ACEOF
39781 rm -f conftest.$ac_objext conftest$ac_exeext
39782 if { (ac_try="$ac_link"
39783 case "(($ac_try" in
39784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39785 *) ac_try_echo=$ac_try;;
39786 esac
39787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39788 (eval "$ac_link") 2>conftest.er1
39789 ac_status=$?
39790 grep -v '^ *+' conftest.er1 >conftest.err
39791 rm -f conftest.er1
39792 cat conftest.err >&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } && {
39795 test -z "$ac_c_werror_flag" ||
39796 test ! -s conftest.err
39797 } && test -s conftest$ac_exeext &&
39798 $as_test_x conftest$ac_exeext; then
39799 ac_cv_func_localtime_r=yes
39800 else
39801 echo "$as_me: failed program was:" >&5
39802 sed 's/^/| /' conftest.$ac_ext >&5
39803
39804 ac_cv_func_localtime_r=no
39805 fi
39806
39807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39808 conftest$ac_exeext conftest.$ac_ext
39809 fi
39810 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39811 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39812 if test $ac_cv_func_localtime_r = yes; then
39813 cat >>confdefs.h <<\_ACEOF
39814 #define HAVE_LOCALTIME_R 1
39815 _ACEOF
39816
39817 fi
39818
39819 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39820 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39821 if test "${ac_cv_func_gmtime_r+set}" = set; then
39822 echo $ECHO_N "(cached) $ECHO_C" >&6
39823 else
39824 cat >conftest.$ac_ext <<_ACEOF
39825 /* confdefs.h. */
39826 _ACEOF
39827 cat confdefs.h >>conftest.$ac_ext
39828 cat >>conftest.$ac_ext <<_ACEOF
39829 /* end confdefs.h. */
39830 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39832 #define gmtime_r innocuous_gmtime_r
39833
39834 /* System header to define __stub macros and hopefully few prototypes,
39835 which can conflict with char gmtime_r (); below.
39836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39837 <limits.h> exists even on freestanding compilers. */
39838
39839 #ifdef __STDC__
39840 # include <limits.h>
39841 #else
39842 # include <assert.h>
39843 #endif
39844
39845 #undef gmtime_r
39846
39847 /* Override any GCC internal prototype to avoid an error.
39848 Use char because int might match the return type of a GCC
39849 builtin and then its argument prototype would still apply. */
39850 #ifdef __cplusplus
39851 extern "C"
39852 #endif
39853 char gmtime_r ();
39854 /* The GNU C library defines this for functions which it implements
39855 to always fail with ENOSYS. Some functions are actually named
39856 something starting with __ and the normal name is an alias. */
39857 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39858 choke me
39859 #endif
39860
39861 int
39862 main ()
39863 {
39864 return gmtime_r ();
39865 ;
39866 return 0;
39867 }
39868 _ACEOF
39869 rm -f conftest.$ac_objext conftest$ac_exeext
39870 if { (ac_try="$ac_link"
39871 case "(($ac_try" in
39872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39873 *) ac_try_echo=$ac_try;;
39874 esac
39875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39876 (eval "$ac_link") 2>conftest.er1
39877 ac_status=$?
39878 grep -v '^ *+' conftest.er1 >conftest.err
39879 rm -f conftest.er1
39880 cat conftest.err >&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } && {
39883 test -z "$ac_c_werror_flag" ||
39884 test ! -s conftest.err
39885 } && test -s conftest$ac_exeext &&
39886 $as_test_x conftest$ac_exeext; then
39887 ac_cv_func_gmtime_r=yes
39888 else
39889 echo "$as_me: failed program was:" >&5
39890 sed 's/^/| /' conftest.$ac_ext >&5
39891
39892 ac_cv_func_gmtime_r=no
39893 fi
39894
39895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39896 conftest$ac_exeext conftest.$ac_ext
39897 fi
39898 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39899 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39900 if test $ac_cv_func_gmtime_r = yes; then
39901 cat >>confdefs.h <<\_ACEOF
39902 #define HAVE_GMTIME_R 1
39903 _ACEOF
39904
39905 fi
39906
39907
39908
39909
39910 ac_ext=c
39911 ac_cpp='$CPP $CPPFLAGS'
39912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39915
39916 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39917 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39918
39919 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 else
39922
39923
39924 ################################################################
39925
39926 ac_cv_func_which_gethostbyname_r=unknown
39927
39928 #
39929 # ONE ARGUMENT (sanity check)
39930 #
39931
39932 # This should fail, as there is no variant of gethostbyname_r() that takes
39933 # a single argument. If it actually compiles, then we can assume that
39934 # netdb.h is not declaring the function, and the compiler is thereby
39935 # assuming an implicit prototype. In which case, we're out of luck.
39936 #
39937 cat >conftest.$ac_ext <<_ACEOF
39938 /* confdefs.h. */
39939 _ACEOF
39940 cat confdefs.h >>conftest.$ac_ext
39941 cat >>conftest.$ac_ext <<_ACEOF
39942 /* end confdefs.h. */
39943 #include <netdb.h>
39944 int
39945 main ()
39946 {
39947
39948 char *name = "www.gnu.org";
39949 (void)gethostbyname_r(name) /* ; */
39950
39951 ;
39952 return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext
39956 if { (ac_try="$ac_compile"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_compile") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest.$ac_objext; then
39972 ac_cv_func_which_gethostbyname_r=no
39973 else
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39976
39977
39978 fi
39979
39980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39981
39982 #
39983 # SIX ARGUMENTS
39984 # (e.g. Linux)
39985 #
39986
39987 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39988
39989 cat >conftest.$ac_ext <<_ACEOF
39990 /* confdefs.h. */
39991 _ACEOF
39992 cat confdefs.h >>conftest.$ac_ext
39993 cat >>conftest.$ac_ext <<_ACEOF
39994 /* end confdefs.h. */
39995 #include <netdb.h>
39996 int
39997 main ()
39998 {
39999
40000 char *name = "www.gnu.org";
40001 struct hostent ret, *retp;
40002 char buf[1024];
40003 int buflen = 1024;
40004 int my_h_errno;
40005 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40006
40007 ;
40008 return 0;
40009 }
40010 _ACEOF
40011 rm -f conftest.$ac_objext
40012 if { (ac_try="$ac_compile"
40013 case "(($ac_try" in
40014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40015 *) ac_try_echo=$ac_try;;
40016 esac
40017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40018 (eval "$ac_compile") 2>conftest.er1
40019 ac_status=$?
40020 grep -v '^ *+' conftest.er1 >conftest.err
40021 rm -f conftest.er1
40022 cat conftest.err >&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } && {
40025 test -z "$ac_c_werror_flag" ||
40026 test ! -s conftest.err
40027 } && test -s conftest.$ac_objext; then
40028 ac_cv_func_which_gethostbyname_r=six
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037
40038 fi
40039
40040 #
40041 # FIVE ARGUMENTS
40042 # (e.g. Solaris)
40043 #
40044
40045 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40046
40047 cat >conftest.$ac_ext <<_ACEOF
40048 /* confdefs.h. */
40049 _ACEOF
40050 cat confdefs.h >>conftest.$ac_ext
40051 cat >>conftest.$ac_ext <<_ACEOF
40052 /* end confdefs.h. */
40053 #include <netdb.h>
40054 int
40055 main ()
40056 {
40057
40058 char *name = "www.gnu.org";
40059 struct hostent ret;
40060 char buf[1024];
40061 int buflen = 1024;
40062 int my_h_errno;
40063 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40064
40065 ;
40066 return 0;
40067 }
40068 _ACEOF
40069 rm -f conftest.$ac_objext
40070 if { (ac_try="$ac_compile"
40071 case "(($ac_try" in
40072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40073 *) ac_try_echo=$ac_try;;
40074 esac
40075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 (eval "$ac_compile") 2>conftest.er1
40077 ac_status=$?
40078 grep -v '^ *+' conftest.er1 >conftest.err
40079 rm -f conftest.er1
40080 cat conftest.err >&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); } && {
40083 test -z "$ac_c_werror_flag" ||
40084 test ! -s conftest.err
40085 } && test -s conftest.$ac_objext; then
40086 ac_cv_func_which_gethostbyname_r=five
40087 else
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.$ac_ext >&5
40090
40091
40092 fi
40093
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095
40096 fi
40097
40098 #
40099 # THREE ARGUMENTS
40100 # (e.g. AIX, HP-UX, Tru64)
40101 #
40102
40103 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40104
40105 cat >conftest.$ac_ext <<_ACEOF
40106 /* confdefs.h. */
40107 _ACEOF
40108 cat confdefs.h >>conftest.$ac_ext
40109 cat >>conftest.$ac_ext <<_ACEOF
40110 /* end confdefs.h. */
40111 #include <netdb.h>
40112 int
40113 main ()
40114 {
40115
40116 char *name = "www.gnu.org";
40117 struct hostent ret;
40118 struct hostent_data data;
40119 (void)gethostbyname_r(name, &ret, &data) /* ; */
40120
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext
40126 if { (ac_try="$ac_compile"
40127 case "(($ac_try" in
40128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40130 esac
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_compile") 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest.$ac_objext; then
40142 ac_cv_func_which_gethostbyname_r=three
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147
40148 fi
40149
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151
40152 fi
40153
40154 ################################################################
40155
40156
40157 fi
40158
40159 case "$ac_cv_func_which_gethostbyname_r" in
40160 three)
40161 { echo "$as_me:$LINENO: result: three" >&5
40162 echo "${ECHO_T}three" >&6; }
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40165 _ACEOF
40166
40167 ;;
40168
40169 five)
40170 { echo "$as_me:$LINENO: result: five" >&5
40171 echo "${ECHO_T}five" >&6; }
40172 cat >>confdefs.h <<\_ACEOF
40173 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40174 _ACEOF
40175
40176 ;;
40177
40178 six)
40179 { echo "$as_me:$LINENO: result: six" >&5
40180 echo "${ECHO_T}six" >&6; }
40181 cat >>confdefs.h <<\_ACEOF
40182 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40183 _ACEOF
40184
40185 ;;
40186
40187 no)
40188 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40189 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40190 ;;
40191
40192 unknown)
40193 { echo "$as_me:$LINENO: result: can't tell" >&5
40194 echo "${ECHO_T}can't tell" >&6; }
40195 ;;
40196
40197 *)
40198 { { echo "$as_me:$LINENO: error: internal error" >&5
40199 echo "$as_me: error: internal error" >&2;}
40200 { (exit 1); exit 1; }; }
40201 ;;
40202 esac
40203
40204 ac_ext=c
40205 ac_cpp='$CPP $CPPFLAGS'
40206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40209
40210
40211
40212 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40213 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40214 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40216 if test "${ac_cv_func_gethostbyname+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 else
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40227 #define gethostbyname innocuous_gethostbyname
40228
40229 /* System header to define __stub macros and hopefully few prototypes,
40230 which can conflict with char gethostbyname (); below.
40231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40232 <limits.h> exists even on freestanding compilers. */
40233
40234 #ifdef __STDC__
40235 # include <limits.h>
40236 #else
40237 # include <assert.h>
40238 #endif
40239
40240 #undef gethostbyname
40241
40242 /* Override any GCC internal prototype to avoid an error.
40243 Use char because int might match the return type of a GCC
40244 builtin and then its argument prototype would still apply. */
40245 #ifdef __cplusplus
40246 extern "C"
40247 #endif
40248 char gethostbyname ();
40249 /* The GNU C library defines this for functions which it implements
40250 to always fail with ENOSYS. Some functions are actually named
40251 something starting with __ and the normal name is an alias. */
40252 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40253 choke me
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 return gethostbyname ();
40260 ;
40261 return 0;
40262 }
40263 _ACEOF
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (ac_try="$ac_link"
40266 case "(($ac_try" in
40267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40268 *) ac_try_echo=$ac_try;;
40269 esac
40270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40271 (eval "$ac_link") 2>conftest.er1
40272 ac_status=$?
40273 grep -v '^ *+' conftest.er1 >conftest.err
40274 rm -f conftest.er1
40275 cat conftest.err >&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); } && {
40278 test -z "$ac_c_werror_flag" ||
40279 test ! -s conftest.err
40280 } && test -s conftest$ac_exeext &&
40281 $as_test_x conftest$ac_exeext; then
40282 ac_cv_func_gethostbyname=yes
40283 else
40284 echo "$as_me: failed program was:" >&5
40285 sed 's/^/| /' conftest.$ac_ext >&5
40286
40287 ac_cv_func_gethostbyname=no
40288 fi
40289
40290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40291 conftest$ac_exeext conftest.$ac_ext
40292 fi
40293 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40294 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40295 if test $ac_cv_func_gethostbyname = yes; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define HAVE_GETHOSTBYNAME 1
40298 _ACEOF
40299
40300 fi
40301
40302 fi
40303
40304 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40305 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40306 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309
40310 ac_ext=cpp
40311 ac_cpp='$CXXCPP $CPPFLAGS'
40312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315
40316
40317 cat >conftest.$ac_ext <<_ACEOF
40318 /* confdefs.h. */
40319 _ACEOF
40320 cat confdefs.h >>conftest.$ac_ext
40321 cat >>conftest.$ac_ext <<_ACEOF
40322 /* end confdefs.h. */
40323 #include <netdb.h>
40324 int
40325 main ()
40326 {
40327
40328 char *name;
40329 char *proto;
40330 struct servent *se, *res;
40331 char buffer[2048];
40332 int buflen = 2048;
40333 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40334
40335 ;
40336 return 0;
40337 }
40338 _ACEOF
40339 rm -f conftest.$ac_objext
40340 if { (ac_try="$ac_compile"
40341 case "(($ac_try" in
40342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40343 *) ac_try_echo=$ac_try;;
40344 esac
40345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40346 (eval "$ac_compile") 2>conftest.er1
40347 ac_status=$?
40348 grep -v '^ *+' conftest.er1 >conftest.err
40349 rm -f conftest.er1
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } && {
40353 test -z "$ac_cxx_werror_flag" ||
40354 test ! -s conftest.err
40355 } && test -s conftest.$ac_objext; then
40356 ac_cv_func_which_getservbyname_r=six
40357 else
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40360
40361
40362 cat >conftest.$ac_ext <<_ACEOF
40363 /* confdefs.h. */
40364 _ACEOF
40365 cat confdefs.h >>conftest.$ac_ext
40366 cat >>conftest.$ac_ext <<_ACEOF
40367 /* end confdefs.h. */
40368 #include <netdb.h>
40369 int
40370 main ()
40371 {
40372
40373 char *name;
40374 char *proto;
40375 struct servent *se;
40376 char buffer[2048];
40377 int buflen = 2048;
40378 (void) getservbyname_r(name, proto, se, buffer, buflen)
40379
40380 ;
40381 return 0;
40382 }
40383 _ACEOF
40384 rm -f conftest.$ac_objext
40385 if { (ac_try="$ac_compile"
40386 case "(($ac_try" in
40387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40388 *) ac_try_echo=$ac_try;;
40389 esac
40390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40391 (eval "$ac_compile") 2>conftest.er1
40392 ac_status=$?
40393 grep -v '^ *+' conftest.er1 >conftest.err
40394 rm -f conftest.er1
40395 cat conftest.err >&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } && {
40398 test -z "$ac_cxx_werror_flag" ||
40399 test ! -s conftest.err
40400 } && test -s conftest.$ac_objext; then
40401 ac_cv_func_which_getservbyname_r=five
40402 else
40403 echo "$as_me: failed program was:" >&5
40404 sed 's/^/| /' conftest.$ac_ext >&5
40405
40406
40407 cat >conftest.$ac_ext <<_ACEOF
40408 /* confdefs.h. */
40409 _ACEOF
40410 cat confdefs.h >>conftest.$ac_ext
40411 cat >>conftest.$ac_ext <<_ACEOF
40412 /* end confdefs.h. */
40413 #include <netdb.h>
40414 int
40415 main ()
40416 {
40417
40418 char *name;
40419 char *proto;
40420 struct servent *se;
40421 struct servent_data data;
40422 (void) getservbyname_r(name, proto, se, &data);
40423
40424 ;
40425 return 0;
40426 }
40427 _ACEOF
40428 rm -f conftest.$ac_objext
40429 if { (ac_try="$ac_compile"
40430 case "(($ac_try" in
40431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40432 *) ac_try_echo=$ac_try;;
40433 esac
40434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40435 (eval "$ac_compile") 2>conftest.er1
40436 ac_status=$?
40437 grep -v '^ *+' conftest.er1 >conftest.err
40438 rm -f conftest.er1
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } && {
40442 test -z "$ac_cxx_werror_flag" ||
40443 test ! -s conftest.err
40444 } && test -s conftest.$ac_objext; then
40445 ac_cv_func_which_getservbyname_r=four
40446 else
40447 echo "$as_me: failed program was:" >&5
40448 sed 's/^/| /' conftest.$ac_ext >&5
40449
40450 ac_cv_func_which_getservbyname_r=no
40451
40452 fi
40453
40454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40455
40456
40457 fi
40458
40459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40460
40461
40462 fi
40463
40464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40465 ac_ext=c
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40470
40471
40472
40473 fi
40474 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40475 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40476
40477 if test $ac_cv_func_which_getservbyname_r = six; then
40478 cat >>confdefs.h <<\_ACEOF
40479 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40480 _ACEOF
40481
40482 elif test $ac_cv_func_which_getservbyname_r = five; then
40483 cat >>confdefs.h <<\_ACEOF
40484 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40485 _ACEOF
40486
40487 elif test $ac_cv_func_which_getservbyname_r = four; then
40488 cat >>confdefs.h <<\_ACEOF
40489 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40490 _ACEOF
40491
40492 fi
40493
40494
40495 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40496 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40497
40498 for ac_func in getservbyname
40499 do
40500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 else
40506 cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40514 #define $ac_func innocuous_$ac_func
40515
40516 /* System header to define __stub macros and hopefully few prototypes,
40517 which can conflict with char $ac_func (); below.
40518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40519 <limits.h> exists even on freestanding compilers. */
40520
40521 #ifdef __STDC__
40522 # include <limits.h>
40523 #else
40524 # include <assert.h>
40525 #endif
40526
40527 #undef $ac_func
40528
40529 /* Override any GCC internal prototype to avoid an error.
40530 Use char because int might match the return type of a GCC
40531 builtin and then its argument prototype would still apply. */
40532 #ifdef __cplusplus
40533 extern "C"
40534 #endif
40535 char $ac_func ();
40536 /* The GNU C library defines this for functions which it implements
40537 to always fail with ENOSYS. Some functions are actually named
40538 something starting with __ and the normal name is an alias. */
40539 #if defined __stub_$ac_func || defined __stub___$ac_func
40540 choke me
40541 #endif
40542
40543 int
40544 main ()
40545 {
40546 return $ac_func ();
40547 ;
40548 return 0;
40549 }
40550 _ACEOF
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (ac_try="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40556 esac
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40559 ac_status=$?
40560 grep -v '^ *+' conftest.er1 >conftest.err
40561 rm -f conftest.er1
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest$ac_exeext &&
40568 $as_test_x conftest$ac_exeext; then
40569 eval "$as_ac_var=yes"
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574 eval "$as_ac_var=no"
40575 fi
40576
40577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40578 conftest$ac_exeext conftest.$ac_ext
40579 fi
40580 ac_res=`eval echo '${'$as_ac_var'}'`
40581 { echo "$as_me:$LINENO: result: $ac_res" >&5
40582 echo "${ECHO_T}$ac_res" >&6; }
40583 if test `eval echo '${'$as_ac_var'}'` = yes; then
40584 cat >>confdefs.h <<_ACEOF
40585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40586 _ACEOF
40587 cat >>confdefs.h <<\_ACEOF
40588 #define HAVE_GETSERVBYNAME 1
40589 _ACEOF
40590
40591 fi
40592 done
40593
40594 fi
40595
40596 if test "$wxUSE_THREADS" = "yes"; then
40597 cat >>confdefs.h <<\_ACEOF
40598 #define wxUSE_THREADS 1
40599 _ACEOF
40600
40601
40602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40603 else
40604 if test "$wx_cv_func_strtok_r" = "yes"; then
40605 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40606 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40607 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40608 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40609 { echo "$as_me:$LINENO: result: yes" >&5
40610 echo "${ECHO_T}yes" >&6; }
40611 else
40612 { echo "$as_me:$LINENO: result: no" >&5
40613 echo "${ECHO_T}no" >&6; }
40614 fi
40615 fi
40616 fi
40617
40618 if test "$WXGTK2" = 1 ; then
40619 cat >>confdefs.h <<_ACEOF
40620 #define __WXGTK20__ $WXGTK2
40621 _ACEOF
40622
40623 WXGTK12=1
40624 fi
40625
40626 if test "$WXGTK12" = 1 ; then
40627 cat >>confdefs.h <<_ACEOF
40628 #define __WXGTK12__ $WXGTK12
40629 _ACEOF
40630
40631 fi
40632
40633 if test "$WXGTK127" = 1 ; then
40634 cat >>confdefs.h <<_ACEOF
40635 #define __WXGTK127__ $WXGTK127
40636 _ACEOF
40637
40638 fi
40639
40640 if test "$WXGPE" = 1 ; then
40641 cat >>confdefs.h <<_ACEOF
40642 #define __WXGPE__ $WXGPE
40643 _ACEOF
40644
40645 fi
40646
40647 DEBUG_CFLAGS=
40648 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40649 DEBUG_CFLAGS="-g"
40650 wxUSE_OPTIMISE=no
40651 fi
40652
40653 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40654 wxUSE_DEBUG_INFO=yes
40655 if test "$GCC" = yes; then
40656 DEBUG_CFLAGS="-ggdb"
40657 fi
40658 fi
40659
40660 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40661 cat >>confdefs.h <<\_ACEOF
40662 #define WXDEBUG 1
40663 _ACEOF
40664
40665 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40666 else
40667 if test "$wxUSE_GTK" = 1 ; then
40668 if test "x$wxGTK_VERSION" = "x1" ; then
40669 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40670 fi
40671 fi
40672 fi
40673
40674 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40675 cat >>confdefs.h <<\_ACEOF
40676 #define wxUSE_MEMORY_TRACING 1
40677 _ACEOF
40678
40679 cat >>confdefs.h <<\_ACEOF
40680 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40681 _ACEOF
40682
40683 cat >>confdefs.h <<\_ACEOF
40684 #define wxUSE_DEBUG_NEW_ALWAYS 1
40685 _ACEOF
40686
40687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40688 fi
40689
40690 if test "$wxUSE_DMALLOC" = "yes" ; then
40691 DMALLOC_LIBS="-ldmallocthcxx"
40692 fi
40693
40694 PROFILE_FLAGS=
40695 if test "$wxUSE_PROFILE" = "yes" ; then
40696 PROFILE_FLAGS=" -pg"
40697 fi
40698
40699 if test "$GCC" = "yes" ; then
40700 if test "$wxUSE_NO_RTTI" = "yes" ; then
40701 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40702 fi
40703 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40704 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40705 fi
40706 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40707 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40708 fi
40709
40710 case "${host}" in
40711 powerpc*-*-aix* )
40712 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40713 ;;
40714 *-hppa* )
40715 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40716 ;;
40717 esac
40718 fi
40719
40720 OPTIMISE_CFLAGS=
40721 if test "$wxUSE_OPTIMISE" = "no" ; then
40722 if test "$GCC" = yes ; then
40723 OPTIMISE_CFLAGS="-O0"
40724 fi
40725 else
40726 if test "$GCC" = yes ; then
40727 case "${host}" in
40728 *-pc-os2_emx | *-pc-os2-emx )
40729 OPTIMISE_CFLAGS="-O2"
40730 ;;
40731 *)
40732 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40733 ;;
40734 esac
40735 else
40736 OPTIMISE_CFLAGS="-O"
40737 fi
40738 fi
40739
40740
40741 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40742 cat >>confdefs.h <<\_ACEOF
40743 #define WXWIN_COMPATIBILITY_2_6 1
40744 _ACEOF
40745
40746
40747 WXWIN_COMPATIBILITY_2_8="yes"
40748 fi
40749
40750 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40751 cat >>confdefs.h <<\_ACEOF
40752 #define WXWIN_COMPATIBILITY_2_8 1
40753 _ACEOF
40754
40755 fi
40756
40757
40758 if test "$wxUSE_GUI" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define wxUSE_GUI 1
40761 _ACEOF
40762
40763
40764 fi
40765
40766
40767 if test "$wxUSE_UNIX" = "yes"; then
40768 cat >>confdefs.h <<\_ACEOF
40769 #define wxUSE_UNIX 1
40770 _ACEOF
40771
40772 fi
40773
40774
40775 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40776
40777 HAVE_DL_FUNCS=0
40778 HAVE_SHL_FUNCS=0
40779 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40780 if test "$USE_DARWIN" = 1; then
40781 HAVE_DL_FUNCS=1
40782 elif test "$USE_DOS" = 1; then
40783 HAVE_DL_FUNCS=0
40784 else
40785
40786 for ac_func in dlopen
40787 do
40788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 else
40794 cat >conftest.$ac_ext <<_ACEOF
40795 /* confdefs.h. */
40796 _ACEOF
40797 cat confdefs.h >>conftest.$ac_ext
40798 cat >>conftest.$ac_ext <<_ACEOF
40799 /* end confdefs.h. */
40800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40802 #define $ac_func innocuous_$ac_func
40803
40804 /* System header to define __stub macros and hopefully few prototypes,
40805 which can conflict with char $ac_func (); below.
40806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40807 <limits.h> exists even on freestanding compilers. */
40808
40809 #ifdef __STDC__
40810 # include <limits.h>
40811 #else
40812 # include <assert.h>
40813 #endif
40814
40815 #undef $ac_func
40816
40817 /* Override any GCC internal prototype to avoid an error.
40818 Use char because int might match the return type of a GCC
40819 builtin and then its argument prototype would still apply. */
40820 #ifdef __cplusplus
40821 extern "C"
40822 #endif
40823 char $ac_func ();
40824 /* The GNU C library defines this for functions which it implements
40825 to always fail with ENOSYS. Some functions are actually named
40826 something starting with __ and the normal name is an alias. */
40827 #if defined __stub_$ac_func || defined __stub___$ac_func
40828 choke me
40829 #endif
40830
40831 int
40832 main ()
40833 {
40834 return $ac_func ();
40835 ;
40836 return 0;
40837 }
40838 _ACEOF
40839 rm -f conftest.$ac_objext conftest$ac_exeext
40840 if { (ac_try="$ac_link"
40841 case "(($ac_try" in
40842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40844 esac
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_link") 2>conftest.er1
40847 ac_status=$?
40848 grep -v '^ *+' conftest.er1 >conftest.err
40849 rm -f conftest.er1
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest$ac_exeext &&
40856 $as_test_x conftest$ac_exeext; then
40857 eval "$as_ac_var=yes"
40858 else
40859 echo "$as_me: failed program was:" >&5
40860 sed 's/^/| /' conftest.$ac_ext >&5
40861
40862 eval "$as_ac_var=no"
40863 fi
40864
40865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40866 conftest$ac_exeext conftest.$ac_ext
40867 fi
40868 ac_res=`eval echo '${'$as_ac_var'}'`
40869 { echo "$as_me:$LINENO: result: $ac_res" >&5
40870 echo "${ECHO_T}$ac_res" >&6; }
40871 if test `eval echo '${'$as_ac_var'}'` = yes; then
40872 cat >>confdefs.h <<_ACEOF
40873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40874 _ACEOF
40875
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_DLOPEN 1
40878 _ACEOF
40879
40880 HAVE_DL_FUNCS=1
40881
40882 else
40883
40884 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40889 ac_check_lib_save_LIBS=$LIBS
40890 LIBS="-ldl $LIBS"
40891 cat >conftest.$ac_ext <<_ACEOF
40892 /* confdefs.h. */
40893 _ACEOF
40894 cat confdefs.h >>conftest.$ac_ext
40895 cat >>conftest.$ac_ext <<_ACEOF
40896 /* end confdefs.h. */
40897
40898 /* Override any GCC internal prototype to avoid an error.
40899 Use char because int might match the return type of a GCC
40900 builtin and then its argument prototype would still apply. */
40901 #ifdef __cplusplus
40902 extern "C"
40903 #endif
40904 char dlopen ();
40905 int
40906 main ()
40907 {
40908 return dlopen ();
40909 ;
40910 return 0;
40911 }
40912 _ACEOF
40913 rm -f conftest.$ac_objext conftest$ac_exeext
40914 if { (ac_try="$ac_link"
40915 case "(($ac_try" in
40916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40917 *) ac_try_echo=$ac_try;;
40918 esac
40919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40920 (eval "$ac_link") 2>conftest.er1
40921 ac_status=$?
40922 grep -v '^ *+' conftest.er1 >conftest.err
40923 rm -f conftest.er1
40924 cat conftest.err >&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); } && {
40927 test -z "$ac_c_werror_flag" ||
40928 test ! -s conftest.err
40929 } && test -s conftest$ac_exeext &&
40930 $as_test_x conftest$ac_exeext; then
40931 ac_cv_lib_dl_dlopen=yes
40932 else
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.$ac_ext >&5
40935
40936 ac_cv_lib_dl_dlopen=no
40937 fi
40938
40939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40940 conftest$ac_exeext conftest.$ac_ext
40941 LIBS=$ac_check_lib_save_LIBS
40942 fi
40943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40945 if test $ac_cv_lib_dl_dlopen = yes; then
40946
40947 cat >>confdefs.h <<\_ACEOF
40948 #define HAVE_DLOPEN 1
40949 _ACEOF
40950
40951 HAVE_DL_FUNCS=1
40952 DL_LINK=" -ldl$DL_LINK"
40953
40954 else
40955
40956
40957 for ac_func in shl_load
40958 do
40959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40962 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40965 cat >conftest.$ac_ext <<_ACEOF
40966 /* confdefs.h. */
40967 _ACEOF
40968 cat confdefs.h >>conftest.$ac_ext
40969 cat >>conftest.$ac_ext <<_ACEOF
40970 /* end confdefs.h. */
40971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40973 #define $ac_func innocuous_$ac_func
40974
40975 /* System header to define __stub macros and hopefully few prototypes,
40976 which can conflict with char $ac_func (); below.
40977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40978 <limits.h> exists even on freestanding compilers. */
40979
40980 #ifdef __STDC__
40981 # include <limits.h>
40982 #else
40983 # include <assert.h>
40984 #endif
40985
40986 #undef $ac_func
40987
40988 /* Override any GCC internal prototype to avoid an error.
40989 Use char because int might match the return type of a GCC
40990 builtin and then its argument prototype would still apply. */
40991 #ifdef __cplusplus
40992 extern "C"
40993 #endif
40994 char $ac_func ();
40995 /* The GNU C library defines this for functions which it implements
40996 to always fail with ENOSYS. Some functions are actually named
40997 something starting with __ and the normal name is an alias. */
40998 #if defined __stub_$ac_func || defined __stub___$ac_func
40999 choke me
41000 #endif
41001
41002 int
41003 main ()
41004 {
41005 return $ac_func ();
41006 ;
41007 return 0;
41008 }
41009 _ACEOF
41010 rm -f conftest.$ac_objext conftest$ac_exeext
41011 if { (ac_try="$ac_link"
41012 case "(($ac_try" in
41013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41015 esac
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_link") 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_c_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest$ac_exeext &&
41027 $as_test_x conftest$ac_exeext; then
41028 eval "$as_ac_var=yes"
41029 else
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41032
41033 eval "$as_ac_var=no"
41034 fi
41035
41036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41037 conftest$ac_exeext conftest.$ac_ext
41038 fi
41039 ac_res=`eval echo '${'$as_ac_var'}'`
41040 { echo "$as_me:$LINENO: result: $ac_res" >&5
41041 echo "${ECHO_T}$ac_res" >&6; }
41042 if test `eval echo '${'$as_ac_var'}'` = yes; then
41043 cat >>confdefs.h <<_ACEOF
41044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41045 _ACEOF
41046
41047 cat >>confdefs.h <<\_ACEOF
41048 #define HAVE_SHL_LOAD 1
41049 _ACEOF
41050
41051 HAVE_SHL_FUNCS=1
41052
41053 else
41054
41055 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41056 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41057 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41058 echo $ECHO_N "(cached) $ECHO_C" >&6
41059 else
41060 ac_check_lib_save_LIBS=$LIBS
41061 LIBS="-lshl_load $LIBS"
41062 cat >conftest.$ac_ext <<_ACEOF
41063 /* confdefs.h. */
41064 _ACEOF
41065 cat confdefs.h >>conftest.$ac_ext
41066 cat >>conftest.$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41068
41069 /* Override any GCC internal prototype to avoid an error.
41070 Use char because int might match the return type of a GCC
41071 builtin and then its argument prototype would still apply. */
41072 #ifdef __cplusplus
41073 extern "C"
41074 #endif
41075 char dld ();
41076 int
41077 main ()
41078 {
41079 return dld ();
41080 ;
41081 return 0;
41082 }
41083 _ACEOF
41084 rm -f conftest.$ac_objext conftest$ac_exeext
41085 if { (ac_try="$ac_link"
41086 case "(($ac_try" in
41087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41088 *) ac_try_echo=$ac_try;;
41089 esac
41090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41091 (eval "$ac_link") 2>conftest.er1
41092 ac_status=$?
41093 grep -v '^ *+' conftest.er1 >conftest.err
41094 rm -f conftest.er1
41095 cat conftest.err >&5
41096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41097 (exit $ac_status); } && {
41098 test -z "$ac_c_werror_flag" ||
41099 test ! -s conftest.err
41100 } && test -s conftest$ac_exeext &&
41101 $as_test_x conftest$ac_exeext; then
41102 ac_cv_lib_shl_load_dld=yes
41103 else
41104 echo "$as_me: failed program was:" >&5
41105 sed 's/^/| /' conftest.$ac_ext >&5
41106
41107 ac_cv_lib_shl_load_dld=no
41108 fi
41109
41110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41111 conftest$ac_exeext conftest.$ac_ext
41112 LIBS=$ac_check_lib_save_LIBS
41113 fi
41114 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41115 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41116 if test $ac_cv_lib_shl_load_dld = yes; then
41117
41118 HAVE_SHL_FUNCS=1
41119 DL_LINK=" -ldld$DL_LINK"
41120
41121 fi
41122
41123
41124 fi
41125 done
41126
41127
41128 fi
41129
41130
41131 fi
41132 done
41133
41134
41135 if test "$HAVE_DL_FUNCS" = 1; then
41136
41137 for ac_func in dlerror
41138 do
41139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41144 else
41145 cat >conftest.$ac_ext <<_ACEOF
41146 /* confdefs.h. */
41147 _ACEOF
41148 cat confdefs.h >>conftest.$ac_ext
41149 cat >>conftest.$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41153 #define $ac_func innocuous_$ac_func
41154
41155 /* System header to define __stub macros and hopefully few prototypes,
41156 which can conflict with char $ac_func (); below.
41157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41158 <limits.h> exists even on freestanding compilers. */
41159
41160 #ifdef __STDC__
41161 # include <limits.h>
41162 #else
41163 # include <assert.h>
41164 #endif
41165
41166 #undef $ac_func
41167
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41171 #ifdef __cplusplus
41172 extern "C"
41173 #endif
41174 char $ac_func ();
41175 /* The GNU C library defines this for functions which it implements
41176 to always fail with ENOSYS. Some functions are actually named
41177 something starting with __ and the normal name is an alias. */
41178 #if defined __stub_$ac_func || defined __stub___$ac_func
41179 choke me
41180 #endif
41181
41182 int
41183 main ()
41184 {
41185 return $ac_func ();
41186 ;
41187 return 0;
41188 }
41189 _ACEOF
41190 rm -f conftest.$ac_objext conftest$ac_exeext
41191 if { (ac_try="$ac_link"
41192 case "(($ac_try" in
41193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41195 esac
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_link") 2>conftest.er1
41198 ac_status=$?
41199 grep -v '^ *+' conftest.er1 >conftest.err
41200 rm -f conftest.er1
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_c_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest$ac_exeext &&
41207 $as_test_x conftest$ac_exeext; then
41208 eval "$as_ac_var=yes"
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41212
41213 eval "$as_ac_var=no"
41214 fi
41215
41216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41217 conftest$ac_exeext conftest.$ac_ext
41218 fi
41219 ac_res=`eval echo '${'$as_ac_var'}'`
41220 { echo "$as_me:$LINENO: result: $ac_res" >&5
41221 echo "${ECHO_T}$ac_res" >&6; }
41222 if test `eval echo '${'$as_ac_var'}'` = yes; then
41223 cat >>confdefs.h <<_ACEOF
41224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41225 _ACEOF
41226 cat >>confdefs.h <<\_ACEOF
41227 #define HAVE_DLERROR 1
41228 _ACEOF
41229
41230 else
41231
41232 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41233 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41234 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41235 echo $ECHO_N "(cached) $ECHO_C" >&6
41236 else
41237 ac_check_lib_save_LIBS=$LIBS
41238 LIBS="-ldl $LIBS"
41239 cat >conftest.$ac_ext <<_ACEOF
41240 /* confdefs.h. */
41241 _ACEOF
41242 cat confdefs.h >>conftest.$ac_ext
41243 cat >>conftest.$ac_ext <<_ACEOF
41244 /* end confdefs.h. */
41245
41246 /* Override any GCC internal prototype to avoid an error.
41247 Use char because int might match the return type of a GCC
41248 builtin and then its argument prototype would still apply. */
41249 #ifdef __cplusplus
41250 extern "C"
41251 #endif
41252 char dlerror ();
41253 int
41254 main ()
41255 {
41256 return dlerror ();
41257 ;
41258 return 0;
41259 }
41260 _ACEOF
41261 rm -f conftest.$ac_objext conftest$ac_exeext
41262 if { (ac_try="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41265 *) ac_try_echo=$ac_try;;
41266 esac
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41269 ac_status=$?
41270 grep -v '^ *+' conftest.er1 >conftest.err
41271 rm -f conftest.er1
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest$ac_exeext &&
41278 $as_test_x conftest$ac_exeext; then
41279 ac_cv_lib_dl_dlerror=yes
41280 else
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41283
41284 ac_cv_lib_dl_dlerror=no
41285 fi
41286
41287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41288 conftest$ac_exeext conftest.$ac_ext
41289 LIBS=$ac_check_lib_save_LIBS
41290 fi
41291 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41292 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41293 if test $ac_cv_lib_dl_dlerror = yes; then
41294 cat >>confdefs.h <<\_ACEOF
41295 #define HAVE_DLERROR 1
41296 _ACEOF
41297
41298 fi
41299
41300
41301
41302 fi
41303 done
41304
41305 fi
41306 fi
41307
41308 if test "$HAVE_DL_FUNCS" = 0; then
41309 if test "$HAVE_SHL_FUNCS" = 0; then
41310 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41311 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41312 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41313 wxUSE_DYNAMIC_LOADER=no
41314 wxUSE_DYNLIB_CLASS=no
41315 else
41316 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41317 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41318 fi
41319 fi
41320 fi
41321 fi
41322 fi
41323
41324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define wxUSE_DYNAMIC_LOADER 1
41327 _ACEOF
41328
41329 fi
41330 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41331 cat >>confdefs.h <<\_ACEOF
41332 #define wxUSE_DYNLIB_CLASS 1
41333 _ACEOF
41334
41335 fi
41336
41337
41338
41339 if test "$wxUSE_PLUGINS" = "yes" ; then
41340 if test "$wxUSE_SHARED" = "no" ; then
41341 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41342 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41343 wxUSE_PLUGINS=no
41344 fi
41345 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41346 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41347 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41348 wxUSE_PLUGINS=no
41349 fi
41350 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41351 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41352 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41353 wxUSE_PLUGINS=no
41354 fi
41355 if test "$wxUSE_PLUGINS" = "yes" ; then
41356 cat >>confdefs.h <<\_ACEOF
41357 #define wxUSE_PLUGINS 1
41358 _ACEOF
41359
41360 fi
41361 fi
41362
41363
41364 if test "$wxUSE_STL" = "yes"; then
41365 cat >>confdefs.h <<\_ACEOF
41366 #define wxUSE_STL 1
41367 _ACEOF
41368
41369 fi
41370
41371 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41372 cat >>confdefs.h <<\_ACEOF
41373 #define wxUSE_EXTENDED_RTTI 1
41374 _ACEOF
41375
41376 fi
41377
41378 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define wxUSE_APPLE_IEEE 1
41381 _ACEOF
41382
41383 fi
41384
41385 if test "$wxUSE_TIMER" = "yes"; then
41386 cat >>confdefs.h <<\_ACEOF
41387 #define wxUSE_TIMER 1
41388 _ACEOF
41389
41390 fi
41391
41392 if test "$USE_UNIX" = 1 ; then
41393 if test "$wxUSE_MGL" != 1; then
41394 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41395 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41396 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41397 echo $ECHO_N "(cached) $ECHO_C" >&6
41398 else
41399
41400 cat >conftest.$ac_ext <<_ACEOF
41401 /* confdefs.h. */
41402 _ACEOF
41403 cat confdefs.h >>conftest.$ac_ext
41404 cat >>conftest.$ac_ext <<_ACEOF
41405 /* end confdefs.h. */
41406
41407 #include <sys/ioctl.h>
41408 #include <sys/soundcard.h>
41409
41410 int
41411 main ()
41412 {
41413
41414 ioctl(0, SNDCTL_DSP_SPEED, 0);
41415
41416 ;
41417 return 0;
41418 }
41419 _ACEOF
41420 rm -f conftest.$ac_objext conftest$ac_exeext
41421 if { (ac_try="$ac_link"
41422 case "(($ac_try" in
41423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41424 *) ac_try_echo=$ac_try;;
41425 esac
41426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41427 (eval "$ac_link") 2>conftest.er1
41428 ac_status=$?
41429 grep -v '^ *+' conftest.er1 >conftest.err
41430 rm -f conftest.er1
41431 cat conftest.err >&5
41432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433 (exit $ac_status); } && {
41434 test -z "$ac_c_werror_flag" ||
41435 test ! -s conftest.err
41436 } && test -s conftest$ac_exeext &&
41437 $as_test_x conftest$ac_exeext; then
41438 ac_cv_header_sys_soundcard=yes
41439 else
41440 echo "$as_me: failed program was:" >&5
41441 sed 's/^/| /' conftest.$ac_ext >&5
41442
41443
41444 saveLibs="$LIBS"
41445 LIBS="$saveLibs -lossaudio"
41446 cat >conftest.$ac_ext <<_ACEOF
41447 /* confdefs.h. */
41448 _ACEOF
41449 cat confdefs.h >>conftest.$ac_ext
41450 cat >>conftest.$ac_ext <<_ACEOF
41451 /* end confdefs.h. */
41452
41453 #include <sys/ioctl.h>
41454 #include <sys/soundcard.h>
41455
41456 int
41457 main ()
41458 {
41459
41460 ioctl(0, SNDCTL_DSP_SPEED, 0);
41461
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 rm -f conftest.$ac_objext conftest$ac_exeext
41467 if { (ac_try="$ac_link"
41468 case "(($ac_try" in
41469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41470 *) ac_try_echo=$ac_try;;
41471 esac
41472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41473 (eval "$ac_link") 2>conftest.er1
41474 ac_status=$?
41475 grep -v '^ *+' conftest.er1 >conftest.err
41476 rm -f conftest.er1
41477 cat conftest.err >&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_c_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest$ac_exeext &&
41483 $as_test_x conftest$ac_exeext; then
41484 ac_cv_header_sys_soundcard=yes
41485 else
41486 echo "$as_me: failed program was:" >&5
41487 sed 's/^/| /' conftest.$ac_ext >&5
41488
41489
41490 LIBS="$saveLibs"
41491 ac_cv_header_sys_soundcard=no
41492
41493
41494 fi
41495
41496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41497 conftest$ac_exeext conftest.$ac_ext
41498
41499
41500 fi
41501
41502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41503 conftest$ac_exeext conftest.$ac_ext
41504
41505 fi
41506 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41507 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41508 fi
41509
41510 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define HAVE_SYS_SOUNDCARD_H 1
41513 _ACEOF
41514
41515 fi
41516 fi
41517
41518 WITH_PLUGIN_SDL=0
41519 if test "$wxUSE_SOUND" = "yes"; then
41520 if test "$USE_UNIX" = 1 ; then
41521 if test "$wxUSE_LIBSDL" != "no"; then
41522
41523 # Check whether --with-sdl-prefix was given.
41524 if test "${with_sdl_prefix+set}" = set; then
41525 withval=$with_sdl_prefix; sdl_prefix="$withval"
41526 else
41527 sdl_prefix=""
41528 fi
41529
41530
41531 # Check whether --with-sdl-exec-prefix was given.
41532 if test "${with_sdl_exec_prefix+set}" = set; then
41533 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41534 else
41535 sdl_exec_prefix=""
41536 fi
41537
41538 # Check whether --enable-sdltest was given.
41539 if test "${enable_sdltest+set}" = set; then
41540 enableval=$enable_sdltest;
41541 else
41542 enable_sdltest=yes
41543 fi
41544
41545
41546 if test x$sdl_exec_prefix != x ; then
41547 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41548 if test x${SDL_CONFIG+set} != xset ; then
41549 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41550 fi
41551 fi
41552 if test x$sdl_prefix != x ; then
41553 sdl_args="$sdl_args --prefix=$sdl_prefix"
41554 if test x${SDL_CONFIG+set} != xset ; then
41555 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41556 fi
41557 fi
41558
41559 if test "x$prefix" != xNONE; then
41560 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41561 fi
41562 # Extract the first word of "sdl-config", so it can be a program name with args.
41563 set dummy sdl-config; ac_word=$2
41564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41566 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41567 echo $ECHO_N "(cached) $ECHO_C" >&6
41568 else
41569 case $SDL_CONFIG in
41570 [\\/]* | ?:[\\/]*)
41571 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41572 ;;
41573 *)
41574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41575 for as_dir in $PATH
41576 do
41577 IFS=$as_save_IFS
41578 test -z "$as_dir" && as_dir=.
41579 for ac_exec_ext in '' $ac_executable_extensions; do
41580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41581 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41583 break 2
41584 fi
41585 done
41586 done
41587 IFS=$as_save_IFS
41588
41589 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41590 ;;
41591 esac
41592 fi
41593 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41594 if test -n "$SDL_CONFIG"; then
41595 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41596 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41597 else
41598 { echo "$as_me:$LINENO: result: no" >&5
41599 echo "${ECHO_T}no" >&6; }
41600 fi
41601
41602
41603 min_sdl_version=1.2.0
41604 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41605 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41606 no_sdl=""
41607 if test "$SDL_CONFIG" = "no" ; then
41608 no_sdl=yes
41609 else
41610 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41611 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41612
41613 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41615 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41617 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41618 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41619 if test "x$enable_sdltest" = "xyes" ; then
41620 ac_save_CFLAGS="$CFLAGS"
41621 ac_save_CXXFLAGS="$CXXFLAGS"
41622 ac_save_LIBS="$LIBS"
41623 CFLAGS="$CFLAGS $SDL_CFLAGS"
41624 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41625 LIBS="$LIBS $SDL_LIBS"
41626 rm -f conf.sdltest
41627 if test "$cross_compiling" = yes; then
41628 echo $ac_n "cross compiling; assumed OK... $ac_c"
41629 else
41630 cat >conftest.$ac_ext <<_ACEOF
41631 /* confdefs.h. */
41632 _ACEOF
41633 cat confdefs.h >>conftest.$ac_ext
41634 cat >>conftest.$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41636
41637 #include <stdio.h>
41638 #include <stdlib.h>
41639 #include <string.h>
41640 #include "SDL.h"
41641
41642 char*
41643 my_strdup (char *str)
41644 {
41645 char *new_str;
41646
41647 if (str)
41648 {
41649 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41650 strcpy (new_str, str);
41651 }
41652 else
41653 new_str = NULL;
41654
41655 return new_str;
41656 }
41657
41658 int main (int argc, char *argv[])
41659 {
41660 int major, minor, micro;
41661 char *tmp_version;
41662
41663 /* This hangs on some systems (?)
41664 system ("touch conf.sdltest");
41665 */
41666 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41667
41668 /* HP/UX 9 (%@#!) writes to sscanf strings */
41669 tmp_version = my_strdup("$min_sdl_version");
41670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41671 printf("%s, bad version string\n", "$min_sdl_version");
41672 exit(1);
41673 }
41674
41675 if (($sdl_major_version > major) ||
41676 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41677 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41678 {
41679 return 0;
41680 }
41681 else
41682 {
41683 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41684 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41685 printf("*** best to upgrade to the required version.\n");
41686 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41687 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41688 printf("*** config.cache before re-running configure\n");
41689 return 1;
41690 }
41691 }
41692
41693
41694 _ACEOF
41695 rm -f conftest$ac_exeext
41696 if { (ac_try="$ac_link"
41697 case "(($ac_try" in
41698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41699 *) ac_try_echo=$ac_try;;
41700 esac
41701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41702 (eval "$ac_link") 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41706 { (case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41708 *) ac_try_echo=$ac_try;;
41709 esac
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_try") 2>&5
41712 ac_status=$?
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; }; then
41715 :
41716 else
41717 echo "$as_me: program exited with status $ac_status" >&5
41718 echo "$as_me: failed program was:" >&5
41719 sed 's/^/| /' conftest.$ac_ext >&5
41720
41721 ( exit $ac_status )
41722 no_sdl=yes
41723 fi
41724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41725 fi
41726
41727
41728 CFLAGS="$ac_save_CFLAGS"
41729 CXXFLAGS="$ac_save_CXXFLAGS"
41730 LIBS="$ac_save_LIBS"
41731 fi
41732 fi
41733 if test "x$no_sdl" = x ; then
41734 { echo "$as_me:$LINENO: result: yes" >&5
41735 echo "${ECHO_T}yes" >&6; }
41736
41737 EXTRALIBS_SDL="$SDL_LIBS"
41738 CFLAGS="$SDL_CFLAGS $CFLAGS"
41739 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41740 cat >>confdefs.h <<\_ACEOF
41741 #define wxUSE_LIBSDL 1
41742 _ACEOF
41743
41744
41745 else
41746 { echo "$as_me:$LINENO: result: no" >&5
41747 echo "${ECHO_T}no" >&6; }
41748 if test "$SDL_CONFIG" = "no" ; then
41749 echo "*** The sdl-config script installed by SDL could not be found"
41750 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41751 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41752 echo "*** full path to sdl-config."
41753 else
41754 if test -f conf.sdltest ; then
41755 :
41756 else
41757 echo "*** Could not run SDL test program, checking why..."
41758 CFLAGS="$CFLAGS $SDL_CFLAGS"
41759 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41760 LIBS="$LIBS $SDL_LIBS"
41761 cat >conftest.$ac_ext <<_ACEOF
41762 /* confdefs.h. */
41763 _ACEOF
41764 cat confdefs.h >>conftest.$ac_ext
41765 cat >>conftest.$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41767
41768 #include <stdio.h>
41769 #include "SDL.h"
41770
41771 int main(int argc, char *argv[])
41772 { return 0; }
41773 #undef main
41774 #define main K_and_R_C_main
41775
41776 int
41777 main ()
41778 {
41779 return 0;
41780 ;
41781 return 0;
41782 }
41783 _ACEOF
41784 rm -f conftest.$ac_objext conftest$ac_exeext
41785 if { (ac_try="$ac_link"
41786 case "(($ac_try" in
41787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41788 *) ac_try_echo=$ac_try;;
41789 esac
41790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41791 (eval "$ac_link") 2>conftest.er1
41792 ac_status=$?
41793 grep -v '^ *+' conftest.er1 >conftest.err
41794 rm -f conftest.er1
41795 cat conftest.err >&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); } && {
41798 test -z "$ac_c_werror_flag" ||
41799 test ! -s conftest.err
41800 } && test -s conftest$ac_exeext &&
41801 $as_test_x conftest$ac_exeext; then
41802 echo "*** The test program compiled, but did not run. This usually means"
41803 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41804 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41805 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41806 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41807 echo "*** is required on your system"
41808 echo "***"
41809 echo "*** If you have an old version installed, it is best to remove it, although"
41810 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41811 else
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41814
41815 echo "*** The test program failed to compile or link. See the file config.log for the"
41816 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41817 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41818 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41819 fi
41820
41821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41822 conftest$ac_exeext conftest.$ac_ext
41823 CFLAGS="$ac_save_CFLAGS"
41824 CXXFLAGS="$ac_save_CXXFLAGS"
41825 LIBS="$ac_save_LIBS"
41826 fi
41827 fi
41828 SDL_CFLAGS=""
41829 SDL_LIBS=""
41830 wxUSE_LIBSDL="no"
41831 fi
41832
41833
41834 rm -f conf.sdltest
41835
41836 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41837 WITH_PLUGIN_SDL=1
41838 fi
41839 fi
41840 else
41841 if test "$wxUSE_MGL" = 1; then
41842 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41843 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41844 wxUSE_SOUND="no"
41845 fi
41846 fi
41847 fi
41848
41849 if test "$wxUSE_SOUND" = "yes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define wxUSE_SOUND 1
41852 _ACEOF
41853
41854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41855 fi
41856
41857 if test "$WXGTK2" = 1; then
41858
41859
41860 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41861 if test -n "$ac_tool_prefix"; then
41862 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41866 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 else
41869 case $PKG_CONFIG in
41870 [\\/]* | ?:[\\/]*)
41871 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41872 ;;
41873 *)
41874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41875 for as_dir in $PATH
41876 do
41877 IFS=$as_save_IFS
41878 test -z "$as_dir" && as_dir=.
41879 for ac_exec_ext in '' $ac_executable_extensions; do
41880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41881 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41883 break 2
41884 fi
41885 done
41886 done
41887 IFS=$as_save_IFS
41888
41889 ;;
41890 esac
41891 fi
41892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41893 if test -n "$PKG_CONFIG"; then
41894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41896 else
41897 { echo "$as_me:$LINENO: result: no" >&5
41898 echo "${ECHO_T}no" >&6; }
41899 fi
41900
41901
41902 fi
41903 if test -z "$ac_cv_path_PKG_CONFIG"; then
41904 ac_pt_PKG_CONFIG=$PKG_CONFIG
41905 # Extract the first word of "pkg-config", so it can be a program name with args.
41906 set dummy pkg-config; ac_word=$2
41907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41909 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 else
41912 case $ac_pt_PKG_CONFIG in
41913 [\\/]* | ?:[\\/]*)
41914 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41915 ;;
41916 *)
41917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41918 for as_dir in $PATH
41919 do
41920 IFS=$as_save_IFS
41921 test -z "$as_dir" && as_dir=.
41922 for ac_exec_ext in '' $ac_executable_extensions; do
41923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41924 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41926 break 2
41927 fi
41928 done
41929 done
41930 IFS=$as_save_IFS
41931
41932 ;;
41933 esac
41934 fi
41935 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41936 if test -n "$ac_pt_PKG_CONFIG"; then
41937 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41938 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41939 else
41940 { echo "$as_me:$LINENO: result: no" >&5
41941 echo "${ECHO_T}no" >&6; }
41942 fi
41943
41944 if test "x$ac_pt_PKG_CONFIG" = x; then
41945 PKG_CONFIG=""
41946 else
41947 case $cross_compiling:$ac_tool_warned in
41948 yes:)
41949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41950 whose name does not start with the host triplet. If you think this
41951 configuration is useful to you, please write to autoconf@gnu.org." >&5
41952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41953 whose name does not start with the host triplet. If you think this
41954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41955 ac_tool_warned=yes ;;
41956 esac
41957 PKG_CONFIG=$ac_pt_PKG_CONFIG
41958 fi
41959 else
41960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41961 fi
41962
41963 fi
41964 if test -n "$PKG_CONFIG"; then
41965 _pkg_min_version=0.9.0
41966 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41967 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41969 { echo "$as_me:$LINENO: result: yes" >&5
41970 echo "${ECHO_T}yes" >&6; }
41971 else
41972 { echo "$as_me:$LINENO: result: no" >&5
41973 echo "${ECHO_T}no" >&6; }
41974 PKG_CONFIG=""
41975 fi
41976
41977 fi
41978
41979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41980
41981 if test "$wxUSE_GTKPRINT" = "yes" ; then
41982
41983
41984 pkg_failed=no
41985 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41986 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41987
41988 if test -n "$PKG_CONFIG"; then
41989 if test -n "$GTKPRINT_CFLAGS"; then
41990 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41991 else
41992 if test -n "$PKG_CONFIG" && \
41993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41994 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41995 ac_status=$?
41996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997 (exit $ac_status); }; then
41998 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
41999 else
42000 pkg_failed=yes
42001 fi
42002 fi
42003 else
42004 pkg_failed=untried
42005 fi
42006 if test -n "$PKG_CONFIG"; then
42007 if test -n "$GTKPRINT_LIBS"; then
42008 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42009 else
42010 if test -n "$PKG_CONFIG" && \
42011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42012 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42013 ac_status=$?
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); }; then
42016 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42017 else
42018 pkg_failed=yes
42019 fi
42020 fi
42021 else
42022 pkg_failed=untried
42023 fi
42024
42025
42026
42027 if test $pkg_failed = yes; then
42028
42029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42030 _pkg_short_errors_supported=yes
42031 else
42032 _pkg_short_errors_supported=no
42033 fi
42034 if test $_pkg_short_errors_supported = yes; then
42035 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42036 else
42037 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42038 fi
42039 # Put the nasty error message in config.log where it belongs
42040 echo "$GTKPRINT_PKG_ERRORS" >&5
42041
42042
42043 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42044 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42045 wxUSE_GTKPRINT="no"
42046
42047
42048 elif test $pkg_failed = untried; then
42049
42050 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42051 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42052 wxUSE_GTKPRINT="no"
42053
42054
42055 else
42056 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42057 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42058 { echo "$as_me:$LINENO: result: yes" >&5
42059 echo "${ECHO_T}yes" >&6; }
42060
42061 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42062 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42063 cat >>confdefs.h <<\_ACEOF
42064 #define wxUSE_GTKPRINT 1
42065 _ACEOF
42066
42067
42068 fi
42069 fi
42070
42071 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42072
42073
42074 pkg_failed=no
42075 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42076 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42077
42078 if test -n "$PKG_CONFIG"; then
42079 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42080 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42081 else
42082 if test -n "$PKG_CONFIG" && \
42083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42084 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42085 ac_status=$?
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; then
42088 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42089 else
42090 pkg_failed=yes
42091 fi
42092 fi
42093 else
42094 pkg_failed=untried
42095 fi
42096 if test -n "$PKG_CONFIG"; then
42097 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42098 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42099 else
42100 if test -n "$PKG_CONFIG" && \
42101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42102 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42103 ac_status=$?
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; then
42106 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42107 else
42108 pkg_failed=yes
42109 fi
42110 fi
42111 else
42112 pkg_failed=untried
42113 fi
42114
42115
42116
42117 if test $pkg_failed = yes; then
42118
42119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42120 _pkg_short_errors_supported=yes
42121 else
42122 _pkg_short_errors_supported=no
42123 fi
42124 if test $_pkg_short_errors_supported = yes; then
42125 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42126 else
42127 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42128 fi
42129 # Put the nasty error message in config.log where it belongs
42130 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42131
42132
42133 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42134 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42135 wxUSE_LIBGNOMEPRINT="no"
42136
42137
42138 elif test $pkg_failed = untried; then
42139
42140 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42141 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42142 wxUSE_LIBGNOMEPRINT="no"
42143
42144
42145 else
42146 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42147 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42148 { echo "$as_me:$LINENO: result: yes" >&5
42149 echo "${ECHO_T}yes" >&6; }
42150
42151 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42152 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42153 cat >>confdefs.h <<\_ACEOF
42154 #define wxUSE_LIBGNOMEPRINT 1
42155 _ACEOF
42156
42157
42158 fi
42159 fi
42160 fi
42161
42162 if test "$wxUSE_MIMETYPE" = "yes" ; then
42163 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42164
42165
42166 pkg_failed=no
42167 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42168 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42169
42170 if test -n "$PKG_CONFIG"; then
42171 if test -n "$GNOMEVFS_CFLAGS"; then
42172 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42173 else
42174 if test -n "$PKG_CONFIG" && \
42175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42176 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42177 ac_status=$?
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); }; then
42180 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42181 else
42182 pkg_failed=yes
42183 fi
42184 fi
42185 else
42186 pkg_failed=untried
42187 fi
42188 if test -n "$PKG_CONFIG"; then
42189 if test -n "$GNOMEVFS_LIBS"; then
42190 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42191 else
42192 if test -n "$PKG_CONFIG" && \
42193 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42194 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42195 ac_status=$?
42196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197 (exit $ac_status); }; then
42198 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42199 else
42200 pkg_failed=yes
42201 fi
42202 fi
42203 else
42204 pkg_failed=untried
42205 fi
42206
42207
42208
42209 if test $pkg_failed = yes; then
42210
42211 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42212 _pkg_short_errors_supported=yes
42213 else
42214 _pkg_short_errors_supported=no
42215 fi
42216 if test $_pkg_short_errors_supported = yes; then
42217 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42218 else
42219 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42220 fi
42221 # Put the nasty error message in config.log where it belongs
42222 echo "$GNOMEVFS_PKG_ERRORS" >&5
42223
42224
42225 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42226 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42227 wxUSE_LIBGNOMEVFS="no"
42228
42229
42230 elif test $pkg_failed = untried; then
42231
42232 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42233 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42234 wxUSE_LIBGNOMEVFS="no"
42235
42236
42237 else
42238 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42239 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42240 { echo "$as_me:$LINENO: result: yes" >&5
42241 echo "${ECHO_T}yes" >&6; }
42242
42243 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42244 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42245 cat >>confdefs.h <<\_ACEOF
42246 #define wxUSE_LIBGNOMEVFS 1
42247 _ACEOF
42248
42249
42250 fi
42251 fi
42252 fi
42253
42254 if test "$wxUSE_LIBHILDON" = "yes" ; then
42255
42256 pkg_failed=no
42257 { echo "$as_me:$LINENO: checking for HILDON" >&5
42258 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42259
42260 if test -n "$PKG_CONFIG"; then
42261 if test -n "$HILDON_CFLAGS"; then
42262 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42263 else
42264 if test -n "$PKG_CONFIG" && \
42265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42266 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42267 ac_status=$?
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; then
42270 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42271 else
42272 pkg_failed=yes
42273 fi
42274 fi
42275 else
42276 pkg_failed=untried
42277 fi
42278 if test -n "$PKG_CONFIG"; then
42279 if test -n "$HILDON_LIBS"; then
42280 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42281 else
42282 if test -n "$PKG_CONFIG" && \
42283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42284 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42285 ac_status=$?
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; then
42288 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42289 else
42290 pkg_failed=yes
42291 fi
42292 fi
42293 else
42294 pkg_failed=untried
42295 fi
42296
42297
42298
42299 if test $pkg_failed = yes; then
42300
42301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42302 _pkg_short_errors_supported=yes
42303 else
42304 _pkg_short_errors_supported=no
42305 fi
42306 if test $_pkg_short_errors_supported = yes; then
42307 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42308 else
42309 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42310 fi
42311 # Put the nasty error message in config.log where it belongs
42312 echo "$HILDON_PKG_ERRORS" >&5
42313
42314
42315 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42316 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42317 wxUSE_LIBHILDON="no"
42318
42319
42320 elif test $pkg_failed = untried; then
42321
42322 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42323 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42324 wxUSE_LIBHILDON="no"
42325
42326
42327 else
42328 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42329 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42330 { echo "$as_me:$LINENO: result: yes" >&5
42331 echo "${ECHO_T}yes" >&6; }
42332
42333 EXTRALIBS_HILDON="$HILDON_LIBS"
42334 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42335 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42336 cat >>confdefs.h <<\_ACEOF
42337 #define wxUSE_LIBHILDON 1
42338 _ACEOF
42339
42340
42341 fi
42342 fi
42343 fi
42344
42345 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define wxUSE_CMDLINE_PARSER 1
42348 _ACEOF
42349
42350 fi
42351
42352 if test "$wxUSE_STOPWATCH" = "yes"; then
42353 cat >>confdefs.h <<\_ACEOF
42354 #define wxUSE_STOPWATCH 1
42355 _ACEOF
42356
42357 fi
42358
42359 if test "$wxUSE_DATETIME" = "yes"; then
42360 cat >>confdefs.h <<\_ACEOF
42361 #define wxUSE_DATETIME 1
42362 _ACEOF
42363
42364 fi
42365
42366 if test "$wxUSE_FILE" = "yes"; then
42367 cat >>confdefs.h <<\_ACEOF
42368 #define wxUSE_FILE 1
42369 _ACEOF
42370
42371 fi
42372
42373 if test "$wxUSE_FFILE" = "yes"; then
42374 cat >>confdefs.h <<\_ACEOF
42375 #define wxUSE_FFILE 1
42376 _ACEOF
42377
42378 fi
42379
42380 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42381 if test "$wxUSE_STREAMS" != yes; then
42382 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42383 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42384 wxUSE_ARCHIVE_STREAMS=no
42385 else
42386 cat >>confdefs.h <<\_ACEOF
42387 #define wxUSE_ARCHIVE_STREAMS 1
42388 _ACEOF
42389
42390 fi
42391 fi
42392
42393 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42394 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42395 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42396 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42397 elif test "$wxUSE_ZLIB" = "no"; then
42398 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42399 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42400 else
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_ZIPSTREAM 1
42403 _ACEOF
42404
42405 fi
42406 fi
42407
42408 if test "$wxUSE_TARSTREAM" = "yes"; then
42409 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42410 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42411 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42412 else
42413 cat >>confdefs.h <<\_ACEOF
42414 #define wxUSE_TARSTREAM 1
42415 _ACEOF
42416
42417 fi
42418 fi
42419
42420 if test "$wxUSE_FILESYSTEM" = "yes"; then
42421 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42422 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42423 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42424 wxUSE_FILESYSTEM=no
42425 else
42426 cat >>confdefs.h <<\_ACEOF
42427 #define wxUSE_FILESYSTEM 1
42428 _ACEOF
42429
42430 fi
42431 fi
42432
42433 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42434 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42435 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42436 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42437 else
42438 cat >>confdefs.h <<\_ACEOF
42439 #define wxUSE_FS_ARCHIVE 1
42440 _ACEOF
42441
42442 fi
42443 fi
42444
42445 if test "$wxUSE_FS_ZIP" = "yes"; then
42446 if test "$wxUSE_FS_ARCHIVE" != yes; then
42447 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42448 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42449 else
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_FS_ZIP 1
42452 _ACEOF
42453
42454 fi
42455 fi
42456
42457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42458 if test "$USE_UNIX" != 1; then
42459 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42460 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42461 wxUSE_ON_FATAL_EXCEPTION=no
42462 else
42463 cat >>confdefs.h <<\_ACEOF
42464 #define wxUSE_ON_FATAL_EXCEPTION 1
42465 _ACEOF
42466
42467 fi
42468 fi
42469
42470 if test "$wxUSE_STACKWALKER" = "yes"; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define wxUSE_STACKWALKER 1
42473 _ACEOF
42474
42475 fi
42476
42477 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42478 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42479 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42480 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42481 wxUSE_DEBUGREPORT=no
42482 else
42483 cat >>confdefs.h <<\_ACEOF
42484 #define wxUSE_DEBUGREPORT 1
42485 _ACEOF
42486
42487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42489 fi
42490 fi
42491 fi
42492
42493 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42494 cat >>confdefs.h <<\_ACEOF
42495 #define wxUSE_SNGLINST_CHECKER 1
42496 _ACEOF
42497
42498 fi
42499
42500 if test "$wxUSE_BUSYINFO" = "yes"; then
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_BUSYINFO 1
42503 _ACEOF
42504
42505 fi
42506
42507 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42508 cat >>confdefs.h <<\_ACEOF
42509 #define wxUSE_STD_IOSTREAM 1
42510 _ACEOF
42511
42512 fi
42513
42514 if test "$wxUSE_STD_STRING" = "yes"; then
42515 cat >>confdefs.h <<\_ACEOF
42516 #define wxUSE_STD_STRING 1
42517 _ACEOF
42518
42519 fi
42520
42521 if test "$wxUSE_STDPATHS" = "yes"; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define wxUSE_STDPATHS 1
42524 _ACEOF
42525
42526 fi
42527
42528 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_TEXTBUFFER 1
42531 _ACEOF
42532
42533 fi
42534
42535 if test "$wxUSE_TEXTFILE" = "yes"; then
42536 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42537 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42538 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42539 else
42540 cat >>confdefs.h <<\_ACEOF
42541 #define wxUSE_TEXTFILE 1
42542 _ACEOF
42543
42544 fi
42545 fi
42546
42547 if test "$wxUSE_CONFIG" = "yes" ; then
42548 if test "$wxUSE_TEXTFILE" != "yes"; then
42549 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42550 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42551 else
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_CONFIG 1
42554 _ACEOF
42555
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_CONFIG_NATIVE 1
42558 _ACEOF
42559
42560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42561 fi
42562 fi
42563
42564 if test "$wxUSE_INTL" = "yes" ; then
42565 if test "$wxUSE_FILE" != "yes"; then
42566 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42567 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42568 else
42569 cat >>confdefs.h <<\_ACEOF
42570 #define wxUSE_INTL 1
42571 _ACEOF
42572
42573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42574 GUIDIST="$GUIDIST INTL_DIST"
42575 fi
42576 fi
42577
42578 if test "$wxUSE_LOG" = "yes"; then
42579 cat >>confdefs.h <<\_ACEOF
42580 #define wxUSE_LOG 1
42581 _ACEOF
42582
42583
42584 if test "$wxUSE_LOGGUI" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_LOGGUI 1
42587 _ACEOF
42588
42589 fi
42590
42591 if test "$wxUSE_LOGWINDOW" = "yes"; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define wxUSE_LOGWINDOW 1
42594 _ACEOF
42595
42596 fi
42597
42598 if test "$wxUSE_LOGDIALOG" = "yes"; then
42599 cat >>confdefs.h <<\_ACEOF
42600 #define wxUSE_LOG_DIALOG 1
42601 _ACEOF
42602
42603 fi
42604
42605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42606 fi
42607
42608 if test "$wxUSE_LONGLONG" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define wxUSE_LONGLONG 1
42611 _ACEOF
42612
42613 fi
42614
42615 if test "$wxUSE_GEOMETRY" = "yes"; then
42616 cat >>confdefs.h <<\_ACEOF
42617 #define wxUSE_GEOMETRY 1
42618 _ACEOF
42619
42620 fi
42621
42622 if test "$wxUSE_BASE64" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_BASE64 1
42625 _ACEOF
42626
42627 fi
42628
42629 if test "$wxUSE_STREAMS" = "yes" ; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_STREAMS 1
42632 _ACEOF
42633
42634 fi
42635
42636 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define wxUSE_PRINTF_POS_PARAMS 1
42639 _ACEOF
42640
42641 fi
42642
42643 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_OBJC_UNIQUIFYING 1
42646 _ACEOF
42647
42648 fi
42649
42650
42651 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_CONSOLE_EVENTLOOP 1
42654 _ACEOF
42655
42656
42657 if test "$wxUSE_UNIX" = "yes"; then
42658 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_SELECT_DISPATCHER 1
42661 _ACEOF
42662
42663 fi
42664
42665 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42666
42667 for ac_header in sys/epoll.h
42668 do
42669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42673 echo $ECHO_N "(cached) $ECHO_C" >&6
42674 else
42675 cat >conftest.$ac_ext <<_ACEOF
42676 /* confdefs.h. */
42677 _ACEOF
42678 cat confdefs.h >>conftest.$ac_ext
42679 cat >>conftest.$ac_ext <<_ACEOF
42680 /* end confdefs.h. */
42681 $ac_includes_default
42682
42683 #include <$ac_header>
42684 _ACEOF
42685 rm -f conftest.$ac_objext
42686 if { (ac_try="$ac_compile"
42687 case "(($ac_try" in
42688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42689 *) ac_try_echo=$ac_try;;
42690 esac
42691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42692 (eval "$ac_compile") 2>conftest.er1
42693 ac_status=$?
42694 grep -v '^ *+' conftest.er1 >conftest.err
42695 rm -f conftest.er1
42696 cat conftest.err >&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } && {
42699 test -z "$ac_c_werror_flag" ||
42700 test ! -s conftest.err
42701 } && test -s conftest.$ac_objext; then
42702 eval "$as_ac_Header=yes"
42703 else
42704 echo "$as_me: failed program was:" >&5
42705 sed 's/^/| /' conftest.$ac_ext >&5
42706
42707 eval "$as_ac_Header=no"
42708 fi
42709
42710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42711 fi
42712 ac_res=`eval echo '${'$as_ac_Header'}'`
42713 { echo "$as_me:$LINENO: result: $ac_res" >&5
42714 echo "${ECHO_T}$ac_res" >&6; }
42715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42716 cat >>confdefs.h <<_ACEOF
42717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42718 _ACEOF
42719
42720 fi
42721
42722 done
42723
42724 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_EPOLL_DISPATCHER 1
42727 _ACEOF
42728
42729 else
42730 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42731 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42732 fi
42733 fi
42734 fi
42735 fi
42736
42737
42738
42739
42740 for ac_func in gettimeofday ftime
42741 do
42742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42746 echo $ECHO_N "(cached) $ECHO_C" >&6
42747 else
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42756 #define $ac_func innocuous_$ac_func
42757
42758 /* System header to define __stub macros and hopefully few prototypes,
42759 which can conflict with char $ac_func (); below.
42760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42761 <limits.h> exists even on freestanding compilers. */
42762
42763 #ifdef __STDC__
42764 # include <limits.h>
42765 #else
42766 # include <assert.h>
42767 #endif
42768
42769 #undef $ac_func
42770
42771 /* Override any GCC internal prototype to avoid an error.
42772 Use char because int might match the return type of a GCC
42773 builtin and then its argument prototype would still apply. */
42774 #ifdef __cplusplus
42775 extern "C"
42776 #endif
42777 char $ac_func ();
42778 /* The GNU C library defines this for functions which it implements
42779 to always fail with ENOSYS. Some functions are actually named
42780 something starting with __ and the normal name is an alias. */
42781 #if defined __stub_$ac_func || defined __stub___$ac_func
42782 choke me
42783 #endif
42784
42785 int
42786 main ()
42787 {
42788 return $ac_func ();
42789 ;
42790 return 0;
42791 }
42792 _ACEOF
42793 rm -f conftest.$ac_objext conftest$ac_exeext
42794 if { (ac_try="$ac_link"
42795 case "(($ac_try" in
42796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42797 *) ac_try_echo=$ac_try;;
42798 esac
42799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42800 (eval "$ac_link") 2>conftest.er1
42801 ac_status=$?
42802 grep -v '^ *+' conftest.er1 >conftest.err
42803 rm -f conftest.er1
42804 cat conftest.err >&5
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); } && {
42807 test -z "$ac_c_werror_flag" ||
42808 test ! -s conftest.err
42809 } && test -s conftest$ac_exeext &&
42810 $as_test_x conftest$ac_exeext; then
42811 eval "$as_ac_var=yes"
42812 else
42813 echo "$as_me: failed program was:" >&5
42814 sed 's/^/| /' conftest.$ac_ext >&5
42815
42816 eval "$as_ac_var=no"
42817 fi
42818
42819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42820 conftest$ac_exeext conftest.$ac_ext
42821 fi
42822 ac_res=`eval echo '${'$as_ac_var'}'`
42823 { echo "$as_me:$LINENO: result: $ac_res" >&5
42824 echo "${ECHO_T}$ac_res" >&6; }
42825 if test `eval echo '${'$as_ac_var'}'` = yes; then
42826 cat >>confdefs.h <<_ACEOF
42827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42828 _ACEOF
42829 break
42830 fi
42831 done
42832
42833
42834 if test "$ac_cv_func_gettimeofday" = "yes"; then
42835 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42836 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42837 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42838 echo $ECHO_N "(cached) $ECHO_C" >&6
42839 else
42840
42841 cat >conftest.$ac_ext <<_ACEOF
42842 /* confdefs.h. */
42843 _ACEOF
42844 cat confdefs.h >>conftest.$ac_ext
42845 cat >>conftest.$ac_ext <<_ACEOF
42846 /* end confdefs.h. */
42847
42848 #include <sys/time.h>
42849 #include <unistd.h>
42850
42851 int
42852 main ()
42853 {
42854
42855 struct timeval tv;
42856 gettimeofday(&tv, NULL);
42857
42858 ;
42859 return 0;
42860 }
42861 _ACEOF
42862 rm -f conftest.$ac_objext
42863 if { (ac_try="$ac_compile"
42864 case "(($ac_try" in
42865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42866 *) ac_try_echo=$ac_try;;
42867 esac
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_compile") 2>conftest.er1
42870 ac_status=$?
42871 grep -v '^ *+' conftest.er1 >conftest.err
42872 rm -f conftest.er1
42873 cat conftest.err >&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest.$ac_objext; then
42879 wx_cv_func_gettimeofday_has_2_args=yes
42880 else
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.$ac_ext >&5
42883
42884 cat >conftest.$ac_ext <<_ACEOF
42885 /* confdefs.h. */
42886 _ACEOF
42887 cat confdefs.h >>conftest.$ac_ext
42888 cat >>conftest.$ac_ext <<_ACEOF
42889 /* end confdefs.h. */
42890
42891 #include <sys/time.h>
42892 #include <unistd.h>
42893
42894 int
42895 main ()
42896 {
42897
42898 struct timeval tv;
42899 gettimeofday(&tv);
42900
42901 ;
42902 return 0;
42903 }
42904 _ACEOF
42905 rm -f conftest.$ac_objext
42906 if { (ac_try="$ac_compile"
42907 case "(($ac_try" in
42908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42909 *) ac_try_echo=$ac_try;;
42910 esac
42911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42912 (eval "$ac_compile") 2>conftest.er1
42913 ac_status=$?
42914 grep -v '^ *+' conftest.er1 >conftest.err
42915 rm -f conftest.er1
42916 cat conftest.err >&5
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); } && {
42919 test -z "$ac_c_werror_flag" ||
42920 test ! -s conftest.err
42921 } && test -s conftest.$ac_objext; then
42922 wx_cv_func_gettimeofday_has_2_args=no
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42926
42927
42928 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42929 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42930 wx_cv_func_gettimeofday_has_2_args=unknown
42931
42932
42933 fi
42934
42935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42936
42937 fi
42938
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940
42941 fi
42942 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42943 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42944
42945 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42946 cat >>confdefs.h <<\_ACEOF
42947 #define WX_GETTIMEOFDAY_NO_TZ 1
42948 _ACEOF
42949
42950 fi
42951 fi
42952
42953 if test "$wxUSE_DATETIME" = "yes"; then
42954 { echo "$as_me:$LINENO: checking for strptime" >&5
42955 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42956 if test "${ac_cv_func_strptime+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 else
42959 cat >conftest.$ac_ext <<_ACEOF
42960 /* confdefs.h. */
42961 _ACEOF
42962 cat confdefs.h >>conftest.$ac_ext
42963 cat >>conftest.$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define strptime innocuous_strptime
42968
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char strptime (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42973
42974 #ifdef __STDC__
42975 # include <limits.h>
42976 #else
42977 # include <assert.h>
42978 #endif
42979
42980 #undef strptime
42981
42982 /* Override any GCC internal prototype to avoid an error.
42983 Use char because int might match the return type of a GCC
42984 builtin and then its argument prototype would still apply. */
42985 #ifdef __cplusplus
42986 extern "C"
42987 #endif
42988 char strptime ();
42989 /* The GNU C library defines this for functions which it implements
42990 to always fail with ENOSYS. Some functions are actually named
42991 something starting with __ and the normal name is an alias. */
42992 #if defined __stub_strptime || defined __stub___strptime
42993 choke me
42994 #endif
42995
42996 int
42997 main ()
42998 {
42999 return strptime ();
43000 ;
43001 return 0;
43002 }
43003 _ACEOF
43004 rm -f conftest.$ac_objext conftest$ac_exeext
43005 if { (ac_try="$ac_link"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43008 *) ac_try_echo=$ac_try;;
43009 esac
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_link") 2>conftest.er1
43012 ac_status=$?
43013 grep -v '^ *+' conftest.er1 >conftest.err
43014 rm -f conftest.er1
43015 cat conftest.err >&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest$ac_exeext &&
43021 $as_test_x conftest$ac_exeext; then
43022 ac_cv_func_strptime=yes
43023 else
43024 echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.$ac_ext >&5
43026
43027 ac_cv_func_strptime=no
43028 fi
43029
43030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43031 conftest$ac_exeext conftest.$ac_ext
43032 fi
43033 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43034 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43035
43036 if test "$ac_cv_func_strptime" = "yes"; then
43037 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43038 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43039 if test "${wx_cv_func_strptime_decl+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43041 else
43042
43043 ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43048
43049 cat >conftest.$ac_ext <<_ACEOF
43050 /* confdefs.h. */
43051 _ACEOF
43052 cat confdefs.h >>conftest.$ac_ext
43053 cat >>conftest.$ac_ext <<_ACEOF
43054 /* end confdefs.h. */
43055
43056 #include <time.h>
43057
43058 int
43059 main ()
43060 {
43061
43062 struct tm t;
43063 strptime("foo", "bar", &t);
43064
43065 ;
43066 return 0;
43067 }
43068 _ACEOF
43069 rm -f conftest.$ac_objext
43070 if { (ac_try="$ac_compile"
43071 case "(($ac_try" in
43072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43073 *) ac_try_echo=$ac_try;;
43074 esac
43075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43076 (eval "$ac_compile") 2>conftest.er1
43077 ac_status=$?
43078 grep -v '^ *+' conftest.er1 >conftest.err
43079 rm -f conftest.er1
43080 cat conftest.err >&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } && {
43083 test -z "$ac_cxx_werror_flag" ||
43084 test ! -s conftest.err
43085 } && test -s conftest.$ac_objext; then
43086 wx_cv_func_strptime_decl=yes
43087 else
43088 echo "$as_me: failed program was:" >&5
43089 sed 's/^/| /' conftest.$ac_ext >&5
43090
43091 wx_cv_func_strptime_decl=no
43092
43093 fi
43094
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096 ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101
43102
43103
43104 fi
43105 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43106 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43107 fi
43108 if test "$wx_cv_func_strptime_decl" = "yes"; then
43109 cat >>confdefs.h <<\_ACEOF
43110 #define HAVE_STRPTIME_DECL 1
43111 _ACEOF
43112
43113 else
43114 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43115 fi
43116 if test "$ac_cv_func_strptime" = "yes"; then
43117 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43118 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43119 if test "${wx_cv_func_strptime_ok+set}" = set; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 else
43122 if test "$cross_compiling" = yes; then
43123 wx_cv_func_strptime_ok=no
43124
43125 else
43126 cat >conftest.$ac_ext <<_ACEOF
43127
43128 #include <stdlib.h>
43129 #include <time.h>
43130 #include "confdefs.h"
43131
43132 $wx_strptime_decl
43133
43134 int main()
43135 {
43136 struct tm t;
43137 return !!strptime("", "%x", &t);
43138 }
43139
43140 _ACEOF
43141 rm -f conftest$ac_exeext
43142 if { (ac_try="$ac_link"
43143 case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43145 *) ac_try_echo=$ac_try;;
43146 esac
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_link") 2>&5
43149 ac_status=$?
43150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43152 { (case "(($ac_try" in
43153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43154 *) ac_try_echo=$ac_try;;
43155 esac
43156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43157 (eval "$ac_try") 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161 wx_cv_func_strptime_ok=yes
43162 else
43163 echo "$as_me: program exited with status $ac_status" >&5
43164 echo "$as_me: failed program was:" >&5
43165 sed 's/^/| /' conftest.$ac_ext >&5
43166
43167 ( exit $ac_status )
43168 wx_cv_func_strptime_ok=no
43169 fi
43170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43171 fi
43172
43173
43174
43175 fi
43176 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43177 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43178
43179 if test "$wx_cv_func_strptime_ok" = "yes"; then
43180 cat >>confdefs.h <<\_ACEOF
43181 #define HAVE_STRPTIME 1
43182 _ACEOF
43183
43184 fi
43185 fi
43186
43187 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43188 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43189 if test "${wx_cv_var_timezone+set}" = set; then
43190 echo $ECHO_N "(cached) $ECHO_C" >&6
43191 else
43192
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198
43199 cat >conftest.$ac_ext <<_ACEOF
43200 /* confdefs.h. */
43201 _ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205
43206 #include <time.h>
43207
43208 int
43209 main ()
43210 {
43211
43212 int tz;
43213 tz = timezone;
43214
43215 ;
43216 return 0;
43217 }
43218 _ACEOF
43219 rm -f conftest.$ac_objext
43220 if { (ac_try="$ac_compile"
43221 case "(($ac_try" in
43222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43223 *) ac_try_echo=$ac_try;;
43224 esac
43225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43226 (eval "$ac_compile") 2>conftest.er1
43227 ac_status=$?
43228 grep -v '^ *+' conftest.er1 >conftest.err
43229 rm -f conftest.er1
43230 cat conftest.err >&5
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); } && {
43233 test -z "$ac_cxx_werror_flag" ||
43234 test ! -s conftest.err
43235 } && test -s conftest.$ac_objext; then
43236
43237 wx_cv_var_timezone=timezone
43238
43239 else
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.$ac_ext >&5
43242
43243
43244 cat >conftest.$ac_ext <<_ACEOF
43245 /* confdefs.h. */
43246 _ACEOF
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43250
43251 #include <time.h>
43252
43253 int
43254 main ()
43255 {
43256
43257 int tz;
43258 tz = _timezone;
43259
43260 ;
43261 return 0;
43262 }
43263 _ACEOF
43264 rm -f conftest.$ac_objext
43265 if { (ac_try="$ac_compile"
43266 case "(($ac_try" in
43267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43268 *) ac_try_echo=$ac_try;;
43269 esac
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_compile") 2>conftest.er1
43272 ac_status=$?
43273 grep -v '^ *+' conftest.er1 >conftest.err
43274 rm -f conftest.er1
43275 cat conftest.err >&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } && {
43278 test -z "$ac_cxx_werror_flag" ||
43279 test ! -s conftest.err
43280 } && test -s conftest.$ac_objext; then
43281
43282 wx_cv_var_timezone=_timezone
43283
43284 else
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43287
43288
43289 cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h. */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43295
43296 #include <time.h>
43297
43298 int
43299 main ()
43300 {
43301
43302 int tz;
43303 tz = __timezone;
43304
43305 ;
43306 return 0;
43307 }
43308 _ACEOF
43309 rm -f conftest.$ac_objext
43310 if { (ac_try="$ac_compile"
43311 case "(($ac_try" in
43312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43313 *) ac_try_echo=$ac_try;;
43314 esac
43315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43316 (eval "$ac_compile") 2>conftest.er1
43317 ac_status=$?
43318 grep -v '^ *+' conftest.er1 >conftest.err
43319 rm -f conftest.er1
43320 cat conftest.err >&5
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); } && {
43323 test -z "$ac_cxx_werror_flag" ||
43324 test ! -s conftest.err
43325 } && test -s conftest.$ac_objext; then
43326
43327 wx_cv_var_timezone=__timezone
43328
43329 else
43330 echo "$as_me: failed program was:" >&5
43331 sed 's/^/| /' conftest.$ac_ext >&5
43332
43333
43334 if test "$USE_DOS" = 0 ; then
43335 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43336 echo "$as_me: WARNING: no timezone variable" >&2;}
43337 fi
43338
43339
43340 fi
43341
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343
43344
43345 fi
43346
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348
43349
43350 fi
43351
43352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43353 ac_ext=c
43354 ac_cpp='$CPP $CPPFLAGS'
43355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358
43359
43360
43361 fi
43362 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43363 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43364
43365 if test "x$wx_cv_var_timezone" != x ; then
43366 cat >>confdefs.h <<_ACEOF
43367 #define WX_TIMEZONE $wx_cv_var_timezone
43368 _ACEOF
43369
43370 fi
43371
43372
43373 for ac_func in localtime
43374 do
43375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43379 echo $ECHO_N "(cached) $ECHO_C" >&6
43380 else
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43389 #define $ac_func innocuous_$ac_func
43390
43391 /* System header to define __stub macros and hopefully few prototypes,
43392 which can conflict with char $ac_func (); below.
43393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43394 <limits.h> exists even on freestanding compilers. */
43395
43396 #ifdef __STDC__
43397 # include <limits.h>
43398 #else
43399 # include <assert.h>
43400 #endif
43401
43402 #undef $ac_func
43403
43404 /* Override any GCC internal prototype to avoid an error.
43405 Use char because int might match the return type of a GCC
43406 builtin and then its argument prototype would still apply. */
43407 #ifdef __cplusplus
43408 extern "C"
43409 #endif
43410 char $ac_func ();
43411 /* The GNU C library defines this for functions which it implements
43412 to always fail with ENOSYS. Some functions are actually named
43413 something starting with __ and the normal name is an alias. */
43414 #if defined __stub_$ac_func || defined __stub___$ac_func
43415 choke me
43416 #endif
43417
43418 int
43419 main ()
43420 {
43421 return $ac_func ();
43422 ;
43423 return 0;
43424 }
43425 _ACEOF
43426 rm -f conftest.$ac_objext conftest$ac_exeext
43427 if { (ac_try="$ac_link"
43428 case "(($ac_try" in
43429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43430 *) ac_try_echo=$ac_try;;
43431 esac
43432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43433 (eval "$ac_link") 2>conftest.er1
43434 ac_status=$?
43435 grep -v '^ *+' conftest.er1 >conftest.err
43436 rm -f conftest.er1
43437 cat conftest.err >&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } && {
43440 test -z "$ac_c_werror_flag" ||
43441 test ! -s conftest.err
43442 } && test -s conftest$ac_exeext &&
43443 $as_test_x conftest$ac_exeext; then
43444 eval "$as_ac_var=yes"
43445 else
43446 echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 eval "$as_ac_var=no"
43450 fi
43451
43452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43453 conftest$ac_exeext conftest.$ac_ext
43454 fi
43455 ac_res=`eval echo '${'$as_ac_var'}'`
43456 { echo "$as_me:$LINENO: result: $ac_res" >&5
43457 echo "${ECHO_T}$ac_res" >&6; }
43458 if test `eval echo '${'$as_ac_var'}'` = yes; then
43459 cat >>confdefs.h <<_ACEOF
43460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43461 _ACEOF
43462
43463 fi
43464 done
43465
43466
43467 if test "$ac_cv_func_localtime" = "yes"; then
43468 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43469 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43470 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 else
43473
43474 cat >conftest.$ac_ext <<_ACEOF
43475 /* confdefs.h. */
43476 _ACEOF
43477 cat confdefs.h >>conftest.$ac_ext
43478 cat >>conftest.$ac_ext <<_ACEOF
43479 /* end confdefs.h. */
43480
43481 #include <time.h>
43482
43483 int
43484 main ()
43485 {
43486
43487 struct tm tm;
43488 tm.tm_gmtoff++;
43489
43490 ;
43491 return 0;
43492 }
43493 _ACEOF
43494 rm -f conftest.$ac_objext
43495 if { (ac_try="$ac_compile"
43496 case "(($ac_try" in
43497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43498 *) ac_try_echo=$ac_try;;
43499 esac
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_compile") 2>conftest.er1
43502 ac_status=$?
43503 grep -v '^ *+' conftest.er1 >conftest.err
43504 rm -f conftest.er1
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest.$ac_objext; then
43511
43512 wx_cv_struct_tm_has_gmtoff=yes
43513
43514 else
43515 echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.$ac_ext >&5
43517
43518 wx_cv_struct_tm_has_gmtoff=no
43519
43520 fi
43521
43522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43523
43524 fi
43525 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43526 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43527 fi
43528
43529 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define WX_GMTOFF_IN_TM 1
43532 _ACEOF
43533
43534 fi
43535
43536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43537 fi
43538
43539
43540 if test "$wxUSE_SOCKETS" = "yes"; then
43541 if test "$wxUSE_MGL" = 1; then
43542 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43543 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43544 wxUSE_SOCKETS="no"
43545 fi
43546 fi
43547
43548 if test "$wxUSE_SOCKETS" = "yes"; then
43549 if test "$TOOLKIT" != "MSW"; then
43550 { echo "$as_me:$LINENO: checking for socket" >&5
43551 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43552 if test "${ac_cv_func_socket+set}" = set; then
43553 echo $ECHO_N "(cached) $ECHO_C" >&6
43554 else
43555 cat >conftest.$ac_ext <<_ACEOF
43556 /* confdefs.h. */
43557 _ACEOF
43558 cat confdefs.h >>conftest.$ac_ext
43559 cat >>conftest.$ac_ext <<_ACEOF
43560 /* end confdefs.h. */
43561 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43563 #define socket innocuous_socket
43564
43565 /* System header to define __stub macros and hopefully few prototypes,
43566 which can conflict with char socket (); below.
43567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43568 <limits.h> exists even on freestanding compilers. */
43569
43570 #ifdef __STDC__
43571 # include <limits.h>
43572 #else
43573 # include <assert.h>
43574 #endif
43575
43576 #undef socket
43577
43578 /* Override any GCC internal prototype to avoid an error.
43579 Use char because int might match the return type of a GCC
43580 builtin and then its argument prototype would still apply. */
43581 #ifdef __cplusplus
43582 extern "C"
43583 #endif
43584 char socket ();
43585 /* The GNU C library defines this for functions which it implements
43586 to always fail with ENOSYS. Some functions are actually named
43587 something starting with __ and the normal name is an alias. */
43588 #if defined __stub_socket || defined __stub___socket
43589 choke me
43590 #endif
43591
43592 int
43593 main ()
43594 {
43595 return socket ();
43596 ;
43597 return 0;
43598 }
43599 _ACEOF
43600 rm -f conftest.$ac_objext conftest$ac_exeext
43601 if { (ac_try="$ac_link"
43602 case "(($ac_try" in
43603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43604 *) ac_try_echo=$ac_try;;
43605 esac
43606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43607 (eval "$ac_link") 2>conftest.er1
43608 ac_status=$?
43609 grep -v '^ *+' conftest.er1 >conftest.err
43610 rm -f conftest.er1
43611 cat conftest.err >&5
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); } && {
43614 test -z "$ac_c_werror_flag" ||
43615 test ! -s conftest.err
43616 } && test -s conftest$ac_exeext &&
43617 $as_test_x conftest$ac_exeext; then
43618 ac_cv_func_socket=yes
43619 else
43620 echo "$as_me: failed program was:" >&5
43621 sed 's/^/| /' conftest.$ac_ext >&5
43622
43623 ac_cv_func_socket=no
43624 fi
43625
43626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43627 conftest$ac_exeext conftest.$ac_ext
43628 fi
43629 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43630 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43631 if test $ac_cv_func_socket = yes; then
43632 :
43633 else
43634
43635 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43636 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43637 if test "${ac_cv_lib_socket_socket+set}" = set; then
43638 echo $ECHO_N "(cached) $ECHO_C" >&6
43639 else
43640 ac_check_lib_save_LIBS=$LIBS
43641 LIBS="-lsocket $LIBS"
43642 cat >conftest.$ac_ext <<_ACEOF
43643 /* confdefs.h. */
43644 _ACEOF
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h. */
43648
43649 /* Override any GCC internal prototype to avoid an error.
43650 Use char because int might match the return type of a GCC
43651 builtin and then its argument prototype would still apply. */
43652 #ifdef __cplusplus
43653 extern "C"
43654 #endif
43655 char socket ();
43656 int
43657 main ()
43658 {
43659 return socket ();
43660 ;
43661 return 0;
43662 }
43663 _ACEOF
43664 rm -f conftest.$ac_objext conftest$ac_exeext
43665 if { (ac_try="$ac_link"
43666 case "(($ac_try" in
43667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43668 *) ac_try_echo=$ac_try;;
43669 esac
43670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43671 (eval "$ac_link") 2>conftest.er1
43672 ac_status=$?
43673 grep -v '^ *+' conftest.er1 >conftest.err
43674 rm -f conftest.er1
43675 cat conftest.err >&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && {
43678 test -z "$ac_c_werror_flag" ||
43679 test ! -s conftest.err
43680 } && test -s conftest$ac_exeext &&
43681 $as_test_x conftest$ac_exeext; then
43682 ac_cv_lib_socket_socket=yes
43683 else
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43686
43687 ac_cv_lib_socket_socket=no
43688 fi
43689
43690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43691 conftest$ac_exeext conftest.$ac_ext
43692 LIBS=$ac_check_lib_save_LIBS
43693 fi
43694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43695 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43696 if test $ac_cv_lib_socket_socket = yes; then
43697 if test "$INET_LINK" != " -lsocket"; then
43698 INET_LINK="$INET_LINK -lsocket"
43699 fi
43700 else
43701
43702 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43703 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43704 wxUSE_SOCKETS=no
43705
43706
43707 fi
43708
43709
43710
43711 fi
43712
43713 fi
43714 fi
43715
43716 if test "$wxUSE_SOCKETS" = "yes" ; then
43717 if test "$TOOLKIT" != "MSW"; then
43718 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43719 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43720 if test "${wx_cv_type_getsockname3+set}" = set; then
43721 echo $ECHO_N "(cached) $ECHO_C" >&6
43722 else
43723
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729
43730 cat >conftest.$ac_ext <<_ACEOF
43731 /* confdefs.h. */
43732 _ACEOF
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43736
43737 #include <sys/types.h>
43738 #include <sys/socket.h>
43739
43740 int
43741 main ()
43742 {
43743
43744 socklen_t len;
43745 getsockname(0, 0, &len);
43746
43747 ;
43748 return 0;
43749 }
43750 _ACEOF
43751 rm -f conftest.$ac_objext
43752 if { (ac_try="$ac_compile"
43753 case "(($ac_try" in
43754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43755 *) ac_try_echo=$ac_try;;
43756 esac
43757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43758 (eval "$ac_compile") 2>conftest.er1
43759 ac_status=$?
43760 grep -v '^ *+' conftest.er1 >conftest.err
43761 rm -f conftest.er1
43762 cat conftest.err >&5
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); } && {
43765 test -z "$ac_cxx_werror_flag" ||
43766 test ! -s conftest.err
43767 } && test -s conftest.$ac_objext; then
43768 wx_cv_type_getsockname3=socklen_t
43769 else
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43772
43773
43774 CFLAGS_OLD="$CFLAGS"
43775 if test "$GCC" = yes ; then
43776 CFLAGS="-Werror $CFLAGS"
43777 fi
43778
43779 cat >conftest.$ac_ext <<_ACEOF
43780 /* confdefs.h. */
43781 _ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h. */
43785
43786 #include <sys/types.h>
43787 #include <sys/socket.h>
43788
43789 int
43790 main ()
43791 {
43792
43793 size_t len;
43794 getsockname(0, 0, &len);
43795
43796 ;
43797 return 0;
43798 }
43799 _ACEOF
43800 rm -f conftest.$ac_objext
43801 if { (ac_try="$ac_compile"
43802 case "(($ac_try" in
43803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43804 *) ac_try_echo=$ac_try;;
43805 esac
43806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43807 (eval "$ac_compile") 2>conftest.er1
43808 ac_status=$?
43809 grep -v '^ *+' conftest.er1 >conftest.err
43810 rm -f conftest.er1
43811 cat conftest.err >&5
43812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43813 (exit $ac_status); } && {
43814 test -z "$ac_cxx_werror_flag" ||
43815 test ! -s conftest.err
43816 } && test -s conftest.$ac_objext; then
43817 wx_cv_type_getsockname3=size_t
43818 else
43819 echo "$as_me: failed program was:" >&5
43820 sed 's/^/| /' conftest.$ac_ext >&5
43821
43822 cat >conftest.$ac_ext <<_ACEOF
43823 /* confdefs.h. */
43824 _ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43828
43829 #include <sys/types.h>
43830 #include <sys/socket.h>
43831
43832 int
43833 main ()
43834 {
43835
43836 int len;
43837 getsockname(0, 0, &len);
43838
43839 ;
43840 return 0;
43841 }
43842 _ACEOF
43843 rm -f conftest.$ac_objext
43844 if { (ac_try="$ac_compile"
43845 case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43847 *) ac_try_echo=$ac_try;;
43848 esac
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_compile") 2>conftest.er1
43851 ac_status=$?
43852 grep -v '^ *+' conftest.er1 >conftest.err
43853 rm -f conftest.er1
43854 cat conftest.err >&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } && {
43857 test -z "$ac_cxx_werror_flag" ||
43858 test ! -s conftest.err
43859 } && test -s conftest.$ac_objext; then
43860 wx_cv_type_getsockname3=int
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865 wx_cv_type_getsockname3=unknown
43866
43867 fi
43868
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870
43871 fi
43872
43873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43874
43875 CFLAGS="$CFLAGS_OLD"
43876
43877
43878 fi
43879
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 ac_ext=c
43882 ac_cpp='$CPP $CPPFLAGS'
43883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43886
43887
43888 fi
43889 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43890 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43891
43892 if test "$wx_cv_type_getsockname3" = "unknown"; then
43893 wxUSE_SOCKETS=no
43894 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43895 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43896 else
43897 cat >>confdefs.h <<_ACEOF
43898 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43899 _ACEOF
43900
43901 fi
43902 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43903 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43904 if test "${wx_cv_type_getsockopt5+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 else
43907
43908 ac_ext=cpp
43909 ac_cpp='$CXXCPP $CPPFLAGS'
43910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43913
43914 cat >conftest.$ac_ext <<_ACEOF
43915 /* confdefs.h. */
43916 _ACEOF
43917 cat confdefs.h >>conftest.$ac_ext
43918 cat >>conftest.$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43920
43921 #include <sys/types.h>
43922 #include <sys/socket.h>
43923
43924 int
43925 main ()
43926 {
43927
43928 socklen_t len;
43929 getsockopt(0, 0, 0, 0, &len);
43930
43931 ;
43932 return 0;
43933 }
43934 _ACEOF
43935 rm -f conftest.$ac_objext
43936 if { (ac_try="$ac_compile"
43937 case "(($ac_try" in
43938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43939 *) ac_try_echo=$ac_try;;
43940 esac
43941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43942 (eval "$ac_compile") 2>conftest.er1
43943 ac_status=$?
43944 grep -v '^ *+' conftest.er1 >conftest.err
43945 rm -f conftest.er1
43946 cat conftest.err >&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); } && {
43949 test -z "$ac_cxx_werror_flag" ||
43950 test ! -s conftest.err
43951 } && test -s conftest.$ac_objext; then
43952 wx_cv_type_getsockopt5=socklen_t
43953 else
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.$ac_ext >&5
43956
43957
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964
43965 #include <sys/types.h>
43966 #include <sys/socket.h>
43967
43968 int
43969 main ()
43970 {
43971
43972 size_t len;
43973 getsockopt(0, 0, 0, 0, &len);
43974
43975 ;
43976 return 0;
43977 }
43978 _ACEOF
43979 rm -f conftest.$ac_objext
43980 if { (ac_try="$ac_compile"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43984 esac
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_compile") 2>conftest.er1
43987 ac_status=$?
43988 grep -v '^ *+' conftest.er1 >conftest.err
43989 rm -f conftest.er1
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } && {
43993 test -z "$ac_cxx_werror_flag" ||
43994 test ! -s conftest.err
43995 } && test -s conftest.$ac_objext; then
43996 wx_cv_type_getsockopt5=size_t
43997 else
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44000
44001 cat >conftest.$ac_ext <<_ACEOF
44002 /* confdefs.h. */
44003 _ACEOF
44004 cat confdefs.h >>conftest.$ac_ext
44005 cat >>conftest.$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44007
44008 #include <sys/types.h>
44009 #include <sys/socket.h>
44010
44011 int
44012 main ()
44013 {
44014
44015 int len;
44016 getsockopt(0, 0, 0, 0, &len);
44017
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (ac_try="$ac_compile"
44024 case "(($ac_try" in
44025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44026 *) ac_try_echo=$ac_try;;
44027 esac
44028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44029 (eval "$ac_compile") 2>conftest.er1
44030 ac_status=$?
44031 grep -v '^ *+' conftest.er1 >conftest.err
44032 rm -f conftest.er1
44033 cat conftest.err >&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); } && {
44036 test -z "$ac_cxx_werror_flag" ||
44037 test ! -s conftest.err
44038 } && test -s conftest.$ac_objext; then
44039 wx_cv_type_getsockopt5=int
44040 else
44041 echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.$ac_ext >&5
44043
44044 wx_cv_type_getsockopt5=unknown
44045
44046 fi
44047
44048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44049
44050 fi
44051
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053
44054
44055 fi
44056
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058 ac_ext=c
44059 ac_cpp='$CPP $CPPFLAGS'
44060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063
44064
44065 fi
44066 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44067 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44068
44069 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44070 wxUSE_SOCKETS=no
44071 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44072 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44073 else
44074 cat >>confdefs.h <<_ACEOF
44075 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44076 _ACEOF
44077
44078 fi
44079 fi
44080 fi
44081
44082 if test "$wxUSE_SOCKETS" = "yes" ; then
44083 if test "$wxUSE_IPV6" = "yes"; then
44084 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44085 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44086 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44087 echo $ECHO_N "(cached) $ECHO_C" >&6
44088 else
44089
44090 cat >conftest.$ac_ext <<_ACEOF
44091 /* confdefs.h. */
44092 _ACEOF
44093 cat confdefs.h >>conftest.$ac_ext
44094 cat >>conftest.$ac_ext <<_ACEOF
44095 /* end confdefs.h. */
44096
44097 #include <sys/types.h>
44098 #include <sys/socket.h>
44099 #include <netinet/in.h>
44100
44101 int
44102 main ()
44103 {
44104
44105 struct sockaddr_in6 sa6;
44106
44107 ;
44108 return 0;
44109 }
44110 _ACEOF
44111 rm -f conftest.$ac_objext
44112 if { (ac_try="$ac_compile"
44113 case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44115 *) ac_try_echo=$ac_try;;
44116 esac
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_compile") 2>conftest.er1
44119 ac_status=$?
44120 grep -v '^ *+' conftest.er1 >conftest.err
44121 rm -f conftest.er1
44122 cat conftest.err >&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } && {
44125 test -z "$ac_c_werror_flag" ||
44126 test ! -s conftest.err
44127 } && test -s conftest.$ac_objext; then
44128 wx_cv_type_sockaddr_in6=yes
44129 else
44130 echo "$as_me: failed program was:" >&5
44131 sed 's/^/| /' conftest.$ac_ext >&5
44132
44133 wx_cv_type_sockaddr_in6=no
44134
44135 fi
44136
44137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44138
44139
44140 fi
44141 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44142 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44143
44144 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44145 cat >>confdefs.h <<\_ACEOF
44146 #define wxUSE_IPV6 1
44147 _ACEOF
44148
44149 else
44150 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44151 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44152 fi
44153 fi
44154
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_SOCKETS 1
44157 _ACEOF
44158
44159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44160 fi
44161
44162 if test "$wxUSE_PROTOCOL" = "yes"; then
44163 if test "$wxUSE_SOCKETS" != "yes"; then
44164 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44165 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44166 wxUSE_PROTOCOL=no
44167 fi
44168 fi
44169
44170 if test "$wxUSE_PROTOCOL" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_PROTOCOL 1
44173 _ACEOF
44174
44175
44176 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_PROTOCOL_HTTP 1
44179 _ACEOF
44180
44181 fi
44182 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_PROTOCOL_FTP 1
44185 _ACEOF
44186
44187 fi
44188 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_PROTOCOL_FILE 1
44191 _ACEOF
44192
44193 fi
44194 else
44195 if test "$wxUSE_FS_INET" = "yes"; then
44196 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44197 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44198 wxUSE_FS_INET="no"
44199 fi
44200 fi
44201
44202 if test "$wxUSE_URL" = "yes"; then
44203 if test "$wxUSE_PROTOCOL" != "yes"; then
44204 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44205 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44206 wxUSE_URL=no
44207 fi
44208 if test "$wxUSE_URL" = "yes"; then
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_URL 1
44211 _ACEOF
44212
44213 fi
44214 fi
44215
44216 if test "$wxUSE_VARIANT" = "yes"; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_VARIANT 1
44219 _ACEOF
44220
44221 fi
44222
44223 if test "$wxUSE_FS_INET" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_FS_INET 1
44226 _ACEOF
44227
44228 fi
44229
44230
44231 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44232 wxUSE_JOYSTICK=no
44233
44234 if test "$TOOLKIT" = "MSW"; then
44235 wxUSE_JOYSTICK=yes
44236
44237 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44238 if test "$USE_DARWIN" = 1; then
44239 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44240 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44241 ac_ext=cpp
44242 ac_cpp='$CXXCPP $CPPFLAGS'
44243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44246
44247 cat >conftest.$ac_ext <<_ACEOF
44248 /* confdefs.h. */
44249 _ACEOF
44250 cat confdefs.h >>conftest.$ac_ext
44251 cat >>conftest.$ac_ext <<_ACEOF
44252 /* end confdefs.h. */
44253 #include <IOKit/hid/IOHIDLib.h>
44254 int
44255 main ()
44256 {
44257 IOHIDQueueInterface *qi = NULL;
44258 IOHIDCallbackFunction cb = NULL;
44259 qi->setEventCallout(NULL, cb, NULL, NULL);
44260 ;
44261 return 0;
44262 }
44263 _ACEOF
44264 rm -f conftest.$ac_objext
44265 if { (ac_try="$ac_compile"
44266 case "(($ac_try" in
44267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44268 *) ac_try_echo=$ac_try;;
44269 esac
44270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44271 (eval "$ac_compile") 2>conftest.er1
44272 ac_status=$?
44273 grep -v '^ *+' conftest.er1 >conftest.err
44274 rm -f conftest.er1
44275 cat conftest.err >&5
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); } && {
44278 test -z "$ac_cxx_werror_flag" ||
44279 test ! -s conftest.err
44280 } && test -s conftest.$ac_objext; then
44281 wxUSE_JOYSTICK=yes
44282
44283 else
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.$ac_ext >&5
44286
44287
44288 fi
44289
44290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44291 ac_ext=c
44292 ac_cpp='$CPP $CPPFLAGS'
44293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44296
44297 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44298 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44299 fi
44300
44301 else
44302 if test "$wxUSE_MGL" != 1; then
44303
44304 for ac_header in linux/joystick.h
44305 do
44306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44310 echo $ECHO_N "(cached) $ECHO_C" >&6
44311 else
44312 cat >conftest.$ac_ext <<_ACEOF
44313 /* confdefs.h. */
44314 _ACEOF
44315 cat confdefs.h >>conftest.$ac_ext
44316 cat >>conftest.$ac_ext <<_ACEOF
44317 /* end confdefs.h. */
44318 $ac_includes_default
44319
44320 #include <$ac_header>
44321 _ACEOF
44322 rm -f conftest.$ac_objext
44323 if { (ac_try="$ac_compile"
44324 case "(($ac_try" in
44325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44326 *) ac_try_echo=$ac_try;;
44327 esac
44328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44329 (eval "$ac_compile") 2>conftest.er1
44330 ac_status=$?
44331 grep -v '^ *+' conftest.er1 >conftest.err
44332 rm -f conftest.er1
44333 cat conftest.err >&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } && {
44336 test -z "$ac_c_werror_flag" ||
44337 test ! -s conftest.err
44338 } && test -s conftest.$ac_objext; then
44339 eval "$as_ac_Header=yes"
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44343
44344 eval "$as_ac_Header=no"
44345 fi
44346
44347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44348 fi
44349 ac_res=`eval echo '${'$as_ac_Header'}'`
44350 { echo "$as_me:$LINENO: result: $ac_res" >&5
44351 echo "${ECHO_T}$ac_res" >&6; }
44352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44353 cat >>confdefs.h <<_ACEOF
44354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44355 _ACEOF
44356 wxUSE_JOYSTICK=yes
44357 fi
44358
44359 done
44360
44361 fi
44362 fi
44363
44364 if test "$wxUSE_JOYSTICK" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_JOYSTICK 1
44367 _ACEOF
44368
44369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44370 else
44371 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44372 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44373 fi
44374 fi
44375
44376
44377
44378 if test "$wxUSE_FONTENUM" = "yes" ; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_FONTENUM 1
44381 _ACEOF
44382
44383 fi
44384
44385 if test "$wxUSE_FONTMAP" = "yes" ; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_FONTMAP 1
44388 _ACEOF
44389
44390 fi
44391
44392 if test "$wxUSE_UNICODE" = "yes" ; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define wxUSE_UNICODE 1
44395 _ACEOF
44396
44397
44398 if test "$USE_WIN32" != 1; then
44399 wxUSE_UNICODE_MSLU=no
44400 fi
44401
44402 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44403 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44404 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44405 if test "${ac_cv_lib_unicows_main+set}" = set; then
44406 echo $ECHO_N "(cached) $ECHO_C" >&6
44407 else
44408 ac_check_lib_save_LIBS=$LIBS
44409 LIBS="-lunicows $LIBS"
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416
44417
44418 int
44419 main ()
44420 {
44421 return main ();
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 rm -f conftest.$ac_objext conftest$ac_exeext
44427 if { (ac_try="$ac_link"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_link") 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest$ac_exeext &&
44443 $as_test_x conftest$ac_exeext; then
44444 ac_cv_lib_unicows_main=yes
44445 else
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44448
44449 ac_cv_lib_unicows_main=no
44450 fi
44451
44452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44453 conftest$ac_exeext conftest.$ac_ext
44454 LIBS=$ac_check_lib_save_LIBS
44455 fi
44456 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44457 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44458 if test $ac_cv_lib_unicows_main = yes; then
44459
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_UNICODE_MSLU 1
44462 _ACEOF
44463
44464
44465 else
44466
44467 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44468 Applications will only run on Windows NT/2000/XP!" >&5
44469 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44470 Applications will only run on Windows NT/2000/XP!" >&2;}
44471 wxUSE_UNICODE_MSLU=no
44472
44473 fi
44474
44475 fi
44476 fi
44477
44478 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44479 cat >>confdefs.h <<\_ACEOF
44480 #define wxUSE_UNICODE_UTF8 1
44481 _ACEOF
44482
44483
44484 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_UTF8_LOCALE_ONLY 1
44487 _ACEOF
44488
44489 fi
44490 fi
44491
44492
44493 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_CONSTRAINTS 1
44496 _ACEOF
44497
44498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44499 fi
44500
44501 if test "$wxUSE_MDI" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_MDI 1
44504 _ACEOF
44505
44506
44507 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44508 cat >>confdefs.h <<\_ACEOF
44509 #define wxUSE_MDI_ARCHITECTURE 1
44510 _ACEOF
44511
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44513 fi
44514 fi
44515
44516 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44517 cat >>confdefs.h <<\_ACEOF
44518 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44519 _ACEOF
44520
44521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44522 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44524 fi
44525 fi
44526
44527 if test "$wxUSE_HELP" = "yes"; then
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_HELP 1
44530 _ACEOF
44531
44532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44533
44534 if test "$wxUSE_MSW" = 1; then
44535 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_MS_HTML_HELP 1
44538 _ACEOF
44539
44540 fi
44541 fi
44542
44543 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44544 if test "$wxUSE_HTML" = "yes"; then
44545 cat >>confdefs.h <<\_ACEOF
44546 #define wxUSE_WXHTML_HELP 1
44547 _ACEOF
44548
44549 else
44550 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44551 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44552 wxUSE_WXHTML_HELP=no
44553 fi
44554 fi
44555 fi
44556
44557 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44558 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44559 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44560 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44561 else
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_PRINTING_ARCHITECTURE 1
44564 _ACEOF
44565
44566 fi
44567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44568 fi
44569
44570 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_POSTSCRIPT 1
44573 _ACEOF
44574
44575 fi
44576
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44579 _ACEOF
44580
44581
44582 if test "$wxUSE_SVG" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_SVG 1
44585 _ACEOF
44586
44587 fi
44588
44589
44590 if test "$wxUSE_METAFILE" = "yes"; then
44591 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44592 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44593 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44594 wxUSE_METAFILE=no
44595 fi
44596 fi
44597
44598
44599 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44600 -o "$wxUSE_CLIPBOARD" = "yes" \
44601 -o "$wxUSE_OLE" = "yes" \
44602 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44603 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44604 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44605 if test "${ac_cv_header_ole2_h+set}" = set; then
44606 echo $ECHO_N "(cached) $ECHO_C" >&6
44607 else
44608 cat >conftest.$ac_ext <<_ACEOF
44609 /* confdefs.h. */
44610 _ACEOF
44611 cat confdefs.h >>conftest.$ac_ext
44612 cat >>conftest.$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44614
44615
44616 #include <ole2.h>
44617 _ACEOF
44618 rm -f conftest.$ac_objext
44619 if { (ac_try="$ac_compile"
44620 case "(($ac_try" in
44621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44622 *) ac_try_echo=$ac_try;;
44623 esac
44624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44625 (eval "$ac_compile") 2>conftest.er1
44626 ac_status=$?
44627 grep -v '^ *+' conftest.er1 >conftest.err
44628 rm -f conftest.er1
44629 cat conftest.err >&5
44630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44631 (exit $ac_status); } && {
44632 test -z "$ac_c_werror_flag" ||
44633 test ! -s conftest.err
44634 } && test -s conftest.$ac_objext; then
44635 ac_cv_header_ole2_h=yes
44636 else
44637 echo "$as_me: failed program was:" >&5
44638 sed 's/^/| /' conftest.$ac_ext >&5
44639
44640 ac_cv_header_ole2_h=no
44641 fi
44642
44643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44644 fi
44645 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44646 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44647
44648
44649
44650 if test "$ac_cv_header_ole2_h" = "yes" ; then
44651 if test "$GCC" = yes ; then
44652 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44653 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44654 cat >conftest.$ac_ext <<_ACEOF
44655 /* confdefs.h. */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660 #include <windows.h>
44661 #include <ole2.h>
44662 int
44663 main ()
44664 {
44665
44666 ;
44667 return 0;
44668 }
44669 _ACEOF
44670 rm -f conftest.$ac_objext
44671 if { (ac_try="$ac_compile"
44672 case "(($ac_try" in
44673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44674 *) ac_try_echo=$ac_try;;
44675 esac
44676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44677 (eval "$ac_compile") 2>conftest.er1
44678 ac_status=$?
44679 grep -v '^ *+' conftest.er1 >conftest.err
44680 rm -f conftest.er1
44681 cat conftest.err >&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); } && {
44684 test -z "$ac_c_werror_flag" ||
44685 test ! -s conftest.err
44686 } && test -s conftest.$ac_objext; then
44687 { echo "$as_me:$LINENO: result: no" >&5
44688 echo "${ECHO_T}no" >&6; }
44689 else
44690 echo "$as_me: failed program was:" >&5
44691 sed 's/^/| /' conftest.$ac_ext >&5
44692
44693 { echo "$as_me:$LINENO: result: yes" >&5
44694 echo "${ECHO_T}yes" >&6; }
44695 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44696 fi
44697
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44700 if test "$wxUSE_OLE" = "yes" ; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_OLE 1
44703 _ACEOF
44704
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_OLE_AUTOMATION 1
44707 _ACEOF
44708
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_ACTIVEX 1
44711 _ACEOF
44712
44713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44714 fi
44715 fi
44716
44717 if test "$wxUSE_DATAOBJ" = "yes" ; then
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_DATAOBJ 1
44720 _ACEOF
44721
44722 fi
44723 else
44724 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44725 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44726
44727 wxUSE_CLIPBOARD=no
44728 wxUSE_DRAG_AND_DROP=no
44729 wxUSE_DATAOBJ=no
44730 wxUSE_OLE=no
44731 fi
44732
44733 if test "$wxUSE_METAFILE" = "yes"; then
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_METAFILE 1
44736 _ACEOF
44737
44738
44739 cat >>confdefs.h <<\_ACEOF
44740 #define wxUSE_ENH_METAFILE 1
44741 _ACEOF
44742
44743 fi
44744 fi
44745
44746 if test "$wxUSE_IPC" = "yes"; then
44747 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44748 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44749 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44750 wxUSE_IPC=no
44751 fi
44752
44753 if test "$wxUSE_IPC" = "yes"; then
44754 cat >>confdefs.h <<\_ACEOF
44755 #define wxUSE_IPC 1
44756 _ACEOF
44757
44758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44759 fi
44760 fi
44761
44762 if test "$wxUSE_DATAOBJ" = "yes"; then
44763 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44764 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44765 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44766 wxUSE_DATAOBJ=no
44767 else
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_DATAOBJ 1
44770 _ACEOF
44771
44772 fi
44773 else
44774 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44775 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44776 wxUSE_CLIPBOARD=no
44777 wxUSE_DRAG_AND_DROP=no
44778 fi
44779
44780 if test "$wxUSE_CLIPBOARD" = "yes"; then
44781 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44782 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44783 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44784 wxUSE_CLIPBOARD=no
44785 fi
44786
44787 if test "$wxUSE_CLIPBOARD" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_CLIPBOARD 1
44790 _ACEOF
44791
44792 fi
44793 fi
44794
44795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44796 if test "$wxUSE_GTK" = 1; then
44797 if test "$WXGTK12" != 1; then
44798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44800 wxUSE_DRAG_AND_DROP=no
44801 fi
44802 fi
44803
44804 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44805 "$wxUSE_DFB" = 1; then
44806 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44807 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44808 wxUSE_DRAG_AND_DROP=no
44809 fi
44810
44811 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_DRAG_AND_DROP 1
44814 _ACEOF
44815
44816 fi
44817
44818 fi
44819
44820 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44822 fi
44823
44824 if test "$wxUSE_SPLINES" = "yes" ; then
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_SPLINES 1
44827 _ACEOF
44828
44829 fi
44830
44831 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_MOUSEWHEEL 1
44834 _ACEOF
44835
44836 fi
44837
44838
44839 USES_CONTROLS=0
44840 if test "$wxUSE_CONTROLS" = "yes"; then
44841 USES_CONTROLS=1
44842 fi
44843
44844 if test "$wxUSE_ACCEL" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_ACCEL 1
44847 _ACEOF
44848
44849 USES_CONTROLS=1
44850 fi
44851
44852 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_ANIMATIONCTRL 1
44855 _ACEOF
44856
44857 USES_CONTROLS=1
44858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44859 fi
44860
44861 if test "$wxUSE_BUTTON" = "yes"; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_BUTTON 1
44864 _ACEOF
44865
44866 USES_CONTROLS=1
44867 fi
44868
44869 if test "$wxUSE_BMPBUTTON" = "yes"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_BMPBUTTON 1
44872 _ACEOF
44873
44874 USES_CONTROLS=1
44875 fi
44876
44877 if test "$wxUSE_CALCTRL" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_CALENDARCTRL 1
44880 _ACEOF
44881
44882 USES_CONTROLS=1
44883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44884 fi
44885
44886 if test "$wxUSE_CARET" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_CARET 1
44889 _ACEOF
44890
44891 USES_CONTROLS=1
44892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44893 fi
44894
44895 if test "$wxUSE_COLLPANE" = "yes"; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_COLLPANE 1
44898 _ACEOF
44899
44900 USES_CONTROLS=1
44901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44902 fi
44903
44904 if test "$wxUSE_COMBOBOX" = "yes"; then
44905 cat >>confdefs.h <<\_ACEOF
44906 #define wxUSE_COMBOBOX 1
44907 _ACEOF
44908
44909 USES_CONTROLS=1
44910 fi
44911
44912 if test "$wxUSE_COMBOCTRL" = "yes"; then
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_COMBOCTRL 1
44915 _ACEOF
44916
44917 USES_CONTROLS=1
44918 fi
44919
44920 if test "$wxUSE_CHOICE" = "yes"; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_CHOICE 1
44923 _ACEOF
44924
44925 USES_CONTROLS=1
44926 fi
44927
44928 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_CHOICEBOOK 1
44931 _ACEOF
44932
44933 USES_CONTROLS=1
44934 fi
44935
44936 if test "$wxUSE_CHECKBOX" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_CHECKBOX 1
44939 _ACEOF
44940
44941 USES_CONTROLS=1
44942 fi
44943
44944 if test "$wxUSE_CHECKLST" = "yes"; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_CHECKLISTBOX 1
44947 _ACEOF
44948
44949 USES_CONTROLS=1
44950 fi
44951
44952 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_COLOURPICKERCTRL 1
44955 _ACEOF
44956
44957 USES_CONTROLS=1
44958 fi
44959
44960 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_DATEPICKCTRL 1
44963 _ACEOF
44964
44965 USES_CONTROLS=1
44966 fi
44967
44968 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_DIRPICKERCTRL 1
44971 _ACEOF
44972
44973 USES_CONTROLS=1
44974 fi
44975
44976 if test "$wxUSE_FILECTRL" = "yes"; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_FILECTRL 1
44979 _ACEOF
44980
44981 USES_CONTROLS=1
44982 fi
44983
44984 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_FILEPICKERCTRL 1
44987 _ACEOF
44988
44989 USES_CONTROLS=1
44990 fi
44991
44992 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_FONTPICKERCTRL 1
44995 _ACEOF
44996
44997 USES_CONTROLS=1
44998 fi
44999
45000 if test "$wxUSE_DISPLAY" = "yes"; then
45001 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45002 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45003 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45004 wxUSE_DISPLAY=no
45005 else
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_DISPLAY 1
45008 _ACEOF
45009
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45011 fi
45012 fi
45013
45014 if test "$wxUSE_DETECT_SM" = "yes"; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_DETECT_SM 1
45017 _ACEOF
45018
45019 fi
45020
45021 if test "$wxUSE_GAUGE" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_GAUGE 1
45024 _ACEOF
45025
45026 USES_CONTROLS=1
45027 fi
45028
45029 if test "$wxUSE_GRID" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_GRID 1
45032 _ACEOF
45033
45034 USES_CONTROLS=1
45035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45036 fi
45037
45038 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_HYPERLINKCTRL 1
45041 _ACEOF
45042
45043 USES_CONTROLS=1
45044 fi
45045
45046 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_BITMAPCOMBOBOX 1
45049 _ACEOF
45050
45051 USES_CONTROLS=1
45052 fi
45053
45054 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_DATAVIEWCTRL 1
45057 _ACEOF
45058
45059 USES_CONTROLS=1
45060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45061 fi
45062
45063 if test "$wxUSE_IMAGLIST" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_IMAGLIST 1
45066 _ACEOF
45067
45068 fi
45069
45070 if test "$wxUSE_LISTBOOK" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_LISTBOOK 1
45073 _ACEOF
45074
45075 USES_CONTROLS=1
45076 fi
45077
45078 if test "$wxUSE_LISTBOX" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_LISTBOX 1
45081 _ACEOF
45082
45083 USES_CONTROLS=1
45084 fi
45085
45086 if test "$wxUSE_LISTCTRL" = "yes"; then
45087 if test "$wxUSE_IMAGLIST" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_LISTCTRL 1
45090 _ACEOF
45091
45092 USES_CONTROLS=1
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45094 else
45095 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45096 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45097 fi
45098 fi
45099
45100 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_EDITABLELISTBOX 1
45103 _ACEOF
45104
45105 USES_CONTROLS=1
45106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45107 fi
45108
45109 if test "$wxUSE_NOTEBOOK" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_NOTEBOOK 1
45112 _ACEOF
45113
45114 USES_CONTROLS=1
45115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45116 fi
45117
45118 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_NOTIFICATION_MESSAGE 1
45121 _ACEOF
45122
45123 fi
45124
45125 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_ODCOMBOBOX 1
45128 _ACEOF
45129
45130 USES_CONTROLS=1
45131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45132 fi
45133
45134 if test "$wxUSE_RADIOBOX" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_RADIOBOX 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_RADIOBTN" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_RADIOBTN 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 fi
45149
45150 if test "$wxUSE_SASH" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_SASH 1
45153 _ACEOF
45154
45155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45156 fi
45157
45158 if test "$wxUSE_SCROLLBAR" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_SCROLLBAR 1
45161 _ACEOF
45162
45163 USES_CONTROLS=1
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45165 fi
45166
45167 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_SEARCHCTRL 1
45170 _ACEOF
45171
45172 USES_CONTROLS=1
45173 fi
45174
45175 if test "$wxUSE_SLIDER" = "yes"; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_SLIDER 1
45178 _ACEOF
45179
45180 USES_CONTROLS=1
45181 fi
45182
45183 if test "$wxUSE_SPINBTN" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_SPINBTN 1
45186 _ACEOF
45187
45188 USES_CONTROLS=1
45189 fi
45190
45191 if test "$wxUSE_SPINCTRL" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_SPINCTRL 1
45194 _ACEOF
45195
45196 USES_CONTROLS=1
45197 fi
45198
45199 if test "$wxUSE_SPLITTER" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_SPLITTER 1
45202 _ACEOF
45203
45204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45205 fi
45206
45207 if test "$wxUSE_STATBMP" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_STATBMP 1
45210 _ACEOF
45211
45212 USES_CONTROLS=1
45213 fi
45214
45215 if test "$wxUSE_STATBOX" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_STATBOX 1
45218 _ACEOF
45219
45220 USES_CONTROLS=1
45221 fi
45222
45223 if test "$wxUSE_STATTEXT" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_STATTEXT 1
45226 _ACEOF
45227
45228 USES_CONTROLS=1
45229 fi
45230
45231 if test "$wxUSE_STATLINE" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_STATLINE 1
45234 _ACEOF
45235
45236 USES_CONTROLS=1
45237 fi
45238
45239 if test "$wxUSE_STATUSBAR" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_NATIVE_STATUSBAR 1
45242 _ACEOF
45243
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_STATUSBAR 1
45246 _ACEOF
45247
45248 USES_CONTROLS=1
45249
45250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45251 fi
45252
45253 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_TAB_DIALOG 1
45256 _ACEOF
45257
45258 fi
45259
45260 if test "$wxUSE_TEXTCTRL" = "yes"; then
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_TEXTCTRL 1
45263 _ACEOF
45264
45265 USES_CONTROLS=1
45266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45267 fi
45268
45269 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45270 if test "$wxUSE_COCOA" = 1 ; then
45271 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45272 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45273 wxUSE_TOGGLEBTN=no
45274 fi
45275
45276 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_TOGGLEBTN 1
45279 _ACEOF
45280
45281 USES_CONTROLS=1
45282 fi
45283 fi
45284
45285 if test "$wxUSE_TOOLBAR" = "yes"; then
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_TOOLBAR 1
45288 _ACEOF
45289
45290 USES_CONTROLS=1
45291
45292 if test "$wxUSE_UNIVERSAL" = "yes"; then
45293 wxUSE_TOOLBAR_NATIVE="no"
45294 else
45295 wxUSE_TOOLBAR_NATIVE="yes"
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_TOOLBAR_NATIVE 1
45298 _ACEOF
45299
45300 fi
45301
45302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45303 fi
45304
45305 if test "$wxUSE_TOOLTIPS" = "yes"; then
45306 if test "$wxUSE_MOTIF" = 1; then
45307 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45308 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45309 else
45310 if test "$wxUSE_UNIVERSAL" = "yes"; then
45311 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45312 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45313 else
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_TOOLTIPS 1
45316 _ACEOF
45317
45318 fi
45319 fi
45320 fi
45321
45322 if test "$wxUSE_TREEBOOK" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_TREEBOOK 1
45325 _ACEOF
45326
45327 USES_CONTROLS=1
45328 fi
45329
45330 if test "$wxUSE_TOOLBOOK" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_TOOLBOOK 1
45333 _ACEOF
45334
45335 USES_CONTROLS=1
45336 fi
45337
45338 if test "$wxUSE_TREECTRL" = "yes"; then
45339 if test "$wxUSE_IMAGLIST" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_TREECTRL 1
45342 _ACEOF
45343
45344 USES_CONTROLS=1
45345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45346 else
45347 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45348 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45349 fi
45350 fi
45351
45352 if test "$wxUSE_POPUPWIN" = "yes"; then
45353 if test "$wxUSE_COCOA" = 1 ; then
45354 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45355 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45356 else
45357 if test "$wxUSE_PM" = 1; then
45358 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45359 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45360 else
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_POPUPWIN 1
45363 _ACEOF
45364
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45366
45367 USES_CONTROLS=1
45368 fi
45369 fi
45370 fi
45371
45372 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45373 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45374 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45375 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45376 else
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_DIALUP_MANAGER 1
45379 _ACEOF
45380
45381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45382 fi
45383 fi
45384
45385 if test "$wxUSE_TIPWINDOW" = "yes"; then
45386 if test "$wxUSE_PM" = 1; then
45387 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45388 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45389 else
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_TIPWINDOW 1
45392 _ACEOF
45393
45394 fi
45395 fi
45396
45397 if test "$USES_CONTROLS" = 1; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_CONTROLS 1
45400 _ACEOF
45401
45402 fi
45403
45404
45405 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_ACCESSIBILITY 1
45408 _ACEOF
45409
45410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45411 fi
45412
45413 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_DRAGIMAGE 1
45416 _ACEOF
45417
45418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45419 fi
45420
45421 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45422 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45423 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45424 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45425 else
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_EXCEPTIONS 1
45428 _ACEOF
45429
45430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45431 fi
45432 fi
45433
45434 USE_HTML=0
45435 if test "$wxUSE_HTML" = "yes"; then
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_HTML 1
45438 _ACEOF
45439
45440 USE_HTML=1
45441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45442 if test "$wxUSE_MAC" = 1; then
45443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45444 fi
45445 fi
45446 if test "$wxUSE_WEBKIT" = "yes"; then
45447 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45448 old_CPPFLAGS="$CPPFLAGS"
45449 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45450 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45451 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45452 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45453 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 else
45455 cat >conftest.$ac_ext <<_ACEOF
45456 /* confdefs.h. */
45457 _ACEOF
45458 cat confdefs.h >>conftest.$ac_ext
45459 cat >>conftest.$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45461
45462 #include <Carbon/Carbon.h>
45463 #include <WebKit/WebKit.h>
45464
45465
45466 #include <WebKit/HIWebView.h>
45467 _ACEOF
45468 rm -f conftest.$ac_objext
45469 if { (ac_try="$ac_compile"
45470 case "(($ac_try" in
45471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45472 *) ac_try_echo=$ac_try;;
45473 esac
45474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45475 (eval "$ac_compile") 2>conftest.er1
45476 ac_status=$?
45477 grep -v '^ *+' conftest.er1 >conftest.err
45478 rm -f conftest.er1
45479 cat conftest.err >&5
45480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45481 (exit $ac_status); } && {
45482 test -z "$ac_c_werror_flag" ||
45483 test ! -s conftest.err
45484 } && test -s conftest.$ac_objext; then
45485 ac_cv_header_WebKit_HIWebView_h=yes
45486 else
45487 echo "$as_me: failed program was:" >&5
45488 sed 's/^/| /' conftest.$ac_ext >&5
45489
45490 ac_cv_header_WebKit_HIWebView_h=no
45491 fi
45492
45493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45494 fi
45495 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45496 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45497 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45498
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_WEBKIT 1
45501 _ACEOF
45502
45503 WEBKIT_LINK="-framework WebKit"
45504
45505 else
45506
45507 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45508 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45509 wxUSE_WEBKIT=no
45510
45511 fi
45512
45513
45514 CPPFLAGS="$old_CPPFLAGS"
45515 elif test "$wxUSE_COCOA" = 1; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_WEBKIT 1
45518 _ACEOF
45519
45520 else
45521 wxUSE_WEBKIT=no
45522 fi
45523 fi
45524
45525 USE_XRC=0
45526 if test "$wxUSE_XRC" = "yes"; then
45527 if test "$wxUSE_XML" != "yes"; then
45528 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45529 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45530 wxUSE_XRC=no
45531 else
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_XRC 1
45534 _ACEOF
45535
45536 USE_XRC=1
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45538 fi
45539 fi
45540
45541 USE_AUI=0
45542 if test "$wxUSE_AUI" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_AUI 1
45545 _ACEOF
45546
45547 USE_AUI=1
45548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45549 fi
45550
45551 USE_STC=0
45552 if test "$wxUSE_STC" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_STC 1
45555 _ACEOF
45556
45557 USE_STC=1
45558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45559 fi
45560
45561 if test "$wxUSE_MENUS" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_MENUS 1
45564 _ACEOF
45565
45566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45567 fi
45568
45569 if test "$wxUSE_METAFILE" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_METAFILE 1
45572 _ACEOF
45573
45574 fi
45575
45576 if test "$wxUSE_MIMETYPE" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_MIMETYPE 1
45579 _ACEOF
45580
45581 fi
45582
45583 if test "$wxUSE_MINIFRAME" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_MINIFRAME 1
45586 _ACEOF
45587
45588 fi
45589
45590 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_SYSTEM_OPTIONS 1
45593 _ACEOF
45594
45595 fi
45596
45597 if test "$wxUSE_TASKBARICON" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_TASKBARICON 1
45600 _ACEOF
45601
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45603 fi
45604
45605
45606 if test "$wxUSE_VALIDATORS" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_VALIDATORS 1
45609 _ACEOF
45610
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45612 fi
45613
45614 if test "$wxUSE_PALETTE" = "yes" ; then
45615 if test "$wxUSE_DFB" = 1; then
45616 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45617 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45618 wxUSE_PALETTE=no
45619 else
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_PALETTE 1
45622 _ACEOF
45623
45624 fi
45625 fi
45626
45627 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45628 LIBS=" -lunicows $LIBS"
45629 fi
45630
45631 USE_RICHTEXT=0
45632 if test "$wxUSE_RICHTEXT" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_RICHTEXT 1
45635 _ACEOF
45636
45637 USE_RICHTEXT=1
45638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45639 fi
45640
45641
45642 if test "$wxUSE_IMAGE" = "yes" ; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_IMAGE 1
45645 _ACEOF
45646
45647
45648 if test "$wxUSE_GIF" = "yes" ; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_GIF 1
45651 _ACEOF
45652
45653 fi
45654
45655 if test "$wxUSE_PCX" = "yes" ; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_PCX 1
45658 _ACEOF
45659
45660 fi
45661
45662 if test "$wxUSE_TGA" = "yes" ; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_TGA 1
45665 _ACEOF
45666
45667 fi
45668
45669 if test "$wxUSE_IFF" = "yes" ; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_IFF 1
45672 _ACEOF
45673
45674 fi
45675
45676 if test "$wxUSE_PNM" = "yes" ; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_PNM 1
45679 _ACEOF
45680
45681 fi
45682
45683 if test "$wxUSE_XPM" = "yes" ; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_XPM 1
45686 _ACEOF
45687
45688 fi
45689
45690 if test "$wxUSE_ICO_CUR" = "yes" ; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_ICO_CUR 1
45693 _ACEOF
45694
45695 fi
45696 fi
45697
45698
45699 if test "$wxUSE_ABOUTDLG" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_ABOUTDLG 1
45702 _ACEOF
45703
45704 fi
45705
45706 if test "$wxUSE_CHOICEDLG" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_CHOICEDLG 1
45709 _ACEOF
45710
45711 fi
45712
45713 if test "$wxUSE_COLOURDLG" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_COLOURDLG 1
45716 _ACEOF
45717
45718 fi
45719
45720 if test "$wxUSE_FILEDLG" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_FILEDLG 1
45723 _ACEOF
45724
45725 fi
45726
45727 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_FINDREPLDLG 1
45730 _ACEOF
45731
45732 fi
45733
45734 if test "$wxUSE_FONTDLG" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_FONTDLG 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_DIRDLG" = "yes"; then
45742 if test "$wxUSE_TREECTRL" != "yes"; then
45743 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45744 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45745 else
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_DIRDLG 1
45748 _ACEOF
45749
45750 fi
45751 fi
45752
45753 if test "$wxUSE_MSGDLG" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_MSGDLG 1
45756 _ACEOF
45757
45758 fi
45759
45760 if test "$wxUSE_NUMBERDLG" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_NUMBERDLG 1
45763 _ACEOF
45764
45765 fi
45766
45767 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45770 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45771 else
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_PROGRESSDLG 1
45774 _ACEOF
45775
45776 fi
45777 fi
45778
45779 if test "$wxUSE_SPLASH" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_SPLASH 1
45782 _ACEOF
45783
45784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45785 fi
45786
45787 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45788 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45789 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45790 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45791 else
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_STARTUP_TIPS 1
45794 _ACEOF
45795
45796 fi
45797 fi
45798
45799 if test "$wxUSE_TEXTDLG" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_TEXTDLG 1
45802 _ACEOF
45803
45804 fi
45805
45806 if test "$wxUSE_WIZARDDLG" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_WIZARDDLG 1
45809 _ACEOF
45810
45811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45812 fi
45813
45814
45815 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45816 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_OWNER_DRAWN 1
45819 _ACEOF
45820
45821 fi
45822 fi
45823
45824
45825 if test "$wxUSE_MSW" = 1 ; then
45826
45827 if test "$wxUSE_DC_CACHEING" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_DC_CACHEING 1
45830 _ACEOF
45831
45832 fi
45833
45834 if test "$wxUSE_DIB" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_WXDIB 1
45837 _ACEOF
45838
45839 fi
45840
45841 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45844 _ACEOF
45845
45846 fi
45847
45848 if test "$wxUSE_UXTHEME" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_UXTHEME 1
45851 _ACEOF
45852
45853 fi
45854
45855 fi
45856
45857
45858 if test "$USE_WIN32" = 1 ; then
45859 if test "$wxUSE_INICONF" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_INICONF 1
45862 _ACEOF
45863
45864 fi
45865
45866 if test "$wxUSE_REGKEY" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_REGKEY 1
45869 _ACEOF
45870
45871 fi
45872 fi
45873
45874
45875 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_GRAPHICS_CONTEXT 1
45879 _ACEOF
45880
45881 elif test "$wxUSE_GTK" != 1; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_GRAPHICS_CONTEXT 1
45884 _ACEOF
45885
45886 else
45887
45888 pkg_failed=no
45889 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45890 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45891
45892 if test -n "$PKG_CONFIG"; then
45893 if test -n "$CAIRO_CFLAGS"; then
45894 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45895 else
45896 if test -n "$PKG_CONFIG" && \
45897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45898 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45899 ac_status=$?
45900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45901 (exit $ac_status); }; then
45902 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45903 else
45904 pkg_failed=yes
45905 fi
45906 fi
45907 else
45908 pkg_failed=untried
45909 fi
45910 if test -n "$PKG_CONFIG"; then
45911 if test -n "$CAIRO_LIBS"; then
45912 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45913 else
45914 if test -n "$PKG_CONFIG" && \
45915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45916 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45917 ac_status=$?
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); }; then
45920 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45921 else
45922 pkg_failed=yes
45923 fi
45924 fi
45925 else
45926 pkg_failed=untried
45927 fi
45928
45929
45930
45931 if test $pkg_failed = yes; then
45932
45933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45934 _pkg_short_errors_supported=yes
45935 else
45936 _pkg_short_errors_supported=no
45937 fi
45938 if test $_pkg_short_errors_supported = yes; then
45939 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45940 else
45941 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45942 fi
45943 # Put the nasty error message in config.log where it belongs
45944 echo "$CAIRO_PKG_ERRORS" >&5
45945
45946 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45947 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45948
45949 elif test $pkg_failed = untried; then
45950 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45951 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45952
45953 else
45954 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45955 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45956 { echo "$as_me:$LINENO: result: yes" >&5
45957 echo "${ECHO_T}yes" >&6; }
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_GRAPHICS_CONTEXT 1
45960 _ACEOF
45961
45962 fi
45963 fi
45964 fi
45965
45966
45967 USE_MEDIA=0
45968
45969 if test "$wxUSE_MEDIACTRL" = "yes"; then
45970 USE_MEDIA=1
45971
45972 if test "$wxUSE_GTK" = 1; then
45973 wxUSE_GSTREAMER="no"
45974
45975 GST_VERSION_MAJOR=0
45976 GST_VERSION_MINOR=10
45977 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45978
45979 if test "$wxUSE_GSTREAMER8" = "no"; then
45980
45981 pkg_failed=no
45982 { echo "$as_me:$LINENO: checking for GST" >&5
45983 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45984
45985 if test -n "$PKG_CONFIG"; then
45986 if test -n "$GST_CFLAGS"; then
45987 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45988 else
45989 if test -n "$PKG_CONFIG" && \
45990 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45991 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45992 ac_status=$?
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); }; then
45995 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45996 else
45997 pkg_failed=yes
45998 fi
45999 fi
46000 else
46001 pkg_failed=untried
46002 fi
46003 if test -n "$PKG_CONFIG"; then
46004 if test -n "$GST_LIBS"; then
46005 pkg_cv_GST_LIBS="$GST_LIBS"
46006 else
46007 if test -n "$PKG_CONFIG" && \
46008 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46009 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46010 ac_status=$?
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; then
46013 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46014 else
46015 pkg_failed=yes
46016 fi
46017 fi
46018 else
46019 pkg_failed=untried
46020 fi
46021
46022
46023
46024 if test $pkg_failed = yes; then
46025
46026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46027 _pkg_short_errors_supported=yes
46028 else
46029 _pkg_short_errors_supported=no
46030 fi
46031 if test $_pkg_short_errors_supported = yes; then
46032 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46033 else
46034 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46035 fi
46036 # Put the nasty error message in config.log where it belongs
46037 echo "$GST_PKG_ERRORS" >&5
46038
46039
46040 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46041 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46042 GST_VERSION_MINOR=8
46043
46044
46045 elif test $pkg_failed = untried; then
46046
46047 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46048 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46049 GST_VERSION_MINOR=8
46050
46051
46052 else
46053 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46054 GST_LIBS=$pkg_cv_GST_LIBS
46055 { echo "$as_me:$LINENO: result: yes" >&5
46056 echo "${ECHO_T}yes" >&6; }
46057
46058 wxUSE_GSTREAMER="yes"
46059 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46060
46061 fi
46062 else
46063 GST_VERSION_MINOR=8
46064 fi
46065
46066 if test $GST_VERSION_MINOR = "8"; then
46067 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46068
46069 pkg_failed=no
46070 { echo "$as_me:$LINENO: checking for GST" >&5
46071 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46072
46073 if test -n "$PKG_CONFIG"; then
46074 if test -n "$GST_CFLAGS"; then
46075 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46076 else
46077 if test -n "$PKG_CONFIG" && \
46078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46079 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46080 ac_status=$?
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); }; then
46083 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46084 else
46085 pkg_failed=yes
46086 fi
46087 fi
46088 else
46089 pkg_failed=untried
46090 fi
46091 if test -n "$PKG_CONFIG"; then
46092 if test -n "$GST_LIBS"; then
46093 pkg_cv_GST_LIBS="$GST_LIBS"
46094 else
46095 if test -n "$PKG_CONFIG" && \
46096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46097 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46098 ac_status=$?
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); }; then
46101 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46102 else
46103 pkg_failed=yes
46104 fi
46105 fi
46106 else
46107 pkg_failed=untried
46108 fi
46109
46110
46111
46112 if test $pkg_failed = yes; then
46113
46114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46115 _pkg_short_errors_supported=yes
46116 else
46117 _pkg_short_errors_supported=no
46118 fi
46119 if test $_pkg_short_errors_supported = yes; then
46120 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46121 else
46122 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46123 fi
46124 # Put the nasty error message in config.log where it belongs
46125 echo "$GST_PKG_ERRORS" >&5
46126
46127
46128 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46129 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46130
46131 elif test $pkg_failed = untried; then
46132
46133 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46134 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46135
46136 else
46137 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46138 GST_LIBS=$pkg_cv_GST_LIBS
46139 { echo "$as_me:$LINENO: result: yes" >&5
46140 echo "${ECHO_T}yes" >&6; }
46141 wxUSE_GSTREAMER="yes"
46142 fi
46143 fi
46144
46145
46146 if test "$wxUSE_GSTREAMER" = "yes"; then
46147 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46148 EXTRALIBS_MEDIA="$GST_LIBS"
46149
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_GSTREAMER 1
46152 _ACEOF
46153
46154 else
46155 USE_MEDIA=0
46156 fi
46157 fi
46158
46159 if test $USE_MEDIA = 1; then
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_MEDIACTRL 1
46163 _ACEOF
46164
46165 fi
46166 fi
46167
46168
46169 if test "$cross_compiling" = "yes"; then
46170 OSINFO="\"$host\""
46171 else
46172 OSINFO=`uname -s -r -m`
46173 OSINFO="\"$OSINFO\""
46174 fi
46175
46176 cat >>confdefs.h <<_ACEOF
46177 #define WXWIN_OS_DESCRIPTION $OSINFO
46178 _ACEOF
46179
46180
46181
46182 if test "x$prefix" != "xNONE"; then
46183 wxPREFIX=$prefix
46184 else
46185 wxPREFIX=$ac_default_prefix
46186 fi
46187
46188 cat >>confdefs.h <<_ACEOF
46189 #define wxINSTALL_PREFIX "$wxPREFIX"
46190 _ACEOF
46191
46192
46193
46194
46195 STD_BASE_LIBS="base"
46196 STD_GUI_LIBS=""
46197 BUILT_WX_LIBS="base"
46198 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46199
46200 if test "$wxUSE_SOCKETS" = "yes" ; then
46201 STD_BASE_LIBS="net $STD_BASE_LIBS"
46202 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46203 fi
46204 if test "$wxUSE_XML" = "yes" ; then
46205 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46206 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46207 fi
46208
46209 if test "$wxUSE_GUI" = "yes"; then
46210 STD_GUI_LIBS="adv core"
46211 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46212
46213 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46214 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46215 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46216 fi
46217 if test "$wxUSE_HTML" = "yes" ; then
46218 STD_GUI_LIBS="html $STD_GUI_LIBS"
46219 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46220 fi
46221 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46222 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46223 fi
46224 if test "$wxUSE_OPENGL" = "yes" ; then
46225 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46226 fi
46227 if test "$wxUSE_AUI" = "yes" ; then
46228 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46229 fi
46230 if test "$wxUSE_STC" = "yes" ; then
46231 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46232 fi
46233 if test "$wxUSE_XRC" = "yes" ; then
46234 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46235 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46236 fi
46237 fi
46238
46239
46240
46241
46242
46243
46244
46245
46246 if test "$wxUSE_MAC" = 1 ; then
46247 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46248 if test "$USE_DARWIN" = 1; then
46249 LDFLAGS="$LDFLAGS -framework QuickTime"
46250 else
46251 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46252 fi
46253 fi
46254 if test "$USE_DARWIN" = 1; then
46255 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46256 else
46257 LDFLAGS="$LDFLAGS -lCarbonLib"
46258 fi
46259 fi
46260 if test "$wxUSE_COCOA" = 1 ; then
46261 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46262 if test "$wxUSE_MEDIACTRL" = "yes"; then
46263 LDFLAGS="$LDFLAGS -framework QuickTime"
46264 fi
46265 fi
46266 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46267 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46268 fi
46269
46270 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46271
46272 if test "$wxUSE_GUI" = "yes"; then
46273
46274
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46276 erase event exec font image minimal mobile \
46277 mobile/wxedit mobile/styles render \
46278 shaped svg taborder vscroll widgets"
46279
46280 if test "$wxUSE_MONOLITHIC" != "yes"; then
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46282 fi
46283 if test "$TOOLKIT" = "MSW"; then
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46285 if test "$wxUSE_UNIVERSAL" != "yes"; then
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46287 fi
46288 fi
46289 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46291 fi
46292 else
46293 SAMPLES_SUBDIRS="console"
46294 fi
46295
46296
46297 if test "x$INTELCC" = "xyes" ; then
46298 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46299 elif test "$GCC" = yes ; then
46300 CWARNINGS="-Wall -Wundef"
46301 fi
46302
46303 if test "x$INTELCXX" = "xyes" ; then
46304 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46305 elif test "$GXX" = yes ; then
46306 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46307 fi
46308
46309
46310 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46311 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46312
46313
46314 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46315 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46316 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46317 $CPPFLAGS `
46318
46319 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46320 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46321 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46322
46323 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46324
46325
46326 if test "x$MWCC" = "xyes"; then
46327
46328 CC="$CC -cwd source -I-"
46329 CXX="$CXX -cwd source -I-"
46330 fi
46331
46332
46333 LIBS=`echo $LIBS`
46334 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46335 EXTRALIBS_XML="$EXPAT_LINK"
46336 EXTRALIBS_HTML="$MSPACK_LINK"
46337 EXTRALIBS_MEDIA="$GST_LIBS"
46338 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46339 if test "$wxUSE_GUI" = "yes"; then
46340 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46341 fi
46342 if test "$wxUSE_OPENGL" = "yes"; then
46343 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46344 fi
46345
46346 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46347
46348 WXCONFIG_LIBS="$LIBS"
46349
46350 if test "$wxUSE_REGEX" = "builtin" ; then
46351 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46352 fi
46353 if test "$wxUSE_EXPAT" = "builtin" ; then
46354 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46355 fi
46356 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46357 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46358 fi
46359 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46360 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46361 fi
46362 if test "$wxUSE_LIBPNG" = "builtin" ; then
46363 wxconfig_3rdparty="png $wxconfig_3rdparty"
46364 fi
46365 if test "$wxUSE_ZLIB" = "builtin" ; then
46366 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46367 fi
46368
46369 for i in $wxconfig_3rdparty ; do
46370 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46371 done
46372
46373
46374 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46375 WXUNIV=1
46376
46377 case "$wxUNIV_THEMES" in
46378 ''|all)
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_ALL_THEMES 1
46381 _ACEOF
46382
46383 ;;
46384
46385 *)
46386 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46387 cat >>confdefs.h <<_ACEOF
46388 #define wxUSE_THEME_$t 1
46389 _ACEOF
46390
46391 done
46392 esac
46393 else
46394 WXUNIV=0
46395 fi
46396
46397
46398
46399
46400
46401
46402
46403
46404 if test $wxUSE_MONOLITHIC = "yes" ; then
46405 MONOLITHIC=1
46406 else
46407 MONOLITHIC=0
46408 fi
46409
46410 if test $wxUSE_PLUGINS = "yes" ; then
46411 USE_PLUGINS=1
46412 else
46413 USE_PLUGINS=0
46414 fi
46415
46416 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46417 USE_QA=1
46418 else
46419 USE_QA=0
46420 fi
46421
46422 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46423 OFFICIAL_BUILD=1
46424 else
46425 OFFICIAL_BUILD=0
46426 fi
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46455
46456
46457
46458
46459
46460
46461
46462
46463 case "$TOOLKIT" in
46464 GTK)
46465 TOOLKIT_DESC="GTK+"
46466 if test "$WXGTK2" = 1; then
46467 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46468 if test "$wxUSE_GTKPRINT" = "yes" ; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46470 fi
46471 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46472 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46473 fi
46474 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46475 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46476 fi
46477 if test "$wxUSE_LIBHILDON" = "yes"; then
46478 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46479 fi
46480
46481 if test "$TOOLKIT_EXTRA" != ""; then
46482 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46483 fi
46484 fi
46485 ;;
46486
46487 ?*)
46488 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46489 ;;
46490
46491 *)
46492 TOOLKIT_DESC="base only"
46493 ;;
46494 esac
46495
46496 if test "$wxUSE_WINE" = "yes"; then
46497 BAKEFILE_FORCE_PLATFORM=win32
46498 fi
46499
46500 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46501 then
46502 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46503 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46504 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46505 echo $ECHO_N "(cached) $ECHO_C" >&6
46506 else
46507
46508 echo '#include <stdio.h>
46509 const wchar_t test_var[] = L"awidetest";' > conftest.h
46510
46511 echo '#include "conftest.h"
46512 int main()
46513 {
46514 printf("%ls", test_var);
46515 return 0;
46516 }' > conftest.cpp
46517
46518 wx_cv_gcc_pch_bug="pch not supported"
46519
46520 if $CXX conftest.h >/dev/null 2>&1
46521 then
46522 wx_cv_gcc_pch_bug=
46523
46524 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46525 then
46526 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46527 grep awidetest >/dev/null
46528 then
46529 wx_cv_gcc_pch_bug=no
46530 else
46531 wx_cv_gcc_pch_bug=yes
46532 fi
46533 fi
46534 fi
46535
46536 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46537
46538 fi
46539 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46540 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46541
46542 if test "$wx_cv_gcc_pch_bug" = yes; then
46543 bk_use_pch=no
46544 fi
46545 fi
46546
46547
46548
46549
46550 if test "x$BAKEFILE_HOST" = "x"; then
46551 if test "x${host}" = "x" ; then
46552 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46553 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46554 { (exit 1); exit 1; }; }
46555 fi
46556
46557 BAKEFILE_HOST="${host}"
46558 fi
46559
46560 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46561
46562 if test -n "$ac_tool_prefix"; then
46563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46567 if test "${ac_cv_prog_RANLIB+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46569 else
46570 if test -n "$RANLIB"; then
46571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46572 else
46573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46574 for as_dir in $PATH
46575 do
46576 IFS=$as_save_IFS
46577 test -z "$as_dir" && as_dir=.
46578 for ac_exec_ext in '' $ac_executable_extensions; do
46579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46582 break 2
46583 fi
46584 done
46585 done
46586 IFS=$as_save_IFS
46587
46588 fi
46589 fi
46590 RANLIB=$ac_cv_prog_RANLIB
46591 if test -n "$RANLIB"; then
46592 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46593 echo "${ECHO_T}$RANLIB" >&6; }
46594 else
46595 { echo "$as_me:$LINENO: result: no" >&5
46596 echo "${ECHO_T}no" >&6; }
46597 fi
46598
46599
46600 fi
46601 if test -z "$ac_cv_prog_RANLIB"; then
46602 ac_ct_RANLIB=$RANLIB
46603 # Extract the first word of "ranlib", so it can be a program name with args.
46604 set dummy ranlib; ac_word=$2
46605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46609 else
46610 if test -n "$ac_ct_RANLIB"; then
46611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46612 else
46613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46614 for as_dir in $PATH
46615 do
46616 IFS=$as_save_IFS
46617 test -z "$as_dir" && as_dir=.
46618 for ac_exec_ext in '' $ac_executable_extensions; do
46619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46620 ac_cv_prog_ac_ct_RANLIB="ranlib"
46621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46622 break 2
46623 fi
46624 done
46625 done
46626 IFS=$as_save_IFS
46627
46628 fi
46629 fi
46630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46631 if test -n "$ac_ct_RANLIB"; then
46632 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46633 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46634 else
46635 { echo "$as_me:$LINENO: result: no" >&5
46636 echo "${ECHO_T}no" >&6; }
46637 fi
46638
46639 if test "x$ac_ct_RANLIB" = x; then
46640 RANLIB=":"
46641 else
46642 case $cross_compiling:$ac_tool_warned in
46643 yes:)
46644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46645 whose name does not start with the host triplet. If you think this
46646 configuration is useful to you, please write to autoconf@gnu.org." >&5
46647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46648 whose name does not start with the host triplet. If you think this
46649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46650 ac_tool_warned=yes ;;
46651 esac
46652 RANLIB=$ac_ct_RANLIB
46653 fi
46654 else
46655 RANLIB="$ac_cv_prog_RANLIB"
46656 fi
46657
46658 # Find a good install program. We prefer a C program (faster),
46659 # so one script is as good as another. But avoid the broken or
46660 # incompatible versions:
46661 # SysV /etc/install, /usr/sbin/install
46662 # SunOS /usr/etc/install
46663 # IRIX /sbin/install
46664 # AIX /bin/install
46665 # AmigaOS /C/install, which installs bootblocks on floppy discs
46666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46669 # OS/2's system install, which has a completely different semantic
46670 # ./install, which can be erroneously created by make from ./install.sh.
46671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46673 if test -z "$INSTALL"; then
46674 if test "${ac_cv_path_install+set}" = set; then
46675 echo $ECHO_N "(cached) $ECHO_C" >&6
46676 else
46677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46678 for as_dir in $PATH
46679 do
46680 IFS=$as_save_IFS
46681 test -z "$as_dir" && as_dir=.
46682 # Account for people who put trailing slashes in PATH elements.
46683 case $as_dir/ in
46684 ./ | .// | /cC/* | \
46685 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46686 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46687 /usr/ucb/* ) ;;
46688 *)
46689 # OSF1 and SCO ODT 3.0 have their own names for install.
46690 # Don't use installbsd from OSF since it installs stuff as root
46691 # by default.
46692 for ac_prog in ginstall scoinst install; do
46693 for ac_exec_ext in '' $ac_executable_extensions; do
46694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46695 if test $ac_prog = install &&
46696 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46697 # AIX install. It has an incompatible calling convention.
46698 :
46699 elif test $ac_prog = install &&
46700 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46701 # program-specific install script used by HP pwplus--don't use.
46702 :
46703 else
46704 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46705 break 3
46706 fi
46707 fi
46708 done
46709 done
46710 ;;
46711 esac
46712 done
46713 IFS=$as_save_IFS
46714
46715
46716 fi
46717 if test "${ac_cv_path_install+set}" = set; then
46718 INSTALL=$ac_cv_path_install
46719 else
46720 # As a last resort, use the slow shell script. Don't cache a
46721 # value for INSTALL within a source directory, because that will
46722 # break other packages using the cache if that directory is
46723 # removed, or if the value is a relative name.
46724 INSTALL=$ac_install_sh
46725 fi
46726 fi
46727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46728 echo "${ECHO_T}$INSTALL" >&6; }
46729
46730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46731 # It thinks the first close brace ends the variable substitution.
46732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46733
46734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46735
46736 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46737
46738 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46739 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46740 LN_S=$as_ln_s
46741 if test "$LN_S" = "ln -s"; then
46742 { echo "$as_me:$LINENO: result: yes" >&5
46743 echo "${ECHO_T}yes" >&6; }
46744 else
46745 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46746 echo "${ECHO_T}no, using $LN_S" >&6; }
46747 fi
46748
46749
46750 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46751 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46752 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46753 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46754 echo $ECHO_N "(cached) $ECHO_C" >&6
46755 else
46756 cat >conftest.make <<\_ACEOF
46757 SHELL = /bin/sh
46758 all:
46759 @echo '@@@%%%=$(MAKE)=@@@%%%'
46760 _ACEOF
46761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46762 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46763 *@@@%%%=?*=@@@%%%*)
46764 eval ac_cv_prog_make_${ac_make}_set=yes;;
46765 *)
46766 eval ac_cv_prog_make_${ac_make}_set=no;;
46767 esac
46768 rm -f conftest.make
46769 fi
46770 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46771 { echo "$as_me:$LINENO: result: yes" >&5
46772 echo "${ECHO_T}yes" >&6; }
46773 SET_MAKE=
46774 else
46775 { echo "$as_me:$LINENO: result: no" >&5
46776 echo "${ECHO_T}no" >&6; }
46777 SET_MAKE="MAKE=${MAKE-make}"
46778 fi
46779
46780
46781
46782 if test "x$SUNCXX" = "xyes"; then
46783 AR=$CXX
46784 AROPTIONS="-xar -o"
46785
46786 elif test "x$SGICC" = "xyes"; then
46787 AR=$CXX
46788 AROPTIONS="-ar -o"
46789
46790 else
46791 if test -n "$ac_tool_prefix"; then
46792 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46793 set dummy ${ac_tool_prefix}ar; ac_word=$2
46794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46796 if test "${ac_cv_prog_AR+set}" = set; then
46797 echo $ECHO_N "(cached) $ECHO_C" >&6
46798 else
46799 if test -n "$AR"; then
46800 ac_cv_prog_AR="$AR" # Let the user override the test.
46801 else
46802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46803 for as_dir in $PATH
46804 do
46805 IFS=$as_save_IFS
46806 test -z "$as_dir" && as_dir=.
46807 for ac_exec_ext in '' $ac_executable_extensions; do
46808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46809 ac_cv_prog_AR="${ac_tool_prefix}ar"
46810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46811 break 2
46812 fi
46813 done
46814 done
46815 IFS=$as_save_IFS
46816
46817 fi
46818 fi
46819 AR=$ac_cv_prog_AR
46820 if test -n "$AR"; then
46821 { echo "$as_me:$LINENO: result: $AR" >&5
46822 echo "${ECHO_T}$AR" >&6; }
46823 else
46824 { echo "$as_me:$LINENO: result: no" >&5
46825 echo "${ECHO_T}no" >&6; }
46826 fi
46827
46828
46829 fi
46830 if test -z "$ac_cv_prog_AR"; then
46831 ac_ct_AR=$AR
46832 # Extract the first word of "ar", so it can be a program name with args.
46833 set dummy ar; ac_word=$2
46834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46836 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46837 echo $ECHO_N "(cached) $ECHO_C" >&6
46838 else
46839 if test -n "$ac_ct_AR"; then
46840 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46841 else
46842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46843 for as_dir in $PATH
46844 do
46845 IFS=$as_save_IFS
46846 test -z "$as_dir" && as_dir=.
46847 for ac_exec_ext in '' $ac_executable_extensions; do
46848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46849 ac_cv_prog_ac_ct_AR="ar"
46850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46851 break 2
46852 fi
46853 done
46854 done
46855 IFS=$as_save_IFS
46856
46857 fi
46858 fi
46859 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46860 if test -n "$ac_ct_AR"; then
46861 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46862 echo "${ECHO_T}$ac_ct_AR" >&6; }
46863 else
46864 { echo "$as_me:$LINENO: result: no" >&5
46865 echo "${ECHO_T}no" >&6; }
46866 fi
46867
46868 if test "x$ac_ct_AR" = x; then
46869 AR="ar"
46870 else
46871 case $cross_compiling:$ac_tool_warned in
46872 yes:)
46873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46874 whose name does not start with the host triplet. If you think this
46875 configuration is useful to you, please write to autoconf@gnu.org." >&5
46876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46877 whose name does not start with the host triplet. If you think this
46878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46879 ac_tool_warned=yes ;;
46880 esac
46881 AR=$ac_ct_AR
46882 fi
46883 else
46884 AR="$ac_cv_prog_AR"
46885 fi
46886
46887 AROPTIONS=rcu
46888 fi
46889
46890
46891 if test -n "$ac_tool_prefix"; then
46892 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46893 set dummy ${ac_tool_prefix}strip; ac_word=$2
46894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46896 if test "${ac_cv_prog_STRIP+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46898 else
46899 if test -n "$STRIP"; then
46900 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46901 else
46902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46903 for as_dir in $PATH
46904 do
46905 IFS=$as_save_IFS
46906 test -z "$as_dir" && as_dir=.
46907 for ac_exec_ext in '' $ac_executable_extensions; do
46908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46909 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46911 break 2
46912 fi
46913 done
46914 done
46915 IFS=$as_save_IFS
46916
46917 fi
46918 fi
46919 STRIP=$ac_cv_prog_STRIP
46920 if test -n "$STRIP"; then
46921 { echo "$as_me:$LINENO: result: $STRIP" >&5
46922 echo "${ECHO_T}$STRIP" >&6; }
46923 else
46924 { echo "$as_me:$LINENO: result: no" >&5
46925 echo "${ECHO_T}no" >&6; }
46926 fi
46927
46928
46929 fi
46930 if test -z "$ac_cv_prog_STRIP"; then
46931 ac_ct_STRIP=$STRIP
46932 # Extract the first word of "strip", so it can be a program name with args.
46933 set dummy strip; ac_word=$2
46934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46936 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46937 echo $ECHO_N "(cached) $ECHO_C" >&6
46938 else
46939 if test -n "$ac_ct_STRIP"; then
46940 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46941 else
46942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46943 for as_dir in $PATH
46944 do
46945 IFS=$as_save_IFS
46946 test -z "$as_dir" && as_dir=.
46947 for ac_exec_ext in '' $ac_executable_extensions; do
46948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46949 ac_cv_prog_ac_ct_STRIP="strip"
46950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46951 break 2
46952 fi
46953 done
46954 done
46955 IFS=$as_save_IFS
46956
46957 fi
46958 fi
46959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46960 if test -n "$ac_ct_STRIP"; then
46961 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46962 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46963 else
46964 { echo "$as_me:$LINENO: result: no" >&5
46965 echo "${ECHO_T}no" >&6; }
46966 fi
46967
46968 if test "x$ac_ct_STRIP" = x; then
46969 STRIP=":"
46970 else
46971 case $cross_compiling:$ac_tool_warned in
46972 yes:)
46973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46974 whose name does not start with the host triplet. If you think this
46975 configuration is useful to you, please write to autoconf@gnu.org." >&5
46976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46977 whose name does not start with the host triplet. If you think this
46978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46979 ac_tool_warned=yes ;;
46980 esac
46981 STRIP=$ac_ct_STRIP
46982 fi
46983 else
46984 STRIP="$ac_cv_prog_STRIP"
46985 fi
46986
46987 if test -n "$ac_tool_prefix"; then
46988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46989 set dummy ${ac_tool_prefix}nm; ac_word=$2
46990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46992 if test "${ac_cv_prog_NM+set}" = set; then
46993 echo $ECHO_N "(cached) $ECHO_C" >&6
46994 else
46995 if test -n "$NM"; then
46996 ac_cv_prog_NM="$NM" # Let the user override the test.
46997 else
46998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46999 for as_dir in $PATH
47000 do
47001 IFS=$as_save_IFS
47002 test -z "$as_dir" && as_dir=.
47003 for ac_exec_ext in '' $ac_executable_extensions; do
47004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47005 ac_cv_prog_NM="${ac_tool_prefix}nm"
47006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47007 break 2
47008 fi
47009 done
47010 done
47011 IFS=$as_save_IFS
47012
47013 fi
47014 fi
47015 NM=$ac_cv_prog_NM
47016 if test -n "$NM"; then
47017 { echo "$as_me:$LINENO: result: $NM" >&5
47018 echo "${ECHO_T}$NM" >&6; }
47019 else
47020 { echo "$as_me:$LINENO: result: no" >&5
47021 echo "${ECHO_T}no" >&6; }
47022 fi
47023
47024
47025 fi
47026 if test -z "$ac_cv_prog_NM"; then
47027 ac_ct_NM=$NM
47028 # Extract the first word of "nm", so it can be a program name with args.
47029 set dummy nm; ac_word=$2
47030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47032 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47033 echo $ECHO_N "(cached) $ECHO_C" >&6
47034 else
47035 if test -n "$ac_ct_NM"; then
47036 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47037 else
47038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47039 for as_dir in $PATH
47040 do
47041 IFS=$as_save_IFS
47042 test -z "$as_dir" && as_dir=.
47043 for ac_exec_ext in '' $ac_executable_extensions; do
47044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47045 ac_cv_prog_ac_ct_NM="nm"
47046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47047 break 2
47048 fi
47049 done
47050 done
47051 IFS=$as_save_IFS
47052
47053 fi
47054 fi
47055 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47056 if test -n "$ac_ct_NM"; then
47057 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47058 echo "${ECHO_T}$ac_ct_NM" >&6; }
47059 else
47060 { echo "$as_me:$LINENO: result: no" >&5
47061 echo "${ECHO_T}no" >&6; }
47062 fi
47063
47064 if test "x$ac_ct_NM" = x; then
47065 NM=":"
47066 else
47067 case $cross_compiling:$ac_tool_warned in
47068 yes:)
47069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47070 whose name does not start with the host triplet. If you think this
47071 configuration is useful to you, please write to autoconf@gnu.org." >&5
47072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47073 whose name does not start with the host triplet. If you think this
47074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47075 ac_tool_warned=yes ;;
47076 esac
47077 NM=$ac_ct_NM
47078 fi
47079 else
47080 NM="$ac_cv_prog_NM"
47081 fi
47082
47083
47084 case ${BAKEFILE_HOST} in
47085 *-hp-hpux* )
47086 INSTALL_DIR="mkdir -p"
47087 ;;
47088 * )
47089 INSTALL_DIR='$(INSTALL) -d'
47090 ;;
47091 esac
47092
47093
47094 LDFLAGS_GUI=
47095 case ${BAKEFILE_HOST} in
47096 *-*-cygwin* | *-*-mingw32* )
47097 LDFLAGS_GUI="-mwindows"
47098 esac
47099
47100
47101 fi
47102
47103 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47104 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47105 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47107 else
47108
47109 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47110 egrep -s GNU > /dev/null); then
47111 bakefile_cv_prog_makeisgnu="yes"
47112 else
47113 bakefile_cv_prog_makeisgnu="no"
47114 fi
47115
47116 fi
47117 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47118 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47119
47120 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47121 IF_GNU_MAKE=""
47122 else
47123 IF_GNU_MAKE="#"
47124 fi
47125
47126
47127
47128 PLATFORM_UNIX=0
47129 PLATFORM_WIN32=0
47130 PLATFORM_MSDOS=0
47131 PLATFORM_MAC=0
47132 PLATFORM_MACOS=0
47133 PLATFORM_MACOSX=0
47134 PLATFORM_OS2=0
47135 PLATFORM_BEOS=0
47136
47137 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47138 case "${BAKEFILE_HOST}" in
47139 *-*-mingw32* )
47140 PLATFORM_WIN32=1
47141 ;;
47142 *-pc-msdosdjgpp )
47143 PLATFORM_MSDOS=1
47144 ;;
47145 *-pc-os2_emx | *-pc-os2-emx )
47146 PLATFORM_OS2=1
47147 ;;
47148 *-*-darwin* )
47149 PLATFORM_MAC=1
47150 PLATFORM_MACOSX=1
47151 ;;
47152 *-*-beos* )
47153 PLATFORM_BEOS=1
47154 ;;
47155 powerpc-apple-macos* )
47156 PLATFORM_MAC=1
47157 PLATFORM_MACOS=1
47158 ;;
47159 * )
47160 PLATFORM_UNIX=1
47161 ;;
47162 esac
47163 else
47164 case "$BAKEFILE_FORCE_PLATFORM" in
47165 win32 )
47166 PLATFORM_WIN32=1
47167 ;;
47168 msdos )
47169 PLATFORM_MSDOS=1
47170 ;;
47171 os2 )
47172 PLATFORM_OS2=1
47173 ;;
47174 darwin )
47175 PLATFORM_MAC=1
47176 PLATFORM_MACOSX=1
47177 ;;
47178 unix )
47179 PLATFORM_UNIX=1
47180 ;;
47181 beos )
47182 PLATFORM_BEOS=1
47183 ;;
47184 * )
47185 ;;
47186 esac
47187 fi
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199 # Check whether --enable-omf was given.
47200 if test "${enable_omf+set}" = set; then
47201 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47202 fi
47203
47204
47205 case "${BAKEFILE_HOST}" in
47206 *-*-darwin* )
47207 if test "x$GCC" = "xyes"; then
47208 CFLAGS="$CFLAGS -fno-common"
47209 CXXFLAGS="$CXXFLAGS -fno-common"
47210 fi
47211 if test "x$XLCC" = "xyes"; then
47212 CFLAGS="$CFLAGS -qnocommon"
47213 CXXFLAGS="$CXXFLAGS -qnocommon"
47214 fi
47215 ;;
47216
47217 *-pc-os2_emx | *-pc-os2-emx )
47218 if test "x$bk_os2_use_omf" = "xyes" ; then
47219 AR=emxomfar
47220 RANLIB=:
47221 LDFLAGS="-Zomf $LDFLAGS"
47222 CFLAGS="-Zomf $CFLAGS"
47223 CXXFLAGS="-Zomf $CXXFLAGS"
47224 OS2_LIBEXT="lib"
47225 else
47226 OS2_LIBEXT="a"
47227 fi
47228 ;;
47229
47230 i*86-*-beos* )
47231 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47232 ;;
47233 esac
47234
47235
47236 SO_SUFFIX="so"
47237 SO_SUFFIX_MODULE="so"
47238 EXEEXT=""
47239 LIBPREFIX="lib"
47240 LIBEXT=".a"
47241 DLLPREFIX="lib"
47242 DLLPREFIX_MODULE=""
47243 DLLIMP_SUFFIX=""
47244 dlldir="$libdir"
47245
47246 case "${BAKEFILE_HOST}" in
47247 *-hp-hpux* )
47248 SO_SUFFIX="sl"
47249 SO_SUFFIX_MODULE="sl"
47250 ;;
47251 *-*-aix* )
47252 SO_SUFFIX="a"
47253 SO_SUFFIX_MODULE="a"
47254 ;;
47255 *-*-cygwin* )
47256 SO_SUFFIX="dll"
47257 SO_SUFFIX_MODULE="dll"
47258 DLLIMP_SUFFIX="dll.a"
47259 EXEEXT=".exe"
47260 DLLPREFIX="cyg"
47261 dlldir="$bindir"
47262 ;;
47263 *-*-mingw32* )
47264 SO_SUFFIX="dll"
47265 SO_SUFFIX_MODULE="dll"
47266 DLLIMP_SUFFIX="dll.a"
47267 EXEEXT=".exe"
47268 DLLPREFIX=""
47269 dlldir="$bindir"
47270 ;;
47271 *-pc-msdosdjgpp )
47272 EXEEXT=".exe"
47273 DLLPREFIX=""
47274 dlldir="$bindir"
47275 ;;
47276 *-pc-os2_emx | *-pc-os2-emx )
47277 SO_SUFFIX="dll"
47278 SO_SUFFIX_MODULE="dll"
47279 DLLIMP_SUFFIX=$OS2_LIBEXT
47280 EXEEXT=".exe"
47281 DLLPREFIX=""
47282 LIBPREFIX=""
47283 LIBEXT=".$OS2_LIBEXT"
47284 dlldir="$bindir"
47285 ;;
47286 *-*-darwin* )
47287 SO_SUFFIX="dylib"
47288 SO_SUFFIX_MODULE="bundle"
47289 ;;
47290 esac
47291
47292 if test "x$DLLIMP_SUFFIX" = "x" ; then
47293 DLLIMP_SUFFIX="$SO_SUFFIX"
47294 fi
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307 PIC_FLAG=""
47308 if test "x$GCC" = "xyes"; then
47309 PIC_FLAG="-fPIC"
47310 fi
47311
47312 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47313 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47314 WINDOWS_IMPLIB=0
47315
47316 case "${BAKEFILE_HOST}" in
47317 *-hp-hpux* )
47318 if test "x$GCC" != "xyes"; then
47319 LDFLAGS="$LDFLAGS -L/usr/lib"
47320
47321 SHARED_LD_CC="${CC} -b -o"
47322 SHARED_LD_CXX="${CXX} -b -o"
47323 PIC_FLAG="+Z"
47324 fi
47325 ;;
47326
47327 *-*-linux* )
47328 if test "$INTELCC" = "yes"; then
47329 PIC_FLAG="-KPIC"
47330 elif test "x$SUNCXX" = "xyes"; then
47331 SHARED_LD_CC="${CC} -G -o"
47332 SHARED_LD_CXX="${CXX} -G -o"
47333 PIC_FLAG="-KPIC"
47334 fi
47335 ;;
47336
47337 *-*-solaris2* )
47338 if test "x$SUNCXX" = xyes ; then
47339 SHARED_LD_CC="${CC} -G -o"
47340 SHARED_LD_CXX="${CXX} -G -o"
47341 PIC_FLAG="-KPIC"
47342 fi
47343 ;;
47344
47345 *-*-darwin* )
47346
47347 D='$'
47348 cat <<EOF >shared-ld-sh
47349 #!/bin/sh
47350 #-----------------------------------------------------------------------------
47351 #-- Name: distrib/mac/shared-ld-sh
47352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47353 #-- Author: Gilles Depeyrot
47354 #-- Copyright: (c) 2002 Gilles Depeyrot
47355 #-- Licence: any use permitted
47356 #-----------------------------------------------------------------------------
47357
47358 verbose=0
47359 args=""
47360 objects=""
47361 linking_flag="-dynamiclib"
47362 ldargs="-r -keep_private_externs -nostdlib"
47363
47364 while test ${D}# -gt 0; do
47365 case ${D}1 in
47366
47367 -v)
47368 verbose=1
47369 ;;
47370
47371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47372 # collect these options and values
47373 args="${D}{args} ${D}1 ${D}2"
47374 shift
47375 ;;
47376
47377 -s|-Wl,*)
47378 # collect these load args
47379 ldargs="${D}{ldargs} ${D}1"
47380 ;;
47381
47382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47383 # collect these options
47384 args="${D}{args} ${D}1"
47385 ;;
47386
47387 -dynamiclib|-bundle)
47388 linking_flag="${D}1"
47389 ;;
47390
47391 -*)
47392 echo "shared-ld: unhandled option '${D}1'"
47393 exit 1
47394 ;;
47395
47396 *.o | *.a | *.dylib)
47397 # collect object files
47398 objects="${D}{objects} ${D}1"
47399 ;;
47400
47401 *)
47402 echo "shared-ld: unhandled argument '${D}1'"
47403 exit 1
47404 ;;
47405
47406 esac
47407 shift
47408 done
47409
47410 status=0
47411
47412 #
47413 # Link one module containing all the others
47414 #
47415 if test ${D}{verbose} = 1; then
47416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47417 fi
47418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47419 status=${D}?
47420
47421 #
47422 # Link the shared library from the single module created, but only if the
47423 # previous command didn't fail:
47424 #
47425 if test ${D}{status} = 0; then
47426 if test ${D}{verbose} = 1; then
47427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47428 fi
47429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47430 status=${D}?
47431 fi
47432
47433 #
47434 # Remove intermediate module
47435 #
47436 rm -f master.${D}${D}.o
47437
47438 exit ${D}status
47439 EOF
47440
47441 chmod +x shared-ld-sh
47442
47443 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47444 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47445
47446
47447 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47449 if test "${bakefile_cv_gcc31+set}" = set; then
47450 echo $ECHO_N "(cached) $ECHO_C" >&6
47451 else
47452
47453 cat >conftest.$ac_ext <<_ACEOF
47454 /* confdefs.h. */
47455 _ACEOF
47456 cat confdefs.h >>conftest.$ac_ext
47457 cat >>conftest.$ac_ext <<_ACEOF
47458 /* end confdefs.h. */
47459
47460 int
47461 main ()
47462 {
47463
47464 #if (__GNUC__ < 3) || \
47465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47466 This is old gcc
47467 #endif
47468
47469 ;
47470 return 0;
47471 }
47472 _ACEOF
47473 rm -f conftest.$ac_objext
47474 if { (ac_try="$ac_compile"
47475 case "(($ac_try" in
47476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47477 *) ac_try_echo=$ac_try;;
47478 esac
47479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47480 (eval "$ac_compile") 2>conftest.er1
47481 ac_status=$?
47482 grep -v '^ *+' conftest.er1 >conftest.err
47483 rm -f conftest.er1
47484 cat conftest.err >&5
47485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47486 (exit $ac_status); } && {
47487 test -z "$ac_c_werror_flag" ||
47488 test ! -s conftest.err
47489 } && test -s conftest.$ac_objext; then
47490
47491 bakefile_cv_gcc31=yes
47492
47493 else
47494 echo "$as_me: failed program was:" >&5
47495 sed 's/^/| /' conftest.$ac_ext >&5
47496
47497
47498 bakefile_cv_gcc31=no
47499
47500
47501 fi
47502
47503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47504
47505 fi
47506 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47507 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47508 if test "$bakefile_cv_gcc31" = "no"; then
47509 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47510 SHARED_LD_CXX="$SHARED_LD_CC"
47511 else
47512 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47513 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47514 fi
47515
47516 if test "x$GCC" == "xyes"; then
47517 PIC_FLAG="-dynamic -fPIC"
47518 fi
47519 if test "x$XLCC" = "xyes"; then
47520 PIC_FLAG="-dynamic -DPIC"
47521 fi
47522 ;;
47523
47524 *-*-aix* )
47525 if test "x$GCC" = "xyes"; then
47526 PIC_FLAG=""
47527
47528 case "${BAKEFILE_HOST}" in
47529 *-*-aix5* )
47530 LD_EXPFULL="-Wl,-bexpfull"
47531 ;;
47532 esac
47533
47534 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47535 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47536 else
47537 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47538 set dummy makeC++SharedLib; ac_word=$2
47539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47541 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544 if test -n "$AIX_CXX_LD"; then
47545 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47546 else
47547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47548 for as_dir in $PATH
47549 do
47550 IFS=$as_save_IFS
47551 test -z "$as_dir" && as_dir=.
47552 for ac_exec_ext in '' $ac_executable_extensions; do
47553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47554 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47556 break 2
47557 fi
47558 done
47559 done
47560 IFS=$as_save_IFS
47561
47562 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47563 fi
47564 fi
47565 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47566 if test -n "$AIX_CXX_LD"; then
47567 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47568 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47569 else
47570 { echo "$as_me:$LINENO: result: no" >&5
47571 echo "${ECHO_T}no" >&6; }
47572 fi
47573
47574
47575 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47576 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47577 fi
47578 ;;
47579
47580 *-*-beos* )
47581 SHARED_LD_CC="${LD} -nostart -o"
47582 SHARED_LD_CXX="${LD} -nostart -o"
47583 ;;
47584
47585 *-*-irix* )
47586 if test "x$GCC" != "xyes"; then
47587 PIC_FLAG="-KPIC"
47588 fi
47589 ;;
47590
47591 *-*-cygwin* | *-*-mingw32* )
47592 PIC_FLAG=""
47593 SHARED_LD_CC="\$(CC) -shared -o"
47594 SHARED_LD_CXX="\$(CXX) -shared -o"
47595 WINDOWS_IMPLIB=1
47596 ;;
47597
47598 *-pc-os2_emx | *-pc-os2-emx )
47599 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47600 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47601 PIC_FLAG=""
47602
47603 D='$'
47604 cat <<EOF >dllar.sh
47605 #!/bin/sh
47606 #
47607 # dllar - a tool to build both a .dll and an .a file
47608 # from a set of object (.o) files for EMX/OS2.
47609 #
47610 # Written by Andrew Zabolotny, bit@freya.etu.ru
47611 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47612 #
47613 # This script will accept a set of files on the command line.
47614 # All the public symbols from the .o files will be exported into
47615 # a .DEF file, then linker will be run (through gcc) against them to
47616 # build a shared library consisting of all given .o files. All libraries
47617 # (.a) will be first decompressed into component .o files then act as
47618 # described above. You can optionally give a description (-d "description")
47619 # which will be put into .DLL. To see the list of accepted options (as well
47620 # as command-line format) simply run this program without options. The .DLL
47621 # is built to be imported by name (there is no guarantee that new versions
47622 # of the library you build will have same ordinals for same symbols).
47623 #
47624 # dllar is free software; you can redistribute it and/or modify
47625 # it under the terms of the GNU General Public License as published by
47626 # the Free Software Foundation; either version 2, or (at your option)
47627 # any later version.
47628 #
47629 # dllar is distributed in the hope that it will be useful,
47630 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47631 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47632 # GNU General Public License for more details.
47633 #
47634 # You should have received a copy of the GNU General Public License
47635 # along with dllar; see the file COPYING. If not, write to the Free
47636 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47637 # 02111-1307, USA.
47638
47639 # To successfuly run this program you will need:
47640 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47641 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47642 # - gcc
47643 # (used to build the .dll)
47644 # - emxexp
47645 # (used to create .def file from .o files)
47646 # - emximp
47647 # (used to create .a file from .def file)
47648 # - GNU text utilites (cat, sort, uniq)
47649 # used to process emxexp output
47650 # - GNU file utilities (mv, rm)
47651 # - GNU sed
47652 # - lxlite (optional, see flag below)
47653 # (used for general .dll cleanup)
47654 #
47655
47656 flag_USE_LXLITE=1;
47657
47658 #
47659 # helper functions
47660 # basnam, variant of basename, which does _not_ remove the path, _iff_
47661 # second argument (suffix to remove) is given
47662 basnam(){
47663 case ${D}# in
47664 1)
47665 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47666 ;;
47667 2)
47668 echo ${D}1 | sed 's/'${D}2'${D}//'
47669 ;;
47670 *)
47671 echo "error in basnam ${D}*"
47672 exit 8
47673 ;;
47674 esac
47675 }
47676
47677 # Cleanup temporary files and output
47678 CleanUp() {
47679 cd ${D}curDir
47680 for i in ${D}inputFiles ; do
47681 case ${D}i in
47682 *!)
47683 rm -rf \`basnam ${D}i !\`
47684 ;;
47685 *)
47686 ;;
47687 esac
47688 done
47689
47690 # Kill result in case of failure as there is just to many stupid make/nmake
47691 # things out there which doesn't do this.
47692 if [ ${D}# -eq 0 ]; then
47693 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47694 fi
47695 }
47696
47697 # Print usage and exit script with rc=1.
47698 PrintHelp() {
47699 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47700 echo ' [-name-mangler-script script.sh]'
47701 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47702 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47703 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47704 echo ' [*.o] [*.a]'
47705 echo '*> "output_file" should have no extension.'
47706 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47707 echo ' The import library name is derived from this and is set to "name".a,'
47708 echo ' unless overridden by -import'
47709 echo '*> "importlib_name" should have no extension.'
47710 echo ' If it has the .o, or .a extension, it is automatically removed.'
47711 echo ' This name is used as the import library name and may be longer and'
47712 echo ' more descriptive than the DLL name which has to follow the old '
47713 echo ' 8.3 convention of FAT.'
47714 echo '*> "script.sh may be given to override the output_file name by a'
47715 echo ' different name. It is mainly useful if the regular make process'
47716 echo ' of some package does not take into account OS/2 restriction of'
47717 echo ' DLL name lengths. It takes the importlib name as input and is'
47718 echo ' supposed to procude a shorter name as output. The script should'
47719 echo ' expect to get importlib_name without extension and should produce'
47720 echo ' a (max.) 8 letter name without extension.'
47721 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47722 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47723 echo ' These flags will be put at the start of GCC command line.'
47724 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47725 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47726 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47727 echo ' If the last character of a symbol is "*", all symbols beginning'
47728 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47729 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47730 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47731 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47732 echo ' C runtime DLLs.'
47733 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47734 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47735 echo ' unchanged to GCC at the end of command line.'
47736 echo '*> If you create a DLL from a library and you do not specify -o,'
47737 echo ' the basename for DLL and import library will be set to library name,'
47738 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47739 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47740 echo ' library will be renamed into gcc_s.a.'
47741 echo '--------'
47742 echo 'Example:'
47743 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47744 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47745 CleanUp
47746 exit 1
47747 }
47748
47749 # Execute a command.
47750 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47751 # @Uses Whatever CleanUp() uses.
47752 doCommand() {
47753 echo "${D}*"
47754 eval ${D}*
47755 rcCmd=${D}?
47756
47757 if [ ${D}rcCmd -ne 0 ]; then
47758 echo "command failed, exit code="${D}rcCmd
47759 CleanUp
47760 exit ${D}rcCmd
47761 fi
47762 }
47763
47764 # main routine
47765 # setup globals
47766 cmdLine=${D}*
47767 outFile=""
47768 outimpFile=""
47769 inputFiles=""
47770 renameScript=""
47771 description=""
47772 CC=gcc.exe
47773 CFLAGS="-s -Zcrtdll"
47774 EXTRA_CFLAGS=""
47775 EXPORT_BY_ORDINALS=0
47776 exclude_symbols=""
47777 library_flags=""
47778 curDir=\`pwd\`
47779 curDirS=curDir
47780 case ${D}curDirS in
47781 */)
47782 ;;
47783 *)
47784 curDirS=${D}{curDirS}"/"
47785 ;;
47786 esac
47787 # Parse commandline
47788 libsToLink=0
47789 omfLinking=0
47790 while [ ${D}1 ]; do
47791 case ${D}1 in
47792 -ord*)
47793 EXPORT_BY_ORDINALS=1;
47794 ;;
47795 -o*)
47796 shift
47797 outFile=${D}1
47798 ;;
47799 -i*)
47800 shift
47801 outimpFile=${D}1
47802 ;;
47803 -name-mangler-script)
47804 shift
47805 renameScript=${D}1
47806 ;;
47807 -d*)
47808 shift
47809 description=${D}1
47810 ;;
47811 -f*)
47812 shift
47813 CFLAGS=${D}1
47814 ;;
47815 -c*)
47816 shift
47817 CC=${D}1
47818 ;;
47819 -h*)
47820 PrintHelp
47821 ;;
47822 -ex*)
47823 shift
47824 exclude_symbols=${D}{exclude_symbols}${D}1" "
47825 ;;
47826 -libf*)
47827 shift
47828 library_flags=${D}{library_flags}${D}1" "
47829 ;;
47830 -nocrt*)
47831 CFLAGS="-s"
47832 ;;
47833 -nolxl*)
47834 flag_USE_LXLITE=0
47835 ;;
47836 -* | /*)
47837 case ${D}1 in
47838 -L* | -l*)
47839 libsToLink=1
47840 ;;
47841 -Zomf)
47842 omfLinking=1
47843 ;;
47844 *)
47845 ;;
47846 esac
47847 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47848 ;;
47849 *.dll)
47850 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47851 if [ ${D}omfLinking -eq 1 ]; then
47852 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47853 else
47854 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47855 fi
47856 ;;
47857 *)
47858 found=0;
47859 if [ ${D}libsToLink -ne 0 ]; then
47860 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47861 else
47862 for file in ${D}1 ; do
47863 if [ -f ${D}file ]; then
47864 inputFiles="${D}{inputFiles} ${D}file"
47865 found=1
47866 fi
47867 done
47868 if [ ${D}found -eq 0 ]; then
47869 echo "ERROR: No file(s) found: "${D}1
47870 exit 8
47871 fi
47872 fi
47873 ;;
47874 esac
47875 shift
47876 done # iterate cmdline words
47877
47878 #
47879 if [ -z "${D}inputFiles" ]; then
47880 echo "dllar: no input files"
47881 PrintHelp
47882 fi
47883
47884 # Now extract all .o files from .a files
47885 newInputFiles=""
47886 for file in ${D}inputFiles ; do
47887 case ${D}file in
47888 *.a | *.lib)
47889 case ${D}file in
47890 *.a)
47891 suffix=".a"
47892 AR="ar"
47893 ;;
47894 *.lib)
47895 suffix=".lib"
47896 AR="emxomfar"
47897 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47898 ;;
47899 *)
47900 ;;
47901 esac
47902 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47903 mkdir ${D}dirname
47904 if [ ${D}? -ne 0 ]; then
47905 echo "Failed to create subdirectory ./${D}dirname"
47906 CleanUp
47907 exit 8;
47908 fi
47909 # Append '!' to indicate archive
47910 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47911 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47912 cd ${D}curDir
47913 found=0;
47914 for subfile in ${D}dirname/*.o* ; do
47915 if [ -f ${D}subfile ]; then
47916 found=1
47917 if [ -s ${D}subfile ]; then
47918 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47919 newInputFiles="${D}newInputFiles ${D}subfile"
47920 fi
47921 fi
47922 done
47923 if [ ${D}found -eq 0 ]; then
47924 echo "WARNING: there are no files in archive \\'${D}file\\'"
47925 fi
47926 ;;
47927 *)
47928 newInputFiles="${D}{newInputFiles} ${D}file"
47929 ;;
47930 esac
47931 done
47932 inputFiles="${D}newInputFiles"
47933
47934 # Output filename(s).
47935 do_backup=0;
47936 if [ -z ${D}outFile ]; then
47937 do_backup=1;
47938 set outFile ${D}inputFiles; outFile=${D}2
47939 fi
47940
47941 # If it is an archive, remove the '!' and the '_%' suffixes
47942 case ${D}outFile in
47943 *_%!)
47944 outFile=\`basnam ${D}outFile _%!\`
47945 ;;
47946 *)
47947 ;;
47948 esac
47949 case ${D}outFile in
47950 *.dll)
47951 outFile=\`basnam ${D}outFile .dll\`
47952 ;;
47953 *.DLL)
47954 outFile=\`basnam ${D}outFile .DLL\`
47955 ;;
47956 *.o)
47957 outFile=\`basnam ${D}outFile .o\`
47958 ;;
47959 *.obj)
47960 outFile=\`basnam ${D}outFile .obj\`
47961 ;;
47962 *.a)
47963 outFile=\`basnam ${D}outFile .a\`
47964 ;;
47965 *.lib)
47966 outFile=\`basnam ${D}outFile .lib\`
47967 ;;
47968 *)
47969 ;;
47970 esac
47971 case ${D}outimpFile in
47972 *.a)
47973 outimpFile=\`basnam ${D}outimpFile .a\`
47974 ;;
47975 *.lib)
47976 outimpFile=\`basnam ${D}outimpFile .lib\`
47977 ;;
47978 *)
47979 ;;
47980 esac
47981 if [ -z ${D}outimpFile ]; then
47982 outimpFile=${D}outFile
47983 fi
47984 defFile="${D}{outFile}.def"
47985 arcFile="${D}{outimpFile}.a"
47986 arcFile2="${D}{outimpFile}.lib"
47987
47988 #create ${D}dllFile as something matching 8.3 restrictions,
47989 if [ -z ${D}renameScript ] ; then
47990 dllFile="${D}outFile"
47991 else
47992 dllFile=\`${D}renameScript ${D}outimpFile\`
47993 fi
47994
47995 if [ ${D}do_backup -ne 0 ] ; then
47996 if [ -f ${D}arcFile ] ; then
47997 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47998 fi
47999 if [ -f ${D}arcFile2 ] ; then
48000 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48001 fi
48002 fi
48003
48004 # Extract public symbols from all the object files.
48005 tmpdefFile=${D}{defFile}_%
48006 rm -f ${D}tmpdefFile
48007 for file in ${D}inputFiles ; do
48008 case ${D}file in
48009 *!)
48010 ;;
48011 *)
48012 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48013 ;;
48014 esac
48015 done
48016
48017 # Create the def file.
48018 rm -f ${D}defFile
48019 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48020 dllFile="${D}{dllFile}.dll"
48021 if [ ! -z ${D}description ]; then
48022 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48023 fi
48024 echo "EXPORTS" >> ${D}defFile
48025
48026 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48027 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48028
48029 # Checks if the export is ok or not.
48030 for word in ${D}exclude_symbols; do
48031 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48032 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48033 done
48034
48035
48036 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48037 sed "=" < ${D}tmpdefFile | \\
48038 sed '
48039 N
48040 : loop
48041 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48042 t loop
48043 ' > ${D}{tmpdefFile}%
48044 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48045 else
48046 rm -f ${D}{tmpdefFile}%
48047 fi
48048 cat ${D}tmpdefFile >> ${D}defFile
48049 rm -f ${D}tmpdefFile
48050
48051 # Do linking, create implib, and apply lxlite.
48052 gccCmdl="";
48053 for file in ${D}inputFiles ; do
48054 case ${D}file in
48055 *!)
48056 ;;
48057 *)
48058 gccCmdl="${D}gccCmdl ${D}file"
48059 ;;
48060 esac
48061 done
48062 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48063 touch "${D}{outFile}.dll"
48064
48065 doCommand "emximp -o ${D}arcFile ${D}defFile"
48066 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48067 add_flags="";
48068 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48069 add_flags="-ynd"
48070 fi
48071 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48072 fi
48073 doCommand "emxomf -s -l ${D}arcFile"
48074
48075 # Successful exit.
48076 CleanUp 1
48077 exit 0
48078 EOF
48079
48080 chmod +x dllar.sh
48081 ;;
48082
48083 powerpc-apple-macos* | \
48084 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48085 *-*-mirbsd* | \
48086 *-*-sunos4* | \
48087 *-*-osf* | \
48088 *-*-dgux5* | \
48089 *-*-sysv5* | \
48090 *-pc-msdosdjgpp )
48091 ;;
48092
48093 *)
48094 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48095 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48096 { (exit 1); exit 1; }; }
48097 esac
48098
48099 if test "x$PIC_FLAG" != "x" ; then
48100 PIC_FLAG="$PIC_FLAG -DPIC"
48101 fi
48102
48103 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48104 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48105 fi
48106 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48107 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48108 fi
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118 USE_SOVERSION=0
48119 USE_SOVERLINUX=0
48120 USE_SOVERSOLARIS=0
48121 USE_SOVERCYGWIN=0
48122 USE_SOSYMLINKS=0
48123 USE_MACVERSION=0
48124 SONAME_FLAG=
48125
48126 case "${BAKEFILE_HOST}" in
48127 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48128 if test "x$SUNCXX" = "xyes"; then
48129 SONAME_FLAG="-h "
48130 else
48131 SONAME_FLAG="-Wl,-soname,"
48132 fi
48133 USE_SOVERSION=1
48134 USE_SOVERLINUX=1
48135 USE_SOSYMLINKS=1
48136 ;;
48137
48138 *-*-solaris2* )
48139 SONAME_FLAG="-h "
48140 USE_SOVERSION=1
48141 USE_SOVERSOLARIS=1
48142 USE_SOSYMLINKS=1
48143 ;;
48144
48145 *-*-darwin* )
48146 USE_MACVERSION=1
48147 USE_SOVERSION=1
48148 USE_SOSYMLINKS=1
48149 ;;
48150
48151 *-*-cygwin* )
48152 USE_SOVERSION=1
48153 USE_SOVERCYGWIN=1
48154 ;;
48155 esac
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166 # Check whether --enable-dependency-tracking was given.
48167 if test "${enable_dependency_tracking+set}" = set; then
48168 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48169 fi
48170
48171
48172 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48173 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48174
48175 BK_DEPS=""
48176 if test "x$bk_use_trackdeps" = "xno" ; then
48177 DEPS_TRACKING=0
48178 { echo "$as_me:$LINENO: result: disabled" >&5
48179 echo "${ECHO_T}disabled" >&6; }
48180 else
48181 DEPS_TRACKING=1
48182
48183 if test "x$GCC" = "xyes"; then
48184 DEPSMODE=gcc
48185 case "${BAKEFILE_HOST}" in
48186 *-*-darwin* )
48187 DEPSFLAG="-no-cpp-precomp -MMD"
48188 ;;
48189 * )
48190 DEPSFLAG="-MMD"
48191 ;;
48192 esac
48193 { echo "$as_me:$LINENO: result: gcc" >&5
48194 echo "${ECHO_T}gcc" >&6; }
48195 elif test "x$MWCC" = "xyes"; then
48196 DEPSMODE=mwcc
48197 DEPSFLAG="-MM"
48198 { echo "$as_me:$LINENO: result: mwcc" >&5
48199 echo "${ECHO_T}mwcc" >&6; }
48200 elif test "x$SUNCC" = "xyes"; then
48201 DEPSMODE=unixcc
48202 DEPSFLAG="-xM1"
48203 { echo "$as_me:$LINENO: result: Sun cc" >&5
48204 echo "${ECHO_T}Sun cc" >&6; }
48205 elif test "x$SGICC" = "xyes"; then
48206 DEPSMODE=unixcc
48207 DEPSFLAG="-M"
48208 { echo "$as_me:$LINENO: result: SGI cc" >&5
48209 echo "${ECHO_T}SGI cc" >&6; }
48210 elif test "x$HPCC" = "xyes"; then
48211 DEPSMODE=unixcc
48212 DEPSFLAG="+make"
48213 { echo "$as_me:$LINENO: result: HP cc" >&5
48214 echo "${ECHO_T}HP cc" >&6; }
48215 elif test "x$COMPAQCC" = "xyes"; then
48216 DEPSMODE=gcc
48217 DEPSFLAG="-MD"
48218 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48219 echo "${ECHO_T}Compaq cc" >&6; }
48220 else
48221 DEPS_TRACKING=0
48222 { echo "$as_me:$LINENO: result: none" >&5
48223 echo "${ECHO_T}none" >&6; }
48224 fi
48225
48226 if test $DEPS_TRACKING = 1 ; then
48227
48228 D='$'
48229 cat <<EOF >bk-deps
48230 #!/bin/sh
48231
48232 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48233 # script. It is used to track C/C++ files dependencies in portable way.
48234 #
48235 # Permission is given to use this file in any way.
48236
48237 DEPSMODE=${DEPSMODE}
48238 DEPSDIR=.deps
48239 DEPSFLAG="${DEPSFLAG}"
48240
48241 mkdir -p ${D}DEPSDIR
48242
48243 if test ${D}DEPSMODE = gcc ; then
48244 ${D}* ${D}{DEPSFLAG}
48245 status=${D}?
48246 if test ${D}{status} != 0 ; then
48247 exit ${D}{status}
48248 fi
48249 # move created file to the location we want it in:
48250 while test ${D}# -gt 0; do
48251 case "${D}1" in
48252 -o )
48253 shift
48254 objfile=${D}1
48255 ;;
48256 -* )
48257 ;;
48258 * )
48259 srcfile=${D}1
48260 ;;
48261 esac
48262 shift
48263 done
48264 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48265 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48266 if test -f ${D}depfile ; then
48267 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48268 rm -f ${D}depfile
48269 else
48270 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48271 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48272 if test ! -f ${D}depfile ; then
48273 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48274 depfile="${D}objfile.d"
48275 fi
48276 if test -f ${D}depfile ; then
48277 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48278 rm -f ${D}depfile
48279 fi
48280 fi
48281 exit 0
48282 elif test ${D}DEPSMODE = mwcc ; then
48283 ${D}* || exit ${D}?
48284 # Run mwcc again with -MM and redirect into the dep file we want
48285 # NOTE: We can't use shift here because we need ${D}* to be valid
48286 prevarg=
48287 for arg in ${D}* ; do
48288 if test "${D}prevarg" = "-o"; then
48289 objfile=${D}arg
48290 else
48291 case "${D}arg" in
48292 -* )
48293 ;;
48294 * )
48295 srcfile=${D}arg
48296 ;;
48297 esac
48298 fi
48299 prevarg="${D}arg"
48300 done
48301 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48302 exit 0
48303 elif test ${D}DEPSMODE = unixcc; then
48304 ${D}* || exit ${D}?
48305 # Run compiler again with deps flag and redirect into the dep file.
48306 # It doesn't work if the '-o FILE' option is used, but without it the
48307 # dependency file will contain the wrong name for the object. So it is
48308 # removed from the command line, and the dep file is fixed with sed.
48309 cmd=""
48310 while test ${D}# -gt 0; do
48311 case "${D}1" in
48312 -o )
48313 shift
48314 objfile=${D}1
48315 ;;
48316 * )
48317 eval arg${D}#=\\${D}1
48318 cmd="${D}cmd \\${D}arg${D}#"
48319 ;;
48320 esac
48321 shift
48322 done
48323 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48324 exit 0
48325 else
48326 ${D}*
48327 exit ${D}?
48328 fi
48329 EOF
48330
48331 chmod +x bk-deps
48332 BK_DEPS="`pwd`/bk-deps"
48333 fi
48334 fi
48335
48336
48337
48338
48339
48340 case ${BAKEFILE_HOST} in
48341 *-*-cygwin* | *-*-mingw32* )
48342 if test -n "$ac_tool_prefix"; then
48343 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48344 set dummy ${ac_tool_prefix}windres; ac_word=$2
48345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48347 if test "${ac_cv_prog_WINDRES+set}" = set; then
48348 echo $ECHO_N "(cached) $ECHO_C" >&6
48349 else
48350 if test -n "$WINDRES"; then
48351 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48352 else
48353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48354 for as_dir in $PATH
48355 do
48356 IFS=$as_save_IFS
48357 test -z "$as_dir" && as_dir=.
48358 for ac_exec_ext in '' $ac_executable_extensions; do
48359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48360 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48362 break 2
48363 fi
48364 done
48365 done
48366 IFS=$as_save_IFS
48367
48368 fi
48369 fi
48370 WINDRES=$ac_cv_prog_WINDRES
48371 if test -n "$WINDRES"; then
48372 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48373 echo "${ECHO_T}$WINDRES" >&6; }
48374 else
48375 { echo "$as_me:$LINENO: result: no" >&5
48376 echo "${ECHO_T}no" >&6; }
48377 fi
48378
48379
48380 fi
48381 if test -z "$ac_cv_prog_WINDRES"; then
48382 ac_ct_WINDRES=$WINDRES
48383 # Extract the first word of "windres", so it can be a program name with args.
48384 set dummy windres; ac_word=$2
48385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48387 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48388 echo $ECHO_N "(cached) $ECHO_C" >&6
48389 else
48390 if test -n "$ac_ct_WINDRES"; then
48391 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48392 else
48393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48394 for as_dir in $PATH
48395 do
48396 IFS=$as_save_IFS
48397 test -z "$as_dir" && as_dir=.
48398 for ac_exec_ext in '' $ac_executable_extensions; do
48399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48400 ac_cv_prog_ac_ct_WINDRES="windres"
48401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48402 break 2
48403 fi
48404 done
48405 done
48406 IFS=$as_save_IFS
48407
48408 fi
48409 fi
48410 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48411 if test -n "$ac_ct_WINDRES"; then
48412 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48413 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48414 else
48415 { echo "$as_me:$LINENO: result: no" >&5
48416 echo "${ECHO_T}no" >&6; }
48417 fi
48418
48419 if test "x$ac_ct_WINDRES" = x; then
48420 WINDRES=""
48421 else
48422 case $cross_compiling:$ac_tool_warned in
48423 yes:)
48424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48425 whose name does not start with the host triplet. If you think this
48426 configuration is useful to you, please write to autoconf@gnu.org." >&5
48427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48428 whose name does not start with the host triplet. If you think this
48429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48430 ac_tool_warned=yes ;;
48431 esac
48432 WINDRES=$ac_ct_WINDRES
48433 fi
48434 else
48435 WINDRES="$ac_cv_prog_WINDRES"
48436 fi
48437
48438 ;;
48439
48440 *-*-darwin* | powerpc-apple-macos* )
48441 # Extract the first word of "Rez", so it can be a program name with args.
48442 set dummy Rez; ac_word=$2
48443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48445 if test "${ac_cv_prog_REZ+set}" = set; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48447 else
48448 if test -n "$REZ"; then
48449 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48450 else
48451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48452 for as_dir in $PATH
48453 do
48454 IFS=$as_save_IFS
48455 test -z "$as_dir" && as_dir=.
48456 for ac_exec_ext in '' $ac_executable_extensions; do
48457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48458 ac_cv_prog_REZ="Rez"
48459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48460 break 2
48461 fi
48462 done
48463 done
48464 IFS=$as_save_IFS
48465
48466 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48467 fi
48468 fi
48469 REZ=$ac_cv_prog_REZ
48470 if test -n "$REZ"; then
48471 { echo "$as_me:$LINENO: result: $REZ" >&5
48472 echo "${ECHO_T}$REZ" >&6; }
48473 else
48474 { echo "$as_me:$LINENO: result: no" >&5
48475 echo "${ECHO_T}no" >&6; }
48476 fi
48477
48478
48479 # Extract the first word of "SetFile", so it can be a program name with args.
48480 set dummy SetFile; ac_word=$2
48481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48483 if test "${ac_cv_prog_SETFILE+set}" = set; then
48484 echo $ECHO_N "(cached) $ECHO_C" >&6
48485 else
48486 if test -n "$SETFILE"; then
48487 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48488 else
48489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48490 for as_dir in $PATH
48491 do
48492 IFS=$as_save_IFS
48493 test -z "$as_dir" && as_dir=.
48494 for ac_exec_ext in '' $ac_executable_extensions; do
48495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48496 ac_cv_prog_SETFILE="SetFile"
48497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48498 break 2
48499 fi
48500 done
48501 done
48502 IFS=$as_save_IFS
48503
48504 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48505 fi
48506 fi
48507 SETFILE=$ac_cv_prog_SETFILE
48508 if test -n "$SETFILE"; then
48509 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48510 echo "${ECHO_T}$SETFILE" >&6; }
48511 else
48512 { echo "$as_me:$LINENO: result: no" >&5
48513 echo "${ECHO_T}no" >&6; }
48514 fi
48515
48516
48517 ;;
48518 esac
48519
48520
48521
48522
48523
48524
48525 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48526
48527
48528 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48529
48530
48531
48532 # Check whether --enable-precomp-headers was given.
48533 if test "${enable_precomp_headers+set}" = set; then
48534 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48535 fi
48536
48537
48538 GCC_PCH=0
48539 ICC_PCH=0
48540 USE_PCH=0
48541 BK_MAKE_PCH=""
48542
48543 case ${BAKEFILE_HOST} in
48544 *-*-cygwin* )
48545 bk_use_pch="no"
48546 ;;
48547 esac
48548
48549 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48550 if test "x$GCC" = "xyes"; then
48551 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48552 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48553 cat >conftest.$ac_ext <<_ACEOF
48554 /* confdefs.h. */
48555 _ACEOF
48556 cat confdefs.h >>conftest.$ac_ext
48557 cat >>conftest.$ac_ext <<_ACEOF
48558 /* end confdefs.h. */
48559
48560 int
48561 main ()
48562 {
48563
48564 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48565 There is no PCH support
48566 #endif
48567 #if (__GNUC__ < 3)
48568 There is no PCH support
48569 #endif
48570 #if (__GNUC__ == 3) && \
48571 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48572 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48573 ( defined(__INTEL_COMPILER) )
48574 There is no PCH support
48575 #endif
48576
48577 ;
48578 return 0;
48579 }
48580 _ACEOF
48581 rm -f conftest.$ac_objext
48582 if { (ac_try="$ac_compile"
48583 case "(($ac_try" in
48584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48585 *) ac_try_echo=$ac_try;;
48586 esac
48587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48588 (eval "$ac_compile") 2>conftest.er1
48589 ac_status=$?
48590 grep -v '^ *+' conftest.er1 >conftest.err
48591 rm -f conftest.er1
48592 cat conftest.err >&5
48593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48594 (exit $ac_status); } && {
48595 test -z "$ac_c_werror_flag" ||
48596 test ! -s conftest.err
48597 } && test -s conftest.$ac_objext; then
48598
48599 { echo "$as_me:$LINENO: result: yes" >&5
48600 echo "${ECHO_T}yes" >&6; }
48601 GCC_PCH=1
48602
48603 else
48604 echo "$as_me: failed program was:" >&5
48605 sed 's/^/| /' conftest.$ac_ext >&5
48606
48607
48608 cat >conftest.$ac_ext <<_ACEOF
48609 /* confdefs.h. */
48610 _ACEOF
48611 cat confdefs.h >>conftest.$ac_ext
48612 cat >>conftest.$ac_ext <<_ACEOF
48613 /* end confdefs.h. */
48614
48615 int
48616 main ()
48617 {
48618
48619 #if !defined(__INTEL_COMPILER) || \
48620 (__INTEL_COMPILER < 800)
48621 There is no PCH support
48622 #endif
48623
48624 ;
48625 return 0;
48626 }
48627 _ACEOF
48628 rm -f conftest.$ac_objext
48629 if { (ac_try="$ac_compile"
48630 case "(($ac_try" in
48631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48632 *) ac_try_echo=$ac_try;;
48633 esac
48634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48635 (eval "$ac_compile") 2>conftest.er1
48636 ac_status=$?
48637 grep -v '^ *+' conftest.er1 >conftest.err
48638 rm -f conftest.er1
48639 cat conftest.err >&5
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); } && {
48642 test -z "$ac_c_werror_flag" ||
48643 test ! -s conftest.err
48644 } && test -s conftest.$ac_objext; then
48645
48646 { echo "$as_me:$LINENO: result: yes" >&5
48647 echo "${ECHO_T}yes" >&6; }
48648 ICC_PCH=1
48649
48650 else
48651 echo "$as_me: failed program was:" >&5
48652 sed 's/^/| /' conftest.$ac_ext >&5
48653
48654
48655 { echo "$as_me:$LINENO: result: no" >&5
48656 echo "${ECHO_T}no" >&6; }
48657
48658 fi
48659
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661
48662 fi
48663
48664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48666 USE_PCH=1
48667
48668 D='$'
48669 cat <<EOF >bk-make-pch
48670 #!/bin/sh
48671
48672 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48673 # script. It is used to generated precompiled headers.
48674 #
48675 # Permission is given to use this file in any way.
48676
48677 outfile="${D}{1}"
48678 header="${D}{2}"
48679 shift
48680 shift
48681
48682 compiler=""
48683 headerfile=""
48684
48685 while test ${D}{#} -gt 0; do
48686 add_to_cmdline=1
48687 case "${D}{1}" in
48688 -I* )
48689 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48690 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48691 headerfile="${D}{incdir}/${D}{header}"
48692 fi
48693 ;;
48694 -use-pch|-use_pch )
48695 shift
48696 add_to_cmdline=0
48697 ;;
48698 esac
48699 if test ${D}add_to_cmdline = 1 ; then
48700 compiler="${D}{compiler} ${D}{1}"
48701 fi
48702 shift
48703 done
48704
48705 if test "x${D}{headerfile}" = "x" ; then
48706 echo "error: can't find header ${D}{header} in include paths" >&2
48707 else
48708 if test -f ${D}{outfile} ; then
48709 rm -f ${D}{outfile}
48710 else
48711 mkdir -p \`dirname ${D}{outfile}\`
48712 fi
48713 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48714 mkdir -p .deps
48715 if test "x${GCC_PCH}" = "x1" ; then
48716 # can do this because gcc is >= 3.4:
48717 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48718 elif test "x${ICC_PCH}" = "x1" ; then
48719 filename=pch_gen-${D}${D}
48720 file=${D}{filename}.c
48721 dfile=${D}{filename}.d
48722 cat > ${D}file <<EOT
48723 #include "${D}header"
48724 EOT
48725 # using -MF icc complains about differing command lines in creation/use
48726 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48727 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48728 rm -f ${D}file ${D}dfile ${D}{filename}.o
48729 fi
48730 exit ${D}{?}
48731 fi
48732 EOF
48733
48734 chmod +x bk-make-pch
48735 BK_MAKE_PCH="`pwd`/bk-make-pch"
48736 fi
48737 fi
48738 fi
48739
48740
48741
48742
48743
48744 COND_BUILD_DEBUG="#"
48745 if test "x$BUILD" = "xdebug" ; then
48746 COND_BUILD_DEBUG=""
48747 fi
48748
48749 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48750 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48751 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48752 fi
48753
48754 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48755 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48756 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48757 fi
48758
48759 COND_BUILD_DEBUG_UNICODE_0="#"
48760 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48761 COND_BUILD_DEBUG_UNICODE_0=""
48762 fi
48763
48764 COND_BUILD_DEBUG_UNICODE_1="#"
48765 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48766 COND_BUILD_DEBUG_UNICODE_1=""
48767 fi
48768
48769 COND_BUILD_RELEASE="#"
48770 if test "x$BUILD" = "xrelease" ; then
48771 COND_BUILD_RELEASE=""
48772 fi
48773
48774 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48775 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48776 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48777 fi
48778
48779 COND_BUILD_RELEASE_UNICODE_0="#"
48780 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48781 COND_BUILD_RELEASE_UNICODE_0=""
48782 fi
48783
48784 COND_BUILD_RELEASE_UNICODE_1="#"
48785 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48786 COND_BUILD_RELEASE_UNICODE_1=""
48787 fi
48788
48789 COND_DEBUG_FLAG_1="#"
48790 if test "x$DEBUG_FLAG" = "x1" ; then
48791 COND_DEBUG_FLAG_1=""
48792 fi
48793
48794 COND_DEBUG_INFO_0="#"
48795 if test "x$DEBUG_INFO" = "x0" ; then
48796 COND_DEBUG_INFO_0=""
48797 fi
48798
48799 COND_DEBUG_INFO_1="#"
48800 if test "x$DEBUG_INFO" = "x1" ; then
48801 COND_DEBUG_INFO_1=""
48802 fi
48803
48804 COND_DEPS_TRACKING_0="#"
48805 if test "x$DEPS_TRACKING" = "x0" ; then
48806 COND_DEPS_TRACKING_0=""
48807 fi
48808
48809 COND_DEPS_TRACKING_1="#"
48810 if test "x$DEPS_TRACKING" = "x1" ; then
48811 COND_DEPS_TRACKING_1=""
48812 fi
48813
48814 COND_GCC_PCH_1="#"
48815 if test "x$GCC_PCH" = "x1" ; then
48816 COND_GCC_PCH_1=""
48817 fi
48818
48819 COND_ICC_PCH_1="#"
48820 if test "x$ICC_PCH" = "x1" ; then
48821 COND_ICC_PCH_1=""
48822 fi
48823
48824 COND_MONOLITHIC_0="#"
48825 if test "x$MONOLITHIC" = "x0" ; then
48826 COND_MONOLITHIC_0=""
48827 fi
48828
48829 COND_MONOLITHIC_0_SHARED_0="#"
48830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48831 COND_MONOLITHIC_0_SHARED_0=""
48832 fi
48833
48834 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48836 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48837 fi
48838
48839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48842 fi
48843
48844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48847 fi
48848
48849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48852 fi
48853
48854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48857 fi
48858
48859 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48861 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48862 fi
48863
48864 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48866 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48867 fi
48868
48869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48872 fi
48873
48874 COND_MONOLITHIC_0_SHARED_1="#"
48875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48876 COND_MONOLITHIC_0_SHARED_1=""
48877 fi
48878
48879 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48882 fi
48883
48884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48887 fi
48888
48889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48892 fi
48893
48894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48897 fi
48898
48899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48902 fi
48903
48904 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48907 fi
48908
48909 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48912 fi
48913
48914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48917 fi
48918
48919 COND_MONOLITHIC_0_USE_AUI_1="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48921 COND_MONOLITHIC_0_USE_AUI_1=""
48922 fi
48923
48924 COND_MONOLITHIC_0_USE_GUI_1="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48926 COND_MONOLITHIC_0_USE_GUI_1=""
48927 fi
48928
48929 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48931 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48932 fi
48933
48934 COND_MONOLITHIC_0_USE_HTML_1="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48936 COND_MONOLITHIC_0_USE_HTML_1=""
48937 fi
48938
48939 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48941 COND_MONOLITHIC_0_USE_MEDIA_1=""
48942 fi
48943
48944 COND_MONOLITHIC_0_USE_QA_1="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48946 COND_MONOLITHIC_0_USE_QA_1=""
48947 fi
48948
48949 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48951 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48952 fi
48953
48954 COND_MONOLITHIC_0_USE_STC_1="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48956 COND_MONOLITHIC_0_USE_STC_1=""
48957 fi
48958
48959 COND_MONOLITHIC_0_USE_XRC_1="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48961 COND_MONOLITHIC_0_USE_XRC_1=""
48962 fi
48963
48964 COND_MONOLITHIC_1="#"
48965 if test "x$MONOLITHIC" = "x1" ; then
48966 COND_MONOLITHIC_1=""
48967 fi
48968
48969 COND_MONOLITHIC_1_SHARED_0="#"
48970 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48971 COND_MONOLITHIC_1_SHARED_0=""
48972 fi
48973
48974 COND_MONOLITHIC_1_SHARED_1="#"
48975 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48976 COND_MONOLITHIC_1_SHARED_1=""
48977 fi
48978
48979 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48980 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48981 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48982 fi
48983
48984 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48985 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48987 fi
48988
48989 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48990 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48991 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48992 fi
48993
48994 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48995 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48996 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48997 fi
48998
48999 COND_PLATFORM_MACOSX_1="#"
49000 if test "x$PLATFORM_MACOSX" = "x1" ; then
49001 COND_PLATFORM_MACOSX_1=""
49002 fi
49003
49004 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49006 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49007 fi
49008
49009 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49011 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49012 fi
49013
49014 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49016 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49017 fi
49018
49019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49021 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49022 fi
49023
49024 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49026 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49027 fi
49028
49029 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49031 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49032 fi
49033
49034 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49036 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49037 fi
49038
49039 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49041 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49042 fi
49043
49044 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49046 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49047 fi
49048
49049 COND_PLATFORM_MACOS_1="#"
49050 if test "x$PLATFORM_MACOS" = "x1" ; then
49051 COND_PLATFORM_MACOS_1=""
49052 fi
49053
49054 COND_PLATFORM_MAC_1="#"
49055 if test "x$PLATFORM_MAC" = "x1" ; then
49056 COND_PLATFORM_MAC_1=""
49057 fi
49058
49059 COND_PLATFORM_MSDOS_1="#"
49060 if test "x$PLATFORM_MSDOS" = "x1" ; then
49061 COND_PLATFORM_MSDOS_1=""
49062 fi
49063
49064 COND_PLATFORM_OS2_1="#"
49065 if test "x$PLATFORM_OS2" = "x1" ; then
49066 COND_PLATFORM_OS2_1=""
49067 fi
49068
49069 COND_PLATFORM_UNIX_0="#"
49070 if test "x$PLATFORM_UNIX" = "x0" ; then
49071 COND_PLATFORM_UNIX_0=""
49072 fi
49073
49074 COND_PLATFORM_UNIX_1="#"
49075 if test "x$PLATFORM_UNIX" = "x1" ; then
49076 COND_PLATFORM_UNIX_1=""
49077 fi
49078
49079 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49080 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49081 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49082 fi
49083
49084 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49085 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49086 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49087 fi
49088
49089 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49090 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49091 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49092 fi
49093
49094 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49095 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49096 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49097 fi
49098
49099 COND_PLATFORM_WIN32_0="#"
49100 if test "x$PLATFORM_WIN32" = "x0" ; then
49101 COND_PLATFORM_WIN32_0=""
49102 fi
49103
49104 COND_PLATFORM_WIN32_1="#"
49105 if test "x$PLATFORM_WIN32" = "x1" ; then
49106 COND_PLATFORM_WIN32_1=""
49107 fi
49108
49109 COND_SHARED_0="#"
49110 if test "x$SHARED" = "x0" ; then
49111 COND_SHARED_0=""
49112 fi
49113
49114 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49115 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49116 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49117 fi
49118
49119 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49120 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49121 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49122 fi
49123
49124 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49125 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49126 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49127 fi
49128
49129 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49131 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49132 fi
49133
49134 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49136 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49137 fi
49138
49139 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49140 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49141 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49142 fi
49143
49144 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49146 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49147 fi
49148
49149 COND_SHARED_0_USE_STC_1="#"
49150 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49151 COND_SHARED_0_USE_STC_1=""
49152 fi
49153
49154 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49155 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49156 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49157 fi
49158
49159 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49160 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49161 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49162 fi
49163
49164 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49165 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49166 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49167 fi
49168
49169 COND_SHARED_1="#"
49170 if test "x$SHARED" = "x1" ; then
49171 COND_SHARED_1=""
49172 fi
49173
49174 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49175 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49176 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49177 fi
49178
49179 COND_TOOLKIT_="#"
49180 if test "x$TOOLKIT" = "x" ; then
49181 COND_TOOLKIT_=""
49182 fi
49183
49184 COND_TOOLKIT_COCOA="#"
49185 if test "x$TOOLKIT" = "xCOCOA" ; then
49186 COND_TOOLKIT_COCOA=""
49187 fi
49188
49189 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49190 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49191 COND_TOOLKIT_COCOA_USE_GUI_1=""
49192 fi
49193
49194 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49197 fi
49198
49199 COND_TOOLKIT_DFB="#"
49200 if test "x$TOOLKIT" = "xDFB" ; then
49201 COND_TOOLKIT_DFB=""
49202 fi
49203
49204 COND_TOOLKIT_DFB_USE_GUI_1="#"
49205 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49206 COND_TOOLKIT_DFB_USE_GUI_1=""
49207 fi
49208
49209 COND_TOOLKIT_GTK="#"
49210 if test "x$TOOLKIT" = "xGTK" ; then
49211 COND_TOOLKIT_GTK=""
49212 fi
49213
49214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49217 fi
49218
49219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49222 fi
49223
49224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49227 fi
49228
49229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49232 fi
49233
49234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49236 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49237 fi
49238
49239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49242 fi
49243
49244 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49245 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49246 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49247 fi
49248
49249 COND_TOOLKIT_GTK_USE_GUI_1="#"
49250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49251 COND_TOOLKIT_GTK_USE_GUI_1=""
49252 fi
49253
49254 COND_TOOLKIT_MAC="#"
49255 if test "x$TOOLKIT" = "xMAC" ; then
49256 COND_TOOLKIT_MAC=""
49257 fi
49258
49259 COND_TOOLKIT_MAC_USE_GUI_1="#"
49260 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49261 COND_TOOLKIT_MAC_USE_GUI_1=""
49262 fi
49263
49264 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49265 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49266 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49267 fi
49268
49269 COND_TOOLKIT_MGL="#"
49270 if test "x$TOOLKIT" = "xMGL" ; then
49271 COND_TOOLKIT_MGL=""
49272 fi
49273
49274 COND_TOOLKIT_MGL_USE_GUI_1="#"
49275 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49276 COND_TOOLKIT_MGL_USE_GUI_1=""
49277 fi
49278
49279 COND_TOOLKIT_MOTIF="#"
49280 if test "x$TOOLKIT" = "xMOTIF" ; then
49281 COND_TOOLKIT_MOTIF=""
49282 fi
49283
49284 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49285 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49286 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49287 fi
49288
49289 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49290 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49292 fi
49293
49294 COND_TOOLKIT_MSW="#"
49295 if test "x$TOOLKIT" = "xMSW" ; then
49296 COND_TOOLKIT_MSW=""
49297 fi
49298
49299 COND_TOOLKIT_MSW_USE_GUI_1="#"
49300 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49301 COND_TOOLKIT_MSW_USE_GUI_1=""
49302 fi
49303
49304 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49305 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49306 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49307 fi
49308
49309 COND_TOOLKIT_MSW_WXUNIV_0="#"
49310 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49311 COND_TOOLKIT_MSW_WXUNIV_0=""
49312 fi
49313
49314 COND_TOOLKIT_PM="#"
49315 if test "x$TOOLKIT" = "xPM" ; then
49316 COND_TOOLKIT_PM=""
49317 fi
49318
49319 COND_TOOLKIT_PM_USE_GUI_1="#"
49320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49321 COND_TOOLKIT_PM_USE_GUI_1=""
49322 fi
49323
49324 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49325 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49326 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49327 fi
49328
49329 COND_TOOLKIT_WINCE="#"
49330 if test "x$TOOLKIT" = "xWINCE" ; then
49331 COND_TOOLKIT_WINCE=""
49332 fi
49333
49334 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49336 COND_TOOLKIT_WINCE_USE_GUI_1=""
49337 fi
49338
49339 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49340 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49341 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49342 fi
49343
49344 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49345 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49346 COND_TOOLKIT_WINCE_WXUNIV_0=""
49347 fi
49348
49349 COND_TOOLKIT_X11="#"
49350 if test "x$TOOLKIT" = "xX11" ; then
49351 COND_TOOLKIT_X11=""
49352 fi
49353
49354 COND_TOOLKIT_X11_USE_GUI_1="#"
49355 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49356 COND_TOOLKIT_X11_USE_GUI_1=""
49357 fi
49358
49359 COND_UNICODE_1="#"
49360 if test "x$UNICODE" = "x1" ; then
49361 COND_UNICODE_1=""
49362 fi
49363
49364 COND_USE_EXCEPTIONS_0="#"
49365 if test "x$USE_EXCEPTIONS" = "x0" ; then
49366 COND_USE_EXCEPTIONS_0=""
49367 fi
49368
49369 COND_USE_EXCEPTIONS_1="#"
49370 if test "x$USE_EXCEPTIONS" = "x1" ; then
49371 COND_USE_EXCEPTIONS_1=""
49372 fi
49373
49374 COND_USE_GUI_0="#"
49375 if test "x$USE_GUI" = "x0" ; then
49376 COND_USE_GUI_0=""
49377 fi
49378
49379 COND_USE_GUI_1="#"
49380 if test "x$USE_GUI" = "x1" ; then
49381 COND_USE_GUI_1=""
49382 fi
49383
49384 COND_USE_GUI_1_USE_OPENGL_1="#"
49385 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49386 COND_USE_GUI_1_USE_OPENGL_1=""
49387 fi
49388
49389 COND_USE_GUI_1_WXUNIV_0="#"
49390 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49391 COND_USE_GUI_1_WXUNIV_0=""
49392 fi
49393
49394 COND_USE_GUI_1_WXUNIV_1="#"
49395 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49396 COND_USE_GUI_1_WXUNIV_1=""
49397 fi
49398
49399 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49401 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49402 fi
49403
49404 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49406 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49407 fi
49408
49409 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49410 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49411 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49412 fi
49413
49414 COND_USE_PCH_1="#"
49415 if test "x$USE_PCH" = "x1" ; then
49416 COND_USE_PCH_1=""
49417 fi
49418
49419 COND_USE_PLUGINS_0="#"
49420 if test "x$USE_PLUGINS" = "x0" ; then
49421 COND_USE_PLUGINS_0=""
49422 fi
49423
49424 COND_USE_RTTI_0="#"
49425 if test "x$USE_RTTI" = "x0" ; then
49426 COND_USE_RTTI_0=""
49427 fi
49428
49429 COND_USE_RTTI_1="#"
49430 if test "x$USE_RTTI" = "x1" ; then
49431 COND_USE_RTTI_1=""
49432 fi
49433
49434 COND_USE_SOSYMLINKS_1="#"
49435 if test "x$USE_SOSYMLINKS" = "x1" ; then
49436 COND_USE_SOSYMLINKS_1=""
49437 fi
49438
49439 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49440 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49441 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49442 fi
49443
49444 COND_USE_SOVERLINUX_1="#"
49445 if test "x$USE_SOVERLINUX" = "x1" ; then
49446 COND_USE_SOVERLINUX_1=""
49447 fi
49448
49449 COND_USE_SOVERSION_0="#"
49450 if test "x$USE_SOVERSION" = "x0" ; then
49451 COND_USE_SOVERSION_0=""
49452 fi
49453
49454 COND_USE_SOVERSOLARIS_1="#"
49455 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49456 COND_USE_SOVERSOLARIS_1=""
49457 fi
49458
49459 COND_USE_STC_1="#"
49460 if test "x$USE_STC" = "x1" ; then
49461 COND_USE_STC_1=""
49462 fi
49463
49464 COND_USE_THREADS_0="#"
49465 if test "x$USE_THREADS" = "x0" ; then
49466 COND_USE_THREADS_0=""
49467 fi
49468
49469 COND_USE_THREADS_1="#"
49470 if test "x$USE_THREADS" = "x1" ; then
49471 COND_USE_THREADS_1=""
49472 fi
49473
49474 COND_USE_XRC_1="#"
49475 if test "x$USE_XRC" = "x1" ; then
49476 COND_USE_XRC_1=""
49477 fi
49478
49479 COND_WINDOWS_IMPLIB_1="#"
49480 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49481 COND_WINDOWS_IMPLIB_1=""
49482 fi
49483
49484 COND_WITH_PLUGIN_SDL_1="#"
49485 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49486 COND_WITH_PLUGIN_SDL_1=""
49487 fi
49488
49489 COND_WXUNIV_0="#"
49490 if test "x$WXUNIV" = "x0" ; then
49491 COND_WXUNIV_0=""
49492 fi
49493
49494 COND_WXUNIV_1="#"
49495 if test "x$WXUNIV" = "x1" ; then
49496 COND_WXUNIV_1=""
49497 fi
49498
49499 COND_WXUSE_EXPAT_BUILTIN="#"
49500 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49501 COND_WXUSE_EXPAT_BUILTIN=""
49502 fi
49503
49504 COND_WXUSE_LIBJPEG_BUILTIN="#"
49505 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49506 COND_WXUSE_LIBJPEG_BUILTIN=""
49507 fi
49508
49509 COND_WXUSE_LIBPNG_BUILTIN="#"
49510 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49511 COND_WXUSE_LIBPNG_BUILTIN=""
49512 fi
49513
49514 COND_WXUSE_LIBTIFF_BUILTIN="#"
49515 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49516 COND_WXUSE_LIBTIFF_BUILTIN=""
49517 fi
49518
49519 COND_WXUSE_REGEX_BUILTIN="#"
49520 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49521 COND_WXUSE_REGEX_BUILTIN=""
49522 fi
49523
49524 COND_WXUSE_ZLIB_BUILTIN="#"
49525 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49526 COND_WXUSE_ZLIB_BUILTIN=""
49527 fi
49528
49529
49530
49531 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49532 { { 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
49533 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;}
49534 { (exit 1); exit 1; }; }
49535 fi
49536
49537 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49538 { { 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
49539 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;}
49540 { (exit 1); exit 1; }; }
49541 fi
49542
49543
49544 case ${INSTALL} in
49545 /* ) # Absolute
49546 ;;
49547 ?:* ) # Drive letter, considered as absolute.
49548 ;;
49549 *)
49550 INSTALL=`pwd`/${INSTALL} ;;
49551 esac
49552
49553 if test "$wxUSE_GUI" = "yes"; then
49554
49555 if test "$wxUSE_MSW" = 1 ; then
49556 if test "x$WINDRES" = "x"; then
49557 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49558 echo "$as_me: error: Required windres program not found" >&2;}
49559 { (exit 1); exit 1; }; }
49560 fi
49561
49562 RESCOMP="$WINDRES"
49563 fi
49564
49565 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49566 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49567 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49568
49569 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49570
49571 # Extract the first word of "DeRez", so it can be a program name with args.
49572 set dummy DeRez; ac_word=$2
49573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49575 if test "${ac_cv_prog_DEREZ+set}" = set; then
49576 echo $ECHO_N "(cached) $ECHO_C" >&6
49577 else
49578 if test -n "$DEREZ"; then
49579 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49580 else
49581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49582 for as_dir in $PATH
49583 do
49584 IFS=$as_save_IFS
49585 test -z "$as_dir" && as_dir=.
49586 for ac_exec_ext in '' $ac_executable_extensions; do
49587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49588 ac_cv_prog_DEREZ="DeRez"
49589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49590 break 2
49591 fi
49592 done
49593 done
49594 IFS=$as_save_IFS
49595
49596 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49597 fi
49598 fi
49599 DEREZ=$ac_cv_prog_DEREZ
49600 if test -n "$DEREZ"; then
49601 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49602 echo "${ECHO_T}$DEREZ" >&6; }
49603 else
49604 { echo "$as_me:$LINENO: result: no" >&5
49605 echo "${ECHO_T}no" >&6; }
49606 fi
49607
49608
49609
49610 MACSETFILE="\$(SETFILE)"
49611
49612 if test "$wxUSE_MAC" = 1; then
49613 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49614 RESCOMP="$REZ"
49615 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49616 else
49617 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49618 RESCOMP="cat /dev/null \| $REZ"
49619 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49620 fi
49621
49622 else
49623 MACSETFILE="@true"
49624
49625 if test "$wxUSE_PM" = 1; then
49626 RESCOMP="emxbind"
49627 WXCONFIG_RESFLAGS="-ep"
49628
49629 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49630 else
49631 POSTLINK_COMMAND="@true"
49632 fi
49633 fi
49634
49635 fi
49636
49637
49638 if test $GCC_PCH = 1
49639 then
49640 if test "$wx_cv_gcc_pch_bug" = yes; then
49641 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49642 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49643 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49644 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49645 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49646 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49647 fi
49648
49649 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49650 fi
49651
49652
49653 if test "$wxUSE_MAC" = 1 ; then
49654 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49655 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49656 mv temp bk-deps
49657 chmod +x bk-deps
49658 fi
49659 fi
49660
49661 if test "$wxUSE_SHARED" = "yes"; then
49662 case "${host}" in
49663 *-pc-os2_emx | *-pc-os2-emx )
49664 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49665 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49666 cp -p ${srcdir}/src/os2/dllnames.sh .
49667 cp -p ${srcdir}/src/os2/dllar.sh .
49668 ;;
49669 esac
49670 fi
49671 if test "$wxUSE_OMF" = "yes"; then
49672 case "${host}" in
49673 *-pc-os2_emx | *-pc-os2-emx )
49674 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49675 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49676 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49677 ;;
49678 esac
49679 fi
49680
49681 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49682
49683
49684 case "${host}" in
49685 *-*-solaris2* )
49686 if test "$GCC" = yes; then
49687 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49688 LIBS=`echo $LIBS | sed 's/-mt//'`
49689 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49690 fi
49691 ;;
49692
49693 *-*-linux* )
49694 if test "x$SUNCXX" = xyes; then
49695 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49696 LIBS=`echo $LIBS | sed 's/-pthread//'`
49697 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49698 fi
49699 ;;
49700 esac
49701
49702 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49703 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49704
49705 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49767 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49768 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49769 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49770 echo $ECHO_N "(cached) $ECHO_C" >&6
49771 else
49772 cat >conftest.make <<\_ACEOF
49773 SHELL = /bin/sh
49774 all:
49775 @echo '@@@%%%=$(MAKE)=@@@%%%'
49776 _ACEOF
49777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49778 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49779 *@@@%%%=?*=@@@%%%*)
49780 eval ac_cv_prog_make_${ac_make}_set=yes;;
49781 *)
49782 eval ac_cv_prog_make_${ac_make}_set=no;;
49783 esac
49784 rm -f conftest.make
49785 fi
49786 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49787 { echo "$as_me:$LINENO: result: yes" >&5
49788 echo "${ECHO_T}yes" >&6; }
49789 SET_MAKE=
49790 else
49791 { echo "$as_me:$LINENO: result: no" >&5
49792 echo "${ECHO_T}no" >&6; }
49793 SET_MAKE="MAKE=${MAKE-make}"
49794 fi
49795
49796
49797
49798 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49799
49800
49801 if test "$USE_WIN32" = 1; then
49802 ac_config_commands="$ac_config_commands
49803 rcdefs.h
49804 "
49805
49806 fi
49807
49808 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49809
49810
49811 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49812
49813
49814 if test "$wx_cv_version_script" = "yes"; then
49815 ac_config_files="$ac_config_files version-script"
49816
49817 fi
49818 ac_config_files="$ac_config_files Makefile"
49819
49820
49821 ac_config_commands="$ac_config_commands wx-config"
49822
49823
49824
49825 if test "$wxWITH_SUBDIRS" != "no"; then
49826 if test "$wxUSE_GUI" = "yes"; then
49827 SUBDIRS="samples demos utils"
49828 else
49829 SUBDIRS="samples utils"
49830 fi
49831
49832
49833
49834 # Check whether --with-cppunit-prefix was given.
49835 if test "${with_cppunit_prefix+set}" = set; then
49836 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49837 else
49838 cppunit_config_prefix=""
49839 fi
49840
49841
49842 # Check whether --with-cppunit-exec-prefix was given.
49843 if test "${with_cppunit_exec_prefix+set}" = set; then
49844 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49845 else
49846 cppunit_config_exec_prefix=""
49847 fi
49848
49849
49850 if test x$cppunit_config_exec_prefix != x ; then
49851 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49852 if test x${CPPUNIT_CONFIG+set} != xset ; then
49853 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49854 fi
49855 fi
49856 if test x$cppunit_config_prefix != x ; then
49857 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49858 if test x${CPPUNIT_CONFIG+set} != xset ; then
49859 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49860 fi
49861 fi
49862
49863 # Extract the first word of "cppunit-config", so it can be a program name with args.
49864 set dummy cppunit-config; ac_word=$2
49865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49867 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49868 echo $ECHO_N "(cached) $ECHO_C" >&6
49869 else
49870 case $CPPUNIT_CONFIG in
49871 [\\/]* | ?:[\\/]*)
49872 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49873 ;;
49874 *)
49875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49876 for as_dir in $PATH
49877 do
49878 IFS=$as_save_IFS
49879 test -z "$as_dir" && as_dir=.
49880 for ac_exec_ext in '' $ac_executable_extensions; do
49881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49882 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49884 break 2
49885 fi
49886 done
49887 done
49888 IFS=$as_save_IFS
49889
49890 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49891 ;;
49892 esac
49893 fi
49894 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49895 if test -n "$CPPUNIT_CONFIG"; then
49896 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49897 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49898 else
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49901 fi
49902
49903
49904 cppunit_version_min=1.8.0
49905
49906 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49907 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49908 no_cppunit=""
49909 if test "$CPPUNIT_CONFIG" = "no" ; then
49910 { echo "$as_me:$LINENO: result: no" >&5
49911 echo "${ECHO_T}no" >&6; }
49912 no_cppunit=yes
49913 else
49914 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49915 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49916 cppunit_version=`$CPPUNIT_CONFIG --version`
49917
49918 cppunit_major_version=`echo $cppunit_version | \
49919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49920 cppunit_minor_version=`echo $cppunit_version | \
49921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49922 cppunit_micro_version=`echo $cppunit_version | \
49923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49924
49925 cppunit_major_min=`echo $cppunit_version_min | \
49926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49927 cppunit_minor_min=`echo $cppunit_version_min | \
49928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49929 cppunit_micro_min=`echo $cppunit_version_min | \
49930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49931
49932 cppunit_version_proper=`expr \
49933 $cppunit_major_version \> $cppunit_major_min \| \
49934 $cppunit_major_version \= $cppunit_major_min \& \
49935 $cppunit_minor_version \> $cppunit_minor_min \| \
49936 $cppunit_major_version \= $cppunit_major_min \& \
49937 $cppunit_minor_version \= $cppunit_minor_min \& \
49938 $cppunit_micro_version \>= $cppunit_micro_min `
49939
49940 if test "$cppunit_version_proper" = "1" ; then
49941 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49942 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49943 else
49944 { echo "$as_me:$LINENO: result: no" >&5
49945 echo "${ECHO_T}no" >&6; }
49946 no_cppunit=yes
49947 fi
49948 fi
49949
49950 if test "x$no_cppunit" = x ; then
49951 SUBDIRS="$SUBDIRS tests"
49952 else
49953 CPPUNIT_CFLAGS=""
49954 CPPUNIT_LIBS=""
49955 :
49956 fi
49957
49958
49959
49960
49961
49962 for subdir in $SUBDIRS; do
49963 if test -d ${srcdir}/${subdir} ; then
49964 if test "$wxUSE_GUI" = "yes"; then
49965 if test ${subdir} = "samples"; then
49966 makefiles="samples/Makefile.in $makefiles"
49967 for sample in $SAMPLES_SUBDIRS; do
49968 if test -d $srcdir/samples/$sample; then
49969 makefiles="samples/$sample/Makefile.in $makefiles"
49970 fi
49971 done
49972 else
49973 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49974 eval "disabled=\$$disabled_var"
49975 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49976 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49977 fi
49978 else
49979 if test ${subdir} = "samples"; then
49980 makefiles="samples/Makefile.in samples/console/Makefile.in"
49981 elif test ${subdir} = "utils"; then
49982 makefiles=""
49983 for util in HelpGen tex2rtf ; do
49984 if test -d $srcdir/utils/$util ; then
49985 makefiles="utils/$util/Makefile.in \
49986 utils/$util/src/Makefile.in \
49987 $makefiles"
49988 fi
49989 done
49990 else
49991 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49992 fi
49993 fi
49994
49995 for mkin in $makefiles ; do
49996 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49997 ac_config_files="$ac_config_files $mk"
49998
49999 done
50000 fi
50001 done
50002 fi
50003 cat >confcache <<\_ACEOF
50004 # This file is a shell script that caches the results of configure
50005 # tests run on this system so they can be shared between configure
50006 # scripts and configure runs, see configure's option --config-cache.
50007 # It is not useful on other systems. If it contains results you don't
50008 # want to keep, you may remove or edit it.
50009 #
50010 # config.status only pays attention to the cache file if you give it
50011 # the --recheck option to rerun configure.
50012 #
50013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50015 # following values.
50016
50017 _ACEOF
50018
50019 # The following way of writing the cache mishandles newlines in values,
50020 # but we know of no workaround that is simple, portable, and efficient.
50021 # So, we kill variables containing newlines.
50022 # Ultrix sh set writes to stderr and can't be redirected directly,
50023 # and sets the high bit in the cache file unless we assign to the vars.
50024 (
50025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50026 eval ac_val=\$$ac_var
50027 case $ac_val in #(
50028 *${as_nl}*)
50029 case $ac_var in #(
50030 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50031 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50032 esac
50033 case $ac_var in #(
50034 _ | IFS | as_nl) ;; #(
50035 *) $as_unset $ac_var ;;
50036 esac ;;
50037 esac
50038 done
50039
50040 (set) 2>&1 |
50041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50042 *${as_nl}ac_space=\ *)
50043 # `set' does not quote correctly, so add quotes (double-quote
50044 # substitution turns \\\\ into \\, and sed turns \\ into \).
50045 sed -n \
50046 "s/'/'\\\\''/g;
50047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50048 ;; #(
50049 *)
50050 # `set' quotes correctly as required by POSIX, so do not add quotes.
50051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50052 ;;
50053 esac |
50054 sort
50055 ) |
50056 sed '
50057 /^ac_cv_env_/b end
50058 t clear
50059 :clear
50060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50061 t end
50062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50063 :end' >>confcache
50064 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50065 if test -w "$cache_file"; then
50066 test "x$cache_file" != "x/dev/null" &&
50067 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50068 echo "$as_me: updating cache $cache_file" >&6;}
50069 cat confcache >$cache_file
50070 else
50071 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50072 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50073 fi
50074 fi
50075 rm -f confcache
50076
50077 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50078 # Let make expand exec_prefix.
50079 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50080
50081 DEFS=-DHAVE_CONFIG_H
50082
50083 ac_libobjs=
50084 ac_ltlibobjs=
50085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50086 # 1. Remove the extension, and $U if already installed.
50087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50088 ac_i=`echo "$ac_i" | sed "$ac_script"`
50089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50090 # will be set to the directory where LIBOBJS objects are built.
50091 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50092 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50093 done
50094 LIBOBJS=$ac_libobjs
50095
50096 LTLIBOBJS=$ac_ltlibobjs
50097
50098
50099
50100 : ${CONFIG_STATUS=./config.status}
50101 ac_clean_files_save=$ac_clean_files
50102 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50103 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50104 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50105 cat >$CONFIG_STATUS <<_ACEOF
50106 #! $SHELL
50107 # Generated by $as_me.
50108 # Run this file to recreate the current configuration.
50109 # Compiler output produced by configure, useful for debugging
50110 # configure, is in config.log if it exists.
50111
50112 debug=false
50113 ac_cs_recheck=false
50114 ac_cs_silent=false
50115 SHELL=\${CONFIG_SHELL-$SHELL}
50116 _ACEOF
50117
50118 cat >>$CONFIG_STATUS <<\_ACEOF
50119 ## --------------------- ##
50120 ## M4sh Initialization. ##
50121 ## --------------------- ##
50122
50123 # Be more Bourne compatible
50124 DUALCASE=1; export DUALCASE # for MKS sh
50125 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50126 emulate sh
50127 NULLCMD=:
50128 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50129 # is contrary to our usage. Disable this feature.
50130 alias -g '${1+"$@"}'='"$@"'
50131 setopt NO_GLOB_SUBST
50132 else
50133 case `(set -o) 2>/dev/null` in
50134 *posix*) set -o posix ;;
50135 esac
50136
50137 fi
50138
50139
50140
50141
50142 # PATH needs CR
50143 # Avoid depending upon Character Ranges.
50144 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50145 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50146 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50147 as_cr_digits='0123456789'
50148 as_cr_alnum=$as_cr_Letters$as_cr_digits
50149
50150 # The user is always right.
50151 if test "${PATH_SEPARATOR+set}" != set; then
50152 echo "#! /bin/sh" >conf$$.sh
50153 echo "exit 0" >>conf$$.sh
50154 chmod +x conf$$.sh
50155 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50156 PATH_SEPARATOR=';'
50157 else
50158 PATH_SEPARATOR=:
50159 fi
50160 rm -f conf$$.sh
50161 fi
50162
50163 # Support unset when possible.
50164 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50165 as_unset=unset
50166 else
50167 as_unset=false
50168 fi
50169
50170
50171 # IFS
50172 # We need space, tab and new line, in precisely that order. Quoting is
50173 # there to prevent editors from complaining about space-tab.
50174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50175 # splitting by setting IFS to empty value.)
50176 as_nl='
50177 '
50178 IFS=" "" $as_nl"
50179
50180 # Find who we are. Look in the path if we contain no directory separator.
50181 case $0 in
50182 *[\\/]* ) as_myself=$0 ;;
50183 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50184 for as_dir in $PATH
50185 do
50186 IFS=$as_save_IFS
50187 test -z "$as_dir" && as_dir=.
50188 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50189 done
50190 IFS=$as_save_IFS
50191
50192 ;;
50193 esac
50194 # We did not find ourselves, most probably we were run as `sh COMMAND'
50195 # in which case we are not to be found in the path.
50196 if test "x$as_myself" = x; then
50197 as_myself=$0
50198 fi
50199 if test ! -f "$as_myself"; then
50200 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50201 { (exit 1); exit 1; }
50202 fi
50203
50204 # Work around bugs in pre-3.0 UWIN ksh.
50205 for as_var in ENV MAIL MAILPATH
50206 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50207 done
50208 PS1='$ '
50209 PS2='> '
50210 PS4='+ '
50211
50212 # NLS nuisances.
50213 for as_var in \
50214 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50215 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50216 LC_TELEPHONE LC_TIME
50217 do
50218 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50219 eval $as_var=C; export $as_var
50220 else
50221 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50222 fi
50223 done
50224
50225 # Required to use basename.
50226 if expr a : '\(a\)' >/dev/null 2>&1 &&
50227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50228 as_expr=expr
50229 else
50230 as_expr=false
50231 fi
50232
50233 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50234 as_basename=basename
50235 else
50236 as_basename=false
50237 fi
50238
50239
50240 # Name of the executable.
50241 as_me=`$as_basename -- "$0" ||
50242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50243 X"$0" : 'X\(//\)$' \| \
50244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50245 echo X/"$0" |
50246 sed '/^.*\/\([^/][^/]*\)\/*$/{
50247 s//\1/
50248 q
50249 }
50250 /^X\/\(\/\/\)$/{
50251 s//\1/
50252 q
50253 }
50254 /^X\/\(\/\).*/{
50255 s//\1/
50256 q
50257 }
50258 s/.*/./; q'`
50259
50260 # CDPATH.
50261 $as_unset CDPATH
50262
50263
50264
50265 as_lineno_1=$LINENO
50266 as_lineno_2=$LINENO
50267 test "x$as_lineno_1" != "x$as_lineno_2" &&
50268 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50269
50270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50271 # uniformly replaced by the line number. The first 'sed' inserts a
50272 # line-number line after each line using $LINENO; the second 'sed'
50273 # does the real work. The second script uses 'N' to pair each
50274 # line-number line with the line containing $LINENO, and appends
50275 # trailing '-' during substitution so that $LINENO is not a special
50276 # case at line end.
50277 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50278 # scripts with optimization help from Paolo Bonzini. Blame Lee
50279 # E. McMahon (1931-1989) for sed's syntax. :-)
50280 sed -n '
50281 p
50282 /[$]LINENO/=
50283 ' <$as_myself |
50284 sed '
50285 s/[$]LINENO.*/&-/
50286 t lineno
50287 b
50288 :lineno
50289 N
50290 :loop
50291 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50292 t loop
50293 s/-\n.*//
50294 ' >$as_me.lineno &&
50295 chmod +x "$as_me.lineno" ||
50296 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50297 { (exit 1); exit 1; }; }
50298
50299 # Don't try to exec as it changes $[0], causing all sort of problems
50300 # (the dirname of $[0] is not the place where we might find the
50301 # original and so on. Autoconf is especially sensitive to this).
50302 . "./$as_me.lineno"
50303 # Exit status is that of the last command.
50304 exit
50305 }
50306
50307
50308 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50309 as_dirname=dirname
50310 else
50311 as_dirname=false
50312 fi
50313
50314 ECHO_C= ECHO_N= ECHO_T=
50315 case `echo -n x` in
50316 -n*)
50317 case `echo 'x\c'` in
50318 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50319 *) ECHO_C='\c';;
50320 esac;;
50321 *)
50322 ECHO_N='-n';;
50323 esac
50324
50325 if expr a : '\(a\)' >/dev/null 2>&1 &&
50326 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50327 as_expr=expr
50328 else
50329 as_expr=false
50330 fi
50331
50332 rm -f conf$$ conf$$.exe conf$$.file
50333 if test -d conf$$.dir; then
50334 rm -f conf$$.dir/conf$$.file
50335 else
50336 rm -f conf$$.dir
50337 mkdir conf$$.dir
50338 fi
50339 echo >conf$$.file
50340 if ln -s conf$$.file conf$$ 2>/dev/null; then
50341 as_ln_s='ln -s'
50342 # ... but there are two gotchas:
50343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50345 # In both cases, we have to default to `cp -p'.
50346 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50347 as_ln_s='cp -p'
50348 elif ln conf$$.file conf$$ 2>/dev/null; then
50349 as_ln_s=ln
50350 else
50351 as_ln_s='cp -p'
50352 fi
50353 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50354 rmdir conf$$.dir 2>/dev/null
50355
50356 if mkdir -p . 2>/dev/null; then
50357 as_mkdir_p=:
50358 else
50359 test -d ./-p && rmdir ./-p
50360 as_mkdir_p=false
50361 fi
50362
50363 if test -x / >/dev/null 2>&1; then
50364 as_test_x='test -x'
50365 else
50366 if ls -dL / >/dev/null 2>&1; then
50367 as_ls_L_option=L
50368 else
50369 as_ls_L_option=
50370 fi
50371 as_test_x='
50372 eval sh -c '\''
50373 if test -d "$1"; then
50374 test -d "$1/.";
50375 else
50376 case $1 in
50377 -*)set "./$1";;
50378 esac;
50379 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50380 ???[sx]*):;;*)false;;esac;fi
50381 '\'' sh
50382 '
50383 fi
50384 as_executable_p=$as_test_x
50385
50386 # Sed expression to map a string onto a valid CPP name.
50387 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50388
50389 # Sed expression to map a string onto a valid variable name.
50390 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50391
50392
50393 exec 6>&1
50394
50395 # Save the log message, to keep $[0] and so on meaningful, and to
50396 # report actual input values of CONFIG_FILES etc. instead of their
50397 # values after options handling.
50398 ac_log="
50399 This file was extended by wxWidgets $as_me 2.9.0, which was
50400 generated by GNU Autoconf 2.61. Invocation command line was
50401
50402 CONFIG_FILES = $CONFIG_FILES
50403 CONFIG_HEADERS = $CONFIG_HEADERS
50404 CONFIG_LINKS = $CONFIG_LINKS
50405 CONFIG_COMMANDS = $CONFIG_COMMANDS
50406 $ $0 $@
50407
50408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50409 "
50410
50411 _ACEOF
50412
50413 cat >>$CONFIG_STATUS <<_ACEOF
50414 # Files that config.status was made for.
50415 config_files="$ac_config_files"
50416 config_headers="$ac_config_headers"
50417 config_commands="$ac_config_commands"
50418
50419 _ACEOF
50420
50421 cat >>$CONFIG_STATUS <<\_ACEOF
50422 ac_cs_usage="\
50423 \`$as_me' instantiates files from templates according to the
50424 current configuration.
50425
50426 Usage: $0 [OPTIONS] [FILE]...
50427
50428 -h, --help print this help, then exit
50429 -V, --version print version number and configuration settings, then exit
50430 -q, --quiet do not print progress messages
50431 -d, --debug don't remove temporary files
50432 --recheck update $as_me by reconfiguring in the same conditions
50433 --file=FILE[:TEMPLATE]
50434 instantiate the configuration file FILE
50435 --header=FILE[:TEMPLATE]
50436 instantiate the configuration header FILE
50437
50438 Configuration files:
50439 $config_files
50440
50441 Configuration headers:
50442 $config_headers
50443
50444 Configuration commands:
50445 $config_commands
50446
50447 Report bugs to <bug-autoconf@gnu.org>."
50448
50449 _ACEOF
50450 cat >>$CONFIG_STATUS <<_ACEOF
50451 ac_cs_version="\\
50452 wxWidgets config.status 2.9.0
50453 configured by $0, generated by GNU Autoconf 2.61,
50454 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50455
50456 Copyright (C) 2006 Free Software Foundation, Inc.
50457 This config.status script is free software; the Free Software Foundation
50458 gives unlimited permission to copy, distribute and modify it."
50459
50460 ac_pwd='$ac_pwd'
50461 srcdir='$srcdir'
50462 INSTALL='$INSTALL'
50463 _ACEOF
50464
50465 cat >>$CONFIG_STATUS <<\_ACEOF
50466 # If no file are specified by the user, then we need to provide default
50467 # value. By we need to know if files were specified by the user.
50468 ac_need_defaults=:
50469 while test $# != 0
50470 do
50471 case $1 in
50472 --*=*)
50473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50475 ac_shift=:
50476 ;;
50477 *)
50478 ac_option=$1
50479 ac_optarg=$2
50480 ac_shift=shift
50481 ;;
50482 esac
50483
50484 case $ac_option in
50485 # Handling of the options.
50486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50487 ac_cs_recheck=: ;;
50488 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50489 echo "$ac_cs_version"; exit ;;
50490 --debug | --debu | --deb | --de | --d | -d )
50491 debug=: ;;
50492 --file | --fil | --fi | --f )
50493 $ac_shift
50494 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50495 ac_need_defaults=false;;
50496 --header | --heade | --head | --hea )
50497 $ac_shift
50498 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50499 ac_need_defaults=false;;
50500 --he | --h)
50501 # Conflict between --help and --header
50502 { echo "$as_me: error: ambiguous option: $1
50503 Try \`$0 --help' for more information." >&2
50504 { (exit 1); exit 1; }; };;
50505 --help | --hel | -h )
50506 echo "$ac_cs_usage"; exit ;;
50507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50509 ac_cs_silent=: ;;
50510
50511 # This is an error.
50512 -*) { echo "$as_me: error: unrecognized option: $1
50513 Try \`$0 --help' for more information." >&2
50514 { (exit 1); exit 1; }; } ;;
50515
50516 *) ac_config_targets="$ac_config_targets $1"
50517 ac_need_defaults=false ;;
50518
50519 esac
50520 shift
50521 done
50522
50523 ac_configure_extra_args=
50524
50525 if $ac_cs_silent; then
50526 exec 6>/dev/null
50527 ac_configure_extra_args="$ac_configure_extra_args --silent"
50528 fi
50529
50530 _ACEOF
50531 cat >>$CONFIG_STATUS <<_ACEOF
50532 if \$ac_cs_recheck; then
50533 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50534 CONFIG_SHELL=$SHELL
50535 export CONFIG_SHELL
50536 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50537 fi
50538
50539 _ACEOF
50540 cat >>$CONFIG_STATUS <<\_ACEOF
50541 exec 5>>config.log
50542 {
50543 echo
50544 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50545 ## Running $as_me. ##
50546 _ASBOX
50547 echo "$ac_log"
50548 } >&5
50549
50550 _ACEOF
50551 cat >>$CONFIG_STATUS <<_ACEOF
50552 #
50553 # INIT-COMMANDS
50554 #
50555
50556 CPP="$CPP"
50557 infile="$srcdir/include/wx/msw/genrcdefs.h"
50558 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50559
50560
50561 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50562 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50564 LN_S="${LN_S}"
50565
50566
50567 _ACEOF
50568
50569 cat >>$CONFIG_STATUS <<\_ACEOF
50570
50571 # Handling of arguments.
50572 for ac_config_target in $ac_config_targets
50573 do
50574 case $ac_config_target in
50575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50576 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50577 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50578 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50579 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50580 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50581 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50582 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50583
50584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50586 { (exit 1); exit 1; }; };;
50587 esac
50588 done
50589
50590
50591 # If the user did not use the arguments to specify the items to instantiate,
50592 # then the envvar interface is used. Set only those that are not.
50593 # We use the long form for the default assignment because of an extremely
50594 # bizarre bug on SunOS 4.1.3.
50595 if $ac_need_defaults; then
50596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50599 fi
50600
50601 # Have a temporary directory for convenience. Make it in the build tree
50602 # simply because there is no reason against having it here, and in addition,
50603 # creating and moving files from /tmp can sometimes cause problems.
50604 # Hook for its removal unless debugging.
50605 # Note that there is a small window in which the directory will not be cleaned:
50606 # after its creation but before its name has been assigned to `$tmp'.
50607 $debug ||
50608 {
50609 tmp=
50610 trap 'exit_status=$?
50611 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50612 ' 0
50613 trap '{ (exit 1); exit 1; }' 1 2 13 15
50614 }
50615 # Create a (secure) tmp directory for tmp files.
50616
50617 {
50618 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50619 test -n "$tmp" && test -d "$tmp"
50620 } ||
50621 {
50622 tmp=./conf$$-$RANDOM
50623 (umask 077 && mkdir "$tmp")
50624 } ||
50625 {
50626 echo "$me: cannot create a temporary directory in ." >&2
50627 { (exit 1); exit 1; }
50628 }
50629
50630 #
50631 # Set up the sed scripts for CONFIG_FILES section.
50632 #
50633
50634 # No need to generate the scripts if there are no CONFIG_FILES.
50635 # This happens for instance when ./config.status config.h
50636 if test -n "$CONFIG_FILES"; then
50637
50638 _ACEOF
50639
50640
50641
50642 ac_delim='%!_!# '
50643 for ac_last_try in false false false false false :; do
50644 cat >conf$$subs.sed <<_ACEOF
50645 SHELL!$SHELL$ac_delim
50646 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50647 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50648 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50649 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50650 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50651 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50652 exec_prefix!$exec_prefix$ac_delim
50653 prefix!$prefix$ac_delim
50654 program_transform_name!$program_transform_name$ac_delim
50655 bindir!$bindir$ac_delim
50656 sbindir!$sbindir$ac_delim
50657 libexecdir!$libexecdir$ac_delim
50658 datarootdir!$datarootdir$ac_delim
50659 datadir!$datadir$ac_delim
50660 sysconfdir!$sysconfdir$ac_delim
50661 sharedstatedir!$sharedstatedir$ac_delim
50662 localstatedir!$localstatedir$ac_delim
50663 includedir!$includedir$ac_delim
50664 oldincludedir!$oldincludedir$ac_delim
50665 docdir!$docdir$ac_delim
50666 infodir!$infodir$ac_delim
50667 htmldir!$htmldir$ac_delim
50668 dvidir!$dvidir$ac_delim
50669 pdfdir!$pdfdir$ac_delim
50670 psdir!$psdir$ac_delim
50671 libdir!$libdir$ac_delim
50672 localedir!$localedir$ac_delim
50673 mandir!$mandir$ac_delim
50674 DEFS!$DEFS$ac_delim
50675 ECHO_C!$ECHO_C$ac_delim
50676 ECHO_N!$ECHO_N$ac_delim
50677 ECHO_T!$ECHO_T$ac_delim
50678 LIBS!$LIBS$ac_delim
50679 build_alias!$build_alias$ac_delim
50680 host_alias!$host_alias$ac_delim
50681 target_alias!$target_alias$ac_delim
50682 build!$build$ac_delim
50683 build_cpu!$build_cpu$ac_delim
50684 build_vendor!$build_vendor$ac_delim
50685 build_os!$build_os$ac_delim
50686 host!$host$ac_delim
50687 host_cpu!$host_cpu$ac_delim
50688 host_vendor!$host_vendor$ac_delim
50689 host_os!$host_os$ac_delim
50690 target!$target$ac_delim
50691 target_cpu!$target_cpu$ac_delim
50692 target_vendor!$target_vendor$ac_delim
50693 target_os!$target_os$ac_delim
50694 wx_top_builddir!$wx_top_builddir$ac_delim
50695 CC!$CC$ac_delim
50696 CFLAGS!$CFLAGS$ac_delim
50697 LDFLAGS!$LDFLAGS$ac_delim
50698 CPPFLAGS!$CPPFLAGS$ac_delim
50699 ac_ct_CC!$ac_ct_CC$ac_delim
50700 EXEEXT!$EXEEXT$ac_delim
50701 OBJEXT!$OBJEXT$ac_delim
50702 CPP!$CPP$ac_delim
50703 GREP!$GREP$ac_delim
50704 EGREP!$EGREP$ac_delim
50705 CXX!$CXX$ac_delim
50706 CXXFLAGS!$CXXFLAGS$ac_delim
50707 ac_ct_CXX!$ac_ct_CXX$ac_delim
50708 AR!$AR$ac_delim
50709 subdirs!$subdirs$ac_delim
50710 PKG_CONFIG!$PKG_CONFIG$ac_delim
50711 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50712 GTK_LIBS!$GTK_LIBS$ac_delim
50713 GTK_CONFIG!$GTK_CONFIG$ac_delim
50714 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50715 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50716 XMKMF!$XMKMF$ac_delim
50717 X_CFLAGS!$X_CFLAGS$ac_delim
50718 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50719 X_LIBS!$X_LIBS$ac_delim
50720 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50721 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50722 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50723 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50724 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50725 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50726 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50727 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50728 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50729 LIBICONV!$LIBICONV$ac_delim
50730 SDL_CONFIG!$SDL_CONFIG$ac_delim
50731 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50732 SDL_LIBS!$SDL_LIBS$ac_delim
50733 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50734 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50735 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50736 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50737 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50738 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50739 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50740 HILDON_LIBS!$HILDON_LIBS$ac_delim
50741 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50742 _ACEOF
50743
50744 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50745 break
50746 elif $ac_last_try; then
50747 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50748 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50749 { (exit 1); exit 1; }; }
50750 else
50751 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50752 fi
50753 done
50754
50755 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50756 if test -n "$ac_eof"; then
50757 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50758 ac_eof=`expr $ac_eof + 1`
50759 fi
50760
50761 cat >>$CONFIG_STATUS <<_ACEOF
50762 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50763 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50764 _ACEOF
50765 sed '
50766 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50767 s/^/s,@/; s/!/@,|#_!!_#|/
50768 :n
50769 t n
50770 s/'"$ac_delim"'$/,g/; t
50771 s/$/\\/; p
50772 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50773 ' >>$CONFIG_STATUS <conf$$subs.sed
50774 rm -f conf$$subs.sed
50775 cat >>$CONFIG_STATUS <<_ACEOF
50776 CEOF$ac_eof
50777 _ACEOF
50778
50779
50780 ac_delim='%!_!# '
50781 for ac_last_try in false false false false false :; do
50782 cat >conf$$subs.sed <<_ACEOF
50783 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50784 GST_CFLAGS!$GST_CFLAGS$ac_delim
50785 GST_LIBS!$GST_LIBS$ac_delim
50786 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50787 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50788 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50789 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50790 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50791 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50792 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50793 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50794 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50795 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50796 VENDOR!$VENDOR$ac_delim
50797 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50798 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50799 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50800 WXUNIV!$WXUNIV$ac_delim
50801 MONOLITHIC!$MONOLITHIC$ac_delim
50802 USE_PLUGINS!$USE_PLUGINS$ac_delim
50803 CXXWARNINGS!$CXXWARNINGS$ac_delim
50804 EXTRALIBS!$EXTRALIBS$ac_delim
50805 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50806 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50807 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50808 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50809 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50810 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50811 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50812 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50813 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50814 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50815 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50816 UNICODE!$UNICODE$ac_delim
50817 BUILD!$BUILD$ac_delim
50818 DEBUG_INFO!$DEBUG_INFO$ac_delim
50819 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50820 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50821 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50822 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50823 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50824 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50825 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50826 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50827 RANLIB!$RANLIB$ac_delim
50828 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50829 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50830 INSTALL_DATA!$INSTALL_DATA$ac_delim
50831 LN_S!$LN_S$ac_delim
50832 SET_MAKE!$SET_MAKE$ac_delim
50833 MAKE_SET!$MAKE_SET$ac_delim
50834 AROPTIONS!$AROPTIONS$ac_delim
50835 STRIP!$STRIP$ac_delim
50836 NM!$NM$ac_delim
50837 INSTALL_DIR!$INSTALL_DIR$ac_delim
50838 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50839 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50840 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50841 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50842 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50843 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50844 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50845 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50846 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50847 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50848 SO_SUFFIX!$SO_SUFFIX$ac_delim
50849 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50850 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50851 LIBPREFIX!$LIBPREFIX$ac_delim
50852 LIBEXT!$LIBEXT$ac_delim
50853 DLLPREFIX!$DLLPREFIX$ac_delim
50854 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50855 dlldir!$dlldir$ac_delim
50856 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50857 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50858 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50859 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50860 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50861 PIC_FLAG!$PIC_FLAG$ac_delim
50862 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50863 USE_SOVERSION!$USE_SOVERSION$ac_delim
50864 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50865 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50866 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50867 USE_MACVERSION!$USE_MACVERSION$ac_delim
50868 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50869 SONAME_FLAG!$SONAME_FLAG$ac_delim
50870 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50871 BK_DEPS!$BK_DEPS$ac_delim
50872 WINDRES!$WINDRES$ac_delim
50873 REZ!$REZ$ac_delim
50874 SETFILE!$SETFILE$ac_delim
50875 GCC_PCH!$GCC_PCH$ac_delim
50876 ICC_PCH!$ICC_PCH$ac_delim
50877 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50878 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50879 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50880 _ACEOF
50881
50882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50883 break
50884 elif $ac_last_try; then
50885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50887 { (exit 1); exit 1; }; }
50888 else
50889 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50890 fi
50891 done
50892
50893 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50894 if test -n "$ac_eof"; then
50895 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50896 ac_eof=`expr $ac_eof + 1`
50897 fi
50898
50899 cat >>$CONFIG_STATUS <<_ACEOF
50900 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50902 _ACEOF
50903 sed '
50904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50905 s/^/s,@/; s/!/@,|#_!!_#|/
50906 :n
50907 t n
50908 s/'"$ac_delim"'$/,g/; t
50909 s/$/\\/; p
50910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50911 ' >>$CONFIG_STATUS <conf$$subs.sed
50912 rm -f conf$$subs.sed
50913 cat >>$CONFIG_STATUS <<_ACEOF
50914 CEOF$ac_eof
50915 _ACEOF
50916
50917
50918 ac_delim='%!_!# '
50919 for ac_last_try in false false false false false :; do
50920 cat >conf$$subs.sed <<_ACEOF
50921 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50922 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50923 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50924 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50925 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50926 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50927 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50928 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50929 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50930 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50931 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50932 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50933 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50934 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50935 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50936 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50937 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50945 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50946 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50951 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50953 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50954 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50955 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50956 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50957 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50958 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50959 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50960 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50961 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50962 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50963 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50964 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50965 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50966 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50967 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50968 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50970 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50972 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50973 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50974 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50975 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50977 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50978 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50979 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50980 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50981 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50982 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50983 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50984 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50985 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50986 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50988 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50989 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50990 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50991 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50992 COND_SHARED_0!$COND_SHARED_0$ac_delim
50993 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50994 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50995 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50996 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50998 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51000 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51001 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51002 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51003 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51004 COND_SHARED_1!$COND_SHARED_1$ac_delim
51005 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51006 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51007 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51008 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51009 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51010 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51011 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51012 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51014 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51015 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51017 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51018 _ACEOF
51019
51020 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51021 break
51022 elif $ac_last_try; then
51023 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51024 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51025 { (exit 1); exit 1; }; }
51026 else
51027 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51028 fi
51029 done
51030
51031 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51032 if test -n "$ac_eof"; then
51033 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51034 ac_eof=`expr $ac_eof + 1`
51035 fi
51036
51037 cat >>$CONFIG_STATUS <<_ACEOF
51038 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51040 _ACEOF
51041 sed '
51042 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51043 s/^/s,@/; s/!/@,|#_!!_#|/
51044 :n
51045 t n
51046 s/'"$ac_delim"'$/,g/; t
51047 s/$/\\/; p
51048 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51049 ' >>$CONFIG_STATUS <conf$$subs.sed
51050 rm -f conf$$subs.sed
51051 cat >>$CONFIG_STATUS <<_ACEOF
51052 CEOF$ac_eof
51053 _ACEOF
51054
51055
51056 ac_delim='%!_!# '
51057 for ac_last_try in false false false false false :; do
51058 cat >conf$$subs.sed <<_ACEOF
51059 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51061 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51062 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51063 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51064 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51065 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51066 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51067 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51068 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51069 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51070 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51071 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51072 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51073 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51074 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51075 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51076 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51077 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51078 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51079 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51080 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51081 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51082 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51083 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51084 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51085 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51086 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51087 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51088 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51089 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51090 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51091 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51092 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51093 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51094 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51095 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51096 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51097 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51098 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51099 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51100 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51101 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51102 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51103 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51104 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51105 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51106 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51107 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51108 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51109 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51110 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51111 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51112 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51113 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51114 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51115 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51116 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51117 DEREZ!$DEREZ$ac_delim
51118 SHARED!$SHARED$ac_delim
51119 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51120 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51121 USE_GUI!$USE_GUI$ac_delim
51122 AFMINSTALL!$AFMINSTALL$ac_delim
51123 WIN32INSTALL!$WIN32INSTALL$ac_delim
51124 TOOLKIT!$TOOLKIT$ac_delim
51125 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51126 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51127 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51128 cross_compiling!$cross_compiling$ac_delim
51129 WIDGET_SET!$WIDGET_SET$ac_delim
51130 WX_RELEASE!$WX_RELEASE$ac_delim
51131 WX_VERSION!$WX_VERSION$ac_delim
51132 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51133 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51134 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51135 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51136 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51137 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51138 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51139 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51140 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51141 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51142 GUIDIST!$GUIDIST$ac_delim
51143 DISTDIR!$DISTDIR$ac_delim
51144 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51145 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51146 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51147 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51148 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51149 RESCOMP!$RESCOMP$ac_delim
51150 RESFLAGS!$RESFLAGS$ac_delim
51151 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51152 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51153 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51154 LIBWXMACRES!$LIBWXMACRES$ac_delim
51155 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51156 _ACEOF
51157
51158 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51159 break
51160 elif $ac_last_try; then
51161 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51162 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51163 { (exit 1); exit 1; }; }
51164 else
51165 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51166 fi
51167 done
51168
51169 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51170 if test -n "$ac_eof"; then
51171 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51172 ac_eof=`expr $ac_eof + 1`
51173 fi
51174
51175 cat >>$CONFIG_STATUS <<_ACEOF
51176 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51178 _ACEOF
51179 sed '
51180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51181 s/^/s,@/; s/!/@,|#_!!_#|/
51182 :n
51183 t n
51184 s/'"$ac_delim"'$/,g/; t
51185 s/$/\\/; p
51186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51187 ' >>$CONFIG_STATUS <conf$$subs.sed
51188 rm -f conf$$subs.sed
51189 cat >>$CONFIG_STATUS <<_ACEOF
51190 CEOF$ac_eof
51191 _ACEOF
51192
51193
51194 ac_delim='%!_!# '
51195 for ac_last_try in false false false false false :; do
51196 cat >conf$$subs.sed <<_ACEOF
51197 MACSETFILE!$MACSETFILE$ac_delim
51198 GCC!$GCC$ac_delim
51199 DLLTOOL!$DLLTOOL$ac_delim
51200 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51201 LIBOBJS!$LIBOBJS$ac_delim
51202 LTLIBOBJS!$LTLIBOBJS$ac_delim
51203 _ACEOF
51204
51205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51206 break
51207 elif $ac_last_try; then
51208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51210 { (exit 1); exit 1; }; }
51211 else
51212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51213 fi
51214 done
51215
51216 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51217 if test -n "$ac_eof"; then
51218 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51219 ac_eof=`expr $ac_eof + 1`
51220 fi
51221
51222 cat >>$CONFIG_STATUS <<_ACEOF
51223 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51225 _ACEOF
51226 sed '
51227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51228 s/^/s,@/; s/!/@,|#_!!_#|/
51229 :n
51230 t n
51231 s/'"$ac_delim"'$/,g/; t
51232 s/$/\\/; p
51233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51234 ' >>$CONFIG_STATUS <conf$$subs.sed
51235 rm -f conf$$subs.sed
51236 cat >>$CONFIG_STATUS <<_ACEOF
51237 :end
51238 s/|#_!!_#|//g
51239 CEOF$ac_eof
51240 _ACEOF
51241
51242
51243 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51244 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51245 # trailing colons and then remove the whole line if VPATH becomes empty
51246 # (actually we leave an empty line to preserve line numbers).
51247 if test "x$srcdir" = x.; then
51248 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51249 s/:*\$(srcdir):*/:/
51250 s/:*\${srcdir}:*/:/
51251 s/:*@srcdir@:*/:/
51252 s/^\([^=]*=[ ]*\):*/\1/
51253 s/:*$//
51254 s/^[^=]*=[ ]*$//
51255 }'
51256 fi
51257
51258 cat >>$CONFIG_STATUS <<\_ACEOF
51259 fi # test -n "$CONFIG_FILES"
51260
51261
51262 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51263 do
51264 case $ac_tag in
51265 :[FHLC]) ac_mode=$ac_tag; continue;;
51266 esac
51267 case $ac_mode$ac_tag in
51268 :[FHL]*:*);;
51269 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51270 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51271 { (exit 1); exit 1; }; };;
51272 :[FH]-) ac_tag=-:-;;
51273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51274 esac
51275 ac_save_IFS=$IFS
51276 IFS=:
51277 set x $ac_tag
51278 IFS=$ac_save_IFS
51279 shift
51280 ac_file=$1
51281 shift
51282
51283 case $ac_mode in
51284 :L) ac_source=$1;;
51285 :[FH])
51286 ac_file_inputs=
51287 for ac_f
51288 do
51289 case $ac_f in
51290 -) ac_f="$tmp/stdin";;
51291 *) # Look for the file first in the build tree, then in the source tree
51292 # (if the path is not absolute). The absolute path cannot be DOS-style,
51293 # because $ac_f cannot contain `:'.
51294 test -f "$ac_f" ||
51295 case $ac_f in
51296 [\\/$]*) false;;
51297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51298 esac ||
51299 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51300 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51301 { (exit 1); exit 1; }; };;
51302 esac
51303 ac_file_inputs="$ac_file_inputs $ac_f"
51304 done
51305
51306 # Let's still pretend it is `configure' which instantiates (i.e., don't
51307 # use $as_me), people would be surprised to read:
51308 # /* config.h. Generated by config.status. */
51309 configure_input="Generated from "`IFS=:
51310 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51311 if test x"$ac_file" != x-; then
51312 configure_input="$ac_file. $configure_input"
51313 { echo "$as_me:$LINENO: creating $ac_file" >&5
51314 echo "$as_me: creating $ac_file" >&6;}
51315 fi
51316
51317 case $ac_tag in
51318 *:-:* | *:-) cat >"$tmp/stdin";;
51319 esac
51320 ;;
51321 esac
51322
51323 ac_dir=`$as_dirname -- "$ac_file" ||
51324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51325 X"$ac_file" : 'X\(//\)[^/]' \| \
51326 X"$ac_file" : 'X\(//\)$' \| \
51327 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51328 echo X"$ac_file" |
51329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51330 s//\1/
51331 q
51332 }
51333 /^X\(\/\/\)[^/].*/{
51334 s//\1/
51335 q
51336 }
51337 /^X\(\/\/\)$/{
51338 s//\1/
51339 q
51340 }
51341 /^X\(\/\).*/{
51342 s//\1/
51343 q
51344 }
51345 s/.*/./; q'`
51346 { as_dir="$ac_dir"
51347 case $as_dir in #(
51348 -*) as_dir=./$as_dir;;
51349 esac
51350 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51351 as_dirs=
51352 while :; do
51353 case $as_dir in #(
51354 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51355 *) as_qdir=$as_dir;;
51356 esac
51357 as_dirs="'$as_qdir' $as_dirs"
51358 as_dir=`$as_dirname -- "$as_dir" ||
51359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51360 X"$as_dir" : 'X\(//\)[^/]' \| \
51361 X"$as_dir" : 'X\(//\)$' \| \
51362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51363 echo X"$as_dir" |
51364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51365 s//\1/
51366 q
51367 }
51368 /^X\(\/\/\)[^/].*/{
51369 s//\1/
51370 q
51371 }
51372 /^X\(\/\/\)$/{
51373 s//\1/
51374 q
51375 }
51376 /^X\(\/\).*/{
51377 s//\1/
51378 q
51379 }
51380 s/.*/./; q'`
51381 test -d "$as_dir" && break
51382 done
51383 test -z "$as_dirs" || eval "mkdir $as_dirs"
51384 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51385 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51386 { (exit 1); exit 1; }; }; }
51387 ac_builddir=.
51388
51389 case "$ac_dir" in
51390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51391 *)
51392 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51393 # A ".." for each directory in $ac_dir_suffix.
51394 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51395 case $ac_top_builddir_sub in
51396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51398 esac ;;
51399 esac
51400 ac_abs_top_builddir=$ac_pwd
51401 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51402 # for backward compatibility:
51403 ac_top_builddir=$ac_top_build_prefix
51404
51405 case $srcdir in
51406 .) # We are building in place.
51407 ac_srcdir=.
51408 ac_top_srcdir=$ac_top_builddir_sub
51409 ac_abs_top_srcdir=$ac_pwd ;;
51410 [\\/]* | ?:[\\/]* ) # Absolute name.
51411 ac_srcdir=$srcdir$ac_dir_suffix;
51412 ac_top_srcdir=$srcdir
51413 ac_abs_top_srcdir=$srcdir ;;
51414 *) # Relative name.
51415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51416 ac_top_srcdir=$ac_top_build_prefix$srcdir
51417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51418 esac
51419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51420
51421
51422 case $ac_mode in
51423 :F)
51424 #
51425 # CONFIG_FILE
51426 #
51427
51428 case $INSTALL in
51429 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51430 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51431 esac
51432 _ACEOF
51433
51434 cat >>$CONFIG_STATUS <<\_ACEOF
51435 # If the template does not know about datarootdir, expand it.
51436 # FIXME: This hack should be removed a few years after 2.60.
51437 ac_datarootdir_hack=; ac_datarootdir_seen=
51438
51439 case `sed -n '/datarootdir/ {
51440 p
51441 q
51442 }
51443 /@datadir@/p
51444 /@docdir@/p
51445 /@infodir@/p
51446 /@localedir@/p
51447 /@mandir@/p
51448 ' $ac_file_inputs` in
51449 *datarootdir*) ac_datarootdir_seen=yes;;
51450 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51451 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51452 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51453 _ACEOF
51454 cat >>$CONFIG_STATUS <<_ACEOF
51455 ac_datarootdir_hack='
51456 s&@datadir@&$datadir&g
51457 s&@docdir@&$docdir&g
51458 s&@infodir@&$infodir&g
51459 s&@localedir@&$localedir&g
51460 s&@mandir@&$mandir&g
51461 s&\\\${datarootdir}&$datarootdir&g' ;;
51462 esac
51463 _ACEOF
51464
51465 # Neutralize VPATH when `$srcdir' = `.'.
51466 # Shell code in configure.ac might set extrasub.
51467 # FIXME: do we really want to maintain this feature?
51468 cat >>$CONFIG_STATUS <<_ACEOF
51469 sed "$ac_vpsub
51470 $extrasub
51471 _ACEOF
51472 cat >>$CONFIG_STATUS <<\_ACEOF
51473 :t
51474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51475 s&@configure_input@&$configure_input&;t t
51476 s&@top_builddir@&$ac_top_builddir_sub&;t t
51477 s&@srcdir@&$ac_srcdir&;t t
51478 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51479 s&@top_srcdir@&$ac_top_srcdir&;t t
51480 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51481 s&@builddir@&$ac_builddir&;t t
51482 s&@abs_builddir@&$ac_abs_builddir&;t t
51483 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51484 s&@INSTALL@&$ac_INSTALL&;t t
51485 $ac_datarootdir_hack
51486 " $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
51487
51488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51489 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51491 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51492 which seems to be undefined. Please make sure it is defined." >&5
51493 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51494 which seems to be undefined. Please make sure it is defined." >&2;}
51495
51496 rm -f "$tmp/stdin"
51497 case $ac_file in
51498 -) cat "$tmp/out"; rm -f "$tmp/out";;
51499 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51500 esac
51501 ;;
51502 :H)
51503 #
51504 # CONFIG_HEADER
51505 #
51506 _ACEOF
51507
51508 # Transform confdefs.h into a sed script `conftest.defines', that
51509 # substitutes the proper values into config.h.in to produce config.h.
51510 rm -f conftest.defines conftest.tail
51511 # First, append a space to every undef/define line, to ease matching.
51512 echo 's/$/ /' >conftest.defines
51513 # Then, protect against being on the right side of a sed subst, or in
51514 # an unquoted here document, in config.status. If some macros were
51515 # called several times there might be several #defines for the same
51516 # symbol, which is useless. But do not sort them, since the last
51517 # AC_DEFINE must be honored.
51518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51519 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51520 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51521 # PARAMS is the parameter list in the macro definition--in most cases, it's
51522 # just an empty string.
51523 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51524 ac_dB='\\)[ (].*,\\1define\\2'
51525 ac_dC=' '
51526 ac_dD=' ,'
51527
51528 uniq confdefs.h |
51529 sed -n '
51530 t rset
51531 :rset
51532 s/^[ ]*#[ ]*define[ ][ ]*//
51533 t ok
51534 d
51535 :ok
51536 s/[\\&,]/\\&/g
51537 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51538 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51539 ' >>conftest.defines
51540
51541 # Remove the space that was appended to ease matching.
51542 # Then replace #undef with comments. This is necessary, for
51543 # example, in the case of _POSIX_SOURCE, which is predefined and required
51544 # on some systems where configure will not decide to define it.
51545 # (The regexp can be short, since the line contains either #define or #undef.)
51546 echo 's/ $//
51547 s,^[ #]*u.*,/* & */,' >>conftest.defines
51548
51549 # Break up conftest.defines:
51550 ac_max_sed_lines=50
51551
51552 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51553 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51554 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51555 # et cetera.
51556 ac_in='$ac_file_inputs'
51557 ac_out='"$tmp/out1"'
51558 ac_nxt='"$tmp/out2"'
51559
51560 while :
51561 do
51562 # Write a here document:
51563 cat >>$CONFIG_STATUS <<_ACEOF
51564 # First, check the format of the line:
51565 cat >"\$tmp/defines.sed" <<\\CEOF
51566 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51567 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51568 b
51569 :def
51570 _ACEOF
51571 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51572 echo 'CEOF
51573 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51574 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51575 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51576 grep . conftest.tail >/dev/null || break
51577 rm -f conftest.defines
51578 mv conftest.tail conftest.defines
51579 done
51580 rm -f conftest.defines conftest.tail
51581
51582 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51583 cat >>$CONFIG_STATUS <<\_ACEOF
51584 if test x"$ac_file" != x-; then
51585 echo "/* $configure_input */" >"$tmp/config.h"
51586 cat "$ac_result" >>"$tmp/config.h"
51587 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51588 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51589 echo "$as_me: $ac_file is unchanged" >&6;}
51590 else
51591 rm -f $ac_file
51592 mv "$tmp/config.h" $ac_file
51593 fi
51594 else
51595 echo "/* $configure_input */"
51596 cat "$ac_result"
51597 fi
51598 rm -f "$tmp/out12"
51599 ;;
51600
51601 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51602 echo "$as_me: executing $ac_file commands" >&6;}
51603 ;;
51604 esac
51605
51606
51607 case $ac_file$ac_mode in
51608 "rcdefs.h":C)
51609 mkdir -p $outdir &&
51610 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51611 ;;
51612 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51613 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51614 "wx-config":C) rm -f wx-config
51615 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51616 ;;
51617
51618 esac
51619 done # for ac_tag
51620
51621
51622 { (exit 0); exit 0; }
51623 _ACEOF
51624 chmod +x $CONFIG_STATUS
51625 ac_clean_files=$ac_clean_files_save
51626
51627
51628 # configure is writing to config.log, and then calls config.status.
51629 # config.status does its own redirection, appending to config.log.
51630 # Unfortunately, on DOS this fails, as config.log is still kept open
51631 # by configure, so config.status won't be able to write to it; its
51632 # output is simply discarded. So we exec the FD to /dev/null,
51633 # effectively closing config.log, so it can be properly (re)opened and
51634 # appended to by config.status. When coming back to configure, we
51635 # need to make the FD available again.
51636 if test "$no_create" != yes; then
51637 ac_cs_success=:
51638 ac_config_status_args=
51639 test "$silent" = yes &&
51640 ac_config_status_args="$ac_config_status_args --quiet"
51641 exec 5>/dev/null
51642 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51643 exec 5>>config.log
51644 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51645 # would make configure fail if this is the last instruction.
51646 $ac_cs_success || { (exit 1); exit 1; }
51647 fi
51648
51649 #
51650 # CONFIG_SUBDIRS section.
51651 #
51652 if test "$no_recursion" != yes; then
51653
51654 # Remove --cache-file and --srcdir arguments so they do not pile up.
51655 ac_sub_configure_args=
51656 ac_prev=
51657 eval "set x $ac_configure_args"
51658 shift
51659 for ac_arg
51660 do
51661 if test -n "$ac_prev"; then
51662 ac_prev=
51663 continue
51664 fi
51665 case $ac_arg in
51666 -cache-file | --cache-file | --cache-fil | --cache-fi \
51667 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51668 ac_prev=cache_file ;;
51669 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51670 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51671 | --c=*)
51672 ;;
51673 --config-cache | -C)
51674 ;;
51675 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51676 ac_prev=srcdir ;;
51677 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51678 ;;
51679 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51680 ac_prev=prefix ;;
51681 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51682 ;;
51683 *)
51684 case $ac_arg in
51685 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51686 esac
51687 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51688 esac
51689 done
51690
51691 # Always prepend --prefix to ensure using the same prefix
51692 # in subdir configurations.
51693 ac_arg="--prefix=$prefix"
51694 case $ac_arg in
51695 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51696 esac
51697 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51698
51699 # Pass --silent
51700 if test "$silent" = yes; then
51701 ac_sub_configure_args="--silent $ac_sub_configure_args"
51702 fi
51703
51704 ac_popdir=`pwd`
51705 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51706
51707 # Do not complain, so a configure script can configure whichever
51708 # parts of a large source tree are present.
51709 test -d "$srcdir/$ac_dir" || continue
51710
51711 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51712 echo "$as_me:$LINENO: $ac_msg" >&5
51713 echo "$ac_msg" >&6
51714 { as_dir="$ac_dir"
51715 case $as_dir in #(
51716 -*) as_dir=./$as_dir;;
51717 esac
51718 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51719 as_dirs=
51720 while :; do
51721 case $as_dir in #(
51722 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51723 *) as_qdir=$as_dir;;
51724 esac
51725 as_dirs="'$as_qdir' $as_dirs"
51726 as_dir=`$as_dirname -- "$as_dir" ||
51727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51728 X"$as_dir" : 'X\(//\)[^/]' \| \
51729 X"$as_dir" : 'X\(//\)$' \| \
51730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51731 echo X"$as_dir" |
51732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51733 s//\1/
51734 q
51735 }
51736 /^X\(\/\/\)[^/].*/{
51737 s//\1/
51738 q
51739 }
51740 /^X\(\/\/\)$/{
51741 s//\1/
51742 q
51743 }
51744 /^X\(\/\).*/{
51745 s//\1/
51746 q
51747 }
51748 s/.*/./; q'`
51749 test -d "$as_dir" && break
51750 done
51751 test -z "$as_dirs" || eval "mkdir $as_dirs"
51752 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51753 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51754 { (exit 1); exit 1; }; }; }
51755 ac_builddir=.
51756
51757 case "$ac_dir" in
51758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51759 *)
51760 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51761 # A ".." for each directory in $ac_dir_suffix.
51762 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51763 case $ac_top_builddir_sub in
51764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51766 esac ;;
51767 esac
51768 ac_abs_top_builddir=$ac_pwd
51769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51770 # for backward compatibility:
51771 ac_top_builddir=$ac_top_build_prefix
51772
51773 case $srcdir in
51774 .) # We are building in place.
51775 ac_srcdir=.
51776 ac_top_srcdir=$ac_top_builddir_sub
51777 ac_abs_top_srcdir=$ac_pwd ;;
51778 [\\/]* | ?:[\\/]* ) # Absolute name.
51779 ac_srcdir=$srcdir$ac_dir_suffix;
51780 ac_top_srcdir=$srcdir
51781 ac_abs_top_srcdir=$srcdir ;;
51782 *) # Relative name.
51783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51784 ac_top_srcdir=$ac_top_build_prefix$srcdir
51785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51786 esac
51787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51788
51789
51790 cd "$ac_dir"
51791
51792 # Check for guested configure; otherwise get Cygnus style configure.
51793 if test -f "$ac_srcdir/configure.gnu"; then
51794 ac_sub_configure=$ac_srcdir/configure.gnu
51795 elif test -f "$ac_srcdir/configure"; then
51796 ac_sub_configure=$ac_srcdir/configure
51797 elif test -f "$ac_srcdir/configure.in"; then
51798 # This should be Cygnus configure.
51799 ac_sub_configure=$ac_aux_dir/configure
51800 else
51801 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51802 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51803 ac_sub_configure=
51804 fi
51805
51806 # The recursion is here.
51807 if test -n "$ac_sub_configure"; then
51808 # Make the cache file name correct relative to the subdirectory.
51809 case $cache_file in
51810 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51811 *) # Relative name.
51812 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51813 esac
51814
51815 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51816 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51817 # The eval makes quoting arguments work.
51818 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51819 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51820 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51821 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51822 { (exit 1); exit 1; }; }
51823 fi
51824
51825 cd "$ac_popdir"
51826 done
51827 fi
51828
51829
51830 echo
51831 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51832 echo ""
51833 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51834 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51835
51836 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51837 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51838 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51839 if test "$wxUSE_UNICODE" = "yes"; then
51840 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51841 echo " (using UTF-8)"
51842 else
51843 echo " (using wchar_t)"
51844 fi
51845 else
51846 echo
51847 fi
51848
51849 echo " What level of wxWidgets compatibility should be enabled?"
51850 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51851 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51852
51853 echo " Which libraries should wxWidgets use?"
51854 echo " STL ${wxUSE_STL}"
51855 echo " jpeg ${wxUSE_LIBJPEG-none}"
51856 echo " png ${wxUSE_LIBPNG-none}"
51857 echo " regex ${wxUSE_REGEX}"
51858 echo " tiff ${wxUSE_LIBTIFF-none}"
51859 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51860 echo " xpm ${wxUSE_LIBXPM-none}"
51861 fi
51862 echo " zlib ${wxUSE_ZLIB}"
51863 echo " expat ${wxUSE_EXPAT}"
51864 echo " libmspack ${wxUSE_LIBMSPACK}"
51865 echo " sdl ${wxUSE_LIBSDL}"
51866
51867 echo ""
51868