]> git.saurik.com Git - wxWidgets.git/blob - configure
unifying CFTypes
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50303 2007-11-28 06:46:25Z PC .
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 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4795 else
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_debug_gdb"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_DEBUG_GDB
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821
4822 enablestring=
4823 defaultval=
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4826 defaultval=yes
4827 else
4828 defaultval=no
4829 fi
4830 fi
4831
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4839 else
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4841 fi
4842
4843 else
4844
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4846
4847 fi
4848
4849
4850 eval "$wx_cv_use_debug_cntxt"
4851
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4854 result=no
4855 else
4856 result=yes
4857 fi
4858 else
4859 result=$wxUSE_DEBUG_CONTEXT
4860 fi
4861
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4864
4865
4866 enablestring=
4867 defaultval=
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4870 defaultval=yes
4871 else
4872 defaultval=no
4873 fi
4874 fi
4875
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4883 else
4884 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4885 fi
4886
4887 else
4888
4889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_mem_tracing"
4895
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4898 result=no
4899 else
4900 result=yes
4901 fi
4902 else
4903 result=$wxUSE_MEM_TRACING
4904 fi
4905
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4908
4909
4910 enablestring=
4911 defaultval=
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4914 defaultval=yes
4915 else
4916 defaultval=no
4917 fi
4918 fi
4919
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE=yes'
4927 else
4928 wx_cv_use_profile='wxUSE_PROFILE=no'
4929 fi
4930
4931 else
4932
4933 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4934
4935 fi
4936
4937
4938 eval "$wx_cv_use_profile"
4939
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4942 result=no
4943 else
4944 result=yes
4945 fi
4946 else
4947 result=$wxUSE_PROFILE
4948 fi
4949
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4952
4953
4954 enablestring=
4955 defaultval=
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4958 defaultval=yes
4959 else
4960 defaultval=no
4961 fi
4962 fi
4963
4964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4971 else
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4973 fi
4974
4975 else
4976
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4978
4979 fi
4980
4981
4982 eval "$wx_cv_use_no_rtti"
4983
4984 if test x"$enablestring" = xdisable; then
4985 if test $wxUSE_NO_RTTI = yes; then
4986 result=no
4987 else
4988 result=yes
4989 fi
4990 else
4991 result=$wxUSE_NO_RTTI
4992 fi
4993
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
4996
4997
4998 enablestring=
4999 defaultval=
5000 if test -z "$defaultval"; then
5001 if test x"$enablestring" = xdisable; then
5002 defaultval=yes
5003 else
5004 defaultval=no
5005 fi
5006 fi
5007
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5015 else
5016 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5017 fi
5018
5019 else
5020
5021 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5022
5023 fi
5024
5025
5026 eval "$wx_cv_use_no_exceptions"
5027
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5030 result=no
5031 else
5032 result=yes
5033 fi
5034 else
5035 result=$wxUSE_NO_EXCEPTIONS
5036 fi
5037
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5040
5041
5042 enablestring=
5043 defaultval=
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5046 defaultval=yes
5047 else
5048 defaultval=no
5049 fi
5050 fi
5051
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5059 else
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5061 fi
5062
5063 else
5064
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_permissive"
5071
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5074 result=no
5075 else
5076 result=yes
5077 fi
5078 else
5079 result=$wxUSE_PERMISSIVE
5080 fi
5081
5082 { echo "$as_me:$LINENO: result: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5084
5085
5086 enablestring=
5087 defaultval=
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5090 defaultval=yes
5091 else
5092 defaultval=no
5093 fi
5094 fi
5095
5096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 else
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5105 fi
5106
5107 else
5108
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5110
5111 fi
5112
5113
5114 eval "$wx_cv_use_no_deps"
5115
5116 if test x"$enablestring" = xdisable; then
5117 if test $wxUSE_NO_DEPS = yes; then
5118 result=no
5119 else
5120 result=yes
5121 fi
5122 else
5123 result=$wxUSE_NO_DEPS
5124 fi
5125
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5128
5129
5130 enablestring=disable
5131 defaultval=
5132 if test -z "$defaultval"; then
5133 if test x"$enablestring" = xdisable; then
5134 defaultval=yes
5135 else
5136 defaultval=no
5137 fi
5138 fi
5139
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5147 else
5148 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5149 fi
5150
5151 else
5152
5153 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5154
5155 fi
5156
5157
5158 eval "$wx_cv_use_vararg_macros"
5159
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5162 result=no
5163 else
5164 result=yes
5165 fi
5166 else
5167 result=$wxUSE_VARARG_MACROS
5168 fi
5169
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5172
5173
5174 enablestring=
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181
5182 else
5183
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5185
5186 fi
5187
5188
5189 eval "$wx_cv_use_universal_binary"
5190
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5193
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5213 else
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_compat26"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$WXWIN_COMPATIBILITY_2_6
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=disable
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 else
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_compat28"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$WXWIN_COMPATIBILITY_2_8
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284
5285 enablestring=disable
5286 defaultval=
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5289 defaultval=yes
5290 else
5291 defaultval=no
5292 fi
5293 fi
5294
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath='wxUSE_RPATH=yes'
5302 else
5303 wx_cv_use_rpath='wxUSE_RPATH=no'
5304 fi
5305
5306 else
5307
5308 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_rpath"
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_RPATH
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329
5330 enablestring=
5331 defaultval=
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5334 defaultval=yes
5335 else
5336 defaultval=no
5337 fi
5338 fi
5339
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5347 else
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5349 fi
5350
5351 else
5352
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_objc_uniquifying"
5359
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5362 result=no
5363 else
5364 result=yes
5365 fi
5366 else
5367 result=$wxUSE_OBJC_UNIQUIFYING
5368 fi
5369
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5372
5373
5374
5375 enablestring=disable
5376 defaultval=
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5379 defaultval=yes
5380 else
5381 defaultval=no
5382 fi
5383 fi
5384
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5392 else
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5394 fi
5395
5396 else
5397
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5399
5400 fi
5401
5402
5403 eval "$wx_cv_use_visibility"
5404
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VISIBILITY = yes; then
5407 result=no
5408 else
5409 result=yes
5410 fi
5411 else
5412 result=$wxUSE_VISIBILITY
5413 fi
5414
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5417
5418
5419
5420
5421 enablestring=
5422 defaultval=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5425 defaultval=yes
5426 else
5427 defaultval=no
5428 fi
5429 fi
5430
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl='wxUSE_INTL=yes'
5438 else
5439 wx_cv_use_intl='wxUSE_INTL=no'
5440 fi
5441
5442 else
5443
5444 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5445
5446 fi
5447
5448
5449 eval "$wx_cv_use_intl"
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$wxUSE_INTL
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465 enablestring=
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG=yes'
5482 else
5483 wx_cv_use_config='wxUSE_CONFIG=no'
5484 fi
5485
5486 else
5487
5488 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5489
5490 fi
5491
5492
5493 eval "$wx_cv_use_config"
5494
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5497 result=no
5498 else
5499 result=yes
5500 fi
5501 else
5502 result=$wxUSE_CONFIG
5503 fi
5504
5505 { echo "$as_me:$LINENO: result: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5507
5508
5509
5510 enablestring=
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5527 else
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5529 fi
5530
5531 else
5532
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5534
5535 fi
5536
5537
5538 eval "$wx_cv_use_protocols"
5539
5540 if test x"$enablestring" = xdisable; then
5541 if test $wxUSE_PROTOCOL = yes; then
5542 result=no
5543 else
5544 result=yes
5545 fi
5546 else
5547 result=$wxUSE_PROTOCOL
5548 fi
5549
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5552
5553
5554 enablestring=
5555 defaultval=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x"$enablestring" = xdisable; then
5558 defaultval=yes
5559 else
5560 defaultval=no
5561 fi
5562 fi
5563
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5571 else
5572 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5573 fi
5574
5575 else
5576
5577 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5578
5579 fi
5580
5581
5582 eval "$wx_cv_use_ftp"
5583
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5586 result=no
5587 else
5588 result=yes
5589 fi
5590 else
5591 result=$wxUSE_PROTOCOL_FTP
5592 fi
5593
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5596
5597
5598 enablestring=
5599 defaultval=$wxUSE_ALL_FEATURES
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5602 defaultval=yes
5603 else
5604 defaultval=no
5605 fi
5606 fi
5607
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5615 else
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5617 fi
5618
5619 else
5620
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5622
5623 fi
5624
5625
5626 eval "$wx_cv_use_http"
5627
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5630 result=no
5631 else
5632 result=yes
5633 fi
5634 else
5635 result=$wxUSE_PROTOCOL_HTTP
5636 fi
5637
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5640
5641
5642 enablestring=
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5646 defaultval=yes
5647 else
5648 defaultval=no
5649 fi
5650 fi
5651
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5659 else
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5661 fi
5662
5663 else
5664
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_fileproto"
5671
5672 if test x"$enablestring" = xdisable; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5674 result=no
5675 else
5676 result=yes
5677 fi
5678 else
5679 result=$wxUSE_PROTOCOL_FILE
5680 fi
5681
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5684
5685
5686 enablestring=
5687 defaultval=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x"$enablestring" = xdisable; then
5690 defaultval=yes
5691 else
5692 defaultval=no
5693 fi
5694 fi
5695
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5703 else
5704 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5705 fi
5706
5707 else
5708
5709 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5710
5711 fi
5712
5713
5714 eval "$wx_cv_use_sockets"
5715
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5718 result=no
5719 else
5720 result=yes
5721 fi
5722 else
5723 result=$wxUSE_SOCKETS
5724 fi
5725
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5728
5729
5730 enablestring=
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5734 defaultval=yes
5735 else
5736 defaultval=no
5737 fi
5738 fi
5739
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5747 else
5748 wx_cv_use_ipv6='wxUSE_IPV6=no'
5749 fi
5750
5751 else
5752
5753 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5754
5755 fi
5756
5757
5758 eval "$wx_cv_use_ipv6"
5759
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5762 result=no
5763 else
5764 result=yes
5765 fi
5766 else
5767 result=$wxUSE_IPV6
5768 fi
5769
5770 { echo "$as_me:$LINENO: result: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5772
5773
5774 enablestring=
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5778 defaultval=yes
5779 else
5780 defaultval=no
5781 fi
5782 fi
5783
5784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5791 else
5792 wx_cv_use_ole='wxUSE_OLE=no'
5793 fi
5794
5795 else
5796
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5798
5799 fi
5800
5801
5802 eval "$wx_cv_use_ole"
5803
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_OLE = yes; then
5806 result=no
5807 else
5808 result=yes
5809 fi
5810 else
5811 result=$wxUSE_OLE
5812 fi
5813
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5816
5817
5818 enablestring=
5819 defaultval=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5822 defaultval=yes
5823 else
5824 defaultval=no
5825 fi
5826 fi
5827
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5835 else
5836 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5837 fi
5838
5839 else
5840
5841 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5842
5843 fi
5844
5845
5846 eval "$wx_cv_use_dataobj"
5847
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5850 result=no
5851 else
5852 result=yes
5853 fi
5854 else
5855 result=$wxUSE_DATAOBJ
5856 fi
5857
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5860
5861
5862
5863 enablestring=
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5867 defaultval=yes
5868 else
5869 defaultval=no
5870 fi
5871 fi
5872
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC=yes'
5880 else
5881 wx_cv_use_ipc='wxUSE_IPC=no'
5882 fi
5883
5884 else
5885
5886 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5887
5888 fi
5889
5890
5891 eval "$wx_cv_use_ipc"
5892
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5895 result=no
5896 else
5897 result=yes
5898 fi
5899 else
5900 result=$wxUSE_IPC
5901 fi
5902
5903 { echo "$as_me:$LINENO: result: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5905
5906
5907
5908 enablestring=
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5912 defaultval=yes
5913 else
5914 defaultval=no
5915 fi
5916 fi
5917
5918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5925 else
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5927 fi
5928
5929 else
5930
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5932
5933 fi
5934
5935
5936 eval "$wx_cv_use_baseevtloop"
5937
5938 if test x"$enablestring" = xdisable; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5940 result=no
5941 else
5942 result=yes
5943 fi
5944 else
5945 result=$wxUSE_CONSOLE_EVENTLOOP
5946 fi
5947
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5950
5951
5952 enablestring=
5953 defaultval=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x"$enablestring" = xdisable; then
5956 defaultval=yes
5957 else
5958 defaultval=no
5959 fi
5960 fi
5961
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5969 else
5970 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5971 fi
5972
5973 else
5974
5975 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5976
5977 fi
5978
5979
5980 eval "$wx_cv_use_epollloop"
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5984 result=no
5985 else
5986 result=yes
5987 fi
5988 else
5989 result=$wxUSE_EPOLL_DISPATCHER
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996 enablestring=
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6000 defaultval=yes
6001 else
6002 defaultval=no
6003 fi
6004 fi
6005
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6013 else
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6015 fi
6016
6017 else
6018
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6020
6021 fi
6022
6023
6024 eval "$wx_cv_use_selectloop"
6025
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6028 result=no
6029 else
6030 result=yes
6031 fi
6032 else
6033 result=$wxUSE_SELECT_DISPATCHER
6034 fi
6035
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6038
6039
6040
6041 enablestring=
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6045 defaultval=yes
6046 else
6047 defaultval=no
6048 fi
6049 fi
6050
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6058 else
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6060 fi
6061
6062 else
6063
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6065
6066 fi
6067
6068
6069 eval "$wx_cv_use_apple_ieee"
6070
6071 if test x"$enablestring" = xdisable; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6073 result=no
6074 else
6075 result=yes
6076 fi
6077 else
6078 result=$wxUSE_APPLE_IEEE
6079 fi
6080
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6083
6084
6085 enablestring=
6086 defaultval=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x"$enablestring" = xdisable; then
6089 defaultval=yes
6090 else
6091 defaultval=no
6092 fi
6093 fi
6094
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6102 else
6103 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6104 fi
6105
6106 else
6107
6108 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6109
6110 fi
6111
6112
6113 eval "$wx_cv_use_arcstream"
6114
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6117 result=no
6118 else
6119 result=yes
6120 fi
6121 else
6122 result=$wxUSE_ARCHIVE_STREAMS
6123 fi
6124
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6127
6128
6129 enablestring=
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6133 defaultval=yes
6134 else
6135 defaultval=no
6136 fi
6137 fi
6138
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64=yes'
6146 else
6147 wx_cv_use_base64='wxUSE_BASE64=no'
6148 fi
6149
6150 else
6151
6152 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6153
6154 fi
6155
6156
6157 eval "$wx_cv_use_base64"
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6161 result=no
6162 else
6163 result=yes
6164 fi
6165 else
6166 result=$wxUSE_BASE64
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173 enablestring=
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6177 defaultval=yes
6178 else
6179 defaultval=no
6180 fi
6181 fi
6182
6183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6190 else
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6192 fi
6193
6194 else
6195
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6197
6198 fi
6199
6200
6201 eval "$wx_cv_use_backtrace"
6202
6203 if test x"$enablestring" = xdisable; then
6204 if test $wxUSE_STACKWALKER = yes; then
6205 result=no
6206 else
6207 result=yes
6208 fi
6209 else
6210 result=$wxUSE_STACKWALKER
6211 fi
6212
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6215
6216
6217 enablestring=
6218 defaultval=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x"$enablestring" = xdisable; then
6221 defaultval=yes
6222 else
6223 defaultval=no
6224 fi
6225 fi
6226
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6234 else
6235 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6236 fi
6237
6238 else
6239
6240 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6241
6242 fi
6243
6244
6245 eval "$wx_cv_use_catch_segvs"
6246
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6249 result=no
6250 else
6251 result=yes
6252 fi
6253 else
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6255 fi
6256
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6259
6260
6261 enablestring=
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6265 defaultval=yes
6266 else
6267 defaultval=no
6268 fi
6269 fi
6270
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6278 else
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6280 fi
6281
6282 else
6283
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6285
6286 fi
6287
6288
6289 eval "$wx_cv_use_cmdline"
6290
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6293 result=no
6294 else
6295 result=yes
6296 fi
6297 else
6298 result=$wxUSE_CMDLINE_PARSER
6299 fi
6300
6301 { echo "$as_me:$LINENO: result: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6303
6304
6305 enablestring=
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6309 defaultval=yes
6310 else
6311 defaultval=no
6312 fi
6313 fi
6314
6315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6322 else
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6324 fi
6325
6326 else
6327
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6329
6330 fi
6331
6332
6333 eval "$wx_cv_use_datetime"
6334
6335 if test x"$enablestring" = xdisable; then
6336 if test $wxUSE_DATETIME = yes; then
6337 result=no
6338 else
6339 result=yes
6340 fi
6341 else
6342 result=$wxUSE_DATETIME
6343 fi
6344
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6347
6348
6349 enablestring=
6350 defaultval=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x"$enablestring" = xdisable; then
6353 defaultval=yes
6354 else
6355 defaultval=no
6356 fi
6357 fi
6358
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6366 else
6367 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6368 fi
6369
6370 else
6371
6372 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6373
6374 fi
6375
6376
6377 eval "$wx_cv_use_debugreport"
6378
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6381 result=no
6382 else
6383 result=yes
6384 fi
6385 else
6386 result=$wxUSE_DEBUGREPORT
6387 fi
6388
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6391
6392
6393 enablestring=
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6397 defaultval=yes
6398 else
6399 defaultval=no
6400 fi
6401 fi
6402
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6410 else
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6412 fi
6413
6414 else
6415
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6417
6418 fi
6419
6420
6421 eval "$wx_cv_use_dialupman"
6422
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6425 result=no
6426 else
6427 result=yes
6428 fi
6429 else
6430 result=$wxUSE_DIALUP_MANAGER
6431 fi
6432
6433 { echo "$as_me:$LINENO: result: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6435
6436
6437 enablestring=
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6441 defaultval=yes
6442 else
6443 defaultval=no
6444 fi
6445 fi
6446
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6454 else
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6456 fi
6457
6458 else
6459
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6461
6462 fi
6463
6464
6465 eval "$wx_cv_use_dynlib"
6466
6467 if test x"$enablestring" = xdisable; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6469 result=no
6470 else
6471 result=yes
6472 fi
6473 else
6474 result=$wxUSE_DYNLIB_CLASS
6475 fi
6476
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6479
6480
6481 enablestring=
6482 defaultval=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6485 defaultval=yes
6486 else
6487 defaultval=no
6488 fi
6489 fi
6490
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6498 else
6499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6500 fi
6501
6502 else
6503
6504 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6505
6506 fi
6507
6508
6509 eval "$wx_cv_use_dynamicloader"
6510
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6513 result=no
6514 else
6515 result=yes
6516 fi
6517 else
6518 result=$wxUSE_DYNAMIC_LOADER
6519 fi
6520
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6523
6524
6525 enablestring=
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6529 defaultval=yes
6530 else
6531 defaultval=no
6532 fi
6533 fi
6534
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6542 else
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6544 fi
6545
6546 else
6547
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6549
6550 fi
6551
6552
6553 eval "$wx_cv_use_exceptions"
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6557 result=no
6558 else
6559 result=yes
6560 fi
6561 else
6562 result=$wxUSE_EXCEPTIONS
6563 fi
6564
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6586 else
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6588 fi
6589
6590 else
6591
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6593
6594 fi
6595
6596
6597 eval "$wx_cv_use_ffile"
6598
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_FFILE = yes; then
6601 result=no
6602 else
6603 result=yes
6604 fi
6605 else
6606 result=$wxUSE_FFILE
6607 fi
6608
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6611
6612
6613 enablestring=
6614 defaultval=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6617 defaultval=yes
6618 else
6619 defaultval=no
6620 fi
6621 fi
6622
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file='wxUSE_FILE=yes'
6630 else
6631 wx_cv_use_file='wxUSE_FILE=no'
6632 fi
6633
6634 else
6635
6636 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6637
6638 fi
6639
6640
6641 eval "$wx_cv_use_file"
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6645 result=no
6646 else
6647 result=yes
6648 fi
6649 else
6650 result=$wxUSE_FILE
6651 fi
6652
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6674 else
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6676 fi
6677
6678 else
6679
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_filesystem"
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6689 result=no
6690 else
6691 result=yes
6692 fi
6693 else
6694 result=$wxUSE_FILESYSTEM
6695 fi
6696
6697 { echo "$as_me:$LINENO: result: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6699
6700
6701 enablestring=
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6718 else
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6720 fi
6721
6722 else
6723
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6725
6726 fi
6727
6728
6729 eval "$wx_cv_use_fontenum"
6730
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_FONTENUM = yes; then
6733 result=no
6734 else
6735 result=yes
6736 fi
6737 else
6738 result=$wxUSE_FONTENUM
6739 fi
6740
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6743
6744
6745 enablestring=
6746 defaultval=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x"$enablestring" = xdisable; then
6749 defaultval=yes
6750 else
6751 defaultval=no
6752 fi
6753 fi
6754
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6762 else
6763 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6764 fi
6765
6766 else
6767
6768 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6769
6770 fi
6771
6772
6773 eval "$wx_cv_use_fontmap"
6774
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6777 result=no
6778 else
6779 result=yes
6780 fi
6781 else
6782 result=$wxUSE_FONTMAP
6783 fi
6784
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6787
6788
6789 enablestring=
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6793 defaultval=yes
6794 else
6795 defaultval=no
6796 fi
6797 fi
6798
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6806 else
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6808 fi
6809
6810 else
6811
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6813
6814 fi
6815
6816
6817 eval "$wx_cv_use_fs_archive"
6818
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6821 result=no
6822 else
6823 result=yes
6824 fi
6825 else
6826 result=$wxUSE_FS_ARCHIVE
6827 fi
6828
6829 { echo "$as_me:$LINENO: result: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6831
6832
6833 enablestring=
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6850 else
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6852 fi
6853
6854 else
6855
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6857
6858 fi
6859
6860
6861 eval "$wx_cv_use_fs_inet"
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $wxUSE_FS_INET = yes; then
6865 result=no
6866 else
6867 result=yes
6868 fi
6869 else
6870 result=$wxUSE_FS_INET
6871 fi
6872
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6875
6876
6877 enablestring=
6878 defaultval=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6881 defaultval=yes
6882 else
6883 defaultval=no
6884 fi
6885 fi
6886
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6894 else
6895 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6896 fi
6897
6898 else
6899
6900 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6901
6902 fi
6903
6904
6905 eval "$wx_cv_use_fs_zip"
6906
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6909 result=no
6910 else
6911 result=yes
6912 fi
6913 else
6914 result=$wxUSE_FS_ZIP
6915 fi
6916
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6919
6920
6921 enablestring=
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6925 defaultval=yes
6926 else
6927 defaultval=no
6928 fi
6929 fi
6930
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6938 else
6939 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6940 fi
6941
6942 else
6943
6944 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6945
6946 fi
6947
6948
6949 eval "$wx_cv_use_geometry"
6950
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6953 result=no
6954 else
6955 result=yes
6956 fi
6957 else
6958 result=$wxUSE_GEOMETRY
6959 fi
6960
6961 { echo "$as_me:$LINENO: result: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6963
6964
6965 enablestring=
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6969 defaultval=yes
6970 else
6971 defaultval=no
6972 fi
6973 fi
6974
6975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6982 else
6983 wx_cv_use_log='wxUSE_LOG=no'
6984 fi
6985
6986 else
6987
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6989
6990 fi
6991
6992
6993 eval "$wx_cv_use_log"
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_LOG = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_LOG
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7026 else
7027 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7028 fi
7029
7030 else
7031
7032 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7033
7034 fi
7035
7036
7037 eval "$wx_cv_use_longlong"
7038
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7041 result=no
7042 else
7043 result=yes
7044 fi
7045 else
7046 result=$wxUSE_LONGLONG
7047 fi
7048
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7051
7052
7053 enablestring=
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7057 defaultval=yes
7058 else
7059 defaultval=no
7060 fi
7061 fi
7062
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7070 else
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7072 fi
7073
7074 else
7075
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7077
7078 fi
7079
7080
7081 eval "$wx_cv_use_mimetype"
7082
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7085 result=no
7086 else
7087 result=yes
7088 fi
7089 else
7090 result=$wxUSE_MIMETYPE
7091 fi
7092
7093 { echo "$as_me:$LINENO: result: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7095
7096
7097 enablestring=
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7101 defaultval=yes
7102 else
7103 defaultval=no
7104 fi
7105 fi
7106
7107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7114 else
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7116 fi
7117
7118 else
7119
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7121
7122 fi
7123
7124
7125 eval "$wx_cv_use_snglinst"
7126
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7129 result=no
7130 else
7131 result=yes
7132 fi
7133 else
7134 result=$wxUSE_SNGLINST_CHECKER
7135 fi
7136
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7139
7140
7141 enablestring=
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7145 defaultval=yes
7146 else
7147 defaultval=no
7148 fi
7149 fi
7150
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7158 else
7159 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7160 fi
7161
7162 else
7163
7164 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_stdpaths"
7170
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7173 result=no
7174 else
7175 result=yes
7176 fi
7177 else
7178 result=$wxUSE_STDPATHS
7179 fi
7180
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7183
7184
7185 enablestring=
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7189 defaultval=yes
7190 else
7191 defaultval=no
7192 fi
7193 fi
7194
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7202 else
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7204 fi
7205
7206 else
7207
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7209
7210 fi
7211
7212
7213 eval "$wx_cv_use_stopwatch"
7214
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7217 result=no
7218 else
7219 result=yes
7220 fi
7221 else
7222 result=$wxUSE_STOPWATCH
7223 fi
7224
7225 { echo "$as_me:$LINENO: result: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7227
7228
7229 enablestring=
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7233 defaultval=yes
7234 else
7235 defaultval=no
7236 fi
7237 fi
7238
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7246 else
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7248 fi
7249
7250 else
7251
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7253
7254 fi
7255
7256
7257 eval "$wx_cv_use_streams"
7258
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_STREAMS = yes; then
7261 result=no
7262 else
7263 result=yes
7264 fi
7265 else
7266 result=$wxUSE_STREAMS
7267 fi
7268
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7271
7272
7273 enablestring=
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7277 defaultval=yes
7278 else
7279 defaultval=no
7280 fi
7281 fi
7282
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7290 else
7291 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7292 fi
7293
7294 else
7295
7296 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7297
7298 fi
7299
7300
7301 eval "$wx_cv_use_system_options"
7302
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7305 result=no
7306 else
7307 result=yes
7308 fi
7309 else
7310 result=$wxUSE_SYSTEM_OPTIONS
7311 fi
7312
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7315
7316
7317 enablestring=
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7321 defaultval=yes
7322 else
7323 defaultval=no
7324 fi
7325 fi
7326
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7334 else
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7336 fi
7337
7338 else
7339
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7341
7342 fi
7343
7344
7345 eval "$wx_cv_use_tarstream"
7346
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7349 result=no
7350 else
7351 result=yes
7352 fi
7353 else
7354 result=$wxUSE_TARSTREAM
7355 fi
7356
7357 { echo "$as_me:$LINENO: result: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7359
7360
7361 enablestring=
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7365 defaultval=yes
7366 else
7367 defaultval=no
7368 fi
7369 fi
7370
7371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7378 else
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7380 fi
7381
7382 else
7383
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7385
7386 fi
7387
7388
7389 eval "$wx_cv_use_textbuf"
7390
7391 if test x"$enablestring" = xdisable; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7393 result=no
7394 else
7395 result=yes
7396 fi
7397 else
7398 result=$wxUSE_TEXTBUFFER
7399 fi
7400
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7403
7404
7405 enablestring=
7406 defaultval=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x"$enablestring" = xdisable; then
7409 defaultval=yes
7410 else
7411 defaultval=no
7412 fi
7413 fi
7414
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7422 else
7423 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7424 fi
7425
7426 else
7427
7428 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7429
7430 fi
7431
7432
7433 eval "$wx_cv_use_textfile"
7434
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7437 result=no
7438 else
7439 result=yes
7440 fi
7441 else
7442 result=$wxUSE_TEXTFILE
7443 fi
7444
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7447
7448
7449 enablestring=
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7453 defaultval=yes
7454 else
7455 defaultval=no
7456 fi
7457 fi
7458
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER=yes'
7466 else
7467 wx_cv_use_timer='wxUSE_TIMER=no'
7468 fi
7469
7470 else
7471
7472 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7473
7474 fi
7475
7476
7477 eval "$wx_cv_use_timer"
7478
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7481 result=no
7482 else
7483 result=yes
7484 fi
7485 else
7486 result=$wxUSE_TIMER
7487 fi
7488
7489 { echo "$as_me:$LINENO: result: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7491
7492
7493 enablestring=
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7497 defaultval=yes
7498 else
7499 defaultval=no
7500 fi
7501 fi
7502
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7510 else
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7512 fi
7513
7514 else
7515
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7517
7518 fi
7519
7520
7521 eval "$wx_cv_use_sound"
7522
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_SOUND = yes; then
7525 result=no
7526 else
7527 result=yes
7528 fi
7529 else
7530 result=$wxUSE_SOUND
7531 fi
7532
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7535
7536
7537 enablestring=
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7541 defaultval=yes
7542 else
7543 defaultval=no
7544 fi
7545 fi
7546
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7554 else
7555 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7556 fi
7557
7558 else
7559
7560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7561
7562 fi
7563
7564
7565 eval "$wx_cv_use_mediactrl"
7566
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7569 result=no
7570 else
7571 result=yes
7572 fi
7573 else
7574 result=$wxUSE_MEDIACTRL
7575 fi
7576
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7579
7580
7581 enablestring=
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7585 defaultval=yes
7586 else
7587 defaultval=no
7588 fi
7589 fi
7590
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7598 else
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7600 fi
7601
7602 else
7603
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7605
7606 fi
7607
7608
7609 eval "$wx_cv_use_gstreamer8"
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_GSTREAMER8
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7642 else
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7644 fi
7645
7646 else
7647
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7649
7650 fi
7651
7652
7653 eval "$wx_cv_use_printfposparam"
7654
7655 if test x"$enablestring" = xdisable; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7657 result=no
7658 else
7659 result=yes
7660 fi
7661 else
7662 result=$wxUSE_PRINTF_POS_PARAMS
7663 fi
7664
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7667
7668
7669 enablestring=
7670 defaultval=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x"$enablestring" = xdisable; then
7673 defaultval=yes
7674 else
7675 defaultval=no
7676 fi
7677 fi
7678
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7686 else
7687 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7688 fi
7689
7690 else
7691
7692 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7693
7694 fi
7695
7696
7697 eval "$wx_cv_use_zipstream"
7698
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7701 result=no
7702 else
7703 result=yes
7704 fi
7705 else
7706 result=$wxUSE_ZIPSTREAM
7707 fi
7708
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7711
7712
7713
7714 enablestring=
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7718 defaultval=yes
7719 else
7720 defaultval=no
7721 fi
7722 fi
7723
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL=yes'
7731 else
7732 wx_cv_use_url='wxUSE_URL=no'
7733 fi
7734
7735 else
7736
7737 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7738
7739 fi
7740
7741
7742 eval "$wx_cv_use_url"
7743
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7746 result=no
7747 else
7748 result=yes
7749 fi
7750 else
7751 result=$wxUSE_URL
7752 fi
7753
7754 { echo "$as_me:$LINENO: result: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7756
7757
7758 enablestring=
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7762 defaultval=yes
7763 else
7764 defaultval=no
7765 fi
7766 fi
7767
7768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7775 else
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7777 fi
7778
7779 else
7780
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7782
7783 fi
7784
7785
7786 eval "$wx_cv_use_variant"
7787
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_VARIANT = yes; then
7790 result=no
7791 else
7792 result=yes
7793 fi
7794 else
7795 result=$wxUSE_VARIANT
7796 fi
7797
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7800
7801
7802 enablestring=
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7806 defaultval=yes
7807 else
7808 defaultval=no
7809 fi
7810 fi
7811
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7819 else
7820 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7821 fi
7822
7823 else
7824
7825 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_protocol"
7831
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7834 result=no
7835 else
7836 result=yes
7837 fi
7838 else
7839 result=$wxUSE_PROTOCOL
7840 fi
7841
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7844
7845
7846 enablestring=
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7850 defaultval=yes
7851 else
7852 defaultval=no
7853 fi
7854 fi
7855
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7863 else
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7865 fi
7866
7867 else
7868
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7870
7871 fi
7872
7873
7874 eval "$wx_cv_use_protocol_http"
7875
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7878 result=no
7879 else
7880 result=yes
7881 fi
7882 else
7883 result=$wxUSE_PROTOCOL_HTTP
7884 fi
7885
7886 { echo "$as_me:$LINENO: result: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7888
7889
7890 enablestring=
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7894 defaultval=yes
7895 else
7896 defaultval=no
7897 fi
7898 fi
7899
7900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7907 else
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7909 fi
7910
7911 else
7912
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7914
7915 fi
7916
7917
7918 eval "$wx_cv_use_protocol_ftp"
7919
7920 if test x"$enablestring" = xdisable; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7922 result=no
7923 else
7924 result=yes
7925 fi
7926 else
7927 result=$wxUSE_PROTOCOL_FTP
7928 fi
7929
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7932
7933
7934 enablestring=
7935 defaultval=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x"$enablestring" = xdisable; then
7938 defaultval=yes
7939 else
7940 defaultval=no
7941 fi
7942 fi
7943
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7951 else
7952 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7953 fi
7954
7955 else
7956
7957 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7958
7959 fi
7960
7961
7962 eval "$wx_cv_use_protocol_file"
7963
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7966 result=no
7967 else
7968 result=yes
7969 fi
7970 else
7971 result=$wxUSE_PROTOCOL_FILE
7972 fi
7973
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7976
7977
7978
7979 enablestring=
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7983 defaultval=yes
7984 else
7985 defaultval=no
7986 fi
7987 fi
7988
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS=yes'
7996 else
7997 wx_cv_use_threads='wxUSE_THREADS=no'
7998 fi
7999
8000 else
8001
8002 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8003
8004 fi
8005
8006
8007 eval "$wx_cv_use_threads"
8008
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8011 result=no
8012 else
8013 result=yes
8014 fi
8015 else
8016 result=$wxUSE_THREADS
8017 fi
8018
8019 { echo "$as_me:$LINENO: result: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8021
8022
8023
8024 enablestring=
8025 defaultval=
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8028 defaultval=yes
8029 else
8030 defaultval=no
8031 fi
8032 fi
8033
8034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8041 else
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8043 fi
8044
8045 else
8046
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8048
8049 fi
8050
8051
8052 eval "$wx_cv_use_iniconf"
8053
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_INICONF = yes; then
8056 result=no
8057 else
8058 result=yes
8059 fi
8060 else
8061 result=$wxUSE_INICONF
8062 fi
8063
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8066
8067
8068 enablestring=
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8072 defaultval=yes
8073 else
8074 defaultval=no
8075 fi
8076 fi
8077
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8085 else
8086 wx_cv_use_regkey='wxUSE_REGKEY=no'
8087 fi
8088
8089 else
8090
8091 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8092
8093 fi
8094
8095
8096 eval "$wx_cv_use_regkey"
8097
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8100 result=no
8101 else
8102 result=yes
8103 fi
8104 else
8105 result=$wxUSE_REGKEY
8106 fi
8107
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8110
8111
8112 if test "$wxUSE_GUI" = "yes"; then
8113
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8133 else
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_docview"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8148 result=no
8149 else
8150 result=yes
8151 fi
8152 else
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8177 else
8178 wx_cv_use_help='wxUSE_HELP=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_help"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_HELP = yes; then
8192 result=no
8193 else
8194 result=yes
8195 fi
8196 else
8197 result=$wxUSE_HELP
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8221 else
8222 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_mshtmlhelp"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8236 result=no
8237 else
8238 result=yes
8239 fi
8240 else
8241 result=$wxUSE_MS_HTML_HELP
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248 enablestring=
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8252 defaultval=yes
8253 else
8254 defaultval=no
8255 fi
8256 fi
8257
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML=yes'
8265 else
8266 wx_cv_use_html='wxUSE_HTML=no'
8267 fi
8268
8269 else
8270
8271 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8272
8273 fi
8274
8275
8276 eval "$wx_cv_use_html"
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8280 result=no
8281 else
8282 result=yes
8283 fi
8284 else
8285 result=$wxUSE_HTML
8286 fi
8287
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8290
8291
8292 enablestring=
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8296 defaultval=yes
8297 else
8298 defaultval=no
8299 fi
8300 fi
8301
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8309 else
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8311 fi
8312
8313 else
8314
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8316
8317 fi
8318
8319
8320 eval "$wx_cv_use_htmlhelp"
8321
8322 if test x"$enablestring" = xdisable; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8324 result=no
8325 else
8326 result=yes
8327 fi
8328 else
8329 result=$wxUSE_WXHTML_HELP
8330 fi
8331
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8334
8335
8336 enablestring=
8337 defaultval=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x"$enablestring" = xdisable; then
8340 defaultval=yes
8341 else
8342 defaultval=no
8343 fi
8344 fi
8345
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc='wxUSE_XRC=yes'
8353 else
8354 wx_cv_use_xrc='wxUSE_XRC=no'
8355 fi
8356
8357 else
8358
8359 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8360
8361 fi
8362
8363
8364 eval "$wx_cv_use_xrc"
8365
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8368 result=no
8369 else
8370 result=yes
8371 fi
8372 else
8373 result=$wxUSE_XRC
8374 fi
8375
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8378
8379
8380 enablestring=
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8384 defaultval=yes
8385 else
8386 defaultval=no
8387 fi
8388 fi
8389
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI=yes'
8397 else
8398 wx_cv_use_aui='wxUSE_AUI=no'
8399 fi
8400
8401 else
8402
8403 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8404
8405 fi
8406
8407
8408 eval "$wx_cv_use_aui"
8409
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8412 result=no
8413 else
8414 result=yes
8415 fi
8416 else
8417 result=$wxUSE_AUI
8418 fi
8419
8420 { echo "$as_me:$LINENO: result: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8422
8423
8424 enablestring=
8425 defaultval=$wxUSE_ALL_FEATURES
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8428 defaultval=yes
8429 else
8430 defaultval=no
8431 fi
8432 fi
8433
8434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8441 else
8442 wx_cv_use_stc='wxUSE_STC=no'
8443 fi
8444
8445 else
8446
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8448
8449 fi
8450
8451
8452 eval "$wx_cv_use_stc"
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_STC = yes; then
8456 result=no
8457 else
8458 result=yes
8459 fi
8460 else
8461 result=$wxUSE_STC
8462 fi
8463
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8466
8467
8468 enablestring=
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8472 defaultval=yes
8473 else
8474 defaultval=no
8475 fi
8476 fi
8477
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8485 else
8486 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8487 fi
8488
8489 else
8490
8491 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8492
8493 fi
8494
8495
8496 eval "$wx_cv_use_constraints"
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8500 result=no
8501 else
8502 result=yes
8503 fi
8504 else
8505 result=$wxUSE_CONSTRAINTS
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512 enablestring=
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8516 defaultval=yes
8517 else
8518 defaultval=no
8519 fi
8520 fi
8521
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8529 else
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8531 fi
8532
8533 else
8534
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8536
8537 fi
8538
8539
8540 eval "$wx_cv_use_printarch"
8541
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8544 result=no
8545 else
8546 result=yes
8547 fi
8548 else
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8550 fi
8551
8552 { echo "$as_me:$LINENO: result: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8554
8555
8556 enablestring=
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8560 defaultval=yes
8561 else
8562 defaultval=no
8563 fi
8564 fi
8565
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8573 else
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8575 fi
8576
8577 else
8578
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8580
8581 fi
8582
8583
8584 eval "$wx_cv_use_mdi"
8585
8586 if test x"$enablestring" = xdisable; then
8587 if test $wxUSE_MDI = yes; then
8588 result=no
8589 else
8590 result=yes
8591 fi
8592 else
8593 result=$wxUSE_MDI
8594 fi
8595
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8598
8599
8600 enablestring=
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8604 defaultval=yes
8605 else
8606 defaultval=no
8607 fi
8608 fi
8609
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8617 else
8618 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8619 fi
8620
8621 else
8622
8623 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8624
8625 fi
8626
8627
8628 eval "$wx_cv_use_mdidoc"
8629
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8632 result=no
8633 else
8634 result=yes
8635 fi
8636 else
8637 result=$wxUSE_MDI_ARCHITECTURE
8638 fi
8639
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8642
8643
8644 enablestring=
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8648 defaultval=yes
8649 else
8650 defaultval=no
8651 fi
8652 fi
8653
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8661 else
8662 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8663 fi
8664
8665 else
8666
8667 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8668
8669 fi
8670
8671
8672 eval "$wx_cv_use_loggui"
8673
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8676 result=no
8677 else
8678 result=yes
8679 fi
8680 else
8681 result=$wxUSE_LOGGUI
8682 fi
8683
8684 { echo "$as_me:$LINENO: result: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8686
8687
8688 enablestring=
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8692 defaultval=yes
8693 else
8694 defaultval=no
8695 fi
8696 fi
8697
8698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8705 else
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8707 fi
8708
8709 else
8710
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8712
8713 fi
8714
8715
8716 eval "$wx_cv_use_logwin"
8717
8718 if test x"$enablestring" = xdisable; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8720 result=no
8721 else
8722 result=yes
8723 fi
8724 else
8725 result=$wxUSE_LOGWINDOW
8726 fi
8727
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8730
8731
8732 enablestring=
8733 defaultval=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x"$enablestring" = xdisable; then
8736 defaultval=yes
8737 else
8738 defaultval=no
8739 fi
8740 fi
8741
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8749 else
8750 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8751 fi
8752
8753 else
8754
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8756
8757 fi
8758
8759
8760 eval "$wx_cv_use_logdialog"
8761
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8764 result=no
8765 else
8766 result=yes
8767 fi
8768 else
8769 result=$wxUSE_LOGDIALOG
8770 fi
8771
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8774
8775
8776 enablestring=
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8780 defaultval=yes
8781 else
8782 defaultval=no
8783 fi
8784 fi
8785
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8793 else
8794 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8795 fi
8796
8797 else
8798
8799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8800
8801 fi
8802
8803
8804 eval "$wx_cv_use_webkit"
8805
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8808 result=no
8809 else
8810 result=yes
8811 fi
8812 else
8813 result=$wxUSE_WEBKIT
8814 fi
8815
8816 { echo "$as_me:$LINENO: result: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8818
8819
8820 enablestring=
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8824 defaultval=yes
8825 else
8826 defaultval=no
8827 fi
8828 fi
8829
8830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8837 else
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8839 fi
8840
8841 else
8842
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8844
8845 fi
8846
8847
8848 eval "$wx_cv_use_richtext"
8849
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_RICHTEXT = yes; then
8852 result=no
8853 else
8854 result=yes
8855 fi
8856 else
8857 result=$wxUSE_RICHTEXT
8858 fi
8859
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8862
8863
8864 enablestring=
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8868 defaultval=yes
8869 else
8870 defaultval=no
8871 fi
8872 fi
8873
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8881 else
8882 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8883 fi
8884
8885 else
8886
8887 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8888
8889 fi
8890
8891
8892 eval "$wx_cv_use_graphics_ctx"
8893
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8896 result=no
8897 else
8898 result=yes
8899 fi
8900 else
8901 result=$wxUSE_GRAPHICS_CONTEXT
8902 fi
8903
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8906
8907
8908 enablestring=
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8912 defaultval=yes
8913 else
8914 defaultval=no
8915 fi
8916 fi
8917
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8925 else
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8927 fi
8928
8929 else
8930
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8932
8933 fi
8934
8935
8936 eval "$wx_cv_use_postscript"
8937
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8940 result=no
8941 else
8942 result=yes
8943 fi
8944 else
8945 result=$wxUSE_POSTSCRIPT
8946 fi
8947
8948 { echo "$as_me:$LINENO: result: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8950
8951
8952 enablestring=
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8956 defaultval=yes
8957 else
8958 defaultval=no
8959 fi
8960 fi
8961
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8969 else
8970 wx_cv_use_svg='wxUSE_SVG=no'
8971 fi
8972
8973 else
8974
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8976
8977 fi
8978
8979
8980 eval "$wx_cv_use_svg"
8981
8982 if test x"$enablestring" = xdisable; then
8983 if test $wxUSE_SVG = yes; then
8984 result=no
8985 else
8986 result=yes
8987 fi
8988 else
8989 result=$wxUSE_SVG
8990 fi
8991
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8994
8995
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9015 else
9016 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_clipboard"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9030 result=no
9031 else
9032 result=yes
9033 fi
9034 else
9035 result=$wxUSE_CLIPBOARD
9036 fi
9037
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9059 else
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_dnd"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9074 result=no
9075 else
9076 result=yes
9077 fi
9078 else
9079 result=$wxUSE_DRAG_AND_DROP
9080 fi
9081
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9103 else
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_metafile"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_METAFILE = yes; then
9118 result=no
9119 else
9120 result=yes
9121 fi
9122 else
9123 result=$wxUSE_METAFILE
9124 fi
9125
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9128
9129
9130
9131 DEFAULT_wxUSE_CONTROLS=none
9132
9133 enablestring=disable
9134 defaultval=
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9137 defaultval=yes
9138 else
9139 defaultval=no
9140 fi
9141 fi
9142
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9150 else
9151 wx_cv_use_controls='wxUSE_CONTROLS=no'
9152 fi
9153
9154 else
9155
9156 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9157
9158 fi
9159
9160
9161 eval "$wx_cv_use_controls"
9162
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9165 result=no
9166 else
9167 result=yes
9168 fi
9169 else
9170 result=$wxUSE_CONTROLS
9171 fi
9172
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9175
9176
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9285 fi
9286
9287
9288 enablestring=
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9292 defaultval=yes
9293 else
9294 defaultval=no
9295 fi
9296 fi
9297
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL=yes'
9305 else
9306 wx_cv_use_accel='wxUSE_ACCEL=no'
9307 fi
9308
9309 else
9310
9311 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9312
9313 fi
9314
9315
9316 eval "$wx_cv_use_accel"
9317
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9320 result=no
9321 else
9322 result=yes
9323 fi
9324 else
9325 result=$wxUSE_ACCEL
9326 fi
9327
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9330
9331
9332 enablestring=
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9336 defaultval=yes
9337 else
9338 defaultval=no
9339 fi
9340 fi
9341
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9349 else
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9351 fi
9352
9353 else
9354
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9356
9357 fi
9358
9359
9360 eval "$wx_cv_use_animatectrl"
9361
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9364 result=no
9365 else
9366 result=yes
9367 fi
9368 else
9369 result=$wxUSE_ANIMATIONCTRL
9370 fi
9371
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9374
9375
9376 enablestring=
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9380 defaultval=yes
9381 else
9382 defaultval=no
9383 fi
9384 fi
9385
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button='wxUSE_BUTTON=yes'
9393 else
9394 wx_cv_use_button='wxUSE_BUTTON=no'
9395 fi
9396
9397 else
9398
9399 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_button"
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_BUTTON
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420 enablestring=
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9437 else
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9439 fi
9440
9441 else
9442
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_bmpbutton"
9449
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9452 result=no
9453 else
9454 result=yes
9455 fi
9456 else
9457 result=$wxUSE_BMPBUTTON
9458 fi
9459
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9462
9463
9464 enablestring=
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9468 defaultval=yes
9469 else
9470 defaultval=no
9471 fi
9472 fi
9473
9474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9481 else
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9483 fi
9484
9485 else
9486
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9488
9489 fi
9490
9491
9492 eval "$wx_cv_use_bmpcombobox"
9493
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9496 result=no
9497 else
9498 result=yes
9499 fi
9500 else
9501 result=$wxUSE_BITMAPCOMBOBOX
9502 fi
9503
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9506
9507
9508 enablestring=
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9512 defaultval=yes
9513 else
9514 defaultval=no
9515 fi
9516 fi
9517
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9525 else
9526 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9527 fi
9528
9529 else
9530
9531 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9532
9533 fi
9534
9535
9536 eval "$wx_cv_use_calendar"
9537
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9540 result=no
9541 else
9542 result=yes
9543 fi
9544 else
9545 result=$wxUSE_CALCTRL
9546 fi
9547
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9550
9551
9552 enablestring=
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9556 defaultval=yes
9557 else
9558 defaultval=no
9559 fi
9560 fi
9561
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET=yes'
9569 else
9570 wx_cv_use_caret='wxUSE_CARET=no'
9571 fi
9572
9573 else
9574
9575 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9576
9577 fi
9578
9579
9580 eval "$wx_cv_use_caret"
9581
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9584 result=no
9585 else
9586 result=yes
9587 fi
9588 else
9589 result=$wxUSE_CARET
9590 fi
9591
9592 { echo "$as_me:$LINENO: result: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9594
9595
9596 enablestring=
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9600 defaultval=yes
9601 else
9602 defaultval=no
9603 fi
9604 fi
9605
9606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9613 else
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9615 fi
9616
9617 else
9618
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9620
9621 fi
9622
9623
9624 eval "$wx_cv_use_checkbox"
9625
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_CHECKBOX = yes; then
9628 result=no
9629 else
9630 result=yes
9631 fi
9632 else
9633 result=$wxUSE_CHECKBOX
9634 fi
9635
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9638
9639
9640 enablestring=
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9644 defaultval=yes
9645 else
9646 defaultval=no
9647 fi
9648 fi
9649
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9657 else
9658 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9659 fi
9660
9661 else
9662
9663 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9664
9665 fi
9666
9667
9668 eval "$wx_cv_use_checklst"
9669
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9672 result=no
9673 else
9674 result=yes
9675 fi
9676 else
9677 result=$wxUSE_CHECKLST
9678 fi
9679
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9682
9683
9684 enablestring=
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9688 defaultval=yes
9689 else
9690 defaultval=no
9691 fi
9692 fi
9693
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE=yes'
9701 else
9702 wx_cv_use_choice='wxUSE_CHOICE=no'
9703 fi
9704
9705 else
9706
9707 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9708
9709 fi
9710
9711
9712 eval "$wx_cv_use_choice"
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9716 result=no
9717 else
9718 result=yes
9719 fi
9720 else
9721 result=$wxUSE_CHOICE
9722 fi
9723
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9726
9727
9728 enablestring=
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9732 defaultval=yes
9733 else
9734 defaultval=no
9735 fi
9736 fi
9737
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9745 else
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9747 fi
9748
9749 else
9750
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9752
9753 fi
9754
9755
9756 eval "$wx_cv_use_choicebook"
9757
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9760 result=no
9761 else
9762 result=yes
9763 fi
9764 else
9765 result=$wxUSE_CHOICEBOOK
9766 fi
9767
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9789 else
9790 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9791 fi
9792
9793 else
9794
9795 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_collpane"
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9804 result=no
9805 else
9806 result=yes
9807 fi
9808 else
9809 result=$wxUSE_COLLPANE
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9833 else
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9835 fi
9836
9837 else
9838
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9840
9841 fi
9842
9843
9844 eval "$wx_cv_use_colourpicker"
9845
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9848 result=no
9849 else
9850 result=yes
9851 fi
9852 else
9853 result=$wxUSE_COLOURPICKERCTRL
9854 fi
9855
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9858
9859
9860 enablestring=
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9864 defaultval=yes
9865 else
9866 defaultval=no
9867 fi
9868 fi
9869
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9877 else
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9879 fi
9880
9881 else
9882
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_combobox"
9889
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_COMBOBOX = yes; then
9892 result=no
9893 else
9894 result=yes
9895 fi
9896 else
9897 result=$wxUSE_COMBOBOX
9898 fi
9899
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9902
9903
9904 enablestring=
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9908 defaultval=yes
9909 else
9910 defaultval=no
9911 fi
9912 fi
9913
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9921 else
9922 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9923 fi
9924
9925 else
9926
9927 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_comboctrl"
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9936 result=no
9937 else
9938 result=yes
9939 fi
9940 else
9941 result=$wxUSE_COMBOCTRL
9942 fi
9943
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9965 else
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9967 fi
9968
9969 else
9970
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_datepick"
9977
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9980 result=no
9981 else
9982 result=yes
9983 fi
9984 else
9985 result=$wxUSE_DATEPICKCTRL
9986 fi
9987
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9990
9991
9992 enablestring=
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
9996 defaultval=yes
9997 else
9998 defaultval=no
9999 fi
10000 fi
10001
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10009 else
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10011 fi
10012
10013 else
10014
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_dirpicker"
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10024 result=no
10025 else
10026 result=yes
10027 fi
10028 else
10029 result=$wxUSE_DIRPICKERCTRL
10030 fi
10031
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display='wxUSE_DISPLAY=yes'
10053 else
10054 wx_cv_use_display='wxUSE_DISPLAY=no'
10055 fi
10056
10057 else
10058
10059 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_display"
10065
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10068 result=no
10069 else
10070 result=yes
10071 fi
10072 else
10073 result=$wxUSE_DISPLAY
10074 fi
10075
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10078
10079
10080 enablestring=
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10084 defaultval=yes
10085 else
10086 defaultval=no
10087 fi
10088 fi
10089
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10097 else
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10099 fi
10100
10101 else
10102
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_detect_sm"
10109
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10112 result=no
10113 else
10114 result=yes
10115 fi
10116 else
10117 result=$wxUSE_DETECT_SM
10118 fi
10119
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10122
10123
10124 enablestring=
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10128 defaultval=yes
10129 else
10130 defaultval=no
10131 fi
10132 fi
10133
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10141 else
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10143 fi
10144
10145 else
10146
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10148
10149 fi
10150
10151
10152 eval "$wx_cv_use_editablebox"
10153
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10156 result=no
10157 else
10158 result=yes
10159 fi
10160 else
10161 result=$wxUSE_EDITABLELISTBOX
10162 fi
10163
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10166
10167
10168 enablestring=
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10172 defaultval=yes
10173 else
10174 defaultval=no
10175 fi
10176 fi
10177
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10185 else
10186 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10187 fi
10188
10189 else
10190
10191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10192
10193 fi
10194
10195
10196 eval "$wx_cv_use_filepicker"
10197
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10200 result=no
10201 else
10202 result=yes
10203 fi
10204 else
10205 result=$wxUSE_FILEPICKERCTRL
10206 fi
10207
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10210
10211
10212 enablestring=
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10216 defaultval=yes
10217 else
10218 defaultval=no
10219 fi
10220 fi
10221
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10229 else
10230 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10231 fi
10232
10233 else
10234
10235 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10236
10237 fi
10238
10239
10240 eval "$wx_cv_use_filectrl"
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10244 result=no
10245 else
10246 result=yes
10247 fi
10248 else
10249 result=$wxUSE_FILECTRL
10250 fi
10251
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10273 else
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10275 fi
10276
10277 else
10278
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10280
10281 fi
10282
10283
10284 eval "$wx_cv_use_fontpicker"
10285
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10288 result=no
10289 else
10290 result=yes
10291 fi
10292 else
10293 result=$wxUSE_FONTPICKERCTRL
10294 fi
10295
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10298
10299
10300 enablestring=
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10304 defaultval=yes
10305 else
10306 defaultval=no
10307 fi
10308 fi
10309
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10317 else
10318 wx_cv_use_gauge='wxUSE_GAUGE=no'
10319 fi
10320
10321 else
10322
10323 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10324
10325 fi
10326
10327
10328 eval "$wx_cv_use_gauge"
10329
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10332 result=no
10333 else
10334 result=yes
10335 fi
10336 else
10337 result=$wxUSE_GAUGE
10338 fi
10339
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10342
10343
10344 enablestring=
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10348 defaultval=yes
10349 else
10350 defaultval=no
10351 fi
10352 fi
10353
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID=yes'
10361 else
10362 wx_cv_use_grid='wxUSE_GRID=no'
10363 fi
10364
10365 else
10366
10367 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$wx_cv_use_grid"
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10376 result=no
10377 else
10378 result=yes
10379 fi
10380 else
10381 result=$wxUSE_GRID
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10405 else
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10407 fi
10408
10409 else
10410
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_dataviewctrl"
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10420 result=no
10421 else
10422 result=yes
10423 fi
10424 else
10425 result=$wxUSE_DATAVIEWCTRL
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10449 else
10450 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10451 fi
10452
10453 else
10454
10455 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10456
10457 fi
10458
10459
10460 eval "$wx_cv_use_hyperlink"
10461
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10464 result=no
10465 else
10466 result=yes
10467 fi
10468 else
10469 result=$wxUSE_HYPERLINKCTRL
10470 fi
10471
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10474
10475
10476 enablestring=
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10480 defaultval=yes
10481 else
10482 defaultval=no
10483 fi
10484 fi
10485
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10493 else
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10495 fi
10496
10497 else
10498
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10500
10501 fi
10502
10503
10504 eval "$wx_cv_use_imaglist"
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10508 result=no
10509 else
10510 result=yes
10511 fi
10512 else
10513 result=$wxUSE_IMAGLIST
10514 fi
10515
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10537 else
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10539 fi
10540
10541 else
10542
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10544
10545 fi
10546
10547
10548 eval "$wx_cv_use_listbook"
10549
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_LISTBOOK = yes; then
10552 result=no
10553 else
10554 result=yes
10555 fi
10556 else
10557 result=$wxUSE_LISTBOOK
10558 fi
10559
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10562
10563
10564 enablestring=
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10568 defaultval=yes
10569 else
10570 defaultval=no
10571 fi
10572 fi
10573
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10581 else
10582 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10583 fi
10584
10585 else
10586
10587 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_listbox"
10593
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10596 result=no
10597 else
10598 result=yes
10599 fi
10600 else
10601 result=$wxUSE_LISTBOX
10602 fi
10603
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10606
10607
10608 enablestring=
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10612 defaultval=yes
10613 else
10614 defaultval=no
10615 fi
10616 fi
10617
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10625 else
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10627 fi
10628
10629 else
10630
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10632
10633 fi
10634
10635
10636 eval "$wx_cv_use_listctrl"
10637
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10640 result=no
10641 else
10642 result=yes
10643 fi
10644 else
10645 result=$wxUSE_LISTCTRL
10646 fi
10647
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10669 else
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10671 fi
10672
10673 else
10674
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10676
10677 fi
10678
10679
10680 eval "$wx_cv_use_notebook"
10681
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10684 result=no
10685 else
10686 result=yes
10687 fi
10688 else
10689 result=$wxUSE_NOTEBOOK
10690 fi
10691
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10694
10695
10696 enablestring=
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10700 defaultval=yes
10701 else
10702 defaultval=no
10703 fi
10704 fi
10705
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10713 else
10714 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10715 fi
10716
10717 else
10718
10719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10720
10721 fi
10722
10723
10724 eval "$wx_cv_use_notifmsg"
10725
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10728 result=no
10729 else
10730 result=yes
10731 fi
10732 else
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10734 fi
10735
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10738
10739
10740 enablestring=
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10744 defaultval=yes
10745 else
10746 defaultval=no
10747 fi
10748 fi
10749
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10757 else
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10759 fi
10760
10761 else
10762
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10764
10765 fi
10766
10767
10768 eval "$wx_cv_use_odcombobox"
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10772 result=no
10773 else
10774 result=yes
10775 fi
10776 else
10777 result=$wxUSE_ODCOMBOBOX
10778 fi
10779
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10801 else
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10803 fi
10804
10805 else
10806
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$wx_cv_use_radiobox"
10813
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_RADIOBOX = yes; then
10816 result=no
10817 else
10818 result=yes
10819 fi
10820 else
10821 result=$wxUSE_RADIOBOX
10822 fi
10823
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10826
10827
10828 enablestring=
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10832 defaultval=yes
10833 else
10834 defaultval=no
10835 fi
10836 fi
10837
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10845 else
10846 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10847 fi
10848
10849 else
10850
10851 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10852
10853 fi
10854
10855
10856 eval "$wx_cv_use_radiobtn"
10857
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10860 result=no
10861 else
10862 result=yes
10863 fi
10864 else
10865 result=$wxUSE_RADIOBTN
10866 fi
10867
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10870
10871
10872 enablestring=
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10876 defaultval=yes
10877 else
10878 defaultval=no
10879 fi
10880 fi
10881
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH=yes'
10889 else
10890 wx_cv_use_sash='wxUSE_SASH=no'
10891 fi
10892
10893 else
10894
10895 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10896
10897 fi
10898
10899
10900 eval "$wx_cv_use_sash"
10901
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10904 result=no
10905 else
10906 result=yes
10907 fi
10908 else
10909 result=$wxUSE_SASH
10910 fi
10911
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10914
10915
10916 enablestring=
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10920 defaultval=yes
10921 else
10922 defaultval=no
10923 fi
10924 fi
10925
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10933 else
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10935 fi
10936
10937 else
10938
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10940
10941 fi
10942
10943
10944 eval "$wx_cv_use_scrollbar"
10945
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10948 result=no
10949 else
10950 result=yes
10951 fi
10952 else
10953 result=$wxUSE_SCROLLBAR
10954 fi
10955
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10958
10959
10960 enablestring=
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10964 defaultval=yes
10965 else
10966 defaultval=no
10967 fi
10968 fi
10969
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10977 else
10978 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10979 fi
10980
10981 else
10982
10983 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10984
10985 fi
10986
10987
10988 eval "$wx_cv_use_searchctrl"
10989
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10992 result=no
10993 else
10994 result=yes
10995 fi
10996 else
10997 result=$wxUSE_SEARCHCTRL
10998 fi
10999
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER=yes'
11021 else
11022 wx_cv_use_slider='wxUSE_SLIDER=no'
11023 fi
11024
11025 else
11026
11027 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$wx_cv_use_slider"
11033
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11036 result=no
11037 else
11038 result=yes
11039 fi
11040 else
11041 result=$wxUSE_SLIDER
11042 fi
11043
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11046
11047
11048 enablestring=
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11052 defaultval=yes
11053 else
11054 defaultval=no
11055 fi
11056 fi
11057
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11065 else
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11067 fi
11068
11069 else
11070
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11072
11073 fi
11074
11075
11076 eval "$wx_cv_use_spinbtn"
11077
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_SPINBTN = yes; then
11080 result=no
11081 else
11082 result=yes
11083 fi
11084 else
11085 result=$wxUSE_SPINBTN
11086 fi
11087
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11090
11091
11092 enablestring=
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11096 defaultval=yes
11097 else
11098 defaultval=no
11099 fi
11100 fi
11101
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11109 else
11110 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11111 fi
11112
11113 else
11114
11115 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11116
11117 fi
11118
11119
11120 eval "$wx_cv_use_spinctrl"
11121
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11124 result=no
11125 else
11126 result=yes
11127 fi
11128 else
11129 result=$wxUSE_SPINCTRL
11130 fi
11131
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11134
11135
11136 enablestring=
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11140 defaultval=yes
11141 else
11142 defaultval=no
11143 fi
11144 fi
11145
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11153 else
11154 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11155 fi
11156
11157 else
11158
11159 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11160
11161 fi
11162
11163
11164 eval "$wx_cv_use_splitter"
11165
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11168 result=no
11169 else
11170 result=yes
11171 fi
11172 else
11173 result=$wxUSE_SPLITTER
11174 fi
11175
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11178
11179
11180 enablestring=
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11184 defaultval=yes
11185 else
11186 defaultval=no
11187 fi
11188 fi
11189
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11197 else
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11199 fi
11200
11201 else
11202
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11204
11205 fi
11206
11207
11208 eval "$wx_cv_use_statbmp"
11209
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_STATBMP = yes; then
11212 result=no
11213 else
11214 result=yes
11215 fi
11216 else
11217 result=$wxUSE_STATBMP
11218 fi
11219
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11222
11223
11224 enablestring=
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11228 defaultval=yes
11229 else
11230 defaultval=no
11231 fi
11232 fi
11233
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11241 else
11242 wx_cv_use_statbox='wxUSE_STATBOX=no'
11243 fi
11244
11245 else
11246
11247 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11248
11249 fi
11250
11251
11252 eval "$wx_cv_use_statbox"
11253
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11256 result=no
11257 else
11258 result=yes
11259 fi
11260 else
11261 result=$wxUSE_STATBOX
11262 fi
11263
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11266
11267
11268 enablestring=
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11272 defaultval=yes
11273 else
11274 defaultval=no
11275 fi
11276 fi
11277
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE=yes'
11285 else
11286 wx_cv_use_statline='wxUSE_STATLINE=no'
11287 fi
11288
11289 else
11290
11291 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11292
11293 fi
11294
11295
11296 eval "$wx_cv_use_statline"
11297
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11300 result=no
11301 else
11302 result=yes
11303 fi
11304 else
11305 result=$wxUSE_STATLINE
11306 fi
11307
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11310
11311
11312 enablestring=
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11316 defaultval=yes
11317 else
11318 defaultval=no
11319 fi
11320 fi
11321
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11329 else
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11331 fi
11332
11333 else
11334
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11336
11337 fi
11338
11339
11340 eval "$wx_cv_use_stattext"
11341
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_STATTEXT = yes; then
11344 result=no
11345 else
11346 result=yes
11347 fi
11348 else
11349 result=$wxUSE_STATTEXT
11350 fi
11351
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11354
11355
11356 enablestring=
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11360 defaultval=yes
11361 else
11362 defaultval=no
11363 fi
11364 fi
11365
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11373 else
11374 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11375 fi
11376
11377 else
11378
11379 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11380
11381 fi
11382
11383
11384 eval "$wx_cv_use_statusbar"
11385
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11388 result=no
11389 else
11390 result=yes
11391 fi
11392 else
11393 result=$wxUSE_STATUSBAR
11394 fi
11395
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11398
11399
11400 enablestring=
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11404 defaultval=yes
11405 else
11406 defaultval=no
11407 fi
11408 fi
11409
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11417 else
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11419 fi
11420
11421 else
11422
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_tabdialog"
11429
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11432 result=no
11433 else
11434 result=yes
11435 fi
11436 else
11437 result=$wxUSE_TAB_DIALOG
11438 fi
11439
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11442
11443
11444 enablestring=
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11448 defaultval=yes
11449 else
11450 defaultval=no
11451 fi
11452 fi
11453
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11461 else
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11463 fi
11464
11465 else
11466
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11468
11469 fi
11470
11471
11472 eval "$wx_cv_use_taskbaricon"
11473
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_TASKBARICON = yes; then
11476 result=no
11477 else
11478 result=yes
11479 fi
11480 else
11481 result=$wxUSE_TASKBARICON
11482 fi
11483
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11486
11487
11488 enablestring=
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11492 defaultval=yes
11493 else
11494 defaultval=no
11495 fi
11496 fi
11497
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11505 else
11506 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11507 fi
11508
11509 else
11510
11511 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11512
11513 fi
11514
11515
11516 eval "$wx_cv_use_textctrl"
11517
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11520 result=no
11521 else
11522 result=yes
11523 fi
11524 else
11525 result=$wxUSE_TEXTCTRL
11526 fi
11527
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11530
11531
11532 enablestring=
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11536 defaultval=yes
11537 else
11538 defaultval=no
11539 fi
11540 fi
11541
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11549 else
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11551 fi
11552
11553 else
11554
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_togglebtn"
11561
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11564 result=no
11565 else
11566 result=yes
11567 fi
11568 else
11569 result=$wxUSE_TOGGLEBTN
11570 fi
11571
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11574
11575
11576 enablestring=
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11580 defaultval=yes
11581 else
11582 defaultval=no
11583 fi
11584 fi
11585
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11593 else
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11595 fi
11596
11597 else
11598
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_toolbar"
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_TOOLBAR = yes; then
11608 result=no
11609 else
11610 result=yes
11611 fi
11612 else
11613 result=$wxUSE_TOOLBAR
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11637 else
11638 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11639 fi
11640
11641 else
11642
11643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11644
11645 fi
11646
11647
11648 eval "$wx_cv_use_tbarnative"
11649
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11652 result=no
11653 else
11654 result=yes
11655 fi
11656 else
11657 result=$wxUSE_TOOLBAR_NATIVE
11658 fi
11659
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11662
11663
11664 enablestring=
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11668 defaultval=yes
11669 else
11670 defaultval=no
11671 fi
11672 fi
11673
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11681 else
11682 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11683 fi
11684
11685 else
11686
11687 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$wx_cv_use_treebook"
11693
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11696 result=no
11697 else
11698 result=yes
11699 fi
11700 else
11701 result=$wxUSE_TREEBOOK
11702 fi
11703
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11706
11707
11708 enablestring=
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11712 defaultval=yes
11713 else
11714 defaultval=no
11715 fi
11716 fi
11717
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11725 else
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11727 fi
11728
11729 else
11730
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11732
11733 fi
11734
11735
11736 eval "$wx_cv_use_toolbook"
11737
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11740 result=no
11741 else
11742 result=yes
11743 fi
11744 else
11745 result=$wxUSE_TOOLBOOK
11746 fi
11747
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11750
11751
11752 enablestring=
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11756 defaultval=yes
11757 else
11758 defaultval=no
11759 fi
11760 fi
11761
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11769 else
11770 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11771 fi
11772
11773 else
11774
11775 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11776
11777 fi
11778
11779
11780 eval "$wx_cv_use_treectrl"
11781
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11784 result=no
11785 else
11786 result=yes
11787 fi
11788 else
11789 result=$wxUSE_TREECTRL
11790 fi
11791
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11794
11795
11796 enablestring=
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11800 defaultval=yes
11801 else
11802 defaultval=no
11803 fi
11804 fi
11805
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11813 else
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11815 fi
11816
11817 else
11818
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11820
11821 fi
11822
11823
11824 eval "$wx_cv_use_tipwindow"
11825
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11828 result=no
11829 else
11830 result=yes
11831 fi
11832 else
11833 result=$wxUSE_TIPWINDOW
11834 fi
11835
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11838
11839
11840 enablestring=
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11844 defaultval=yes
11845 else
11846 defaultval=no
11847 fi
11848 fi
11849
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11857 else
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11859 fi
11860
11861 else
11862
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11864
11865 fi
11866
11867
11868 eval "$wx_cv_use_popupwin"
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_POPUPWIN = yes; then
11872 result=no
11873 else
11874 result=yes
11875 fi
11876 else
11877 result=$wxUSE_POPUPWIN
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
11884
11885
11886 enablestring=
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11890 defaultval=yes
11891 else
11892 defaultval=no
11893 fi
11894 fi
11895
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11903 else
11904 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11905 fi
11906
11907 else
11908
11909 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11910
11911 fi
11912
11913
11914 eval "$wx_cv_use_commondlg"
11915
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11918 result=no
11919 else
11920 result=yes
11921 fi
11922 else
11923 result=$wxUSE_COMMONDLGS
11924 fi
11925
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11928
11929
11930 enablestring=
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11934 defaultval=yes
11935 else
11936 defaultval=no
11937 fi
11938 fi
11939
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11947 else
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11949 fi
11950
11951 else
11952
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11954
11955 fi
11956
11957
11958 eval "$wx_cv_use_aboutdlg"
11959
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11962 result=no
11963 else
11964 result=yes
11965 fi
11966 else
11967 result=$wxUSE_ABOUTDLG
11968 fi
11969
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11972
11973
11974 enablestring=
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11978 defaultval=yes
11979 else
11980 defaultval=no
11981 fi
11982 fi
11983
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11991 else
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11993 fi
11994
11995 else
11996
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11998
11999 fi
12000
12001
12002 eval "$wx_cv_use_choicedlg"
12003
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12006 result=no
12007 else
12008 result=yes
12009 fi
12010 else
12011 result=$wxUSE_CHOICEDLG
12012 fi
12013
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12016
12017
12018 enablestring=
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12022 defaultval=yes
12023 else
12024 defaultval=no
12025 fi
12026 fi
12027
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12035 else
12036 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12037 fi
12038
12039 else
12040
12041 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12042
12043 fi
12044
12045
12046 eval "$wx_cv_use_coldlg"
12047
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12050 result=no
12051 else
12052 result=yes
12053 fi
12054 else
12055 result=$wxUSE_COLOURDLG
12056 fi
12057
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12060
12061
12062 enablestring=
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12066 defaultval=yes
12067 else
12068 defaultval=no
12069 fi
12070 fi
12071
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12079 else
12080 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12081 fi
12082
12083 else
12084
12085 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12086
12087 fi
12088
12089
12090 eval "$wx_cv_use_filedlg"
12091
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12094 result=no
12095 else
12096 result=yes
12097 fi
12098 else
12099 result=$wxUSE_FILEDLG
12100 fi
12101
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12104
12105
12106 enablestring=
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12110 defaultval=yes
12111 else
12112 defaultval=no
12113 fi
12114 fi
12115
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12123 else
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12125 fi
12126
12127 else
12128
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12130
12131 fi
12132
12133
12134 eval "$wx_cv_use_finddlg"
12135
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12138 result=no
12139 else
12140 result=yes
12141 fi
12142 else
12143 result=$wxUSE_FINDREPLDLG
12144 fi
12145
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12148
12149
12150 enablestring=
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12154 defaultval=yes
12155 else
12156 defaultval=no
12157 fi
12158 fi
12159
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12167 else
12168 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12169 fi
12170
12171 else
12172
12173 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12174
12175 fi
12176
12177
12178 eval "$wx_cv_use_fontdlg"
12179
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12182 result=no
12183 else
12184 result=yes
12185 fi
12186 else
12187 result=$wxUSE_FONTDLG
12188 fi
12189
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12192
12193
12194 enablestring=
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12198 defaultval=yes
12199 else
12200 defaultval=no
12201 fi
12202 fi
12203
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12211 else
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12213 fi
12214
12215 else
12216
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12218
12219 fi
12220
12221
12222 eval "$wx_cv_use_dirdlg"
12223
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12226 result=no
12227 else
12228 result=yes
12229 fi
12230 else
12231 result=$wxUSE_DIRDLG
12232 fi
12233
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12236
12237
12238 enablestring=
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12242 defaultval=yes
12243 else
12244 defaultval=no
12245 fi
12246 fi
12247
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12255 else
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12257 fi
12258
12259 else
12260
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12262
12263 fi
12264
12265
12266 eval "$wx_cv_use_msgdlg"
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_MSGDLG = yes; then
12270 result=no
12271 else
12272 result=yes
12273 fi
12274 else
12275 result=$wxUSE_MSGDLG
12276 fi
12277
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12280
12281
12282 enablestring=
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12286 defaultval=yes
12287 else
12288 defaultval=no
12289 fi
12290 fi
12291
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12299 else
12300 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12301 fi
12302
12303 else
12304
12305 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12306
12307 fi
12308
12309
12310 eval "$wx_cv_use_numberdlg"
12311
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12314 result=no
12315 else
12316 result=yes
12317 fi
12318 else
12319 result=$wxUSE_NUMBERDLG
12320 fi
12321
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12324
12325
12326 enablestring=
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12330 defaultval=yes
12331 else
12332 defaultval=no
12333 fi
12334 fi
12335
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH=yes'
12343 else
12344 wx_cv_use_splash='wxUSE_SPLASH=no'
12345 fi
12346
12347 else
12348
12349 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12350
12351 fi
12352
12353
12354 eval "$wx_cv_use_splash"
12355
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12358 result=no
12359 else
12360 result=yes
12361 fi
12362 else
12363 result=$wxUSE_SPLASH
12364 fi
12365
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12368
12369
12370 enablestring=
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12374 defaultval=yes
12375 else
12376 defaultval=no
12377 fi
12378 fi
12379
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12387 else
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12389 fi
12390
12391 else
12392
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12394
12395 fi
12396
12397
12398 eval "$wx_cv_use_textdlg"
12399
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TEXTDLG = yes; then
12402 result=no
12403 else
12404 result=yes
12405 fi
12406 else
12407 result=$wxUSE_TEXTDLG
12408 fi
12409
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12412
12413
12414 enablestring=
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12418 defaultval=yes
12419 else
12420 defaultval=no
12421 fi
12422 fi
12423
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12431 else
12432 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12433 fi
12434
12435 else
12436
12437 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12438
12439 fi
12440
12441
12442 eval "$wx_cv_use_tipdlg"
12443
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12446 result=no
12447 else
12448 result=yes
12449 fi
12450 else
12451 result=$wxUSE_STARTUP_TIPS
12452 fi
12453
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12456
12457
12458 enablestring=
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12462 defaultval=yes
12463 else
12464 defaultval=no
12465 fi
12466 fi
12467
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12475 else
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12477 fi
12478
12479 else
12480
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_progressdlg"
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12490 result=no
12491 else
12492 result=yes
12493 fi
12494 else
12495 result=$wxUSE_PROGRESSDLG
12496 fi
12497
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12519 else
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_wizarddlg"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12534 result=no
12535 else
12536 result=yes
12537 fi
12538 else
12539 result=$wxUSE_WIZARDDLG
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546
12547
12548 enablestring=
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12552 defaultval=yes
12553 else
12554 defaultval=no
12555 fi
12556 fi
12557
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus='wxUSE_MENUS=yes'
12565 else
12566 wx_cv_use_menus='wxUSE_MENUS=no'
12567 fi
12568
12569 else
12570
12571 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12572
12573 fi
12574
12575
12576 eval "$wx_cv_use_menus"
12577
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12580 result=no
12581 else
12582 result=yes
12583 fi
12584 else
12585 result=$wxUSE_MENUS
12586 fi
12587
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12590
12591
12592 enablestring=
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12596 defaultval=yes
12597 else
12598 defaultval=no
12599 fi
12600 fi
12601
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12609 else
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12611 fi
12612
12613 else
12614
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12616
12617 fi
12618
12619
12620 eval "$wx_cv_use_miniframe"
12621
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12624 result=no
12625 else
12626 result=yes
12627 fi
12628 else
12629 result=$wxUSE_MINIFRAME
12630 fi
12631
12632 { echo "$as_me:$LINENO: result: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12634
12635
12636 enablestring=
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12640 defaultval=yes
12641 else
12642 defaultval=no
12643 fi
12644 fi
12645
12646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12653 else
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12655 fi
12656
12657 else
12658
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12660
12661 fi
12662
12663
12664 eval "$wx_cv_use_tooltips"
12665
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12668 result=no
12669 else
12670 result=yes
12671 fi
12672 else
12673 result=$wxUSE_TOOLTIPS
12674 fi
12675
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12678
12679
12680 enablestring=
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12684 defaultval=yes
12685 else
12686 defaultval=no
12687 fi
12688 fi
12689
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines='wxUSE_SPLINES=yes'
12697 else
12698 wx_cv_use_splines='wxUSE_SPLINES=no'
12699 fi
12700
12701 else
12702
12703 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12704
12705 fi
12706
12707
12708 eval "$wx_cv_use_splines"
12709
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12712 result=no
12713 else
12714 result=yes
12715 fi
12716 else
12717 result=$wxUSE_SPLINES
12718 fi
12719
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12722
12723
12724 enablestring=
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12728 defaultval=yes
12729 else
12730 defaultval=no
12731 fi
12732 fi
12733
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12741 else
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12743 fi
12744
12745 else
12746
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12748
12749 fi
12750
12751
12752 eval "$wx_cv_use_mousewheel"
12753
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12756 result=no
12757 else
12758 result=yes
12759 fi
12760 else
12761 result=$wxUSE_MOUSEWHEEL
12762 fi
12763
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12766
12767
12768 enablestring=
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12772 defaultval=yes
12773 else
12774 defaultval=no
12775 fi
12776 fi
12777
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12785 else
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12787 fi
12788
12789 else
12790
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12792
12793 fi
12794
12795
12796 eval "$wx_cv_use_validators"
12797
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_VALIDATORS = yes; then
12800 result=no
12801 else
12802 result=yes
12803 fi
12804 else
12805 result=$wxUSE_VALIDATORS
12806 fi
12807
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12810
12811
12812 enablestring=
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12816 defaultval=yes
12817 else
12818 defaultval=no
12819 fi
12820 fi
12821
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12829 else
12830 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12831 fi
12832
12833 else
12834
12835 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12836
12837 fi
12838
12839
12840 eval "$wx_cv_use_busyinfo"
12841
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12844 result=no
12845 else
12846 result=yes
12847 fi
12848 else
12849 result=$wxUSE_BUSYINFO
12850 fi
12851
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12854
12855
12856 enablestring=
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12860 defaultval=yes
12861 else
12862 defaultval=no
12863 fi
12864 fi
12865
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12873 else
12874 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12875 fi
12876
12877 else
12878
12879 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_joystick"
12885
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12888 result=no
12889 else
12890 result=yes
12891 fi
12892 else
12893 result=$wxUSE_JOYSTICK
12894 fi
12895
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12898
12899
12900 enablestring=
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12904 defaultval=yes
12905 else
12906 defaultval=no
12907 fi
12908 fi
12909
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12917 else
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12919 fi
12920
12921 else
12922
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12924
12925 fi
12926
12927
12928 eval "$wx_cv_use_metafile"
12929
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_METAFILE = yes; then
12932 result=no
12933 else
12934 result=yes
12935 fi
12936 else
12937 result=$wxUSE_METAFILE
12938 fi
12939
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12942
12943
12944 enablestring=
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12948 defaultval=yes
12949 else
12950 defaultval=no
12951 fi
12952 fi
12953
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12961 else
12962 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12963 fi
12964
12965 else
12966
12967 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12968
12969 fi
12970
12971
12972 eval "$wx_cv_use_dragimage"
12973
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12976 result=no
12977 else
12978 result=yes
12979 fi
12980 else
12981 result=$wxUSE_DRAGIMAGE
12982 fi
12983
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12986
12987
12988 enablestring=
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12992 defaultval=yes
12993 else
12994 defaultval=no
12995 fi
12996 fi
12997
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13005 else
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13007 fi
13008
13009 else
13010
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_accessibility"
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13020 result=no
13021 else
13022 result=yes
13023 fi
13024 else
13025 result=$wxUSE_ACCESSIBILITY
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032
13033
13034 enablestring=
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13038 defaultval=yes
13039 else
13040 defaultval=no
13041 fi
13042 fi
13043
13044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13051 else
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13053 fi
13054
13055 else
13056
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13058
13059 fi
13060
13061
13062 eval "$wx_cv_use_palette"
13063
13064 if test x"$enablestring" = xdisable; then
13065 if test $wxUSE_PALETTE = yes; then
13066 result=no
13067 else
13068 result=yes
13069 fi
13070 else
13071 result=$wxUSE_PALETTE
13072 fi
13073
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13076
13077
13078 enablestring=
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13082 defaultval=yes
13083 else
13084 defaultval=no
13085 fi
13086 fi
13087
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image='wxUSE_IMAGE=yes'
13095 else
13096 wx_cv_use_image='wxUSE_IMAGE=no'
13097 fi
13098
13099 else
13100
13101 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13102
13103 fi
13104
13105
13106 eval "$wx_cv_use_image"
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13110 result=no
13111 else
13112 result=yes
13113 fi
13114 else
13115 result=$wxUSE_IMAGE
13116 fi
13117
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF=yes'
13139 else
13140 wx_cv_use_gif='wxUSE_GIF=no'
13141 fi
13142
13143 else
13144
13145 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13146
13147 fi
13148
13149
13150 eval "$wx_cv_use_gif"
13151
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13154 result=no
13155 else
13156 result=yes
13157 fi
13158 else
13159 result=$wxUSE_GIF
13160 fi
13161
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13164
13165
13166 enablestring=
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13170 defaultval=yes
13171 else
13172 defaultval=no
13173 fi
13174 fi
13175
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13183 else
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13185 fi
13186
13187 else
13188
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13190
13191 fi
13192
13193
13194 eval "$wx_cv_use_pcx"
13195
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_PCX = yes; then
13198 result=no
13199 else
13200 result=yes
13201 fi
13202 else
13203 result=$wxUSE_PCX
13204 fi
13205
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13208
13209
13210 enablestring=
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13214 defaultval=yes
13215 else
13216 defaultval=no
13217 fi
13218 fi
13219
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga='wxUSE_TGA=yes'
13227 else
13228 wx_cv_use_tga='wxUSE_TGA=no'
13229 fi
13230
13231 else
13232
13233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13234
13235 fi
13236
13237
13238 eval "$wx_cv_use_tga"
13239
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13242 result=no
13243 else
13244 result=yes
13245 fi
13246 else
13247 result=$wxUSE_TGA
13248 fi
13249
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13252
13253
13254 enablestring=
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13258 defaultval=yes
13259 else
13260 defaultval=no
13261 fi
13262 fi
13263
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF=yes'
13271 else
13272 wx_cv_use_iff='wxUSE_IFF=no'
13273 fi
13274
13275 else
13276
13277 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13278
13279 fi
13280
13281
13282 eval "$wx_cv_use_iff"
13283
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13286 result=no
13287 else
13288 result=yes
13289 fi
13290 else
13291 result=$wxUSE_IFF
13292 fi
13293
13294 { echo "$as_me:$LINENO: result: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13296
13297
13298 enablestring=
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13302 defaultval=yes
13303 else
13304 defaultval=no
13305 fi
13306 fi
13307
13308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13315 else
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13317 fi
13318
13319 else
13320
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13322
13323 fi
13324
13325
13326 eval "$wx_cv_use_pnm"
13327
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_PNM = yes; then
13330 result=no
13331 else
13332 result=yes
13333 fi
13334 else
13335 result=$wxUSE_PNM
13336 fi
13337
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13340
13341
13342 enablestring=
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13346 defaultval=yes
13347 else
13348 defaultval=no
13349 fi
13350 fi
13351
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm='wxUSE_XPM=yes'
13359 else
13360 wx_cv_use_xpm='wxUSE_XPM=no'
13361 fi
13362
13363 else
13364
13365 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13366
13367 fi
13368
13369
13370 eval "$wx_cv_use_xpm"
13371
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13374 result=no
13375 else
13376 result=yes
13377 fi
13378 else
13379 result=$wxUSE_XPM
13380 fi
13381
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13384
13385
13386 enablestring=
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13390 defaultval=yes
13391 else
13392 defaultval=no
13393 fi
13394 fi
13395
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13403 else
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_ico_cur"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13418 result=no
13419 else
13420 result=yes
13421 fi
13422 else
13423 result=$wxUSE_ICO_CUR
13424 fi
13425
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13428
13429
13430
13431
13432 enablestring=
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13436 defaultval=yes
13437 else
13438 defaultval=no
13439 fi
13440 fi
13441
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13449 else
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13451 fi
13452
13453 else
13454
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13456
13457 fi
13458
13459
13460 eval "$wx_cv_use_dccache"
13461
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13464 result=no
13465 else
13466 result=yes
13467 fi
13468 else
13469 result=$wxUSE_DC_CACHEING
13470 fi
13471
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13474
13475
13476 enablestring=
13477 defaultval=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x"$enablestring" = xdisable; then
13480 defaultval=yes
13481 else
13482 defaultval=no
13483 fi
13484 fi
13485
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13493 else
13494 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13495 fi
13496
13497 else
13498
13499 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13500
13501 fi
13502
13503
13504 eval "$wx_cv_use_ps_in_msw"
13505
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13508 result=no
13509 else
13510 result=yes
13511 fi
13512 else
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13514 fi
13515
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13518
13519
13520 enablestring=
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13524 defaultval=yes
13525 else
13526 defaultval=no
13527 fi
13528 fi
13529
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13537 else
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13539 fi
13540
13541 else
13542
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13544
13545 fi
13546
13547
13548 eval "$wx_cv_use_ownerdrawn"
13549
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13552 result=no
13553 else
13554 result=yes
13555 fi
13556 else
13557 result=$wxUSE_OWNER_DRAWN
13558 fi
13559
13560 { echo "$as_me:$LINENO: result: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13562
13563
13564 enablestring=
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13568 defaultval=yes
13569 else
13570 defaultval=no
13571 fi
13572 fi
13573
13574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13581 else
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13583 fi
13584
13585 else
13586
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13588
13589 fi
13590
13591
13592 eval "$wx_cv_use_uxtheme"
13593
13594 if test x"$enablestring" = xdisable; then
13595 if test $wxUSE_UXTHEME = yes; then
13596 result=no
13597 else
13598 result=yes
13599 fi
13600 else
13601 result=$wxUSE_UXTHEME
13602 fi
13603
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13606
13607
13608 enablestring=
13609 defaultval=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x"$enablestring" = xdisable; then
13612 defaultval=yes
13613 else
13614 defaultval=no
13615 fi
13616 fi
13617
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib='wxUSE_DIB=yes'
13625 else
13626 wx_cv_use_wxdib='wxUSE_DIB=no'
13627 fi
13628
13629 else
13630
13631 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13632
13633 fi
13634
13635
13636 eval "$wx_cv_use_wxdib"
13637
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13640 result=no
13641 else
13642 result=yes
13643 fi
13644 else
13645 result=$wxUSE_DIB
13646 fi
13647
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13650
13651
13652 fi
13653
13654
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13657
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13663 wxUSE_SHARED=no
13664 CC=${CC:-winegcc}
13665 CXX=${CXX:-wineg++}
13666 fi
13667
13668
13669 if test "$wxUSE_GUI" = "yes"; then
13670
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13675 fi
13676
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13679 var=wxUSE_$toolkit
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13682 eval "$var=0"
13683 elif test "x$value" != "x"; then
13684 eval "$var=1"
13685 fi
13686
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13689 fi
13690 done
13691 else
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13695 done
13696 fi
13697
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13701
13702 case "${host}" in
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13705 esac
13706
13707 case "$NUM_TOOLKITS" in
13708 1)
13709 ;;
13710 0)
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13714 ;;
13715 *)
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13719 esac
13720
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13723 wxGTK_VERSION=2
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13725 wxGTK_VERSION=1
13726 fi
13727
13728 for toolkit in $ALL_TOOLKITS; do
13729 var=wxUSE_$toolkit
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13735 fi
13736 done
13737 else
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13741 else
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13744 fi
13745 fi
13746
13747
13748 cat >confcache <<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13754 #
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13757 #
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13761
13762 _ACEOF
13763
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13769 (
13770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val=\$$ac_var
13772 case $ac_val in #(
13773 *${as_nl}*)
13774 case $ac_var in #(
13775 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13777 esac
13778 case $ac_var in #(
13779 _ | IFS | as_nl) ;; #(
13780 *) $as_unset $ac_var ;;
13781 esac ;;
13782 esac
13783 done
13784
13785 (set) 2>&1 |
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space=\ *)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13790 sed -n \
13791 "s/'/'\\\\''/g;
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13793 ;; #(
13794 *)
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13797 ;;
13798 esac |
13799 sort
13800 ) |
13801 sed '
13802 /^ac_cv_env_/b end
13803 t clear
13804 :clear
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13806 t end
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13808 :end' >>confcache
13809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache >$cache_file
13815 else
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13818 fi
13819 fi
13820 rm -f confcache
13821
13822 CFLAGS=${CFLAGS:=}
13823
13824
13825
13826 ac_ext=c
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 else
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC="$CC" # Let the user override the test.
13841 else
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13844 do
13845 IFS=$as_save_IFS
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 break 2
13852 fi
13853 done
13854 done
13855 IFS=$as_save_IFS
13856
13857 fi
13858 fi
13859 CC=$ac_cv_prog_CC
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13863 else
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13866 fi
13867
13868
13869 fi
13870 if test -z "$ac_cv_prog_CC"; then
13871 ac_ct_CC=$CC
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc; ac_word=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13881 else
13882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13883 for as_dir in $PATH
13884 do
13885 IFS=$as_save_IFS
13886 test -z "$as_dir" && as_dir=.
13887 for ac_exec_ext in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13891 break 2
13892 fi
13893 done
13894 done
13895 IFS=$as_save_IFS
13896
13897 fi
13898 fi
13899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13903 else
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13906 fi
13907
13908 if test "x$ac_ct_CC" = x; then
13909 CC=""
13910 else
13911 case $cross_compiling:$ac_tool_warned in
13912 yes:)
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned=yes ;;
13920 esac
13921 CC=$ac_ct_CC
13922 fi
13923 else
13924 CC="$ac_cv_prog_CC"
13925 fi
13926
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy ${ac_tool_prefix}cc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC="$CC" # Let the user override the test.
13938 else
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13941 do
13942 IFS=$as_save_IFS
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_CC="${ac_tool_prefix}cc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13948 break 2
13949 fi
13950 done
13951 done
13952 IFS=$as_save_IFS
13953
13954 fi
13955 fi
13956 CC=$ac_cv_prog_CC
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13960 else
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13963 fi
13964
13965
13966 fi
13967 fi
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc; ac_word=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC="$CC" # Let the user override the test.
13978 else
13979 ac_prog_rejected=no
13980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981 for as_dir in $PATH
13982 do
13983 IFS=$as_save_IFS
13984 test -z "$as_dir" && as_dir=.
13985 for ac_exec_ext in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected=yes
13989 continue
13990 fi
13991 ac_cv_prog_CC="cc"
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13993 break 2
13994 fi
13995 done
13996 done
13997 IFS=$as_save_IFS
13998
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy $ac_cv_prog_CC
14002 shift
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14007 shift
14008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14009 fi
14010 fi
14011 fi
14012 fi
14013 CC=$ac_cv_prog_CC
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14017 else
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14020 fi
14021
14022
14023 fi
14024 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog in cl.exe
14027 do
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC="$CC" # Let the user override the test.
14037 else
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041 IFS=$as_save_IFS
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047 break 2
14048 fi
14049 done
14050 done
14051 IFS=$as_save_IFS
14052
14053 fi
14054 fi
14055 CC=$ac_cv_prog_CC
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14059 else
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14062 fi
14063
14064
14065 test -n "$CC" && break
14066 done
14067 fi
14068 if test -z "$CC"; then
14069 ac_ct_CC=$CC
14070 for ac_prog in cl.exe
14071 do
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy $ac_prog; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14081 else
14082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083 for as_dir in $PATH
14084 do
14085 IFS=$as_save_IFS
14086 test -z "$as_dir" && as_dir=.
14087 for ac_exec_ext in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14091 break 2
14092 fi
14093 done
14094 done
14095 IFS=$as_save_IFS
14096
14097 fi
14098 fi
14099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14103 else
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14106 fi
14107
14108
14109 test -n "$ac_ct_CC" && break
14110 done
14111
14112 if test "x$ac_ct_CC" = x; then
14113 CC=""
14114 else
14115 case $cross_compiling:$ac_tool_warned in
14116 yes:)
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned=yes ;;
14124 esac
14125 CC=$ac_ct_CC
14126 fi
14127 fi
14128
14129 fi
14130
14131
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14137
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler=`set X $ac_compile; echo $2`
14141 { (ac_try="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14145 esac
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14155 esac
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14165 esac
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14171
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14191 # of exeext.
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14195 #
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14200 #
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14204 ac_rmfiles=
14205 for ac_file in $ac_files
14206 do
14207 case $ac_file in
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14210 esac
14211 done
14212 rm -f $ac_rmfiles
14213
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218 esac
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14228 # Autoconf.
14229 for ac_file in $ac_files ''
14230 do
14231 test -f "$ac_file" || continue
14232 case $ac_file in
14233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14234 ;;
14235 [ab].out )
14236 # We found the default executable, but exeext='' is most
14237 # certainly right.
14238 break;;
14239 *.* )
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14241 then :; else
14242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14243 fi
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14249 break;;
14250 * )
14251 break;;
14252 esac
14253 done
14254 test "$ac_cv_exeext" = no && ac_cv_exeext=
14255
14256 else
14257 ac_file=''
14258 fi
14259
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14265
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14271 fi
14272
14273 ac_exeext=$ac_cv_exeext
14274
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14286 esac
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 cross_compiling=no
14293 else
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14296 else
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details." >&5
14300 echo "$as_me: error: cannot run C compiled programs.
14301 If you meant to cross compile, use \`--host'.
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14304 fi
14305 fi
14306 fi
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14309
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14318
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14325 esac
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe'), while it won't with
14334 # `rm'.
14335 for ac_file in conftest.exe conftest conftest.*; do
14336 test -f "$ac_file" || continue
14337 case $ac_file in
14338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14339 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14340 break;;
14341 * ) break;;
14342 esac
14343 done
14344 else
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14350 fi
14351
14352 rm -f conftest$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14355
14356 rm -f conftest.$ac_ext
14357 EXEEXT=$ac_cv_exeext
14358 ac_exeext=$EXEEXT
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 cat >conftest.$ac_ext <<_ACEOF
14365 /* confdefs.h. */
14366 _ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370
14371 int
14372 main ()
14373 {
14374
14375 ;
14376 return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14384 esac
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14392 case $ac_file in
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14395 break;;
14396 esac
14397 done
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14410 fi
14411 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14414 ac_objext=$OBJEXT
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426
14427 int
14428 main ()
14429 {
14430 #ifndef __GNUC__
14431 choke me
14432 #endif
14433
14434 ;
14435 return 0;
14436 }
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14443 esac
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14446 ac_status=$?
14447 grep -v '^ *+' conftest.er1 >conftest.err
14448 rm -f conftest.er1
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 ac_compiler_gnu=no
14461 fi
14462
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14465
14466 fi
14467 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14473 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14479 ac_cv_prog_cc_g=no
14480 CFLAGS="-g"
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487
14488 int
14489 main ()
14490 {
14491
14492 ;
14493 return 0;
14494 }
14495 _ACEOF
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14501 esac
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14504 ac_status=$?
14505 grep -v '^ *+' conftest.er1 >conftest.err
14506 rm -f conftest.er1
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 CFLAGS=""
14519 cat >conftest.$ac_ext <<_ACEOF
14520 /* confdefs.h. */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525
14526 int
14527 main ()
14528 {
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14539 esac
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14542 ac_status=$?
14543 grep -v '^ *+' conftest.er1 >conftest.err
14544 rm -f conftest.er1
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14551 :
14552 else
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14557 CFLAGS="-g"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564
14565 int
14566 main ()
14567 {
14568
14569 ;
14570 return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595
14596 fi
14597
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 fi
14600
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 fi
14603
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14606 fi
14607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14613 CFLAGS="-g -O2"
14614 else
14615 CFLAGS="-g"
14616 fi
14617 else
14618 if test "$GCC" = yes; then
14619 CFLAGS="-O2"
14620 else
14621 CFLAGS=
14622 fi
14623 fi
14624 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14625 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 else
14629 ac_cv_prog_cc_c89=no
14630 ac_save_CC=$CC
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14638 #include <stdio.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14645 char **p;
14646 int i;
14647 {
14648 return p[i];
14649 }
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14651 {
14652 char *s;
14653 va_list v;
14654 va_start (v,p);
14655 s = g (p, va_arg (v,int));
14656 va_end (v);
14657 return s;
14658 }
14659
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14668
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14671 #define FOO(x) 'x'
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14673
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14678 int argc;
14679 char **argv;
14680 int
14681 main ()
14682 {
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14690 do
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714
14715 fi
14716
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x$ac_cv_prog_cc_c89" != "xno" && break
14719 done
14720 rm -f conftest.$ac_ext
14721 CC=$ac_save_CC
14722
14723 fi
14724 # AC_CACHE_VAL
14725 case "x$ac_cv_prog_cc_c89" in
14726 x)
14727 { echo "$as_me:$LINENO: result: none needed" >&5
14728 echo "${ECHO_T}none needed" >&6; } ;;
14729 xno)
14730 { echo "$as_me:$LINENO: result: unsupported" >&5
14731 echo "${ECHO_T}unsupported" >&6; } ;;
14732 *)
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14736 esac
14737
14738
14739 ac_ext=c
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14744
14745
14746
14747
14748 ac_ext=c
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14753
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765
14766 int
14767 main ()
14768 {
14769
14770 #ifndef __INTEL_COMPILER
14771 choke me
14772 #endif
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14799
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14801
14802 fi
14803
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14805
14806
14807 fi
14808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14811 :; INTELCC=yes
14812 else
14813 :;
14814 fi
14815 ac_ext=c
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820
14821
14822
14823
14824 if test "x$GCC" != "xyes"; then
14825 if test "xCC" = "xC"; then
14826 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14827 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 else
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837
14838 int
14839 main ()
14840 {
14841
14842 ;
14843 return 0;
14844 }
14845 _ACEOF
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14853 case $ac_file in
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o"
14856 ;;
14857 *)
14858 ;;
14859 esac
14860 done
14861 else
14862 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14863 See \`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14867
14868 fi
14869
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14871
14872 fi
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14878 fi
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14881 fi
14882 fi
14883
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14895 ac_cv_prog_cc_g=no
14896 CFLAGS="-g"
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903
14904 int
14905 main ()
14906 {
14907
14908 ;
14909 return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14917 esac
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14920 ac_status=$?
14921 grep -v '^ *+' conftest.er1 >conftest.err
14922 rm -f conftest.er1
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14933
14934 CFLAGS=""
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941
14942 int
14943 main ()
14944 {
14945
14946 ;
14947 return 0;
14948 }
14949 _ACEOF
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14958 ac_status=$?
14959 grep -v '^ *+' conftest.er1 >conftest.err
14960 rm -f conftest.er1
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14967 :
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14973 CFLAGS="-g"
14974 cat >conftest.$ac_ext <<_ACEOF
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980
14981 int
14982 main ()
14983 {
14984
14985 ;
14986 return 0;
14987 }
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14994 esac
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14997 ac_status=$?
14998 grep -v '^ *+' conftest.er1 >conftest.err
14999 rm -f conftest.er1
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15010
15011
15012 fi
15013
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15015 fi
15016
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018 fi
15019
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15022 fi
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15029 CFLAGS="-g -O2"
15030 else
15031 CFLAGS="-g"
15032 fi
15033 else
15034 if test "$GCC" = yes; then
15035 CFLAGS="-O2"
15036 else
15037 CFLAGS=
15038 fi
15039 fi
15040 fi
15041 fi
15042
15043 case `uname -s` in
15044 AIX*)
15045
15046
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064
15065 int
15066 main ()
15067 {
15068
15069 #ifndef __xlC__
15070 choke me
15071 #endif
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 bakefile_cv_c_compiler___xlC__=no
15100
15101 fi
15102
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104
15105
15106 fi
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15110 :; XLCC=yes
15111 else
15112 :;
15113 fi
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15119
15120
15121
15122 ;;
15123
15124 Darwin)
15125
15126
15127 ac_ext=c
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15132
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148
15149 #ifndef __MWERKS__
15150 choke me
15151 #endif
15152
15153 ;
15154 return 0;
15155 }
15156 _ACEOF
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15162 esac
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15178
15179 bakefile_cv_c_compiler___MWERKS__=no
15180
15181 fi
15182
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184
15185
15186 fi
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15190 :; MWCC=yes
15191 else
15192 :;
15193 fi
15194 ac_ext=c
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15199
15200
15201
15202
15203
15204 ac_ext=c
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15209
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 int
15223 main ()
15224 {
15225
15226 #ifndef __xlC__
15227 choke me
15228 #endif
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15239 esac
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15252 else
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15255
15256 bakefile_cv_c_compiler___xlC__=no
15257
15258 fi
15259
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261
15262
15263 fi
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15267 :; XLCC=yes
15268 else
15269 :;
15270 fi
15271 ac_ext=c
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15276
15277
15278
15279 ;;
15280
15281 IRIX*)
15282
15283
15284 ac_ext=c
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 #ifndef _SGI_COMPILER_VERSION
15307 choke me
15308 #endif
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15337
15338 fi
15339
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15341
15342
15343 fi
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15347 :; SGICC=yes
15348 else
15349 :;
15350 fi
15351 ac_ext=c
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15356
15357
15358
15359 ;;
15360
15361 Linux*)
15362
15363
15364 ac_ext=c
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15369
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381
15382 int
15383 main ()
15384 {
15385
15386 #ifndef __SUNPRO_C
15387 choke me
15388 #endif
15389
15390 ;
15391 return 0;
15392 }
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15399 esac
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15415
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15417
15418 fi
15419
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421
15422
15423 fi
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15427 :; SUNCC=yes
15428 else
15429 :;
15430 fi
15431 ac_ext=c
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15436
15437
15438
15439 ;;
15440
15441 HP-UX*)
15442
15443
15444 ac_ext=c
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461
15462 int
15463 main ()
15464 {
15465
15466 #ifndef __HP_cc
15467 choke me
15468 #endif
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15479 esac
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15482 ac_status=$?
15483 grep -v '^ *+' conftest.er1 >conftest.err
15484 rm -f conftest.er1
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15492 else
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15495
15496 bakefile_cv_c_compiler___HP_cc=no
15497
15498 fi
15499
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501
15502
15503 fi
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15507 :; HPCC=yes
15508 else
15509 :;
15510 fi
15511 ac_ext=c
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15516
15517
15518
15519 ;;
15520
15521 OSF1)
15522
15523
15524 ac_ext=c
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15529
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541
15542 int
15543 main ()
15544 {
15545
15546 #ifndef __DECC
15547 choke me
15548 #endif
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 bakefile_cv_c_compiler___DECC=no
15577
15578 fi
15579
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581
15582
15583 fi
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15587 :; COMPAQCC=yes
15588 else
15589 :;
15590 fi
15591 ac_ext=c
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15596
15597
15598
15599 ;;
15600
15601 SunOS)
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __SUNPRO_C
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15667 :; SUNCC=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 ;;
15680 esac
15681 fi
15682
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15694 CPP=
15695 fi
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15702 do
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15705 do
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #ifdef __STDC__
15719 # include <limits.h>
15720 #else
15721 # include <assert.h>
15722 #endif
15723 Syntax error
15724 _ACEOF
15725 if { (ac_try="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15729 esac
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15732 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15740 }; then
15741 :
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15745
15746 # Broken: fails on valid input.
15747 continue
15748 fi
15749
15750 rm -f conftest.err conftest.$ac_ext
15751
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <ac_nonexistent.h>
15761 _ACEOF
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15766 esac
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev/null && {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15777 }; then
15778 # Broken: success on invalid input.
15779 continue
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 # Passes both tests.
15785 ac_preproc_ok=:
15786 break
15787 fi
15788
15789 rm -f conftest.err conftest.$ac_ext
15790
15791 done
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.$ac_ext
15794 if $ac_preproc_ok; then
15795 break
15796 fi
15797
15798 done
15799 ac_cv_prog_CPP=$CPP
15800
15801 fi
15802 CPP=$ac_cv_prog_CPP
15803 else
15804 ac_cv_prog_CPP=$CPP
15805 fi
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok=false
15809 for ac_c_preproc_warn_flag in '' yes
15810 do
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 #ifdef __STDC__
15824 # include <limits.h>
15825 #else
15826 # include <assert.h>
15827 #endif
15828 Syntax error
15829 _ACEOF
15830 if { (ac_try="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15834 esac
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15845 }; then
15846 :
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 # Broken: fails on valid input.
15852 continue
15853 fi
15854
15855 rm -f conftest.err conftest.$ac_ext
15856
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15860 /* confdefs.h. */
15861 _ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15866 _ACEOF
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev/null && {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15882 }; then
15883 # Broken: success on invalid input.
15884 continue
15885 else
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5
15888
15889 # Passes both tests.
15890 ac_preproc_ok=:
15891 break
15892 fi
15893
15894 rm -f conftest.err conftest.$ac_ext
15895
15896 done
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.$ac_ext
15899 if $ac_preproc_ok; then
15900 :
15901 else
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15907 fi
15908
15909 ac_ext=c
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15914
15915
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy grep ggrep; ac_prog_name=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 else
15927 ac_path_GREP_found=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15931 do
15932 IFS=$as_save_IFS
15933 test -z "$as_dir" && as_dir=.
15934 for ac_prog in grep ggrep; do
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15941 *GNU*)
15942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15943 *)
15944 ac_count=0
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15946 while :
15947 do
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15954 ac_count=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP="$ac_path_GREP"
15958 ac_path_GREP_max=$ac_count
15959 fi
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15962 done
15963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15964 esac
15965
15966
15967 $ac_path_GREP_found && break 3
15968 done
15969 done
15970
15971 done
15972 IFS=$as_save_IFS
15973
15974
15975 fi
15976
15977 GREP="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15982 fi
15983
15984 else
15985 ac_cv_path_GREP=$GREP
15986 fi
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP="$ac_cv_path_GREP"
15993
15994
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 else
16000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16001 then ac_cv_path_EGREP="$GREP -E"
16002 else
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy egrep; ac_prog_name=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 ac_path_EGREP_found=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16013 do
16014 IFS=$as_save_IFS
16015 test -z "$as_dir" && as_dir=.
16016 for ac_prog in egrep; do
16017 for ac_exec_ext in '' $ac_executable_extensions; do
16018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16023 *GNU*)
16024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16025 *)
16026 ac_count=0
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16028 while :
16029 do
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16036 ac_count=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP="$ac_path_EGREP"
16040 ac_path_EGREP_max=$ac_count
16041 fi
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16044 done
16045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16046 esac
16047
16048
16049 $ac_path_EGREP_found && break 3
16050 done
16051 done
16052
16053 done
16054 IFS=$as_save_IFS
16055
16056
16057 fi
16058
16059 EGREP="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16064 fi
16065
16066 else
16067 ac_cv_path_EGREP=$EGREP
16068 fi
16069
16070
16071 fi
16072 fi
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP="$ac_cv_path_EGREP"
16076
16077
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else
16084 ac_pattern="Autoconf.*'x'"
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #include <sgtty.h>
16092 Autoconf TIOCGETP
16093 _ACEOF
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16096 ac_cv_prog_gcc_traditional=yes
16097 else
16098 ac_cv_prog_gcc_traditional=no
16099 fi
16100 rm -f conftest*
16101
16102
16103 if test $ac_cv_prog_gcc_traditional = no; then
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16111 Autoconf TCGETA
16112 _ACEOF
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16115 ac_cv_prog_gcc_traditional=yes
16116 fi
16117 rm -f conftest*
16118
16119 fi
16120 fi
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC="$CC -traditional"
16125 fi
16126 fi
16127
16128
16129 CXXFLAGS=${CXXFLAGS:=}
16130
16131
16132
16133 ac_ext=cpp
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16140 CXX=$CCC
16141 else
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16144 do
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 else
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16154 else
16155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16157 do
16158 IFS=$as_save_IFS
16159 test -z "$as_dir" && as_dir=.
16160 for ac_exec_ext in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16164 break 2
16165 fi
16166 done
16167 done
16168 IFS=$as_save_IFS
16169
16170 fi
16171 fi
16172 CXX=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16176 else
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16179 fi
16180
16181
16182 test -n "$CXX" && break
16183 done
16184 fi
16185 if test -z "$CXX"; then
16186 ac_ct_CXX=$CXX
16187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16188 do
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy $ac_prog; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16198 else
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16201 do
16202 IFS=$as_save_IFS
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 break 2
16209 fi
16210 done
16211 done
16212 IFS=$as_save_IFS
16213
16214 fi
16215 fi
16216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16220 else
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16223 fi
16224
16225
16226 test -n "$ac_ct_CXX" && break
16227 done
16228
16229 if test "x$ac_ct_CXX" = x; then
16230 CXX="g++"
16231 else
16232 case $cross_compiling:$ac_tool_warned in
16233 yes:)
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned=yes ;;
16241 esac
16242 CXX=$ac_ct_CXX
16243 fi
16244 fi
16245
16246 fi
16247 fi
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler=`set X $ac_compile; echo $2`
16251 { (ac_try="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16255 esac
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16265 esac
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compiler -v >&5") 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16275 esac
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16281
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293
16294 int
16295 main ()
16296 {
16297 #ifndef __GNUC__
16298 choke me
16299 #endif
16300
16301 ;
16302 return 0;
16303 }
16304 _ACEOF
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16310 esac
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16313 ac_status=$?
16314 grep -v '^ *+' conftest.er1 >conftest.err
16315 rm -f conftest.er1
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.$ac_objext; then
16322 ac_compiler_gnu=yes
16323 else
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 ac_compiler_gnu=no
16328 fi
16329
16330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16332
16333 fi
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag=yes
16346 ac_cv_prog_cxx_g=no
16347 CXXFLAGS="-g"
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 int
16356 main ()
16357 {
16358
16359 ;
16360 return 0;
16361 }
16362 _ACEOF
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16384
16385 CXXFLAGS=""
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16392
16393 int
16394 main ()
16395 {
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16406 esac
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16409 ac_status=$?
16410 grep -v '^ *+' conftest.er1 >conftest.err
16411 rm -f conftest.er1
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.$ac_objext; then
16418 :
16419 else
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16424 CXXFLAGS="-g"
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431
16432 int
16433 main ()
16434 {
16435
16436 ;
16437 return 0;
16438 }
16439 _ACEOF
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462
16463 fi
16464
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16466 fi
16467
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16469 fi
16470
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16473 fi
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16480 CXXFLAGS="-g -O2"
16481 else
16482 CXXFLAGS="-g"
16483 fi
16484 else
16485 if test "$GXX" = yes; then
16486 CXXFLAGS="-O2"
16487 else
16488 CXXFLAGS=
16489 fi
16490 fi
16491 ac_ext=c
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16496
16497
16498
16499
16500 ac_ext=cpp
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16505
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h. */
16513 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517
16518 int
16519 main ()
16520 {
16521
16522 #ifndef __INTEL_COMPILER
16523 choke me
16524 #endif
16525
16526 ;
16527 return 0;
16528 }
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16551
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16553
16554 fi
16555
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557
16558
16559 fi
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16563 :; INTELCXX=yes
16564 else
16565 :;
16566 fi
16567 ac_ext=c
16568 ac_cpp='$CPP $CPPFLAGS'
16569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16572
16573
16574
16575
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589
16590 int
16591 main ()
16592 {
16593
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 rm -f conftest.$ac_objext conftest.$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16605 case $ac_file in
16606 conftest.$ac_ext.o)
16607 bakefile_cv_c_exto="-ext o"
16608 ;;
16609 *)
16610 ;;
16611 esac
16612 done
16613 else
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16619
16620 fi
16621
16622 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16623
16624 fi
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16630 fi
16631 if test "c" = "cxx"; then
16632 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16633 fi
16634 fi
16635
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 ac_save_c_werror_flag=$ac_c_werror_flag
16646 ac_c_werror_flag=yes
16647 ac_cv_prog_cc_g=no
16648 CFLAGS="-g"
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655
16656 int
16657 main ()
16658 {
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 CFLAGS=""
16687 cat >conftest.$ac_ext <<_ACEOF
16688 /* confdefs.h. */
16689 _ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693
16694 int
16695 main ()
16696 {
16697
16698 ;
16699 return 0;
16700 }
16701 _ACEOF
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.$ac_objext; then
16719 :
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 ac_c_werror_flag=$ac_save_c_werror_flag
16725 CFLAGS="-g"
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732
16733 int
16734 main ()
16735 {
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16759 else
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16762
16763
16764 fi
16765
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 fi
16768
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 fi
16771
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16774 fi
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16781 CFLAGS="-g -O2"
16782 else
16783 CFLAGS="-g"
16784 fi
16785 else
16786 if test "$GCC" = yes; then
16787 CFLAGS="-O2"
16788 else
16789 CFLAGS=
16790 fi
16791 fi
16792 fi
16793 fi
16794
16795 case `uname -s` in
16796 AIX*)
16797
16798
16799 ac_ext=cpp
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16804
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816
16817 int
16818 main ()
16819 {
16820
16821 #ifndef __xlC__
16822 choke me
16823 #endif
16824
16825 ;
16826 return 0;
16827 }
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16834 esac
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__=yes
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 bakefile_cv_cxx_compiler___xlC__=no
16852
16853 fi
16854
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856
16857
16858 fi
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16862 :; XLCXX=yes
16863 else
16864 :;
16865 fi
16866 ac_ext=c
16867 ac_cpp='$CPP $CPPFLAGS'
16868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16871
16872
16873
16874 ;;
16875
16876 Darwin)
16877
16878
16879 ac_ext=cpp
16880 ac_cpp='$CXXCPP $CPPFLAGS'
16881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16884
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896
16897 int
16898 main ()
16899 {
16900
16901 #ifndef __MWERKS__
16902 choke me
16903 #endif
16904
16905 ;
16906 return 0;
16907 }
16908 _ACEOF
16909 rm -f conftest.$ac_objext
16910 if { (ac_try="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16914 esac
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16932
16933 fi
16934
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936
16937
16938 fi
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16942 :; MWCXX=yes
16943 else
16944 :;
16945 fi
16946 ac_ext=c
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951
16952
16953
16954
16955
16956 ac_ext=cpp
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16961
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 #ifndef __xlC__
16979 choke me
16980 #endif
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16994 ac_status=$?
16995 grep -v '^ *+' conftest.er1 >conftest.err
16996 rm -f conftest.er1
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__=yes
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17007
17008 bakefile_cv_cxx_compiler___xlC__=no
17009
17010 fi
17011
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013
17014
17015 fi
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17019 :; XLCXX=yes
17020 else
17021 :;
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031 ;;
17032
17033 IRIX*)
17034
17035
17036 ac_ext=cpp
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17041
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053
17054 int
17055 main ()
17056 {
17057
17058 #ifndef _SGI_COMPILER_VERSION
17059 choke me
17060 #endif
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17089
17090 fi
17091
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094
17095 fi
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17099 :; SGICXX=yes
17100 else
17101 :;
17102 fi
17103 ac_ext=c
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17108
17109
17110
17111 ;;
17112
17113 Linux*)
17114
17115
17116 ac_ext=cpp
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17121
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133
17134 int
17135 main ()
17136 {
17137
17138 #ifndef __SUNPRO_CC
17139 choke me
17140 #endif
17141
17142 ;
17143 return 0;
17144 }
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17151 esac
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17169
17170 fi
17171
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173
17174
17175 fi
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17179 :; SUNCXX=yes
17180 else
17181 :;
17182 fi
17183 ac_ext=c
17184 ac_cpp='$CPP $CPPFLAGS'
17185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17188
17189
17190
17191 ;;
17192
17193 HP-UX*)
17194
17195
17196 ac_ext=cpp
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17201
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213
17214 int
17215 main ()
17216 {
17217
17218 #ifndef __HP_aCC
17219 choke me
17220 #endif
17221
17222 ;
17223 return 0;
17224 }
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (ac_try="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17231 esac
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17247
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17249
17250 fi
17251
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253
17254
17255 fi
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17259 :; HPCXX=yes
17260 else
17261 :;
17262 fi
17263 ac_ext=c
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268
17269
17270
17271 ;;
17272
17273 OSF1)
17274
17275
17276 ac_ext=cpp
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293
17294 int
17295 main ()
17296 {
17297
17298 #ifndef __DECCXX
17299 choke me
17300 #endif
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX=yes
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17327
17328 bakefile_cv_cxx_compiler___DECCXX=no
17329
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333
17334
17335 fi
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17339 :; COMPAQCXX=yes
17340 else
17341 :;
17342 fi
17343 ac_ext=c
17344 ac_cpp='$CPP $CPPFLAGS'
17345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17348
17349
17350
17351 ;;
17352
17353 SunOS)
17354
17355
17356 ac_ext=cpp
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17361
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 else
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373
17374 int
17375 main ()
17376 {
17377
17378 #ifndef __SUNPRO_CC
17379 choke me
17380 #endif
17381
17382 ;
17383 return 0;
17384 }
17385 _ACEOF
17386 rm -f conftest.$ac_objext
17387 if { (ac_try="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17391 esac
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17394 ac_status=$?
17395 grep -v '^ *+' conftest.er1 >conftest.err
17396 rm -f conftest.er1
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17409
17410 fi
17411
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413
17414
17415 fi
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17419 :; SUNCXX=yes
17420 else
17421 :;
17422 fi
17423 ac_ext=c
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17428
17429
17430
17431 ;;
17432 esac
17433 fi
17434
17435
17436
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17441 fi
17442
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17454 else
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17457 do
17458 IFS=$as_save_IFS
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17464 break 2
17465 fi
17466 done
17467 done
17468 IFS=$as_save_IFS
17469
17470 fi
17471 fi
17472 AR=$ac_cv_prog_AR
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17476 else
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17479 fi
17480
17481
17482 fi
17483 if test -z "$ac_cv_prog_AR"; then
17484 ac_ct_AR=$AR
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 else
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17494 else
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17497 do
17498 IFS=$as_save_IFS
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17504 break 2
17505 fi
17506 done
17507 done
17508 IFS=$as_save_IFS
17509
17510 fi
17511 fi
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17516 else
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17519 fi
17520
17521 if test "x$ac_ct_AR" = x; then
17522 AR=""
17523 else
17524 case $cross_compiling:$ac_tool_warned in
17525 yes:)
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17533 esac
17534 AR=$ac_ct_AR
17535 fi
17536 else
17537 AR="$ac_cv_prog_AR"
17538 fi
17539
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17544 fi
17545 fi
17546
17547 retest_macosx_linking=no
17548
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17560 fi
17561 else
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17572 else
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17578 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17579 fi
17580 fi
17581 OSX_UNIV_OPTS="-arch ppc -arch i386"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17586
17587 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17588 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17589 bk_use_pch=no
17590 fi
17591 #fi
17592
17593 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17594 wxUSE_MACOSX_SDK=
17595 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17598 fi
17599
17600
17601 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17602 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error: not found
17606 See \`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17610 else
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17613 fi
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17619 fi
17620
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17627
17628 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/'`
17629
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17632
17633 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/'`
17634
17635 fi
17636
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17641 else
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17645 fi
17646 else
17647 wxUSE_MACOSX_VERSION_MIN=
17648 fi
17649 fi
17650
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17657 fi
17658
17659 if test "x$retest_macosx_linking" = "xyes"; then
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674
17675 int
17676 main ()
17677 {
17678
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17691 ac_status=$?
17692 grep -v '^ *+' conftest.er1 >conftest.err
17693 rm -f conftest.er1
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17706
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details." >&5
17709 echo "$as_me: error: no. Try a different SDK
17710 See \`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17712 fi
17713
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17716 ac_ext=c
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721
17722
17723 ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737
17738 int
17739 main ()
17740 {
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest$ac_exeext &&
17763 $as_test_x conftest$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17766 else
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17769
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17778 conftest$ac_exeext conftest.$ac_ext
17779 ac_ext=c
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784
17785 fi
17786
17787
17788 case "${host}" in
17789
17790 *-*-darwin* )
17791 INSTALL_PROGRAM="cp -fp"
17792 INSTALL_DATA="cp -fp"
17793 ;;
17794 *)
17795 ;;
17796 esac
17797
17798
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS="-qunique $CXXFLAGS"
17801 fi
17802
17803 case "${host}" in
17804 powerpc-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813
17814 int
17815 main ()
17816 {
17817 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17852 _ACEOF
17853
17854
17855 fi
17856
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 ;;
17859 esac
17860
17861 case "${host}" in
17862 *-*-darwin* )
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17872
17873 int
17874 main ()
17875 {
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17903
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17916
17917 int
17918 main ()
17919 {
17920
17921 ;
17922 return 0;
17923 }
17924 _ACEOF
17925 rm -f conftest.$ac_objext
17926 if { (ac_try="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17930 esac
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17933 ac_status=$?
17934 grep -v '^ *+' conftest.er1 >conftest.err
17935 rm -f conftest.er1
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17948
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details." >&2;}
17953 { (exit 1); exit 1; }; }
17954
17955 fi
17956
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958
17959
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 ;;
17964 esac
17965
17966 wants_win32=0
17967 doesnt_want_win32=0
17968 case "${host}" in
17969 *-*-cygwin*)
17970 if test "$wxUSE_MSW" = 1 ; then
17971 wants_win32=1
17972 else
17973 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17974 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 #ifdef __MINGW32__
17991 choke me
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18003 esac
18004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18015 wx_cv_nocygwin=no
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 wx_cv_nocygwin=yes
18021
18022 fi
18023
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025
18026
18027 fi
18028 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18030
18031 if test "$wx_cv_nocygwin" = "yes"; then
18032 wants_win32=1
18033 else
18034 doesnt_want_win32=1
18035 fi
18036 fi
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18039 fi
18040 ;;
18041 *-*-mingw*)
18042 wants_win32=1
18043 ;;
18044 esac
18045
18046 if test "$wxUSE_WINE" = "yes"; then
18047 wants_win32=1
18048 LDFLAGS_GUI="-mwindows"
18049 fi
18050
18051 if test "$wants_win32" = 1 ; then
18052 USE_UNIX=0
18053 USE_WIN32=1
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18056 _ACEOF
18057
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18060 _ACEOF
18061
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18064 _ACEOF
18065
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18068 _ACEOF
18069
18070 cat >>confdefs.h <<\_ACEOF
18071 #define STRICT 1
18072 _ACEOF
18073
18074 fi
18075 if test "$doesnt_want_win32" = 1 ; then
18076 USE_UNIX=1
18077 USE_WIN32=0
18078 fi
18079
18080 if test "$USE_UNIX" = 1 ; then
18081 wxUSE_UNIX=yes
18082 cat >>confdefs.h <<\_ACEOF
18083 #define __UNIX__ 1
18084 _ACEOF
18085
18086 fi
18087
18088 case "${host}" in
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18092 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18099 /* confdefs.h. */
18100 _ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18108 #ifdef __cplusplus
18109 extern "C"
18110 #endif
18111 char drand48 ();
18112 int
18113 main ()
18114 {
18115 return drand48 ();
18116 ;
18117 return 0;
18118 }
18119 _ACEOF
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18125 esac
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18128 ac_status=$?
18129 grep -v '^ *+' conftest.er1 >conftest.err
18130 rm -f conftest.er1
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18139 else
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 ac_cv_lib_cExt_drand48=no
18144 fi
18145
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18149 fi
18150 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18154 fi
18155
18156 else
18157 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18158 fi
18159 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18160 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 else
18164
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2"
18167
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175
18176 #include <stdio.h>
18177
18178 int main()
18179 {
18180 FILE *f=fopen("conftestval", "w");
18181 if (!f) exit(1);
18182 fprintf(f,
18183 #if (__GNUC__ < 3)
18184 "EMX2"
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18186 "EMX3"
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18188 "Innotek5"
18189 #else
18190 "Innotek6"
18191 #endif
18192 );
18193 exit(0);
18194 }
18195
18196 _ACEOF
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18218 else
18219 echo "$as_me: program exited with status $ac_status" >&5
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18222
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2"
18225 fi
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18227 fi
18228
18229
18230
18231 fi
18232 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18237 else
18238 if test "$wx_cv_gccversion" = "EMX3"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18241 else
18242 LIBS="$LIBS -lstdc++"
18243 fi
18244 fi
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18246 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18247 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18248 wxUSE_OMF=yes
18249 enable_omf=yes
18250 fi
18251 ;;
18252 *)
18253
18254 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18255 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266
18267 #include <string.h>
18268
18269 int
18270 main ()
18271 {
18272
18273 strcasecmp("foo", "bar");
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18284 esac
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18301
18302 ac_cv_string_strcasecmp=no
18303
18304 fi
18305
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18308
18309 fi
18310 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18312
18313 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18316 _ACEOF
18317
18318 else
18319 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331
18332 #include <strings.h>
18333
18334 int
18335 main ()
18336 {
18337
18338 strcasecmp("foo", "bar");
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18366
18367 ac_cv_strings_strcasecmp=no
18368
18369 fi
18370
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18373
18374 fi
18375 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18377
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18381 _ACEOF
18382
18383 else
18384 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18385 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18386 { (exit 1); exit 1; }; }
18387 fi
18388 fi
18389
18390 ;;
18391 esac
18392
18393
18394 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18395 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18408 #include <float.h>
18409
18410 int
18411 main ()
18412 {
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18439
18440 ac_cv_header_stdc=no
18441 fi
18442
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18454
18455 _ACEOF
18456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18457 $EGREP "memchr" >/dev/null 2>&1; then
18458 :
18459 else
18460 ac_cv_header_stdc=no
18461 fi
18462 rm -f conftest*
18463
18464 fi
18465
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18475
18476 _ACEOF
18477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18478 $EGREP "free" >/dev/null 2>&1; then
18479 :
18480 else
18481 ac_cv_header_stdc=no
18482 fi
18483 rm -f conftest*
18484
18485 fi
18486
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18490 :
18491 else
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 #include <ctype.h>
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18503 #else
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18509 #endif
18510
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18512 int
18513 main ()
18514 {
18515 int i;
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18519 return 2;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 :
18544 else
18545 echo "$as_me: program exited with status $ac_status" >&5
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18548
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18551 fi
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18553 fi
18554
18555
18556 fi
18557 fi
18558 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18561
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18564 _ACEOF
18565
18566 fi
18567
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18580 do
18581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594
18595 #include <$ac_header>
18596 _ACEOF
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18602 esac
18603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18615 else
18616 echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18618
18619 eval "$as_ac_Header=no"
18620 fi
18621
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623 fi
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18630 _ACEOF
18631
18632 fi
18633
18634 done
18635
18636
18637
18638
18639 for ac_header in langinfo.h wchar.h
18640 do
18641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18654
18655 #include <$ac_header>
18656 _ACEOF
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18662 esac
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18665 ac_status=$?
18666 grep -v '^ *+' conftest.er1 >conftest.err
18667 rm -f conftest.er1
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 eval "$as_ac_Header=no"
18680 fi
18681
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 fi
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18690 _ACEOF
18691
18692 fi
18693
18694 done
18695
18696
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18698
18699 for ac_header in wcstr.h
18700 do
18701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714
18715 #include <$ac_header>
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18722 esac
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18738
18739 eval "$as_ac_Header=no"
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 fi
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18750 _ACEOF
18751
18752 fi
18753
18754 done
18755
18756 fi
18757
18758 case "${host}" in
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2" \
18762 -o "$wx_cv_gccversion" = "EMX3" \
18763 -o "$wx_cv_gccversion" = "Innotek5" \); then
18764 LIBS="$LIBS -lintl"
18765 fi
18766 ;;
18767 esac
18768
18769 if test "$USE_UNIX" = 1 ; then
18770
18771 for ac_header in sys/select.h
18772 do
18773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786
18787 #include <$ac_header>
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18794 esac
18795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18797 ac_status=$?
18798 grep -v '^ *+' conftest.er1 >conftest.err
18799 rm -f conftest.er1
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 eval "$as_ac_Header=no"
18812 fi
18813
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815 fi
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18822 _ACEOF
18823
18824 fi
18825
18826 done
18827
18828 fi
18829
18830
18831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842
18843 int
18844 main ()
18845 {
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18850 const charset cs;
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18853 char **ppc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18860 expression */
18861 const char *g = "string";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18864 ++pcpcc;
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18868 char *t;
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18870
18871 *t++ = 0;
18872 if (s) return 0;
18873 }
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18877 ++foo;
18878 }
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18881 iptr p = 0;
18882 ++p;
18883 }
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18888 }
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18892 }
18893 return !cs[0] && !zero.x;
18894 #endif
18895
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18917 ac_cv_c_const=yes
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 ac_cv_c_const=no
18923 fi
18924
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 fi
18927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18930
18931 cat >>confdefs.h <<\_ACEOF
18932 #define const
18933 _ACEOF
18934
18935 fi
18936
18937 { echo "$as_me:$LINENO: checking for inline" >&5
18938 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 else
18942 ac_cv_c_inline=no
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18951 typedef int foo_t;
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18954 #endif
18955
18956 _ACEOF
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18962 esac
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_inline=$ac_kw
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979
18980 fi
18981
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18984 done
18985
18986 fi
18987 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18989
18990
18991 case $ac_cv_c_inline in
18992 inline | yes) ;;
18993 *)
18994 case $ac_cv_c_inline in
18995 no) ac_val=;;
18996 *) ac_val=$ac_cv_c_inline;;
18997 esac
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19001 #endif
19002 _ACEOF
19003 ;;
19004 esac
19005
19006
19007 { echo "$as_me:$LINENO: checking for short" >&5
19008 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19020 int
19021 main ()
19022 {
19023 if ((ac__type_new_ *) 0)
19024 return 0;
19025 if (sizeof (ac__type_new_))
19026 return 0;
19027 ;
19028 return 0;
19029 }
19030 _ACEOF
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19036 esac
19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19049 else
19050 echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19052
19053 ac_cv_type_short=no
19054 fi
19055
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057 fi
19058 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19060
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short" >&5
19066 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19080 int
19081 main ()
19082 {
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19084 test_array [0] = 0
19085
19086 ;
19087 return 0;
19088 }
19089 _ACEOF
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19095 esac
19096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19098 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19107 ac_lo=0 ac_mid=0
19108 while :; do
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19117 int
19118 main ()
19119 {
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19121 test_array [0] = 0
19122
19123 ;
19124 return 0;
19125 }
19126 _ACEOF
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19151 ac_lo= ac_hi=
19152 break
19153 fi
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19155 fi
19156
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 done
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19186 esac
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_hi=-1 ac_mid=-1
19199 while :; do
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19208 int
19209 main ()
19210 {
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19212 test_array [0] = 0
19213
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19242 ac_lo= ac_hi=
19243 break
19244 fi
19245 ac_mid=`expr 2 '*' $ac_mid`
19246 fi
19247
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19249 done
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_lo= ac_hi=
19255 fi
19256
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 fi
19259
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x$ac_lo" != "x$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19265 /* confdefs.h. */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19272 int
19273 main ()
19274 {
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19276 test_array [0] = 0
19277
19278 ;
19279 return 0;
19280 }
19281 _ACEOF
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19287 esac
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_hi=$ac_mid
19300 else
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19303
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19305 fi
19306
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 done
19309 case $ac_lo in
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19313 See \`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19317 else
19318 ac_cv_sizeof_short=0
19319 fi ;;
19320 esac
19321 else
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19332 #include <stdio.h>
19333 #include <stdlib.h>
19334 int
19335 main ()
19336 {
19337
19338 FILE *f = fopen ("conftest.val", "w");
19339 if (! f)
19340 return 1;
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19342 {
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19345 return 1;
19346 fprintf (f, "%ld\n", i);
19347 }
19348 else
19349 {
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19352 return 1;
19353 fprintf (f, "%lu\n", i);
19354 }
19355 return ferror (f) || fclose (f) != 0;
19356
19357 ;
19358 return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19366 esac
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19382 else
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details." >&5
19391 echo "$as_me: error: cannot compute sizeof (short)
19392 See \`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19394 else
19395 ac_cv_sizeof_short=0
19396 fi
19397 fi
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19399 fi
19400 rm -f conftest.val
19401 fi
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19404
19405
19406
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19409 _ACEOF
19410
19411
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19425 int
19426 main ()
19427 {
19428 if ((ac__type_new_ *) 0)
19429 return 0;
19430 if (sizeof (ac__type_new_))
19431 return 0;
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19441 esac
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19444 ac_status=$?
19445 grep -v '^ *+' conftest.er1 >conftest.err
19446 rm -f conftest.er1
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19453 ac_cv_type_void_p=yes
19454 else
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19457
19458 ac_cv_type_void_p=no
19459 fi
19460
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 fi
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19465
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 else
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19485 int
19486 main ()
19487 {
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19489 test_array [0] = 0
19490
19491 ;
19492 return 0;
19493 }
19494 _ACEOF
19495 rm -f conftest.$ac_objext
19496 if { (ac_try="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19500 esac
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19512 ac_lo=0 ac_mid=0
19513 while :; do
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19522 int
19523 main ()
19524 {
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19526 test_array [0] = 0
19527
19528 ;
19529 return 0;
19530 }
19531 _ACEOF
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19537 esac
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_hi=$ac_mid; break
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_lo=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19556 ac_lo= ac_hi=
19557 break
19558 fi
19559 ac_mid=`expr 2 '*' $ac_mid + 1`
19560 fi
19561
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 done
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19567
19568 cat >conftest.$ac_ext <<_ACEOF
19569 /* confdefs.h. */
19570 _ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19576 int
19577 main ()
19578 {
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19580 test_array [0] = 0
19581
19582 ;
19583 return 0;
19584 }
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_hi=-1 ac_mid=-1
19604 while :; do
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19613 int
19614 main ()
19615 {
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19617 test_array [0] = 0
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_lo=$ac_mid; break
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_hi=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19647 ac_lo= ac_hi=
19648 break
19649 fi
19650 ac_mid=`expr 2 '*' $ac_mid`
19651 fi
19652
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 done
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_lo= ac_hi=
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 fi
19664
19665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19677 int
19678 main ()
19679 {
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19681 test_array [0] = 0
19682
19683 ;
19684 return 0;
19685 }
19686 _ACEOF
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19692 esac
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19704 ac_hi=$ac_mid
19705 else
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19710 fi
19711
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 done
19714 case $ac_lo in
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details." >&2;}
19721 { (exit 77); exit 77; }; }
19722 else
19723 ac_cv_sizeof_void_p=0
19724 fi ;;
19725 esac
19726 else
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19737 #include <stdio.h>
19738 #include <stdlib.h>
19739 int
19740 main ()
19741 {
19742
19743 FILE *f = fopen ("conftest.val", "w");
19744 if (! f)
19745 return 1;
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19747 {
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19750 return 1;
19751 fprintf (f, "%ld\n", i);
19752 }
19753 else
19754 {
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19757 return 1;
19758 fprintf (f, "%lu\n", i);
19759 }
19760 return ferror (f) || fclose (f) != 0;
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19787 else
19788 echo "$as_me: program exited with status $ac_status" >&5
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19791
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19795 See \`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19799 else
19800 ac_cv_sizeof_void_p=0
19801 fi
19802 fi
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19804 fi
19805 rm -f conftest.val
19806 fi
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19809
19810
19811
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19814 _ACEOF
19815
19816
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 else
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19830 int
19831 main ()
19832 {
19833 if ((ac__type_new_ *) 0)
19834 return 0;
19835 if (sizeof (ac__type_new_))
19836 return 0;
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19858 ac_cv_type_int=yes
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19862
19863 ac_cv_type_int=no
19864 fi
19865
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 fi
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19870
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19890 int
19891 main ()
19892 {
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19894 test_array [0] = 0
19895
19896 ;
19897 return 0;
19898 }
19899 _ACEOF
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19905 esac
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19908 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19917 ac_lo=0 ac_mid=0
19918 while :; do
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19927 int
19928 main ()
19929 {
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19931 test_array [0] = 0
19932
19933 ;
19934 return 0;
19935 }
19936 _ACEOF
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19942 esac
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19945 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1
19948 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.$ac_objext; then
19954 ac_hi=$ac_mid; break
19955 else
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19958
19959 ac_lo=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19961 ac_lo= ac_hi=
19962 break
19963 fi
19964 ac_mid=`expr 2 '*' $ac_mid + 1`
19965 fi
19966
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968 done
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 cat >conftest.$ac_ext <<_ACEOF
19974 /* confdefs.h. */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19981 int
19982 main ()
19983 {
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19985 test_array [0] = 0
19986
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest.$ac_objext
19992 if { (ac_try="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19996 esac
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20008 ac_hi=-1 ac_mid=-1
20009 while :; do
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20018 int
20019 main ()
20020 {
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20022 test_array [0] = 0
20023
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_lo=$ac_mid; break
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_hi=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20052 ac_lo= ac_hi=
20053 break
20054 fi
20055 ac_mid=`expr 2 '*' $ac_mid`
20056 fi
20057
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 done
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_lo= ac_hi=
20065 fi
20066
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 fi
20069
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20082 int
20083 main ()
20084 {
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20086 test_array [0] = 0
20087
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20109 ac_hi=$ac_mid
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20115 fi
20116
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 done
20119 case $ac_lo in
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details." >&2;}
20126 { (exit 77); exit 77; }; }
20127 else
20128 ac_cv_sizeof_int=0
20129 fi ;;
20130 esac
20131 else
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20142 #include <stdio.h>
20143 #include <stdlib.h>
20144 int
20145 main ()
20146 {
20147
20148 FILE *f = fopen ("conftest.val", "w");
20149 if (! f)
20150 return 1;
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20152 {
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20155 return 1;
20156 fprintf (f, "%ld\n", i);
20157 }
20158 else
20159 {
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20162 return 1;
20163 fprintf (f, "%lu\n", i);
20164 }
20165 return ferror (f) || fclose (f) != 0;
20166
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20176 esac
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20192 else
20193 echo "$as_me: program exited with status $ac_status" >&5
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20196
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20204 else
20205 ac_cv_sizeof_int=0
20206 fi
20207 fi
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20209 fi
20210 rm -f conftest.val
20211 fi
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20214
20215
20216
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20219 _ACEOF
20220
20221
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20235 int
20236 main ()
20237 {
20238 if ((ac__type_new_ *) 0)
20239 return 0;
20240 if (sizeof (ac__type_new_))
20241 return 0;
20242 ;
20243 return 0;
20244 }
20245 _ACEOF
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20251 esac
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20267
20268 ac_cv_type_long=no
20269 fi
20270
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 fi
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20275
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 else
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20295 int
20296 main ()
20297 {
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20299 test_array [0] = 0
20300
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 ac_lo=0 ac_mid=0
20323 while :; do
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20332 int
20333 main ()
20334 {
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20336 test_array [0] = 0
20337
20338 ;
20339 return 0;
20340 }
20341 _ACEOF
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20347 esac
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20350 ac_status=$?
20351 grep -v '^ *+' conftest.er1 >conftest.err
20352 rm -f conftest.er1
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.$ac_objext; then
20359 ac_hi=$ac_mid; break
20360 else
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ac_lo=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20366 ac_lo= ac_hi=
20367 break
20368 fi
20369 ac_mid=`expr 2 '*' $ac_mid + 1`
20370 fi
20371
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20373 done
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20386 int
20387 main ()
20388 {
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20390 test_array [0] = 0
20391
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext
20397 if { (ac_try="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20401 esac
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20404 ac_status=$?
20405 grep -v '^ *+' conftest.er1 >conftest.err
20406 rm -f conftest.er1
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20413 ac_hi=-1 ac_mid=-1
20414 while :; do
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20423 int
20424 main ()
20425 {
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20427 test_array [0] = 0
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_lo=$ac_mid; break
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_hi=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20457 ac_lo= ac_hi=
20458 break
20459 fi
20460 ac_mid=`expr 2 '*' $ac_mid`
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 done
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo= ac_hi=
20470 fi
20471
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 fi
20474
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.$ac_ext <<_ACEOF
20480 /* confdefs.h. */
20481 _ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20487 int
20488 main ()
20489 {
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20491 test_array [0] = 0
20492
20493 ;
20494 return 0;
20495 }
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 ac_hi=$ac_mid
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20520 fi
20521
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 done
20524 case $ac_lo in
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details." >&2;}
20531 { (exit 77); exit 77; }; }
20532 else
20533 ac_cv_sizeof_long=0
20534 fi ;;
20535 esac
20536 else
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20547 #include <stdio.h>
20548 #include <stdlib.h>
20549 int
20550 main ()
20551 {
20552
20553 FILE *f = fopen ("conftest.val", "w");
20554 if (! f)
20555 return 1;
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20557 {
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20560 return 1;
20561 fprintf (f, "%ld\n", i);
20562 }
20563 else
20564 {
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20567 return 1;
20568 fprintf (f, "%lu\n", i);
20569 }
20570 return ferror (f) || fclose (f) != 0;
20571
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20590 esac
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20597 else
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20605 See \`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20609 else
20610 ac_cv_sizeof_long=0
20611 fi
20612 fi
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20614 fi
20615 rm -f conftest.val
20616 fi
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20619
20620
20621
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20624 _ACEOF
20625
20626
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 else
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20640 int
20641 main ()
20642 {
20643 if ((ac__type_new_ *) 0)
20644 return 0;
20645 if (sizeof (ac__type_new_))
20646 return 0;
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20656 esac
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 ac_cv_type_size_t=no
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 fi
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20680
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.$ac_ext <<_ACEOF
20693 /* confdefs.h. */
20694 _ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20700 int
20701 main ()
20702 {
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20704 test_array [0] = 0
20705
20706 ;
20707 return 0;
20708 }
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20727 ac_lo=0 ac_mid=0
20728 while :; do
20729 cat >conftest.$ac_ext <<_ACEOF
20730 /* confdefs.h. */
20731 _ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20737 int
20738 main ()
20739 {
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20741 test_array [0] = 0
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_hi=$ac_mid; break
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 ac_lo=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20771 ac_lo= ac_hi=
20772 break
20773 fi
20774 ac_mid=`expr 2 '*' $ac_mid + 1`
20775 fi
20776
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778 done
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20791 int
20792 main ()
20793 {
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20795 test_array [0] = 0
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20806 esac
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 ac_hi=-1 ac_mid=-1
20819 while :; do
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20828 int
20829 main ()
20830 {
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20832 test_array [0] = 0
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_lo=$ac_mid; break
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_hi=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20862 ac_lo= ac_hi=
20863 break
20864 fi
20865 ac_mid=`expr 2 '*' $ac_mid`
20866 fi
20867
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 done
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_lo= ac_hi=
20875 fi
20876
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 fi
20879
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20892 int
20893 main ()
20894 {
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20896 test_array [0] = 0
20897
20898 ;
20899 return 0;
20900 }
20901 _ACEOF
20902 rm -f conftest.$ac_objext
20903 if { (ac_try="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20907 esac
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20919 ac_hi=$ac_mid
20920 else
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20923
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20925 fi
20926
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20928 done
20929 case $ac_lo in
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details." >&2;}
20936 { (exit 77); exit 77; }; }
20937 else
20938 ac_cv_sizeof_size_t=0
20939 fi ;;
20940 esac
20941 else
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20952 #include <stdio.h>
20953 #include <stdlib.h>
20954 int
20955 main ()
20956 {
20957
20958 FILE *f = fopen ("conftest.val", "w");
20959 if (! f)
20960 return 1;
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20962 {
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20965 return 1;
20966 fprintf (f, "%ld\n", i);
20967 }
20968 else
20969 {
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20972 return 1;
20973 fprintf (f, "%lu\n", i);
20974 }
20975 return ferror (f) || fclose (f) != 0;
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20995 esac
20996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21002 else
21003 echo "$as_me: program exited with status $ac_status" >&5
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21006
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21014 else
21015 ac_cv_sizeof_size_t=0
21016 fi
21017 fi
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21019 fi
21020 rm -f conftest.val
21021 fi
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21024
21025
21026
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21029 _ACEOF
21030
21031
21032
21033 case "${host}" in
21034 arm-*-linux* )
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21048 int
21049 main ()
21050 {
21051 if ((ac__type_new_ *) 0)
21052 return 0;
21053 if (sizeof (ac__type_new_))
21054 return 0;
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 ac_cv_type_long_long=no
21082 fi
21083
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 fi
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21088
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_sizeof_;
21108 int
21109 main ()
21110 {
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21112 test_array [0] = 0
21113
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (ac_try="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21123 esac
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21135 ac_lo=0 ac_mid=0
21136 while :; do
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21145 int
21146 main ()
21147 {
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21149 test_array [0] = 0
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid; break
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21179 ac_lo= ac_hi=
21180 break
21181 fi
21182 ac_mid=`expr 2 '*' $ac_mid + 1`
21183 fi
21184
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 done
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21199 int
21200 main ()
21201 {
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21203 test_array [0] = 0
21204
21205 ;
21206 return 0;
21207 }
21208 _ACEOF
21209 rm -f conftest.$ac_objext
21210 if { (ac_try="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21214 esac
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21226 ac_hi=-1 ac_mid=-1
21227 while :; do
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21236 int
21237 main ()
21238 {
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21240 test_array [0] = 0
21241
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_lo=$ac_mid; break
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_hi=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21270 ac_lo= ac_hi=
21271 break
21272 fi
21273 ac_mid=`expr 2 '*' $ac_mid`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 ac_lo= ac_hi=
21283 fi
21284
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21300 int
21301 main ()
21302 {
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21304 test_array [0] = 0
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (ac_try="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21318 ac_status=$?
21319 grep -v '^ *+' conftest.er1 >conftest.err
21320 rm -f conftest.er1
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21327 ac_hi=$ac_mid
21328 else
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21331
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21333 fi
21334
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21336 done
21337 case $ac_lo in
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details." >&2;}
21344 { (exit 77); exit 77; }; }
21345 else
21346 ac_cv_sizeof_long_long=0
21347 fi ;;
21348 esac
21349 else
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21360 #include <stdio.h>
21361 #include <stdlib.h>
21362 int
21363 main ()
21364 {
21365
21366 FILE *f = fopen ("conftest.val", "w");
21367 if (! f)
21368 return 1;
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21370 {
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21373 return 1;
21374 fprintf (f, "%ld\n", i);
21375 }
21376 else
21377 {
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21380 return 1;
21381 fprintf (f, "%lu\n", i);
21382 }
21383 return ferror (f) || fclose (f) != 0;
21384
21385 ;
21386 return 0;
21387 }
21388 _ACEOF
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21394 esac
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21410 else
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21418 See \`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21422 else
21423 ac_cv_sizeof_long_long=0
21424 fi
21425 fi
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21427 fi
21428 rm -f conftest.val
21429 fi
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21432
21433
21434
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21437 _ACEOF
21438
21439
21440 ;;
21441 *-hp-hpux* )
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447 cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h. */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21455 int
21456 main ()
21457 {
21458 if ((ac__type_new_ *) 0)
21459 return 0;
21460 if (sizeof (ac__type_new_))
21461 return 0;
21462 ;
21463 return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 ac_cv_type_long_long=no
21489 fi
21490
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21492 fi
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21495
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21515 int
21516 main ()
21517 {
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21519 test_array [0] = 0
21520
21521 ;
21522 return 0;
21523 }
21524 _ACEOF
21525 rm -f conftest.$ac_objext
21526 if { (ac_try="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21530 esac
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21533 ac_status=$?
21534 grep -v '^ *+' conftest.er1 >conftest.err
21535 rm -f conftest.er1
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21542 ac_lo=0 ac_mid=0
21543 while :; do
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h. */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21552 int
21553 main ()
21554 {
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21556 test_array [0] = 0
21557
21558 ;
21559 return 0;
21560 }
21561 _ACEOF
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21567 esac
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21570 ac_status=$?
21571 grep -v '^ *+' conftest.er1 >conftest.err
21572 rm -f conftest.er1
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.$ac_objext; then
21579 ac_hi=$ac_mid; break
21580 else
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21583
21584 ac_lo=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21586 ac_lo= ac_hi=
21587 break
21588 fi
21589 ac_mid=`expr 2 '*' $ac_mid + 1`
21590 fi
21591
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 done
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21606 int
21607 main ()
21608 {
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21610 test_array [0] = 0
21611
21612 ;
21613 return 0;
21614 }
21615 _ACEOF
21616 rm -f conftest.$ac_objext
21617 if { (ac_try="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21621 esac
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21624 ac_status=$?
21625 grep -v '^ *+' conftest.er1 >conftest.err
21626 rm -f conftest.er1
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21633 ac_hi=-1 ac_mid=-1
21634 while :; do
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21643 int
21644 main ()
21645 {
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21647 test_array [0] = 0
21648
21649 ;
21650 return 0;
21651 }
21652 _ACEOF
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_lo=$ac_mid; break
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_hi=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21677 ac_lo= ac_hi=
21678 break
21679 fi
21680 ac_mid=`expr 2 '*' $ac_mid`
21681 fi
21682
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 done
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_lo= ac_hi=
21690 fi
21691
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 fi
21694
21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21707 int
21708 main ()
21709 {
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21711 test_array [0] = 0
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21734 ac_hi=$ac_mid
21735 else
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21738
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21740 fi
21741
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 done
21744 case $ac_lo in
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details." >&2;}
21751 { (exit 77); exit 77; }; }
21752 else
21753 ac_cv_sizeof_long_long=0
21754 fi ;;
21755 esac
21756 else
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21767 #include <stdio.h>
21768 #include <stdlib.h>
21769 int
21770 main ()
21771 {
21772
21773 FILE *f = fopen ("conftest.val", "w");
21774 if (! f)
21775 return 1;
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21777 {
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21780 return 1;
21781 fprintf (f, "%ld\n", i);
21782 }
21783 else
21784 {
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21787 return 1;
21788 fprintf (f, "%lu\n", i);
21789 }
21790 return ferror (f) || fclose (f) != 0;
21791
21792 ;
21793 return 0;
21794 }
21795 _ACEOF
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21801 esac
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21810 esac
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21817 else
21818 echo "$as_me: program exited with status $ac_status" >&5
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21825 See \`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21829 else
21830 ac_cv_sizeof_long_long=0
21831 fi
21832 fi
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21834 fi
21835 rm -f conftest.val
21836 fi
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21839
21840
21841
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21844 _ACEOF
21845
21846
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21849 fi
21850 ;;
21851 * )
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21865 int
21866 main ()
21867 {
21868 if ((ac__type_new_ *) 0)
21869 return 0;
21870 if (sizeof (ac__type_new_))
21871 return 0;
21872 ;
21873 return 0;
21874 }
21875 _ACEOF
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21881 esac
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21884 ac_status=$?
21885 grep -v '^ *+' conftest.er1 >conftest.err
21886 rm -f conftest.er1
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21894 else
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21897
21898 ac_cv_type_long_long=no
21899 fi
21900
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 fi
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21905
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 else
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21925 int
21926 main ()
21927 {
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21929 test_array [0] = 0
21930
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21952 ac_lo=0 ac_mid=0
21953 while :; do
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21962 int
21963 main ()
21964 {
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21966 test_array [0] = 0
21967
21968 ;
21969 return 0;
21970 }
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.$ac_objext; then
21989 ac_hi=$ac_mid; break
21990 else
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.$ac_ext >&5
21993
21994 ac_lo=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21996 ac_lo= ac_hi=
21997 break
21998 fi
21999 ac_mid=`expr 2 '*' $ac_mid + 1`
22000 fi
22001
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 done
22004 else
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22016 int
22017 main ()
22018 {
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22020 test_array [0] = 0
22021
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_hi=-1 ac_mid=-1
22044 while :; do
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22053 int
22054 main ()
22055 {
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22057 test_array [0] = 0
22058
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.$ac_objext; then
22080 ac_lo=$ac_mid; break
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_hi=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22087 ac_lo= ac_hi=
22088 break
22089 fi
22090 ac_mid=`expr 2 '*' $ac_mid`
22091 fi
22092
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22094 done
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_lo= ac_hi=
22100 fi
22101
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22103 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */
22111 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22117 int
22118 main ()
22119 {
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22121 test_array [0] = 0
22122
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132 esac
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22144 ac_hi=$ac_mid
22145 else
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22148
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22150 fi
22151
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 done
22154 case $ac_lo in
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details." >&2;}
22161 { (exit 77); exit 77; }; }
22162 else
22163 ac_cv_sizeof_long_long=0
22164 fi ;;
22165 esac
22166 else
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22177 #include <stdio.h>
22178 #include <stdlib.h>
22179 int
22180 main ()
22181 {
22182
22183 FILE *f = fopen ("conftest.val", "w");
22184 if (! f)
22185 return 1;
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22187 {
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22190 return 1;
22191 fprintf (f, "%ld\n", i);
22192 }
22193 else
22194 {
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 return 1;
22198 fprintf (f, "%lu\n", i);
22199 }
22200 return ferror (f) || fclose (f) != 0;
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22235 See \`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22239 else
22240 ac_cv_sizeof_long_long=0
22241 fi
22242 fi
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22244 fi
22245 rm -f conftest.val
22246 fi
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22249
22250
22251
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22254 _ACEOF
22255
22256
22257 esac
22258
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270
22271 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22274 #endif
22275 #ifdef HAVE_WCHAR_H
22276 # ifdef __CYGWIN__
22277 # include <stddef.h>
22278 # endif
22279 # include <wchar.h>
22280 #endif
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22283 #endif
22284 #include <stdio.h>
22285
22286
22287
22288 typedef wchar_t ac__type_new_;
22289 int
22290 main ()
22291 {
22292 if ((ac__type_new_ *) 0)
22293 return 0;
22294 if (sizeof (ac__type_new_))
22295 return 0;
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 rm -f conftest.$ac_objext
22301 if { (ac_try="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22305 esac
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22318 else
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ac_cv_type_wchar_t=no
22323 fi
22324
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 fi
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22329
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22342 /* confdefs.h. */
22343 _ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347
22348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22351 #endif
22352 #ifdef HAVE_WCHAR_H
22353 # ifdef __CYGWIN__
22354 # include <stddef.h>
22355 # endif
22356 # include <wchar.h>
22357 #endif
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22360 #endif
22361 #include <stdio.h>
22362
22363
22364
22365 typedef wchar_t ac__type_sizeof_;
22366 int
22367 main ()
22368 {
22369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22370 test_array [0] = 0
22371
22372 ;
22373 return 0;
22374 }
22375 _ACEOF
22376 rm -f conftest.$ac_objext
22377 if { (ac_try="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22393 ac_lo=0 ac_mid=0
22394 while :; do
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22405 #endif
22406 #ifdef HAVE_WCHAR_H
22407 # ifdef __CYGWIN__
22408 # include <stddef.h>
22409 # endif
22410 # include <wchar.h>
22411 #endif
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22414 #endif
22415 #include <stdio.h>
22416
22417
22418
22419 typedef wchar_t ac__type_sizeof_;
22420 int
22421 main ()
22422 {
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22424 test_array [0] = 0
22425
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22438 ac_status=$?
22439 grep -v '^ *+' conftest.er1 >conftest.err
22440 rm -f conftest.er1
22441 cat conftest.err >&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.$ac_objext; then
22447 ac_hi=$ac_mid; break
22448 else
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22451
22452 ac_lo=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22454 ac_lo= ac_hi=
22455 break
22456 fi
22457 ac_mid=`expr 2 '*' $ac_mid + 1`
22458 fi
22459
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 done
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 cat >conftest.$ac_ext <<_ACEOF
22467 /* confdefs.h. */
22468 _ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22476 #endif
22477 #ifdef HAVE_WCHAR_H
22478 # ifdef __CYGWIN__
22479 # include <stddef.h>
22480 # endif
22481 # include <wchar.h>
22482 #endif
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22485 #endif
22486 #include <stdio.h>
22487
22488
22489
22490 typedef wchar_t ac__type_sizeof_;
22491 int
22492 main ()
22493 {
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22495 test_array [0] = 0
22496
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_hi=-1 ac_mid=-1
22519 while :; do
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22530 #endif
22531 #ifdef HAVE_WCHAR_H
22532 # ifdef __CYGWIN__
22533 # include <stddef.h>
22534 # endif
22535 # include <wchar.h>
22536 #endif
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22539 #endif
22540 #include <stdio.h>
22541
22542
22543
22544 typedef wchar_t ac__type_sizeof_;
22545 int
22546 main ()
22547 {
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22549 test_array [0] = 0
22550
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_lo=$ac_mid; break
22573 else
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577 ac_hi=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22579 ac_lo= ac_hi=
22580 break
22581 fi
22582 ac_mid=`expr 2 '*' $ac_mid`
22583 fi
22584
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 done
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ac_lo= ac_hi=
22592 fi
22593
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 fi
22596
22597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.$ac_ext <<_ACEOF
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22611 #endif
22612 #ifdef HAVE_WCHAR_H
22613 # ifdef __CYGWIN__
22614 # include <stddef.h>
22615 # endif
22616 # include <wchar.h>
22617 #endif
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22620 #endif
22621 #include <stdio.h>
22622
22623
22624
22625 typedef wchar_t ac__type_sizeof_;
22626 int
22627 main ()
22628 {
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22630 test_array [0] = 0
22631
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22641 esac
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22644 ac_status=$?
22645 grep -v '^ *+' conftest.er1 >conftest.err
22646 rm -f conftest.er1
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22653 ac_hi=$ac_mid
22654 else
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22659 fi
22660
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22662 done
22663 case $ac_lo in
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details." >&2;}
22670 { (exit 77); exit 77; }; }
22671 else
22672 ac_cv_sizeof_wchar_t=0
22673 fi ;;
22674 esac
22675 else
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t"
22686 #endif
22687 #ifdef HAVE_WCHAR_H
22688 # ifdef __CYGWIN__
22689 # include <stddef.h>
22690 # endif
22691 # include <wchar.h>
22692 #endif
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22695 #endif
22696 #include <stdio.h>
22697
22698
22699
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 #include <stdio.h>
22704 #include <stdlib.h>
22705 int
22706 main ()
22707 {
22708
22709 FILE *f = fopen ("conftest.val", "w");
22710 if (! f)
22711 return 1;
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22713 {
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22716 return 1;
22717 fprintf (f, "%ld\n", i);
22718 }
22719 else
22720 {
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 return 1;
22724 fprintf (f, "%lu\n", i);
22725 }
22726 return ferror (f) || fclose (f) != 0;
22727
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22737 esac
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22746 esac
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22753 else
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22757
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22761 See \`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22765 else
22766 ac_cv_sizeof_wchar_t=0
22767 fi
22768 fi
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22770 fi
22771 rm -f conftest.val
22772 fi
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22775
22776
22777
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22780 _ACEOF
22781
22782
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22784 wxUSE_WCHAR_T=yes
22785 else
22786 wxUSE_WCHAR_T=no
22787 fi
22788
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 else
22794
22795 ac_ext=cpp
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800
22801 cat >conftest.$ac_ext <<_ACEOF
22802
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22805 {
22806 va_list ap1, ap2;
22807 va_start(ap1, f);
22808 va_copy(ap2, ap1);
22809 va_end(ap2);
22810 va_end(ap1);
22811 }
22812 int main()
22813 {
22814 foo("hi", 17);
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 wx_cv_func_va_copy=no
22842
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852
22853
22854
22855 fi
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22858
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22862 _ACEOF
22863
22864 else
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 else
22870
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22873
22874 else
22875 cat >conftest.$ac_ext <<_ACEOF
22876
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22879 {
22880 va_list ap1, ap2;
22881 va_start(ap1, f);
22882 ap2 = ap1;
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22884 return 1;
22885 va_end(ap2);
22886 va_end(ap1);
22887 return 0;
22888 }
22889 int main()
22890 {
22891 return foo("hi", 17);
22892 }
22893 _ACEOF
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22915 else
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22919
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22922 fi
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22924 fi
22925
22926
22927
22928
22929 fi
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22932
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22936 _ACEOF
22937
22938 fi
22939 fi
22940
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22942
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 else
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961
22962 #include <stdio.h>
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22964
22965 int
22966 main ()
22967 {
22968
22969 test("%s %d %p", "test", 1, 0);
22970
22971
22972 ;
22973 return 0;
22974 }
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981 esac
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22984 ac_status=$?
22985 grep -v '^ *+' conftest.er1 >conftest.err
22986 rm -f conftest.er1
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22994 else
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 wx_cv_have_variadic_macros=no
22999
23000 fi
23001
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003 ac_ext=c
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008
23009
23010
23011 fi
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23014
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23018 _ACEOF
23019
23020 fi
23021
23022 fi
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23026 fi
23027
23028 if test "$enable_largefile" != no; then
23029 wx_largefile=no
23030
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 else
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23045 int
23046 main ()
23047 {
23048 typedef struct {
23049 unsigned int field: sizeof(off_t) == 8;
23050 } wxlf;
23051
23052 ;
23053 return 0;
23054 }
23055 _ACEOF
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_cv_sys_file_offset_bits=no
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082
23083
23084 fi
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23087
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23089 wx_largefile=yes
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23092 _ACEOF
23093
23094 fi
23095
23096 if test "x$wx_largefile" != "xyes"; then
23097
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23112 int
23113 main ()
23114 {
23115 typedef struct {
23116 unsigned int field: sizeof(off_t) == 8;
23117 } wxlf;
23118
23119 ;
23120 return 0;
23121 }
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23128 esac
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_cv_sys_large_files=no
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149
23150
23151 fi
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23154
23155 if test "$ac_cv_sys_large_files" != no; then
23156 wx_largefile=yes
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23159 _ACEOF
23160
23161 fi
23162
23163 fi
23164
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23170 _ACEOF
23171
23172 fi
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23175 fi
23176
23177
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23181
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23188
23189 ac_ext=cpp
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23194
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201
23202 int
23203 main ()
23204 {
23205
23206 #ifndef __STDC_EXT__
23207 choke me
23208 #endif
23209
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23219 esac
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 wx_cv_STDC_EXT_required=yes
23237
23238 fi
23239
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23241 ac_ext=c
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23246
23247
23248
23249 fi
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23254 fi
23255 fi
23256 else
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23258 fi
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264 while :; do
23265 cat >conftest.$ac_ext <<_ACEOF
23266 /* confdefs.h. */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23272 #include <stdio.h>
23273 int
23274 main ()
23275 {
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305
23306 fi
23307
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23318 #include <stdio.h>
23319 int
23320 main ()
23321 {
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23347 else
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351
23352 fi
23353
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23357 break
23358 done
23359 fi
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23363 no | unknown) ;;
23364 *)
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23367 _ACEOF
23368 ;;
23369 esac
23370 rm -f conftest*
23371
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23376
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23379 _ACEOF
23380
23381 fi
23382
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23385 fi
23386 fi
23387
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23403 int
23404 main ()
23405 {
23406
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23409 #endif
23410 ;
23411 return 0;
23412 }
23413 _ACEOF
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23419 esac
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23422 ac_status=$?
23423 grep -v '^ *+' conftest.er1 >conftest.err
23424 rm -f conftest.er1
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23440 int
23441 main ()
23442 {
23443
23444 #if BYTE_ORDER != BIG_ENDIAN
23445 not big endian
23446 #endif
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456 esac
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23469 else
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23472
23473 ac_cv_c_bigendian=no
23474 fi
23475
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481
23482 fi
23483
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23488 else
23489 cat >conftest.$ac_ext <<_ACEOF
23490 /* confdefs.h. */
23491 _ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 main () {
23496 /* Are we little or big endian? From Harbison&Steele. */
23497 union
23498 {
23499 long l;
23500 char c[sizeof (long)];
23501 } u;
23502 u.l = 1;
23503 exit (u.c[sizeof (long) - 1] == 1);
23504 }
23505 _ACEOF
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23514 ac_status=$?
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23527 else
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23534 fi
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23536 fi
23537
23538
23539 fi
23540 fi
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { 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
23545 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;}
23546 fi
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23550 _ACEOF
23551
23552 fi
23553
23554
23555
23556
23557 ac_ext=cpp
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23562
23563
23564
23565 for ac_header in iostream
23566 do
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 else
23573 cat >conftest.$ac_ext <<_ACEOF
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579
23580
23581 #include <$ac_header>
23582 _ACEOF
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588 esac
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 eval "$as_ac_Header=no"
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 fi
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23616 _ACEOF
23617
23618 fi
23619
23620 done
23621
23622
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23624 :
23625 else
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23628 _ACEOF
23629
23630 fi
23631
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637
23638
23639
23640
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646
23647
23648 ac_ext=cpp
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653
23654
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h. */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661
23662
23663 int
23664 main ()
23665 {
23666
23667 bool b = true;
23668
23669 return 0;
23670
23671 ;
23672 return 0;
23673 }
23674 _ACEOF
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23680 esac
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23683 ac_status=$?
23684 grep -v '^ *+' conftest.er1 >conftest.err
23685 rm -f conftest.er1
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23692
23693 wx_cv_cpp_bool=yes
23694
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23698
23699
23700 wx_cv_cpp_bool=no
23701
23702
23703 fi
23704
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706
23707 ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
23713
23714 fi
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23717
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23721 _ACEOF
23722
23723 fi
23724
23725
23726
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732
23733
23734 ac_ext=cpp
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739
23740
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747
23748 class Foo { public: explicit Foo(int) {} };
23749
23750 int
23751 main ()
23752 {
23753
23754 return 0;
23755
23756 ;
23757 return 0;
23758 }
23759 _ACEOF
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23765 esac
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23768 ac_status=$?
23769 grep -v '^ *+' conftest.er1 >conftest.err
23770 rm -f conftest.er1
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23777
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23787
23788 int
23789 main ()
23790 {
23791
23792 TakeFoo(17);
23793 return 0;
23794
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23807 ac_status=$?
23808 grep -v '^ *+' conftest.er1 >conftest.err
23809 rm -f conftest.er1
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 wx_cv_explicit=no
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 wx_cv_explicit=yes
23822
23823 fi
23824
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 wx_cv_explicit=no
23832
23833 fi
23834
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836
23837 ac_ext=c
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842
23843
23844 fi
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23847
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23851 _ACEOF
23852
23853 fi
23854
23855
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861
23862 ac_ext=cpp
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874
23875 int
23876 main ()
23877 {
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23879 ;
23880 return 0;
23881 }
23882 _ACEOF
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23888 esac
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23891 ac_status=$?
23892 grep -v '^ *+' conftest.er1 >conftest.err
23893 rm -f conftest.er1
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23901 else
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23904
23905 ac_cv_cxx_const_cast=no
23906 fi
23907
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914
23915
23916 fi
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23920
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23923 _ACEOF
23924
23925 fi
23926
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 else
23932
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23938
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23950 int
23951 main ()
23952 {
23953
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23964 esac
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23967 ac_status=$?
23968 grep -v '^ *+' conftest.er1 >conftest.err
23969 rm -f conftest.er1
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23977 else
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23980
23981 ac_cv_cxx_reinterpret_cast=no
23982 fi
23983
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 ac_ext=c
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990
23991
23992 fi
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23996
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
23999 _ACEOF
24000
24001 fi
24002
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24025 int
24026 main ()
24027 {
24028
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24030 ;
24031 return 0;
24032 }
24033 _ACEOF
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24039 esac
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24042 ac_status=$?
24043 grep -v '^ *+' conftest.er1 >conftest.err
24044 rm -f conftest.er1
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24052 else
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24055
24056 ac_cv_cxx_static_cast=no
24057 fi
24058
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 ac_ext=c
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065
24066
24067 fi
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24071
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24074 _ACEOF
24075
24076 fi
24077
24078
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24081 fi
24082
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24085 fi
24086
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24089 fi
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24092 fi
24093
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24096 fi
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24099 fi
24100
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24103 fi
24104
24105 ac_ext=cpp
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110
24111
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24116 else
24117 std_string="std::string"
24118 char_type="char"
24119 fi
24120
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #include <string>
24134 int
24135 main ()
24136 {
24137 $std_string foo;
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24147 esac
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24150 ac_status=$?
24151 grep -v '^ *+' conftest.er1 >conftest.err
24152 rm -f conftest.er1
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24160 else
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24163
24164 wx_cv_class_stdstring=no
24165
24166 fi
24167
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169
24170
24171 fi
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24174
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24179 _ACEOF
24180
24181 fi
24182 else
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188
24189 cat >conftest.$ac_ext <<_ACEOF
24190 /* confdefs.h. */
24191 _ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195
24196 #ifdef HAVE_WCHAR_H
24197 # ifdef __CYGWIN__
24198 # include <stddef.h>
24199 # endif
24200 # include <wchar.h>
24201 #endif
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24204 #endif
24205 #include <stdio.h>
24206 #include <string>
24207
24208 int
24209 main ()
24210 {
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24222 esac
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24225 ac_status=$?
24226 grep -v '^ *+' conftest.er1 >conftest.err
24227 rm -f conftest.er1
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 wx_cv_class_stdbasicstring=no
24240
24241 fi
24242
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244
24245
24246 fi
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24249
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24253 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24257 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24259 else
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24263 fi
24264 fi
24265 fi
24266 fi
24267
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24281
24282 typedef std::istream ac__type_new_;
24283 int
24284 main ()
24285 {
24286 if ((ac__type_new_ *) 0)
24287 return 0;
24288 if (sizeof (ac__type_new_))
24289 return 0;
24290 ;
24291 return 0;
24292 }
24293 _ACEOF
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24299 esac
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24302 ac_status=$?
24303 grep -v '^ *+' conftest.er1 >conftest.err
24304 rm -f conftest.er1
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24312 else
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24315
24316 ac_cv_type_std__istream=no
24317 fi
24318
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 fi
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24324
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24327 _ACEOF
24328
24329
24330 else
24331 wxUSE_STD_IOSTREAM=no
24332 fi
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 cat >conftest.$ac_ext <<_ACEOF
24339 /* confdefs.h. */
24340 _ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24345
24346 typedef std::ostream ac__type_new_;
24347 int
24348 main ()
24349 {
24350 if ((ac__type_new_ *) 0)
24351 return 0;
24352 if (sizeof (ac__type_new_))
24353 return 0;
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24363 esac
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_cv_type_std__ostream=no
24381 fi
24382
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 fi
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24388
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24391 _ACEOF
24392
24393
24394 else
24395 wxUSE_STD_IOSTREAM=no
24396 fi
24397
24398
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24402 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24404 else
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24407 fi
24408 fi
24409 fi
24410
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24416 else
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 #include <string>
24424 #include <functional>
24425 #include <algorithm>
24426 #include <vector>
24427 #include <list>
24428 int
24429 main ()
24430 {
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24457 wx_cv_lib_stl=yes
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 wx_cv_lib_stl=no
24463
24464 fi
24465
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467
24468 fi
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24471
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24474 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24476 fi
24477
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 else
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h. */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489 #include <string>
24490 int
24491 main ()
24492 {
24493 std::string foo, bar;
24494 foo.compare(bar);
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24497 foo.compare("");
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 wx_cv_func_stdstring_compare=no
24527
24528 fi
24529
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531
24532 fi
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24535
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24539 _ACEOF
24540
24541 fi
24542
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24547 else
24548 cat >conftest.$ac_ext <<_ACEOF
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554
24555
24556
24557 #include <hash_map>
24558 _ACEOF
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24564 esac
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24567 ac_status=$?
24568 grep -v '^ *+' conftest.er1 >conftest.err
24569 rm -f conftest.er1
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24580
24581 ac_cv_header_hash_map=no
24582 fi
24583
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24585 fi
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24602 int
24603 main ()
24604 {
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24616 esac
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24629 else
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24632
24633 wx_cv_class_stdhashmapset=no
24634 fi
24635
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637
24638
24639 fi
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24642 fi
24643
24644
24645
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24649 _ACEOF
24650
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24653 _ACEOF
24654
24655 fi
24656
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 cat >conftest.$ac_ext <<_ACEOF
24663 /* confdefs.h. */
24664 _ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668
24669
24670
24671 #include <ext/hash_map>
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 ac_cv_header_ext_hash_map=no
24696 fi
24697
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 fi
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24716 int
24717 main ()
24718 {
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24730 esac
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 wx_cv_class_gnuhashmapset=no
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751
24752
24753 fi
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24756 fi
24757
24758
24759
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24763 _ACEOF
24764
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24767 _ACEOF
24768
24769 fi
24770 fi
24771
24772
24773
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 else
24780
24781 cat >conftest.$ac_ext <<_ACEOF
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787
24788 int
24789 main ()
24790 {
24791
24792 unsigned int value=0;
24793 /* wxAtomicInc doesn't use return value here */
24794 __sync_fetch_and_add(&value, 2);
24795 __sync_sub_and_fetch(&value, 1);
24796 /* but wxAtomicDec does, so mimic that: */
24797 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24798
24799 ;
24800 return 0;
24801 }
24802 _ACEOF
24803 rm -f conftest.$ac_objext conftest$ac_exeext
24804 if { (ac_try="$ac_link"
24805 case "(($ac_try" in
24806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24807 *) ac_try_echo=$ac_try;;
24808 esac
24809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810 (eval "$ac_link") 2>conftest.er1
24811 ac_status=$?
24812 grep -v '^ *+' conftest.er1 >conftest.err
24813 rm -f conftest.er1
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_cxx_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest$ac_exeext &&
24820 $as_test_x conftest$ac_exeext; then
24821 wx_cv_cc_gcc_atomic_builtins=yes
24822 else
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.$ac_ext >&5
24825
24826 wx_cv_cc_gcc_atomic_builtins=no
24827 fi
24828
24829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24830 conftest$ac_exeext conftest.$ac_ext
24831
24832 fi
24833
24834 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24835 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24836 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24837 cat >>confdefs.h <<\_ACEOF
24838 #define HAVE_GCC_ATOMIC_BUILTINS 1
24839 _ACEOF
24840
24841 fi
24842 fi
24843
24844
24845 ac_ext=c
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850
24851
24852
24853 SEARCH_INCLUDE="\
24854 /usr/local/include \
24855 \
24856 /usr/Motif-2.1/include \
24857 /usr/Motif-1.2/include \
24858 /usr/include/Motif1.2 \
24859 \
24860 /usr/dt/include \
24861 /usr/openwin/include \
24862 \
24863 /usr/include/Xm \
24864 \
24865 /usr/X11R6/include \
24866 /usr/X11R6.4/include \
24867 /usr/X11R5/include \
24868 /usr/X11R4/include \
24869 \
24870 /usr/include/X11R6 \
24871 /usr/include/X11R5 \
24872 /usr/include/X11R4 \
24873 \
24874 /usr/local/X11R6/include \
24875 /usr/local/X11R5/include \
24876 /usr/local/X11R4/include \
24877 \
24878 /usr/local/include/X11R6 \
24879 /usr/local/include/X11R5 \
24880 /usr/local/include/X11R4 \
24881 \
24882 /usr/X11/include \
24883 /usr/include/X11 \
24884 /usr/local/X11/include \
24885 /usr/local/include/X11 \
24886 \
24887 /usr/XFree86/include/X11 \
24888 /usr/pkg/include \
24889 \
24890 /usr/openwin/share/include"
24891
24892 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24893 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24894
24895 case "${host}" in
24896 *-*-irix6* )
24897 if test "${wx_cv_std_libpath+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 else
24900
24901 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24902 for e in a so sl dylib dll.a; do
24903 libc="$d/libc.$e"
24904 if test -f $libc; then
24905 save_LIBS="$LIBS"
24906 LIBS="$libc"
24907 cat >conftest.$ac_ext <<_ACEOF
24908 int main() { return 0; }
24909 _ACEOF
24910 rm -f conftest.$ac_objext conftest$ac_exeext
24911 if { (ac_try="$ac_link"
24912 case "(($ac_try" in
24913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24915 esac
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_link") 2>conftest.er1
24918 ac_status=$?
24919 grep -v '^ *+' conftest.er1 >conftest.err
24920 rm -f conftest.er1
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_c_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest$ac_exeext &&
24927 $as_test_x conftest$ac_exeext; then
24928 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24929 else
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.$ac_ext >&5
24932
24933
24934 fi
24935
24936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24937 conftest$ac_exeext conftest.$ac_ext
24938 LIBS="$save_LIBS"
24939 if test "x$wx_cv_std_libpath" != "x"; then
24940 break 2
24941 fi
24942 fi
24943 done
24944 done
24945 if test "x$wx_cv_std_libpath" = "x"; then
24946 wx_cv_std_libpath="lib"
24947 fi
24948
24949
24950 fi
24951
24952 ;;
24953
24954 *-*-solaris2* )
24955 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24956 wx_cv_std_libpath="lib/64"
24957 else
24958 wx_cv_std_libpath="lib"
24959 fi
24960 ;;
24961
24962 *-*-linux* )
24963 if test "$ac_cv_sizeof_void_p" = 8 -a \
24964 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24965 wx_cv_std_libpath="lib64"
24966 else
24967 wx_cv_std_libpath="lib"
24968 fi
24969 ;;
24970
24971 *)
24972 wx_cv_std_libpath="lib";
24973 ;;
24974 esac
24975
24976 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24977 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24978
24979 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24980
24981 if test "$build" != "$host" -a "$GCC" = yes; then
24982 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24983 cross_root=`dirname $cross_root`
24984 cross_root=`dirname $cross_root`
24985
24986 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24987 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24988 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24989
24990 if test -z "$PKG_CONFIG_PATH"; then
24991 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24992 export PKG_CONFIG_PATH
24993 fi
24994
24995 if test -z "$x_includes" -o "$x_includes" = NONE; then
24996
24997 ac_find_includes=
24998 for ac_dir in $SEARCH_INCLUDE /usr/include;
24999 do
25000 if test -f "$ac_dir/X11/Intrinsic.h"; then
25001 ac_find_includes=$ac_dir
25002 break
25003 fi
25004 done
25005
25006 x_includes=$ac_find_includes
25007 fi
25008 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25009
25010 ac_find_libraries=
25011 for ac_dir in $SEARCH_LIB;
25012 do
25013 for ac_extension in a so sl dylib dll.a; do
25014 if test -f "$ac_dir/libXt.$ac_extension"; then
25015 ac_find_libraries=$ac_dir
25016 break 2
25017 fi
25018 done
25019 done
25020
25021 x_libraries=$ac_find_libraries
25022 fi
25023 fi
25024 fi
25025
25026
25027 cat >confcache <<\_ACEOF
25028 # This file is a shell script that caches the results of configure
25029 # tests run on this system so they can be shared between configure
25030 # scripts and configure runs, see configure's option --config-cache.
25031 # It is not useful on other systems. If it contains results you don't
25032 # want to keep, you may remove or edit it.
25033 #
25034 # config.status only pays attention to the cache file if you give it
25035 # the --recheck option to rerun configure.
25036 #
25037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25039 # following values.
25040
25041 _ACEOF
25042
25043 # The following way of writing the cache mishandles newlines in values,
25044 # but we know of no workaround that is simple, portable, and efficient.
25045 # So, we kill variables containing newlines.
25046 # Ultrix sh set writes to stderr and can't be redirected directly,
25047 # and sets the high bit in the cache file unless we assign to the vars.
25048 (
25049 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25050 eval ac_val=\$$ac_var
25051 case $ac_val in #(
25052 *${as_nl}*)
25053 case $ac_var in #(
25054 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25055 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25056 esac
25057 case $ac_var in #(
25058 _ | IFS | as_nl) ;; #(
25059 *) $as_unset $ac_var ;;
25060 esac ;;
25061 esac
25062 done
25063
25064 (set) 2>&1 |
25065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25066 *${as_nl}ac_space=\ *)
25067 # `set' does not quote correctly, so add quotes (double-quote
25068 # substitution turns \\\\ into \\, and sed turns \\ into \).
25069 sed -n \
25070 "s/'/'\\\\''/g;
25071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25072 ;; #(
25073 *)
25074 # `set' quotes correctly as required by POSIX, so do not add quotes.
25075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25076 ;;
25077 esac |
25078 sort
25079 ) |
25080 sed '
25081 /^ac_cv_env_/b end
25082 t clear
25083 :clear
25084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25085 t end
25086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25087 :end' >>confcache
25088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25089 if test -w "$cache_file"; then
25090 test "x$cache_file" != "x/dev/null" &&
25091 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25092 echo "$as_me: updating cache $cache_file" >&6;}
25093 cat confcache >$cache_file
25094 else
25095 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25096 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25097 fi
25098 fi
25099 rm -f confcache
25100
25101 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25102 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25103 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25104 if test "${wx_cv_lib_glibc21+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25106 else
25107
25108 cat >conftest.$ac_ext <<_ACEOF
25109 /* confdefs.h. */
25110 _ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114 #include <features.h>
25115 int
25116 main ()
25117 {
25118
25119 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25120 not glibc 2.1
25121 #endif
25122
25123 ;
25124 return 0;
25125 }
25126 _ACEOF
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25132 esac
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25135 ac_status=$?
25136 grep -v '^ *+' conftest.er1 >conftest.err
25137 rm -f conftest.er1
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_c_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25144
25145 wx_cv_lib_glibc21=yes
25146
25147 else
25148 echo "$as_me: failed program was:" >&5
25149 sed 's/^/| /' conftest.$ac_ext >&5
25150
25151
25152 wx_cv_lib_glibc21=no
25153
25154
25155 fi
25156
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158
25159 fi
25160 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25161 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25162 if test "$wx_cv_lib_glibc21" = "yes"; then
25163 cat >>confdefs.h <<\_ACEOF
25164 #define wxHAVE_GLIBC2 1
25165 _ACEOF
25166
25167 fi
25168 fi
25169
25170 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25171 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25172 cat >>confdefs.h <<\_ACEOF
25173 #define _GNU_SOURCE 1
25174 _ACEOF
25175
25176 fi
25177 fi
25178
25179 have_cos=0
25180 have_floor=0
25181
25182 for ac_func in cos
25183 do
25184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 else
25190 cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h. */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25198 #define $ac_func innocuous_$ac_func
25199
25200 /* System header to define __stub macros and hopefully few prototypes,
25201 which can conflict with char $ac_func (); below.
25202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25203 <limits.h> exists even on freestanding compilers. */
25204
25205 #ifdef __STDC__
25206 # include <limits.h>
25207 #else
25208 # include <assert.h>
25209 #endif
25210
25211 #undef $ac_func
25212
25213 /* Override any GCC internal prototype to avoid an error.
25214 Use char because int might match the return type of a GCC
25215 builtin and then its argument prototype would still apply. */
25216 #ifdef __cplusplus
25217 extern "C"
25218 #endif
25219 char $ac_func ();
25220 /* The GNU C library defines this for functions which it implements
25221 to always fail with ENOSYS. Some functions are actually named
25222 something starting with __ and the normal name is an alias. */
25223 #if defined __stub_$ac_func || defined __stub___$ac_func
25224 choke me
25225 #endif
25226
25227 int
25228 main ()
25229 {
25230 return $ac_func ();
25231 ;
25232 return 0;
25233 }
25234 _ACEOF
25235 rm -f conftest.$ac_objext conftest$ac_exeext
25236 if { (ac_try="$ac_link"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_link") 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest$ac_exeext &&
25252 $as_test_x conftest$ac_exeext; then
25253 eval "$as_ac_var=yes"
25254 else
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.$ac_ext >&5
25257
25258 eval "$as_ac_var=no"
25259 fi
25260
25261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25262 conftest$ac_exeext conftest.$ac_ext
25263 fi
25264 ac_res=`eval echo '${'$as_ac_var'}'`
25265 { echo "$as_me:$LINENO: result: $ac_res" >&5
25266 echo "${ECHO_T}$ac_res" >&6; }
25267 if test `eval echo '${'$as_ac_var'}'` = yes; then
25268 cat >>confdefs.h <<_ACEOF
25269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25270 _ACEOF
25271 have_cos=1
25272 fi
25273 done
25274
25275
25276 for ac_func in floor
25277 do
25278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 else
25284 cat >conftest.$ac_ext <<_ACEOF
25285 /* confdefs.h. */
25286 _ACEOF
25287 cat confdefs.h >>conftest.$ac_ext
25288 cat >>conftest.$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define $ac_func innocuous_$ac_func
25293
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char $ac_func (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25298
25299 #ifdef __STDC__
25300 # include <limits.h>
25301 #else
25302 # include <assert.h>
25303 #endif
25304
25305 #undef $ac_func
25306
25307 /* Override any GCC internal prototype to avoid an error.
25308 Use char because int might match the return type of a GCC
25309 builtin and then its argument prototype would still apply. */
25310 #ifdef __cplusplus
25311 extern "C"
25312 #endif
25313 char $ac_func ();
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined __stub_$ac_func || defined __stub___$ac_func
25318 choke me
25319 #endif
25320
25321 int
25322 main ()
25323 {
25324 return $ac_func ();
25325 ;
25326 return 0;
25327 }
25328 _ACEOF
25329 rm -f conftest.$ac_objext conftest$ac_exeext
25330 if { (ac_try="$ac_link"
25331 case "(($ac_try" in
25332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25333 *) ac_try_echo=$ac_try;;
25334 esac
25335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25336 (eval "$ac_link") 2>conftest.er1
25337 ac_status=$?
25338 grep -v '^ *+' conftest.er1 >conftest.err
25339 rm -f conftest.er1
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } && {
25343 test -z "$ac_c_werror_flag" ||
25344 test ! -s conftest.err
25345 } && test -s conftest$ac_exeext &&
25346 $as_test_x conftest$ac_exeext; then
25347 eval "$as_ac_var=yes"
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352 eval "$as_ac_var=no"
25353 fi
25354
25355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25356 conftest$ac_exeext conftest.$ac_ext
25357 fi
25358 ac_res=`eval echo '${'$as_ac_var'}'`
25359 { echo "$as_me:$LINENO: result: $ac_res" >&5
25360 echo "${ECHO_T}$ac_res" >&6; }
25361 if test `eval echo '${'$as_ac_var'}'` = yes; then
25362 cat >>confdefs.h <<_ACEOF
25363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25364 _ACEOF
25365 have_floor=1
25366 fi
25367 done
25368
25369 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25370 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25371 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25372 { echo "$as_me:$LINENO: result: yes" >&5
25373 echo "${ECHO_T}yes" >&6; }
25374 else
25375 { echo "$as_me:$LINENO: result: no" >&5
25376 echo "${ECHO_T}no" >&6; }
25377 LIBS="$LIBS -lm"
25378 # use different functions to avoid configure caching
25379 have_sin=0
25380 have_ceil=0
25381
25382 for ac_func in sin
25383 do
25384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25387 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 else
25390 cat >conftest.$ac_ext <<_ACEOF
25391 /* confdefs.h. */
25392 _ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25398 #define $ac_func innocuous_$ac_func
25399
25400 /* System header to define __stub macros and hopefully few prototypes,
25401 which can conflict with char $ac_func (); below.
25402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 <limits.h> exists even on freestanding compilers. */
25404
25405 #ifdef __STDC__
25406 # include <limits.h>
25407 #else
25408 # include <assert.h>
25409 #endif
25410
25411 #undef $ac_func
25412
25413 /* Override any GCC internal prototype to avoid an error.
25414 Use char because int might match the return type of a GCC
25415 builtin and then its argument prototype would still apply. */
25416 #ifdef __cplusplus
25417 extern "C"
25418 #endif
25419 char $ac_func ();
25420 /* The GNU C library defines this for functions which it implements
25421 to always fail with ENOSYS. Some functions are actually named
25422 something starting with __ and the normal name is an alias. */
25423 #if defined __stub_$ac_func || defined __stub___$ac_func
25424 choke me
25425 #endif
25426
25427 int
25428 main ()
25429 {
25430 return $ac_func ();
25431 ;
25432 return 0;
25433 }
25434 _ACEOF
25435 rm -f conftest.$ac_objext conftest$ac_exeext
25436 if { (ac_try="$ac_link"
25437 case "(($ac_try" in
25438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25439 *) ac_try_echo=$ac_try;;
25440 esac
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_link") 2>conftest.er1
25443 ac_status=$?
25444 grep -v '^ *+' conftest.er1 >conftest.err
25445 rm -f conftest.er1
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_c_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest$ac_exeext &&
25452 $as_test_x conftest$ac_exeext; then
25453 eval "$as_ac_var=yes"
25454 else
25455 echo "$as_me: failed program was:" >&5
25456 sed 's/^/| /' conftest.$ac_ext >&5
25457
25458 eval "$as_ac_var=no"
25459 fi
25460
25461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25462 conftest$ac_exeext conftest.$ac_ext
25463 fi
25464 ac_res=`eval echo '${'$as_ac_var'}'`
25465 { echo "$as_me:$LINENO: result: $ac_res" >&5
25466 echo "${ECHO_T}$ac_res" >&6; }
25467 if test `eval echo '${'$as_ac_var'}'` = yes; then
25468 cat >>confdefs.h <<_ACEOF
25469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25470 _ACEOF
25471 have_sin=1
25472 fi
25473 done
25474
25475
25476 for ac_func in ceil
25477 do
25478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 else
25484 cat >conftest.$ac_ext <<_ACEOF
25485 /* confdefs.h. */
25486 _ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25492 #define $ac_func innocuous_$ac_func
25493
25494 /* System header to define __stub macros and hopefully few prototypes,
25495 which can conflict with char $ac_func (); below.
25496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25497 <limits.h> exists even on freestanding compilers. */
25498
25499 #ifdef __STDC__
25500 # include <limits.h>
25501 #else
25502 # include <assert.h>
25503 #endif
25504
25505 #undef $ac_func
25506
25507 /* Override any GCC internal prototype to avoid an error.
25508 Use char because int might match the return type of a GCC
25509 builtin and then its argument prototype would still apply. */
25510 #ifdef __cplusplus
25511 extern "C"
25512 #endif
25513 char $ac_func ();
25514 /* The GNU C library defines this for functions which it implements
25515 to always fail with ENOSYS. Some functions are actually named
25516 something starting with __ and the normal name is an alias. */
25517 #if defined __stub_$ac_func || defined __stub___$ac_func
25518 choke me
25519 #endif
25520
25521 int
25522 main ()
25523 {
25524 return $ac_func ();
25525 ;
25526 return 0;
25527 }
25528 _ACEOF
25529 rm -f conftest.$ac_objext conftest$ac_exeext
25530 if { (ac_try="$ac_link"
25531 case "(($ac_try" in
25532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25533 *) ac_try_echo=$ac_try;;
25534 esac
25535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25536 (eval "$ac_link") 2>conftest.er1
25537 ac_status=$?
25538 grep -v '^ *+' conftest.er1 >conftest.err
25539 rm -f conftest.er1
25540 cat conftest.err >&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); } && {
25543 test -z "$ac_c_werror_flag" ||
25544 test ! -s conftest.err
25545 } && test -s conftest$ac_exeext &&
25546 $as_test_x conftest$ac_exeext; then
25547 eval "$as_ac_var=yes"
25548 else
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25551
25552 eval "$as_ac_var=no"
25553 fi
25554
25555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25556 conftest$ac_exeext conftest.$ac_ext
25557 fi
25558 ac_res=`eval echo '${'$as_ac_var'}'`
25559 { echo "$as_me:$LINENO: result: $ac_res" >&5
25560 echo "${ECHO_T}$ac_res" >&6; }
25561 if test `eval echo '${'$as_ac_var'}'` = yes; then
25562 cat >>confdefs.h <<_ACEOF
25563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25564 _ACEOF
25565 have_ceil=1
25566 fi
25567 done
25568
25569 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25570 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25571 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25572 { echo "$as_me:$LINENO: result: yes" >&5
25573 echo "${ECHO_T}yes" >&6; }
25574 else
25575 { echo "$as_me:$LINENO: result: no" >&5
25576 echo "${ECHO_T}no" >&6; }
25577 # not sure we should warn the user, crash, etc.
25578 fi
25579 fi
25580
25581 ac_ext=cpp
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25586
25587 if test "wxUSE_UNICODE" = "yes"; then
25588
25589 for wx_func in wcstoull
25590 do
25591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25593 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 else
25596
25597 cat >conftest.$ac_ext <<_ACEOF
25598
25599 /* confdefs.h. */
25600 _ACEOF
25601 cat confdefs.h >>conftest.$ac_ext
25602 cat >>conftest.$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604
25605
25606 $ac_includes_default
25607
25608 int
25609 main ()
25610 {
25611
25612 #ifndef $wx_func
25613 &$wx_func;
25614 #endif
25615
25616
25617 ;
25618 return 0;
25619 }
25620
25621 _ACEOF
25622 rm -f conftest.$ac_objext conftest$ac_exeext
25623 if { (ac_try="$ac_link"
25624 case "(($ac_try" in
25625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25626 *) ac_try_echo=$ac_try;;
25627 esac
25628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629 (eval "$ac_link") 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } && {
25636 test -z "$ac_cxx_werror_flag" ||
25637 test ! -s conftest.err
25638 } && test -s conftest$ac_exeext &&
25639 $as_test_x conftest$ac_exeext; then
25640 eval wx_cv_func_$wx_func=yes
25641 else
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25644
25645 eval wx_cv_func_$wx_func=no
25646 fi
25647
25648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25649 conftest$ac_exeext conftest.$ac_ext
25650
25651 fi
25652 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25653 { echo "$as_me:$LINENO: result: $ac_res" >&5
25654 echo "${ECHO_T}$ac_res" >&6; }
25655
25656 if eval test \$wx_cv_func_$wx_func = yes
25657 then
25658 cat >>confdefs.h <<_ACEOF
25659 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25660 _ACEOF
25661
25662
25663 else
25664 :
25665
25666 fi
25667 done
25668
25669 else
25670
25671 for wx_func in strtoull
25672 do
25673 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25674 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25675 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25677 else
25678
25679 cat >conftest.$ac_ext <<_ACEOF
25680
25681 /* confdefs.h. */
25682 _ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686
25687
25688 $ac_includes_default
25689
25690 int
25691 main ()
25692 {
25693
25694 #ifndef $wx_func
25695 &$wx_func;
25696 #endif
25697
25698
25699 ;
25700 return 0;
25701 }
25702
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (ac_try="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25709 esac
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25712 ac_status=$?
25713 grep -v '^ *+' conftest.er1 >conftest.err
25714 rm -f conftest.er1
25715 cat conftest.err >&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_cxx_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest$ac_exeext &&
25721 $as_test_x conftest$ac_exeext; then
25722 eval wx_cv_func_$wx_func=yes
25723 else
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25726
25727 eval wx_cv_func_$wx_func=no
25728 fi
25729
25730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25731 conftest$ac_exeext conftest.$ac_ext
25732
25733 fi
25734 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25735 { echo "$as_me:$LINENO: result: $ac_res" >&5
25736 echo "${ECHO_T}$ac_res" >&6; }
25737
25738 if eval test \$wx_cv_func_$wx_func = yes
25739 then
25740 cat >>confdefs.h <<_ACEOF
25741 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25742 _ACEOF
25743
25744
25745 else
25746 :
25747
25748 fi
25749 done
25750
25751 fi
25752 ac_ext=c
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25757
25758
25759
25760
25761 if test "$wxUSE_REGEX" != "no"; then
25762 cat >>confdefs.h <<\_ACEOF
25763 #define wxUSE_REGEX 1
25764 _ACEOF
25765
25766
25767 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25768 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25769 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25770 wxUSE_REGEX=builtin
25771 fi
25772
25773 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25774 { echo "$as_me:$LINENO: checking for regex.h" >&5
25775 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25776 if test "${ac_cv_header_regex_h+set}" = set; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785
25786
25787 #include <regex.h>
25788 _ACEOF
25789 rm -f conftest.$ac_objext
25790 if { (ac_try="$ac_compile"
25791 case "(($ac_try" in
25792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25793 *) ac_try_echo=$ac_try;;
25794 esac
25795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25796 (eval "$ac_compile") 2>conftest.er1
25797 ac_status=$?
25798 grep -v '^ *+' conftest.er1 >conftest.err
25799 rm -f conftest.er1
25800 cat conftest.err >&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } && {
25803 test -z "$ac_c_werror_flag" ||
25804 test ! -s conftest.err
25805 } && test -s conftest.$ac_objext; then
25806 ac_cv_header_regex_h=yes
25807 else
25808 echo "$as_me: failed program was:" >&5
25809 sed 's/^/| /' conftest.$ac_ext >&5
25810
25811 ac_cv_header_regex_h=no
25812 fi
25813
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25815 fi
25816 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25817 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25818 if test $ac_cv_header_regex_h = yes; then
25819
25820
25821 for ac_func in regcomp re_search
25822 do
25823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25828 else
25829 cat >conftest.$ac_ext <<_ACEOF
25830 /* confdefs.h. */
25831 _ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25837 #define $ac_func innocuous_$ac_func
25838
25839 /* System header to define __stub macros and hopefully few prototypes,
25840 which can conflict with char $ac_func (); below.
25841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25842 <limits.h> exists even on freestanding compilers. */
25843
25844 #ifdef __STDC__
25845 # include <limits.h>
25846 #else
25847 # include <assert.h>
25848 #endif
25849
25850 #undef $ac_func
25851
25852 /* Override any GCC internal prototype to avoid an error.
25853 Use char because int might match the return type of a GCC
25854 builtin and then its argument prototype would still apply. */
25855 #ifdef __cplusplus
25856 extern "C"
25857 #endif
25858 char $ac_func ();
25859 /* The GNU C library defines this for functions which it implements
25860 to always fail with ENOSYS. Some functions are actually named
25861 something starting with __ and the normal name is an alias. */
25862 #if defined __stub_$ac_func || defined __stub___$ac_func
25863 choke me
25864 #endif
25865
25866 int
25867 main ()
25868 {
25869 return $ac_func ();
25870 ;
25871 return 0;
25872 }
25873 _ACEOF
25874 rm -f conftest.$ac_objext conftest$ac_exeext
25875 if { (ac_try="$ac_link"
25876 case "(($ac_try" in
25877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25878 *) ac_try_echo=$ac_try;;
25879 esac
25880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25881 (eval "$ac_link") 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_c_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest$ac_exeext &&
25891 $as_test_x conftest$ac_exeext; then
25892 eval "$as_ac_var=yes"
25893 else
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25896
25897 eval "$as_ac_var=no"
25898 fi
25899
25900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25901 conftest$ac_exeext conftest.$ac_ext
25902 fi
25903 ac_res=`eval echo '${'$as_ac_var'}'`
25904 { echo "$as_me:$LINENO: result: $ac_res" >&5
25905 echo "${ECHO_T}$ac_res" >&6; }
25906 if test `eval echo '${'$as_ac_var'}'` = yes; then
25907 cat >>confdefs.h <<_ACEOF
25908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25909 _ACEOF
25910
25911 fi
25912 done
25913
25914 fi
25915
25916
25917
25918 if test "x$ac_cv_func_regcomp" != "xyes"; then
25919 if test "$wxUSE_REGEX" = "sys" ; then
25920 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25921 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25922 { (exit 1); exit 1; }; }
25923 else
25924 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25925 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25926 wxUSE_REGEX=builtin
25927 fi
25928 else
25929 wxUSE_REGEX=sys
25930 cat >>confdefs.h <<\_ACEOF
25931 #define WX_NO_REGEX_ADVANCED 1
25932 _ACEOF
25933
25934 fi
25935 fi
25936 fi
25937
25938
25939 ZLIB_LINK=
25940 if test "$wxUSE_ZLIB" != "no" ; then
25941 cat >>confdefs.h <<\_ACEOF
25942 #define wxUSE_ZLIB 1
25943 _ACEOF
25944
25945
25946 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25947 if test "$USE_DARWIN" = 1; then
25948 system_zlib_h_ok="yes"
25949 else
25950 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25951 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25952 if test "${ac_cv_header_zlib_h+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25954 else
25955 if test "$cross_compiling" = yes; then
25956 unset ac_cv_header_zlib_h
25957
25958 else
25959 cat >conftest.$ac_ext <<_ACEOF
25960 /* confdefs.h. */
25961 _ACEOF
25962 cat confdefs.h >>conftest.$ac_ext
25963 cat >>conftest.$ac_ext <<_ACEOF
25964 /* end confdefs.h. */
25965
25966 #include <zlib.h>
25967 #include <stdio.h>
25968
25969 int main()
25970 {
25971 FILE *f=fopen("conftestval", "w");
25972 if (!f) exit(1);
25973 fprintf(f, "%s",
25974 ZLIB_VERSION[0] == '1' &&
25975 (ZLIB_VERSION[2] > '1' ||
25976 (ZLIB_VERSION[2] == '1' &&
25977 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25978 exit(0);
25979 }
25980
25981 _ACEOF
25982 rm -f conftest$ac_exeext
25983 if { (ac_try="$ac_link"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25987 esac
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_link") 2>&5
25990 ac_status=$?
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25993 { (case "(($ac_try" in
25994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25995 *) ac_try_echo=$ac_try;;
25996 esac
25997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25998 (eval "$ac_try") 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; }; then
26002 ac_cv_header_zlib_h=`cat conftestval`
26003 else
26004 echo "$as_me: program exited with status $ac_status" >&5
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26007
26008 ( exit $ac_status )
26009 ac_cv_header_zlib_h=no
26010 fi
26011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26012 fi
26013
26014
26015
26016 fi
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26018 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26019 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26020 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26021 if test "${ac_cv_header_zlib_h+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024 cat >conftest.$ac_ext <<_ACEOF
26025 /* confdefs.h. */
26026 _ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030
26031
26032 #include <zlib.h>
26033 _ACEOF
26034 rm -f conftest.$ac_objext
26035 if { (ac_try="$ac_compile"
26036 case "(($ac_try" in
26037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26038 *) ac_try_echo=$ac_try;;
26039 esac
26040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26041 (eval "$ac_compile") 2>conftest.er1
26042 ac_status=$?
26043 grep -v '^ *+' conftest.er1 >conftest.err
26044 rm -f conftest.er1
26045 cat conftest.err >&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } && {
26048 test -z "$ac_c_werror_flag" ||
26049 test ! -s conftest.err
26050 } && test -s conftest.$ac_objext; then
26051 ac_cv_header_zlib_h=yes
26052 else
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.$ac_ext >&5
26055
26056 ac_cv_header_zlib_h=no
26057 fi
26058
26059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26060 fi
26061 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26062 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26063
26064
26065
26066 system_zlib_h_ok=$ac_cv_header_zlib_h
26067 fi
26068
26069 if test "$system_zlib_h_ok" = "yes"; then
26070 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26071 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26072 if test "${ac_cv_lib_z_deflate+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 ac_check_lib_save_LIBS=$LIBS
26076 LIBS="-lz $LIBS"
26077 cat >conftest.$ac_ext <<_ACEOF
26078 /* confdefs.h. */
26079 _ACEOF
26080 cat confdefs.h >>conftest.$ac_ext
26081 cat >>conftest.$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26083
26084 /* Override any GCC internal prototype to avoid an error.
26085 Use char because int might match the return type of a GCC
26086 builtin and then its argument prototype would still apply. */
26087 #ifdef __cplusplus
26088 extern "C"
26089 #endif
26090 char deflate ();
26091 int
26092 main ()
26093 {
26094 return deflate ();
26095 ;
26096 return 0;
26097 }
26098 _ACEOF
26099 rm -f conftest.$ac_objext conftest$ac_exeext
26100 if { (ac_try="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26104 esac
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26107 ac_status=$?
26108 grep -v '^ *+' conftest.er1 >conftest.err
26109 rm -f conftest.er1
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 ac_cv_lib_z_deflate=yes
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 ac_cv_lib_z_deflate=no
26123 fi
26124
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26127 LIBS=$ac_check_lib_save_LIBS
26128 fi
26129 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26130 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26131 if test $ac_cv_lib_z_deflate = yes; then
26132 ZLIB_LINK=" -lz"
26133 fi
26134
26135 fi
26136
26137 if test "x$ZLIB_LINK" = "x" ; then
26138 if test "$wxUSE_ZLIB" = "sys" ; then
26139 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26140 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26141 { (exit 1); exit 1; }; }
26142 else
26143 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26144 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26145 wxUSE_ZLIB=builtin
26146 fi
26147 else
26148 wxUSE_ZLIB=sys
26149 fi
26150 fi
26151 fi
26152
26153
26154 PNG_LINK=
26155 if test "$wxUSE_LIBPNG" != "no" ; then
26156 cat >>confdefs.h <<\_ACEOF
26157 #define wxUSE_LIBPNG 1
26158 _ACEOF
26159
26160
26161 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26162 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26163 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26164 wxUSE_LIBPNG=sys
26165 fi
26166
26167 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26168 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26169 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26170 wxUSE_LIBPNG=builtin
26171 fi
26172
26173 if test "$wxUSE_MGL" != 1 ; then
26174 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26175 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26176 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26177 if test "${ac_cv_header_png_h+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 else
26180 if test "$cross_compiling" = yes; then
26181 unset ac_cv_header_png_h
26182
26183 else
26184 cat >conftest.$ac_ext <<_ACEOF
26185 /* confdefs.h. */
26186 _ACEOF
26187 cat confdefs.h >>conftest.$ac_ext
26188 cat >>conftest.$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26190
26191 #include <png.h>
26192 #include <stdio.h>
26193
26194 int main()
26195 {
26196 FILE *f=fopen("conftestval", "w");
26197 if (!f) exit(1);
26198 fprintf(f, "%s",
26199 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26200 exit(0);
26201 }
26202
26203 _ACEOF
26204 rm -f conftest$ac_exeext
26205 if { (ac_try="$ac_link"
26206 case "(($ac_try" in
26207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26208 *) ac_try_echo=$ac_try;;
26209 esac
26210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26211 (eval "$ac_link") 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26215 { (case "(($ac_try" in
26216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26218 esac
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_try") 2>&5
26221 ac_status=$?
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); }; }; then
26224 ac_cv_header_png_h=`cat conftestval`
26225 else
26226 echo "$as_me: program exited with status $ac_status" >&5
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26229
26230 ( exit $ac_status )
26231 ac_cv_header_png_h=no
26232 fi
26233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26234 fi
26235
26236
26237
26238 fi
26239 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26240 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26241 { echo "$as_me:$LINENO: checking for png.h" >&5
26242 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26243 if test "${ac_cv_header_png_h+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252
26253
26254 #include <png.h>
26255 _ACEOF
26256 rm -f conftest.$ac_objext
26257 if { (ac_try="$ac_compile"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26260 *) ac_try_echo=$ac_try;;
26261 esac
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_compile") 2>conftest.er1
26264 ac_status=$?
26265 grep -v '^ *+' conftest.er1 >conftest.err
26266 rm -f conftest.er1
26267 cat conftest.err >&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_c_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest.$ac_objext; then
26273 ac_cv_header_png_h=yes
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 ac_cv_header_png_h=no
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26282 fi
26283 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26284 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26285
26286
26287
26288 if test "$ac_cv_header_png_h" = "yes"; then
26289 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26290 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26291 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 else
26294 ac_check_lib_save_LIBS=$LIBS
26295 LIBS="-lpng -lz -lm $LIBS"
26296 cat >conftest.$ac_ext <<_ACEOF
26297 /* confdefs.h. */
26298 _ACEOF
26299 cat confdefs.h >>conftest.$ac_ext
26300 cat >>conftest.$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26302
26303 /* Override any GCC internal prototype to avoid an error.
26304 Use char because int might match the return type of a GCC
26305 builtin and then its argument prototype would still apply. */
26306 #ifdef __cplusplus
26307 extern "C"
26308 #endif
26309 char png_check_sig ();
26310 int
26311 main ()
26312 {
26313 return png_check_sig ();
26314 ;
26315 return 0;
26316 }
26317 _ACEOF
26318 rm -f conftest.$ac_objext conftest$ac_exeext
26319 if { (ac_try="$ac_link"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26323 esac
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_link") 2>conftest.er1
26326 ac_status=$?
26327 grep -v '^ *+' conftest.er1 >conftest.err
26328 rm -f conftest.er1
26329 cat conftest.err >&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } && {
26332 test -z "$ac_c_werror_flag" ||
26333 test ! -s conftest.err
26334 } && test -s conftest$ac_exeext &&
26335 $as_test_x conftest$ac_exeext; then
26336 ac_cv_lib_png_png_check_sig=yes
26337 else
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26340
26341 ac_cv_lib_png_png_check_sig=no
26342 fi
26343
26344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26345 conftest$ac_exeext conftest.$ac_ext
26346 LIBS=$ac_check_lib_save_LIBS
26347 fi
26348 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26349 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26350 if test $ac_cv_lib_png_png_check_sig = yes; then
26351 PNG_LINK=" -lpng -lz"
26352 fi
26353
26354 fi
26355
26356 if test "x$PNG_LINK" = "x" ; then
26357 if test "$wxUSE_LIBPNG" = "sys" ; then
26358 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26359 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26360 { (exit 1); exit 1; }; }
26361 else
26362 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26363 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26364 wxUSE_LIBPNG=builtin
26365 fi
26366 else
26367 wxUSE_LIBPNG=sys
26368 fi
26369 fi
26370 fi
26371 fi
26372
26373
26374 JPEG_LINK=
26375 if test "$wxUSE_LIBJPEG" != "no" ; then
26376 cat >>confdefs.h <<\_ACEOF
26377 #define wxUSE_LIBJPEG 1
26378 _ACEOF
26379
26380
26381 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26382 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26383 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26384 wxUSE_LIBJPEG=sys
26385 fi
26386
26387 if test "$wxUSE_MGL" != 1 ; then
26388 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26389 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26390 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26391 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26393 else
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400
26401 #undef HAVE_STDLIB_H
26402 #include <stdio.h>
26403 #include <jpeglib.h>
26404
26405 int
26406 main ()
26407 {
26408
26409
26410 ;
26411 return 0;
26412 }
26413 _ACEOF
26414 rm -f conftest.$ac_objext
26415 if { (ac_try="$ac_compile"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26419 esac
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_compile") 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } && {
26428 test -z "$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26430 } && test -s conftest.$ac_objext; then
26431 ac_cv_header_jpeglib_h=yes
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_cv_header_jpeglib_h=no
26437
26438 fi
26439
26440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441
26442 fi
26443
26444 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26445 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26446
26447 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26448 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26449 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26450 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453 ac_check_lib_save_LIBS=$LIBS
26454 LIBS="-ljpeg $LIBS"
26455 cat >conftest.$ac_ext <<_ACEOF
26456 /* confdefs.h. */
26457 _ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461
26462 /* Override any GCC internal prototype to avoid an error.
26463 Use char because int might match the return type of a GCC
26464 builtin and then its argument prototype would still apply. */
26465 #ifdef __cplusplus
26466 extern "C"
26467 #endif
26468 char jpeg_read_header ();
26469 int
26470 main ()
26471 {
26472 return jpeg_read_header ();
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (ac_try="$ac_link"
26479 case "(($ac_try" in
26480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26481 *) ac_try_echo=$ac_try;;
26482 esac
26483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484 (eval "$ac_link") 2>conftest.er1
26485 ac_status=$?
26486 grep -v '^ *+' conftest.er1 >conftest.err
26487 rm -f conftest.er1
26488 cat conftest.err >&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } && {
26491 test -z "$ac_c_werror_flag" ||
26492 test ! -s conftest.err
26493 } && test -s conftest$ac_exeext &&
26494 $as_test_x conftest$ac_exeext; then
26495 ac_cv_lib_jpeg_jpeg_read_header=yes
26496 else
26497 echo "$as_me: failed program was:" >&5
26498 sed 's/^/| /' conftest.$ac_ext >&5
26499
26500 ac_cv_lib_jpeg_jpeg_read_header=no
26501 fi
26502
26503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26504 conftest$ac_exeext conftest.$ac_ext
26505 LIBS=$ac_check_lib_save_LIBS
26506 fi
26507 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26508 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26509 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26510 JPEG_LINK=" -ljpeg"
26511 fi
26512
26513 fi
26514
26515 if test "x$JPEG_LINK" = "x" ; then
26516 if test "$wxUSE_LIBJPEG" = "sys" ; then
26517 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26518 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26519 { (exit 1); exit 1; }; }
26520 else
26521 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26522 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26523 wxUSE_LIBJPEG=builtin
26524 fi
26525 else
26526 wxUSE_LIBJPEG=sys
26527
26528 if test "$wxUSE_MSW" = 1; then
26529 { echo "$as_me:$LINENO: checking for boolean" >&5
26530 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26531 if test "${ac_cv_type_boolean+set}" = set; then
26532 echo $ECHO_N "(cached) $ECHO_C" >&6
26533 else
26534 cat >conftest.$ac_ext <<_ACEOF
26535 /* confdefs.h. */
26536 _ACEOF
26537 cat confdefs.h >>conftest.$ac_ext
26538 cat >>conftest.$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540 #include <windows.h>
26541
26542 typedef boolean ac__type_new_;
26543 int
26544 main ()
26545 {
26546 if ((ac__type_new_ *) 0)
26547 return 0;
26548 if (sizeof (ac__type_new_))
26549 return 0;
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558 *) ac_try_echo=$ac_try;;
26559 esac
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26562 ac_status=$?
26563 grep -v '^ *+' conftest.er1 >conftest.err
26564 rm -f conftest.er1
26565 cat conftest.err >&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_c_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.$ac_objext; then
26571 ac_cv_type_boolean=yes
26572 else
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26575
26576 ac_cv_type_boolean=no
26577 fi
26578
26579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26580 fi
26581 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26582 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26583 if test $ac_cv_type_boolean = yes; then
26584
26585 cat >>confdefs.h <<_ACEOF
26586 #define HAVE_BOOLEAN 1
26587 _ACEOF
26588
26589
26590 { echo "$as_me:$LINENO: checking for boolean" >&5
26591 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26592 if test "${ac_cv_type_boolean+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26594 else
26595 cat >conftest.$ac_ext <<_ACEOF
26596 /* confdefs.h. */
26597 _ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26601
26602 #undef HAVE_BOOLEAN
26603 #include <stdio.h>
26604 #include <jpeglib.h>
26605
26606
26607 typedef boolean ac__type_new_;
26608 int
26609 main ()
26610 {
26611 if ((ac__type_new_ *) 0)
26612 return 0;
26613 if (sizeof (ac__type_new_))
26614 return 0;
26615 ;
26616 return 0;
26617 }
26618 _ACEOF
26619 rm -f conftest.$ac_objext
26620 if { (ac_try="$ac_compile"
26621 case "(($ac_try" in
26622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26623 *) ac_try_echo=$ac_try;;
26624 esac
26625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26626 (eval "$ac_compile") 2>conftest.er1
26627 ac_status=$?
26628 grep -v '^ *+' conftest.er1 >conftest.err
26629 rm -f conftest.er1
26630 cat conftest.err >&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); } && {
26633 test -z "$ac_c_werror_flag" ||
26634 test ! -s conftest.err
26635 } && test -s conftest.$ac_objext; then
26636 ac_cv_type_boolean=yes
26637 else
26638 echo "$as_me: failed program was:" >&5
26639 sed 's/^/| /' conftest.$ac_ext >&5
26640
26641 ac_cv_type_boolean=no
26642 fi
26643
26644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 fi
26646 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26647 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26648
26649 # The cast to long int works around a bug in the HP C Compiler
26650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26652 # This bug is HP SR number 8606223364.
26653 { echo "$as_me:$LINENO: checking size of boolean" >&5
26654 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26655 if test "${ac_cv_sizeof_boolean+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26657 else
26658 if test "$cross_compiling" = yes; then
26659 # Depending upon the size, compute the lo and hi bounds.
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h. */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666
26667 #undef HAVE_BOOLEAN
26668 #include <stdio.h>
26669 #include <jpeglib.h>
26670
26671
26672 typedef boolean ac__type_sizeof_;
26673 int
26674 main ()
26675 {
26676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26677 test_array [0] = 0
26678
26679 ;
26680 return 0;
26681 }
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26688 esac
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26700 ac_lo=0 ac_mid=0
26701 while :; do
26702 cat >conftest.$ac_ext <<_ACEOF
26703 /* confdefs.h. */
26704 _ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708
26709 #undef HAVE_BOOLEAN
26710 #include <stdio.h>
26711 #include <jpeglib.h>
26712
26713
26714 typedef boolean ac__type_sizeof_;
26715 int
26716 main ()
26717 {
26718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26719 test_array [0] = 0
26720
26721 ;
26722 return 0;
26723 }
26724 _ACEOF
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.$ac_objext; then
26742 ac_hi=$ac_mid; break
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 ac_lo=`expr $ac_mid + 1`
26748 if test $ac_lo -le $ac_mid; then
26749 ac_lo= ac_hi=
26750 break
26751 fi
26752 ac_mid=`expr 2 '*' $ac_mid + 1`
26753 fi
26754
26755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26756 done
26757 else
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26760
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767
26768 #undef HAVE_BOOLEAN
26769 #include <stdio.h>
26770 #include <jpeglib.h>
26771
26772
26773 typedef boolean ac__type_sizeof_;
26774 int
26775 main ()
26776 {
26777 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26778 test_array [0] = 0
26779
26780 ;
26781 return 0;
26782 }
26783 _ACEOF
26784 rm -f conftest.$ac_objext
26785 if { (ac_try="$ac_compile"
26786 case "(($ac_try" in
26787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26788 *) ac_try_echo=$ac_try;;
26789 esac
26790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26791 (eval "$ac_compile") 2>conftest.er1
26792 ac_status=$?
26793 grep -v '^ *+' conftest.er1 >conftest.err
26794 rm -f conftest.er1
26795 cat conftest.err >&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); } && {
26798 test -z "$ac_c_werror_flag" ||
26799 test ! -s conftest.err
26800 } && test -s conftest.$ac_objext; then
26801 ac_hi=-1 ac_mid=-1
26802 while :; do
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 #undef HAVE_BOOLEAN
26811 #include <stdio.h>
26812 #include <jpeglib.h>
26813
26814
26815 typedef boolean ac__type_sizeof_;
26816 int
26817 main ()
26818 {
26819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26820 test_array [0] = 0
26821
26822 ;
26823 return 0;
26824 }
26825 _ACEOF
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26831 esac
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26834 ac_status=$?
26835 grep -v '^ *+' conftest.er1 >conftest.err
26836 rm -f conftest.er1
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_c_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 ac_lo=$ac_mid; break
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_hi=`expr '(' $ac_mid ')' - 1`
26849 if test $ac_mid -le $ac_hi; then
26850 ac_lo= ac_hi=
26851 break
26852 fi
26853 ac_mid=`expr 2 '*' $ac_mid`
26854 fi
26855
26856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26857 done
26858 else
26859 echo "$as_me: failed program was:" >&5
26860 sed 's/^/| /' conftest.$ac_ext >&5
26861
26862 ac_lo= ac_hi=
26863 fi
26864
26865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 fi
26867
26868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26869 # Binary search between lo and hi bounds.
26870 while test "x$ac_lo" != "x$ac_hi"; do
26871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26872 cat >conftest.$ac_ext <<_ACEOF
26873 /* confdefs.h. */
26874 _ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26878
26879 #undef HAVE_BOOLEAN
26880 #include <stdio.h>
26881 #include <jpeglib.h>
26882
26883
26884 typedef boolean ac__type_sizeof_;
26885 int
26886 main ()
26887 {
26888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26889 test_array [0] = 0
26890
26891 ;
26892 return 0;
26893 }
26894 _ACEOF
26895 rm -f conftest.$ac_objext
26896 if { (ac_try="$ac_compile"
26897 case "(($ac_try" in
26898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26899 *) ac_try_echo=$ac_try;;
26900 esac
26901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26902 (eval "$ac_compile") 2>conftest.er1
26903 ac_status=$?
26904 grep -v '^ *+' conftest.er1 >conftest.err
26905 rm -f conftest.er1
26906 cat conftest.err >&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); } && {
26909 test -z "$ac_c_werror_flag" ||
26910 test ! -s conftest.err
26911 } && test -s conftest.$ac_objext; then
26912 ac_hi=$ac_mid
26913 else
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26916
26917 ac_lo=`expr '(' $ac_mid ')' + 1`
26918 fi
26919
26920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26921 done
26922 case $ac_lo in
26923 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26924 '') if test "$ac_cv_type_boolean" = yes; then
26925 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26926 See \`config.log' for more details." >&5
26927 echo "$as_me: error: cannot compute sizeof (boolean)
26928 See \`config.log' for more details." >&2;}
26929 { (exit 77); exit 77; }; }
26930 else
26931 ac_cv_sizeof_boolean=0
26932 fi ;;
26933 esac
26934 else
26935 cat >conftest.$ac_ext <<_ACEOF
26936 /* confdefs.h. */
26937 _ACEOF
26938 cat confdefs.h >>conftest.$ac_ext
26939 cat >>conftest.$ac_ext <<_ACEOF
26940 /* end confdefs.h. */
26941
26942 #undef HAVE_BOOLEAN
26943 #include <stdio.h>
26944 #include <jpeglib.h>
26945
26946
26947 typedef boolean ac__type_sizeof_;
26948 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26949 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26950 #include <stdio.h>
26951 #include <stdlib.h>
26952 int
26953 main ()
26954 {
26955
26956 FILE *f = fopen ("conftest.val", "w");
26957 if (! f)
26958 return 1;
26959 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26960 {
26961 long int i = longval ();
26962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26963 return 1;
26964 fprintf (f, "%ld\n", i);
26965 }
26966 else
26967 {
26968 unsigned long int i = ulongval ();
26969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26970 return 1;
26971 fprintf (f, "%lu\n", i);
26972 }
26973 return ferror (f) || fclose (f) != 0;
26974
26975 ;
26976 return 0;
26977 }
26978 _ACEOF
26979 rm -f conftest$ac_exeext
26980 if { (ac_try="$ac_link"
26981 case "(($ac_try" in
26982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26983 *) ac_try_echo=$ac_try;;
26984 esac
26985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26986 (eval "$ac_link") 2>&5
26987 ac_status=$?
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26990 { (case "(($ac_try" in
26991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26992 *) ac_try_echo=$ac_try;;
26993 esac
26994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26995 (eval "$ac_try") 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_sizeof_boolean=`cat conftest.val`
27000 else
27001 echo "$as_me: program exited with status $ac_status" >&5
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27004
27005 ( exit $ac_status )
27006 if test "$ac_cv_type_boolean" = yes; then
27007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27008 See \`config.log' for more details." >&5
27009 echo "$as_me: error: cannot compute sizeof (boolean)
27010 See \`config.log' for more details." >&2;}
27011 { (exit 77); exit 77; }; }
27012 else
27013 ac_cv_sizeof_boolean=0
27014 fi
27015 fi
27016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27017 fi
27018 rm -f conftest.val
27019 fi
27020 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27021 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27022
27023
27024
27025 cat >>confdefs.h <<_ACEOF
27026 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27027 _ACEOF
27028
27029
27030 cat >>confdefs.h <<_ACEOF
27031 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27032 _ACEOF
27033
27034
27035 fi
27036
27037 fi
27038 fi
27039 fi
27040 fi
27041 fi
27042
27043
27044 TIFF_LINK=
27045 TIFF_PREREQ_LINKS=-lm
27046 if test "$wxUSE_LIBTIFF" != "no" ; then
27047 cat >>confdefs.h <<\_ACEOF
27048 #define wxUSE_LIBTIFF 1
27049 _ACEOF
27050
27051
27052 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27053 if test "$wxUSE_LIBJPEG" = "sys"; then
27054 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27055 fi
27056 if test "$wxUSE_ZLIB" = "sys"; then
27057 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27058 fi
27059 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27060 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27061 if test "${ac_cv_header_tiffio_h+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064 cat >conftest.$ac_ext <<_ACEOF
27065 /* confdefs.h. */
27066 _ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070
27071
27072
27073 #include <tiffio.h>
27074 _ACEOF
27075 rm -f conftest.$ac_objext
27076 if { (ac_try="$ac_compile"
27077 case "(($ac_try" in
27078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27079 *) ac_try_echo=$ac_try;;
27080 esac
27081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27082 (eval "$ac_compile") 2>conftest.er1
27083 ac_status=$?
27084 grep -v '^ *+' conftest.er1 >conftest.err
27085 rm -f conftest.er1
27086 cat conftest.err >&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); } && {
27089 test -z "$ac_c_werror_flag" ||
27090 test ! -s conftest.err
27091 } && test -s conftest.$ac_objext; then
27092 ac_cv_header_tiffio_h=yes
27093 else
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27096
27097 ac_cv_header_tiffio_h=no
27098 fi
27099
27100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27101 fi
27102 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27104 if test $ac_cv_header_tiffio_h = yes; then
27105
27106 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27107 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27108 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27111 ac_check_lib_save_LIBS=$LIBS
27112 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27113 cat >conftest.$ac_ext <<_ACEOF
27114 /* confdefs.h. */
27115 _ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119
27120 /* Override any GCC internal prototype to avoid an error.
27121 Use char because int might match the return type of a GCC
27122 builtin and then its argument prototype would still apply. */
27123 #ifdef __cplusplus
27124 extern "C"
27125 #endif
27126 char TIFFError ();
27127 int
27128 main ()
27129 {
27130 return TIFFError ();
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest.$ac_objext conftest$ac_exeext
27136 if { (ac_try="$ac_link"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27140 esac
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_link") 2>conftest.er1
27143 ac_status=$?
27144 grep -v '^ *+' conftest.er1 >conftest.err
27145 rm -f conftest.er1
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest$ac_exeext &&
27152 $as_test_x conftest$ac_exeext; then
27153 ac_cv_lib_tiff_TIFFError=yes
27154 else
27155 echo "$as_me: failed program was:" >&5
27156 sed 's/^/| /' conftest.$ac_ext >&5
27157
27158 ac_cv_lib_tiff_TIFFError=no
27159 fi
27160
27161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27162 conftest$ac_exeext conftest.$ac_ext
27163 LIBS=$ac_check_lib_save_LIBS
27164 fi
27165 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27166 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27167 if test $ac_cv_lib_tiff_TIFFError = yes; then
27168 TIFF_LINK=" -ltiff"
27169 fi
27170
27171
27172 fi
27173
27174
27175
27176 if test "x$TIFF_LINK" = "x" ; then
27177 if test "$wxUSE_LIBTIFF" = "sys" ; then
27178 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27179 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27180 { (exit 1); exit 1; }; }
27181 else
27182 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27183 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27184 wxUSE_LIBTIFF=builtin
27185 fi
27186 else
27187 wxUSE_LIBTIFF=sys
27188 fi
27189 fi
27190 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27191 if test "$wxUSE_LIBJPEG" = "no"; then
27192 ac_configure_args="$ac_configure_args --disable-jpeg"
27193 fi
27194 subdirs="$subdirs src/tiff"
27195
27196 fi
27197 fi
27198
27199
27200 if test "$wxUSE_WCHAR_T" != "yes"; then
27201 if test "$wxUSE_EXPAT" != "no"; then
27202 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27203 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27204 wxUSE_EXPAT=no
27205 fi
27206 if test "$wxUSE_XML" != "no"; then
27207 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27208 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27209 wxUSE_XML=no
27210 fi
27211 fi
27212
27213 if test "$wxUSE_EXPAT" != "no"; then
27214 wxUSE_XML=yes
27215 cat >>confdefs.h <<\_ACEOF
27216 #define wxUSE_EXPAT 1
27217 _ACEOF
27218
27219 cat >>confdefs.h <<\_ACEOF
27220 #define wxUSE_XML 1
27221 _ACEOF
27222
27223
27224 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27225 { echo "$as_me:$LINENO: checking for expat.h" >&5
27226 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27227 if test "${ac_cv_header_expat_h+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 cat >conftest.$ac_ext <<_ACEOF
27231 /* confdefs.h. */
27232 _ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27236
27237
27238 #include <expat.h>
27239 _ACEOF
27240 rm -f conftest.$ac_objext
27241 if { (ac_try="$ac_compile"
27242 case "(($ac_try" in
27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27245 esac
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_compile") 2>conftest.er1
27248 ac_status=$?
27249 grep -v '^ *+' conftest.er1 >conftest.err
27250 rm -f conftest.er1
27251 cat conftest.err >&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); } && {
27254 test -z "$ac_c_werror_flag" ||
27255 test ! -s conftest.err
27256 } && test -s conftest.$ac_objext; then
27257 ac_cv_header_expat_h=yes
27258 else
27259 echo "$as_me: failed program was:" >&5
27260 sed 's/^/| /' conftest.$ac_ext >&5
27261
27262 ac_cv_header_expat_h=no
27263 fi
27264
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266 fi
27267 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27269 if test $ac_cv_header_expat_h = yes; then
27270 found_expat_h=1
27271 fi
27272
27273
27274 if test "x$found_expat_h" = "x1"; then
27275 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27276 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27277 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 else
27280
27281 ac_ext=cpp
27282 ac_cpp='$CXXCPP $CPPFLAGS'
27283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27286
27287 cat >conftest.$ac_ext <<_ACEOF
27288 /* confdefs.h. */
27289 _ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27293 #include <expat.h>
27294 int
27295 main ()
27296 {
27297
27298 ;
27299 return 0;
27300 }
27301 _ACEOF
27302 rm -f conftest.$ac_objext
27303 if { (ac_try="$ac_compile"
27304 case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;;
27307 esac
27308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309 (eval "$ac_compile") 2>conftest.er1
27310 ac_status=$?
27311 grep -v '^ *+' conftest.er1 >conftest.err
27312 rm -f conftest.er1
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && {
27316 test -z "$ac_cxx_werror_flag" ||
27317 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then
27319 wx_cv_expat_is_not_broken=yes
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 wx_cv_expat_is_not_broken=no
27325
27326 fi
27327
27328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27329 ac_ext=c
27330 ac_cpp='$CPP $CPPFLAGS'
27331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27334
27335
27336
27337 fi
27338 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27339 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27340 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27341 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27342 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27343 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27344 echo $ECHO_N "(cached) $ECHO_C" >&6
27345 else
27346 ac_check_lib_save_LIBS=$LIBS
27347 LIBS="-lexpat $LIBS"
27348 cat >conftest.$ac_ext <<_ACEOF
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354
27355 /* Override any GCC internal prototype to avoid an error.
27356 Use char because int might match the return type of a GCC
27357 builtin and then its argument prototype would still apply. */
27358 #ifdef __cplusplus
27359 extern "C"
27360 #endif
27361 char XML_ParserCreate ();
27362 int
27363 main ()
27364 {
27365 return XML_ParserCreate ();
27366 ;
27367 return 0;
27368 }
27369 _ACEOF
27370 rm -f conftest.$ac_objext conftest$ac_exeext
27371 if { (ac_try="$ac_link"
27372 case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27375 esac
27376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_link") 2>conftest.er1
27378 ac_status=$?
27379 grep -v '^ *+' conftest.er1 >conftest.err
27380 rm -f conftest.er1
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); } && {
27384 test -z "$ac_c_werror_flag" ||
27385 test ! -s conftest.err
27386 } && test -s conftest$ac_exeext &&
27387 $as_test_x conftest$ac_exeext; then
27388 ac_cv_lib_expat_XML_ParserCreate=yes
27389 else
27390 echo "$as_me: failed program was:" >&5
27391 sed 's/^/| /' conftest.$ac_ext >&5
27392
27393 ac_cv_lib_expat_XML_ParserCreate=no
27394 fi
27395
27396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27397 conftest$ac_exeext conftest.$ac_ext
27398 LIBS=$ac_check_lib_save_LIBS
27399 fi
27400 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27401 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27402 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27403 EXPAT_LINK=" -lexpat"
27404 fi
27405
27406 fi
27407 fi
27408 if test "x$EXPAT_LINK" = "x" ; then
27409 if test "$wxUSE_EXPAT" = "sys" ; then
27410 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27411 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27412 { (exit 1); exit 1; }; }
27413 else
27414 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27415 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27416 wxUSE_EXPAT=builtin
27417 fi
27418 else
27419 wxUSE_EXPAT=sys
27420 fi
27421 fi
27422 if test "$wxUSE_EXPAT" = "builtin" ; then
27423 subdirs="$subdirs src/expat"
27424
27425 fi
27426 fi
27427
27428
27429
27430 if test "$wxUSE_LIBMSPACK" != "no"; then
27431 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27432 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27433 if test "${ac_cv_header_mspack_h+set}" = set; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 else
27436 cat >conftest.$ac_ext <<_ACEOF
27437 /* confdefs.h. */
27438 _ACEOF
27439 cat confdefs.h >>conftest.$ac_ext
27440 cat >>conftest.$ac_ext <<_ACEOF
27441 /* end confdefs.h. */
27442
27443
27444 #include <mspack.h>
27445 _ACEOF
27446 rm -f conftest.$ac_objext
27447 if { (ac_try="$ac_compile"
27448 case "(($ac_try" in
27449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27450 *) ac_try_echo=$ac_try;;
27451 esac
27452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27453 (eval "$ac_compile") 2>conftest.er1
27454 ac_status=$?
27455 grep -v '^ *+' conftest.er1 >conftest.err
27456 rm -f conftest.er1
27457 cat conftest.err >&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); } && {
27460 test -z "$ac_c_werror_flag" ||
27461 test ! -s conftest.err
27462 } && test -s conftest.$ac_objext; then
27463 ac_cv_header_mspack_h=yes
27464 else
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27467
27468 ac_cv_header_mspack_h=no
27469 fi
27470
27471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27472 fi
27473 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27474 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27475 if test $ac_cv_header_mspack_h = yes; then
27476 found_mspack_h=1
27477 fi
27478
27479
27480 if test "x$found_mspack_h" = "x1"; then
27481 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27482 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27483 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27484 echo $ECHO_N "(cached) $ECHO_C" >&6
27485 else
27486 ac_check_lib_save_LIBS=$LIBS
27487 LIBS="-lmspack $LIBS"
27488 cat >conftest.$ac_ext <<_ACEOF
27489 /* confdefs.h. */
27490 _ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27494
27495 /* Override any GCC internal prototype to avoid an error.
27496 Use char because int might match the return type of a GCC
27497 builtin and then its argument prototype would still apply. */
27498 #ifdef __cplusplus
27499 extern "C"
27500 #endif
27501 char mspack_create_chm_decompressor ();
27502 int
27503 main ()
27504 {
27505 return mspack_create_chm_decompressor ();
27506 ;
27507 return 0;
27508 }
27509 _ACEOF
27510 rm -f conftest.$ac_objext conftest$ac_exeext
27511 if { (ac_try="$ac_link"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27515 esac
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_link") 2>conftest.er1
27518 ac_status=$?
27519 grep -v '^ *+' conftest.er1 >conftest.err
27520 rm -f conftest.er1
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest$ac_exeext &&
27527 $as_test_x conftest$ac_exeext; then
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27529 else
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27532
27533 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27534 fi
27535
27536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27537 conftest$ac_exeext conftest.$ac_ext
27538 LIBS=$ac_check_lib_save_LIBS
27539 fi
27540 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27541 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27542 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27543 MSPACK_LINK=" -lmspack"
27544 fi
27545
27546 fi
27547 if test "x$MSPACK_LINK" = "x" ; then
27548 wxUSE_LIBMSPACK=no
27549 fi
27550 fi
27551
27552 if test "$wxUSE_LIBMSPACK" != "no"; then
27553 cat >>confdefs.h <<\_ACEOF
27554 #define wxUSE_LIBMSPACK 1
27555 _ACEOF
27556
27557 fi
27558
27559
27560
27561 AFMINSTALL=
27562 WIN32INSTALL=
27563
27564 TOOLKIT=
27565 TOOLKIT_INCLUDE=
27566 WIDGET_SET=
27567
27568 if test "$USE_WIN32" = 1 ; then
27569
27570 for ac_header in w32api.h
27571 do
27572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 cat >conftest.$ac_ext <<_ACEOF
27579 /* confdefs.h. */
27580 _ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27584
27585
27586 #include <$ac_header>
27587 _ACEOF
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27592 *) ac_try_echo=$ac_try;;
27593 esac
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.$ac_objext; then
27605 eval "$as_ac_Header=yes"
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 eval "$as_ac_Header=no"
27611 fi
27612
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 fi
27615 ac_res=`eval echo '${'$as_ac_Header'}'`
27616 { echo "$as_me:$LINENO: result: $ac_res" >&5
27617 echo "${ECHO_T}$ac_res" >&6; }
27618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27619 cat >>confdefs.h <<_ACEOF
27620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27621 _ACEOF
27622
27623 fi
27624
27625 done
27626
27627 { echo "$as_me:$LINENO: checking for windows.h" >&5
27628 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27629 if test "${ac_cv_header_windows_h+set}" = set; then
27630 echo $ECHO_N "(cached) $ECHO_C" >&6
27631 else
27632 cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h. */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638
27639
27640 #include <windows.h>
27641 _ACEOF
27642 rm -f conftest.$ac_objext
27643 if { (ac_try="$ac_compile"
27644 case "(($ac_try" in
27645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27646 *) ac_try_echo=$ac_try;;
27647 esac
27648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27649 (eval "$ac_compile") 2>conftest.er1
27650 ac_status=$?
27651 grep -v '^ *+' conftest.er1 >conftest.err
27652 rm -f conftest.er1
27653 cat conftest.err >&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } && {
27656 test -z "$ac_c_werror_flag" ||
27657 test ! -s conftest.err
27658 } && test -s conftest.$ac_objext; then
27659 ac_cv_header_windows_h=yes
27660 else
27661 echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27663
27664 ac_cv_header_windows_h=no
27665 fi
27666
27667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27668 fi
27669 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27670 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27671 if test $ac_cv_header_windows_h = yes; then
27672 :
27673 else
27674
27675 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27676 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27677 { (exit 1); exit 1; }; }
27678
27679 fi
27680
27681
27682
27683 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27684
27685 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27686 LIBS="$LIBS -loleacc"
27687 fi
27688
27689 case "${host}" in
27690 *-*-cygwin* )
27691 LIBS="$LIBS -lkernel32 -luser32"
27692 esac
27693
27694 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27695 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27696
27697 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27698
27699 WIN32INSTALL=win32install
27700
27701 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27702 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27703 if test "${ac_cv_header_pbt_h+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 else
27706 cat >conftest.$ac_ext <<_ACEOF
27707 /* confdefs.h. */
27708 _ACEOF
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712
27713
27714 #include <pbt.h>
27715 _ACEOF
27716 rm -f conftest.$ac_objext
27717 if { (ac_try="$ac_compile"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27721 esac
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_compile") 2>conftest.er1
27724 ac_status=$?
27725 grep -v '^ *+' conftest.er1 >conftest.err
27726 rm -f conftest.er1
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_c_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest.$ac_objext; then
27733 ac_cv_header_pbt_h=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 ac_cv_header_pbt_h=no
27739 fi
27740
27741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27742 fi
27743 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27744 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27745 if test $ac_cv_header_pbt_h = yes; then
27746 :
27747 else
27748 cat >>confdefs.h <<\_ACEOF
27749 #define NEED_PBT_H 1
27750 _ACEOF
27751
27752 fi
27753
27754
27755 fi
27756
27757 if test "$wxUSE_GUI" = "yes"; then
27758 USE_GUI=1
27759
27760 GUI_TK_LIBRARY=
27761
27762 WXGTK12=
27763 WXGTK127=
27764 WXGTK2=
27765 WXGPE=
27766
27767 if test "$wxUSE_COCOA" = 1 ; then
27768 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27770 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27771 wxUSE_PRINTING_ARCHITECTURE=no
27772 fi
27773 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27775 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27776 wxUSE_DRAG_AND_DROP=no
27777 fi
27778 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27779 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27780 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27781 wxUSE_DRAGIMAGE=no
27782 fi
27783 fi
27784
27785 if test "$wxUSE_MSW" = 1 ; then
27786 TOOLKIT=MSW
27787 GUIDIST=MSW_DIST
27788
27789 case "${host}" in
27790 *-*-mingw32* )
27791 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27792 esac
27793 fi
27794
27795 if test "$wxUSE_GTK" = 1; then
27796 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27797 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27798
27799 gtk_version_cached=1
27800 if test "${wx_cv_lib_gtk+set}" = set; then
27801 echo $ECHO_N "(cached) $ECHO_C" >&6
27802 else
27803
27804 gtk_version_cached=0
27805 { echo "$as_me:$LINENO: result: " >&5
27806 echo "${ECHO_T}" >&6; }
27807
27808 GTK_MODULES=
27809 if test "$wxUSE_THREADS" = "yes"; then
27810 GTK_MODULES=gthread
27811 fi
27812
27813 wx_cv_lib_gtk=
27814 if test "x$wxGTK_VERSION" != "x1"
27815 then
27816 case "${host}" in
27817 *-*-solaris2* )
27818 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27819 enable_gtktest=no
27820 fi
27821 esac
27822
27823 # Check whether --enable-gtktest was given.
27824 if test "${enable_gtktest+set}" = set; then
27825 enableval=$enable_gtktest;
27826 else
27827 enable_gtktest=yes
27828 fi
27829
27830
27831 pkg_config_args=gtk+-2.0
27832 for module in . $GTK_MODULES
27833 do
27834 case "$module" in
27835 gthread)
27836 pkg_config_args="$pkg_config_args gthread-2.0"
27837 ;;
27838 esac
27839 done
27840
27841 no_gtk=""
27842
27843 # Extract the first word of "pkg-config", so it can be a program name with args.
27844 set dummy pkg-config; ac_word=$2
27845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27847 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27848 echo $ECHO_N "(cached) $ECHO_C" >&6
27849 else
27850 case $PKG_CONFIG in
27851 [\\/]* | ?:[\\/]*)
27852 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27853 ;;
27854 *)
27855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27856 for as_dir in $PATH
27857 do
27858 IFS=$as_save_IFS
27859 test -z "$as_dir" && as_dir=.
27860 for ac_exec_ext in '' $ac_executable_extensions; do
27861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27862 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27864 break 2
27865 fi
27866 done
27867 done
27868 IFS=$as_save_IFS
27869
27870 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27871 ;;
27872 esac
27873 fi
27874 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27875 if test -n "$PKG_CONFIG"; then
27876 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27877 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27878 else
27879 { echo "$as_me:$LINENO: result: no" >&5
27880 echo "${ECHO_T}no" >&6; }
27881 fi
27882
27883
27884
27885 if test x$PKG_CONFIG != xno ; then
27886 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27887 :
27888 else
27889 echo "*** pkg-config too old; version 0.7 or better required."
27890 no_gtk=yes
27891 PKG_CONFIG=no
27892 fi
27893 else
27894 no_gtk=yes
27895 fi
27896
27897 min_gtk_version=2.4.0
27898 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27899 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27900
27901 if test x$PKG_CONFIG != xno ; then
27902 ## don't try to run the test against uninstalled libtool libs
27903 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27904 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27905 enable_gtktest=no
27906 fi
27907
27908 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27909 :
27910 else
27911 no_gtk=yes
27912 fi
27913 fi
27914
27915 if test x"$no_gtk" = x ; then
27916 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27917 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27918 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27920 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27922 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27924 if test "x$enable_gtktest" = "xyes" ; then
27925 ac_save_CFLAGS="$CFLAGS"
27926 ac_save_LIBS="$LIBS"
27927 CFLAGS="$CFLAGS $GTK_CFLAGS"
27928 LIBS="$GTK_LIBS $LIBS"
27929 rm -f conf.gtktest
27930 if test "$cross_compiling" = yes; then
27931 echo $ac_n "cross compiling; assumed OK... $ac_c"
27932 else
27933 cat >conftest.$ac_ext <<_ACEOF
27934 /* confdefs.h. */
27935 _ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939
27940 #include <gtk/gtk.h>
27941 #include <stdio.h>
27942 #include <stdlib.h>
27943
27944 int
27945 main ()
27946 {
27947 int major, minor, micro;
27948 char *tmp_version;
27949
27950 system ("touch conf.gtktest");
27951
27952 /* HP/UX 9 (%@#!) writes to sscanf strings */
27953 tmp_version = g_strdup("$min_gtk_version");
27954 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27955 printf("%s, bad version string\n", "$min_gtk_version");
27956 exit(1);
27957 }
27958
27959 if ((gtk_major_version != $gtk_config_major_version) ||
27960 (gtk_minor_version != $gtk_config_minor_version) ||
27961 (gtk_micro_version != $gtk_config_micro_version))
27962 {
27963 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27964 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27965 gtk_major_version, gtk_minor_version, gtk_micro_version);
27966 printf ("*** was found! If pkg-config was correct, then it is best\n");
27967 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27968 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27969 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27970 printf("*** required on your system.\n");
27971 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27972 printf("*** to point to the correct configuration files\n");
27973 }
27974 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27975 (gtk_minor_version != GTK_MINOR_VERSION) ||
27976 (gtk_micro_version != GTK_MICRO_VERSION))
27977 {
27978 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27979 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27980 printf("*** library (version %d.%d.%d)\n",
27981 gtk_major_version, gtk_minor_version, gtk_micro_version);
27982 }
27983 else
27984 {
27985 if ((gtk_major_version > major) ||
27986 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27987 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27988 {
27989 return 0;
27990 }
27991 else
27992 {
27993 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27994 gtk_major_version, gtk_minor_version, gtk_micro_version);
27995 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27996 major, minor, micro);
27997 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27998 printf("***\n");
27999 printf("*** If you have already installed a sufficiently new version, this error\n");
28000 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28001 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28002 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28003 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28004 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28005 printf("*** so that the correct libraries are found at run-time))\n");
28006 }
28007 }
28008 return 1;
28009 }
28010
28011 _ACEOF
28012 rm -f conftest$ac_exeext
28013 if { (ac_try="$ac_link"
28014 case "(($ac_try" in
28015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28016 *) ac_try_echo=$ac_try;;
28017 esac
28018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28019 (eval "$ac_link") 2>&5
28020 ac_status=$?
28021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28023 { (case "(($ac_try" in
28024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28025 *) ac_try_echo=$ac_try;;
28026 esac
28027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_try") 2>&5
28029 ac_status=$?
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; }; then
28032 :
28033 else
28034 echo "$as_me: program exited with status $ac_status" >&5
28035 echo "$as_me: failed program was:" >&5
28036 sed 's/^/| /' conftest.$ac_ext >&5
28037
28038 ( exit $ac_status )
28039 no_gtk=yes
28040 fi
28041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28042 fi
28043
28044
28045 CFLAGS="$ac_save_CFLAGS"
28046 LIBS="$ac_save_LIBS"
28047 fi
28048 fi
28049 if test "x$no_gtk" = x ; then
28050 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28051 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28052 wx_cv_lib_gtk=2.0
28053 else
28054 { echo "$as_me:$LINENO: result: no" >&5
28055 echo "${ECHO_T}no" >&6; }
28056 if test "$PKG_CONFIG" = "no" ; then
28057 echo "*** A new enough version of pkg-config was not found."
28058 echo "*** See http://pkgconfig.sourceforge.net"
28059 else
28060 if test -f conf.gtktest ; then
28061 :
28062 else
28063 echo "*** Could not run GTK+ test program, checking why..."
28064 ac_save_CFLAGS="$CFLAGS"
28065 ac_save_LIBS="$LIBS"
28066 CFLAGS="$CFLAGS $GTK_CFLAGS"
28067 LIBS="$LIBS $GTK_LIBS"
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074
28075 #include <gtk/gtk.h>
28076 #include <stdio.h>
28077
28078 int
28079 main ()
28080 {
28081 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28082 ;
28083 return 0;
28084 }
28085 _ACEOF
28086 rm -f conftest.$ac_objext conftest$ac_exeext
28087 if { (ac_try="$ac_link"
28088 case "(($ac_try" in
28089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28090 *) ac_try_echo=$ac_try;;
28091 esac
28092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28093 (eval "$ac_link") 2>conftest.er1
28094 ac_status=$?
28095 grep -v '^ *+' conftest.er1 >conftest.err
28096 rm -f conftest.er1
28097 cat conftest.err >&5
28098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28099 (exit $ac_status); } && {
28100 test -z "$ac_c_werror_flag" ||
28101 test ! -s conftest.err
28102 } && test -s conftest$ac_exeext &&
28103 $as_test_x conftest$ac_exeext; then
28104 echo "*** The test program compiled, but did not run. This usually means"
28105 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28106 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28107 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28108 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28109 echo "*** is required on your system"
28110 echo "***"
28111 echo "*** If you have an old version installed, it is best to remove it, although"
28112 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28113 else
28114 echo "$as_me: failed program was:" >&5
28115 sed 's/^/| /' conftest.$ac_ext >&5
28116
28117 echo "*** The test program failed to compile or link. See the file config.log for the"
28118 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28119 fi
28120
28121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28122 conftest$ac_exeext conftest.$ac_ext
28123 CFLAGS="$ac_save_CFLAGS"
28124 LIBS="$ac_save_LIBS"
28125 fi
28126 fi
28127 GTK_CFLAGS=""
28128 GTK_LIBS=""
28129 :
28130 fi
28131
28132
28133 rm -f conf.gtktest
28134
28135
28136 case "${host}" in
28137 *-*-solaris2* )
28138 if test "$wxUSE_SHARED" != "yes"; then
28139 GTK_LIBS="$GTK_LIBS -lX11"
28140 fi
28141 esac
28142 fi
28143
28144 if test -z "$wx_cv_lib_gtk"; then
28145 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28146
28147 # Check whether --with-gtk-prefix was given.
28148 if test "${with_gtk_prefix+set}" = set; then
28149 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28150 else
28151 gtk_config_prefix=""
28152 fi
28153
28154
28155 # Check whether --with-gtk-exec-prefix was given.
28156 if test "${with_gtk_exec_prefix+set}" = set; then
28157 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28158 else
28159 gtk_config_exec_prefix=""
28160 fi
28161
28162 # Check whether --enable-gtktest was given.
28163 if test "${enable_gtktest+set}" = set; then
28164 enableval=$enable_gtktest;
28165 else
28166 enable_gtktest=yes
28167 fi
28168
28169
28170 for module in . $GTK_MODULES
28171 do
28172 case "$module" in
28173 gthread)
28174 gtk_config_args="$gtk_config_args gthread"
28175 ;;
28176 esac
28177 done
28178
28179 if test x$gtk_config_exec_prefix != x ; then
28180 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28181 if test x${GTK_CONFIG+set} != xset ; then
28182 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28183 fi
28184 fi
28185 if test x$gtk_config_prefix != x ; then
28186 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28187 if test x${GTK_CONFIG+set} != xset ; then
28188 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28189 fi
28190 fi
28191
28192 # Extract the first word of "gtk-config", so it can be a program name with args.
28193 set dummy gtk-config; ac_word=$2
28194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28196 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28199 case $GTK_CONFIG in
28200 [\\/]* | ?:[\\/]*)
28201 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28202 ;;
28203 *)
28204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28205 for as_dir in $PATH
28206 do
28207 IFS=$as_save_IFS
28208 test -z "$as_dir" && as_dir=.
28209 for ac_exec_ext in '' $ac_executable_extensions; do
28210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28211 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28213 break 2
28214 fi
28215 done
28216 done
28217 IFS=$as_save_IFS
28218
28219 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28220 ;;
28221 esac
28222 fi
28223 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28224 if test -n "$GTK_CONFIG"; then
28225 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28226 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28227 else
28228 { echo "$as_me:$LINENO: result: no" >&5
28229 echo "${ECHO_T}no" >&6; }
28230 fi
28231
28232
28233 min_gtk_version=1.2.7
28234 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28235 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28236 no_gtk=""
28237 if test "$GTK_CONFIG" = "no" ; then
28238 no_gtk=yes
28239 else
28240 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28241 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28242 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28244 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28246 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28248 if test "x$enable_gtktest" = "xyes" ; then
28249 ac_save_CFLAGS="$CFLAGS"
28250 ac_save_LIBS="$LIBS"
28251 CFLAGS="$CFLAGS $GTK_CFLAGS"
28252 LIBS="$GTK_LIBS $LIBS"
28253 rm -f conf.gtktest
28254 if test "$cross_compiling" = yes; then
28255 echo $ac_n "cross compiling; assumed OK... $ac_c"
28256 else
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263
28264 #include <gtk/gtk.h>
28265 #include <stdio.h>
28266 #include <stdlib.h>
28267
28268 int
28269 main ()
28270 {
28271 int major, minor, micro;
28272 char *tmp_version;
28273
28274 system ("touch conf.gtktest");
28275
28276 /* HP/UX 9 (%@#!) writes to sscanf strings */
28277 tmp_version = g_strdup("$min_gtk_version");
28278 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28279 printf("%s, bad version string\n", "$min_gtk_version");
28280 exit(1);
28281 }
28282
28283 if ((gtk_major_version != $gtk_config_major_version) ||
28284 (gtk_minor_version != $gtk_config_minor_version) ||
28285 (gtk_micro_version != $gtk_config_micro_version))
28286 {
28287 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28288 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28289 gtk_major_version, gtk_minor_version, gtk_micro_version);
28290 printf ("*** was found! If gtk-config was correct, then it is best\n");
28291 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28292 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28293 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28294 printf("*** required on your system.\n");
28295 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28296 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28297 printf("*** before re-running configure\n");
28298 }
28299 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28300 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28301 (gtk_minor_version != GTK_MINOR_VERSION) ||
28302 (gtk_micro_version != GTK_MICRO_VERSION))
28303 {
28304 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28305 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28306 printf("*** library (version %d.%d.%d)\n",
28307 gtk_major_version, gtk_minor_version, gtk_micro_version);
28308 }
28309 #endif /* defined (GTK_MAJOR_VERSION) ... */
28310 else
28311 {
28312 if ((gtk_major_version > major) ||
28313 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28314 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28315 {
28316 return 0;
28317 }
28318 else
28319 {
28320 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28321 gtk_major_version, gtk_minor_version, gtk_micro_version);
28322 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28323 major, minor, micro);
28324 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28325 printf("***\n");
28326 printf("*** If you have already installed a sufficiently new version, this error\n");
28327 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28328 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28329 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28330 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28331 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28332 printf("*** so that the correct libraries are found at run-time))\n");
28333 }
28334 }
28335 return 1;
28336 }
28337
28338 _ACEOF
28339 rm -f conftest$ac_exeext
28340 if { (ac_try="$ac_link"
28341 case "(($ac_try" in
28342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28343 *) ac_try_echo=$ac_try;;
28344 esac
28345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28346 (eval "$ac_link") 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28350 { (case "(($ac_try" in
28351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28352 *) ac_try_echo=$ac_try;;
28353 esac
28354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28355 (eval "$ac_try") 2>&5
28356 ac_status=$?
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; }; then
28359 :
28360 else
28361 echo "$as_me: program exited with status $ac_status" >&5
28362 echo "$as_me: failed program was:" >&5
28363 sed 's/^/| /' conftest.$ac_ext >&5
28364
28365 ( exit $ac_status )
28366 no_gtk=yes
28367 fi
28368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28369 fi
28370
28371
28372 CFLAGS="$ac_save_CFLAGS"
28373 LIBS="$ac_save_LIBS"
28374 fi
28375 fi
28376 if test "x$no_gtk" = x ; then
28377 { echo "$as_me:$LINENO: result: yes" >&5
28378 echo "${ECHO_T}yes" >&6; }
28379 wx_cv_lib_gtk=1.2.7
28380 else
28381 { echo "$as_me:$LINENO: result: no" >&5
28382 echo "${ECHO_T}no" >&6; }
28383 if test "$GTK_CONFIG" = "no" ; then
28384 echo "*** The gtk-config script installed by GTK could not be found"
28385 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28386 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28387 echo "*** full path to gtk-config."
28388 else
28389 if test -f conf.gtktest ; then
28390 :
28391 else
28392 echo "*** Could not run GTK test program, checking why..."
28393 CFLAGS="$CFLAGS $GTK_CFLAGS"
28394 LIBS="$LIBS $GTK_LIBS"
28395 cat >conftest.$ac_ext <<_ACEOF
28396 /* confdefs.h. */
28397 _ACEOF
28398 cat confdefs.h >>conftest.$ac_ext
28399 cat >>conftest.$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28401
28402 #include <gtk/gtk.h>
28403 #include <stdio.h>
28404
28405 int
28406 main ()
28407 {
28408 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28418 esac
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>conftest.er1
28421 ac_status=$?
28422 grep -v '^ *+' conftest.er1 >conftest.err
28423 rm -f conftest.er1
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_c_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest$ac_exeext &&
28430 $as_test_x conftest$ac_exeext; then
28431 echo "*** The test program compiled, but did not run. This usually means"
28432 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28433 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28434 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28435 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28436 echo "*** is required on your system"
28437 echo "***"
28438 echo "*** If you have an old version installed, it is best to remove it, although"
28439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28440 echo "***"
28441 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28442 echo "*** came with the system with the command"
28443 echo "***"
28444 echo "*** rpm --erase --nodeps gtk gtk-devel"
28445 else
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.$ac_ext >&5
28448
28449 echo "*** The test program failed to compile or link. See the file config.log for the"
28450 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28451 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28452 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28453 fi
28454
28455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28456 conftest$ac_exeext conftest.$ac_ext
28457 CFLAGS="$ac_save_CFLAGS"
28458 LIBS="$ac_save_LIBS"
28459 fi
28460 fi
28461 GTK_CFLAGS=""
28462 GTK_LIBS=""
28463 :
28464 fi
28465
28466
28467 rm -f conf.gtktest
28468
28469
28470 if test -z "$wx_cv_lib_gtk"; then
28471
28472 # Check whether --with-gtk-prefix was given.
28473 if test "${with_gtk_prefix+set}" = set; then
28474 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28475 else
28476 gtk_config_prefix=""
28477 fi
28478
28479
28480 # Check whether --with-gtk-exec-prefix was given.
28481 if test "${with_gtk_exec_prefix+set}" = set; then
28482 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28483 else
28484 gtk_config_exec_prefix=""
28485 fi
28486
28487 # Check whether --enable-gtktest was given.
28488 if test "${enable_gtktest+set}" = set; then
28489 enableval=$enable_gtktest;
28490 else
28491 enable_gtktest=yes
28492 fi
28493
28494
28495 for module in . $GTK_MODULES
28496 do
28497 case "$module" in
28498 gthread)
28499 gtk_config_args="$gtk_config_args gthread"
28500 ;;
28501 esac
28502 done
28503
28504 if test x$gtk_config_exec_prefix != x ; then
28505 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28506 if test x${GTK_CONFIG+set} != xset ; then
28507 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28508 fi
28509 fi
28510 if test x$gtk_config_prefix != x ; then
28511 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28512 if test x${GTK_CONFIG+set} != xset ; then
28513 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28514 fi
28515 fi
28516
28517 # Extract the first word of "gtk-config", so it can be a program name with args.
28518 set dummy gtk-config; ac_word=$2
28519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28521 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28522 echo $ECHO_N "(cached) $ECHO_C" >&6
28523 else
28524 case $GTK_CONFIG in
28525 [\\/]* | ?:[\\/]*)
28526 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28527 ;;
28528 *)
28529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28530 for as_dir in $PATH
28531 do
28532 IFS=$as_save_IFS
28533 test -z "$as_dir" && as_dir=.
28534 for ac_exec_ext in '' $ac_executable_extensions; do
28535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28536 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28538 break 2
28539 fi
28540 done
28541 done
28542 IFS=$as_save_IFS
28543
28544 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28545 ;;
28546 esac
28547 fi
28548 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28549 if test -n "$GTK_CONFIG"; then
28550 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28551 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28552 else
28553 { echo "$as_me:$LINENO: result: no" >&5
28554 echo "${ECHO_T}no" >&6; }
28555 fi
28556
28557
28558 min_gtk_version=1.2.3
28559 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28560 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28561 no_gtk=""
28562 if test "$GTK_CONFIG" = "no" ; then
28563 no_gtk=yes
28564 else
28565 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28566 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28567 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28569 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28571 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28573 if test "x$enable_gtktest" = "xyes" ; then
28574 ac_save_CFLAGS="$CFLAGS"
28575 ac_save_LIBS="$LIBS"
28576 CFLAGS="$CFLAGS $GTK_CFLAGS"
28577 LIBS="$GTK_LIBS $LIBS"
28578 rm -f conf.gtktest
28579 if test "$cross_compiling" = yes; then
28580 echo $ac_n "cross compiling; assumed OK... $ac_c"
28581 else
28582 cat >conftest.$ac_ext <<_ACEOF
28583 /* confdefs.h. */
28584 _ACEOF
28585 cat confdefs.h >>conftest.$ac_ext
28586 cat >>conftest.$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28588
28589 #include <gtk/gtk.h>
28590 #include <stdio.h>
28591 #include <stdlib.h>
28592
28593 int
28594 main ()
28595 {
28596 int major, minor, micro;
28597 char *tmp_version;
28598
28599 system ("touch conf.gtktest");
28600
28601 /* HP/UX 9 (%@#!) writes to sscanf strings */
28602 tmp_version = g_strdup("$min_gtk_version");
28603 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28604 printf("%s, bad version string\n", "$min_gtk_version");
28605 exit(1);
28606 }
28607
28608 if ((gtk_major_version != $gtk_config_major_version) ||
28609 (gtk_minor_version != $gtk_config_minor_version) ||
28610 (gtk_micro_version != $gtk_config_micro_version))
28611 {
28612 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28613 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28614 gtk_major_version, gtk_minor_version, gtk_micro_version);
28615 printf ("*** was found! If gtk-config was correct, then it is best\n");
28616 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28617 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28618 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28619 printf("*** required on your system.\n");
28620 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28621 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28622 printf("*** before re-running configure\n");
28623 }
28624 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28625 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28626 (gtk_minor_version != GTK_MINOR_VERSION) ||
28627 (gtk_micro_version != GTK_MICRO_VERSION))
28628 {
28629 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28630 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28631 printf("*** library (version %d.%d.%d)\n",
28632 gtk_major_version, gtk_minor_version, gtk_micro_version);
28633 }
28634 #endif /* defined (GTK_MAJOR_VERSION) ... */
28635 else
28636 {
28637 if ((gtk_major_version > major) ||
28638 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28639 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28640 {
28641 return 0;
28642 }
28643 else
28644 {
28645 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28646 gtk_major_version, gtk_minor_version, gtk_micro_version);
28647 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28648 major, minor, micro);
28649 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28650 printf("***\n");
28651 printf("*** If you have already installed a sufficiently new version, this error\n");
28652 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28653 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28654 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28655 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28656 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28657 printf("*** so that the correct libraries are found at run-time))\n");
28658 }
28659 }
28660 return 1;
28661 }
28662
28663 _ACEOF
28664 rm -f conftest$ac_exeext
28665 if { (ac_try="$ac_link"
28666 case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;;
28669 esac
28670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_link") 2>&5
28672 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28675 { (case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28677 *) ac_try_echo=$ac_try;;
28678 esac
28679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_try") 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 :
28685 else
28686 echo "$as_me: program exited with status $ac_status" >&5
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28689
28690 ( exit $ac_status )
28691 no_gtk=yes
28692 fi
28693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28694 fi
28695
28696
28697 CFLAGS="$ac_save_CFLAGS"
28698 LIBS="$ac_save_LIBS"
28699 fi
28700 fi
28701 if test "x$no_gtk" = x ; then
28702 { echo "$as_me:$LINENO: result: yes" >&5
28703 echo "${ECHO_T}yes" >&6; }
28704 wx_cv_lib_gtk=1.2.3
28705 else
28706 { echo "$as_me:$LINENO: result: no" >&5
28707 echo "${ECHO_T}no" >&6; }
28708 if test "$GTK_CONFIG" = "no" ; then
28709 echo "*** The gtk-config script installed by GTK could not be found"
28710 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28711 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28712 echo "*** full path to gtk-config."
28713 else
28714 if test -f conf.gtktest ; then
28715 :
28716 else
28717 echo "*** Could not run GTK test program, checking why..."
28718 CFLAGS="$CFLAGS $GTK_CFLAGS"
28719 LIBS="$LIBS $GTK_LIBS"
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h. */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726
28727 #include <gtk/gtk.h>
28728 #include <stdio.h>
28729
28730 int
28731 main ()
28732 {
28733 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28734 ;
28735 return 0;
28736 }
28737 _ACEOF
28738 rm -f conftest.$ac_objext conftest$ac_exeext
28739 if { (ac_try="$ac_link"
28740 case "(($ac_try" in
28741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28742 *) ac_try_echo=$ac_try;;
28743 esac
28744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28745 (eval "$ac_link") 2>conftest.er1
28746 ac_status=$?
28747 grep -v '^ *+' conftest.er1 >conftest.err
28748 rm -f conftest.er1
28749 cat conftest.err >&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } && {
28752 test -z "$ac_c_werror_flag" ||
28753 test ! -s conftest.err
28754 } && test -s conftest$ac_exeext &&
28755 $as_test_x conftest$ac_exeext; then
28756 echo "*** The test program compiled, but did not run. This usually means"
28757 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28758 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28759 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28760 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28761 echo "*** is required on your system"
28762 echo "***"
28763 echo "*** If you have an old version installed, it is best to remove it, although"
28764 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28765 echo "***"
28766 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28767 echo "*** came with the system with the command"
28768 echo "***"
28769 echo "*** rpm --erase --nodeps gtk gtk-devel"
28770 else
28771 echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28773
28774 echo "*** The test program failed to compile or link. See the file config.log for the"
28775 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28776 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28777 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28778 fi
28779
28780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28781 conftest$ac_exeext conftest.$ac_ext
28782 CFLAGS="$ac_save_CFLAGS"
28783 LIBS="$ac_save_LIBS"
28784 fi
28785 fi
28786 GTK_CFLAGS=""
28787 GTK_LIBS=""
28788 :
28789 fi
28790
28791
28792 rm -f conf.gtktest
28793
28794 fi
28795 fi
28796 fi
28797
28798 if test -z "$wx_cv_lib_gtk"; then
28799 wx_cv_lib_gtk=none
28800 else
28801 wx_cv_cflags_gtk=$GTK_CFLAGS
28802 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28803 fi
28804
28805
28806 fi
28807
28808
28809 if test "$gtk_version_cached" = 1; then
28810 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28811 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28812 fi
28813
28814 case "$wx_cv_lib_gtk" in
28815 2.0) WXGTK2=1
28816 TOOLKIT_VERSION=2
28817 ;;
28818 1.2.7) WXGTK127=1
28819 WXGTK12=1
28820 ;;
28821 1.2.3) WXGTK12=1
28822 ;;
28823 *) { { echo "$as_me:$LINENO: error:
28824 The development files for GTK+ were not found. For GTK+ 2, please
28825 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28826 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28827 and that the version is 1.2.3 or above. Also check that the
28828 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28829 --libs' are in the LD_LIBRARY_PATH or equivalent.
28830 " >&5
28831 echo "$as_me: error:
28832 The development files for GTK+ were not found. For GTK+ 2, please
28833 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28834 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28835 and that the version is 1.2.3 or above. Also check that the
28836 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28837 --libs' are in the LD_LIBRARY_PATH or equivalent.
28838 " >&2;}
28839 { (exit 1); exit 1; }; }
28840 ;;
28841 esac
28842
28843 if test "$WXGTK2" = 1; then
28844 save_CFLAGS="$CFLAGS"
28845 save_LIBS="$LIBS"
28846 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28847 LIBS="$LIBS $wx_cv_libs_gtk"
28848
28849 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28850 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28851 cat >conftest.$ac_ext <<_ACEOF
28852 /* confdefs.h. */
28853 _ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857
28858 #include <gtk/gtk.h>
28859
28860 int
28861 main ()
28862 {
28863
28864 #if !GTK_CHECK_VERSION(2,10,0)
28865 Not GTK+ 2.10
28866 #endif
28867
28868 ;
28869 return 0;
28870 }
28871 _ACEOF
28872 rm -f conftest.$ac_objext
28873 if { (ac_try="$ac_compile"
28874 case "(($ac_try" in
28875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28876 *) ac_try_echo=$ac_try;;
28877 esac
28878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28879 (eval "$ac_compile") 2>conftest.er1
28880 ac_status=$?
28881 grep -v '^ *+' conftest.er1 >conftest.err
28882 rm -f conftest.er1
28883 cat conftest.err >&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } && {
28886 test -z "$ac_c_werror_flag" ||
28887 test ! -s conftest.err
28888 } && test -s conftest.$ac_objext; then
28889
28890 cat >>confdefs.h <<\_ACEOF
28891 #define __WXGTK210__ 1
28892 _ACEOF
28893
28894 cat >>confdefs.h <<\_ACEOF
28895 #define __WXGTK26__ 1
28896 _ACEOF
28897
28898 { echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6; }
28900 ac_wxgtk210=1
28901
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28905
28906
28907 { echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6; }
28909 ac_wxgtk210=0
28910
28911 fi
28912
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914
28915 if test "$ac_wxgtk210" = 0; then
28916 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28917 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28918 cat >conftest.$ac_ext <<_ACEOF
28919 /* confdefs.h. */
28920 _ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28924
28925 #include <gtk/gtk.h>
28926
28927 int
28928 main ()
28929 {
28930
28931 #if !GTK_CHECK_VERSION(2,6,0)
28932 Not GTK+ 2.6
28933 #endif
28934
28935 ;
28936 return 0;
28937 }
28938 _ACEOF
28939 rm -f conftest.$ac_objext
28940 if { (ac_try="$ac_compile"
28941 case "(($ac_try" in
28942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28943 *) ac_try_echo=$ac_try;;
28944 esac
28945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28946 (eval "$ac_compile") 2>conftest.er1
28947 ac_status=$?
28948 grep -v '^ *+' conftest.er1 >conftest.err
28949 rm -f conftest.er1
28950 cat conftest.err >&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } && {
28953 test -z "$ac_c_werror_flag" ||
28954 test ! -s conftest.err
28955 } && test -s conftest.$ac_objext; then
28956
28957 cat >>confdefs.h <<\_ACEOF
28958 #define __WXGTK26__ 1
28959 _ACEOF
28960
28961 { echo "$as_me:$LINENO: result: yes" >&5
28962 echo "${ECHO_T}yes" >&6; }
28963 ac_wxgtk26=1
28964
28965 else
28966 echo "$as_me: failed program was:" >&5
28967 sed 's/^/| /' conftest.$ac_ext >&5
28968
28969
28970 { echo "$as_me:$LINENO: result: no" >&5
28971 echo "${ECHO_T}no" >&6; }
28972 ac_wxgtk26=0
28973
28974 fi
28975
28976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28977 fi
28978
28979 CFLAGS="$save_CFLAGS"
28980 LIBS="$save_LIBS"
28981 else
28982 if test "$wxUSE_UNICODE" = "yes"; then
28983 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28984 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28985 wxUSE_UNICODE=no
28986 fi
28987
28988 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28989 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28990 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28991 echo $ECHO_N "(cached) $ECHO_C" >&6
28992 else
28993 ac_check_lib_save_LIBS=$LIBS
28994 LIBS="-lgdk $LIBS"
28995 cat >conftest.$ac_ext <<_ACEOF
28996 /* confdefs.h. */
28997 _ACEOF
28998 cat confdefs.h >>conftest.$ac_ext
28999 cat >>conftest.$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29001
29002 /* Override any GCC internal prototype to avoid an error.
29003 Use char because int might match the return type of a GCC
29004 builtin and then its argument prototype would still apply. */
29005 #ifdef __cplusplus
29006 extern "C"
29007 #endif
29008 char gdk_im_open ();
29009 int
29010 main ()
29011 {
29012 return gdk_im_open ();
29013 ;
29014 return 0;
29015 }
29016 _ACEOF
29017 rm -f conftest.$ac_objext conftest$ac_exeext
29018 if { (ac_try="$ac_link"
29019 case "(($ac_try" in
29020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29021 *) ac_try_echo=$ac_try;;
29022 esac
29023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29024 (eval "$ac_link") 2>conftest.er1
29025 ac_status=$?
29026 grep -v '^ *+' conftest.er1 >conftest.err
29027 rm -f conftest.er1
29028 cat conftest.err >&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } && {
29031 test -z "$ac_c_werror_flag" ||
29032 test ! -s conftest.err
29033 } && test -s conftest$ac_exeext &&
29034 $as_test_x conftest$ac_exeext; then
29035 ac_cv_lib_gdk_gdk_im_open=yes
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 ac_cv_lib_gdk_gdk_im_open=no
29041 fi
29042
29043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29044 conftest$ac_exeext conftest.$ac_ext
29045 LIBS=$ac_check_lib_save_LIBS
29046 fi
29047 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29048 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29049 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29050 cat >>confdefs.h <<\_ACEOF
29051 #define HAVE_XIM 1
29052 _ACEOF
29053
29054 fi
29055
29056
29057 if test "$USE_DARWIN" != 1; then
29058
29059 for ac_func in poll
29060 do
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29064 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 cat >conftest.$ac_ext <<_ACEOF
29068 /* confdefs.h. */
29069 _ACEOF
29070 cat confdefs.h >>conftest.$ac_ext
29071 cat >>conftest.$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29075 #define $ac_func innocuous_$ac_func
29076
29077 /* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29081
29082 #ifdef __STDC__
29083 # include <limits.h>
29084 #else
29085 # include <assert.h>
29086 #endif
29087
29088 #undef $ac_func
29089
29090 /* Override any GCC internal prototype to avoid an error.
29091 Use char because int might match the return type of a GCC
29092 builtin and then its argument prototype would still apply. */
29093 #ifdef __cplusplus
29094 extern "C"
29095 #endif
29096 char $ac_func ();
29097 /* The GNU C library defines this for functions which it implements
29098 to always fail with ENOSYS. Some functions are actually named
29099 something starting with __ and the normal name is an alias. */
29100 #if defined __stub_$ac_func || defined __stub___$ac_func
29101 choke me
29102 #endif
29103
29104 int
29105 main ()
29106 {
29107 return $ac_func ();
29108 ;
29109 return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (ac_try="$ac_link"
29114 case "(($ac_try" in
29115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29116 *) ac_try_echo=$ac_try;;
29117 esac
29118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29119 (eval "$ac_link") 2>conftest.er1
29120 ac_status=$?
29121 grep -v '^ *+' conftest.er1 >conftest.err
29122 rm -f conftest.er1
29123 cat conftest.err >&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); } && {
29126 test -z "$ac_c_werror_flag" ||
29127 test ! -s conftest.err
29128 } && test -s conftest$ac_exeext &&
29129 $as_test_x conftest$ac_exeext; then
29130 eval "$as_ac_var=yes"
29131 else
29132 echo "$as_me: failed program was:" >&5
29133 sed 's/^/| /' conftest.$ac_ext >&5
29134
29135 eval "$as_ac_var=no"
29136 fi
29137
29138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29139 conftest$ac_exeext conftest.$ac_ext
29140 fi
29141 ac_res=`eval echo '${'$as_ac_var'}'`
29142 { echo "$as_me:$LINENO: result: $ac_res" >&5
29143 echo "${ECHO_T}$ac_res" >&6; }
29144 if test `eval echo '${'$as_ac_var'}'` = yes; then
29145 cat >>confdefs.h <<_ACEOF
29146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29147 _ACEOF
29148
29149 fi
29150 done
29151
29152 fi
29153 fi
29154
29155 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29156 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29157
29158 AFMINSTALL=afminstall
29159 TOOLKIT=GTK
29160 GUIDIST=GTK_DIST
29161
29162 if test "$wxUSE_GPE" = "yes"; then
29163 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29164 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29165
29166 ac_find_libraries=
29167 for ac_dir in $SEARCH_LIB;
29168 do
29169 for ac_extension in a so sl dylib dll.a; do
29170 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29171 ac_find_libraries=$ac_dir
29172 break 2
29173 fi
29174 done
29175 done
29176
29177 if test "$ac_find_libraries" != "" ; then
29178
29179 if test "$ac_find_libraries" = "default location"; then
29180 ac_path_to_link=""
29181 else
29182 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29183 result=$?
29184 if test $result = 0; then
29185 ac_path_to_link=""
29186 else
29187 ac_path_to_link=" -L$ac_find_libraries"
29188 fi
29189 fi
29190
29191 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29192 WXGPE=1
29193 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29194 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29195 else
29196 { echo "$as_me:$LINENO: result: not found" >&5
29197 echo "${ECHO_T}not found" >&6; }
29198 fi
29199
29200 fi
29201 fi
29202
29203 if test "$wxUSE_MGL" = 1; then
29204 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29205 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29206 if test "x$MGL_ROOT" = x ; then
29207 { echo "$as_me:$LINENO: result: not found" >&5
29208 echo "${ECHO_T}not found" >&6; }
29209 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29210 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29211 { (exit 1); exit 1; }; }
29212 else
29213 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29214 echo "${ECHO_T}$MGL_ROOT" >&6; }
29215 fi
29216
29217 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29218 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29219 case "${host}" in
29220 *-*-linux* )
29221 if test "x$wxUSE_SHARED" = xyes ; then
29222 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29223 else
29224 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29225 fi
29226 ;;
29227 *-pc-msdosdjgpp )
29228 mgl_os_candidates="dos32/dj2"
29229 ;;
29230 *)
29231 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29232 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29233 { (exit 1); exit 1; }; }
29234 esac
29235
29236 mgl_lib_type=""
29237 mgl_os=""
29238
29239 for mgl_os_i in $mgl_os_candidates ; do
29240 if test "x$mgl_os" = x ; then
29241 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29242 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29243 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29244 mgl_lib_type=debug
29245 mgl_os=$mgl_os_i
29246 fi
29247 fi
29248 if test "x$mgl_lib_type" = x ; then
29249 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29250 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29251 mgl_lib_type=release
29252 mgl_os=$mgl_os_i
29253 fi
29254 fi
29255 fi
29256 done
29257
29258 if test "x$mgl_os" = x ; then
29259 { echo "$as_me:$LINENO: result: not found" >&5
29260 echo "${ECHO_T}not found" >&6; }
29261 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29262 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29263 { (exit 1); exit 1; }; }
29264 fi
29265 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29266 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29267
29268 wxUSE_UNIVERSAL="yes"
29269
29270 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29271 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29272
29273 AFMINSTALL=afminstall
29274 TOOLKIT=MGL
29275 GUIDIST=MGL_DIST
29276 fi
29277
29278 if test "$wxUSE_DFB" = 1; then
29279
29280
29281 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29282 if test -n "$ac_tool_prefix"; then
29283 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29284 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29288 echo $ECHO_N "(cached) $ECHO_C" >&6
29289 else
29290 case $PKG_CONFIG in
29291 [\\/]* | ?:[\\/]*)
29292 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29293 ;;
29294 *)
29295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29296 for as_dir in $PATH
29297 do
29298 IFS=$as_save_IFS
29299 test -z "$as_dir" && as_dir=.
29300 for ac_exec_ext in '' $ac_executable_extensions; do
29301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29302 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29304 break 2
29305 fi
29306 done
29307 done
29308 IFS=$as_save_IFS
29309
29310 ;;
29311 esac
29312 fi
29313 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29314 if test -n "$PKG_CONFIG"; then
29315 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29316 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29317 else
29318 { echo "$as_me:$LINENO: result: no" >&5
29319 echo "${ECHO_T}no" >&6; }
29320 fi
29321
29322
29323 fi
29324 if test -z "$ac_cv_path_PKG_CONFIG"; then
29325 ac_pt_PKG_CONFIG=$PKG_CONFIG
29326 # Extract the first word of "pkg-config", so it can be a program name with args.
29327 set dummy pkg-config; ac_word=$2
29328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29330 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 else
29333 case $ac_pt_PKG_CONFIG in
29334 [\\/]* | ?:[\\/]*)
29335 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29336 ;;
29337 *)
29338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29339 for as_dir in $PATH
29340 do
29341 IFS=$as_save_IFS
29342 test -z "$as_dir" && as_dir=.
29343 for ac_exec_ext in '' $ac_executable_extensions; do
29344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29345 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29347 break 2
29348 fi
29349 done
29350 done
29351 IFS=$as_save_IFS
29352
29353 ;;
29354 esac
29355 fi
29356 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29357 if test -n "$ac_pt_PKG_CONFIG"; then
29358 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29359 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29360 else
29361 { echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6; }
29363 fi
29364
29365 if test "x$ac_pt_PKG_CONFIG" = x; then
29366 PKG_CONFIG=""
29367 else
29368 case $cross_compiling:$ac_tool_warned in
29369 yes:)
29370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29371 whose name does not start with the host triplet. If you think this
29372 configuration is useful to you, please write to autoconf@gnu.org." >&5
29373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29374 whose name does not start with the host triplet. If you think this
29375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29376 ac_tool_warned=yes ;;
29377 esac
29378 PKG_CONFIG=$ac_pt_PKG_CONFIG
29379 fi
29380 else
29381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29382 fi
29383
29384 fi
29385 if test -n "$PKG_CONFIG"; then
29386 _pkg_min_version=0.9.0
29387 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29388 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29390 { echo "$as_me:$LINENO: result: yes" >&5
29391 echo "${ECHO_T}yes" >&6; }
29392 else
29393 { echo "$as_me:$LINENO: result: no" >&5
29394 echo "${ECHO_T}no" >&6; }
29395 PKG_CONFIG=""
29396 fi
29397
29398 fi
29399
29400
29401 pkg_failed=no
29402 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29403 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29404
29405 if test -n "$PKG_CONFIG"; then
29406 if test -n "$DIRECTFB_CFLAGS"; then
29407 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29408 else
29409 if test -n "$PKG_CONFIG" && \
29410 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29411 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29412 ac_status=$?
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; then
29415 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29416 else
29417 pkg_failed=yes
29418 fi
29419 fi
29420 else
29421 pkg_failed=untried
29422 fi
29423 if test -n "$PKG_CONFIG"; then
29424 if test -n "$DIRECTFB_LIBS"; then
29425 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29426 else
29427 if test -n "$PKG_CONFIG" && \
29428 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29429 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29430 ac_status=$?
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); }; then
29433 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29434 else
29435 pkg_failed=yes
29436 fi
29437 fi
29438 else
29439 pkg_failed=untried
29440 fi
29441
29442
29443
29444 if test $pkg_failed = yes; then
29445
29446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29447 _pkg_short_errors_supported=yes
29448 else
29449 _pkg_short_errors_supported=no
29450 fi
29451 if test $_pkg_short_errors_supported = yes; then
29452 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29453 else
29454 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29455 fi
29456 # Put the nasty error message in config.log where it belongs
29457 echo "$DIRECTFB_PKG_ERRORS" >&5
29458
29459
29460 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29461 echo "$as_me: error: DirectFB not found." >&2;}
29462 { (exit 1); exit 1; }; }
29463
29464
29465 elif test $pkg_failed = untried; then
29466
29467 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29468 echo "$as_me: error: DirectFB not found." >&2;}
29469 { (exit 1); exit 1; }; }
29470
29471
29472 else
29473 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29474 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29475 { echo "$as_me:$LINENO: result: yes" >&5
29476 echo "${ECHO_T}yes" >&6; }
29477
29478 wxUSE_UNIVERSAL="yes"
29479 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29480 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29481 TOOLKIT=DFB
29482 GUIDIST=DFB_DIST
29483
29484 fi
29485 fi
29486
29487 if test "$wxUSE_MICROWIN" = 1; then
29488 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29489 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29490 if test "x$MICROWINDOWS" = x ; then
29491 { echo "$as_me:$LINENO: result: not found" >&5
29492 echo "${ECHO_T}not found" >&6; }
29493 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29494 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29495 { (exit 1); exit 1; }; }
29496 else
29497 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29498 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29499 fi
29500
29501 if test -f $MICROWINDOWS/lib/libmwin.a; then
29502 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29503 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29504 else
29505 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29506 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29507 { (exit 1); exit 1; }; }
29508 fi
29509
29510 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29511 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29512
29513 wxUSE_UNIVERSAL="yes"
29514
29515 AFMINSTALL=afminstall
29516 TOOLKIT=MICROWIN
29517 GUIDIST=MICROWIN_DIST
29518
29519 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29520 fi
29521
29522 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29523 { echo "$as_me:$LINENO: checking for X" >&5
29524 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29525
29526
29527 # Check whether --with-x was given.
29528 if test "${with_x+set}" = set; then
29529 withval=$with_x;
29530 fi
29531
29532 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29533 if test "x$with_x" = xno; then
29534 # The user explicitly disabled X.
29535 have_x=disabled
29536 else
29537 case $x_includes,$x_libraries in #(
29538 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29539 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29540 { (exit 1); exit 1; }; };; #(
29541 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29542 echo $ECHO_N "(cached) $ECHO_C" >&6
29543 else
29544 # One or both of the vars are not set, and there is no cached value.
29545 ac_x_includes=no ac_x_libraries=no
29546 rm -f -r conftest.dir
29547 if mkdir conftest.dir; then
29548 cd conftest.dir
29549 cat >Imakefile <<'_ACEOF'
29550 incroot:
29551 @echo incroot='${INCROOT}'
29552 usrlibdir:
29553 @echo usrlibdir='${USRLIBDIR}'
29554 libdir:
29555 @echo libdir='${LIBDIR}'
29556 _ACEOF
29557 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29558 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29559 for ac_var in incroot usrlibdir libdir; do
29560 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29561 done
29562 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29563 for ac_extension in a so sl; do
29564 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29565 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29566 ac_im_usrlibdir=$ac_im_libdir; break
29567 fi
29568 done
29569 # Screen out bogus values from the imake configuration. They are
29570 # bogus both because they are the default anyway, and because
29571 # using them would break gcc on systems where it needs fixed includes.
29572 case $ac_im_incroot in
29573 /usr/include) ac_x_includes= ;;
29574 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29575 esac
29576 case $ac_im_usrlibdir in
29577 /usr/lib | /lib) ;;
29578 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29579 esac
29580 fi
29581 cd ..
29582 rm -f -r conftest.dir
29583 fi
29584
29585 # Standard set of common directories for X headers.
29586 # Check X11 before X11Rn because it is often a symlink to the current release.
29587 ac_x_header_dirs='
29588 /usr/X11/include
29589 /usr/X11R6/include
29590 /usr/X11R5/include
29591 /usr/X11R4/include
29592
29593 /usr/include/X11
29594 /usr/include/X11R6
29595 /usr/include/X11R5
29596 /usr/include/X11R4
29597
29598 /usr/local/X11/include
29599 /usr/local/X11R6/include
29600 /usr/local/X11R5/include
29601 /usr/local/X11R4/include
29602
29603 /usr/local/include/X11
29604 /usr/local/include/X11R6
29605 /usr/local/include/X11R5
29606 /usr/local/include/X11R4
29607
29608 /usr/X386/include
29609 /usr/x386/include
29610 /usr/XFree86/include/X11
29611
29612 /usr/include
29613 /usr/local/include
29614 /usr/unsupported/include
29615 /usr/athena/include
29616 /usr/local/x11r5/include
29617 /usr/lpp/Xamples/include
29618
29619 /usr/openwin/include
29620 /usr/openwin/share/include'
29621
29622 if test "$ac_x_includes" = no; then
29623 # Guess where to find include files, by looking for Xlib.h.
29624 # First, try using that file with no special directory specified.
29625 cat >conftest.$ac_ext <<_ACEOF
29626 /* confdefs.h. */
29627 _ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #include <X11/Xlib.h>
29632 _ACEOF
29633 if { (ac_try="$ac_cpp conftest.$ac_ext"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29636 *) ac_try_echo=$ac_try;;
29637 esac
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29640 ac_status=$?
29641 grep -v '^ *+' conftest.er1 >conftest.err
29642 rm -f conftest.er1
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } >/dev/null && {
29646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29648 }; then
29649 # We can compile using X headers with no special include directory.
29650 ac_x_includes=
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 for ac_dir in $ac_x_header_dirs; do
29656 if test -r "$ac_dir/X11/Xlib.h"; then
29657 ac_x_includes=$ac_dir
29658 break
29659 fi
29660 done
29661 fi
29662
29663 rm -f conftest.err conftest.$ac_ext
29664 fi # $ac_x_includes = no
29665
29666 if test "$ac_x_libraries" = no; then
29667 # Check for the libraries.
29668 # See if we find them without any special options.
29669 # Don't add to $LIBS permanently.
29670 ac_save_LIBS=$LIBS
29671 LIBS="-lX11 $LIBS"
29672 cat >conftest.$ac_ext <<_ACEOF
29673 /* confdefs.h. */
29674 _ACEOF
29675 cat confdefs.h >>conftest.$ac_ext
29676 cat >>conftest.$ac_ext <<_ACEOF
29677 /* end confdefs.h. */
29678 #include <X11/Xlib.h>
29679 int
29680 main ()
29681 {
29682 XrmInitialize ()
29683 ;
29684 return 0;
29685 }
29686 _ACEOF
29687 rm -f conftest.$ac_objext conftest$ac_exeext
29688 if { (ac_try="$ac_link"
29689 case "(($ac_try" in
29690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29691 *) ac_try_echo=$ac_try;;
29692 esac
29693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29694 (eval "$ac_link") 2>conftest.er1
29695 ac_status=$?
29696 grep -v '^ *+' conftest.er1 >conftest.err
29697 rm -f conftest.er1
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } && {
29701 test -z "$ac_c_werror_flag" ||
29702 test ! -s conftest.err
29703 } && test -s conftest$ac_exeext &&
29704 $as_test_x conftest$ac_exeext; then
29705 LIBS=$ac_save_LIBS
29706 # We can link X programs with no special library path.
29707 ac_x_libraries=
29708 else
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.$ac_ext >&5
29711
29712 LIBS=$ac_save_LIBS
29713 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29714 do
29715 # Don't even attempt the hair of trying to link an X program!
29716 for ac_extension in a so sl; do
29717 if test -r "$ac_dir/libX11.$ac_extension"; then
29718 ac_x_libraries=$ac_dir
29719 break 2
29720 fi
29721 done
29722 done
29723 fi
29724
29725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29726 conftest$ac_exeext conftest.$ac_ext
29727 fi # $ac_x_libraries = no
29728
29729 case $ac_x_includes,$ac_x_libraries in #(
29730 no,* | *,no | *\'*)
29731 # Didn't find X, or a directory has "'" in its name.
29732 ac_cv_have_x="have_x=no";; #(
29733 *)
29734 # Record where we found X for the cache.
29735 ac_cv_have_x="have_x=yes\
29736 ac_x_includes='$ac_x_includes'\
29737 ac_x_libraries='$ac_x_libraries'"
29738 esac
29739 fi
29740 ;; #(
29741 *) have_x=yes;;
29742 esac
29743 eval "$ac_cv_have_x"
29744 fi # $with_x != no
29745
29746 if test "$have_x" != yes; then
29747 { echo "$as_me:$LINENO: result: $have_x" >&5
29748 echo "${ECHO_T}$have_x" >&6; }
29749 no_x=yes
29750 else
29751 # If each of the values was on the command line, it overrides each guess.
29752 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29753 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29754 # Update the cache value to reflect the command line values.
29755 ac_cv_have_x="have_x=yes\
29756 ac_x_includes='$x_includes'\
29757 ac_x_libraries='$x_libraries'"
29758 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29759 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29760 fi
29761
29762 if test "$no_x" = yes; then
29763 # Not all programs may use this symbol, but it does not hurt to define it.
29764
29765 cat >>confdefs.h <<\_ACEOF
29766 #define X_DISPLAY_MISSING 1
29767 _ACEOF
29768
29769 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29770 else
29771 if test -n "$x_includes"; then
29772 X_CFLAGS="$X_CFLAGS -I$x_includes"
29773 fi
29774
29775 # It would also be nice to do this for all -L options, not just this one.
29776 if test -n "$x_libraries"; then
29777 X_LIBS="$X_LIBS -L$x_libraries"
29778 # For Solaris; some versions of Sun CC require a space after -R and
29779 # others require no space. Words are not sufficient . . . .
29780 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29781 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29782 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29783 ac_xsave_c_werror_flag=$ac_c_werror_flag
29784 ac_c_werror_flag=yes
29785 cat >conftest.$ac_ext <<_ACEOF
29786 /* confdefs.h. */
29787 _ACEOF
29788 cat confdefs.h >>conftest.$ac_ext
29789 cat >>conftest.$ac_ext <<_ACEOF
29790 /* end confdefs.h. */
29791
29792 int
29793 main ()
29794 {
29795
29796 ;
29797 return 0;
29798 }
29799 _ACEOF
29800 rm -f conftest.$ac_objext conftest$ac_exeext
29801 if { (ac_try="$ac_link"
29802 case "(($ac_try" in
29803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29804 *) ac_try_echo=$ac_try;;
29805 esac
29806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29807 (eval "$ac_link") 2>conftest.er1
29808 ac_status=$?
29809 grep -v '^ *+' conftest.er1 >conftest.err
29810 rm -f conftest.er1
29811 cat conftest.err >&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } && {
29814 test -z "$ac_c_werror_flag" ||
29815 test ! -s conftest.err
29816 } && test -s conftest$ac_exeext &&
29817 $as_test_x conftest$ac_exeext; then
29818 { echo "$as_me:$LINENO: result: no" >&5
29819 echo "${ECHO_T}no" >&6; }
29820 X_LIBS="$X_LIBS -R$x_libraries"
29821 else
29822 echo "$as_me: failed program was:" >&5
29823 sed 's/^/| /' conftest.$ac_ext >&5
29824
29825 LIBS="$ac_xsave_LIBS -R $x_libraries"
29826 cat >conftest.$ac_ext <<_ACEOF
29827 /* confdefs.h. */
29828 _ACEOF
29829 cat confdefs.h >>conftest.$ac_ext
29830 cat >>conftest.$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29832
29833 int
29834 main ()
29835 {
29836
29837 ;
29838 return 0;
29839 }
29840 _ACEOF
29841 rm -f conftest.$ac_objext conftest$ac_exeext
29842 if { (ac_try="$ac_link"
29843 case "(($ac_try" in
29844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29845 *) ac_try_echo=$ac_try;;
29846 esac
29847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29848 (eval "$ac_link") 2>conftest.er1
29849 ac_status=$?
29850 grep -v '^ *+' conftest.er1 >conftest.err
29851 rm -f conftest.er1
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } && {
29855 test -z "$ac_c_werror_flag" ||
29856 test ! -s conftest.err
29857 } && test -s conftest$ac_exeext &&
29858 $as_test_x conftest$ac_exeext; then
29859 { echo "$as_me:$LINENO: result: yes" >&5
29860 echo "${ECHO_T}yes" >&6; }
29861 X_LIBS="$X_LIBS -R $x_libraries"
29862 else
29863 echo "$as_me: failed program was:" >&5
29864 sed 's/^/| /' conftest.$ac_ext >&5
29865
29866 { echo "$as_me:$LINENO: result: neither works" >&5
29867 echo "${ECHO_T}neither works" >&6; }
29868 fi
29869
29870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29871 conftest$ac_exeext conftest.$ac_ext
29872 fi
29873
29874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29875 conftest$ac_exeext conftest.$ac_ext
29876 ac_c_werror_flag=$ac_xsave_c_werror_flag
29877 LIBS=$ac_xsave_LIBS
29878 fi
29879
29880 # Check for system-dependent libraries X programs must link with.
29881 # Do this before checking for the system-independent R6 libraries
29882 # (-lICE), since we may need -lsocket or whatever for X linking.
29883
29884 if test "$ISC" = yes; then
29885 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29886 else
29887 # Martyn Johnson says this is needed for Ultrix, if the X
29888 # libraries were built with DECnet support. And Karl Berry says
29889 # the Alpha needs dnet_stub (dnet does not exist).
29890 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29891 cat >conftest.$ac_ext <<_ACEOF
29892 /* confdefs.h. */
29893 _ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29897
29898 /* Override any GCC internal prototype to avoid an error.
29899 Use char because int might match the return type of a GCC
29900 builtin and then its argument prototype would still apply. */
29901 #ifdef __cplusplus
29902 extern "C"
29903 #endif
29904 char XOpenDisplay ();
29905 int
29906 main ()
29907 {
29908 return XOpenDisplay ();
29909 ;
29910 return 0;
29911 }
29912 _ACEOF
29913 rm -f conftest.$ac_objext conftest$ac_exeext
29914 if { (ac_try="$ac_link"
29915 case "(($ac_try" in
29916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29917 *) ac_try_echo=$ac_try;;
29918 esac
29919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29920 (eval "$ac_link") 2>conftest.er1
29921 ac_status=$?
29922 grep -v '^ *+' conftest.er1 >conftest.err
29923 rm -f conftest.er1
29924 cat conftest.err >&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); } && {
29927 test -z "$ac_c_werror_flag" ||
29928 test ! -s conftest.err
29929 } && test -s conftest$ac_exeext &&
29930 $as_test_x conftest$ac_exeext; then
29931 :
29932 else
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.$ac_ext >&5
29935
29936 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29937 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29938 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 else
29941 ac_check_lib_save_LIBS=$LIBS
29942 LIBS="-ldnet $LIBS"
29943 cat >conftest.$ac_ext <<_ACEOF
29944 /* confdefs.h. */
29945 _ACEOF
29946 cat confdefs.h >>conftest.$ac_ext
29947 cat >>conftest.$ac_ext <<_ACEOF
29948 /* end confdefs.h. */
29949
29950 /* Override any GCC internal prototype to avoid an error.
29951 Use char because int might match the return type of a GCC
29952 builtin and then its argument prototype would still apply. */
29953 #ifdef __cplusplus
29954 extern "C"
29955 #endif
29956 char dnet_ntoa ();
29957 int
29958 main ()
29959 {
29960 return dnet_ntoa ();
29961 ;
29962 return 0;
29963 }
29964 _ACEOF
29965 rm -f conftest.$ac_objext conftest$ac_exeext
29966 if { (ac_try="$ac_link"
29967 case "(($ac_try" in
29968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29969 *) ac_try_echo=$ac_try;;
29970 esac
29971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29972 (eval "$ac_link") 2>conftest.er1
29973 ac_status=$?
29974 grep -v '^ *+' conftest.er1 >conftest.err
29975 rm -f conftest.er1
29976 cat conftest.err >&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); } && {
29979 test -z "$ac_c_werror_flag" ||
29980 test ! -s conftest.err
29981 } && test -s conftest$ac_exeext &&
29982 $as_test_x conftest$ac_exeext; then
29983 ac_cv_lib_dnet_dnet_ntoa=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29987
29988 ac_cv_lib_dnet_dnet_ntoa=no
29989 fi
29990
29991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29992 conftest$ac_exeext conftest.$ac_ext
29993 LIBS=$ac_check_lib_save_LIBS
29994 fi
29995 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29996 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29997 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29999 fi
30000
30001 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30002 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30003 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30004 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 ac_check_lib_save_LIBS=$LIBS
30008 LIBS="-ldnet_stub $LIBS"
30009 cat >conftest.$ac_ext <<_ACEOF
30010 /* confdefs.h. */
30011 _ACEOF
30012 cat confdefs.h >>conftest.$ac_ext
30013 cat >>conftest.$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30015
30016 /* Override any GCC internal prototype to avoid an error.
30017 Use char because int might match the return type of a GCC
30018 builtin and then its argument prototype would still apply. */
30019 #ifdef __cplusplus
30020 extern "C"
30021 #endif
30022 char dnet_ntoa ();
30023 int
30024 main ()
30025 {
30026 return dnet_ntoa ();
30027 ;
30028 return 0;
30029 }
30030 _ACEOF
30031 rm -f conftest.$ac_objext conftest$ac_exeext
30032 if { (ac_try="$ac_link"
30033 case "(($ac_try" in
30034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30035 *) ac_try_echo=$ac_try;;
30036 esac
30037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30038 (eval "$ac_link") 2>conftest.er1
30039 ac_status=$?
30040 grep -v '^ *+' conftest.er1 >conftest.err
30041 rm -f conftest.er1
30042 cat conftest.err >&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } && {
30045 test -z "$ac_c_werror_flag" ||
30046 test ! -s conftest.err
30047 } && test -s conftest$ac_exeext &&
30048 $as_test_x conftest$ac_exeext; then
30049 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30050 else
30051 echo "$as_me: failed program was:" >&5
30052 sed 's/^/| /' conftest.$ac_ext >&5
30053
30054 ac_cv_lib_dnet_stub_dnet_ntoa=no
30055 fi
30056
30057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30058 conftest$ac_exeext conftest.$ac_ext
30059 LIBS=$ac_check_lib_save_LIBS
30060 fi
30061 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30062 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30063 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30064 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30065 fi
30066
30067 fi
30068 fi
30069
30070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30071 conftest$ac_exeext conftest.$ac_ext
30072 LIBS="$ac_xsave_LIBS"
30073
30074 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30075 # to get the SysV transport functions.
30076 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30077 # needs -lnsl.
30078 # The nsl library prevents programs from opening the X display
30079 # on Irix 5.2, according to T.E. Dickey.
30080 # The functions gethostbyname, getservbyname, and inet_addr are
30081 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30082 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30083 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30084 if test "${ac_cv_func_gethostbyname+set}" = set; then
30085 echo $ECHO_N "(cached) $ECHO_C" >&6
30086 else
30087 cat >conftest.$ac_ext <<_ACEOF
30088 /* confdefs.h. */
30089 _ACEOF
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30095 #define gethostbyname innocuous_gethostbyname
30096
30097 /* System header to define __stub macros and hopefully few prototypes,
30098 which can conflict with char gethostbyname (); below.
30099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30100 <limits.h> exists even on freestanding compilers. */
30101
30102 #ifdef __STDC__
30103 # include <limits.h>
30104 #else
30105 # include <assert.h>
30106 #endif
30107
30108 #undef gethostbyname
30109
30110 /* Override any GCC internal prototype to avoid an error.
30111 Use char because int might match the return type of a GCC
30112 builtin and then its argument prototype would still apply. */
30113 #ifdef __cplusplus
30114 extern "C"
30115 #endif
30116 char gethostbyname ();
30117 /* The GNU C library defines this for functions which it implements
30118 to always fail with ENOSYS. Some functions are actually named
30119 something starting with __ and the normal name is an alias. */
30120 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30121 choke me
30122 #endif
30123
30124 int
30125 main ()
30126 {
30127 return gethostbyname ();
30128 ;
30129 return 0;
30130 }
30131 _ACEOF
30132 rm -f conftest.$ac_objext conftest$ac_exeext
30133 if { (ac_try="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30137 esac
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>conftest.er1
30140 ac_status=$?
30141 grep -v '^ *+' conftest.er1 >conftest.err
30142 rm -f conftest.er1
30143 cat conftest.err >&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } && {
30146 test -z "$ac_c_werror_flag" ||
30147 test ! -s conftest.err
30148 } && test -s conftest$ac_exeext &&
30149 $as_test_x conftest$ac_exeext; then
30150 ac_cv_func_gethostbyname=yes
30151 else
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 ac_cv_func_gethostbyname=no
30156 fi
30157
30158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30159 conftest$ac_exeext conftest.$ac_ext
30160 fi
30161 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30162 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30163
30164 if test $ac_cv_func_gethostbyname = no; then
30165 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30166 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30167 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30169 else
30170 ac_check_lib_save_LIBS=$LIBS
30171 LIBS="-lnsl $LIBS"
30172 cat >conftest.$ac_ext <<_ACEOF
30173 /* confdefs.h. */
30174 _ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30178
30179 /* Override any GCC internal prototype to avoid an error.
30180 Use char because int might match the return type of a GCC
30181 builtin and then its argument prototype would still apply. */
30182 #ifdef __cplusplus
30183 extern "C"
30184 #endif
30185 char gethostbyname ();
30186 int
30187 main ()
30188 {
30189 return gethostbyname ();
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30198 *) ac_try_echo=$ac_try;;
30199 esac
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>conftest.er1
30202 ac_status=$?
30203 grep -v '^ *+' conftest.er1 >conftest.err
30204 rm -f conftest.er1
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } && {
30208 test -z "$ac_c_werror_flag" ||
30209 test ! -s conftest.err
30210 } && test -s conftest$ac_exeext &&
30211 $as_test_x conftest$ac_exeext; then
30212 ac_cv_lib_nsl_gethostbyname=yes
30213 else
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30216
30217 ac_cv_lib_nsl_gethostbyname=no
30218 fi
30219
30220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30221 conftest$ac_exeext conftest.$ac_ext
30222 LIBS=$ac_check_lib_save_LIBS
30223 fi
30224 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30225 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30226 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30228 fi
30229
30230 if test $ac_cv_lib_nsl_gethostbyname = no; then
30231 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30232 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30233 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30235 else
30236 ac_check_lib_save_LIBS=$LIBS
30237 LIBS="-lbsd $LIBS"
30238 cat >conftest.$ac_ext <<_ACEOF
30239 /* confdefs.h. */
30240 _ACEOF
30241 cat confdefs.h >>conftest.$ac_ext
30242 cat >>conftest.$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30244
30245 /* Override any GCC internal prototype to avoid an error.
30246 Use char because int might match the return type of a GCC
30247 builtin and then its argument prototype would still apply. */
30248 #ifdef __cplusplus
30249 extern "C"
30250 #endif
30251 char gethostbyname ();
30252 int
30253 main ()
30254 {
30255 return gethostbyname ();
30256 ;
30257 return 0;
30258 }
30259 _ACEOF
30260 rm -f conftest.$ac_objext conftest$ac_exeext
30261 if { (ac_try="$ac_link"
30262 case "(($ac_try" in
30263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30264 *) ac_try_echo=$ac_try;;
30265 esac
30266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30267 (eval "$ac_link") 2>conftest.er1
30268 ac_status=$?
30269 grep -v '^ *+' conftest.er1 >conftest.err
30270 rm -f conftest.er1
30271 cat conftest.err >&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); } && {
30274 test -z "$ac_c_werror_flag" ||
30275 test ! -s conftest.err
30276 } && test -s conftest$ac_exeext &&
30277 $as_test_x conftest$ac_exeext; then
30278 ac_cv_lib_bsd_gethostbyname=yes
30279 else
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30282
30283 ac_cv_lib_bsd_gethostbyname=no
30284 fi
30285
30286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30287 conftest$ac_exeext conftest.$ac_ext
30288 LIBS=$ac_check_lib_save_LIBS
30289 fi
30290 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30291 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30292 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30294 fi
30295
30296 fi
30297 fi
30298
30299 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30300 # socket/setsockopt and other routines are undefined under SCO ODT
30301 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30302 # on later versions), says Simon Leinen: it contains gethostby*
30303 # variants that don't use the name server (or something). -lsocket
30304 # must be given before -lnsl if both are needed. We assume that
30305 # if connect needs -lnsl, so does gethostbyname.
30306 { echo "$as_me:$LINENO: checking for connect" >&5
30307 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30308 if test "${ac_cv_func_connect+set}" = set; then
30309 echo $ECHO_N "(cached) $ECHO_C" >&6
30310 else
30311 cat >conftest.$ac_ext <<_ACEOF
30312 /* confdefs.h. */
30313 _ACEOF
30314 cat confdefs.h >>conftest.$ac_ext
30315 cat >>conftest.$ac_ext <<_ACEOF
30316 /* end confdefs.h. */
30317 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30319 #define connect innocuous_connect
30320
30321 /* System header to define __stub macros and hopefully few prototypes,
30322 which can conflict with char connect (); below.
30323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30324 <limits.h> exists even on freestanding compilers. */
30325
30326 #ifdef __STDC__
30327 # include <limits.h>
30328 #else
30329 # include <assert.h>
30330 #endif
30331
30332 #undef connect
30333
30334 /* Override any GCC internal prototype to avoid an error.
30335 Use char because int might match the return type of a GCC
30336 builtin and then its argument prototype would still apply. */
30337 #ifdef __cplusplus
30338 extern "C"
30339 #endif
30340 char connect ();
30341 /* The GNU C library defines this for functions which it implements
30342 to always fail with ENOSYS. Some functions are actually named
30343 something starting with __ and the normal name is an alias. */
30344 #if defined __stub_connect || defined __stub___connect
30345 choke me
30346 #endif
30347
30348 int
30349 main ()
30350 {
30351 return connect ();
30352 ;
30353 return 0;
30354 }
30355 _ACEOF
30356 rm -f conftest.$ac_objext conftest$ac_exeext
30357 if { (ac_try="$ac_link"
30358 case "(($ac_try" in
30359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30360 *) ac_try_echo=$ac_try;;
30361 esac
30362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30363 (eval "$ac_link") 2>conftest.er1
30364 ac_status=$?
30365 grep -v '^ *+' conftest.er1 >conftest.err
30366 rm -f conftest.er1
30367 cat conftest.err >&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } && {
30370 test -z "$ac_c_werror_flag" ||
30371 test ! -s conftest.err
30372 } && test -s conftest$ac_exeext &&
30373 $as_test_x conftest$ac_exeext; then
30374 ac_cv_func_connect=yes
30375 else
30376 echo "$as_me: failed program was:" >&5
30377 sed 's/^/| /' conftest.$ac_ext >&5
30378
30379 ac_cv_func_connect=no
30380 fi
30381
30382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30383 conftest$ac_exeext conftest.$ac_ext
30384 fi
30385 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30386 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30387
30388 if test $ac_cv_func_connect = no; then
30389 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30390 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30391 if test "${ac_cv_lib_socket_connect+set}" = set; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30393 else
30394 ac_check_lib_save_LIBS=$LIBS
30395 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30396 cat >conftest.$ac_ext <<_ACEOF
30397 /* confdefs.h. */
30398 _ACEOF
30399 cat confdefs.h >>conftest.$ac_ext
30400 cat >>conftest.$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30402
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30406 #ifdef __cplusplus
30407 extern "C"
30408 #endif
30409 char connect ();
30410 int
30411 main ()
30412 {
30413 return connect ();
30414 ;
30415 return 0;
30416 }
30417 _ACEOF
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (ac_try="$ac_link"
30420 case "(($ac_try" in
30421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30422 *) ac_try_echo=$ac_try;;
30423 esac
30424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30425 (eval "$ac_link") 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } && {
30432 test -z "$ac_c_werror_flag" ||
30433 test ! -s conftest.err
30434 } && test -s conftest$ac_exeext &&
30435 $as_test_x conftest$ac_exeext; then
30436 ac_cv_lib_socket_connect=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_cv_lib_socket_connect=no
30442 fi
30443
30444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30445 conftest$ac_exeext conftest.$ac_ext
30446 LIBS=$ac_check_lib_save_LIBS
30447 fi
30448 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30449 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30450 if test $ac_cv_lib_socket_connect = yes; then
30451 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30452 fi
30453
30454 fi
30455
30456 # Guillermo Gomez says -lposix is necessary on A/UX.
30457 { echo "$as_me:$LINENO: checking for remove" >&5
30458 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30459 if test "${ac_cv_func_remove+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30461 else
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30470 #define remove innocuous_remove
30471
30472 /* System header to define __stub macros and hopefully few prototypes,
30473 which can conflict with char remove (); below.
30474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30475 <limits.h> exists even on freestanding compilers. */
30476
30477 #ifdef __STDC__
30478 # include <limits.h>
30479 #else
30480 # include <assert.h>
30481 #endif
30482
30483 #undef remove
30484
30485 /* Override any GCC internal prototype to avoid an error.
30486 Use char because int might match the return type of a GCC
30487 builtin and then its argument prototype would still apply. */
30488 #ifdef __cplusplus
30489 extern "C"
30490 #endif
30491 char remove ();
30492 /* The GNU C library defines this for functions which it implements
30493 to always fail with ENOSYS. Some functions are actually named
30494 something starting with __ and the normal name is an alias. */
30495 #if defined __stub_remove || defined __stub___remove
30496 choke me
30497 #endif
30498
30499 int
30500 main ()
30501 {
30502 return remove ();
30503 ;
30504 return 0;
30505 }
30506 _ACEOF
30507 rm -f conftest.$ac_objext conftest$ac_exeext
30508 if { (ac_try="$ac_link"
30509 case "(($ac_try" in
30510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30511 *) ac_try_echo=$ac_try;;
30512 esac
30513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30514 (eval "$ac_link") 2>conftest.er1
30515 ac_status=$?
30516 grep -v '^ *+' conftest.er1 >conftest.err
30517 rm -f conftest.er1
30518 cat conftest.err >&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } && {
30521 test -z "$ac_c_werror_flag" ||
30522 test ! -s conftest.err
30523 } && test -s conftest$ac_exeext &&
30524 $as_test_x conftest$ac_exeext; then
30525 ac_cv_func_remove=yes
30526 else
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.$ac_ext >&5
30529
30530 ac_cv_func_remove=no
30531 fi
30532
30533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30534 conftest$ac_exeext conftest.$ac_ext
30535 fi
30536 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30537 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30538
30539 if test $ac_cv_func_remove = no; then
30540 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30541 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30542 if test "${ac_cv_lib_posix_remove+set}" = set; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30544 else
30545 ac_check_lib_save_LIBS=$LIBS
30546 LIBS="-lposix $LIBS"
30547 cat >conftest.$ac_ext <<_ACEOF
30548 /* confdefs.h. */
30549 _ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553
30554 /* Override any GCC internal prototype to avoid an error.
30555 Use char because int might match the return type of a GCC
30556 builtin and then its argument prototype would still apply. */
30557 #ifdef __cplusplus
30558 extern "C"
30559 #endif
30560 char remove ();
30561 int
30562 main ()
30563 {
30564 return remove ();
30565 ;
30566 return 0;
30567 }
30568 _ACEOF
30569 rm -f conftest.$ac_objext conftest$ac_exeext
30570 if { (ac_try="$ac_link"
30571 case "(($ac_try" in
30572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30574 esac
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_link") 2>conftest.er1
30577 ac_status=$?
30578 grep -v '^ *+' conftest.er1 >conftest.err
30579 rm -f conftest.er1
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } && {
30583 test -z "$ac_c_werror_flag" ||
30584 test ! -s conftest.err
30585 } && test -s conftest$ac_exeext &&
30586 $as_test_x conftest$ac_exeext; then
30587 ac_cv_lib_posix_remove=yes
30588 else
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30591
30592 ac_cv_lib_posix_remove=no
30593 fi
30594
30595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS=$ac_check_lib_save_LIBS
30598 fi
30599 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30600 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30601 if test $ac_cv_lib_posix_remove = yes; then
30602 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30603 fi
30604
30605 fi
30606
30607 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30608 { echo "$as_me:$LINENO: checking for shmat" >&5
30609 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30610 if test "${ac_cv_func_shmat+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30612 else
30613 cat >conftest.$ac_ext <<_ACEOF
30614 /* confdefs.h. */
30615 _ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30621 #define shmat innocuous_shmat
30622
30623 /* System header to define __stub macros and hopefully few prototypes,
30624 which can conflict with char shmat (); below.
30625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30626 <limits.h> exists even on freestanding compilers. */
30627
30628 #ifdef __STDC__
30629 # include <limits.h>
30630 #else
30631 # include <assert.h>
30632 #endif
30633
30634 #undef shmat
30635
30636 /* Override any GCC internal prototype to avoid an error.
30637 Use char because int might match the return type of a GCC
30638 builtin and then its argument prototype would still apply. */
30639 #ifdef __cplusplus
30640 extern "C"
30641 #endif
30642 char shmat ();
30643 /* The GNU C library defines this for functions which it implements
30644 to always fail with ENOSYS. Some functions are actually named
30645 something starting with __ and the normal name is an alias. */
30646 #if defined __stub_shmat || defined __stub___shmat
30647 choke me
30648 #endif
30649
30650 int
30651 main ()
30652 {
30653 return shmat ();
30654 ;
30655 return 0;
30656 }
30657 _ACEOF
30658 rm -f conftest.$ac_objext conftest$ac_exeext
30659 if { (ac_try="$ac_link"
30660 case "(($ac_try" in
30661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30662 *) ac_try_echo=$ac_try;;
30663 esac
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_link") 2>conftest.er1
30666 ac_status=$?
30667 grep -v '^ *+' conftest.er1 >conftest.err
30668 rm -f conftest.er1
30669 cat conftest.err >&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } && {
30672 test -z "$ac_c_werror_flag" ||
30673 test ! -s conftest.err
30674 } && test -s conftest$ac_exeext &&
30675 $as_test_x conftest$ac_exeext; then
30676 ac_cv_func_shmat=yes
30677 else
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30680
30681 ac_cv_func_shmat=no
30682 fi
30683
30684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30685 conftest$ac_exeext conftest.$ac_ext
30686 fi
30687 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30688 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30689
30690 if test $ac_cv_func_shmat = no; then
30691 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30692 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30693 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30695 else
30696 ac_check_lib_save_LIBS=$LIBS
30697 LIBS="-lipc $LIBS"
30698 cat >conftest.$ac_ext <<_ACEOF
30699 /* confdefs.h. */
30700 _ACEOF
30701 cat confdefs.h >>conftest.$ac_ext
30702 cat >>conftest.$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30704
30705 /* Override any GCC internal prototype to avoid an error.
30706 Use char because int might match the return type of a GCC
30707 builtin and then its argument prototype would still apply. */
30708 #ifdef __cplusplus
30709 extern "C"
30710 #endif
30711 char shmat ();
30712 int
30713 main ()
30714 {
30715 return shmat ();
30716 ;
30717 return 0;
30718 }
30719 _ACEOF
30720 rm -f conftest.$ac_objext conftest$ac_exeext
30721 if { (ac_try="$ac_link"
30722 case "(($ac_try" in
30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30725 esac
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_link") 2>conftest.er1
30728 ac_status=$?
30729 grep -v '^ *+' conftest.er1 >conftest.err
30730 rm -f conftest.er1
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } && {
30734 test -z "$ac_c_werror_flag" ||
30735 test ! -s conftest.err
30736 } && test -s conftest$ac_exeext &&
30737 $as_test_x conftest$ac_exeext; then
30738 ac_cv_lib_ipc_shmat=yes
30739 else
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 ac_cv_lib_ipc_shmat=no
30744 fi
30745
30746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30747 conftest$ac_exeext conftest.$ac_ext
30748 LIBS=$ac_check_lib_save_LIBS
30749 fi
30750 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30751 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30752 if test $ac_cv_lib_ipc_shmat = yes; then
30753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30754 fi
30755
30756 fi
30757 fi
30758
30759 # Check for libraries that X11R6 Xt/Xaw programs need.
30760 ac_save_LDFLAGS=$LDFLAGS
30761 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30762 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30763 # check for ICE first), but we must link in the order -lSM -lICE or
30764 # we get undefined symbols. So assume we have SM if we have ICE.
30765 # These have to be linked with before -lX11, unlike the other
30766 # libraries we check for below, so use a different variable.
30767 # John Interrante, Karl Berry
30768 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30769 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30770 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30771 echo $ECHO_N "(cached) $ECHO_C" >&6
30772 else
30773 ac_check_lib_save_LIBS=$LIBS
30774 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30775 cat >conftest.$ac_ext <<_ACEOF
30776 /* confdefs.h. */
30777 _ACEOF
30778 cat confdefs.h >>conftest.$ac_ext
30779 cat >>conftest.$ac_ext <<_ACEOF
30780 /* end confdefs.h. */
30781
30782 /* Override any GCC internal prototype to avoid an error.
30783 Use char because int might match the return type of a GCC
30784 builtin and then its argument prototype would still apply. */
30785 #ifdef __cplusplus
30786 extern "C"
30787 #endif
30788 char IceConnectionNumber ();
30789 int
30790 main ()
30791 {
30792 return IceConnectionNumber ();
30793 ;
30794 return 0;
30795 }
30796 _ACEOF
30797 rm -f conftest.$ac_objext conftest$ac_exeext
30798 if { (ac_try="$ac_link"
30799 case "(($ac_try" in
30800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30801 *) ac_try_echo=$ac_try;;
30802 esac
30803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30804 (eval "$ac_link") 2>conftest.er1
30805 ac_status=$?
30806 grep -v '^ *+' conftest.er1 >conftest.err
30807 rm -f conftest.er1
30808 cat conftest.err >&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } && {
30811 test -z "$ac_c_werror_flag" ||
30812 test ! -s conftest.err
30813 } && test -s conftest$ac_exeext &&
30814 $as_test_x conftest$ac_exeext; then
30815 ac_cv_lib_ICE_IceConnectionNumber=yes
30816 else
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.$ac_ext >&5
30819
30820 ac_cv_lib_ICE_IceConnectionNumber=no
30821 fi
30822
30823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30824 conftest$ac_exeext conftest.$ac_ext
30825 LIBS=$ac_check_lib_save_LIBS
30826 fi
30827 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30828 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30829 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30830 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30831 fi
30832
30833 LDFLAGS=$ac_save_LDFLAGS
30834
30835 fi
30836
30837
30838 if test "$no_x" = "yes"; then
30839 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30840 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30841 { (exit 1); exit 1; }; }
30842 fi
30843
30844 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30845 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30846 AFMINSTALL=afminstall
30847 COMPILED_X_PROGRAM=0
30848
30849 fi
30850
30851 if test "$wxUSE_X11" = 1; then
30852 if test "$wxUSE_NANOX" = "yes"; then
30853 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30854 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30855 if test "x$MICROWIN" = x ; then
30856 { echo "$as_me:$LINENO: result: not found" >&5
30857 echo "${ECHO_T}not found" >&6; }
30858 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30859 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30860 { (exit 1); exit 1; }; }
30861 else
30862 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30863 echo "${ECHO_T}$MICROWIN" >&6; }
30864 cat >>confdefs.h <<\_ACEOF
30865 #define wxUSE_NANOX 1
30866 _ACEOF
30867
30868 fi
30869 fi
30870
30871 if test "$wxUSE_UNICODE" = "yes"; then
30872
30873
30874 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30875 if test -n "$ac_tool_prefix"; then
30876 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30877 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30880 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30881 echo $ECHO_N "(cached) $ECHO_C" >&6
30882 else
30883 case $PKG_CONFIG in
30884 [\\/]* | ?:[\\/]*)
30885 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30886 ;;
30887 *)
30888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30889 for as_dir in $PATH
30890 do
30891 IFS=$as_save_IFS
30892 test -z "$as_dir" && as_dir=.
30893 for ac_exec_ext in '' $ac_executable_extensions; do
30894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30895 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30897 break 2
30898 fi
30899 done
30900 done
30901 IFS=$as_save_IFS
30902
30903 ;;
30904 esac
30905 fi
30906 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30907 if test -n "$PKG_CONFIG"; then
30908 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30909 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30910 else
30911 { echo "$as_me:$LINENO: result: no" >&5
30912 echo "${ECHO_T}no" >&6; }
30913 fi
30914
30915
30916 fi
30917 if test -z "$ac_cv_path_PKG_CONFIG"; then
30918 ac_pt_PKG_CONFIG=$PKG_CONFIG
30919 # Extract the first word of "pkg-config", so it can be a program name with args.
30920 set dummy pkg-config; ac_word=$2
30921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30923 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30924 echo $ECHO_N "(cached) $ECHO_C" >&6
30925 else
30926 case $ac_pt_PKG_CONFIG in
30927 [\\/]* | ?:[\\/]*)
30928 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30929 ;;
30930 *)
30931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30932 for as_dir in $PATH
30933 do
30934 IFS=$as_save_IFS
30935 test -z "$as_dir" && as_dir=.
30936 for ac_exec_ext in '' $ac_executable_extensions; do
30937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30938 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30940 break 2
30941 fi
30942 done
30943 done
30944 IFS=$as_save_IFS
30945
30946 ;;
30947 esac
30948 fi
30949 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30950 if test -n "$ac_pt_PKG_CONFIG"; then
30951 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30952 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30953 else
30954 { echo "$as_me:$LINENO: result: no" >&5
30955 echo "${ECHO_T}no" >&6; }
30956 fi
30957
30958 if test "x$ac_pt_PKG_CONFIG" = x; then
30959 PKG_CONFIG=""
30960 else
30961 case $cross_compiling:$ac_tool_warned in
30962 yes:)
30963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30964 whose name does not start with the host triplet. If you think this
30965 configuration is useful to you, please write to autoconf@gnu.org." >&5
30966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30967 whose name does not start with the host triplet. If you think this
30968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30969 ac_tool_warned=yes ;;
30970 esac
30971 PKG_CONFIG=$ac_pt_PKG_CONFIG
30972 fi
30973 else
30974 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30975 fi
30976
30977 fi
30978 if test -n "$PKG_CONFIG"; then
30979 _pkg_min_version=0.9.0
30980 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30981 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30982 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30985 else
30986 { echo "$as_me:$LINENO: result: no" >&5
30987 echo "${ECHO_T}no" >&6; }
30988 PKG_CONFIG=""
30989 fi
30990
30991 fi
30992
30993
30994 pkg_failed=no
30995 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30996 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30997
30998 if test -n "$PKG_CONFIG"; then
30999 if test -n "$PANGOX_CFLAGS"; then
31000 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31001 else
31002 if test -n "$PKG_CONFIG" && \
31003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31004 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; then
31008 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31009 else
31010 pkg_failed=yes
31011 fi
31012 fi
31013 else
31014 pkg_failed=untried
31015 fi
31016 if test -n "$PKG_CONFIG"; then
31017 if test -n "$PANGOX_LIBS"; then
31018 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31019 else
31020 if test -n "$PKG_CONFIG" && \
31021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31022 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31023 ac_status=$?
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); }; then
31026 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31027 else
31028 pkg_failed=yes
31029 fi
31030 fi
31031 else
31032 pkg_failed=untried
31033 fi
31034
31035
31036
31037 if test $pkg_failed = yes; then
31038
31039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31040 _pkg_short_errors_supported=yes
31041 else
31042 _pkg_short_errors_supported=no
31043 fi
31044 if test $_pkg_short_errors_supported = yes; then
31045 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31046 else
31047 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31048 fi
31049 # Put the nasty error message in config.log where it belongs
31050 echo "$PANGOX_PKG_ERRORS" >&5
31051
31052
31053 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31054 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31055 { (exit 1); exit 1; }; }
31056
31057
31058 elif test $pkg_failed = untried; then
31059
31060 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31061 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31062 { (exit 1); exit 1; }; }
31063
31064
31065 else
31066 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31067 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31068 { echo "$as_me:$LINENO: result: yes" >&5
31069 echo "${ECHO_T}yes" >&6; }
31070
31071 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31072 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31073 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31074
31075 fi
31076
31077 pkg_failed=no
31078 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31079 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31080
31081 if test -n "$PKG_CONFIG"; then
31082 if test -n "$PANGOFT2_CFLAGS"; then
31083 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31084 else
31085 if test -n "$PKG_CONFIG" && \
31086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31087 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; then
31091 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31092 else
31093 pkg_failed=yes
31094 fi
31095 fi
31096 else
31097 pkg_failed=untried
31098 fi
31099 if test -n "$PKG_CONFIG"; then
31100 if test -n "$PANGOFT2_LIBS"; then
31101 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31102 else
31103 if test -n "$PKG_CONFIG" && \
31104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31105 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; then
31109 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31110 else
31111 pkg_failed=yes
31112 fi
31113 fi
31114 else
31115 pkg_failed=untried
31116 fi
31117
31118
31119
31120 if test $pkg_failed = yes; then
31121
31122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31123 _pkg_short_errors_supported=yes
31124 else
31125 _pkg_short_errors_supported=no
31126 fi
31127 if test $_pkg_short_errors_supported = yes; then
31128 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31129 else
31130 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31131 fi
31132 # Put the nasty error message in config.log where it belongs
31133 echo "$PANGOFT2_PKG_ERRORS" >&5
31134
31135
31136 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31137 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31138 wxUSE_PRINTING_ARCHITECTURE="no"
31139
31140
31141 elif test $pkg_failed = untried; then
31142
31143 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31144 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31145 wxUSE_PRINTING_ARCHITECTURE="no"
31146
31147
31148 else
31149 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31150 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31151 { echo "$as_me:$LINENO: result: yes" >&5
31152 echo "${ECHO_T}yes" >&6; }
31153
31154 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31155 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31157
31158 fi
31159
31160 pkg_failed=no
31161 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31162 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31163
31164 if test -n "$PKG_CONFIG"; then
31165 if test -n "$PANGOXFT_CFLAGS"; then
31166 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31167 else
31168 if test -n "$PKG_CONFIG" && \
31169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31170 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31171 ac_status=$?
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; then
31174 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31175 else
31176 pkg_failed=yes
31177 fi
31178 fi
31179 else
31180 pkg_failed=untried
31181 fi
31182 if test -n "$PKG_CONFIG"; then
31183 if test -n "$PANGOXFT_LIBS"; then
31184 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31185 else
31186 if test -n "$PKG_CONFIG" && \
31187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31188 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31189 ac_status=$?
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; then
31192 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31193 else
31194 pkg_failed=yes
31195 fi
31196 fi
31197 else
31198 pkg_failed=untried
31199 fi
31200
31201
31202
31203 if test $pkg_failed = yes; then
31204
31205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31206 _pkg_short_errors_supported=yes
31207 else
31208 _pkg_short_errors_supported=no
31209 fi
31210 if test $_pkg_short_errors_supported = yes; then
31211 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31212 else
31213 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31214 fi
31215 # Put the nasty error message in config.log where it belongs
31216 echo "$PANGOXFT_PKG_ERRORS" >&5
31217
31218
31219 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31220 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31221
31222
31223 elif test $pkg_failed = untried; then
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 else
31230 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31231 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31232 { echo "$as_me:$LINENO: result: yes" >&5
31233 echo "${ECHO_T}yes" >&6; }
31234
31235 cat >>confdefs.h <<\_ACEOF
31236 #define HAVE_PANGO_XFT 1
31237 _ACEOF
31238
31239 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31240 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31241 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31242
31243 fi
31244 save_LIBS="$LIBS"
31245 LIBS="$LIBS $PANGOX_LIBS"
31246
31247 for ac_func in pango_font_family_is_monospace
31248 do
31249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31254 else
31255 cat >conftest.$ac_ext <<_ACEOF
31256 /* confdefs.h. */
31257 _ACEOF
31258 cat confdefs.h >>conftest.$ac_ext
31259 cat >>conftest.$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31263 #define $ac_func innocuous_$ac_func
31264
31265 /* System header to define __stub macros and hopefully few prototypes,
31266 which can conflict with char $ac_func (); below.
31267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31268 <limits.h> exists even on freestanding compilers. */
31269
31270 #ifdef __STDC__
31271 # include <limits.h>
31272 #else
31273 # include <assert.h>
31274 #endif
31275
31276 #undef $ac_func
31277
31278 /* Override any GCC internal prototype to avoid an error.
31279 Use char because int might match the return type of a GCC
31280 builtin and then its argument prototype would still apply. */
31281 #ifdef __cplusplus
31282 extern "C"
31283 #endif
31284 char $ac_func ();
31285 /* The GNU C library defines this for functions which it implements
31286 to always fail with ENOSYS. Some functions are actually named
31287 something starting with __ and the normal name is an alias. */
31288 #if defined __stub_$ac_func || defined __stub___$ac_func
31289 choke me
31290 #endif
31291
31292 int
31293 main ()
31294 {
31295 return $ac_func ();
31296 ;
31297 return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (ac_try="$ac_link"
31302 case "(($ac_try" in
31303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31304 *) ac_try_echo=$ac_try;;
31305 esac
31306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31307 (eval "$ac_link") 2>conftest.er1
31308 ac_status=$?
31309 grep -v '^ *+' conftest.er1 >conftest.err
31310 rm -f conftest.er1
31311 cat conftest.err >&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } && {
31314 test -z "$ac_c_werror_flag" ||
31315 test ! -s conftest.err
31316 } && test -s conftest$ac_exeext &&
31317 $as_test_x conftest$ac_exeext; then
31318 eval "$as_ac_var=yes"
31319 else
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31322
31323 eval "$as_ac_var=no"
31324 fi
31325
31326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31327 conftest$ac_exeext conftest.$ac_ext
31328 fi
31329 ac_res=`eval echo '${'$as_ac_var'}'`
31330 { echo "$as_me:$LINENO: result: $ac_res" >&5
31331 echo "${ECHO_T}$ac_res" >&6; }
31332 if test `eval echo '${'$as_ac_var'}'` = yes; then
31333 cat >>confdefs.h <<_ACEOF
31334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31335 _ACEOF
31336
31337 fi
31338 done
31339
31340 LIBS="$save_LIBS"
31341 fi
31342
31343 wxUSE_UNIVERSAL="yes"
31344
31345 if test "$wxUSE_NANOX" = "yes"; then
31346 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31347 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"
31348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31349 else
31350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31351 fi
31352
31353 TOOLKIT=X11
31354 GUIDIST=X11_DIST
31355 fi
31356
31357 if test "$wxUSE_MOTIF" = 1; then
31358 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31359 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31360
31361 ac_find_includes=
31362 for ac_dir in $SEARCH_INCLUDE /usr/include;
31363 do
31364 if test -f "$ac_dir/Xm/Xm.h"; then
31365 ac_find_includes=$ac_dir
31366 break
31367 fi
31368 done
31369
31370 if test "$ac_find_includes" != "" ; then
31371 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31372 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31373
31374 if test "x$ac_find_includes" = "x/usr/include"; then
31375 ac_path_to_include=""
31376 else
31377 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31378 result=$?
31379 if test $result = 0; then
31380 ac_path_to_include=""
31381 else
31382 ac_path_to_include=" -I$ac_find_includes"
31383 fi
31384 fi
31385
31386 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31387 else
31388 save_CFLAGS=$CFLAGS
31389 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31390
31391 cat >conftest.$ac_ext <<_ACEOF
31392 /* confdefs.h. */
31393 _ACEOF
31394 cat confdefs.h >>conftest.$ac_ext
31395 cat >>conftest.$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31397
31398 #include <Xm/Xm.h>
31399
31400 int
31401 main ()
31402 {
31403
31404 int version;
31405 version = xmUseVersion;
31406
31407 ;
31408 return 0;
31409 }
31410 _ACEOF
31411 rm -f conftest.$ac_objext
31412 if { (ac_try="$ac_compile"
31413 case "(($ac_try" in
31414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31415 *) ac_try_echo=$ac_try;;
31416 esac
31417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31418 (eval "$ac_compile") 2>conftest.er1
31419 ac_status=$?
31420 grep -v '^ *+' conftest.er1 >conftest.err
31421 rm -f conftest.er1
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && {
31425 test -z "$ac_c_werror_flag" ||
31426 test ! -s conftest.err
31427 } && test -s conftest.$ac_objext; then
31428
31429 { echo "$as_me:$LINENO: result: found in default search path" >&5
31430 echo "${ECHO_T}found in default search path" >&6; }
31431 COMPILED_X_PROGRAM=1
31432
31433 else
31434 echo "$as_me: failed program was:" >&5
31435 sed 's/^/| /' conftest.$ac_ext >&5
31436
31437
31438 { echo "$as_me:$LINENO: result: no" >&5
31439 echo "${ECHO_T}no" >&6; }
31440 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31441 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31442 { (exit 1); exit 1; }; }
31443
31444
31445 fi
31446
31447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31448
31449 CFLAGS=$save_CFLAGS
31450 fi
31451
31452
31453 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31454 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31455
31456 ac_find_libraries=
31457 for ac_dir in $SEARCH_LIB;
31458 do
31459 for ac_extension in a so sl dylib dll.a; do
31460 if test -f "$ac_dir/libXm.$ac_extension"; then
31461 ac_find_libraries=$ac_dir
31462 break 2
31463 fi
31464 done
31465 done
31466
31467
31468 if test "x$ac_find_libraries" != "x" ; then
31469 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31470 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31471
31472
31473 if test "$ac_find_libraries" = "default location"; then
31474 ac_path_to_link=""
31475 else
31476 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31477 result=$?
31478 if test $result = 0; then
31479 ac_path_to_link=""
31480 else
31481 ac_path_to_link=" -L$ac_find_libraries"
31482 fi
31483 fi
31484
31485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31486 else
31487 save_CFLAGS=$CFLAGS
31488 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31489 save_LIBS="$LIBS"
31490 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31491
31492 cat >conftest.$ac_ext <<_ACEOF
31493 /* confdefs.h. */
31494 _ACEOF
31495 cat confdefs.h >>conftest.$ac_ext
31496 cat >>conftest.$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31498
31499 #include <Xm/Xm.h>
31500
31501 int
31502 main ()
31503 {
31504
31505 int version;
31506 version = xmUseVersion;
31507
31508 ;
31509 return 0;
31510 }
31511 _ACEOF
31512 rm -f conftest.$ac_objext conftest$ac_exeext
31513 if { (ac_try="$ac_link"
31514 case "(($ac_try" in
31515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31516 *) ac_try_echo=$ac_try;;
31517 esac
31518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31519 (eval "$ac_link") 2>conftest.er1
31520 ac_status=$?
31521 grep -v '^ *+' conftest.er1 >conftest.err
31522 rm -f conftest.er1
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } && {
31526 test -z "$ac_c_werror_flag" ||
31527 test ! -s conftest.err
31528 } && test -s conftest$ac_exeext &&
31529 $as_test_x conftest$ac_exeext; then
31530
31531 { echo "$as_me:$LINENO: result: found in default search path" >&5
31532 echo "${ECHO_T}found in default search path" >&6; }
31533 COMPILED_X_PROGRAM=1
31534
31535 else
31536 echo "$as_me: failed program was:" >&5
31537 sed 's/^/| /' conftest.$ac_ext >&5
31538
31539
31540 { echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6; }
31542 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31543 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31544 { (exit 1); exit 1; }; }
31545
31546
31547 fi
31548
31549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31550 conftest$ac_exeext conftest.$ac_ext
31551
31552 CFLAGS=$save_CFLAGS
31553 LIBS="$save_LIBS"
31554 fi
31555
31556 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31557 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31558 libp_link=""
31559 libsm_ice_link=""
31560 libs_found=0
31561 for libp in "" " -lXp"; do
31562 if test "$libs_found" = 0; then
31563 for libsm_ice in "" " -lSM -lICE"; do
31564 if test "$libs_found" = 0; then
31565 save_LIBS="$LIBS"
31566 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31567 save_CFLAGS=$CFLAGS
31568 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31569
31570 cat >conftest.$ac_ext <<_ACEOF
31571 /* confdefs.h. */
31572 _ACEOF
31573 cat confdefs.h >>conftest.$ac_ext
31574 cat >>conftest.$ac_ext <<_ACEOF
31575 /* end confdefs.h. */
31576
31577 #include <Xm/Xm.h>
31578 #include <Xm/List.h>
31579
31580 int
31581 main ()
31582 {
31583
31584 XmString string = NULL;
31585 Widget w = NULL;
31586 int position = 0;
31587 XmListAddItem(w, string, position);
31588
31589 ;
31590 return 0;
31591 }
31592 _ACEOF
31593 rm -f conftest.$ac_objext conftest$ac_exeext
31594 if { (ac_try="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31598 esac
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611
31612 libp_link="$libp"
31613 libsm_ice_link="$libsm_ice"
31614 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31615 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31616 libs_found=1
31617
31618 else
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.$ac_ext >&5
31621
31622
31623
31624 fi
31625
31626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31627 conftest$ac_exeext conftest.$ac_ext
31628
31629 LIBS="$save_LIBS"
31630 CFLAGS=$save_CFLAGS
31631 fi
31632 done
31633 fi
31634 done
31635
31636 if test "$libs_found" = 0; then
31637 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31638 echo "${ECHO_T}can't find the right libraries" >&6; }
31639 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31640 echo "$as_me: error: can't link a simple motif program" >&2;}
31641 { (exit 1); exit 1; }; }
31642 fi
31643
31644 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31645 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31646 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 else
31649 ac_check_lib_save_LIBS=$LIBS
31650 LIBS="-lSgm $LIBS"
31651 cat >conftest.$ac_ext <<_ACEOF
31652 /* confdefs.h. */
31653 _ACEOF
31654 cat confdefs.h >>conftest.$ac_ext
31655 cat >>conftest.$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657
31658 /* Override any GCC internal prototype to avoid an error.
31659 Use char because int might match the return type of a GCC
31660 builtin and then its argument prototype would still apply. */
31661 #ifdef __cplusplus
31662 extern "C"
31663 #endif
31664 char SgCreateList ();
31665 int
31666 main ()
31667 {
31668 return SgCreateList ();
31669 ;
31670 return 0;
31671 }
31672 _ACEOF
31673 rm -f conftest.$ac_objext conftest$ac_exeext
31674 if { (ac_try="$ac_link"
31675 case "(($ac_try" in
31676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31677 *) ac_try_echo=$ac_try;;
31678 esac
31679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31680 (eval "$ac_link") 2>conftest.er1
31681 ac_status=$?
31682 grep -v '^ *+' conftest.er1 >conftest.err
31683 rm -f conftest.er1
31684 cat conftest.err >&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); } && {
31687 test -z "$ac_c_werror_flag" ||
31688 test ! -s conftest.err
31689 } && test -s conftest$ac_exeext &&
31690 $as_test_x conftest$ac_exeext; then
31691 ac_cv_lib_Sgm_SgCreateList=yes
31692 else
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31695
31696 ac_cv_lib_Sgm_SgCreateList=no
31697 fi
31698
31699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31700 conftest$ac_exeext conftest.$ac_ext
31701 LIBS=$ac_check_lib_save_LIBS
31702 fi
31703 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31704 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31705 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31706 libsgm_link=" -lSgm"
31707 fi
31708
31709
31710 save_CFLAGS=$CFLAGS
31711 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31712
31713 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31714 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31715 if test "${wx_cv_lib_motif2+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 else
31718 cat >conftest.$ac_ext <<_ACEOF
31719 /* confdefs.h. */
31720 _ACEOF
31721 cat confdefs.h >>conftest.$ac_ext
31722 cat >>conftest.$ac_ext <<_ACEOF
31723 /* end confdefs.h. */
31724
31725 #include <Xm/Xm.h>
31726
31727 int
31728 main ()
31729 {
31730
31731 #if XmVersion < 2000
31732 Not Motif 2
31733 #endif
31734
31735 ;
31736 return 0;
31737 }
31738 _ACEOF
31739 rm -f conftest.$ac_objext
31740 if { (ac_try="$ac_compile"
31741 case "(($ac_try" in
31742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31743 *) ac_try_echo=$ac_try;;
31744 esac
31745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31746 (eval "$ac_compile") 2>conftest.er1
31747 ac_status=$?
31748 grep -v '^ *+' conftest.er1 >conftest.err
31749 rm -f conftest.er1
31750 cat conftest.err >&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); } && {
31753 test -z "$ac_c_werror_flag" ||
31754 test ! -s conftest.err
31755 } && test -s conftest.$ac_objext; then
31756 wx_cv_lib_motif2="yes"
31757 else
31758 echo "$as_me: failed program was:" >&5
31759 sed 's/^/| /' conftest.$ac_ext >&5
31760
31761 wx_cv_lib_motif2="no"
31762 fi
31763
31764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31765 fi
31766 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31767 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31768 if test "$wx_cv_lib_motif2" = "yes"; then
31769 cat >>confdefs.h <<\_ACEOF
31770 #define __WXMOTIF20__ 1
31771 _ACEOF
31772
31773 else
31774 cat >>confdefs.h <<\_ACEOF
31775 #define __WXMOTIF20__ 0
31776 _ACEOF
31777
31778 fi
31779
31780 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31781 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31782 if test "${wx_cv_lib_lesstif+set}" = set; then
31783 echo $ECHO_N "(cached) $ECHO_C" >&6
31784 else
31785 cat >conftest.$ac_ext <<_ACEOF
31786 /* confdefs.h. */
31787 _ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h. */
31791
31792 #include <Xm/Xm.h>
31793
31794 int
31795 main ()
31796 {
31797
31798 #if !defined(LesstifVersion) || LesstifVersion <= 0
31799 Not Lesstif
31800 #endif
31801
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 rm -f conftest.$ac_objext
31807 if { (ac_try="$ac_compile"
31808 case "(($ac_try" in
31809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31810 *) ac_try_echo=$ac_try;;
31811 esac
31812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31813 (eval "$ac_compile") 2>conftest.er1
31814 ac_status=$?
31815 grep -v '^ *+' conftest.er1 >conftest.err
31816 rm -f conftest.er1
31817 cat conftest.err >&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } && {
31820 test -z "$ac_c_werror_flag" ||
31821 test ! -s conftest.err
31822 } && test -s conftest.$ac_objext; then
31823 wx_cv_lib_lesstif="yes"
31824 else
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 wx_cv_lib_lesstif="no"
31829 fi
31830
31831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31832
31833 fi
31834 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31835 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31836 if test "$wx_cv_lib_lesstif" = "yes"; then
31837 cat >>confdefs.h <<\_ACEOF
31838 #define __WXLESSTIF__ 1
31839 _ACEOF
31840
31841 else
31842 cat >>confdefs.h <<\_ACEOF
31843 #define __WXLESSTIF__ 0
31844 _ACEOF
31845
31846 fi
31847
31848 CFLAGS=$save_CFLAGS
31849
31850 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31851 TOOLKIT=MOTIF
31852 GUIDIST=MOTIF_DIST
31853 fi
31854
31855 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31856 if test "$wxUSE_LIBXPM" = "sys"; then
31857 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31858 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31859
31860 ac_find_libraries=
31861 for ac_dir in $SEARCH_LIB;
31862 do
31863 for ac_extension in a so sl dylib dll.a; do
31864 if test -f "$ac_dir/libXpm.$ac_extension"; then
31865 ac_find_libraries=$ac_dir
31866 break 2
31867 fi
31868 done
31869 done
31870
31871 if test "$ac_find_libraries" != "" ; then
31872
31873 if test "$ac_find_libraries" = "default location"; then
31874 ac_path_to_link=""
31875 else
31876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31877 result=$?
31878 if test $result = 0; then
31879 ac_path_to_link=""
31880 else
31881 ac_path_to_link=" -L$ac_find_libraries"
31882 fi
31883 fi
31884
31885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31886 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31887 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31888
31889 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31890 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31891 if test "${wx_cv_x11_xpm_h+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894
31895 save_CFLAGS=$CFLAGS
31896 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31897
31898 cat >conftest.$ac_ext <<_ACEOF
31899 /* confdefs.h. */
31900 _ACEOF
31901 cat confdefs.h >>conftest.$ac_ext
31902 cat >>conftest.$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31904
31905 #include <X11/xpm.h>
31906
31907 int
31908 main ()
31909 {
31910
31911 int version;
31912 version = XpmLibraryVersion();
31913
31914 ;
31915 return 0;
31916 }
31917 _ACEOF
31918 rm -f conftest.$ac_objext
31919 if { (ac_try="$ac_compile"
31920 case "(($ac_try" in
31921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31922 *) ac_try_echo=$ac_try;;
31923 esac
31924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31925 (eval "$ac_compile") 2>conftest.er1
31926 ac_status=$?
31927 grep -v '^ *+' conftest.er1 >conftest.err
31928 rm -f conftest.er1
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } && {
31932 test -z "$ac_c_werror_flag" ||
31933 test ! -s conftest.err
31934 } && test -s conftest.$ac_objext; then
31935 wx_cv_x11_xpm_h=yes
31936 else
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31939
31940 wx_cv_x11_xpm_h=no
31941
31942 fi
31943
31944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31945
31946 CFLAGS=$save_CFLAGS
31947
31948
31949 fi
31950 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31951 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31952
31953 if test $wx_cv_x11_xpm_h = "yes"; then
31954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31955 cat >>confdefs.h <<\_ACEOF
31956 #define wxHAVE_LIB_XPM 1
31957 _ACEOF
31958
31959 else
31960 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31961 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31962 fi
31963 fi
31964
31965 fi
31966
31967 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31968 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31969 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31972 ac_check_lib_save_LIBS=$LIBS
31973 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31974 cat >conftest.$ac_ext <<_ACEOF
31975 /* confdefs.h. */
31976 _ACEOF
31977 cat confdefs.h >>conftest.$ac_ext
31978 cat >>conftest.$ac_ext <<_ACEOF
31979 /* end confdefs.h. */
31980
31981 /* Override any GCC internal prototype to avoid an error.
31982 Use char because int might match the return type of a GCC
31983 builtin and then its argument prototype would still apply. */
31984 #ifdef __cplusplus
31985 extern "C"
31986 #endif
31987 char XShapeQueryExtension ();
31988 int
31989 main ()
31990 {
31991 return XShapeQueryExtension ();
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext conftest$ac_exeext
31997 if { (ac_try="$ac_link"
31998 case "(($ac_try" in
31999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32000 *) ac_try_echo=$ac_try;;
32001 esac
32002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32003 (eval "$ac_link") 2>conftest.er1
32004 ac_status=$?
32005 grep -v '^ *+' conftest.er1 >conftest.err
32006 rm -f conftest.er1
32007 cat conftest.err >&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); } && {
32010 test -z "$ac_c_werror_flag" ||
32011 test ! -s conftest.err
32012 } && test -s conftest$ac_exeext &&
32013 $as_test_x conftest$ac_exeext; then
32014 ac_cv_lib_Xext_XShapeQueryExtension=yes
32015 else
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.$ac_ext >&5
32018
32019 ac_cv_lib_Xext_XShapeQueryExtension=no
32020 fi
32021
32022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32023 conftest$ac_exeext conftest.$ac_ext
32024 LIBS=$ac_check_lib_save_LIBS
32025 fi
32026 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32027 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32028 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32029
32030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32031 wxHAVE_XEXT_LIB=1
32032
32033 fi
32034
32035
32036 if test "$wxHAVE_XEXT_LIB" = 1; then
32037 save_CFLAGS="$CFLAGS"
32038 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32039
32040 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32041 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32042 cat >conftest.$ac_ext <<_ACEOF
32043 /* confdefs.h. */
32044 _ACEOF
32045 cat confdefs.h >>conftest.$ac_ext
32046 cat >>conftest.$ac_ext <<_ACEOF
32047 /* end confdefs.h. */
32048
32049 #include <X11/Xlib.h>
32050 #include <X11/extensions/shape.h>
32051
32052 int
32053 main ()
32054 {
32055
32056 int dummy1, dummy2;
32057 XShapeQueryExtension((Display*)NULL,
32058 (int*)NULL, (int*)NULL);
32059
32060 ;
32061 return 0;
32062 }
32063 _ACEOF
32064 rm -f conftest.$ac_objext
32065 if { (ac_try="$ac_compile"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32068 *) ac_try_echo=$ac_try;;
32069 esac
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_compile") 2>conftest.er1
32072 ac_status=$?
32073 grep -v '^ *+' conftest.er1 >conftest.err
32074 rm -f conftest.er1
32075 cat conftest.err >&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest.$ac_objext; then
32081
32082 cat >>confdefs.h <<\_ACEOF
32083 #define HAVE_XSHAPE 1
32084 _ACEOF
32085
32086 { echo "$as_me:$LINENO: result: found" >&5
32087 echo "${ECHO_T}found" >&6; }
32088
32089 else
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32092
32093
32094 { echo "$as_me:$LINENO: result: not found" >&5
32095 echo "${ECHO_T}not found" >&6; }
32096
32097 fi
32098
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100 CFLAGS="$save_CFLAGS"
32101
32102 fi
32103 fi
32104
32105 if test "$wxUSE_MAC" = 1; then
32106 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32107 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32108 if test "$GCC" = yes; then
32109 { echo "$as_me:$LINENO: result: gcc" >&5
32110 echo "${ECHO_T}gcc" >&6; }
32111 CPPFLAGS_PASCAL="-fpascal-strings"
32112 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32113 { echo "$as_me:$LINENO: result: xlc" >&5
32114 echo "${ECHO_T}xlc" >&6; }
32115 CPPFLAGS_PASCAL="-qmacpstr"
32116 else
32117 { echo "$as_me:$LINENO: result: none" >&5
32118 echo "${ECHO_T}none" >&6; }
32119 fi
32120
32121 if test "x$wxUSE_UNIX" = "xyes"; then
32122 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32123 else
32124 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32125 fi
32126
32127 TOOLKIT=MAC
32128 GUIDIST=MACX_DIST
32129 WXBASEPORT="_carbon"
32130 fi
32131
32132 if test "$wxUSE_COCOA" = 1; then
32133 TOOLKIT=COCOA
32134 GUIDIST=COCOA_DIST
32135 fi
32136
32137 if test "$wxUSE_PM" = 1; then
32138 TOOLKIT=PM
32139 GUIDIST=PM_DIST
32140 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32141 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32142 if test "${wx_cv_spbcdata+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32144 else
32145
32146 cat >conftest.$ac_ext <<_ACEOF
32147 /* confdefs.h. */
32148 _ACEOF
32149 cat confdefs.h >>conftest.$ac_ext
32150 cat >>conftest.$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32152
32153 #define INCL_PM
32154 #include <os2.h>
32155
32156 int
32157 main ()
32158 {
32159
32160 SPBCDATA test;
32161
32162 ;
32163 return 0;
32164 }
32165 _ACEOF
32166 rm -f conftest.$ac_objext
32167 if { (ac_try="$ac_compile"
32168 case "(($ac_try" in
32169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32170 *) ac_try_echo=$ac_try;;
32171 esac
32172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32173 (eval "$ac_compile") 2>conftest.er1
32174 ac_status=$?
32175 grep -v '^ *+' conftest.er1 >conftest.err
32176 rm -f conftest.er1
32177 cat conftest.err >&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); } && {
32180 test -z "$ac_c_werror_flag" ||
32181 test ! -s conftest.err
32182 } && test -s conftest.$ac_objext; then
32183 wx_cv_spbcdata=yes
32184 else
32185 echo "$as_me: failed program was:" >&5
32186 sed 's/^/| /' conftest.$ac_ext >&5
32187
32188 wx_cv_spbcdata=no
32189
32190 fi
32191
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193
32194
32195 fi
32196 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32197 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32198
32199 if test $wx_cv_spbcdata = "yes"; then
32200 cat >>confdefs.h <<\_ACEOF
32201 #define HAVE_SPBCDATA 1
32202 _ACEOF
32203
32204 fi
32205 fi
32206
32207 if test "$TOOLKIT" = "PM" ; then
32208 TOOLKIT_DIR="os2"
32209 else
32210 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32211 fi
32212
32213 if test "$wxUSE_UNIVERSAL" = "yes"; then
32214 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32215 WIDGET_SET=univ
32216 fi
32217
32218 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32219 DISTDIR="wx\$(TOOLKIT)"
32220 else
32221 USE_GUI=0
32222
32223 TOOLKIT_DIR="base"
32224
32225 if test "$USE_WIN32" = 1 ; then
32226 TOOLKIT="MSW"
32227 fi
32228
32229 GUIDIST="BASE_DIST"
32230 DISTDIR="wxBase"
32231 fi
32232
32233
32234
32235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32236 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32237 wxUSE_UNICODE_UTF8=yes
32238 elif test "$USE_OS2" = 1 ; then
32239 wxUSE_UNICODE_UTF8=yes
32240 else
32241 wxUSE_UNICODE_UTF8=no
32242 fi
32243 fi
32244
32245
32246 if test "$wxUSE_GUI" = "yes"; then
32247 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32248
32249 for ac_header in X11/Xlib.h
32250 do
32251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32255 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 else
32257 cat >conftest.$ac_ext <<_ACEOF
32258 /* confdefs.h. */
32259 _ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32263
32264
32265 #include <$ac_header>
32266 _ACEOF
32267 rm -f conftest.$ac_objext
32268 if { (ac_try="$ac_compile"
32269 case "(($ac_try" in
32270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32271 *) ac_try_echo=$ac_try;;
32272 esac
32273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32274 (eval "$ac_compile") 2>conftest.er1
32275 ac_status=$?
32276 grep -v '^ *+' conftest.er1 >conftest.err
32277 rm -f conftest.er1
32278 cat conftest.err >&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); } && {
32281 test -z "$ac_c_werror_flag" ||
32282 test ! -s conftest.err
32283 } && test -s conftest.$ac_objext; then
32284 eval "$as_ac_Header=yes"
32285 else
32286 echo "$as_me: failed program was:" >&5
32287 sed 's/^/| /' conftest.$ac_ext >&5
32288
32289 eval "$as_ac_Header=no"
32290 fi
32291
32292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32293 fi
32294 ac_res=`eval echo '${'$as_ac_Header'}'`
32295 { echo "$as_me:$LINENO: result: $ac_res" >&5
32296 echo "${ECHO_T}$ac_res" >&6; }
32297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32298 cat >>confdefs.h <<_ACEOF
32299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32300 _ACEOF
32301
32302 fi
32303
32304 done
32305
32306
32307 for ac_header in X11/XKBlib.h
32308 do
32309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32313 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 else
32315 cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h. */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32321
32322 #if HAVE_X11_XLIB_H
32323 #include <X11/Xlib.h>
32324 #endif
32325
32326
32327 #include <$ac_header>
32328 _ACEOF
32329 rm -f conftest.$ac_objext
32330 if { (ac_try="$ac_compile"
32331 case "(($ac_try" in
32332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32333 *) ac_try_echo=$ac_try;;
32334 esac
32335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32336 (eval "$ac_compile") 2>conftest.er1
32337 ac_status=$?
32338 grep -v '^ *+' conftest.er1 >conftest.err
32339 rm -f conftest.er1
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } && {
32343 test -z "$ac_c_werror_flag" ||
32344 test ! -s conftest.err
32345 } && test -s conftest.$ac_objext; then
32346 eval "$as_ac_Header=yes"
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32350
32351 eval "$as_ac_Header=no"
32352 fi
32353
32354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32355 fi
32356 ac_res=`eval echo '${'$as_ac_Header'}'`
32357 { echo "$as_me:$LINENO: result: $ac_res" >&5
32358 echo "${ECHO_T}$ac_res" >&6; }
32359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32360 cat >>confdefs.h <<_ACEOF
32361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32362 _ACEOF
32363
32364 fi
32365
32366 done
32367
32368 fi
32369 fi
32370
32371
32372
32373 if test "$wxUSE_DISPLAY" = "yes"; then
32374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32375 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32376 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32377
32378 ac_find_libraries=
32379 for ac_dir in $SEARCH_LIB;
32380 do
32381 for ac_extension in a so sl dylib dll.a; do
32382 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32383 ac_find_libraries=$ac_dir
32384 break 2
32385 fi
32386 done
32387 done
32388
32389 if test "$ac_find_libraries" != "" ; then
32390
32391 if test "$ac_find_libraries" = "default location"; then
32392 ac_path_to_link=""
32393 else
32394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32395 result=$?
32396 if test $result = 0; then
32397 ac_path_to_link=""
32398 else
32399 ac_path_to_link=" -L$ac_find_libraries"
32400 fi
32401 fi
32402
32403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32404 LDFLAGS="$LDFLAGS $ac_path_to_link"
32405 fi
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32407 { echo "$as_me:$LINENO: result: yes" >&5
32408 echo "${ECHO_T}yes" >&6; }
32409
32410 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32411 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32412
32413 ac_find_libraries=
32414 for ac_dir in $SEARCH_LIB;
32415 do
32416 for ac_extension in a so sl dylib dll.a; do
32417 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32418 ac_find_libraries=$ac_dir
32419 break 2
32420 fi
32421 done
32422 done
32423
32424 if test "$ac_find_libraries" != "" ; then
32425 { echo "$as_me:$LINENO: result: yes" >&5
32426 echo "${ECHO_T}yes" >&6; }
32427
32428 for ac_header in X11/extensions/xf86vmode.h
32429 do
32430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 else
32436 cat >conftest.$ac_ext <<_ACEOF
32437 /* confdefs.h. */
32438 _ACEOF
32439 cat confdefs.h >>conftest.$ac_ext
32440 cat >>conftest.$ac_ext <<_ACEOF
32441 /* end confdefs.h. */
32442
32443 #if HAVE_X11_XLIB_H
32444 #include <X11/Xlib.h>
32445 #endif
32446
32447
32448 #include <$ac_header>
32449 _ACEOF
32450 rm -f conftest.$ac_objext
32451 if { (ac_try="$ac_compile"
32452 case "(($ac_try" in
32453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32454 *) ac_try_echo=$ac_try;;
32455 esac
32456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32457 (eval "$ac_compile") 2>conftest.er1
32458 ac_status=$?
32459 grep -v '^ *+' conftest.er1 >conftest.err
32460 rm -f conftest.er1
32461 cat conftest.err >&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } && {
32464 test -z "$ac_c_werror_flag" ||
32465 test ! -s conftest.err
32466 } && test -s conftest.$ac_objext; then
32467 eval "$as_ac_Header=yes"
32468 else
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.$ac_ext >&5
32471
32472 eval "$as_ac_Header=no"
32473 fi
32474
32475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32476 fi
32477 ac_res=`eval echo '${'$as_ac_Header'}'`
32478 { echo "$as_me:$LINENO: result: $ac_res" >&5
32479 echo "${ECHO_T}$ac_res" >&6; }
32480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32481 cat >>confdefs.h <<_ACEOF
32482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32483 _ACEOF
32484
32485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32486
32487 fi
32488
32489 done
32490
32491 else
32492 { echo "$as_me:$LINENO: result: no" >&5
32493 echo "${ECHO_T}no" >&6; }
32494 fi
32495
32496 else
32497 { echo "$as_me:$LINENO: result: no" >&5
32498 echo "${ECHO_T}no" >&6; }
32499 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32500 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32501 wxUSE_DISPLAY="no"
32502 fi
32503 elif test "$wxUSE_MSW" = 1; then
32504 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32505 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32506 if test "${ac_cv_header_ddraw_h+set}" = set; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 else
32509 cat >conftest.$ac_ext <<_ACEOF
32510 /* confdefs.h. */
32511 _ACEOF
32512 cat confdefs.h >>conftest.$ac_ext
32513 cat >>conftest.$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32515 #include <windows.h>
32516
32517 #include <ddraw.h>
32518 _ACEOF
32519 rm -f conftest.$ac_objext
32520 if { (ac_try="$ac_compile"
32521 case "(($ac_try" in
32522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32523 *) ac_try_echo=$ac_try;;
32524 esac
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_compile") 2>conftest.er1
32527 ac_status=$?
32528 grep -v '^ *+' conftest.er1 >conftest.err
32529 rm -f conftest.er1
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest.$ac_objext; then
32536 ac_cv_header_ddraw_h=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 ac_cv_header_ddraw_h=no
32542 fi
32543
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 fi
32546 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32547 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32548
32549
32550 fi
32551 fi
32552
32553 if test "$wxUSE_DETECT_SM" = "yes"; then
32554 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32555 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32556 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32557
32558 ac_find_libraries=
32559 for ac_dir in $SEARCH_LIB;
32560 do
32561 for ac_extension in a so sl dylib dll.a; do
32562 if test -f "$ac_dir/libSM.$ac_extension"; then
32563 ac_find_libraries=$ac_dir
32564 break 2
32565 fi
32566 done
32567 done
32568
32569 if test "$ac_find_libraries" != "" ; then
32570
32571 if test "$ac_find_libraries" = "default location"; then
32572 ac_path_to_link=""
32573 else
32574 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32575 result=$?
32576 if test $result = 0; then
32577 ac_path_to_link=""
32578 else
32579 ac_path_to_link=" -L$ac_find_libraries"
32580 fi
32581 fi
32582
32583 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32584 LDFLAGS="$LDFLAGS $ac_path_to_link"
32585 fi
32586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32587 { echo "$as_me:$LINENO: result: yes" >&5
32588 echo "${ECHO_T}yes" >&6; }
32589 else
32590 { echo "$as_me:$LINENO: result: no" >&5
32591 echo "${ECHO_T}no" >&6; }
32592 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32593 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32594 wxUSE_DETECT_SM="no"
32595 fi
32596 else
32597 wxUSE_DETECT_SM="no"
32598 fi
32599 fi
32600
32601
32602
32603 USE_OPENGL=0
32604 if test "$wxUSE_OPENGL" = "yes"; then
32605 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32606 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32607 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32608 wxUSE_OPENGL="no"
32609 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32610 OPENGL_LIBS="-framework OpenGL -framework AGL"
32611 elif test "$wxUSE_MSW" = 1; then
32612 OPENGL_LIBS="-lopengl32 -lglu32"
32613 else
32614 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32615 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32616
32617 ac_find_includes=
32618 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32619 do
32620 if test -f "$ac_dir/GL/gl.h"; then
32621 ac_find_includes=$ac_dir
32622 break
32623 fi
32624 done
32625
32626 if test "$ac_find_includes" != "" ; then
32627 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32628 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32629
32630 if test "x$ac_find_includes" = "x/usr/include"; then
32631 ac_path_to_include=""
32632 else
32633 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32634 result=$?
32635 if test $result = 0; then
32636 ac_path_to_include=""
32637 else
32638 ac_path_to_include=" -I$ac_find_includes"
32639 fi
32640 fi
32641
32642 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32643 else
32644 { echo "$as_me:$LINENO: result: not found" >&5
32645 echo "${ECHO_T}not found" >&6; }
32646 fi
32647
32648 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32649 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32650 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32652 else
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659
32660
32661 #include <GL/gl.h>
32662 _ACEOF
32663 rm -f conftest.$ac_objext
32664 if { (ac_try="$ac_compile"
32665 case "(($ac_try" in
32666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32667 *) ac_try_echo=$ac_try;;
32668 esac
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_compile") 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest.$ac_objext; then
32680 ac_cv_header_GL_gl_h=yes
32681 else
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.$ac_ext >&5
32684
32685 ac_cv_header_GL_gl_h=no
32686 fi
32687
32688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32689 fi
32690 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32691 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32692 if test $ac_cv_header_GL_gl_h = yes; then
32693
32694 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32695 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32696 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32697 echo $ECHO_N "(cached) $ECHO_C" >&6
32698 else
32699 cat >conftest.$ac_ext <<_ACEOF
32700 /* confdefs.h. */
32701 _ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705
32706
32707 #include <GL/glu.h>
32708 _ACEOF
32709 rm -f conftest.$ac_objext
32710 if { (ac_try="$ac_compile"
32711 case "(($ac_try" in
32712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32713 *) ac_try_echo=$ac_try;;
32714 esac
32715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32716 (eval "$ac_compile") 2>conftest.er1
32717 ac_status=$?
32718 grep -v '^ *+' conftest.er1 >conftest.err
32719 rm -f conftest.er1
32720 cat conftest.err >&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } && {
32723 test -z "$ac_c_werror_flag" ||
32724 test ! -s conftest.err
32725 } && test -s conftest.$ac_objext; then
32726 ac_cv_header_GL_glu_h=yes
32727 else
32728 echo "$as_me: failed program was:" >&5
32729 sed 's/^/| /' conftest.$ac_ext >&5
32730
32731 ac_cv_header_GL_glu_h=no
32732 fi
32733
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32735 fi
32736 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32737 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32738 if test $ac_cv_header_GL_glu_h = yes; then
32739
32740 found_gl=0
32741
32742 { echo "$as_me:$LINENO: checking for -lGL" >&5
32743 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32744
32745 ac_find_libraries=
32746 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32747 do
32748 for ac_extension in a so sl dylib dll.a; do
32749 if test -f "$ac_dir/libGL.$ac_extension"; then
32750 ac_find_libraries=$ac_dir
32751 break 2
32752 fi
32753 done
32754 done
32755
32756 if test "$ac_find_libraries" != "" ; then
32757 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32758 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32759
32760
32761 if test "$ac_find_libraries" = "default location"; then
32762 ac_path_to_link=""
32763 else
32764 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32765 result=$?
32766 if test $result = 0; then
32767 ac_path_to_link=""
32768 else
32769 ac_path_to_link=" -L$ac_find_libraries"
32770 fi
32771 fi
32772
32773 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32774 LDFLAGS_GL="$ac_path_to_link"
32775 fi
32776
32777 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32778 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32779
32780 ac_find_libraries=
32781 for ac_dir in $SEARCH_LIB;
32782 do
32783 for ac_extension in a so sl dylib dll.a; do
32784 if test -f "$ac_dir/libGLU.$ac_extension"; then
32785 ac_find_libraries=$ac_dir
32786 break 2
32787 fi
32788 done
32789 done
32790
32791 if test "$ac_find_libraries" != "" ; then
32792
32793 if test "$ac_find_libraries" = "default location"; then
32794 ac_path_to_link=""
32795 else
32796 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32797 result=$?
32798 if test $result = 0; then
32799 ac_path_to_link=""
32800 else
32801 ac_path_to_link=" -L$ac_find_libraries"
32802 fi
32803 fi
32804
32805 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32806 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32807 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32808 fi
32809
32810 found_gl=1
32811 OPENGL_LIBS="-lGL -lGLU"
32812 { echo "$as_me:$LINENO: result: yes" >&5
32813 echo "${ECHO_T}yes" >&6; }
32814 else
32815 { echo "$as_me:$LINENO: result: no" >&5
32816 echo "${ECHO_T}no" >&6; }
32817 fi
32818 else
32819 { echo "$as_me:$LINENO: result: no" >&5
32820 echo "${ECHO_T}no" >&6; }
32821 fi
32822
32823 if test "$found_gl" != 1; then
32824 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32825 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32826
32827 ac_find_libraries=
32828 for ac_dir in $SEARCH_LIB;
32829 do
32830 for ac_extension in a so sl dylib dll.a; do
32831 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32832 ac_find_libraries=$ac_dir
32833 break 2
32834 fi
32835 done
32836 done
32837
32838 if test "$ac_find_libraries" != "" ; then
32839
32840 if test "$ac_find_libraries" = "default location"; then
32841 ac_path_to_link=""
32842 else
32843 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32844 result=$?
32845 if test $result = 0; then
32846 ac_path_to_link=""
32847 else
32848 ac_path_to_link=" -L$ac_find_libraries"
32849 fi
32850 fi
32851
32852 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32853 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32854 { echo "$as_me:$LINENO: result: yes" >&5
32855 echo "${ECHO_T}yes" >&6; }
32856 else
32857 { echo "$as_me:$LINENO: result: no" >&5
32858 echo "${ECHO_T}no" >&6; }
32859 fi
32860 fi
32861
32862 fi
32863
32864
32865
32866 fi
32867
32868
32869
32870 if test "x$OPENGL_LIBS" = "x"; then
32871 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32872 echo "$as_me: error: OpenGL libraries not available" >&2;}
32873 { (exit 1); exit 1; }; }
32874 fi
32875 fi
32876
32877 if test "$wxUSE_OPENGL" = "yes"; then
32878 USE_OPENGL=1
32879 cat >>confdefs.h <<\_ACEOF
32880 #define wxUSE_OPENGL 1
32881 _ACEOF
32882
32883 cat >>confdefs.h <<\_ACEOF
32884 #define wxUSE_GLCANVAS 1
32885 _ACEOF
32886
32887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32888 fi
32889 fi
32890
32891
32892 if test -n "$TOOLKIT" ; then
32893 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32894 fi
32895
32896
32897
32898 if test "$wxUSE_SHARED" = "yes"; then
32899 case "${host}" in
32900 *-pc-msdosdjgpp )
32901 wxUSE_SHARED=no
32902 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32903 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32904 ;;
32905 esac
32906 fi
32907
32908 if test "$wxUSE_SHARED" = "yes"; then
32909
32910
32911 case "${host}" in
32912 *-*-cygwin* | *-*-mingw* )
32913 wx_cv_version_script=no
32914 ;;
32915
32916 *)
32917 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32918 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32919 if test "${wx_cv_version_script+set}" = set; then
32920 echo $ECHO_N "(cached) $ECHO_C" >&6
32921 else
32922
32923 echo "VER_1 { *; };" >conftest.sym
32924 echo "int main() { return 0; }" >conftest.cpp
32925
32926 if { ac_try='
32927 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32928 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32931 ac_status=$?
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; } ; then
32934 if test -s conftest.stderr ; then
32935 wx_cv_version_script=no
32936 else
32937 wx_cv_version_script=yes
32938 fi
32939 else
32940 wx_cv_version_script=no
32941 fi
32942
32943 if test $wx_cv_version_script = yes
32944 then
32945 echo "struct B { virtual ~B() { } }; \
32946 struct D : public B { }; \
32947 void F() { D d; }" > conftest.cpp
32948
32949 if { ac_try='
32950 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32951 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32957 { ac_try='
32958 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32959 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32962 ac_status=$?
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; }
32965 then
32966 if { ac_try='
32967 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32968 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32971 ac_status=$?
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }
32974 then
32975 wx_cv_version_script=yes
32976 else
32977 wx_cv_version_script=no
32978 fi
32979 fi
32980 fi
32981
32982 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32983 rm -f conftest1.output conftest2.output conftest3.output
32984
32985 fi
32986 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32987 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32988
32989 if test $wx_cv_version_script = yes ; then
32990 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32991 fi
32992 ;;
32993 esac
32994
32995
32996 if test "$wxUSE_VISIBILITY" != "no"; then
32997
32998
32999 if test -n "$GCC"; then
33000 CFLAGS_VISIBILITY="-fvisibility=hidden"
33001 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33002 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33003 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33004 if test "${wx_cv_cc_visibility+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 else
33007
33008 wx_save_CXXFLAGS="$CXXFLAGS"
33009 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33010 ac_ext=cpp
33011 ac_cpp='$CXXCPP $CPPFLAGS'
33012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33015
33016 cat >conftest.$ac_ext <<_ACEOF
33017 /* confdefs.h. */
33018 _ACEOF
33019 cat confdefs.h >>conftest.$ac_ext
33020 cat >>conftest.$ac_ext <<_ACEOF
33021 /* end confdefs.h. */
33022
33023 /* we need gcc >= 4.0, older versions with visibility support
33024 didn't have class visibility: */
33025 #if defined(__GNUC__) && __GNUC__ < 4
33026 error this gcc is too old;
33027 #endif
33028
33029 /* visibility only makes sense for ELF shared libs: */
33030 #if !defined(__ELF__) && !defined(__APPLE__)
33031 error this platform has no visibility;
33032 #endif
33033
33034 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33035 extern __attribute__((__visibility__("default"))) int exportedvar;
33036 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33037 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33038 class __attribute__((__visibility__("default"))) Foo {
33039 Foo() {}
33040 };
33041
33042 int
33043 main ()
33044 {
33045
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 rm -f conftest.$ac_objext
33051 if { (ac_try="$ac_compile"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33054 *) ac_try_echo=$ac_try;;
33055 esac
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_compile") 2>conftest.er1
33058 ac_status=$?
33059 grep -v '^ *+' conftest.er1 >conftest.err
33060 rm -f conftest.er1
33061 cat conftest.err >&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_cxx_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest.$ac_objext; then
33067 wx_cv_cc_visibility=yes
33068 else
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.$ac_ext >&5
33071
33072 wx_cv_cc_visibility=no
33073 fi
33074
33075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33076 ac_ext=c
33077 ac_cpp='$CPP $CPPFLAGS'
33078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33081
33082 CXXFLAGS="$wx_save_CXXFLAGS"
33083 fi
33084
33085 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33086 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33087 if test $wx_cv_cc_visibility = yes; then
33088 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33089 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33090 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 else
33093
33094 wx_save_CXXFLAGS="$CXXFLAGS"
33095 wx_save_LDFLAGS="$LDFLAGS"
33096 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33097 LDFLAGS="$LDFLAGS -shared -fPIC"
33098 ac_ext=cpp
33099 ac_cpp='$CXXCPP $CPPFLAGS'
33100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33103
33104 cat >conftest.$ac_ext <<_ACEOF
33105 /* confdefs.h. */
33106 _ACEOF
33107 cat confdefs.h >>conftest.$ac_ext
33108 cat >>conftest.$ac_ext <<_ACEOF
33109 /* end confdefs.h. */
33110
33111 #include <string>
33112
33113 int
33114 main ()
33115 {
33116
33117 std::string s("hello");
33118 return s.length();
33119
33120 ;
33121 return 0;
33122 }
33123 _ACEOF
33124 rm -f conftest.$ac_objext conftest$ac_exeext
33125 if { (ac_try="$ac_link"
33126 case "(($ac_try" in
33127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33128 *) ac_try_echo=$ac_try;;
33129 esac
33130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33131 (eval "$ac_link") 2>conftest.er1
33132 ac_status=$?
33133 grep -v '^ *+' conftest.er1 >conftest.err
33134 rm -f conftest.er1
33135 cat conftest.err >&5
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); } && {
33138 test -z "$ac_cxx_werror_flag" ||
33139 test ! -s conftest.err
33140 } && test -s conftest$ac_exeext &&
33141 $as_test_x conftest$ac_exeext; then
33142 wx_cv_cc_broken_libstdcxx_visibility=no
33143 else
33144 echo "$as_me: failed program was:" >&5
33145 sed 's/^/| /' conftest.$ac_ext >&5
33146
33147 wx_cv_cc_broken_libstdcxx_visibility=yes
33148 fi
33149
33150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33151 conftest$ac_exeext conftest.$ac_ext
33152 ac_ext=c
33153 ac_cpp='$CPP $CPPFLAGS'
33154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33157
33158 CXXFLAGS="$wx_save_CXXFLAGS"
33159 LDFLAGS="$wx_save_LDFLAGS"
33160 fi
33161
33162 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33163 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33164
33165 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33166 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33167 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33168 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33169 echo $ECHO_N "(cached) $ECHO_C" >&6
33170 else
33171
33172 ac_ext=cpp
33173 ac_cpp='$CXXCPP $CPPFLAGS'
33174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177
33178 cat >conftest.$ac_ext <<_ACEOF
33179 /* confdefs.h. */
33180 _ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184
33185 #pragma GCC visibility push(default)
33186 #include <string>
33187 #pragma GCC visibility pop
33188
33189 int
33190 main ()
33191 {
33192
33193 std::string s("hello");
33194 return s.length();
33195
33196 ;
33197 return 0;
33198 }
33199 _ACEOF
33200 rm -f conftest.$ac_objext conftest$ac_exeext
33201 if { (ac_try="$ac_link"
33202 case "(($ac_try" in
33203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33204 *) ac_try_echo=$ac_try;;
33205 esac
33206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33207 (eval "$ac_link") 2>conftest.er1
33208 ac_status=$?
33209 grep -v '^ *+' conftest.er1 >conftest.err
33210 rm -f conftest.er1
33211 cat conftest.err >&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); } && {
33214 test -z "$ac_cxx_werror_flag" ||
33215 test ! -s conftest.err
33216 } && test -s conftest$ac_exeext &&
33217 $as_test_x conftest$ac_exeext; then
33218 wx_cv_cc_visibility_workaround=no
33219 else
33220 echo "$as_me: failed program was:" >&5
33221 sed 's/^/| /' conftest.$ac_ext >&5
33222
33223 wx_cv_cc_visibility_workaround=yes
33224 fi
33225
33226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33227 conftest$ac_exeext conftest.$ac_ext
33228 ac_ext=c
33229 ac_cpp='$CPP $CPPFLAGS'
33230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33233
33234
33235 fi
33236
33237 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33238 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33239
33240 if test $wx_cv_cc_visibility_workaround = no; then
33241 wx_cv_cc_visibility=no
33242 fi
33243 fi
33244 fi
33245
33246 if test $wx_cv_cc_visibility = yes; then
33247 cat >>confdefs.h <<\_ACEOF
33248 #define HAVE_VISIBILITY 1
33249 _ACEOF
33250
33251 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33252 cat >>confdefs.h <<\_ACEOF
33253 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33254 _ACEOF
33255
33256 fi
33257 else
33258 CFLAGS_VISIBILITY=""
33259 CXXFLAGS_VISIBILITY=""
33260 fi
33261
33262
33263 fi
33264
33265 fi
33266
33267 if test "x$SUNCXX" = xyes; then
33268 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33269 WXCONFIG_RPATH="-R\$libdir"
33270 else
33271 case "${host}" in
33272 *-*-linux* | *-*-gnu* )
33273 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33274 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33275 ;;
33276
33277 *-*-solaris2* )
33278
33279 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33280
33281 saveLdflags="$LDFLAGS"
33282 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33283 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33284 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33285 cat >conftest.$ac_ext <<_ACEOF
33286 /* confdefs.h. */
33287 _ACEOF
33288 cat confdefs.h >>conftest.$ac_ext
33289 cat >>conftest.$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291
33292 int
33293 main ()
33294 {
33295
33296 ;
33297 return 0;
33298 }
33299 _ACEOF
33300 rm -f conftest.$ac_objext conftest$ac_exeext
33301 if { (ac_try="$ac_link"
33302 case "(($ac_try" in
33303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33304 *) ac_try_echo=$ac_try;;
33305 esac
33306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33307 (eval "$ac_link") 2>conftest.er1
33308 ac_status=$?
33309 grep -v '^ *+' conftest.er1 >conftest.err
33310 rm -f conftest.er1
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } && {
33314 test -z "$ac_c_werror_flag" ||
33315 test ! -s conftest.err
33316 } && test -s conftest$ac_exeext &&
33317 $as_test_x conftest$ac_exeext; then
33318
33319 { echo "$as_me:$LINENO: result: yes" >&5
33320 echo "${ECHO_T}yes" >&6; }
33321 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33322 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33323
33324 else
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33327
33328
33329 { echo "$as_me:$LINENO: result: no" >&5
33330 echo "${ECHO_T}no" >&6; }
33331 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33332 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33333 LDFLAGS="$saveLdflags -Wl,-R,/"
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340
33341 int
33342 main ()
33343 {
33344
33345 ;
33346 return 0;
33347 }
33348 _ACEOF
33349 rm -f conftest.$ac_objext conftest$ac_exeext
33350 if { (ac_try="$ac_link"
33351 case "(($ac_try" in
33352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33353 *) ac_try_echo=$ac_try;;
33354 esac
33355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33356 (eval "$ac_link") 2>conftest.er1
33357 ac_status=$?
33358 grep -v '^ *+' conftest.er1 >conftest.err
33359 rm -f conftest.er1
33360 cat conftest.err >&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } && {
33363 test -z "$ac_c_werror_flag" ||
33364 test ! -s conftest.err
33365 } && test -s conftest$ac_exeext &&
33366 $as_test_x conftest$ac_exeext; then
33367
33368 { echo "$as_me:$LINENO: result: yes" >&5
33369 echo "${ECHO_T}yes" >&6; }
33370 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33371 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33372
33373 else
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.$ac_ext >&5
33376
33377
33378 { echo "$as_me:$LINENO: result: no" >&5
33379 echo "${ECHO_T}no" >&6; }
33380
33381 fi
33382
33383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33384 conftest$ac_exeext conftest.$ac_ext
33385
33386 fi
33387
33388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33389 conftest$ac_exeext conftest.$ac_ext
33390 LDFLAGS="$saveLdflags"
33391 ;;
33392
33393 *-*-darwin* )
33394 install_name_tool=`which install_name_tool`
33395 if test "$install_name_tool" -a -x "$install_name_tool"; then
33396 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33397 cat <<EOF >change-install-names
33398 #!/bin/sh
33399 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33400 inst_cmd="install_name_tool "
33401 for i in \${libnames} ; do
33402 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33403 done
33404 \${inst_cmd} \${3}
33405 EOF
33406 chmod +x change-install-names
33407 fi
33408 ;;
33409
33410 *-*-cygwin* | *-*-mingw32* )
33411 ;;
33412
33413 *-*-hpux* )
33414 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33415 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33416 ;;
33417
33418 esac
33419 fi
33420
33421 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33422
33423 if test $wxUSE_RPATH = "no"; then
33424 SAMPLES_RPATH_FLAG=''
33425 SAMPLES_RPATH_POSTLINK=''
33426 WXCONFIG_RPATH=''
33427 fi
33428
33429 SHARED=1
33430
33431 else
33432
33433 config_linkage_component="-static"
33434 SHARED=0
33435
33436 fi
33437
33438
33439 UNICODE=0
33440 lib_unicode_suffix=
33441 WX_CHARTYPE="ansi"
33442 if test "$wxUSE_UNICODE" = "yes"; then
33443 lib_unicode_suffix=u
33444 WX_CHARTYPE="unicode"
33445 UNICODE=1
33446 fi
33447
33448 lib_debug_suffix=
33449 WX_DEBUGTYPE="release"
33450 DEBUG_FLAG=0
33451 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33452 lib_debug_suffix=d
33453 WX_DEBUGTYPE="debug"
33454 DEBUG_FLAG=1
33455 fi
33456
33457 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33458 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33459
33460 DEBUG_INFO=0
33461 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33462 DEBUG_INFO=1
33463 fi
33464
33465 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33466
33467 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33468
33469 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33470
33471 if test "$cross_compiling" = "yes"; then
33472 HOST_SUFFIX="-$host_alias"
33473 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33474 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33475 fi
33476
33477 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33478 if test "${TOOLKIT_DIR}" = "os2"; then
33479 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33480 else
33481 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33482 fi
33483
33484
33485
33486 if test "$wxUSE_COCOA" = 1; then
33487
33488 ac_ext=c
33489 ac_cpp='$CPP $CPPFLAGS'
33490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33493
33494 ac_ext=m
33495
33496 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33497 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33498 cat >conftest.$ac_ext <<_ACEOF
33499 /* confdefs.h. */
33500 _ACEOF
33501 cat confdefs.h >>conftest.$ac_ext
33502 cat >>conftest.$ac_ext <<_ACEOF
33503 /* end confdefs.h. */
33504 #include <AppKit/NSEvent.h>
33505 #include <CoreFoundation/CoreFoundation.h>
33506
33507 int
33508 main ()
33509 {
33510
33511 ;
33512 return 0;
33513 }
33514 _ACEOF
33515 rm -f conftest.$ac_objext
33516 if { (ac_try="$ac_compile"
33517 case "(($ac_try" in
33518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33519 *) ac_try_echo=$ac_try;;
33520 esac
33521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33522 (eval "$ac_compile") 2>conftest.er1
33523 ac_status=$?
33524 grep -v '^ *+' conftest.er1 >conftest.err
33525 rm -f conftest.er1
33526 cat conftest.err >&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } && {
33529 test -z "$ac_c_werror_flag" ||
33530 test ! -s conftest.err
33531 } && test -s conftest.$ac_objext; then
33532 { echo "$as_me:$LINENO: result: no" >&5
33533 echo "${ECHO_T}no" >&6; }
33534 else
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33537
33538 { echo "$as_me:$LINENO: result: yes" >&5
33539 echo "${ECHO_T}yes" >&6; }
33540 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33541 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33542 cat >conftest.$ac_ext <<_ACEOF
33543 /* confdefs.h. */
33544 _ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h. */
33548 #define __Point__ 1
33549 #include <AppKit/NSEvent.h>
33550 #include <CoreFoundation/CoreFoundation.h>
33551
33552 int
33553 main ()
33554 {
33555
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext
33561 if { (ac_try="$ac_compile"
33562 case "(($ac_try" in
33563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33564 *) ac_try_echo=$ac_try;;
33565 esac
33566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33567 (eval "$ac_compile") 2>conftest.er1
33568 ac_status=$?
33569 grep -v '^ *+' conftest.er1 >conftest.err
33570 rm -f conftest.er1
33571 cat conftest.err >&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } && {
33574 test -z "$ac_c_werror_flag" ||
33575 test ! -s conftest.err
33576 } && test -s conftest.$ac_objext; then
33577 { echo "$as_me:$LINENO: result: yes" >&5
33578 echo "${ECHO_T}yes" >&6; }
33579 cat >>confdefs.h <<\_ACEOF
33580 #define __Point__ 1
33581 _ACEOF
33582
33583
33584 else
33585 echo "$as_me: failed program was:" >&5
33586 sed 's/^/| /' conftest.$ac_ext >&5
33587
33588 { { echo "$as_me:$LINENO: error: no
33589 See \`config.log' for more details." >&5
33590 echo "$as_me: error: no
33591 See \`config.log' for more details." >&2;}
33592 { (exit 1); exit 1; }; }
33593
33594 fi
33595
33596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33597
33598 fi
33599
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607 fi
33608
33609
33610 { echo "$as_me:$LINENO: checking for mode_t" >&5
33611 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33612 if test "${ac_cv_type_mode_t+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33614 else
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h. */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621 $ac_includes_default
33622 typedef mode_t ac__type_new_;
33623 int
33624 main ()
33625 {
33626 if ((ac__type_new_ *) 0)
33627 return 0;
33628 if (sizeof (ac__type_new_))
33629 return 0;
33630 ;
33631 return 0;
33632 }
33633 _ACEOF
33634 rm -f conftest.$ac_objext
33635 if { (ac_try="$ac_compile"
33636 case "(($ac_try" in
33637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33638 *) ac_try_echo=$ac_try;;
33639 esac
33640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33641 (eval "$ac_compile") 2>conftest.er1
33642 ac_status=$?
33643 grep -v '^ *+' conftest.er1 >conftest.err
33644 rm -f conftest.er1
33645 cat conftest.err >&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } && {
33648 test -z "$ac_c_werror_flag" ||
33649 test ! -s conftest.err
33650 } && test -s conftest.$ac_objext; then
33651 ac_cv_type_mode_t=yes
33652 else
33653 echo "$as_me: failed program was:" >&5
33654 sed 's/^/| /' conftest.$ac_ext >&5
33655
33656 ac_cv_type_mode_t=no
33657 fi
33658
33659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33660 fi
33661 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33662 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33663 if test $ac_cv_type_mode_t = yes; then
33664 :
33665 else
33666
33667 cat >>confdefs.h <<_ACEOF
33668 #define mode_t int
33669 _ACEOF
33670
33671 fi
33672
33673 { echo "$as_me:$LINENO: checking for off_t" >&5
33674 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33675 if test "${ac_cv_type_off_t+set}" = set; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33677 else
33678 cat >conftest.$ac_ext <<_ACEOF
33679 /* confdefs.h. */
33680 _ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 $ac_includes_default
33685 typedef off_t ac__type_new_;
33686 int
33687 main ()
33688 {
33689 if ((ac__type_new_ *) 0)
33690 return 0;
33691 if (sizeof (ac__type_new_))
33692 return 0;
33693 ;
33694 return 0;
33695 }
33696 _ACEOF
33697 rm -f conftest.$ac_objext
33698 if { (ac_try="$ac_compile"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33702 esac
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_compile") 2>conftest.er1
33705 ac_status=$?
33706 grep -v '^ *+' conftest.er1 >conftest.err
33707 rm -f conftest.er1
33708 cat conftest.err >&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest.$ac_objext; then
33714 ac_cv_type_off_t=yes
33715 else
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.$ac_ext >&5
33718
33719 ac_cv_type_off_t=no
33720 fi
33721
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723 fi
33724 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33725 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33726 if test $ac_cv_type_off_t = yes; then
33727 :
33728 else
33729
33730 cat >>confdefs.h <<_ACEOF
33731 #define off_t long int
33732 _ACEOF
33733
33734 fi
33735
33736 { echo "$as_me:$LINENO: checking for pid_t" >&5
33737 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33738 if test "${ac_cv_type_pid_t+set}" = set; then
33739 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 else
33741 cat >conftest.$ac_ext <<_ACEOF
33742 /* confdefs.h. */
33743 _ACEOF
33744 cat confdefs.h >>conftest.$ac_ext
33745 cat >>conftest.$ac_ext <<_ACEOF
33746 /* end confdefs.h. */
33747 $ac_includes_default
33748 typedef pid_t ac__type_new_;
33749 int
33750 main ()
33751 {
33752 if ((ac__type_new_ *) 0)
33753 return 0;
33754 if (sizeof (ac__type_new_))
33755 return 0;
33756 ;
33757 return 0;
33758 }
33759 _ACEOF
33760 rm -f conftest.$ac_objext
33761 if { (ac_try="$ac_compile"
33762 case "(($ac_try" in
33763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33764 *) ac_try_echo=$ac_try;;
33765 esac
33766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33767 (eval "$ac_compile") 2>conftest.er1
33768 ac_status=$?
33769 grep -v '^ *+' conftest.er1 >conftest.err
33770 rm -f conftest.er1
33771 cat conftest.err >&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } && {
33774 test -z "$ac_c_werror_flag" ||
33775 test ! -s conftest.err
33776 } && test -s conftest.$ac_objext; then
33777 ac_cv_type_pid_t=yes
33778 else
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.$ac_ext >&5
33781
33782 ac_cv_type_pid_t=no
33783 fi
33784
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786 fi
33787 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33788 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33789 if test $ac_cv_type_pid_t = yes; then
33790 :
33791 else
33792
33793 cat >>confdefs.h <<_ACEOF
33794 #define pid_t int
33795 _ACEOF
33796
33797 fi
33798
33799 { echo "$as_me:$LINENO: checking for size_t" >&5
33800 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33801 if test "${ac_cv_type_size_t+set}" = set; then
33802 echo $ECHO_N "(cached) $ECHO_C" >&6
33803 else
33804 cat >conftest.$ac_ext <<_ACEOF
33805 /* confdefs.h. */
33806 _ACEOF
33807 cat confdefs.h >>conftest.$ac_ext
33808 cat >>conftest.$ac_ext <<_ACEOF
33809 /* end confdefs.h. */
33810 $ac_includes_default
33811 typedef size_t ac__type_new_;
33812 int
33813 main ()
33814 {
33815 if ((ac__type_new_ *) 0)
33816 return 0;
33817 if (sizeof (ac__type_new_))
33818 return 0;
33819 ;
33820 return 0;
33821 }
33822 _ACEOF
33823 rm -f conftest.$ac_objext
33824 if { (ac_try="$ac_compile"
33825 case "(($ac_try" in
33826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33827 *) ac_try_echo=$ac_try;;
33828 esac
33829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33830 (eval "$ac_compile") 2>conftest.er1
33831 ac_status=$?
33832 grep -v '^ *+' conftest.er1 >conftest.err
33833 rm -f conftest.er1
33834 cat conftest.err >&5
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); } && {
33837 test -z "$ac_c_werror_flag" ||
33838 test ! -s conftest.err
33839 } && test -s conftest.$ac_objext; then
33840 ac_cv_type_size_t=yes
33841 else
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.$ac_ext >&5
33844
33845 ac_cv_type_size_t=no
33846 fi
33847
33848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33849 fi
33850 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33851 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33852 if test $ac_cv_type_size_t = yes; then
33853 :
33854 else
33855
33856 cat >>confdefs.h <<_ACEOF
33857 #define size_t unsigned int
33858 _ACEOF
33859
33860 fi
33861
33862
33863 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33864 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33865 if test "${ac_cv_type_ssize_t+set}" = set; then
33866 echo $ECHO_N "(cached) $ECHO_C" >&6
33867 else
33868 cat >conftest.$ac_ext <<_ACEOF
33869 /* confdefs.h. */
33870 _ACEOF
33871 cat confdefs.h >>conftest.$ac_ext
33872 cat >>conftest.$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33874 $ac_includes_default
33875 typedef ssize_t ac__type_new_;
33876 int
33877 main ()
33878 {
33879 if ((ac__type_new_ *) 0)
33880 return 0;
33881 if (sizeof (ac__type_new_))
33882 return 0;
33883 ;
33884 return 0;
33885 }
33886 _ACEOF
33887 rm -f conftest.$ac_objext
33888 if { (ac_try="$ac_compile"
33889 case "(($ac_try" in
33890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33891 *) ac_try_echo=$ac_try;;
33892 esac
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_compile") 2>conftest.er1
33895 ac_status=$?
33896 grep -v '^ *+' conftest.er1 >conftest.err
33897 rm -f conftest.er1
33898 cat conftest.err >&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); } && {
33901 test -z "$ac_c_werror_flag" ||
33902 test ! -s conftest.err
33903 } && test -s conftest.$ac_objext; then
33904 ac_cv_type_ssize_t=yes
33905 else
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33908
33909 ac_cv_type_ssize_t=no
33910 fi
33911
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33913 fi
33914 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33915 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33916 if test $ac_cv_type_ssize_t = yes; then
33917
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE_SSIZE_T 1
33920 _ACEOF
33921
33922
33923 fi
33924
33925
33926 ac_ext=cpp
33927 ac_cpp='$CXXCPP $CPPFLAGS'
33928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33931 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33932 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33933 if test "${wx_cv_size_t_is_uint+set}" = set; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 else
33936
33937 cat >conftest.$ac_ext <<_ACEOF
33938 /* confdefs.h. */
33939 _ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 #include <stddef.h>
33944 int
33945 main ()
33946 {
33947
33948 return 0; }
33949
33950 struct Foo { void foo(size_t); void foo(unsigned int); };
33951
33952 int bar() {
33953
33954 ;
33955 return 0;
33956 }
33957 _ACEOF
33958 rm -f conftest.$ac_objext
33959 if { (ac_try="$ac_compile"
33960 case "(($ac_try" in
33961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33962 *) ac_try_echo=$ac_try;;
33963 esac
33964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33965 (eval "$ac_compile") 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } && {
33972 test -z "$ac_cxx_werror_flag" ||
33973 test ! -s conftest.err
33974 } && test -s conftest.$ac_objext; then
33975 wx_cv_size_t_is_uint=no
33976 else
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.$ac_ext >&5
33979
33980 wx_cv_size_t_is_uint=yes
33981
33982 fi
33983
33984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985
33986
33987 fi
33988 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33989 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33990
33991 if test "$wx_cv_size_t_is_uint" = "yes"; then
33992 cat >>confdefs.h <<\_ACEOF
33993 #define wxSIZE_T_IS_UINT 1
33994 _ACEOF
33995
33996 else
33997 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33998 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33999 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34000 echo $ECHO_N "(cached) $ECHO_C" >&6
34001 else
34002 cat >conftest.$ac_ext <<_ACEOF
34003 /* confdefs.h. */
34004 _ACEOF
34005 cat confdefs.h >>conftest.$ac_ext
34006 cat >>conftest.$ac_ext <<_ACEOF
34007 /* end confdefs.h. */
34008 #include <stddef.h>
34009 int
34010 main ()
34011 {
34012
34013 return 0; }
34014
34015 struct Foo { void foo(size_t); void foo(unsigned long); };
34016
34017 int bar() {
34018
34019 ;
34020 return 0;
34021 }
34022 _ACEOF
34023 rm -f conftest.$ac_objext
34024 if { (ac_try="$ac_compile"
34025 case "(($ac_try" in
34026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34027 *) ac_try_echo=$ac_try;;
34028 esac
34029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34030 (eval "$ac_compile") 2>conftest.er1
34031 ac_status=$?
34032 grep -v '^ *+' conftest.er1 >conftest.err
34033 rm -f conftest.er1
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } && {
34037 test -z "$ac_cxx_werror_flag" ||
34038 test ! -s conftest.err
34039 } && test -s conftest.$ac_objext; then
34040 wx_cv_size_t_is_ulong=no
34041 else
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34044
34045 wx_cv_size_t_is_ulong=yes
34046
34047 fi
34048
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050
34051 fi
34052 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34053 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34054
34055 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34056 cat >>confdefs.h <<\_ACEOF
34057 #define wxSIZE_T_IS_ULONG 1
34058 _ACEOF
34059
34060 fi
34061 fi
34062
34063 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34064 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34065 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34066 echo $ECHO_N "(cached) $ECHO_C" >&6
34067 else
34068 cat >conftest.$ac_ext <<_ACEOF
34069 /* confdefs.h. */
34070 _ACEOF
34071 cat confdefs.h >>conftest.$ac_ext
34072 cat >>conftest.$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34074 #include <wchar.h>
34075 int
34076 main ()
34077 {
34078
34079 return 0; }
34080
34081 struct Foo { void foo(wchar_t);
34082 void foo(unsigned short);
34083 void foo(unsigned int);
34084 void foo(unsigned long); };
34085
34086 int bar() {
34087
34088 ;
34089 return 0;
34090 }
34091 _ACEOF
34092 rm -f conftest.$ac_objext
34093 if { (ac_try="$ac_compile"
34094 case "(($ac_try" in
34095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34096 *) ac_try_echo=$ac_try;;
34097 esac
34098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34099 (eval "$ac_compile") 2>conftest.er1
34100 ac_status=$?
34101 grep -v '^ *+' conftest.er1 >conftest.err
34102 rm -f conftest.er1
34103 cat conftest.err >&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } && {
34106 test -z "$ac_cxx_werror_flag" ||
34107 test ! -s conftest.err
34108 } && test -s conftest.$ac_objext; then
34109 wx_cv_wchar_t_is_separate_type=yes
34110 else
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34113
34114 wx_cv_wchar_t_is_separate_type=no
34115
34116 fi
34117
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34119
34120 fi
34121 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34122 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34123
34124 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34125 cat >>confdefs.h <<\_ACEOF
34126 #define wxWCHAR_T_IS_REAL_TYPE 1
34127 _ACEOF
34128
34129 else
34130 cat >>confdefs.h <<\_ACEOF
34131 #define wxWCHAR_T_IS_REAL_TYPE 0
34132 _ACEOF
34133
34134 fi
34135
34136 ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34141
34142
34143 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34144 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34145 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 else
34148
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155 #include <pwd.h>
34156 int
34157 main ()
34158 {
34159
34160 char *p;
34161 struct passwd *pw;
34162 p = pw->pw_gecos;
34163
34164 ;
34165 return 0;
34166 }
34167 _ACEOF
34168 rm -f conftest.$ac_objext
34169 if { (ac_try="$ac_compile"
34170 case "(($ac_try" in
34171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34172 *) ac_try_echo=$ac_try;;
34173 esac
34174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34175 (eval "$ac_compile") 2>conftest.er1
34176 ac_status=$?
34177 grep -v '^ *+' conftest.er1 >conftest.err
34178 rm -f conftest.er1
34179 cat conftest.err >&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); } && {
34182 test -z "$ac_c_werror_flag" ||
34183 test ! -s conftest.err
34184 } && test -s conftest.$ac_objext; then
34185
34186 wx_cv_struct_pw_gecos=yes
34187
34188 else
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34191
34192
34193 wx_cv_struct_pw_gecos=no
34194
34195
34196 fi
34197
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199
34200
34201 fi
34202 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34203 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34204
34205 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34206 cat >>confdefs.h <<\_ACEOF
34207 #define HAVE_PW_GECOS 1
34208 _ACEOF
34209
34210 fi
34211
34212
34213 if test "$wxUSE_WCHAR_T" = "yes"; then
34214 cat >>confdefs.h <<\_ACEOF
34215 #define wxUSE_WCHAR_T 1
34216 _ACEOF
34217
34218
34219 WCSLEN_FOUND=0
34220 WCHAR_LINK=
34221
34222 for ac_func in wcslen
34223 do
34224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34229 else
34230 cat >conftest.$ac_ext <<_ACEOF
34231 /* confdefs.h. */
34232 _ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34238 #define $ac_func innocuous_$ac_func
34239
34240 /* System header to define __stub macros and hopefully few prototypes,
34241 which can conflict with char $ac_func (); below.
34242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34243 <limits.h> exists even on freestanding compilers. */
34244
34245 #ifdef __STDC__
34246 # include <limits.h>
34247 #else
34248 # include <assert.h>
34249 #endif
34250
34251 #undef $ac_func
34252
34253 /* Override any GCC internal prototype to avoid an error.
34254 Use char because int might match the return type of a GCC
34255 builtin and then its argument prototype would still apply. */
34256 #ifdef __cplusplus
34257 extern "C"
34258 #endif
34259 char $ac_func ();
34260 /* The GNU C library defines this for functions which it implements
34261 to always fail with ENOSYS. Some functions are actually named
34262 something starting with __ and the normal name is an alias. */
34263 #if defined __stub_$ac_func || defined __stub___$ac_func
34264 choke me
34265 #endif
34266
34267 int
34268 main ()
34269 {
34270 return $ac_func ();
34271 ;
34272 return 0;
34273 }
34274 _ACEOF
34275 rm -f conftest.$ac_objext conftest$ac_exeext
34276 if { (ac_try="$ac_link"
34277 case "(($ac_try" in
34278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34279 *) ac_try_echo=$ac_try;;
34280 esac
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_link") 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest$ac_exeext &&
34292 $as_test_x conftest$ac_exeext; then
34293 eval "$as_ac_var=yes"
34294 else
34295 echo "$as_me: failed program was:" >&5
34296 sed 's/^/| /' conftest.$ac_ext >&5
34297
34298 eval "$as_ac_var=no"
34299 fi
34300
34301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34302 conftest$ac_exeext conftest.$ac_ext
34303 fi
34304 ac_res=`eval echo '${'$as_ac_var'}'`
34305 { echo "$as_me:$LINENO: result: $ac_res" >&5
34306 echo "${ECHO_T}$ac_res" >&6; }
34307 if test `eval echo '${'$as_ac_var'}'` = yes; then
34308 cat >>confdefs.h <<_ACEOF
34309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34310 _ACEOF
34311 WCSLEN_FOUND=1
34312 fi
34313 done
34314
34315
34316 if test "$WCSLEN_FOUND" = 0; then
34317 if test "$TOOLKIT" = "MSW"; then
34318 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34319 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34320 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34321 echo $ECHO_N "(cached) $ECHO_C" >&6
34322 else
34323 ac_check_lib_save_LIBS=$LIBS
34324 LIBS="-lmsvcrt $LIBS"
34325 cat >conftest.$ac_ext <<_ACEOF
34326 /* confdefs.h. */
34327 _ACEOF
34328 cat confdefs.h >>conftest.$ac_ext
34329 cat >>conftest.$ac_ext <<_ACEOF
34330 /* end confdefs.h. */
34331
34332 /* Override any GCC internal prototype to avoid an error.
34333 Use char because int might match the return type of a GCC
34334 builtin and then its argument prototype would still apply. */
34335 #ifdef __cplusplus
34336 extern "C"
34337 #endif
34338 char wcslen ();
34339 int
34340 main ()
34341 {
34342 return wcslen ();
34343 ;
34344 return 0;
34345 }
34346 _ACEOF
34347 rm -f conftest.$ac_objext conftest$ac_exeext
34348 if { (ac_try="$ac_link"
34349 case "(($ac_try" in
34350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34351 *) ac_try_echo=$ac_try;;
34352 esac
34353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34354 (eval "$ac_link") 2>conftest.er1
34355 ac_status=$?
34356 grep -v '^ *+' conftest.er1 >conftest.err
34357 rm -f conftest.er1
34358 cat conftest.err >&5
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); } && {
34361 test -z "$ac_c_werror_flag" ||
34362 test ! -s conftest.err
34363 } && test -s conftest$ac_exeext &&
34364 $as_test_x conftest$ac_exeext; then
34365 ac_cv_lib_msvcrt_wcslen=yes
34366 else
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34369
34370 ac_cv_lib_msvcrt_wcslen=no
34371 fi
34372
34373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34374 conftest$ac_exeext conftest.$ac_ext
34375 LIBS=$ac_check_lib_save_LIBS
34376 fi
34377 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34378 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34379 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34380 WCHAR_OK=1
34381 fi
34382
34383 else
34384 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34385 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34386 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 else
34389 ac_check_lib_save_LIBS=$LIBS
34390 LIBS="-lw $LIBS"
34391 cat >conftest.$ac_ext <<_ACEOF
34392 /* confdefs.h. */
34393 _ACEOF
34394 cat confdefs.h >>conftest.$ac_ext
34395 cat >>conftest.$ac_ext <<_ACEOF
34396 /* end confdefs.h. */
34397
34398 /* Override any GCC internal prototype to avoid an error.
34399 Use char because int might match the return type of a GCC
34400 builtin and then its argument prototype would still apply. */
34401 #ifdef __cplusplus
34402 extern "C"
34403 #endif
34404 char wcslen ();
34405 int
34406 main ()
34407 {
34408 return wcslen ();
34409 ;
34410 return 0;
34411 }
34412 _ACEOF
34413 rm -f conftest.$ac_objext conftest$ac_exeext
34414 if { (ac_try="$ac_link"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34418 esac
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_link") 2>conftest.er1
34421 ac_status=$?
34422 grep -v '^ *+' conftest.er1 >conftest.err
34423 rm -f conftest.er1
34424 cat conftest.err >&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest$ac_exeext &&
34430 $as_test_x conftest$ac_exeext; then
34431 ac_cv_lib_w_wcslen=yes
34432 else
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34435
34436 ac_cv_lib_w_wcslen=no
34437 fi
34438
34439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34440 conftest$ac_exeext conftest.$ac_ext
34441 LIBS=$ac_check_lib_save_LIBS
34442 fi
34443 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34444 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34445 if test $ac_cv_lib_w_wcslen = yes; then
34446
34447 WCHAR_LINK=" -lw"
34448 WCSLEN_FOUND=1
34449
34450 fi
34451
34452 fi
34453 fi
34454
34455 if test "$WCSLEN_FOUND" = 1; then
34456 cat >>confdefs.h <<\_ACEOF
34457 #define HAVE_WCSLEN 1
34458 _ACEOF
34459
34460 fi
34461
34462
34463 for ac_func in wcsdup
34464 do
34465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34470 else
34471 cat >conftest.$ac_ext <<_ACEOF
34472 /* confdefs.h. */
34473 _ACEOF
34474 cat confdefs.h >>conftest.$ac_ext
34475 cat >>conftest.$ac_ext <<_ACEOF
34476 /* end confdefs.h. */
34477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34479 #define $ac_func innocuous_$ac_func
34480
34481 /* System header to define __stub macros and hopefully few prototypes,
34482 which can conflict with char $ac_func (); below.
34483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34484 <limits.h> exists even on freestanding compilers. */
34485
34486 #ifdef __STDC__
34487 # include <limits.h>
34488 #else
34489 # include <assert.h>
34490 #endif
34491
34492 #undef $ac_func
34493
34494 /* Override any GCC internal prototype to avoid an error.
34495 Use char because int might match the return type of a GCC
34496 builtin and then its argument prototype would still apply. */
34497 #ifdef __cplusplus
34498 extern "C"
34499 #endif
34500 char $ac_func ();
34501 /* The GNU C library defines this for functions which it implements
34502 to always fail with ENOSYS. Some functions are actually named
34503 something starting with __ and the normal name is an alias. */
34504 #if defined __stub_$ac_func || defined __stub___$ac_func
34505 choke me
34506 #endif
34507
34508 int
34509 main ()
34510 {
34511 return $ac_func ();
34512 ;
34513 return 0;
34514 }
34515 _ACEOF
34516 rm -f conftest.$ac_objext conftest$ac_exeext
34517 if { (ac_try="$ac_link"
34518 case "(($ac_try" in
34519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34520 *) ac_try_echo=$ac_try;;
34521 esac
34522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34523 (eval "$ac_link") 2>conftest.er1
34524 ac_status=$?
34525 grep -v '^ *+' conftest.er1 >conftest.err
34526 rm -f conftest.er1
34527 cat conftest.err >&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } && {
34530 test -z "$ac_c_werror_flag" ||
34531 test ! -s conftest.err
34532 } && test -s conftest$ac_exeext &&
34533 $as_test_x conftest$ac_exeext; then
34534 eval "$as_ac_var=yes"
34535 else
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.$ac_ext >&5
34538
34539 eval "$as_ac_var=no"
34540 fi
34541
34542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34543 conftest$ac_exeext conftest.$ac_ext
34544 fi
34545 ac_res=`eval echo '${'$as_ac_var'}'`
34546 { echo "$as_me:$LINENO: result: $ac_res" >&5
34547 echo "${ECHO_T}$ac_res" >&6; }
34548 if test `eval echo '${'$as_ac_var'}'` = yes; then
34549 cat >>confdefs.h <<_ACEOF
34550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34551 _ACEOF
34552
34553 fi
34554 done
34555
34556
34557 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34558 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34559 fi
34560
34561 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34562 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34563 if test "${ac_cv_type_mbstate_t+set}" = set; then
34564 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 else
34566 cat >conftest.$ac_ext <<_ACEOF
34567 /* confdefs.h. */
34568 _ACEOF
34569 cat confdefs.h >>conftest.$ac_ext
34570 cat >>conftest.$ac_ext <<_ACEOF
34571 /* end confdefs.h. */
34572 #include <wchar.h>
34573
34574 typedef mbstate_t ac__type_new_;
34575 int
34576 main ()
34577 {
34578 if ((ac__type_new_ *) 0)
34579 return 0;
34580 if (sizeof (ac__type_new_))
34581 return 0;
34582 ;
34583 return 0;
34584 }
34585 _ACEOF
34586 rm -f conftest.$ac_objext
34587 if { (ac_try="$ac_compile"
34588 case "(($ac_try" in
34589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34590 *) ac_try_echo=$ac_try;;
34591 esac
34592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34593 (eval "$ac_compile") 2>conftest.er1
34594 ac_status=$?
34595 grep -v '^ *+' conftest.er1 >conftest.err
34596 rm -f conftest.er1
34597 cat conftest.err >&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); } && {
34600 test -z "$ac_c_werror_flag" ||
34601 test ! -s conftest.err
34602 } && test -s conftest.$ac_objext; then
34603 ac_cv_type_mbstate_t=yes
34604 else
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34607
34608 ac_cv_type_mbstate_t=no
34609 fi
34610
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612 fi
34613 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34614 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34615 if test $ac_cv_type_mbstate_t = yes; then
34616
34617 cat >>confdefs.h <<_ACEOF
34618 #define HAVE_MBSTATE_T 1
34619 _ACEOF
34620
34621
34622 for ac_func in wcsrtombs
34623 do
34624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630 cat >conftest.$ac_ext <<_ACEOF
34631 /* confdefs.h. */
34632 _ACEOF
34633 cat confdefs.h >>conftest.$ac_ext
34634 cat >>conftest.$ac_ext <<_ACEOF
34635 /* end confdefs.h. */
34636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34638 #define $ac_func innocuous_$ac_func
34639
34640 /* System header to define __stub macros and hopefully few prototypes,
34641 which can conflict with char $ac_func (); below.
34642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34643 <limits.h> exists even on freestanding compilers. */
34644
34645 #ifdef __STDC__
34646 # include <limits.h>
34647 #else
34648 # include <assert.h>
34649 #endif
34650
34651 #undef $ac_func
34652
34653 /* Override any GCC internal prototype to avoid an error.
34654 Use char because int might match the return type of a GCC
34655 builtin and then its argument prototype would still apply. */
34656 #ifdef __cplusplus
34657 extern "C"
34658 #endif
34659 char $ac_func ();
34660 /* The GNU C library defines this for functions which it implements
34661 to always fail with ENOSYS. Some functions are actually named
34662 something starting with __ and the normal name is an alias. */
34663 #if defined __stub_$ac_func || defined __stub___$ac_func
34664 choke me
34665 #endif
34666
34667 int
34668 main ()
34669 {
34670 return $ac_func ();
34671 ;
34672 return 0;
34673 }
34674 _ACEOF
34675 rm -f conftest.$ac_objext conftest$ac_exeext
34676 if { (ac_try="$ac_link"
34677 case "(($ac_try" in
34678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34679 *) ac_try_echo=$ac_try;;
34680 esac
34681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34682 (eval "$ac_link") 2>conftest.er1
34683 ac_status=$?
34684 grep -v '^ *+' conftest.er1 >conftest.err
34685 rm -f conftest.er1
34686 cat conftest.err >&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } && {
34689 test -z "$ac_c_werror_flag" ||
34690 test ! -s conftest.err
34691 } && test -s conftest$ac_exeext &&
34692 $as_test_x conftest$ac_exeext; then
34693 eval "$as_ac_var=yes"
34694 else
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34697
34698 eval "$as_ac_var=no"
34699 fi
34700
34701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34702 conftest$ac_exeext conftest.$ac_ext
34703 fi
34704 ac_res=`eval echo '${'$as_ac_var'}'`
34705 { echo "$as_me:$LINENO: result: $ac_res" >&5
34706 echo "${ECHO_T}$ac_res" >&6; }
34707 if test `eval echo '${'$as_ac_var'}'` = yes; then
34708 cat >>confdefs.h <<_ACEOF
34709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34710 _ACEOF
34711
34712 fi
34713 done
34714
34715 fi
34716
34717 else
34718 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34719 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34720 fi
34721
34722
34723
34724 for ac_func in snprintf vsnprintf
34725 do
34726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732 cat >conftest.$ac_ext <<_ACEOF
34733 /* confdefs.h. */
34734 _ACEOF
34735 cat confdefs.h >>conftest.$ac_ext
34736 cat >>conftest.$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34740 #define $ac_func innocuous_$ac_func
34741
34742 /* System header to define __stub macros and hopefully few prototypes,
34743 which can conflict with char $ac_func (); below.
34744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34745 <limits.h> exists even on freestanding compilers. */
34746
34747 #ifdef __STDC__
34748 # include <limits.h>
34749 #else
34750 # include <assert.h>
34751 #endif
34752
34753 #undef $ac_func
34754
34755 /* Override any GCC internal prototype to avoid an error.
34756 Use char because int might match the return type of a GCC
34757 builtin and then its argument prototype would still apply. */
34758 #ifdef __cplusplus
34759 extern "C"
34760 #endif
34761 char $ac_func ();
34762 /* The GNU C library defines this for functions which it implements
34763 to always fail with ENOSYS. Some functions are actually named
34764 something starting with __ and the normal name is an alias. */
34765 #if defined __stub_$ac_func || defined __stub___$ac_func
34766 choke me
34767 #endif
34768
34769 int
34770 main ()
34771 {
34772 return $ac_func ();
34773 ;
34774 return 0;
34775 }
34776 _ACEOF
34777 rm -f conftest.$ac_objext conftest$ac_exeext
34778 if { (ac_try="$ac_link"
34779 case "(($ac_try" in
34780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34781 *) ac_try_echo=$ac_try;;
34782 esac
34783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34784 (eval "$ac_link") 2>conftest.er1
34785 ac_status=$?
34786 grep -v '^ *+' conftest.er1 >conftest.err
34787 rm -f conftest.er1
34788 cat conftest.err >&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } && {
34791 test -z "$ac_c_werror_flag" ||
34792 test ! -s conftest.err
34793 } && test -s conftest$ac_exeext &&
34794 $as_test_x conftest$ac_exeext; then
34795 eval "$as_ac_var=yes"
34796 else
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.$ac_ext >&5
34799
34800 eval "$as_ac_var=no"
34801 fi
34802
34803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34804 conftest$ac_exeext conftest.$ac_ext
34805 fi
34806 ac_res=`eval echo '${'$as_ac_var'}'`
34807 { echo "$as_me:$LINENO: result: $ac_res" >&5
34808 echo "${ECHO_T}$ac_res" >&6; }
34809 if test `eval echo '${'$as_ac_var'}'` = yes; then
34810 cat >>confdefs.h <<_ACEOF
34811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34812 _ACEOF
34813
34814 fi
34815 done
34816
34817
34818 if test "$ac_cv_func_vsnprintf" = "yes"; then
34819 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34820 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34821 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34822 echo $ECHO_N "(cached) $ECHO_C" >&6
34823 else
34824
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831
34832 #include <stdio.h>
34833 #include <stdarg.h>
34834 #ifdef __MSL__
34835 #if __MSL__ >= 0x6000
34836 namespace std {}
34837 using namespace std;
34838 #endif
34839 #endif
34840
34841 int
34842 main ()
34843 {
34844
34845 char *buf;
34846 va_list ap;
34847 vsnprintf(buf, 10u, "%s", ap);
34848
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext
34854 if { (ac_try="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34858 esac
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_func_vsnprintf_decl=yes
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 wx_cv_func_vsnprintf_decl=no
34876
34877 fi
34878
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880
34881
34882 fi
34883 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34884 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34885
34886 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_VSNPRINTF_DECL 1
34889 _ACEOF
34890
34891
34892 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34893 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34894 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34896 else
34897
34898 cat >conftest.$ac_ext <<_ACEOF
34899 /* confdefs.h. */
34900 _ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34904
34905 #include <stdio.h>
34906 #include <stdarg.h>
34907 #ifdef __MSL__
34908 #if __MSL__ >= 0x6000
34909 namespace std {}
34910 using namespace std;
34911 #endif
34912 #endif
34913
34914 int
34915 main ()
34916 {
34917
34918 char *buf;
34919 va_list ap;
34920 const char *fmt = "%s";
34921 vsnprintf(buf, 10u, fmt, ap);
34922
34923 ;
34924 return 0;
34925 }
34926 _ACEOF
34927 rm -f conftest.$ac_objext
34928 if { (ac_try="$ac_compile"
34929 case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34931 *) ac_try_echo=$ac_try;;
34932 esac
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_compile") 2>conftest.er1
34935 ac_status=$?
34936 grep -v '^ *+' conftest.er1 >conftest.err
34937 rm -f conftest.er1
34938 cat conftest.err >&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest.$ac_objext; then
34944 wx_cv_func_broken_vsnprintf_decl=no
34945 else
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34948
34949 wx_cv_func_broken_vsnprintf_decl=yes
34950
34951 fi
34952
34953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954
34955
34956 fi
34957 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34958 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34959
34960 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34961 cat >>confdefs.h <<\_ACEOF
34962 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34963 _ACEOF
34964
34965 fi
34966 fi
34967 fi
34968
34969 if test "$ac_cv_func_snprintf" = "yes"; then
34970 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34971 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34972 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 else
34975
34976 cat >conftest.$ac_ext <<_ACEOF
34977 /* confdefs.h. */
34978 _ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982
34983 #include <stdio.h>
34984 #include <stdarg.h>
34985 #ifdef __MSL__
34986 #if __MSL__ >= 0x6000
34987 namespace std {}
34988 using namespace std;
34989 #endif
34990 #endif
34991
34992 int
34993 main ()
34994 {
34995
34996 char *buf;
34997 snprintf(buf, 10u, "%s", "wx");
34998
34999 ;
35000 return 0;
35001 }
35002 _ACEOF
35003 rm -f conftest.$ac_objext
35004 if { (ac_try="$ac_compile"
35005 case "(($ac_try" in
35006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35007 *) ac_try_echo=$ac_try;;
35008 esac
35009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35010 (eval "$ac_compile") 2>conftest.er1
35011 ac_status=$?
35012 grep -v '^ *+' conftest.er1 >conftest.err
35013 rm -f conftest.er1
35014 cat conftest.err >&5
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); } && {
35017 test -z "$ac_c_werror_flag" ||
35018 test ! -s conftest.err
35019 } && test -s conftest.$ac_objext; then
35020 wx_cv_func_snprintf_decl=yes
35021 else
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35024
35025 wx_cv_func_snprintf_decl=no
35026
35027 fi
35028
35029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030
35031
35032 fi
35033 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35034 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35035
35036 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35037 cat >>confdefs.h <<\_ACEOF
35038 #define HAVE_SNPRINTF_DECL 1
35039 _ACEOF
35040
35041 fi
35042
35043 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35044
35045 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35046 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35047 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35049 else
35050
35051 if test "$cross_compiling" = yes; then
35052
35053 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35054 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35055 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35056 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35057 wx_cv_func_snprintf_pos_params=no
35058
35059
35060 else
35061 cat >conftest.$ac_ext <<_ACEOF
35062 /* confdefs.h. */
35063 _ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067
35068 #include <stdio.h>
35069
35070 int main (void)
35071 {
35072 char buffer[128];
35073 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35074 if (strcmp ("2 3 1", buffer) == 0)
35075 exit (0);
35076 exit (1);
35077 }
35078
35079 _ACEOF
35080 rm -f conftest$ac_exeext
35081 if { (ac_try="$ac_link"
35082 case "(($ac_try" in
35083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35084 *) ac_try_echo=$ac_try;;
35085 esac
35086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35087 (eval "$ac_link") 2>&5
35088 ac_status=$?
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35091 { (case "(($ac_try" in
35092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35093 *) ac_try_echo=$ac_try;;
35094 esac
35095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35096 (eval "$ac_try") 2>&5
35097 ac_status=$?
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; }; then
35100 wx_cv_func_snprintf_pos_params=no
35101 else
35102 echo "$as_me: program exited with status $ac_status" >&5
35103 echo "$as_me: failed program was:" >&5
35104 sed 's/^/| /' conftest.$ac_ext >&5
35105
35106 ( exit $ac_status )
35107 wx_cv_func_snprintf_pos_params=yes
35108 fi
35109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35110 fi
35111
35112
35113
35114
35115 fi
35116 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35117 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35118
35119 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35120 cat >>confdefs.h <<\_ACEOF
35121 #define HAVE_UNIX98_PRINTF 1
35122 _ACEOF
35123
35124 fi
35125 fi
35126 fi
35127
35128 if test "$wxUSE_UNICODE" = yes; then
35129
35130 wchar_headers="#include <stdio.h>
35131 #include <wchar.h>"
35132 case "${host}" in
35133 *-*-solaris2* )
35134
35135 for ac_header in widec.h
35136 do
35137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35141 echo $ECHO_N "(cached) $ECHO_C" >&6
35142 else
35143 cat >conftest.$ac_ext <<_ACEOF
35144 /* confdefs.h. */
35145 _ACEOF
35146 cat confdefs.h >>conftest.$ac_ext
35147 cat >>conftest.$ac_ext <<_ACEOF
35148 /* end confdefs.h. */
35149 $ac_includes_default
35150
35151 #include <$ac_header>
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (ac_try="$ac_compile"
35155 case "(($ac_try" in
35156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35157 *) ac_try_echo=$ac_try;;
35158 esac
35159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35160 (eval "$ac_compile") 2>conftest.er1
35161 ac_status=$?
35162 grep -v '^ *+' conftest.er1 >conftest.err
35163 rm -f conftest.er1
35164 cat conftest.err >&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } && {
35167 test -z "$ac_c_werror_flag" ||
35168 test ! -s conftest.err
35169 } && test -s conftest.$ac_objext; then
35170 eval "$as_ac_Header=yes"
35171 else
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35174
35175 eval "$as_ac_Header=no"
35176 fi
35177
35178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35179 fi
35180 ac_res=`eval echo '${'$as_ac_Header'}'`
35181 { echo "$as_me:$LINENO: result: $ac_res" >&5
35182 echo "${ECHO_T}$ac_res" >&6; }
35183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35186 _ACEOF
35187
35188 fi
35189
35190 done
35191
35192 if test "$ac_cv_header_widec_h" = "yes"; then
35193 wchar_headers="$wchar_headers
35194 #include <widec.h>"
35195 fi
35196 esac
35197
35198
35199 for wx_func in putws fputws wprintf vswprintf
35200 do
35201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206
35207 cat >conftest.$ac_ext <<_ACEOF
35208
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214
35215 $wchar_headers
35216 $ac_includes_default
35217
35218 int
35219 main ()
35220 {
35221
35222 #ifndef $wx_func
35223 &$wx_func;
35224 #endif
35225
35226
35227 ;
35228 return 0;
35229 }
35230
35231 _ACEOF
35232 rm -f conftest.$ac_objext conftest$ac_exeext
35233 if { (ac_try="$ac_link"
35234 case "(($ac_try" in
35235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35236 *) ac_try_echo=$ac_try;;
35237 esac
35238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35239 (eval "$ac_link") 2>conftest.er1
35240 ac_status=$?
35241 grep -v '^ *+' conftest.er1 >conftest.err
35242 rm -f conftest.er1
35243 cat conftest.err >&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); } && {
35246 test -z "$ac_c_werror_flag" ||
35247 test ! -s conftest.err
35248 } && test -s conftest$ac_exeext &&
35249 $as_test_x conftest$ac_exeext; then
35250 eval wx_cv_func_$wx_func=yes
35251 else
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.$ac_ext >&5
35254
35255 eval wx_cv_func_$wx_func=no
35256 fi
35257
35258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35259 conftest$ac_exeext conftest.$ac_ext
35260
35261 fi
35262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35263 { echo "$as_me:$LINENO: result: $ac_res" >&5
35264 echo "${ECHO_T}$ac_res" >&6; }
35265
35266 if eval test \$wx_cv_func_$wx_func = yes
35267 then
35268 cat >>confdefs.h <<_ACEOF
35269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35270 _ACEOF
35271
35272
35273 else
35274 :
35275
35276 fi
35277 done
35278
35279
35280 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35281 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35282 cat >conftest.$ac_ext <<_ACEOF
35283 /* confdefs.h. */
35284 _ACEOF
35285 cat confdefs.h >>conftest.$ac_ext
35286 cat >>conftest.$ac_ext <<_ACEOF
35287 /* end confdefs.h. */
35288 #include <wchar.h>
35289 int
35290 main ()
35291 {
35292 &_vsnwprintf;
35293 ;
35294 return 0;
35295 }
35296 _ACEOF
35297 rm -f conftest.$ac_objext
35298 if { (ac_try="$ac_compile"
35299 case "(($ac_try" in
35300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35301 *) ac_try_echo=$ac_try;;
35302 esac
35303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35304 (eval "$ac_compile") 2>conftest.er1
35305 ac_status=$?
35306 grep -v '^ *+' conftest.er1 >conftest.err
35307 rm -f conftest.er1
35308 cat conftest.err >&5
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); } && {
35311 test -z "$ac_c_werror_flag" ||
35312 test ! -s conftest.err
35313 } && test -s conftest.$ac_objext; then
35314 { echo "$as_me:$LINENO: result: yes" >&5
35315 echo "${ECHO_T}yes" >&6; }
35316 cat >>confdefs.h <<\_ACEOF
35317 #define HAVE__VSNWPRINTF 1
35318 _ACEOF
35319
35320 else
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.$ac_ext >&5
35323
35324 { echo "$as_me:$LINENO: result: no" >&5
35325 echo "${ECHO_T}no" >&6; }
35326 fi
35327
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35329 fi
35330
35331 if test "$wxUSE_FILE" = "yes"; then
35332
35333 for wx_func in fsync
35334 do
35335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35338 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 else
35340
35341 cat >conftest.$ac_ext <<_ACEOF
35342
35343 /* confdefs.h. */
35344 _ACEOF
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35348
35349
35350 $ac_includes_default
35351
35352 int
35353 main ()
35354 {
35355
35356 #ifndef $wx_func
35357 &$wx_func;
35358 #endif
35359
35360
35361 ;
35362 return 0;
35363 }
35364
35365 _ACEOF
35366 rm -f conftest.$ac_objext conftest$ac_exeext
35367 if { (ac_try="$ac_link"
35368 case "(($ac_try" in
35369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35370 *) ac_try_echo=$ac_try;;
35371 esac
35372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35373 (eval "$ac_link") 2>conftest.er1
35374 ac_status=$?
35375 grep -v '^ *+' conftest.er1 >conftest.err
35376 rm -f conftest.er1
35377 cat conftest.err >&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); } && {
35380 test -z "$ac_c_werror_flag" ||
35381 test ! -s conftest.err
35382 } && test -s conftest$ac_exeext &&
35383 $as_test_x conftest$ac_exeext; then
35384 eval wx_cv_func_$wx_func=yes
35385 else
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35388
35389 eval wx_cv_func_$wx_func=no
35390 fi
35391
35392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35393 conftest$ac_exeext conftest.$ac_ext
35394
35395 fi
35396 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35397 { echo "$as_me:$LINENO: result: $ac_res" >&5
35398 echo "${ECHO_T}$ac_res" >&6; }
35399
35400 if eval test \$wx_cv_func_$wx_func = yes
35401 then
35402 cat >>confdefs.h <<_ACEOF
35403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35404 _ACEOF
35405
35406
35407 else
35408 :
35409
35410 fi
35411 done
35412
35413 fi
35414
35415 ac_ext=cpp
35416 ac_cpp='$CXXCPP $CPPFLAGS'
35417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35420
35421
35422 for wx_func in round
35423 do
35424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 else
35429
35430 cat >conftest.$ac_ext <<_ACEOF
35431
35432 /* confdefs.h. */
35433 _ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35437
35438 #include <math.h>
35439 $ac_includes_default
35440
35441 int
35442 main ()
35443 {
35444
35445 #ifndef $wx_func
35446 &$wx_func;
35447 #endif
35448
35449
35450 ;
35451 return 0;
35452 }
35453
35454 _ACEOF
35455 rm -f conftest.$ac_objext conftest$ac_exeext
35456 if { (ac_try="$ac_link"
35457 case "(($ac_try" in
35458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35459 *) ac_try_echo=$ac_try;;
35460 esac
35461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35462 (eval "$ac_link") 2>conftest.er1
35463 ac_status=$?
35464 grep -v '^ *+' conftest.er1 >conftest.err
35465 rm -f conftest.er1
35466 cat conftest.err >&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } && {
35469 test -z "$ac_cxx_werror_flag" ||
35470 test ! -s conftest.err
35471 } && test -s conftest$ac_exeext &&
35472 $as_test_x conftest$ac_exeext; then
35473 eval wx_cv_func_$wx_func=yes
35474 else
35475 echo "$as_me: failed program was:" >&5
35476 sed 's/^/| /' conftest.$ac_ext >&5
35477
35478 eval wx_cv_func_$wx_func=no
35479 fi
35480
35481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35482 conftest$ac_exeext conftest.$ac_ext
35483
35484 fi
35485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35486 { echo "$as_me:$LINENO: result: $ac_res" >&5
35487 echo "${ECHO_T}$ac_res" >&6; }
35488
35489 if eval test \$wx_cv_func_$wx_func = yes
35490 then
35491 cat >>confdefs.h <<_ACEOF
35492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35493 _ACEOF
35494
35495
35496 else
35497 :
35498
35499 fi
35500 done
35501
35502 ac_ext=c
35503 ac_cpp='$CPP $CPPFLAGS'
35504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35507
35508
35509 if test "$TOOLKIT" != "MSW"; then
35510
35511
35512
35513
35514
35515 # Check whether --with-libiconv-prefix was given.
35516 if test "${with_libiconv_prefix+set}" = set; then
35517 withval=$with_libiconv_prefix;
35518 for dir in `echo "$withval" | tr : ' '`; do
35519 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35520 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35521 done
35522
35523 fi
35524
35525
35526 { echo "$as_me:$LINENO: checking for iconv" >&5
35527 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35528 if test "${am_cv_func_iconv+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 else
35531
35532 am_cv_func_iconv="no, consider installing GNU libiconv"
35533 am_cv_lib_iconv=no
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 #include <stdlib.h>
35541 #include <iconv.h>
35542 int
35543 main ()
35544 {
35545 iconv_t cd = iconv_open("","");
35546 iconv(cd,NULL,NULL,NULL,NULL);
35547 iconv_close(cd);
35548 ;
35549 return 0;
35550 }
35551 _ACEOF
35552 rm -f conftest.$ac_objext conftest$ac_exeext
35553 if { (ac_try="$ac_link"
35554 case "(($ac_try" in
35555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35557 esac
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_link") 2>conftest.er1
35560 ac_status=$?
35561 grep -v '^ *+' conftest.er1 >conftest.err
35562 rm -f conftest.er1
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } && {
35566 test -z "$ac_c_werror_flag" ||
35567 test ! -s conftest.err
35568 } && test -s conftest$ac_exeext &&
35569 $as_test_x conftest$ac_exeext; then
35570 am_cv_func_iconv=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575
35576 fi
35577
35578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35579 conftest$ac_exeext conftest.$ac_ext
35580 if test "$am_cv_func_iconv" != yes; then
35581 am_save_LIBS="$LIBS"
35582 LIBS="$LIBS -liconv"
35583 cat >conftest.$ac_ext <<_ACEOF
35584 /* confdefs.h. */
35585 _ACEOF
35586 cat confdefs.h >>conftest.$ac_ext
35587 cat >>conftest.$ac_ext <<_ACEOF
35588 /* end confdefs.h. */
35589 #include <stdlib.h>
35590 #include <iconv.h>
35591 int
35592 main ()
35593 {
35594 iconv_t cd = iconv_open("","");
35595 iconv(cd,NULL,NULL,NULL,NULL);
35596 iconv_close(cd);
35597 ;
35598 return 0;
35599 }
35600 _ACEOF
35601 rm -f conftest.$ac_objext conftest$ac_exeext
35602 if { (ac_try="$ac_link"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35605 *) ac_try_echo=$ac_try;;
35606 esac
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_link") 2>conftest.er1
35609 ac_status=$?
35610 grep -v '^ *+' conftest.er1 >conftest.err
35611 rm -f conftest.er1
35612 cat conftest.err >&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_c_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest$ac_exeext &&
35618 $as_test_x conftest$ac_exeext; then
35619 am_cv_lib_iconv=yes
35620 am_cv_func_iconv=yes
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625
35626 fi
35627
35628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35629 conftest$ac_exeext conftest.$ac_ext
35630 LIBS="$am_save_LIBS"
35631 fi
35632
35633 fi
35634 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35635 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35636 if test "$am_cv_func_iconv" = yes; then
35637
35638 cat >>confdefs.h <<\_ACEOF
35639 #define HAVE_ICONV 1
35640 _ACEOF
35641
35642 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35643 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35644 if test "${wx_cv_func_iconv_const+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 else
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653
35654 #include <stdlib.h>
35655 #include <iconv.h>
35656 extern
35657 #ifdef __cplusplus
35658 "C"
35659 #endif
35660 #if defined(__STDC__) || defined(__cplusplus)
35661 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35662 #else
35663 size_t iconv();
35664 #endif
35665
35666 int
35667 main ()
35668 {
35669
35670 ;
35671 return 0;
35672 }
35673 _ACEOF
35674 rm -f conftest.$ac_objext
35675 if { (ac_try="$ac_compile"
35676 case "(($ac_try" in
35677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35678 *) ac_try_echo=$ac_try;;
35679 esac
35680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35681 (eval "$ac_compile") 2>conftest.er1
35682 ac_status=$?
35683 grep -v '^ *+' conftest.er1 >conftest.err
35684 rm -f conftest.er1
35685 cat conftest.err >&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } && {
35688 test -z "$ac_c_werror_flag" ||
35689 test ! -s conftest.err
35690 } && test -s conftest.$ac_objext; then
35691 wx_cv_func_iconv_const="no"
35692 else
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35695
35696 wx_cv_func_iconv_const="yes"
35697
35698 fi
35699
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701
35702 fi
35703 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35704 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35705
35706 iconv_const=
35707 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35708 iconv_const="const"
35709 fi
35710
35711
35712 cat >>confdefs.h <<_ACEOF
35713 #define ICONV_CONST $iconv_const
35714 _ACEOF
35715
35716 fi
35717 LIBICONV=
35718 if test "$am_cv_lib_iconv" = yes; then
35719 LIBICONV="-liconv"
35720 fi
35721
35722
35723 LIBS="$LIBICONV $LIBS"
35724
35725 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35726
35727 for ac_func in sigaction
35728 do
35729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735 cat >conftest.$ac_ext <<_ACEOF
35736 /* confdefs.h. */
35737 _ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35743 #define $ac_func innocuous_$ac_func
35744
35745 /* System header to define __stub macros and hopefully few prototypes,
35746 which can conflict with char $ac_func (); below.
35747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35748 <limits.h> exists even on freestanding compilers. */
35749
35750 #ifdef __STDC__
35751 # include <limits.h>
35752 #else
35753 # include <assert.h>
35754 #endif
35755
35756 #undef $ac_func
35757
35758 /* Override any GCC internal prototype to avoid an error.
35759 Use char because int might match the return type of a GCC
35760 builtin and then its argument prototype would still apply. */
35761 #ifdef __cplusplus
35762 extern "C"
35763 #endif
35764 char $ac_func ();
35765 /* The GNU C library defines this for functions which it implements
35766 to always fail with ENOSYS. Some functions are actually named
35767 something starting with __ and the normal name is an alias. */
35768 #if defined __stub_$ac_func || defined __stub___$ac_func
35769 choke me
35770 #endif
35771
35772 int
35773 main ()
35774 {
35775 return $ac_func ();
35776 ;
35777 return 0;
35778 }
35779 _ACEOF
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (ac_try="$ac_link"
35782 case "(($ac_try" in
35783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35784 *) ac_try_echo=$ac_try;;
35785 esac
35786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35787 (eval "$ac_link") 2>conftest.er1
35788 ac_status=$?
35789 grep -v '^ *+' conftest.er1 >conftest.err
35790 rm -f conftest.er1
35791 cat conftest.err >&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); } && {
35794 test -z "$ac_c_werror_flag" ||
35795 test ! -s conftest.err
35796 } && test -s conftest$ac_exeext &&
35797 $as_test_x conftest$ac_exeext; then
35798 eval "$as_ac_var=yes"
35799 else
35800 echo "$as_me: failed program was:" >&5
35801 sed 's/^/| /' conftest.$ac_ext >&5
35802
35803 eval "$as_ac_var=no"
35804 fi
35805
35806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35807 conftest$ac_exeext conftest.$ac_ext
35808 fi
35809 ac_res=`eval echo '${'$as_ac_var'}'`
35810 { echo "$as_me:$LINENO: result: $ac_res" >&5
35811 echo "${ECHO_T}$ac_res" >&6; }
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813 cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35816
35817 fi
35818 done
35819
35820
35821 if test "$ac_cv_func_sigaction" = "no"; then
35822 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35823 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35824 wxUSE_ON_FATAL_EXCEPTION=no
35825 fi
35826
35827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35828 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35829 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35830 if test "${wx_cv_type_sa_handler+set}" = set; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 else
35833
35834 ac_ext=cpp
35835 ac_cpp='$CXXCPP $CPPFLAGS'
35836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35839
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 #include <signal.h>
35847 int
35848 main ()
35849 {
35850
35851 extern void testSigHandler(int);
35852
35853 struct sigaction sa;
35854 sa.sa_handler = testSigHandler;
35855
35856 ;
35857 return 0;
35858 }
35859 _ACEOF
35860 rm -f conftest.$ac_objext
35861 if { (ac_try="$ac_compile"
35862 case "(($ac_try" in
35863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35864 *) ac_try_echo=$ac_try;;
35865 esac
35866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35867 (eval "$ac_compile") 2>conftest.er1
35868 ac_status=$?
35869 grep -v '^ *+' conftest.er1 >conftest.err
35870 rm -f conftest.er1
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } && {
35874 test -z "$ac_cxx_werror_flag" ||
35875 test ! -s conftest.err
35876 } && test -s conftest.$ac_objext; then
35877
35878 wx_cv_type_sa_handler=int
35879
35880 else
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.$ac_ext >&5
35883
35884
35885 wx_cv_type_sa_handler=void
35886
35887 fi
35888
35889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35890 ac_ext=c
35891 ac_cpp='$CPP $CPPFLAGS'
35892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35895
35896
35897 fi
35898 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35899 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35900
35901 cat >>confdefs.h <<_ACEOF
35902 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35903 _ACEOF
35904
35905 fi
35906 fi
35907
35908 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35909 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35910 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35911 if test "${wx_cv_func_backtrace+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 else
35914
35915 ac_ext=cpp
35916 ac_cpp='$CXXCPP $CPPFLAGS'
35917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35920
35921 cat >conftest.$ac_ext <<_ACEOF
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927 #include <execinfo.h>
35928 int
35929 main ()
35930 {
35931
35932 void *trace[1];
35933 char **messages;
35934
35935 backtrace(trace, 1);
35936 messages = backtrace_symbols(trace, 1);
35937
35938 ;
35939 return 0;
35940 }
35941 _ACEOF
35942 rm -f conftest.$ac_objext
35943 if { (ac_try="$ac_compile"
35944 case "(($ac_try" in
35945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35946 *) ac_try_echo=$ac_try;;
35947 esac
35948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35949 (eval "$ac_compile") 2>conftest.er1
35950 ac_status=$?
35951 grep -v '^ *+' conftest.er1 >conftest.err
35952 rm -f conftest.er1
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } && {
35956 test -z "$ac_cxx_werror_flag" ||
35957 test ! -s conftest.err
35958 } && test -s conftest.$ac_objext; then
35959 wx_cv_func_backtrace=yes
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964 wx_cv_func_backtrace=no
35965
35966 fi
35967
35968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35969 ac_ext=c
35970 ac_cpp='$CPP $CPPFLAGS'
35971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35974
35975
35976
35977 fi
35978 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35979 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35980
35981
35982 if test "$wx_cv_func_backtrace" = "no"; then
35983 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35984 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35985 wxUSE_STACKWALKER=no
35986 else
35987 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35988 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35989 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35990 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 else
35992
35993 ac_ext=cpp
35994 ac_cpp='$CXXCPP $CPPFLAGS'
35995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35998
35999 cat >conftest.$ac_ext <<_ACEOF
36000 /* confdefs.h. */
36001 _ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 #include <cxxabi.h>
36006 int
36007 main ()
36008 {
36009
36010 int rc;
36011 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36012
36013 ;
36014 return 0;
36015 }
36016 _ACEOF
36017 rm -f conftest.$ac_objext conftest$ac_exeext
36018 if { (ac_try="$ac_link"
36019 case "(($ac_try" in
36020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36021 *) ac_try_echo=$ac_try;;
36022 esac
36023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36024 (eval "$ac_link") 2>conftest.er1
36025 ac_status=$?
36026 grep -v '^ *+' conftest.er1 >conftest.err
36027 rm -f conftest.er1
36028 cat conftest.err >&5
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); } && {
36031 test -z "$ac_cxx_werror_flag" ||
36032 test ! -s conftest.err
36033 } && test -s conftest$ac_exeext &&
36034 $as_test_x conftest$ac_exeext; then
36035 wx_cv_func_cxa_demangle=yes
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 wx_cv_func_cxa_demangle=no
36041
36042 fi
36043
36044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36045 conftest$ac_exeext conftest.$ac_ext
36046 ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051
36052
36053
36054 fi
36055 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36056 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36057
36058 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36059 cat >>confdefs.h <<\_ACEOF
36060 #define HAVE_CXA_DEMANGLE 1
36061 _ACEOF
36062
36063 fi
36064 fi
36065 fi
36066
36067 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36068 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36069 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36070 wxUSE_STACKWALKER=no
36071 fi
36072
36073
36074
36075
36076 for ac_func in mkstemp mktemp
36077 do
36078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36079 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36081 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36083 else
36084 cat >conftest.$ac_ext <<_ACEOF
36085 /* confdefs.h. */
36086 _ACEOF
36087 cat confdefs.h >>conftest.$ac_ext
36088 cat >>conftest.$ac_ext <<_ACEOF
36089 /* end confdefs.h. */
36090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36092 #define $ac_func innocuous_$ac_func
36093
36094 /* System header to define __stub macros and hopefully few prototypes,
36095 which can conflict with char $ac_func (); below.
36096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36097 <limits.h> exists even on freestanding compilers. */
36098
36099 #ifdef __STDC__
36100 # include <limits.h>
36101 #else
36102 # include <assert.h>
36103 #endif
36104
36105 #undef $ac_func
36106
36107 /* Override any GCC internal prototype to avoid an error.
36108 Use char because int might match the return type of a GCC
36109 builtin and then its argument prototype would still apply. */
36110 #ifdef __cplusplus
36111 extern "C"
36112 #endif
36113 char $ac_func ();
36114 /* The GNU C library defines this for functions which it implements
36115 to always fail with ENOSYS. Some functions are actually named
36116 something starting with __ and the normal name is an alias. */
36117 #if defined __stub_$ac_func || defined __stub___$ac_func
36118 choke me
36119 #endif
36120
36121 int
36122 main ()
36123 {
36124 return $ac_func ();
36125 ;
36126 return 0;
36127 }
36128 _ACEOF
36129 rm -f conftest.$ac_objext conftest$ac_exeext
36130 if { (ac_try="$ac_link"
36131 case "(($ac_try" in
36132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36133 *) ac_try_echo=$ac_try;;
36134 esac
36135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36136 (eval "$ac_link") 2>conftest.er1
36137 ac_status=$?
36138 grep -v '^ *+' conftest.er1 >conftest.err
36139 rm -f conftest.er1
36140 cat conftest.err >&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } && {
36143 test -z "$ac_c_werror_flag" ||
36144 test ! -s conftest.err
36145 } && test -s conftest$ac_exeext &&
36146 $as_test_x conftest$ac_exeext; then
36147 eval "$as_ac_var=yes"
36148 else
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36151
36152 eval "$as_ac_var=no"
36153 fi
36154
36155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36156 conftest$ac_exeext conftest.$ac_ext
36157 fi
36158 ac_res=`eval echo '${'$as_ac_var'}'`
36159 { echo "$as_me:$LINENO: result: $ac_res" >&5
36160 echo "${ECHO_T}$ac_res" >&6; }
36161 if test `eval echo '${'$as_ac_var'}'` = yes; then
36162 cat >>confdefs.h <<_ACEOF
36163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36164 _ACEOF
36165 break
36166 fi
36167 done
36168
36169
36170 { echo "$as_me:$LINENO: checking for statfs" >&5
36171 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36172 if test "${wx_cv_func_statfs+set}" = set; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36174 else
36175 cat >conftest.$ac_ext <<_ACEOF
36176 /* confdefs.h. */
36177 _ACEOF
36178 cat confdefs.h >>conftest.$ac_ext
36179 cat >>conftest.$ac_ext <<_ACEOF
36180 /* end confdefs.h. */
36181
36182 #if defined(__BSD__)
36183 #include <sys/param.h>
36184 #include <sys/mount.h>
36185 #else
36186 #include <sys/vfs.h>
36187 #endif
36188
36189 int
36190 main ()
36191 {
36192
36193 long l;
36194 struct statfs fs;
36195 statfs("/", &fs);
36196 l = fs.f_bsize;
36197 l += fs.f_blocks;
36198 l += fs.f_bavail;
36199
36200 ;
36201 return 0;
36202 }
36203 _ACEOF
36204 rm -f conftest.$ac_objext
36205 if { (ac_try="$ac_compile"
36206 case "(($ac_try" in
36207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36208 *) ac_try_echo=$ac_try;;
36209 esac
36210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36211 (eval "$ac_compile") 2>conftest.er1
36212 ac_status=$?
36213 grep -v '^ *+' conftest.er1 >conftest.err
36214 rm -f conftest.er1
36215 cat conftest.err >&5
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); } && {
36218 test -z "$ac_c_werror_flag" ||
36219 test ! -s conftest.err
36220 } && test -s conftest.$ac_objext; then
36221 wx_cv_func_statfs=yes
36222 else
36223 echo "$as_me: failed program was:" >&5
36224 sed 's/^/| /' conftest.$ac_ext >&5
36225
36226 wx_cv_func_statfs=no
36227
36228 fi
36229
36230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231
36232 fi
36233 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36234 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36235
36236 if test "$wx_cv_func_statfs" = "yes"; then
36237 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36238 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36239 if test "${wx_cv_func_statfs_decl+set}" = set; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 else
36242 ac_ext=cpp
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36247
36248 cat >conftest.$ac_ext <<_ACEOF
36249 /* confdefs.h. */
36250 _ACEOF
36251 cat confdefs.h >>conftest.$ac_ext
36252 cat >>conftest.$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36254
36255 #if defined(__BSD__)
36256 #include <sys/param.h>
36257 #include <sys/mount.h>
36258 #else
36259 #include <sys/vfs.h>
36260 #endif
36261
36262 int
36263 main ()
36264 {
36265
36266 struct statfs fs;
36267 statfs("", &fs);
36268
36269 ;
36270 return 0;
36271 }
36272 _ACEOF
36273 rm -f conftest.$ac_objext
36274 if { (ac_try="$ac_compile"
36275 case "(($ac_try" in
36276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36277 *) ac_try_echo=$ac_try;;
36278 esac
36279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36280 (eval "$ac_compile") 2>conftest.er1
36281 ac_status=$?
36282 grep -v '^ *+' conftest.er1 >conftest.err
36283 rm -f conftest.er1
36284 cat conftest.err >&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); } && {
36287 test -z "$ac_cxx_werror_flag" ||
36288 test ! -s conftest.err
36289 } && test -s conftest.$ac_objext; then
36290 wx_cv_func_statfs_decl=yes
36291 else
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36294
36295 wx_cv_func_statfs_decl=no
36296
36297 fi
36298
36299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305
36306
36307 fi
36308 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36309 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36310
36311 if test "$wx_cv_func_statfs_decl" = "yes"; then
36312 cat >>confdefs.h <<\_ACEOF
36313 #define HAVE_STATFS_DECL 1
36314 _ACEOF
36315
36316 fi
36317
36318 wx_cv_type_statvfs_t="struct statfs"
36319 cat >>confdefs.h <<\_ACEOF
36320 #define HAVE_STATFS 1
36321 _ACEOF
36322
36323 else
36324 { echo "$as_me:$LINENO: checking for statvfs" >&5
36325 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36326 if test "${wx_cv_func_statvfs+set}" = set; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36328 else
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335
36336 #include <stddef.h>
36337 #include <sys/statvfs.h>
36338
36339 int
36340 main ()
36341 {
36342
36343 statvfs("/", NULL);
36344
36345 ;
36346 return 0;
36347 }
36348 _ACEOF
36349 rm -f conftest.$ac_objext
36350 if { (ac_try="$ac_compile"
36351 case "(($ac_try" in
36352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36353 *) ac_try_echo=$ac_try;;
36354 esac
36355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36356 (eval "$ac_compile") 2>conftest.er1
36357 ac_status=$?
36358 grep -v '^ *+' conftest.er1 >conftest.err
36359 rm -f conftest.er1
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } && {
36363 test -z "$ac_c_werror_flag" ||
36364 test ! -s conftest.err
36365 } && test -s conftest.$ac_objext; then
36366 wx_cv_func_statvfs=yes
36367 else
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36370
36371 wx_cv_func_statvfs=no
36372
36373 fi
36374
36375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36376
36377 fi
36378 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36379 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36380
36381 if test "$wx_cv_func_statvfs" = "yes"; then
36382 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36383 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36384 if test "${wx_cv_type_statvfs_t+set}" = set; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387 ac_ext=cpp
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36392
36393 cat >conftest.$ac_ext <<_ACEOF
36394 /* confdefs.h. */
36395 _ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399
36400 #include <sys/statvfs.h>
36401
36402 int
36403 main ()
36404 {
36405
36406 long l;
36407 statvfs_t fs;
36408 statvfs("/", &fs);
36409 l = fs.f_bsize;
36410 l += fs.f_blocks;
36411 l += fs.f_bavail;
36412
36413 ;
36414 return 0;
36415 }
36416 _ACEOF
36417 rm -f conftest.$ac_objext
36418 if { (ac_try="$ac_compile"
36419 case "(($ac_try" in
36420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36421 *) ac_try_echo=$ac_try;;
36422 esac
36423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36424 (eval "$ac_compile") 2>conftest.er1
36425 ac_status=$?
36426 grep -v '^ *+' conftest.er1 >conftest.err
36427 rm -f conftest.er1
36428 cat conftest.err >&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } && {
36431 test -z "$ac_cxx_werror_flag" ||
36432 test ! -s conftest.err
36433 } && test -s conftest.$ac_objext; then
36434 wx_cv_type_statvfs_t=statvfs_t
36435 else
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.$ac_ext >&5
36438
36439
36440 cat >conftest.$ac_ext <<_ACEOF
36441 /* confdefs.h. */
36442 _ACEOF
36443 cat confdefs.h >>conftest.$ac_ext
36444 cat >>conftest.$ac_ext <<_ACEOF
36445 /* end confdefs.h. */
36446
36447 #include <sys/statvfs.h>
36448
36449 int
36450 main ()
36451 {
36452
36453 long l;
36454 struct statvfs fs;
36455 statvfs("/", &fs);
36456 l = fs.f_bsize;
36457 l += fs.f_blocks;
36458 l += fs.f_bavail;
36459
36460 ;
36461 return 0;
36462 }
36463 _ACEOF
36464 rm -f conftest.$ac_objext
36465 if { (ac_try="$ac_compile"
36466 case "(($ac_try" in
36467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36468 *) ac_try_echo=$ac_try;;
36469 esac
36470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36471 (eval "$ac_compile") 2>conftest.er1
36472 ac_status=$?
36473 grep -v '^ *+' conftest.er1 >conftest.err
36474 rm -f conftest.er1
36475 cat conftest.err >&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 (exit $ac_status); } && {
36478 test -z "$ac_cxx_werror_flag" ||
36479 test ! -s conftest.err
36480 } && test -s conftest.$ac_objext; then
36481 wx_cv_type_statvfs_t="struct statvfs"
36482 else
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36485
36486 wx_cv_type_statvfs_t="unknown"
36487
36488 fi
36489
36490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36491
36492
36493 fi
36494
36495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36496 ac_ext=c
36497 ac_cpp='$CPP $CPPFLAGS'
36498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36501
36502
36503 fi
36504 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36505 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36506
36507 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define HAVE_STATVFS 1
36510 _ACEOF
36511
36512 fi
36513 else
36514 wx_cv_type_statvfs_t="unknown"
36515 fi
36516 fi
36517
36518 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36519 cat >>confdefs.h <<_ACEOF
36520 #define WX_STATFS_T $wx_cv_type_statvfs_t
36521 _ACEOF
36522
36523 else
36524 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36525 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36526 fi
36527
36528 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36529
36530
36531 for ac_func in fcntl flock
36532 do
36533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36537 echo $ECHO_N "(cached) $ECHO_C" >&6
36538 else
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36547 #define $ac_func innocuous_$ac_func
36548
36549 /* System header to define __stub macros and hopefully few prototypes,
36550 which can conflict with char $ac_func (); below.
36551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36552 <limits.h> exists even on freestanding compilers. */
36553
36554 #ifdef __STDC__
36555 # include <limits.h>
36556 #else
36557 # include <assert.h>
36558 #endif
36559
36560 #undef $ac_func
36561
36562 /* Override any GCC internal prototype to avoid an error.
36563 Use char because int might match the return type of a GCC
36564 builtin and then its argument prototype would still apply. */
36565 #ifdef __cplusplus
36566 extern "C"
36567 #endif
36568 char $ac_func ();
36569 /* The GNU C library defines this for functions which it implements
36570 to always fail with ENOSYS. Some functions are actually named
36571 something starting with __ and the normal name is an alias. */
36572 #if defined __stub_$ac_func || defined __stub___$ac_func
36573 choke me
36574 #endif
36575
36576 int
36577 main ()
36578 {
36579 return $ac_func ();
36580 ;
36581 return 0;
36582 }
36583 _ACEOF
36584 rm -f conftest.$ac_objext conftest$ac_exeext
36585 if { (ac_try="$ac_link"
36586 case "(($ac_try" in
36587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36588 *) ac_try_echo=$ac_try;;
36589 esac
36590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36591 (eval "$ac_link") 2>conftest.er1
36592 ac_status=$?
36593 grep -v '^ *+' conftest.er1 >conftest.err
36594 rm -f conftest.er1
36595 cat conftest.err >&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } && {
36598 test -z "$ac_c_werror_flag" ||
36599 test ! -s conftest.err
36600 } && test -s conftest$ac_exeext &&
36601 $as_test_x conftest$ac_exeext; then
36602 eval "$as_ac_var=yes"
36603 else
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.$ac_ext >&5
36606
36607 eval "$as_ac_var=no"
36608 fi
36609
36610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36611 conftest$ac_exeext conftest.$ac_ext
36612 fi
36613 ac_res=`eval echo '${'$as_ac_var'}'`
36614 { echo "$as_me:$LINENO: result: $ac_res" >&5
36615 echo "${ECHO_T}$ac_res" >&6; }
36616 if test `eval echo '${'$as_ac_var'}'` = yes; then
36617 cat >>confdefs.h <<_ACEOF
36618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36619 _ACEOF
36620 break
36621 fi
36622 done
36623
36624
36625 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36626 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36627 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36628 wxUSE_SNGLINST_CHECKER=no
36629 fi
36630 fi
36631
36632
36633
36634 for ac_func in setenv putenv
36635 do
36636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36640 echo $ECHO_N "(cached) $ECHO_C" >&6
36641 else
36642 cat >conftest.$ac_ext <<_ACEOF
36643 /* confdefs.h. */
36644 _ACEOF
36645 cat confdefs.h >>conftest.$ac_ext
36646 cat >>conftest.$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36650 #define $ac_func innocuous_$ac_func
36651
36652 /* System header to define __stub macros and hopefully few prototypes,
36653 which can conflict with char $ac_func (); below.
36654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36655 <limits.h> exists even on freestanding compilers. */
36656
36657 #ifdef __STDC__
36658 # include <limits.h>
36659 #else
36660 # include <assert.h>
36661 #endif
36662
36663 #undef $ac_func
36664
36665 /* Override any GCC internal prototype to avoid an error.
36666 Use char because int might match the return type of a GCC
36667 builtin and then its argument prototype would still apply. */
36668 #ifdef __cplusplus
36669 extern "C"
36670 #endif
36671 char $ac_func ();
36672 /* The GNU C library defines this for functions which it implements
36673 to always fail with ENOSYS. Some functions are actually named
36674 something starting with __ and the normal name is an alias. */
36675 #if defined __stub_$ac_func || defined __stub___$ac_func
36676 choke me
36677 #endif
36678
36679 int
36680 main ()
36681 {
36682 return $ac_func ();
36683 ;
36684 return 0;
36685 }
36686 _ACEOF
36687 rm -f conftest.$ac_objext conftest$ac_exeext
36688 if { (ac_try="$ac_link"
36689 case "(($ac_try" in
36690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36691 *) ac_try_echo=$ac_try;;
36692 esac
36693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36694 (eval "$ac_link") 2>conftest.er1
36695 ac_status=$?
36696 grep -v '^ *+' conftest.er1 >conftest.err
36697 rm -f conftest.er1
36698 cat conftest.err >&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } && {
36701 test -z "$ac_c_werror_flag" ||
36702 test ! -s conftest.err
36703 } && test -s conftest$ac_exeext &&
36704 $as_test_x conftest$ac_exeext; then
36705 eval "$as_ac_var=yes"
36706 else
36707 echo "$as_me: failed program was:" >&5
36708 sed 's/^/| /' conftest.$ac_ext >&5
36709
36710 eval "$as_ac_var=no"
36711 fi
36712
36713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36714 conftest$ac_exeext conftest.$ac_ext
36715 fi
36716 ac_res=`eval echo '${'$as_ac_var'}'`
36717 { echo "$as_me:$LINENO: result: $ac_res" >&5
36718 echo "${ECHO_T}$ac_res" >&6; }
36719 if test `eval echo '${'$as_ac_var'}'` = yes; then
36720 cat >>confdefs.h <<_ACEOF
36721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 _ACEOF
36723 break
36724 fi
36725 done
36726
36727 if test "$ac_cv_func_setenv" = "yes"; then
36728
36729 for ac_func in unsetenv
36730 do
36731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 else
36737 cat >conftest.$ac_ext <<_ACEOF
36738 /* confdefs.h. */
36739 _ACEOF
36740 cat confdefs.h >>conftest.$ac_ext
36741 cat >>conftest.$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36745 #define $ac_func innocuous_$ac_func
36746
36747 /* System header to define __stub macros and hopefully few prototypes,
36748 which can conflict with char $ac_func (); below.
36749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36750 <limits.h> exists even on freestanding compilers. */
36751
36752 #ifdef __STDC__
36753 # include <limits.h>
36754 #else
36755 # include <assert.h>
36756 #endif
36757
36758 #undef $ac_func
36759
36760 /* Override any GCC internal prototype to avoid an error.
36761 Use char because int might match the return type of a GCC
36762 builtin and then its argument prototype would still apply. */
36763 #ifdef __cplusplus
36764 extern "C"
36765 #endif
36766 char $ac_func ();
36767 /* The GNU C library defines this for functions which it implements
36768 to always fail with ENOSYS. Some functions are actually named
36769 something starting with __ and the normal name is an alias. */
36770 #if defined __stub_$ac_func || defined __stub___$ac_func
36771 choke me
36772 #endif
36773
36774 int
36775 main ()
36776 {
36777 return $ac_func ();
36778 ;
36779 return 0;
36780 }
36781 _ACEOF
36782 rm -f conftest.$ac_objext conftest$ac_exeext
36783 if { (ac_try="$ac_link"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36786 *) ac_try_echo=$ac_try;;
36787 esac
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_link") 2>conftest.er1
36790 ac_status=$?
36791 grep -v '^ *+' conftest.er1 >conftest.err
36792 rm -f conftest.er1
36793 cat conftest.err >&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } && {
36796 test -z "$ac_c_werror_flag" ||
36797 test ! -s conftest.err
36798 } && test -s conftest$ac_exeext &&
36799 $as_test_x conftest$ac_exeext; then
36800 eval "$as_ac_var=yes"
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36804
36805 eval "$as_ac_var=no"
36806 fi
36807
36808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36809 conftest$ac_exeext conftest.$ac_ext
36810 fi
36811 ac_res=`eval echo '${'$as_ac_var'}'`
36812 { echo "$as_me:$LINENO: result: $ac_res" >&5
36813 echo "${ECHO_T}$ac_res" >&6; }
36814 if test `eval echo '${'$as_ac_var'}'` = yes; then
36815 cat >>confdefs.h <<_ACEOF
36816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36817 _ACEOF
36818
36819 fi
36820 done
36821
36822 fi
36823
36824 HAVE_SOME_SLEEP_FUNC=0
36825 if test "$USE_BEOS" = 1; then
36826 cat >>confdefs.h <<\_ACEOF
36827 #define HAVE_SLEEP 1
36828 _ACEOF
36829
36830 HAVE_SOME_SLEEP_FUNC=1
36831 fi
36832
36833 if test "$USE_DARWIN" = 1; then
36834 cat >>confdefs.h <<\_ACEOF
36835 #define HAVE_USLEEP 1
36836 _ACEOF
36837
36838 HAVE_SOME_SLEEP_FUNC=1
36839 fi
36840
36841 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36842 POSIX4_LINK=
36843
36844 for ac_func in nanosleep
36845 do
36846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36851 else
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36860 #define $ac_func innocuous_$ac_func
36861
36862 /* System header to define __stub macros and hopefully few prototypes,
36863 which can conflict with char $ac_func (); below.
36864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36865 <limits.h> exists even on freestanding compilers. */
36866
36867 #ifdef __STDC__
36868 # include <limits.h>
36869 #else
36870 # include <assert.h>
36871 #endif
36872
36873 #undef $ac_func
36874
36875 /* Override any GCC internal prototype to avoid an error.
36876 Use char because int might match the return type of a GCC
36877 builtin and then its argument prototype would still apply. */
36878 #ifdef __cplusplus
36879 extern "C"
36880 #endif
36881 char $ac_func ();
36882 /* The GNU C library defines this for functions which it implements
36883 to always fail with ENOSYS. Some functions are actually named
36884 something starting with __ and the normal name is an alias. */
36885 #if defined __stub_$ac_func || defined __stub___$ac_func
36886 choke me
36887 #endif
36888
36889 int
36890 main ()
36891 {
36892 return $ac_func ();
36893 ;
36894 return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext conftest$ac_exeext
36898 if { (ac_try="$ac_link"
36899 case "(($ac_try" in
36900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36901 *) ac_try_echo=$ac_try;;
36902 esac
36903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36904 (eval "$ac_link") 2>conftest.er1
36905 ac_status=$?
36906 grep -v '^ *+' conftest.er1 >conftest.err
36907 rm -f conftest.er1
36908 cat conftest.err >&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); } && {
36911 test -z "$ac_c_werror_flag" ||
36912 test ! -s conftest.err
36913 } && test -s conftest$ac_exeext &&
36914 $as_test_x conftest$ac_exeext; then
36915 eval "$as_ac_var=yes"
36916 else
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36919
36920 eval "$as_ac_var=no"
36921 fi
36922
36923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36924 conftest$ac_exeext conftest.$ac_ext
36925 fi
36926 ac_res=`eval echo '${'$as_ac_var'}'`
36927 { echo "$as_me:$LINENO: result: $ac_res" >&5
36928 echo "${ECHO_T}$ac_res" >&6; }
36929 if test `eval echo '${'$as_ac_var'}'` = yes; then
36930 cat >>confdefs.h <<_ACEOF
36931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36932 _ACEOF
36933 cat >>confdefs.h <<\_ACEOF
36934 #define HAVE_NANOSLEEP 1
36935 _ACEOF
36936
36937 else
36938
36939 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36940 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36941 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944 ac_check_lib_save_LIBS=$LIBS
36945 LIBS="-lposix4 $LIBS"
36946 cat >conftest.$ac_ext <<_ACEOF
36947 /* confdefs.h. */
36948 _ACEOF
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h. */
36952
36953 /* Override any GCC internal prototype to avoid an error.
36954 Use char because int might match the return type of a GCC
36955 builtin and then its argument prototype would still apply. */
36956 #ifdef __cplusplus
36957 extern "C"
36958 #endif
36959 char nanosleep ();
36960 int
36961 main ()
36962 {
36963 return nanosleep ();
36964 ;
36965 return 0;
36966 }
36967 _ACEOF
36968 rm -f conftest.$ac_objext conftest$ac_exeext
36969 if { (ac_try="$ac_link"
36970 case "(($ac_try" in
36971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36972 *) ac_try_echo=$ac_try;;
36973 esac
36974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36975 (eval "$ac_link") 2>conftest.er1
36976 ac_status=$?
36977 grep -v '^ *+' conftest.er1 >conftest.err
36978 rm -f conftest.er1
36979 cat conftest.err >&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); } && {
36982 test -z "$ac_c_werror_flag" ||
36983 test ! -s conftest.err
36984 } && test -s conftest$ac_exeext &&
36985 $as_test_x conftest$ac_exeext; then
36986 ac_cv_lib_posix4_nanosleep=yes
36987 else
36988 echo "$as_me: failed program was:" >&5
36989 sed 's/^/| /' conftest.$ac_ext >&5
36990
36991 ac_cv_lib_posix4_nanosleep=no
36992 fi
36993
36994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36995 conftest$ac_exeext conftest.$ac_ext
36996 LIBS=$ac_check_lib_save_LIBS
36997 fi
36998 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36999 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37000 if test $ac_cv_lib_posix4_nanosleep = yes; then
37001
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_NANOSLEEP 1
37004 _ACEOF
37005
37006 POSIX4_LINK=" -lposix4"
37007
37008 else
37009
37010
37011 for wx_func in usleep
37012 do
37013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37015 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37016 echo $ECHO_N "(cached) $ECHO_C" >&6
37017 else
37018
37019 cat >conftest.$ac_ext <<_ACEOF
37020
37021 /* confdefs.h. */
37022 _ACEOF
37023 cat confdefs.h >>conftest.$ac_ext
37024 cat >>conftest.$ac_ext <<_ACEOF
37025 /* end confdefs.h. */
37026
37027
37028 $ac_includes_default
37029
37030 int
37031 main ()
37032 {
37033
37034 #ifndef $wx_func
37035 &$wx_func;
37036 #endif
37037
37038
37039 ;
37040 return 0;
37041 }
37042
37043 _ACEOF
37044 rm -f conftest.$ac_objext conftest$ac_exeext
37045 if { (ac_try="$ac_link"
37046 case "(($ac_try" in
37047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37048 *) ac_try_echo=$ac_try;;
37049 esac
37050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37051 (eval "$ac_link") 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } && {
37058 test -z "$ac_c_werror_flag" ||
37059 test ! -s conftest.err
37060 } && test -s conftest$ac_exeext &&
37061 $as_test_x conftest$ac_exeext; then
37062 eval wx_cv_func_$wx_func=yes
37063 else
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37066
37067 eval wx_cv_func_$wx_func=no
37068 fi
37069
37070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37071 conftest$ac_exeext conftest.$ac_ext
37072
37073 fi
37074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37075 { echo "$as_me:$LINENO: result: $ac_res" >&5
37076 echo "${ECHO_T}$ac_res" >&6; }
37077
37078 if eval test \$wx_cv_func_$wx_func = yes
37079 then
37080 cat >>confdefs.h <<_ACEOF
37081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37082 _ACEOF
37083
37084
37085 else
37086 :
37087 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37088 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37089
37090 fi
37091 done
37092
37093
37094
37095 fi
37096
37097
37098
37099 fi
37100 done
37101
37102 fi
37103
37104
37105 for wx_func in uname
37106 do
37107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37112
37113 cat >conftest.$ac_ext <<_ACEOF
37114
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120
37121 #include <sys/utsname.h>
37122 $ac_includes_default
37123
37124 int
37125 main ()
37126 {
37127
37128 #ifndef $wx_func
37129 &$wx_func;
37130 #endif
37131
37132
37133 ;
37134 return 0;
37135 }
37136
37137 _ACEOF
37138 rm -f conftest.$ac_objext conftest$ac_exeext
37139 if { (ac_try="$ac_link"
37140 case "(($ac_try" in
37141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37142 *) ac_try_echo=$ac_try;;
37143 esac
37144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37145 (eval "$ac_link") 2>conftest.er1
37146 ac_status=$?
37147 grep -v '^ *+' conftest.er1 >conftest.err
37148 rm -f conftest.er1
37149 cat conftest.err >&5
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); } && {
37152 test -z "$ac_c_werror_flag" ||
37153 test ! -s conftest.err
37154 } && test -s conftest$ac_exeext &&
37155 $as_test_x conftest$ac_exeext; then
37156 eval wx_cv_func_$wx_func=yes
37157 else
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37160
37161 eval wx_cv_func_$wx_func=no
37162 fi
37163
37164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37165 conftest$ac_exeext conftest.$ac_ext
37166
37167 fi
37168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37169 { echo "$as_me:$LINENO: result: $ac_res" >&5
37170 echo "${ECHO_T}$ac_res" >&6; }
37171
37172 if eval test \$wx_cv_func_$wx_func = yes
37173 then
37174 cat >>confdefs.h <<_ACEOF
37175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37176 _ACEOF
37177
37178
37179 else
37180 :
37181
37182 fi
37183 done
37184
37185 if test "$wx_cv_func_uname" != yes; then
37186
37187 for wx_func in gethostname
37188 do
37189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37193 else
37194
37195 cat >conftest.$ac_ext <<_ACEOF
37196
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202
37203
37204 $ac_includes_default
37205
37206 int
37207 main ()
37208 {
37209
37210 #ifndef $wx_func
37211 &$wx_func;
37212 #endif
37213
37214
37215 ;
37216 return 0;
37217 }
37218
37219 _ACEOF
37220 rm -f conftest.$ac_objext conftest$ac_exeext
37221 if { (ac_try="$ac_link"
37222 case "(($ac_try" in
37223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37224 *) ac_try_echo=$ac_try;;
37225 esac
37226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37227 (eval "$ac_link") 2>conftest.er1
37228 ac_status=$?
37229 grep -v '^ *+' conftest.er1 >conftest.err
37230 rm -f conftest.er1
37231 cat conftest.err >&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); } && {
37234 test -z "$ac_c_werror_flag" ||
37235 test ! -s conftest.err
37236 } && test -s conftest$ac_exeext &&
37237 $as_test_x conftest$ac_exeext; then
37238 eval wx_cv_func_$wx_func=yes
37239 else
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37242
37243 eval wx_cv_func_$wx_func=no
37244 fi
37245
37246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37247 conftest$ac_exeext conftest.$ac_ext
37248
37249 fi
37250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37251 { echo "$as_me:$LINENO: result: $ac_res" >&5
37252 echo "${ECHO_T}$ac_res" >&6; }
37253
37254 if eval test \$wx_cv_func_$wx_func = yes
37255 then
37256 cat >>confdefs.h <<_ACEOF
37257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37258 _ACEOF
37259
37260
37261 else
37262 :
37263
37264 fi
37265 done
37266
37267 fi
37268
37269
37270 for wx_func in strtok_r
37271 do
37272 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37273 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37274 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37275 echo $ECHO_N "(cached) $ECHO_C" >&6
37276 else
37277
37278 cat >conftest.$ac_ext <<_ACEOF
37279
37280 /* confdefs.h. */
37281 _ACEOF
37282 cat confdefs.h >>conftest.$ac_ext
37283 cat >>conftest.$ac_ext <<_ACEOF
37284 /* end confdefs.h. */
37285
37286 #define _REENTRANT
37287 $ac_includes_default
37288
37289 int
37290 main ()
37291 {
37292
37293 #ifndef $wx_func
37294 &$wx_func;
37295 #endif
37296
37297
37298 ;
37299 return 0;
37300 }
37301
37302 _ACEOF
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37307 *) ac_try_echo=$ac_try;;
37308 esac
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest$ac_exeext &&
37320 $as_test_x conftest$ac_exeext; then
37321 eval wx_cv_func_$wx_func=yes
37322 else
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37325
37326 eval wx_cv_func_$wx_func=no
37327 fi
37328
37329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37330 conftest$ac_exeext conftest.$ac_ext
37331
37332 fi
37333 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37334 { echo "$as_me:$LINENO: result: $ac_res" >&5
37335 echo "${ECHO_T}$ac_res" >&6; }
37336
37337 if eval test \$wx_cv_func_$wx_func = yes
37338 then
37339 cat >>confdefs.h <<_ACEOF
37340 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37341 _ACEOF
37342
37343
37344 else
37345 :
37346
37347 fi
37348 done
37349
37350
37351 INET_LINK=
37352
37353 for ac_func in inet_addr
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361 cat >conftest.$ac_ext <<_ACEOF
37362 /* confdefs.h. */
37363 _ACEOF
37364 cat confdefs.h >>conftest.$ac_ext
37365 cat >>conftest.$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37370
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37375
37376 #ifdef __STDC__
37377 # include <limits.h>
37378 #else
37379 # include <assert.h>
37380 #endif
37381
37382 #undef $ac_func
37383
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37387 #ifdef __cplusplus
37388 extern "C"
37389 #endif
37390 char $ac_func ();
37391 /* The GNU C library defines this for functions which it implements
37392 to always fail with ENOSYS. Some functions are actually named
37393 something starting with __ and the normal name is an alias. */
37394 #if defined __stub_$ac_func || defined __stub___$ac_func
37395 choke me
37396 #endif
37397
37398 int
37399 main ()
37400 {
37401 return $ac_func ();
37402 ;
37403 return 0;
37404 }
37405 _ACEOF
37406 rm -f conftest.$ac_objext conftest$ac_exeext
37407 if { (ac_try="$ac_link"
37408 case "(($ac_try" in
37409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37410 *) ac_try_echo=$ac_try;;
37411 esac
37412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37413 (eval "$ac_link") 2>conftest.er1
37414 ac_status=$?
37415 grep -v '^ *+' conftest.er1 >conftest.err
37416 rm -f conftest.er1
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } && {
37420 test -z "$ac_c_werror_flag" ||
37421 test ! -s conftest.err
37422 } && test -s conftest$ac_exeext &&
37423 $as_test_x conftest$ac_exeext; then
37424 eval "$as_ac_var=yes"
37425 else
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37428
37429 eval "$as_ac_var=no"
37430 fi
37431
37432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37433 conftest$ac_exeext conftest.$ac_ext
37434 fi
37435 ac_res=`eval echo '${'$as_ac_var'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37438 if test `eval echo '${'$as_ac_var'}'` = yes; then
37439 cat >>confdefs.h <<_ACEOF
37440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37441 _ACEOF
37442 cat >>confdefs.h <<\_ACEOF
37443 #define HAVE_INET_ADDR 1
37444 _ACEOF
37445
37446 else
37447
37448 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37449 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37450 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37451 echo $ECHO_N "(cached) $ECHO_C" >&6
37452 else
37453 ac_check_lib_save_LIBS=$LIBS
37454 LIBS="-lnsl $LIBS"
37455 cat >conftest.$ac_ext <<_ACEOF
37456 /* confdefs.h. */
37457 _ACEOF
37458 cat confdefs.h >>conftest.$ac_ext
37459 cat >>conftest.$ac_ext <<_ACEOF
37460 /* end confdefs.h. */
37461
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37465 #ifdef __cplusplus
37466 extern "C"
37467 #endif
37468 char inet_addr ();
37469 int
37470 main ()
37471 {
37472 return inet_addr ();
37473 ;
37474 return 0;
37475 }
37476 _ACEOF
37477 rm -f conftest.$ac_objext conftest$ac_exeext
37478 if { (ac_try="$ac_link"
37479 case "(($ac_try" in
37480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37481 *) ac_try_echo=$ac_try;;
37482 esac
37483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37484 (eval "$ac_link") 2>conftest.er1
37485 ac_status=$?
37486 grep -v '^ *+' conftest.er1 >conftest.err
37487 rm -f conftest.er1
37488 cat conftest.err >&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); } && {
37491 test -z "$ac_c_werror_flag" ||
37492 test ! -s conftest.err
37493 } && test -s conftest$ac_exeext &&
37494 $as_test_x conftest$ac_exeext; then
37495 ac_cv_lib_nsl_inet_addr=yes
37496 else
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.$ac_ext >&5
37499
37500 ac_cv_lib_nsl_inet_addr=no
37501 fi
37502
37503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37504 conftest$ac_exeext conftest.$ac_ext
37505 LIBS=$ac_check_lib_save_LIBS
37506 fi
37507 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37508 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37509 if test $ac_cv_lib_nsl_inet_addr = yes; then
37510 INET_LINK="nsl"
37511 else
37512
37513 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37514 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37515 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37517 else
37518 ac_check_lib_save_LIBS=$LIBS
37519 LIBS="-lresolv $LIBS"
37520 cat >conftest.$ac_ext <<_ACEOF
37521 /* confdefs.h. */
37522 _ACEOF
37523 cat confdefs.h >>conftest.$ac_ext
37524 cat >>conftest.$ac_ext <<_ACEOF
37525 /* end confdefs.h. */
37526
37527 /* Override any GCC internal prototype to avoid an error.
37528 Use char because int might match the return type of a GCC
37529 builtin and then its argument prototype would still apply. */
37530 #ifdef __cplusplus
37531 extern "C"
37532 #endif
37533 char inet_addr ();
37534 int
37535 main ()
37536 {
37537 return inet_addr ();
37538 ;
37539 return 0;
37540 }
37541 _ACEOF
37542 rm -f conftest.$ac_objext conftest$ac_exeext
37543 if { (ac_try="$ac_link"
37544 case "(($ac_try" in
37545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37546 *) ac_try_echo=$ac_try;;
37547 esac
37548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37549 (eval "$ac_link") 2>conftest.er1
37550 ac_status=$?
37551 grep -v '^ *+' conftest.er1 >conftest.err
37552 rm -f conftest.er1
37553 cat conftest.err >&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } && {
37556 test -z "$ac_c_werror_flag" ||
37557 test ! -s conftest.err
37558 } && test -s conftest$ac_exeext &&
37559 $as_test_x conftest$ac_exeext; then
37560 ac_cv_lib_resolv_inet_addr=yes
37561 else
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37564
37565 ac_cv_lib_resolv_inet_addr=no
37566 fi
37567
37568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37569 conftest$ac_exeext conftest.$ac_ext
37570 LIBS=$ac_check_lib_save_LIBS
37571 fi
37572 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37573 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37574 if test $ac_cv_lib_resolv_inet_addr = yes; then
37575 INET_LINK="resolv"
37576 else
37577
37578 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37579 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37580 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37581 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 else
37583 ac_check_lib_save_LIBS=$LIBS
37584 LIBS="-lsocket $LIBS"
37585 cat >conftest.$ac_ext <<_ACEOF
37586 /* confdefs.h. */
37587 _ACEOF
37588 cat confdefs.h >>conftest.$ac_ext
37589 cat >>conftest.$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37591
37592 /* Override any GCC internal prototype to avoid an error.
37593 Use char because int might match the return type of a GCC
37594 builtin and then its argument prototype would still apply. */
37595 #ifdef __cplusplus
37596 extern "C"
37597 #endif
37598 char inet_addr ();
37599 int
37600 main ()
37601 {
37602 return inet_addr ();
37603 ;
37604 return 0;
37605 }
37606 _ACEOF
37607 rm -f conftest.$ac_objext conftest$ac_exeext
37608 if { (ac_try="$ac_link"
37609 case "(($ac_try" in
37610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37611 *) ac_try_echo=$ac_try;;
37612 esac
37613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37614 (eval "$ac_link") 2>conftest.er1
37615 ac_status=$?
37616 grep -v '^ *+' conftest.er1 >conftest.err
37617 rm -f conftest.er1
37618 cat conftest.err >&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } && {
37621 test -z "$ac_c_werror_flag" ||
37622 test ! -s conftest.err
37623 } && test -s conftest$ac_exeext &&
37624 $as_test_x conftest$ac_exeext; then
37625 ac_cv_lib_socket_inet_addr=yes
37626 else
37627 echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.$ac_ext >&5
37629
37630 ac_cv_lib_socket_inet_addr=no
37631 fi
37632
37633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37634 conftest$ac_exeext conftest.$ac_ext
37635 LIBS=$ac_check_lib_save_LIBS
37636 fi
37637 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37638 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37639 if test $ac_cv_lib_socket_inet_addr = yes; then
37640 INET_LINK="socket"
37641
37642 fi
37643
37644
37645
37646 fi
37647
37648
37649
37650 fi
37651
37652
37653
37654 fi
37655 done
37656
37657
37658
37659 for ac_func in inet_aton
37660 do
37661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37662 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37664 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37665 echo $ECHO_N "(cached) $ECHO_C" >&6
37666 else
37667 cat >conftest.$ac_ext <<_ACEOF
37668 /* confdefs.h. */
37669 _ACEOF
37670 cat confdefs.h >>conftest.$ac_ext
37671 cat >>conftest.$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37675 #define $ac_func innocuous_$ac_func
37676
37677 /* System header to define __stub macros and hopefully few prototypes,
37678 which can conflict with char $ac_func (); below.
37679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37680 <limits.h> exists even on freestanding compilers. */
37681
37682 #ifdef __STDC__
37683 # include <limits.h>
37684 #else
37685 # include <assert.h>
37686 #endif
37687
37688 #undef $ac_func
37689
37690 /* Override any GCC internal prototype to avoid an error.
37691 Use char because int might match the return type of a GCC
37692 builtin and then its argument prototype would still apply. */
37693 #ifdef __cplusplus
37694 extern "C"
37695 #endif
37696 char $ac_func ();
37697 /* The GNU C library defines this for functions which it implements
37698 to always fail with ENOSYS. Some functions are actually named
37699 something starting with __ and the normal name is an alias. */
37700 #if defined __stub_$ac_func || defined __stub___$ac_func
37701 choke me
37702 #endif
37703
37704 int
37705 main ()
37706 {
37707 return $ac_func ();
37708 ;
37709 return 0;
37710 }
37711 _ACEOF
37712 rm -f conftest.$ac_objext conftest$ac_exeext
37713 if { (ac_try="$ac_link"
37714 case "(($ac_try" in
37715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37716 *) ac_try_echo=$ac_try;;
37717 esac
37718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37719 (eval "$ac_link") 2>conftest.er1
37720 ac_status=$?
37721 grep -v '^ *+' conftest.er1 >conftest.err
37722 rm -f conftest.er1
37723 cat conftest.err >&5
37724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37725 (exit $ac_status); } && {
37726 test -z "$ac_c_werror_flag" ||
37727 test ! -s conftest.err
37728 } && test -s conftest$ac_exeext &&
37729 $as_test_x conftest$ac_exeext; then
37730 eval "$as_ac_var=yes"
37731 else
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37734
37735 eval "$as_ac_var=no"
37736 fi
37737
37738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37739 conftest$ac_exeext conftest.$ac_ext
37740 fi
37741 ac_res=`eval echo '${'$as_ac_var'}'`
37742 { echo "$as_me:$LINENO: result: $ac_res" >&5
37743 echo "${ECHO_T}$ac_res" >&6; }
37744 if test `eval echo '${'$as_ac_var'}'` = yes; then
37745 cat >>confdefs.h <<_ACEOF
37746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37747 _ACEOF
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE_INET_ATON 1
37750 _ACEOF
37751
37752 else
37753
37754 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37755 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37756 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37757 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37758 echo $ECHO_N "(cached) $ECHO_C" >&6
37759 else
37760 ac_check_lib_save_LIBS=$LIBS
37761 LIBS="-l$INET_LINK $LIBS"
37762 cat >conftest.$ac_ext <<_ACEOF
37763 /* confdefs.h. */
37764 _ACEOF
37765 cat confdefs.h >>conftest.$ac_ext
37766 cat >>conftest.$ac_ext <<_ACEOF
37767 /* end confdefs.h. */
37768
37769 /* Override any GCC internal prototype to avoid an error.
37770 Use char because int might match the return type of a GCC
37771 builtin and then its argument prototype would still apply. */
37772 #ifdef __cplusplus
37773 extern "C"
37774 #endif
37775 char inet_aton ();
37776 int
37777 main ()
37778 {
37779 return inet_aton ();
37780 ;
37781 return 0;
37782 }
37783 _ACEOF
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37789 esac
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37792 ac_status=$?
37793 grep -v '^ *+' conftest.er1 >conftest.err
37794 rm -f conftest.er1
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval "$as_ac_Lib=yes"
37803 else
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37806
37807 eval "$as_ac_Lib=no"
37808 fi
37809
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37812 LIBS=$ac_check_lib_save_LIBS
37813 fi
37814 ac_res=`eval echo '${'$as_ac_Lib'}'`
37815 { echo "$as_me:$LINENO: result: $ac_res" >&5
37816 echo "${ECHO_T}$ac_res" >&6; }
37817 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37818 cat >>confdefs.h <<\_ACEOF
37819 #define HAVE_INET_ATON 1
37820 _ACEOF
37821
37822 fi
37823
37824
37825 fi
37826 done
37827
37828
37829 if test "x$INET_LINK" != "x"; then
37830 cat >>confdefs.h <<\_ACEOF
37831 #define HAVE_INET_ADDR 1
37832 _ACEOF
37833
37834 INET_LINK=" -l$INET_LINK"
37835 fi
37836
37837
37838 for wx_func in fdopen
37839 do
37840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37843 echo $ECHO_N "(cached) $ECHO_C" >&6
37844 else
37845
37846 cat >conftest.$ac_ext <<_ACEOF
37847
37848 /* confdefs.h. */
37849 _ACEOF
37850 cat confdefs.h >>conftest.$ac_ext
37851 cat >>conftest.$ac_ext <<_ACEOF
37852 /* end confdefs.h. */
37853
37854
37855 $ac_includes_default
37856
37857 int
37858 main ()
37859 {
37860
37861 #ifndef $wx_func
37862 &$wx_func;
37863 #endif
37864
37865
37866 ;
37867 return 0;
37868 }
37869
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (ac_try="$ac_link"
37873 case "(($ac_try" in
37874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37875 *) ac_try_echo=$ac_try;;
37876 esac
37877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37878 (eval "$ac_link") 2>conftest.er1
37879 ac_status=$?
37880 grep -v '^ *+' conftest.er1 >conftest.err
37881 rm -f conftest.er1
37882 cat conftest.err >&5
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); } && {
37885 test -z "$ac_c_werror_flag" ||
37886 test ! -s conftest.err
37887 } && test -s conftest$ac_exeext &&
37888 $as_test_x conftest$ac_exeext; then
37889 eval wx_cv_func_$wx_func=yes
37890 else
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37893
37894 eval wx_cv_func_$wx_func=no
37895 fi
37896
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37899
37900 fi
37901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37902 { echo "$as_me:$LINENO: result: $ac_res" >&5
37903 echo "${ECHO_T}$ac_res" >&6; }
37904
37905 if eval test \$wx_cv_func_$wx_func = yes
37906 then
37907 cat >>confdefs.h <<_ACEOF
37908 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37909 _ACEOF
37910
37911
37912 else
37913 :
37914
37915 fi
37916 done
37917
37918
37919 if test "$wxUSE_TARSTREAM" = "yes"; then
37920
37921 for wx_func in sysconf
37922 do
37923 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37924 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37925 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37926 echo $ECHO_N "(cached) $ECHO_C" >&6
37927 else
37928
37929 cat >conftest.$ac_ext <<_ACEOF
37930
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936
37937
37938 $ac_includes_default
37939
37940 int
37941 main ()
37942 {
37943
37944 #ifndef $wx_func
37945 &$wx_func;
37946 #endif
37947
37948
37949 ;
37950 return 0;
37951 }
37952
37953 _ACEOF
37954 rm -f conftest.$ac_objext conftest$ac_exeext
37955 if { (ac_try="$ac_link"
37956 case "(($ac_try" in
37957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37958 *) ac_try_echo=$ac_try;;
37959 esac
37960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37961 (eval "$ac_link") 2>conftest.er1
37962 ac_status=$?
37963 grep -v '^ *+' conftest.er1 >conftest.err
37964 rm -f conftest.er1
37965 cat conftest.err >&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } && {
37968 test -z "$ac_c_werror_flag" ||
37969 test ! -s conftest.err
37970 } && test -s conftest$ac_exeext &&
37971 $as_test_x conftest$ac_exeext; then
37972 eval wx_cv_func_$wx_func=yes
37973 else
37974 echo "$as_me: failed program was:" >&5
37975 sed 's/^/| /' conftest.$ac_ext >&5
37976
37977 eval wx_cv_func_$wx_func=no
37978 fi
37979
37980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37981 conftest$ac_exeext conftest.$ac_ext
37982
37983 fi
37984 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37985 { echo "$as_me:$LINENO: result: $ac_res" >&5
37986 echo "${ECHO_T}$ac_res" >&6; }
37987
37988 if eval test \$wx_cv_func_$wx_func = yes
37989 then
37990 cat >>confdefs.h <<_ACEOF
37991 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37992 _ACEOF
37993
37994
37995 else
37996 :
37997
37998 fi
37999 done
38000
38001
38002
38003 for wx_func in getpwuid_r
38004 do
38005 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38006 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38007 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 else
38010
38011 cat >conftest.$ac_ext <<_ACEOF
38012
38013 /* confdefs.h. */
38014 _ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38018
38019
38020 #define _REENTRANT
38021 #include <pwd.h>
38022
38023 $ac_includes_default
38024
38025 int
38026 main ()
38027 {
38028
38029 #ifndef $wx_func
38030 &$wx_func;
38031 #endif
38032
38033 struct passwd pw, *ppw;
38034 char buf[1024];
38035 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38036
38037
38038 ;
38039 return 0;
38040 }
38041
38042 _ACEOF
38043 rm -f conftest.$ac_objext conftest$ac_exeext
38044 if { (ac_try="$ac_link"
38045 case "(($ac_try" in
38046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38047 *) ac_try_echo=$ac_try;;
38048 esac
38049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38050 (eval "$ac_link") 2>conftest.er1
38051 ac_status=$?
38052 grep -v '^ *+' conftest.er1 >conftest.err
38053 rm -f conftest.er1
38054 cat conftest.err >&5
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); } && {
38057 test -z "$ac_c_werror_flag" ||
38058 test ! -s conftest.err
38059 } && test -s conftest$ac_exeext &&
38060 $as_test_x conftest$ac_exeext; then
38061 eval wx_cv_func_$wx_func=yes
38062 else
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.$ac_ext >&5
38065
38066 eval wx_cv_func_$wx_func=no
38067 fi
38068
38069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38070 conftest$ac_exeext conftest.$ac_ext
38071
38072 fi
38073 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38074 { echo "$as_me:$LINENO: result: $ac_res" >&5
38075 echo "${ECHO_T}$ac_res" >&6; }
38076
38077 if eval test \$wx_cv_func_$wx_func = yes
38078 then
38079 cat >>confdefs.h <<_ACEOF
38080 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38081 _ACEOF
38082
38083
38084 else
38085 :
38086
38087 fi
38088 done
38089
38090
38091
38092 for wx_func in getgrgid_r
38093 do
38094 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38095 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38096 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099
38100 cat >conftest.$ac_ext <<_ACEOF
38101
38102 /* confdefs.h. */
38103 _ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107
38108
38109 #define _REENTRANT
38110 #include <grp.h>
38111
38112 $ac_includes_default
38113
38114 int
38115 main ()
38116 {
38117
38118 #ifndef $wx_func
38119 &$wx_func;
38120 #endif
38121
38122 struct group grp, *pgrp;
38123 char buf[1024];
38124 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38125
38126
38127 ;
38128 return 0;
38129 }
38130
38131 _ACEOF
38132 rm -f conftest.$ac_objext conftest$ac_exeext
38133 if { (ac_try="$ac_link"
38134 case "(($ac_try" in
38135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38136 *) ac_try_echo=$ac_try;;
38137 esac
38138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38139 (eval "$ac_link") 2>conftest.er1
38140 ac_status=$?
38141 grep -v '^ *+' conftest.er1 >conftest.err
38142 rm -f conftest.er1
38143 cat conftest.err >&5
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); } && {
38146 test -z "$ac_c_werror_flag" ||
38147 test ! -s conftest.err
38148 } && test -s conftest$ac_exeext &&
38149 $as_test_x conftest$ac_exeext; then
38150 eval wx_cv_func_$wx_func=yes
38151 else
38152 echo "$as_me: failed program was:" >&5
38153 sed 's/^/| /' conftest.$ac_ext >&5
38154
38155 eval wx_cv_func_$wx_func=no
38156 fi
38157
38158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38159 conftest$ac_exeext conftest.$ac_ext
38160
38161 fi
38162 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38163 { echo "$as_me:$LINENO: result: $ac_res" >&5
38164 echo "${ECHO_T}$ac_res" >&6; }
38165
38166 if eval test \$wx_cv_func_$wx_func = yes
38167 then
38168 cat >>confdefs.h <<_ACEOF
38169 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38170 _ACEOF
38171
38172
38173 else
38174 :
38175
38176 fi
38177 done
38178
38179 fi
38180
38181 fi
38182
38183
38184
38185 cat >confcache <<\_ACEOF
38186 # This file is a shell script that caches the results of configure
38187 # tests run on this system so they can be shared between configure
38188 # scripts and configure runs, see configure's option --config-cache.
38189 # It is not useful on other systems. If it contains results you don't
38190 # want to keep, you may remove or edit it.
38191 #
38192 # config.status only pays attention to the cache file if you give it
38193 # the --recheck option to rerun configure.
38194 #
38195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38197 # following values.
38198
38199 _ACEOF
38200
38201 # The following way of writing the cache mishandles newlines in values,
38202 # but we know of no workaround that is simple, portable, and efficient.
38203 # So, we kill variables containing newlines.
38204 # Ultrix sh set writes to stderr and can't be redirected directly,
38205 # and sets the high bit in the cache file unless we assign to the vars.
38206 (
38207 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38208 eval ac_val=\$$ac_var
38209 case $ac_val in #(
38210 *${as_nl}*)
38211 case $ac_var in #(
38212 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38213 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38214 esac
38215 case $ac_var in #(
38216 _ | IFS | as_nl) ;; #(
38217 *) $as_unset $ac_var ;;
38218 esac ;;
38219 esac
38220 done
38221
38222 (set) 2>&1 |
38223 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38224 *${as_nl}ac_space=\ *)
38225 # `set' does not quote correctly, so add quotes (double-quote
38226 # substitution turns \\\\ into \\, and sed turns \\ into \).
38227 sed -n \
38228 "s/'/'\\\\''/g;
38229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38230 ;; #(
38231 *)
38232 # `set' quotes correctly as required by POSIX, so do not add quotes.
38233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38234 ;;
38235 esac |
38236 sort
38237 ) |
38238 sed '
38239 /^ac_cv_env_/b end
38240 t clear
38241 :clear
38242 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38243 t end
38244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38245 :end' >>confcache
38246 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38247 if test -w "$cache_file"; then
38248 test "x$cache_file" != "x/dev/null" &&
38249 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38250 echo "$as_me: updating cache $cache_file" >&6;}
38251 cat confcache >$cache_file
38252 else
38253 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38254 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38255 fi
38256 fi
38257 rm -f confcache
38258
38259
38260 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38261
38262
38263 THREADS_LINK=
38264 THREADS_CFLAGS=
38265
38266 if test "$wxUSE_THREADS" = "yes" ; then
38267 if test "$USE_BEOS" = 1; then
38268 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38269 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38270 wxUSE_THREADS="no"
38271 fi
38272 fi
38273
38274 if test "$wxUSE_THREADS" = "yes" ; then
38275
38276
38277 THREAD_OPTS="-pthread"
38278 if test "x$SUNCXX" = xyes; then
38279 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38280 fi
38281
38282 case "${host}" in
38283 *-*-solaris2* | *-*-sunos4* )
38284 if test "x$GCC" = "xyes"; then
38285 THREAD_OPTS="-pthreads $THREAD_OPTS"
38286 fi
38287 ;;
38288 *-*-freebsd*)
38289 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38290 ;;
38291 *-*-darwin* | *-*-cygwin* )
38292 THREAD_OPTS=""
38293 ;;
38294 *-*-aix*)
38295 THREAD_OPTS="pthreads"
38296 ;;
38297 *-hp-hpux* )
38298 if test "x$GCC" = "xyes"; then
38299 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38300 THREAD_OPTS=""
38301 else
38302 THREAD_OPTS="-mt"
38303 fi
38304 ;;
38305
38306 *-*-irix* )
38307 if test "x$GCC" = "xyes"; then
38308 THREAD_OPTS=""
38309 fi
38310 ;;
38311
38312 *-*-*UnixWare*)
38313 if test "x$GCC" != "xyes"; then
38314 THREAD_OPTS="-Ethread"
38315 fi
38316 ;;
38317 esac
38318
38319 THREAD_OPTS="$THREAD_OPTS pthread none"
38320
38321 THREADS_OK=no
38322 for flag in $THREAD_OPTS; do
38323 case $flag in
38324 none)
38325 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38326 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38327 ;;
38328
38329 -*)
38330 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38331 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38332 THREADS_CFLAGS="$flag"
38333 ;;
38334
38335 *)
38336 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38337 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38338 THREADS_LINK="-l$flag"
38339 ;;
38340 esac
38341
38342 save_LIBS="$LIBS"
38343 save_CFLAGS="$CFLAGS"
38344 LIBS="$THREADS_LINK $LIBS"
38345 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38346
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 #include <pthread.h>
38354 int
38355 main ()
38356 {
38357 pthread_create(0,0,0,0);
38358 ;
38359 return 0;
38360 }
38361 _ACEOF
38362 rm -f conftest.$ac_objext conftest$ac_exeext
38363 if { (ac_try="$ac_link"
38364 case "(($ac_try" in
38365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38367 esac
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_link") 2>conftest.er1
38370 ac_status=$?
38371 grep -v '^ *+' conftest.er1 >conftest.err
38372 rm -f conftest.er1
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest$ac_exeext &&
38379 $as_test_x conftest$ac_exeext; then
38380 THREADS_OK=yes
38381 else
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38384
38385
38386 fi
38387
38388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38389 conftest$ac_exeext conftest.$ac_ext
38390
38391 LIBS="$save_LIBS"
38392 CFLAGS="$save_CFLAGS"
38393
38394 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38395 echo "${ECHO_T}$THREADS_OK" >&6; }
38396 if test "x$THREADS_OK" = "xyes"; then
38397 break;
38398 fi
38399
38400 THREADS_LINK=""
38401 THREADS_CFLAGS=""
38402 done
38403
38404 if test "x$THREADS_OK" != "xyes"; then
38405 wxUSE_THREADS=no
38406 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38407 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38408 else
38409 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38410 LIBS="$THREADS_LINK $LIBS"
38411
38412 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38413 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38414 flag=no
38415 case "${host}" in
38416 *-aix*)
38417 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38418 flag="-D_THREAD_SAFE"
38419 ;;
38420 *-freebsd*)
38421 flag="-D_THREAD_SAFE"
38422 ;;
38423 *-hp-hpux* )
38424 flag="-D_REENTRANT"
38425 if test "x$GCC" != "xyes"; then
38426 flag="$flag -D_RWSTD_MULTI_THREAD"
38427 fi
38428 ;;
38429 *solaris* | alpha*-osf*)
38430 flag="-D_REENTRANT"
38431 ;;
38432 esac
38433 { echo "$as_me:$LINENO: result: ${flag}" >&5
38434 echo "${ECHO_T}${flag}" >&6; }
38435 if test "x$flag" != xno; then
38436 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38437 fi
38438
38439 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38440 fi
38441 fi
38442
38443 if test "$wxUSE_THREADS" = "yes" ; then
38444
38445 for ac_func in thr_setconcurrency
38446 do
38447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38448 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38450 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 else
38453 cat >conftest.$ac_ext <<_ACEOF
38454 /* confdefs.h. */
38455 _ACEOF
38456 cat confdefs.h >>conftest.$ac_ext
38457 cat >>conftest.$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38461 #define $ac_func innocuous_$ac_func
38462
38463 /* System header to define __stub macros and hopefully few prototypes,
38464 which can conflict with char $ac_func (); below.
38465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38466 <limits.h> exists even on freestanding compilers. */
38467
38468 #ifdef __STDC__
38469 # include <limits.h>
38470 #else
38471 # include <assert.h>
38472 #endif
38473
38474 #undef $ac_func
38475
38476 /* Override any GCC internal prototype to avoid an error.
38477 Use char because int might match the return type of a GCC
38478 builtin and then its argument prototype would still apply. */
38479 #ifdef __cplusplus
38480 extern "C"
38481 #endif
38482 char $ac_func ();
38483 /* The GNU C library defines this for functions which it implements
38484 to always fail with ENOSYS. Some functions are actually named
38485 something starting with __ and the normal name is an alias. */
38486 #if defined __stub_$ac_func || defined __stub___$ac_func
38487 choke me
38488 #endif
38489
38490 int
38491 main ()
38492 {
38493 return $ac_func ();
38494 ;
38495 return 0;
38496 }
38497 _ACEOF
38498 rm -f conftest.$ac_objext conftest$ac_exeext
38499 if { (ac_try="$ac_link"
38500 case "(($ac_try" in
38501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38502 *) ac_try_echo=$ac_try;;
38503 esac
38504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38505 (eval "$ac_link") 2>conftest.er1
38506 ac_status=$?
38507 grep -v '^ *+' conftest.er1 >conftest.err
38508 rm -f conftest.er1
38509 cat conftest.err >&5
38510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511 (exit $ac_status); } && {
38512 test -z "$ac_c_werror_flag" ||
38513 test ! -s conftest.err
38514 } && test -s conftest$ac_exeext &&
38515 $as_test_x conftest$ac_exeext; then
38516 eval "$as_ac_var=yes"
38517 else
38518 echo "$as_me: failed program was:" >&5
38519 sed 's/^/| /' conftest.$ac_ext >&5
38520
38521 eval "$as_ac_var=no"
38522 fi
38523
38524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38525 conftest$ac_exeext conftest.$ac_ext
38526 fi
38527 ac_res=`eval echo '${'$as_ac_var'}'`
38528 { echo "$as_me:$LINENO: result: $ac_res" >&5
38529 echo "${ECHO_T}$ac_res" >&6; }
38530 if test `eval echo '${'$as_ac_var'}'` = yes; then
38531 cat >>confdefs.h <<_ACEOF
38532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38533 _ACEOF
38534
38535 fi
38536 done
38537
38538
38539 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38540 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38541 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544
38545 ac_ext=cpp
38546 ac_cpp='$CXXCPP $CPPFLAGS'
38547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38550
38551 cat >conftest.$ac_ext <<_ACEOF
38552 /* confdefs.h. */
38553 _ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557 #include <pthread.h>
38558 void ThreadCleanupFunc(void *p);
38559
38560 int
38561 main ()
38562 {
38563
38564 void *p;
38565 pthread_cleanup_push(ThreadCleanupFunc, p);
38566 pthread_cleanup_pop(0);
38567
38568 ;
38569 return 0;
38570 }
38571 _ACEOF
38572 rm -f conftest.$ac_objext
38573 if { (ac_try="$ac_compile"
38574 case "(($ac_try" in
38575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38576 *) ac_try_echo=$ac_try;;
38577 esac
38578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38579 (eval "$ac_compile") 2>conftest.er1
38580 ac_status=$?
38581 grep -v '^ *+' conftest.er1 >conftest.err
38582 rm -f conftest.er1
38583 cat conftest.err >&5
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); } && {
38586 test -z "$ac_cxx_werror_flag" ||
38587 test ! -s conftest.err
38588 } && test -s conftest.$ac_objext; then
38589
38590 wx_cv_func_pthread_cleanup=yes
38591
38592 else
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.$ac_ext >&5
38595
38596
38597 wx_cv_func_pthread_cleanup=no
38598
38599
38600 fi
38601
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603 ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608
38609
38610 fi
38611 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38612 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38613 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38614 cat >>confdefs.h <<\_ACEOF
38615 #define wxHAVE_PTHREAD_CLEANUP 1
38616 _ACEOF
38617
38618 fi
38619
38620
38621 for ac_header in sched.h
38622 do
38623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38629 cat >conftest.$ac_ext <<_ACEOF
38630 /* confdefs.h. */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635 $ac_includes_default
38636
38637 #include <$ac_header>
38638 _ACEOF
38639 rm -f conftest.$ac_objext
38640 if { (ac_try="$ac_compile"
38641 case "(($ac_try" in
38642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38643 *) ac_try_echo=$ac_try;;
38644 esac
38645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38646 (eval "$ac_compile") 2>conftest.er1
38647 ac_status=$?
38648 grep -v '^ *+' conftest.er1 >conftest.err
38649 rm -f conftest.er1
38650 cat conftest.err >&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } && {
38653 test -z "$ac_c_werror_flag" ||
38654 test ! -s conftest.err
38655 } && test -s conftest.$ac_objext; then
38656 eval "$as_ac_Header=yes"
38657 else
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38660
38661 eval "$as_ac_Header=no"
38662 fi
38663
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665 fi
38666 ac_res=`eval echo '${'$as_ac_Header'}'`
38667 { echo "$as_me:$LINENO: result: $ac_res" >&5
38668 echo "${ECHO_T}$ac_res" >&6; }
38669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38670 cat >>confdefs.h <<_ACEOF
38671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38672 _ACEOF
38673
38674 fi
38675
38676 done
38677
38678 if test "$ac_cv_header_sched_h" = "yes"; then
38679 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38680 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38681 if test "${ac_cv_func_sched_yield+set}" = set; then
38682 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 else
38684 cat >conftest.$ac_ext <<_ACEOF
38685 /* confdefs.h. */
38686 _ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38690 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38692 #define sched_yield innocuous_sched_yield
38693
38694 /* System header to define __stub macros and hopefully few prototypes,
38695 which can conflict with char sched_yield (); below.
38696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38697 <limits.h> exists even on freestanding compilers. */
38698
38699 #ifdef __STDC__
38700 # include <limits.h>
38701 #else
38702 # include <assert.h>
38703 #endif
38704
38705 #undef sched_yield
38706
38707 /* Override any GCC internal prototype to avoid an error.
38708 Use char because int might match the return type of a GCC
38709 builtin and then its argument prototype would still apply. */
38710 #ifdef __cplusplus
38711 extern "C"
38712 #endif
38713 char sched_yield ();
38714 /* The GNU C library defines this for functions which it implements
38715 to always fail with ENOSYS. Some functions are actually named
38716 something starting with __ and the normal name is an alias. */
38717 #if defined __stub_sched_yield || defined __stub___sched_yield
38718 choke me
38719 #endif
38720
38721 int
38722 main ()
38723 {
38724 return sched_yield ();
38725 ;
38726 return 0;
38727 }
38728 _ACEOF
38729 rm -f conftest.$ac_objext conftest$ac_exeext
38730 if { (ac_try="$ac_link"
38731 case "(($ac_try" in
38732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38733 *) ac_try_echo=$ac_try;;
38734 esac
38735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38736 (eval "$ac_link") 2>conftest.er1
38737 ac_status=$?
38738 grep -v '^ *+' conftest.er1 >conftest.err
38739 rm -f conftest.er1
38740 cat conftest.err >&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); } && {
38743 test -z "$ac_c_werror_flag" ||
38744 test ! -s conftest.err
38745 } && test -s conftest$ac_exeext &&
38746 $as_test_x conftest$ac_exeext; then
38747 ac_cv_func_sched_yield=yes
38748 else
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38751
38752 ac_cv_func_sched_yield=no
38753 fi
38754
38755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38756 conftest$ac_exeext conftest.$ac_ext
38757 fi
38758 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38759 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38760 if test $ac_cv_func_sched_yield = yes; then
38761 cat >>confdefs.h <<\_ACEOF
38762 #define HAVE_SCHED_YIELD 1
38763 _ACEOF
38764
38765 else
38766
38767 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38768 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38769 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38771 else
38772 ac_check_lib_save_LIBS=$LIBS
38773 LIBS="-lposix4 $LIBS"
38774 cat >conftest.$ac_ext <<_ACEOF
38775 /* confdefs.h. */
38776 _ACEOF
38777 cat confdefs.h >>conftest.$ac_ext
38778 cat >>conftest.$ac_ext <<_ACEOF
38779 /* end confdefs.h. */
38780
38781 /* Override any GCC internal prototype to avoid an error.
38782 Use char because int might match the return type of a GCC
38783 builtin and then its argument prototype would still apply. */
38784 #ifdef __cplusplus
38785 extern "C"
38786 #endif
38787 char sched_yield ();
38788 int
38789 main ()
38790 {
38791 return sched_yield ();
38792 ;
38793 return 0;
38794 }
38795 _ACEOF
38796 rm -f conftest.$ac_objext conftest$ac_exeext
38797 if { (ac_try="$ac_link"
38798 case "(($ac_try" in
38799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38800 *) ac_try_echo=$ac_try;;
38801 esac
38802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38803 (eval "$ac_link") 2>conftest.er1
38804 ac_status=$?
38805 grep -v '^ *+' conftest.er1 >conftest.err
38806 rm -f conftest.er1
38807 cat conftest.err >&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); } && {
38810 test -z "$ac_c_werror_flag" ||
38811 test ! -s conftest.err
38812 } && test -s conftest$ac_exeext &&
38813 $as_test_x conftest$ac_exeext; then
38814 ac_cv_lib_posix4_sched_yield=yes
38815 else
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38818
38819 ac_cv_lib_posix4_sched_yield=no
38820 fi
38821
38822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38823 conftest$ac_exeext conftest.$ac_ext
38824 LIBS=$ac_check_lib_save_LIBS
38825 fi
38826 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38827 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38828 if test $ac_cv_lib_posix4_sched_yield = yes; then
38829 cat >>confdefs.h <<\_ACEOF
38830 #define HAVE_SCHED_YIELD 1
38831 _ACEOF
38832 POSIX4_LINK=" -lposix4"
38833 else
38834 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38835 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38836
38837 fi
38838
38839
38840
38841 fi
38842
38843 fi
38844
38845 HAVE_PRIOR_FUNCS=0
38846 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38847 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38848 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38849 echo $ECHO_N "(cached) $ECHO_C" >&6
38850 else
38851 cat >conftest.$ac_ext <<_ACEOF
38852 /* confdefs.h. */
38853 _ACEOF
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38859 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38860
38861 /* System header to define __stub macros and hopefully few prototypes,
38862 which can conflict with char pthread_attr_getschedpolicy (); below.
38863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38864 <limits.h> exists even on freestanding compilers. */
38865
38866 #ifdef __STDC__
38867 # include <limits.h>
38868 #else
38869 # include <assert.h>
38870 #endif
38871
38872 #undef pthread_attr_getschedpolicy
38873
38874 /* Override any GCC internal prototype to avoid an error.
38875 Use char because int might match the return type of a GCC
38876 builtin and then its argument prototype would still apply. */
38877 #ifdef __cplusplus
38878 extern "C"
38879 #endif
38880 char pthread_attr_getschedpolicy ();
38881 /* The GNU C library defines this for functions which it implements
38882 to always fail with ENOSYS. Some functions are actually named
38883 something starting with __ and the normal name is an alias. */
38884 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38885 choke me
38886 #endif
38887
38888 int
38889 main ()
38890 {
38891 return pthread_attr_getschedpolicy ();
38892 ;
38893 return 0;
38894 }
38895 _ACEOF
38896 rm -f conftest.$ac_objext conftest$ac_exeext
38897 if { (ac_try="$ac_link"
38898 case "(($ac_try" in
38899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38900 *) ac_try_echo=$ac_try;;
38901 esac
38902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38903 (eval "$ac_link") 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } && {
38910 test -z "$ac_c_werror_flag" ||
38911 test ! -s conftest.err
38912 } && test -s conftest$ac_exeext &&
38913 $as_test_x conftest$ac_exeext; then
38914 ac_cv_func_pthread_attr_getschedpolicy=yes
38915 else
38916 echo "$as_me: failed program was:" >&5
38917 sed 's/^/| /' conftest.$ac_ext >&5
38918
38919 ac_cv_func_pthread_attr_getschedpolicy=no
38920 fi
38921
38922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38923 conftest$ac_exeext conftest.$ac_ext
38924 fi
38925 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38926 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38927 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38928 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38929 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38930 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38932 else
38933 cat >conftest.$ac_ext <<_ACEOF
38934 /* confdefs.h. */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38941 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38942
38943 /* System header to define __stub macros and hopefully few prototypes,
38944 which can conflict with char pthread_attr_setschedparam (); below.
38945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38946 <limits.h> exists even on freestanding compilers. */
38947
38948 #ifdef __STDC__
38949 # include <limits.h>
38950 #else
38951 # include <assert.h>
38952 #endif
38953
38954 #undef pthread_attr_setschedparam
38955
38956 /* Override any GCC internal prototype to avoid an error.
38957 Use char because int might match the return type of a GCC
38958 builtin and then its argument prototype would still apply. */
38959 #ifdef __cplusplus
38960 extern "C"
38961 #endif
38962 char pthread_attr_setschedparam ();
38963 /* The GNU C library defines this for functions which it implements
38964 to always fail with ENOSYS. Some functions are actually named
38965 something starting with __ and the normal name is an alias. */
38966 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38967 choke me
38968 #endif
38969
38970 int
38971 main ()
38972 {
38973 return pthread_attr_setschedparam ();
38974 ;
38975 return 0;
38976 }
38977 _ACEOF
38978 rm -f conftest.$ac_objext conftest$ac_exeext
38979 if { (ac_try="$ac_link"
38980 case "(($ac_try" in
38981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38982 *) ac_try_echo=$ac_try;;
38983 esac
38984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38985 (eval "$ac_link") 2>conftest.er1
38986 ac_status=$?
38987 grep -v '^ *+' conftest.er1 >conftest.err
38988 rm -f conftest.er1
38989 cat conftest.err >&5
38990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 (exit $ac_status); } && {
38992 test -z "$ac_c_werror_flag" ||
38993 test ! -s conftest.err
38994 } && test -s conftest$ac_exeext &&
38995 $as_test_x conftest$ac_exeext; then
38996 ac_cv_func_pthread_attr_setschedparam=yes
38997 else
38998 echo "$as_me: failed program was:" >&5
38999 sed 's/^/| /' conftest.$ac_ext >&5
39000
39001 ac_cv_func_pthread_attr_setschedparam=no
39002 fi
39003
39004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39005 conftest$ac_exeext conftest.$ac_ext
39006 fi
39007 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39008 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39009 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39010 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39011 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39012 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39013 echo $ECHO_N "(cached) $ECHO_C" >&6
39014 else
39015 cat >conftest.$ac_ext <<_ACEOF
39016 /* confdefs.h. */
39017 _ACEOF
39018 cat confdefs.h >>conftest.$ac_ext
39019 cat >>conftest.$ac_ext <<_ACEOF
39020 /* end confdefs.h. */
39021 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39023 #define sched_get_priority_max innocuous_sched_get_priority_max
39024
39025 /* System header to define __stub macros and hopefully few prototypes,
39026 which can conflict with char sched_get_priority_max (); below.
39027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39028 <limits.h> exists even on freestanding compilers. */
39029
39030 #ifdef __STDC__
39031 # include <limits.h>
39032 #else
39033 # include <assert.h>
39034 #endif
39035
39036 #undef sched_get_priority_max
39037
39038 /* Override any GCC internal prototype to avoid an error.
39039 Use char because int might match the return type of a GCC
39040 builtin and then its argument prototype would still apply. */
39041 #ifdef __cplusplus
39042 extern "C"
39043 #endif
39044 char sched_get_priority_max ();
39045 /* The GNU C library defines this for functions which it implements
39046 to always fail with ENOSYS. Some functions are actually named
39047 something starting with __ and the normal name is an alias. */
39048 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39049 choke me
39050 #endif
39051
39052 int
39053 main ()
39054 {
39055 return sched_get_priority_max ();
39056 ;
39057 return 0;
39058 }
39059 _ACEOF
39060 rm -f conftest.$ac_objext conftest$ac_exeext
39061 if { (ac_try="$ac_link"
39062 case "(($ac_try" in
39063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39064 *) ac_try_echo=$ac_try;;
39065 esac
39066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39067 (eval "$ac_link") 2>conftest.er1
39068 ac_status=$?
39069 grep -v '^ *+' conftest.er1 >conftest.err
39070 rm -f conftest.er1
39071 cat conftest.err >&5
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); } && {
39074 test -z "$ac_c_werror_flag" ||
39075 test ! -s conftest.err
39076 } && test -s conftest$ac_exeext &&
39077 $as_test_x conftest$ac_exeext; then
39078 ac_cv_func_sched_get_priority_max=yes
39079 else
39080 echo "$as_me: failed program was:" >&5
39081 sed 's/^/| /' conftest.$ac_ext >&5
39082
39083 ac_cv_func_sched_get_priority_max=no
39084 fi
39085
39086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39087 conftest$ac_exeext conftest.$ac_ext
39088 fi
39089 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39090 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39091 if test $ac_cv_func_sched_get_priority_max = yes; then
39092 HAVE_PRIOR_FUNCS=1
39093 else
39094 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39095 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39096 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 else
39099 ac_check_lib_save_LIBS=$LIBS
39100 LIBS="-lposix4 $LIBS"
39101 cat >conftest.$ac_ext <<_ACEOF
39102 /* confdefs.h. */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107
39108 /* Override any GCC internal prototype to avoid an error.
39109 Use char because int might match the return type of a GCC
39110 builtin and then its argument prototype would still apply. */
39111 #ifdef __cplusplus
39112 extern "C"
39113 #endif
39114 char sched_get_priority_max ();
39115 int
39116 main ()
39117 {
39118 return sched_get_priority_max ();
39119 ;
39120 return 0;
39121 }
39122 _ACEOF
39123 rm -f conftest.$ac_objext conftest$ac_exeext
39124 if { (ac_try="$ac_link"
39125 case "(($ac_try" in
39126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39127 *) ac_try_echo=$ac_try;;
39128 esac
39129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39130 (eval "$ac_link") 2>conftest.er1
39131 ac_status=$?
39132 grep -v '^ *+' conftest.er1 >conftest.err
39133 rm -f conftest.er1
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } && {
39137 test -z "$ac_c_werror_flag" ||
39138 test ! -s conftest.err
39139 } && test -s conftest$ac_exeext &&
39140 $as_test_x conftest$ac_exeext; then
39141 ac_cv_lib_posix4_sched_get_priority_max=yes
39142 else
39143 echo "$as_me: failed program was:" >&5
39144 sed 's/^/| /' conftest.$ac_ext >&5
39145
39146 ac_cv_lib_posix4_sched_get_priority_max=no
39147 fi
39148
39149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39150 conftest$ac_exeext conftest.$ac_ext
39151 LIBS=$ac_check_lib_save_LIBS
39152 fi
39153 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39154 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39155 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39156
39157 HAVE_PRIOR_FUNCS=1
39158 POSIX4_LINK=" -lposix4"
39159
39160 fi
39161
39162
39163 fi
39164
39165
39166 fi
39167
39168
39169 fi
39170
39171
39172 if test "$HAVE_PRIOR_FUNCS" = 1; then
39173 cat >>confdefs.h <<\_ACEOF
39174 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39175 _ACEOF
39176
39177 else
39178 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39179 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39180 fi
39181
39182 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39183 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39184 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 else
39187 cat >conftest.$ac_ext <<_ACEOF
39188 /* confdefs.h. */
39189 _ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39195 #define pthread_cancel innocuous_pthread_cancel
39196
39197 /* System header to define __stub macros and hopefully few prototypes,
39198 which can conflict with char pthread_cancel (); below.
39199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39200 <limits.h> exists even on freestanding compilers. */
39201
39202 #ifdef __STDC__
39203 # include <limits.h>
39204 #else
39205 # include <assert.h>
39206 #endif
39207
39208 #undef pthread_cancel
39209
39210 /* Override any GCC internal prototype to avoid an error.
39211 Use char because int might match the return type of a GCC
39212 builtin and then its argument prototype would still apply. */
39213 #ifdef __cplusplus
39214 extern "C"
39215 #endif
39216 char pthread_cancel ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39221 choke me
39222 #endif
39223
39224 int
39225 main ()
39226 {
39227 return pthread_cancel ();
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39237 esac
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_func_pthread_cancel=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 ac_cv_func_pthread_cancel=no
39256 fi
39257
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39260 fi
39261 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39262 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39263 if test $ac_cv_func_pthread_cancel = yes; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define HAVE_PTHREAD_CANCEL 1
39266 _ACEOF
39267
39268 else
39269 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39270 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39271 fi
39272
39273
39274 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39275 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39276 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39277 echo $ECHO_N "(cached) $ECHO_C" >&6
39278 else
39279 cat >conftest.$ac_ext <<_ACEOF
39280 /* confdefs.h. */
39281 _ACEOF
39282 cat confdefs.h >>conftest.$ac_ext
39283 cat >>conftest.$ac_ext <<_ACEOF
39284 /* end confdefs.h. */
39285 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39287 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39288
39289 /* System header to define __stub macros and hopefully few prototypes,
39290 which can conflict with char pthread_mutex_timedlock (); below.
39291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39292 <limits.h> exists even on freestanding compilers. */
39293
39294 #ifdef __STDC__
39295 # include <limits.h>
39296 #else
39297 # include <assert.h>
39298 #endif
39299
39300 #undef pthread_mutex_timedlock
39301
39302 /* Override any GCC internal prototype to avoid an error.
39303 Use char because int might match the return type of a GCC
39304 builtin and then its argument prototype would still apply. */
39305 #ifdef __cplusplus
39306 extern "C"
39307 #endif
39308 char pthread_mutex_timedlock ();
39309 /* The GNU C library defines this for functions which it implements
39310 to always fail with ENOSYS. Some functions are actually named
39311 something starting with __ and the normal name is an alias. */
39312 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39313 choke me
39314 #endif
39315
39316 int
39317 main ()
39318 {
39319 return pthread_mutex_timedlock ();
39320 ;
39321 return 0;
39322 }
39323 _ACEOF
39324 rm -f conftest.$ac_objext conftest$ac_exeext
39325 if { (ac_try="$ac_link"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39328 *) ac_try_echo=$ac_try;;
39329 esac
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_link") 2>conftest.er1
39332 ac_status=$?
39333 grep -v '^ *+' conftest.er1 >conftest.err
39334 rm -f conftest.er1
39335 cat conftest.err >&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest$ac_exeext &&
39341 $as_test_x conftest$ac_exeext; then
39342 ac_cv_func_pthread_mutex_timedlock=yes
39343 else
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39346
39347 ac_cv_func_pthread_mutex_timedlock=no
39348 fi
39349
39350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39351 conftest$ac_exeext conftest.$ac_ext
39352 fi
39353 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39354 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39355 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39356 cat >>confdefs.h <<\_ACEOF
39357 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39358 _ACEOF
39359
39360 else
39361 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39362 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39363 fi
39364
39365
39366 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39367 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39368 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 else
39371 cat >conftest.$ac_ext <<_ACEOF
39372 /* confdefs.h. */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39380
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char pthread_attr_setstacksize (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39385
39386 #ifdef __STDC__
39387 # include <limits.h>
39388 #else
39389 # include <assert.h>
39390 #endif
39391
39392 #undef pthread_attr_setstacksize
39393
39394 /* Override any GCC internal prototype to avoid an error.
39395 Use char because int might match the return type of a GCC
39396 builtin and then its argument prototype would still apply. */
39397 #ifdef __cplusplus
39398 extern "C"
39399 #endif
39400 char pthread_attr_setstacksize ();
39401 /* The GNU C library defines this for functions which it implements
39402 to always fail with ENOSYS. Some functions are actually named
39403 something starting with __ and the normal name is an alias. */
39404 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39405 choke me
39406 #endif
39407
39408 int
39409 main ()
39410 {
39411 return pthread_attr_setstacksize ();
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 rm -f conftest.$ac_objext conftest$ac_exeext
39417 if { (ac_try="$ac_link"
39418 case "(($ac_try" in
39419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39421 esac
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_link") 2>conftest.er1
39424 ac_status=$?
39425 grep -v '^ *+' conftest.er1 >conftest.err
39426 rm -f conftest.er1
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest$ac_exeext &&
39433 $as_test_x conftest$ac_exeext; then
39434 ac_cv_func_pthread_attr_setstacksize=yes
39435 else
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39438
39439 ac_cv_func_pthread_attr_setstacksize=no
39440 fi
39441
39442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39443 conftest$ac_exeext conftest.$ac_ext
39444 fi
39445 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39446 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39447 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39448 cat >>confdefs.h <<\_ACEOF
39449 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39450 _ACEOF
39451
39452 fi
39453
39454
39455
39456 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39457 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39458 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39460 else
39461
39462 cat >conftest.$ac_ext <<_ACEOF
39463 /* confdefs.h. */
39464 _ACEOF
39465 cat confdefs.h >>conftest.$ac_ext
39466 cat >>conftest.$ac_ext <<_ACEOF
39467 /* end confdefs.h. */
39468 #include <pthread.h>
39469 int
39470 main ()
39471 {
39472
39473 pthread_mutexattr_t attr;
39474 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39475
39476 ;
39477 return 0;
39478 }
39479 _ACEOF
39480 rm -f conftest.$ac_objext
39481 if { (ac_try="$ac_compile"
39482 case "(($ac_try" in
39483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39484 *) ac_try_echo=$ac_try;;
39485 esac
39486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39487 (eval "$ac_compile") 2>conftest.er1
39488 ac_status=$?
39489 grep -v '^ *+' conftest.er1 >conftest.err
39490 rm -f conftest.er1
39491 cat conftest.err >&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); } && {
39494 test -z "$ac_c_werror_flag" ||
39495 test ! -s conftest.err
39496 } && test -s conftest.$ac_objext; then
39497 wx_cv_type_pthread_mutexattr_t=yes
39498 else
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.$ac_ext >&5
39501
39502 wx_cv_type_pthread_mutexattr_t=no
39503
39504 fi
39505
39506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39507
39508 fi
39509 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39510 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39511
39512 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39513 cat >>confdefs.h <<\_ACEOF
39514 #define HAVE_PTHREAD_MUTEXATTR_T 1
39515 _ACEOF
39516
39517
39518 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39519 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39520 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 else
39523
39524 cat >conftest.$ac_ext <<_ACEOF
39525 /* confdefs.h. */
39526 _ACEOF
39527 cat confdefs.h >>conftest.$ac_ext
39528 cat >>conftest.$ac_ext <<_ACEOF
39529 /* end confdefs.h. */
39530 #include <pthread.h>
39531 int
39532 main ()
39533 {
39534
39535 pthread_mutexattr_t attr;
39536 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39537
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 rm -f conftest.$ac_objext
39543 if { (ac_try="$ac_compile"
39544 case "(($ac_try" in
39545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39547 esac
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_compile") 2>conftest.er1
39550 ac_status=$?
39551 grep -v '^ *+' conftest.er1 >conftest.err
39552 rm -f conftest.er1
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest.$ac_objext; then
39559 wx_cv_func_pthread_mutexattr_settype_decl=yes
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564 wx_cv_func_pthread_mutexattr_settype_decl=no
39565
39566 fi
39567
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569
39570 fi
39571 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39572 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39573 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39576 _ACEOF
39577
39578 fi
39579 else
39580 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39581 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39582 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 else
39585
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39593 int
39594 main ()
39595 {
39596
39597 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39598
39599 ;
39600 return 0;
39601 }
39602 _ACEOF
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39608 esac
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest.$ac_objext; then
39620
39621 wx_cv_type_pthread_rec_mutex_init=yes
39622
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39626
39627
39628 wx_cv_type_pthread_rec_mutex_init=no
39629
39630
39631 fi
39632
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634
39635 fi
39636 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39637 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39638 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39639 cat >>confdefs.h <<\_ACEOF
39640 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39641 _ACEOF
39642
39643 else
39644 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39645 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39646 fi
39647 fi
39648 fi
39649
39650 else
39651 if test "$wxUSE_THREADS" = "yes" ; then
39652 case "${host}" in
39653 *-*-mingw32* )
39654 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39655 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39656 if test "${wx_cv_cflags_mthread+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39659
39660 CFLAGS_OLD="$CFLAGS"
39661 CFLAGS="-mthreads $CFLAGS"
39662 cat >conftest.$ac_ext <<_ACEOF
39663 /* confdefs.h. */
39664 _ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668
39669 int
39670 main ()
39671 {
39672
39673 ;
39674 return 0;
39675 }
39676 _ACEOF
39677 rm -f conftest.$ac_objext
39678 if { (ac_try="$ac_compile"
39679 case "(($ac_try" in
39680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39681 *) ac_try_echo=$ac_try;;
39682 esac
39683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39684 (eval "$ac_compile") 2>conftest.er1
39685 ac_status=$?
39686 grep -v '^ *+' conftest.er1 >conftest.err
39687 rm -f conftest.er1
39688 cat conftest.err >&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); } && {
39691 test -z "$ac_c_werror_flag" ||
39692 test ! -s conftest.err
39693 } && test -s conftest.$ac_objext; then
39694 wx_cv_cflags_mthread=yes
39695 else
39696 echo "$as_me: failed program was:" >&5
39697 sed 's/^/| /' conftest.$ac_ext >&5
39698
39699 wx_cv_cflags_mthread=no
39700
39701 fi
39702
39703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704
39705
39706 fi
39707 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39708 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39709
39710 if test "$wx_cv_cflags_mthread" = "yes"; then
39711 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39712 LDFLAGS="$LDFLAGS -mthreads"
39713 else
39714 CFLAGS="$CFLAGS_OLD"
39715 fi
39716 ;;
39717 *-pc-os2*emx )
39718 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39719 LDFLAGS="$LDFLAGS -Zmt"
39720 ;;
39721 esac
39722 fi
39723 fi
39724
39725 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39726 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39727 if test "${ac_cv_func_localtime_r+set}" = set; then
39728 echo $ECHO_N "(cached) $ECHO_C" >&6
39729 else
39730 cat >conftest.$ac_ext <<_ACEOF
39731 /* confdefs.h. */
39732 _ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39736 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39738 #define localtime_r innocuous_localtime_r
39739
39740 /* System header to define __stub macros and hopefully few prototypes,
39741 which can conflict with char localtime_r (); below.
39742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39743 <limits.h> exists even on freestanding compilers. */
39744
39745 #ifdef __STDC__
39746 # include <limits.h>
39747 #else
39748 # include <assert.h>
39749 #endif
39750
39751 #undef localtime_r
39752
39753 /* Override any GCC internal prototype to avoid an error.
39754 Use char because int might match the return type of a GCC
39755 builtin and then its argument prototype would still apply. */
39756 #ifdef __cplusplus
39757 extern "C"
39758 #endif
39759 char localtime_r ();
39760 /* The GNU C library defines this for functions which it implements
39761 to always fail with ENOSYS. Some functions are actually named
39762 something starting with __ and the normal name is an alias. */
39763 #if defined __stub_localtime_r || defined __stub___localtime_r
39764 choke me
39765 #endif
39766
39767 int
39768 main ()
39769 {
39770 return localtime_r ();
39771 ;
39772 return 0;
39773 }
39774 _ACEOF
39775 rm -f conftest.$ac_objext conftest$ac_exeext
39776 if { (ac_try="$ac_link"
39777 case "(($ac_try" in
39778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39779 *) ac_try_echo=$ac_try;;
39780 esac
39781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 (eval "$ac_link") 2>conftest.er1
39783 ac_status=$?
39784 grep -v '^ *+' conftest.er1 >conftest.err
39785 rm -f conftest.er1
39786 cat conftest.err >&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); } && {
39789 test -z "$ac_c_werror_flag" ||
39790 test ! -s conftest.err
39791 } && test -s conftest$ac_exeext &&
39792 $as_test_x conftest$ac_exeext; then
39793 ac_cv_func_localtime_r=yes
39794 else
39795 echo "$as_me: failed program was:" >&5
39796 sed 's/^/| /' conftest.$ac_ext >&5
39797
39798 ac_cv_func_localtime_r=no
39799 fi
39800
39801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39802 conftest$ac_exeext conftest.$ac_ext
39803 fi
39804 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39805 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39806 if test $ac_cv_func_localtime_r = yes; then
39807 cat >>confdefs.h <<\_ACEOF
39808 #define HAVE_LOCALTIME_R 1
39809 _ACEOF
39810
39811 fi
39812
39813 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39814 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39815 if test "${ac_cv_func_gmtime_r+set}" = set; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39817 else
39818 cat >conftest.$ac_ext <<_ACEOF
39819 /* confdefs.h. */
39820 _ACEOF
39821 cat confdefs.h >>conftest.$ac_ext
39822 cat >>conftest.$ac_ext <<_ACEOF
39823 /* end confdefs.h. */
39824 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39826 #define gmtime_r innocuous_gmtime_r
39827
39828 /* System header to define __stub macros and hopefully few prototypes,
39829 which can conflict with char gmtime_r (); below.
39830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39831 <limits.h> exists even on freestanding compilers. */
39832
39833 #ifdef __STDC__
39834 # include <limits.h>
39835 #else
39836 # include <assert.h>
39837 #endif
39838
39839 #undef gmtime_r
39840
39841 /* Override any GCC internal prototype to avoid an error.
39842 Use char because int might match the return type of a GCC
39843 builtin and then its argument prototype would still apply. */
39844 #ifdef __cplusplus
39845 extern "C"
39846 #endif
39847 char gmtime_r ();
39848 /* The GNU C library defines this for functions which it implements
39849 to always fail with ENOSYS. Some functions are actually named
39850 something starting with __ and the normal name is an alias. */
39851 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39852 choke me
39853 #endif
39854
39855 int
39856 main ()
39857 {
39858 return gmtime_r ();
39859 ;
39860 return 0;
39861 }
39862 _ACEOF
39863 rm -f conftest.$ac_objext conftest$ac_exeext
39864 if { (ac_try="$ac_link"
39865 case "(($ac_try" in
39866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39867 *) ac_try_echo=$ac_try;;
39868 esac
39869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39870 (eval "$ac_link") 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } && {
39877 test -z "$ac_c_werror_flag" ||
39878 test ! -s conftest.err
39879 } && test -s conftest$ac_exeext &&
39880 $as_test_x conftest$ac_exeext; then
39881 ac_cv_func_gmtime_r=yes
39882 else
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39885
39886 ac_cv_func_gmtime_r=no
39887 fi
39888
39889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39890 conftest$ac_exeext conftest.$ac_ext
39891 fi
39892 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39893 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39894 if test $ac_cv_func_gmtime_r = yes; then
39895 cat >>confdefs.h <<\_ACEOF
39896 #define HAVE_GMTIME_R 1
39897 _ACEOF
39898
39899 fi
39900
39901
39902
39903
39904 ac_ext=c
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39909
39910 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39911 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39912
39913 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 else
39916
39917
39918 ################################################################
39919
39920 ac_cv_func_which_gethostbyname_r=unknown
39921
39922 #
39923 # ONE ARGUMENT (sanity check)
39924 #
39925
39926 # This should fail, as there is no variant of gethostbyname_r() that takes
39927 # a single argument. If it actually compiles, then we can assume that
39928 # netdb.h is not declaring the function, and the compiler is thereby
39929 # assuming an implicit prototype. In which case, we're out of luck.
39930 #
39931 cat >conftest.$ac_ext <<_ACEOF
39932 /* confdefs.h. */
39933 _ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h. */
39937 #include <netdb.h>
39938 int
39939 main ()
39940 {
39941
39942 char *name = "www.gnu.org";
39943 (void)gethostbyname_r(name) /* ; */
39944
39945 ;
39946 return 0;
39947 }
39948 _ACEOF
39949 rm -f conftest.$ac_objext
39950 if { (ac_try="$ac_compile"
39951 case "(($ac_try" in
39952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39953 *) ac_try_echo=$ac_try;;
39954 esac
39955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39956 (eval "$ac_compile") 2>conftest.er1
39957 ac_status=$?
39958 grep -v '^ *+' conftest.er1 >conftest.err
39959 rm -f conftest.er1
39960 cat conftest.err >&5
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); } && {
39963 test -z "$ac_c_werror_flag" ||
39964 test ! -s conftest.err
39965 } && test -s conftest.$ac_objext; then
39966 ac_cv_func_which_gethostbyname_r=no
39967 else
39968 echo "$as_me: failed program was:" >&5
39969 sed 's/^/| /' conftest.$ac_ext >&5
39970
39971
39972 fi
39973
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975
39976 #
39977 # SIX ARGUMENTS
39978 # (e.g. Linux)
39979 #
39980
39981 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39982
39983 cat >conftest.$ac_ext <<_ACEOF
39984 /* confdefs.h. */
39985 _ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39989 #include <netdb.h>
39990 int
39991 main ()
39992 {
39993
39994 char *name = "www.gnu.org";
39995 struct hostent ret, *retp;
39996 char buf[1024];
39997 int buflen = 1024;
39998 int my_h_errno;
39999 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40000
40001 ;
40002 return 0;
40003 }
40004 _ACEOF
40005 rm -f conftest.$ac_objext
40006 if { (ac_try="$ac_compile"
40007 case "(($ac_try" in
40008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40009 *) ac_try_echo=$ac_try;;
40010 esac
40011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40012 (eval "$ac_compile") 2>conftest.er1
40013 ac_status=$?
40014 grep -v '^ *+' conftest.er1 >conftest.err
40015 rm -f conftest.er1
40016 cat conftest.err >&5
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); } && {
40019 test -z "$ac_c_werror_flag" ||
40020 test ! -s conftest.err
40021 } && test -s conftest.$ac_objext; then
40022 ac_cv_func_which_gethostbyname_r=six
40023 else
40024 echo "$as_me: failed program was:" >&5
40025 sed 's/^/| /' conftest.$ac_ext >&5
40026
40027
40028 fi
40029
40030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40031
40032 fi
40033
40034 #
40035 # FIVE ARGUMENTS
40036 # (e.g. Solaris)
40037 #
40038
40039 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40040
40041 cat >conftest.$ac_ext <<_ACEOF
40042 /* confdefs.h. */
40043 _ACEOF
40044 cat confdefs.h >>conftest.$ac_ext
40045 cat >>conftest.$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40047 #include <netdb.h>
40048 int
40049 main ()
40050 {
40051
40052 char *name = "www.gnu.org";
40053 struct hostent ret;
40054 char buf[1024];
40055 int buflen = 1024;
40056 int my_h_errno;
40057 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40058
40059 ;
40060 return 0;
40061 }
40062 _ACEOF
40063 rm -f conftest.$ac_objext
40064 if { (ac_try="$ac_compile"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40068 esac
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_compile") 2>conftest.er1
40071 ac_status=$?
40072 grep -v '^ *+' conftest.er1 >conftest.err
40073 rm -f conftest.er1
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest.$ac_objext; then
40080 ac_cv_func_which_gethostbyname_r=five
40081 else
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40084
40085
40086 fi
40087
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089
40090 fi
40091
40092 #
40093 # THREE ARGUMENTS
40094 # (e.g. AIX, HP-UX, Tru64)
40095 #
40096
40097 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40098
40099 cat >conftest.$ac_ext <<_ACEOF
40100 /* confdefs.h. */
40101 _ACEOF
40102 cat confdefs.h >>conftest.$ac_ext
40103 cat >>conftest.$ac_ext <<_ACEOF
40104 /* end confdefs.h. */
40105 #include <netdb.h>
40106 int
40107 main ()
40108 {
40109
40110 char *name = "www.gnu.org";
40111 struct hostent ret;
40112 struct hostent_data data;
40113 (void)gethostbyname_r(name, &ret, &data) /* ; */
40114
40115 ;
40116 return 0;
40117 }
40118 _ACEOF
40119 rm -f conftest.$ac_objext
40120 if { (ac_try="$ac_compile"
40121 case "(($ac_try" in
40122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40124 esac
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_compile") 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } && {
40133 test -z "$ac_c_werror_flag" ||
40134 test ! -s conftest.err
40135 } && test -s conftest.$ac_objext; then
40136 ac_cv_func_which_gethostbyname_r=three
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141
40142 fi
40143
40144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40145
40146 fi
40147
40148 ################################################################
40149
40150
40151 fi
40152
40153 case "$ac_cv_func_which_gethostbyname_r" in
40154 three)
40155 { echo "$as_me:$LINENO: result: three" >&5
40156 echo "${ECHO_T}three" >&6; }
40157 cat >>confdefs.h <<\_ACEOF
40158 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40159 _ACEOF
40160
40161 ;;
40162
40163 five)
40164 { echo "$as_me:$LINENO: result: five" >&5
40165 echo "${ECHO_T}five" >&6; }
40166 cat >>confdefs.h <<\_ACEOF
40167 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40168 _ACEOF
40169
40170 ;;
40171
40172 six)
40173 { echo "$as_me:$LINENO: result: six" >&5
40174 echo "${ECHO_T}six" >&6; }
40175 cat >>confdefs.h <<\_ACEOF
40176 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40177 _ACEOF
40178
40179 ;;
40180
40181 no)
40182 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40183 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40184 ;;
40185
40186 unknown)
40187 { echo "$as_me:$LINENO: result: can't tell" >&5
40188 echo "${ECHO_T}can't tell" >&6; }
40189 ;;
40190
40191 *)
40192 { { echo "$as_me:$LINENO: error: internal error" >&5
40193 echo "$as_me: error: internal error" >&2;}
40194 { (exit 1); exit 1; }; }
40195 ;;
40196 esac
40197
40198 ac_ext=c
40199 ac_cpp='$CPP $CPPFLAGS'
40200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40203
40204
40205
40206 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40207 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40208 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40209 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40210 if test "${ac_cv_func_gethostbyname+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40212 else
40213 cat >conftest.$ac_ext <<_ACEOF
40214 /* confdefs.h. */
40215 _ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40221 #define gethostbyname innocuous_gethostbyname
40222
40223 /* System header to define __stub macros and hopefully few prototypes,
40224 which can conflict with char gethostbyname (); below.
40225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226 <limits.h> exists even on freestanding compilers. */
40227
40228 #ifdef __STDC__
40229 # include <limits.h>
40230 #else
40231 # include <assert.h>
40232 #endif
40233
40234 #undef gethostbyname
40235
40236 /* Override any GCC internal prototype to avoid an error.
40237 Use char because int might match the return type of a GCC
40238 builtin and then its argument prototype would still apply. */
40239 #ifdef __cplusplus
40240 extern "C"
40241 #endif
40242 char gethostbyname ();
40243 /* The GNU C library defines this for functions which it implements
40244 to always fail with ENOSYS. Some functions are actually named
40245 something starting with __ and the normal name is an alias. */
40246 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40247 choke me
40248 #endif
40249
40250 int
40251 main ()
40252 {
40253 return gethostbyname ();
40254 ;
40255 return 0;
40256 }
40257 _ACEOF
40258 rm -f conftest.$ac_objext conftest$ac_exeext
40259 if { (ac_try="$ac_link"
40260 case "(($ac_try" in
40261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40262 *) ac_try_echo=$ac_try;;
40263 esac
40264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40265 (eval "$ac_link") 2>conftest.er1
40266 ac_status=$?
40267 grep -v '^ *+' conftest.er1 >conftest.err
40268 rm -f conftest.er1
40269 cat conftest.err >&5
40270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40271 (exit $ac_status); } && {
40272 test -z "$ac_c_werror_flag" ||
40273 test ! -s conftest.err
40274 } && test -s conftest$ac_exeext &&
40275 $as_test_x conftest$ac_exeext; then
40276 ac_cv_func_gethostbyname=yes
40277 else
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40280
40281 ac_cv_func_gethostbyname=no
40282 fi
40283
40284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40285 conftest$ac_exeext conftest.$ac_ext
40286 fi
40287 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40288 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40289 if test $ac_cv_func_gethostbyname = yes; then
40290 cat >>confdefs.h <<\_ACEOF
40291 #define HAVE_GETHOSTBYNAME 1
40292 _ACEOF
40293
40294 fi
40295
40296 fi
40297
40298 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40299 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40300 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40301 echo $ECHO_N "(cached) $ECHO_C" >&6
40302 else
40303
40304 ac_ext=cpp
40305 ac_cpp='$CXXCPP $CPPFLAGS'
40306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40309
40310
40311 cat >conftest.$ac_ext <<_ACEOF
40312 /* confdefs.h. */
40313 _ACEOF
40314 cat confdefs.h >>conftest.$ac_ext
40315 cat >>conftest.$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40317 #include <netdb.h>
40318 int
40319 main ()
40320 {
40321
40322 char *name;
40323 char *proto;
40324 struct servent *se, *res;
40325 char buffer[2048];
40326 int buflen = 2048;
40327 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40328
40329 ;
40330 return 0;
40331 }
40332 _ACEOF
40333 rm -f conftest.$ac_objext
40334 if { (ac_try="$ac_compile"
40335 case "(($ac_try" in
40336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40337 *) ac_try_echo=$ac_try;;
40338 esac
40339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40340 (eval "$ac_compile") 2>conftest.er1
40341 ac_status=$?
40342 grep -v '^ *+' conftest.er1 >conftest.err
40343 rm -f conftest.er1
40344 cat conftest.err >&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); } && {
40347 test -z "$ac_cxx_werror_flag" ||
40348 test ! -s conftest.err
40349 } && test -s conftest.$ac_objext; then
40350 ac_cv_func_which_getservbyname_r=six
40351 else
40352 echo "$as_me: failed program was:" >&5
40353 sed 's/^/| /' conftest.$ac_ext >&5
40354
40355
40356 cat >conftest.$ac_ext <<_ACEOF
40357 /* confdefs.h. */
40358 _ACEOF
40359 cat confdefs.h >>conftest.$ac_ext
40360 cat >>conftest.$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40362 #include <netdb.h>
40363 int
40364 main ()
40365 {
40366
40367 char *name;
40368 char *proto;
40369 struct servent *se;
40370 char buffer[2048];
40371 int buflen = 2048;
40372 (void) getservbyname_r(name, proto, se, buffer, buflen)
40373
40374 ;
40375 return 0;
40376 }
40377 _ACEOF
40378 rm -f conftest.$ac_objext
40379 if { (ac_try="$ac_compile"
40380 case "(($ac_try" in
40381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40382 *) ac_try_echo=$ac_try;;
40383 esac
40384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40385 (eval "$ac_compile") 2>conftest.er1
40386 ac_status=$?
40387 grep -v '^ *+' conftest.er1 >conftest.err
40388 rm -f conftest.er1
40389 cat conftest.err >&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } && {
40392 test -z "$ac_cxx_werror_flag" ||
40393 test ! -s conftest.err
40394 } && test -s conftest.$ac_objext; then
40395 ac_cv_func_which_getservbyname_r=five
40396 else
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.$ac_ext >&5
40399
40400
40401 cat >conftest.$ac_ext <<_ACEOF
40402 /* confdefs.h. */
40403 _ACEOF
40404 cat confdefs.h >>conftest.$ac_ext
40405 cat >>conftest.$ac_ext <<_ACEOF
40406 /* end confdefs.h. */
40407 #include <netdb.h>
40408 int
40409 main ()
40410 {
40411
40412 char *name;
40413 char *proto;
40414 struct servent *se;
40415 struct servent_data data;
40416 (void) getservbyname_r(name, proto, se, &data);
40417
40418 ;
40419 return 0;
40420 }
40421 _ACEOF
40422 rm -f conftest.$ac_objext
40423 if { (ac_try="$ac_compile"
40424 case "(($ac_try" in
40425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40426 *) ac_try_echo=$ac_try;;
40427 esac
40428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40429 (eval "$ac_compile") 2>conftest.er1
40430 ac_status=$?
40431 grep -v '^ *+' conftest.er1 >conftest.err
40432 rm -f conftest.er1
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } && {
40436 test -z "$ac_cxx_werror_flag" ||
40437 test ! -s conftest.err
40438 } && test -s conftest.$ac_objext; then
40439 ac_cv_func_which_getservbyname_r=four
40440 else
40441 echo "$as_me: failed program was:" >&5
40442 sed 's/^/| /' conftest.$ac_ext >&5
40443
40444 ac_cv_func_which_getservbyname_r=no
40445
40446 fi
40447
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449
40450
40451 fi
40452
40453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40454
40455
40456 fi
40457
40458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40459 ac_ext=c
40460 ac_cpp='$CPP $CPPFLAGS'
40461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40464
40465
40466
40467 fi
40468 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40469 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40470
40471 if test $ac_cv_func_which_getservbyname_r = six; then
40472 cat >>confdefs.h <<\_ACEOF
40473 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40474 _ACEOF
40475
40476 elif test $ac_cv_func_which_getservbyname_r = five; then
40477 cat >>confdefs.h <<\_ACEOF
40478 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40479 _ACEOF
40480
40481 elif test $ac_cv_func_which_getservbyname_r = four; then
40482 cat >>confdefs.h <<\_ACEOF
40483 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40484 _ACEOF
40485
40486 fi
40487
40488
40489 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40490 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40491
40492 for ac_func in getservbyname
40493 do
40494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40498 echo $ECHO_N "(cached) $ECHO_C" >&6
40499 else
40500 cat >conftest.$ac_ext <<_ACEOF
40501 /* confdefs.h. */
40502 _ACEOF
40503 cat confdefs.h >>conftest.$ac_ext
40504 cat >>conftest.$ac_ext <<_ACEOF
40505 /* end confdefs.h. */
40506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40508 #define $ac_func innocuous_$ac_func
40509
40510 /* System header to define __stub macros and hopefully few prototypes,
40511 which can conflict with char $ac_func (); below.
40512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40513 <limits.h> exists even on freestanding compilers. */
40514
40515 #ifdef __STDC__
40516 # include <limits.h>
40517 #else
40518 # include <assert.h>
40519 #endif
40520
40521 #undef $ac_func
40522
40523 /* Override any GCC internal prototype to avoid an error.
40524 Use char because int might match the return type of a GCC
40525 builtin and then its argument prototype would still apply. */
40526 #ifdef __cplusplus
40527 extern "C"
40528 #endif
40529 char $ac_func ();
40530 /* The GNU C library defines this for functions which it implements
40531 to always fail with ENOSYS. Some functions are actually named
40532 something starting with __ and the normal name is an alias. */
40533 #if defined __stub_$ac_func || defined __stub___$ac_func
40534 choke me
40535 #endif
40536
40537 int
40538 main ()
40539 {
40540 return $ac_func ();
40541 ;
40542 return 0;
40543 }
40544 _ACEOF
40545 rm -f conftest.$ac_objext conftest$ac_exeext
40546 if { (ac_try="$ac_link"
40547 case "(($ac_try" in
40548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40549 *) ac_try_echo=$ac_try;;
40550 esac
40551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40552 (eval "$ac_link") 2>conftest.er1
40553 ac_status=$?
40554 grep -v '^ *+' conftest.er1 >conftest.err
40555 rm -f conftest.er1
40556 cat conftest.err >&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } && {
40559 test -z "$ac_c_werror_flag" ||
40560 test ! -s conftest.err
40561 } && test -s conftest$ac_exeext &&
40562 $as_test_x conftest$ac_exeext; then
40563 eval "$as_ac_var=yes"
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 eval "$as_ac_var=no"
40569 fi
40570
40571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40572 conftest$ac_exeext conftest.$ac_ext
40573 fi
40574 ac_res=`eval echo '${'$as_ac_var'}'`
40575 { echo "$as_me:$LINENO: result: $ac_res" >&5
40576 echo "${ECHO_T}$ac_res" >&6; }
40577 if test `eval echo '${'$as_ac_var'}'` = yes; then
40578 cat >>confdefs.h <<_ACEOF
40579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40580 _ACEOF
40581 cat >>confdefs.h <<\_ACEOF
40582 #define HAVE_GETSERVBYNAME 1
40583 _ACEOF
40584
40585 fi
40586 done
40587
40588 fi
40589
40590 if test "$wxUSE_THREADS" = "yes"; then
40591 cat >>confdefs.h <<\_ACEOF
40592 #define wxUSE_THREADS 1
40593 _ACEOF
40594
40595
40596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40597 else
40598 if test "$wx_cv_func_strtok_r" = "yes"; then
40599 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40600 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40601 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40602 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40603 { echo "$as_me:$LINENO: result: yes" >&5
40604 echo "${ECHO_T}yes" >&6; }
40605 else
40606 { echo "$as_me:$LINENO: result: no" >&5
40607 echo "${ECHO_T}no" >&6; }
40608 fi
40609 fi
40610 fi
40611
40612 if test "$WXGTK2" = 1 ; then
40613 cat >>confdefs.h <<_ACEOF
40614 #define __WXGTK20__ $WXGTK2
40615 _ACEOF
40616
40617 WXGTK12=1
40618 fi
40619
40620 if test "$WXGTK12" = 1 ; then
40621 cat >>confdefs.h <<_ACEOF
40622 #define __WXGTK12__ $WXGTK12
40623 _ACEOF
40624
40625 fi
40626
40627 if test "$WXGTK127" = 1 ; then
40628 cat >>confdefs.h <<_ACEOF
40629 #define __WXGTK127__ $WXGTK127
40630 _ACEOF
40631
40632 fi
40633
40634 if test "$WXGPE" = 1 ; then
40635 cat >>confdefs.h <<_ACEOF
40636 #define __WXGPE__ $WXGPE
40637 _ACEOF
40638
40639 fi
40640
40641 DEBUG_CFLAGS=
40642 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40643 DEBUG_CFLAGS="-g"
40644 wxUSE_OPTIMISE=no
40645 fi
40646
40647 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40648 wxUSE_DEBUG_INFO=yes
40649 if test "$GCC" = yes; then
40650 DEBUG_CFLAGS="-ggdb"
40651 fi
40652 fi
40653
40654 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40655 cat >>confdefs.h <<\_ACEOF
40656 #define WXDEBUG 1
40657 _ACEOF
40658
40659 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40660 else
40661 if test "$wxUSE_GTK" = 1 ; then
40662 if test "x$wxGTK_VERSION" = "x1" ; then
40663 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40664 fi
40665 fi
40666 fi
40667
40668 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40669 cat >>confdefs.h <<\_ACEOF
40670 #define wxUSE_MEMORY_TRACING 1
40671 _ACEOF
40672
40673 cat >>confdefs.h <<\_ACEOF
40674 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40675 _ACEOF
40676
40677 cat >>confdefs.h <<\_ACEOF
40678 #define wxUSE_DEBUG_NEW_ALWAYS 1
40679 _ACEOF
40680
40681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40682 fi
40683
40684 if test "$wxUSE_DMALLOC" = "yes" ; then
40685 DMALLOC_LIBS="-ldmallocthcxx"
40686 fi
40687
40688 PROFILE_FLAGS=
40689 if test "$wxUSE_PROFILE" = "yes" ; then
40690 PROFILE_FLAGS=" -pg"
40691 fi
40692
40693 if test "$GCC" = "yes" ; then
40694 if test "$wxUSE_NO_RTTI" = "yes" ; then
40695 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40696 fi
40697 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40698 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40699 fi
40700 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40701 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40702 fi
40703
40704 case "${host}" in
40705 powerpc*-*-aix* )
40706 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40707 ;;
40708 *-hppa* )
40709 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40710 ;;
40711 esac
40712 fi
40713
40714 OPTIMISE_CFLAGS=
40715 if test "$wxUSE_OPTIMISE" = "no" ; then
40716 if test "$GCC" = yes ; then
40717 OPTIMISE_CFLAGS="-O0"
40718 fi
40719 else
40720 if test "$GCC" = yes ; then
40721 case "${host}" in
40722 *-pc-os2_emx | *-pc-os2-emx )
40723 OPTIMISE_CFLAGS="-O2"
40724 ;;
40725 *)
40726 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40727 ;;
40728 esac
40729 else
40730 OPTIMISE_CFLAGS="-O"
40731 fi
40732 fi
40733
40734
40735 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40736 cat >>confdefs.h <<\_ACEOF
40737 #define WXWIN_COMPATIBILITY_2_6 1
40738 _ACEOF
40739
40740
40741 WXWIN_COMPATIBILITY_2_8="yes"
40742 fi
40743
40744 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40745 cat >>confdefs.h <<\_ACEOF
40746 #define WXWIN_COMPATIBILITY_2_8 1
40747 _ACEOF
40748
40749 fi
40750
40751
40752 if test "$wxUSE_GUI" = "yes"; then
40753 cat >>confdefs.h <<\_ACEOF
40754 #define wxUSE_GUI 1
40755 _ACEOF
40756
40757
40758 fi
40759
40760
40761 if test "$wxUSE_UNIX" = "yes"; then
40762 cat >>confdefs.h <<\_ACEOF
40763 #define wxUSE_UNIX 1
40764 _ACEOF
40765
40766 fi
40767
40768
40769 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40770
40771 HAVE_DL_FUNCS=0
40772 HAVE_SHL_FUNCS=0
40773 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40774 if test "$USE_DARWIN" = 1; then
40775 HAVE_DL_FUNCS=1
40776 elif test "$USE_DOS" = 1; then
40777 HAVE_DL_FUNCS=0
40778 else
40779
40780 for ac_func in dlopen
40781 do
40782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 else
40788 cat >conftest.$ac_ext <<_ACEOF
40789 /* confdefs.h. */
40790 _ACEOF
40791 cat confdefs.h >>conftest.$ac_ext
40792 cat >>conftest.$ac_ext <<_ACEOF
40793 /* end confdefs.h. */
40794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40796 #define $ac_func innocuous_$ac_func
40797
40798 /* System header to define __stub macros and hopefully few prototypes,
40799 which can conflict with char $ac_func (); below.
40800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40801 <limits.h> exists even on freestanding compilers. */
40802
40803 #ifdef __STDC__
40804 # include <limits.h>
40805 #else
40806 # include <assert.h>
40807 #endif
40808
40809 #undef $ac_func
40810
40811 /* Override any GCC internal prototype to avoid an error.
40812 Use char because int might match the return type of a GCC
40813 builtin and then its argument prototype would still apply. */
40814 #ifdef __cplusplus
40815 extern "C"
40816 #endif
40817 char $ac_func ();
40818 /* The GNU C library defines this for functions which it implements
40819 to always fail with ENOSYS. Some functions are actually named
40820 something starting with __ and the normal name is an alias. */
40821 #if defined __stub_$ac_func || defined __stub___$ac_func
40822 choke me
40823 #endif
40824
40825 int
40826 main ()
40827 {
40828 return $ac_func ();
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext conftest$ac_exeext
40834 if { (ac_try="$ac_link"
40835 case "(($ac_try" in
40836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40838 esac
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_link") 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest$ac_exeext &&
40850 $as_test_x conftest$ac_exeext; then
40851 eval "$as_ac_var=yes"
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40855
40856 eval "$as_ac_var=no"
40857 fi
40858
40859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40860 conftest$ac_exeext conftest.$ac_ext
40861 fi
40862 ac_res=`eval echo '${'$as_ac_var'}'`
40863 { echo "$as_me:$LINENO: result: $ac_res" >&5
40864 echo "${ECHO_T}$ac_res" >&6; }
40865 if test `eval echo '${'$as_ac_var'}'` = yes; then
40866 cat >>confdefs.h <<_ACEOF
40867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40868 _ACEOF
40869
40870 cat >>confdefs.h <<\_ACEOF
40871 #define HAVE_DLOPEN 1
40872 _ACEOF
40873
40874 HAVE_DL_FUNCS=1
40875
40876 else
40877
40878 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40879 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40880 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40881 echo $ECHO_N "(cached) $ECHO_C" >&6
40882 else
40883 ac_check_lib_save_LIBS=$LIBS
40884 LIBS="-ldl $LIBS"
40885 cat >conftest.$ac_ext <<_ACEOF
40886 /* confdefs.h. */
40887 _ACEOF
40888 cat confdefs.h >>conftest.$ac_ext
40889 cat >>conftest.$ac_ext <<_ACEOF
40890 /* end confdefs.h. */
40891
40892 /* Override any GCC internal prototype to avoid an error.
40893 Use char because int might match the return type of a GCC
40894 builtin and then its argument prototype would still apply. */
40895 #ifdef __cplusplus
40896 extern "C"
40897 #endif
40898 char dlopen ();
40899 int
40900 main ()
40901 {
40902 return dlopen ();
40903 ;
40904 return 0;
40905 }
40906 _ACEOF
40907 rm -f conftest.$ac_objext conftest$ac_exeext
40908 if { (ac_try="$ac_link"
40909 case "(($ac_try" in
40910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40911 *) ac_try_echo=$ac_try;;
40912 esac
40913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40914 (eval "$ac_link") 2>conftest.er1
40915 ac_status=$?
40916 grep -v '^ *+' conftest.er1 >conftest.err
40917 rm -f conftest.er1
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } && {
40921 test -z "$ac_c_werror_flag" ||
40922 test ! -s conftest.err
40923 } && test -s conftest$ac_exeext &&
40924 $as_test_x conftest$ac_exeext; then
40925 ac_cv_lib_dl_dlopen=yes
40926 else
40927 echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.$ac_ext >&5
40929
40930 ac_cv_lib_dl_dlopen=no
40931 fi
40932
40933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40934 conftest$ac_exeext conftest.$ac_ext
40935 LIBS=$ac_check_lib_save_LIBS
40936 fi
40937 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40938 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40939 if test $ac_cv_lib_dl_dlopen = yes; then
40940
40941 cat >>confdefs.h <<\_ACEOF
40942 #define HAVE_DLOPEN 1
40943 _ACEOF
40944
40945 HAVE_DL_FUNCS=1
40946 DL_LINK=" -ldl$DL_LINK"
40947
40948 else
40949
40950
40951 for ac_func in shl_load
40952 do
40953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40956 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40957 echo $ECHO_N "(cached) $ECHO_C" >&6
40958 else
40959 cat >conftest.$ac_ext <<_ACEOF
40960 /* confdefs.h. */
40961 _ACEOF
40962 cat confdefs.h >>conftest.$ac_ext
40963 cat >>conftest.$ac_ext <<_ACEOF
40964 /* end confdefs.h. */
40965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40967 #define $ac_func innocuous_$ac_func
40968
40969 /* System header to define __stub macros and hopefully few prototypes,
40970 which can conflict with char $ac_func (); below.
40971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40972 <limits.h> exists even on freestanding compilers. */
40973
40974 #ifdef __STDC__
40975 # include <limits.h>
40976 #else
40977 # include <assert.h>
40978 #endif
40979
40980 #undef $ac_func
40981
40982 /* Override any GCC internal prototype to avoid an error.
40983 Use char because int might match the return type of a GCC
40984 builtin and then its argument prototype would still apply. */
40985 #ifdef __cplusplus
40986 extern "C"
40987 #endif
40988 char $ac_func ();
40989 /* The GNU C library defines this for functions which it implements
40990 to always fail with ENOSYS. Some functions are actually named
40991 something starting with __ and the normal name is an alias. */
40992 #if defined __stub_$ac_func || defined __stub___$ac_func
40993 choke me
40994 #endif
40995
40996 int
40997 main ()
40998 {
40999 return $ac_func ();
41000 ;
41001 return 0;
41002 }
41003 _ACEOF
41004 rm -f conftest.$ac_objext conftest$ac_exeext
41005 if { (ac_try="$ac_link"
41006 case "(($ac_try" in
41007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41008 *) ac_try_echo=$ac_try;;
41009 esac
41010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41011 (eval "$ac_link") 2>conftest.er1
41012 ac_status=$?
41013 grep -v '^ *+' conftest.er1 >conftest.err
41014 rm -f conftest.er1
41015 cat conftest.err >&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); } && {
41018 test -z "$ac_c_werror_flag" ||
41019 test ! -s conftest.err
41020 } && test -s conftest$ac_exeext &&
41021 $as_test_x conftest$ac_exeext; then
41022 eval "$as_ac_var=yes"
41023 else
41024 echo "$as_me: failed program was:" >&5
41025 sed 's/^/| /' conftest.$ac_ext >&5
41026
41027 eval "$as_ac_var=no"
41028 fi
41029
41030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41031 conftest$ac_exeext conftest.$ac_ext
41032 fi
41033 ac_res=`eval echo '${'$as_ac_var'}'`
41034 { echo "$as_me:$LINENO: result: $ac_res" >&5
41035 echo "${ECHO_T}$ac_res" >&6; }
41036 if test `eval echo '${'$as_ac_var'}'` = yes; then
41037 cat >>confdefs.h <<_ACEOF
41038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41039 _ACEOF
41040
41041 cat >>confdefs.h <<\_ACEOF
41042 #define HAVE_SHL_LOAD 1
41043 _ACEOF
41044
41045 HAVE_SHL_FUNCS=1
41046
41047 else
41048
41049 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41050 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41051 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41053 else
41054 ac_check_lib_save_LIBS=$LIBS
41055 LIBS="-lshl_load $LIBS"
41056 cat >conftest.$ac_ext <<_ACEOF
41057 /* confdefs.h. */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062
41063 /* Override any GCC internal prototype to avoid an error.
41064 Use char because int might match the return type of a GCC
41065 builtin and then its argument prototype would still apply. */
41066 #ifdef __cplusplus
41067 extern "C"
41068 #endif
41069 char dld ();
41070 int
41071 main ()
41072 {
41073 return dld ();
41074 ;
41075 return 0;
41076 }
41077 _ACEOF
41078 rm -f conftest.$ac_objext conftest$ac_exeext
41079 if { (ac_try="$ac_link"
41080 case "(($ac_try" in
41081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41082 *) ac_try_echo=$ac_try;;
41083 esac
41084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41085 (eval "$ac_link") 2>conftest.er1
41086 ac_status=$?
41087 grep -v '^ *+' conftest.er1 >conftest.err
41088 rm -f conftest.er1
41089 cat conftest.err >&5
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); } && {
41092 test -z "$ac_c_werror_flag" ||
41093 test ! -s conftest.err
41094 } && test -s conftest$ac_exeext &&
41095 $as_test_x conftest$ac_exeext; then
41096 ac_cv_lib_shl_load_dld=yes
41097 else
41098 echo "$as_me: failed program was:" >&5
41099 sed 's/^/| /' conftest.$ac_ext >&5
41100
41101 ac_cv_lib_shl_load_dld=no
41102 fi
41103
41104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41105 conftest$ac_exeext conftest.$ac_ext
41106 LIBS=$ac_check_lib_save_LIBS
41107 fi
41108 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41109 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41110 if test $ac_cv_lib_shl_load_dld = yes; then
41111
41112 HAVE_SHL_FUNCS=1
41113 DL_LINK=" -ldld$DL_LINK"
41114
41115 fi
41116
41117
41118 fi
41119 done
41120
41121
41122 fi
41123
41124
41125 fi
41126 done
41127
41128
41129 if test "$HAVE_DL_FUNCS" = 1; then
41130
41131 for ac_func in dlerror
41132 do
41133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41138 else
41139 cat >conftest.$ac_ext <<_ACEOF
41140 /* confdefs.h. */
41141 _ACEOF
41142 cat confdefs.h >>conftest.$ac_ext
41143 cat >>conftest.$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41147 #define $ac_func innocuous_$ac_func
41148
41149 /* System header to define __stub macros and hopefully few prototypes,
41150 which can conflict with char $ac_func (); below.
41151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41152 <limits.h> exists even on freestanding compilers. */
41153
41154 #ifdef __STDC__
41155 # include <limits.h>
41156 #else
41157 # include <assert.h>
41158 #endif
41159
41160 #undef $ac_func
41161
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41165 #ifdef __cplusplus
41166 extern "C"
41167 #endif
41168 char $ac_func ();
41169 /* The GNU C library defines this for functions which it implements
41170 to always fail with ENOSYS. Some functions are actually named
41171 something starting with __ and the normal name is an alias. */
41172 #if defined __stub_$ac_func || defined __stub___$ac_func
41173 choke me
41174 #endif
41175
41176 int
41177 main ()
41178 {
41179 return $ac_func ();
41180 ;
41181 return 0;
41182 }
41183 _ACEOF
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (ac_try="$ac_link"
41186 case "(($ac_try" in
41187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41188 *) ac_try_echo=$ac_try;;
41189 esac
41190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41191 (eval "$ac_link") 2>conftest.er1
41192 ac_status=$?
41193 grep -v '^ *+' conftest.er1 >conftest.err
41194 rm -f conftest.er1
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } && {
41198 test -z "$ac_c_werror_flag" ||
41199 test ! -s conftest.err
41200 } && test -s conftest$ac_exeext &&
41201 $as_test_x conftest$ac_exeext; then
41202 eval "$as_ac_var=yes"
41203 else
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41206
41207 eval "$as_ac_var=no"
41208 fi
41209
41210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41211 conftest$ac_exeext conftest.$ac_ext
41212 fi
41213 ac_res=`eval echo '${'$as_ac_var'}'`
41214 { echo "$as_me:$LINENO: result: $ac_res" >&5
41215 echo "${ECHO_T}$ac_res" >&6; }
41216 if test `eval echo '${'$as_ac_var'}'` = yes; then
41217 cat >>confdefs.h <<_ACEOF
41218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41219 _ACEOF
41220 cat >>confdefs.h <<\_ACEOF
41221 #define HAVE_DLERROR 1
41222 _ACEOF
41223
41224 else
41225
41226 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41227 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41228 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41231 ac_check_lib_save_LIBS=$LIBS
41232 LIBS="-ldl $LIBS"
41233 cat >conftest.$ac_ext <<_ACEOF
41234 /* confdefs.h. */
41235 _ACEOF
41236 cat confdefs.h >>conftest.$ac_ext
41237 cat >>conftest.$ac_ext <<_ACEOF
41238 /* end confdefs.h. */
41239
41240 /* Override any GCC internal prototype to avoid an error.
41241 Use char because int might match the return type of a GCC
41242 builtin and then its argument prototype would still apply. */
41243 #ifdef __cplusplus
41244 extern "C"
41245 #endif
41246 char dlerror ();
41247 int
41248 main ()
41249 {
41250 return dlerror ();
41251 ;
41252 return 0;
41253 }
41254 _ACEOF
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (ac_try="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41260 esac
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41263 ac_status=$?
41264 grep -v '^ *+' conftest.er1 >conftest.err
41265 rm -f conftest.er1
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } && {
41269 test -z "$ac_c_werror_flag" ||
41270 test ! -s conftest.err
41271 } && test -s conftest$ac_exeext &&
41272 $as_test_x conftest$ac_exeext; then
41273 ac_cv_lib_dl_dlerror=yes
41274 else
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41277
41278 ac_cv_lib_dl_dlerror=no
41279 fi
41280
41281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41282 conftest$ac_exeext conftest.$ac_ext
41283 LIBS=$ac_check_lib_save_LIBS
41284 fi
41285 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41286 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41287 if test $ac_cv_lib_dl_dlerror = yes; then
41288 cat >>confdefs.h <<\_ACEOF
41289 #define HAVE_DLERROR 1
41290 _ACEOF
41291
41292 fi
41293
41294
41295
41296 fi
41297 done
41298
41299 fi
41300 fi
41301
41302 if test "$HAVE_DL_FUNCS" = 0; then
41303 if test "$HAVE_SHL_FUNCS" = 0; then
41304 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41305 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41306 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41307 wxUSE_DYNAMIC_LOADER=no
41308 wxUSE_DYNLIB_CLASS=no
41309 else
41310 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41311 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41312 fi
41313 fi
41314 fi
41315 fi
41316 fi
41317
41318 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41319 cat >>confdefs.h <<\_ACEOF
41320 #define wxUSE_DYNAMIC_LOADER 1
41321 _ACEOF
41322
41323 fi
41324 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define wxUSE_DYNLIB_CLASS 1
41327 _ACEOF
41328
41329 fi
41330
41331
41332
41333 if test "$wxUSE_PLUGINS" = "yes" ; then
41334 if test "$wxUSE_SHARED" = "no" ; then
41335 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41336 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41337 wxUSE_PLUGINS=no
41338 fi
41339 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41340 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41341 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41342 wxUSE_PLUGINS=no
41343 fi
41344 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41345 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41346 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41347 wxUSE_PLUGINS=no
41348 fi
41349 if test "$wxUSE_PLUGINS" = "yes" ; then
41350 cat >>confdefs.h <<\_ACEOF
41351 #define wxUSE_PLUGINS 1
41352 _ACEOF
41353
41354 fi
41355 fi
41356
41357
41358 if test "$wxUSE_STL" = "yes"; then
41359 cat >>confdefs.h <<\_ACEOF
41360 #define wxUSE_STL 1
41361 _ACEOF
41362
41363 fi
41364
41365 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41366 cat >>confdefs.h <<\_ACEOF
41367 #define wxUSE_EXTENDED_RTTI 1
41368 _ACEOF
41369
41370 fi
41371
41372 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41373 cat >>confdefs.h <<\_ACEOF
41374 #define wxUSE_APPLE_IEEE 1
41375 _ACEOF
41376
41377 fi
41378
41379 if test "$wxUSE_TIMER" = "yes"; then
41380 cat >>confdefs.h <<\_ACEOF
41381 #define wxUSE_TIMER 1
41382 _ACEOF
41383
41384 fi
41385
41386 if test "$USE_UNIX" = 1 ; then
41387 if test "$wxUSE_MGL" != 1; then
41388 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41389 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41390 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41392 else
41393
41394 cat >conftest.$ac_ext <<_ACEOF
41395 /* confdefs.h. */
41396 _ACEOF
41397 cat confdefs.h >>conftest.$ac_ext
41398 cat >>conftest.$ac_ext <<_ACEOF
41399 /* end confdefs.h. */
41400
41401 #include <sys/ioctl.h>
41402 #include <sys/soundcard.h>
41403
41404 int
41405 main ()
41406 {
41407
41408 ioctl(0, SNDCTL_DSP_SPEED, 0);
41409
41410 ;
41411 return 0;
41412 }
41413 _ACEOF
41414 rm -f conftest.$ac_objext conftest$ac_exeext
41415 if { (ac_try="$ac_link"
41416 case "(($ac_try" in
41417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41418 *) ac_try_echo=$ac_try;;
41419 esac
41420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41421 (eval "$ac_link") 2>conftest.er1
41422 ac_status=$?
41423 grep -v '^ *+' conftest.er1 >conftest.err
41424 rm -f conftest.er1
41425 cat conftest.err >&5
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); } && {
41428 test -z "$ac_c_werror_flag" ||
41429 test ! -s conftest.err
41430 } && test -s conftest$ac_exeext &&
41431 $as_test_x conftest$ac_exeext; then
41432 ac_cv_header_sys_soundcard=yes
41433 else
41434 echo "$as_me: failed program was:" >&5
41435 sed 's/^/| /' conftest.$ac_ext >&5
41436
41437
41438 saveLibs="$LIBS"
41439 LIBS="$saveLibs -lossaudio"
41440 cat >conftest.$ac_ext <<_ACEOF
41441 /* confdefs.h. */
41442 _ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41446
41447 #include <sys/ioctl.h>
41448 #include <sys/soundcard.h>
41449
41450 int
41451 main ()
41452 {
41453
41454 ioctl(0, SNDCTL_DSP_SPEED, 0);
41455
41456 ;
41457 return 0;
41458 }
41459 _ACEOF
41460 rm -f conftest.$ac_objext conftest$ac_exeext
41461 if { (ac_try="$ac_link"
41462 case "(($ac_try" in
41463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41464 *) ac_try_echo=$ac_try;;
41465 esac
41466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41467 (eval "$ac_link") 2>conftest.er1
41468 ac_status=$?
41469 grep -v '^ *+' conftest.er1 >conftest.err
41470 rm -f conftest.er1
41471 cat conftest.err >&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } && {
41474 test -z "$ac_c_werror_flag" ||
41475 test ! -s conftest.err
41476 } && test -s conftest$ac_exeext &&
41477 $as_test_x conftest$ac_exeext; then
41478 ac_cv_header_sys_soundcard=yes
41479 else
41480 echo "$as_me: failed program was:" >&5
41481 sed 's/^/| /' conftest.$ac_ext >&5
41482
41483
41484 LIBS="$saveLibs"
41485 ac_cv_header_sys_soundcard=no
41486
41487
41488 fi
41489
41490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41491 conftest$ac_exeext conftest.$ac_ext
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 fi
41500 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41501 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41502 fi
41503
41504 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41505 cat >>confdefs.h <<\_ACEOF
41506 #define HAVE_SYS_SOUNDCARD_H 1
41507 _ACEOF
41508
41509 fi
41510 fi
41511
41512 WITH_PLUGIN_SDL=0
41513 if test "$wxUSE_SOUND" = "yes"; then
41514 if test "$USE_UNIX" = 1 ; then
41515 if test "$wxUSE_LIBSDL" != "no"; then
41516
41517 # Check whether --with-sdl-prefix was given.
41518 if test "${with_sdl_prefix+set}" = set; then
41519 withval=$with_sdl_prefix; sdl_prefix="$withval"
41520 else
41521 sdl_prefix=""
41522 fi
41523
41524
41525 # Check whether --with-sdl-exec-prefix was given.
41526 if test "${with_sdl_exec_prefix+set}" = set; then
41527 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41528 else
41529 sdl_exec_prefix=""
41530 fi
41531
41532 # Check whether --enable-sdltest was given.
41533 if test "${enable_sdltest+set}" = set; then
41534 enableval=$enable_sdltest;
41535 else
41536 enable_sdltest=yes
41537 fi
41538
41539
41540 if test x$sdl_exec_prefix != x ; then
41541 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41542 if test x${SDL_CONFIG+set} != xset ; then
41543 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41544 fi
41545 fi
41546 if test x$sdl_prefix != x ; then
41547 sdl_args="$sdl_args --prefix=$sdl_prefix"
41548 if test x${SDL_CONFIG+set} != xset ; then
41549 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41550 fi
41551 fi
41552
41553 if test "x$prefix" != xNONE; then
41554 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41555 fi
41556 # Extract the first word of "sdl-config", so it can be a program name with args.
41557 set dummy sdl-config; ac_word=$2
41558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41560 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41561 echo $ECHO_N "(cached) $ECHO_C" >&6
41562 else
41563 case $SDL_CONFIG in
41564 [\\/]* | ?:[\\/]*)
41565 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41566 ;;
41567 *)
41568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41569 for as_dir in $PATH
41570 do
41571 IFS=$as_save_IFS
41572 test -z "$as_dir" && as_dir=.
41573 for ac_exec_ext in '' $ac_executable_extensions; do
41574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41575 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41577 break 2
41578 fi
41579 done
41580 done
41581 IFS=$as_save_IFS
41582
41583 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41584 ;;
41585 esac
41586 fi
41587 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41588 if test -n "$SDL_CONFIG"; then
41589 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41590 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41591 else
41592 { echo "$as_me:$LINENO: result: no" >&5
41593 echo "${ECHO_T}no" >&6; }
41594 fi
41595
41596
41597 min_sdl_version=1.2.0
41598 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41599 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41600 no_sdl=""
41601 if test "$SDL_CONFIG" = "no" ; then
41602 no_sdl=yes
41603 else
41604 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41605 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41606
41607 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41609 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41611 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41613 if test "x$enable_sdltest" = "xyes" ; then
41614 ac_save_CFLAGS="$CFLAGS"
41615 ac_save_CXXFLAGS="$CXXFLAGS"
41616 ac_save_LIBS="$LIBS"
41617 CFLAGS="$CFLAGS $SDL_CFLAGS"
41618 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41619 LIBS="$LIBS $SDL_LIBS"
41620 rm -f conf.sdltest
41621 if test "$cross_compiling" = yes; then
41622 echo $ac_n "cross compiling; assumed OK... $ac_c"
41623 else
41624 cat >conftest.$ac_ext <<_ACEOF
41625 /* confdefs.h. */
41626 _ACEOF
41627 cat confdefs.h >>conftest.$ac_ext
41628 cat >>conftest.$ac_ext <<_ACEOF
41629 /* end confdefs.h. */
41630
41631 #include <stdio.h>
41632 #include <stdlib.h>
41633 #include <string.h>
41634 #include "SDL.h"
41635
41636 char*
41637 my_strdup (char *str)
41638 {
41639 char *new_str;
41640
41641 if (str)
41642 {
41643 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41644 strcpy (new_str, str);
41645 }
41646 else
41647 new_str = NULL;
41648
41649 return new_str;
41650 }
41651
41652 int main (int argc, char *argv[])
41653 {
41654 int major, minor, micro;
41655 char *tmp_version;
41656
41657 /* This hangs on some systems (?)
41658 system ("touch conf.sdltest");
41659 */
41660 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41661
41662 /* HP/UX 9 (%@#!) writes to sscanf strings */
41663 tmp_version = my_strdup("$min_sdl_version");
41664 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41665 printf("%s, bad version string\n", "$min_sdl_version");
41666 exit(1);
41667 }
41668
41669 if (($sdl_major_version > major) ||
41670 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41671 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41672 {
41673 return 0;
41674 }
41675 else
41676 {
41677 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41678 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41679 printf("*** best to upgrade to the required version.\n");
41680 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41681 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41682 printf("*** config.cache before re-running configure\n");
41683 return 1;
41684 }
41685 }
41686
41687
41688 _ACEOF
41689 rm -f conftest$ac_exeext
41690 if { (ac_try="$ac_link"
41691 case "(($ac_try" in
41692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41693 *) ac_try_echo=$ac_try;;
41694 esac
41695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41696 (eval "$ac_link") 2>&5
41697 ac_status=$?
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41700 { (case "(($ac_try" in
41701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41702 *) ac_try_echo=$ac_try;;
41703 esac
41704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41705 (eval "$ac_try") 2>&5
41706 ac_status=$?
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; }; then
41709 :
41710 else
41711 echo "$as_me: program exited with status $ac_status" >&5
41712 echo "$as_me: failed program was:" >&5
41713 sed 's/^/| /' conftest.$ac_ext >&5
41714
41715 ( exit $ac_status )
41716 no_sdl=yes
41717 fi
41718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41719 fi
41720
41721
41722 CFLAGS="$ac_save_CFLAGS"
41723 CXXFLAGS="$ac_save_CXXFLAGS"
41724 LIBS="$ac_save_LIBS"
41725 fi
41726 fi
41727 if test "x$no_sdl" = x ; then
41728 { echo "$as_me:$LINENO: result: yes" >&5
41729 echo "${ECHO_T}yes" >&6; }
41730
41731 EXTRALIBS_SDL="$SDL_LIBS"
41732 CFLAGS="$SDL_CFLAGS $CFLAGS"
41733 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41734 cat >>confdefs.h <<\_ACEOF
41735 #define wxUSE_LIBSDL 1
41736 _ACEOF
41737
41738
41739 else
41740 { echo "$as_me:$LINENO: result: no" >&5
41741 echo "${ECHO_T}no" >&6; }
41742 if test "$SDL_CONFIG" = "no" ; then
41743 echo "*** The sdl-config script installed by SDL could not be found"
41744 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41745 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41746 echo "*** full path to sdl-config."
41747 else
41748 if test -f conf.sdltest ; then
41749 :
41750 else
41751 echo "*** Could not run SDL test program, checking why..."
41752 CFLAGS="$CFLAGS $SDL_CFLAGS"
41753 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41754 LIBS="$LIBS $SDL_LIBS"
41755 cat >conftest.$ac_ext <<_ACEOF
41756 /* confdefs.h. */
41757 _ACEOF
41758 cat confdefs.h >>conftest.$ac_ext
41759 cat >>conftest.$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41761
41762 #include <stdio.h>
41763 #include "SDL.h"
41764
41765 int main(int argc, char *argv[])
41766 { return 0; }
41767 #undef main
41768 #define main K_and_R_C_main
41769
41770 int
41771 main ()
41772 {
41773 return 0;
41774 ;
41775 return 0;
41776 }
41777 _ACEOF
41778 rm -f conftest.$ac_objext conftest$ac_exeext
41779 if { (ac_try="$ac_link"
41780 case "(($ac_try" in
41781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41782 *) ac_try_echo=$ac_try;;
41783 esac
41784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41785 (eval "$ac_link") 2>conftest.er1
41786 ac_status=$?
41787 grep -v '^ *+' conftest.er1 >conftest.err
41788 rm -f conftest.er1
41789 cat conftest.err >&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } && {
41792 test -z "$ac_c_werror_flag" ||
41793 test ! -s conftest.err
41794 } && test -s conftest$ac_exeext &&
41795 $as_test_x conftest$ac_exeext; then
41796 echo "*** The test program compiled, but did not run. This usually means"
41797 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41798 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41799 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41800 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41801 echo "*** is required on your system"
41802 echo "***"
41803 echo "*** If you have an old version installed, it is best to remove it, although"
41804 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41805 else
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.$ac_ext >&5
41808
41809 echo "*** The test program failed to compile or link. See the file config.log for the"
41810 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41811 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41812 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41813 fi
41814
41815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41816 conftest$ac_exeext conftest.$ac_ext
41817 CFLAGS="$ac_save_CFLAGS"
41818 CXXFLAGS="$ac_save_CXXFLAGS"
41819 LIBS="$ac_save_LIBS"
41820 fi
41821 fi
41822 SDL_CFLAGS=""
41823 SDL_LIBS=""
41824 wxUSE_LIBSDL="no"
41825 fi
41826
41827
41828 rm -f conf.sdltest
41829
41830 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41831 WITH_PLUGIN_SDL=1
41832 fi
41833 fi
41834 else
41835 if test "$wxUSE_MGL" = 1; then
41836 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41837 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41838 wxUSE_SOUND="no"
41839 fi
41840 fi
41841 fi
41842
41843 if test "$wxUSE_SOUND" = "yes"; then
41844 cat >>confdefs.h <<\_ACEOF
41845 #define wxUSE_SOUND 1
41846 _ACEOF
41847
41848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41849 fi
41850
41851 if test "$WXGTK2" = 1; then
41852
41853
41854 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41855 if test -n "$ac_tool_prefix"; then
41856 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41857 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41860 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41861 echo $ECHO_N "(cached) $ECHO_C" >&6
41862 else
41863 case $PKG_CONFIG in
41864 [\\/]* | ?:[\\/]*)
41865 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41866 ;;
41867 *)
41868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41869 for as_dir in $PATH
41870 do
41871 IFS=$as_save_IFS
41872 test -z "$as_dir" && as_dir=.
41873 for ac_exec_ext in '' $ac_executable_extensions; do
41874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41875 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41877 break 2
41878 fi
41879 done
41880 done
41881 IFS=$as_save_IFS
41882
41883 ;;
41884 esac
41885 fi
41886 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41887 if test -n "$PKG_CONFIG"; then
41888 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41889 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41890 else
41891 { echo "$as_me:$LINENO: result: no" >&5
41892 echo "${ECHO_T}no" >&6; }
41893 fi
41894
41895
41896 fi
41897 if test -z "$ac_cv_path_PKG_CONFIG"; then
41898 ac_pt_PKG_CONFIG=$PKG_CONFIG
41899 # Extract the first word of "pkg-config", so it can be a program name with args.
41900 set dummy pkg-config; ac_word=$2
41901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41903 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 else
41906 case $ac_pt_PKG_CONFIG in
41907 [\\/]* | ?:[\\/]*)
41908 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41909 ;;
41910 *)
41911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41912 for as_dir in $PATH
41913 do
41914 IFS=$as_save_IFS
41915 test -z "$as_dir" && as_dir=.
41916 for ac_exec_ext in '' $ac_executable_extensions; do
41917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41918 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41920 break 2
41921 fi
41922 done
41923 done
41924 IFS=$as_save_IFS
41925
41926 ;;
41927 esac
41928 fi
41929 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41930 if test -n "$ac_pt_PKG_CONFIG"; then
41931 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41932 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41933 else
41934 { echo "$as_me:$LINENO: result: no" >&5
41935 echo "${ECHO_T}no" >&6; }
41936 fi
41937
41938 if test "x$ac_pt_PKG_CONFIG" = x; then
41939 PKG_CONFIG=""
41940 else
41941 case $cross_compiling:$ac_tool_warned in
41942 yes:)
41943 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41944 whose name does not start with the host triplet. If you think this
41945 configuration is useful to you, please write to autoconf@gnu.org." >&5
41946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41947 whose name does not start with the host triplet. If you think this
41948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41949 ac_tool_warned=yes ;;
41950 esac
41951 PKG_CONFIG=$ac_pt_PKG_CONFIG
41952 fi
41953 else
41954 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41955 fi
41956
41957 fi
41958 if test -n "$PKG_CONFIG"; then
41959 _pkg_min_version=0.9.0
41960 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41961 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41962 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41963 { echo "$as_me:$LINENO: result: yes" >&5
41964 echo "${ECHO_T}yes" >&6; }
41965 else
41966 { echo "$as_me:$LINENO: result: no" >&5
41967 echo "${ECHO_T}no" >&6; }
41968 PKG_CONFIG=""
41969 fi
41970
41971 fi
41972
41973 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41974
41975 if test "$wxUSE_GTKPRINT" = "yes" ; then
41976
41977
41978 pkg_failed=no
41979 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
41980 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
41981
41982 if test -n "$PKG_CONFIG"; then
41983 if test -n "$GTKPRINT_CFLAGS"; then
41984 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
41985 else
41986 if test -n "$PKG_CONFIG" && \
41987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
41988 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
41989 ac_status=$?
41990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991 (exit $ac_status); }; then
41992 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
41993 else
41994 pkg_failed=yes
41995 fi
41996 fi
41997 else
41998 pkg_failed=untried
41999 fi
42000 if test -n "$PKG_CONFIG"; then
42001 if test -n "$GTKPRINT_LIBS"; then
42002 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42003 else
42004 if test -n "$PKG_CONFIG" && \
42005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42006 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42007 ac_status=$?
42008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42009 (exit $ac_status); }; then
42010 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42011 else
42012 pkg_failed=yes
42013 fi
42014 fi
42015 else
42016 pkg_failed=untried
42017 fi
42018
42019
42020
42021 if test $pkg_failed = yes; then
42022
42023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42024 _pkg_short_errors_supported=yes
42025 else
42026 _pkg_short_errors_supported=no
42027 fi
42028 if test $_pkg_short_errors_supported = yes; then
42029 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42030 else
42031 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42032 fi
42033 # Put the nasty error message in config.log where it belongs
42034 echo "$GTKPRINT_PKG_ERRORS" >&5
42035
42036
42037 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42038 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42039 wxUSE_GTKPRINT="no"
42040
42041
42042 elif test $pkg_failed = untried; then
42043
42044 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42045 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42046 wxUSE_GTKPRINT="no"
42047
42048
42049 else
42050 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42051 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42052 { echo "$as_me:$LINENO: result: yes" >&5
42053 echo "${ECHO_T}yes" >&6; }
42054
42055 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42056 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_GTKPRINT 1
42059 _ACEOF
42060
42061
42062 fi
42063 fi
42064
42065 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42066
42067
42068 pkg_failed=no
42069 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42070 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42071
42072 if test -n "$PKG_CONFIG"; then
42073 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42074 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42075 else
42076 if test -n "$PKG_CONFIG" && \
42077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42078 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42079 ac_status=$?
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; then
42082 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42083 else
42084 pkg_failed=yes
42085 fi
42086 fi
42087 else
42088 pkg_failed=untried
42089 fi
42090 if test -n "$PKG_CONFIG"; then
42091 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42092 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42093 else
42094 if test -n "$PKG_CONFIG" && \
42095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42096 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42097 ac_status=$?
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); }; then
42100 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42101 else
42102 pkg_failed=yes
42103 fi
42104 fi
42105 else
42106 pkg_failed=untried
42107 fi
42108
42109
42110
42111 if test $pkg_failed = yes; then
42112
42113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42114 _pkg_short_errors_supported=yes
42115 else
42116 _pkg_short_errors_supported=no
42117 fi
42118 if test $_pkg_short_errors_supported = yes; then
42119 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42120 else
42121 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42122 fi
42123 # Put the nasty error message in config.log where it belongs
42124 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42125
42126
42127 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42128 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42129 wxUSE_LIBGNOMEPRINT="no"
42130
42131
42132 elif test $pkg_failed = untried; then
42133
42134 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42135 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42136 wxUSE_LIBGNOMEPRINT="no"
42137
42138
42139 else
42140 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42141 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42142 { echo "$as_me:$LINENO: result: yes" >&5
42143 echo "${ECHO_T}yes" >&6; }
42144
42145 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42146 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42147 cat >>confdefs.h <<\_ACEOF
42148 #define wxUSE_LIBGNOMEPRINT 1
42149 _ACEOF
42150
42151
42152 fi
42153 fi
42154 fi
42155
42156 if test "$wxUSE_MIMETYPE" = "yes" ; then
42157 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42158
42159
42160 pkg_failed=no
42161 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42162 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42163
42164 if test -n "$PKG_CONFIG"; then
42165 if test -n "$GNOMEVFS_CFLAGS"; then
42166 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42167 else
42168 if test -n "$PKG_CONFIG" && \
42169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42170 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42171 ac_status=$?
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; then
42174 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42175 else
42176 pkg_failed=yes
42177 fi
42178 fi
42179 else
42180 pkg_failed=untried
42181 fi
42182 if test -n "$PKG_CONFIG"; then
42183 if test -n "$GNOMEVFS_LIBS"; then
42184 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42185 else
42186 if test -n "$PKG_CONFIG" && \
42187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42188 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42189 ac_status=$?
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; then
42192 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42193 else
42194 pkg_failed=yes
42195 fi
42196 fi
42197 else
42198 pkg_failed=untried
42199 fi
42200
42201
42202
42203 if test $pkg_failed = yes; then
42204
42205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42206 _pkg_short_errors_supported=yes
42207 else
42208 _pkg_short_errors_supported=no
42209 fi
42210 if test $_pkg_short_errors_supported = yes; then
42211 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42212 else
42213 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42214 fi
42215 # Put the nasty error message in config.log where it belongs
42216 echo "$GNOMEVFS_PKG_ERRORS" >&5
42217
42218
42219 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42220 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42221 wxUSE_LIBGNOMEVFS="no"
42222
42223
42224 elif test $pkg_failed = untried; then
42225
42226 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42227 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42228 wxUSE_LIBGNOMEVFS="no"
42229
42230
42231 else
42232 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42233 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42234 { echo "$as_me:$LINENO: result: yes" >&5
42235 echo "${ECHO_T}yes" >&6; }
42236
42237 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42238 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42239 cat >>confdefs.h <<\_ACEOF
42240 #define wxUSE_LIBGNOMEVFS 1
42241 _ACEOF
42242
42243
42244 fi
42245 fi
42246 fi
42247
42248 if test "$wxUSE_LIBHILDON" = "yes" ; then
42249
42250 pkg_failed=no
42251 { echo "$as_me:$LINENO: checking for HILDON" >&5
42252 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42253
42254 if test -n "$PKG_CONFIG"; then
42255 if test -n "$HILDON_CFLAGS"; then
42256 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42257 else
42258 if test -n "$PKG_CONFIG" && \
42259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42260 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42261 ac_status=$?
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; then
42264 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42265 else
42266 pkg_failed=yes
42267 fi
42268 fi
42269 else
42270 pkg_failed=untried
42271 fi
42272 if test -n "$PKG_CONFIG"; then
42273 if test -n "$HILDON_LIBS"; then
42274 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42275 else
42276 if test -n "$PKG_CONFIG" && \
42277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42278 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42279 ac_status=$?
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; then
42282 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42283 else
42284 pkg_failed=yes
42285 fi
42286 fi
42287 else
42288 pkg_failed=untried
42289 fi
42290
42291
42292
42293 if test $pkg_failed = yes; then
42294
42295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42296 _pkg_short_errors_supported=yes
42297 else
42298 _pkg_short_errors_supported=no
42299 fi
42300 if test $_pkg_short_errors_supported = yes; then
42301 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42302 else
42303 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42304 fi
42305 # Put the nasty error message in config.log where it belongs
42306 echo "$HILDON_PKG_ERRORS" >&5
42307
42308
42309 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42310 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42311 wxUSE_LIBHILDON="no"
42312
42313
42314 elif test $pkg_failed = untried; then
42315
42316 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42317 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42318 wxUSE_LIBHILDON="no"
42319
42320
42321 else
42322 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42323 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42324 { echo "$as_me:$LINENO: result: yes" >&5
42325 echo "${ECHO_T}yes" >&6; }
42326
42327 EXTRALIBS_HILDON="$HILDON_LIBS"
42328 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42329 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42330 cat >>confdefs.h <<\_ACEOF
42331 #define wxUSE_LIBHILDON 1
42332 _ACEOF
42333
42334
42335 fi
42336 fi
42337 fi
42338
42339 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42340 cat >>confdefs.h <<\_ACEOF
42341 #define wxUSE_CMDLINE_PARSER 1
42342 _ACEOF
42343
42344 fi
42345
42346 if test "$wxUSE_STOPWATCH" = "yes"; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define wxUSE_STOPWATCH 1
42349 _ACEOF
42350
42351 fi
42352
42353 if test "$wxUSE_DATETIME" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_DATETIME 1
42356 _ACEOF
42357
42358 fi
42359
42360 if test "$wxUSE_FILE" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_FILE 1
42363 _ACEOF
42364
42365 fi
42366
42367 if test "$wxUSE_FFILE" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_FFILE 1
42370 _ACEOF
42371
42372 fi
42373
42374 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42375 if test "$wxUSE_STREAMS" != yes; then
42376 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42377 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42378 wxUSE_ARCHIVE_STREAMS=no
42379 else
42380 cat >>confdefs.h <<\_ACEOF
42381 #define wxUSE_ARCHIVE_STREAMS 1
42382 _ACEOF
42383
42384 fi
42385 fi
42386
42387 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42388 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42389 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42390 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42391 elif test "$wxUSE_ZLIB" = "no"; then
42392 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42393 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42394 else
42395 cat >>confdefs.h <<\_ACEOF
42396 #define wxUSE_ZIPSTREAM 1
42397 _ACEOF
42398
42399 fi
42400 fi
42401
42402 if test "$wxUSE_TARSTREAM" = "yes"; then
42403 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42404 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42405 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42406 else
42407 cat >>confdefs.h <<\_ACEOF
42408 #define wxUSE_TARSTREAM 1
42409 _ACEOF
42410
42411 fi
42412 fi
42413
42414 if test "$wxUSE_FILESYSTEM" = "yes"; then
42415 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42416 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42417 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42418 wxUSE_FILESYSTEM=no
42419 else
42420 cat >>confdefs.h <<\_ACEOF
42421 #define wxUSE_FILESYSTEM 1
42422 _ACEOF
42423
42424 fi
42425 fi
42426
42427 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42428 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42429 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42430 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42431 else
42432 cat >>confdefs.h <<\_ACEOF
42433 #define wxUSE_FS_ARCHIVE 1
42434 _ACEOF
42435
42436 fi
42437 fi
42438
42439 if test "$wxUSE_FS_ZIP" = "yes"; then
42440 if test "$wxUSE_FS_ARCHIVE" != yes; then
42441 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42442 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42443 else
42444 cat >>confdefs.h <<\_ACEOF
42445 #define wxUSE_FS_ZIP 1
42446 _ACEOF
42447
42448 fi
42449 fi
42450
42451 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42452 if test "$USE_UNIX" != 1; then
42453 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42454 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42455 wxUSE_ON_FATAL_EXCEPTION=no
42456 else
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_ON_FATAL_EXCEPTION 1
42459 _ACEOF
42460
42461 fi
42462 fi
42463
42464 if test "$wxUSE_STACKWALKER" = "yes"; then
42465 cat >>confdefs.h <<\_ACEOF
42466 #define wxUSE_STACKWALKER 1
42467 _ACEOF
42468
42469 fi
42470
42471 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42472 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42473 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42474 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42475 wxUSE_DEBUGREPORT=no
42476 else
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_DEBUGREPORT 1
42479 _ACEOF
42480
42481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42483 fi
42484 fi
42485 fi
42486
42487 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define wxUSE_SNGLINST_CHECKER 1
42490 _ACEOF
42491
42492 fi
42493
42494 if test "$wxUSE_BUSYINFO" = "yes"; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define wxUSE_BUSYINFO 1
42497 _ACEOF
42498
42499 fi
42500
42501 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_STD_IOSTREAM 1
42504 _ACEOF
42505
42506 fi
42507
42508 if test "$wxUSE_STD_STRING" = "yes"; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define wxUSE_STD_STRING 1
42511 _ACEOF
42512
42513 fi
42514
42515 if test "$wxUSE_STDPATHS" = "yes"; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_STDPATHS 1
42518 _ACEOF
42519
42520 fi
42521
42522 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42523 cat >>confdefs.h <<\_ACEOF
42524 #define wxUSE_TEXTBUFFER 1
42525 _ACEOF
42526
42527 fi
42528
42529 if test "$wxUSE_TEXTFILE" = "yes"; then
42530 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42531 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42532 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42533 else
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_TEXTFILE 1
42536 _ACEOF
42537
42538 fi
42539 fi
42540
42541 if test "$wxUSE_CONFIG" = "yes" ; then
42542 if test "$wxUSE_TEXTFILE" != "yes"; then
42543 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42544 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42545 else
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_CONFIG 1
42548 _ACEOF
42549
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_CONFIG_NATIVE 1
42552 _ACEOF
42553
42554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42555 fi
42556 fi
42557
42558 if test "$wxUSE_INTL" = "yes" ; then
42559 if test "$wxUSE_FILE" != "yes"; then
42560 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42561 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42562 else
42563 cat >>confdefs.h <<\_ACEOF
42564 #define wxUSE_INTL 1
42565 _ACEOF
42566
42567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42568 GUIDIST="$GUIDIST INTL_DIST"
42569 fi
42570 fi
42571
42572 if test "$wxUSE_LOG" = "yes"; then
42573 cat >>confdefs.h <<\_ACEOF
42574 #define wxUSE_LOG 1
42575 _ACEOF
42576
42577
42578 if test "$wxUSE_LOGGUI" = "yes"; then
42579 cat >>confdefs.h <<\_ACEOF
42580 #define wxUSE_LOGGUI 1
42581 _ACEOF
42582
42583 fi
42584
42585 if test "$wxUSE_LOGWINDOW" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_LOGWINDOW 1
42588 _ACEOF
42589
42590 fi
42591
42592 if test "$wxUSE_LOGDIALOG" = "yes"; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_LOG_DIALOG 1
42595 _ACEOF
42596
42597 fi
42598
42599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42600 fi
42601
42602 if test "$wxUSE_LONGLONG" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_LONGLONG 1
42605 _ACEOF
42606
42607 fi
42608
42609 if test "$wxUSE_GEOMETRY" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_GEOMETRY 1
42612 _ACEOF
42613
42614 fi
42615
42616 if test "$wxUSE_BASE64" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_BASE64 1
42619 _ACEOF
42620
42621 fi
42622
42623 if test "$wxUSE_STREAMS" = "yes" ; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_STREAMS 1
42626 _ACEOF
42627
42628 fi
42629
42630 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_PRINTF_POS_PARAMS 1
42633 _ACEOF
42634
42635 fi
42636
42637 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_OBJC_UNIQUIFYING 1
42640 _ACEOF
42641
42642 fi
42643
42644
42645 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_CONSOLE_EVENTLOOP 1
42648 _ACEOF
42649
42650
42651 if test "$wxUSE_UNIX" = "yes"; then
42652 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_SELECT_DISPATCHER 1
42655 _ACEOF
42656
42657 fi
42658
42659 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42660
42661 for ac_header in sys/epoll.h
42662 do
42663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42667 echo $ECHO_N "(cached) $ECHO_C" >&6
42668 else
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h. */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 $ac_includes_default
42676
42677 #include <$ac_header>
42678 _ACEOF
42679 rm -f conftest.$ac_objext
42680 if { (ac_try="$ac_compile"
42681 case "(($ac_try" in
42682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42683 *) ac_try_echo=$ac_try;;
42684 esac
42685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42686 (eval "$ac_compile") 2>conftest.er1
42687 ac_status=$?
42688 grep -v '^ *+' conftest.er1 >conftest.err
42689 rm -f conftest.er1
42690 cat conftest.err >&5
42691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42692 (exit $ac_status); } && {
42693 test -z "$ac_c_werror_flag" ||
42694 test ! -s conftest.err
42695 } && test -s conftest.$ac_objext; then
42696 eval "$as_ac_Header=yes"
42697 else
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42700
42701 eval "$as_ac_Header=no"
42702 fi
42703
42704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42705 fi
42706 ac_res=`eval echo '${'$as_ac_Header'}'`
42707 { echo "$as_me:$LINENO: result: $ac_res" >&5
42708 echo "${ECHO_T}$ac_res" >&6; }
42709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42710 cat >>confdefs.h <<_ACEOF
42711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42712 _ACEOF
42713
42714 fi
42715
42716 done
42717
42718 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define wxUSE_EPOLL_DISPATCHER 1
42721 _ACEOF
42722
42723 else
42724 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42725 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42726 fi
42727 fi
42728 fi
42729 fi
42730
42731
42732
42733
42734 for ac_func in gettimeofday ftime
42735 do
42736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42740 echo $ECHO_N "(cached) $ECHO_C" >&6
42741 else
42742 cat >conftest.$ac_ext <<_ACEOF
42743 /* confdefs.h. */
42744 _ACEOF
42745 cat confdefs.h >>conftest.$ac_ext
42746 cat >>conftest.$ac_ext <<_ACEOF
42747 /* end confdefs.h. */
42748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42750 #define $ac_func innocuous_$ac_func
42751
42752 /* System header to define __stub macros and hopefully few prototypes,
42753 which can conflict with char $ac_func (); below.
42754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42755 <limits.h> exists even on freestanding compilers. */
42756
42757 #ifdef __STDC__
42758 # include <limits.h>
42759 #else
42760 # include <assert.h>
42761 #endif
42762
42763 #undef $ac_func
42764
42765 /* Override any GCC internal prototype to avoid an error.
42766 Use char because int might match the return type of a GCC
42767 builtin and then its argument prototype would still apply. */
42768 #ifdef __cplusplus
42769 extern "C"
42770 #endif
42771 char $ac_func ();
42772 /* The GNU C library defines this for functions which it implements
42773 to always fail with ENOSYS. Some functions are actually named
42774 something starting with __ and the normal name is an alias. */
42775 #if defined __stub_$ac_func || defined __stub___$ac_func
42776 choke me
42777 #endif
42778
42779 int
42780 main ()
42781 {
42782 return $ac_func ();
42783 ;
42784 return 0;
42785 }
42786 _ACEOF
42787 rm -f conftest.$ac_objext conftest$ac_exeext
42788 if { (ac_try="$ac_link"
42789 case "(($ac_try" in
42790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42791 *) ac_try_echo=$ac_try;;
42792 esac
42793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42794 (eval "$ac_link") 2>conftest.er1
42795 ac_status=$?
42796 grep -v '^ *+' conftest.er1 >conftest.err
42797 rm -f conftest.er1
42798 cat conftest.err >&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } && {
42801 test -z "$ac_c_werror_flag" ||
42802 test ! -s conftest.err
42803 } && test -s conftest$ac_exeext &&
42804 $as_test_x conftest$ac_exeext; then
42805 eval "$as_ac_var=yes"
42806 else
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.$ac_ext >&5
42809
42810 eval "$as_ac_var=no"
42811 fi
42812
42813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42814 conftest$ac_exeext conftest.$ac_ext
42815 fi
42816 ac_res=`eval echo '${'$as_ac_var'}'`
42817 { echo "$as_me:$LINENO: result: $ac_res" >&5
42818 echo "${ECHO_T}$ac_res" >&6; }
42819 if test `eval echo '${'$as_ac_var'}'` = yes; then
42820 cat >>confdefs.h <<_ACEOF
42821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42822 _ACEOF
42823 break
42824 fi
42825 done
42826
42827
42828 if test "$ac_cv_func_gettimeofday" = "yes"; then
42829 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42830 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42831 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42832 echo $ECHO_N "(cached) $ECHO_C" >&6
42833 else
42834
42835 cat >conftest.$ac_ext <<_ACEOF
42836 /* confdefs.h. */
42837 _ACEOF
42838 cat confdefs.h >>conftest.$ac_ext
42839 cat >>conftest.$ac_ext <<_ACEOF
42840 /* end confdefs.h. */
42841
42842 #include <sys/time.h>
42843 #include <unistd.h>
42844
42845 int
42846 main ()
42847 {
42848
42849 struct timeval tv;
42850 gettimeofday(&tv, NULL);
42851
42852 ;
42853 return 0;
42854 }
42855 _ACEOF
42856 rm -f conftest.$ac_objext
42857 if { (ac_try="$ac_compile"
42858 case "(($ac_try" in
42859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42860 *) ac_try_echo=$ac_try;;
42861 esac
42862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42863 (eval "$ac_compile") 2>conftest.er1
42864 ac_status=$?
42865 grep -v '^ *+' conftest.er1 >conftest.err
42866 rm -f conftest.er1
42867 cat conftest.err >&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } && {
42870 test -z "$ac_c_werror_flag" ||
42871 test ! -s conftest.err
42872 } && test -s conftest.$ac_objext; then
42873 wx_cv_func_gettimeofday_has_2_args=yes
42874 else
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.$ac_ext >&5
42877
42878 cat >conftest.$ac_ext <<_ACEOF
42879 /* confdefs.h. */
42880 _ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884
42885 #include <sys/time.h>
42886 #include <unistd.h>
42887
42888 int
42889 main ()
42890 {
42891
42892 struct timeval tv;
42893 gettimeofday(&tv);
42894
42895 ;
42896 return 0;
42897 }
42898 _ACEOF
42899 rm -f conftest.$ac_objext
42900 if { (ac_try="$ac_compile"
42901 case "(($ac_try" in
42902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42903 *) ac_try_echo=$ac_try;;
42904 esac
42905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42906 (eval "$ac_compile") 2>conftest.er1
42907 ac_status=$?
42908 grep -v '^ *+' conftest.er1 >conftest.err
42909 rm -f conftest.er1
42910 cat conftest.err >&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } && {
42913 test -z "$ac_c_werror_flag" ||
42914 test ! -s conftest.err
42915 } && test -s conftest.$ac_objext; then
42916 wx_cv_func_gettimeofday_has_2_args=no
42917 else
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42920
42921
42922 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42923 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42924 wx_cv_func_gettimeofday_has_2_args=unknown
42925
42926
42927 fi
42928
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42930
42931 fi
42932
42933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42934
42935 fi
42936 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42937 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42938
42939 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42940 cat >>confdefs.h <<\_ACEOF
42941 #define WX_GETTIMEOFDAY_NO_TZ 1
42942 _ACEOF
42943
42944 fi
42945 fi
42946
42947 if test "$wxUSE_DATETIME" = "yes"; then
42948 { echo "$as_me:$LINENO: checking for strptime" >&5
42949 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42950 if test "${ac_cv_func_strptime+set}" = set; then
42951 echo $ECHO_N "(cached) $ECHO_C" >&6
42952 else
42953 cat >conftest.$ac_ext <<_ACEOF
42954 /* confdefs.h. */
42955 _ACEOF
42956 cat confdefs.h >>conftest.$ac_ext
42957 cat >>conftest.$ac_ext <<_ACEOF
42958 /* end confdefs.h. */
42959 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42961 #define strptime innocuous_strptime
42962
42963 /* System header to define __stub macros and hopefully few prototypes,
42964 which can conflict with char strptime (); below.
42965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42966 <limits.h> exists even on freestanding compilers. */
42967
42968 #ifdef __STDC__
42969 # include <limits.h>
42970 #else
42971 # include <assert.h>
42972 #endif
42973
42974 #undef strptime
42975
42976 /* Override any GCC internal prototype to avoid an error.
42977 Use char because int might match the return type of a GCC
42978 builtin and then its argument prototype would still apply. */
42979 #ifdef __cplusplus
42980 extern "C"
42981 #endif
42982 char strptime ();
42983 /* The GNU C library defines this for functions which it implements
42984 to always fail with ENOSYS. Some functions are actually named
42985 something starting with __ and the normal name is an alias. */
42986 #if defined __stub_strptime || defined __stub___strptime
42987 choke me
42988 #endif
42989
42990 int
42991 main ()
42992 {
42993 return strptime ();
42994 ;
42995 return 0;
42996 }
42997 _ACEOF
42998 rm -f conftest.$ac_objext conftest$ac_exeext
42999 if { (ac_try="$ac_link"
43000 case "(($ac_try" in
43001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43002 *) ac_try_echo=$ac_try;;
43003 esac
43004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43005 (eval "$ac_link") 2>conftest.er1
43006 ac_status=$?
43007 grep -v '^ *+' conftest.er1 >conftest.err
43008 rm -f conftest.er1
43009 cat conftest.err >&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } && {
43012 test -z "$ac_c_werror_flag" ||
43013 test ! -s conftest.err
43014 } && test -s conftest$ac_exeext &&
43015 $as_test_x conftest$ac_exeext; then
43016 ac_cv_func_strptime=yes
43017 else
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.$ac_ext >&5
43020
43021 ac_cv_func_strptime=no
43022 fi
43023
43024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43025 conftest$ac_exeext conftest.$ac_ext
43026 fi
43027 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43028 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43029
43030 if test "$ac_cv_func_strptime" = "yes"; then
43031 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43032 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43033 if test "${wx_cv_func_strptime_decl+set}" = set; then
43034 echo $ECHO_N "(cached) $ECHO_C" >&6
43035 else
43036
43037 ac_ext=cpp
43038 ac_cpp='$CXXCPP $CPPFLAGS'
43039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43042
43043 cat >conftest.$ac_ext <<_ACEOF
43044 /* confdefs.h. */
43045 _ACEOF
43046 cat confdefs.h >>conftest.$ac_ext
43047 cat >>conftest.$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43049
43050 #include <time.h>
43051
43052 int
43053 main ()
43054 {
43055
43056 struct tm t;
43057 strptime("foo", "bar", &t);
43058
43059 ;
43060 return 0;
43061 }
43062 _ACEOF
43063 rm -f conftest.$ac_objext
43064 if { (ac_try="$ac_compile"
43065 case "(($ac_try" in
43066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43067 *) ac_try_echo=$ac_try;;
43068 esac
43069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43070 (eval "$ac_compile") 2>conftest.er1
43071 ac_status=$?
43072 grep -v '^ *+' conftest.er1 >conftest.err
43073 rm -f conftest.er1
43074 cat conftest.err >&5
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); } && {
43077 test -z "$ac_cxx_werror_flag" ||
43078 test ! -s conftest.err
43079 } && test -s conftest.$ac_objext; then
43080 wx_cv_func_strptime_decl=yes
43081 else
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.$ac_ext >&5
43084
43085 wx_cv_func_strptime_decl=no
43086
43087 fi
43088
43089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43090 ac_ext=c
43091 ac_cpp='$CPP $CPPFLAGS'
43092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095
43096
43097
43098 fi
43099 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43100 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43101 fi
43102 if test "$wx_cv_func_strptime_decl" = "yes"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define HAVE_STRPTIME_DECL 1
43105 _ACEOF
43106
43107 else
43108 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43109 fi
43110 if test "$ac_cv_func_strptime" = "yes"; then
43111 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43112 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43113 if test "${wx_cv_func_strptime_ok+set}" = set; then
43114 echo $ECHO_N "(cached) $ECHO_C" >&6
43115 else
43116 if test "$cross_compiling" = yes; then
43117 wx_cv_func_strptime_ok=no
43118
43119 else
43120 cat >conftest.$ac_ext <<_ACEOF
43121
43122 #include <stdlib.h>
43123 #include <time.h>
43124 #include "confdefs.h"
43125
43126 $wx_strptime_decl
43127
43128 int main()
43129 {
43130 struct tm t;
43131 return !!strptime("", "%x", &t);
43132 }
43133
43134 _ACEOF
43135 rm -f conftest$ac_exeext
43136 if { (ac_try="$ac_link"
43137 case "(($ac_try" in
43138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43139 *) ac_try_echo=$ac_try;;
43140 esac
43141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43142 (eval "$ac_link") 2>&5
43143 ac_status=$?
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43146 { (case "(($ac_try" in
43147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43148 *) ac_try_echo=$ac_try;;
43149 esac
43150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43151 (eval "$ac_try") 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; }; then
43155 wx_cv_func_strptime_ok=yes
43156 else
43157 echo "$as_me: program exited with status $ac_status" >&5
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43160
43161 ( exit $ac_status )
43162 wx_cv_func_strptime_ok=no
43163 fi
43164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43165 fi
43166
43167
43168
43169 fi
43170 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43171 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43172
43173 if test "$wx_cv_func_strptime_ok" = "yes"; then
43174 cat >>confdefs.h <<\_ACEOF
43175 #define HAVE_STRPTIME 1
43176 _ACEOF
43177
43178 fi
43179 fi
43180
43181 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43182 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43183 if test "${wx_cv_var_timezone+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 else
43186
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193 cat >conftest.$ac_ext <<_ACEOF
43194 /* confdefs.h. */
43195 _ACEOF
43196 cat confdefs.h >>conftest.$ac_ext
43197 cat >>conftest.$ac_ext <<_ACEOF
43198 /* end confdefs.h. */
43199
43200 #include <time.h>
43201
43202 int
43203 main ()
43204 {
43205
43206 int tz;
43207 tz = timezone;
43208
43209 ;
43210 return 0;
43211 }
43212 _ACEOF
43213 rm -f conftest.$ac_objext
43214 if { (ac_try="$ac_compile"
43215 case "(($ac_try" in
43216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43217 *) ac_try_echo=$ac_try;;
43218 esac
43219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43220 (eval "$ac_compile") 2>conftest.er1
43221 ac_status=$?
43222 grep -v '^ *+' conftest.er1 >conftest.err
43223 rm -f conftest.er1
43224 cat conftest.err >&5
43225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226 (exit $ac_status); } && {
43227 test -z "$ac_cxx_werror_flag" ||
43228 test ! -s conftest.err
43229 } && test -s conftest.$ac_objext; then
43230
43231 wx_cv_var_timezone=timezone
43232
43233 else
43234 echo "$as_me: failed program was:" >&5
43235 sed 's/^/| /' conftest.$ac_ext >&5
43236
43237
43238 cat >conftest.$ac_ext <<_ACEOF
43239 /* confdefs.h. */
43240 _ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244
43245 #include <time.h>
43246
43247 int
43248 main ()
43249 {
43250
43251 int tz;
43252 tz = _timezone;
43253
43254 ;
43255 return 0;
43256 }
43257 _ACEOF
43258 rm -f conftest.$ac_objext
43259 if { (ac_try="$ac_compile"
43260 case "(($ac_try" in
43261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43262 *) ac_try_echo=$ac_try;;
43263 esac
43264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43265 (eval "$ac_compile") 2>conftest.er1
43266 ac_status=$?
43267 grep -v '^ *+' conftest.er1 >conftest.err
43268 rm -f conftest.er1
43269 cat conftest.err >&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } && {
43272 test -z "$ac_cxx_werror_flag" ||
43273 test ! -s conftest.err
43274 } && test -s conftest.$ac_objext; then
43275
43276 wx_cv_var_timezone=_timezone
43277
43278 else
43279 echo "$as_me: failed program was:" >&5
43280 sed 's/^/| /' conftest.$ac_ext >&5
43281
43282
43283 cat >conftest.$ac_ext <<_ACEOF
43284 /* confdefs.h. */
43285 _ACEOF
43286 cat confdefs.h >>conftest.$ac_ext
43287 cat >>conftest.$ac_ext <<_ACEOF
43288 /* end confdefs.h. */
43289
43290 #include <time.h>
43291
43292 int
43293 main ()
43294 {
43295
43296 int tz;
43297 tz = __timezone;
43298
43299 ;
43300 return 0;
43301 }
43302 _ACEOF
43303 rm -f conftest.$ac_objext
43304 if { (ac_try="$ac_compile"
43305 case "(($ac_try" in
43306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43307 *) ac_try_echo=$ac_try;;
43308 esac
43309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43310 (eval "$ac_compile") 2>conftest.er1
43311 ac_status=$?
43312 grep -v '^ *+' conftest.er1 >conftest.err
43313 rm -f conftest.er1
43314 cat conftest.err >&5
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); } && {
43317 test -z "$ac_cxx_werror_flag" ||
43318 test ! -s conftest.err
43319 } && test -s conftest.$ac_objext; then
43320
43321 wx_cv_var_timezone=__timezone
43322
43323 else
43324 echo "$as_me: failed program was:" >&5
43325 sed 's/^/| /' conftest.$ac_ext >&5
43326
43327
43328 if test "$USE_DOS" = 0 ; then
43329 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43330 echo "$as_me: WARNING: no timezone variable" >&2;}
43331 fi
43332
43333
43334 fi
43335
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337
43338
43339 fi
43340
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342
43343
43344 fi
43345
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352
43353
43354
43355 fi
43356 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43357 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43358
43359 if test "x$wx_cv_var_timezone" != x ; then
43360 cat >>confdefs.h <<_ACEOF
43361 #define WX_TIMEZONE $wx_cv_var_timezone
43362 _ACEOF
43363
43364 fi
43365
43366
43367 for ac_func in localtime
43368 do
43369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43373 echo $ECHO_N "(cached) $ECHO_C" >&6
43374 else
43375 cat >conftest.$ac_ext <<_ACEOF
43376 /* confdefs.h. */
43377 _ACEOF
43378 cat confdefs.h >>conftest.$ac_ext
43379 cat >>conftest.$ac_ext <<_ACEOF
43380 /* end confdefs.h. */
43381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43383 #define $ac_func innocuous_$ac_func
43384
43385 /* System header to define __stub macros and hopefully few prototypes,
43386 which can conflict with char $ac_func (); below.
43387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43388 <limits.h> exists even on freestanding compilers. */
43389
43390 #ifdef __STDC__
43391 # include <limits.h>
43392 #else
43393 # include <assert.h>
43394 #endif
43395
43396 #undef $ac_func
43397
43398 /* Override any GCC internal prototype to avoid an error.
43399 Use char because int might match the return type of a GCC
43400 builtin and then its argument prototype would still apply. */
43401 #ifdef __cplusplus
43402 extern "C"
43403 #endif
43404 char $ac_func ();
43405 /* The GNU C library defines this for functions which it implements
43406 to always fail with ENOSYS. Some functions are actually named
43407 something starting with __ and the normal name is an alias. */
43408 #if defined __stub_$ac_func || defined __stub___$ac_func
43409 choke me
43410 #endif
43411
43412 int
43413 main ()
43414 {
43415 return $ac_func ();
43416 ;
43417 return 0;
43418 }
43419 _ACEOF
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (ac_try="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43424 *) ac_try_echo=$ac_try;;
43425 esac
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43428 ac_status=$?
43429 grep -v '^ *+' conftest.er1 >conftest.err
43430 rm -f conftest.er1
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } && {
43434 test -z "$ac_c_werror_flag" ||
43435 test ! -s conftest.err
43436 } && test -s conftest$ac_exeext &&
43437 $as_test_x conftest$ac_exeext; then
43438 eval "$as_ac_var=yes"
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43442
43443 eval "$as_ac_var=no"
43444 fi
43445
43446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43447 conftest$ac_exeext conftest.$ac_ext
43448 fi
43449 ac_res=`eval echo '${'$as_ac_var'}'`
43450 { echo "$as_me:$LINENO: result: $ac_res" >&5
43451 echo "${ECHO_T}$ac_res" >&6; }
43452 if test `eval echo '${'$as_ac_var'}'` = yes; then
43453 cat >>confdefs.h <<_ACEOF
43454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43455 _ACEOF
43456
43457 fi
43458 done
43459
43460
43461 if test "$ac_cv_func_localtime" = "yes"; then
43462 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43463 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43464 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43465 echo $ECHO_N "(cached) $ECHO_C" >&6
43466 else
43467
43468 cat >conftest.$ac_ext <<_ACEOF
43469 /* confdefs.h. */
43470 _ACEOF
43471 cat confdefs.h >>conftest.$ac_ext
43472 cat >>conftest.$ac_ext <<_ACEOF
43473 /* end confdefs.h. */
43474
43475 #include <time.h>
43476
43477 int
43478 main ()
43479 {
43480
43481 struct tm tm;
43482 tm.tm_gmtoff++;
43483
43484 ;
43485 return 0;
43486 }
43487 _ACEOF
43488 rm -f conftest.$ac_objext
43489 if { (ac_try="$ac_compile"
43490 case "(($ac_try" in
43491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43492 *) ac_try_echo=$ac_try;;
43493 esac
43494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43495 (eval "$ac_compile") 2>conftest.er1
43496 ac_status=$?
43497 grep -v '^ *+' conftest.er1 >conftest.err
43498 rm -f conftest.er1
43499 cat conftest.err >&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); } && {
43502 test -z "$ac_c_werror_flag" ||
43503 test ! -s conftest.err
43504 } && test -s conftest.$ac_objext; then
43505
43506 wx_cv_struct_tm_has_gmtoff=yes
43507
43508 else
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43511
43512 wx_cv_struct_tm_has_gmtoff=no
43513
43514 fi
43515
43516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43517
43518 fi
43519 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43520 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43521 fi
43522
43523 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define WX_GMTOFF_IN_TM 1
43526 _ACEOF
43527
43528 fi
43529
43530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43531 fi
43532
43533
43534 if test "$wxUSE_SOCKETS" = "yes"; then
43535 if test "$wxUSE_MGL" = 1; then
43536 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43537 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43538 wxUSE_SOCKETS="no"
43539 fi
43540 fi
43541
43542 if test "$wxUSE_SOCKETS" = "yes"; then
43543 if test "$TOOLKIT" != "MSW"; then
43544 { echo "$as_me:$LINENO: checking for socket" >&5
43545 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43546 if test "${ac_cv_func_socket+set}" = set; then
43547 echo $ECHO_N "(cached) $ECHO_C" >&6
43548 else
43549 cat >conftest.$ac_ext <<_ACEOF
43550 /* confdefs.h. */
43551 _ACEOF
43552 cat confdefs.h >>conftest.$ac_ext
43553 cat >>conftest.$ac_ext <<_ACEOF
43554 /* end confdefs.h. */
43555 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43557 #define socket innocuous_socket
43558
43559 /* System header to define __stub macros and hopefully few prototypes,
43560 which can conflict with char socket (); below.
43561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43562 <limits.h> exists even on freestanding compilers. */
43563
43564 #ifdef __STDC__
43565 # include <limits.h>
43566 #else
43567 # include <assert.h>
43568 #endif
43569
43570 #undef socket
43571
43572 /* Override any GCC internal prototype to avoid an error.
43573 Use char because int might match the return type of a GCC
43574 builtin and then its argument prototype would still apply. */
43575 #ifdef __cplusplus
43576 extern "C"
43577 #endif
43578 char socket ();
43579 /* The GNU C library defines this for functions which it implements
43580 to always fail with ENOSYS. Some functions are actually named
43581 something starting with __ and the normal name is an alias. */
43582 #if defined __stub_socket || defined __stub___socket
43583 choke me
43584 #endif
43585
43586 int
43587 main ()
43588 {
43589 return socket ();
43590 ;
43591 return 0;
43592 }
43593 _ACEOF
43594 rm -f conftest.$ac_objext conftest$ac_exeext
43595 if { (ac_try="$ac_link"
43596 case "(($ac_try" in
43597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43598 *) ac_try_echo=$ac_try;;
43599 esac
43600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43601 (eval "$ac_link") 2>conftest.er1
43602 ac_status=$?
43603 grep -v '^ *+' conftest.er1 >conftest.err
43604 rm -f conftest.er1
43605 cat conftest.err >&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); } && {
43608 test -z "$ac_c_werror_flag" ||
43609 test ! -s conftest.err
43610 } && test -s conftest$ac_exeext &&
43611 $as_test_x conftest$ac_exeext; then
43612 ac_cv_func_socket=yes
43613 else
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43616
43617 ac_cv_func_socket=no
43618 fi
43619
43620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43621 conftest$ac_exeext conftest.$ac_ext
43622 fi
43623 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43624 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43625 if test $ac_cv_func_socket = yes; then
43626 :
43627 else
43628
43629 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43630 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43631 if test "${ac_cv_lib_socket_socket+set}" = set; then
43632 echo $ECHO_N "(cached) $ECHO_C" >&6
43633 else
43634 ac_check_lib_save_LIBS=$LIBS
43635 LIBS="-lsocket $LIBS"
43636 cat >conftest.$ac_ext <<_ACEOF
43637 /* confdefs.h. */
43638 _ACEOF
43639 cat confdefs.h >>conftest.$ac_ext
43640 cat >>conftest.$ac_ext <<_ACEOF
43641 /* end confdefs.h. */
43642
43643 /* Override any GCC internal prototype to avoid an error.
43644 Use char because int might match the return type of a GCC
43645 builtin and then its argument prototype would still apply. */
43646 #ifdef __cplusplus
43647 extern "C"
43648 #endif
43649 char socket ();
43650 int
43651 main ()
43652 {
43653 return socket ();
43654 ;
43655 return 0;
43656 }
43657 _ACEOF
43658 rm -f conftest.$ac_objext conftest$ac_exeext
43659 if { (ac_try="$ac_link"
43660 case "(($ac_try" in
43661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43662 *) ac_try_echo=$ac_try;;
43663 esac
43664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43665 (eval "$ac_link") 2>conftest.er1
43666 ac_status=$?
43667 grep -v '^ *+' conftest.er1 >conftest.err
43668 rm -f conftest.er1
43669 cat conftest.err >&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); } && {
43672 test -z "$ac_c_werror_flag" ||
43673 test ! -s conftest.err
43674 } && test -s conftest$ac_exeext &&
43675 $as_test_x conftest$ac_exeext; then
43676 ac_cv_lib_socket_socket=yes
43677 else
43678 echo "$as_me: failed program was:" >&5
43679 sed 's/^/| /' conftest.$ac_ext >&5
43680
43681 ac_cv_lib_socket_socket=no
43682 fi
43683
43684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43685 conftest$ac_exeext conftest.$ac_ext
43686 LIBS=$ac_check_lib_save_LIBS
43687 fi
43688 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43689 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43690 if test $ac_cv_lib_socket_socket = yes; then
43691 if test "$INET_LINK" != " -lsocket"; then
43692 INET_LINK="$INET_LINK -lsocket"
43693 fi
43694 else
43695
43696 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43697 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43698 wxUSE_SOCKETS=no
43699
43700
43701 fi
43702
43703
43704
43705 fi
43706
43707 fi
43708 fi
43709
43710 if test "$wxUSE_SOCKETS" = "yes" ; then
43711 if test "$TOOLKIT" != "MSW"; then
43712 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43713 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43714 if test "${wx_cv_type_getsockname3+set}" = set; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 else
43717
43718 ac_ext=cpp
43719 ac_cpp='$CXXCPP $CPPFLAGS'
43720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43723
43724 cat >conftest.$ac_ext <<_ACEOF
43725 /* confdefs.h. */
43726 _ACEOF
43727 cat confdefs.h >>conftest.$ac_ext
43728 cat >>conftest.$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43730
43731 #include <sys/types.h>
43732 #include <sys/socket.h>
43733
43734 int
43735 main ()
43736 {
43737
43738 socklen_t len;
43739 getsockname(0, 0, &len);
43740
43741 ;
43742 return 0;
43743 }
43744 _ACEOF
43745 rm -f conftest.$ac_objext
43746 if { (ac_try="$ac_compile"
43747 case "(($ac_try" in
43748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43749 *) ac_try_echo=$ac_try;;
43750 esac
43751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43752 (eval "$ac_compile") 2>conftest.er1
43753 ac_status=$?
43754 grep -v '^ *+' conftest.er1 >conftest.err
43755 rm -f conftest.er1
43756 cat conftest.err >&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); } && {
43759 test -z "$ac_cxx_werror_flag" ||
43760 test ! -s conftest.err
43761 } && test -s conftest.$ac_objext; then
43762 wx_cv_type_getsockname3=socklen_t
43763 else
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.$ac_ext >&5
43766
43767
43768 CFLAGS_OLD="$CFLAGS"
43769 if test "$GCC" = yes ; then
43770 CFLAGS="-Werror $CFLAGS"
43771 fi
43772
43773 cat >conftest.$ac_ext <<_ACEOF
43774 /* confdefs.h. */
43775 _ACEOF
43776 cat confdefs.h >>conftest.$ac_ext
43777 cat >>conftest.$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43779
43780 #include <sys/types.h>
43781 #include <sys/socket.h>
43782
43783 int
43784 main ()
43785 {
43786
43787 size_t len;
43788 getsockname(0, 0, &len);
43789
43790 ;
43791 return 0;
43792 }
43793 _ACEOF
43794 rm -f conftest.$ac_objext
43795 if { (ac_try="$ac_compile"
43796 case "(($ac_try" in
43797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43798 *) ac_try_echo=$ac_try;;
43799 esac
43800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43801 (eval "$ac_compile") 2>conftest.er1
43802 ac_status=$?
43803 grep -v '^ *+' conftest.er1 >conftest.err
43804 rm -f conftest.er1
43805 cat conftest.err >&5
43806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43807 (exit $ac_status); } && {
43808 test -z "$ac_cxx_werror_flag" ||
43809 test ! -s conftest.err
43810 } && test -s conftest.$ac_objext; then
43811 wx_cv_type_getsockname3=size_t
43812 else
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43815
43816 cat >conftest.$ac_ext <<_ACEOF
43817 /* confdefs.h. */
43818 _ACEOF
43819 cat confdefs.h >>conftest.$ac_ext
43820 cat >>conftest.$ac_ext <<_ACEOF
43821 /* end confdefs.h. */
43822
43823 #include <sys/types.h>
43824 #include <sys/socket.h>
43825
43826 int
43827 main ()
43828 {
43829
43830 int len;
43831 getsockname(0, 0, &len);
43832
43833 ;
43834 return 0;
43835 }
43836 _ACEOF
43837 rm -f conftest.$ac_objext
43838 if { (ac_try="$ac_compile"
43839 case "(($ac_try" in
43840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43841 *) ac_try_echo=$ac_try;;
43842 esac
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_compile") 2>conftest.er1
43845 ac_status=$?
43846 grep -v '^ *+' conftest.er1 >conftest.err
43847 rm -f conftest.er1
43848 cat conftest.err >&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } && {
43851 test -z "$ac_cxx_werror_flag" ||
43852 test ! -s conftest.err
43853 } && test -s conftest.$ac_objext; then
43854 wx_cv_type_getsockname3=int
43855 else
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.$ac_ext >&5
43858
43859 wx_cv_type_getsockname3=unknown
43860
43861 fi
43862
43863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43864
43865 fi
43866
43867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43868
43869 CFLAGS="$CFLAGS_OLD"
43870
43871
43872 fi
43873
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875 ac_ext=c
43876 ac_cpp='$CPP $CPPFLAGS'
43877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43880
43881
43882 fi
43883 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43884 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43885
43886 if test "$wx_cv_type_getsockname3" = "unknown"; then
43887 wxUSE_SOCKETS=no
43888 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43889 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43890 else
43891 cat >>confdefs.h <<_ACEOF
43892 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43893 _ACEOF
43894
43895 fi
43896 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43897 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43898 if test "${wx_cv_type_getsockopt5+set}" = set; then
43899 echo $ECHO_N "(cached) $ECHO_C" >&6
43900 else
43901
43902 ac_ext=cpp
43903 ac_cpp='$CXXCPP $CPPFLAGS'
43904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43907
43908 cat >conftest.$ac_ext <<_ACEOF
43909 /* confdefs.h. */
43910 _ACEOF
43911 cat confdefs.h >>conftest.$ac_ext
43912 cat >>conftest.$ac_ext <<_ACEOF
43913 /* end confdefs.h. */
43914
43915 #include <sys/types.h>
43916 #include <sys/socket.h>
43917
43918 int
43919 main ()
43920 {
43921
43922 socklen_t len;
43923 getsockopt(0, 0, 0, 0, &len);
43924
43925 ;
43926 return 0;
43927 }
43928 _ACEOF
43929 rm -f conftest.$ac_objext
43930 if { (ac_try="$ac_compile"
43931 case "(($ac_try" in
43932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43933 *) ac_try_echo=$ac_try;;
43934 esac
43935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43936 (eval "$ac_compile") 2>conftest.er1
43937 ac_status=$?
43938 grep -v '^ *+' conftest.er1 >conftest.err
43939 rm -f conftest.er1
43940 cat conftest.err >&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); } && {
43943 test -z "$ac_cxx_werror_flag" ||
43944 test ! -s conftest.err
43945 } && test -s conftest.$ac_objext; then
43946 wx_cv_type_getsockopt5=socklen_t
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43950
43951
43952 cat >conftest.$ac_ext <<_ACEOF
43953 /* confdefs.h. */
43954 _ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43961
43962 int
43963 main ()
43964 {
43965
43966 size_t len;
43967 getsockopt(0, 0, 0, 0, &len);
43968
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 rm -f conftest.$ac_objext
43974 if { (ac_try="$ac_compile"
43975 case "(($ac_try" in
43976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43977 *) ac_try_echo=$ac_try;;
43978 esac
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_compile") 2>conftest.er1
43981 ac_status=$?
43982 grep -v '^ *+' conftest.er1 >conftest.err
43983 rm -f conftest.er1
43984 cat conftest.err >&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_cxx_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest.$ac_objext; then
43990 wx_cv_type_getsockopt5=size_t
43991 else
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.$ac_ext >&5
43994
43995 cat >conftest.$ac_ext <<_ACEOF
43996 /* confdefs.h. */
43997 _ACEOF
43998 cat confdefs.h >>conftest.$ac_ext
43999 cat >>conftest.$ac_ext <<_ACEOF
44000 /* end confdefs.h. */
44001
44002 #include <sys/types.h>
44003 #include <sys/socket.h>
44004
44005 int
44006 main ()
44007 {
44008
44009 int len;
44010 getsockopt(0, 0, 0, 0, &len);
44011
44012 ;
44013 return 0;
44014 }
44015 _ACEOF
44016 rm -f conftest.$ac_objext
44017 if { (ac_try="$ac_compile"
44018 case "(($ac_try" in
44019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44020 *) ac_try_echo=$ac_try;;
44021 esac
44022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44023 (eval "$ac_compile") 2>conftest.er1
44024 ac_status=$?
44025 grep -v '^ *+' conftest.er1 >conftest.err
44026 rm -f conftest.er1
44027 cat conftest.err >&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } && {
44030 test -z "$ac_cxx_werror_flag" ||
44031 test ! -s conftest.err
44032 } && test -s conftest.$ac_objext; then
44033 wx_cv_type_getsockopt5=int
44034 else
44035 echo "$as_me: failed program was:" >&5
44036 sed 's/^/| /' conftest.$ac_ext >&5
44037
44038 wx_cv_type_getsockopt5=unknown
44039
44040 fi
44041
44042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44043
44044 fi
44045
44046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44047
44048
44049 fi
44050
44051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44052 ac_ext=c
44053 ac_cpp='$CPP $CPPFLAGS'
44054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057
44058
44059 fi
44060 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44061 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44062
44063 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44064 wxUSE_SOCKETS=no
44065 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44066 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44067 else
44068 cat >>confdefs.h <<_ACEOF
44069 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44070 _ACEOF
44071
44072 fi
44073 fi
44074 fi
44075
44076 if test "$wxUSE_SOCKETS" = "yes" ; then
44077 if test "$wxUSE_IPV6" = "yes"; then
44078 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44079 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44080 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44081 echo $ECHO_N "(cached) $ECHO_C" >&6
44082 else
44083
44084 cat >conftest.$ac_ext <<_ACEOF
44085 /* confdefs.h. */
44086 _ACEOF
44087 cat confdefs.h >>conftest.$ac_ext
44088 cat >>conftest.$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090
44091 #include <sys/types.h>
44092 #include <sys/socket.h>
44093 #include <netinet/in.h>
44094
44095 int
44096 main ()
44097 {
44098
44099 struct sockaddr_in6 sa6;
44100
44101 ;
44102 return 0;
44103 }
44104 _ACEOF
44105 rm -f conftest.$ac_objext
44106 if { (ac_try="$ac_compile"
44107 case "(($ac_try" in
44108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44109 *) ac_try_echo=$ac_try;;
44110 esac
44111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44112 (eval "$ac_compile") 2>conftest.er1
44113 ac_status=$?
44114 grep -v '^ *+' conftest.er1 >conftest.err
44115 rm -f conftest.er1
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } && {
44119 test -z "$ac_c_werror_flag" ||
44120 test ! -s conftest.err
44121 } && test -s conftest.$ac_objext; then
44122 wx_cv_type_sockaddr_in6=yes
44123 else
44124 echo "$as_me: failed program was:" >&5
44125 sed 's/^/| /' conftest.$ac_ext >&5
44126
44127 wx_cv_type_sockaddr_in6=no
44128
44129 fi
44130
44131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44132
44133
44134 fi
44135 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44136 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44137
44138 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_IPV6 1
44141 _ACEOF
44142
44143 else
44144 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44145 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44146 fi
44147 fi
44148
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_SOCKETS 1
44151 _ACEOF
44152
44153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44154 fi
44155
44156 if test "$wxUSE_PROTOCOL" = "yes"; then
44157 if test "$wxUSE_SOCKETS" != "yes"; then
44158 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44159 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44160 wxUSE_PROTOCOL=no
44161 fi
44162 fi
44163
44164 if test "$wxUSE_PROTOCOL" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_PROTOCOL 1
44167 _ACEOF
44168
44169
44170 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_PROTOCOL_HTTP 1
44173 _ACEOF
44174
44175 fi
44176 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_PROTOCOL_FTP 1
44179 _ACEOF
44180
44181 fi
44182 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_PROTOCOL_FILE 1
44185 _ACEOF
44186
44187 fi
44188 else
44189 if test "$wxUSE_FS_INET" = "yes"; then
44190 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44191 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44192 wxUSE_FS_INET="no"
44193 fi
44194 fi
44195
44196 if test "$wxUSE_URL" = "yes"; then
44197 if test "$wxUSE_PROTOCOL" != "yes"; then
44198 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44199 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44200 wxUSE_URL=no
44201 fi
44202 if test "$wxUSE_URL" = "yes"; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_URL 1
44205 _ACEOF
44206
44207 fi
44208 fi
44209
44210 if test "$wxUSE_VARIANT" = "yes"; then
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_VARIANT 1
44213 _ACEOF
44214
44215 fi
44216
44217 if test "$wxUSE_FS_INET" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_FS_INET 1
44220 _ACEOF
44221
44222 fi
44223
44224
44225 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44226 wxUSE_JOYSTICK=no
44227
44228 if test "$TOOLKIT" = "MSW"; then
44229 wxUSE_JOYSTICK=yes
44230
44231 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44232 if test "$USE_DARWIN" = 1; then
44233 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44234 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44235 ac_ext=cpp
44236 ac_cpp='$CXXCPP $CPPFLAGS'
44237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44240
44241 cat >conftest.$ac_ext <<_ACEOF
44242 /* confdefs.h. */
44243 _ACEOF
44244 cat confdefs.h >>conftest.$ac_ext
44245 cat >>conftest.$ac_ext <<_ACEOF
44246 /* end confdefs.h. */
44247 #include <IOKit/hid/IOHIDLib.h>
44248 int
44249 main ()
44250 {
44251 IOHIDQueueInterface *qi = NULL;
44252 IOHIDCallbackFunction cb = NULL;
44253 qi->setEventCallout(NULL, cb, NULL, NULL);
44254 ;
44255 return 0;
44256 }
44257 _ACEOF
44258 rm -f conftest.$ac_objext
44259 if { (ac_try="$ac_compile"
44260 case "(($ac_try" in
44261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44262 *) ac_try_echo=$ac_try;;
44263 esac
44264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44265 (eval "$ac_compile") 2>conftest.er1
44266 ac_status=$?
44267 grep -v '^ *+' conftest.er1 >conftest.err
44268 rm -f conftest.er1
44269 cat conftest.err >&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); } && {
44272 test -z "$ac_cxx_werror_flag" ||
44273 test ! -s conftest.err
44274 } && test -s conftest.$ac_objext; then
44275 wxUSE_JOYSTICK=yes
44276
44277 else
44278 echo "$as_me: failed program was:" >&5
44279 sed 's/^/| /' conftest.$ac_ext >&5
44280
44281
44282 fi
44283
44284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44285 ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44290
44291 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44292 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44293 fi
44294
44295 else
44296 if test "$wxUSE_MGL" != 1; then
44297
44298 for ac_header in linux/joystick.h
44299 do
44300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44304 echo $ECHO_N "(cached) $ECHO_C" >&6
44305 else
44306 cat >conftest.$ac_ext <<_ACEOF
44307 /* confdefs.h. */
44308 _ACEOF
44309 cat confdefs.h >>conftest.$ac_ext
44310 cat >>conftest.$ac_ext <<_ACEOF
44311 /* end confdefs.h. */
44312 $ac_includes_default
44313
44314 #include <$ac_header>
44315 _ACEOF
44316 rm -f conftest.$ac_objext
44317 if { (ac_try="$ac_compile"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44321 esac
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_compile") 2>conftest.er1
44324 ac_status=$?
44325 grep -v '^ *+' conftest.er1 >conftest.err
44326 rm -f conftest.er1
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest.$ac_objext; then
44333 eval "$as_ac_Header=yes"
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44337
44338 eval "$as_ac_Header=no"
44339 fi
44340
44341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44342 fi
44343 ac_res=`eval echo '${'$as_ac_Header'}'`
44344 { echo "$as_me:$LINENO: result: $ac_res" >&5
44345 echo "${ECHO_T}$ac_res" >&6; }
44346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44347 cat >>confdefs.h <<_ACEOF
44348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44349 _ACEOF
44350 wxUSE_JOYSTICK=yes
44351 fi
44352
44353 done
44354
44355 fi
44356 fi
44357
44358 if test "$wxUSE_JOYSTICK" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_JOYSTICK 1
44361 _ACEOF
44362
44363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44364 else
44365 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44366 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44367 fi
44368 fi
44369
44370
44371
44372 if test "$wxUSE_FONTENUM" = "yes" ; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_FONTENUM 1
44375 _ACEOF
44376
44377 fi
44378
44379 if test "$wxUSE_FONTMAP" = "yes" ; then
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_FONTMAP 1
44382 _ACEOF
44383
44384 fi
44385
44386 if test "$wxUSE_UNICODE" = "yes" ; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_UNICODE 1
44389 _ACEOF
44390
44391
44392 if test "$USE_WIN32" != 1; then
44393 wxUSE_UNICODE_MSLU=no
44394 fi
44395
44396 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44397 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44398 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44399 if test "${ac_cv_lib_unicows_main+set}" = set; then
44400 echo $ECHO_N "(cached) $ECHO_C" >&6
44401 else
44402 ac_check_lib_save_LIBS=$LIBS
44403 LIBS="-lunicows $LIBS"
44404 cat >conftest.$ac_ext <<_ACEOF
44405 /* confdefs.h. */
44406 _ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44410
44411
44412 int
44413 main ()
44414 {
44415 return main ();
44416 ;
44417 return 0;
44418 }
44419 _ACEOF
44420 rm -f conftest.$ac_objext conftest$ac_exeext
44421 if { (ac_try="$ac_link"
44422 case "(($ac_try" in
44423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44425 esac
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_link") 2>conftest.er1
44428 ac_status=$?
44429 grep -v '^ *+' conftest.er1 >conftest.err
44430 rm -f conftest.er1
44431 cat conftest.err >&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } && {
44434 test -z "$ac_c_werror_flag" ||
44435 test ! -s conftest.err
44436 } && test -s conftest$ac_exeext &&
44437 $as_test_x conftest$ac_exeext; then
44438 ac_cv_lib_unicows_main=yes
44439 else
44440 echo "$as_me: failed program was:" >&5
44441 sed 's/^/| /' conftest.$ac_ext >&5
44442
44443 ac_cv_lib_unicows_main=no
44444 fi
44445
44446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44447 conftest$ac_exeext conftest.$ac_ext
44448 LIBS=$ac_check_lib_save_LIBS
44449 fi
44450 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44451 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44452 if test $ac_cv_lib_unicows_main = yes; then
44453
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_UNICODE_MSLU 1
44456 _ACEOF
44457
44458
44459 else
44460
44461 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44462 Applications will only run on Windows NT/2000/XP!" >&5
44463 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44464 Applications will only run on Windows NT/2000/XP!" >&2;}
44465 wxUSE_UNICODE_MSLU=no
44466
44467 fi
44468
44469 fi
44470 fi
44471
44472 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44473 cat >>confdefs.h <<\_ACEOF
44474 #define wxUSE_UNICODE_UTF8 1
44475 _ACEOF
44476
44477
44478 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44479 cat >>confdefs.h <<\_ACEOF
44480 #define wxUSE_UTF8_LOCALE_ONLY 1
44481 _ACEOF
44482
44483 fi
44484 fi
44485
44486
44487 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44488 cat >>confdefs.h <<\_ACEOF
44489 #define wxUSE_CONSTRAINTS 1
44490 _ACEOF
44491
44492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44493 fi
44494
44495 if test "$wxUSE_MDI" = "yes"; then
44496 cat >>confdefs.h <<\_ACEOF
44497 #define wxUSE_MDI 1
44498 _ACEOF
44499
44500
44501 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_MDI_ARCHITECTURE 1
44504 _ACEOF
44505
44506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44507 fi
44508 fi
44509
44510 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44511 cat >>confdefs.h <<\_ACEOF
44512 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44513 _ACEOF
44514
44515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44516 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44518 fi
44519 fi
44520
44521 if test "$wxUSE_HELP" = "yes"; then
44522 cat >>confdefs.h <<\_ACEOF
44523 #define wxUSE_HELP 1
44524 _ACEOF
44525
44526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44527
44528 if test "$wxUSE_MSW" = 1; then
44529 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_MS_HTML_HELP 1
44532 _ACEOF
44533
44534 fi
44535 fi
44536
44537 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44538 if test "$wxUSE_HTML" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_WXHTML_HELP 1
44541 _ACEOF
44542
44543 else
44544 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44545 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44546 wxUSE_WXHTML_HELP=no
44547 fi
44548 fi
44549 fi
44550
44551 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44552 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44553 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44554 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44555 else
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_PRINTING_ARCHITECTURE 1
44558 _ACEOF
44559
44560 fi
44561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44562 fi
44563
44564 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44565 cat >>confdefs.h <<\_ACEOF
44566 #define wxUSE_POSTSCRIPT 1
44567 _ACEOF
44568
44569 fi
44570
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44573 _ACEOF
44574
44575
44576 if test "$wxUSE_SVG" = "yes"; then
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_SVG 1
44579 _ACEOF
44580
44581 fi
44582
44583
44584 if test "$wxUSE_METAFILE" = "yes"; then
44585 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44586 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44587 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44588 wxUSE_METAFILE=no
44589 fi
44590 fi
44591
44592
44593 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44594 -o "$wxUSE_CLIPBOARD" = "yes" \
44595 -o "$wxUSE_OLE" = "yes" \
44596 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44597 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44598 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44599 if test "${ac_cv_header_ole2_h+set}" = set; then
44600 echo $ECHO_N "(cached) $ECHO_C" >&6
44601 else
44602 cat >conftest.$ac_ext <<_ACEOF
44603 /* confdefs.h. */
44604 _ACEOF
44605 cat confdefs.h >>conftest.$ac_ext
44606 cat >>conftest.$ac_ext <<_ACEOF
44607 /* end confdefs.h. */
44608
44609
44610 #include <ole2.h>
44611 _ACEOF
44612 rm -f conftest.$ac_objext
44613 if { (ac_try="$ac_compile"
44614 case "(($ac_try" in
44615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44616 *) ac_try_echo=$ac_try;;
44617 esac
44618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44619 (eval "$ac_compile") 2>conftest.er1
44620 ac_status=$?
44621 grep -v '^ *+' conftest.er1 >conftest.err
44622 rm -f conftest.er1
44623 cat conftest.err >&5
44624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625 (exit $ac_status); } && {
44626 test -z "$ac_c_werror_flag" ||
44627 test ! -s conftest.err
44628 } && test -s conftest.$ac_objext; then
44629 ac_cv_header_ole2_h=yes
44630 else
44631 echo "$as_me: failed program was:" >&5
44632 sed 's/^/| /' conftest.$ac_ext >&5
44633
44634 ac_cv_header_ole2_h=no
44635 fi
44636
44637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44638 fi
44639 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44640 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44641
44642
44643
44644 if test "$ac_cv_header_ole2_h" = "yes" ; then
44645 if test "$GCC" = yes ; then
44646 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44647 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44648 cat >conftest.$ac_ext <<_ACEOF
44649 /* confdefs.h. */
44650 _ACEOF
44651 cat confdefs.h >>conftest.$ac_ext
44652 cat >>conftest.$ac_ext <<_ACEOF
44653 /* end confdefs.h. */
44654 #include <windows.h>
44655 #include <ole2.h>
44656 int
44657 main ()
44658 {
44659
44660 ;
44661 return 0;
44662 }
44663 _ACEOF
44664 rm -f conftest.$ac_objext
44665 if { (ac_try="$ac_compile"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44668 *) ac_try_echo=$ac_try;;
44669 esac
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_compile") 2>conftest.er1
44672 ac_status=$?
44673 grep -v '^ *+' conftest.er1 >conftest.err
44674 rm -f conftest.er1
44675 cat conftest.err >&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } && {
44678 test -z "$ac_c_werror_flag" ||
44679 test ! -s conftest.err
44680 } && test -s conftest.$ac_objext; then
44681 { echo "$as_me:$LINENO: result: no" >&5
44682 echo "${ECHO_T}no" >&6; }
44683 else
44684 echo "$as_me: failed program was:" >&5
44685 sed 's/^/| /' conftest.$ac_ext >&5
44686
44687 { echo "$as_me:$LINENO: result: yes" >&5
44688 echo "${ECHO_T}yes" >&6; }
44689 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44690 fi
44691
44692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44693 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44694 if test "$wxUSE_OLE" = "yes" ; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_OLE 1
44697 _ACEOF
44698
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_OLE_AUTOMATION 1
44701 _ACEOF
44702
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_ACTIVEX 1
44705 _ACEOF
44706
44707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44708 fi
44709 fi
44710
44711 if test "$wxUSE_DATAOBJ" = "yes" ; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_DATAOBJ 1
44714 _ACEOF
44715
44716 fi
44717 else
44718 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44719 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44720
44721 wxUSE_CLIPBOARD=no
44722 wxUSE_DRAG_AND_DROP=no
44723 wxUSE_DATAOBJ=no
44724 wxUSE_OLE=no
44725 fi
44726
44727 if test "$wxUSE_METAFILE" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_METAFILE 1
44730 _ACEOF
44731
44732
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_ENH_METAFILE 1
44735 _ACEOF
44736
44737 fi
44738 fi
44739
44740 if test "$wxUSE_IPC" = "yes"; then
44741 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44742 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44743 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44744 wxUSE_IPC=no
44745 fi
44746
44747 if test "$wxUSE_IPC" = "yes"; then
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_IPC 1
44750 _ACEOF
44751
44752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44753 fi
44754 fi
44755
44756 if test "$wxUSE_DATAOBJ" = "yes"; then
44757 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44758 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44759 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44760 wxUSE_DATAOBJ=no
44761 else
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_DATAOBJ 1
44764 _ACEOF
44765
44766 fi
44767 else
44768 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44769 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44770 wxUSE_CLIPBOARD=no
44771 wxUSE_DRAG_AND_DROP=no
44772 fi
44773
44774 if test "$wxUSE_CLIPBOARD" = "yes"; then
44775 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44776 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44777 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44778 wxUSE_CLIPBOARD=no
44779 fi
44780
44781 if test "$wxUSE_CLIPBOARD" = "yes"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_CLIPBOARD 1
44784 _ACEOF
44785
44786 fi
44787 fi
44788
44789 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44790 if test "$wxUSE_GTK" = 1; then
44791 if test "$WXGTK12" != 1; then
44792 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44793 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44794 wxUSE_DRAG_AND_DROP=no
44795 fi
44796 fi
44797
44798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44799 "$wxUSE_DFB" = 1; then
44800 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44801 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44802 wxUSE_DRAG_AND_DROP=no
44803 fi
44804
44805 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_DRAG_AND_DROP 1
44808 _ACEOF
44809
44810 fi
44811
44812 fi
44813
44814 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44816 fi
44817
44818 if test "$wxUSE_SPLINES" = "yes" ; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_SPLINES 1
44821 _ACEOF
44822
44823 fi
44824
44825 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_MOUSEWHEEL 1
44828 _ACEOF
44829
44830 fi
44831
44832
44833 USES_CONTROLS=0
44834 if test "$wxUSE_CONTROLS" = "yes"; then
44835 USES_CONTROLS=1
44836 fi
44837
44838 if test "$wxUSE_ACCEL" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_ACCEL 1
44841 _ACEOF
44842
44843 USES_CONTROLS=1
44844 fi
44845
44846 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_ANIMATIONCTRL 1
44849 _ACEOF
44850
44851 USES_CONTROLS=1
44852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44853 fi
44854
44855 if test "$wxUSE_BUTTON" = "yes"; then
44856 cat >>confdefs.h <<\_ACEOF
44857 #define wxUSE_BUTTON 1
44858 _ACEOF
44859
44860 USES_CONTROLS=1
44861 fi
44862
44863 if test "$wxUSE_BMPBUTTON" = "yes"; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_BMPBUTTON 1
44866 _ACEOF
44867
44868 USES_CONTROLS=1
44869 fi
44870
44871 if test "$wxUSE_CALCTRL" = "yes"; then
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_CALENDARCTRL 1
44874 _ACEOF
44875
44876 USES_CONTROLS=1
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44878 fi
44879
44880 if test "$wxUSE_CARET" = "yes"; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_CARET 1
44883 _ACEOF
44884
44885 USES_CONTROLS=1
44886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44887 fi
44888
44889 if test "$wxUSE_COLLPANE" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_COLLPANE 1
44892 _ACEOF
44893
44894 USES_CONTROLS=1
44895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44896 fi
44897
44898 if test "$wxUSE_COMBOBOX" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_COMBOBOX 1
44901 _ACEOF
44902
44903 USES_CONTROLS=1
44904 fi
44905
44906 if test "$wxUSE_COMBOCTRL" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_COMBOCTRL 1
44909 _ACEOF
44910
44911 USES_CONTROLS=1
44912 fi
44913
44914 if test "$wxUSE_CHOICE" = "yes"; then
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_CHOICE 1
44917 _ACEOF
44918
44919 USES_CONTROLS=1
44920 fi
44921
44922 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44923 cat >>confdefs.h <<\_ACEOF
44924 #define wxUSE_CHOICEBOOK 1
44925 _ACEOF
44926
44927 USES_CONTROLS=1
44928 fi
44929
44930 if test "$wxUSE_CHECKBOX" = "yes"; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_CHECKBOX 1
44933 _ACEOF
44934
44935 USES_CONTROLS=1
44936 fi
44937
44938 if test "$wxUSE_CHECKLST" = "yes"; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_CHECKLISTBOX 1
44941 _ACEOF
44942
44943 USES_CONTROLS=1
44944 fi
44945
44946 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_COLOURPICKERCTRL 1
44949 _ACEOF
44950
44951 USES_CONTROLS=1
44952 fi
44953
44954 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_DATEPICKCTRL 1
44957 _ACEOF
44958
44959 USES_CONTROLS=1
44960 fi
44961
44962 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_DIRPICKERCTRL 1
44965 _ACEOF
44966
44967 USES_CONTROLS=1
44968 fi
44969
44970 if test "$wxUSE_FILECTRL" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_FILECTRL 1
44973 _ACEOF
44974
44975 USES_CONTROLS=1
44976 fi
44977
44978 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_FILEPICKERCTRL 1
44981 _ACEOF
44982
44983 USES_CONTROLS=1
44984 fi
44985
44986 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_FONTPICKERCTRL 1
44989 _ACEOF
44990
44991 USES_CONTROLS=1
44992 fi
44993
44994 if test "$wxUSE_DISPLAY" = "yes"; then
44995 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44996 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44997 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44998 wxUSE_DISPLAY=no
44999 else
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_DISPLAY 1
45002 _ACEOF
45003
45004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45005 fi
45006 fi
45007
45008 if test "$wxUSE_DETECT_SM" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_DETECT_SM 1
45011 _ACEOF
45012
45013 fi
45014
45015 if test "$wxUSE_GAUGE" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_GAUGE 1
45018 _ACEOF
45019
45020 USES_CONTROLS=1
45021 fi
45022
45023 if test "$wxUSE_GRID" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_GRID 1
45026 _ACEOF
45027
45028 USES_CONTROLS=1
45029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45030 fi
45031
45032 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_HYPERLINKCTRL 1
45035 _ACEOF
45036
45037 USES_CONTROLS=1
45038 fi
45039
45040 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_BITMAPCOMBOBOX 1
45043 _ACEOF
45044
45045 USES_CONTROLS=1
45046 fi
45047
45048 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_DATAVIEWCTRL 1
45051 _ACEOF
45052
45053 USES_CONTROLS=1
45054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45055 fi
45056
45057 if test "$wxUSE_IMAGLIST" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_IMAGLIST 1
45060 _ACEOF
45061
45062 fi
45063
45064 if test "$wxUSE_LISTBOOK" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_LISTBOOK 1
45067 _ACEOF
45068
45069 USES_CONTROLS=1
45070 fi
45071
45072 if test "$wxUSE_LISTBOX" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_LISTBOX 1
45075 _ACEOF
45076
45077 USES_CONTROLS=1
45078 fi
45079
45080 if test "$wxUSE_LISTCTRL" = "yes"; then
45081 if test "$wxUSE_IMAGLIST" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_LISTCTRL 1
45084 _ACEOF
45085
45086 USES_CONTROLS=1
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45088 else
45089 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45090 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45091 fi
45092 fi
45093
45094 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_EDITABLELISTBOX 1
45097 _ACEOF
45098
45099 USES_CONTROLS=1
45100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45101 fi
45102
45103 if test "$wxUSE_NOTEBOOK" = "yes"; then
45104 cat >>confdefs.h <<\_ACEOF
45105 #define wxUSE_NOTEBOOK 1
45106 _ACEOF
45107
45108 USES_CONTROLS=1
45109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45110 fi
45111
45112 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_NOTIFICATION_MESSAGE 1
45115 _ACEOF
45116
45117 fi
45118
45119 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_ODCOMBOBOX 1
45122 _ACEOF
45123
45124 USES_CONTROLS=1
45125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45126 fi
45127
45128 if test "$wxUSE_RADIOBOX" = "yes"; then
45129 cat >>confdefs.h <<\_ACEOF
45130 #define wxUSE_RADIOBOX 1
45131 _ACEOF
45132
45133 USES_CONTROLS=1
45134 fi
45135
45136 if test "$wxUSE_RADIOBTN" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_RADIOBTN 1
45139 _ACEOF
45140
45141 USES_CONTROLS=1
45142 fi
45143
45144 if test "$wxUSE_SASH" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_SASH 1
45147 _ACEOF
45148
45149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45150 fi
45151
45152 if test "$wxUSE_SCROLLBAR" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_SCROLLBAR 1
45155 _ACEOF
45156
45157 USES_CONTROLS=1
45158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45159 fi
45160
45161 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_SEARCHCTRL 1
45164 _ACEOF
45165
45166 USES_CONTROLS=1
45167 fi
45168
45169 if test "$wxUSE_SLIDER" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_SLIDER 1
45172 _ACEOF
45173
45174 USES_CONTROLS=1
45175 fi
45176
45177 if test "$wxUSE_SPINBTN" = "yes"; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_SPINBTN 1
45180 _ACEOF
45181
45182 USES_CONTROLS=1
45183 fi
45184
45185 if test "$wxUSE_SPINCTRL" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_SPINCTRL 1
45188 _ACEOF
45189
45190 USES_CONTROLS=1
45191 fi
45192
45193 if test "$wxUSE_SPLITTER" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_SPLITTER 1
45196 _ACEOF
45197
45198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45199 fi
45200
45201 if test "$wxUSE_STATBMP" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_STATBMP 1
45204 _ACEOF
45205
45206 USES_CONTROLS=1
45207 fi
45208
45209 if test "$wxUSE_STATBOX" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_STATBOX 1
45212 _ACEOF
45213
45214 USES_CONTROLS=1
45215 fi
45216
45217 if test "$wxUSE_STATTEXT" = "yes"; then
45218 cat >>confdefs.h <<\_ACEOF
45219 #define wxUSE_STATTEXT 1
45220 _ACEOF
45221
45222 USES_CONTROLS=1
45223 fi
45224
45225 if test "$wxUSE_STATLINE" = "yes"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_STATLINE 1
45228 _ACEOF
45229
45230 USES_CONTROLS=1
45231 fi
45232
45233 if test "$wxUSE_STATUSBAR" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_NATIVE_STATUSBAR 1
45236 _ACEOF
45237
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_STATUSBAR 1
45240 _ACEOF
45241
45242 USES_CONTROLS=1
45243
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45245 fi
45246
45247 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_TAB_DIALOG 1
45250 _ACEOF
45251
45252 fi
45253
45254 if test "$wxUSE_TEXTCTRL" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_TEXTCTRL 1
45257 _ACEOF
45258
45259 USES_CONTROLS=1
45260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45261 fi
45262
45263 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45264 if test "$wxUSE_COCOA" = 1 ; then
45265 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45266 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45267 wxUSE_TOGGLEBTN=no
45268 fi
45269
45270 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_TOGGLEBTN 1
45273 _ACEOF
45274
45275 USES_CONTROLS=1
45276 fi
45277 fi
45278
45279 if test "$wxUSE_TOOLBAR" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_TOOLBAR 1
45282 _ACEOF
45283
45284 USES_CONTROLS=1
45285
45286 if test "$wxUSE_UNIVERSAL" = "yes"; then
45287 wxUSE_TOOLBAR_NATIVE="no"
45288 else
45289 wxUSE_TOOLBAR_NATIVE="yes"
45290 cat >>confdefs.h <<\_ACEOF
45291 #define wxUSE_TOOLBAR_NATIVE 1
45292 _ACEOF
45293
45294 fi
45295
45296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45297 fi
45298
45299 if test "$wxUSE_TOOLTIPS" = "yes"; then
45300 if test "$wxUSE_MOTIF" = 1; then
45301 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45302 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45303 else
45304 if test "$wxUSE_UNIVERSAL" = "yes"; then
45305 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45306 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45307 else
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_TOOLTIPS 1
45310 _ACEOF
45311
45312 fi
45313 fi
45314 fi
45315
45316 if test "$wxUSE_TREEBOOK" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_TREEBOOK 1
45319 _ACEOF
45320
45321 USES_CONTROLS=1
45322 fi
45323
45324 if test "$wxUSE_TOOLBOOK" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_TOOLBOOK 1
45327 _ACEOF
45328
45329 USES_CONTROLS=1
45330 fi
45331
45332 if test "$wxUSE_TREECTRL" = "yes"; then
45333 if test "$wxUSE_IMAGLIST" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_TREECTRL 1
45336 _ACEOF
45337
45338 USES_CONTROLS=1
45339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45340 else
45341 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45342 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45343 fi
45344 fi
45345
45346 if test "$wxUSE_POPUPWIN" = "yes"; then
45347 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45348 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45349 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45350 else
45351 if test "$wxUSE_PM" = 1; then
45352 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45353 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45354 else
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_POPUPWIN 1
45357 _ACEOF
45358
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45360
45361 USES_CONTROLS=1
45362 fi
45363 fi
45364 fi
45365
45366 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45367 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45368 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45369 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45370 else
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_DIALUP_MANAGER 1
45373 _ACEOF
45374
45375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45376 fi
45377 fi
45378
45379 if test "$wxUSE_TIPWINDOW" = "yes"; then
45380 if test "$wxUSE_PM" = 1; then
45381 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45382 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45383 else
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_TIPWINDOW 1
45386 _ACEOF
45387
45388 fi
45389 fi
45390
45391 if test "$USES_CONTROLS" = 1; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_CONTROLS 1
45394 _ACEOF
45395
45396 fi
45397
45398
45399 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_ACCESSIBILITY 1
45402 _ACEOF
45403
45404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45405 fi
45406
45407 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_DRAGIMAGE 1
45410 _ACEOF
45411
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45413 fi
45414
45415 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45416 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45417 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45418 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45419 else
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_EXCEPTIONS 1
45422 _ACEOF
45423
45424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45425 fi
45426 fi
45427
45428 USE_HTML=0
45429 if test "$wxUSE_HTML" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_HTML 1
45432 _ACEOF
45433
45434 USE_HTML=1
45435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45436 if test "$wxUSE_MAC" = 1; then
45437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45438 fi
45439 fi
45440 if test "$wxUSE_WEBKIT" = "yes"; then
45441 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45442 old_CPPFLAGS="$CPPFLAGS"
45443 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45444 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45445 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45446 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45447 echo $ECHO_N "(cached) $ECHO_C" >&6
45448 else
45449 cat >conftest.$ac_ext <<_ACEOF
45450 /* confdefs.h. */
45451 _ACEOF
45452 cat confdefs.h >>conftest.$ac_ext
45453 cat >>conftest.$ac_ext <<_ACEOF
45454 /* end confdefs.h. */
45455
45456 #include <Carbon/Carbon.h>
45457 #include <WebKit/WebKit.h>
45458
45459
45460 #include <WebKit/HIWebView.h>
45461 _ACEOF
45462 rm -f conftest.$ac_objext
45463 if { (ac_try="$ac_compile"
45464 case "(($ac_try" in
45465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45466 *) ac_try_echo=$ac_try;;
45467 esac
45468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45469 (eval "$ac_compile") 2>conftest.er1
45470 ac_status=$?
45471 grep -v '^ *+' conftest.er1 >conftest.err
45472 rm -f conftest.er1
45473 cat conftest.err >&5
45474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45475 (exit $ac_status); } && {
45476 test -z "$ac_c_werror_flag" ||
45477 test ! -s conftest.err
45478 } && test -s conftest.$ac_objext; then
45479 ac_cv_header_WebKit_HIWebView_h=yes
45480 else
45481 echo "$as_me: failed program was:" >&5
45482 sed 's/^/| /' conftest.$ac_ext >&5
45483
45484 ac_cv_header_WebKit_HIWebView_h=no
45485 fi
45486
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45488 fi
45489 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45490 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45491 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45492
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_WEBKIT 1
45495 _ACEOF
45496
45497 WEBKIT_LINK="-framework WebKit"
45498
45499 else
45500
45501 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45502 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45503 wxUSE_WEBKIT=no
45504
45505 fi
45506
45507
45508 CPPFLAGS="$old_CPPFLAGS"
45509 elif test "$wxUSE_COCOA" = 1; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_WEBKIT 1
45512 _ACEOF
45513
45514 else
45515 wxUSE_WEBKIT=no
45516 fi
45517 fi
45518
45519 USE_XRC=0
45520 if test "$wxUSE_XRC" = "yes"; then
45521 if test "$wxUSE_XML" != "yes"; then
45522 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45523 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45524 wxUSE_XRC=no
45525 else
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_XRC 1
45528 _ACEOF
45529
45530 USE_XRC=1
45531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45532 fi
45533 fi
45534
45535 USE_AUI=0
45536 if test "$wxUSE_AUI" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_AUI 1
45539 _ACEOF
45540
45541 USE_AUI=1
45542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45543 fi
45544
45545 USE_STC=0
45546 if test "$wxUSE_STC" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_STC 1
45549 _ACEOF
45550
45551 USE_STC=1
45552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45553 fi
45554
45555 if test "$wxUSE_MENUS" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_MENUS 1
45558 _ACEOF
45559
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45561 fi
45562
45563 if test "$wxUSE_METAFILE" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_METAFILE 1
45566 _ACEOF
45567
45568 fi
45569
45570 if test "$wxUSE_MIMETYPE" = "yes"; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_MIMETYPE 1
45573 _ACEOF
45574
45575 fi
45576
45577 if test "$wxUSE_MINIFRAME" = "yes"; then
45578 cat >>confdefs.h <<\_ACEOF
45579 #define wxUSE_MINIFRAME 1
45580 _ACEOF
45581
45582 fi
45583
45584 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_SYSTEM_OPTIONS 1
45587 _ACEOF
45588
45589 fi
45590
45591 if test "$wxUSE_TASKBARICON" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_TASKBARICON 1
45594 _ACEOF
45595
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45597 fi
45598
45599
45600 if test "$wxUSE_VALIDATORS" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_VALIDATORS 1
45603 _ACEOF
45604
45605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45606 fi
45607
45608 if test "$wxUSE_PALETTE" = "yes" ; then
45609 if test "$wxUSE_DFB" = 1; then
45610 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45611 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45612 wxUSE_PALETTE=no
45613 else
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_PALETTE 1
45616 _ACEOF
45617
45618 fi
45619 fi
45620
45621 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45622 LIBS=" -lunicows $LIBS"
45623 fi
45624
45625 USE_RICHTEXT=0
45626 if test "$wxUSE_RICHTEXT" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_RICHTEXT 1
45629 _ACEOF
45630
45631 USE_RICHTEXT=1
45632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45633 fi
45634
45635
45636 if test "$wxUSE_IMAGE" = "yes" ; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_IMAGE 1
45639 _ACEOF
45640
45641
45642 if test "$wxUSE_GIF" = "yes" ; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_GIF 1
45645 _ACEOF
45646
45647 fi
45648
45649 if test "$wxUSE_PCX" = "yes" ; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_PCX 1
45652 _ACEOF
45653
45654 fi
45655
45656 if test "$wxUSE_TGA" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_TGA 1
45659 _ACEOF
45660
45661 fi
45662
45663 if test "$wxUSE_IFF" = "yes" ; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_IFF 1
45666 _ACEOF
45667
45668 fi
45669
45670 if test "$wxUSE_PNM" = "yes" ; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_PNM 1
45673 _ACEOF
45674
45675 fi
45676
45677 if test "$wxUSE_XPM" = "yes" ; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_XPM 1
45680 _ACEOF
45681
45682 fi
45683
45684 if test "$wxUSE_ICO_CUR" = "yes" ; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_ICO_CUR 1
45687 _ACEOF
45688
45689 fi
45690 fi
45691
45692
45693 if test "$wxUSE_ABOUTDLG" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_ABOUTDLG 1
45696 _ACEOF
45697
45698 fi
45699
45700 if test "$wxUSE_CHOICEDLG" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_CHOICEDLG 1
45703 _ACEOF
45704
45705 fi
45706
45707 if test "$wxUSE_COLOURDLG" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_COLOURDLG 1
45710 _ACEOF
45711
45712 fi
45713
45714 if test "$wxUSE_FILEDLG" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_FILEDLG 1
45717 _ACEOF
45718
45719 fi
45720
45721 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_FINDREPLDLG 1
45724 _ACEOF
45725
45726 fi
45727
45728 if test "$wxUSE_FONTDLG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_FONTDLG 1
45731 _ACEOF
45732
45733 fi
45734
45735 if test "$wxUSE_DIRDLG" = "yes"; then
45736 if test "$wxUSE_TREECTRL" != "yes"; then
45737 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45738 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45739 else
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_DIRDLG 1
45742 _ACEOF
45743
45744 fi
45745 fi
45746
45747 if test "$wxUSE_MSGDLG" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_MSGDLG 1
45750 _ACEOF
45751
45752 fi
45753
45754 if test "$wxUSE_NUMBERDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_NUMBERDLG 1
45757 _ACEOF
45758
45759 fi
45760
45761 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45762 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45763 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45764 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45765 else
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_PROGRESSDLG 1
45768 _ACEOF
45769
45770 fi
45771 fi
45772
45773 if test "$wxUSE_SPLASH" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_SPLASH 1
45776 _ACEOF
45777
45778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45779 fi
45780
45781 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45782 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45783 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45784 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45785 else
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_STARTUP_TIPS 1
45788 _ACEOF
45789
45790 fi
45791 fi
45792
45793 if test "$wxUSE_TEXTDLG" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_TEXTDLG 1
45796 _ACEOF
45797
45798 fi
45799
45800 if test "$wxUSE_WIZARDDLG" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_WIZARDDLG 1
45803 _ACEOF
45804
45805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45806 fi
45807
45808
45809 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45810 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_OWNER_DRAWN 1
45813 _ACEOF
45814
45815 fi
45816 fi
45817
45818
45819 if test "$wxUSE_MSW" = 1 ; then
45820
45821 if test "$wxUSE_DC_CACHEING" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_DC_CACHEING 1
45824 _ACEOF
45825
45826 fi
45827
45828 if test "$wxUSE_DIB" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_WXDIB 1
45831 _ACEOF
45832
45833 fi
45834
45835 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_UXTHEME" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_UXTHEME 1
45845 _ACEOF
45846
45847 fi
45848
45849 fi
45850
45851
45852 if test "$USE_WIN32" = 1 ; then
45853 if test "$wxUSE_INICONF" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_INICONF 1
45856 _ACEOF
45857
45858 fi
45859
45860 if test "$wxUSE_REGKEY" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_REGKEY 1
45863 _ACEOF
45864
45865 fi
45866 fi
45867
45868
45869 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45870 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_GRAPHICS_CONTEXT 1
45873 _ACEOF
45874
45875 elif test "$wxUSE_GTK" != 1; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_GRAPHICS_CONTEXT 1
45878 _ACEOF
45879
45880 else
45881
45882 pkg_failed=no
45883 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45884 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45885
45886 if test -n "$PKG_CONFIG"; then
45887 if test -n "$CAIRO_CFLAGS"; then
45888 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45889 else
45890 if test -n "$PKG_CONFIG" && \
45891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45892 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45893 ac_status=$?
45894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895 (exit $ac_status); }; then
45896 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45897 else
45898 pkg_failed=yes
45899 fi
45900 fi
45901 else
45902 pkg_failed=untried
45903 fi
45904 if test -n "$PKG_CONFIG"; then
45905 if test -n "$CAIRO_LIBS"; then
45906 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45907 else
45908 if test -n "$PKG_CONFIG" && \
45909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45910 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45911 ac_status=$?
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); }; then
45914 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45915 else
45916 pkg_failed=yes
45917 fi
45918 fi
45919 else
45920 pkg_failed=untried
45921 fi
45922
45923
45924
45925 if test $pkg_failed = yes; then
45926
45927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45928 _pkg_short_errors_supported=yes
45929 else
45930 _pkg_short_errors_supported=no
45931 fi
45932 if test $_pkg_short_errors_supported = yes; then
45933 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45934 else
45935 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45936 fi
45937 # Put the nasty error message in config.log where it belongs
45938 echo "$CAIRO_PKG_ERRORS" >&5
45939
45940 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45941 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45942
45943 elif test $pkg_failed = untried; then
45944 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45945 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45946
45947 else
45948 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45949 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45950 { echo "$as_me:$LINENO: result: yes" >&5
45951 echo "${ECHO_T}yes" >&6; }
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_GRAPHICS_CONTEXT 1
45954 _ACEOF
45955
45956 fi
45957 fi
45958 fi
45959
45960
45961 USE_MEDIA=0
45962
45963 if test "$wxUSE_MEDIACTRL" = "yes"; then
45964 USE_MEDIA=1
45965
45966 if test "$wxUSE_GTK" = 1; then
45967 wxUSE_GSTREAMER="no"
45968
45969 GST_VERSION_MAJOR=0
45970 GST_VERSION_MINOR=10
45971 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45972
45973 if test "$wxUSE_GSTREAMER8" = "no"; then
45974
45975 pkg_failed=no
45976 { echo "$as_me:$LINENO: checking for GST" >&5
45977 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45978
45979 if test -n "$PKG_CONFIG"; then
45980 if test -n "$GST_CFLAGS"; then
45981 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45982 else
45983 if test -n "$PKG_CONFIG" && \
45984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45985 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45986 ac_status=$?
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; then
45989 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45990 else
45991 pkg_failed=yes
45992 fi
45993 fi
45994 else
45995 pkg_failed=untried
45996 fi
45997 if test -n "$PKG_CONFIG"; then
45998 if test -n "$GST_LIBS"; then
45999 pkg_cv_GST_LIBS="$GST_LIBS"
46000 else
46001 if test -n "$PKG_CONFIG" && \
46002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46003 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46004 ac_status=$?
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; then
46007 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46008 else
46009 pkg_failed=yes
46010 fi
46011 fi
46012 else
46013 pkg_failed=untried
46014 fi
46015
46016
46017
46018 if test $pkg_failed = yes; then
46019
46020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46021 _pkg_short_errors_supported=yes
46022 else
46023 _pkg_short_errors_supported=no
46024 fi
46025 if test $_pkg_short_errors_supported = yes; then
46026 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46027 else
46028 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46029 fi
46030 # Put the nasty error message in config.log where it belongs
46031 echo "$GST_PKG_ERRORS" >&5
46032
46033
46034 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46035 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46036 GST_VERSION_MINOR=8
46037
46038
46039 elif test $pkg_failed = untried; then
46040
46041 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46042 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46043 GST_VERSION_MINOR=8
46044
46045
46046 else
46047 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46048 GST_LIBS=$pkg_cv_GST_LIBS
46049 { echo "$as_me:$LINENO: result: yes" >&5
46050 echo "${ECHO_T}yes" >&6; }
46051
46052 wxUSE_GSTREAMER="yes"
46053 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46054
46055 fi
46056 else
46057 GST_VERSION_MINOR=8
46058 fi
46059
46060 if test $GST_VERSION_MINOR = "8"; then
46061 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46062
46063 pkg_failed=no
46064 { echo "$as_me:$LINENO: checking for GST" >&5
46065 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46066
46067 if test -n "$PKG_CONFIG"; then
46068 if test -n "$GST_CFLAGS"; then
46069 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46070 else
46071 if test -n "$PKG_CONFIG" && \
46072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46073 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46074 ac_status=$?
46075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46076 (exit $ac_status); }; then
46077 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46078 else
46079 pkg_failed=yes
46080 fi
46081 fi
46082 else
46083 pkg_failed=untried
46084 fi
46085 if test -n "$PKG_CONFIG"; then
46086 if test -n "$GST_LIBS"; then
46087 pkg_cv_GST_LIBS="$GST_LIBS"
46088 else
46089 if test -n "$PKG_CONFIG" && \
46090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46091 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46092 ac_status=$?
46093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46094 (exit $ac_status); }; then
46095 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46096 else
46097 pkg_failed=yes
46098 fi
46099 fi
46100 else
46101 pkg_failed=untried
46102 fi
46103
46104
46105
46106 if test $pkg_failed = yes; then
46107
46108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46109 _pkg_short_errors_supported=yes
46110 else
46111 _pkg_short_errors_supported=no
46112 fi
46113 if test $_pkg_short_errors_supported = yes; then
46114 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46115 else
46116 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46117 fi
46118 # Put the nasty error message in config.log where it belongs
46119 echo "$GST_PKG_ERRORS" >&5
46120
46121
46122 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46123 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46124
46125 elif test $pkg_failed = untried; then
46126
46127 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46128 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46129
46130 else
46131 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46132 GST_LIBS=$pkg_cv_GST_LIBS
46133 { echo "$as_me:$LINENO: result: yes" >&5
46134 echo "${ECHO_T}yes" >&6; }
46135 wxUSE_GSTREAMER="yes"
46136 fi
46137 fi
46138
46139
46140 if test "$wxUSE_GSTREAMER" = "yes"; then
46141 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46142 EXTRALIBS_MEDIA="$GST_LIBS"
46143
46144 cat >>confdefs.h <<\_ACEOF
46145 #define wxUSE_GSTREAMER 1
46146 _ACEOF
46147
46148 else
46149 USE_MEDIA=0
46150 fi
46151 fi
46152
46153 if test $USE_MEDIA = 1; then
46154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_MEDIACTRL 1
46157 _ACEOF
46158
46159 fi
46160 fi
46161
46162
46163 if test "$cross_compiling" = "yes"; then
46164 OSINFO="\"$host\""
46165 else
46166 OSINFO=`uname -s -r -m`
46167 OSINFO="\"$OSINFO\""
46168 fi
46169
46170 cat >>confdefs.h <<_ACEOF
46171 #define WXWIN_OS_DESCRIPTION $OSINFO
46172 _ACEOF
46173
46174
46175
46176 if test "x$prefix" != "xNONE"; then
46177 wxPREFIX=$prefix
46178 else
46179 wxPREFIX=$ac_default_prefix
46180 fi
46181
46182 cat >>confdefs.h <<_ACEOF
46183 #define wxINSTALL_PREFIX "$wxPREFIX"
46184 _ACEOF
46185
46186
46187
46188
46189 STD_BASE_LIBS="base"
46190 STD_GUI_LIBS=""
46191 BUILT_WX_LIBS="base"
46192 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46193
46194 if test "$wxUSE_SOCKETS" = "yes" ; then
46195 STD_BASE_LIBS="net $STD_BASE_LIBS"
46196 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46197 fi
46198 if test "$wxUSE_XML" = "yes" ; then
46199 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46200 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46201 fi
46202
46203 if test "$wxUSE_GUI" = "yes"; then
46204 STD_GUI_LIBS="adv core"
46205 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46206
46207 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46208 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46209 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46210 fi
46211 if test "$wxUSE_HTML" = "yes" ; then
46212 STD_GUI_LIBS="html $STD_GUI_LIBS"
46213 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46214 fi
46215 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46216 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46217 fi
46218 if test "$wxUSE_OPENGL" = "yes" ; then
46219 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46220 fi
46221 if test "$wxUSE_AUI" = "yes" ; then
46222 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46223 fi
46224 if test "$wxUSE_STC" = "yes" ; then
46225 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46226 fi
46227 if test "$wxUSE_XRC" = "yes" ; then
46228 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46229 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46230 fi
46231 fi
46232
46233
46234
46235
46236
46237
46238
46239
46240 if test "$wxUSE_MAC" = 1 ; then
46241 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46242 if test "$USE_DARWIN" = 1; then
46243 LDFLAGS="$LDFLAGS -framework QuickTime"
46244 else
46245 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46246 fi
46247 fi
46248 if test "$USE_DARWIN" = 1; then
46249 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46250 else
46251 LDFLAGS="$LDFLAGS -lCarbonLib"
46252 fi
46253 fi
46254 if test "$wxUSE_COCOA" = 1 ; then
46255 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46256 if test "$wxUSE_MEDIACTRL" = "yes"; then
46257 LDFLAGS="$LDFLAGS -framework QuickTime"
46258 fi
46259 fi
46260 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46261 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46262 fi
46263
46264 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46265
46266 if test "$wxUSE_GUI" = "yes"; then
46267
46268
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46270 erase event exec font image minimal mobile \
46271 mobile/wxedit mobile/styles render \
46272 shaped svg taborder vscroll widgets"
46273
46274 if test "$wxUSE_MONOLITHIC" != "yes"; then
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46276 fi
46277 if test "$TOOLKIT" = "MSW"; then
46278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46279 if test "$wxUSE_UNIVERSAL" != "yes"; then
46280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46281 fi
46282 fi
46283 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46285 fi
46286 else
46287 SAMPLES_SUBDIRS="console"
46288 fi
46289
46290
46291 if test "x$INTELCC" = "xyes" ; then
46292 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46293 elif test "$GCC" = yes ; then
46294 CWARNINGS="-Wall -Wundef"
46295 fi
46296
46297 if test "x$INTELCXX" = "xyes" ; then
46298 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46299 elif test "$GXX" = yes ; then
46300 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46301 fi
46302
46303
46304 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46305 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46306
46307
46308 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46309 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46310 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46311 $CPPFLAGS `
46312
46313 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46314 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46315 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46316
46317 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46318
46319
46320 if test "x$MWCC" = "xyes"; then
46321
46322 CC="$CC -cwd source -I-"
46323 CXX="$CXX -cwd source -I-"
46324 fi
46325
46326
46327 LIBS=`echo $LIBS`
46328 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46329 EXTRALIBS_XML="$EXPAT_LINK"
46330 EXTRALIBS_HTML="$MSPACK_LINK"
46331 EXTRALIBS_MEDIA="$GST_LIBS"
46332 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46333 if test "$wxUSE_GUI" = "yes"; then
46334 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46335 fi
46336 if test "$wxUSE_OPENGL" = "yes"; then
46337 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46338 fi
46339
46340 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46341
46342 WXCONFIG_LIBS="$LIBS"
46343
46344 if test "$wxUSE_REGEX" = "builtin" ; then
46345 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46346 fi
46347 if test "$wxUSE_EXPAT" = "builtin" ; then
46348 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46349 fi
46350 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46351 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46352 fi
46353 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46354 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46355 fi
46356 if test "$wxUSE_LIBPNG" = "builtin" ; then
46357 wxconfig_3rdparty="png $wxconfig_3rdparty"
46358 fi
46359 if test "$wxUSE_ZLIB" = "builtin" ; then
46360 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46361 fi
46362
46363 for i in $wxconfig_3rdparty ; do
46364 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46365 done
46366
46367
46368 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46369 WXUNIV=1
46370
46371 case "$wxUNIV_THEMES" in
46372 ''|all)
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_ALL_THEMES 1
46375 _ACEOF
46376
46377 ;;
46378
46379 *)
46380 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46381 cat >>confdefs.h <<_ACEOF
46382 #define wxUSE_THEME_$t 1
46383 _ACEOF
46384
46385 done
46386 esac
46387 else
46388 WXUNIV=0
46389 fi
46390
46391
46392
46393
46394
46395
46396
46397
46398 if test $wxUSE_MONOLITHIC = "yes" ; then
46399 MONOLITHIC=1
46400 else
46401 MONOLITHIC=0
46402 fi
46403
46404 if test $wxUSE_PLUGINS = "yes" ; then
46405 USE_PLUGINS=1
46406 else
46407 USE_PLUGINS=0
46408 fi
46409
46410 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46411 USE_QA=1
46412 else
46413 USE_QA=0
46414 fi
46415
46416 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46417 OFFICIAL_BUILD=1
46418 else
46419 OFFICIAL_BUILD=0
46420 fi
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46449
46450
46451
46452
46453
46454
46455
46456
46457 case "$TOOLKIT" in
46458 GTK)
46459 TOOLKIT_DESC="GTK+"
46460 if test "$WXGTK2" = 1; then
46461 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46462 if test "$wxUSE_GTKPRINT" = "yes" ; then
46463 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46464 fi
46465 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46466 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46467 fi
46468 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46469 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46470 fi
46471 if test "$wxUSE_LIBHILDON" = "yes"; then
46472 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46473 fi
46474
46475 if test "$TOOLKIT_EXTRA" != ""; then
46476 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46477 fi
46478 fi
46479 ;;
46480
46481 ?*)
46482 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46483 ;;
46484
46485 *)
46486 TOOLKIT_DESC="base only"
46487 ;;
46488 esac
46489
46490 if test "$wxUSE_WINE" = "yes"; then
46491 BAKEFILE_FORCE_PLATFORM=win32
46492 fi
46493
46494 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46495 then
46496 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46497 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46498 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46499 echo $ECHO_N "(cached) $ECHO_C" >&6
46500 else
46501
46502 echo '#include <stdio.h>
46503 const wchar_t test_var[] = L"awidetest";' > conftest.h
46504
46505 echo '#include "conftest.h"
46506 int main()
46507 {
46508 printf("%ls", test_var);
46509 return 0;
46510 }' > conftest.cpp
46511
46512 wx_cv_gcc_pch_bug="pch not supported"
46513
46514 if $CXX conftest.h >/dev/null 2>&1
46515 then
46516 wx_cv_gcc_pch_bug=
46517
46518 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46519 then
46520 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46521 grep awidetest >/dev/null
46522 then
46523 wx_cv_gcc_pch_bug=no
46524 else
46525 wx_cv_gcc_pch_bug=yes
46526 fi
46527 fi
46528 fi
46529
46530 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46531
46532 fi
46533 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46534 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46535
46536 if test "$wx_cv_gcc_pch_bug" = yes; then
46537 bk_use_pch=no
46538 fi
46539 fi
46540
46541
46542
46543
46544 if test "x$BAKEFILE_HOST" = "x"; then
46545 if test "x${host}" = "x" ; then
46546 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46547 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46548 { (exit 1); exit 1; }; }
46549 fi
46550
46551 BAKEFILE_HOST="${host}"
46552 fi
46553
46554 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46555
46556 if test -n "$ac_tool_prefix"; then
46557 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46561 if test "${ac_cv_prog_RANLIB+set}" = set; then
46562 echo $ECHO_N "(cached) $ECHO_C" >&6
46563 else
46564 if test -n "$RANLIB"; then
46565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46566 else
46567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46568 for as_dir in $PATH
46569 do
46570 IFS=$as_save_IFS
46571 test -z "$as_dir" && as_dir=.
46572 for ac_exec_ext in '' $ac_executable_extensions; do
46573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46574 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46576 break 2
46577 fi
46578 done
46579 done
46580 IFS=$as_save_IFS
46581
46582 fi
46583 fi
46584 RANLIB=$ac_cv_prog_RANLIB
46585 if test -n "$RANLIB"; then
46586 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46587 echo "${ECHO_T}$RANLIB" >&6; }
46588 else
46589 { echo "$as_me:$LINENO: result: no" >&5
46590 echo "${ECHO_T}no" >&6; }
46591 fi
46592
46593
46594 fi
46595 if test -z "$ac_cv_prog_RANLIB"; then
46596 ac_ct_RANLIB=$RANLIB
46597 # Extract the first word of "ranlib", so it can be a program name with args.
46598 set dummy ranlib; ac_word=$2
46599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46602 echo $ECHO_N "(cached) $ECHO_C" >&6
46603 else
46604 if test -n "$ac_ct_RANLIB"; then
46605 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46606 else
46607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46608 for as_dir in $PATH
46609 do
46610 IFS=$as_save_IFS
46611 test -z "$as_dir" && as_dir=.
46612 for ac_exec_ext in '' $ac_executable_extensions; do
46613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46614 ac_cv_prog_ac_ct_RANLIB="ranlib"
46615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46616 break 2
46617 fi
46618 done
46619 done
46620 IFS=$as_save_IFS
46621
46622 fi
46623 fi
46624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46625 if test -n "$ac_ct_RANLIB"; then
46626 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46627 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46628 else
46629 { echo "$as_me:$LINENO: result: no" >&5
46630 echo "${ECHO_T}no" >&6; }
46631 fi
46632
46633 if test "x$ac_ct_RANLIB" = x; then
46634 RANLIB=":"
46635 else
46636 case $cross_compiling:$ac_tool_warned in
46637 yes:)
46638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46639 whose name does not start with the host triplet. If you think this
46640 configuration is useful to you, please write to autoconf@gnu.org." >&5
46641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46642 whose name does not start with the host triplet. If you think this
46643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46644 ac_tool_warned=yes ;;
46645 esac
46646 RANLIB=$ac_ct_RANLIB
46647 fi
46648 else
46649 RANLIB="$ac_cv_prog_RANLIB"
46650 fi
46651
46652 # Find a good install program. We prefer a C program (faster),
46653 # so one script is as good as another. But avoid the broken or
46654 # incompatible versions:
46655 # SysV /etc/install, /usr/sbin/install
46656 # SunOS /usr/etc/install
46657 # IRIX /sbin/install
46658 # AIX /bin/install
46659 # AmigaOS /C/install, which installs bootblocks on floppy discs
46660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46663 # OS/2's system install, which has a completely different semantic
46664 # ./install, which can be erroneously created by make from ./install.sh.
46665 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46666 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46667 if test -z "$INSTALL"; then
46668 if test "${ac_cv_path_install+set}" = set; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46670 else
46671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46672 for as_dir in $PATH
46673 do
46674 IFS=$as_save_IFS
46675 test -z "$as_dir" && as_dir=.
46676 # Account for people who put trailing slashes in PATH elements.
46677 case $as_dir/ in
46678 ./ | .// | /cC/* | \
46679 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46680 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46681 /usr/ucb/* ) ;;
46682 *)
46683 # OSF1 and SCO ODT 3.0 have their own names for install.
46684 # Don't use installbsd from OSF since it installs stuff as root
46685 # by default.
46686 for ac_prog in ginstall scoinst install; do
46687 for ac_exec_ext in '' $ac_executable_extensions; do
46688 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46689 if test $ac_prog = install &&
46690 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46691 # AIX install. It has an incompatible calling convention.
46692 :
46693 elif test $ac_prog = install &&
46694 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46695 # program-specific install script used by HP pwplus--don't use.
46696 :
46697 else
46698 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46699 break 3
46700 fi
46701 fi
46702 done
46703 done
46704 ;;
46705 esac
46706 done
46707 IFS=$as_save_IFS
46708
46709
46710 fi
46711 if test "${ac_cv_path_install+set}" = set; then
46712 INSTALL=$ac_cv_path_install
46713 else
46714 # As a last resort, use the slow shell script. Don't cache a
46715 # value for INSTALL within a source directory, because that will
46716 # break other packages using the cache if that directory is
46717 # removed, or if the value is a relative name.
46718 INSTALL=$ac_install_sh
46719 fi
46720 fi
46721 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46722 echo "${ECHO_T}$INSTALL" >&6; }
46723
46724 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46725 # It thinks the first close brace ends the variable substitution.
46726 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46727
46728 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46729
46730 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46731
46732 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46733 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46734 LN_S=$as_ln_s
46735 if test "$LN_S" = "ln -s"; then
46736 { echo "$as_me:$LINENO: result: yes" >&5
46737 echo "${ECHO_T}yes" >&6; }
46738 else
46739 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46740 echo "${ECHO_T}no, using $LN_S" >&6; }
46741 fi
46742
46743
46744 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46745 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46746 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46747 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46748 echo $ECHO_N "(cached) $ECHO_C" >&6
46749 else
46750 cat >conftest.make <<\_ACEOF
46751 SHELL = /bin/sh
46752 all:
46753 @echo '@@@%%%=$(MAKE)=@@@%%%'
46754 _ACEOF
46755 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46756 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46757 *@@@%%%=?*=@@@%%%*)
46758 eval ac_cv_prog_make_${ac_make}_set=yes;;
46759 *)
46760 eval ac_cv_prog_make_${ac_make}_set=no;;
46761 esac
46762 rm -f conftest.make
46763 fi
46764 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46765 { echo "$as_me:$LINENO: result: yes" >&5
46766 echo "${ECHO_T}yes" >&6; }
46767 SET_MAKE=
46768 else
46769 { echo "$as_me:$LINENO: result: no" >&5
46770 echo "${ECHO_T}no" >&6; }
46771 SET_MAKE="MAKE=${MAKE-make}"
46772 fi
46773
46774
46775
46776 if test "x$SUNCXX" = "xyes"; then
46777 AR=$CXX
46778 AROPTIONS="-xar -o"
46779
46780 elif test "x$SGICC" = "xyes"; then
46781 AR=$CXX
46782 AROPTIONS="-ar -o"
46783
46784 else
46785 if test -n "$ac_tool_prefix"; then
46786 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46787 set dummy ${ac_tool_prefix}ar; ac_word=$2
46788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46790 if test "${ac_cv_prog_AR+set}" = set; then
46791 echo $ECHO_N "(cached) $ECHO_C" >&6
46792 else
46793 if test -n "$AR"; then
46794 ac_cv_prog_AR="$AR" # Let the user override the test.
46795 else
46796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46797 for as_dir in $PATH
46798 do
46799 IFS=$as_save_IFS
46800 test -z "$as_dir" && as_dir=.
46801 for ac_exec_ext in '' $ac_executable_extensions; do
46802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46803 ac_cv_prog_AR="${ac_tool_prefix}ar"
46804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46805 break 2
46806 fi
46807 done
46808 done
46809 IFS=$as_save_IFS
46810
46811 fi
46812 fi
46813 AR=$ac_cv_prog_AR
46814 if test -n "$AR"; then
46815 { echo "$as_me:$LINENO: result: $AR" >&5
46816 echo "${ECHO_T}$AR" >&6; }
46817 else
46818 { echo "$as_me:$LINENO: result: no" >&5
46819 echo "${ECHO_T}no" >&6; }
46820 fi
46821
46822
46823 fi
46824 if test -z "$ac_cv_prog_AR"; then
46825 ac_ct_AR=$AR
46826 # Extract the first word of "ar", so it can be a program name with args.
46827 set dummy ar; ac_word=$2
46828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46830 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46832 else
46833 if test -n "$ac_ct_AR"; then
46834 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46835 else
46836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46837 for as_dir in $PATH
46838 do
46839 IFS=$as_save_IFS
46840 test -z "$as_dir" && as_dir=.
46841 for ac_exec_ext in '' $ac_executable_extensions; do
46842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46843 ac_cv_prog_ac_ct_AR="ar"
46844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46845 break 2
46846 fi
46847 done
46848 done
46849 IFS=$as_save_IFS
46850
46851 fi
46852 fi
46853 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46854 if test -n "$ac_ct_AR"; then
46855 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46856 echo "${ECHO_T}$ac_ct_AR" >&6; }
46857 else
46858 { echo "$as_me:$LINENO: result: no" >&5
46859 echo "${ECHO_T}no" >&6; }
46860 fi
46861
46862 if test "x$ac_ct_AR" = x; then
46863 AR="ar"
46864 else
46865 case $cross_compiling:$ac_tool_warned in
46866 yes:)
46867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46868 whose name does not start with the host triplet. If you think this
46869 configuration is useful to you, please write to autoconf@gnu.org." >&5
46870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46871 whose name does not start with the host triplet. If you think this
46872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46873 ac_tool_warned=yes ;;
46874 esac
46875 AR=$ac_ct_AR
46876 fi
46877 else
46878 AR="$ac_cv_prog_AR"
46879 fi
46880
46881 AROPTIONS=rcu
46882 fi
46883
46884
46885 if test -n "$ac_tool_prefix"; then
46886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46887 set dummy ${ac_tool_prefix}strip; ac_word=$2
46888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46890 if test "${ac_cv_prog_STRIP+set}" = set; then
46891 echo $ECHO_N "(cached) $ECHO_C" >&6
46892 else
46893 if test -n "$STRIP"; then
46894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46895 else
46896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46897 for as_dir in $PATH
46898 do
46899 IFS=$as_save_IFS
46900 test -z "$as_dir" && as_dir=.
46901 for ac_exec_ext in '' $ac_executable_extensions; do
46902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46903 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46905 break 2
46906 fi
46907 done
46908 done
46909 IFS=$as_save_IFS
46910
46911 fi
46912 fi
46913 STRIP=$ac_cv_prog_STRIP
46914 if test -n "$STRIP"; then
46915 { echo "$as_me:$LINENO: result: $STRIP" >&5
46916 echo "${ECHO_T}$STRIP" >&6; }
46917 else
46918 { echo "$as_me:$LINENO: result: no" >&5
46919 echo "${ECHO_T}no" >&6; }
46920 fi
46921
46922
46923 fi
46924 if test -z "$ac_cv_prog_STRIP"; then
46925 ac_ct_STRIP=$STRIP
46926 # Extract the first word of "strip", so it can be a program name with args.
46927 set dummy strip; ac_word=$2
46928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46931 echo $ECHO_N "(cached) $ECHO_C" >&6
46932 else
46933 if test -n "$ac_ct_STRIP"; then
46934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46935 else
46936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46937 for as_dir in $PATH
46938 do
46939 IFS=$as_save_IFS
46940 test -z "$as_dir" && as_dir=.
46941 for ac_exec_ext in '' $ac_executable_extensions; do
46942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46943 ac_cv_prog_ac_ct_STRIP="strip"
46944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46945 break 2
46946 fi
46947 done
46948 done
46949 IFS=$as_save_IFS
46950
46951 fi
46952 fi
46953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46954 if test -n "$ac_ct_STRIP"; then
46955 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46956 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46957 else
46958 { echo "$as_me:$LINENO: result: no" >&5
46959 echo "${ECHO_T}no" >&6; }
46960 fi
46961
46962 if test "x$ac_ct_STRIP" = x; then
46963 STRIP=":"
46964 else
46965 case $cross_compiling:$ac_tool_warned in
46966 yes:)
46967 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46968 whose name does not start with the host triplet. If you think this
46969 configuration is useful to you, please write to autoconf@gnu.org." >&5
46970 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46971 whose name does not start with the host triplet. If you think this
46972 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46973 ac_tool_warned=yes ;;
46974 esac
46975 STRIP=$ac_ct_STRIP
46976 fi
46977 else
46978 STRIP="$ac_cv_prog_STRIP"
46979 fi
46980
46981 if test -n "$ac_tool_prefix"; then
46982 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46983 set dummy ${ac_tool_prefix}nm; ac_word=$2
46984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46986 if test "${ac_cv_prog_NM+set}" = set; then
46987 echo $ECHO_N "(cached) $ECHO_C" >&6
46988 else
46989 if test -n "$NM"; then
46990 ac_cv_prog_NM="$NM" # Let the user override the test.
46991 else
46992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46993 for as_dir in $PATH
46994 do
46995 IFS=$as_save_IFS
46996 test -z "$as_dir" && as_dir=.
46997 for ac_exec_ext in '' $ac_executable_extensions; do
46998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46999 ac_cv_prog_NM="${ac_tool_prefix}nm"
47000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47001 break 2
47002 fi
47003 done
47004 done
47005 IFS=$as_save_IFS
47006
47007 fi
47008 fi
47009 NM=$ac_cv_prog_NM
47010 if test -n "$NM"; then
47011 { echo "$as_me:$LINENO: result: $NM" >&5
47012 echo "${ECHO_T}$NM" >&6; }
47013 else
47014 { echo "$as_me:$LINENO: result: no" >&5
47015 echo "${ECHO_T}no" >&6; }
47016 fi
47017
47018
47019 fi
47020 if test -z "$ac_cv_prog_NM"; then
47021 ac_ct_NM=$NM
47022 # Extract the first word of "nm", so it can be a program name with args.
47023 set dummy nm; ac_word=$2
47024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47026 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47027 echo $ECHO_N "(cached) $ECHO_C" >&6
47028 else
47029 if test -n "$ac_ct_NM"; then
47030 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47031 else
47032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47033 for as_dir in $PATH
47034 do
47035 IFS=$as_save_IFS
47036 test -z "$as_dir" && as_dir=.
47037 for ac_exec_ext in '' $ac_executable_extensions; do
47038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47039 ac_cv_prog_ac_ct_NM="nm"
47040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47041 break 2
47042 fi
47043 done
47044 done
47045 IFS=$as_save_IFS
47046
47047 fi
47048 fi
47049 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47050 if test -n "$ac_ct_NM"; then
47051 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47052 echo "${ECHO_T}$ac_ct_NM" >&6; }
47053 else
47054 { echo "$as_me:$LINENO: result: no" >&5
47055 echo "${ECHO_T}no" >&6; }
47056 fi
47057
47058 if test "x$ac_ct_NM" = x; then
47059 NM=":"
47060 else
47061 case $cross_compiling:$ac_tool_warned in
47062 yes:)
47063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47064 whose name does not start with the host triplet. If you think this
47065 configuration is useful to you, please write to autoconf@gnu.org." >&5
47066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47067 whose name does not start with the host triplet. If you think this
47068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47069 ac_tool_warned=yes ;;
47070 esac
47071 NM=$ac_ct_NM
47072 fi
47073 else
47074 NM="$ac_cv_prog_NM"
47075 fi
47076
47077
47078 case ${BAKEFILE_HOST} in
47079 *-hp-hpux* )
47080 INSTALL_DIR="mkdir -p"
47081 ;;
47082 * )
47083 INSTALL_DIR='$(INSTALL) -d'
47084 ;;
47085 esac
47086
47087
47088 LDFLAGS_GUI=
47089 case ${BAKEFILE_HOST} in
47090 *-*-cygwin* | *-*-mingw32* )
47091 LDFLAGS_GUI="-mwindows"
47092 esac
47093
47094
47095 fi
47096
47097 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47098 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47099 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47100 echo $ECHO_N "(cached) $ECHO_C" >&6
47101 else
47102
47103 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47104 egrep -s GNU > /dev/null); then
47105 bakefile_cv_prog_makeisgnu="yes"
47106 else
47107 bakefile_cv_prog_makeisgnu="no"
47108 fi
47109
47110 fi
47111 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47112 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47113
47114 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47115 IF_GNU_MAKE=""
47116 else
47117 IF_GNU_MAKE="#"
47118 fi
47119
47120
47121
47122 PLATFORM_UNIX=0
47123 PLATFORM_WIN32=0
47124 PLATFORM_MSDOS=0
47125 PLATFORM_MAC=0
47126 PLATFORM_MACOS=0
47127 PLATFORM_MACOSX=0
47128 PLATFORM_OS2=0
47129 PLATFORM_BEOS=0
47130
47131 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47132 case "${BAKEFILE_HOST}" in
47133 *-*-mingw32* )
47134 PLATFORM_WIN32=1
47135 ;;
47136 *-pc-msdosdjgpp )
47137 PLATFORM_MSDOS=1
47138 ;;
47139 *-pc-os2_emx | *-pc-os2-emx )
47140 PLATFORM_OS2=1
47141 ;;
47142 *-*-darwin* )
47143 PLATFORM_MAC=1
47144 PLATFORM_MACOSX=1
47145 ;;
47146 *-*-beos* )
47147 PLATFORM_BEOS=1
47148 ;;
47149 powerpc-apple-macos* )
47150 PLATFORM_MAC=1
47151 PLATFORM_MACOS=1
47152 ;;
47153 * )
47154 PLATFORM_UNIX=1
47155 ;;
47156 esac
47157 else
47158 case "$BAKEFILE_FORCE_PLATFORM" in
47159 win32 )
47160 PLATFORM_WIN32=1
47161 ;;
47162 msdos )
47163 PLATFORM_MSDOS=1
47164 ;;
47165 os2 )
47166 PLATFORM_OS2=1
47167 ;;
47168 darwin )
47169 PLATFORM_MAC=1
47170 PLATFORM_MACOSX=1
47171 ;;
47172 unix )
47173 PLATFORM_UNIX=1
47174 ;;
47175 beos )
47176 PLATFORM_BEOS=1
47177 ;;
47178 * )
47179 ;;
47180 esac
47181 fi
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193 # Check whether --enable-omf was given.
47194 if test "${enable_omf+set}" = set; then
47195 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47196 fi
47197
47198
47199 case "${BAKEFILE_HOST}" in
47200 *-*-darwin* )
47201 if test "x$GCC" = "xyes"; then
47202 CFLAGS="$CFLAGS -fno-common"
47203 CXXFLAGS="$CXXFLAGS -fno-common"
47204 fi
47205 if test "x$XLCC" = "xyes"; then
47206 CFLAGS="$CFLAGS -qnocommon"
47207 CXXFLAGS="$CXXFLAGS -qnocommon"
47208 fi
47209 ;;
47210
47211 *-pc-os2_emx | *-pc-os2-emx )
47212 if test "x$bk_os2_use_omf" = "xyes" ; then
47213 AR=emxomfar
47214 RANLIB=:
47215 LDFLAGS="-Zomf $LDFLAGS"
47216 CFLAGS="-Zomf $CFLAGS"
47217 CXXFLAGS="-Zomf $CXXFLAGS"
47218 OS2_LIBEXT="lib"
47219 else
47220 OS2_LIBEXT="a"
47221 fi
47222 ;;
47223
47224 i*86-*-beos* )
47225 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47226 ;;
47227 esac
47228
47229
47230 SO_SUFFIX="so"
47231 SO_SUFFIX_MODULE="so"
47232 EXEEXT=""
47233 LIBPREFIX="lib"
47234 LIBEXT=".a"
47235 DLLPREFIX="lib"
47236 DLLPREFIX_MODULE=""
47237 DLLIMP_SUFFIX=""
47238 dlldir="$libdir"
47239
47240 case "${BAKEFILE_HOST}" in
47241 *-hp-hpux* )
47242 SO_SUFFIX="sl"
47243 SO_SUFFIX_MODULE="sl"
47244 ;;
47245 *-*-aix* )
47246 SO_SUFFIX="a"
47247 SO_SUFFIX_MODULE="a"
47248 ;;
47249 *-*-cygwin* )
47250 SO_SUFFIX="dll"
47251 SO_SUFFIX_MODULE="dll"
47252 DLLIMP_SUFFIX="dll.a"
47253 EXEEXT=".exe"
47254 DLLPREFIX="cyg"
47255 dlldir="$bindir"
47256 ;;
47257 *-*-mingw32* )
47258 SO_SUFFIX="dll"
47259 SO_SUFFIX_MODULE="dll"
47260 DLLIMP_SUFFIX="dll.a"
47261 EXEEXT=".exe"
47262 DLLPREFIX=""
47263 dlldir="$bindir"
47264 ;;
47265 *-pc-msdosdjgpp )
47266 EXEEXT=".exe"
47267 DLLPREFIX=""
47268 dlldir="$bindir"
47269 ;;
47270 *-pc-os2_emx | *-pc-os2-emx )
47271 SO_SUFFIX="dll"
47272 SO_SUFFIX_MODULE="dll"
47273 DLLIMP_SUFFIX=$OS2_LIBEXT
47274 EXEEXT=".exe"
47275 DLLPREFIX=""
47276 LIBPREFIX=""
47277 LIBEXT=".$OS2_LIBEXT"
47278 dlldir="$bindir"
47279 ;;
47280 *-*-darwin* )
47281 SO_SUFFIX="dylib"
47282 SO_SUFFIX_MODULE="bundle"
47283 ;;
47284 esac
47285
47286 if test "x$DLLIMP_SUFFIX" = "x" ; then
47287 DLLIMP_SUFFIX="$SO_SUFFIX"
47288 fi
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301 PIC_FLAG=""
47302 if test "x$GCC" = "xyes"; then
47303 PIC_FLAG="-fPIC"
47304 fi
47305
47306 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47307 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47308 WINDOWS_IMPLIB=0
47309
47310 case "${BAKEFILE_HOST}" in
47311 *-hp-hpux* )
47312 if test "x$GCC" != "xyes"; then
47313 LDFLAGS="$LDFLAGS -L/usr/lib"
47314
47315 SHARED_LD_CC="${CC} -b -o"
47316 SHARED_LD_CXX="${CXX} -b -o"
47317 PIC_FLAG="+Z"
47318 fi
47319 ;;
47320
47321 *-*-linux* )
47322 if test "$INTELCC" = "yes"; then
47323 PIC_FLAG="-KPIC"
47324 elif test "x$SUNCXX" = "xyes"; then
47325 SHARED_LD_CC="${CC} -G -o"
47326 SHARED_LD_CXX="${CXX} -G -o"
47327 PIC_FLAG="-KPIC"
47328 fi
47329 ;;
47330
47331 *-*-solaris2* )
47332 if test "x$SUNCXX" = xyes ; then
47333 SHARED_LD_CC="${CC} -G -o"
47334 SHARED_LD_CXX="${CXX} -G -o"
47335 PIC_FLAG="-KPIC"
47336 fi
47337 ;;
47338
47339 *-*-darwin* )
47340
47341 D='$'
47342 cat <<EOF >shared-ld-sh
47343 #!/bin/sh
47344 #-----------------------------------------------------------------------------
47345 #-- Name: distrib/mac/shared-ld-sh
47346 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47347 #-- Author: Gilles Depeyrot
47348 #-- Copyright: (c) 2002 Gilles Depeyrot
47349 #-- Licence: any use permitted
47350 #-----------------------------------------------------------------------------
47351
47352 verbose=0
47353 args=""
47354 objects=""
47355 linking_flag="-dynamiclib"
47356 ldargs="-r -keep_private_externs -nostdlib"
47357
47358 while test ${D}# -gt 0; do
47359 case ${D}1 in
47360
47361 -v)
47362 verbose=1
47363 ;;
47364
47365 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47366 # collect these options and values
47367 args="${D}{args} ${D}1 ${D}2"
47368 shift
47369 ;;
47370
47371 -s|-Wl,*)
47372 # collect these load args
47373 ldargs="${D}{ldargs} ${D}1"
47374 ;;
47375
47376 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47377 # collect these options
47378 args="${D}{args} ${D}1"
47379 ;;
47380
47381 -dynamiclib|-bundle)
47382 linking_flag="${D}1"
47383 ;;
47384
47385 -*)
47386 echo "shared-ld: unhandled option '${D}1'"
47387 exit 1
47388 ;;
47389
47390 *.o | *.a | *.dylib)
47391 # collect object files
47392 objects="${D}{objects} ${D}1"
47393 ;;
47394
47395 *)
47396 echo "shared-ld: unhandled argument '${D}1'"
47397 exit 1
47398 ;;
47399
47400 esac
47401 shift
47402 done
47403
47404 status=0
47405
47406 #
47407 # Link one module containing all the others
47408 #
47409 if test ${D}{verbose} = 1; then
47410 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47411 fi
47412 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47413 status=${D}?
47414
47415 #
47416 # Link the shared library from the single module created, but only if the
47417 # previous command didn't fail:
47418 #
47419 if test ${D}{status} = 0; then
47420 if test ${D}{verbose} = 1; then
47421 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47422 fi
47423 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47424 status=${D}?
47425 fi
47426
47427 #
47428 # Remove intermediate module
47429 #
47430 rm -f master.${D}${D}.o
47431
47432 exit ${D}status
47433 EOF
47434
47435 chmod +x shared-ld-sh
47436
47437 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47438 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47439
47440
47441 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47442 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47443 if test "${bakefile_cv_gcc31+set}" = set; then
47444 echo $ECHO_N "(cached) $ECHO_C" >&6
47445 else
47446
47447 cat >conftest.$ac_ext <<_ACEOF
47448 /* confdefs.h. */
47449 _ACEOF
47450 cat confdefs.h >>conftest.$ac_ext
47451 cat >>conftest.$ac_ext <<_ACEOF
47452 /* end confdefs.h. */
47453
47454 int
47455 main ()
47456 {
47457
47458 #if (__GNUC__ < 3) || \
47459 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47460 This is old gcc
47461 #endif
47462
47463 ;
47464 return 0;
47465 }
47466 _ACEOF
47467 rm -f conftest.$ac_objext
47468 if { (ac_try="$ac_compile"
47469 case "(($ac_try" in
47470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47471 *) ac_try_echo=$ac_try;;
47472 esac
47473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47474 (eval "$ac_compile") 2>conftest.er1
47475 ac_status=$?
47476 grep -v '^ *+' conftest.er1 >conftest.err
47477 rm -f conftest.er1
47478 cat conftest.err >&5
47479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47480 (exit $ac_status); } && {
47481 test -z "$ac_c_werror_flag" ||
47482 test ! -s conftest.err
47483 } && test -s conftest.$ac_objext; then
47484
47485 bakefile_cv_gcc31=yes
47486
47487 else
47488 echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.$ac_ext >&5
47490
47491
47492 bakefile_cv_gcc31=no
47493
47494
47495 fi
47496
47497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47498
47499 fi
47500 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47501 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47502 if test "$bakefile_cv_gcc31" = "no"; then
47503 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47504 SHARED_LD_CXX="$SHARED_LD_CC"
47505 else
47506 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47507 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47508 fi
47509
47510 if test "x$GCC" == "xyes"; then
47511 PIC_FLAG="-dynamic -fPIC"
47512 fi
47513 if test "x$XLCC" = "xyes"; then
47514 PIC_FLAG="-dynamic -DPIC"
47515 fi
47516 ;;
47517
47518 *-*-aix* )
47519 if test "x$GCC" = "xyes"; then
47520 PIC_FLAG=""
47521
47522 case "${BAKEFILE_HOST}" in
47523 *-*-aix5* )
47524 LD_EXPFULL="-Wl,-bexpfull"
47525 ;;
47526 esac
47527
47528 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47529 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47530 else
47531 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47532 set dummy makeC++SharedLib; ac_word=$2
47533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47535 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47536 echo $ECHO_N "(cached) $ECHO_C" >&6
47537 else
47538 if test -n "$AIX_CXX_LD"; then
47539 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47540 else
47541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47542 for as_dir in $PATH
47543 do
47544 IFS=$as_save_IFS
47545 test -z "$as_dir" && as_dir=.
47546 for ac_exec_ext in '' $ac_executable_extensions; do
47547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47548 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47550 break 2
47551 fi
47552 done
47553 done
47554 IFS=$as_save_IFS
47555
47556 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47557 fi
47558 fi
47559 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47560 if test -n "$AIX_CXX_LD"; then
47561 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47562 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47563 else
47564 { echo "$as_me:$LINENO: result: no" >&5
47565 echo "${ECHO_T}no" >&6; }
47566 fi
47567
47568
47569 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47570 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47571 fi
47572 ;;
47573
47574 *-*-beos* )
47575 SHARED_LD_CC="${LD} -nostart -o"
47576 SHARED_LD_CXX="${LD} -nostart -o"
47577 ;;
47578
47579 *-*-irix* )
47580 if test "x$GCC" != "xyes"; then
47581 PIC_FLAG="-KPIC"
47582 fi
47583 ;;
47584
47585 *-*-cygwin* | *-*-mingw32* )
47586 PIC_FLAG=""
47587 SHARED_LD_CC="\$(CC) -shared -o"
47588 SHARED_LD_CXX="\$(CXX) -shared -o"
47589 WINDOWS_IMPLIB=1
47590 ;;
47591
47592 *-pc-os2_emx | *-pc-os2-emx )
47593 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47594 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47595 PIC_FLAG=""
47596
47597 D='$'
47598 cat <<EOF >dllar.sh
47599 #!/bin/sh
47600 #
47601 # dllar - a tool to build both a .dll and an .a file
47602 # from a set of object (.o) files for EMX/OS2.
47603 #
47604 # Written by Andrew Zabolotny, bit@freya.etu.ru
47605 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47606 #
47607 # This script will accept a set of files on the command line.
47608 # All the public symbols from the .o files will be exported into
47609 # a .DEF file, then linker will be run (through gcc) against them to
47610 # build a shared library consisting of all given .o files. All libraries
47611 # (.a) will be first decompressed into component .o files then act as
47612 # described above. You can optionally give a description (-d "description")
47613 # which will be put into .DLL. To see the list of accepted options (as well
47614 # as command-line format) simply run this program without options. The .DLL
47615 # is built to be imported by name (there is no guarantee that new versions
47616 # of the library you build will have same ordinals for same symbols).
47617 #
47618 # dllar is free software; you can redistribute it and/or modify
47619 # it under the terms of the GNU General Public License as published by
47620 # the Free Software Foundation; either version 2, or (at your option)
47621 # any later version.
47622 #
47623 # dllar is distributed in the hope that it will be useful,
47624 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47625 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47626 # GNU General Public License for more details.
47627 #
47628 # You should have received a copy of the GNU General Public License
47629 # along with dllar; see the file COPYING. If not, write to the Free
47630 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47631 # 02111-1307, USA.
47632
47633 # To successfuly run this program you will need:
47634 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47635 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47636 # - gcc
47637 # (used to build the .dll)
47638 # - emxexp
47639 # (used to create .def file from .o files)
47640 # - emximp
47641 # (used to create .a file from .def file)
47642 # - GNU text utilites (cat, sort, uniq)
47643 # used to process emxexp output
47644 # - GNU file utilities (mv, rm)
47645 # - GNU sed
47646 # - lxlite (optional, see flag below)
47647 # (used for general .dll cleanup)
47648 #
47649
47650 flag_USE_LXLITE=1;
47651
47652 #
47653 # helper functions
47654 # basnam, variant of basename, which does _not_ remove the path, _iff_
47655 # second argument (suffix to remove) is given
47656 basnam(){
47657 case ${D}# in
47658 1)
47659 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47660 ;;
47661 2)
47662 echo ${D}1 | sed 's/'${D}2'${D}//'
47663 ;;
47664 *)
47665 echo "error in basnam ${D}*"
47666 exit 8
47667 ;;
47668 esac
47669 }
47670
47671 # Cleanup temporary files and output
47672 CleanUp() {
47673 cd ${D}curDir
47674 for i in ${D}inputFiles ; do
47675 case ${D}i in
47676 *!)
47677 rm -rf \`basnam ${D}i !\`
47678 ;;
47679 *)
47680 ;;
47681 esac
47682 done
47683
47684 # Kill result in case of failure as there is just to many stupid make/nmake
47685 # things out there which doesn't do this.
47686 if [ ${D}# -eq 0 ]; then
47687 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47688 fi
47689 }
47690
47691 # Print usage and exit script with rc=1.
47692 PrintHelp() {
47693 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47694 echo ' [-name-mangler-script script.sh]'
47695 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47696 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47697 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47698 echo ' [*.o] [*.a]'
47699 echo '*> "output_file" should have no extension.'
47700 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47701 echo ' The import library name is derived from this and is set to "name".a,'
47702 echo ' unless overridden by -import'
47703 echo '*> "importlib_name" should have no extension.'
47704 echo ' If it has the .o, or .a extension, it is automatically removed.'
47705 echo ' This name is used as the import library name and may be longer and'
47706 echo ' more descriptive than the DLL name which has to follow the old '
47707 echo ' 8.3 convention of FAT.'
47708 echo '*> "script.sh may be given to override the output_file name by a'
47709 echo ' different name. It is mainly useful if the regular make process'
47710 echo ' of some package does not take into account OS/2 restriction of'
47711 echo ' DLL name lengths. It takes the importlib name as input and is'
47712 echo ' supposed to procude a shorter name as output. The script should'
47713 echo ' expect to get importlib_name without extension and should produce'
47714 echo ' a (max.) 8 letter name without extension.'
47715 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47716 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47717 echo ' These flags will be put at the start of GCC command line.'
47718 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47719 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47720 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47721 echo ' If the last character of a symbol is "*", all symbols beginning'
47722 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47723 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47724 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47725 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47726 echo ' C runtime DLLs.'
47727 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47728 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47729 echo ' unchanged to GCC at the end of command line.'
47730 echo '*> If you create a DLL from a library and you do not specify -o,'
47731 echo ' the basename for DLL and import library will be set to library name,'
47732 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47733 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47734 echo ' library will be renamed into gcc_s.a.'
47735 echo '--------'
47736 echo 'Example:'
47737 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47738 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47739 CleanUp
47740 exit 1
47741 }
47742
47743 # Execute a command.
47744 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47745 # @Uses Whatever CleanUp() uses.
47746 doCommand() {
47747 echo "${D}*"
47748 eval ${D}*
47749 rcCmd=${D}?
47750
47751 if [ ${D}rcCmd -ne 0 ]; then
47752 echo "command failed, exit code="${D}rcCmd
47753 CleanUp
47754 exit ${D}rcCmd
47755 fi
47756 }
47757
47758 # main routine
47759 # setup globals
47760 cmdLine=${D}*
47761 outFile=""
47762 outimpFile=""
47763 inputFiles=""
47764 renameScript=""
47765 description=""
47766 CC=gcc.exe
47767 CFLAGS="-s -Zcrtdll"
47768 EXTRA_CFLAGS=""
47769 EXPORT_BY_ORDINALS=0
47770 exclude_symbols=""
47771 library_flags=""
47772 curDir=\`pwd\`
47773 curDirS=curDir
47774 case ${D}curDirS in
47775 */)
47776 ;;
47777 *)
47778 curDirS=${D}{curDirS}"/"
47779 ;;
47780 esac
47781 # Parse commandline
47782 libsToLink=0
47783 omfLinking=0
47784 while [ ${D}1 ]; do
47785 case ${D}1 in
47786 -ord*)
47787 EXPORT_BY_ORDINALS=1;
47788 ;;
47789 -o*)
47790 shift
47791 outFile=${D}1
47792 ;;
47793 -i*)
47794 shift
47795 outimpFile=${D}1
47796 ;;
47797 -name-mangler-script)
47798 shift
47799 renameScript=${D}1
47800 ;;
47801 -d*)
47802 shift
47803 description=${D}1
47804 ;;
47805 -f*)
47806 shift
47807 CFLAGS=${D}1
47808 ;;
47809 -c*)
47810 shift
47811 CC=${D}1
47812 ;;
47813 -h*)
47814 PrintHelp
47815 ;;
47816 -ex*)
47817 shift
47818 exclude_symbols=${D}{exclude_symbols}${D}1" "
47819 ;;
47820 -libf*)
47821 shift
47822 library_flags=${D}{library_flags}${D}1" "
47823 ;;
47824 -nocrt*)
47825 CFLAGS="-s"
47826 ;;
47827 -nolxl*)
47828 flag_USE_LXLITE=0
47829 ;;
47830 -* | /*)
47831 case ${D}1 in
47832 -L* | -l*)
47833 libsToLink=1
47834 ;;
47835 -Zomf)
47836 omfLinking=1
47837 ;;
47838 *)
47839 ;;
47840 esac
47841 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47842 ;;
47843 *.dll)
47844 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47845 if [ ${D}omfLinking -eq 1 ]; then
47846 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47847 else
47848 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47849 fi
47850 ;;
47851 *)
47852 found=0;
47853 if [ ${D}libsToLink -ne 0 ]; then
47854 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47855 else
47856 for file in ${D}1 ; do
47857 if [ -f ${D}file ]; then
47858 inputFiles="${D}{inputFiles} ${D}file"
47859 found=1
47860 fi
47861 done
47862 if [ ${D}found -eq 0 ]; then
47863 echo "ERROR: No file(s) found: "${D}1
47864 exit 8
47865 fi
47866 fi
47867 ;;
47868 esac
47869 shift
47870 done # iterate cmdline words
47871
47872 #
47873 if [ -z "${D}inputFiles" ]; then
47874 echo "dllar: no input files"
47875 PrintHelp
47876 fi
47877
47878 # Now extract all .o files from .a files
47879 newInputFiles=""
47880 for file in ${D}inputFiles ; do
47881 case ${D}file in
47882 *.a | *.lib)
47883 case ${D}file in
47884 *.a)
47885 suffix=".a"
47886 AR="ar"
47887 ;;
47888 *.lib)
47889 suffix=".lib"
47890 AR="emxomfar"
47891 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47892 ;;
47893 *)
47894 ;;
47895 esac
47896 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47897 mkdir ${D}dirname
47898 if [ ${D}? -ne 0 ]; then
47899 echo "Failed to create subdirectory ./${D}dirname"
47900 CleanUp
47901 exit 8;
47902 fi
47903 # Append '!' to indicate archive
47904 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47905 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47906 cd ${D}curDir
47907 found=0;
47908 for subfile in ${D}dirname/*.o* ; do
47909 if [ -f ${D}subfile ]; then
47910 found=1
47911 if [ -s ${D}subfile ]; then
47912 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47913 newInputFiles="${D}newInputFiles ${D}subfile"
47914 fi
47915 fi
47916 done
47917 if [ ${D}found -eq 0 ]; then
47918 echo "WARNING: there are no files in archive \\'${D}file\\'"
47919 fi
47920 ;;
47921 *)
47922 newInputFiles="${D}{newInputFiles} ${D}file"
47923 ;;
47924 esac
47925 done
47926 inputFiles="${D}newInputFiles"
47927
47928 # Output filename(s).
47929 do_backup=0;
47930 if [ -z ${D}outFile ]; then
47931 do_backup=1;
47932 set outFile ${D}inputFiles; outFile=${D}2
47933 fi
47934
47935 # If it is an archive, remove the '!' and the '_%' suffixes
47936 case ${D}outFile in
47937 *_%!)
47938 outFile=\`basnam ${D}outFile _%!\`
47939 ;;
47940 *)
47941 ;;
47942 esac
47943 case ${D}outFile in
47944 *.dll)
47945 outFile=\`basnam ${D}outFile .dll\`
47946 ;;
47947 *.DLL)
47948 outFile=\`basnam ${D}outFile .DLL\`
47949 ;;
47950 *.o)
47951 outFile=\`basnam ${D}outFile .o\`
47952 ;;
47953 *.obj)
47954 outFile=\`basnam ${D}outFile .obj\`
47955 ;;
47956 *.a)
47957 outFile=\`basnam ${D}outFile .a\`
47958 ;;
47959 *.lib)
47960 outFile=\`basnam ${D}outFile .lib\`
47961 ;;
47962 *)
47963 ;;
47964 esac
47965 case ${D}outimpFile in
47966 *.a)
47967 outimpFile=\`basnam ${D}outimpFile .a\`
47968 ;;
47969 *.lib)
47970 outimpFile=\`basnam ${D}outimpFile .lib\`
47971 ;;
47972 *)
47973 ;;
47974 esac
47975 if [ -z ${D}outimpFile ]; then
47976 outimpFile=${D}outFile
47977 fi
47978 defFile="${D}{outFile}.def"
47979 arcFile="${D}{outimpFile}.a"
47980 arcFile2="${D}{outimpFile}.lib"
47981
47982 #create ${D}dllFile as something matching 8.3 restrictions,
47983 if [ -z ${D}renameScript ] ; then
47984 dllFile="${D}outFile"
47985 else
47986 dllFile=\`${D}renameScript ${D}outimpFile\`
47987 fi
47988
47989 if [ ${D}do_backup -ne 0 ] ; then
47990 if [ -f ${D}arcFile ] ; then
47991 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47992 fi
47993 if [ -f ${D}arcFile2 ] ; then
47994 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47995 fi
47996 fi
47997
47998 # Extract public symbols from all the object files.
47999 tmpdefFile=${D}{defFile}_%
48000 rm -f ${D}tmpdefFile
48001 for file in ${D}inputFiles ; do
48002 case ${D}file in
48003 *!)
48004 ;;
48005 *)
48006 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48007 ;;
48008 esac
48009 done
48010
48011 # Create the def file.
48012 rm -f ${D}defFile
48013 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48014 dllFile="${D}{dllFile}.dll"
48015 if [ ! -z ${D}description ]; then
48016 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48017 fi
48018 echo "EXPORTS" >> ${D}defFile
48019
48020 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48021 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48022
48023 # Checks if the export is ok or not.
48024 for word in ${D}exclude_symbols; do
48025 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48026 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48027 done
48028
48029
48030 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48031 sed "=" < ${D}tmpdefFile | \\
48032 sed '
48033 N
48034 : loop
48035 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48036 t loop
48037 ' > ${D}{tmpdefFile}%
48038 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48039 else
48040 rm -f ${D}{tmpdefFile}%
48041 fi
48042 cat ${D}tmpdefFile >> ${D}defFile
48043 rm -f ${D}tmpdefFile
48044
48045 # Do linking, create implib, and apply lxlite.
48046 gccCmdl="";
48047 for file in ${D}inputFiles ; do
48048 case ${D}file in
48049 *!)
48050 ;;
48051 *)
48052 gccCmdl="${D}gccCmdl ${D}file"
48053 ;;
48054 esac
48055 done
48056 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48057 touch "${D}{outFile}.dll"
48058
48059 doCommand "emximp -o ${D}arcFile ${D}defFile"
48060 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48061 add_flags="";
48062 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48063 add_flags="-ynd"
48064 fi
48065 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48066 fi
48067 doCommand "emxomf -s -l ${D}arcFile"
48068
48069 # Successful exit.
48070 CleanUp 1
48071 exit 0
48072 EOF
48073
48074 chmod +x dllar.sh
48075 ;;
48076
48077 powerpc-apple-macos* | \
48078 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48079 *-*-mirbsd* | \
48080 *-*-sunos4* | \
48081 *-*-osf* | \
48082 *-*-dgux5* | \
48083 *-*-sysv5* | \
48084 *-pc-msdosdjgpp )
48085 ;;
48086
48087 *)
48088 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48089 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48090 { (exit 1); exit 1; }; }
48091 esac
48092
48093 if test "x$PIC_FLAG" != "x" ; then
48094 PIC_FLAG="$PIC_FLAG -DPIC"
48095 fi
48096
48097 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48098 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48099 fi
48100 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48101 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48102 fi
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112 USE_SOVERSION=0
48113 USE_SOVERLINUX=0
48114 USE_SOVERSOLARIS=0
48115 USE_SOVERCYGWIN=0
48116 USE_SOSYMLINKS=0
48117 USE_MACVERSION=0
48118 SONAME_FLAG=
48119
48120 case "${BAKEFILE_HOST}" in
48121 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48122 if test "x$SUNCXX" = "xyes"; then
48123 SONAME_FLAG="-h "
48124 else
48125 SONAME_FLAG="-Wl,-soname,"
48126 fi
48127 USE_SOVERSION=1
48128 USE_SOVERLINUX=1
48129 USE_SOSYMLINKS=1
48130 ;;
48131
48132 *-*-solaris2* )
48133 SONAME_FLAG="-h "
48134 USE_SOVERSION=1
48135 USE_SOVERSOLARIS=1
48136 USE_SOSYMLINKS=1
48137 ;;
48138
48139 *-*-darwin* )
48140 USE_MACVERSION=1
48141 USE_SOVERSION=1
48142 USE_SOSYMLINKS=1
48143 ;;
48144
48145 *-*-cygwin* )
48146 USE_SOVERSION=1
48147 USE_SOVERCYGWIN=1
48148 ;;
48149 esac
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160 # Check whether --enable-dependency-tracking was given.
48161 if test "${enable_dependency_tracking+set}" = set; then
48162 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48163 fi
48164
48165
48166 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48167 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48168
48169 BK_DEPS=""
48170 if test "x$bk_use_trackdeps" = "xno" ; then
48171 DEPS_TRACKING=0
48172 { echo "$as_me:$LINENO: result: disabled" >&5
48173 echo "${ECHO_T}disabled" >&6; }
48174 else
48175 DEPS_TRACKING=1
48176
48177 if test "x$GCC" = "xyes"; then
48178 DEPSMODE=gcc
48179 case "${BAKEFILE_HOST}" in
48180 *-*-darwin* )
48181 DEPSFLAG="-no-cpp-precomp -MMD"
48182 ;;
48183 * )
48184 DEPSFLAG="-MMD"
48185 ;;
48186 esac
48187 { echo "$as_me:$LINENO: result: gcc" >&5
48188 echo "${ECHO_T}gcc" >&6; }
48189 elif test "x$MWCC" = "xyes"; then
48190 DEPSMODE=mwcc
48191 DEPSFLAG="-MM"
48192 { echo "$as_me:$LINENO: result: mwcc" >&5
48193 echo "${ECHO_T}mwcc" >&6; }
48194 elif test "x$SUNCC" = "xyes"; then
48195 DEPSMODE=unixcc
48196 DEPSFLAG="-xM1"
48197 { echo "$as_me:$LINENO: result: Sun cc" >&5
48198 echo "${ECHO_T}Sun cc" >&6; }
48199 elif test "x$SGICC" = "xyes"; then
48200 DEPSMODE=unixcc
48201 DEPSFLAG="-M"
48202 { echo "$as_me:$LINENO: result: SGI cc" >&5
48203 echo "${ECHO_T}SGI cc" >&6; }
48204 elif test "x$HPCC" = "xyes"; then
48205 DEPSMODE=unixcc
48206 DEPSFLAG="+make"
48207 { echo "$as_me:$LINENO: result: HP cc" >&5
48208 echo "${ECHO_T}HP cc" >&6; }
48209 elif test "x$COMPAQCC" = "xyes"; then
48210 DEPSMODE=gcc
48211 DEPSFLAG="-MD"
48212 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48213 echo "${ECHO_T}Compaq cc" >&6; }
48214 else
48215 DEPS_TRACKING=0
48216 { echo "$as_me:$LINENO: result: none" >&5
48217 echo "${ECHO_T}none" >&6; }
48218 fi
48219
48220 if test $DEPS_TRACKING = 1 ; then
48221
48222 D='$'
48223 cat <<EOF >bk-deps
48224 #!/bin/sh
48225
48226 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48227 # script. It is used to track C/C++ files dependencies in portable way.
48228 #
48229 # Permission is given to use this file in any way.
48230
48231 DEPSMODE=${DEPSMODE}
48232 DEPSDIR=.deps
48233 DEPSFLAG="${DEPSFLAG}"
48234
48235 mkdir -p ${D}DEPSDIR
48236
48237 if test ${D}DEPSMODE = gcc ; then
48238 ${D}* ${D}{DEPSFLAG}
48239 status=${D}?
48240 if test ${D}{status} != 0 ; then
48241 exit ${D}{status}
48242 fi
48243 # move created file to the location we want it in:
48244 while test ${D}# -gt 0; do
48245 case "${D}1" in
48246 -o )
48247 shift
48248 objfile=${D}1
48249 ;;
48250 -* )
48251 ;;
48252 * )
48253 srcfile=${D}1
48254 ;;
48255 esac
48256 shift
48257 done
48258 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48259 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48260 if test -f ${D}depfile ; then
48261 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48262 rm -f ${D}depfile
48263 else
48264 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48265 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48266 if test ! -f ${D}depfile ; then
48267 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48268 depfile="${D}objfile.d"
48269 fi
48270 if test -f ${D}depfile ; then
48271 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48272 rm -f ${D}depfile
48273 fi
48274 fi
48275 exit 0
48276 elif test ${D}DEPSMODE = mwcc ; then
48277 ${D}* || exit ${D}?
48278 # Run mwcc again with -MM and redirect into the dep file we want
48279 # NOTE: We can't use shift here because we need ${D}* to be valid
48280 prevarg=
48281 for arg in ${D}* ; do
48282 if test "${D}prevarg" = "-o"; then
48283 objfile=${D}arg
48284 else
48285 case "${D}arg" in
48286 -* )
48287 ;;
48288 * )
48289 srcfile=${D}arg
48290 ;;
48291 esac
48292 fi
48293 prevarg="${D}arg"
48294 done
48295 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48296 exit 0
48297 elif test ${D}DEPSMODE = unixcc; then
48298 ${D}* || exit ${D}?
48299 # Run compiler again with deps flag and redirect into the dep file.
48300 # It doesn't work if the '-o FILE' option is used, but without it the
48301 # dependency file will contain the wrong name for the object. So it is
48302 # removed from the command line, and the dep file is fixed with sed.
48303 cmd=""
48304 while test ${D}# -gt 0; do
48305 case "${D}1" in
48306 -o )
48307 shift
48308 objfile=${D}1
48309 ;;
48310 * )
48311 eval arg${D}#=\\${D}1
48312 cmd="${D}cmd \\${D}arg${D}#"
48313 ;;
48314 esac
48315 shift
48316 done
48317 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48318 exit 0
48319 else
48320 ${D}*
48321 exit ${D}?
48322 fi
48323 EOF
48324
48325 chmod +x bk-deps
48326 BK_DEPS="`pwd`/bk-deps"
48327 fi
48328 fi
48329
48330
48331
48332
48333
48334 case ${BAKEFILE_HOST} in
48335 *-*-cygwin* | *-*-mingw32* )
48336 if test -n "$ac_tool_prefix"; then
48337 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48338 set dummy ${ac_tool_prefix}windres; ac_word=$2
48339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48341 if test "${ac_cv_prog_WINDRES+set}" = set; then
48342 echo $ECHO_N "(cached) $ECHO_C" >&6
48343 else
48344 if test -n "$WINDRES"; then
48345 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48346 else
48347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48348 for as_dir in $PATH
48349 do
48350 IFS=$as_save_IFS
48351 test -z "$as_dir" && as_dir=.
48352 for ac_exec_ext in '' $ac_executable_extensions; do
48353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48354 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48356 break 2
48357 fi
48358 done
48359 done
48360 IFS=$as_save_IFS
48361
48362 fi
48363 fi
48364 WINDRES=$ac_cv_prog_WINDRES
48365 if test -n "$WINDRES"; then
48366 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48367 echo "${ECHO_T}$WINDRES" >&6; }
48368 else
48369 { echo "$as_me:$LINENO: result: no" >&5
48370 echo "${ECHO_T}no" >&6; }
48371 fi
48372
48373
48374 fi
48375 if test -z "$ac_cv_prog_WINDRES"; then
48376 ac_ct_WINDRES=$WINDRES
48377 # Extract the first word of "windres", so it can be a program name with args.
48378 set dummy windres; ac_word=$2
48379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48381 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48382 echo $ECHO_N "(cached) $ECHO_C" >&6
48383 else
48384 if test -n "$ac_ct_WINDRES"; then
48385 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48386 else
48387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48388 for as_dir in $PATH
48389 do
48390 IFS=$as_save_IFS
48391 test -z "$as_dir" && as_dir=.
48392 for ac_exec_ext in '' $ac_executable_extensions; do
48393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48394 ac_cv_prog_ac_ct_WINDRES="windres"
48395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48396 break 2
48397 fi
48398 done
48399 done
48400 IFS=$as_save_IFS
48401
48402 fi
48403 fi
48404 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48405 if test -n "$ac_ct_WINDRES"; then
48406 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48407 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48408 else
48409 { echo "$as_me:$LINENO: result: no" >&5
48410 echo "${ECHO_T}no" >&6; }
48411 fi
48412
48413 if test "x$ac_ct_WINDRES" = x; then
48414 WINDRES=""
48415 else
48416 case $cross_compiling:$ac_tool_warned in
48417 yes:)
48418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48419 whose name does not start with the host triplet. If you think this
48420 configuration is useful to you, please write to autoconf@gnu.org." >&5
48421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48422 whose name does not start with the host triplet. If you think this
48423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48424 ac_tool_warned=yes ;;
48425 esac
48426 WINDRES=$ac_ct_WINDRES
48427 fi
48428 else
48429 WINDRES="$ac_cv_prog_WINDRES"
48430 fi
48431
48432 ;;
48433
48434 *-*-darwin* | powerpc-apple-macos* )
48435 # Extract the first word of "Rez", so it can be a program name with args.
48436 set dummy Rez; ac_word=$2
48437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48439 if test "${ac_cv_prog_REZ+set}" = set; then
48440 echo $ECHO_N "(cached) $ECHO_C" >&6
48441 else
48442 if test -n "$REZ"; then
48443 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48444 else
48445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48446 for as_dir in $PATH
48447 do
48448 IFS=$as_save_IFS
48449 test -z "$as_dir" && as_dir=.
48450 for ac_exec_ext in '' $ac_executable_extensions; do
48451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48452 ac_cv_prog_REZ="Rez"
48453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48454 break 2
48455 fi
48456 done
48457 done
48458 IFS=$as_save_IFS
48459
48460 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48461 fi
48462 fi
48463 REZ=$ac_cv_prog_REZ
48464 if test -n "$REZ"; then
48465 { echo "$as_me:$LINENO: result: $REZ" >&5
48466 echo "${ECHO_T}$REZ" >&6; }
48467 else
48468 { echo "$as_me:$LINENO: result: no" >&5
48469 echo "${ECHO_T}no" >&6; }
48470 fi
48471
48472
48473 # Extract the first word of "SetFile", so it can be a program name with args.
48474 set dummy SetFile; ac_word=$2
48475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48477 if test "${ac_cv_prog_SETFILE+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48480 if test -n "$SETFILE"; then
48481 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48482 else
48483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48484 for as_dir in $PATH
48485 do
48486 IFS=$as_save_IFS
48487 test -z "$as_dir" && as_dir=.
48488 for ac_exec_ext in '' $ac_executable_extensions; do
48489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48490 ac_cv_prog_SETFILE="SetFile"
48491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48492 break 2
48493 fi
48494 done
48495 done
48496 IFS=$as_save_IFS
48497
48498 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48499 fi
48500 fi
48501 SETFILE=$ac_cv_prog_SETFILE
48502 if test -n "$SETFILE"; then
48503 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48504 echo "${ECHO_T}$SETFILE" >&6; }
48505 else
48506 { echo "$as_me:$LINENO: result: no" >&5
48507 echo "${ECHO_T}no" >&6; }
48508 fi
48509
48510
48511 ;;
48512 esac
48513
48514
48515
48516
48517
48518
48519 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48520
48521
48522 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48523
48524
48525
48526 # Check whether --enable-precomp-headers was given.
48527 if test "${enable_precomp_headers+set}" = set; then
48528 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48529 fi
48530
48531
48532 GCC_PCH=0
48533 ICC_PCH=0
48534 USE_PCH=0
48535 BK_MAKE_PCH=""
48536
48537 case ${BAKEFILE_HOST} in
48538 *-*-cygwin* )
48539 bk_use_pch="no"
48540 ;;
48541 esac
48542
48543 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48544 if test "x$GCC" = "xyes"; then
48545 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48546 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48547 cat >conftest.$ac_ext <<_ACEOF
48548 /* confdefs.h. */
48549 _ACEOF
48550 cat confdefs.h >>conftest.$ac_ext
48551 cat >>conftest.$ac_ext <<_ACEOF
48552 /* end confdefs.h. */
48553
48554 int
48555 main ()
48556 {
48557
48558 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48559 There is no PCH support
48560 #endif
48561 #if (__GNUC__ < 3)
48562 There is no PCH support
48563 #endif
48564 #if (__GNUC__ == 3) && \
48565 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48566 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48567 ( defined(__INTEL_COMPILER) )
48568 There is no PCH support
48569 #endif
48570
48571 ;
48572 return 0;
48573 }
48574 _ACEOF
48575 rm -f conftest.$ac_objext
48576 if { (ac_try="$ac_compile"
48577 case "(($ac_try" in
48578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48579 *) ac_try_echo=$ac_try;;
48580 esac
48581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48582 (eval "$ac_compile") 2>conftest.er1
48583 ac_status=$?
48584 grep -v '^ *+' conftest.er1 >conftest.err
48585 rm -f conftest.er1
48586 cat conftest.err >&5
48587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48588 (exit $ac_status); } && {
48589 test -z "$ac_c_werror_flag" ||
48590 test ! -s conftest.err
48591 } && test -s conftest.$ac_objext; then
48592
48593 { echo "$as_me:$LINENO: result: yes" >&5
48594 echo "${ECHO_T}yes" >&6; }
48595 GCC_PCH=1
48596
48597 else
48598 echo "$as_me: failed program was:" >&5
48599 sed 's/^/| /' conftest.$ac_ext >&5
48600
48601
48602 cat >conftest.$ac_ext <<_ACEOF
48603 /* confdefs.h. */
48604 _ACEOF
48605 cat confdefs.h >>conftest.$ac_ext
48606 cat >>conftest.$ac_ext <<_ACEOF
48607 /* end confdefs.h. */
48608
48609 int
48610 main ()
48611 {
48612
48613 #if !defined(__INTEL_COMPILER) || \
48614 (__INTEL_COMPILER < 800)
48615 There is no PCH support
48616 #endif
48617
48618 ;
48619 return 0;
48620 }
48621 _ACEOF
48622 rm -f conftest.$ac_objext
48623 if { (ac_try="$ac_compile"
48624 case "(($ac_try" in
48625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48626 *) ac_try_echo=$ac_try;;
48627 esac
48628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48629 (eval "$ac_compile") 2>conftest.er1
48630 ac_status=$?
48631 grep -v '^ *+' conftest.er1 >conftest.err
48632 rm -f conftest.er1
48633 cat conftest.err >&5
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); } && {
48636 test -z "$ac_c_werror_flag" ||
48637 test ! -s conftest.err
48638 } && test -s conftest.$ac_objext; then
48639
48640 { echo "$as_me:$LINENO: result: yes" >&5
48641 echo "${ECHO_T}yes" >&6; }
48642 ICC_PCH=1
48643
48644 else
48645 echo "$as_me: failed program was:" >&5
48646 sed 's/^/| /' conftest.$ac_ext >&5
48647
48648
48649 { echo "$as_me:$LINENO: result: no" >&5
48650 echo "${ECHO_T}no" >&6; }
48651
48652 fi
48653
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655
48656 fi
48657
48658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48659 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48660 USE_PCH=1
48661
48662 D='$'
48663 cat <<EOF >bk-make-pch
48664 #!/bin/sh
48665
48666 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48667 # script. It is used to generated precompiled headers.
48668 #
48669 # Permission is given to use this file in any way.
48670
48671 outfile="${D}{1}"
48672 header="${D}{2}"
48673 shift
48674 shift
48675
48676 compiler=""
48677 headerfile=""
48678
48679 while test ${D}{#} -gt 0; do
48680 add_to_cmdline=1
48681 case "${D}{1}" in
48682 -I* )
48683 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48684 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48685 headerfile="${D}{incdir}/${D}{header}"
48686 fi
48687 ;;
48688 -use-pch|-use_pch )
48689 shift
48690 add_to_cmdline=0
48691 ;;
48692 esac
48693 if test ${D}add_to_cmdline = 1 ; then
48694 compiler="${D}{compiler} ${D}{1}"
48695 fi
48696 shift
48697 done
48698
48699 if test "x${D}{headerfile}" = "x" ; then
48700 echo "error: can't find header ${D}{header} in include paths" >&2
48701 else
48702 if test -f ${D}{outfile} ; then
48703 rm -f ${D}{outfile}
48704 else
48705 mkdir -p \`dirname ${D}{outfile}\`
48706 fi
48707 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48708 mkdir -p .deps
48709 if test "x${GCC_PCH}" = "x1" ; then
48710 # can do this because gcc is >= 3.4:
48711 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48712 elif test "x${ICC_PCH}" = "x1" ; then
48713 filename=pch_gen-${D}${D}
48714 file=${D}{filename}.c
48715 dfile=${D}{filename}.d
48716 cat > ${D}file <<EOT
48717 #include "${D}header"
48718 EOT
48719 # using -MF icc complains about differing command lines in creation/use
48720 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48721 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48722 rm -f ${D}file ${D}dfile ${D}{filename}.o
48723 fi
48724 exit ${D}{?}
48725 fi
48726 EOF
48727
48728 chmod +x bk-make-pch
48729 BK_MAKE_PCH="`pwd`/bk-make-pch"
48730 fi
48731 fi
48732 fi
48733
48734
48735
48736
48737
48738 COND_BUILD_DEBUG="#"
48739 if test "x$BUILD" = "xdebug" ; then
48740 COND_BUILD_DEBUG=""
48741 fi
48742
48743 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48744 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48745 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48746 fi
48747
48748 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48749 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48750 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48751 fi
48752
48753 COND_BUILD_DEBUG_UNICODE_0="#"
48754 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48755 COND_BUILD_DEBUG_UNICODE_0=""
48756 fi
48757
48758 COND_BUILD_DEBUG_UNICODE_1="#"
48759 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48760 COND_BUILD_DEBUG_UNICODE_1=""
48761 fi
48762
48763 COND_BUILD_RELEASE="#"
48764 if test "x$BUILD" = "xrelease" ; then
48765 COND_BUILD_RELEASE=""
48766 fi
48767
48768 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48769 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48770 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48771 fi
48772
48773 COND_BUILD_RELEASE_UNICODE_0="#"
48774 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48775 COND_BUILD_RELEASE_UNICODE_0=""
48776 fi
48777
48778 COND_BUILD_RELEASE_UNICODE_1="#"
48779 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48780 COND_BUILD_RELEASE_UNICODE_1=""
48781 fi
48782
48783 COND_DEBUG_FLAG_1="#"
48784 if test "x$DEBUG_FLAG" = "x1" ; then
48785 COND_DEBUG_FLAG_1=""
48786 fi
48787
48788 COND_DEBUG_INFO_0="#"
48789 if test "x$DEBUG_INFO" = "x0" ; then
48790 COND_DEBUG_INFO_0=""
48791 fi
48792
48793 COND_DEBUG_INFO_1="#"
48794 if test "x$DEBUG_INFO" = "x1" ; then
48795 COND_DEBUG_INFO_1=""
48796 fi
48797
48798 COND_DEPS_TRACKING_0="#"
48799 if test "x$DEPS_TRACKING" = "x0" ; then
48800 COND_DEPS_TRACKING_0=""
48801 fi
48802
48803 COND_DEPS_TRACKING_1="#"
48804 if test "x$DEPS_TRACKING" = "x1" ; then
48805 COND_DEPS_TRACKING_1=""
48806 fi
48807
48808 COND_GCC_PCH_1="#"
48809 if test "x$GCC_PCH" = "x1" ; then
48810 COND_GCC_PCH_1=""
48811 fi
48812
48813 COND_ICC_PCH_1="#"
48814 if test "x$ICC_PCH" = "x1" ; then
48815 COND_ICC_PCH_1=""
48816 fi
48817
48818 COND_MONOLITHIC_0="#"
48819 if test "x$MONOLITHIC" = "x0" ; then
48820 COND_MONOLITHIC_0=""
48821 fi
48822
48823 COND_MONOLITHIC_0_SHARED_0="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48825 COND_MONOLITHIC_0_SHARED_0=""
48826 fi
48827
48828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48831 fi
48832
48833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48836 fi
48837
48838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48841 fi
48842
48843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48846 fi
48847
48848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48851 fi
48852
48853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48856 fi
48857
48858 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48861 fi
48862
48863 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48866 fi
48867
48868 COND_MONOLITHIC_0_SHARED_1="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1=""
48871 fi
48872
48873 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48876 fi
48877
48878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48881 fi
48882
48883 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48886 fi
48887
48888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48891 fi
48892
48893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48896 fi
48897
48898 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48900 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48901 fi
48902
48903 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48905 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48906 fi
48907
48908 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48910 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48911 fi
48912
48913 COND_MONOLITHIC_0_USE_AUI_1="#"
48914 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48915 COND_MONOLITHIC_0_USE_AUI_1=""
48916 fi
48917
48918 COND_MONOLITHIC_0_USE_GUI_1="#"
48919 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48920 COND_MONOLITHIC_0_USE_GUI_1=""
48921 fi
48922
48923 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48924 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48925 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48926 fi
48927
48928 COND_MONOLITHIC_0_USE_HTML_1="#"
48929 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48930 COND_MONOLITHIC_0_USE_HTML_1=""
48931 fi
48932
48933 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48934 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48935 COND_MONOLITHIC_0_USE_MEDIA_1=""
48936 fi
48937
48938 COND_MONOLITHIC_0_USE_QA_1="#"
48939 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48940 COND_MONOLITHIC_0_USE_QA_1=""
48941 fi
48942
48943 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48944 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48945 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48946 fi
48947
48948 COND_MONOLITHIC_0_USE_STC_1="#"
48949 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48950 COND_MONOLITHIC_0_USE_STC_1=""
48951 fi
48952
48953 COND_MONOLITHIC_0_USE_XRC_1="#"
48954 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48955 COND_MONOLITHIC_0_USE_XRC_1=""
48956 fi
48957
48958 COND_MONOLITHIC_1="#"
48959 if test "x$MONOLITHIC" = "x1" ; then
48960 COND_MONOLITHIC_1=""
48961 fi
48962
48963 COND_MONOLITHIC_1_SHARED_0="#"
48964 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48965 COND_MONOLITHIC_1_SHARED_0=""
48966 fi
48967
48968 COND_MONOLITHIC_1_SHARED_1="#"
48969 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48970 COND_MONOLITHIC_1_SHARED_1=""
48971 fi
48972
48973 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48974 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48975 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48976 fi
48977
48978 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48979 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48980 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48981 fi
48982
48983 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48984 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48985 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48986 fi
48987
48988 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48989 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48990 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48991 fi
48992
48993 COND_PLATFORM_MACOSX_1="#"
48994 if test "x$PLATFORM_MACOSX" = "x1" ; then
48995 COND_PLATFORM_MACOSX_1=""
48996 fi
48997
48998 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48999 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49000 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49001 fi
49002
49003 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49004 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49005 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49006 fi
49007
49008 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49009 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49010 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49011 fi
49012
49013 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49014 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49015 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49016 fi
49017
49018 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49020 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49021 fi
49022
49023 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49025 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49026 fi
49027
49028 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49030 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49031 fi
49032
49033 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49035 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49036 fi
49037
49038 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49040 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49041 fi
49042
49043 COND_PLATFORM_MACOS_1="#"
49044 if test "x$PLATFORM_MACOS" = "x1" ; then
49045 COND_PLATFORM_MACOS_1=""
49046 fi
49047
49048 COND_PLATFORM_MAC_1="#"
49049 if test "x$PLATFORM_MAC" = "x1" ; then
49050 COND_PLATFORM_MAC_1=""
49051 fi
49052
49053 COND_PLATFORM_MSDOS_1="#"
49054 if test "x$PLATFORM_MSDOS" = "x1" ; then
49055 COND_PLATFORM_MSDOS_1=""
49056 fi
49057
49058 COND_PLATFORM_OS2_1="#"
49059 if test "x$PLATFORM_OS2" = "x1" ; then
49060 COND_PLATFORM_OS2_1=""
49061 fi
49062
49063 COND_PLATFORM_UNIX_0="#"
49064 if test "x$PLATFORM_UNIX" = "x0" ; then
49065 COND_PLATFORM_UNIX_0=""
49066 fi
49067
49068 COND_PLATFORM_UNIX_1="#"
49069 if test "x$PLATFORM_UNIX" = "x1" ; then
49070 COND_PLATFORM_UNIX_1=""
49071 fi
49072
49073 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49074 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49075 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49076 fi
49077
49078 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49079 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49080 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49081 fi
49082
49083 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49084 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49085 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49086 fi
49087
49088 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49089 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49090 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49091 fi
49092
49093 COND_PLATFORM_WIN32_0="#"
49094 if test "x$PLATFORM_WIN32" = "x0" ; then
49095 COND_PLATFORM_WIN32_0=""
49096 fi
49097
49098 COND_PLATFORM_WIN32_1="#"
49099 if test "x$PLATFORM_WIN32" = "x1" ; then
49100 COND_PLATFORM_WIN32_1=""
49101 fi
49102
49103 COND_SHARED_0="#"
49104 if test "x$SHARED" = "x0" ; then
49105 COND_SHARED_0=""
49106 fi
49107
49108 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49109 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49110 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49111 fi
49112
49113 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49114 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49115 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49116 fi
49117
49118 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49119 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49120 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49121 fi
49122
49123 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49124 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49125 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49126 fi
49127
49128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49129 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49130 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49131 fi
49132
49133 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49134 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49135 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49136 fi
49137
49138 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49139 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49140 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49141 fi
49142
49143 COND_SHARED_0_USE_STC_1="#"
49144 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49145 COND_SHARED_0_USE_STC_1=""
49146 fi
49147
49148 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49149 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49150 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49151 fi
49152
49153 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49154 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49155 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49156 fi
49157
49158 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49159 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49160 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49161 fi
49162
49163 COND_SHARED_1="#"
49164 if test "x$SHARED" = "x1" ; then
49165 COND_SHARED_1=""
49166 fi
49167
49168 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49169 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49170 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49171 fi
49172
49173 COND_TOOLKIT_="#"
49174 if test "x$TOOLKIT" = "x" ; then
49175 COND_TOOLKIT_=""
49176 fi
49177
49178 COND_TOOLKIT_COCOA="#"
49179 if test "x$TOOLKIT" = "xCOCOA" ; then
49180 COND_TOOLKIT_COCOA=""
49181 fi
49182
49183 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49184 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49185 COND_TOOLKIT_COCOA_USE_GUI_1=""
49186 fi
49187
49188 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49189 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49190 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49191 fi
49192
49193 COND_TOOLKIT_DFB="#"
49194 if test "x$TOOLKIT" = "xDFB" ; then
49195 COND_TOOLKIT_DFB=""
49196 fi
49197
49198 COND_TOOLKIT_DFB_USE_GUI_1="#"
49199 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49200 COND_TOOLKIT_DFB_USE_GUI_1=""
49201 fi
49202
49203 COND_TOOLKIT_GTK="#"
49204 if test "x$TOOLKIT" = "xGTK" ; then
49205 COND_TOOLKIT_GTK=""
49206 fi
49207
49208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49211 fi
49212
49213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49216 fi
49217
49218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49221 fi
49222
49223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49226 fi
49227
49228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49231 fi
49232
49233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49236 fi
49237
49238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49241 fi
49242
49243 COND_TOOLKIT_GTK_USE_GUI_1="#"
49244 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49245 COND_TOOLKIT_GTK_USE_GUI_1=""
49246 fi
49247
49248 COND_TOOLKIT_MAC="#"
49249 if test "x$TOOLKIT" = "xMAC" ; then
49250 COND_TOOLKIT_MAC=""
49251 fi
49252
49253 COND_TOOLKIT_MAC_USE_GUI_1="#"
49254 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49255 COND_TOOLKIT_MAC_USE_GUI_1=""
49256 fi
49257
49258 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49259 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49260 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49261 fi
49262
49263 COND_TOOLKIT_MGL="#"
49264 if test "x$TOOLKIT" = "xMGL" ; then
49265 COND_TOOLKIT_MGL=""
49266 fi
49267
49268 COND_TOOLKIT_MGL_USE_GUI_1="#"
49269 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_MGL_USE_GUI_1=""
49271 fi
49272
49273 COND_TOOLKIT_MOTIF="#"
49274 if test "x$TOOLKIT" = "xMOTIF" ; then
49275 COND_TOOLKIT_MOTIF=""
49276 fi
49277
49278 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49279 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49280 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49281 fi
49282
49283 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49284 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49285 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49286 fi
49287
49288 COND_TOOLKIT_MSW="#"
49289 if test "x$TOOLKIT" = "xMSW" ; then
49290 COND_TOOLKIT_MSW=""
49291 fi
49292
49293 COND_TOOLKIT_MSW_USE_GUI_1="#"
49294 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49295 COND_TOOLKIT_MSW_USE_GUI_1=""
49296 fi
49297
49298 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49299 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49300 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49301 fi
49302
49303 COND_TOOLKIT_MSW_WXUNIV_0="#"
49304 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49305 COND_TOOLKIT_MSW_WXUNIV_0=""
49306 fi
49307
49308 COND_TOOLKIT_PM="#"
49309 if test "x$TOOLKIT" = "xPM" ; then
49310 COND_TOOLKIT_PM=""
49311 fi
49312
49313 COND_TOOLKIT_PM_USE_GUI_1="#"
49314 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49315 COND_TOOLKIT_PM_USE_GUI_1=""
49316 fi
49317
49318 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49319 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49320 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49321 fi
49322
49323 COND_TOOLKIT_WINCE="#"
49324 if test "x$TOOLKIT" = "xWINCE" ; then
49325 COND_TOOLKIT_WINCE=""
49326 fi
49327
49328 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49329 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49330 COND_TOOLKIT_WINCE_USE_GUI_1=""
49331 fi
49332
49333 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49334 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49335 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49336 fi
49337
49338 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49339 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49340 COND_TOOLKIT_WINCE_WXUNIV_0=""
49341 fi
49342
49343 COND_TOOLKIT_X11="#"
49344 if test "x$TOOLKIT" = "xX11" ; then
49345 COND_TOOLKIT_X11=""
49346 fi
49347
49348 COND_TOOLKIT_X11_USE_GUI_1="#"
49349 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49350 COND_TOOLKIT_X11_USE_GUI_1=""
49351 fi
49352
49353 COND_UNICODE_1="#"
49354 if test "x$UNICODE" = "x1" ; then
49355 COND_UNICODE_1=""
49356 fi
49357
49358 COND_USE_EXCEPTIONS_0="#"
49359 if test "x$USE_EXCEPTIONS" = "x0" ; then
49360 COND_USE_EXCEPTIONS_0=""
49361 fi
49362
49363 COND_USE_EXCEPTIONS_1="#"
49364 if test "x$USE_EXCEPTIONS" = "x1" ; then
49365 COND_USE_EXCEPTIONS_1=""
49366 fi
49367
49368 COND_USE_GUI_0="#"
49369 if test "x$USE_GUI" = "x0" ; then
49370 COND_USE_GUI_0=""
49371 fi
49372
49373 COND_USE_GUI_1="#"
49374 if test "x$USE_GUI" = "x1" ; then
49375 COND_USE_GUI_1=""
49376 fi
49377
49378 COND_USE_GUI_1_USE_OPENGL_1="#"
49379 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49380 COND_USE_GUI_1_USE_OPENGL_1=""
49381 fi
49382
49383 COND_USE_GUI_1_WXUNIV_0="#"
49384 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49385 COND_USE_GUI_1_WXUNIV_0=""
49386 fi
49387
49388 COND_USE_GUI_1_WXUNIV_1="#"
49389 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49390 COND_USE_GUI_1_WXUNIV_1=""
49391 fi
49392
49393 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49394 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49395 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49396 fi
49397
49398 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49399 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49400 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49401 fi
49402
49403 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49404 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49405 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49406 fi
49407
49408 COND_USE_PCH_1="#"
49409 if test "x$USE_PCH" = "x1" ; then
49410 COND_USE_PCH_1=""
49411 fi
49412
49413 COND_USE_PLUGINS_0="#"
49414 if test "x$USE_PLUGINS" = "x0" ; then
49415 COND_USE_PLUGINS_0=""
49416 fi
49417
49418 COND_USE_RTTI_0="#"
49419 if test "x$USE_RTTI" = "x0" ; then
49420 COND_USE_RTTI_0=""
49421 fi
49422
49423 COND_USE_RTTI_1="#"
49424 if test "x$USE_RTTI" = "x1" ; then
49425 COND_USE_RTTI_1=""
49426 fi
49427
49428 COND_USE_SOSYMLINKS_1="#"
49429 if test "x$USE_SOSYMLINKS" = "x1" ; then
49430 COND_USE_SOSYMLINKS_1=""
49431 fi
49432
49433 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49434 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49435 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49436 fi
49437
49438 COND_USE_SOVERLINUX_1="#"
49439 if test "x$USE_SOVERLINUX" = "x1" ; then
49440 COND_USE_SOVERLINUX_1=""
49441 fi
49442
49443 COND_USE_SOVERSION_0="#"
49444 if test "x$USE_SOVERSION" = "x0" ; then
49445 COND_USE_SOVERSION_0=""
49446 fi
49447
49448 COND_USE_SOVERSOLARIS_1="#"
49449 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49450 COND_USE_SOVERSOLARIS_1=""
49451 fi
49452
49453 COND_USE_STC_1="#"
49454 if test "x$USE_STC" = "x1" ; then
49455 COND_USE_STC_1=""
49456 fi
49457
49458 COND_USE_THREADS_0="#"
49459 if test "x$USE_THREADS" = "x0" ; then
49460 COND_USE_THREADS_0=""
49461 fi
49462
49463 COND_USE_THREADS_1="#"
49464 if test "x$USE_THREADS" = "x1" ; then
49465 COND_USE_THREADS_1=""
49466 fi
49467
49468 COND_USE_XRC_1="#"
49469 if test "x$USE_XRC" = "x1" ; then
49470 COND_USE_XRC_1=""
49471 fi
49472
49473 COND_WINDOWS_IMPLIB_1="#"
49474 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49475 COND_WINDOWS_IMPLIB_1=""
49476 fi
49477
49478 COND_WITH_PLUGIN_SDL_1="#"
49479 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49480 COND_WITH_PLUGIN_SDL_1=""
49481 fi
49482
49483 COND_WXUNIV_0="#"
49484 if test "x$WXUNIV" = "x0" ; then
49485 COND_WXUNIV_0=""
49486 fi
49487
49488 COND_WXUNIV_1="#"
49489 if test "x$WXUNIV" = "x1" ; then
49490 COND_WXUNIV_1=""
49491 fi
49492
49493 COND_WXUSE_EXPAT_BUILTIN="#"
49494 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49495 COND_WXUSE_EXPAT_BUILTIN=""
49496 fi
49497
49498 COND_WXUSE_LIBJPEG_BUILTIN="#"
49499 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49500 COND_WXUSE_LIBJPEG_BUILTIN=""
49501 fi
49502
49503 COND_WXUSE_LIBPNG_BUILTIN="#"
49504 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49505 COND_WXUSE_LIBPNG_BUILTIN=""
49506 fi
49507
49508 COND_WXUSE_LIBTIFF_BUILTIN="#"
49509 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49510 COND_WXUSE_LIBTIFF_BUILTIN=""
49511 fi
49512
49513 COND_WXUSE_REGEX_BUILTIN="#"
49514 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49515 COND_WXUSE_REGEX_BUILTIN=""
49516 fi
49517
49518 COND_WXUSE_ZLIB_BUILTIN="#"
49519 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49520 COND_WXUSE_ZLIB_BUILTIN=""
49521 fi
49522
49523
49524
49525 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49526 { { 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
49527 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;}
49528 { (exit 1); exit 1; }; }
49529 fi
49530
49531 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49532 { { 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
49533 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;}
49534 { (exit 1); exit 1; }; }
49535 fi
49536
49537
49538 case ${INSTALL} in
49539 /* ) # Absolute
49540 ;;
49541 ?:* ) # Drive letter, considered as absolute.
49542 ;;
49543 *)
49544 INSTALL=`pwd`/${INSTALL} ;;
49545 esac
49546
49547 if test "$wxUSE_GUI" = "yes"; then
49548
49549 if test "$wxUSE_MSW" = 1 ; then
49550 if test "x$WINDRES" = "x"; then
49551 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49552 echo "$as_me: error: Required windres program not found" >&2;}
49553 { (exit 1); exit 1; }; }
49554 fi
49555
49556 RESCOMP="$WINDRES"
49557 fi
49558
49559 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49560 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49561 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49562
49563 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49564
49565 # Extract the first word of "DeRez", so it can be a program name with args.
49566 set dummy DeRez; ac_word=$2
49567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49569 if test "${ac_cv_prog_DEREZ+set}" = set; then
49570 echo $ECHO_N "(cached) $ECHO_C" >&6
49571 else
49572 if test -n "$DEREZ"; then
49573 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49574 else
49575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49576 for as_dir in $PATH
49577 do
49578 IFS=$as_save_IFS
49579 test -z "$as_dir" && as_dir=.
49580 for ac_exec_ext in '' $ac_executable_extensions; do
49581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49582 ac_cv_prog_DEREZ="DeRez"
49583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49584 break 2
49585 fi
49586 done
49587 done
49588 IFS=$as_save_IFS
49589
49590 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49591 fi
49592 fi
49593 DEREZ=$ac_cv_prog_DEREZ
49594 if test -n "$DEREZ"; then
49595 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49596 echo "${ECHO_T}$DEREZ" >&6; }
49597 else
49598 { echo "$as_me:$LINENO: result: no" >&5
49599 echo "${ECHO_T}no" >&6; }
49600 fi
49601
49602
49603
49604 MACSETFILE="\$(SETFILE)"
49605
49606 if test "$wxUSE_MAC" = 1; then
49607 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49608 RESCOMP="$REZ"
49609 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49610 else
49611 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49612 RESCOMP="cat /dev/null \| $REZ"
49613 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49614 fi
49615
49616 else
49617 MACSETFILE="@true"
49618
49619 if test "$wxUSE_PM" = 1; then
49620 RESCOMP="emxbind"
49621 WXCONFIG_RESFLAGS="-ep"
49622
49623 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49624 else
49625 POSTLINK_COMMAND="@true"
49626 fi
49627 fi
49628
49629 fi
49630
49631
49632 if test $GCC_PCH = 1
49633 then
49634 if test "$wx_cv_gcc_pch_bug" = yes; then
49635 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49636 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49637 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49638 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49639 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49640 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49641 fi
49642
49643 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49644 fi
49645
49646
49647 if test "$wxUSE_MAC" = 1 ; then
49648 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49649 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49650 mv temp bk-deps
49651 chmod +x bk-deps
49652 fi
49653 fi
49654
49655 if test "$wxUSE_SHARED" = "yes"; then
49656 case "${host}" in
49657 *-pc-os2_emx | *-pc-os2-emx )
49658 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49659 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49660 cp -p ${srcdir}/src/os2/dllnames.sh .
49661 cp -p ${srcdir}/src/os2/dllar.sh .
49662 ;;
49663 esac
49664 fi
49665 if test "$wxUSE_OMF" = "yes"; then
49666 case "${host}" in
49667 *-pc-os2_emx | *-pc-os2-emx )
49668 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49669 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49670 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49671 ;;
49672 esac
49673 fi
49674
49675 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49676
49677
49678 case "${host}" in
49679 *-*-solaris2* )
49680 if test "$GCC" = yes; then
49681 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49682 LIBS=`echo $LIBS | sed 's/-mt//'`
49683 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49684 fi
49685 ;;
49686
49687 *-*-linux* )
49688 if test "x$SUNCXX" = xyes; then
49689 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49690 LIBS=`echo $LIBS | sed 's/-pthread//'`
49691 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49692 fi
49693 ;;
49694 esac
49695
49696 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49697 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49698
49699 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49700
49701
49702
49703
49704
49705
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49762 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49763 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49764 echo $ECHO_N "(cached) $ECHO_C" >&6
49765 else
49766 cat >conftest.make <<\_ACEOF
49767 SHELL = /bin/sh
49768 all:
49769 @echo '@@@%%%=$(MAKE)=@@@%%%'
49770 _ACEOF
49771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49773 *@@@%%%=?*=@@@%%%*)
49774 eval ac_cv_prog_make_${ac_make}_set=yes;;
49775 *)
49776 eval ac_cv_prog_make_${ac_make}_set=no;;
49777 esac
49778 rm -f conftest.make
49779 fi
49780 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49781 { echo "$as_me:$LINENO: result: yes" >&5
49782 echo "${ECHO_T}yes" >&6; }
49783 SET_MAKE=
49784 else
49785 { echo "$as_me:$LINENO: result: no" >&5
49786 echo "${ECHO_T}no" >&6; }
49787 SET_MAKE="MAKE=${MAKE-make}"
49788 fi
49789
49790
49791
49792 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49793
49794
49795 if test "$USE_WIN32" = 1; then
49796 ac_config_commands="$ac_config_commands
49797 rcdefs.h
49798 "
49799
49800 fi
49801
49802 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49803
49804
49805 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49806
49807
49808 if test "$wx_cv_version_script" = "yes"; then
49809 ac_config_files="$ac_config_files version-script"
49810
49811 fi
49812 ac_config_files="$ac_config_files Makefile"
49813
49814
49815 ac_config_commands="$ac_config_commands wx-config"
49816
49817
49818
49819 if test "$wxWITH_SUBDIRS" != "no"; then
49820 if test "$wxUSE_GUI" = "yes"; then
49821 SUBDIRS="samples demos utils"
49822 else
49823 SUBDIRS="samples utils"
49824 fi
49825
49826
49827
49828 # Check whether --with-cppunit-prefix was given.
49829 if test "${with_cppunit_prefix+set}" = set; then
49830 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49831 else
49832 cppunit_config_prefix=""
49833 fi
49834
49835
49836 # Check whether --with-cppunit-exec-prefix was given.
49837 if test "${with_cppunit_exec_prefix+set}" = set; then
49838 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49839 else
49840 cppunit_config_exec_prefix=""
49841 fi
49842
49843
49844 if test x$cppunit_config_exec_prefix != x ; then
49845 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49846 if test x${CPPUNIT_CONFIG+set} != xset ; then
49847 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49848 fi
49849 fi
49850 if test x$cppunit_config_prefix != x ; then
49851 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49852 if test x${CPPUNIT_CONFIG+set} != xset ; then
49853 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49854 fi
49855 fi
49856
49857 # Extract the first word of "cppunit-config", so it can be a program name with args.
49858 set dummy cppunit-config; ac_word=$2
49859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49861 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49862 echo $ECHO_N "(cached) $ECHO_C" >&6
49863 else
49864 case $CPPUNIT_CONFIG in
49865 [\\/]* | ?:[\\/]*)
49866 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49867 ;;
49868 *)
49869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49870 for as_dir in $PATH
49871 do
49872 IFS=$as_save_IFS
49873 test -z "$as_dir" && as_dir=.
49874 for ac_exec_ext in '' $ac_executable_extensions; do
49875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49876 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49878 break 2
49879 fi
49880 done
49881 done
49882 IFS=$as_save_IFS
49883
49884 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49885 ;;
49886 esac
49887 fi
49888 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49889 if test -n "$CPPUNIT_CONFIG"; then
49890 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49891 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49892 else
49893 { echo "$as_me:$LINENO: result: no" >&5
49894 echo "${ECHO_T}no" >&6; }
49895 fi
49896
49897
49898 cppunit_version_min=1.8.0
49899
49900 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49901 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49902 no_cppunit=""
49903 if test "$CPPUNIT_CONFIG" = "no" ; then
49904 { echo "$as_me:$LINENO: result: no" >&5
49905 echo "${ECHO_T}no" >&6; }
49906 no_cppunit=yes
49907 else
49908 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49909 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49910 cppunit_version=`$CPPUNIT_CONFIG --version`
49911
49912 cppunit_major_version=`echo $cppunit_version | \
49913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49914 cppunit_minor_version=`echo $cppunit_version | \
49915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49916 cppunit_micro_version=`echo $cppunit_version | \
49917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49918
49919 cppunit_major_min=`echo $cppunit_version_min | \
49920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49921 cppunit_minor_min=`echo $cppunit_version_min | \
49922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49923 cppunit_micro_min=`echo $cppunit_version_min | \
49924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49925
49926 cppunit_version_proper=`expr \
49927 $cppunit_major_version \> $cppunit_major_min \| \
49928 $cppunit_major_version \= $cppunit_major_min \& \
49929 $cppunit_minor_version \> $cppunit_minor_min \| \
49930 $cppunit_major_version \= $cppunit_major_min \& \
49931 $cppunit_minor_version \= $cppunit_minor_min \& \
49932 $cppunit_micro_version \>= $cppunit_micro_min `
49933
49934 if test "$cppunit_version_proper" = "1" ; then
49935 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49936 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49937 else
49938 { echo "$as_me:$LINENO: result: no" >&5
49939 echo "${ECHO_T}no" >&6; }
49940 no_cppunit=yes
49941 fi
49942 fi
49943
49944 if test "x$no_cppunit" = x ; then
49945 SUBDIRS="$SUBDIRS tests"
49946 else
49947 CPPUNIT_CFLAGS=""
49948 CPPUNIT_LIBS=""
49949 :
49950 fi
49951
49952
49953
49954
49955
49956 for subdir in $SUBDIRS; do
49957 if test -d ${srcdir}/${subdir} ; then
49958 if test "$wxUSE_GUI" = "yes"; then
49959 if test ${subdir} = "samples"; then
49960 makefiles="samples/Makefile.in $makefiles"
49961 for sample in $SAMPLES_SUBDIRS; do
49962 if test -d $srcdir/samples/$sample; then
49963 makefiles="samples/$sample/Makefile.in $makefiles"
49964 fi
49965 done
49966 else
49967 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
49968 eval "disabled=\$$disabled_var"
49969 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49970 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49971 fi
49972 else
49973 if test ${subdir} = "samples"; then
49974 makefiles="samples/Makefile.in samples/console/Makefile.in"
49975 elif test ${subdir} = "utils"; then
49976 makefiles=""
49977 for util in HelpGen tex2rtf ; do
49978 if test -d $srcdir/utils/$util ; then
49979 makefiles="utils/$util/Makefile.in \
49980 utils/$util/src/Makefile.in \
49981 $makefiles"
49982 fi
49983 done
49984 else
49985 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49986 fi
49987 fi
49988
49989 for mkin in $makefiles ; do
49990 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49991 ac_config_files="$ac_config_files $mk"
49992
49993 done
49994 fi
49995 done
49996 fi
49997 cat >confcache <<\_ACEOF
49998 # This file is a shell script that caches the results of configure
49999 # tests run on this system so they can be shared between configure
50000 # scripts and configure runs, see configure's option --config-cache.
50001 # It is not useful on other systems. If it contains results you don't
50002 # want to keep, you may remove or edit it.
50003 #
50004 # config.status only pays attention to the cache file if you give it
50005 # the --recheck option to rerun configure.
50006 #
50007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50009 # following values.
50010
50011 _ACEOF
50012
50013 # The following way of writing the cache mishandles newlines in values,
50014 # but we know of no workaround that is simple, portable, and efficient.
50015 # So, we kill variables containing newlines.
50016 # Ultrix sh set writes to stderr and can't be redirected directly,
50017 # and sets the high bit in the cache file unless we assign to the vars.
50018 (
50019 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50020 eval ac_val=\$$ac_var
50021 case $ac_val in #(
50022 *${as_nl}*)
50023 case $ac_var in #(
50024 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50025 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50026 esac
50027 case $ac_var in #(
50028 _ | IFS | as_nl) ;; #(
50029 *) $as_unset $ac_var ;;
50030 esac ;;
50031 esac
50032 done
50033
50034 (set) 2>&1 |
50035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50036 *${as_nl}ac_space=\ *)
50037 # `set' does not quote correctly, so add quotes (double-quote
50038 # substitution turns \\\\ into \\, and sed turns \\ into \).
50039 sed -n \
50040 "s/'/'\\\\''/g;
50041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50042 ;; #(
50043 *)
50044 # `set' quotes correctly as required by POSIX, so do not add quotes.
50045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50046 ;;
50047 esac |
50048 sort
50049 ) |
50050 sed '
50051 /^ac_cv_env_/b end
50052 t clear
50053 :clear
50054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50055 t end
50056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50057 :end' >>confcache
50058 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50059 if test -w "$cache_file"; then
50060 test "x$cache_file" != "x/dev/null" &&
50061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50062 echo "$as_me: updating cache $cache_file" >&6;}
50063 cat confcache >$cache_file
50064 else
50065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50066 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50067 fi
50068 fi
50069 rm -f confcache
50070
50071 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50072 # Let make expand exec_prefix.
50073 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50074
50075 DEFS=-DHAVE_CONFIG_H
50076
50077 ac_libobjs=
50078 ac_ltlibobjs=
50079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50080 # 1. Remove the extension, and $U if already installed.
50081 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50082 ac_i=`echo "$ac_i" | sed "$ac_script"`
50083 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50084 # will be set to the directory where LIBOBJS objects are built.
50085 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50086 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50087 done
50088 LIBOBJS=$ac_libobjs
50089
50090 LTLIBOBJS=$ac_ltlibobjs
50091
50092
50093
50094 : ${CONFIG_STATUS=./config.status}
50095 ac_clean_files_save=$ac_clean_files
50096 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50097 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50098 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50099 cat >$CONFIG_STATUS <<_ACEOF
50100 #! $SHELL
50101 # Generated by $as_me.
50102 # Run this file to recreate the current configuration.
50103 # Compiler output produced by configure, useful for debugging
50104 # configure, is in config.log if it exists.
50105
50106 debug=false
50107 ac_cs_recheck=false
50108 ac_cs_silent=false
50109 SHELL=\${CONFIG_SHELL-$SHELL}
50110 _ACEOF
50111
50112 cat >>$CONFIG_STATUS <<\_ACEOF
50113 ## --------------------- ##
50114 ## M4sh Initialization. ##
50115 ## --------------------- ##
50116
50117 # Be more Bourne compatible
50118 DUALCASE=1; export DUALCASE # for MKS sh
50119 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50120 emulate sh
50121 NULLCMD=:
50122 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50123 # is contrary to our usage. Disable this feature.
50124 alias -g '${1+"$@"}'='"$@"'
50125 setopt NO_GLOB_SUBST
50126 else
50127 case `(set -o) 2>/dev/null` in
50128 *posix*) set -o posix ;;
50129 esac
50130
50131 fi
50132
50133
50134
50135
50136 # PATH needs CR
50137 # Avoid depending upon Character Ranges.
50138 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50139 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50140 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50141 as_cr_digits='0123456789'
50142 as_cr_alnum=$as_cr_Letters$as_cr_digits
50143
50144 # The user is always right.
50145 if test "${PATH_SEPARATOR+set}" != set; then
50146 echo "#! /bin/sh" >conf$$.sh
50147 echo "exit 0" >>conf$$.sh
50148 chmod +x conf$$.sh
50149 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50150 PATH_SEPARATOR=';'
50151 else
50152 PATH_SEPARATOR=:
50153 fi
50154 rm -f conf$$.sh
50155 fi
50156
50157 # Support unset when possible.
50158 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50159 as_unset=unset
50160 else
50161 as_unset=false
50162 fi
50163
50164
50165 # IFS
50166 # We need space, tab and new line, in precisely that order. Quoting is
50167 # there to prevent editors from complaining about space-tab.
50168 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50169 # splitting by setting IFS to empty value.)
50170 as_nl='
50171 '
50172 IFS=" "" $as_nl"
50173
50174 # Find who we are. Look in the path if we contain no directory separator.
50175 case $0 in
50176 *[\\/]* ) as_myself=$0 ;;
50177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50178 for as_dir in $PATH
50179 do
50180 IFS=$as_save_IFS
50181 test -z "$as_dir" && as_dir=.
50182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50183 done
50184 IFS=$as_save_IFS
50185
50186 ;;
50187 esac
50188 # We did not find ourselves, most probably we were run as `sh COMMAND'
50189 # in which case we are not to be found in the path.
50190 if test "x$as_myself" = x; then
50191 as_myself=$0
50192 fi
50193 if test ! -f "$as_myself"; then
50194 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50195 { (exit 1); exit 1; }
50196 fi
50197
50198 # Work around bugs in pre-3.0 UWIN ksh.
50199 for as_var in ENV MAIL MAILPATH
50200 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50201 done
50202 PS1='$ '
50203 PS2='> '
50204 PS4='+ '
50205
50206 # NLS nuisances.
50207 for as_var in \
50208 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50209 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50210 LC_TELEPHONE LC_TIME
50211 do
50212 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50213 eval $as_var=C; export $as_var
50214 else
50215 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50216 fi
50217 done
50218
50219 # Required to use basename.
50220 if expr a : '\(a\)' >/dev/null 2>&1 &&
50221 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50222 as_expr=expr
50223 else
50224 as_expr=false
50225 fi
50226
50227 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50228 as_basename=basename
50229 else
50230 as_basename=false
50231 fi
50232
50233
50234 # Name of the executable.
50235 as_me=`$as_basename -- "$0" ||
50236 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50237 X"$0" : 'X\(//\)$' \| \
50238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50239 echo X/"$0" |
50240 sed '/^.*\/\([^/][^/]*\)\/*$/{
50241 s//\1/
50242 q
50243 }
50244 /^X\/\(\/\/\)$/{
50245 s//\1/
50246 q
50247 }
50248 /^X\/\(\/\).*/{
50249 s//\1/
50250 q
50251 }
50252 s/.*/./; q'`
50253
50254 # CDPATH.
50255 $as_unset CDPATH
50256
50257
50258
50259 as_lineno_1=$LINENO
50260 as_lineno_2=$LINENO
50261 test "x$as_lineno_1" != "x$as_lineno_2" &&
50262 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50263
50264 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50265 # uniformly replaced by the line number. The first 'sed' inserts a
50266 # line-number line after each line using $LINENO; the second 'sed'
50267 # does the real work. The second script uses 'N' to pair each
50268 # line-number line with the line containing $LINENO, and appends
50269 # trailing '-' during substitution so that $LINENO is not a special
50270 # case at line end.
50271 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50272 # scripts with optimization help from Paolo Bonzini. Blame Lee
50273 # E. McMahon (1931-1989) for sed's syntax. :-)
50274 sed -n '
50275 p
50276 /[$]LINENO/=
50277 ' <$as_myself |
50278 sed '
50279 s/[$]LINENO.*/&-/
50280 t lineno
50281 b
50282 :lineno
50283 N
50284 :loop
50285 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50286 t loop
50287 s/-\n.*//
50288 ' >$as_me.lineno &&
50289 chmod +x "$as_me.lineno" ||
50290 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50291 { (exit 1); exit 1; }; }
50292
50293 # Don't try to exec as it changes $[0], causing all sort of problems
50294 # (the dirname of $[0] is not the place where we might find the
50295 # original and so on. Autoconf is especially sensitive to this).
50296 . "./$as_me.lineno"
50297 # Exit status is that of the last command.
50298 exit
50299 }
50300
50301
50302 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50303 as_dirname=dirname
50304 else
50305 as_dirname=false
50306 fi
50307
50308 ECHO_C= ECHO_N= ECHO_T=
50309 case `echo -n x` in
50310 -n*)
50311 case `echo 'x\c'` in
50312 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50313 *) ECHO_C='\c';;
50314 esac;;
50315 *)
50316 ECHO_N='-n';;
50317 esac
50318
50319 if expr a : '\(a\)' >/dev/null 2>&1 &&
50320 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50321 as_expr=expr
50322 else
50323 as_expr=false
50324 fi
50325
50326 rm -f conf$$ conf$$.exe conf$$.file
50327 if test -d conf$$.dir; then
50328 rm -f conf$$.dir/conf$$.file
50329 else
50330 rm -f conf$$.dir
50331 mkdir conf$$.dir
50332 fi
50333 echo >conf$$.file
50334 if ln -s conf$$.file conf$$ 2>/dev/null; then
50335 as_ln_s='ln -s'
50336 # ... but there are two gotchas:
50337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50339 # In both cases, we have to default to `cp -p'.
50340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50341 as_ln_s='cp -p'
50342 elif ln conf$$.file conf$$ 2>/dev/null; then
50343 as_ln_s=ln
50344 else
50345 as_ln_s='cp -p'
50346 fi
50347 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50348 rmdir conf$$.dir 2>/dev/null
50349
50350 if mkdir -p . 2>/dev/null; then
50351 as_mkdir_p=:
50352 else
50353 test -d ./-p && rmdir ./-p
50354 as_mkdir_p=false
50355 fi
50356
50357 if test -x / >/dev/null 2>&1; then
50358 as_test_x='test -x'
50359 else
50360 if ls -dL / >/dev/null 2>&1; then
50361 as_ls_L_option=L
50362 else
50363 as_ls_L_option=
50364 fi
50365 as_test_x='
50366 eval sh -c '\''
50367 if test -d "$1"; then
50368 test -d "$1/.";
50369 else
50370 case $1 in
50371 -*)set "./$1";;
50372 esac;
50373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50374 ???[sx]*):;;*)false;;esac;fi
50375 '\'' sh
50376 '
50377 fi
50378 as_executable_p=$as_test_x
50379
50380 # Sed expression to map a string onto a valid CPP name.
50381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50382
50383 # Sed expression to map a string onto a valid variable name.
50384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50385
50386
50387 exec 6>&1
50388
50389 # Save the log message, to keep $[0] and so on meaningful, and to
50390 # report actual input values of CONFIG_FILES etc. instead of their
50391 # values after options handling.
50392 ac_log="
50393 This file was extended by wxWidgets $as_me 2.9.0, which was
50394 generated by GNU Autoconf 2.61. Invocation command line was
50395
50396 CONFIG_FILES = $CONFIG_FILES
50397 CONFIG_HEADERS = $CONFIG_HEADERS
50398 CONFIG_LINKS = $CONFIG_LINKS
50399 CONFIG_COMMANDS = $CONFIG_COMMANDS
50400 $ $0 $@
50401
50402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50403 "
50404
50405 _ACEOF
50406
50407 cat >>$CONFIG_STATUS <<_ACEOF
50408 # Files that config.status was made for.
50409 config_files="$ac_config_files"
50410 config_headers="$ac_config_headers"
50411 config_commands="$ac_config_commands"
50412
50413 _ACEOF
50414
50415 cat >>$CONFIG_STATUS <<\_ACEOF
50416 ac_cs_usage="\
50417 \`$as_me' instantiates files from templates according to the
50418 current configuration.
50419
50420 Usage: $0 [OPTIONS] [FILE]...
50421
50422 -h, --help print this help, then exit
50423 -V, --version print version number and configuration settings, then exit
50424 -q, --quiet do not print progress messages
50425 -d, --debug don't remove temporary files
50426 --recheck update $as_me by reconfiguring in the same conditions
50427 --file=FILE[:TEMPLATE]
50428 instantiate the configuration file FILE
50429 --header=FILE[:TEMPLATE]
50430 instantiate the configuration header FILE
50431
50432 Configuration files:
50433 $config_files
50434
50435 Configuration headers:
50436 $config_headers
50437
50438 Configuration commands:
50439 $config_commands
50440
50441 Report bugs to <bug-autoconf@gnu.org>."
50442
50443 _ACEOF
50444 cat >>$CONFIG_STATUS <<_ACEOF
50445 ac_cs_version="\\
50446 wxWidgets config.status 2.9.0
50447 configured by $0, generated by GNU Autoconf 2.61,
50448 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50449
50450 Copyright (C) 2006 Free Software Foundation, Inc.
50451 This config.status script is free software; the Free Software Foundation
50452 gives unlimited permission to copy, distribute and modify it."
50453
50454 ac_pwd='$ac_pwd'
50455 srcdir='$srcdir'
50456 INSTALL='$INSTALL'
50457 _ACEOF
50458
50459 cat >>$CONFIG_STATUS <<\_ACEOF
50460 # If no file are specified by the user, then we need to provide default
50461 # value. By we need to know if files were specified by the user.
50462 ac_need_defaults=:
50463 while test $# != 0
50464 do
50465 case $1 in
50466 --*=*)
50467 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50468 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50469 ac_shift=:
50470 ;;
50471 *)
50472 ac_option=$1
50473 ac_optarg=$2
50474 ac_shift=shift
50475 ;;
50476 esac
50477
50478 case $ac_option in
50479 # Handling of the options.
50480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50481 ac_cs_recheck=: ;;
50482 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50483 echo "$ac_cs_version"; exit ;;
50484 --debug | --debu | --deb | --de | --d | -d )
50485 debug=: ;;
50486 --file | --fil | --fi | --f )
50487 $ac_shift
50488 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50489 ac_need_defaults=false;;
50490 --header | --heade | --head | --hea )
50491 $ac_shift
50492 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50493 ac_need_defaults=false;;
50494 --he | --h)
50495 # Conflict between --help and --header
50496 { echo "$as_me: error: ambiguous option: $1
50497 Try \`$0 --help' for more information." >&2
50498 { (exit 1); exit 1; }; };;
50499 --help | --hel | -h )
50500 echo "$ac_cs_usage"; exit ;;
50501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50502 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50503 ac_cs_silent=: ;;
50504
50505 # This is an error.
50506 -*) { echo "$as_me: error: unrecognized option: $1
50507 Try \`$0 --help' for more information." >&2
50508 { (exit 1); exit 1; }; } ;;
50509
50510 *) ac_config_targets="$ac_config_targets $1"
50511 ac_need_defaults=false ;;
50512
50513 esac
50514 shift
50515 done
50516
50517 ac_configure_extra_args=
50518
50519 if $ac_cs_silent; then
50520 exec 6>/dev/null
50521 ac_configure_extra_args="$ac_configure_extra_args --silent"
50522 fi
50523
50524 _ACEOF
50525 cat >>$CONFIG_STATUS <<_ACEOF
50526 if \$ac_cs_recheck; then
50527 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50528 CONFIG_SHELL=$SHELL
50529 export CONFIG_SHELL
50530 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50531 fi
50532
50533 _ACEOF
50534 cat >>$CONFIG_STATUS <<\_ACEOF
50535 exec 5>>config.log
50536 {
50537 echo
50538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50539 ## Running $as_me. ##
50540 _ASBOX
50541 echo "$ac_log"
50542 } >&5
50543
50544 _ACEOF
50545 cat >>$CONFIG_STATUS <<_ACEOF
50546 #
50547 # INIT-COMMANDS
50548 #
50549
50550 CPP="$CPP"
50551 infile="$srcdir/include/wx/msw/genrcdefs.h"
50552 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50553
50554
50555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50556 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50557 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50558 LN_S="${LN_S}"
50559
50560
50561 _ACEOF
50562
50563 cat >>$CONFIG_STATUS <<\_ACEOF
50564
50565 # Handling of arguments.
50566 for ac_config_target in $ac_config_targets
50567 do
50568 case $ac_config_target in
50569 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50570 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50571 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50572 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50573 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50574 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50575 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50576 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50577
50578 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50579 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50580 { (exit 1); exit 1; }; };;
50581 esac
50582 done
50583
50584
50585 # If the user did not use the arguments to specify the items to instantiate,
50586 # then the envvar interface is used. Set only those that are not.
50587 # We use the long form for the default assignment because of an extremely
50588 # bizarre bug on SunOS 4.1.3.
50589 if $ac_need_defaults; then
50590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50593 fi
50594
50595 # Have a temporary directory for convenience. Make it in the build tree
50596 # simply because there is no reason against having it here, and in addition,
50597 # creating and moving files from /tmp can sometimes cause problems.
50598 # Hook for its removal unless debugging.
50599 # Note that there is a small window in which the directory will not be cleaned:
50600 # after its creation but before its name has been assigned to `$tmp'.
50601 $debug ||
50602 {
50603 tmp=
50604 trap 'exit_status=$?
50605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50606 ' 0
50607 trap '{ (exit 1); exit 1; }' 1 2 13 15
50608 }
50609 # Create a (secure) tmp directory for tmp files.
50610
50611 {
50612 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50613 test -n "$tmp" && test -d "$tmp"
50614 } ||
50615 {
50616 tmp=./conf$$-$RANDOM
50617 (umask 077 && mkdir "$tmp")
50618 } ||
50619 {
50620 echo "$me: cannot create a temporary directory in ." >&2
50621 { (exit 1); exit 1; }
50622 }
50623
50624 #
50625 # Set up the sed scripts for CONFIG_FILES section.
50626 #
50627
50628 # No need to generate the scripts if there are no CONFIG_FILES.
50629 # This happens for instance when ./config.status config.h
50630 if test -n "$CONFIG_FILES"; then
50631
50632 _ACEOF
50633
50634
50635
50636 ac_delim='%!_!# '
50637 for ac_last_try in false false false false false :; do
50638 cat >conf$$subs.sed <<_ACEOF
50639 SHELL!$SHELL$ac_delim
50640 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50641 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50642 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50643 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50644 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50645 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50646 exec_prefix!$exec_prefix$ac_delim
50647 prefix!$prefix$ac_delim
50648 program_transform_name!$program_transform_name$ac_delim
50649 bindir!$bindir$ac_delim
50650 sbindir!$sbindir$ac_delim
50651 libexecdir!$libexecdir$ac_delim
50652 datarootdir!$datarootdir$ac_delim
50653 datadir!$datadir$ac_delim
50654 sysconfdir!$sysconfdir$ac_delim
50655 sharedstatedir!$sharedstatedir$ac_delim
50656 localstatedir!$localstatedir$ac_delim
50657 includedir!$includedir$ac_delim
50658 oldincludedir!$oldincludedir$ac_delim
50659 docdir!$docdir$ac_delim
50660 infodir!$infodir$ac_delim
50661 htmldir!$htmldir$ac_delim
50662 dvidir!$dvidir$ac_delim
50663 pdfdir!$pdfdir$ac_delim
50664 psdir!$psdir$ac_delim
50665 libdir!$libdir$ac_delim
50666 localedir!$localedir$ac_delim
50667 mandir!$mandir$ac_delim
50668 DEFS!$DEFS$ac_delim
50669 ECHO_C!$ECHO_C$ac_delim
50670 ECHO_N!$ECHO_N$ac_delim
50671 ECHO_T!$ECHO_T$ac_delim
50672 LIBS!$LIBS$ac_delim
50673 build_alias!$build_alias$ac_delim
50674 host_alias!$host_alias$ac_delim
50675 target_alias!$target_alias$ac_delim
50676 build!$build$ac_delim
50677 build_cpu!$build_cpu$ac_delim
50678 build_vendor!$build_vendor$ac_delim
50679 build_os!$build_os$ac_delim
50680 host!$host$ac_delim
50681 host_cpu!$host_cpu$ac_delim
50682 host_vendor!$host_vendor$ac_delim
50683 host_os!$host_os$ac_delim
50684 target!$target$ac_delim
50685 target_cpu!$target_cpu$ac_delim
50686 target_vendor!$target_vendor$ac_delim
50687 target_os!$target_os$ac_delim
50688 wx_top_builddir!$wx_top_builddir$ac_delim
50689 CC!$CC$ac_delim
50690 CFLAGS!$CFLAGS$ac_delim
50691 LDFLAGS!$LDFLAGS$ac_delim
50692 CPPFLAGS!$CPPFLAGS$ac_delim
50693 ac_ct_CC!$ac_ct_CC$ac_delim
50694 EXEEXT!$EXEEXT$ac_delim
50695 OBJEXT!$OBJEXT$ac_delim
50696 CPP!$CPP$ac_delim
50697 GREP!$GREP$ac_delim
50698 EGREP!$EGREP$ac_delim
50699 CXX!$CXX$ac_delim
50700 CXXFLAGS!$CXXFLAGS$ac_delim
50701 ac_ct_CXX!$ac_ct_CXX$ac_delim
50702 AR!$AR$ac_delim
50703 subdirs!$subdirs$ac_delim
50704 PKG_CONFIG!$PKG_CONFIG$ac_delim
50705 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50706 GTK_LIBS!$GTK_LIBS$ac_delim
50707 GTK_CONFIG!$GTK_CONFIG$ac_delim
50708 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50709 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50710 XMKMF!$XMKMF$ac_delim
50711 X_CFLAGS!$X_CFLAGS$ac_delim
50712 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50713 X_LIBS!$X_LIBS$ac_delim
50714 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50715 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50716 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50717 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50718 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50719 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50720 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50721 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50722 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50723 LIBICONV!$LIBICONV$ac_delim
50724 SDL_CONFIG!$SDL_CONFIG$ac_delim
50725 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50726 SDL_LIBS!$SDL_LIBS$ac_delim
50727 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50728 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50729 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50730 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50731 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50732 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50733 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50734 HILDON_LIBS!$HILDON_LIBS$ac_delim
50735 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50736 _ACEOF
50737
50738 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50739 break
50740 elif $ac_last_try; then
50741 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50742 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50743 { (exit 1); exit 1; }; }
50744 else
50745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50746 fi
50747 done
50748
50749 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50750 if test -n "$ac_eof"; then
50751 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50752 ac_eof=`expr $ac_eof + 1`
50753 fi
50754
50755 cat >>$CONFIG_STATUS <<_ACEOF
50756 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50758 _ACEOF
50759 sed '
50760 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50761 s/^/s,@/; s/!/@,|#_!!_#|/
50762 :n
50763 t n
50764 s/'"$ac_delim"'$/,g/; t
50765 s/$/\\/; p
50766 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50767 ' >>$CONFIG_STATUS <conf$$subs.sed
50768 rm -f conf$$subs.sed
50769 cat >>$CONFIG_STATUS <<_ACEOF
50770 CEOF$ac_eof
50771 _ACEOF
50772
50773
50774 ac_delim='%!_!# '
50775 for ac_last_try in false false false false false :; do
50776 cat >conf$$subs.sed <<_ACEOF
50777 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50778 GST_CFLAGS!$GST_CFLAGS$ac_delim
50779 GST_LIBS!$GST_LIBS$ac_delim
50780 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50781 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50782 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50783 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50784 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50785 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50786 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50787 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50788 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50789 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50790 VENDOR!$VENDOR$ac_delim
50791 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50792 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50793 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50794 WXUNIV!$WXUNIV$ac_delim
50795 MONOLITHIC!$MONOLITHIC$ac_delim
50796 USE_PLUGINS!$USE_PLUGINS$ac_delim
50797 CXXWARNINGS!$CXXWARNINGS$ac_delim
50798 EXTRALIBS!$EXTRALIBS$ac_delim
50799 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50800 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50801 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50802 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50803 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50804 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50805 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50806 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50807 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50808 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50809 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50810 UNICODE!$UNICODE$ac_delim
50811 BUILD!$BUILD$ac_delim
50812 DEBUG_INFO!$DEBUG_INFO$ac_delim
50813 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50814 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50815 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50816 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50817 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50818 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50819 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50820 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50821 RANLIB!$RANLIB$ac_delim
50822 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50823 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50824 INSTALL_DATA!$INSTALL_DATA$ac_delim
50825 LN_S!$LN_S$ac_delim
50826 SET_MAKE!$SET_MAKE$ac_delim
50827 MAKE_SET!$MAKE_SET$ac_delim
50828 AROPTIONS!$AROPTIONS$ac_delim
50829 STRIP!$STRIP$ac_delim
50830 NM!$NM$ac_delim
50831 INSTALL_DIR!$INSTALL_DIR$ac_delim
50832 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50833 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50834 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50835 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50836 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50837 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50838 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50839 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50840 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50841 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50842 SO_SUFFIX!$SO_SUFFIX$ac_delim
50843 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50844 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50845 LIBPREFIX!$LIBPREFIX$ac_delim
50846 LIBEXT!$LIBEXT$ac_delim
50847 DLLPREFIX!$DLLPREFIX$ac_delim
50848 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50849 dlldir!$dlldir$ac_delim
50850 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50851 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50852 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50853 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50854 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50855 PIC_FLAG!$PIC_FLAG$ac_delim
50856 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50857 USE_SOVERSION!$USE_SOVERSION$ac_delim
50858 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50859 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50860 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50861 USE_MACVERSION!$USE_MACVERSION$ac_delim
50862 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50863 SONAME_FLAG!$SONAME_FLAG$ac_delim
50864 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50865 BK_DEPS!$BK_DEPS$ac_delim
50866 WINDRES!$WINDRES$ac_delim
50867 REZ!$REZ$ac_delim
50868 SETFILE!$SETFILE$ac_delim
50869 GCC_PCH!$GCC_PCH$ac_delim
50870 ICC_PCH!$ICC_PCH$ac_delim
50871 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50872 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50873 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50874 _ACEOF
50875
50876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50877 break
50878 elif $ac_last_try; then
50879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50881 { (exit 1); exit 1; }; }
50882 else
50883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50884 fi
50885 done
50886
50887 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50888 if test -n "$ac_eof"; then
50889 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50890 ac_eof=`expr $ac_eof + 1`
50891 fi
50892
50893 cat >>$CONFIG_STATUS <<_ACEOF
50894 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50896 _ACEOF
50897 sed '
50898 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50899 s/^/s,@/; s/!/@,|#_!!_#|/
50900 :n
50901 t n
50902 s/'"$ac_delim"'$/,g/; t
50903 s/$/\\/; p
50904 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50905 ' >>$CONFIG_STATUS <conf$$subs.sed
50906 rm -f conf$$subs.sed
50907 cat >>$CONFIG_STATUS <<_ACEOF
50908 CEOF$ac_eof
50909 _ACEOF
50910
50911
50912 ac_delim='%!_!# '
50913 for ac_last_try in false false false false false :; do
50914 cat >conf$$subs.sed <<_ACEOF
50915 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50916 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50917 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50918 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50919 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50920 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50921 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50922 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50923 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50924 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50925 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50926 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50927 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50928 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50929 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50930 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50931 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50936 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50937 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50939 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50940 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50945 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50946 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50947 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50948 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50949 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50950 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50951 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50952 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50953 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50954 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50955 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50956 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50957 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50958 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50959 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50960 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50961 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50962 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50963 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50964 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50965 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50966 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50967 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50968 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50969 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50970 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50972 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50973 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50974 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50975 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50976 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50977 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50978 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50979 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50980 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50981 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50982 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50983 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50984 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50985 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50986 COND_SHARED_0!$COND_SHARED_0$ac_delim
50987 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50988 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50989 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50990 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50991 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50993 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50994 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50995 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50996 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50997 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50998 COND_SHARED_1!$COND_SHARED_1$ac_delim
50999 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51000 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51001 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51002 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51003 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51004 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51005 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51006 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51009 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51012 _ACEOF
51013
51014 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51015 break
51016 elif $ac_last_try; then
51017 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51018 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51019 { (exit 1); exit 1; }; }
51020 else
51021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51022 fi
51023 done
51024
51025 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51026 if test -n "$ac_eof"; then
51027 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51028 ac_eof=`expr $ac_eof + 1`
51029 fi
51030
51031 cat >>$CONFIG_STATUS <<_ACEOF
51032 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51033 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51034 _ACEOF
51035 sed '
51036 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51037 s/^/s,@/; s/!/@,|#_!!_#|/
51038 :n
51039 t n
51040 s/'"$ac_delim"'$/,g/; t
51041 s/$/\\/; p
51042 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51043 ' >>$CONFIG_STATUS <conf$$subs.sed
51044 rm -f conf$$subs.sed
51045 cat >>$CONFIG_STATUS <<_ACEOF
51046 CEOF$ac_eof
51047 _ACEOF
51048
51049
51050 ac_delim='%!_!# '
51051 for ac_last_try in false false false false false :; do
51052 cat >conf$$subs.sed <<_ACEOF
51053 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51054 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51055 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51056 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51057 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51058 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51059 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51060 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51062 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51063 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51064 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51065 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51066 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51067 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51068 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51069 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51070 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51071 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51072 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51073 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51074 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51075 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51076 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51077 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51078 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51079 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51080 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51081 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51082 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51083 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51084 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51085 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51086 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51087 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51088 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51089 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51090 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51091 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51092 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51093 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51094 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51095 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51096 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51097 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51098 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51099 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51100 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51101 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51102 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51103 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51104 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51105 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51106 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51107 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51108 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51109 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51110 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51111 DEREZ!$DEREZ$ac_delim
51112 SHARED!$SHARED$ac_delim
51113 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51114 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51115 USE_GUI!$USE_GUI$ac_delim
51116 AFMINSTALL!$AFMINSTALL$ac_delim
51117 WIN32INSTALL!$WIN32INSTALL$ac_delim
51118 TOOLKIT!$TOOLKIT$ac_delim
51119 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51120 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51121 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51122 cross_compiling!$cross_compiling$ac_delim
51123 WIDGET_SET!$WIDGET_SET$ac_delim
51124 WX_RELEASE!$WX_RELEASE$ac_delim
51125 WX_VERSION!$WX_VERSION$ac_delim
51126 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51127 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51128 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51129 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51130 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51131 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51132 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51133 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51134 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51135 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51136 GUIDIST!$GUIDIST$ac_delim
51137 DISTDIR!$DISTDIR$ac_delim
51138 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51139 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51140 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51141 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51142 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51143 RESCOMP!$RESCOMP$ac_delim
51144 RESFLAGS!$RESFLAGS$ac_delim
51145 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51146 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51147 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51148 LIBWXMACRES!$LIBWXMACRES$ac_delim
51149 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51150 _ACEOF
51151
51152 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51153 break
51154 elif $ac_last_try; then
51155 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51156 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51157 { (exit 1); exit 1; }; }
51158 else
51159 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51160 fi
51161 done
51162
51163 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51164 if test -n "$ac_eof"; then
51165 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51166 ac_eof=`expr $ac_eof + 1`
51167 fi
51168
51169 cat >>$CONFIG_STATUS <<_ACEOF
51170 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51171 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51172 _ACEOF
51173 sed '
51174 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51175 s/^/s,@/; s/!/@,|#_!!_#|/
51176 :n
51177 t n
51178 s/'"$ac_delim"'$/,g/; t
51179 s/$/\\/; p
51180 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51181 ' >>$CONFIG_STATUS <conf$$subs.sed
51182 rm -f conf$$subs.sed
51183 cat >>$CONFIG_STATUS <<_ACEOF
51184 CEOF$ac_eof
51185 _ACEOF
51186
51187
51188 ac_delim='%!_!# '
51189 for ac_last_try in false false false false false :; do
51190 cat >conf$$subs.sed <<_ACEOF
51191 MACSETFILE!$MACSETFILE$ac_delim
51192 GCC!$GCC$ac_delim
51193 DLLTOOL!$DLLTOOL$ac_delim
51194 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51195 LIBOBJS!$LIBOBJS$ac_delim
51196 LTLIBOBJS!$LTLIBOBJS$ac_delim
51197 _ACEOF
51198
51199 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51200 break
51201 elif $ac_last_try; then
51202 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51203 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51204 { (exit 1); exit 1; }; }
51205 else
51206 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51207 fi
51208 done
51209
51210 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51211 if test -n "$ac_eof"; then
51212 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51213 ac_eof=`expr $ac_eof + 1`
51214 fi
51215
51216 cat >>$CONFIG_STATUS <<_ACEOF
51217 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51219 _ACEOF
51220 sed '
51221 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51222 s/^/s,@/; s/!/@,|#_!!_#|/
51223 :n
51224 t n
51225 s/'"$ac_delim"'$/,g/; t
51226 s/$/\\/; p
51227 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51228 ' >>$CONFIG_STATUS <conf$$subs.sed
51229 rm -f conf$$subs.sed
51230 cat >>$CONFIG_STATUS <<_ACEOF
51231 :end
51232 s/|#_!!_#|//g
51233 CEOF$ac_eof
51234 _ACEOF
51235
51236
51237 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51238 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51239 # trailing colons and then remove the whole line if VPATH becomes empty
51240 # (actually we leave an empty line to preserve line numbers).
51241 if test "x$srcdir" = x.; then
51242 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51243 s/:*\$(srcdir):*/:/
51244 s/:*\${srcdir}:*/:/
51245 s/:*@srcdir@:*/:/
51246 s/^\([^=]*=[ ]*\):*/\1/
51247 s/:*$//
51248 s/^[^=]*=[ ]*$//
51249 }'
51250 fi
51251
51252 cat >>$CONFIG_STATUS <<\_ACEOF
51253 fi # test -n "$CONFIG_FILES"
51254
51255
51256 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51257 do
51258 case $ac_tag in
51259 :[FHLC]) ac_mode=$ac_tag; continue;;
51260 esac
51261 case $ac_mode$ac_tag in
51262 :[FHL]*:*);;
51263 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51264 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51265 { (exit 1); exit 1; }; };;
51266 :[FH]-) ac_tag=-:-;;
51267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51268 esac
51269 ac_save_IFS=$IFS
51270 IFS=:
51271 set x $ac_tag
51272 IFS=$ac_save_IFS
51273 shift
51274 ac_file=$1
51275 shift
51276
51277 case $ac_mode in
51278 :L) ac_source=$1;;
51279 :[FH])
51280 ac_file_inputs=
51281 for ac_f
51282 do
51283 case $ac_f in
51284 -) ac_f="$tmp/stdin";;
51285 *) # Look for the file first in the build tree, then in the source tree
51286 # (if the path is not absolute). The absolute path cannot be DOS-style,
51287 # because $ac_f cannot contain `:'.
51288 test -f "$ac_f" ||
51289 case $ac_f in
51290 [\\/$]*) false;;
51291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51292 esac ||
51293 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51294 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51295 { (exit 1); exit 1; }; };;
51296 esac
51297 ac_file_inputs="$ac_file_inputs $ac_f"
51298 done
51299
51300 # Let's still pretend it is `configure' which instantiates (i.e., don't
51301 # use $as_me), people would be surprised to read:
51302 # /* config.h. Generated by config.status. */
51303 configure_input="Generated from "`IFS=:
51304 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51305 if test x"$ac_file" != x-; then
51306 configure_input="$ac_file. $configure_input"
51307 { echo "$as_me:$LINENO: creating $ac_file" >&5
51308 echo "$as_me: creating $ac_file" >&6;}
51309 fi
51310
51311 case $ac_tag in
51312 *:-:* | *:-) cat >"$tmp/stdin";;
51313 esac
51314 ;;
51315 esac
51316
51317 ac_dir=`$as_dirname -- "$ac_file" ||
51318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51319 X"$ac_file" : 'X\(//\)[^/]' \| \
51320 X"$ac_file" : 'X\(//\)$' \| \
51321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51322 echo X"$ac_file" |
51323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51324 s//\1/
51325 q
51326 }
51327 /^X\(\/\/\)[^/].*/{
51328 s//\1/
51329 q
51330 }
51331 /^X\(\/\/\)$/{
51332 s//\1/
51333 q
51334 }
51335 /^X\(\/\).*/{
51336 s//\1/
51337 q
51338 }
51339 s/.*/./; q'`
51340 { as_dir="$ac_dir"
51341 case $as_dir in #(
51342 -*) as_dir=./$as_dir;;
51343 esac
51344 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51345 as_dirs=
51346 while :; do
51347 case $as_dir in #(
51348 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51349 *) as_qdir=$as_dir;;
51350 esac
51351 as_dirs="'$as_qdir' $as_dirs"
51352 as_dir=`$as_dirname -- "$as_dir" ||
51353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51354 X"$as_dir" : 'X\(//\)[^/]' \| \
51355 X"$as_dir" : 'X\(//\)$' \| \
51356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51357 echo X"$as_dir" |
51358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51359 s//\1/
51360 q
51361 }
51362 /^X\(\/\/\)[^/].*/{
51363 s//\1/
51364 q
51365 }
51366 /^X\(\/\/\)$/{
51367 s//\1/
51368 q
51369 }
51370 /^X\(\/\).*/{
51371 s//\1/
51372 q
51373 }
51374 s/.*/./; q'`
51375 test -d "$as_dir" && break
51376 done
51377 test -z "$as_dirs" || eval "mkdir $as_dirs"
51378 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51379 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51380 { (exit 1); exit 1; }; }; }
51381 ac_builddir=.
51382
51383 case "$ac_dir" in
51384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51385 *)
51386 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51387 # A ".." for each directory in $ac_dir_suffix.
51388 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51389 case $ac_top_builddir_sub in
51390 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51391 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51392 esac ;;
51393 esac
51394 ac_abs_top_builddir=$ac_pwd
51395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51396 # for backward compatibility:
51397 ac_top_builddir=$ac_top_build_prefix
51398
51399 case $srcdir in
51400 .) # We are building in place.
51401 ac_srcdir=.
51402 ac_top_srcdir=$ac_top_builddir_sub
51403 ac_abs_top_srcdir=$ac_pwd ;;
51404 [\\/]* | ?:[\\/]* ) # Absolute name.
51405 ac_srcdir=$srcdir$ac_dir_suffix;
51406 ac_top_srcdir=$srcdir
51407 ac_abs_top_srcdir=$srcdir ;;
51408 *) # Relative name.
51409 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51410 ac_top_srcdir=$ac_top_build_prefix$srcdir
51411 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51412 esac
51413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51414
51415
51416 case $ac_mode in
51417 :F)
51418 #
51419 # CONFIG_FILE
51420 #
51421
51422 case $INSTALL in
51423 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51424 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51425 esac
51426 _ACEOF
51427
51428 cat >>$CONFIG_STATUS <<\_ACEOF
51429 # If the template does not know about datarootdir, expand it.
51430 # FIXME: This hack should be removed a few years after 2.60.
51431 ac_datarootdir_hack=; ac_datarootdir_seen=
51432
51433 case `sed -n '/datarootdir/ {
51434 p
51435 q
51436 }
51437 /@datadir@/p
51438 /@docdir@/p
51439 /@infodir@/p
51440 /@localedir@/p
51441 /@mandir@/p
51442 ' $ac_file_inputs` in
51443 *datarootdir*) ac_datarootdir_seen=yes;;
51444 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51445 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51446 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51447 _ACEOF
51448 cat >>$CONFIG_STATUS <<_ACEOF
51449 ac_datarootdir_hack='
51450 s&@datadir@&$datadir&g
51451 s&@docdir@&$docdir&g
51452 s&@infodir@&$infodir&g
51453 s&@localedir@&$localedir&g
51454 s&@mandir@&$mandir&g
51455 s&\\\${datarootdir}&$datarootdir&g' ;;
51456 esac
51457 _ACEOF
51458
51459 # Neutralize VPATH when `$srcdir' = `.'.
51460 # Shell code in configure.ac might set extrasub.
51461 # FIXME: do we really want to maintain this feature?
51462 cat >>$CONFIG_STATUS <<_ACEOF
51463 sed "$ac_vpsub
51464 $extrasub
51465 _ACEOF
51466 cat >>$CONFIG_STATUS <<\_ACEOF
51467 :t
51468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51469 s&@configure_input@&$configure_input&;t t
51470 s&@top_builddir@&$ac_top_builddir_sub&;t t
51471 s&@srcdir@&$ac_srcdir&;t t
51472 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51473 s&@top_srcdir@&$ac_top_srcdir&;t t
51474 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51475 s&@builddir@&$ac_builddir&;t t
51476 s&@abs_builddir@&$ac_abs_builddir&;t t
51477 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51478 s&@INSTALL@&$ac_INSTALL&;t t
51479 $ac_datarootdir_hack
51480 " $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
51481
51482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51483 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51485 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51486 which seems to be undefined. Please make sure it is defined." >&5
51487 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51488 which seems to be undefined. Please make sure it is defined." >&2;}
51489
51490 rm -f "$tmp/stdin"
51491 case $ac_file in
51492 -) cat "$tmp/out"; rm -f "$tmp/out";;
51493 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51494 esac
51495 ;;
51496 :H)
51497 #
51498 # CONFIG_HEADER
51499 #
51500 _ACEOF
51501
51502 # Transform confdefs.h into a sed script `conftest.defines', that
51503 # substitutes the proper values into config.h.in to produce config.h.
51504 rm -f conftest.defines conftest.tail
51505 # First, append a space to every undef/define line, to ease matching.
51506 echo 's/$/ /' >conftest.defines
51507 # Then, protect against being on the right side of a sed subst, or in
51508 # an unquoted here document, in config.status. If some macros were
51509 # called several times there might be several #defines for the same
51510 # symbol, which is useless. But do not sort them, since the last
51511 # AC_DEFINE must be honored.
51512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51513 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51514 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51515 # PARAMS is the parameter list in the macro definition--in most cases, it's
51516 # just an empty string.
51517 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51518 ac_dB='\\)[ (].*,\\1define\\2'
51519 ac_dC=' '
51520 ac_dD=' ,'
51521
51522 uniq confdefs.h |
51523 sed -n '
51524 t rset
51525 :rset
51526 s/^[ ]*#[ ]*define[ ][ ]*//
51527 t ok
51528 d
51529 :ok
51530 s/[\\&,]/\\&/g
51531 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51532 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51533 ' >>conftest.defines
51534
51535 # Remove the space that was appended to ease matching.
51536 # Then replace #undef with comments. This is necessary, for
51537 # example, in the case of _POSIX_SOURCE, which is predefined and required
51538 # on some systems where configure will not decide to define it.
51539 # (The regexp can be short, since the line contains either #define or #undef.)
51540 echo 's/ $//
51541 s,^[ #]*u.*,/* & */,' >>conftest.defines
51542
51543 # Break up conftest.defines:
51544 ac_max_sed_lines=50
51545
51546 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51547 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51548 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51549 # et cetera.
51550 ac_in='$ac_file_inputs'
51551 ac_out='"$tmp/out1"'
51552 ac_nxt='"$tmp/out2"'
51553
51554 while :
51555 do
51556 # Write a here document:
51557 cat >>$CONFIG_STATUS <<_ACEOF
51558 # First, check the format of the line:
51559 cat >"\$tmp/defines.sed" <<\\CEOF
51560 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51561 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51562 b
51563 :def
51564 _ACEOF
51565 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51566 echo 'CEOF
51567 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51568 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51569 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51570 grep . conftest.tail >/dev/null || break
51571 rm -f conftest.defines
51572 mv conftest.tail conftest.defines
51573 done
51574 rm -f conftest.defines conftest.tail
51575
51576 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578 if test x"$ac_file" != x-; then
51579 echo "/* $configure_input */" >"$tmp/config.h"
51580 cat "$ac_result" >>"$tmp/config.h"
51581 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51582 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51583 echo "$as_me: $ac_file is unchanged" >&6;}
51584 else
51585 rm -f $ac_file
51586 mv "$tmp/config.h" $ac_file
51587 fi
51588 else
51589 echo "/* $configure_input */"
51590 cat "$ac_result"
51591 fi
51592 rm -f "$tmp/out12"
51593 ;;
51594
51595 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51596 echo "$as_me: executing $ac_file commands" >&6;}
51597 ;;
51598 esac
51599
51600
51601 case $ac_file$ac_mode in
51602 "rcdefs.h":C)
51603 mkdir -p $outdir &&
51604 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51605 ;;
51606 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51607 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51608 "wx-config":C) rm -f wx-config
51609 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51610 ;;
51611
51612 esac
51613 done # for ac_tag
51614
51615
51616 { (exit 0); exit 0; }
51617 _ACEOF
51618 chmod +x $CONFIG_STATUS
51619 ac_clean_files=$ac_clean_files_save
51620
51621
51622 # configure is writing to config.log, and then calls config.status.
51623 # config.status does its own redirection, appending to config.log.
51624 # Unfortunately, on DOS this fails, as config.log is still kept open
51625 # by configure, so config.status won't be able to write to it; its
51626 # output is simply discarded. So we exec the FD to /dev/null,
51627 # effectively closing config.log, so it can be properly (re)opened and
51628 # appended to by config.status. When coming back to configure, we
51629 # need to make the FD available again.
51630 if test "$no_create" != yes; then
51631 ac_cs_success=:
51632 ac_config_status_args=
51633 test "$silent" = yes &&
51634 ac_config_status_args="$ac_config_status_args --quiet"
51635 exec 5>/dev/null
51636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51637 exec 5>>config.log
51638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51639 # would make configure fail if this is the last instruction.
51640 $ac_cs_success || { (exit 1); exit 1; }
51641 fi
51642
51643 #
51644 # CONFIG_SUBDIRS section.
51645 #
51646 if test "$no_recursion" != yes; then
51647
51648 # Remove --cache-file and --srcdir arguments so they do not pile up.
51649 ac_sub_configure_args=
51650 ac_prev=
51651 eval "set x $ac_configure_args"
51652 shift
51653 for ac_arg
51654 do
51655 if test -n "$ac_prev"; then
51656 ac_prev=
51657 continue
51658 fi
51659 case $ac_arg in
51660 -cache-file | --cache-file | --cache-fil | --cache-fi \
51661 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51662 ac_prev=cache_file ;;
51663 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51664 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51665 | --c=*)
51666 ;;
51667 --config-cache | -C)
51668 ;;
51669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51670 ac_prev=srcdir ;;
51671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51672 ;;
51673 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51674 ac_prev=prefix ;;
51675 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51676 ;;
51677 *)
51678 case $ac_arg in
51679 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51680 esac
51681 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51682 esac
51683 done
51684
51685 # Always prepend --prefix to ensure using the same prefix
51686 # in subdir configurations.
51687 ac_arg="--prefix=$prefix"
51688 case $ac_arg in
51689 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51690 esac
51691 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51692
51693 # Pass --silent
51694 if test "$silent" = yes; then
51695 ac_sub_configure_args="--silent $ac_sub_configure_args"
51696 fi
51697
51698 ac_popdir=`pwd`
51699 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51700
51701 # Do not complain, so a configure script can configure whichever
51702 # parts of a large source tree are present.
51703 test -d "$srcdir/$ac_dir" || continue
51704
51705 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51706 echo "$as_me:$LINENO: $ac_msg" >&5
51707 echo "$ac_msg" >&6
51708 { as_dir="$ac_dir"
51709 case $as_dir in #(
51710 -*) as_dir=./$as_dir;;
51711 esac
51712 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51713 as_dirs=
51714 while :; do
51715 case $as_dir in #(
51716 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51717 *) as_qdir=$as_dir;;
51718 esac
51719 as_dirs="'$as_qdir' $as_dirs"
51720 as_dir=`$as_dirname -- "$as_dir" ||
51721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51722 X"$as_dir" : 'X\(//\)[^/]' \| \
51723 X"$as_dir" : 'X\(//\)$' \| \
51724 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51725 echo X"$as_dir" |
51726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51727 s//\1/
51728 q
51729 }
51730 /^X\(\/\/\)[^/].*/{
51731 s//\1/
51732 q
51733 }
51734 /^X\(\/\/\)$/{
51735 s//\1/
51736 q
51737 }
51738 /^X\(\/\).*/{
51739 s//\1/
51740 q
51741 }
51742 s/.*/./; q'`
51743 test -d "$as_dir" && break
51744 done
51745 test -z "$as_dirs" || eval "mkdir $as_dirs"
51746 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51747 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51748 { (exit 1); exit 1; }; }; }
51749 ac_builddir=.
51750
51751 case "$ac_dir" in
51752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51753 *)
51754 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51755 # A ".." for each directory in $ac_dir_suffix.
51756 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51757 case $ac_top_builddir_sub in
51758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51760 esac ;;
51761 esac
51762 ac_abs_top_builddir=$ac_pwd
51763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51764 # for backward compatibility:
51765 ac_top_builddir=$ac_top_build_prefix
51766
51767 case $srcdir in
51768 .) # We are building in place.
51769 ac_srcdir=.
51770 ac_top_srcdir=$ac_top_builddir_sub
51771 ac_abs_top_srcdir=$ac_pwd ;;
51772 [\\/]* | ?:[\\/]* ) # Absolute name.
51773 ac_srcdir=$srcdir$ac_dir_suffix;
51774 ac_top_srcdir=$srcdir
51775 ac_abs_top_srcdir=$srcdir ;;
51776 *) # Relative name.
51777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51778 ac_top_srcdir=$ac_top_build_prefix$srcdir
51779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51780 esac
51781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51782
51783
51784 cd "$ac_dir"
51785
51786 # Check for guested configure; otherwise get Cygnus style configure.
51787 if test -f "$ac_srcdir/configure.gnu"; then
51788 ac_sub_configure=$ac_srcdir/configure.gnu
51789 elif test -f "$ac_srcdir/configure"; then
51790 ac_sub_configure=$ac_srcdir/configure
51791 elif test -f "$ac_srcdir/configure.in"; then
51792 # This should be Cygnus configure.
51793 ac_sub_configure=$ac_aux_dir/configure
51794 else
51795 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51796 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51797 ac_sub_configure=
51798 fi
51799
51800 # The recursion is here.
51801 if test -n "$ac_sub_configure"; then
51802 # Make the cache file name correct relative to the subdirectory.
51803 case $cache_file in
51804 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51805 *) # Relative name.
51806 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51807 esac
51808
51809 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51810 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51811 # The eval makes quoting arguments work.
51812 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51813 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51814 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51815 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51816 { (exit 1); exit 1; }; }
51817 fi
51818
51819 cd "$ac_popdir"
51820 done
51821 fi
51822
51823
51824 echo
51825 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51826 echo ""
51827 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51828 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51829
51830 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51831 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51832 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51833 if test "$wxUSE_UNICODE" = "yes"; then
51834 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51835 echo " (using UTF-8)"
51836 else
51837 echo " (using wchar_t)"
51838 fi
51839 else
51840 echo
51841 fi
51842
51843 echo " What level of wxWidgets compatibility should be enabled?"
51844 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51845 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51846
51847 echo " Which libraries should wxWidgets use?"
51848 echo " STL ${wxUSE_STL}"
51849 echo " jpeg ${wxUSE_LIBJPEG-none}"
51850 echo " png ${wxUSE_LIBPNG-none}"
51851 echo " regex ${wxUSE_REGEX}"
51852 echo " tiff ${wxUSE_LIBTIFF-none}"
51853 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51854 echo " xpm ${wxUSE_LIBXPM-none}"
51855 fi
51856 echo " zlib ${wxUSE_ZLIB}"
51857 echo " expat ${wxUSE_EXPAT}"
51858 echo " libmspack ${wxUSE_LIBMSPACK}"
51859 echo " sdl ${wxUSE_LIBSDL}"
51860
51861 echo ""
51862