]> git.saurik.com Git - wxWidgets.git/blob - configure
defines reordered, support for non-precomp cocoa
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 55019 2008-08-08 02:59:32Z VZ .
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 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
872 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
873 COND_PLATFORM_MACOSX_1_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
877 COND_PLATFORM_MAC_0
878 COND_PLATFORM_MAC_1
879 COND_PLATFORM_MSDOS_0
880 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_OS2_1
882 COND_PLATFORM_UNIX_0
883 COND_PLATFORM_UNIX_1
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
888 COND_PLATFORM_WIN32_0
889 COND_PLATFORM_WIN32_1
890 COND_SHARED_0
891 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
894 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
898 COND_SHARED_0_USE_STC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_REGEX_BUILTIN
901 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
902 COND_SHARED_1
903 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_GTK_USE_GUI_1
919 COND_TOOLKIT_MAC
920 COND_TOOLKIT_MAC_USE_GUI_1
921 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MGL
923 COND_TOOLKIT_MGL_USE_GUI_1
924 COND_TOOLKIT_MOTIF
925 COND_TOOLKIT_MOTIF_USE_GUI_1
926 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW
928 COND_TOOLKIT_MSW_USE_GUI_1
929 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW_WXUNIV_0
931 COND_TOOLKIT_PM
932 COND_TOOLKIT_PM_USE_GUI_1
933 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE
935 COND_TOOLKIT_WINCE_USE_GUI_1
936 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE_WXUNIV_0
938 COND_TOOLKIT_X11
939 COND_TOOLKIT_X11_USE_GUI_1
940 COND_UNICODE_1
941 COND_USE_EXCEPTIONS_0
942 COND_USE_EXCEPTIONS_1
943 COND_USE_GUI_0
944 COND_USE_GUI_1
945 COND_USE_GUI_1_USE_OPENGL_1
946 COND_USE_GUI_1_WXUNIV_0
947 COND_USE_GUI_1_WXUNIV_1
948 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
975 DEREZ
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 GUIDIST
1001 DISTDIR
1002 SAMPLES_SUBDIRS
1003 LDFLAGS_GL
1004 OPENGL_LIBS
1005 DMALLOC_LIBS
1006 WX_VERSION_TAG
1007 RESCOMP
1008 RESFLAGS
1009 RESPROGRAMOBJ
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1012 LIBWXMACRES
1013 POSTLINK_COMMAND
1014 MACSETFILE
1015 GCC
1016 DLLTOOL
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 GTKPRINT_CFLAGS
1044 GTKPRINT_LIBS
1045 LIBGNOMEPRINTUI_CFLAGS
1046 LIBGNOMEPRINTUI_LIBS
1047 GNOMEVFS_CFLAGS
1048 GNOMEVFS_LIBS
1049 HILDON_CFLAGS
1050 HILDON_LIBS
1051 CAIRO_CFLAGS
1052 CAIRO_LIBS
1053 GST_CFLAGS
1054 GST_LIBS'
1055 ac_subdirs_all='src/tiff
1056 src/expat'
1057
1058 # Initialize some variables set by options.
1059 ac_init_help=
1060 ac_init_version=false
1061 # The variables have the same names as the options, with
1062 # dashes changed to underlines.
1063 cache_file=/dev/null
1064 exec_prefix=NONE
1065 no_create=
1066 no_recursion=
1067 prefix=NONE
1068 program_prefix=NONE
1069 program_suffix=NONE
1070 program_transform_name=s,x,x,
1071 silent=
1072 site=
1073 srcdir=
1074 verbose=
1075 x_includes=NONE
1076 x_libraries=NONE
1077
1078 # Installation directory options.
1079 # These are left unexpanded so users can "make install exec_prefix=/foo"
1080 # and all the variables that are supposed to be based on exec_prefix
1081 # by default will actually change.
1082 # Use braces instead of parens because sh, perl, etc. also accept them.
1083 # (The list follows the same order as the GNU Coding Standards.)
1084 bindir='${exec_prefix}/bin'
1085 sbindir='${exec_prefix}/sbin'
1086 libexecdir='${exec_prefix}/libexec'
1087 datarootdir='${prefix}/share'
1088 datadir='${datarootdir}'
1089 sysconfdir='${prefix}/etc'
1090 sharedstatedir='${prefix}/com'
1091 localstatedir='${prefix}/var'
1092 includedir='${prefix}/include'
1093 oldincludedir='/usr/include'
1094 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1095 infodir='${datarootdir}/info'
1096 htmldir='${docdir}'
1097 dvidir='${docdir}'
1098 pdfdir='${docdir}'
1099 psdir='${docdir}'
1100 libdir='${exec_prefix}/lib'
1101 localedir='${datarootdir}/locale'
1102 mandir='${datarootdir}/man'
1103
1104 ac_prev=
1105 ac_dashdash=
1106 for ac_option
1107 do
1108 # If the previous option needs an argument, assign it.
1109 if test -n "$ac_prev"; then
1110 eval $ac_prev=\$ac_option
1111 ac_prev=
1112 continue
1113 fi
1114
1115 case $ac_option in
1116 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 *) ac_optarg=yes ;;
1118 esac
1119
1120 # Accept the important Cygnus configure options, so we can diagnose typos.
1121
1122 case $ac_dashdash$ac_option in
1123 --)
1124 ac_dashdash=yes ;;
1125
1126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1127 ac_prev=bindir ;;
1128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1129 bindir=$ac_optarg ;;
1130
1131 -build | --build | --buil | --bui | --bu)
1132 ac_prev=build_alias ;;
1133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1134 build_alias=$ac_optarg ;;
1135
1136 -cache-file | --cache-file | --cache-fil | --cache-fi \
1137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1138 ac_prev=cache_file ;;
1139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1141 cache_file=$ac_optarg ;;
1142
1143 --config-cache | -C)
1144 cache_file=config.cache ;;
1145
1146 -datadir | --datadir | --datadi | --datad)
1147 ac_prev=datadir ;;
1148 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1149 datadir=$ac_optarg ;;
1150
1151 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1152 | --dataroo | --dataro | --datar)
1153 ac_prev=datarootdir ;;
1154 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1155 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1156 datarootdir=$ac_optarg ;;
1157
1158 -disable-* | --disable-*)
1159 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1163 { (exit 1); exit 1; }; }
1164 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1165 eval enable_$ac_feature=no ;;
1166
1167 -docdir | --docdir | --docdi | --doc | --do)
1168 ac_prev=docdir ;;
1169 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1170 docdir=$ac_optarg ;;
1171
1172 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1173 ac_prev=dvidir ;;
1174 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1175 dvidir=$ac_optarg ;;
1176
1177 -enable-* | --enable-*)
1178 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1181 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1182 { (exit 1); exit 1; }; }
1183 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1184 eval enable_$ac_feature=\$ac_optarg ;;
1185
1186 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1187 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1188 | --exec | --exe | --ex)
1189 ac_prev=exec_prefix ;;
1190 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1191 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1192 | --exec=* | --exe=* | --ex=*)
1193 exec_prefix=$ac_optarg ;;
1194
1195 -gas | --gas | --ga | --g)
1196 # Obsolete; use --with-gas.
1197 with_gas=yes ;;
1198
1199 -help | --help | --hel | --he | -h)
1200 ac_init_help=long ;;
1201 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1202 ac_init_help=recursive ;;
1203 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1204 ac_init_help=short ;;
1205
1206 -host | --host | --hos | --ho)
1207 ac_prev=host_alias ;;
1208 -host=* | --host=* | --hos=* | --ho=*)
1209 host_alias=$ac_optarg ;;
1210
1211 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1212 ac_prev=htmldir ;;
1213 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1214 | --ht=*)
1215 htmldir=$ac_optarg ;;
1216
1217 -includedir | --includedir | --includedi | --included | --include \
1218 | --includ | --inclu | --incl | --inc)
1219 ac_prev=includedir ;;
1220 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1221 | --includ=* | --inclu=* | --incl=* | --inc=*)
1222 includedir=$ac_optarg ;;
1223
1224 -infodir | --infodir | --infodi | --infod | --info | --inf)
1225 ac_prev=infodir ;;
1226 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1227 infodir=$ac_optarg ;;
1228
1229 -libdir | --libdir | --libdi | --libd)
1230 ac_prev=libdir ;;
1231 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1232 libdir=$ac_optarg ;;
1233
1234 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1235 | --libexe | --libex | --libe)
1236 ac_prev=libexecdir ;;
1237 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1238 | --libexe=* | --libex=* | --libe=*)
1239 libexecdir=$ac_optarg ;;
1240
1241 -localedir | --localedir | --localedi | --localed | --locale)
1242 ac_prev=localedir ;;
1243 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1244 localedir=$ac_optarg ;;
1245
1246 -localstatedir | --localstatedir | --localstatedi | --localstated \
1247 | --localstate | --localstat | --localsta | --localst | --locals)
1248 ac_prev=localstatedir ;;
1249 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1250 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1251 localstatedir=$ac_optarg ;;
1252
1253 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1254 ac_prev=mandir ;;
1255 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1256 mandir=$ac_optarg ;;
1257
1258 -nfp | --nfp | --nf)
1259 # Obsolete; use --without-fp.
1260 with_fp=no ;;
1261
1262 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1263 | --no-cr | --no-c | -n)
1264 no_create=yes ;;
1265
1266 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1267 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1268 no_recursion=yes ;;
1269
1270 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1271 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1272 | --oldin | --oldi | --old | --ol | --o)
1273 ac_prev=oldincludedir ;;
1274 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1275 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1276 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1277 oldincludedir=$ac_optarg ;;
1278
1279 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1280 ac_prev=prefix ;;
1281 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1282 prefix=$ac_optarg ;;
1283
1284 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1285 | --program-pre | --program-pr | --program-p)
1286 ac_prev=program_prefix ;;
1287 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1288 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1289 program_prefix=$ac_optarg ;;
1290
1291 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1292 | --program-suf | --program-su | --program-s)
1293 ac_prev=program_suffix ;;
1294 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1295 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1296 program_suffix=$ac_optarg ;;
1297
1298 -program-transform-name | --program-transform-name \
1299 | --program-transform-nam | --program-transform-na \
1300 | --program-transform-n | --program-transform- \
1301 | --program-transform | --program-transfor \
1302 | --program-transfo | --program-transf \
1303 | --program-trans | --program-tran \
1304 | --progr-tra | --program-tr | --program-t)
1305 ac_prev=program_transform_name ;;
1306 -program-transform-name=* | --program-transform-name=* \
1307 | --program-transform-nam=* | --program-transform-na=* \
1308 | --program-transform-n=* | --program-transform-=* \
1309 | --program-transform=* | --program-transfor=* \
1310 | --program-transfo=* | --program-transf=* \
1311 | --program-trans=* | --program-tran=* \
1312 | --progr-tra=* | --program-tr=* | --program-t=*)
1313 program_transform_name=$ac_optarg ;;
1314
1315 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1316 ac_prev=pdfdir ;;
1317 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1318 pdfdir=$ac_optarg ;;
1319
1320 -psdir | --psdir | --psdi | --psd | --ps)
1321 ac_prev=psdir ;;
1322 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1323 psdir=$ac_optarg ;;
1324
1325 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1326 | -silent | --silent | --silen | --sile | --sil)
1327 silent=yes ;;
1328
1329 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1330 ac_prev=sbindir ;;
1331 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1332 | --sbi=* | --sb=*)
1333 sbindir=$ac_optarg ;;
1334
1335 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1336 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1337 | --sharedst | --shareds | --shared | --share | --shar \
1338 | --sha | --sh)
1339 ac_prev=sharedstatedir ;;
1340 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1341 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1342 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1343 | --sha=* | --sh=*)
1344 sharedstatedir=$ac_optarg ;;
1345
1346 -site | --site | --sit)
1347 ac_prev=site ;;
1348 -site=* | --site=* | --sit=*)
1349 site=$ac_optarg ;;
1350
1351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1352 ac_prev=srcdir ;;
1353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1354 srcdir=$ac_optarg ;;
1355
1356 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1357 | --syscon | --sysco | --sysc | --sys | --sy)
1358 ac_prev=sysconfdir ;;
1359 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1360 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1361 sysconfdir=$ac_optarg ;;
1362
1363 -target | --target | --targe | --targ | --tar | --ta | --t)
1364 ac_prev=target_alias ;;
1365 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1366 target_alias=$ac_optarg ;;
1367
1368 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1369 verbose=yes ;;
1370
1371 -version | --version | --versio | --versi | --vers | -V)
1372 ac_init_version=: ;;
1373
1374 -with-* | --with-*)
1375 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1378 { echo "$as_me: error: invalid package name: $ac_package" >&2
1379 { (exit 1); exit 1; }; }
1380 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1381 eval with_$ac_package=\$ac_optarg ;;
1382
1383 -without-* | --without-*)
1384 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1385 # Reject names that are not valid shell variable names.
1386 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1387 { echo "$as_me: error: invalid package name: $ac_package" >&2
1388 { (exit 1); exit 1; }; }
1389 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1390 eval with_$ac_package=no ;;
1391
1392 --x)
1393 # Obsolete; use --with-x.
1394 with_x=yes ;;
1395
1396 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1397 | --x-incl | --x-inc | --x-in | --x-i)
1398 ac_prev=x_includes ;;
1399 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1400 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1401 x_includes=$ac_optarg ;;
1402
1403 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1404 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1405 ac_prev=x_libraries ;;
1406 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1407 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1408 x_libraries=$ac_optarg ;;
1409
1410 -*) { echo "$as_me: error: unrecognized option: $ac_option
1411 Try \`$0 --help' for more information." >&2
1412 { (exit 1); exit 1; }; }
1413 ;;
1414
1415 *=*)
1416 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1420 { (exit 1); exit 1; }; }
1421 eval $ac_envvar=\$ac_optarg
1422 export $ac_envvar ;;
1423
1424 *)
1425 # FIXME: should be removed in autoconf 3.0.
1426 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1427 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1429 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 ;;
1431
1432 esac
1433 done
1434
1435 if test -n "$ac_prev"; then
1436 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1437 { echo "$as_me: error: missing argument to $ac_option" >&2
1438 { (exit 1); exit 1; }; }
1439 fi
1440
1441 # Be sure to have absolute directory names.
1442 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1443 datadir sysconfdir sharedstatedir localstatedir includedir \
1444 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1445 libdir localedir mandir
1446 do
1447 eval ac_val=\$$ac_var
1448 case $ac_val in
1449 [\\/$]* | ?:[\\/]* ) continue;;
1450 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1451 esac
1452 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1453 { (exit 1); exit 1; }; }
1454 done
1455
1456 # There might be people who depend on the old broken behavior: `$host'
1457 # used to hold the argument of --host etc.
1458 # FIXME: To remove some day.
1459 build=$build_alias
1460 host=$host_alias
1461 target=$target_alias
1462
1463 # FIXME: To remove some day.
1464 if test "x$host_alias" != x; then
1465 if test "x$build_alias" = x; then
1466 cross_compiling=maybe
1467 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1468 If a cross compiler is detected then cross compile mode will be used." >&2
1469 elif test "x$build_alias" != "x$host_alias"; then
1470 cross_compiling=yes
1471 fi
1472 fi
1473
1474 ac_tool_prefix=
1475 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1476
1477 test "$silent" = yes && exec 6>/dev/null
1478
1479
1480 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1481 ac_ls_di=`ls -di .` &&
1482 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1483 { echo "$as_me: error: Working directory cannot be determined" >&2
1484 { (exit 1); exit 1; }; }
1485 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1486 { echo "$as_me: error: pwd does not report name of working directory" >&2
1487 { (exit 1); exit 1; }; }
1488
1489
1490 # Find the source files, if location was not specified.
1491 if test -z "$srcdir"; then
1492 ac_srcdir_defaulted=yes
1493 # Try the directory containing this script, then the parent directory.
1494 ac_confdir=`$as_dirname -- "$0" ||
1495 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1496 X"$0" : 'X\(//\)[^/]' \| \
1497 X"$0" : 'X\(//\)$' \| \
1498 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1499 echo X"$0" |
1500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\/\)[^/].*/{
1505 s//\1/
1506 q
1507 }
1508 /^X\(\/\/\)$/{
1509 s//\1/
1510 q
1511 }
1512 /^X\(\/\).*/{
1513 s//\1/
1514 q
1515 }
1516 s/.*/./; q'`
1517 srcdir=$ac_confdir
1518 if test ! -r "$srcdir/$ac_unique_file"; then
1519 srcdir=..
1520 fi
1521 else
1522 ac_srcdir_defaulted=no
1523 fi
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1526 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1527 { (exit 1); exit 1; }; }
1528 fi
1529 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1530 ac_abs_confdir=`(
1531 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1532 { (exit 1); exit 1; }; }
1533 pwd)`
1534 # When building in place, set srcdir=.
1535 if test "$ac_abs_confdir" = "$ac_pwd"; then
1536 srcdir=.
1537 fi
1538 # Remove unnecessary trailing slashes from srcdir.
1539 # Double slashes in file names in object file debugging info
1540 # mess up M-x gdb in Emacs.
1541 case $srcdir in
1542 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1543 esac
1544 for ac_var in $ac_precious_vars; do
1545 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1546 eval ac_env_${ac_var}_value=\$${ac_var}
1547 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1548 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1549 done
1550
1551 #
1552 # Report the --help message.
1553 #
1554 if test "$ac_init_help" = "long"; then
1555 # Omit some internal or obsolete options to make the list less imposing.
1556 # This message is too long to be a string in the A/UX 3.1 sh.
1557 cat <<_ACEOF
1558 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1559
1560 Usage: $0 [OPTION]... [VAR=VALUE]...
1561
1562 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1563 VAR=VALUE. See below for descriptions of some of the useful variables.
1564
1565 Defaults for the options are specified in brackets.
1566
1567 Configuration:
1568 -h, --help display this help and exit
1569 --help=short display options specific to this package
1570 --help=recursive display the short help of all the included packages
1571 -V, --version display version information and exit
1572 -q, --quiet, --silent do not print \`checking...' messages
1573 --cache-file=FILE cache test results in FILE [disabled]
1574 -C, --config-cache alias for \`--cache-file=config.cache'
1575 -n, --no-create do not create output files
1576 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1577
1578 Installation directories:
1579 --prefix=PREFIX install architecture-independent files in PREFIX
1580 [$ac_default_prefix]
1581 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1582 [PREFIX]
1583
1584 By default, \`make install' will install all the files in
1585 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1586 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1587 for instance \`--prefix=\$HOME'.
1588
1589 For better control, use the options below.
1590
1591 Fine tuning of the installation directories:
1592 --bindir=DIR user executables [EPREFIX/bin]
1593 --sbindir=DIR system admin executables [EPREFIX/sbin]
1594 --libexecdir=DIR program executables [EPREFIX/libexec]
1595 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1596 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1597 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1598 --libdir=DIR object code libraries [EPREFIX/lib]
1599 --includedir=DIR C header files [PREFIX/include]
1600 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1601 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1602 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1603 --infodir=DIR info documentation [DATAROOTDIR/info]
1604 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1605 --mandir=DIR man documentation [DATAROOTDIR/man]
1606 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1607 --htmldir=DIR html documentation [DOCDIR]
1608 --dvidir=DIR dvi documentation [DOCDIR]
1609 --pdfdir=DIR pdf documentation [DOCDIR]
1610 --psdir=DIR ps documentation [DOCDIR]
1611 _ACEOF
1612
1613 cat <<\_ACEOF
1614
1615 X features:
1616 --x-includes=DIR X include files are in DIR
1617 --x-libraries=DIR X library files are in DIR
1618
1619 System types:
1620 --build=BUILD configure for building on BUILD [guessed]
1621 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1622 --target=TARGET configure for building compilers for TARGET [HOST]
1623 _ACEOF
1624 fi
1625
1626 if test -n "$ac_init_help"; then
1627 case $ac_init_help in
1628 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1629 esac
1630 cat <<\_ACEOF
1631
1632 Optional Features:
1633 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1634 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1635 --disable-gui don't build GUI parts of the library
1636 --enable-monolithic build wxWidgets as single library
1637 --enable-plugins build parts of wxWidgets as loadable components
1638 --enable-official_build official build of wxWidgets (win32 DLL only)
1639 --enable-vendor=VENDOR vendor name (win32 DLL only)
1640 --disable-all-features disable all optional features to build minimal library
1641 --enable-universal use wxWidgets GUI controls instead of native ones
1642 --enable-nanox use NanoX
1643 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1644 --enable-gpe use GNOME PDA Environment features if possible
1645 --disable-shared create static library instead of shared
1646 --enable-debug same as debug_flag and debug_info
1647 --enable-stl use STL for containers
1648 --enable-std_iostreams use standard C++ stream classes
1649 --enable-std_string use standard C++ string classes
1650 --disable-unicode compile without Unicode support
1651 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1652 --enable-utf8 use UTF-8 representation for strings (Unix only)
1653 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1654 --enable-extended_rtti use extended RTTI (XTI)
1655 --enable-omf use OMF object format
1656 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1657 --enable-debug_info create code with debugging information
1658 --disable-optimise compile without optimisations
1659 --enable-debug_gdb create code with extra GDB debugging information
1660 --enable-debug_cntxt use wxDebugContext
1661 --enable-mem_tracing create code with memory tracing
1662 --enable-profile create code with profiling information
1663 --enable-no_rtti create code without RTTI information
1664 --enable-no_exceptions create code without C++ exceptions handling
1665 --enable-permissive compile code disregarding strict ANSI
1666 --enable-no_deps create code without dependency information
1667 --disable-vararg_macros don't use vararg macros, even if they are supported
1668 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1669 --enable-compat26 enable wxWidgets 2.6 compatibility
1670 --disable-compat28 disable wxWidgets 2.8 compatibility
1671 --disable-rpath disable use of rpath for uninstalled builds
1672 --enable-objc_uniquifying enable Objective-C class name uniquifying
1673 --disable-visibility disable use of ELF symbols visibility even if supported
1674 --enable-intl use internationalization system
1675 --enable-xlocale use x-locale support (requires wxLocale)
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ipv6 enable IPv6 support in wxSocket
1683 --enable-ole use OLE classes (Win32 only)
1684 --enable-dataobj use data object classes
1685 --enable-ipc use interprocess communication (wxSocket etc.)
1686 --enable-baseevtloop use event loop in console programs too
1687 --enable-epollloop use wxEpollDispatcher class (Linux only)
1688 --enable-selectloop use wxSelectDispatcher class
1689 --enable-apple_ieee use the Apple IEEE codec
1690 --enable-arcstream use wxArchive streams
1691 --enable-base64 use base64 encoding/decoding functions
1692 --enable-backtrace use wxStackWalker class for getting backtraces
1693 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1694 --enable-cmdline use wxCmdLineParser class
1695 --enable-datetime use wxDateTime class
1696 --enable-debugreport use wxDebugReport class
1697 --enable-dialupman use dialup network classes
1698 --enable-dynlib use wxLibrary class for DLL loading
1699 --enable-dynamicloader use (new) wxDynamicLibrary class
1700 --enable-exceptions build exception-safe library
1701 --enable-ffile use wxFFile class
1702 --enable-file use wxFile class
1703 --enable-filesystem use virtual file systems classes
1704 --enable-fontenum use wxFontEnumerator class
1705 --enable-fontmap use font encodings conversion classes
1706 --enable-fs_archive use virtual archive filesystems
1707 --enable-fs_inet use virtual HTTP/FTP filesystems
1708 --enable-fs_zip now replaced by fs_archive
1709 --enable-geometry use geometry class
1710 --enable-log use logging system
1711 --enable-longlong use wxLongLong class
1712 --enable-mimetype use wxMimeTypesManager
1713 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1714 --enable-snglinst use wxSingleInstanceChecker class
1715 --enable-sound use wxSound class
1716 --enable-stdpaths use wxStandardPaths class
1717 --enable-stopwatch use wxStopWatch class
1718 --enable-streams use wxStream etc classes
1719 --enable-sysoptions use wxSystemOptions
1720 --enable-tarstream use wxTar streams
1721 --enable-textbuf use wxTextBuffer class
1722 --enable-textfile use wxTextFile class
1723 --enable-timer use wxTimer class
1724 --enable-variant use wxVariant class
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-iniconf use wxIniConfig (Win32 only)
1733 --enable-regkey use wxRegKey class (Win32 only)
1734 --enable-docview use document view architecture
1735 --enable-help use help subsystem
1736 --enable-mshtmlhelp use MS HTML Help (win32)
1737 --enable-html use wxHTML sub-library
1738 --enable-htmlhelp use wxHTML-based help
1739 --enable-xrc use XRC resources sub-library
1740 --enable-aui use AUI docking library
1741 --enable-stc use wxStyledTextCtrl library
1742 --enable-constraints use layout-constraints system
1743 --enable-loggui use standard GUI logger
1744 --enable-logwin use wxLogWindow
1745 --enable-logdialog use wxLogDialog
1746 --enable-mdi use multiple document interface architecture
1747 --enable-mdidoc use docview architecture with MDI
1748 --enable-mediactrl use wxMediaCtrl class
1749 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1750 --enable-webkit use wxWebKitCtrl (Mac)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context 2D drawing API
1753 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1754 --enable-printarch use printing architecture
1755 --enable-svg use wxSVGFileDC device context
1756 --enable-clipboard use wxClipboard class
1757 --enable-dnd use Drag'n'Drop classes
1758 --enable-metafile use win32 metafiles
1759 --disable-controls disable compilation of all standard controls
1760 --enable-accel use accelerators
1761 --enable-animatectrl use wxAnimationCtrl class
1762 --enable-button use wxButton class
1763 --enable-bmpbutton use wxBitmapButton class
1764 --enable-bmpcombobox use wxBitmapComboBox class
1765 --enable-calendar use wxCalendarCtrl class
1766 --enable-caret use wxCaret class
1767 --enable-checkbox use wxCheckBox class
1768 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1769 --enable-choice use wxChoice class
1770 --enable-choicebook use wxChoicebook class
1771 --enable-collpane use wxCollapsiblePane class
1772 --enable-colourpicker use wxColourPickerCtrl class
1773 --enable-combobox use wxComboBox class
1774 --enable-comboctrl use wxComboCtrl class
1775 --enable-datepick use wxDatePickerCtrl class
1776 --enable-dirpicker use wxDirPickerCtrl class
1777 --enable-display use wxDisplay class
1778 --enable-detect_sm use code to detect X11 session manager
1779 --enable-editablebox use wxEditableListBox class
1780 --enable-filepicker use wxFilePickerCtrl class
1781 --enable-filectrl use wxFileCtrl class
1782 --enable-fontpicker use wxFontPickerCtrl class
1783 --enable-gauge use wxGauge class
1784 --enable-grid use wxGrid class
1785 --enable-dataviewctrl use wxDataViewCtrl class
1786 --enable-hyperlink use wxHyperlinkCtrl class
1787 --enable-imaglist use wxImageList class
1788 --enable-listbook use wxListbook class
1789 --enable-listbox use wxListBox class
1790 --enable-listctrl use wxListCtrl class
1791 --enable-notebook use wxNotebook class
1792 --enable-notifmsg use wxNotificationMessage class
1793 --enable-odcombobox use wxOwnerDrawnComboBox class
1794 --enable-radiobox use wxRadioBox class
1795 --enable-radiobtn use wxRadioButton class
1796 --enable-sash use wxSashWindow class
1797 --enable-scrollbar use wxScrollBar class and scrollable windows
1798 --enable-searchctrl use wxSearchCtrl class
1799 --enable-slider use wxSlider class
1800 --enable-spinbtn use wxSpinButton class
1801 --enable-spinctrl use wxSpinCtrl class
1802 --enable-splitter use wxSplitterWindow class
1803 --enable-statbmp use wxStaticBitmap class
1804 --enable-statbox use wxStaticBox class
1805 --enable-statline use wxStaticLine class
1806 --enable-stattext use wxStaticText class
1807 --enable-statusbar use wxStatusBar class
1808 --enable-tabdialog use wxTabControl class
1809 --enable-taskbaricon use wxTaskBarIcon class
1810 --enable-textctrl use wxTextCtrl class
1811 --enable-togglebtn use wxToggleButton class
1812 --enable-toolbar use wxToolBar class
1813 --enable-tbarnative use native wxToolBar class
1814 --enable-treebook use wxTreebook class
1815 --enable-toolbook use wxToolbook class
1816 --enable-treectrl use wxTreeCtrl class
1817 --enable-tipwindow use wxTipWindow class
1818 --enable-popupwin use wxPopUpWindow class
1819 --enable-commondlg use all common dialogs
1820 --enable-aboutdlg use wxAboutBox
1821 --enable-choicedlg use wxChoiceDialog
1822 --enable-coldlg use wxColourDialog
1823 --enable-filedlg use wxFileDialog
1824 --enable-finddlg use wxFindReplaceDialog
1825 --enable-fontdlg use wxFontDialog
1826 --enable-dirdlg use wxDirDialog
1827 --enable-msgdlg use wxMessageDialog
1828 --enable-numberdlg use wxNumberEntryDialog
1829 --enable-splash use wxSplashScreen
1830 --enable-textdlg use wxTextDialog
1831 --enable-tipdlg use startup tips
1832 --enable-progressdlg use wxProgressDialog
1833 --enable-wizarddlg use wxWizard
1834 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1835 --enable-miniframe use wxMiniFrame class
1836 --enable-tooltips use wxToolTip class
1837 --enable-splines use spline drawing code
1838 --enable-mousewheel use mousewheel
1839 --enable-validators use wxValidator and derived classes
1840 --enable-busyinfo use wxBusyInfo
1841 --enable-joystick use wxJoystick
1842 --enable-metafiles use wxMetaFile (Win32 only)
1843 --enable-dragimage use wxDragImage
1844 --enable-accessibility enable accessibility support
1845 --enable-palette use wxPalette class
1846 --enable-image use wxImage class
1847 --enable-gif use gif images (GIF file format)
1848 --enable-pcx use pcx images (PCX file format)
1849 --enable-tga use tga images (TGA file format)
1850 --enable-iff use iff images (IFF file format)
1851 --enable-pnm use pnm images (PNM file format)
1852 --enable-xpm use xpm images (XPM file format)
1853 --enable-ico_cur use Windows ICO and CUR formats
1854 --enable-dccache cache temporary wxDC objects (Win32 only)
1855 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1856 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1857 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1858 --enable-wxdib use wxDIB class (Win32 only)
1859 --enable-autoidman use automatic ids management
1860 --disable-largefile omit support for large files
1861 --disable-gtktest do not try to compile and run a test GTK+ program
1862 --disable-gtktest Do not try to compile and run a test GTK program
1863 --disable-sdltest Do not try to compile and run a test SDL program
1864 --enable-omf use OMF object format (OS/2)
1865 --disable-dependency-tracking
1866 don't use dependency tracking even if the compiler
1867 can
1868 --disable-precomp-headers
1869 don't use precompiled headers even if compiler can
1870
1871 Optional Packages:
1872 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1873 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1874 --without-subdirs don't generate makefiles for samples/demos/...
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1877 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1878 --with-motif use Motif/Lesstif
1879 --with-mac use Mac OS X
1880 --with-cocoa use Cocoa
1881 --with-wine use Wine
1882 --with-msw use MS-Windows
1883 --with-pm use OS/2 Presentation Manager
1884 --with-mgl use SciTech MGL
1885 --with-directfb use DirectFB
1886 --with-microwin use MicroWindows
1887 --with-x11 use X11
1888 --with-libpng use libpng (PNG image format)
1889 --with-libjpeg use libjpeg (JPEG file format)
1890 --with-libtiff use libtiff (TIFF file format)
1891 --with-libxpm use libxpm (XPM file format)
1892 --with-libiconv use libiconv (character conversion)
1893 --with-libmspack use libmspack (CHM help files loading)
1894 --without-gtkprint don't use GTK printing support
1895 --without-gnomeprint don't use GNOME printing libraries
1896 --with-gnomevfs use GNOME VFS for associating MIME types
1897 --with-hildon use Hildon framework for Nokia 770
1898 --with-opengl use OpenGL (or Mesa)
1899 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1900 --with-sdl use SDL for audio on Unix
1901 --with-regex enable support for wxRegEx class
1902 --with-zlib use zlib for LZW compression
1903 --with-expat enable XML support using expat parser
1904 --with-macosx-sdk=PATH use an OS X SDK at PATH
1905 --with-macosx-version-min=VER build binaries which require at least this OS X version
1906 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1907 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1908 --with-x use the X Window System
1909 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1910 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1911 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1912 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1913 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1914
1915 Some influential environment variables:
1916 CC C compiler command
1917 CFLAGS C compiler flags
1918 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1919 nonstandard directory <lib dir>
1920 LIBS libraries to pass to the linker, e.g. -l<library>
1921 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1922 you have headers in a nonstandard directory <include dir>
1923 CPP C preprocessor
1924 CXX C++ compiler command
1925 CXXFLAGS C++ compiler flags
1926 PKG_CONFIG path to pkg-config utility
1927 DIRECTFB_CFLAGS
1928 C compiler flags for DIRECTFB, overriding pkg-config
1929 DIRECTFB_LIBS
1930 linker flags for DIRECTFB, overriding pkg-config
1931 XMKMF Path to xmkmf, Makefile generator for X Window System
1932 PANGOX_CFLAGS
1933 C compiler flags for PANGOX, overriding pkg-config
1934 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1935 PANGOFT2_CFLAGS
1936 C compiler flags for PANGOFT2, overriding pkg-config
1937 PANGOFT2_LIBS
1938 linker flags for PANGOFT2, overriding pkg-config
1939 PANGOXFT_CFLAGS
1940 C compiler flags for PANGOXFT, overriding pkg-config
1941 PANGOXFT_LIBS
1942 linker flags for PANGOXFT, overriding pkg-config
1943 GTKPRINT_CFLAGS
1944 C compiler flags for GTKPRINT, overriding pkg-config
1945 GTKPRINT_LIBS
1946 linker flags for GTKPRINT, overriding pkg-config
1947 LIBGNOMEPRINTUI_CFLAGS
1948 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1949 LIBGNOMEPRINTUI_LIBS
1950 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 GNOMEVFS_CFLAGS
1952 C compiler flags for GNOMEVFS, overriding pkg-config
1953 GNOMEVFS_LIBS
1954 linker flags for GNOMEVFS, overriding pkg-config
1955 HILDON_CFLAGS
1956 C compiler flags for HILDON, overriding pkg-config
1957 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1958 CAIRO_CFLAGS
1959 C compiler flags for CAIRO, overriding pkg-config
1960 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1961 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1962 GST_LIBS linker flags for GST, overriding pkg-config
1963
1964 Use these variables to override the choices made by `configure' or to help
1965 it to find libraries and programs with nonstandard names/locations.
1966
1967 Report bugs to <wx-dev@lists.wxwidgets.org>.
1968 _ACEOF
1969 ac_status=$?
1970 fi
1971
1972 if test "$ac_init_help" = "recursive"; then
1973 # If there are subdirs, report their specific --help.
1974 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1975 test -d "$ac_dir" || continue
1976 ac_builddir=.
1977
1978 case "$ac_dir" in
1979 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1980 *)
1981 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1982 # A ".." for each directory in $ac_dir_suffix.
1983 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1984 case $ac_top_builddir_sub in
1985 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1986 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1987 esac ;;
1988 esac
1989 ac_abs_top_builddir=$ac_pwd
1990 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1991 # for backward compatibility:
1992 ac_top_builddir=$ac_top_build_prefix
1993
1994 case $srcdir in
1995 .) # We are building in place.
1996 ac_srcdir=.
1997 ac_top_srcdir=$ac_top_builddir_sub
1998 ac_abs_top_srcdir=$ac_pwd ;;
1999 [\\/]* | ?:[\\/]* ) # Absolute name.
2000 ac_srcdir=$srcdir$ac_dir_suffix;
2001 ac_top_srcdir=$srcdir
2002 ac_abs_top_srcdir=$srcdir ;;
2003 *) # Relative name.
2004 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2005 ac_top_srcdir=$ac_top_build_prefix$srcdir
2006 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2007 esac
2008 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2009
2010 cd "$ac_dir" || { ac_status=$?; continue; }
2011 # Check for guested configure.
2012 if test -f "$ac_srcdir/configure.gnu"; then
2013 echo &&
2014 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2015 elif test -f "$ac_srcdir/configure"; then
2016 echo &&
2017 $SHELL "$ac_srcdir/configure" --help=recursive
2018 else
2019 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2020 fi || ac_status=$?
2021 cd "$ac_pwd" || { ac_status=$?; break; }
2022 done
2023 fi
2024
2025 test -n "$ac_init_help" && exit $ac_status
2026 if $ac_init_version; then
2027 cat <<\_ACEOF
2028 wxWidgets configure 2.9.0
2029 generated by GNU Autoconf 2.61
2030
2031 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2032 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2033 This configure script is free software; the Free Software Foundation
2034 gives unlimited permission to copy, distribute and modify it.
2035 _ACEOF
2036 exit
2037 fi
2038 cat >config.log <<_ACEOF
2039 This file contains any messages produced by compilers while
2040 running configure, to aid debugging if configure makes a mistake.
2041
2042 It was created by wxWidgets $as_me 2.9.0, which was
2043 generated by GNU Autoconf 2.61. Invocation command line was
2044
2045 $ $0 $@
2046
2047 _ACEOF
2048 exec 5>>config.log
2049 {
2050 cat <<_ASUNAME
2051 ## --------- ##
2052 ## Platform. ##
2053 ## --------- ##
2054
2055 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2056 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2057 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2058 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2059 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060
2061 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2062 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063
2064 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2065 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2066 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2067 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2068 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2069 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2070 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2071
2072 _ASUNAME
2073
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH
2076 do
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 echo "PATH: $as_dir"
2080 done
2081 IFS=$as_save_IFS
2082
2083 } >&5
2084
2085 cat >&5 <<_ACEOF
2086
2087
2088 ## ----------- ##
2089 ## Core tests. ##
2090 ## ----------- ##
2091
2092 _ACEOF
2093
2094
2095 # Keep a trace of the command line.
2096 # Strip out --no-create and --no-recursion so they do not pile up.
2097 # Strip out --silent because we don't want to record it for future runs.
2098 # Also quote any args containing shell meta-characters.
2099 # Make two passes to allow for proper duplicate-argument suppression.
2100 ac_configure_args=
2101 ac_configure_args0=
2102 ac_configure_args1=
2103 ac_must_keep_next=false
2104 for ac_pass in 1 2
2105 do
2106 for ac_arg
2107 do
2108 case $ac_arg in
2109 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2111 | -silent | --silent | --silen | --sile | --sil)
2112 continue ;;
2113 *\'*)
2114 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2115 esac
2116 case $ac_pass in
2117 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2118 2)
2119 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2120 if test $ac_must_keep_next = true; then
2121 ac_must_keep_next=false # Got value, back to normal.
2122 else
2123 case $ac_arg in
2124 *=* | --config-cache | -C | -disable-* | --disable-* \
2125 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2126 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2127 | -with-* | --with-* | -without-* | --without-* | --x)
2128 case "$ac_configure_args0 " in
2129 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2130 esac
2131 ;;
2132 -* ) ac_must_keep_next=true ;;
2133 esac
2134 fi
2135 ac_configure_args="$ac_configure_args '$ac_arg'"
2136 ;;
2137 esac
2138 done
2139 done
2140 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2141 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2142
2143 # When interrupted or exit'd, cleanup temporary files, and complete
2144 # config.log. We remove comments because anyway the quotes in there
2145 # would cause problems or look ugly.
2146 # WARNING: Use '\'' to represent an apostrophe within the trap.
2147 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2148 trap 'exit_status=$?
2149 # Save into config.log some information that might help in debugging.
2150 {
2151 echo
2152
2153 cat <<\_ASBOX
2154 ## ---------------- ##
2155 ## Cache variables. ##
2156 ## ---------------- ##
2157 _ASBOX
2158 echo
2159 # The following way of writing the cache mishandles newlines in values,
2160 (
2161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2162 eval ac_val=\$$ac_var
2163 case $ac_val in #(
2164 *${as_nl}*)
2165 case $ac_var in #(
2166 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2167 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2168 esac
2169 case $ac_var in #(
2170 _ | IFS | as_nl) ;; #(
2171 *) $as_unset $ac_var ;;
2172 esac ;;
2173 esac
2174 done
2175 (set) 2>&1 |
2176 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2177 *${as_nl}ac_space=\ *)
2178 sed -n \
2179 "s/'\''/'\''\\\\'\'''\''/g;
2180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2181 ;; #(
2182 *)
2183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2184 ;;
2185 esac |
2186 sort
2187 )
2188 echo
2189
2190 cat <<\_ASBOX
2191 ## ----------------- ##
2192 ## Output variables. ##
2193 ## ----------------- ##
2194 _ASBOX
2195 echo
2196 for ac_var in $ac_subst_vars
2197 do
2198 eval ac_val=\$$ac_var
2199 case $ac_val in
2200 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 esac
2202 echo "$ac_var='\''$ac_val'\''"
2203 done | sort
2204 echo
2205
2206 if test -n "$ac_subst_files"; then
2207 cat <<\_ASBOX
2208 ## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##
2211 _ASBOX
2212 echo
2213 for ac_var in $ac_subst_files
2214 do
2215 eval ac_val=\$$ac_var
2216 case $ac_val in
2217 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 esac
2219 echo "$ac_var='\''$ac_val'\''"
2220 done | sort
2221 echo
2222 fi
2223
2224 if test -s confdefs.h; then
2225 cat <<\_ASBOX
2226 ## ----------- ##
2227 ## confdefs.h. ##
2228 ## ----------- ##
2229 _ASBOX
2230 echo
2231 cat confdefs.h
2232 echo
2233 fi
2234 test "$ac_signal" != 0 &&
2235 echo "$as_me: caught signal $ac_signal"
2236 echo "$as_me: exit $exit_status"
2237 } >&5
2238 rm -f core *.core core.conftest.* &&
2239 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2240 exit $exit_status
2241 ' 0
2242 for ac_signal in 1 2 13 15; do
2243 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2244 done
2245 ac_signal=0
2246
2247 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 rm -f -r conftest* confdefs.h
2249
2250 # Predefined preprocessor variables.
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_NAME "$PACKAGE_NAME"
2254 _ACEOF
2255
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259 _ACEOF
2260
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2264 _ACEOF
2265
2266
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_STRING "$PACKAGE_STRING"
2269 _ACEOF
2270
2271
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2274 _ACEOF
2275
2276
2277 # Let the site file select an alternate cache file if it wants to.
2278 # Prefer explicitly selected file to automatically selected ones.
2279 if test -n "$CONFIG_SITE"; then
2280 set x "$CONFIG_SITE"
2281 elif test "x$prefix" != xNONE; then
2282 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2283 else
2284 set x "$ac_default_prefix/share/config.site" \
2285 "$ac_default_prefix/etc/config.site"
2286 fi
2287 shift
2288 for ac_site_file
2289 do
2290 if test -r "$ac_site_file"; then
2291 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2292 echo "$as_me: loading site script $ac_site_file" >&6;}
2293 sed 's/^/| /' "$ac_site_file" >&5
2294 . "$ac_site_file"
2295 fi
2296 done
2297
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special
2300 # files actually), so we avoid doing that.
2301 if test -f "$cache_file"; then
2302 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2303 echo "$as_me: loading cache $cache_file" >&6;}
2304 case $cache_file in
2305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306 *) . "./$cache_file";;
2307 esac
2308 fi
2309 else
2310 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2311 echo "$as_me: creating cache $cache_file" >&6;}
2312 >$cache_file
2313 fi
2314
2315 # Check that the precious variables saved in the cache have kept the same
2316 # value.
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320 eval ac_new_set=\$ac_env_${ac_var}_set
2321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322 eval ac_new_val=\$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2324 set,)
2325 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2328 ,set)
2329 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2330 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted=: ;;
2332 ,);;
2333 *)
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2336 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2337 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2338 echo "$as_me: former value: $ac_old_val" >&2;}
2339 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2340 echo "$as_me: current value: $ac_new_val" >&2;}
2341 ac_cache_corrupted=:
2342 fi;;
2343 esac
2344 # Pass precious variables to config.status.
2345 if test "$ac_new_set" = set; then
2346 case $ac_new_val in
2347 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348 *) ac_arg=$ac_var=$ac_new_val ;;
2349 esac
2350 case " $ac_configure_args " in
2351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2352 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2353 esac
2354 fi
2355 done
2356 if $ac_cache_corrupted; then
2357 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2358 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2359 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2360 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2361 { (exit 1); exit 1; }; }
2362 fi
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388 ac_ext=c
2389 ac_cpp='$CPP $CPPFLAGS'
2390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2393
2394
2395
2396
2397
2398 ac_aux_dir=
2399 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400 if test -f "$ac_dir/install-sh"; then
2401 ac_aux_dir=$ac_dir
2402 ac_install_sh="$ac_aux_dir/install-sh -c"
2403 break
2404 elif test -f "$ac_dir/install.sh"; then
2405 ac_aux_dir=$ac_dir
2406 ac_install_sh="$ac_aux_dir/install.sh -c"
2407 break
2408 elif test -f "$ac_dir/shtool"; then
2409 ac_aux_dir=$ac_dir
2410 ac_install_sh="$ac_aux_dir/shtool install -c"
2411 break
2412 fi
2413 done
2414 if test -z "$ac_aux_dir"; then
2415 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2416 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2417 { (exit 1); exit 1; }; }
2418 fi
2419
2420 # These three variables are undocumented and unsupported,
2421 # and are intended to be withdrawn in a future Autoconf release.
2422 # They can cause serious problems if a builder's source tree is in a directory
2423 # whose full name contains unusual characters.
2424 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2425 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2426 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2427
2428
2429 # Make sure we can run config.sub.
2430 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2431 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2432 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2433 { (exit 1); exit 1; }; }
2434
2435 { echo "$as_me:$LINENO: checking build system type" >&5
2436 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2437 if test "${ac_cv_build+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 else
2440 ac_build_alias=$build_alias
2441 test "x$ac_build_alias" = x &&
2442 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2443 test "x$ac_build_alias" = x &&
2444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2446 { (exit 1); exit 1; }; }
2447 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2448 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2449 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2450 { (exit 1); exit 1; }; }
2451
2452 fi
2453 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2454 echo "${ECHO_T}$ac_cv_build" >&6; }
2455 case $ac_cv_build in
2456 *-*-*) ;;
2457 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2458 echo "$as_me: error: invalid value of canonical build" >&2;}
2459 { (exit 1); exit 1; }; };;
2460 esac
2461 build=$ac_cv_build
2462 ac_save_IFS=$IFS; IFS='-'
2463 set x $ac_cv_build
2464 shift
2465 build_cpu=$1
2466 build_vendor=$2
2467 shift; shift
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2470 build_os=$*
2471 IFS=$ac_save_IFS
2472 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2473
2474
2475 { echo "$as_me:$LINENO: checking host system type" >&5
2476 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_host+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test "x$host_alias" = x; then
2481 ac_cv_host=$ac_cv_build
2482 else
2483 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2484 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2485 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2486 { (exit 1); exit 1; }; }
2487 fi
2488
2489 fi
2490 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2491 echo "${ECHO_T}$ac_cv_host" >&6; }
2492 case $ac_cv_host in
2493 *-*-*) ;;
2494 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2495 echo "$as_me: error: invalid value of canonical host" >&2;}
2496 { (exit 1); exit 1; }; };;
2497 esac
2498 host=$ac_cv_host
2499 ac_save_IFS=$IFS; IFS='-'
2500 set x $ac_cv_host
2501 shift
2502 host_cpu=$1
2503 host_vendor=$2
2504 shift; shift
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2507 host_os=$*
2508 IFS=$ac_save_IFS
2509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2510
2511
2512 { echo "$as_me:$LINENO: checking target system type" >&5
2513 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2514 if test "${ac_cv_target+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 else
2517 if test "x$target_alias" = x; then
2518 ac_cv_target=$ac_cv_host
2519 else
2520 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2521 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2522 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2523 { (exit 1); exit 1; }; }
2524 fi
2525
2526 fi
2527 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2528 echo "${ECHO_T}$ac_cv_target" >&6; }
2529 case $ac_cv_target in
2530 *-*-*) ;;
2531 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2532 echo "$as_me: error: invalid value of canonical target" >&2;}
2533 { (exit 1); exit 1; }; };;
2534 esac
2535 target=$ac_cv_target
2536 ac_save_IFS=$IFS; IFS='-'
2537 set x $ac_cv_target
2538 shift
2539 target_cpu=$1
2540 target_vendor=$2
2541 shift; shift
2542 # Remember, the first character of IFS is used to create $*,
2543 # except with old shells:
2544 target_os=$*
2545 IFS=$ac_save_IFS
2546 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2547
2548
2549 # The aliases save the names the user supplied, while $host etc.
2550 # will get canonicalized.
2551 test -n "$target_alias" &&
2552 test "$program_prefix$program_suffix$program_transform_name" = \
2553 NONENONEs,x,x, &&
2554 program_prefix=${target_alias}-
2555
2556
2557
2558 wx_major_version_number=2
2559 wx_minor_version_number=9
2560 wx_release_number=0
2561 wx_subrelease_number=0
2562
2563 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2564 WX_VERSION=$WX_RELEASE.$wx_release_number
2565 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2566
2567 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2568
2569
2570 wx_top_builddir="`pwd`"
2571
2572
2573
2574
2575 USE_UNIX=1
2576 USE_OS2=0
2577 USE_WIN32=0
2578 USE_DOS=0
2579 USE_BEOS=0
2580 USE_MAC=0
2581
2582 USE_AIX=
2583 USE_BSD= USE_DARWIN= USE_FREEBSD=
2584 USE_GNU= USE_HPUX=
2585 USE_LINUX=
2586 USE_NETBSD=
2587 USE_OPENBSD=
2588 USE_OSF= USE_SGI=
2589 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2590 USE_ULTRIX=
2591 USE_UNIXWARE=
2592
2593 USE_ALPHA=
2594
2595 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2596
2597 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2598
2599 DEFAULT_wxUSE_COCOA=0
2600 DEFAULT_wxUSE_GTK=0
2601 DEFAULT_wxUSE_MAC=0
2602 DEFAULT_wxUSE_MGL=0
2603 DEFAULT_wxUSE_MICROWIN=0
2604 DEFAULT_wxUSE_MOTIF=0
2605 DEFAULT_wxUSE_MSW=0
2606 DEFAULT_wxUSE_PM=0
2607 DEFAULT_wxUSE_X11=0
2608 DEFAULT_wxUSE_DFB=0
2609
2610 DEFAULT_DEFAULT_wxUSE_COCOA=0
2611 DEFAULT_DEFAULT_wxUSE_GTK=0
2612 DEFAULT_DEFAULT_wxUSE_MAC=0
2613 DEFAULT_DEFAULT_wxUSE_MGL=0
2614 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2615 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2616 DEFAULT_DEFAULT_wxUSE_MSW=0
2617 DEFAULT_DEFAULT_wxUSE_PM=0
2618 DEFAULT_DEFAULT_wxUSE_X11=0
2619 DEFAULT_DEFAULT_wxUSE_DFB=0
2620
2621 PROGRAM_EXT=
2622 SO_SUFFIX=so
2623 SAMPLES_RPATH_FLAG=
2624 SAMPLES_RPATH_POSTLINK=
2625
2626 DEFAULT_STD_FLAG=yes
2627
2628 case "${host}" in
2629 *-hp-hpux* )
2630 USE_HPUX=1
2631 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2632 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2633 SO_SUFFIX=sl
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __HPUX__ 1
2636 _ACEOF
2637
2638
2639 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2640 ;;
2641 *-*-linux* )
2642 USE_LINUX=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __LINUX__ 1
2645 _ACEOF
2646
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-gnu* | *-*-k*bsd*-gnu )
2658 USE_GNU=1
2659 TMP=`uname -m`
2660 if test "x$TMP" = "xalpha"; then
2661 USE_ALPHA=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __ALPHA__ 1
2664 _ACEOF
2665
2666 fi
2667 DEFAULT_DEFAULT_wxUSE_GTK=1
2668 ;;
2669 *-*-irix5* | *-*-irix6* )
2670 USE_SGI=1
2671 USE_SVR4=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SGI__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SVR4__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 ;;
2682 *-*-solaris2* )
2683 USE_SUN=1
2684 USE_SOLARIS=1
2685 USE_SVR4=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SUN__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __SOLARIS__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SVR4__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2699 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2700 ;;
2701 *-*-sunos4* )
2702 USE_SUN=1
2703 USE_SUNOS=1
2704 USE_BSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SUN__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SUNOS__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __BSD__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 ;;
2719 *-*-freebsd*)
2720 USE_BSD=1
2721 USE_FREEBSD=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __FREEBSD__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __BSD__ 1
2728 _ACEOF
2729
2730 DEFAULT_DEFAULT_wxUSE_GTK=1
2731 ;;
2732 *-*-openbsd*|*-*-mirbsd*)
2733 USE_BSD=1
2734 USE_OPENBSD=1
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __OPENBSD__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __BSD__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 ;;
2745 *-*-netbsd*)
2746 USE_BSD=1
2747 USE_NETBSD=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __NETBSD__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __BSD__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_GTK=1
2757 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2758
2759 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2760 ;;
2761 *-*-osf* )
2762 USE_ALPHA=1
2763 USE_OSF=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __ALPHA__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __OSF__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2774 ;;
2775 *-*-dgux5* )
2776 USE_ALPHA=1
2777 USE_SVR4=1
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __ALPHA__ 1
2780 _ACEOF
2781
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SVR4__ 1
2784 _ACEOF
2785
2786 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 ;;
2788 *-*-sysv5* )
2789 USE_SYSV=1
2790 USE_SVR4=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SYSV__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __SVR4__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 ;;
2801 *-*-aix* )
2802 USE_AIX=1
2803 USE_SYSV=1
2804 USE_SVR4=1
2805 SO_SUFFIX=a
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __AIX__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SYSV__ 1
2812 _ACEOF
2813
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __SVR4__ 1
2816 _ACEOF
2817
2818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2819 ;;
2820
2821 *-*-*UnixWare*)
2822 USE_SYSV=1
2823 USE_SVR4=1
2824 USE_UNIXWARE=1
2825 cat >>confdefs.h <<\_ACEOF
2826 #define __UNIXWARE__ 1
2827 _ACEOF
2828
2829 ;;
2830
2831 *-*-cygwin* | *-*-mingw32* )
2832 SO_SUFFIX=dll
2833 PROGRAM_EXT=".exe"
2834 DEFAULT_DEFAULT_wxUSE_MSW=1
2835 ;;
2836
2837 *-pc-msdosdjgpp )
2838 USE_UNIX=0
2839 USE_DOS=1
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __DOS__ 1
2842 _ACEOF
2843
2844 PROGRAM_EXT=".exe"
2845 DEFAULT_DEFAULT_wxUSE_MGL=1
2846 ;;
2847
2848 *-pc-os2_emx | *-pc-os2-emx )
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __EMX__ 1
2851 _ACEOF
2852
2853 USE_OS2=1
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __OS2__ 1
2856 _ACEOF
2857
2858 PROGRAM_EXT=".exe"
2859 DEFAULT_DEFAULT_wxUSE_PM=1
2860 CXX=gcc
2861 LDFLAGS="$LDFLAGS -Zcrtdll"
2862 ac_executable_extensions=".exe"
2863 export ac_executable_extensions
2864 ac_save_IFS="$IFS"
2865 IFS='\\'
2866 ac_TEMP_PATH=
2867 for ac_dir in $PATH; do
2868 IFS=$ac_save_IFS
2869 if test -z "$ac_TEMP_PATH"; then
2870 ac_TEMP_PATH="$ac_dir"
2871 else
2872 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2873 fi
2874 done
2875 export PATH="$ac_TEMP_PATH"
2876 unset ac_TEMP_PATH
2877 DEFAULT_STD_FLAG=no
2878 ;;
2879
2880 *-*-darwin* )
2881 USE_BSD=1
2882 USE_DARWIN=1
2883 SO_SUFFIX=dylib
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __BSD__ 1
2886 _ACEOF
2887
2888 cat >>confdefs.h <<\_ACEOF
2889 #define __DARWIN__ 1
2890 _ACEOF
2891
2892 cat >>confdefs.h <<\_ACEOF
2893 #define TARGET_CARBON 1
2894 _ACEOF
2895
2896 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 DEFAULT_STD_FLAG=no
2898 ;;
2899 powerpc-apple-macos* )
2900 USE_UNIX=0
2901 ac_cv_c_bigendian=yes
2902 SO_SUFFIX=shlib
2903 DEFAULT_DEFAULT_wxUSE_MAC=1
2904 DEFAULT_STD_FLAG=no
2905 ;;
2906
2907 *-*-beos* )
2908 USE_BEOS=1
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __BEOS__ 1
2911 _ACEOF
2912
2913 ;;
2914
2915 *)
2916 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2917 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2918 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2919 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2920
2921 DEFAULT_DEFAULT_wxUSE_X11=1
2922 DEFAULT_wxUSE_SHARED=no
2923 esac
2924
2925
2926
2927 DEFAULT_wxUSE_ALL_FEATURES=yes
2928
2929 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931
2932 DEFAULT_wxUSE_DMALLOC=no
2933 DEFAULT_wxUSE_LIBGNOMEVFS=no
2934 DEFAULT_wxUSE_LIBHILDON=no
2935 DEFAULT_wxUSE_LIBMSPACK=no
2936 DEFAULT_wxUSE_LIBSDL=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2941 DEFAULT_wxUSE_IPV6=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2944 DEFAULT_wxUSE_GSTREAMER8=no
2945
2946 DEFAULT_wxUSE_UNICODE_UTF8=auto
2947 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2948
2949 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2950
2951 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2952
2953 DEFAULT_wxUSE_GTK2=yes
2954
2955 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2956
2957
2958
2959
2960
2961 enablestring=disable
2962 defaultval=
2963 if test -z "$defaultval"; then
2964 if test x"$enablestring" = xdisable; then
2965 defaultval=yes
2966 else
2967 defaultval=no
2968 fi
2969 fi
2970
2971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2973 # Check whether --enable-gui was given.
2974 if test "${enable_gui+set}" = set; then
2975 enableval=$enable_gui;
2976 if test "$enableval" = yes; then
2977 wx_cv_use_gui='wxUSE_GUI=yes'
2978 else
2979 wx_cv_use_gui='wxUSE_GUI=no'
2980 fi
2981
2982 else
2983
2984 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2985
2986 fi
2987
2988
2989 eval "$wx_cv_use_gui"
2990
2991 if test x"$enablestring" = xdisable; then
2992 if test $wxUSE_GUI = yes; then
2993 result=no
2994 else
2995 result=yes
2996 fi
2997 else
2998 result=$wxUSE_GUI
2999 fi
3000
3001 { echo "$as_me:$LINENO: result: $result" >&5
3002 echo "${ECHO_T}$result" >&6; }
3003
3004
3005 enablestring=
3006 defaultval=
3007 if test -z "$defaultval"; then
3008 if test x"$enablestring" = xdisable; then
3009 defaultval=yes
3010 else
3011 defaultval=no
3012 fi
3013 fi
3014
3015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3017 # Check whether --enable-monolithic was given.
3018 if test "${enable_monolithic+set}" = set; then
3019 enableval=$enable_monolithic;
3020 if test "$enableval" = yes; then
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3022 else
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3024 fi
3025
3026 else
3027
3028 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3029
3030 fi
3031
3032
3033 eval "$wx_cv_use_monolithic"
3034
3035 if test x"$enablestring" = xdisable; then
3036 if test $wxUSE_MONOLITHIC = yes; then
3037 result=no
3038 else
3039 result=yes
3040 fi
3041 else
3042 result=$wxUSE_MONOLITHIC
3043 fi
3044
3045 { echo "$as_me:$LINENO: result: $result" >&5
3046 echo "${ECHO_T}$result" >&6; }
3047
3048
3049 enablestring=
3050 defaultval=
3051 if test -z "$defaultval"; then
3052 if test x"$enablestring" = xdisable; then
3053 defaultval=yes
3054 else
3055 defaultval=no
3056 fi
3057 fi
3058
3059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3060 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3061 # Check whether --enable-plugins was given.
3062 if test "${enable_plugins+set}" = set; then
3063 enableval=$enable_plugins;
3064 if test "$enableval" = yes; then
3065 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3066 else
3067 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3068 fi
3069
3070 else
3071
3072 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3073
3074 fi
3075
3076
3077 eval "$wx_cv_use_plugins"
3078
3079 if test x"$enablestring" = xdisable; then
3080 if test $wxUSE_PLUGINS = yes; then
3081 result=no
3082 else
3083 result=yes
3084 fi
3085 else
3086 result=$wxUSE_PLUGINS
3087 fi
3088
3089 { echo "$as_me:$LINENO: result: $result" >&5
3090 echo "${ECHO_T}$result" >&6; }
3091
3092
3093 withstring=without
3094 defaultval=$wxUSE_ALL_FEATURES
3095 if test -z "$defaultval"; then
3096 if test x"$withstring" = xwithout; then
3097 defaultval=yes
3098 else
3099 defaultval=no
3100 fi
3101 fi
3102 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3103 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3104
3105 # Check whether --with-subdirs was given.
3106 if test "${with_subdirs+set}" = set; then
3107 withval=$with_subdirs;
3108 if test "$withval" = yes; then
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3110 else
3111 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3112 fi
3113
3114 else
3115
3116 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3117
3118 fi
3119
3120
3121 eval "$wx_cv_use_subdirs"
3122
3123 if test x"$withstring" = xwithout; then
3124 if test $wxWITH_SUBDIRS = yes; then
3125 result=no
3126 else
3127 result=yes
3128 fi
3129 else
3130 result=$wxWITH_SUBDIRS
3131 fi
3132
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3135
3136
3137 # Check whether --with-flavour was given.
3138 if test "${with_flavour+set}" = set; then
3139 withval=$with_flavour; WX_FLAVOUR="$withval"
3140 fi
3141
3142
3143 enablestring=
3144 defaultval=
3145 if test -z "$defaultval"; then
3146 if test x"$enablestring" = xdisable; then
3147 defaultval=yes
3148 else
3149 defaultval=no
3150 fi
3151 fi
3152
3153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3154 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3155 # Check whether --enable-official_build was given.
3156 if test "${enable_official_build+set}" = set; then
3157 enableval=$enable_official_build;
3158 if test "$enableval" = yes; then
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3160 else
3161 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3162 fi
3163
3164 else
3165
3166 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3167
3168 fi
3169
3170
3171 eval "$wx_cv_use_official_build"
3172
3173 if test x"$enablestring" = xdisable; then
3174 if test $wxUSE_OFFICIAL_BUILD = yes; then
3175 result=no
3176 else
3177 result=yes
3178 fi
3179 else
3180 result=$wxUSE_OFFICIAL_BUILD
3181 fi
3182
3183 { echo "$as_me:$LINENO: result: $result" >&5
3184 echo "${ECHO_T}$result" >&6; }
3185
3186 # Check whether --enable-vendor was given.
3187 if test "${enable_vendor+set}" = set; then
3188 enableval=$enable_vendor; VENDOR="$enableval"
3189 fi
3190
3191 if test "x$VENDOR" = "x"; then
3192 VENDOR="custom"
3193 fi
3194
3195
3196 enablestring=disable
3197 defaultval=
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3200 defaultval=yes
3201 else
3202 defaultval=no
3203 fi
3204 fi
3205
3206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3208 # Check whether --enable-all-features was given.
3209 if test "${enable_all_features+set}" = set; then
3210 enableval=$enable_all_features;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3213 else
3214 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3215 fi
3216
3217 else
3218
3219 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3220
3221 fi
3222
3223
3224 eval "$wx_cv_use_all_features"
3225
3226 if test x"$enablestring" = xdisable; then
3227 if test $wxUSE_ALL_FEATURES = yes; then
3228 result=no
3229 else
3230 result=yes
3231 fi
3232 else
3233 result=$wxUSE_ALL_FEATURES
3234 fi
3235
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3238
3239
3240
3241 if test "$wxUSE_GUI" = "yes"; then
3242
3243
3244 enablestring=
3245 defaultval=
3246 if test -z "$defaultval"; then
3247 if test x"$enablestring" = xdisable; then
3248 defaultval=yes
3249 else
3250 defaultval=no
3251 fi
3252 fi
3253
3254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3256 # Check whether --enable-universal was given.
3257 if test "${enable_universal+set}" = set; then
3258 enableval=$enable_universal;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3261 else
3262 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3263 fi
3264
3265 else
3266
3267 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3268
3269 fi
3270
3271
3272 eval "$wx_cv_use_universal"
3273
3274 if test x"$enablestring" = xdisable; then
3275 if test $wxUSE_UNIVERSAL = yes; then
3276 result=no
3277 else
3278 result=yes
3279 fi
3280 else
3281 result=$wxUSE_UNIVERSAL
3282 fi
3283
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3286
3287 if test "$wxUSE_UNIVERSAL" = "yes"; then
3288
3289 # Check whether --with-themes was given.
3290 if test "${with_themes+set}" = set; then
3291 withval=$with_themes; wxUNIV_THEMES="$withval"
3292 fi
3293
3294 fi
3295
3296
3297 # Check whether --with-gtk was given.
3298 if test "${with_gtk+set}" = set; then
3299 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3300 fi
3301
3302
3303 # Check whether --with-motif was given.
3304 if test "${with_motif+set}" = set; then
3305 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3306 fi
3307
3308
3309 # Check whether --with-mac was given.
3310 if test "${with_mac+set}" = set; then
3311 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3312 fi
3313
3314
3315 # Check whether --with-cocoa was given.
3316 if test "${with_cocoa+set}" = set; then
3317 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3318 fi
3319
3320
3321 # Check whether --with-wine was given.
3322 if test "${with_wine+set}" = set; then
3323 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3324 fi
3325
3326
3327 # Check whether --with-msw was given.
3328 if test "${with_msw+set}" = set; then
3329 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3330 fi
3331
3332
3333 # Check whether --with-pm was given.
3334 if test "${with_pm+set}" = set; then
3335 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3336 fi
3337
3338
3339 # Check whether --with-mgl was given.
3340 if test "${with_mgl+set}" = set; then
3341 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3342 fi
3343
3344
3345 # Check whether --with-directfb was given.
3346 if test "${with_directfb+set}" = set; then
3347 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3348 fi
3349
3350
3351 # Check whether --with-microwin was given.
3352 if test "${with_microwin+set}" = set; then
3353 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3354 fi
3355
3356
3357 # Check whether --with-x11 was given.
3358 if test "${with_x11+set}" = set; then
3359 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3360 fi
3361
3362
3363 enablestring=
3364 defaultval=
3365 if test -z "$defaultval"; then
3366 if test x"$enablestring" = xdisable; then
3367 defaultval=yes
3368 else
3369 defaultval=no
3370 fi
3371 fi
3372
3373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3374 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3375 # Check whether --enable-nanox was given.
3376 if test "${enable_nanox+set}" = set; then
3377 enableval=$enable_nanox;
3378 if test "$enableval" = yes; then
3379 wx_cv_use_nanox='wxUSE_NANOX=yes'
3380 else
3381 wx_cv_use_nanox='wxUSE_NANOX=no'
3382 fi
3383
3384 else
3385
3386 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3387
3388 fi
3389
3390
3391 eval "$wx_cv_use_nanox"
3392
3393 if test x"$enablestring" = xdisable; then
3394 if test $wxUSE_NANOX = yes; then
3395 result=no
3396 else
3397 result=yes
3398 fi
3399 else
3400 result=$wxUSE_NANOX
3401 fi
3402
3403 { echo "$as_me:$LINENO: result: $result" >&5
3404 echo "${ECHO_T}$result" >&6; }
3405
3406
3407 # Check whether --enable-gtk2 was given.
3408 if test "${enable_gtk2+set}" = set; then
3409 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3410 fi
3411
3412
3413 enablestring=
3414 defaultval=
3415 if test -z "$defaultval"; then
3416 if test x"$enablestring" = xdisable; then
3417 defaultval=yes
3418 else
3419 defaultval=no
3420 fi
3421 fi
3422
3423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3425 # Check whether --enable-gpe was given.
3426 if test "${enable_gpe+set}" = set; then
3427 enableval=$enable_gpe;
3428 if test "$enableval" = yes; then
3429 wx_cv_use_gpe='wxUSE_GPE=yes'
3430 else
3431 wx_cv_use_gpe='wxUSE_GPE=no'
3432 fi
3433
3434 else
3435
3436 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3437
3438 fi
3439
3440
3441 eval "$wx_cv_use_gpe"
3442
3443 if test x"$enablestring" = xdisable; then
3444 if test $wxUSE_GPE = yes; then
3445 result=no
3446 else
3447 result=yes
3448 fi
3449 else
3450 result=$wxUSE_GPE
3451 fi
3452
3453 { echo "$as_me:$LINENO: result: $result" >&5
3454 echo "${ECHO_T}$result" >&6; }
3455
3456
3457
3458 { echo "$as_me:$LINENO: checking for toolkit" >&5
3459 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3460
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3465 DEFAULT_DEFAULT_wxUSE_MSW=1
3466 wxUSE_SHARED=no
3467 CC=${CC:-winegcc}
3468 CXX=${CXX:-wineg++}
3469 fi
3470
3471
3472 if test "$wxUSE_GUI" = "yes"; then
3473
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3478 fi
3479
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit in $ALL_TOOLKITS; do
3482 var=wxUSE_$toolkit
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3485 eval "$var=0"
3486 elif test "x$value" != "x"; then
3487 eval "$var=1"
3488 fi
3489
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3492 fi
3493 done
3494 else
3495 for toolkit in $ALL_TOOLKITS; do
3496 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3498 done
3499 fi
3500
3501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3502 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3504
3505 case "${host}" in
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3508 esac
3509
3510 case "$NUM_TOOLKITS" in
3511 1)
3512 ;;
3513 0)
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3517 ;;
3518 *)
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3522 esac
3523
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3526 wxGTK_VERSION=2
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3528 wxGTK_VERSION=1
3529 fi
3530
3531 for toolkit in $ALL_TOOLKITS; do
3532 var=wxUSE_$toolkit
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3538 fi
3539 done
3540 else
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3544 else
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3547 fi
3548 fi
3549
3550
3551
3552 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3553 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3554
3555 # Check whether --with-libpng was given.
3556 if test "${with_libpng+set}" = set; then
3557 withval=$with_libpng;
3558 if test "$withval" = yes; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3560 elif test "$withval" = no; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3562 elif test "$withval" = sys; then
3563 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3564 elif test "$withval" = builtin; then
3565 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3566 else
3567 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3568 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3569 { (exit 1); exit 1; }; }
3570 fi
3571
3572 else
3573
3574 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3575
3576 fi
3577
3578
3579 eval "$wx_cv_use_libpng"
3580
3581 if test "$wxUSE_LIBPNG" = yes; then
3582 { echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6; }
3584 elif test "$wxUSE_LIBPNG" = no; then
3585 { echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6; }
3587 elif test "$wxUSE_LIBPNG" = sys; then
3588 { echo "$as_me:$LINENO: result: system version" >&5
3589 echo "${ECHO_T}system version" >&6; }
3590 elif test "$wxUSE_LIBPNG" = builtin; then
3591 { echo "$as_me:$LINENO: result: builtin version" >&5
3592 echo "${ECHO_T}builtin version" >&6; }
3593 else
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3597 fi
3598
3599
3600 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3601 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3602
3603 # Check whether --with-libjpeg was given.
3604 if test "${with_libjpeg+set}" = set; then
3605 withval=$with_libjpeg;
3606 if test "$withval" = yes; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3608 elif test "$withval" = no; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3610 elif test "$withval" = sys; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3612 elif test "$withval" = builtin; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3614 else
3615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3616 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3617 { (exit 1); exit 1; }; }
3618 fi
3619
3620 else
3621
3622 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3623
3624 fi
3625
3626
3627 eval "$wx_cv_use_libjpeg"
3628
3629 if test "$wxUSE_LIBJPEG" = yes; then
3630 { echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = no; then
3633 { echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = sys; then
3636 { echo "$as_me:$LINENO: result: system version" >&5
3637 echo "${ECHO_T}system version" >&6; }
3638 elif test "$wxUSE_LIBJPEG" = builtin; then
3639 { echo "$as_me:$LINENO: result: builtin version" >&5
3640 echo "${ECHO_T}builtin version" >&6; }
3641 else
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3645 fi
3646
3647
3648 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3649 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3650
3651 # Check whether --with-libtiff was given.
3652 if test "${with_libtiff+set}" = set; then
3653 withval=$with_libtiff;
3654 if test "$withval" = yes; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3656 elif test "$withval" = no; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3658 elif test "$withval" = sys; then
3659 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3660 elif test "$withval" = builtin; then
3661 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3662 else
3663 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3664 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3666 fi
3667
3668 else
3669
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3671
3672 fi
3673
3674
3675 eval "$wx_cv_use_libtiff"
3676
3677 if test "$wxUSE_LIBTIFF" = yes; then
3678 { echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = no; then
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = sys; then
3684 { echo "$as_me:$LINENO: result: system version" >&5
3685 echo "${ECHO_T}system version" >&6; }
3686 elif test "$wxUSE_LIBTIFF" = builtin; then
3687 { echo "$as_me:$LINENO: result: builtin version" >&5
3688 echo "${ECHO_T}builtin version" >&6; }
3689 else
3690 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3691 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3692 { (exit 1); exit 1; }; }
3693 fi
3694
3695
3696 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3697 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3698
3699 # Check whether --with-libxpm was given.
3700 if test "${with_libxpm+set}" = set; then
3701 withval=$with_libxpm;
3702 if test "$withval" = yes; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3704 elif test "$withval" = no; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3706 elif test "$withval" = sys; then
3707 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3708 elif test "$withval" = builtin; then
3709 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3710 else
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3714 fi
3715
3716 else
3717
3718 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3719
3720 fi
3721
3722
3723 eval "$wx_cv_use_libxpm"
3724
3725 if test "$wxUSE_LIBXPM" = yes; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3728 elif test "$wxUSE_LIBXPM" = no; then
3729 { echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6; }
3731 elif test "$wxUSE_LIBXPM" = sys; then
3732 { echo "$as_me:$LINENO: result: system version" >&5
3733 echo "${ECHO_T}system version" >&6; }
3734 elif test "$wxUSE_LIBXPM" = builtin; then
3735 { echo "$as_me:$LINENO: result: builtin version" >&5
3736 echo "${ECHO_T}builtin version" >&6; }
3737 else
3738 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3739 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3740 { (exit 1); exit 1; }; }
3741 fi
3742
3743
3744 withstring=
3745 defaultval=$wxUSE_ALL_FEATURES
3746 if test -z "$defaultval"; then
3747 if test x"$withstring" = xwithout; then
3748 defaultval=yes
3749 else
3750 defaultval=no
3751 fi
3752 fi
3753 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3754 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3755
3756 # Check whether --with-libiconv was given.
3757 if test "${with_libiconv+set}" = set; then
3758 withval=$with_libiconv;
3759 if test "$withval" = yes; then
3760 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3761 else
3762 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3763 fi
3764
3765 else
3766
3767 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3768
3769 fi
3770
3771
3772 eval "$wx_cv_use_libiconv"
3773
3774 if test x"$withstring" = xwithout; then
3775 if test $wxUSE_LIBICONV = yes; then
3776 result=no
3777 else
3778 result=yes
3779 fi
3780 else
3781 result=$wxUSE_LIBICONV
3782 fi
3783
3784 { echo "$as_me:$LINENO: result: $result" >&5
3785 echo "${ECHO_T}$result" >&6; }
3786
3787
3788 withstring=
3789 defaultval=$wxUSE_ALL_FEATURES
3790 if test -z "$defaultval"; then
3791 if test x"$withstring" = xwithout; then
3792 defaultval=yes
3793 else
3794 defaultval=no
3795 fi
3796 fi
3797 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3798 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3799
3800 # Check whether --with-libmspack was given.
3801 if test "${with_libmspack+set}" = set; then
3802 withval=$with_libmspack;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3805 else
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3807 fi
3808
3809 else
3810
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3812
3813 fi
3814
3815
3816 eval "$wx_cv_use_libmspack"
3817
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBMSPACK = yes; then
3820 result=no
3821 else
3822 result=yes
3823 fi
3824 else
3825 result=$wxUSE_LIBMSPACK
3826 fi
3827
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3830
3831
3832 withstring=without
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3836 defaultval=yes
3837 else
3838 defaultval=no
3839 fi
3840 fi
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3843
3844 # Check whether --with-gtkprint was given.
3845 if test "${with_gtkprint+set}" = set; then
3846 withval=$with_gtkprint;
3847 if test "$withval" = yes; then
3848 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3849 else
3850 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3851 fi
3852
3853 else
3854
3855 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3856
3857 fi
3858
3859
3860 eval "$wx_cv_use_gtkprint"
3861
3862 if test x"$withstring" = xwithout; then
3863 if test $wxUSE_GTKPRINT = yes; then
3864 result=no
3865 else
3866 result=yes
3867 fi
3868 else
3869 result=$wxUSE_GTKPRINT
3870 fi
3871
3872 { echo "$as_me:$LINENO: result: $result" >&5
3873 echo "${ECHO_T}$result" >&6; }
3874
3875
3876 withstring=without
3877 defaultval=$wxUSE_ALL_FEATURES
3878 if test -z "$defaultval"; then
3879 if test x"$withstring" = xwithout; then
3880 defaultval=yes
3881 else
3882 defaultval=no
3883 fi
3884 fi
3885 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3886 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3887
3888 # Check whether --with-gnomeprint was given.
3889 if test "${with_gnomeprint+set}" = set; then
3890 withval=$with_gnomeprint;
3891 if test "$withval" = yes; then
3892 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3893 else
3894 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3895 fi
3896
3897 else
3898
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3900
3901 fi
3902
3903
3904 eval "$wx_cv_use_gnomeprint"
3905
3906 if test x"$withstring" = xwithout; then
3907 if test $wxUSE_LIBGNOMEPRINT = yes; then
3908 result=no
3909 else
3910 result=yes
3911 fi
3912 else
3913 result=$wxUSE_LIBGNOMEPRINT
3914 fi
3915
3916 { echo "$as_me:$LINENO: result: $result" >&5
3917 echo "${ECHO_T}$result" >&6; }
3918
3919
3920 withstring=
3921 defaultval=$wxUSE_ALL_FEATURES
3922 if test -z "$defaultval"; then
3923 if test x"$withstring" = xwithout; then
3924 defaultval=yes
3925 else
3926 defaultval=no
3927 fi
3928 fi
3929 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3930 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3931
3932 # Check whether --with-gnomevfs was given.
3933 if test "${with_gnomevfs+set}" = set; then
3934 withval=$with_gnomevfs;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3937 else
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3939 fi
3940
3941 else
3942
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3944
3945 fi
3946
3947
3948 eval "$wx_cv_use_gnomevfs"
3949
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_LIBGNOMEVFS = yes; then
3952 result=no
3953 else
3954 result=yes
3955 fi
3956 else
3957 result=$wxUSE_LIBGNOMEVFS
3958 fi
3959
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3962
3963
3964 withstring=
3965 defaultval=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x"$withstring" = xwithout; then
3968 defaultval=yes
3969 else
3970 defaultval=no
3971 fi
3972 fi
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3975
3976 # Check whether --with-hildon was given.
3977 if test "${with_hildon+set}" = set; then
3978 withval=$with_hildon;
3979 if test "$withval" = yes; then
3980 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3981 else
3982 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3983 fi
3984
3985 else
3986
3987 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3988
3989 fi
3990
3991
3992 eval "$wx_cv_use_hildon"
3993
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBHILDON = yes; then
3996 result=no
3997 else
3998 result=yes
3999 fi
4000 else
4001 result=$wxUSE_LIBHILDON
4002 fi
4003
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4006
4007
4008 withstring=
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4012 defaultval=yes
4013 else
4014 defaultval=no
4015 fi
4016 fi
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4019
4020 # Check whether --with-opengl was given.
4021 if test "${with_opengl+set}" = set; then
4022 withval=$with_opengl;
4023 if test "$withval" = yes; then
4024 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4025 else
4026 wx_cv_use_opengl='wxUSE_OPENGL=no'
4027 fi
4028
4029 else
4030
4031 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4032
4033 fi
4034
4035
4036 eval "$wx_cv_use_opengl"
4037
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_OPENGL = yes; then
4040 result=no
4041 else
4042 result=yes
4043 fi
4044 else
4045 result=$wxUSE_OPENGL
4046 fi
4047
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4050
4051
4052 fi
4053
4054
4055 withstring=
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4059 defaultval=yes
4060 else
4061 defaultval=no
4062 fi
4063 fi
4064 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4065 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4066
4067 # Check whether --with-dmalloc was given.
4068 if test "${with_dmalloc+set}" = set; then
4069 withval=$with_dmalloc;
4070 if test "$withval" = yes; then
4071 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4072 else
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4074 fi
4075
4076 else
4077
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4079
4080 fi
4081
4082
4083 eval "$wx_cv_use_dmalloc"
4084
4085 if test x"$withstring" = xwithout; then
4086 if test $wxUSE_DMALLOC = yes; then
4087 result=no
4088 else
4089 result=yes
4090 fi
4091 else
4092 result=$wxUSE_DMALLOC
4093 fi
4094
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
4097
4098
4099 withstring=
4100 defaultval=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x"$withstring" = xwithout; then
4103 defaultval=yes
4104 else
4105 defaultval=no
4106 fi
4107 fi
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4110
4111 # Check whether --with-sdl was given.
4112 if test "${with_sdl+set}" = set; then
4113 withval=$with_sdl;
4114 if test "$withval" = yes; then
4115 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4116 else
4117 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4118 fi
4119
4120 else
4121
4122 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4123
4124 fi
4125
4126
4127 eval "$wx_cv_use_sdl"
4128
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_LIBSDL = yes; then
4131 result=no
4132 else
4133 result=yes
4134 fi
4135 else
4136 result=$wxUSE_LIBSDL
4137 fi
4138
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4141
4142
4143 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4144 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4145
4146 # Check whether --with-regex was given.
4147 if test "${with_regex+set}" = set; then
4148 withval=$with_regex;
4149 if test "$withval" = yes; then
4150 wx_cv_use_regex='wxUSE_REGEX=yes'
4151 elif test "$withval" = no; then
4152 wx_cv_use_regex='wxUSE_REGEX=no'
4153 elif test "$withval" = sys; then
4154 wx_cv_use_regex='wxUSE_REGEX=sys'
4155 elif test "$withval" = builtin; then
4156 wx_cv_use_regex='wxUSE_REGEX=builtin'
4157 else
4158 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4159 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4160 { (exit 1); exit 1; }; }
4161 fi
4162
4163 else
4164
4165 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4166
4167 fi
4168
4169
4170 eval "$wx_cv_use_regex"
4171
4172 if test "$wxUSE_REGEX" = yes; then
4173 { echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6; }
4175 elif test "$wxUSE_REGEX" = no; then
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4178 elif test "$wxUSE_REGEX" = sys; then
4179 { echo "$as_me:$LINENO: result: system version" >&5
4180 echo "${ECHO_T}system version" >&6; }
4181 elif test "$wxUSE_REGEX" = builtin; then
4182 { echo "$as_me:$LINENO: result: builtin version" >&5
4183 echo "${ECHO_T}builtin version" >&6; }
4184 else
4185 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4186 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4187 { (exit 1); exit 1; }; }
4188 fi
4189
4190
4191 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4192 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4193
4194 # Check whether --with-zlib was given.
4195 if test "${with_zlib+set}" = set; then
4196 withval=$with_zlib;
4197 if test "$withval" = yes; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4199 elif test "$withval" = no; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=no'
4201 elif test "$withval" = sys; then
4202 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4203 elif test "$withval" = builtin; then
4204 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4205 else
4206 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4207 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4208 { (exit 1); exit 1; }; }
4209 fi
4210
4211 else
4212
4213 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4214
4215 fi
4216
4217
4218 eval "$wx_cv_use_zlib"
4219
4220 if test "$wxUSE_ZLIB" = yes; then
4221 { echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6; }
4223 elif test "$wxUSE_ZLIB" = no; then
4224 { echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6; }
4226 elif test "$wxUSE_ZLIB" = sys; then
4227 { echo "$as_me:$LINENO: result: system version" >&5
4228 echo "${ECHO_T}system version" >&6; }
4229 elif test "$wxUSE_ZLIB" = builtin; then
4230 { echo "$as_me:$LINENO: result: builtin version" >&5
4231 echo "${ECHO_T}builtin version" >&6; }
4232 else
4233 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4234 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4235 { (exit 1); exit 1; }; }
4236 fi
4237
4238
4239 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4240 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4241
4242 # Check whether --with-expat was given.
4243 if test "${with_expat+set}" = set; then
4244 withval=$with_expat;
4245 if test "$withval" = yes; then
4246 wx_cv_use_expat='wxUSE_EXPAT=yes'
4247 elif test "$withval" = no; then
4248 wx_cv_use_expat='wxUSE_EXPAT=no'
4249 elif test "$withval" = sys; then
4250 wx_cv_use_expat='wxUSE_EXPAT=sys'
4251 elif test "$withval" = builtin; then
4252 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4253 else
4254 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4255 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4256 { (exit 1); exit 1; }; }
4257 fi
4258
4259 else
4260
4261 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4262
4263 fi
4264
4265
4266 eval "$wx_cv_use_expat"
4267
4268 if test "$wxUSE_EXPAT" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 elif test "$wxUSE_EXPAT" = no; then
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 elif test "$wxUSE_EXPAT" = sys; then
4275 { echo "$as_me:$LINENO: result: system version" >&5
4276 echo "${ECHO_T}system version" >&6; }
4277 elif test "$wxUSE_EXPAT" = builtin; then
4278 { echo "$as_me:$LINENO: result: builtin version" >&5
4279 echo "${ECHO_T}builtin version" >&6; }
4280 else
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4284 fi
4285
4286
4287 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4288 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4289
4290 # Check whether --with-macosx-sdk was given.
4291 if test "${with_macosx_sdk+set}" = set; then
4292 withval=$with_macosx_sdk;
4293 wxUSE_MACOSX_SDK=$withval
4294 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4295
4296 fi
4297
4298 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4299 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4300
4301 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4302 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4303
4304 # Check whether --with-macosx-version-min was given.
4305 if test "${with_macosx_version_min+set}" = set; then
4306 withval=$with_macosx_version_min;
4307 wxUSE_MACOSX_VERSION_MIN=$withval
4308 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4309
4310 fi
4311
4312 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4313 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4314
4315
4316
4317 enablestring=disable
4318 defaultval=
4319 if test -z "$defaultval"; then
4320 if test x"$enablestring" = xdisable; then
4321 defaultval=yes
4322 else
4323 defaultval=no
4324 fi
4325 fi
4326
4327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4328 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4329 # Check whether --enable-shared was given.
4330 if test "${enable_shared+set}" = set; then
4331 enableval=$enable_shared;
4332 if test "$enableval" = yes; then
4333 wx_cv_use_shared='wxUSE_SHARED=yes'
4334 else
4335 wx_cv_use_shared='wxUSE_SHARED=no'
4336 fi
4337
4338 else
4339
4340 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4341
4342 fi
4343
4344
4345 eval "$wx_cv_use_shared"
4346
4347 if test x"$enablestring" = xdisable; then
4348 if test $wxUSE_SHARED = yes; then
4349 result=no
4350 else
4351 result=yes
4352 fi
4353 else
4354 result=$wxUSE_SHARED
4355 fi
4356
4357 { echo "$as_me:$LINENO: result: $result" >&5
4358 echo "${ECHO_T}$result" >&6; }
4359
4360
4361 enablestring=
4362 defaultval=
4363 if test -z "$defaultval"; then
4364 if test x"$enablestring" = xdisable; then
4365 defaultval=yes
4366 else
4367 defaultval=no
4368 fi
4369 fi
4370
4371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4373 # Check whether --enable-debug was given.
4374 if test "${enable_debug+set}" = set; then
4375 enableval=$enable_debug;
4376 if test "$enableval" = yes; then
4377 wx_cv_use_debug='wxUSE_DEBUG=yes'
4378 else
4379 wx_cv_use_debug='wxUSE_DEBUG=no'
4380 fi
4381
4382 else
4383
4384 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4385
4386 fi
4387
4388
4389 eval "$wx_cv_use_debug"
4390
4391 if test x"$enablestring" = xdisable; then
4392 if test $wxUSE_DEBUG = yes; then
4393 result=no
4394 else
4395 result=yes
4396 fi
4397 else
4398 result=$wxUSE_DEBUG
4399 fi
4400
4401 { echo "$as_me:$LINENO: result: $result" >&5
4402 echo "${ECHO_T}$result" >&6; }
4403
4404
4405 enablestring=
4406 defaultval=
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4409 defaultval=yes
4410 else
4411 defaultval=no
4412 fi
4413 fi
4414
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4417 # Check whether --enable-stl was given.
4418 if test "${enable_stl+set}" = set; then
4419 enableval=$enable_stl;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_stl='wxUSE_STL=yes'
4422 else
4423 wx_cv_use_stl='wxUSE_STL=no'
4424 fi
4425
4426 else
4427
4428 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4429
4430 fi
4431
4432
4433 eval "$wx_cv_use_stl"
4434
4435 if test x"$enablestring" = xdisable; then
4436 if test $wxUSE_STL = yes; then
4437 result=no
4438 else
4439 result=yes
4440 fi
4441 else
4442 result=$wxUSE_STL
4443 fi
4444
4445 { echo "$as_me:$LINENO: result: $result" >&5
4446 echo "${ECHO_T}$result" >&6; }
4447
4448
4449 enablestring=
4450 defaultval=
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4453 defaultval=yes
4454 else
4455 defaultval=no
4456 fi
4457 fi
4458
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4461 # Check whether --enable-std_iostreams was given.
4462 if test "${enable_std_iostreams+set}" = set; then
4463 enableval=$enable_std_iostreams;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4466 else
4467 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4468 fi
4469
4470 else
4471
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4473
4474 fi
4475
4476
4477 eval "$wx_cv_use_std_iostreams"
4478
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_STD_IOSTREAM = yes; then
4481 result=no
4482 else
4483 result=yes
4484 fi
4485 else
4486 result=$wxUSE_STD_IOSTREAM
4487 fi
4488
4489 { echo "$as_me:$LINENO: result: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4491
4492
4493 enablestring=
4494 defaultval=
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4497 defaultval=yes
4498 else
4499 defaultval=no
4500 fi
4501 fi
4502
4503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4505 # Check whether --enable-std_string was given.
4506 if test "${enable_std_string+set}" = set; then
4507 enableval=$enable_std_string;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4510 else
4511 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4512 fi
4513
4514 else
4515
4516 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4517
4518 fi
4519
4520
4521 eval "$wx_cv_use_std_string"
4522
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_STD_STRING = yes; then
4525 result=no
4526 else
4527 result=yes
4528 fi
4529 else
4530 result=$wxUSE_STD_STRING
4531 fi
4532
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4535
4536
4537 enablestring=disable
4538 defaultval=
4539 if test -z "$defaultval"; then
4540 if test x"$enablestring" = xdisable; then
4541 defaultval=yes
4542 else
4543 defaultval=no
4544 fi
4545 fi
4546
4547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4549 # Check whether --enable-unicode was given.
4550 if test "${enable_unicode+set}" = set; then
4551 enableval=$enable_unicode;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4554 else
4555 wx_cv_use_unicode='wxUSE_UNICODE=no'
4556 fi
4557
4558 else
4559
4560 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4561
4562 fi
4563
4564
4565 eval "$wx_cv_use_unicode"
4566
4567 if test x"$enablestring" = xdisable; then
4568 if test $wxUSE_UNICODE = yes; then
4569 result=no
4570 else
4571 result=yes
4572 fi
4573 else
4574 result=$wxUSE_UNICODE
4575 fi
4576
4577 { echo "$as_me:$LINENO: result: $result" >&5
4578 echo "${ECHO_T}$result" >&6; }
4579
4580
4581 enablestring=
4582 defaultval=
4583 if test -z "$defaultval"; then
4584 if test x"$enablestring" = xdisable; then
4585 defaultval=yes
4586 else
4587 defaultval=no
4588 fi
4589 fi
4590
4591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4592 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4593 # Check whether --enable-mslu was given.
4594 if test "${enable_mslu+set}" = set; then
4595 enableval=$enable_mslu;
4596 if test "$enableval" = yes; then
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4598 else
4599 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4600 fi
4601
4602 else
4603
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4605
4606 fi
4607
4608
4609 eval "$wx_cv_use_mslu"
4610
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_UNICODE_MSLU = yes; then
4613 result=no
4614 else
4615 result=yes
4616 fi
4617 else
4618 result=$wxUSE_UNICODE_MSLU
4619 fi
4620
4621 { echo "$as_me:$LINENO: result: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4623
4624
4625 enablestring=
4626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4628 # Check whether --enable-utf8 was given.
4629 if test "${enable_utf8+set}" = set; then
4630 enableval=$enable_utf8;
4631 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4632
4633 else
4634
4635 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4636
4637 fi
4638
4639
4640 eval "$wx_cv_use_utf8"
4641
4642 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4643 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4644
4645
4646 enablestring=
4647 defaultval=
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4650 defaultval=yes
4651 else
4652 defaultval=no
4653 fi
4654 fi
4655
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4658 # Check whether --enable-utf8only was given.
4659 if test "${enable_utf8only+set}" = set; then
4660 enableval=$enable_utf8only;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4663 else
4664 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4665 fi
4666
4667 else
4668
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4670
4671 fi
4672
4673
4674 eval "$wx_cv_use_utf8only"
4675
4676 if test x"$enablestring" = xdisable; then
4677 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4678 result=no
4679 else
4680 result=yes
4681 fi
4682 else
4683 result=$wxUSE_UNICODE_UTF8_LOCALE
4684 fi
4685
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
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}-extended_rtti" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4702 # Check whether --enable-extended_rtti was given.
4703 if test "${enable_extended_rtti+set}" = set; then
4704 enableval=$enable_extended_rtti;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4707 else
4708 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_extended_rtti"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_EXTENDED_RTTI = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_EXTENDED_RTTI
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733 if test "$USE_OS2" = 1; then
4734 DEFAULT_wxUSE_OMF=no
4735
4736 enablestring=
4737 defaultval=
4738 if test -z "$defaultval"; then
4739 if test x"$enablestring" = xdisable; then
4740 defaultval=yes
4741 else
4742 defaultval=no
4743 fi
4744 fi
4745
4746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4748 # Check whether --enable-omf was given.
4749 if test "${enable_omf+set}" = set; then
4750 enableval=$enable_omf;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_omf='wxUSE_OMF=yes'
4753 else
4754 wx_cv_use_omf='wxUSE_OMF=no'
4755 fi
4756
4757 else
4758
4759 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4760
4761 fi
4762
4763
4764 eval "$wx_cv_use_omf"
4765
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_OMF = yes; then
4768 result=no
4769 else
4770 result=yes
4771 fi
4772 else
4773 result=$wxUSE_OMF
4774 fi
4775
4776 { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4778
4779 fi
4780
4781 if test "$wxUSE_DEBUG" = "yes"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=yes
4783 DEFAULT_wxUSE_DEBUG_INFO=yes
4784 BUILD=debug
4785 elif test "$wxUSE_DEBUG" = "no"; then
4786 DEFAULT_wxUSE_DEBUG_FLAG=no
4787 DEFAULT_wxUSE_DEBUG_INFO=no
4788 BUILD=release
4789 fi
4790
4791
4792 enablestring=
4793 defaultval=
4794 if test -z "$defaultval"; then
4795 if test x"$enablestring" = xdisable; then
4796 defaultval=yes
4797 else
4798 defaultval=no
4799 fi
4800 fi
4801
4802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4804 # Check whether --enable-debug_flag was given.
4805 if test "${enable_debug_flag+set}" = set; then
4806 enableval=$enable_debug_flag;
4807 if test "$enableval" = yes; then
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4809 else
4810 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4811 fi
4812
4813 else
4814
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4816
4817 fi
4818
4819
4820 eval "$wx_cv_use_debug_flag"
4821
4822 if test x"$enablestring" = xdisable; then
4823 if test $wxUSE_DEBUG_FLAG = yes; then
4824 result=no
4825 else
4826 result=yes
4827 fi
4828 else
4829 result=$wxUSE_DEBUG_FLAG
4830 fi
4831
4832 { echo "$as_me:$LINENO: result: $result" >&5
4833 echo "${ECHO_T}$result" >&6; }
4834
4835
4836 enablestring=
4837 defaultval=
4838 if test -z "$defaultval"; then
4839 if test x"$enablestring" = xdisable; then
4840 defaultval=yes
4841 else
4842 defaultval=no
4843 fi
4844 fi
4845
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4848 # Check whether --enable-debug_info was given.
4849 if test "${enable_debug_info+set}" = set; then
4850 enableval=$enable_debug_info;
4851 if test "$enableval" = yes; then
4852 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4853 else
4854 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4855 fi
4856
4857 else
4858
4859 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4860
4861 fi
4862
4863
4864 eval "$wx_cv_use_debug_info"
4865
4866 if test x"$enablestring" = xdisable; then
4867 if test $wxUSE_DEBUG_INFO = yes; then
4868 result=no
4869 else
4870 result=yes
4871 fi
4872 else
4873 result=$wxUSE_DEBUG_INFO
4874 fi
4875
4876 { echo "$as_me:$LINENO: result: $result" >&5
4877 echo "${ECHO_T}$result" >&6; }
4878
4879
4880 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4881 wxUSE_DEBUG=yes
4882 BUILD=debug
4883 fi
4884
4885 if test "$wxUSE_DEBUG" = "yes"; then
4886 DEFAULT_wxUSE_OPTIMISE=no
4887 fi
4888
4889
4890 enablestring=disable
4891 defaultval=
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4894 defaultval=yes
4895 else
4896 defaultval=no
4897 fi
4898 fi
4899
4900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4902 # Check whether --enable-optimise was given.
4903 if test "${enable_optimise+set}" = set; then
4904 enableval=$enable_optimise;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4907 else
4908 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4909 fi
4910
4911 else
4912
4913 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_optimise"
4919
4920 if test x"$enablestring" = xdisable; then
4921 if test $wxUSE_OPTIMISE = yes; then
4922 result=no
4923 else
4924 result=yes
4925 fi
4926 else
4927 result=$wxUSE_OPTIMISE
4928 fi
4929
4930 { echo "$as_me:$LINENO: result: $result" >&5
4931 echo "${ECHO_T}$result" >&6; }
4932
4933
4934
4935 enablestring=
4936 defaultval=
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4939 defaultval=yes
4940 else
4941 defaultval=no
4942 fi
4943 fi
4944
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4947 # Check whether --enable-debug_gdb was given.
4948 if test "${enable_debug_gdb+set}" = set; then
4949 enableval=$enable_debug_gdb;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4952 else
4953 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4954 fi
4955
4956 else
4957
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4959
4960 fi
4961
4962
4963 eval "$wx_cv_use_debug_gdb"
4964
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_DEBUG_GDB = yes; then
4967 result=no
4968 else
4969 result=yes
4970 fi
4971 else
4972 result=$wxUSE_DEBUG_GDB
4973 fi
4974
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4977
4978
4979 enablestring=
4980 defaultval=
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4983 defaultval=yes
4984 else
4985 defaultval=no
4986 fi
4987 fi
4988
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4991 # Check whether --enable-debug_cntxt was given.
4992 if test "${enable_debug_cntxt+set}" = set; then
4993 enableval=$enable_debug_cntxt;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4996 else
4997 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4998 fi
4999
5000 else
5001
5002 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5003
5004 fi
5005
5006
5007 eval "$wx_cv_use_debug_cntxt"
5008
5009 if test x"$enablestring" = xdisable; then
5010 if test $wxUSE_DEBUG_CONTEXT = yes; then
5011 result=no
5012 else
5013 result=yes
5014 fi
5015 else
5016 result=$wxUSE_DEBUG_CONTEXT
5017 fi
5018
5019 { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5021
5022
5023 enablestring=
5024 defaultval=
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5027 defaultval=yes
5028 else
5029 defaultval=no
5030 fi
5031 fi
5032
5033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5035 # Check whether --enable-mem_tracing was given.
5036 if test "${enable_mem_tracing+set}" = set; then
5037 enableval=$enable_mem_tracing;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5040 else
5041 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5042 fi
5043
5044 else
5045
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5047
5048 fi
5049
5050
5051 eval "$wx_cv_use_mem_tracing"
5052
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_MEM_TRACING = yes; then
5055 result=no
5056 else
5057 result=yes
5058 fi
5059 else
5060 result=$wxUSE_MEM_TRACING
5061 fi
5062
5063 { echo "$as_me:$LINENO: result: $result" >&5
5064 echo "${ECHO_T}$result" >&6; }
5065
5066
5067 enablestring=
5068 defaultval=
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5071 defaultval=yes
5072 else
5073 defaultval=no
5074 fi
5075 fi
5076
5077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5079 # Check whether --enable-profile was given.
5080 if test "${enable_profile+set}" = set; then
5081 enableval=$enable_profile;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_profile='wxUSE_PROFILE=yes'
5084 else
5085 wx_cv_use_profile='wxUSE_PROFILE=no'
5086 fi
5087
5088 else
5089
5090 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_profile"
5096
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_PROFILE = yes; then
5099 result=no
5100 else
5101 result=yes
5102 fi
5103 else
5104 result=$wxUSE_PROFILE
5105 fi
5106
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5109
5110
5111 enablestring=
5112 defaultval=
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5115 defaultval=yes
5116 else
5117 defaultval=no
5118 fi
5119 fi
5120
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5123 # Check whether --enable-no_rtti was given.
5124 if test "${enable_no_rtti+set}" = set; then
5125 enableval=$enable_no_rtti;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5128 else
5129 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5130 fi
5131
5132 else
5133
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5135
5136 fi
5137
5138
5139 eval "$wx_cv_use_no_rtti"
5140
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_NO_RTTI = yes; then
5143 result=no
5144 else
5145 result=yes
5146 fi
5147 else
5148 result=$wxUSE_NO_RTTI
5149 fi
5150
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5153
5154
5155 enablestring=
5156 defaultval=
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5159 defaultval=yes
5160 else
5161 defaultval=no
5162 fi
5163 fi
5164
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5167 # Check whether --enable-no_exceptions was given.
5168 if test "${enable_no_exceptions+set}" = set; then
5169 enableval=$enable_no_exceptions;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5172 else
5173 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5174 fi
5175
5176 else
5177
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5179
5180 fi
5181
5182
5183 eval "$wx_cv_use_no_exceptions"
5184
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_NO_EXCEPTIONS = yes; then
5187 result=no
5188 else
5189 result=yes
5190 fi
5191 else
5192 result=$wxUSE_NO_EXCEPTIONS
5193 fi
5194
5195 { echo "$as_me:$LINENO: result: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5197
5198
5199 enablestring=
5200 defaultval=
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5203 defaultval=yes
5204 else
5205 defaultval=no
5206 fi
5207 fi
5208
5209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5211 # Check whether --enable-permissive was given.
5212 if test "${enable_permissive+set}" = set; then
5213 enableval=$enable_permissive;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5216 else
5217 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5218 fi
5219
5220 else
5221
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5223
5224 fi
5225
5226
5227 eval "$wx_cv_use_permissive"
5228
5229 if test x"$enablestring" = xdisable; then
5230 if test $wxUSE_PERMISSIVE = yes; then
5231 result=no
5232 else
5233 result=yes
5234 fi
5235 else
5236 result=$wxUSE_PERMISSIVE
5237 fi
5238
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5241
5242
5243 enablestring=
5244 defaultval=
5245 if test -z "$defaultval"; then
5246 if test x"$enablestring" = xdisable; then
5247 defaultval=yes
5248 else
5249 defaultval=no
5250 fi
5251 fi
5252
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5255 # Check whether --enable-no_deps was given.
5256 if test "${enable_no_deps+set}" = set; then
5257 enableval=$enable_no_deps;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5260 else
5261 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5262 fi
5263
5264 else
5265
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5267
5268 fi
5269
5270
5271 eval "$wx_cv_use_no_deps"
5272
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_NO_DEPS = yes; then
5275 result=no
5276 else
5277 result=yes
5278 fi
5279 else
5280 result=$wxUSE_NO_DEPS
5281 fi
5282
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5285
5286
5287 enablestring=disable
5288 defaultval=
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5291 defaultval=yes
5292 else
5293 defaultval=no
5294 fi
5295 fi
5296
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5299 # Check whether --enable-vararg_macros was given.
5300 if test "${enable_vararg_macros+set}" = set; then
5301 enableval=$enable_vararg_macros;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5304 else
5305 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5306 fi
5307
5308 else
5309
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5311
5312 fi
5313
5314
5315 eval "$wx_cv_use_vararg_macros"
5316
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_VARARG_MACROS = yes; then
5319 result=no
5320 else
5321 result=yes
5322 fi
5323 else
5324 result=$wxUSE_VARARG_MACROS
5325 fi
5326
5327 { echo "$as_me:$LINENO: result: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5329
5330
5331 enablestring=
5332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5334 # Check whether --enable-universal_binary was given.
5335 if test "${enable_universal_binary+set}" = set; then
5336 enableval=$enable_universal_binary;
5337 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5338
5339 else
5340
5341 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5342
5343 fi
5344
5345
5346 eval "$wx_cv_use_universal_binary"
5347
5348 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5349 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5350
5351
5352
5353 enablestring=
5354 defaultval=
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5357 defaultval=yes
5358 else
5359 defaultval=no
5360 fi
5361 fi
5362
5363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5364 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5365 # Check whether --enable-compat26 was given.
5366 if test "${enable_compat26+set}" = set; then
5367 enableval=$enable_compat26;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5370 else
5371 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5372 fi
5373
5374 else
5375
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5377
5378 fi
5379
5380
5381 eval "$wx_cv_use_compat26"
5382
5383 if test x"$enablestring" = xdisable; then
5384 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5385 result=no
5386 else
5387 result=yes
5388 fi
5389 else
5390 result=$WXWIN_COMPATIBILITY_2_6
5391 fi
5392
5393 { echo "$as_me:$LINENO: result: $result" >&5
5394 echo "${ECHO_T}$result" >&6; }
5395
5396
5397 enablestring=disable
5398 defaultval=
5399 if test -z "$defaultval"; then
5400 if test x"$enablestring" = xdisable; then
5401 defaultval=yes
5402 else
5403 defaultval=no
5404 fi
5405 fi
5406
5407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5409 # Check whether --enable-compat28 was given.
5410 if test "${enable_compat28+set}" = set; then
5411 enableval=$enable_compat28;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5414 else
5415 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5416 fi
5417
5418 else
5419
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5421
5422 fi
5423
5424
5425 eval "$wx_cv_use_compat28"
5426
5427 if test x"$enablestring" = xdisable; then
5428 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5429 result=no
5430 else
5431 result=yes
5432 fi
5433 else
5434 result=$WXWIN_COMPATIBILITY_2_8
5435 fi
5436
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5439
5440
5441
5442 enablestring=disable
5443 defaultval=
5444 if test -z "$defaultval"; then
5445 if test x"$enablestring" = xdisable; then
5446 defaultval=yes
5447 else
5448 defaultval=no
5449 fi
5450 fi
5451
5452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5454 # Check whether --enable-rpath was given.
5455 if test "${enable_rpath+set}" = set; then
5456 enableval=$enable_rpath;
5457 if test "$enableval" = yes; then
5458 wx_cv_use_rpath='wxUSE_RPATH=yes'
5459 else
5460 wx_cv_use_rpath='wxUSE_RPATH=no'
5461 fi
5462
5463 else
5464
5465 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5466
5467 fi
5468
5469
5470 eval "$wx_cv_use_rpath"
5471
5472 if test x"$enablestring" = xdisable; then
5473 if test $wxUSE_RPATH = yes; then
5474 result=no
5475 else
5476 result=yes
5477 fi
5478 else
5479 result=$wxUSE_RPATH
5480 fi
5481
5482 { echo "$as_me:$LINENO: result: $result" >&5
5483 echo "${ECHO_T}$result" >&6; }
5484
5485
5486
5487 enablestring=
5488 defaultval=
5489 if test -z "$defaultval"; then
5490 if test x"$enablestring" = xdisable; then
5491 defaultval=yes
5492 else
5493 defaultval=no
5494 fi
5495 fi
5496
5497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5498 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5499 # Check whether --enable-objc_uniquifying was given.
5500 if test "${enable_objc_uniquifying+set}" = set; then
5501 enableval=$enable_objc_uniquifying;
5502 if test "$enableval" = yes; then
5503 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5504 else
5505 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5506 fi
5507
5508 else
5509
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5511
5512 fi
5513
5514
5515 eval "$wx_cv_use_objc_uniquifying"
5516
5517 if test x"$enablestring" = xdisable; then
5518 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5519 result=no
5520 else
5521 result=yes
5522 fi
5523 else
5524 result=$wxUSE_OBJC_UNIQUIFYING
5525 fi
5526
5527 { echo "$as_me:$LINENO: result: $result" >&5
5528 echo "${ECHO_T}$result" >&6; }
5529
5530
5531
5532 enablestring=disable
5533 defaultval=
5534 if test -z "$defaultval"; then
5535 if test x"$enablestring" = xdisable; then
5536 defaultval=yes
5537 else
5538 defaultval=no
5539 fi
5540 fi
5541
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5544 # Check whether --enable-visibility was given.
5545 if test "${enable_visibility+set}" = set; then
5546 enableval=$enable_visibility;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5549 else
5550 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5551 fi
5552
5553 else
5554
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5556
5557 fi
5558
5559
5560 eval "$wx_cv_use_visibility"
5561
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_VISIBILITY = yes; then
5564 result=no
5565 else
5566 result=yes
5567 fi
5568 else
5569 result=$wxUSE_VISIBILITY
5570 fi
5571
5572 { echo "$as_me:$LINENO: result: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5574
5575
5576
5577
5578 enablestring=
5579 defaultval=$wxUSE_ALL_FEATURES
5580 if test -z "$defaultval"; then
5581 if test x"$enablestring" = xdisable; then
5582 defaultval=yes
5583 else
5584 defaultval=no
5585 fi
5586 fi
5587
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5590 # Check whether --enable-intl was given.
5591 if test "${enable_intl+set}" = set; then
5592 enableval=$enable_intl;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_intl='wxUSE_INTL=yes'
5595 else
5596 wx_cv_use_intl='wxUSE_INTL=no'
5597 fi
5598
5599 else
5600
5601 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_intl"
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_INTL = yes; then
5610 result=no
5611 else
5612 result=yes
5613 fi
5614 else
5615 result=$wxUSE_INTL
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622 enablestring=
5623 defaultval=$wxUSE_ALL_FEATURES
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5634 # Check whether --enable-xlocale was given.
5635 if test "${enable_xlocale+set}" = set; then
5636 enableval=$enable_xlocale;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5639 else
5640 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5641 fi
5642
5643 else
5644
5645 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5646
5647 fi
5648
5649
5650 eval "$wx_cv_use_xlocale"
5651
5652 if test x"$enablestring" = xdisable; then
5653 if test $wxUSE_XLOCALE = yes; then
5654 result=no
5655 else
5656 result=yes
5657 fi
5658 else
5659 result=$wxUSE_XLOCALE
5660 fi
5661
5662 { echo "$as_me:$LINENO: result: $result" >&5
5663 echo "${ECHO_T}$result" >&6; }
5664
5665
5666 enablestring=
5667 defaultval=$wxUSE_ALL_FEATURES
5668 if test -z "$defaultval"; then
5669 if test x"$enablestring" = xdisable; then
5670 defaultval=yes
5671 else
5672 defaultval=no
5673 fi
5674 fi
5675
5676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5678 # Check whether --enable-config was given.
5679 if test "${enable_config+set}" = set; then
5680 enableval=$enable_config;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_config='wxUSE_CONFIG=yes'
5683 else
5684 wx_cv_use_config='wxUSE_CONFIG=no'
5685 fi
5686
5687 else
5688
5689 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5690
5691 fi
5692
5693
5694 eval "$wx_cv_use_config"
5695
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_CONFIG = yes; then
5698 result=no
5699 else
5700 result=yes
5701 fi
5702 else
5703 result=$wxUSE_CONFIG
5704 fi
5705
5706 { echo "$as_me:$LINENO: result: $result" >&5
5707 echo "${ECHO_T}$result" >&6; }
5708
5709
5710
5711 enablestring=
5712 defaultval=$wxUSE_ALL_FEATURES
5713 if test -z "$defaultval"; then
5714 if test x"$enablestring" = xdisable; then
5715 defaultval=yes
5716 else
5717 defaultval=no
5718 fi
5719 fi
5720
5721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5723 # Check whether --enable-protocols was given.
5724 if test "${enable_protocols+set}" = set; then
5725 enableval=$enable_protocols;
5726 if test "$enableval" = yes; then
5727 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5728 else
5729 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5730 fi
5731
5732 else
5733
5734 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5735
5736 fi
5737
5738
5739 eval "$wx_cv_use_protocols"
5740
5741 if test x"$enablestring" = xdisable; then
5742 if test $wxUSE_PROTOCOL = yes; then
5743 result=no
5744 else
5745 result=yes
5746 fi
5747 else
5748 result=$wxUSE_PROTOCOL
5749 fi
5750
5751 { echo "$as_me:$LINENO: result: $result" >&5
5752 echo "${ECHO_T}$result" >&6; }
5753
5754
5755 enablestring=
5756 defaultval=$wxUSE_ALL_FEATURES
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5759 defaultval=yes
5760 else
5761 defaultval=no
5762 fi
5763 fi
5764
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5767 # Check whether --enable-ftp was given.
5768 if test "${enable_ftp+set}" = set; then
5769 enableval=$enable_ftp;
5770 if test "$enableval" = yes; then
5771 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5772 else
5773 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5774 fi
5775
5776 else
5777
5778 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5779
5780 fi
5781
5782
5783 eval "$wx_cv_use_ftp"
5784
5785 if test x"$enablestring" = xdisable; then
5786 if test $wxUSE_PROTOCOL_FTP = yes; then
5787 result=no
5788 else
5789 result=yes
5790 fi
5791 else
5792 result=$wxUSE_PROTOCOL_FTP
5793 fi
5794
5795 { echo "$as_me:$LINENO: result: $result" >&5
5796 echo "${ECHO_T}$result" >&6; }
5797
5798
5799 enablestring=
5800 defaultval=$wxUSE_ALL_FEATURES
5801 if test -z "$defaultval"; then
5802 if test x"$enablestring" = xdisable; then
5803 defaultval=yes
5804 else
5805 defaultval=no
5806 fi
5807 fi
5808
5809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5811 # Check whether --enable-http was given.
5812 if test "${enable_http+set}" = set; then
5813 enableval=$enable_http;
5814 if test "$enableval" = yes; then
5815 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5816 else
5817 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5818 fi
5819
5820 else
5821
5822 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5823
5824 fi
5825
5826
5827 eval "$wx_cv_use_http"
5828
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_PROTOCOL_HTTP = yes; then
5831 result=no
5832 else
5833 result=yes
5834 fi
5835 else
5836 result=$wxUSE_PROTOCOL_HTTP
5837 fi
5838
5839 { echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6; }
5841
5842
5843 enablestring=
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5847 defaultval=yes
5848 else
5849 defaultval=no
5850 fi
5851 fi
5852
5853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5855 # Check whether --enable-fileproto was given.
5856 if test "${enable_fileproto+set}" = set; then
5857 enableval=$enable_fileproto;
5858 if test "$enableval" = yes; then
5859 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5860 else
5861 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5862 fi
5863
5864 else
5865
5866 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5867
5868 fi
5869
5870
5871 eval "$wx_cv_use_fileproto"
5872
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_PROTOCOL_FILE = yes; then
5875 result=no
5876 else
5877 result=yes
5878 fi
5879 else
5880 result=$wxUSE_PROTOCOL_FILE
5881 fi
5882
5883 { echo "$as_me:$LINENO: result: $result" >&5
5884 echo "${ECHO_T}$result" >&6; }
5885
5886
5887 enablestring=
5888 defaultval=$wxUSE_ALL_FEATURES
5889 if test -z "$defaultval"; then
5890 if test x"$enablestring" = xdisable; then
5891 defaultval=yes
5892 else
5893 defaultval=no
5894 fi
5895 fi
5896
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5899 # Check whether --enable-sockets was given.
5900 if test "${enable_sockets+set}" = set; then
5901 enableval=$enable_sockets;
5902 if test "$enableval" = yes; then
5903 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5904 else
5905 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5906 fi
5907
5908 else
5909
5910 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5911
5912 fi
5913
5914
5915 eval "$wx_cv_use_sockets"
5916
5917 if test x"$enablestring" = xdisable; then
5918 if test $wxUSE_SOCKETS = yes; then
5919 result=no
5920 else
5921 result=yes
5922 fi
5923 else
5924 result=$wxUSE_SOCKETS
5925 fi
5926
5927 { echo "$as_me:$LINENO: result: $result" >&5
5928 echo "${ECHO_T}$result" >&6; }
5929
5930
5931 enablestring=
5932 defaultval=$wxUSE_ALL_FEATURES
5933 if test -z "$defaultval"; then
5934 if test x"$enablestring" = xdisable; then
5935 defaultval=yes
5936 else
5937 defaultval=no
5938 fi
5939 fi
5940
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5943 # Check whether --enable-ipv6 was given.
5944 if test "${enable_ipv6+set}" = set; then
5945 enableval=$enable_ipv6;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5948 else
5949 wx_cv_use_ipv6='wxUSE_IPV6=no'
5950 fi
5951
5952 else
5953
5954 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5955
5956 fi
5957
5958
5959 eval "$wx_cv_use_ipv6"
5960
5961 if test x"$enablestring" = xdisable; then
5962 if test $wxUSE_IPV6 = yes; then
5963 result=no
5964 else
5965 result=yes
5966 fi
5967 else
5968 result=$wxUSE_IPV6
5969 fi
5970
5971 { echo "$as_me:$LINENO: result: $result" >&5
5972 echo "${ECHO_T}$result" >&6; }
5973
5974
5975 enablestring=
5976 defaultval=$wxUSE_ALL_FEATURES
5977 if test -z "$defaultval"; then
5978 if test x"$enablestring" = xdisable; then
5979 defaultval=yes
5980 else
5981 defaultval=no
5982 fi
5983 fi
5984
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5987 # Check whether --enable-ole was given.
5988 if test "${enable_ole+set}" = set; then
5989 enableval=$enable_ole;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_ole='wxUSE_OLE=yes'
5992 else
5993 wx_cv_use_ole='wxUSE_OLE=no'
5994 fi
5995
5996 else
5997
5998 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5999
6000 fi
6001
6002
6003 eval "$wx_cv_use_ole"
6004
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_OLE = yes; then
6007 result=no
6008 else
6009 result=yes
6010 fi
6011 else
6012 result=$wxUSE_OLE
6013 fi
6014
6015 { echo "$as_me:$LINENO: result: $result" >&5
6016 echo "${ECHO_T}$result" >&6; }
6017
6018
6019 enablestring=
6020 defaultval=$wxUSE_ALL_FEATURES
6021 if test -z "$defaultval"; then
6022 if test x"$enablestring" = xdisable; then
6023 defaultval=yes
6024 else
6025 defaultval=no
6026 fi
6027 fi
6028
6029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6031 # Check whether --enable-dataobj was given.
6032 if test "${enable_dataobj+set}" = set; then
6033 enableval=$enable_dataobj;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6036 else
6037 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6038 fi
6039
6040 else
6041
6042 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6043
6044 fi
6045
6046
6047 eval "$wx_cv_use_dataobj"
6048
6049 if test x"$enablestring" = xdisable; then
6050 if test $wxUSE_DATAOBJ = yes; then
6051 result=no
6052 else
6053 result=yes
6054 fi
6055 else
6056 result=$wxUSE_DATAOBJ
6057 fi
6058
6059 { echo "$as_me:$LINENO: result: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6061
6062
6063
6064 enablestring=
6065 defaultval=$wxUSE_ALL_FEATURES
6066 if test -z "$defaultval"; then
6067 if test x"$enablestring" = xdisable; then
6068 defaultval=yes
6069 else
6070 defaultval=no
6071 fi
6072 fi
6073
6074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6076 # Check whether --enable-ipc was given.
6077 if test "${enable_ipc+set}" = set; then
6078 enableval=$enable_ipc;
6079 if test "$enableval" = yes; then
6080 wx_cv_use_ipc='wxUSE_IPC=yes'
6081 else
6082 wx_cv_use_ipc='wxUSE_IPC=no'
6083 fi
6084
6085 else
6086
6087 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6088
6089 fi
6090
6091
6092 eval "$wx_cv_use_ipc"
6093
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_IPC = yes; then
6096 result=no
6097 else
6098 result=yes
6099 fi
6100 else
6101 result=$wxUSE_IPC
6102 fi
6103
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6106
6107
6108
6109 enablestring=
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6121 # Check whether --enable-baseevtloop was given.
6122 if test "${enable_baseevtloop+set}" = set; then
6123 enableval=$enable_baseevtloop;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6126 else
6127 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6128 fi
6129
6130 else
6131
6132 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6133
6134 fi
6135
6136
6137 eval "$wx_cv_use_baseevtloop"
6138
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6141 result=no
6142 else
6143 result=yes
6144 fi
6145 else
6146 result=$wxUSE_CONSOLE_EVENTLOOP
6147 fi
6148
6149 { echo "$as_me:$LINENO: result: $result" >&5
6150 echo "${ECHO_T}$result" >&6; }
6151
6152
6153 enablestring=
6154 defaultval=$wxUSE_ALL_FEATURES
6155 if test -z "$defaultval"; then
6156 if test x"$enablestring" = xdisable; then
6157 defaultval=yes
6158 else
6159 defaultval=no
6160 fi
6161 fi
6162
6163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6164 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6165 # Check whether --enable-epollloop was given.
6166 if test "${enable_epollloop+set}" = set; then
6167 enableval=$enable_epollloop;
6168 if test "$enableval" = yes; then
6169 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6170 else
6171 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6172 fi
6173
6174 else
6175
6176 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6177
6178 fi
6179
6180
6181 eval "$wx_cv_use_epollloop"
6182
6183 if test x"$enablestring" = xdisable; then
6184 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6185 result=no
6186 else
6187 result=yes
6188 fi
6189 else
6190 result=$wxUSE_EPOLL_DISPATCHER
6191 fi
6192
6193 { echo "$as_me:$LINENO: result: $result" >&5
6194 echo "${ECHO_T}$result" >&6; }
6195
6196
6197 enablestring=
6198 defaultval=$wxUSE_ALL_FEATURES
6199 if test -z "$defaultval"; then
6200 if test x"$enablestring" = xdisable; then
6201 defaultval=yes
6202 else
6203 defaultval=no
6204 fi
6205 fi
6206
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6209 # Check whether --enable-selectloop was given.
6210 if test "${enable_selectloop+set}" = set; then
6211 enableval=$enable_selectloop;
6212 if test "$enableval" = yes; then
6213 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6214 else
6215 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6216 fi
6217
6218 else
6219
6220 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6221
6222 fi
6223
6224
6225 eval "$wx_cv_use_selectloop"
6226
6227 if test x"$enablestring" = xdisable; then
6228 if test $wxUSE_SELECT_DISPATCHER = yes; then
6229 result=no
6230 else
6231 result=yes
6232 fi
6233 else
6234 result=$wxUSE_SELECT_DISPATCHER
6235 fi
6236
6237 { echo "$as_me:$LINENO: result: $result" >&5
6238 echo "${ECHO_T}$result" >&6; }
6239
6240
6241
6242 enablestring=
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6246 defaultval=yes
6247 else
6248 defaultval=no
6249 fi
6250 fi
6251
6252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6254 # Check whether --enable-apple_ieee was given.
6255 if test "${enable_apple_ieee+set}" = set; then
6256 enableval=$enable_apple_ieee;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6259 else
6260 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6261 fi
6262
6263 else
6264
6265 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6266
6267 fi
6268
6269
6270 eval "$wx_cv_use_apple_ieee"
6271
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_APPLE_IEEE = yes; then
6274 result=no
6275 else
6276 result=yes
6277 fi
6278 else
6279 result=$wxUSE_APPLE_IEEE
6280 fi
6281
6282 { echo "$as_me:$LINENO: result: $result" >&5
6283 echo "${ECHO_T}$result" >&6; }
6284
6285
6286 enablestring=
6287 defaultval=$wxUSE_ALL_FEATURES
6288 if test -z "$defaultval"; then
6289 if test x"$enablestring" = xdisable; then
6290 defaultval=yes
6291 else
6292 defaultval=no
6293 fi
6294 fi
6295
6296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6298 # Check whether --enable-arcstream was given.
6299 if test "${enable_arcstream+set}" = set; then
6300 enableval=$enable_arcstream;
6301 if test "$enableval" = yes; then
6302 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6303 else
6304 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6305 fi
6306
6307 else
6308
6309 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6310
6311 fi
6312
6313
6314 eval "$wx_cv_use_arcstream"
6315
6316 if test x"$enablestring" = xdisable; then
6317 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6318 result=no
6319 else
6320 result=yes
6321 fi
6322 else
6323 result=$wxUSE_ARCHIVE_STREAMS
6324 fi
6325
6326 { echo "$as_me:$LINENO: result: $result" >&5
6327 echo "${ECHO_T}$result" >&6; }
6328
6329
6330 enablestring=
6331 defaultval=$wxUSE_ALL_FEATURES
6332 if test -z "$defaultval"; then
6333 if test x"$enablestring" = xdisable; then
6334 defaultval=yes
6335 else
6336 defaultval=no
6337 fi
6338 fi
6339
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6342 # Check whether --enable-base64 was given.
6343 if test "${enable_base64+set}" = set; then
6344 enableval=$enable_base64;
6345 if test "$enableval" = yes; then
6346 wx_cv_use_base64='wxUSE_BASE64=yes'
6347 else
6348 wx_cv_use_base64='wxUSE_BASE64=no'
6349 fi
6350
6351 else
6352
6353 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6354
6355 fi
6356
6357
6358 eval "$wx_cv_use_base64"
6359
6360 if test x"$enablestring" = xdisable; then
6361 if test $wxUSE_BASE64 = yes; then
6362 result=no
6363 else
6364 result=yes
6365 fi
6366 else
6367 result=$wxUSE_BASE64
6368 fi
6369
6370 { echo "$as_me:$LINENO: result: $result" >&5
6371 echo "${ECHO_T}$result" >&6; }
6372
6373
6374 enablestring=
6375 defaultval=$wxUSE_ALL_FEATURES
6376 if test -z "$defaultval"; then
6377 if test x"$enablestring" = xdisable; then
6378 defaultval=yes
6379 else
6380 defaultval=no
6381 fi
6382 fi
6383
6384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6386 # Check whether --enable-backtrace was given.
6387 if test "${enable_backtrace+set}" = set; then
6388 enableval=$enable_backtrace;
6389 if test "$enableval" = yes; then
6390 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6391 else
6392 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6393 fi
6394
6395 else
6396
6397 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6398
6399 fi
6400
6401
6402 eval "$wx_cv_use_backtrace"
6403
6404 if test x"$enablestring" = xdisable; then
6405 if test $wxUSE_STACKWALKER = yes; then
6406 result=no
6407 else
6408 result=yes
6409 fi
6410 else
6411 result=$wxUSE_STACKWALKER
6412 fi
6413
6414 { echo "$as_me:$LINENO: result: $result" >&5
6415 echo "${ECHO_T}$result" >&6; }
6416
6417
6418 enablestring=
6419 defaultval=$wxUSE_ALL_FEATURES
6420 if test -z "$defaultval"; then
6421 if test x"$enablestring" = xdisable; then
6422 defaultval=yes
6423 else
6424 defaultval=no
6425 fi
6426 fi
6427
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6430 # Check whether --enable-catch_segvs was given.
6431 if test "${enable_catch_segvs+set}" = set; then
6432 enableval=$enable_catch_segvs;
6433 if test "$enableval" = yes; then
6434 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6435 else
6436 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6437 fi
6438
6439 else
6440
6441 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6442
6443 fi
6444
6445
6446 eval "$wx_cv_use_catch_segvs"
6447
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6450 result=no
6451 else
6452 result=yes
6453 fi
6454 else
6455 result=$wxUSE_ON_FATAL_EXCEPTION
6456 fi
6457
6458 { echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6; }
6460
6461
6462 enablestring=
6463 defaultval=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x"$enablestring" = xdisable; then
6466 defaultval=yes
6467 else
6468 defaultval=no
6469 fi
6470 fi
6471
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6474 # Check whether --enable-cmdline was given.
6475 if test "${enable_cmdline+set}" = set; then
6476 enableval=$enable_cmdline;
6477 if test "$enableval" = yes; then
6478 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6479 else
6480 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6481 fi
6482
6483 else
6484
6485 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6486
6487 fi
6488
6489
6490 eval "$wx_cv_use_cmdline"
6491
6492 if test x"$enablestring" = xdisable; then
6493 if test $wxUSE_CMDLINE_PARSER = yes; then
6494 result=no
6495 else
6496 result=yes
6497 fi
6498 else
6499 result=$wxUSE_CMDLINE_PARSER
6500 fi
6501
6502 { echo "$as_me:$LINENO: result: $result" >&5
6503 echo "${ECHO_T}$result" >&6; }
6504
6505
6506 enablestring=
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z "$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6510 defaultval=yes
6511 else
6512 defaultval=no
6513 fi
6514 fi
6515
6516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6518 # Check whether --enable-datetime was given.
6519 if test "${enable_datetime+set}" = set; then
6520 enableval=$enable_datetime;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6523 else
6524 wx_cv_use_datetime='wxUSE_DATETIME=no'
6525 fi
6526
6527 else
6528
6529 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6530
6531 fi
6532
6533
6534 eval "$wx_cv_use_datetime"
6535
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_DATETIME = yes; then
6538 result=no
6539 else
6540 result=yes
6541 fi
6542 else
6543 result=$wxUSE_DATETIME
6544 fi
6545
6546 { echo "$as_me:$LINENO: result: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6548
6549
6550 enablestring=
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6554 defaultval=yes
6555 else
6556 defaultval=no
6557 fi
6558 fi
6559
6560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6562 # Check whether --enable-debugreport was given.
6563 if test "${enable_debugreport+set}" = set; then
6564 enableval=$enable_debugreport;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6567 else
6568 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6569 fi
6570
6571 else
6572
6573 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6574
6575 fi
6576
6577
6578 eval "$wx_cv_use_debugreport"
6579
6580 if test x"$enablestring" = xdisable; then
6581 if test $wxUSE_DEBUGREPORT = yes; then
6582 result=no
6583 else
6584 result=yes
6585 fi
6586 else
6587 result=$wxUSE_DEBUGREPORT
6588 fi
6589
6590 { echo "$as_me:$LINENO: result: $result" >&5
6591 echo "${ECHO_T}$result" >&6; }
6592
6593
6594 enablestring=
6595 defaultval=$wxUSE_ALL_FEATURES
6596 if test -z "$defaultval"; then
6597 if test x"$enablestring" = xdisable; then
6598 defaultval=yes
6599 else
6600 defaultval=no
6601 fi
6602 fi
6603
6604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6606 # Check whether --enable-dialupman was given.
6607 if test "${enable_dialupman+set}" = set; then
6608 enableval=$enable_dialupman;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6611 else
6612 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6613 fi
6614
6615 else
6616
6617 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6618
6619 fi
6620
6621
6622 eval "$wx_cv_use_dialupman"
6623
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_DIALUP_MANAGER = yes; then
6626 result=no
6627 else
6628 result=yes
6629 fi
6630 else
6631 result=$wxUSE_DIALUP_MANAGER
6632 fi
6633
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6636
6637
6638 enablestring=
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6642 defaultval=yes
6643 else
6644 defaultval=no
6645 fi
6646 fi
6647
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6650 # Check whether --enable-dynlib was given.
6651 if test "${enable_dynlib+set}" = set; then
6652 enableval=$enable_dynlib;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6655 else
6656 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6657 fi
6658
6659 else
6660
6661 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6662
6663 fi
6664
6665
6666 eval "$wx_cv_use_dynlib"
6667
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DYNLIB_CLASS = yes; then
6670 result=no
6671 else
6672 result=yes
6673 fi
6674 else
6675 result=$wxUSE_DYNLIB_CLASS
6676 fi
6677
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6694 # Check whether --enable-dynamicloader was given.
6695 if test "${enable_dynamicloader+set}" = set; then
6696 enableval=$enable_dynamicloader;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6699 else
6700 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6701 fi
6702
6703 else
6704
6705 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6706
6707 fi
6708
6709
6710 eval "$wx_cv_use_dynamicloader"
6711
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_DYNAMIC_LOADER = yes; then
6714 result=no
6715 else
6716 result=yes
6717 fi
6718 else
6719 result=$wxUSE_DYNAMIC_LOADER
6720 fi
6721
6722 { echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6; }
6724
6725
6726 enablestring=
6727 defaultval=$wxUSE_ALL_FEATURES
6728 if test -z "$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6730 defaultval=yes
6731 else
6732 defaultval=no
6733 fi
6734 fi
6735
6736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6738 # Check whether --enable-exceptions was given.
6739 if test "${enable_exceptions+set}" = set; then
6740 enableval=$enable_exceptions;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6743 else
6744 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6745 fi
6746
6747 else
6748
6749 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6750
6751 fi
6752
6753
6754 eval "$wx_cv_use_exceptions"
6755
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_EXCEPTIONS = yes; then
6758 result=no
6759 else
6760 result=yes
6761 fi
6762 else
6763 result=$wxUSE_EXCEPTIONS
6764 fi
6765
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6768
6769
6770 enablestring=
6771 defaultval=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x"$enablestring" = xdisable; then
6774 defaultval=yes
6775 else
6776 defaultval=no
6777 fi
6778 fi
6779
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6782 # Check whether --enable-ffile was given.
6783 if test "${enable_ffile+set}" = set; then
6784 enableval=$enable_ffile;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_ffile='wxUSE_FFILE=yes'
6787 else
6788 wx_cv_use_ffile='wxUSE_FFILE=no'
6789 fi
6790
6791 else
6792
6793 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6794
6795 fi
6796
6797
6798 eval "$wx_cv_use_ffile"
6799
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_FFILE = yes; then
6802 result=no
6803 else
6804 result=yes
6805 fi
6806 else
6807 result=$wxUSE_FFILE
6808 fi
6809
6810 { echo "$as_me:$LINENO: result: $result" >&5
6811 echo "${ECHO_T}$result" >&6; }
6812
6813
6814 enablestring=
6815 defaultval=$wxUSE_ALL_FEATURES
6816 if test -z "$defaultval"; then
6817 if test x"$enablestring" = xdisable; then
6818 defaultval=yes
6819 else
6820 defaultval=no
6821 fi
6822 fi
6823
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6826 # Check whether --enable-file was given.
6827 if test "${enable_file+set}" = set; then
6828 enableval=$enable_file;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_file='wxUSE_FILE=yes'
6831 else
6832 wx_cv_use_file='wxUSE_FILE=no'
6833 fi
6834
6835 else
6836
6837 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6838
6839 fi
6840
6841
6842 eval "$wx_cv_use_file"
6843
6844 if test x"$enablestring" = xdisable; then
6845 if test $wxUSE_FILE = yes; then
6846 result=no
6847 else
6848 result=yes
6849 fi
6850 else
6851 result=$wxUSE_FILE
6852 fi
6853
6854 { echo "$as_me:$LINENO: result: $result" >&5
6855 echo "${ECHO_T}$result" >&6; }
6856
6857
6858 enablestring=
6859 defaultval=$wxUSE_ALL_FEATURES
6860 if test -z "$defaultval"; then
6861 if test x"$enablestring" = xdisable; then
6862 defaultval=yes
6863 else
6864 defaultval=no
6865 fi
6866 fi
6867
6868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6870 # Check whether --enable-filesystem was given.
6871 if test "${enable_filesystem+set}" = set; then
6872 enableval=$enable_filesystem;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6875 else
6876 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6877 fi
6878
6879 else
6880
6881 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6882
6883 fi
6884
6885
6886 eval "$wx_cv_use_filesystem"
6887
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_FILESYSTEM = yes; then
6890 result=no
6891 else
6892 result=yes
6893 fi
6894 else
6895 result=$wxUSE_FILESYSTEM
6896 fi
6897
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6900
6901
6902 enablestring=
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6906 defaultval=yes
6907 else
6908 defaultval=no
6909 fi
6910 fi
6911
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6914 # Check whether --enable-fontenum was given.
6915 if test "${enable_fontenum+set}" = set; then
6916 enableval=$enable_fontenum;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6919 else
6920 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6921 fi
6922
6923 else
6924
6925 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6926
6927 fi
6928
6929
6930 eval "$wx_cv_use_fontenum"
6931
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_FONTENUM = yes; then
6934 result=no
6935 else
6936 result=yes
6937 fi
6938 else
6939 result=$wxUSE_FONTENUM
6940 fi
6941
6942 { echo "$as_me:$LINENO: result: $result" >&5
6943 echo "${ECHO_T}$result" >&6; }
6944
6945
6946 enablestring=
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z "$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6950 defaultval=yes
6951 else
6952 defaultval=no
6953 fi
6954 fi
6955
6956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6958 # Check whether --enable-fontmap was given.
6959 if test "${enable_fontmap+set}" = set; then
6960 enableval=$enable_fontmap;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6963 else
6964 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6965 fi
6966
6967 else
6968
6969 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6970
6971 fi
6972
6973
6974 eval "$wx_cv_use_fontmap"
6975
6976 if test x"$enablestring" = xdisable; then
6977 if test $wxUSE_FONTMAP = yes; then
6978 result=no
6979 else
6980 result=yes
6981 fi
6982 else
6983 result=$wxUSE_FONTMAP
6984 fi
6985
6986 { echo "$as_me:$LINENO: result: $result" >&5
6987 echo "${ECHO_T}$result" >&6; }
6988
6989
6990 enablestring=
6991 defaultval=$wxUSE_ALL_FEATURES
6992 if test -z "$defaultval"; then
6993 if test x"$enablestring" = xdisable; then
6994 defaultval=yes
6995 else
6996 defaultval=no
6997 fi
6998 fi
6999
7000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7002 # Check whether --enable-fs_archive was given.
7003 if test "${enable_fs_archive+set}" = set; then
7004 enableval=$enable_fs_archive;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7007 else
7008 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7009 fi
7010
7011 else
7012
7013 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7014
7015 fi
7016
7017
7018 eval "$wx_cv_use_fs_archive"
7019
7020 if test x"$enablestring" = xdisable; then
7021 if test $wxUSE_FS_ARCHIVE = yes; then
7022 result=no
7023 else
7024 result=yes
7025 fi
7026 else
7027 result=$wxUSE_FS_ARCHIVE
7028 fi
7029
7030 { echo "$as_me:$LINENO: result: $result" >&5
7031 echo "${ECHO_T}$result" >&6; }
7032
7033
7034 enablestring=
7035 defaultval=$wxUSE_ALL_FEATURES
7036 if test -z "$defaultval"; then
7037 if test x"$enablestring" = xdisable; then
7038 defaultval=yes
7039 else
7040 defaultval=no
7041 fi
7042 fi
7043
7044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7046 # Check whether --enable-fs_inet was given.
7047 if test "${enable_fs_inet+set}" = set; then
7048 enableval=$enable_fs_inet;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7051 else
7052 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7053 fi
7054
7055 else
7056
7057 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7058
7059 fi
7060
7061
7062 eval "$wx_cv_use_fs_inet"
7063
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FS_INET = yes; then
7066 result=no
7067 else
7068 result=yes
7069 fi
7070 else
7071 result=$wxUSE_FS_INET
7072 fi
7073
7074 { echo "$as_me:$LINENO: result: $result" >&5
7075 echo "${ECHO_T}$result" >&6; }
7076
7077
7078 enablestring=
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7082 defaultval=yes
7083 else
7084 defaultval=no
7085 fi
7086 fi
7087
7088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7090 # Check whether --enable-fs_zip was given.
7091 if test "${enable_fs_zip+set}" = set; then
7092 enableval=$enable_fs_zip;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7095 else
7096 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7097 fi
7098
7099 else
7100
7101 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7102
7103 fi
7104
7105
7106 eval "$wx_cv_use_fs_zip"
7107
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_FS_ZIP = yes; then
7110 result=no
7111 else
7112 result=yes
7113 fi
7114 else
7115 result=$wxUSE_FS_ZIP
7116 fi
7117
7118 { echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6; }
7120
7121
7122 enablestring=
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7126 defaultval=yes
7127 else
7128 defaultval=no
7129 fi
7130 fi
7131
7132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7134 # Check whether --enable-geometry was given.
7135 if test "${enable_geometry+set}" = set; then
7136 enableval=$enable_geometry;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7139 else
7140 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7141 fi
7142
7143 else
7144
7145 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7146
7147 fi
7148
7149
7150 eval "$wx_cv_use_geometry"
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_GEOMETRY = yes; then
7154 result=no
7155 else
7156 result=yes
7157 fi
7158 else
7159 result=$wxUSE_GEOMETRY
7160 fi
7161
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7178 # Check whether --enable-log was given.
7179 if test "${enable_log+set}" = set; then
7180 enableval=$enable_log;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_log='wxUSE_LOG=yes'
7183 else
7184 wx_cv_use_log='wxUSE_LOG=no'
7185 fi
7186
7187 else
7188
7189 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7190
7191 fi
7192
7193
7194 eval "$wx_cv_use_log"
7195
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_LOG = yes; then
7198 result=no
7199 else
7200 result=yes
7201 fi
7202 else
7203 result=$wxUSE_LOG
7204 fi
7205
7206 { echo "$as_me:$LINENO: result: $result" >&5
7207 echo "${ECHO_T}$result" >&6; }
7208
7209
7210 enablestring=
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7214 defaultval=yes
7215 else
7216 defaultval=no
7217 fi
7218 fi
7219
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7222 # Check whether --enable-longlong was given.
7223 if test "${enable_longlong+set}" = set; then
7224 enableval=$enable_longlong;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7227 else
7228 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7229 fi
7230
7231 else
7232
7233 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7234
7235 fi
7236
7237
7238 eval "$wx_cv_use_longlong"
7239
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_LONGLONG = yes; then
7242 result=no
7243 else
7244 result=yes
7245 fi
7246 else
7247 result=$wxUSE_LONGLONG
7248 fi
7249
7250 { echo "$as_me:$LINENO: result: $result" >&5
7251 echo "${ECHO_T}$result" >&6; }
7252
7253
7254 enablestring=
7255 defaultval=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x"$enablestring" = xdisable; then
7258 defaultval=yes
7259 else
7260 defaultval=no
7261 fi
7262 fi
7263
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7266 # Check whether --enable-mimetype was given.
7267 if test "${enable_mimetype+set}" = set; then
7268 enableval=$enable_mimetype;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7271 else
7272 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7273 fi
7274
7275 else
7276
7277 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_mimetype"
7283
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_MIMETYPE = yes; then
7286 result=no
7287 else
7288 result=yes
7289 fi
7290 else
7291 result=$wxUSE_MIMETYPE
7292 fi
7293
7294 { echo "$as_me:$LINENO: result: $result" >&5
7295 echo "${ECHO_T}$result" >&6; }
7296
7297
7298 enablestring=
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7302 defaultval=yes
7303 else
7304 defaultval=no
7305 fi
7306 fi
7307
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7310 # Check whether --enable-printfposparam was given.
7311 if test "${enable_printfposparam+set}" = set; then
7312 enableval=$enable_printfposparam;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7315 else
7316 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7317 fi
7318
7319 else
7320
7321 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_printfposparam"
7327
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7330 result=no
7331 else
7332 result=yes
7333 fi
7334 else
7335 result=$wxUSE_PRINTF_POS_PARAMS
7336 fi
7337
7338 { echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6; }
7340
7341
7342 enablestring=
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7346 defaultval=yes
7347 else
7348 defaultval=no
7349 fi
7350 fi
7351
7352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7354 # Check whether --enable-snglinst was given.
7355 if test "${enable_snglinst+set}" = set; then
7356 enableval=$enable_snglinst;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7359 else
7360 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7361 fi
7362
7363 else
7364
7365 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7366
7367 fi
7368
7369
7370 eval "$wx_cv_use_snglinst"
7371
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_SNGLINST_CHECKER = yes; then
7374 result=no
7375 else
7376 result=yes
7377 fi
7378 else
7379 result=$wxUSE_SNGLINST_CHECKER
7380 fi
7381
7382 { echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6; }
7384
7385
7386 enablestring=
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7390 defaultval=yes
7391 else
7392 defaultval=no
7393 fi
7394 fi
7395
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7398 # Check whether --enable-sound was given.
7399 if test "${enable_sound+set}" = set; then
7400 enableval=$enable_sound;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_sound='wxUSE_SOUND=yes'
7403 else
7404 wx_cv_use_sound='wxUSE_SOUND=no'
7405 fi
7406
7407 else
7408
7409 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7410
7411 fi
7412
7413
7414 eval "$wx_cv_use_sound"
7415
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_SOUND = yes; then
7418 result=no
7419 else
7420 result=yes
7421 fi
7422 else
7423 result=$wxUSE_SOUND
7424 fi
7425
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7428
7429
7430 enablestring=
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7434 defaultval=yes
7435 else
7436 defaultval=no
7437 fi
7438 fi
7439
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7442 # Check whether --enable-stdpaths was given.
7443 if test "${enable_stdpaths+set}" = set; then
7444 enableval=$enable_stdpaths;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7447 else
7448 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7449 fi
7450
7451 else
7452
7453 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7454
7455 fi
7456
7457
7458 eval "$wx_cv_use_stdpaths"
7459
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_STDPATHS = yes; then
7462 result=no
7463 else
7464 result=yes
7465 fi
7466 else
7467 result=$wxUSE_STDPATHS
7468 fi
7469
7470 { echo "$as_me:$LINENO: result: $result" >&5
7471 echo "${ECHO_T}$result" >&6; }
7472
7473
7474 enablestring=
7475 defaultval=$wxUSE_ALL_FEATURES
7476 if test -z "$defaultval"; then
7477 if test x"$enablestring" = xdisable; then
7478 defaultval=yes
7479 else
7480 defaultval=no
7481 fi
7482 fi
7483
7484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7486 # Check whether --enable-stopwatch was given.
7487 if test "${enable_stopwatch+set}" = set; then
7488 enableval=$enable_stopwatch;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7491 else
7492 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7493 fi
7494
7495 else
7496
7497 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7498
7499 fi
7500
7501
7502 eval "$wx_cv_use_stopwatch"
7503
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_STOPWATCH = yes; then
7506 result=no
7507 else
7508 result=yes
7509 fi
7510 else
7511 result=$wxUSE_STOPWATCH
7512 fi
7513
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7516
7517
7518 enablestring=
7519 defaultval=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x"$enablestring" = xdisable; then
7522 defaultval=yes
7523 else
7524 defaultval=no
7525 fi
7526 fi
7527
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7530 # Check whether --enable-streams was given.
7531 if test "${enable_streams+set}" = set; then
7532 enableval=$enable_streams;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_streams='wxUSE_STREAMS=yes'
7535 else
7536 wx_cv_use_streams='wxUSE_STREAMS=no'
7537 fi
7538
7539 else
7540
7541 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7542
7543 fi
7544
7545
7546 eval "$wx_cv_use_streams"
7547
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_STREAMS = yes; then
7550 result=no
7551 else
7552 result=yes
7553 fi
7554 else
7555 result=$wxUSE_STREAMS
7556 fi
7557
7558 { echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6; }
7560
7561
7562 enablestring=
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7566 defaultval=yes
7567 else
7568 defaultval=no
7569 fi
7570 fi
7571
7572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7574 # Check whether --enable-system_options was given.
7575 if test "${enable_system_options+set}" = set; then
7576 enableval=$enable_system_options;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7579 else
7580 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7581 fi
7582
7583 else
7584
7585 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7586
7587 fi
7588
7589
7590 eval "$wx_cv_use_system_options"
7591
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7594 result=no
7595 else
7596 result=yes
7597 fi
7598 else
7599 result=$wxUSE_SYSTEM_OPTIONS
7600 fi
7601
7602 { echo "$as_me:$LINENO: result: $result" >&5
7603 echo "${ECHO_T}$result" >&6; }
7604
7605
7606 enablestring=
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7610 defaultval=yes
7611 else
7612 defaultval=no
7613 fi
7614 fi
7615
7616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7618 # Check whether --enable-tarstream was given.
7619 if test "${enable_tarstream+set}" = set; then
7620 enableval=$enable_tarstream;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7623 else
7624 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7625 fi
7626
7627 else
7628
7629 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7630
7631 fi
7632
7633
7634 eval "$wx_cv_use_tarstream"
7635
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_TARSTREAM = yes; then
7638 result=no
7639 else
7640 result=yes
7641 fi
7642 else
7643 result=$wxUSE_TARSTREAM
7644 fi
7645
7646 { echo "$as_me:$LINENO: result: $result" >&5
7647 echo "${ECHO_T}$result" >&6; }
7648
7649
7650 enablestring=
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7654 defaultval=yes
7655 else
7656 defaultval=no
7657 fi
7658 fi
7659
7660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7662 # Check whether --enable-textbuf was given.
7663 if test "${enable_textbuf+set}" = set; then
7664 enableval=$enable_textbuf;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7667 else
7668 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7669 fi
7670
7671 else
7672
7673 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7674
7675 fi
7676
7677
7678 eval "$wx_cv_use_textbuf"
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_TEXTBUFFER = yes; then
7682 result=no
7683 else
7684 result=yes
7685 fi
7686 else
7687 result=$wxUSE_TEXTBUFFER
7688 fi
7689
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7706 # Check whether --enable-textfile was given.
7707 if test "${enable_textfile+set}" = set; then
7708 enableval=$enable_textfile;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7711 else
7712 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7713 fi
7714
7715 else
7716
7717 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7718
7719 fi
7720
7721
7722 eval "$wx_cv_use_textfile"
7723
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_TEXTFILE = yes; then
7726 result=no
7727 else
7728 result=yes
7729 fi
7730 else
7731 result=$wxUSE_TEXTFILE
7732 fi
7733
7734 { echo "$as_me:$LINENO: result: $result" >&5
7735 echo "${ECHO_T}$result" >&6; }
7736
7737
7738 enablestring=
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7742 defaultval=yes
7743 else
7744 defaultval=no
7745 fi
7746 fi
7747
7748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7750 # Check whether --enable-timer was given.
7751 if test "${enable_timer+set}" = set; then
7752 enableval=$enable_timer;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_timer='wxUSE_TIMER=yes'
7755 else
7756 wx_cv_use_timer='wxUSE_TIMER=no'
7757 fi
7758
7759 else
7760
7761 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_timer"
7767
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_TIMER = yes; then
7770 result=no
7771 else
7772 result=yes
7773 fi
7774 else
7775 result=$wxUSE_TIMER
7776 fi
7777
7778 { echo "$as_me:$LINENO: result: $result" >&5
7779 echo "${ECHO_T}$result" >&6; }
7780
7781
7782 enablestring=
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7786 defaultval=yes
7787 else
7788 defaultval=no
7789 fi
7790 fi
7791
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7794 # Check whether --enable-variant was given.
7795 if test "${enable_variant+set}" = set; then
7796 enableval=$enable_variant;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_variant='wxUSE_VARIANT=yes'
7799 else
7800 wx_cv_use_variant='wxUSE_VARIANT=no'
7801 fi
7802
7803 else
7804
7805 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7806
7807 fi
7808
7809
7810 eval "$wx_cv_use_variant"
7811
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_VARIANT = yes; then
7814 result=no
7815 else
7816 result=yes
7817 fi
7818 else
7819 result=$wxUSE_VARIANT
7820 fi
7821
7822 { echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6; }
7824
7825
7826 enablestring=
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7830 defaultval=yes
7831 else
7832 defaultval=no
7833 fi
7834 fi
7835
7836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7838 # Check whether --enable-zipstream was given.
7839 if test "${enable_zipstream+set}" = set; then
7840 enableval=$enable_zipstream;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7843 else
7844 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7845 fi
7846
7847 else
7848
7849 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7850
7851 fi
7852
7853
7854 eval "$wx_cv_use_zipstream"
7855
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_ZIPSTREAM = yes; then
7858 result=no
7859 else
7860 result=yes
7861 fi
7862 else
7863 result=$wxUSE_ZIPSTREAM
7864 fi
7865
7866 { echo "$as_me:$LINENO: result: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7868
7869
7870
7871 enablestring=
7872 defaultval=$wxUSE_ALL_FEATURES
7873 if test -z "$defaultval"; then
7874 if test x"$enablestring" = xdisable; then
7875 defaultval=yes
7876 else
7877 defaultval=no
7878 fi
7879 fi
7880
7881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7883 # Check whether --enable-url was given.
7884 if test "${enable_url+set}" = set; then
7885 enableval=$enable_url;
7886 if test "$enableval" = yes; then
7887 wx_cv_use_url='wxUSE_URL=yes'
7888 else
7889 wx_cv_use_url='wxUSE_URL=no'
7890 fi
7891
7892 else
7893
7894 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7895
7896 fi
7897
7898
7899 eval "$wx_cv_use_url"
7900
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_URL = yes; then
7903 result=no
7904 else
7905 result=yes
7906 fi
7907 else
7908 result=$wxUSE_URL
7909 fi
7910
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7913
7914
7915 enablestring=
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7919 defaultval=yes
7920 else
7921 defaultval=no
7922 fi
7923 fi
7924
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7927 # Check whether --enable-protocol was given.
7928 if test "${enable_protocol+set}" = set; then
7929 enableval=$enable_protocol;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7932 else
7933 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7934 fi
7935
7936 else
7937
7938 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$wx_cv_use_protocol"
7944
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_PROTOCOL = yes; then
7947 result=no
7948 else
7949 result=yes
7950 fi
7951 else
7952 result=$wxUSE_PROTOCOL
7953 fi
7954
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7957
7958
7959 enablestring=
7960 defaultval=$wxUSE_ALL_FEATURES
7961 if test -z "$defaultval"; then
7962 if test x"$enablestring" = xdisable; then
7963 defaultval=yes
7964 else
7965 defaultval=no
7966 fi
7967 fi
7968
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7971 # Check whether --enable-protocol_http was given.
7972 if test "${enable_protocol_http+set}" = set; then
7973 enableval=$enable_protocol_http;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7976 else
7977 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7978 fi
7979
7980 else
7981
7982 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7983
7984 fi
7985
7986
7987 eval "$wx_cv_use_protocol_http"
7988
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL_HTTP = yes; then
7991 result=no
7992 else
7993 result=yes
7994 fi
7995 else
7996 result=$wxUSE_PROTOCOL_HTTP
7997 fi
7998
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8001
8002
8003 enablestring=
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8007 defaultval=yes
8008 else
8009 defaultval=no
8010 fi
8011 fi
8012
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8015 # Check whether --enable-protocol_ftp was given.
8016 if test "${enable_protocol_ftp+set}" = set; then
8017 enableval=$enable_protocol_ftp;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8020 else
8021 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8022 fi
8023
8024 else
8025
8026 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8027
8028 fi
8029
8030
8031 eval "$wx_cv_use_protocol_ftp"
8032
8033 if test x"$enablestring" = xdisable; then
8034 if test $wxUSE_PROTOCOL_FTP = yes; then
8035 result=no
8036 else
8037 result=yes
8038 fi
8039 else
8040 result=$wxUSE_PROTOCOL_FTP
8041 fi
8042
8043 { echo "$as_me:$LINENO: result: $result" >&5
8044 echo "${ECHO_T}$result" >&6; }
8045
8046
8047 enablestring=
8048 defaultval=$wxUSE_ALL_FEATURES
8049 if test -z "$defaultval"; then
8050 if test x"$enablestring" = xdisable; then
8051 defaultval=yes
8052 else
8053 defaultval=no
8054 fi
8055 fi
8056
8057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8059 # Check whether --enable-protocol_file was given.
8060 if test "${enable_protocol_file+set}" = set; then
8061 enableval=$enable_protocol_file;
8062 if test "$enableval" = yes; then
8063 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8064 else
8065 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8066 fi
8067
8068 else
8069
8070 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8071
8072 fi
8073
8074
8075 eval "$wx_cv_use_protocol_file"
8076
8077 if test x"$enablestring" = xdisable; then
8078 if test $wxUSE_PROTOCOL_FILE = yes; then
8079 result=no
8080 else
8081 result=yes
8082 fi
8083 else
8084 result=$wxUSE_PROTOCOL_FILE
8085 fi
8086
8087 { echo "$as_me:$LINENO: result: $result" >&5
8088 echo "${ECHO_T}$result" >&6; }
8089
8090
8091
8092 enablestring=
8093 defaultval=$wxUSE_ALL_FEATURES
8094 if test -z "$defaultval"; then
8095 if test x"$enablestring" = xdisable; then
8096 defaultval=yes
8097 else
8098 defaultval=no
8099 fi
8100 fi
8101
8102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8104 # Check whether --enable-threads was given.
8105 if test "${enable_threads+set}" = set; then
8106 enableval=$enable_threads;
8107 if test "$enableval" = yes; then
8108 wx_cv_use_threads='wxUSE_THREADS=yes'
8109 else
8110 wx_cv_use_threads='wxUSE_THREADS=no'
8111 fi
8112
8113 else
8114
8115 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8116
8117 fi
8118
8119
8120 eval "$wx_cv_use_threads"
8121
8122 if test x"$enablestring" = xdisable; then
8123 if test $wxUSE_THREADS = yes; then
8124 result=no
8125 else
8126 result=yes
8127 fi
8128 else
8129 result=$wxUSE_THREADS
8130 fi
8131
8132 { echo "$as_me:$LINENO: result: $result" >&5
8133 echo "${ECHO_T}$result" >&6; }
8134
8135
8136
8137 enablestring=
8138 defaultval=
8139 if test -z "$defaultval"; then
8140 if test x"$enablestring" = xdisable; then
8141 defaultval=yes
8142 else
8143 defaultval=no
8144 fi
8145 fi
8146
8147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8148 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8149 # Check whether --enable-iniconf was given.
8150 if test "${enable_iniconf+set}" = set; then
8151 enableval=$enable_iniconf;
8152 if test "$enableval" = yes; then
8153 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8154 else
8155 wx_cv_use_iniconf='wxUSE_INICONF=no'
8156 fi
8157
8158 else
8159
8160 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8161
8162 fi
8163
8164
8165 eval "$wx_cv_use_iniconf"
8166
8167 if test x"$enablestring" = xdisable; then
8168 if test $wxUSE_INICONF = yes; then
8169 result=no
8170 else
8171 result=yes
8172 fi
8173 else
8174 result=$wxUSE_INICONF
8175 fi
8176
8177 { echo "$as_me:$LINENO: result: $result" >&5
8178 echo "${ECHO_T}$result" >&6; }
8179
8180
8181 enablestring=
8182 defaultval=$wxUSE_ALL_FEATURES
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8185 defaultval=yes
8186 else
8187 defaultval=no
8188 fi
8189 fi
8190
8191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8193 # Check whether --enable-regkey was given.
8194 if test "${enable_regkey+set}" = set; then
8195 enableval=$enable_regkey;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8198 else
8199 wx_cv_use_regkey='wxUSE_REGKEY=no'
8200 fi
8201
8202 else
8203
8204 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_regkey"
8210
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_REGKEY = yes; then
8213 result=no
8214 else
8215 result=yes
8216 fi
8217 else
8218 result=$wxUSE_REGKEY
8219 fi
8220
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8223
8224
8225 if test "$wxUSE_GUI" = "yes"; then
8226
8227
8228
8229 enablestring=
8230 defaultval=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x"$enablestring" = xdisable; then
8233 defaultval=yes
8234 else
8235 defaultval=no
8236 fi
8237 fi
8238
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8241 # Check whether --enable-docview was given.
8242 if test "${enable_docview+set}" = set; then
8243 enableval=$enable_docview;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8246 else
8247 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8248 fi
8249
8250 else
8251
8252 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8253
8254 fi
8255
8256
8257 eval "$wx_cv_use_docview"
8258
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8261 result=no
8262 else
8263 result=yes
8264 fi
8265 else
8266 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8267 fi
8268
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8271
8272
8273 enablestring=
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8277 defaultval=yes
8278 else
8279 defaultval=no
8280 fi
8281 fi
8282
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8285 # Check whether --enable-help was given.
8286 if test "${enable_help+set}" = set; then
8287 enableval=$enable_help;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_help='wxUSE_HELP=yes'
8290 else
8291 wx_cv_use_help='wxUSE_HELP=no'
8292 fi
8293
8294 else
8295
8296 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8297
8298 fi
8299
8300
8301 eval "$wx_cv_use_help"
8302
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_HELP = yes; then
8305 result=no
8306 else
8307 result=yes
8308 fi
8309 else
8310 result=$wxUSE_HELP
8311 fi
8312
8313 { echo "$as_me:$LINENO: result: $result" >&5
8314 echo "${ECHO_T}$result" >&6; }
8315
8316
8317 enablestring=
8318 defaultval=$wxUSE_ALL_FEATURES
8319 if test -z "$defaultval"; then
8320 if test x"$enablestring" = xdisable; then
8321 defaultval=yes
8322 else
8323 defaultval=no
8324 fi
8325 fi
8326
8327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8329 # Check whether --enable-mshtmlhelp was given.
8330 if test "${enable_mshtmlhelp+set}" = set; then
8331 enableval=$enable_mshtmlhelp;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8334 else
8335 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8336 fi
8337
8338 else
8339
8340 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8341
8342 fi
8343
8344
8345 eval "$wx_cv_use_mshtmlhelp"
8346
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_MS_HTML_HELP = yes; then
8349 result=no
8350 else
8351 result=yes
8352 fi
8353 else
8354 result=$wxUSE_MS_HTML_HELP
8355 fi
8356
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8359
8360
8361 enablestring=
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8365 defaultval=yes
8366 else
8367 defaultval=no
8368 fi
8369 fi
8370
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8373 # Check whether --enable-html was given.
8374 if test "${enable_html+set}" = set; then
8375 enableval=$enable_html;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_html='wxUSE_HTML=yes'
8378 else
8379 wx_cv_use_html='wxUSE_HTML=no'
8380 fi
8381
8382 else
8383
8384 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8385
8386 fi
8387
8388
8389 eval "$wx_cv_use_html"
8390
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_HTML = yes; then
8393 result=no
8394 else
8395 result=yes
8396 fi
8397 else
8398 result=$wxUSE_HTML
8399 fi
8400
8401 { echo "$as_me:$LINENO: result: $result" >&5
8402 echo "${ECHO_T}$result" >&6; }
8403
8404
8405 enablestring=
8406 defaultval=$wxUSE_ALL_FEATURES
8407 if test -z "$defaultval"; then
8408 if test x"$enablestring" = xdisable; then
8409 defaultval=yes
8410 else
8411 defaultval=no
8412 fi
8413 fi
8414
8415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8417 # Check whether --enable-htmlhelp was given.
8418 if test "${enable_htmlhelp+set}" = set; then
8419 enableval=$enable_htmlhelp;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8422 else
8423 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8424 fi
8425
8426 else
8427
8428 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8429
8430 fi
8431
8432
8433 eval "$wx_cv_use_htmlhelp"
8434
8435 if test x"$enablestring" = xdisable; then
8436 if test $wxUSE_WXHTML_HELP = yes; then
8437 result=no
8438 else
8439 result=yes
8440 fi
8441 else
8442 result=$wxUSE_WXHTML_HELP
8443 fi
8444
8445 { echo "$as_me:$LINENO: result: $result" >&5
8446 echo "${ECHO_T}$result" >&6; }
8447
8448
8449 enablestring=
8450 defaultval=$wxUSE_ALL_FEATURES
8451 if test -z "$defaultval"; then
8452 if test x"$enablestring" = xdisable; then
8453 defaultval=yes
8454 else
8455 defaultval=no
8456 fi
8457 fi
8458
8459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8461 # Check whether --enable-xrc was given.
8462 if test "${enable_xrc+set}" = set; then
8463 enableval=$enable_xrc;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_xrc='wxUSE_XRC=yes'
8466 else
8467 wx_cv_use_xrc='wxUSE_XRC=no'
8468 fi
8469
8470 else
8471
8472 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8473
8474 fi
8475
8476
8477 eval "$wx_cv_use_xrc"
8478
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_XRC = yes; then
8481 result=no
8482 else
8483 result=yes
8484 fi
8485 else
8486 result=$wxUSE_XRC
8487 fi
8488
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8491
8492
8493 enablestring=
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8497 defaultval=yes
8498 else
8499 defaultval=no
8500 fi
8501 fi
8502
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8505 # Check whether --enable-aui was given.
8506 if test "${enable_aui+set}" = set; then
8507 enableval=$enable_aui;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_aui='wxUSE_AUI=yes'
8510 else
8511 wx_cv_use_aui='wxUSE_AUI=no'
8512 fi
8513
8514 else
8515
8516 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8517
8518 fi
8519
8520
8521 eval "$wx_cv_use_aui"
8522
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_AUI = yes; then
8525 result=no
8526 else
8527 result=yes
8528 fi
8529 else
8530 result=$wxUSE_AUI
8531 fi
8532
8533 { echo "$as_me:$LINENO: result: $result" >&5
8534 echo "${ECHO_T}$result" >&6; }
8535
8536
8537 enablestring=
8538 defaultval=$wxUSE_ALL_FEATURES
8539 if test -z "$defaultval"; then
8540 if test x"$enablestring" = xdisable; then
8541 defaultval=yes
8542 else
8543 defaultval=no
8544 fi
8545 fi
8546
8547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8549 # Check whether --enable-stc was given.
8550 if test "${enable_stc+set}" = set; then
8551 enableval=$enable_stc;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_stc='wxUSE_STC=yes'
8554 else
8555 wx_cv_use_stc='wxUSE_STC=no'
8556 fi
8557
8558 else
8559
8560 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8561
8562 fi
8563
8564
8565 eval "$wx_cv_use_stc"
8566
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_STC = yes; then
8569 result=no
8570 else
8571 result=yes
8572 fi
8573 else
8574 result=$wxUSE_STC
8575 fi
8576
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8579
8580
8581 enablestring=
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8585 defaultval=yes
8586 else
8587 defaultval=no
8588 fi
8589 fi
8590
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8593 # Check whether --enable-constraints was given.
8594 if test "${enable_constraints+set}" = set; then
8595 enableval=$enable_constraints;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8598 else
8599 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8600 fi
8601
8602 else
8603
8604 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8605
8606 fi
8607
8608
8609 eval "$wx_cv_use_constraints"
8610
8611 if test x"$enablestring" = xdisable; then
8612 if test $wxUSE_CONSTRAINTS = yes; then
8613 result=no
8614 else
8615 result=yes
8616 fi
8617 else
8618 result=$wxUSE_CONSTRAINTS
8619 fi
8620
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8623
8624
8625 enablestring=
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8629 defaultval=yes
8630 else
8631 defaultval=no
8632 fi
8633 fi
8634
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8637 # Check whether --enable-loggui was given.
8638 if test "${enable_loggui+set}" = set; then
8639 enableval=$enable_loggui;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8642 else
8643 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8644 fi
8645
8646 else
8647
8648 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8649
8650 fi
8651
8652
8653 eval "$wx_cv_use_loggui"
8654
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_LOGGUI = yes; then
8657 result=no
8658 else
8659 result=yes
8660 fi
8661 else
8662 result=$wxUSE_LOGGUI
8663 fi
8664
8665 { echo "$as_me:$LINENO: result: $result" >&5
8666 echo "${ECHO_T}$result" >&6; }
8667
8668
8669 enablestring=
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8673 defaultval=yes
8674 else
8675 defaultval=no
8676 fi
8677 fi
8678
8679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8681 # Check whether --enable-logwin was given.
8682 if test "${enable_logwin+set}" = set; then
8683 enableval=$enable_logwin;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8686 else
8687 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8688 fi
8689
8690 else
8691
8692 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8693
8694 fi
8695
8696
8697 eval "$wx_cv_use_logwin"
8698
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_LOGWINDOW = yes; then
8701 result=no
8702 else
8703 result=yes
8704 fi
8705 else
8706 result=$wxUSE_LOGWINDOW
8707 fi
8708
8709 { echo "$as_me:$LINENO: result: $result" >&5
8710 echo "${ECHO_T}$result" >&6; }
8711
8712
8713 enablestring=
8714 defaultval=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x"$enablestring" = xdisable; then
8717 defaultval=yes
8718 else
8719 defaultval=no
8720 fi
8721 fi
8722
8723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8725 # Check whether --enable-logdialog was given.
8726 if test "${enable_logdialog+set}" = set; then
8727 enableval=$enable_logdialog;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8730 else
8731 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8732 fi
8733
8734 else
8735
8736 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8737
8738 fi
8739
8740
8741 eval "$wx_cv_use_logdialog"
8742
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_LOGDIALOG = yes; then
8745 result=no
8746 else
8747 result=yes
8748 fi
8749 else
8750 result=$wxUSE_LOGDIALOG
8751 fi
8752
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8755
8756
8757 enablestring=
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8761 defaultval=yes
8762 else
8763 defaultval=no
8764 fi
8765 fi
8766
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8769 # Check whether --enable-mdi was given.
8770 if test "${enable_mdi+set}" = set; then
8771 enableval=$enable_mdi;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_mdi='wxUSE_MDI=yes'
8774 else
8775 wx_cv_use_mdi='wxUSE_MDI=no'
8776 fi
8777
8778 else
8779
8780 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8781
8782 fi
8783
8784
8785 eval "$wx_cv_use_mdi"
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MDI = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_MDI
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8813 # Check whether --enable-mdidoc was given.
8814 if test "${enable_mdidoc+set}" = set; then
8815 enableval=$enable_mdidoc;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8818 else
8819 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8820 fi
8821
8822 else
8823
8824 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8825
8826 fi
8827
8828
8829 eval "$wx_cv_use_mdidoc"
8830
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8833 result=no
8834 else
8835 result=yes
8836 fi
8837 else
8838 result=$wxUSE_MDI_ARCHITECTURE
8839 fi
8840
8841 { echo "$as_me:$LINENO: result: $result" >&5
8842 echo "${ECHO_T}$result" >&6; }
8843
8844
8845 enablestring=
8846 defaultval=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x"$enablestring" = xdisable; then
8849 defaultval=yes
8850 else
8851 defaultval=no
8852 fi
8853 fi
8854
8855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8857 # Check whether --enable-mediactrl was given.
8858 if test "${enable_mediactrl+set}" = set; then
8859 enableval=$enable_mediactrl;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8862 else
8863 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8864 fi
8865
8866 else
8867
8868 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8869
8870 fi
8871
8872
8873 eval "$wx_cv_use_mediactrl"
8874
8875 if test x"$enablestring" = xdisable; then
8876 if test $wxUSE_MEDIACTRL = yes; then
8877 result=no
8878 else
8879 result=yes
8880 fi
8881 else
8882 result=$wxUSE_MEDIACTRL
8883 fi
8884
8885 { echo "$as_me:$LINENO: result: $result" >&5
8886 echo "${ECHO_T}$result" >&6; }
8887
8888
8889 enablestring=
8890 defaultval=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x"$enablestring" = xdisable; then
8893 defaultval=yes
8894 else
8895 defaultval=no
8896 fi
8897 fi
8898
8899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8901 # Check whether --enable-gstreamer8 was given.
8902 if test "${enable_gstreamer8+set}" = set; then
8903 enableval=$enable_gstreamer8;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8906 else
8907 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8908 fi
8909
8910 else
8911
8912 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8913
8914 fi
8915
8916
8917 eval "$wx_cv_use_gstreamer8"
8918
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_GSTREAMER8 = yes; then
8921 result=no
8922 else
8923 result=yes
8924 fi
8925 else
8926 result=$wxUSE_GSTREAMER8
8927 fi
8928
8929 { echo "$as_me:$LINENO: result: $result" >&5
8930 echo "${ECHO_T}$result" >&6; }
8931
8932
8933 enablestring=
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8937 defaultval=yes
8938 else
8939 defaultval=no
8940 fi
8941 fi
8942
8943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8945 # Check whether --enable-webkit was given.
8946 if test "${enable_webkit+set}" = set; then
8947 enableval=$enable_webkit;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8950 else
8951 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8952 fi
8953
8954 else
8955
8956 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8957
8958 fi
8959
8960
8961 eval "$wx_cv_use_webkit"
8962
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_WEBKIT = yes; then
8965 result=no
8966 else
8967 result=yes
8968 fi
8969 else
8970 result=$wxUSE_WEBKIT
8971 fi
8972
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8975
8976
8977 enablestring=
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8981 defaultval=yes
8982 else
8983 defaultval=no
8984 fi
8985 fi
8986
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8989 # Check whether --enable-richtext was given.
8990 if test "${enable_richtext+set}" = set; then
8991 enableval=$enable_richtext;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8994 else
8995 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8996 fi
8997
8998 else
8999
9000 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9001
9002 fi
9003
9004
9005 eval "$wx_cv_use_richtext"
9006
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_RICHTEXT = yes; then
9009 result=no
9010 else
9011 result=yes
9012 fi
9013 else
9014 result=$wxUSE_RICHTEXT
9015 fi
9016
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9019
9020
9021 enablestring=
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9025 defaultval=yes
9026 else
9027 defaultval=no
9028 fi
9029 fi
9030
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9033 # Check whether --enable-graphics_ctx was given.
9034 if test "${enable_graphics_ctx+set}" = set; then
9035 enableval=$enable_graphics_ctx;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9038 else
9039 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9040 fi
9041
9042 else
9043
9044 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$wx_cv_use_graphics_ctx"
9050
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9053 result=no
9054 else
9055 result=yes
9056 fi
9057 else
9058 result=$wxUSE_GRAPHICS_CONTEXT
9059 fi
9060
9061 { echo "$as_me:$LINENO: result: $result" >&5
9062 echo "${ECHO_T}$result" >&6; }
9063
9064
9065 enablestring=
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9069 defaultval=yes
9070 else
9071 defaultval=no
9072 fi
9073 fi
9074
9075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9077 # Check whether --enable-postscript was given.
9078 if test "${enable_postscript+set}" = set; then
9079 enableval=$enable_postscript;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9082 else
9083 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9084 fi
9085
9086 else
9087
9088 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9089
9090 fi
9091
9092
9093 eval "$wx_cv_use_postscript"
9094
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_POSTSCRIPT = yes; then
9097 result=no
9098 else
9099 result=yes
9100 fi
9101 else
9102 result=$wxUSE_POSTSCRIPT
9103 fi
9104
9105 { echo "$as_me:$LINENO: result: $result" >&5
9106 echo "${ECHO_T}$result" >&6; }
9107
9108
9109 enablestring=
9110 defaultval=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x"$enablestring" = xdisable; then
9113 defaultval=yes
9114 else
9115 defaultval=no
9116 fi
9117 fi
9118
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9121 # Check whether --enable-printarch was given.
9122 if test "${enable_printarch+set}" = set; then
9123 enableval=$enable_printarch;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9126 else
9127 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9128 fi
9129
9130 else
9131
9132 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9133
9134 fi
9135
9136
9137 eval "$wx_cv_use_printarch"
9138
9139 if test x"$enablestring" = xdisable; then
9140 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9141 result=no
9142 else
9143 result=yes
9144 fi
9145 else
9146 result=$wxUSE_PRINTING_ARCHITECTURE
9147 fi
9148
9149 { echo "$as_me:$LINENO: result: $result" >&5
9150 echo "${ECHO_T}$result" >&6; }
9151
9152
9153 enablestring=
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9157 defaultval=yes
9158 else
9159 defaultval=no
9160 fi
9161 fi
9162
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9165 # Check whether --enable-svg was given.
9166 if test "${enable_svg+set}" = set; then
9167 enableval=$enable_svg;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_svg='wxUSE_SVG=yes'
9170 else
9171 wx_cv_use_svg='wxUSE_SVG=no'
9172 fi
9173
9174 else
9175
9176 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9177
9178 fi
9179
9180
9181 eval "$wx_cv_use_svg"
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_SVG = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_SVG
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197
9198
9199 enablestring=
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9203 defaultval=yes
9204 else
9205 defaultval=no
9206 fi
9207 fi
9208
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9211 # Check whether --enable-clipboard was given.
9212 if test "${enable_clipboard+set}" = set; then
9213 enableval=$enable_clipboard;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9216 else
9217 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9218 fi
9219
9220 else
9221
9222 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9223
9224 fi
9225
9226
9227 eval "$wx_cv_use_clipboard"
9228
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_CLIPBOARD = yes; then
9231 result=no
9232 else
9233 result=yes
9234 fi
9235 else
9236 result=$wxUSE_CLIPBOARD
9237 fi
9238
9239 { echo "$as_me:$LINENO: result: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9241
9242
9243 enablestring=
9244 defaultval=$wxUSE_ALL_FEATURES
9245 if test -z "$defaultval"; then
9246 if test x"$enablestring" = xdisable; then
9247 defaultval=yes
9248 else
9249 defaultval=no
9250 fi
9251 fi
9252
9253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9255 # Check whether --enable-dnd was given.
9256 if test "${enable_dnd+set}" = set; then
9257 enableval=$enable_dnd;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9260 else
9261 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9262 fi
9263
9264 else
9265
9266 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9267
9268 fi
9269
9270
9271 eval "$wx_cv_use_dnd"
9272
9273 if test x"$enablestring" = xdisable; then
9274 if test $wxUSE_DRAG_AND_DROP = yes; then
9275 result=no
9276 else
9277 result=yes
9278 fi
9279 else
9280 result=$wxUSE_DRAG_AND_DROP
9281 fi
9282
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9285
9286
9287 enablestring=
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9291 defaultval=yes
9292 else
9293 defaultval=no
9294 fi
9295 fi
9296
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9299 # Check whether --enable-metafile was given.
9300 if test "${enable_metafile+set}" = set; then
9301 enableval=$enable_metafile;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9304 else
9305 wx_cv_use_metafile='wxUSE_METAFILE=no'
9306 fi
9307
9308 else
9309
9310 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9311
9312 fi
9313
9314
9315 eval "$wx_cv_use_metafile"
9316
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_METAFILE = yes; then
9319 result=no
9320 else
9321 result=yes
9322 fi
9323 else
9324 result=$wxUSE_METAFILE
9325 fi
9326
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9329
9330
9331
9332 DEFAULT_wxUSE_CONTROLS=none
9333
9334 enablestring=disable
9335 defaultval=
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9338 defaultval=yes
9339 else
9340 defaultval=no
9341 fi
9342 fi
9343
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9346 # Check whether --enable-controls was given.
9347 if test "${enable_controls+set}" = set; then
9348 enableval=$enable_controls;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9351 else
9352 wx_cv_use_controls='wxUSE_CONTROLS=no'
9353 fi
9354
9355 else
9356
9357 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9358
9359 fi
9360
9361
9362 eval "$wx_cv_use_controls"
9363
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_CONTROLS = yes; then
9366 result=no
9367 else
9368 result=yes
9369 fi
9370 else
9371 result=$wxUSE_CONTROLS
9372 fi
9373
9374 { echo "$as_me:$LINENO: result: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9376
9377
9378 if test "$wxUSE_CONTROLS" = "yes"; then
9379 DEFAULT_wxUSE_ACCEL=yes
9380 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9381 DEFAULT_wxUSE_BMPBUTTON=yes
9382 DEFAULT_wxUSE_BUTTON=yes
9383 DEFAULT_wxUSE_CALCTRL=yes
9384 DEFAULT_wxUSE_CARET=yes
9385 DEFAULT_wxUSE_COMBOBOX=yes
9386 DEFAULT_wxUSE_CHECKBOX=yes
9387 DEFAULT_wxUSE_CHECKLISTBOX=yes
9388 DEFAULT_wxUSE_CHOICE=yes
9389 DEFAULT_wxUSE_CHOICEBOOK=yes
9390 DEFAULT_wxUSE_COLLPANE=yes
9391 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9392 DEFAULT_wxUSE_COMBOBOX=yes
9393 DEFAULT_wxUSE_DATEPICKCTRL=yes
9394 DEFAULT_wxUSE_DISPLAY=yes
9395 DEFAULT_wxUSE_DETECT_SM=yes
9396 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9397 DEFAULT_wxUSE_FILECTRL=yes
9398 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9399 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9400 DEFAULT_wxUSE_GAUGE=yes
9401 DEFAULT_wxUSE_GRID=yes
9402 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9403 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9404 DEFAULT_wxUSE_IMAGLIST=yes
9405 DEFAULT_wxUSE_LISTBOOK=yes
9406 DEFAULT_wxUSE_LISTBOX=yes
9407 DEFAULT_wxUSE_LISTCTRL=yes
9408 DEFAULT_wxUSE_NOTEBOOK=yes
9409 DEFAULT_wxUSE_RADIOBOX=yes
9410 DEFAULT_wxUSE_RADIOBTN=yes
9411 DEFAULT_wxUSE_SASH=yes
9412 DEFAULT_wxUSE_SCROLLBAR=yes
9413 DEFAULT_wxUSE_SEARCHCTRL=yes
9414 DEFAULT_wxUSE_SLIDER=yes
9415 DEFAULT_wxUSE_SPINBTN=yes
9416 DEFAULT_wxUSE_SPINCTRL=yes
9417 DEFAULT_wxUSE_SPLITTER=yes
9418 DEFAULT_wxUSE_STATBMP=yes
9419 DEFAULT_wxUSE_STATBOX=yes
9420 DEFAULT_wxUSE_STATLINE=yes
9421 DEFAULT_wxUSE_STATUSBAR=yes
9422 DEFAULT_wxUSE_TAB_DIALOG=yes
9423 DEFAULT_wxUSE_TOGGLEBTN=yes
9424 DEFAULT_wxUSE_TOOLBAR=yes
9425 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9426 DEFAULT_wxUSE_TOOLTIPS=yes
9427 DEFAULT_wxUSE_TREEBOOK=yes
9428 DEFAULT_wxUSE_TOOLBOOK=yes
9429 DEFAULT_wxUSE_TREECTRL=yes
9430 DEFAULT_wxUSE_POPUPWIN=yes
9431 DEFAULT_wxUSE_TIPWINDOW=yes
9432 elif test "$wxUSE_CONTROLS" = "no"; then
9433 DEFAULT_wxUSE_ACCEL=no
9434 DEFAULT_wxUSE_ANIMATIONCTRL=no
9435 DEFAULT_wxUSE_BMPBUTTON=no
9436 DEFAULT_wxUSE_BUTTON=no
9437 DEFAULT_wxUSE_CALCTRL=no
9438 DEFAULT_wxUSE_CARET=no
9439 DEFAULT_wxUSE_COLLPANE=no
9440 DEFAULT_wxUSE_COMBOBOX=no
9441 DEFAULT_wxUSE_CHECKBOX=no
9442 DEFAULT_wxUSE_CHECKLISTBOX=no
9443 DEFAULT_wxUSE_CHOICE=no
9444 DEFAULT_wxUSE_CHOICEBOOK=no
9445 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9446 DEFAULT_wxUSE_COMBOBOX=no
9447 DEFAULT_wxUSE_DATEPICKCTRL=no
9448 DEFAULT_wxUSE_DISPLAY=no
9449 DEFAULT_wxUSE_DETECT_SM=no
9450 DEFAULT_wxUSE_DIRPICKERCTRL=no
9451 DEFAULT_wxUSE_FILECTRL=no
9452 DEFAULT_wxUSE_FILEPICKERCTRL=no
9453 DEFAULT_wxUSE_FONTPICKERCTRL=no
9454 DEFAULT_wxUSE_GAUGE=no
9455 DEFAULT_wxUSE_GRID=no
9456 DEFAULT_wxUSE_HYPERLINKCTRL=no
9457 DEFAULT_wxUSE_DATAVIEWCTRL=no
9458 DEFAULT_wxUSE_IMAGLIST=no
9459 DEFAULT_wxUSE_LISTBOOK=no
9460 DEFAULT_wxUSE_LISTBOX=no
9461 DEFAULT_wxUSE_LISTCTRL=no
9462 DEFAULT_wxUSE_NOTEBOOK=no
9463 DEFAULT_wxUSE_RADIOBOX=no
9464 DEFAULT_wxUSE_RADIOBTN=no
9465 DEFAULT_wxUSE_SASH=no
9466 DEFAULT_wxUSE_SCROLLBAR=no
9467 DEFAULT_wxUSE_SEARCHCTRL=no
9468 DEFAULT_wxUSE_SLIDER=no
9469 DEFAULT_wxUSE_SPINBTN=no
9470 DEFAULT_wxUSE_SPINCTRL=no
9471 DEFAULT_wxUSE_SPLITTER=no
9472 DEFAULT_wxUSE_STATBMP=no
9473 DEFAULT_wxUSE_STATBOX=no
9474 DEFAULT_wxUSE_STATLINE=no
9475 DEFAULT_wxUSE_STATUSBAR=no
9476 DEFAULT_wxUSE_TAB_DIALOG=no
9477 DEFAULT_wxUSE_TOGGLEBTN=no
9478 DEFAULT_wxUSE_TOOLBAR=no
9479 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9480 DEFAULT_wxUSE_TOOLTIPS=no
9481 DEFAULT_wxUSE_TREEBOOK=no
9482 DEFAULT_wxUSE_TOOLBOOK=no
9483 DEFAULT_wxUSE_TREECTRL=no
9484 DEFAULT_wxUSE_POPUPWIN=no
9485 DEFAULT_wxUSE_TIPWINDOW=no
9486 fi
9487
9488
9489 enablestring=
9490 defaultval=$wxUSE_ALL_FEATURES
9491 if test -z "$defaultval"; then
9492 if test x"$enablestring" = xdisable; then
9493 defaultval=yes
9494 else
9495 defaultval=no
9496 fi
9497 fi
9498
9499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9501 # Check whether --enable-accel was given.
9502 if test "${enable_accel+set}" = set; then
9503 enableval=$enable_accel;
9504 if test "$enableval" = yes; then
9505 wx_cv_use_accel='wxUSE_ACCEL=yes'
9506 else
9507 wx_cv_use_accel='wxUSE_ACCEL=no'
9508 fi
9509
9510 else
9511
9512 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9513
9514 fi
9515
9516
9517 eval "$wx_cv_use_accel"
9518
9519 if test x"$enablestring" = xdisable; then
9520 if test $wxUSE_ACCEL = yes; then
9521 result=no
9522 else
9523 result=yes
9524 fi
9525 else
9526 result=$wxUSE_ACCEL
9527 fi
9528
9529 { echo "$as_me:$LINENO: result: $result" >&5
9530 echo "${ECHO_T}$result" >&6; }
9531
9532
9533 enablestring=
9534 defaultval=$wxUSE_ALL_FEATURES
9535 if test -z "$defaultval"; then
9536 if test x"$enablestring" = xdisable; then
9537 defaultval=yes
9538 else
9539 defaultval=no
9540 fi
9541 fi
9542
9543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9544 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9545 # Check whether --enable-animatectrl was given.
9546 if test "${enable_animatectrl+set}" = set; then
9547 enableval=$enable_animatectrl;
9548 if test "$enableval" = yes; then
9549 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9550 else
9551 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9552 fi
9553
9554 else
9555
9556 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9557
9558 fi
9559
9560
9561 eval "$wx_cv_use_animatectrl"
9562
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_ANIMATIONCTRL = yes; then
9565 result=no
9566 else
9567 result=yes
9568 fi
9569 else
9570 result=$wxUSE_ANIMATIONCTRL
9571 fi
9572
9573 { echo "$as_me:$LINENO: result: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9575
9576
9577 enablestring=
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9581 defaultval=yes
9582 else
9583 defaultval=no
9584 fi
9585 fi
9586
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9589 # Check whether --enable-button was given.
9590 if test "${enable_button+set}" = set; then
9591 enableval=$enable_button;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_button='wxUSE_BUTTON=yes'
9594 else
9595 wx_cv_use_button='wxUSE_BUTTON=no'
9596 fi
9597
9598 else
9599
9600 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9601
9602 fi
9603
9604
9605 eval "$wx_cv_use_button"
9606
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_BUTTON = yes; then
9609 result=no
9610 else
9611 result=yes
9612 fi
9613 else
9614 result=$wxUSE_BUTTON
9615 fi
9616
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9619
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9633 # Check whether --enable-bmpbutton was given.
9634 if test "${enable_bmpbutton+set}" = set; then
9635 enableval=$enable_bmpbutton;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9638 else
9639 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_bmpbutton"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_BMPBUTTON = yes; then
9653 result=no
9654 else
9655 result=yes
9656 fi
9657 else
9658 result=$wxUSE_BMPBUTTON
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664
9665 enablestring=
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9669 defaultval=yes
9670 else
9671 defaultval=no
9672 fi
9673 fi
9674
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9677 # Check whether --enable-bmpcombobox was given.
9678 if test "${enable_bmpcombobox+set}" = set; then
9679 enableval=$enable_bmpcombobox;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9682 else
9683 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9684 fi
9685
9686 else
9687
9688 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9689
9690 fi
9691
9692
9693 eval "$wx_cv_use_bmpcombobox"
9694
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9697 result=no
9698 else
9699 result=yes
9700 fi
9701 else
9702 result=$wxUSE_BITMAPCOMBOBOX
9703 fi
9704
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9707
9708
9709 enablestring=
9710 defaultval=$wxUSE_ALL_FEATURES
9711 if test -z "$defaultval"; then
9712 if test x"$enablestring" = xdisable; then
9713 defaultval=yes
9714 else
9715 defaultval=no
9716 fi
9717 fi
9718
9719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9721 # Check whether --enable-calendar was given.
9722 if test "${enable_calendar+set}" = set; then
9723 enableval=$enable_calendar;
9724 if test "$enableval" = yes; then
9725 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9726 else
9727 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9728 fi
9729
9730 else
9731
9732 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9733
9734 fi
9735
9736
9737 eval "$wx_cv_use_calendar"
9738
9739 if test x"$enablestring" = xdisable; then
9740 if test $wxUSE_CALCTRL = yes; then
9741 result=no
9742 else
9743 result=yes
9744 fi
9745 else
9746 result=$wxUSE_CALCTRL
9747 fi
9748
9749 { echo "$as_me:$LINENO: result: $result" >&5
9750 echo "${ECHO_T}$result" >&6; }
9751
9752
9753 enablestring=
9754 defaultval=$wxUSE_ALL_FEATURES
9755 if test -z "$defaultval"; then
9756 if test x"$enablestring" = xdisable; then
9757 defaultval=yes
9758 else
9759 defaultval=no
9760 fi
9761 fi
9762
9763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9765 # Check whether --enable-caret was given.
9766 if test "${enable_caret+set}" = set; then
9767 enableval=$enable_caret;
9768 if test "$enableval" = yes; then
9769 wx_cv_use_caret='wxUSE_CARET=yes'
9770 else
9771 wx_cv_use_caret='wxUSE_CARET=no'
9772 fi
9773
9774 else
9775
9776 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9777
9778 fi
9779
9780
9781 eval "$wx_cv_use_caret"
9782
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_CARET = yes; then
9785 result=no
9786 else
9787 result=yes
9788 fi
9789 else
9790 result=$wxUSE_CARET
9791 fi
9792
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9795
9796
9797 enablestring=
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9801 defaultval=yes
9802 else
9803 defaultval=no
9804 fi
9805 fi
9806
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9809 # Check whether --enable-checkbox was given.
9810 if test "${enable_checkbox+set}" = set; then
9811 enableval=$enable_checkbox;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9814 else
9815 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9816 fi
9817
9818 else
9819
9820 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9821
9822 fi
9823
9824
9825 eval "$wx_cv_use_checkbox"
9826
9827 if test x"$enablestring" = xdisable; then
9828 if test $wxUSE_CHECKBOX = yes; then
9829 result=no
9830 else
9831 result=yes
9832 fi
9833 else
9834 result=$wxUSE_CHECKBOX
9835 fi
9836
9837 { echo "$as_me:$LINENO: result: $result" >&5
9838 echo "${ECHO_T}$result" >&6; }
9839
9840
9841 enablestring=
9842 defaultval=$wxUSE_ALL_FEATURES
9843 if test -z "$defaultval"; then
9844 if test x"$enablestring" = xdisable; then
9845 defaultval=yes
9846 else
9847 defaultval=no
9848 fi
9849 fi
9850
9851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9852 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9853 # Check whether --enable-checklst was given.
9854 if test "${enable_checklst+set}" = set; then
9855 enableval=$enable_checklst;
9856 if test "$enableval" = yes; then
9857 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9858 else
9859 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9860 fi
9861
9862 else
9863
9864 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9865
9866 fi
9867
9868
9869 eval "$wx_cv_use_checklst"
9870
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_CHECKLST = yes; then
9873 result=no
9874 else
9875 result=yes
9876 fi
9877 else
9878 result=$wxUSE_CHECKLST
9879 fi
9880
9881 { echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6; }
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9897 # Check whether --enable-choice was given.
9898 if test "${enable_choice+set}" = set; then
9899 enableval=$enable_choice;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_choice='wxUSE_CHOICE=yes'
9902 else
9903 wx_cv_use_choice='wxUSE_CHOICE=no'
9904 fi
9905
9906 else
9907
9908 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9909
9910 fi
9911
9912
9913 eval "$wx_cv_use_choice"
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_CHOICE = yes; then
9917 result=no
9918 else
9919 result=yes
9920 fi
9921 else
9922 result=$wxUSE_CHOICE
9923 fi
9924
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9941 # Check whether --enable-choicebook was given.
9942 if test "${enable_choicebook+set}" = set; then
9943 enableval=$enable_choicebook;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9946 else
9947 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9948 fi
9949
9950 else
9951
9952 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_choicebook"
9958
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_CHOICEBOOK = yes; then
9961 result=no
9962 else
9963 result=yes
9964 fi
9965 else
9966 result=$wxUSE_CHOICEBOOK
9967 fi
9968
9969 { echo "$as_me:$LINENO: result: $result" >&5
9970 echo "${ECHO_T}$result" >&6; }
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9985 # Check whether --enable-collpane was given.
9986 if test "${enable_collpane+set}" = set; then
9987 enableval=$enable_collpane;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9990 else
9991 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_collpane"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_COLLPANE = yes; then
10005 result=no
10006 else
10007 result=yes
10008 fi
10009 else
10010 result=$wxUSE_COLLPANE
10011 fi
10012
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10029 # Check whether --enable-colourpicker was given.
10030 if test "${enable_colourpicker+set}" = set; then
10031 enableval=$enable_colourpicker;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10034 else
10035 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10036 fi
10037
10038 else
10039
10040 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10041
10042 fi
10043
10044
10045 eval "$wx_cv_use_colourpicker"
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_COLOURPICKERCTRL = yes; then
10049 result=no
10050 else
10051 result=yes
10052 fi
10053 else
10054 result=$wxUSE_COLOURPICKERCTRL
10055 fi
10056
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10073 # Check whether --enable-combobox was given.
10074 if test "${enable_combobox+set}" = set; then
10075 enableval=$enable_combobox;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10078 else
10079 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10080 fi
10081
10082 else
10083
10084 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_combobox"
10090
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_COMBOBOX = yes; then
10093 result=no
10094 else
10095 result=yes
10096 fi
10097 else
10098 result=$wxUSE_COMBOBOX
10099 fi
10100
10101 { echo "$as_me:$LINENO: result: $result" >&5
10102 echo "${ECHO_T}$result" >&6; }
10103
10104
10105 enablestring=
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10109 defaultval=yes
10110 else
10111 defaultval=no
10112 fi
10113 fi
10114
10115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10117 # Check whether --enable-comboctrl was given.
10118 if test "${enable_comboctrl+set}" = set; then
10119 enableval=$enable_comboctrl;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10122 else
10123 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10124 fi
10125
10126 else
10127
10128 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_comboctrl"
10134
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_COMBOCTRL = yes; then
10137 result=no
10138 else
10139 result=yes
10140 fi
10141 else
10142 result=$wxUSE_COMBOCTRL
10143 fi
10144
10145 { echo "$as_me:$LINENO: result: $result" >&5
10146 echo "${ECHO_T}$result" >&6; }
10147
10148
10149 enablestring=
10150 defaultval=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x"$enablestring" = xdisable; then
10153 defaultval=yes
10154 else
10155 defaultval=no
10156 fi
10157 fi
10158
10159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10161 # Check whether --enable-datepick was given.
10162 if test "${enable_datepick+set}" = set; then
10163 enableval=$enable_datepick;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10166 else
10167 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10168 fi
10169
10170 else
10171
10172 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_datepick"
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_DATEPICKCTRL = yes; then
10181 result=no
10182 else
10183 result=yes
10184 fi
10185 else
10186 result=$wxUSE_DATEPICKCTRL
10187 fi
10188
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10191
10192
10193 enablestring=
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10197 defaultval=yes
10198 else
10199 defaultval=no
10200 fi
10201 fi
10202
10203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10205 # Check whether --enable-dirpicker was given.
10206 if test "${enable_dirpicker+set}" = set; then
10207 enableval=$enable_dirpicker;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10210 else
10211 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10212 fi
10213
10214 else
10215
10216 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10217
10218 fi
10219
10220
10221 eval "$wx_cv_use_dirpicker"
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_DIRPICKERCTRL = yes; then
10225 result=no
10226 else
10227 result=yes
10228 fi
10229 else
10230 result=$wxUSE_DIRPICKERCTRL
10231 fi
10232
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10235
10236
10237 enablestring=
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10241 defaultval=yes
10242 else
10243 defaultval=no
10244 fi
10245 fi
10246
10247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10249 # Check whether --enable-display was given.
10250 if test "${enable_display+set}" = set; then
10251 enableval=$enable_display;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_display='wxUSE_DISPLAY=yes'
10254 else
10255 wx_cv_use_display='wxUSE_DISPLAY=no'
10256 fi
10257
10258 else
10259
10260 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_display"
10266
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_DISPLAY = yes; then
10269 result=no
10270 else
10271 result=yes
10272 fi
10273 else
10274 result=$wxUSE_DISPLAY
10275 fi
10276
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10279
10280
10281 enablestring=
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10285 defaultval=yes
10286 else
10287 defaultval=no
10288 fi
10289 fi
10290
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10293 # Check whether --enable-detect_sm was given.
10294 if test "${enable_detect_sm+set}" = set; then
10295 enableval=$enable_detect_sm;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10298 else
10299 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10300 fi
10301
10302 else
10303
10304 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10305
10306 fi
10307
10308
10309 eval "$wx_cv_use_detect_sm"
10310
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_DETECT_SM = yes; then
10313 result=no
10314 else
10315 result=yes
10316 fi
10317 else
10318 result=$wxUSE_DETECT_SM
10319 fi
10320
10321 { echo "$as_me:$LINENO: result: $result" >&5
10322 echo "${ECHO_T}$result" >&6; }
10323
10324
10325 enablestring=
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10329 defaultval=yes
10330 else
10331 defaultval=no
10332 fi
10333 fi
10334
10335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10337 # Check whether --enable-editablebox was given.
10338 if test "${enable_editablebox+set}" = set; then
10339 enableval=$enable_editablebox;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10342 else
10343 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10344 fi
10345
10346 else
10347
10348 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10349
10350 fi
10351
10352
10353 eval "$wx_cv_use_editablebox"
10354
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_EDITABLELISTBOX = yes; then
10357 result=no
10358 else
10359 result=yes
10360 fi
10361 else
10362 result=$wxUSE_EDITABLELISTBOX
10363 fi
10364
10365 { echo "$as_me:$LINENO: result: $result" >&5
10366 echo "${ECHO_T}$result" >&6; }
10367
10368
10369 enablestring=
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10373 defaultval=yes
10374 else
10375 defaultval=no
10376 fi
10377 fi
10378
10379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10381 # Check whether --enable-filepicker was given.
10382 if test "${enable_filepicker+set}" = set; then
10383 enableval=$enable_filepicker;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10386 else
10387 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10388 fi
10389
10390 else
10391
10392 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10393
10394 fi
10395
10396
10397 eval "$wx_cv_use_filepicker"
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_FILEPICKERCTRL = yes; then
10401 result=no
10402 else
10403 result=yes
10404 fi
10405 else
10406 result=$wxUSE_FILEPICKERCTRL
10407 fi
10408
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10425 # Check whether --enable-filectrl was given.
10426 if test "${enable_filectrl+set}" = set; then
10427 enableval=$enable_filectrl;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10430 else
10431 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10432 fi
10433
10434 else
10435
10436 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10437
10438 fi
10439
10440
10441 eval "$wx_cv_use_filectrl"
10442
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_FILECTRL = yes; then
10445 result=no
10446 else
10447 result=yes
10448 fi
10449 else
10450 result=$wxUSE_FILECTRL
10451 fi
10452
10453 { echo "$as_me:$LINENO: result: $result" >&5
10454 echo "${ECHO_T}$result" >&6; }
10455
10456
10457 enablestring=
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10461 defaultval=yes
10462 else
10463 defaultval=no
10464 fi
10465 fi
10466
10467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10469 # Check whether --enable-fontpicker was given.
10470 if test "${enable_fontpicker+set}" = set; then
10471 enableval=$enable_fontpicker;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10474 else
10475 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10476 fi
10477
10478 else
10479
10480 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10481
10482 fi
10483
10484
10485 eval "$wx_cv_use_fontpicker"
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_FONTPICKERCTRL = yes; then
10489 result=no
10490 else
10491 result=yes
10492 fi
10493 else
10494 result=$wxUSE_FONTPICKERCTRL
10495 fi
10496
10497 { echo "$as_me:$LINENO: result: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10513 # Check whether --enable-gauge was given.
10514 if test "${enable_gauge+set}" = set; then
10515 enableval=$enable_gauge;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10518 else
10519 wx_cv_use_gauge='wxUSE_GAUGE=no'
10520 fi
10521
10522 else
10523
10524 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10525
10526 fi
10527
10528
10529 eval "$wx_cv_use_gauge"
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_GAUGE = yes; then
10533 result=no
10534 else
10535 result=yes
10536 fi
10537 else
10538 result=$wxUSE_GAUGE
10539 fi
10540
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10557 # Check whether --enable-grid was given.
10558 if test "${enable_grid+set}" = set; then
10559 enableval=$enable_grid;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_grid='wxUSE_GRID=yes'
10562 else
10563 wx_cv_use_grid='wxUSE_GRID=no'
10564 fi
10565
10566 else
10567
10568 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_grid"
10574
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_GRID = yes; then
10577 result=no
10578 else
10579 result=yes
10580 fi
10581 else
10582 result=$wxUSE_GRID
10583 fi
10584
10585 { echo "$as_me:$LINENO: result: $result" >&5
10586 echo "${ECHO_T}$result" >&6; }
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10601 # Check whether --enable-dataviewctrl was given.
10602 if test "${enable_dataviewctrl+set}" = set; then
10603 enableval=$enable_dataviewctrl;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10606 else
10607 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10608 fi
10609
10610 else
10611
10612 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10613
10614 fi
10615
10616
10617 eval "$wx_cv_use_dataviewctrl"
10618
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_DATAVIEWCTRL = yes; then
10621 result=no
10622 else
10623 result=yes
10624 fi
10625 else
10626 result=$wxUSE_DATAVIEWCTRL
10627 fi
10628
10629 { echo "$as_me:$LINENO: result: $result" >&5
10630 echo "${ECHO_T}$result" >&6; }
10631
10632
10633 enablestring=
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10637 defaultval=yes
10638 else
10639 defaultval=no
10640 fi
10641 fi
10642
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10645 # Check whether --enable-hyperlink was given.
10646 if test "${enable_hyperlink+set}" = set; then
10647 enableval=$enable_hyperlink;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10650 else
10651 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10652 fi
10653
10654 else
10655
10656 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_hyperlink"
10662
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_HYPERLINKCTRL = yes; then
10665 result=no
10666 else
10667 result=yes
10668 fi
10669 else
10670 result=$wxUSE_HYPERLINKCTRL
10671 fi
10672
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10675
10676
10677 enablestring=
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10681 defaultval=yes
10682 else
10683 defaultval=no
10684 fi
10685 fi
10686
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10689 # Check whether --enable-imaglist was given.
10690 if test "${enable_imaglist+set}" = set; then
10691 enableval=$enable_imaglist;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10694 else
10695 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10696 fi
10697
10698 else
10699
10700 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_imaglist"
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_IMAGLIST = yes; then
10709 result=no
10710 else
10711 result=yes
10712 fi
10713 else
10714 result=$wxUSE_IMAGLIST
10715 fi
10716
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10733 # Check whether --enable-listbook was given.
10734 if test "${enable_listbook+set}" = set; then
10735 enableval=$enable_listbook;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10738 else
10739 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10740 fi
10741
10742 else
10743
10744 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10745
10746 fi
10747
10748
10749 eval "$wx_cv_use_listbook"
10750
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_LISTBOOK = yes; then
10753 result=no
10754 else
10755 result=yes
10756 fi
10757 else
10758 result=$wxUSE_LISTBOOK
10759 fi
10760
10761 { echo "$as_me:$LINENO: result: $result" >&5
10762 echo "${ECHO_T}$result" >&6; }
10763
10764
10765 enablestring=
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10776 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10777 # Check whether --enable-listbox was given.
10778 if test "${enable_listbox+set}" = set; then
10779 enableval=$enable_listbox;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10782 else
10783 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10784 fi
10785
10786 else
10787
10788 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10789
10790 fi
10791
10792
10793 eval "$wx_cv_use_listbox"
10794
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_LISTBOX = yes; then
10797 result=no
10798 else
10799 result=yes
10800 fi
10801 else
10802 result=$wxUSE_LISTBOX
10803 fi
10804
10805 { echo "$as_me:$LINENO: result: $result" >&5
10806 echo "${ECHO_T}$result" >&6; }
10807
10808
10809 enablestring=
10810 defaultval=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x"$enablestring" = xdisable; then
10813 defaultval=yes
10814 else
10815 defaultval=no
10816 fi
10817 fi
10818
10819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10820 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10821 # Check whether --enable-listctrl was given.
10822 if test "${enable_listctrl+set}" = set; then
10823 enableval=$enable_listctrl;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10826 else
10827 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10828 fi
10829
10830 else
10831
10832 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10833
10834 fi
10835
10836
10837 eval "$wx_cv_use_listctrl"
10838
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_LISTCTRL = yes; then
10841 result=no
10842 else
10843 result=yes
10844 fi
10845 else
10846 result=$wxUSE_LISTCTRL
10847 fi
10848
10849 { echo "$as_me:$LINENO: result: $result" >&5
10850 echo "${ECHO_T}$result" >&6; }
10851
10852
10853 enablestring=
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10857 defaultval=yes
10858 else
10859 defaultval=no
10860 fi
10861 fi
10862
10863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10865 # Check whether --enable-notebook was given.
10866 if test "${enable_notebook+set}" = set; then
10867 enableval=$enable_notebook;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10870 else
10871 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10872 fi
10873
10874 else
10875
10876 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10877
10878 fi
10879
10880
10881 eval "$wx_cv_use_notebook"
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_NOTEBOOK = yes; then
10885 result=no
10886 else
10887 result=yes
10888 fi
10889 else
10890 result=$wxUSE_NOTEBOOK
10891 fi
10892
10893 { echo "$as_me:$LINENO: result: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10895
10896
10897 enablestring=
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10901 defaultval=yes
10902 else
10903 defaultval=no
10904 fi
10905 fi
10906
10907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10909 # Check whether --enable-notifmsg was given.
10910 if test "${enable_notifmsg+set}" = set; then
10911 enableval=$enable_notifmsg;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10914 else
10915 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10916 fi
10917
10918 else
10919
10920 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_notifmsg"
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10929 result=no
10930 else
10931 result=yes
10932 fi
10933 else
10934 result=$wxUSE_NOTIFICATION_MESSAGE
10935 fi
10936
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10939
10940
10941 enablestring=
10942 defaultval=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x"$enablestring" = xdisable; then
10945 defaultval=yes
10946 else
10947 defaultval=no
10948 fi
10949 fi
10950
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10953 # Check whether --enable-odcombobox was given.
10954 if test "${enable_odcombobox+set}" = set; then
10955 enableval=$enable_odcombobox;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10958 else
10959 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10960 fi
10961
10962 else
10963
10964 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10965
10966 fi
10967
10968
10969 eval "$wx_cv_use_odcombobox"
10970
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_ODCOMBOBOX = yes; then
10973 result=no
10974 else
10975 result=yes
10976 fi
10977 else
10978 result=$wxUSE_ODCOMBOBOX
10979 fi
10980
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10997 # Check whether --enable-radiobox was given.
10998 if test "${enable_radiobox+set}" = set; then
10999 enableval=$enable_radiobox;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11002 else
11003 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11004 fi
11005
11006 else
11007
11008 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11009
11010 fi
11011
11012
11013 eval "$wx_cv_use_radiobox"
11014
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_RADIOBOX = yes; then
11017 result=no
11018 else
11019 result=yes
11020 fi
11021 else
11022 result=$wxUSE_RADIOBOX
11023 fi
11024
11025 { echo "$as_me:$LINENO: result: $result" >&5
11026 echo "${ECHO_T}$result" >&6; }
11027
11028
11029 enablestring=
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11033 defaultval=yes
11034 else
11035 defaultval=no
11036 fi
11037 fi
11038
11039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11040 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11041 # Check whether --enable-radiobtn was given.
11042 if test "${enable_radiobtn+set}" = set; then
11043 enableval=$enable_radiobtn;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11046 else
11047 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11048 fi
11049
11050 else
11051
11052 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11053
11054 fi
11055
11056
11057 eval "$wx_cv_use_radiobtn"
11058
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_RADIOBTN = yes; then
11061 result=no
11062 else
11063 result=yes
11064 fi
11065 else
11066 result=$wxUSE_RADIOBTN
11067 fi
11068
11069 { echo "$as_me:$LINENO: result: $result" >&5
11070 echo "${ECHO_T}$result" >&6; }
11071
11072
11073 enablestring=
11074 defaultval=$wxUSE_ALL_FEATURES
11075 if test -z "$defaultval"; then
11076 if test x"$enablestring" = xdisable; then
11077 defaultval=yes
11078 else
11079 defaultval=no
11080 fi
11081 fi
11082
11083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11085 # Check whether --enable-sash was given.
11086 if test "${enable_sash+set}" = set; then
11087 enableval=$enable_sash;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_sash='wxUSE_SASH=yes'
11090 else
11091 wx_cv_use_sash='wxUSE_SASH=no'
11092 fi
11093
11094 else
11095
11096 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11097
11098 fi
11099
11100
11101 eval "$wx_cv_use_sash"
11102
11103 if test x"$enablestring" = xdisable; then
11104 if test $wxUSE_SASH = yes; then
11105 result=no
11106 else
11107 result=yes
11108 fi
11109 else
11110 result=$wxUSE_SASH
11111 fi
11112
11113 { echo "$as_me:$LINENO: result: $result" >&5
11114 echo "${ECHO_T}$result" >&6; }
11115
11116
11117 enablestring=
11118 defaultval=$wxUSE_ALL_FEATURES
11119 if test -z "$defaultval"; then
11120 if test x"$enablestring" = xdisable; then
11121 defaultval=yes
11122 else
11123 defaultval=no
11124 fi
11125 fi
11126
11127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11129 # Check whether --enable-scrollbar was given.
11130 if test "${enable_scrollbar+set}" = set; then
11131 enableval=$enable_scrollbar;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11134 else
11135 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11136 fi
11137
11138 else
11139
11140 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11141
11142 fi
11143
11144
11145 eval "$wx_cv_use_scrollbar"
11146
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_SCROLLBAR = yes; then
11149 result=no
11150 else
11151 result=yes
11152 fi
11153 else
11154 result=$wxUSE_SCROLLBAR
11155 fi
11156
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11159
11160
11161 enablestring=
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11165 defaultval=yes
11166 else
11167 defaultval=no
11168 fi
11169 fi
11170
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11173 # Check whether --enable-searchctrl was given.
11174 if test "${enable_searchctrl+set}" = set; then
11175 enableval=$enable_searchctrl;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11178 else
11179 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11180 fi
11181
11182 else
11183
11184 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11185
11186 fi
11187
11188
11189 eval "$wx_cv_use_searchctrl"
11190
11191 if test x"$enablestring" = xdisable; then
11192 if test $wxUSE_SEARCHCTRL = yes; then
11193 result=no
11194 else
11195 result=yes
11196 fi
11197 else
11198 result=$wxUSE_SEARCHCTRL
11199 fi
11200
11201 { echo "$as_me:$LINENO: result: $result" >&5
11202 echo "${ECHO_T}$result" >&6; }
11203
11204
11205 enablestring=
11206 defaultval=$wxUSE_ALL_FEATURES
11207 if test -z "$defaultval"; then
11208 if test x"$enablestring" = xdisable; then
11209 defaultval=yes
11210 else
11211 defaultval=no
11212 fi
11213 fi
11214
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11217 # Check whether --enable-slider was given.
11218 if test "${enable_slider+set}" = set; then
11219 enableval=$enable_slider;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_slider='wxUSE_SLIDER=yes'
11222 else
11223 wx_cv_use_slider='wxUSE_SLIDER=no'
11224 fi
11225
11226 else
11227
11228 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11229
11230 fi
11231
11232
11233 eval "$wx_cv_use_slider"
11234
11235 if test x"$enablestring" = xdisable; then
11236 if test $wxUSE_SLIDER = yes; then
11237 result=no
11238 else
11239 result=yes
11240 fi
11241 else
11242 result=$wxUSE_SLIDER
11243 fi
11244
11245 { echo "$as_me:$LINENO: result: $result" >&5
11246 echo "${ECHO_T}$result" >&6; }
11247
11248
11249 enablestring=
11250 defaultval=$wxUSE_ALL_FEATURES
11251 if test -z "$defaultval"; then
11252 if test x"$enablestring" = xdisable; then
11253 defaultval=yes
11254 else
11255 defaultval=no
11256 fi
11257 fi
11258
11259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11261 # Check whether --enable-spinbtn was given.
11262 if test "${enable_spinbtn+set}" = set; then
11263 enableval=$enable_spinbtn;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11266 else
11267 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11268 fi
11269
11270 else
11271
11272 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11273
11274 fi
11275
11276
11277 eval "$wx_cv_use_spinbtn"
11278
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_SPINBTN = yes; then
11281 result=no
11282 else
11283 result=yes
11284 fi
11285 else
11286 result=$wxUSE_SPINBTN
11287 fi
11288
11289 { echo "$as_me:$LINENO: result: $result" >&5
11290 echo "${ECHO_T}$result" >&6; }
11291
11292
11293 enablestring=
11294 defaultval=$wxUSE_ALL_FEATURES
11295 if test -z "$defaultval"; then
11296 if test x"$enablestring" = xdisable; then
11297 defaultval=yes
11298 else
11299 defaultval=no
11300 fi
11301 fi
11302
11303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11305 # Check whether --enable-spinctrl was given.
11306 if test "${enable_spinctrl+set}" = set; then
11307 enableval=$enable_spinctrl;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11310 else
11311 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11312 fi
11313
11314 else
11315
11316 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11317
11318 fi
11319
11320
11321 eval "$wx_cv_use_spinctrl"
11322
11323 if test x"$enablestring" = xdisable; then
11324 if test $wxUSE_SPINCTRL = yes; then
11325 result=no
11326 else
11327 result=yes
11328 fi
11329 else
11330 result=$wxUSE_SPINCTRL
11331 fi
11332
11333 { echo "$as_me:$LINENO: result: $result" >&5
11334 echo "${ECHO_T}$result" >&6; }
11335
11336
11337 enablestring=
11338 defaultval=$wxUSE_ALL_FEATURES
11339 if test -z "$defaultval"; then
11340 if test x"$enablestring" = xdisable; then
11341 defaultval=yes
11342 else
11343 defaultval=no
11344 fi
11345 fi
11346
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11349 # Check whether --enable-splitter was given.
11350 if test "${enable_splitter+set}" = set; then
11351 enableval=$enable_splitter;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11354 else
11355 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11356 fi
11357
11358 else
11359
11360 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11361
11362 fi
11363
11364
11365 eval "$wx_cv_use_splitter"
11366
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_SPLITTER = yes; then
11369 result=no
11370 else
11371 result=yes
11372 fi
11373 else
11374 result=$wxUSE_SPLITTER
11375 fi
11376
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11379
11380
11381 enablestring=
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11385 defaultval=yes
11386 else
11387 defaultval=no
11388 fi
11389 fi
11390
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11393 # Check whether --enable-statbmp was given.
11394 if test "${enable_statbmp+set}" = set; then
11395 enableval=$enable_statbmp;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11398 else
11399 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11400 fi
11401
11402 else
11403
11404 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11405
11406 fi
11407
11408
11409 eval "$wx_cv_use_statbmp"
11410
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_STATBMP = yes; then
11413 result=no
11414 else
11415 result=yes
11416 fi
11417 else
11418 result=$wxUSE_STATBMP
11419 fi
11420
11421 { echo "$as_me:$LINENO: result: $result" >&5
11422 echo "${ECHO_T}$result" >&6; }
11423
11424
11425 enablestring=
11426 defaultval=$wxUSE_ALL_FEATURES
11427 if test -z "$defaultval"; then
11428 if test x"$enablestring" = xdisable; then
11429 defaultval=yes
11430 else
11431 defaultval=no
11432 fi
11433 fi
11434
11435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11437 # Check whether --enable-statbox was given.
11438 if test "${enable_statbox+set}" = set; then
11439 enableval=$enable_statbox;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11442 else
11443 wx_cv_use_statbox='wxUSE_STATBOX=no'
11444 fi
11445
11446 else
11447
11448 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11449
11450 fi
11451
11452
11453 eval "$wx_cv_use_statbox"
11454
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_STATBOX = yes; then
11457 result=no
11458 else
11459 result=yes
11460 fi
11461 else
11462 result=$wxUSE_STATBOX
11463 fi
11464
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11467
11468
11469 enablestring=
11470 defaultval=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x"$enablestring" = xdisable; then
11473 defaultval=yes
11474 else
11475 defaultval=no
11476 fi
11477 fi
11478
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11481 # Check whether --enable-statline was given.
11482 if test "${enable_statline+set}" = set; then
11483 enableval=$enable_statline;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_statline='wxUSE_STATLINE=yes'
11486 else
11487 wx_cv_use_statline='wxUSE_STATLINE=no'
11488 fi
11489
11490 else
11491
11492 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11493
11494 fi
11495
11496
11497 eval "$wx_cv_use_statline"
11498
11499 if test x"$enablestring" = xdisable; then
11500 if test $wxUSE_STATLINE = yes; then
11501 result=no
11502 else
11503 result=yes
11504 fi
11505 else
11506 result=$wxUSE_STATLINE
11507 fi
11508
11509 { echo "$as_me:$LINENO: result: $result" >&5
11510 echo "${ECHO_T}$result" >&6; }
11511
11512
11513 enablestring=
11514 defaultval=$wxUSE_ALL_FEATURES
11515 if test -z "$defaultval"; then
11516 if test x"$enablestring" = xdisable; then
11517 defaultval=yes
11518 else
11519 defaultval=no
11520 fi
11521 fi
11522
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11525 # Check whether --enable-stattext was given.
11526 if test "${enable_stattext+set}" = set; then
11527 enableval=$enable_stattext;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11530 else
11531 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11532 fi
11533
11534 else
11535
11536 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11537
11538 fi
11539
11540
11541 eval "$wx_cv_use_stattext"
11542
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_STATTEXT = yes; then
11545 result=no
11546 else
11547 result=yes
11548 fi
11549 else
11550 result=$wxUSE_STATTEXT
11551 fi
11552
11553 { echo "$as_me:$LINENO: result: $result" >&5
11554 echo "${ECHO_T}$result" >&6; }
11555
11556
11557 enablestring=
11558 defaultval=$wxUSE_ALL_FEATURES
11559 if test -z "$defaultval"; then
11560 if test x"$enablestring" = xdisable; then
11561 defaultval=yes
11562 else
11563 defaultval=no
11564 fi
11565 fi
11566
11567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11568 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11569 # Check whether --enable-statusbar was given.
11570 if test "${enable_statusbar+set}" = set; then
11571 enableval=$enable_statusbar;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11574 else
11575 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11576 fi
11577
11578 else
11579
11580 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11581
11582 fi
11583
11584
11585 eval "$wx_cv_use_statusbar"
11586
11587 if test x"$enablestring" = xdisable; then
11588 if test $wxUSE_STATUSBAR = yes; then
11589 result=no
11590 else
11591 result=yes
11592 fi
11593 else
11594 result=$wxUSE_STATUSBAR
11595 fi
11596
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11599
11600
11601 enablestring=
11602 defaultval=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x"$enablestring" = xdisable; then
11605 defaultval=yes
11606 else
11607 defaultval=no
11608 fi
11609 fi
11610
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11613 # Check whether --enable-tabdialog was given.
11614 if test "${enable_tabdialog+set}" = set; then
11615 enableval=$enable_tabdialog;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11618 else
11619 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11620 fi
11621
11622 else
11623
11624 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11625
11626 fi
11627
11628
11629 eval "$wx_cv_use_tabdialog"
11630
11631 if test x"$enablestring" = xdisable; then
11632 if test $wxUSE_TAB_DIALOG = yes; then
11633 result=no
11634 else
11635 result=yes
11636 fi
11637 else
11638 result=$wxUSE_TAB_DIALOG
11639 fi
11640
11641 { echo "$as_me:$LINENO: result: $result" >&5
11642 echo "${ECHO_T}$result" >&6; }
11643
11644
11645 enablestring=
11646 defaultval=$wxUSE_ALL_FEATURES
11647 if test -z "$defaultval"; then
11648 if test x"$enablestring" = xdisable; then
11649 defaultval=yes
11650 else
11651 defaultval=no
11652 fi
11653 fi
11654
11655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11657 # Check whether --enable-taskbaricon was given.
11658 if test "${enable_taskbaricon+set}" = set; then
11659 enableval=$enable_taskbaricon;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11662 else
11663 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11664 fi
11665
11666 else
11667
11668 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11669
11670 fi
11671
11672
11673 eval "$wx_cv_use_taskbaricon"
11674
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_TASKBARICON = yes; then
11677 result=no
11678 else
11679 result=yes
11680 fi
11681 else
11682 result=$wxUSE_TASKBARICON
11683 fi
11684
11685 { echo "$as_me:$LINENO: result: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11687
11688
11689 enablestring=
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11693 defaultval=yes
11694 else
11695 defaultval=no
11696 fi
11697 fi
11698
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11701 # Check whether --enable-textctrl was given.
11702 if test "${enable_textctrl+set}" = set; then
11703 enableval=$enable_textctrl;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11706 else
11707 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11708 fi
11709
11710 else
11711
11712 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11713
11714 fi
11715
11716
11717 eval "$wx_cv_use_textctrl"
11718
11719 if test x"$enablestring" = xdisable; then
11720 if test $wxUSE_TEXTCTRL = yes; then
11721 result=no
11722 else
11723 result=yes
11724 fi
11725 else
11726 result=$wxUSE_TEXTCTRL
11727 fi
11728
11729 { echo "$as_me:$LINENO: result: $result" >&5
11730 echo "${ECHO_T}$result" >&6; }
11731
11732
11733 enablestring=
11734 defaultval=$wxUSE_ALL_FEATURES
11735 if test -z "$defaultval"; then
11736 if test x"$enablestring" = xdisable; then
11737 defaultval=yes
11738 else
11739 defaultval=no
11740 fi
11741 fi
11742
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11745 # Check whether --enable-togglebtn was given.
11746 if test "${enable_togglebtn+set}" = set; then
11747 enableval=$enable_togglebtn;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11750 else
11751 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11752 fi
11753
11754 else
11755
11756 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11757
11758 fi
11759
11760
11761 eval "$wx_cv_use_togglebtn"
11762
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_TOGGLEBTN = yes; then
11765 result=no
11766 else
11767 result=yes
11768 fi
11769 else
11770 result=$wxUSE_TOGGLEBTN
11771 fi
11772
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11775
11776
11777 enablestring=
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11781 defaultval=yes
11782 else
11783 defaultval=no
11784 fi
11785 fi
11786
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11789 # Check whether --enable-toolbar was given.
11790 if test "${enable_toolbar+set}" = set; then
11791 enableval=$enable_toolbar;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11794 else
11795 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11796 fi
11797
11798 else
11799
11800 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11801
11802 fi
11803
11804
11805 eval "$wx_cv_use_toolbar"
11806
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_TOOLBAR = yes; then
11809 result=no
11810 else
11811 result=yes
11812 fi
11813 else
11814 result=$wxUSE_TOOLBAR
11815 fi
11816
11817 { echo "$as_me:$LINENO: result: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11819
11820
11821 enablestring=
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11825 defaultval=yes
11826 else
11827 defaultval=no
11828 fi
11829 fi
11830
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11833 # Check whether --enable-tbarnative was given.
11834 if test "${enable_tbarnative+set}" = set; then
11835 enableval=$enable_tbarnative;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11838 else
11839 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11840 fi
11841
11842 else
11843
11844 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11845
11846 fi
11847
11848
11849 eval "$wx_cv_use_tbarnative"
11850
11851 if test x"$enablestring" = xdisable; then
11852 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11853 result=no
11854 else
11855 result=yes
11856 fi
11857 else
11858 result=$wxUSE_TOOLBAR_NATIVE
11859 fi
11860
11861 { echo "$as_me:$LINENO: result: $result" >&5
11862 echo "${ECHO_T}$result" >&6; }
11863
11864
11865 enablestring=
11866 defaultval=$wxUSE_ALL_FEATURES
11867 if test -z "$defaultval"; then
11868 if test x"$enablestring" = xdisable; then
11869 defaultval=yes
11870 else
11871 defaultval=no
11872 fi
11873 fi
11874
11875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11876 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11877 # Check whether --enable-treebook was given.
11878 if test "${enable_treebook+set}" = set; then
11879 enableval=$enable_treebook;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11882 else
11883 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11884 fi
11885
11886 else
11887
11888 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11889
11890 fi
11891
11892
11893 eval "$wx_cv_use_treebook"
11894
11895 if test x"$enablestring" = xdisable; then
11896 if test $wxUSE_TREEBOOK = yes; then
11897 result=no
11898 else
11899 result=yes
11900 fi
11901 else
11902 result=$wxUSE_TREEBOOK
11903 fi
11904
11905 { echo "$as_me:$LINENO: result: $result" >&5
11906 echo "${ECHO_T}$result" >&6; }
11907
11908
11909 enablestring=
11910 defaultval=$wxUSE_ALL_FEATURES
11911 if test -z "$defaultval"; then
11912 if test x"$enablestring" = xdisable; then
11913 defaultval=yes
11914 else
11915 defaultval=no
11916 fi
11917 fi
11918
11919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11921 # Check whether --enable-toolbook was given.
11922 if test "${enable_toolbook+set}" = set; then
11923 enableval=$enable_toolbook;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11926 else
11927 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11928 fi
11929
11930 else
11931
11932 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11933
11934 fi
11935
11936
11937 eval "$wx_cv_use_toolbook"
11938
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_TOOLBOOK = yes; then
11941 result=no
11942 else
11943 result=yes
11944 fi
11945 else
11946 result=$wxUSE_TOOLBOOK
11947 fi
11948
11949 { echo "$as_me:$LINENO: result: $result" >&5
11950 echo "${ECHO_T}$result" >&6; }
11951
11952
11953 enablestring=
11954 defaultval=$wxUSE_ALL_FEATURES
11955 if test -z "$defaultval"; then
11956 if test x"$enablestring" = xdisable; then
11957 defaultval=yes
11958 else
11959 defaultval=no
11960 fi
11961 fi
11962
11963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11964 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11965 # Check whether --enable-treectrl was given.
11966 if test "${enable_treectrl+set}" = set; then
11967 enableval=$enable_treectrl;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11970 else
11971 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11972 fi
11973
11974 else
11975
11976 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11977
11978 fi
11979
11980
11981 eval "$wx_cv_use_treectrl"
11982
11983 if test x"$enablestring" = xdisable; then
11984 if test $wxUSE_TREECTRL = yes; then
11985 result=no
11986 else
11987 result=yes
11988 fi
11989 else
11990 result=$wxUSE_TREECTRL
11991 fi
11992
11993 { echo "$as_me:$LINENO: result: $result" >&5
11994 echo "${ECHO_T}$result" >&6; }
11995
11996
11997 enablestring=
11998 defaultval=$wxUSE_ALL_FEATURES
11999 if test -z "$defaultval"; then
12000 if test x"$enablestring" = xdisable; then
12001 defaultval=yes
12002 else
12003 defaultval=no
12004 fi
12005 fi
12006
12007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12008 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12009 # Check whether --enable-tipwindow was given.
12010 if test "${enable_tipwindow+set}" = set; then
12011 enableval=$enable_tipwindow;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12014 else
12015 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12016 fi
12017
12018 else
12019
12020 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12021
12022 fi
12023
12024
12025 eval "$wx_cv_use_tipwindow"
12026
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_TIPWINDOW = yes; then
12029 result=no
12030 else
12031 result=yes
12032 fi
12033 else
12034 result=$wxUSE_TIPWINDOW
12035 fi
12036
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12039
12040
12041 enablestring=
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12045 defaultval=yes
12046 else
12047 defaultval=no
12048 fi
12049 fi
12050
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12053 # Check whether --enable-popupwin was given.
12054 if test "${enable_popupwin+set}" = set; then
12055 enableval=$enable_popupwin;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12058 else
12059 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12060 fi
12061
12062 else
12063
12064 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12065
12066 fi
12067
12068
12069 eval "$wx_cv_use_popupwin"
12070
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_POPUPWIN = yes; then
12073 result=no
12074 else
12075 result=yes
12076 fi
12077 else
12078 result=$wxUSE_POPUPWIN
12079 fi
12080
12081 { echo "$as_me:$LINENO: result: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12083
12084
12085
12086
12087 enablestring=
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12091 defaultval=yes
12092 else
12093 defaultval=no
12094 fi
12095 fi
12096
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12099 # Check whether --enable-commondlg was given.
12100 if test "${enable_commondlg+set}" = set; then
12101 enableval=$enable_commondlg;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12104 else
12105 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12106 fi
12107
12108 else
12109
12110 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12111
12112 fi
12113
12114
12115 eval "$wx_cv_use_commondlg"
12116
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_COMMONDLGS = yes; then
12119 result=no
12120 else
12121 result=yes
12122 fi
12123 else
12124 result=$wxUSE_COMMONDLGS
12125 fi
12126
12127 { echo "$as_me:$LINENO: result: $result" >&5
12128 echo "${ECHO_T}$result" >&6; }
12129
12130
12131 enablestring=
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12135 defaultval=yes
12136 else
12137 defaultval=no
12138 fi
12139 fi
12140
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12143 # Check whether --enable-aboutdlg was given.
12144 if test "${enable_aboutdlg+set}" = set; then
12145 enableval=$enable_aboutdlg;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12148 else
12149 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12150 fi
12151
12152 else
12153
12154 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12155
12156 fi
12157
12158
12159 eval "$wx_cv_use_aboutdlg"
12160
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_ABOUTDLG = yes; then
12163 result=no
12164 else
12165 result=yes
12166 fi
12167 else
12168 result=$wxUSE_ABOUTDLG
12169 fi
12170
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12187 # Check whether --enable-choicedlg was given.
12188 if test "${enable_choicedlg+set}" = set; then
12189 enableval=$enable_choicedlg;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12192 else
12193 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12194 fi
12195
12196 else
12197
12198 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_choicedlg"
12204
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_CHOICEDLG = yes; then
12207 result=no
12208 else
12209 result=yes
12210 fi
12211 else
12212 result=$wxUSE_CHOICEDLG
12213 fi
12214
12215 { echo "$as_me:$LINENO: result: $result" >&5
12216 echo "${ECHO_T}$result" >&6; }
12217
12218
12219 enablestring=
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12223 defaultval=yes
12224 else
12225 defaultval=no
12226 fi
12227 fi
12228
12229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12230 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12231 # Check whether --enable-coldlg was given.
12232 if test "${enable_coldlg+set}" = set; then
12233 enableval=$enable_coldlg;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12236 else
12237 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12238 fi
12239
12240 else
12241
12242 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_coldlg"
12248
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_COLOURDLG = yes; then
12251 result=no
12252 else
12253 result=yes
12254 fi
12255 else
12256 result=$wxUSE_COLOURDLG
12257 fi
12258
12259 { echo "$as_me:$LINENO: result: $result" >&5
12260 echo "${ECHO_T}$result" >&6; }
12261
12262
12263 enablestring=
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12267 defaultval=yes
12268 else
12269 defaultval=no
12270 fi
12271 fi
12272
12273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12274 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12275 # Check whether --enable-filedlg was given.
12276 if test "${enable_filedlg+set}" = set; then
12277 enableval=$enable_filedlg;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12280 else
12281 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12282 fi
12283
12284 else
12285
12286 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12287
12288 fi
12289
12290
12291 eval "$wx_cv_use_filedlg"
12292
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_FILEDLG = yes; then
12295 result=no
12296 else
12297 result=yes
12298 fi
12299 else
12300 result=$wxUSE_FILEDLG
12301 fi
12302
12303 { echo "$as_me:$LINENO: result: $result" >&5
12304 echo "${ECHO_T}$result" >&6; }
12305
12306
12307 enablestring=
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12311 defaultval=yes
12312 else
12313 defaultval=no
12314 fi
12315 fi
12316
12317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12319 # Check whether --enable-finddlg was given.
12320 if test "${enable_finddlg+set}" = set; then
12321 enableval=$enable_finddlg;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12324 else
12325 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12326 fi
12327
12328 else
12329
12330 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12331
12332 fi
12333
12334
12335 eval "$wx_cv_use_finddlg"
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_FINDREPLDLG = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_FINDREPLDLG
12345 fi
12346
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12363 # Check whether --enable-fontdlg was given.
12364 if test "${enable_fontdlg+set}" = set; then
12365 enableval=$enable_fontdlg;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12368 else
12369 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12370 fi
12371
12372 else
12373
12374 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12375
12376 fi
12377
12378
12379 eval "$wx_cv_use_fontdlg"
12380
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_FONTDLG = yes; then
12383 result=no
12384 else
12385 result=yes
12386 fi
12387 else
12388 result=$wxUSE_FONTDLG
12389 fi
12390
12391 { echo "$as_me:$LINENO: result: $result" >&5
12392 echo "${ECHO_T}$result" >&6; }
12393
12394
12395 enablestring=
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12399 defaultval=yes
12400 else
12401 defaultval=no
12402 fi
12403 fi
12404
12405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12406 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12407 # Check whether --enable-dirdlg was given.
12408 if test "${enable_dirdlg+set}" = set; then
12409 enableval=$enable_dirdlg;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12412 else
12413 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12414 fi
12415
12416 else
12417
12418 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_dirdlg"
12424
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_DIRDLG = yes; then
12427 result=no
12428 else
12429 result=yes
12430 fi
12431 else
12432 result=$wxUSE_DIRDLG
12433 fi
12434
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12437
12438
12439 enablestring=
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12443 defaultval=yes
12444 else
12445 defaultval=no
12446 fi
12447 fi
12448
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12451 # Check whether --enable-msgdlg was given.
12452 if test "${enable_msgdlg+set}" = set; then
12453 enableval=$enable_msgdlg;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12456 else
12457 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12458 fi
12459
12460 else
12461
12462 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12463
12464 fi
12465
12466
12467 eval "$wx_cv_use_msgdlg"
12468
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_MSGDLG = yes; then
12471 result=no
12472 else
12473 result=yes
12474 fi
12475 else
12476 result=$wxUSE_MSGDLG
12477 fi
12478
12479 { echo "$as_me:$LINENO: result: $result" >&5
12480 echo "${ECHO_T}$result" >&6; }
12481
12482
12483 enablestring=
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12487 defaultval=yes
12488 else
12489 defaultval=no
12490 fi
12491 fi
12492
12493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12494 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12495 # Check whether --enable-numberdlg was given.
12496 if test "${enable_numberdlg+set}" = set; then
12497 enableval=$enable_numberdlg;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12500 else
12501 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12502 fi
12503
12504 else
12505
12506 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12507
12508 fi
12509
12510
12511 eval "$wx_cv_use_numberdlg"
12512
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_NUMBERDLG = yes; then
12515 result=no
12516 else
12517 result=yes
12518 fi
12519 else
12520 result=$wxUSE_NUMBERDLG
12521 fi
12522
12523 { echo "$as_me:$LINENO: result: $result" >&5
12524 echo "${ECHO_T}$result" >&6; }
12525
12526
12527 enablestring=
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12531 defaultval=yes
12532 else
12533 defaultval=no
12534 fi
12535 fi
12536
12537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12538 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12539 # Check whether --enable-splash was given.
12540 if test "${enable_splash+set}" = set; then
12541 enableval=$enable_splash;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_splash='wxUSE_SPLASH=yes'
12544 else
12545 wx_cv_use_splash='wxUSE_SPLASH=no'
12546 fi
12547
12548 else
12549
12550 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12551
12552 fi
12553
12554
12555 eval "$wx_cv_use_splash"
12556
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_SPLASH = yes; then
12559 result=no
12560 else
12561 result=yes
12562 fi
12563 else
12564 result=$wxUSE_SPLASH
12565 fi
12566
12567 { echo "$as_me:$LINENO: result: $result" >&5
12568 echo "${ECHO_T}$result" >&6; }
12569
12570
12571 enablestring=
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12575 defaultval=yes
12576 else
12577 defaultval=no
12578 fi
12579 fi
12580
12581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12583 # Check whether --enable-textdlg was given.
12584 if test "${enable_textdlg+set}" = set; then
12585 enableval=$enable_textdlg;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12588 else
12589 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12590 fi
12591
12592 else
12593
12594 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_textdlg"
12600
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_TEXTDLG = yes; then
12603 result=no
12604 else
12605 result=yes
12606 fi
12607 else
12608 result=$wxUSE_TEXTDLG
12609 fi
12610
12611 { echo "$as_me:$LINENO: result: $result" >&5
12612 echo "${ECHO_T}$result" >&6; }
12613
12614
12615 enablestring=
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12619 defaultval=yes
12620 else
12621 defaultval=no
12622 fi
12623 fi
12624
12625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12627 # Check whether --enable-tipdlg was given.
12628 if test "${enable_tipdlg+set}" = set; then
12629 enableval=$enable_tipdlg;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12632 else
12633 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12634 fi
12635
12636 else
12637
12638 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12639
12640 fi
12641
12642
12643 eval "$wx_cv_use_tipdlg"
12644
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_STARTUP_TIPS = yes; then
12647 result=no
12648 else
12649 result=yes
12650 fi
12651 else
12652 result=$wxUSE_STARTUP_TIPS
12653 fi
12654
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12657
12658
12659 enablestring=
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12663 defaultval=yes
12664 else
12665 defaultval=no
12666 fi
12667 fi
12668
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12671 # Check whether --enable-progressdlg was given.
12672 if test "${enable_progressdlg+set}" = set; then
12673 enableval=$enable_progressdlg;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12676 else
12677 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12678 fi
12679
12680 else
12681
12682 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12683
12684 fi
12685
12686
12687 eval "$wx_cv_use_progressdlg"
12688
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_PROGRESSDLG = yes; then
12691 result=no
12692 else
12693 result=yes
12694 fi
12695 else
12696 result=$wxUSE_PROGRESSDLG
12697 fi
12698
12699 { echo "$as_me:$LINENO: result: $result" >&5
12700 echo "${ECHO_T}$result" >&6; }
12701
12702
12703 enablestring=
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12707 defaultval=yes
12708 else
12709 defaultval=no
12710 fi
12711 fi
12712
12713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12715 # Check whether --enable-wizarddlg was given.
12716 if test "${enable_wizarddlg+set}" = set; then
12717 enableval=$enable_wizarddlg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12720 else
12721 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12722 fi
12723
12724 else
12725
12726 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12727
12728 fi
12729
12730
12731 eval "$wx_cv_use_wizarddlg"
12732
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_WIZARDDLG = yes; then
12735 result=no
12736 else
12737 result=yes
12738 fi
12739 else
12740 result=$wxUSE_WIZARDDLG
12741 fi
12742
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12745
12746
12747
12748
12749 enablestring=
12750 defaultval=$wxUSE_ALL_FEATURES
12751 if test -z "$defaultval"; then
12752 if test x"$enablestring" = xdisable; then
12753 defaultval=yes
12754 else
12755 defaultval=no
12756 fi
12757 fi
12758
12759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12760 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12761 # Check whether --enable-menus was given.
12762 if test "${enable_menus+set}" = set; then
12763 enableval=$enable_menus;
12764 if test "$enableval" = yes; then
12765 wx_cv_use_menus='wxUSE_MENUS=yes'
12766 else
12767 wx_cv_use_menus='wxUSE_MENUS=no'
12768 fi
12769
12770 else
12771
12772 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12773
12774 fi
12775
12776
12777 eval "$wx_cv_use_menus"
12778
12779 if test x"$enablestring" = xdisable; then
12780 if test $wxUSE_MENUS = yes; then
12781 result=no
12782 else
12783 result=yes
12784 fi
12785 else
12786 result=$wxUSE_MENUS
12787 fi
12788
12789 { echo "$as_me:$LINENO: result: $result" >&5
12790 echo "${ECHO_T}$result" >&6; }
12791
12792
12793 enablestring=
12794 defaultval=$wxUSE_ALL_FEATURES
12795 if test -z "$defaultval"; then
12796 if test x"$enablestring" = xdisable; then
12797 defaultval=yes
12798 else
12799 defaultval=no
12800 fi
12801 fi
12802
12803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12804 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12805 # Check whether --enable-miniframe was given.
12806 if test "${enable_miniframe+set}" = set; then
12807 enableval=$enable_miniframe;
12808 if test "$enableval" = yes; then
12809 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12810 else
12811 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12812 fi
12813
12814 else
12815
12816 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12817
12818 fi
12819
12820
12821 eval "$wx_cv_use_miniframe"
12822
12823 if test x"$enablestring" = xdisable; then
12824 if test $wxUSE_MINIFRAME = yes; then
12825 result=no
12826 else
12827 result=yes
12828 fi
12829 else
12830 result=$wxUSE_MINIFRAME
12831 fi
12832
12833 { echo "$as_me:$LINENO: result: $result" >&5
12834 echo "${ECHO_T}$result" >&6; }
12835
12836
12837 enablestring=
12838 defaultval=$wxUSE_ALL_FEATURES
12839 if test -z "$defaultval"; then
12840 if test x"$enablestring" = xdisable; then
12841 defaultval=yes
12842 else
12843 defaultval=no
12844 fi
12845 fi
12846
12847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12848 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12849 # Check whether --enable-tooltips was given.
12850 if test "${enable_tooltips+set}" = set; then
12851 enableval=$enable_tooltips;
12852 if test "$enableval" = yes; then
12853 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12854 else
12855 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12856 fi
12857
12858 else
12859
12860 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12861
12862 fi
12863
12864
12865 eval "$wx_cv_use_tooltips"
12866
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_TOOLTIPS = yes; then
12869 result=no
12870 else
12871 result=yes
12872 fi
12873 else
12874 result=$wxUSE_TOOLTIPS
12875 fi
12876
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12879
12880
12881 enablestring=
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12885 defaultval=yes
12886 else
12887 defaultval=no
12888 fi
12889 fi
12890
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12893 # Check whether --enable-splines was given.
12894 if test "${enable_splines+set}" = set; then
12895 enableval=$enable_splines;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_splines='wxUSE_SPLINES=yes'
12898 else
12899 wx_cv_use_splines='wxUSE_SPLINES=no'
12900 fi
12901
12902 else
12903
12904 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12905
12906 fi
12907
12908
12909 eval "$wx_cv_use_splines"
12910
12911 if test x"$enablestring" = xdisable; then
12912 if test $wxUSE_SPLINES = yes; then
12913 result=no
12914 else
12915 result=yes
12916 fi
12917 else
12918 result=$wxUSE_SPLINES
12919 fi
12920
12921 { echo "$as_me:$LINENO: result: $result" >&5
12922 echo "${ECHO_T}$result" >&6; }
12923
12924
12925 enablestring=
12926 defaultval=$wxUSE_ALL_FEATURES
12927 if test -z "$defaultval"; then
12928 if test x"$enablestring" = xdisable; then
12929 defaultval=yes
12930 else
12931 defaultval=no
12932 fi
12933 fi
12934
12935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12936 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12937 # Check whether --enable-mousewheel was given.
12938 if test "${enable_mousewheel+set}" = set; then
12939 enableval=$enable_mousewheel;
12940 if test "$enableval" = yes; then
12941 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12942 else
12943 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12944 fi
12945
12946 else
12947
12948 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12949
12950 fi
12951
12952
12953 eval "$wx_cv_use_mousewheel"
12954
12955 if test x"$enablestring" = xdisable; then
12956 if test $wxUSE_MOUSEWHEEL = yes; then
12957 result=no
12958 else
12959 result=yes
12960 fi
12961 else
12962 result=$wxUSE_MOUSEWHEEL
12963 fi
12964
12965 { echo "$as_me:$LINENO: result: $result" >&5
12966 echo "${ECHO_T}$result" >&6; }
12967
12968
12969 enablestring=
12970 defaultval=$wxUSE_ALL_FEATURES
12971 if test -z "$defaultval"; then
12972 if test x"$enablestring" = xdisable; then
12973 defaultval=yes
12974 else
12975 defaultval=no
12976 fi
12977 fi
12978
12979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12980 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12981 # Check whether --enable-validators was given.
12982 if test "${enable_validators+set}" = set; then
12983 enableval=$enable_validators;
12984 if test "$enableval" = yes; then
12985 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12986 else
12987 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12988 fi
12989
12990 else
12991
12992 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12993
12994 fi
12995
12996
12997 eval "$wx_cv_use_validators"
12998
12999 if test x"$enablestring" = xdisable; then
13000 if test $wxUSE_VALIDATORS = yes; then
13001 result=no
13002 else
13003 result=yes
13004 fi
13005 else
13006 result=$wxUSE_VALIDATORS
13007 fi
13008
13009 { echo "$as_me:$LINENO: result: $result" >&5
13010 echo "${ECHO_T}$result" >&6; }
13011
13012
13013 enablestring=
13014 defaultval=$wxUSE_ALL_FEATURES
13015 if test -z "$defaultval"; then
13016 if test x"$enablestring" = xdisable; then
13017 defaultval=yes
13018 else
13019 defaultval=no
13020 fi
13021 fi
13022
13023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13024 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13025 # Check whether --enable-busyinfo was given.
13026 if test "${enable_busyinfo+set}" = set; then
13027 enableval=$enable_busyinfo;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13030 else
13031 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13032 fi
13033
13034 else
13035
13036 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13037
13038 fi
13039
13040
13041 eval "$wx_cv_use_busyinfo"
13042
13043 if test x"$enablestring" = xdisable; then
13044 if test $wxUSE_BUSYINFO = yes; then
13045 result=no
13046 else
13047 result=yes
13048 fi
13049 else
13050 result=$wxUSE_BUSYINFO
13051 fi
13052
13053 { echo "$as_me:$LINENO: result: $result" >&5
13054 echo "${ECHO_T}$result" >&6; }
13055
13056
13057 enablestring=
13058 defaultval=$wxUSE_ALL_FEATURES
13059 if test -z "$defaultval"; then
13060 if test x"$enablestring" = xdisable; then
13061 defaultval=yes
13062 else
13063 defaultval=no
13064 fi
13065 fi
13066
13067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13068 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13069 # Check whether --enable-joystick was given.
13070 if test "${enable_joystick+set}" = set; then
13071 enableval=$enable_joystick;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13074 else
13075 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13076 fi
13077
13078 else
13079
13080 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13081
13082 fi
13083
13084
13085 eval "$wx_cv_use_joystick"
13086
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_JOYSTICK = yes; then
13089 result=no
13090 else
13091 result=yes
13092 fi
13093 else
13094 result=$wxUSE_JOYSTICK
13095 fi
13096
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13099
13100
13101 enablestring=
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13105 defaultval=yes
13106 else
13107 defaultval=no
13108 fi
13109 fi
13110
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13113 # Check whether --enable-metafile was given.
13114 if test "${enable_metafile+set}" = set; then
13115 enableval=$enable_metafile;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13118 else
13119 wx_cv_use_metafile='wxUSE_METAFILE=no'
13120 fi
13121
13122 else
13123
13124 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13125
13126 fi
13127
13128
13129 eval "$wx_cv_use_metafile"
13130
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_METAFILE = yes; then
13133 result=no
13134 else
13135 result=yes
13136 fi
13137 else
13138 result=$wxUSE_METAFILE
13139 fi
13140
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13143
13144
13145 enablestring=
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13149 defaultval=yes
13150 else
13151 defaultval=no
13152 fi
13153 fi
13154
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13157 # Check whether --enable-dragimage was given.
13158 if test "${enable_dragimage+set}" = set; then
13159 enableval=$enable_dragimage;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13162 else
13163 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13164 fi
13165
13166 else
13167
13168 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13169
13170 fi
13171
13172
13173 eval "$wx_cv_use_dragimage"
13174
13175 if test x"$enablestring" = xdisable; then
13176 if test $wxUSE_DRAGIMAGE = yes; then
13177 result=no
13178 else
13179 result=yes
13180 fi
13181 else
13182 result=$wxUSE_DRAGIMAGE
13183 fi
13184
13185 { echo "$as_me:$LINENO: result: $result" >&5
13186 echo "${ECHO_T}$result" >&6; }
13187
13188
13189 enablestring=
13190 defaultval=$wxUSE_ALL_FEATURES
13191 if test -z "$defaultval"; then
13192 if test x"$enablestring" = xdisable; then
13193 defaultval=yes
13194 else
13195 defaultval=no
13196 fi
13197 fi
13198
13199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13200 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13201 # Check whether --enable-accessibility was given.
13202 if test "${enable_accessibility+set}" = set; then
13203 enableval=$enable_accessibility;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13206 else
13207 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13208 fi
13209
13210 else
13211
13212 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13213
13214 fi
13215
13216
13217 eval "$wx_cv_use_accessibility"
13218
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_ACCESSIBILITY = yes; then
13221 result=no
13222 else
13223 result=yes
13224 fi
13225 else
13226 result=$wxUSE_ACCESSIBILITY
13227 fi
13228
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13231
13232
13233
13234
13235 enablestring=
13236 defaultval=$wxUSE_ALL_FEATURES
13237 if test -z "$defaultval"; then
13238 if test x"$enablestring" = xdisable; then
13239 defaultval=yes
13240 else
13241 defaultval=no
13242 fi
13243 fi
13244
13245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13246 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13247 # Check whether --enable-palette was given.
13248 if test "${enable_palette+set}" = set; then
13249 enableval=$enable_palette;
13250 if test "$enableval" = yes; then
13251 wx_cv_use_palette='wxUSE_PALETTE=yes'
13252 else
13253 wx_cv_use_palette='wxUSE_PALETTE=no'
13254 fi
13255
13256 else
13257
13258 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13259
13260 fi
13261
13262
13263 eval "$wx_cv_use_palette"
13264
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_PALETTE = yes; then
13267 result=no
13268 else
13269 result=yes
13270 fi
13271 else
13272 result=$wxUSE_PALETTE
13273 fi
13274
13275 { echo "$as_me:$LINENO: result: $result" >&5
13276 echo "${ECHO_T}$result" >&6; }
13277
13278
13279 enablestring=
13280 defaultval=$wxUSE_ALL_FEATURES
13281 if test -z "$defaultval"; then
13282 if test x"$enablestring" = xdisable; then
13283 defaultval=yes
13284 else
13285 defaultval=no
13286 fi
13287 fi
13288
13289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13290 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13291 # Check whether --enable-image was given.
13292 if test "${enable_image+set}" = set; then
13293 enableval=$enable_image;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_image='wxUSE_IMAGE=yes'
13296 else
13297 wx_cv_use_image='wxUSE_IMAGE=no'
13298 fi
13299
13300 else
13301
13302 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13303
13304 fi
13305
13306
13307 eval "$wx_cv_use_image"
13308
13309 if test x"$enablestring" = xdisable; then
13310 if test $wxUSE_IMAGE = yes; then
13311 result=no
13312 else
13313 result=yes
13314 fi
13315 else
13316 result=$wxUSE_IMAGE
13317 fi
13318
13319 { echo "$as_me:$LINENO: result: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13321
13322
13323 enablestring=
13324 defaultval=$wxUSE_ALL_FEATURES
13325 if test -z "$defaultval"; then
13326 if test x"$enablestring" = xdisable; then
13327 defaultval=yes
13328 else
13329 defaultval=no
13330 fi
13331 fi
13332
13333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13334 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13335 # Check whether --enable-gif was given.
13336 if test "${enable_gif+set}" = set; then
13337 enableval=$enable_gif;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_gif='wxUSE_GIF=yes'
13340 else
13341 wx_cv_use_gif='wxUSE_GIF=no'
13342 fi
13343
13344 else
13345
13346 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13347
13348 fi
13349
13350
13351 eval "$wx_cv_use_gif"
13352
13353 if test x"$enablestring" = xdisable; then
13354 if test $wxUSE_GIF = yes; then
13355 result=no
13356 else
13357 result=yes
13358 fi
13359 else
13360 result=$wxUSE_GIF
13361 fi
13362
13363 { echo "$as_me:$LINENO: result: $result" >&5
13364 echo "${ECHO_T}$result" >&6; }
13365
13366
13367 enablestring=
13368 defaultval=$wxUSE_ALL_FEATURES
13369 if test -z "$defaultval"; then
13370 if test x"$enablestring" = xdisable; then
13371 defaultval=yes
13372 else
13373 defaultval=no
13374 fi
13375 fi
13376
13377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13378 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13379 # Check whether --enable-pcx was given.
13380 if test "${enable_pcx+set}" = set; then
13381 enableval=$enable_pcx;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_pcx='wxUSE_PCX=yes'
13384 else
13385 wx_cv_use_pcx='wxUSE_PCX=no'
13386 fi
13387
13388 else
13389
13390 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13391
13392 fi
13393
13394
13395 eval "$wx_cv_use_pcx"
13396
13397 if test x"$enablestring" = xdisable; then
13398 if test $wxUSE_PCX = yes; then
13399 result=no
13400 else
13401 result=yes
13402 fi
13403 else
13404 result=$wxUSE_PCX
13405 fi
13406
13407 { echo "$as_me:$LINENO: result: $result" >&5
13408 echo "${ECHO_T}$result" >&6; }
13409
13410
13411 enablestring=
13412 defaultval=$wxUSE_ALL_FEATURES
13413 if test -z "$defaultval"; then
13414 if test x"$enablestring" = xdisable; then
13415 defaultval=yes
13416 else
13417 defaultval=no
13418 fi
13419 fi
13420
13421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13422 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13423 # Check whether --enable-tga was given.
13424 if test "${enable_tga+set}" = set; then
13425 enableval=$enable_tga;
13426 if test "$enableval" = yes; then
13427 wx_cv_use_tga='wxUSE_TGA=yes'
13428 else
13429 wx_cv_use_tga='wxUSE_TGA=no'
13430 fi
13431
13432 else
13433
13434 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13435
13436 fi
13437
13438
13439 eval "$wx_cv_use_tga"
13440
13441 if test x"$enablestring" = xdisable; then
13442 if test $wxUSE_TGA = yes; then
13443 result=no
13444 else
13445 result=yes
13446 fi
13447 else
13448 result=$wxUSE_TGA
13449 fi
13450
13451 { echo "$as_me:$LINENO: result: $result" >&5
13452 echo "${ECHO_T}$result" >&6; }
13453
13454
13455 enablestring=
13456 defaultval=$wxUSE_ALL_FEATURES
13457 if test -z "$defaultval"; then
13458 if test x"$enablestring" = xdisable; then
13459 defaultval=yes
13460 else
13461 defaultval=no
13462 fi
13463 fi
13464
13465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13466 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13467 # Check whether --enable-iff was given.
13468 if test "${enable_iff+set}" = set; then
13469 enableval=$enable_iff;
13470 if test "$enableval" = yes; then
13471 wx_cv_use_iff='wxUSE_IFF=yes'
13472 else
13473 wx_cv_use_iff='wxUSE_IFF=no'
13474 fi
13475
13476 else
13477
13478 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13479
13480 fi
13481
13482
13483 eval "$wx_cv_use_iff"
13484
13485 if test x"$enablestring" = xdisable; then
13486 if test $wxUSE_IFF = yes; then
13487 result=no
13488 else
13489 result=yes
13490 fi
13491 else
13492 result=$wxUSE_IFF
13493 fi
13494
13495 { echo "$as_me:$LINENO: result: $result" >&5
13496 echo "${ECHO_T}$result" >&6; }
13497
13498
13499 enablestring=
13500 defaultval=$wxUSE_ALL_FEATURES
13501 if test -z "$defaultval"; then
13502 if test x"$enablestring" = xdisable; then
13503 defaultval=yes
13504 else
13505 defaultval=no
13506 fi
13507 fi
13508
13509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13510 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13511 # Check whether --enable-pnm was given.
13512 if test "${enable_pnm+set}" = set; then
13513 enableval=$enable_pnm;
13514 if test "$enableval" = yes; then
13515 wx_cv_use_pnm='wxUSE_PNM=yes'
13516 else
13517 wx_cv_use_pnm='wxUSE_PNM=no'
13518 fi
13519
13520 else
13521
13522 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13523
13524 fi
13525
13526
13527 eval "$wx_cv_use_pnm"
13528
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_PNM = yes; then
13531 result=no
13532 else
13533 result=yes
13534 fi
13535 else
13536 result=$wxUSE_PNM
13537 fi
13538
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13541
13542
13543 enablestring=
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13547 defaultval=yes
13548 else
13549 defaultval=no
13550 fi
13551 fi
13552
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13555 # Check whether --enable-xpm was given.
13556 if test "${enable_xpm+set}" = set; then
13557 enableval=$enable_xpm;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_xpm='wxUSE_XPM=yes'
13560 else
13561 wx_cv_use_xpm='wxUSE_XPM=no'
13562 fi
13563
13564 else
13565
13566 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13567
13568 fi
13569
13570
13571 eval "$wx_cv_use_xpm"
13572
13573 if test x"$enablestring" = xdisable; then
13574 if test $wxUSE_XPM = yes; then
13575 result=no
13576 else
13577 result=yes
13578 fi
13579 else
13580 result=$wxUSE_XPM
13581 fi
13582
13583 { echo "$as_me:$LINENO: result: $result" >&5
13584 echo "${ECHO_T}$result" >&6; }
13585
13586
13587 enablestring=
13588 defaultval=$wxUSE_ALL_FEATURES
13589 if test -z "$defaultval"; then
13590 if test x"$enablestring" = xdisable; then
13591 defaultval=yes
13592 else
13593 defaultval=no
13594 fi
13595 fi
13596
13597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13598 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13599 # Check whether --enable-ico_cur was given.
13600 if test "${enable_ico_cur+set}" = set; then
13601 enableval=$enable_ico_cur;
13602 if test "$enableval" = yes; then
13603 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13604 else
13605 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13606 fi
13607
13608 else
13609
13610 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13611
13612 fi
13613
13614
13615 eval "$wx_cv_use_ico_cur"
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_ICO_CUR = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_ICO_CUR
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631
13632
13633 enablestring=
13634 defaultval=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x"$enablestring" = xdisable; then
13637 defaultval=yes
13638 else
13639 defaultval=no
13640 fi
13641 fi
13642
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13645 # Check whether --enable-dccache was given.
13646 if test "${enable_dccache+set}" = set; then
13647 enableval=$enable_dccache;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13650 else
13651 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13652 fi
13653
13654 else
13655
13656 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13657
13658 fi
13659
13660
13661 eval "$wx_cv_use_dccache"
13662
13663 if test x"$enablestring" = xdisable; then
13664 if test $wxUSE_DC_CACHEING = yes; then
13665 result=no
13666 else
13667 result=yes
13668 fi
13669 else
13670 result=$wxUSE_DC_CACHEING
13671 fi
13672
13673 { echo "$as_me:$LINENO: result: $result" >&5
13674 echo "${ECHO_T}$result" >&6; }
13675
13676
13677 enablestring=
13678 defaultval=$wxUSE_ALL_FEATURES
13679 if test -z "$defaultval"; then
13680 if test x"$enablestring" = xdisable; then
13681 defaultval=yes
13682 else
13683 defaultval=no
13684 fi
13685 fi
13686
13687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13688 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13689 # Check whether --enable-ps-in-msw was given.
13690 if test "${enable_ps_in_msw+set}" = set; then
13691 enableval=$enable_ps_in_msw;
13692 if test "$enableval" = yes; then
13693 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13694 else
13695 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13696 fi
13697
13698 else
13699
13700 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13701
13702 fi
13703
13704
13705 eval "$wx_cv_use_ps_in_msw"
13706
13707 if test x"$enablestring" = xdisable; then
13708 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13709 result=no
13710 else
13711 result=yes
13712 fi
13713 else
13714 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13715 fi
13716
13717 { echo "$as_me:$LINENO: result: $result" >&5
13718 echo "${ECHO_T}$result" >&6; }
13719
13720
13721 enablestring=
13722 defaultval=$wxUSE_ALL_FEATURES
13723 if test -z "$defaultval"; then
13724 if test x"$enablestring" = xdisable; then
13725 defaultval=yes
13726 else
13727 defaultval=no
13728 fi
13729 fi
13730
13731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13732 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13733 # Check whether --enable-ownerdrawn was given.
13734 if test "${enable_ownerdrawn+set}" = set; then
13735 enableval=$enable_ownerdrawn;
13736 if test "$enableval" = yes; then
13737 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13738 else
13739 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13740 fi
13741
13742 else
13743
13744 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13745
13746 fi
13747
13748
13749 eval "$wx_cv_use_ownerdrawn"
13750
13751 if test x"$enablestring" = xdisable; then
13752 if test $wxUSE_OWNER_DRAWN = yes; then
13753 result=no
13754 else
13755 result=yes
13756 fi
13757 else
13758 result=$wxUSE_OWNER_DRAWN
13759 fi
13760
13761 { echo "$as_me:$LINENO: result: $result" >&5
13762 echo "${ECHO_T}$result" >&6; }
13763
13764
13765 enablestring=
13766 defaultval=$wxUSE_ALL_FEATURES
13767 if test -z "$defaultval"; then
13768 if test x"$enablestring" = xdisable; then
13769 defaultval=yes
13770 else
13771 defaultval=no
13772 fi
13773 fi
13774
13775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13777 # Check whether --enable-uxtheme was given.
13778 if test "${enable_uxtheme+set}" = set; then
13779 enableval=$enable_uxtheme;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13782 else
13783 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13784 fi
13785
13786 else
13787
13788 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13789
13790 fi
13791
13792
13793 eval "$wx_cv_use_uxtheme"
13794
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_UXTHEME = yes; then
13797 result=no
13798 else
13799 result=yes
13800 fi
13801 else
13802 result=$wxUSE_UXTHEME
13803 fi
13804
13805 { echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13807
13808
13809 enablestring=
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13813 defaultval=yes
13814 else
13815 defaultval=no
13816 fi
13817 fi
13818
13819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13821 # Check whether --enable-wxdib was given.
13822 if test "${enable_wxdib+set}" = set; then
13823 enableval=$enable_wxdib;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_wxdib='wxUSE_DIB=yes'
13826 else
13827 wx_cv_use_wxdib='wxUSE_DIB=no'
13828 fi
13829
13830 else
13831
13832 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13833
13834 fi
13835
13836
13837 eval "$wx_cv_use_wxdib"
13838
13839 if test x"$enablestring" = xdisable; then
13840 if test $wxUSE_DIB = yes; then
13841 result=no
13842 else
13843 result=yes
13844 fi
13845 else
13846 result=$wxUSE_DIB
13847 fi
13848
13849 { echo "$as_me:$LINENO: result: $result" >&5
13850 echo "${ECHO_T}$result" >&6; }
13851
13852
13853 if test "$wxUSE_MSW" != 1; then
13854 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13855 fi
13856
13857
13858 enablestring=
13859 defaultval=$wxUSE_ALL_FEATURES
13860 if test -z "$defaultval"; then
13861 if test x"$enablestring" = xdisable; then
13862 defaultval=yes
13863 else
13864 defaultval=no
13865 fi
13866 fi
13867
13868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13869 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13870 # Check whether --enable-autoidman was given.
13871 if test "${enable_autoidman+set}" = set; then
13872 enableval=$enable_autoidman;
13873 if test "$enableval" = yes; then
13874 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13875 else
13876 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13877 fi
13878
13879 else
13880
13881 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13882
13883 fi
13884
13885
13886 eval "$wx_cv_use_autoidman"
13887
13888 if test x"$enablestring" = xdisable; then
13889 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13890 result=no
13891 else
13892 result=yes
13893 fi
13894 else
13895 result=$wxUSE_AUTOID_MANAGEMENT
13896 fi
13897
13898 { echo "$as_me:$LINENO: result: $result" >&5
13899 echo "${ECHO_T}$result" >&6; }
13900
13901
13902 fi
13903
13904
13905 cat >confcache <<\_ACEOF
13906 # This file is a shell script that caches the results of configure
13907 # tests run on this system so they can be shared between configure
13908 # scripts and configure runs, see configure's option --config-cache.
13909 # It is not useful on other systems. If it contains results you don't
13910 # want to keep, you may remove or edit it.
13911 #
13912 # config.status only pays attention to the cache file if you give it
13913 # the --recheck option to rerun configure.
13914 #
13915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13917 # following values.
13918
13919 _ACEOF
13920
13921 # The following way of writing the cache mishandles newlines in values,
13922 # but we know of no workaround that is simple, portable, and efficient.
13923 # So, we kill variables containing newlines.
13924 # Ultrix sh set writes to stderr and can't be redirected directly,
13925 # and sets the high bit in the cache file unless we assign to the vars.
13926 (
13927 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13928 eval ac_val=\$$ac_var
13929 case $ac_val in #(
13930 *${as_nl}*)
13931 case $ac_var in #(
13932 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13933 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13934 esac
13935 case $ac_var in #(
13936 _ | IFS | as_nl) ;; #(
13937 *) $as_unset $ac_var ;;
13938 esac ;;
13939 esac
13940 done
13941
13942 (set) 2>&1 |
13943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13944 *${as_nl}ac_space=\ *)
13945 # `set' does not quote correctly, so add quotes (double-quote
13946 # substitution turns \\\\ into \\, and sed turns \\ into \).
13947 sed -n \
13948 "s/'/'\\\\''/g;
13949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13950 ;; #(
13951 *)
13952 # `set' quotes correctly as required by POSIX, so do not add quotes.
13953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13954 ;;
13955 esac |
13956 sort
13957 ) |
13958 sed '
13959 /^ac_cv_env_/b end
13960 t clear
13961 :clear
13962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13963 t end
13964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13965 :end' >>confcache
13966 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13967 if test -w "$cache_file"; then
13968 test "x$cache_file" != "x/dev/null" &&
13969 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13970 echo "$as_me: updating cache $cache_file" >&6;}
13971 cat confcache >$cache_file
13972 else
13973 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13974 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13975 fi
13976 fi
13977 rm -f confcache
13978
13979 CFLAGS=${CFLAGS:=}
13980
13981
13982
13983 ac_ext=c
13984 ac_cpp='$CPP $CPPFLAGS'
13985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13988 if test -n "$ac_tool_prefix"; then
13989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13993 if test "${ac_cv_prog_CC+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 else
13996 if test -n "$CC"; then
13997 ac_cv_prog_CC="$CC" # Let the user override the test.
13998 else
13999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14000 for as_dir in $PATH
14001 do
14002 IFS=$as_save_IFS
14003 test -z "$as_dir" && as_dir=.
14004 for ac_exec_ext in '' $ac_executable_extensions; do
14005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14006 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14008 break 2
14009 fi
14010 done
14011 done
14012 IFS=$as_save_IFS
14013
14014 fi
14015 fi
14016 CC=$ac_cv_prog_CC
14017 if test -n "$CC"; then
14018 { echo "$as_me:$LINENO: result: $CC" >&5
14019 echo "${ECHO_T}$CC" >&6; }
14020 else
14021 { echo "$as_me:$LINENO: result: no" >&5
14022 echo "${ECHO_T}no" >&6; }
14023 fi
14024
14025
14026 fi
14027 if test -z "$ac_cv_prog_CC"; then
14028 ac_ct_CC=$CC
14029 # Extract the first word of "gcc", so it can be a program name with args.
14030 set dummy gcc; ac_word=$2
14031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 else
14036 if test -n "$ac_ct_CC"; then
14037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14038 else
14039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14040 for as_dir in $PATH
14041 do
14042 IFS=$as_save_IFS
14043 test -z "$as_dir" && as_dir=.
14044 for ac_exec_ext in '' $ac_executable_extensions; do
14045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14046 ac_cv_prog_ac_ct_CC="gcc"
14047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14048 break 2
14049 fi
14050 done
14051 done
14052 IFS=$as_save_IFS
14053
14054 fi
14055 fi
14056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14057 if test -n "$ac_ct_CC"; then
14058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14059 echo "${ECHO_T}$ac_ct_CC" >&6; }
14060 else
14061 { echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6; }
14063 fi
14064
14065 if test "x$ac_ct_CC" = x; then
14066 CC=""
14067 else
14068 case $cross_compiling:$ac_tool_warned in
14069 yes:)
14070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14071 whose name does not start with the host triplet. If you think this
14072 configuration is useful to you, please write to autoconf@gnu.org." >&5
14073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14074 whose name does not start with the host triplet. If you think this
14075 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14076 ac_tool_warned=yes ;;
14077 esac
14078 CC=$ac_ct_CC
14079 fi
14080 else
14081 CC="$ac_cv_prog_CC"
14082 fi
14083
14084 if test -z "$CC"; then
14085 if test -n "$ac_tool_prefix"; then
14086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14087 set dummy ${ac_tool_prefix}cc; ac_word=$2
14088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14090 if test "${ac_cv_prog_CC+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 else
14093 if test -n "$CC"; then
14094 ac_cv_prog_CC="$CC" # Let the user override the test.
14095 else
14096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14097 for as_dir in $PATH
14098 do
14099 IFS=$as_save_IFS
14100 test -z "$as_dir" && as_dir=.
14101 for ac_exec_ext in '' $ac_executable_extensions; do
14102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14103 ac_cv_prog_CC="${ac_tool_prefix}cc"
14104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14105 break 2
14106 fi
14107 done
14108 done
14109 IFS=$as_save_IFS
14110
14111 fi
14112 fi
14113 CC=$ac_cv_prog_CC
14114 if test -n "$CC"; then
14115 { echo "$as_me:$LINENO: result: $CC" >&5
14116 echo "${ECHO_T}$CC" >&6; }
14117 else
14118 { echo "$as_me:$LINENO: result: no" >&5
14119 echo "${ECHO_T}no" >&6; }
14120 fi
14121
14122
14123 fi
14124 fi
14125 if test -z "$CC"; then
14126 # Extract the first word of "cc", so it can be a program name with args.
14127 set dummy cc; ac_word=$2
14128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14130 if test "${ac_cv_prog_CC+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 else
14133 if test -n "$CC"; then
14134 ac_cv_prog_CC="$CC" # Let the user override the test.
14135 else
14136 ac_prog_rejected=no
14137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14138 for as_dir in $PATH
14139 do
14140 IFS=$as_save_IFS
14141 test -z "$as_dir" && as_dir=.
14142 for ac_exec_ext in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14145 ac_prog_rejected=yes
14146 continue
14147 fi
14148 ac_cv_prog_CC="cc"
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14150 break 2
14151 fi
14152 done
14153 done
14154 IFS=$as_save_IFS
14155
14156 if test $ac_prog_rejected = yes; then
14157 # We found a bogon in the path, so make sure we never use it.
14158 set dummy $ac_cv_prog_CC
14159 shift
14160 if test $# != 0; then
14161 # We chose a different compiler from the bogus one.
14162 # However, it has the same basename, so the bogon will be chosen
14163 # first if we set CC to just the basename; use the full file name.
14164 shift
14165 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14166 fi
14167 fi
14168 fi
14169 fi
14170 CC=$ac_cv_prog_CC
14171 if test -n "$CC"; then
14172 { echo "$as_me:$LINENO: result: $CC" >&5
14173 echo "${ECHO_T}$CC" >&6; }
14174 else
14175 { echo "$as_me:$LINENO: result: no" >&5
14176 echo "${ECHO_T}no" >&6; }
14177 fi
14178
14179
14180 fi
14181 if test -z "$CC"; then
14182 if test -n "$ac_tool_prefix"; then
14183 for ac_prog in cl.exe
14184 do
14185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14189 if test "${ac_cv_prog_CC+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 if test -n "$CC"; then
14193 ac_cv_prog_CC="$CC" # Let the user override the test.
14194 else
14195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14197 do
14198 IFS=$as_save_IFS
14199 test -z "$as_dir" && as_dir=.
14200 for ac_exec_ext in '' $ac_executable_extensions; do
14201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14202 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14204 break 2
14205 fi
14206 done
14207 done
14208 IFS=$as_save_IFS
14209
14210 fi
14211 fi
14212 CC=$ac_cv_prog_CC
14213 if test -n "$CC"; then
14214 { echo "$as_me:$LINENO: result: $CC" >&5
14215 echo "${ECHO_T}$CC" >&6; }
14216 else
14217 { echo "$as_me:$LINENO: result: no" >&5
14218 echo "${ECHO_T}no" >&6; }
14219 fi
14220
14221
14222 test -n "$CC" && break
14223 done
14224 fi
14225 if test -z "$CC"; then
14226 ac_ct_CC=$CC
14227 for ac_prog in cl.exe
14228 do
14229 # Extract the first word of "$ac_prog", so it can be a program name with args.
14230 set dummy $ac_prog; ac_word=$2
14231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 else
14236 if test -n "$ac_ct_CC"; then
14237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14238 else
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14241 do
14242 IFS=$as_save_IFS
14243 test -z "$as_dir" && as_dir=.
14244 for ac_exec_ext in '' $ac_executable_extensions; do
14245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14246 ac_cv_prog_ac_ct_CC="$ac_prog"
14247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14248 break 2
14249 fi
14250 done
14251 done
14252 IFS=$as_save_IFS
14253
14254 fi
14255 fi
14256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14257 if test -n "$ac_ct_CC"; then
14258 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14259 echo "${ECHO_T}$ac_ct_CC" >&6; }
14260 else
14261 { echo "$as_me:$LINENO: result: no" >&5
14262 echo "${ECHO_T}no" >&6; }
14263 fi
14264
14265
14266 test -n "$ac_ct_CC" && break
14267 done
14268
14269 if test "x$ac_ct_CC" = x; then
14270 CC=""
14271 else
14272 case $cross_compiling:$ac_tool_warned in
14273 yes:)
14274 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14275 whose name does not start with the host triplet. If you think this
14276 configuration is useful to you, please write to autoconf@gnu.org." >&5
14277 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14278 whose name does not start with the host triplet. If you think this
14279 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14280 ac_tool_warned=yes ;;
14281 esac
14282 CC=$ac_ct_CC
14283 fi
14284 fi
14285
14286 fi
14287
14288
14289 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14290 See \`config.log' for more details." >&5
14291 echo "$as_me: error: no acceptable C compiler found in \$PATH
14292 See \`config.log' for more details." >&2;}
14293 { (exit 1); exit 1; }; }
14294
14295 # Provide some information about the compiler.
14296 echo "$as_me:$LINENO: checking for C compiler version" >&5
14297 ac_compiler=`set X $ac_compile; echo $2`
14298 { (ac_try="$ac_compiler --version >&5"
14299 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14302 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_compiler --version >&5") 2>&5
14305 ac_status=$?
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }
14308 { (ac_try="$ac_compiler -v >&5"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14312 esac
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compiler -v >&5") 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }
14318 { (ac_try="$ac_compiler -V >&5"
14319 case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14322 esac
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_compiler -V >&5") 2>&5
14325 ac_status=$?
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }
14328
14329 cat >conftest.$ac_ext <<_ACEOF
14330 /* confdefs.h. */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335
14336 int
14337 main ()
14338 {
14339
14340 ;
14341 return 0;
14342 }
14343 _ACEOF
14344 ac_clean_files_save=$ac_clean_files
14345 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14346 # Try to create an executable without -o first, disregard a.out.
14347 # It will help us diagnose broken compilers, and finding out an intuition
14348 # of exeext.
14349 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14350 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14351 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14352 #
14353 # List of possible output files, starting from the most likely.
14354 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14355 # only as a last resort. b.out is created by i960 compilers.
14356 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14357 #
14358 # The IRIX 6 linker writes into existing files which may not be
14359 # executable, retaining their permissions. Remove them first so a
14360 # subsequent execution test works.
14361 ac_rmfiles=
14362 for ac_file in $ac_files
14363 do
14364 case $ac_file in
14365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14366 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14367 esac
14368 done
14369 rm -f $ac_rmfiles
14370
14371 if { (ac_try="$ac_link_default"
14372 case "(($ac_try" in
14373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14374 *) ac_try_echo=$ac_try;;
14375 esac
14376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14377 (eval "$ac_link_default") 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; then
14381 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14382 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14383 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14384 # so that the user can short-circuit this test for compilers unknown to
14385 # Autoconf.
14386 for ac_file in $ac_files ''
14387 do
14388 test -f "$ac_file" || continue
14389 case $ac_file in
14390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14391 ;;
14392 [ab].out )
14393 # We found the default executable, but exeext='' is most
14394 # certainly right.
14395 break;;
14396 *.* )
14397 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14398 then :; else
14399 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14400 fi
14401 # We set ac_cv_exeext here because the later test for it is not
14402 # safe: cross compilers may not add the suffix if given an `-o'
14403 # argument, so we may need to know it at that point already.
14404 # Even if this section looks crufty: it has the advantage of
14405 # actually working.
14406 break;;
14407 * )
14408 break;;
14409 esac
14410 done
14411 test "$ac_cv_exeext" = no && ac_cv_exeext=
14412
14413 else
14414 ac_file=''
14415 fi
14416
14417 { echo "$as_me:$LINENO: result: $ac_file" >&5
14418 echo "${ECHO_T}$ac_file" >&6; }
14419 if test -z "$ac_file"; then
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.$ac_ext >&5
14422
14423 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14424 See \`config.log' for more details." >&5
14425 echo "$as_me: error: C compiler cannot create executables
14426 See \`config.log' for more details." >&2;}
14427 { (exit 77); exit 77; }; }
14428 fi
14429
14430 ac_exeext=$ac_cv_exeext
14431
14432 # Check that the compiler produces executables we can run. If not, either
14433 # the compiler is broken, or we cross compile.
14434 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14435 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14436 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14437 # If not cross compiling, check that we can run a simple program.
14438 if test "$cross_compiling" != yes; then
14439 if { ac_try='./$ac_file'
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_try") 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 cross_compiling=no
14450 else
14451 if test "$cross_compiling" = maybe; then
14452 cross_compiling=yes
14453 else
14454 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14455 If you meant to cross compile, use \`--host'.
14456 See \`config.log' for more details." >&5
14457 echo "$as_me: error: cannot run C compiled programs.
14458 If you meant to cross compile, use \`--host'.
14459 See \`config.log' for more details." >&2;}
14460 { (exit 1); exit 1; }; }
14461 fi
14462 fi
14463 fi
14464 { echo "$as_me:$LINENO: result: yes" >&5
14465 echo "${ECHO_T}yes" >&6; }
14466
14467 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14468 ac_clean_files=$ac_clean_files_save
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14472 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14473 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14474 echo "${ECHO_T}$cross_compiling" >&6; }
14475
14476 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14477 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14478 if { (ac_try="$ac_link"
14479 case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14482 esac
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_link") 2>&5
14485 ac_status=$?
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; then
14488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14490 # work properly (i.e., refer to `conftest.exe'), while it won't with
14491 # `rm'.
14492 for ac_file in conftest.exe conftest conftest.*; do
14493 test -f "$ac_file" || continue
14494 case $ac_file in
14495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14497 break;;
14498 * ) break;;
14499 esac
14500 done
14501 else
14502 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14503 See \`config.log' for more details." >&5
14504 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14505 See \`config.log' for more details." >&2;}
14506 { (exit 1); exit 1; }; }
14507 fi
14508
14509 rm -f conftest$ac_cv_exeext
14510 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14511 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14512
14513 rm -f conftest.$ac_ext
14514 EXEEXT=$ac_cv_exeext
14515 ac_exeext=$EXEEXT
14516 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14517 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14518 if test "${ac_cv_objext+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 else
14521 cat >conftest.$ac_ext <<_ACEOF
14522 /* confdefs.h. */
14523 _ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527
14528 int
14529 main ()
14530 {
14531
14532 ;
14533 return 0;
14534 }
14535 _ACEOF
14536 rm -f conftest.o conftest.obj
14537 if { (ac_try="$ac_compile"
14538 case "(($ac_try" in
14539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14541 esac
14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14543 (eval "$ac_compile") 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; then
14547 for ac_file in conftest.o conftest.obj conftest.*; do
14548 test -f "$ac_file" || continue;
14549 case $ac_file in
14550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14552 break;;
14553 esac
14554 done
14555 else
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14558
14559 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14560 See \`config.log' for more details." >&5
14561 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14562 See \`config.log' for more details." >&2;}
14563 { (exit 1); exit 1; }; }
14564 fi
14565
14566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14567 fi
14568 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14569 echo "${ECHO_T}$ac_cv_objext" >&6; }
14570 OBJEXT=$ac_cv_objext
14571 ac_objext=$OBJEXT
14572 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14573 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14574 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14577 cat >conftest.$ac_ext <<_ACEOF
14578 /* confdefs.h. */
14579 _ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14583
14584 int
14585 main ()
14586 {
14587 #ifndef __GNUC__
14588 choke me
14589 #endif
14590
14591 ;
14592 return 0;
14593 }
14594 _ACEOF
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14600 esac
14601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14603 ac_status=$?
14604 grep -v '^ *+' conftest.er1 >conftest.err
14605 rm -f conftest.er1
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest.$ac_objext; then
14612 ac_compiler_gnu=yes
14613 else
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14616
14617 ac_compiler_gnu=no
14618 fi
14619
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14621 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14622
14623 fi
14624 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14625 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14626 GCC=`test $ac_compiler_gnu = yes && echo yes`
14627 ac_test_CFLAGS=${CFLAGS+set}
14628 ac_save_CFLAGS=$CFLAGS
14629 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14630 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14631 if test "${ac_cv_prog_cc_g+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 else
14634 ac_save_c_werror_flag=$ac_c_werror_flag
14635 ac_c_werror_flag=yes
14636 ac_cv_prog_cc_g=no
14637 CFLAGS="-g"
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644
14645 int
14646 main ()
14647 {
14648
14649 ;
14650 return 0;
14651 }
14652 _ACEOF
14653 rm -f conftest.$ac_objext
14654 if { (ac_try="$ac_compile"
14655 case "(($ac_try" in
14656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14658 esac
14659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14660 (eval "$ac_compile") 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } && {
14667 test -z "$ac_c_werror_flag" ||
14668 test ! -s conftest.err
14669 } && test -s conftest.$ac_objext; then
14670 ac_cv_prog_cc_g=yes
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14674
14675 CFLAGS=""
14676 cat >conftest.$ac_ext <<_ACEOF
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682
14683 int
14684 main ()
14685 {
14686
14687 ;
14688 return 0;
14689 }
14690 _ACEOF
14691 rm -f conftest.$ac_objext
14692 if { (ac_try="$ac_compile"
14693 case "(($ac_try" in
14694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695 *) ac_try_echo=$ac_try;;
14696 esac
14697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14698 (eval "$ac_compile") 2>conftest.er1
14699 ac_status=$?
14700 grep -v '^ *+' conftest.er1 >conftest.err
14701 rm -f conftest.er1
14702 cat conftest.err >&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } && {
14705 test -z "$ac_c_werror_flag" ||
14706 test ! -s conftest.err
14707 } && test -s conftest.$ac_objext; then
14708 :
14709 else
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14712
14713 ac_c_werror_flag=$ac_save_c_werror_flag
14714 CFLAGS="-g"
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721
14722 int
14723 main ()
14724 {
14725
14726 ;
14727 return 0;
14728 }
14729 _ACEOF
14730 rm -f conftest.$ac_objext
14731 if { (ac_try="$ac_compile"
14732 case "(($ac_try" in
14733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14734 *) ac_try_echo=$ac_try;;
14735 esac
14736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14737 (eval "$ac_compile") 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } && {
14744 test -z "$ac_c_werror_flag" ||
14745 test ! -s conftest.err
14746 } && test -s conftest.$ac_objext; then
14747 ac_cv_prog_cc_g=yes
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14751
14752
14753 fi
14754
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 fi
14757
14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 fi
14760
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14762 ac_c_werror_flag=$ac_save_c_werror_flag
14763 fi
14764 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14765 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14766 if test "$ac_test_CFLAGS" = set; then
14767 CFLAGS=$ac_save_CFLAGS
14768 elif test $ac_cv_prog_cc_g = yes; then
14769 if test "$GCC" = yes; then
14770 CFLAGS="-g -O2"
14771 else
14772 CFLAGS="-g"
14773 fi
14774 else
14775 if test "$GCC" = yes; then
14776 CFLAGS="-O2"
14777 else
14778 CFLAGS=
14779 fi
14780 fi
14781 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14782 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14783 if test "${ac_cv_prog_cc_c89+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 else
14786 ac_cv_prog_cc_c89=no
14787 ac_save_CC=$CC
14788 cat >conftest.$ac_ext <<_ACEOF
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <stdarg.h>
14795 #include <stdio.h>
14796 #include <sys/types.h>
14797 #include <sys/stat.h>
14798 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14799 struct buf { int x; };
14800 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14801 static char *e (p, i)
14802 char **p;
14803 int i;
14804 {
14805 return p[i];
14806 }
14807 static char *f (char * (*g) (char **, int), char **p, ...)
14808 {
14809 char *s;
14810 va_list v;
14811 va_start (v,p);
14812 s = g (p, va_arg (v,int));
14813 va_end (v);
14814 return s;
14815 }
14816
14817 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14818 function prototypes and stuff, but not '\xHH' hex character constants.
14819 These don't provoke an error unfortunately, instead are silently treated
14820 as 'x'. The following induces an error, until -std is added to get
14821 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14822 array size at least. It's necessary to write '\x00'==0 to get something
14823 that's true only with -std. */
14824 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14825
14826 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14827 inside strings and character constants. */
14828 #define FOO(x) 'x'
14829 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14830
14831 int test (int i, double x);
14832 struct s1 {int (*f) (int a);};
14833 struct s2 {int (*f) (double a);};
14834 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14835 int argc;
14836 char **argv;
14837 int
14838 main ()
14839 {
14840 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14841 ;
14842 return 0;
14843 }
14844 _ACEOF
14845 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14846 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14847 do
14848 CC="$ac_save_CC $ac_arg"
14849 rm -f conftest.$ac_objext
14850 if { (ac_try="$ac_compile"
14851 case "(($ac_try" in
14852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14853 *) ac_try_echo=$ac_try;;
14854 esac
14855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14856 (eval "$ac_compile") 2>conftest.er1
14857 ac_status=$?
14858 grep -v '^ *+' conftest.er1 >conftest.err
14859 rm -f conftest.er1
14860 cat conftest.err >&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } && {
14863 test -z "$ac_c_werror_flag" ||
14864 test ! -s conftest.err
14865 } && test -s conftest.$ac_objext; then
14866 ac_cv_prog_cc_c89=$ac_arg
14867 else
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14870
14871
14872 fi
14873
14874 rm -f core conftest.err conftest.$ac_objext
14875 test "x$ac_cv_prog_cc_c89" != "xno" && break
14876 done
14877 rm -f conftest.$ac_ext
14878 CC=$ac_save_CC
14879
14880 fi
14881 # AC_CACHE_VAL
14882 case "x$ac_cv_prog_cc_c89" in
14883 x)
14884 { echo "$as_me:$LINENO: result: none needed" >&5
14885 echo "${ECHO_T}none needed" >&6; } ;;
14886 xno)
14887 { echo "$as_me:$LINENO: result: unsupported" >&5
14888 echo "${ECHO_T}unsupported" >&6; } ;;
14889 *)
14890 CC="$CC $ac_cv_prog_cc_c89"
14891 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14892 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14893 esac
14894
14895
14896 ac_ext=c
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14901
14902
14903
14904
14905 ac_ext=c
14906 ac_cpp='$CPP $CPPFLAGS'
14907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14910
14911 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14912 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14913 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14914 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 else
14916 cat >conftest.$ac_ext <<_ACEOF
14917 /* confdefs.h. */
14918 _ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922
14923 int
14924 main ()
14925 {
14926
14927 #ifndef __INTEL_COMPILER
14928 choke me
14929 #endif
14930
14931 ;
14932 return 0;
14933 }
14934 _ACEOF
14935 rm -f conftest.$ac_objext
14936 if { (ac_try="$ac_compile"
14937 case "(($ac_try" in
14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14939 *) ac_try_echo=$ac_try;;
14940 esac
14941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14942 (eval "$ac_compile") 2>conftest.er1
14943 ac_status=$?
14944 grep -v '^ *+' conftest.er1 >conftest.err
14945 rm -f conftest.er1
14946 cat conftest.err >&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } && {
14949 test -z "$ac_c_werror_flag" ||
14950 test ! -s conftest.err
14951 } && test -s conftest.$ac_objext; then
14952 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14956
14957 bakefile_cv_c_compiler___INTEL_COMPILER=no
14958
14959 fi
14960
14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14962
14963
14964 fi
14965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14966 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14967 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14968 :; INTELCC=yes
14969 else
14970 :;
14971 fi
14972 ac_ext=c
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14977
14978
14979
14980
14981 if test "x$GCC" != "xyes"; then
14982 if test "xCC" = "xC"; then
14983 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14984 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14985 if test "${bakefile_cv_c_exto+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h. */
14990 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14994
14995 int
14996 main ()
14997 {
14998
14999 ;
15000 return 0;
15001 }
15002 _ACEOF
15003 rm -f conftest.$ac_objext conftest.$ac_ext.o
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>&5
15006 ac_status=$?
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; then
15009 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15010 case $ac_file in
15011 conftest.$ac_ext.o)
15012 bakefile_cv_c_exto="-ext o"
15013 ;;
15014 *)
15015 ;;
15016 esac
15017 done
15018 else
15019 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15020 See \`config.log' for more details." >&5
15021 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15022 See \`config.log' for more details." >&2;}
15023 { (exit 1); exit 1; }; }
15024
15025 fi
15026
15027 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15028
15029 fi
15030 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15031 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15032 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15033 if test "c" = "c"; then
15034 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15035 fi
15036 if test "c" = "cxx"; then
15037 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15038 fi
15039 fi
15040
15041 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15042 unset ac_cv_prog_cc_g
15043 ac_test_CFLAGS=${CFLAGS+set}
15044 ac_save_CFLAGS=$CFLAGS
15045 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15046 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_cc_g+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 ac_save_c_werror_flag=$ac_c_werror_flag
15051 ac_c_werror_flag=yes
15052 ac_cv_prog_cc_g=no
15053 CFLAGS="-g"
15054 cat >conftest.$ac_ext <<_ACEOF
15055 /* confdefs.h. */
15056 _ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060
15061 int
15062 main ()
15063 {
15064
15065 ;
15066 return 0;
15067 }
15068 _ACEOF
15069 rm -f conftest.$ac_objext
15070 if { (ac_try="$ac_compile"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compile") 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest.$ac_objext; then
15086 ac_cv_prog_cc_g=yes
15087 else
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5
15090
15091 CFLAGS=""
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098
15099 int
15100 main ()
15101 {
15102
15103 ;
15104 return 0;
15105 }
15106 _ACEOF
15107 rm -f conftest.$ac_objext
15108 if { (ac_try="$ac_compile"
15109 case "(($ac_try" in
15110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15111 *) ac_try_echo=$ac_try;;
15112 esac
15113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15114 (eval "$ac_compile") 2>conftest.er1
15115 ac_status=$?
15116 grep -v '^ *+' conftest.er1 >conftest.err
15117 rm -f conftest.er1
15118 cat conftest.err >&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } && {
15121 test -z "$ac_c_werror_flag" ||
15122 test ! -s conftest.err
15123 } && test -s conftest.$ac_objext; then
15124 :
15125 else
15126 echo "$as_me: failed program was:" >&5
15127 sed 's/^/| /' conftest.$ac_ext >&5
15128
15129 ac_c_werror_flag=$ac_save_c_werror_flag
15130 CFLAGS="-g"
15131 cat >conftest.$ac_ext <<_ACEOF
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137
15138 int
15139 main ()
15140 {
15141
15142 ;
15143 return 0;
15144 }
15145 _ACEOF
15146 rm -f conftest.$ac_objext
15147 if { (ac_try="$ac_compile"
15148 case "(($ac_try" in
15149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15150 *) ac_try_echo=$ac_try;;
15151 esac
15152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15153 (eval "$ac_compile") 2>conftest.er1
15154 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } && {
15160 test -z "$ac_c_werror_flag" ||
15161 test ! -s conftest.err
15162 } && test -s conftest.$ac_objext; then
15163 ac_cv_prog_cc_g=yes
15164 else
15165 echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.$ac_ext >&5
15167
15168
15169 fi
15170
15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 fi
15173
15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175 fi
15176
15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 ac_c_werror_flag=$ac_save_c_werror_flag
15179 fi
15180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15182 if test "$ac_test_CFLAGS" = set; then
15183 CFLAGS=$ac_save_CFLAGS
15184 elif test $ac_cv_prog_cc_g = yes; then
15185 if test "$GCC" = yes; then
15186 CFLAGS="-g -O2"
15187 else
15188 CFLAGS="-g"
15189 fi
15190 else
15191 if test "$GCC" = yes; then
15192 CFLAGS="-O2"
15193 else
15194 CFLAGS=
15195 fi
15196 fi
15197 fi
15198 fi
15199
15200 case `uname -s` in
15201 AIX*)
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 Darwin)
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 Metrowerks C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler___MWERKS__+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 __MWERKS__
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___MWERKS__=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 bakefile_cv_c_compiler___MWERKS__=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___MWERKS__" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15346 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15347 :; MWCC=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 ac_ext=c
15362 ac_cpp='$CPP $CPPFLAGS'
15363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15366
15367 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15368 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15369 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 else
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378
15379 int
15380 main ()
15381 {
15382
15383 #ifndef __xlC__
15384 choke me
15385 #endif
15386
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (ac_try="$ac_compile"
15393 case "(($ac_try" in
15394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15395 *) ac_try_echo=$ac_try;;
15396 esac
15397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15398 (eval "$ac_compile") 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } && {
15405 test -z "$ac_c_werror_flag" ||
15406 test ! -s conftest.err
15407 } && test -s conftest.$ac_objext; then
15408 bakefile_cv_c_compiler___xlC__=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413 bakefile_cv_c_compiler___xlC__=no
15414
15415 fi
15416
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418
15419
15420 fi
15421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15422 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15423 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15424 :; XLCC=yes
15425 else
15426 :;
15427 fi
15428 ac_ext=c
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15433
15434
15435
15436 ;;
15437
15438 IRIX*)
15439
15440
15441 ac_ext=c
15442 ac_cpp='$CPP $CPPFLAGS'
15443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15446
15447 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15448 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15449 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 else
15452 cat >conftest.$ac_ext <<_ACEOF
15453 /* confdefs.h. */
15454 _ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458
15459 int
15460 main ()
15461 {
15462
15463 #ifndef _SGI_COMPILER_VERSION
15464 choke me
15465 #endif
15466
15467 ;
15468 return 0;
15469 }
15470 _ACEOF
15471 rm -f conftest.$ac_objext
15472 if { (ac_try="$ac_compile"
15473 case "(($ac_try" in
15474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475 *) ac_try_echo=$ac_try;;
15476 esac
15477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15478 (eval "$ac_compile") 2>conftest.er1
15479 ac_status=$?
15480 grep -v '^ *+' conftest.er1 >conftest.err
15481 rm -f conftest.er1
15482 cat conftest.err >&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } && {
15485 test -z "$ac_c_werror_flag" ||
15486 test ! -s conftest.err
15487 } && test -s conftest.$ac_objext; then
15488 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15489 else
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15492
15493 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15494
15495 fi
15496
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15498
15499
15500 fi
15501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15502 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15503 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15504 :; SGICC=yes
15505 else
15506 :;
15507 fi
15508 ac_ext=c
15509 ac_cpp='$CPP $CPPFLAGS'
15510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15513
15514
15515
15516 ;;
15517
15518 Linux*)
15519
15520
15521 ac_ext=c
15522 ac_cpp='$CPP $CPPFLAGS'
15523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526
15527 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15528 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15529 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 else
15532 cat >conftest.$ac_ext <<_ACEOF
15533 /* confdefs.h. */
15534 _ACEOF
15535 cat confdefs.h >>conftest.$ac_ext
15536 cat >>conftest.$ac_ext <<_ACEOF
15537 /* end confdefs.h. */
15538
15539 int
15540 main ()
15541 {
15542
15543 #ifndef __SUNPRO_C
15544 choke me
15545 #endif
15546
15547 ;
15548 return 0;
15549 }
15550 _ACEOF
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15556 esac
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.$ac_objext; then
15568 bakefile_cv_c_compiler___SUNPRO_C=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 bakefile_cv_c_compiler___SUNPRO_C=no
15574
15575 fi
15576
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578
15579
15580 fi
15581 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15582 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15583 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15584 :; SUNCC=yes
15585 else
15586 :;
15587 fi
15588 ac_ext=c
15589 ac_cpp='$CPP $CPPFLAGS'
15590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15593
15594
15595
15596 ;;
15597
15598 HP-UX*)
15599
15600
15601 ac_ext=c
15602 ac_cpp='$CPP $CPPFLAGS'
15603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606
15607 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15608 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15609 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 else
15612 cat >conftest.$ac_ext <<_ACEOF
15613 /* confdefs.h. */
15614 _ACEOF
15615 cat confdefs.h >>conftest.$ac_ext
15616 cat >>conftest.$ac_ext <<_ACEOF
15617 /* end confdefs.h. */
15618
15619 int
15620 main ()
15621 {
15622
15623 #ifndef __HP_cc
15624 choke me
15625 #endif
15626
15627 ;
15628 return 0;
15629 }
15630 _ACEOF
15631 rm -f conftest.$ac_objext
15632 if { (ac_try="$ac_compile"
15633 case "(($ac_try" in
15634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15635 *) ac_try_echo=$ac_try;;
15636 esac
15637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15638 (eval "$ac_compile") 2>conftest.er1
15639 ac_status=$?
15640 grep -v '^ *+' conftest.er1 >conftest.err
15641 rm -f conftest.er1
15642 cat conftest.err >&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } && {
15645 test -z "$ac_c_werror_flag" ||
15646 test ! -s conftest.err
15647 } && test -s conftest.$ac_objext; then
15648 bakefile_cv_c_compiler___HP_cc=yes
15649 else
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15652
15653 bakefile_cv_c_compiler___HP_cc=no
15654
15655 fi
15656
15657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15658
15659
15660 fi
15661 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15662 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15663 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15664 :; HPCC=yes
15665 else
15666 :;
15667 fi
15668 ac_ext=c
15669 ac_cpp='$CPP $CPPFLAGS'
15670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673
15674
15675
15676 ;;
15677
15678 OSF1)
15679
15680
15681 ac_ext=c
15682 ac_cpp='$CPP $CPPFLAGS'
15683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686
15687 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15688 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15689 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 else
15692 cat >conftest.$ac_ext <<_ACEOF
15693 /* confdefs.h. */
15694 _ACEOF
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15698
15699 int
15700 main ()
15701 {
15702
15703 #ifndef __DECC
15704 choke me
15705 #endif
15706
15707 ;
15708 return 0;
15709 }
15710 _ACEOF
15711 rm -f conftest.$ac_objext
15712 if { (ac_try="$ac_compile"
15713 case "(($ac_try" in
15714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15715 *) ac_try_echo=$ac_try;;
15716 esac
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718 (eval "$ac_compile") 2>conftest.er1
15719 ac_status=$?
15720 grep -v '^ *+' conftest.er1 >conftest.err
15721 rm -f conftest.er1
15722 cat conftest.err >&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } && {
15725 test -z "$ac_c_werror_flag" ||
15726 test ! -s conftest.err
15727 } && test -s conftest.$ac_objext; then
15728 bakefile_cv_c_compiler___DECC=yes
15729 else
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15732
15733 bakefile_cv_c_compiler___DECC=no
15734
15735 fi
15736
15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15738
15739
15740 fi
15741 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15742 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15743 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15744 :; COMPAQCC=yes
15745 else
15746 :;
15747 fi
15748 ac_ext=c
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753
15754
15755
15756 ;;
15757
15758 SunOS)
15759
15760
15761 ac_ext=c
15762 ac_cpp='$CPP $CPPFLAGS'
15763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766
15767 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15768 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15769 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15770 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 else
15772 cat >conftest.$ac_ext <<_ACEOF
15773 /* confdefs.h. */
15774 _ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778
15779 int
15780 main ()
15781 {
15782
15783 #ifndef __SUNPRO_C
15784 choke me
15785 #endif
15786
15787 ;
15788 return 0;
15789 }
15790 _ACEOF
15791 rm -f conftest.$ac_objext
15792 if { (ac_try="$ac_compile"
15793 case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;;
15796 esac
15797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15798 (eval "$ac_compile") 2>conftest.er1
15799 ac_status=$?
15800 grep -v '^ *+' conftest.er1 >conftest.err
15801 rm -f conftest.er1
15802 cat conftest.err >&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } && {
15805 test -z "$ac_c_werror_flag" ||
15806 test ! -s conftest.err
15807 } && test -s conftest.$ac_objext; then
15808 bakefile_cv_c_compiler___SUNPRO_C=yes
15809 else
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15812
15813 bakefile_cv_c_compiler___SUNPRO_C=no
15814
15815 fi
15816
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15818
15819
15820 fi
15821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15822 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15823 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15824 :; SUNCC=yes
15825 else
15826 :;
15827 fi
15828 ac_ext=c
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15833
15834
15835
15836 ;;
15837 esac
15838 fi
15839
15840
15841
15842 ac_ext=c
15843 ac_cpp='$CPP $CPPFLAGS'
15844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15847 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15848 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15849 # On Suns, sometimes $CPP names a directory.
15850 if test -n "$CPP" && test -d "$CPP"; then
15851 CPP=
15852 fi
15853 if test -z "$CPP"; then
15854 if test "${ac_cv_prog_CPP+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 # Double quotes because CPP needs to be expanded
15858 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15859 do
15860 ac_preproc_ok=false
15861 for ac_c_preproc_warn_flag in '' yes
15862 do
15863 # Use a header file that comes with gcc, so configuring glibc
15864 # with a fresh cross-compiler works.
15865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15866 # <limits.h> exists even on freestanding compilers.
15867 # On the NeXT, cc -E runs the code through the compiler's parser,
15868 # not just through cpp. "Syntax error" is here to catch this case.
15869 cat >conftest.$ac_ext <<_ACEOF
15870 /* confdefs.h. */
15871 _ACEOF
15872 cat confdefs.h >>conftest.$ac_ext
15873 cat >>conftest.$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15875 #ifdef __STDC__
15876 # include <limits.h>
15877 #else
15878 # include <assert.h>
15879 #endif
15880 Syntax error
15881 _ACEOF
15882 if { (ac_try="$ac_cpp conftest.$ac_ext"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15886 esac
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15889 ac_status=$?
15890 grep -v '^ *+' conftest.er1 >conftest.err
15891 rm -f conftest.er1
15892 cat conftest.err >&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } >/dev/null && {
15895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15897 }; then
15898 :
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15902
15903 # Broken: fails on valid input.
15904 continue
15905 fi
15906
15907 rm -f conftest.err conftest.$ac_ext
15908
15909 # OK, works on sane cases. Now check whether nonexistent headers
15910 # can be detected and how.
15911 cat >conftest.$ac_ext <<_ACEOF
15912 /* confdefs.h. */
15913 _ACEOF
15914 cat confdefs.h >>conftest.$ac_ext
15915 cat >>conftest.$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 #include <ac_nonexistent.h>
15918 _ACEOF
15919 if { (ac_try="$ac_cpp conftest.$ac_ext"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15923 esac
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } >/dev/null && {
15932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15933 test ! -s conftest.err
15934 }; then
15935 # Broken: success on invalid input.
15936 continue
15937 else
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15940
15941 # Passes both tests.
15942 ac_preproc_ok=:
15943 break
15944 fi
15945
15946 rm -f conftest.err conftest.$ac_ext
15947
15948 done
15949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15950 rm -f conftest.err conftest.$ac_ext
15951 if $ac_preproc_ok; then
15952 break
15953 fi
15954
15955 done
15956 ac_cv_prog_CPP=$CPP
15957
15958 fi
15959 CPP=$ac_cv_prog_CPP
15960 else
15961 ac_cv_prog_CPP=$CPP
15962 fi
15963 { echo "$as_me:$LINENO: result: $CPP" >&5
15964 echo "${ECHO_T}$CPP" >&6; }
15965 ac_preproc_ok=false
15966 for ac_c_preproc_warn_flag in '' yes
15967 do
15968 # Use a header file that comes with gcc, so configuring glibc
15969 # with a fresh cross-compiler works.
15970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15971 # <limits.h> exists even on freestanding compilers.
15972 # On the NeXT, cc -E runs the code through the compiler's parser,
15973 # not just through cpp. "Syntax error" is here to catch this case.
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 #ifdef __STDC__
15981 # include <limits.h>
15982 #else
15983 # include <assert.h>
15984 #endif
15985 Syntax error
15986 _ACEOF
15987 if { (ac_try="$ac_cpp conftest.$ac_ext"
15988 case "(($ac_try" in
15989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15991 esac
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15994 ac_status=$?
15995 grep -v '^ *+' conftest.er1 >conftest.err
15996 rm -f conftest.er1
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } >/dev/null && {
16000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16002 }; then
16003 :
16004 else
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16007
16008 # Broken: fails on valid input.
16009 continue
16010 fi
16011
16012 rm -f conftest.err conftest.$ac_ext
16013
16014 # OK, works on sane cases. Now check whether nonexistent headers
16015 # can be detected and how.
16016 cat >conftest.$ac_ext <<_ACEOF
16017 /* confdefs.h. */
16018 _ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 #include <ac_nonexistent.h>
16023 _ACEOF
16024 if { (ac_try="$ac_cpp conftest.$ac_ext"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16028 esac
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16031 ac_status=$?
16032 grep -v '^ *+' conftest.er1 >conftest.err
16033 rm -f conftest.er1
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } >/dev/null && {
16037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16038 test ! -s conftest.err
16039 }; then
16040 # Broken: success on invalid input.
16041 continue
16042 else
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16045
16046 # Passes both tests.
16047 ac_preproc_ok=:
16048 break
16049 fi
16050
16051 rm -f conftest.err conftest.$ac_ext
16052
16053 done
16054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16055 rm -f conftest.err conftest.$ac_ext
16056 if $ac_preproc_ok; then
16057 :
16058 else
16059 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16060 See \`config.log' for more details." >&5
16061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16062 See \`config.log' for more details." >&2;}
16063 { (exit 1); exit 1; }; }
16064 fi
16065
16066 ac_ext=c
16067 ac_cpp='$CPP $CPPFLAGS'
16068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16071
16072
16073 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16074 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16075 if test "${ac_cv_path_GREP+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 else
16078 # Extract the first word of "grep ggrep" to use in msg output
16079 if test -z "$GREP"; then
16080 set dummy grep ggrep; ac_prog_name=$2
16081 if test "${ac_cv_path_GREP+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else
16084 ac_path_GREP_found=false
16085 # Loop through the user's path and test for each of PROGNAME-LIST
16086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16088 do
16089 IFS=$as_save_IFS
16090 test -z "$as_dir" && as_dir=.
16091 for ac_prog in grep ggrep; do
16092 for ac_exec_ext in '' $ac_executable_extensions; do
16093 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16095 # Check for GNU ac_path_GREP and select it if it is found.
16096 # Check for GNU $ac_path_GREP
16097 case `"$ac_path_GREP" --version 2>&1` in
16098 *GNU*)
16099 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16100 *)
16101 ac_count=0
16102 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16103 while :
16104 do
16105 cat "conftest.in" "conftest.in" >"conftest.tmp"
16106 mv "conftest.tmp" "conftest.in"
16107 cp "conftest.in" "conftest.nl"
16108 echo 'GREP' >> "conftest.nl"
16109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16111 ac_count=`expr $ac_count + 1`
16112 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16113 # Best one so far, save it but keep looking for a better one
16114 ac_cv_path_GREP="$ac_path_GREP"
16115 ac_path_GREP_max=$ac_count
16116 fi
16117 # 10*(2^10) chars as input seems more than enough
16118 test $ac_count -gt 10 && break
16119 done
16120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16121 esac
16122
16123
16124 $ac_path_GREP_found && break 3
16125 done
16126 done
16127
16128 done
16129 IFS=$as_save_IFS
16130
16131
16132 fi
16133
16134 GREP="$ac_cv_path_GREP"
16135 if test -z "$GREP"; then
16136 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16137 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16138 { (exit 1); exit 1; }; }
16139 fi
16140
16141 else
16142 ac_cv_path_GREP=$GREP
16143 fi
16144
16145
16146 fi
16147 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16148 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16149 GREP="$ac_cv_path_GREP"
16150
16151
16152 { echo "$as_me:$LINENO: checking for egrep" >&5
16153 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16154 if test "${ac_cv_path_EGREP+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 else
16157 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16158 then ac_cv_path_EGREP="$GREP -E"
16159 else
16160 # Extract the first word of "egrep" to use in msg output
16161 if test -z "$EGREP"; then
16162 set dummy egrep; ac_prog_name=$2
16163 if test "${ac_cv_path_EGREP+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 else
16166 ac_path_EGREP_found=false
16167 # Loop through the user's path and test for each of PROGNAME-LIST
16168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16170 do
16171 IFS=$as_save_IFS
16172 test -z "$as_dir" && as_dir=.
16173 for ac_prog in egrep; do
16174 for ac_exec_ext in '' $ac_executable_extensions; do
16175 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16176 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16177 # Check for GNU ac_path_EGREP and select it if it is found.
16178 # Check for GNU $ac_path_EGREP
16179 case `"$ac_path_EGREP" --version 2>&1` in
16180 *GNU*)
16181 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16182 *)
16183 ac_count=0
16184 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16185 while :
16186 do
16187 cat "conftest.in" "conftest.in" >"conftest.tmp"
16188 mv "conftest.tmp" "conftest.in"
16189 cp "conftest.in" "conftest.nl"
16190 echo 'EGREP' >> "conftest.nl"
16191 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16193 ac_count=`expr $ac_count + 1`
16194 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16195 # Best one so far, save it but keep looking for a better one
16196 ac_cv_path_EGREP="$ac_path_EGREP"
16197 ac_path_EGREP_max=$ac_count
16198 fi
16199 # 10*(2^10) chars as input seems more than enough
16200 test $ac_count -gt 10 && break
16201 done
16202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16203 esac
16204
16205
16206 $ac_path_EGREP_found && break 3
16207 done
16208 done
16209
16210 done
16211 IFS=$as_save_IFS
16212
16213
16214 fi
16215
16216 EGREP="$ac_cv_path_EGREP"
16217 if test -z "$EGREP"; then
16218 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16219 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16220 { (exit 1); exit 1; }; }
16221 fi
16222
16223 else
16224 ac_cv_path_EGREP=$EGREP
16225 fi
16226
16227
16228 fi
16229 fi
16230 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16231 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16232 EGREP="$ac_cv_path_EGREP"
16233
16234
16235 if test $ac_cv_c_compiler_gnu = yes; then
16236 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16237 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16238 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 ac_pattern="Autoconf.*'x'"
16242 cat >conftest.$ac_ext <<_ACEOF
16243 /* confdefs.h. */
16244 _ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 #include <sgtty.h>
16249 Autoconf TIOCGETP
16250 _ACEOF
16251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16252 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16253 ac_cv_prog_gcc_traditional=yes
16254 else
16255 ac_cv_prog_gcc_traditional=no
16256 fi
16257 rm -f conftest*
16258
16259
16260 if test $ac_cv_prog_gcc_traditional = no; then
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h. */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <termio.h>
16268 Autoconf TCGETA
16269 _ACEOF
16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16272 ac_cv_prog_gcc_traditional=yes
16273 fi
16274 rm -f conftest*
16275
16276 fi
16277 fi
16278 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16279 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16280 if test $ac_cv_prog_gcc_traditional = yes; then
16281 CC="$CC -traditional"
16282 fi
16283 fi
16284
16285
16286 CXXFLAGS=${CXXFLAGS:=}
16287
16288
16289
16290 ac_ext=cpp
16291 ac_cpp='$CXXCPP $CPPFLAGS'
16292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16295 if test -z "$CXX"; then
16296 if test -n "$CCC"; then
16297 CXX=$CCC
16298 else
16299 if test -n "$ac_tool_prefix"; then
16300 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16301 do
16302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16306 if test "${ac_cv_prog_CXX+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 else
16309 if test -n "$CXX"; then
16310 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16311 else
16312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16313 for as_dir in $PATH
16314 do
16315 IFS=$as_save_IFS
16316 test -z "$as_dir" && as_dir=.
16317 for ac_exec_ext in '' $ac_executable_extensions; do
16318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16319 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16321 break 2
16322 fi
16323 done
16324 done
16325 IFS=$as_save_IFS
16326
16327 fi
16328 fi
16329 CXX=$ac_cv_prog_CXX
16330 if test -n "$CXX"; then
16331 { echo "$as_me:$LINENO: result: $CXX" >&5
16332 echo "${ECHO_T}$CXX" >&6; }
16333 else
16334 { echo "$as_me:$LINENO: result: no" >&5
16335 echo "${ECHO_T}no" >&6; }
16336 fi
16337
16338
16339 test -n "$CXX" && break
16340 done
16341 fi
16342 if test -z "$CXX"; then
16343 ac_ct_CXX=$CXX
16344 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16345 do
16346 # Extract the first word of "$ac_prog", so it can be a program name with args.
16347 set dummy $ac_prog; ac_word=$2
16348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16350 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 else
16353 if test -n "$ac_ct_CXX"; then
16354 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16355 else
16356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16357 for as_dir in $PATH
16358 do
16359 IFS=$as_save_IFS
16360 test -z "$as_dir" && as_dir=.
16361 for ac_exec_ext in '' $ac_executable_extensions; do
16362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16363 ac_cv_prog_ac_ct_CXX="$ac_prog"
16364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16365 break 2
16366 fi
16367 done
16368 done
16369 IFS=$as_save_IFS
16370
16371 fi
16372 fi
16373 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16374 if test -n "$ac_ct_CXX"; then
16375 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16376 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16377 else
16378 { echo "$as_me:$LINENO: result: no" >&5
16379 echo "${ECHO_T}no" >&6; }
16380 fi
16381
16382
16383 test -n "$ac_ct_CXX" && break
16384 done
16385
16386 if test "x$ac_ct_CXX" = x; then
16387 CXX="g++"
16388 else
16389 case $cross_compiling:$ac_tool_warned in
16390 yes:)
16391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16392 whose name does not start with the host triplet. If you think this
16393 configuration is useful to you, please write to autoconf@gnu.org." >&5
16394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16395 whose name does not start with the host triplet. If you think this
16396 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16397 ac_tool_warned=yes ;;
16398 esac
16399 CXX=$ac_ct_CXX
16400 fi
16401 fi
16402
16403 fi
16404 fi
16405 # Provide some information about the compiler.
16406 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16407 ac_compiler=`set X $ac_compile; echo $2`
16408 { (ac_try="$ac_compiler --version >&5"
16409 case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412 esac
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_compiler --version >&5") 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }
16418 { (ac_try="$ac_compiler -v >&5"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16422 esac
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_compiler -v >&5") 2>&5
16425 ac_status=$?
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }
16428 { (ac_try="$ac_compiler -V >&5"
16429 case "(($ac_try" in
16430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16432 esac
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_compiler -V >&5") 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }
16438
16439 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16440 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 else
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450
16451 int
16452 main ()
16453 {
16454 #ifndef __GNUC__
16455 choke me
16456 #endif
16457
16458 ;
16459 return 0;
16460 }
16461 _ACEOF
16462 rm -f conftest.$ac_objext
16463 if { (ac_try="$ac_compile"
16464 case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16467 esac
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_compile") 2>conftest.er1
16470 ac_status=$?
16471 grep -v '^ *+' conftest.er1 >conftest.err
16472 rm -f conftest.er1
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } && {
16476 test -z "$ac_cxx_werror_flag" ||
16477 test ! -s conftest.err
16478 } && test -s conftest.$ac_objext; then
16479 ac_compiler_gnu=yes
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16483
16484 ac_compiler_gnu=no
16485 fi
16486
16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16489
16490 fi
16491 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16492 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16493 GXX=`test $ac_compiler_gnu = yes && echo yes`
16494 ac_test_CXXFLAGS=${CXXFLAGS+set}
16495 ac_save_CXXFLAGS=$CXXFLAGS
16496 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16497 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16498 if test "${ac_cv_prog_cxx_g+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 else
16501 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16502 ac_cxx_werror_flag=yes
16503 ac_cv_prog_cxx_g=no
16504 CXXFLAGS="-g"
16505 cat >conftest.$ac_ext <<_ACEOF
16506 /* confdefs.h. */
16507 _ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511
16512 int
16513 main ()
16514 {
16515
16516 ;
16517 return 0;
16518 }
16519 _ACEOF
16520 rm -f conftest.$ac_objext
16521 if { (ac_try="$ac_compile"
16522 case "(($ac_try" in
16523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16525 esac
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_compile") 2>conftest.er1
16528 ac_status=$?
16529 grep -v '^ *+' conftest.er1 >conftest.err
16530 rm -f conftest.er1
16531 cat conftest.err >&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } && {
16534 test -z "$ac_cxx_werror_flag" ||
16535 test ! -s conftest.err
16536 } && test -s conftest.$ac_objext; then
16537 ac_cv_prog_cxx_g=yes
16538 else
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16541
16542 CXXFLAGS=""
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549
16550 int
16551 main ()
16552 {
16553
16554 ;
16555 return 0;
16556 }
16557 _ACEOF
16558 rm -f conftest.$ac_objext
16559 if { (ac_try="$ac_compile"
16560 case "(($ac_try" in
16561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16562 *) ac_try_echo=$ac_try;;
16563 esac
16564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16565 (eval "$ac_compile") 2>conftest.er1
16566 ac_status=$?
16567 grep -v '^ *+' conftest.er1 >conftest.err
16568 rm -f conftest.er1
16569 cat conftest.err >&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); } && {
16572 test -z "$ac_cxx_werror_flag" ||
16573 test ! -s conftest.err
16574 } && test -s conftest.$ac_objext; then
16575 :
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16581 CXXFLAGS="-g"
16582 cat >conftest.$ac_ext <<_ACEOF
16583 /* confdefs.h. */
16584 _ACEOF
16585 cat confdefs.h >>conftest.$ac_ext
16586 cat >>conftest.$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588
16589 int
16590 main ()
16591 {
16592
16593 ;
16594 return 0;
16595 }
16596 _ACEOF
16597 rm -f conftest.$ac_objext
16598 if { (ac_try="$ac_compile"
16599 case "(($ac_try" in
16600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16601 *) ac_try_echo=$ac_try;;
16602 esac
16603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16604 (eval "$ac_compile") 2>conftest.er1
16605 ac_status=$?
16606 grep -v '^ *+' conftest.er1 >conftest.err
16607 rm -f conftest.er1
16608 cat conftest.err >&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } && {
16611 test -z "$ac_cxx_werror_flag" ||
16612 test ! -s conftest.err
16613 } && test -s conftest.$ac_objext; then
16614 ac_cv_prog_cxx_g=yes
16615 else
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16618
16619
16620 fi
16621
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623 fi
16624
16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16626 fi
16627
16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16629 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16630 fi
16631 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16632 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16633 if test "$ac_test_CXXFLAGS" = set; then
16634 CXXFLAGS=$ac_save_CXXFLAGS
16635 elif test $ac_cv_prog_cxx_g = yes; then
16636 if test "$GXX" = yes; then
16637 CXXFLAGS="-g -O2"
16638 else
16639 CXXFLAGS="-g"
16640 fi
16641 else
16642 if test "$GXX" = yes; then
16643 CXXFLAGS="-O2"
16644 else
16645 CXXFLAGS=
16646 fi
16647 fi
16648 ac_ext=c
16649 ac_cpp='$CPP $CPPFLAGS'
16650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16653
16654
16655
16656
16657 ac_ext=cpp
16658 ac_cpp='$CXXCPP $CPPFLAGS'
16659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16662
16663 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16664 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16665 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 else
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674
16675 int
16676 main ()
16677 {
16678
16679 #ifndef __INTEL_COMPILER
16680 choke me
16681 #endif
16682
16683 ;
16684 return 0;
16685 }
16686 _ACEOF
16687 rm -f conftest.$ac_objext
16688 if { (ac_try="$ac_compile"
16689 case "(($ac_try" in
16690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16692 esac
16693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16695 ac_status=$?
16696 grep -v '^ *+' conftest.er1 >conftest.err
16697 rm -f conftest.er1
16698 cat conftest.err >&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_cxx_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.$ac_objext; then
16704 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16705 else
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16708
16709 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16710
16711 fi
16712
16713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16714
16715
16716 fi
16717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16719 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16720 :; INTELCXX=yes
16721 else
16722 :;
16723 fi
16724 ac_ext=c
16725 ac_cpp='$CPP $CPPFLAGS'
16726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16729
16730
16731
16732
16733 if test "x$GCXX" != "xyes"; then
16734 if test "xCXX" = "xC"; then
16735 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16736 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16737 if test "${bakefile_cv_c_exto+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 else
16740 cat >conftest.$ac_ext <<_ACEOF
16741 /* confdefs.h. */
16742 _ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746
16747 int
16748 main ()
16749 {
16750
16751 ;
16752 return 0;
16753 }
16754 _ACEOF
16755 rm -f conftest.$ac_objext conftest.$ac_ext.o
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>&5
16758 ac_status=$?
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; then
16761 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16762 case $ac_file in
16763 conftest.$ac_ext.o)
16764 bakefile_cv_c_exto="-ext o"
16765 ;;
16766 *)
16767 ;;
16768 esac
16769 done
16770 else
16771 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16772 See \`config.log' for more details." >&5
16773 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16774 See \`config.log' for more details." >&2;}
16775 { (exit 1); exit 1; }; }
16776
16777 fi
16778
16779 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16780
16781 fi
16782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16783 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16784 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16785 if test "c" = "c"; then
16786 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16787 fi
16788 if test "c" = "cxx"; then
16789 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16790 fi
16791 fi
16792
16793 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16794 unset ac_cv_prog_cc_g
16795 ac_test_CFLAGS=${CFLAGS+set}
16796 ac_save_CFLAGS=$CFLAGS
16797 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16798 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16799 if test "${ac_cv_prog_cc_g+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 ac_save_c_werror_flag=$ac_c_werror_flag
16803 ac_c_werror_flag=yes
16804 ac_cv_prog_cc_g=no
16805 CFLAGS="-g"
16806 cat >conftest.$ac_ext <<_ACEOF
16807 /* confdefs.h. */
16808 _ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812
16813 int
16814 main ()
16815 {
16816
16817 ;
16818 return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.$ac_objext
16822 if { (ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16826 esac
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 ac_cv_prog_cc_g=yes
16839 else
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16842
16843 CFLAGS=""
16844 cat >conftest.$ac_ext <<_ACEOF
16845 /* confdefs.h. */
16846 _ACEOF
16847 cat confdefs.h >>conftest.$ac_ext
16848 cat >>conftest.$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16850
16851 int
16852 main ()
16853 {
16854
16855 ;
16856 return 0;
16857 }
16858 _ACEOF
16859 rm -f conftest.$ac_objext
16860 if { (ac_try="$ac_compile"
16861 case "(($ac_try" in
16862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863 *) ac_try_echo=$ac_try;;
16864 esac
16865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866 (eval "$ac_compile") 2>conftest.er1
16867 ac_status=$?
16868 grep -v '^ *+' conftest.er1 >conftest.err
16869 rm -f conftest.er1
16870 cat conftest.err >&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } && {
16873 test -z "$ac_c_werror_flag" ||
16874 test ! -s conftest.err
16875 } && test -s conftest.$ac_objext; then
16876 :
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 ac_c_werror_flag=$ac_save_c_werror_flag
16882 CFLAGS="-g"
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889
16890 int
16891 main ()
16892 {
16893
16894 ;
16895 return 0;
16896 }
16897 _ACEOF
16898 rm -f conftest.$ac_objext
16899 if { (ac_try="$ac_compile"
16900 case "(($ac_try" in
16901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16902 *) ac_try_echo=$ac_try;;
16903 esac
16904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16905 (eval "$ac_compile") 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } && {
16912 test -z "$ac_c_werror_flag" ||
16913 test ! -s conftest.err
16914 } && test -s conftest.$ac_objext; then
16915 ac_cv_prog_cc_g=yes
16916 else
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16919
16920
16921 fi
16922
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924 fi
16925
16926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927 fi
16928
16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16930 ac_c_werror_flag=$ac_save_c_werror_flag
16931 fi
16932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16934 if test "$ac_test_CFLAGS" = set; then
16935 CFLAGS=$ac_save_CFLAGS
16936 elif test $ac_cv_prog_cc_g = yes; then
16937 if test "$GCC" = yes; then
16938 CFLAGS="-g -O2"
16939 else
16940 CFLAGS="-g"
16941 fi
16942 else
16943 if test "$GCC" = yes; then
16944 CFLAGS="-O2"
16945 else
16946 CFLAGS=
16947 fi
16948 fi
16949 fi
16950 fi
16951
16952 case `uname -s` in
16953 AIX*)
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 Darwin)
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 Metrowerks C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler___MWERKS__+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 __MWERKS__
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___MWERKS__=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 bakefile_cv_cxx_compiler___MWERKS__=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___MWERKS__" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17099 :; MWCXX=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 ac_ext=cpp
17114 ac_cpp='$CXXCPP $CPPFLAGS'
17115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17118
17119 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17120 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17121 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 else
17124 cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h. */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130
17131 int
17132 main ()
17133 {
17134
17135 #ifndef __xlC__
17136 choke me
17137 #endif
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_cxx_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 bakefile_cv_cxx_compiler___xlC__=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17164
17165 bakefile_cv_cxx_compiler___xlC__=no
17166
17167 fi
17168
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170
17171
17172 fi
17173 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17174 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17175 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17176 :; XLCXX=yes
17177 else
17178 :;
17179 fi
17180 ac_ext=c
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185
17186
17187
17188 ;;
17189
17190 IRIX*)
17191
17192
17193 ac_ext=cpp
17194 ac_cpp='$CXXCPP $CPPFLAGS'
17195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17198
17199 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17200 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17201 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 else
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210
17211 int
17212 main ()
17213 {
17214
17215 #ifndef _SGI_COMPILER_VERSION
17216 choke me
17217 #endif
17218
17219 ;
17220 return 0;
17221 }
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (ac_try="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17228 esac
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_cxx_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17246
17247 fi
17248
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17250
17251
17252 fi
17253 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17254 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17255 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17256 :; SGICXX=yes
17257 else
17258 :;
17259 fi
17260 ac_ext=c
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17265
17266
17267
17268 ;;
17269
17270 Linux*)
17271
17272
17273 ac_ext=cpp
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278
17279 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17280 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17281 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 cat >conftest.$ac_ext <<_ACEOF
17285 /* confdefs.h. */
17286 _ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17290
17291 int
17292 main ()
17293 {
17294
17295 #ifndef __SUNPRO_CC
17296 choke me
17297 #endif
17298
17299 ;
17300 return 0;
17301 }
17302 _ACEOF
17303 rm -f conftest.$ac_objext
17304 if { (ac_try="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_cxx_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17321 else
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17324
17325 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17326
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330
17331
17332 fi
17333 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17334 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17335 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17336 :; SUNCXX=yes
17337 else
17338 :;
17339 fi
17340 ac_ext=c
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345
17346
17347
17348 ;;
17349
17350 HP-UX*)
17351
17352
17353 ac_ext=cpp
17354 ac_cpp='$CXXCPP $CPPFLAGS'
17355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17358
17359 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17360 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17361 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370
17371 int
17372 main ()
17373 {
17374
17375 #ifndef __HP_aCC
17376 choke me
17377 #endif
17378
17379 ;
17380 return 0;
17381 }
17382 _ACEOF
17383 rm -f conftest.$ac_objext
17384 if { (ac_try="$ac_compile"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17388 esac
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compile") 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && {
17397 test -z "$ac_cxx_werror_flag" ||
17398 test ! -s conftest.err
17399 } && test -s conftest.$ac_objext; then
17400 bakefile_cv_cxx_compiler___HP_aCC=yes
17401 else
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.$ac_ext >&5
17404
17405 bakefile_cv_cxx_compiler___HP_aCC=no
17406
17407 fi
17408
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410
17411
17412 fi
17413 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17414 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17415 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17416 :; HPCXX=yes
17417 else
17418 :;
17419 fi
17420 ac_ext=c
17421 ac_cpp='$CPP $CPPFLAGS'
17422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17425
17426
17427
17428 ;;
17429
17430 OSF1)
17431
17432
17433 ac_ext=cpp
17434 ac_cpp='$CXXCPP $CPPFLAGS'
17435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17438
17439 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17440 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 else
17444 cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450
17451 int
17452 main ()
17453 {
17454
17455 #ifndef __DECCXX
17456 choke me
17457 #endif
17458
17459 ;
17460 return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467 *) ac_try_echo=$ac_try;;
17468 esac
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_compile") 2>conftest.er1
17471 ac_status=$?
17472 grep -v '^ *+' conftest.er1 >conftest.err
17473 rm -f conftest.er1
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_cxx_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest.$ac_objext; then
17480 bakefile_cv_cxx_compiler___DECCXX=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485 bakefile_cv_cxx_compiler___DECCXX=no
17486
17487 fi
17488
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
17491
17492 fi
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17494 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17495 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17496 :; COMPAQCXX=yes
17497 else
17498 :;
17499 fi
17500 ac_ext=c
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505
17506
17507
17508 ;;
17509
17510 SunOS)
17511
17512
17513 ac_ext=cpp
17514 ac_cpp='$CXXCPP $CPPFLAGS'
17515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17518
17519 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17520 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17521 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 else
17524 cat >conftest.$ac_ext <<_ACEOF
17525 /* confdefs.h. */
17526 _ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530
17531 int
17532 main ()
17533 {
17534
17535 #ifndef __SUNPRO_CC
17536 choke me
17537 #endif
17538
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 rm -f conftest.$ac_objext
17544 if { (ac_try="$ac_compile"
17545 case "(($ac_try" in
17546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17548 esac
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_compile") 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } && {
17557 test -z "$ac_cxx_werror_flag" ||
17558 test ! -s conftest.err
17559 } && test -s conftest.$ac_objext; then
17560 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17561 else
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17564
17565 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17566
17567 fi
17568
17569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570
17571
17572 fi
17573 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17574 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17575 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17576 :; SUNCXX=yes
17577 else
17578 :;
17579 fi
17580 ac_ext=c
17581 ac_cpp='$CPP $CPPFLAGS'
17582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17585
17586
17587
17588 ;;
17589 esac
17590 fi
17591
17592
17593
17594 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17595 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17596 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17597 { (exit 1); exit 1; }; }
17598 fi
17599
17600 if test "x$SUNCXX" != xyes; then
17601 if test -n "$ac_tool_prefix"; then
17602 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17603 set dummy ${ac_tool_prefix}ar; ac_word=$2
17604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17606 if test "${ac_cv_prog_AR+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17609 if test -n "$AR"; then
17610 ac_cv_prog_AR="$AR" # Let the user override the test.
17611 else
17612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17613 for as_dir in $PATH
17614 do
17615 IFS=$as_save_IFS
17616 test -z "$as_dir" && as_dir=.
17617 for ac_exec_ext in '' $ac_executable_extensions; do
17618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17619 ac_cv_prog_AR="${ac_tool_prefix}ar"
17620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17621 break 2
17622 fi
17623 done
17624 done
17625 IFS=$as_save_IFS
17626
17627 fi
17628 fi
17629 AR=$ac_cv_prog_AR
17630 if test -n "$AR"; then
17631 { echo "$as_me:$LINENO: result: $AR" >&5
17632 echo "${ECHO_T}$AR" >&6; }
17633 else
17634 { echo "$as_me:$LINENO: result: no" >&5
17635 echo "${ECHO_T}no" >&6; }
17636 fi
17637
17638
17639 fi
17640 if test -z "$ac_cv_prog_AR"; then
17641 ac_ct_AR=$AR
17642 # Extract the first word of "ar", so it can be a program name with args.
17643 set dummy ar; ac_word=$2
17644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17646 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 if test -n "$ac_ct_AR"; then
17650 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17651 else
17652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17653 for as_dir in $PATH
17654 do
17655 IFS=$as_save_IFS
17656 test -z "$as_dir" && as_dir=.
17657 for ac_exec_ext in '' $ac_executable_extensions; do
17658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17659 ac_cv_prog_ac_ct_AR="ar"
17660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17661 break 2
17662 fi
17663 done
17664 done
17665 IFS=$as_save_IFS
17666
17667 fi
17668 fi
17669 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17670 if test -n "$ac_ct_AR"; then
17671 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17672 echo "${ECHO_T}$ac_ct_AR" >&6; }
17673 else
17674 { echo "$as_me:$LINENO: result: no" >&5
17675 echo "${ECHO_T}no" >&6; }
17676 fi
17677
17678 if test "x$ac_ct_AR" = x; then
17679 AR=""
17680 else
17681 case $cross_compiling:$ac_tool_warned in
17682 yes:)
17683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17684 whose name does not start with the host triplet. If you think this
17685 configuration is useful to you, please write to autoconf@gnu.org." >&5
17686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17687 whose name does not start with the host triplet. If you think this
17688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17689 ac_tool_warned=yes ;;
17690 esac
17691 AR=$ac_ct_AR
17692 fi
17693 else
17694 AR="$ac_cv_prog_AR"
17695 fi
17696
17697 if test "x$AR" = "x" ; then
17698 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17699 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17700 { (exit 1); exit 1; }; }
17701 fi
17702 fi
17703
17704 retest_macosx_linking=no
17705
17706 #if test "$wxUSE_MAC" = 1; then
17707 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17708 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17709 # Implicitly turn on the new --with-macosx-sdk using the default
17710 # SDK which provides the behavior this option has always had.
17711 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17712 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17713 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17714 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17715 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17716 wxUSE_MACOSX_SDK=yes
17717 fi
17718 else
17719 # Complain to user if he specified an argument to --enable-universal_binary
17720 # and also 1) specified --with-macosx-sdk using the default (yes) or
17721 # 2) specified --with-macosx-sdk using a path or 3) specified
17722 # --without-macosx-sdk (no).
17723 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17724 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17725 See \`config.log' for more details." >&5
17726 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17727 See \`config.log' for more details." >&2;}
17728 { (exit 1); exit 1; }; }
17729 else
17730 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17731 # special-case the empty string because the below test simply
17732 # converts "no" to the empty string anyway.
17733 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17734 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17735 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17736 fi
17737 fi
17738 OSX_UNIV_OPTS="-arch ppc -arch i386"
17739 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17740 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17741 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17742 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17743 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17744 retest_macosx_linking=yes
17745
17746 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17747 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17748 bk_use_pch=no
17749 fi
17750 #fi
17751
17752 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17753 wxUSE_MACOSX_SDK=
17754 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17755 # TODO: Search for most recent SDK and use it.
17756 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17757 fi
17758
17759
17760 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17761 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17762 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17763 if ! test -d "$wxUSE_MACOSX_SDK"; then
17764 { { echo "$as_me:$LINENO: error: not found
17765 See \`config.log' for more details." >&5
17766 echo "$as_me: error: not found
17767 See \`config.log' for more details." >&2;}
17768 { (exit 1); exit 1; }; }
17769 else
17770 { echo "$as_me:$LINENO: result: exists" >&5
17771 echo "${ECHO_T}exists" >&6; }
17772 fi
17773 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17774 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17775 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17776 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17777 retest_macosx_linking=yes
17778 fi
17779
17780 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17781 wxUSE_MACOSX_VERSION_MIN=
17782 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17783 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17784 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17785 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17786
17787 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/'`
17788
17789 # If that failed, try again with the new key
17790 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17791
17792 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/'`
17793
17794 fi
17795
17796 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17797 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17798 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17799 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17800 else
17801 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17802 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17803 wxUSE_MACOSX_VERSION_MIN=
17804 fi
17805 else
17806 wxUSE_MACOSX_VERSION_MIN=
17807 fi
17808 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17809 if test "$wxUSE_MAC" = 1; then
17810 # otherwise configure stops on leopard for universal_binary
17811 wxUSE_MACOSX_VERSION_MIN=10.4
17812 fi
17813 fi
17814
17815 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17816 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17817 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17818 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17819 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17820 retest_macosx_linking=yes
17821 fi
17822
17823 if test "x$retest_macosx_linking" = "xyes"; then
17824 ac_ext=c
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829
17830 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17831 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838
17839 int
17840 main ()
17841 {
17842
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 rm -f conftest.$ac_objext conftest$ac_exeext
17848 if { (ac_try="$ac_link"
17849 case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17852 esac
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_link") 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } && {
17861 test -z "$ac_c_werror_flag" ||
17862 test ! -s conftest.err
17863 } && test -s conftest$ac_exeext &&
17864 $as_test_x conftest$ac_exeext; then
17865 { echo "$as_me:$LINENO: result: yes" >&5
17866 echo "${ECHO_T}yes" >&6; }
17867 else
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.$ac_ext >&5
17870
17871 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17872 See \`config.log' for more details." >&5
17873 echo "$as_me: error: no. Try a different SDK
17874 See \`config.log' for more details." >&2;}
17875 { (exit 1); exit 1; }; }; exit 1
17876 fi
17877
17878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17879 conftest$ac_exeext conftest.$ac_ext
17880 ac_ext=c
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17885
17886
17887 ac_ext=cpp
17888 ac_cpp='$CXXCPP $CPPFLAGS'
17889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17892
17893 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17894 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17895 cat >conftest.$ac_ext <<_ACEOF
17896 /* confdefs.h. */
17897 _ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901
17902 int
17903 main ()
17904 {
17905
17906 ;
17907 return 0;
17908 }
17909 _ACEOF
17910 rm -f conftest.$ac_objext conftest$ac_exeext
17911 if { (ac_try="$ac_link"
17912 case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17915 esac
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_link") 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_cxx_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest$ac_exeext &&
17927 $as_test_x conftest$ac_exeext; then
17928 { echo "$as_me:$LINENO: result: yes" >&5
17929 echo "${ECHO_T}yes" >&6; }
17930 else
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17933
17934 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17935 See \`config.log' for more details." >&5
17936 echo "$as_me: error: no. Try a different SDK
17937 See \`config.log' for more details." >&2;}
17938 { (exit 1); exit 1; }; }; exit 1
17939 fi
17940
17941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17942 conftest$ac_exeext conftest.$ac_ext
17943 ac_ext=c
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948
17949 fi
17950
17951
17952 case "${host}" in
17953
17954 *-*-darwin* )
17955 INSTALL_PROGRAM="cp -fp"
17956 INSTALL_DATA="cp -fp"
17957 ;;
17958 *)
17959 ;;
17960 esac
17961
17962
17963 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17964 CXXFLAGS="-qunique $CXXFLAGS"
17965 fi
17966
17967 case "${host}" in
17968 powerpc-*-darwin* )
17969 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17970 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17971 cat >conftest.$ac_ext <<_ACEOF
17972 /* confdefs.h. */
17973 _ACEOF
17974 cat confdefs.h >>conftest.$ac_ext
17975 cat >>conftest.$ac_ext <<_ACEOF
17976 /* end confdefs.h. */
17977
17978 int
17979 main ()
17980 {
17981 #ifndef __POWERPC__
17982 choke me for lack of PowerPC
17983 #endif
17984
17985 ;
17986 return 0;
17987 }
17988 _ACEOF
17989 rm -f conftest.$ac_objext
17990 if { (ac_try="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17994 esac
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 { echo "$as_me:$LINENO: result: yes" >&5
18007 echo "${ECHO_T}yes" >&6; }
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012 { echo "$as_me:$LINENO: result: no" >&5
18013 echo "${ECHO_T}no" >&6; }
18014 cat >>confdefs.h <<\_ACEOF
18015 #define __POWERPC__ 1
18016 _ACEOF
18017
18018
18019 fi
18020
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 ;;
18023 esac
18024
18025 case "${host}" in
18026 *-*-darwin* )
18027 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18028 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <CoreFoundation/CFBase.h>
18036
18037 int
18038 main ()
18039 {
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest.$ac_objext
18046 if { (ac_try="$ac_compile"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compile") 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } && {
18059 test -z "$ac_c_werror_flag" ||
18060 test ! -s conftest.err
18061 } && test -s conftest.$ac_objext; then
18062 { echo "$as_me:$LINENO: result: yes" >&5
18063 echo "${ECHO_T}yes" >&6; }
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 { echo "$as_me:$LINENO: result: no" >&5
18069 echo "${ECHO_T}no" >&6; }
18070 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18071 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #define __CF_USE_FRAMEWORK_INCLUDES__
18079 #include <CoreFoundation/CFBase.h>
18080
18081 int
18082 main ()
18083 {
18084
18085 ;
18086 return 0;
18087 }
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18097 ac_status=$?
18098 grep -v '^ *+' conftest.er1 >conftest.err
18099 rm -f conftest.er1
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 { echo "$as_me:$LINENO: result: yes" >&5
18107 echo "${ECHO_T}yes" >&6; }
18108 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18109 else
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18112
18113 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18114 See \`config.log' for more details." >&5
18115 echo "$as_me: error: no. CoreFoundation not available.
18116 See \`config.log' for more details." >&2;}
18117 { (exit 1); exit 1; }; }
18118
18119 fi
18120
18121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122
18123
18124 fi
18125
18126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18127 ;;
18128 esac
18129
18130 wants_win32=0
18131 doesnt_want_win32=0
18132 case "${host}" in
18133 *-*-cygwin*)
18134 if test "$wxUSE_MSW" = 1 ; then
18135 wants_win32=1
18136 else
18137 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18138 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18139 if test "${wx_cv_nocygwin+set}" = set; then
18140 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 else
18142
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149
18150 int
18151 main ()
18152 {
18153
18154 #ifdef __MINGW32__
18155 choke me
18156 #endif
18157
18158 ;
18159 return 0;
18160 }
18161 _ACEOF
18162 rm -f conftest.$ac_objext
18163 if { (ac_try="$ac_compile"
18164 case "(($ac_try" in
18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18166 *) ac_try_echo=$ac_try;;
18167 esac
18168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18169 (eval "$ac_compile") 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } && {
18176 test -z "$ac_c_werror_flag" ||
18177 test ! -s conftest.err
18178 } && test -s conftest.$ac_objext; then
18179 wx_cv_nocygwin=no
18180 else
18181 echo "$as_me: failed program was:" >&5
18182 sed 's/^/| /' conftest.$ac_ext >&5
18183
18184 wx_cv_nocygwin=yes
18185
18186 fi
18187
18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18189
18190
18191 fi
18192 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18193 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18194
18195 if test "$wx_cv_nocygwin" = "yes"; then
18196 wants_win32=1
18197 else
18198 doesnt_want_win32=1
18199 fi
18200 fi
18201 if test "$wants_win32" = 1 ; then
18202 BAKEFILE_FORCE_PLATFORM=win32
18203 fi
18204 ;;
18205 *-*-mingw*)
18206 wants_win32=1
18207 ;;
18208 esac
18209
18210 if test "$wxUSE_WINE" = "yes"; then
18211 wants_win32=1
18212 LDFLAGS_GUI="-mwindows"
18213 fi
18214
18215 if test "$wants_win32" = 1 ; then
18216 USE_UNIX=0
18217 USE_WIN32=1
18218 cat >>confdefs.h <<\_ACEOF
18219 #define __WIN32__ 1
18220 _ACEOF
18221
18222 cat >>confdefs.h <<\_ACEOF
18223 #define __WIN95__ 1
18224 _ACEOF
18225
18226 cat >>confdefs.h <<\_ACEOF
18227 #define __WINDOWS__ 1
18228 _ACEOF
18229
18230 cat >>confdefs.h <<\_ACEOF
18231 #define __GNUWIN32__ 1
18232 _ACEOF
18233
18234 cat >>confdefs.h <<\_ACEOF
18235 #define STRICT 1
18236 _ACEOF
18237
18238 fi
18239 if test "$doesnt_want_win32" = 1 ; then
18240 USE_UNIX=1
18241 USE_WIN32=0
18242 fi
18243
18244 if test "$USE_UNIX" = 1 ; then
18245 wxUSE_UNIX=yes
18246 cat >>confdefs.h <<\_ACEOF
18247 #define __UNIX__ 1
18248 _ACEOF
18249
18250 fi
18251
18252 case "${host}" in
18253 *-pc-os2_emx | *-pc-os2-emx )
18254 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18255 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18256 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18257 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 else
18260 ac_check_lib_save_LIBS=$LIBS
18261 LIBS="-lcExt $LIBS"
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268
18269 /* Override any GCC internal prototype to avoid an error.
18270 Use char because int might match the return type of a GCC
18271 builtin and then its argument prototype would still apply. */
18272 #ifdef __cplusplus
18273 extern "C"
18274 #endif
18275 char drand48 ();
18276 int
18277 main ()
18278 {
18279 return drand48 ();
18280 ;
18281 return 0;
18282 }
18283 _ACEOF
18284 rm -f conftest.$ac_objext conftest$ac_exeext
18285 if { (ac_try="$ac_link"
18286 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18289 esac
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_link") 2>conftest.er1
18292 ac_status=$?
18293 grep -v '^ *+' conftest.er1 >conftest.err
18294 rm -f conftest.er1
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_c_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest$ac_exeext &&
18301 $as_test_x conftest$ac_exeext; then
18302 ac_cv_lib_cExt_drand48=yes
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18306
18307 ac_cv_lib_cExt_drand48=no
18308 fi
18309
18310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18311 conftest$ac_exeext conftest.$ac_ext
18312 LIBS=$ac_check_lib_save_LIBS
18313 fi
18314 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18315 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18316 if test $ac_cv_lib_cExt_drand48 = yes; then
18317 LIBS="$LIBS -lcExt"
18318 fi
18319
18320 else
18321 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18322 fi
18323 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18324 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18325 if test "${wx_cv_gccversion+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 else
18328
18329 if test "$cross_compiling" = yes; then
18330 wx_cv_gccversion="EMX2"
18331
18332 else
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339
18340 #include <stdio.h>
18341
18342 int main()
18343 {
18344 FILE *f=fopen("conftestval", "w");
18345 if (!f) exit(1);
18346 fprintf(f,
18347 #if (__GNUC__ < 3)
18348 "EMX2"
18349 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18350 "EMX3"
18351 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18352 "Innotek5"
18353 #else
18354 "Innotek6"
18355 #endif
18356 );
18357 exit(0);
18358 }
18359
18360 _ACEOF
18361 rm -f conftest$ac_exeext
18362 if { (ac_try="$ac_link"
18363 case "(($ac_try" in
18364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18365 *) ac_try_echo=$ac_try;;
18366 esac
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_link") 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18372 { (case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18375 esac
18376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18377 (eval "$ac_try") 2>&5
18378 ac_status=$?
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 wx_cv_gccversion=`cat conftestval`
18382 else
18383 echo "$as_me: program exited with status $ac_status" >&5
18384 echo "$as_me: failed program was:" >&5
18385 sed 's/^/| /' conftest.$ac_ext >&5
18386
18387 ( exit $ac_status )
18388 wx_cv_gccversion="EMX2"
18389 fi
18390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18391 fi
18392
18393
18394
18395 fi
18396 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18397 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18398 if test "$wx_cv_gccversion" = "EMX2"; then
18399 LIBS="$LIBS -lstdcpp"
18400 LDFLAGS="$LDFLAGS -Zsysv-signals"
18401 else
18402 if test "$wx_cv_gccversion" = "EMX3"; then
18403 LIBS="$LIBS -lstdcxx -lgcc"
18404 LDFLAGS="$LDFLAGS -Zsysv-signals"
18405 else
18406 LIBS="$LIBS -lstdc++"
18407 fi
18408 fi
18409 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18410 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18411 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18412 wxUSE_OMF=yes
18413 enable_omf=yes
18414 fi
18415 ;;
18416 *)
18417
18418 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18419 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18420 if test "${ac_cv_string_strcasecmp+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 else
18423
18424 cat >conftest.$ac_ext <<_ACEOF
18425 /* confdefs.h. */
18426 _ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430
18431 #include <string.h>
18432
18433 int
18434 main ()
18435 {
18436
18437 strcasecmp("foo", "bar");
18438
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext conftest$ac_exeext
18444 if { (ac_try="$ac_link"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_link") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest$ac_exeext &&
18460 $as_test_x conftest$ac_exeext; then
18461 ac_cv_string_strcasecmp=yes
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 ac_cv_string_strcasecmp=no
18467
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18471 conftest$ac_exeext conftest.$ac_ext
18472
18473 fi
18474 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18475 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18476
18477 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18478 cat >>confdefs.h <<\_ACEOF
18479 #define HAVE_STRCASECMP_IN_STRING_H 1
18480 _ACEOF
18481
18482 else
18483 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18484 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18485 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488
18489 cat >conftest.$ac_ext <<_ACEOF
18490 /* confdefs.h. */
18491 _ACEOF
18492 cat confdefs.h >>conftest.$ac_ext
18493 cat >>conftest.$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495
18496 #include <strings.h>
18497
18498 int
18499 main ()
18500 {
18501
18502 strcasecmp("foo", "bar");
18503
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 rm -f conftest.$ac_objext conftest$ac_exeext
18509 if { (ac_try="$ac_link"
18510 case "(($ac_try" in
18511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18513 esac
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_link") 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_c_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest$ac_exeext &&
18525 $as_test_x conftest$ac_exeext; then
18526 ac_cv_strings_strcasecmp=yes
18527 else
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.$ac_ext >&5
18530
18531 ac_cv_strings_strcasecmp=no
18532
18533 fi
18534
18535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18536 conftest$ac_exeext conftest.$ac_ext
18537
18538 fi
18539 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18540 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18541
18542 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18543 cat >>confdefs.h <<\_ACEOF
18544 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18545 _ACEOF
18546
18547 else
18548 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18549 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18550 { (exit 1); exit 1; }; }
18551 fi
18552 fi
18553
18554 ;;
18555 esac
18556
18557
18558 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18559 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18560 if test "${ac_cv_header_stdc+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563 cat >conftest.$ac_ext <<_ACEOF
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <stdlib.h>
18570 #include <stdarg.h>
18571 #include <string.h>
18572 #include <float.h>
18573
18574 int
18575 main ()
18576 {
18577
18578 ;
18579 return 0;
18580 }
18581 _ACEOF
18582 rm -f conftest.$ac_objext
18583 if { (ac_try="$ac_compile"
18584 case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18587 esac
18588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_compile") 2>conftest.er1
18590 ac_status=$?
18591 grep -v '^ *+' conftest.er1 >conftest.err
18592 rm -f conftest.er1
18593 cat conftest.err >&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } && {
18596 test -z "$ac_c_werror_flag" ||
18597 test ! -s conftest.err
18598 } && test -s conftest.$ac_objext; then
18599 ac_cv_header_stdc=yes
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18603
18604 ac_cv_header_stdc=no
18605 fi
18606
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608
18609 if test $ac_cv_header_stdc = yes; then
18610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <string.h>
18618
18619 _ACEOF
18620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18621 $EGREP "memchr" >/dev/null 2>&1; then
18622 :
18623 else
18624 ac_cv_header_stdc=no
18625 fi
18626 rm -f conftest*
18627
18628 fi
18629
18630 if test $ac_cv_header_stdc = yes; then
18631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 #include <stdlib.h>
18639
18640 _ACEOF
18641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18642 $EGREP "free" >/dev/null 2>&1; then
18643 :
18644 else
18645 ac_cv_header_stdc=no
18646 fi
18647 rm -f conftest*
18648
18649 fi
18650
18651 if test $ac_cv_header_stdc = yes; then
18652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18653 if test "$cross_compiling" = yes; then
18654 :
18655 else
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <ctype.h>
18663 #include <stdlib.h>
18664 #if ((' ' & 0x0FF) == 0x020)
18665 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18666 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18667 #else
18668 # define ISLOWER(c) \
18669 (('a' <= (c) && (c) <= 'i') \
18670 || ('j' <= (c) && (c) <= 'r') \
18671 || ('s' <= (c) && (c) <= 'z'))
18672 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18673 #endif
18674
18675 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18676 int
18677 main ()
18678 {
18679 int i;
18680 for (i = 0; i < 256; i++)
18681 if (XOR (islower (i), ISLOWER (i))
18682 || toupper (i) != TOUPPER (i))
18683 return 2;
18684 return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest$ac_exeext
18688 if { (ac_try="$ac_link"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18692 esac
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_link") 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18698 { (case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18701 esac
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_try") 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 :
18708 else
18709 echo "$as_me: program exited with status $ac_status" >&5
18710 echo "$as_me: failed program was:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18712
18713 ( exit $ac_status )
18714 ac_cv_header_stdc=no
18715 fi
18716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18717 fi
18718
18719
18720 fi
18721 fi
18722 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18723 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18724 if test $ac_cv_header_stdc = yes; then
18725
18726 cat >>confdefs.h <<\_ACEOF
18727 #define STDC_HEADERS 1
18728 _ACEOF
18729
18730 fi
18731
18732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18743 inttypes.h stdint.h unistd.h
18744 do
18745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 else
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 $ac_includes_default
18758
18759 #include <$ac_header>
18760 _ACEOF
18761 rm -f conftest.$ac_objext
18762 if { (ac_try="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18766 esac
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18769 ac_status=$?
18770 grep -v '^ *+' conftest.er1 >conftest.err
18771 rm -f conftest.er1
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_c_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 eval "$as_ac_Header=yes"
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 eval "$as_ac_Header=no"
18784 fi
18785
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 fi
18788 ac_res=`eval echo '${'$as_ac_Header'}'`
18789 { echo "$as_me:$LINENO: result: $ac_res" >&5
18790 echo "${ECHO_T}$ac_res" >&6; }
18791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18792 cat >>confdefs.h <<_ACEOF
18793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18794 _ACEOF
18795
18796 fi
18797
18798 done
18799
18800
18801
18802
18803 for ac_header in langinfo.h wchar.h
18804 do
18805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18810 else
18811 cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h. */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 $ac_includes_default
18818
18819 #include <$ac_header>
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18826 esac
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18829 ac_status=$?
18830 grep -v '^ *+' conftest.er1 >conftest.err
18831 rm -f conftest.er1
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 eval "$as_ac_Header=yes"
18839 else
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18842
18843 eval "$as_ac_Header=no"
18844 fi
18845
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 fi
18848 ac_res=`eval echo '${'$as_ac_Header'}'`
18849 { echo "$as_me:$LINENO: result: $ac_res" >&5
18850 echo "${ECHO_T}$ac_res" >&6; }
18851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18852 cat >>confdefs.h <<_ACEOF
18853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18854 _ACEOF
18855
18856 fi
18857
18858 done
18859
18860
18861 if test "$ac_cv_header_wchar_h" != "yes"; then
18862
18863 for ac_header in wcstr.h
18864 do
18865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18869 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 else
18871 cat >conftest.$ac_ext <<_ACEOF
18872 /* confdefs.h. */
18873 _ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 $ac_includes_default
18878
18879 #include <$ac_header>
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 eval "$as_ac_Header=yes"
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 eval "$as_ac_Header=no"
18904 fi
18905
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 fi
18908 ac_res=`eval echo '${'$as_ac_Header'}'`
18909 { echo "$as_me:$LINENO: result: $ac_res" >&5
18910 echo "${ECHO_T}$ac_res" >&6; }
18911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18912 cat >>confdefs.h <<_ACEOF
18913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18914 _ACEOF
18915
18916 fi
18917
18918 done
18919
18920 fi
18921
18922 case "${host}" in
18923 *-pc-os2_emx | *-pc-os2-emx )
18924 if test $ac_cv_header_langinfo_h = "yes" \
18925 -a \( "$wx_cv_gccversion" = "EMX2" \
18926 -o "$wx_cv_gccversion" = "EMX3" \
18927 -o "$wx_cv_gccversion" = "Innotek5" \); then
18928 LIBS="$LIBS -lintl"
18929 fi
18930 ;;
18931 esac
18932
18933 if test "$USE_UNIX" = 1 ; then
18934
18935 for ac_header in sys/select.h
18936 do
18937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 cat >conftest.$ac_ext <<_ACEOF
18944 /* confdefs.h. */
18945 _ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 $ac_includes_default
18950
18951 #include <$ac_header>
18952 _ACEOF
18953 rm -f conftest.$ac_objext
18954 if { (ac_try="$ac_compile"
18955 case "(($ac_try" in
18956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18958 esac
18959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_compile") 2>conftest.er1
18961 ac_status=$?
18962 grep -v '^ *+' conftest.er1 >conftest.err
18963 rm -f conftest.er1
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } && {
18967 test -z "$ac_c_werror_flag" ||
18968 test ! -s conftest.err
18969 } && test -s conftest.$ac_objext; then
18970 eval "$as_ac_Header=yes"
18971 else
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18974
18975 eval "$as_ac_Header=no"
18976 fi
18977
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 fi
18980 ac_res=`eval echo '${'$as_ac_Header'}'`
18981 { echo "$as_me:$LINENO: result: $ac_res" >&5
18982 echo "${ECHO_T}$ac_res" >&6; }
18983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18984 cat >>confdefs.h <<_ACEOF
18985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18986 _ACEOF
18987
18988 fi
18989
18990 done
18991
18992 fi
18993
18994
18995 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18996 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18997 if test "${ac_cv_c_const+set}" = set; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
18999 else
19000 cat >conftest.$ac_ext <<_ACEOF
19001 /* confdefs.h. */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006
19007 int
19008 main ()
19009 {
19010 /* FIXME: Include the comments suggested by Paul. */
19011 #ifndef __cplusplus
19012 /* Ultrix mips cc rejects this. */
19013 typedef int charset[2];
19014 const charset cs;
19015 /* SunOS 4.1.1 cc rejects this. */
19016 char const *const *pcpcc;
19017 char **ppc;
19018 /* NEC SVR4.0.2 mips cc rejects this. */
19019 struct point {int x, y;};
19020 static struct point const zero = {0,0};
19021 /* AIX XL C 1.02.0.0 rejects this.
19022 It does not let you subtract one const X* pointer from another in
19023 an arm of an if-expression whose if-part is not a constant
19024 expression */
19025 const char *g = "string";
19026 pcpcc = &g + (g ? g-g : 0);
19027 /* HPUX 7.0 cc rejects these. */
19028 ++pcpcc;
19029 ppc = (char**) pcpcc;
19030 pcpcc = (char const *const *) ppc;
19031 { /* SCO 3.2v4 cc rejects this. */
19032 char *t;
19033 char const *s = 0 ? (char *) 0 : (char const *) 0;
19034
19035 *t++ = 0;
19036 if (s) return 0;
19037 }
19038 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19039 int x[] = {25, 17};
19040 const int *foo = &x[0];
19041 ++foo;
19042 }
19043 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19044 typedef const int *iptr;
19045 iptr p = 0;
19046 ++p;
19047 }
19048 { /* AIX XL C 1.02.0.0 rejects this saying
19049 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19050 struct s { int j; const int *ap[3]; };
19051 struct s *b; b->j = 5;
19052 }
19053 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19054 const int foo = 10;
19055 if (!foo) return 0;
19056 }
19057 return !cs[0] && !zero.x;
19058 #endif
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest.$ac_objext
19065 if { (ac_try="$ac_compile"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19069 esac
19070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_compile") 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest.$ac_objext; then
19081 ac_cv_c_const=yes
19082 else
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19085
19086 ac_cv_c_const=no
19087 fi
19088
19089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090 fi
19091 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19092 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19093 if test $ac_cv_c_const = no; then
19094
19095 cat >>confdefs.h <<\_ACEOF
19096 #define const
19097 _ACEOF
19098
19099 fi
19100
19101 { echo "$as_me:$LINENO: checking for inline" >&5
19102 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19103 if test "${ac_cv_c_inline+set}" = set; then
19104 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 else
19106 ac_cv_c_inline=no
19107 for ac_kw in inline __inline__ __inline; do
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 #ifndef __cplusplus
19115 typedef int foo_t;
19116 static $ac_kw foo_t static_foo () {return 0; }
19117 $ac_kw foo_t foo () {return 0; }
19118 #endif
19119
19120 _ACEOF
19121 rm -f conftest.$ac_objext
19122 if { (ac_try="$ac_compile"
19123 case "(($ac_try" in
19124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19126 esac
19127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19128 (eval "$ac_compile") 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } && {
19135 test -z "$ac_c_werror_flag" ||
19136 test ! -s conftest.err
19137 } && test -s conftest.$ac_objext; then
19138 ac_cv_c_inline=$ac_kw
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143
19144 fi
19145
19146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 test "$ac_cv_c_inline" != no && break
19148 done
19149
19150 fi
19151 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19152 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19153
19154
19155 case $ac_cv_c_inline in
19156 inline | yes) ;;
19157 *)
19158 case $ac_cv_c_inline in
19159 no) ac_val=;;
19160 *) ac_val=$ac_cv_c_inline;;
19161 esac
19162 cat >>confdefs.h <<_ACEOF
19163 #ifndef __cplusplus
19164 #define inline $ac_val
19165 #endif
19166 _ACEOF
19167 ;;
19168 esac
19169
19170
19171 { echo "$as_me:$LINENO: checking for short" >&5
19172 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19173 if test "${ac_cv_type_short+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 else
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 $ac_includes_default
19183 typedef short ac__type_new_;
19184 int
19185 main ()
19186 {
19187 if ((ac__type_new_ *) 0)
19188 return 0;
19189 if (sizeof (ac__type_new_))
19190 return 0;
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19200 esac
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19212 ac_cv_type_short=yes
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 ac_cv_type_short=no
19218 fi
19219
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 fi
19222 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19223 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19224
19225 # The cast to long int works around a bug in the HP C Compiler
19226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19228 # This bug is HP SR number 8606223364.
19229 { echo "$as_me:$LINENO: checking size of short" >&5
19230 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19231 if test "${ac_cv_sizeof_short+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 if test "$cross_compiling" = yes; then
19235 # Depending upon the size, compute the lo and hi bounds.
19236 cat >conftest.$ac_ext <<_ACEOF
19237 /* confdefs.h. */
19238 _ACEOF
19239 cat confdefs.h >>conftest.$ac_ext
19240 cat >>conftest.$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 $ac_includes_default
19243 typedef short ac__type_sizeof_;
19244 int
19245 main ()
19246 {
19247 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19248 test_array [0] = 0
19249
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest.$ac_objext
19255 if { (ac_try="$ac_compile"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19259 esac
19260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_compile") 2>conftest.er1
19262 ac_status=$?
19263 grep -v '^ *+' conftest.er1 >conftest.err
19264 rm -f conftest.er1
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } && {
19268 test -z "$ac_c_werror_flag" ||
19269 test ! -s conftest.err
19270 } && test -s conftest.$ac_objext; then
19271 ac_lo=0 ac_mid=0
19272 while :; do
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19280 typedef short ac__type_sizeof_;
19281 int
19282 main ()
19283 {
19284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19285 test_array [0] = 0
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 ac_hi=$ac_mid; break
19309 else
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 ac_lo=`expr $ac_mid + 1`
19314 if test $ac_lo -le $ac_mid; then
19315 ac_lo= ac_hi=
19316 break
19317 fi
19318 ac_mid=`expr 2 '*' $ac_mid + 1`
19319 fi
19320
19321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 done
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 cat >conftest.$ac_ext <<_ACEOF
19328 /* confdefs.h. */
19329 _ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 $ac_includes_default
19334 typedef short ac__type_sizeof_;
19335 int
19336 main ()
19337 {
19338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19339 test_array [0] = 0
19340
19341 ;
19342 return 0;
19343 }
19344 _ACEOF
19345 rm -f conftest.$ac_objext
19346 if { (ac_try="$ac_compile"
19347 case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19350 esac
19351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_compile") 2>conftest.er1
19353 ac_status=$?
19354 grep -v '^ *+' conftest.er1 >conftest.err
19355 rm -f conftest.er1
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } && {
19359 test -z "$ac_c_werror_flag" ||
19360 test ! -s conftest.err
19361 } && test -s conftest.$ac_objext; then
19362 ac_hi=-1 ac_mid=-1
19363 while :; do
19364 cat >conftest.$ac_ext <<_ACEOF
19365 /* confdefs.h. */
19366 _ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 $ac_includes_default
19371 typedef short ac__type_sizeof_;
19372 int
19373 main ()
19374 {
19375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19376 test_array [0] = 0
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19387 esac
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 ac_lo=$ac_mid; break
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19403
19404 ac_hi=`expr '(' $ac_mid ')' - 1`
19405 if test $ac_mid -le $ac_hi; then
19406 ac_lo= ac_hi=
19407 break
19408 fi
19409 ac_mid=`expr 2 '*' $ac_mid`
19410 fi
19411
19412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19413 done
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19417
19418 ac_lo= ac_hi=
19419 fi
19420
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 fi
19423
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425 # Binary search between lo and hi bounds.
19426 while test "x$ac_lo" != "x$ac_hi"; do
19427 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 $ac_includes_default
19435 typedef short ac__type_sizeof_;
19436 int
19437 main ()
19438 {
19439 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19440 test_array [0] = 0
19441
19442 ;
19443 return 0;
19444 }
19445 _ACEOF
19446 rm -f conftest.$ac_objext
19447 if { (ac_try="$ac_compile"
19448 case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 *) ac_try_echo=$ac_try;;
19451 esac
19452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_compile") 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } && {
19460 test -z "$ac_c_werror_flag" ||
19461 test ! -s conftest.err
19462 } && test -s conftest.$ac_objext; then
19463 ac_hi=$ac_mid
19464 else
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19467
19468 ac_lo=`expr '(' $ac_mid ')' + 1`
19469 fi
19470
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 done
19473 case $ac_lo in
19474 ?*) ac_cv_sizeof_short=$ac_lo;;
19475 '') if test "$ac_cv_type_short" = yes; then
19476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19477 See \`config.log' for more details." >&5
19478 echo "$as_me: error: cannot compute sizeof (short)
19479 See \`config.log' for more details." >&2;}
19480 { (exit 77); exit 77; }; }
19481 else
19482 ac_cv_sizeof_short=0
19483 fi ;;
19484 esac
19485 else
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 $ac_includes_default
19493 typedef short ac__type_sizeof_;
19494 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19495 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19496 #include <stdio.h>
19497 #include <stdlib.h>
19498 int
19499 main ()
19500 {
19501
19502 FILE *f = fopen ("conftest.val", "w");
19503 if (! f)
19504 return 1;
19505 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19506 {
19507 long int i = longval ();
19508 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19509 return 1;
19510 fprintf (f, "%ld\n", i);
19511 }
19512 else
19513 {
19514 unsigned long int i = ulongval ();
19515 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19516 return 1;
19517 fprintf (f, "%lu\n", i);
19518 }
19519 return ferror (f) || fclose (f) != 0;
19520
19521 ;
19522 return 0;
19523 }
19524 _ACEOF
19525 rm -f conftest$ac_exeext
19526 if { (ac_try="$ac_link"
19527 case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19530 esac
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_link") 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19536 { (case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19539 esac
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_try") 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 ac_cv_sizeof_short=`cat conftest.val`
19546 else
19547 echo "$as_me: program exited with status $ac_status" >&5
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19550
19551 ( exit $ac_status )
19552 if test "$ac_cv_type_short" = yes; then
19553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19554 See \`config.log' for more details." >&5
19555 echo "$as_me: error: cannot compute sizeof (short)
19556 See \`config.log' for more details." >&2;}
19557 { (exit 77); exit 77; }; }
19558 else
19559 ac_cv_sizeof_short=0
19560 fi
19561 fi
19562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19563 fi
19564 rm -f conftest.val
19565 fi
19566 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19567 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19568
19569
19570
19571 cat >>confdefs.h <<_ACEOF
19572 #define SIZEOF_SHORT $ac_cv_sizeof_short
19573 _ACEOF
19574
19575
19576 { echo "$as_me:$LINENO: checking for void *" >&5
19577 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19578 if test "${ac_cv_type_void_p+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 else
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 typedef void * ac__type_new_;
19589 int
19590 main ()
19591 {
19592 if ((ac__type_new_ *) 0)
19593 return 0;
19594 if (sizeof (ac__type_new_))
19595 return 0;
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19605 esac
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19608 ac_status=$?
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19617 ac_cv_type_void_p=yes
19618 else
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19621
19622 ac_cv_type_void_p=no
19623 fi
19624
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 fi
19627 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19628 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19629
19630 # The cast to long int works around a bug in the HP C Compiler
19631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19633 # This bug is HP SR number 8606223364.
19634 { echo "$as_me:$LINENO: checking size of void *" >&5
19635 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19636 if test "${ac_cv_sizeof_void_p+set}" = set; then
19637 echo $ECHO_N "(cached) $ECHO_C" >&6
19638 else
19639 if test "$cross_compiling" = yes; then
19640 # Depending upon the size, compute the lo and hi bounds.
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 $ac_includes_default
19648 typedef void * ac__type_sizeof_;
19649 int
19650 main ()
19651 {
19652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19653 test_array [0] = 0
19654
19655 ;
19656 return 0;
19657 }
19658 _ACEOF
19659 rm -f conftest.$ac_objext
19660 if { (ac_try="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_c_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19676 ac_lo=0 ac_mid=0
19677 while :; do
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 $ac_includes_default
19685 typedef void * ac__type_sizeof_;
19686 int
19687 main ()
19688 {
19689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19690 test_array [0] = 0
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_hi=$ac_mid; break
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 ac_lo=`expr $ac_mid + 1`
19719 if test $ac_lo -le $ac_mid; then
19720 ac_lo= ac_hi=
19721 break
19722 fi
19723 ac_mid=`expr 2 '*' $ac_mid + 1`
19724 fi
19725
19726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19727 done
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 cat >conftest.$ac_ext <<_ACEOF
19733 /* confdefs.h. */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 $ac_includes_default
19739 typedef void * ac__type_sizeof_;
19740 int
19741 main ()
19742 {
19743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19744 test_array [0] = 0
19745
19746 ;
19747 return 0;
19748 }
19749 _ACEOF
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_hi=-1 ac_mid=-1
19768 while :; do
19769 cat >conftest.$ac_ext <<_ACEOF
19770 /* confdefs.h. */
19771 _ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 $ac_includes_default
19776 typedef void * ac__type_sizeof_;
19777 int
19778 main ()
19779 {
19780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19781 test_array [0] = 0
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_lo=$ac_mid; break
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 ac_hi=`expr '(' $ac_mid ')' - 1`
19810 if test $ac_mid -le $ac_hi; then
19811 ac_lo= ac_hi=
19812 break
19813 fi
19814 ac_mid=`expr 2 '*' $ac_mid`
19815 fi
19816
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19818 done
19819 else
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19822
19823 ac_lo= ac_hi=
19824 fi
19825
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19827 fi
19828
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 # Binary search between lo and hi bounds.
19831 while test "x$ac_lo" != "x$ac_hi"; do
19832 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19833 cat >conftest.$ac_ext <<_ACEOF
19834 /* confdefs.h. */
19835 _ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 $ac_includes_default
19840 typedef void * ac__type_sizeof_;
19841 int
19842 main ()
19843 {
19844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19845 test_array [0] = 0
19846
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (ac_try="$ac_compile"
19853 case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19856 esac
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_compile") 2>conftest.er1
19859 ac_status=$?
19860 grep -v '^ *+' conftest.er1 >conftest.err
19861 rm -f conftest.er1
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } && {
19865 test -z "$ac_c_werror_flag" ||
19866 test ! -s conftest.err
19867 } && test -s conftest.$ac_objext; then
19868 ac_hi=$ac_mid
19869 else
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19872
19873 ac_lo=`expr '(' $ac_mid ')' + 1`
19874 fi
19875
19876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19877 done
19878 case $ac_lo in
19879 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19880 '') if test "$ac_cv_type_void_p" = yes; then
19881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19882 See \`config.log' for more details." >&5
19883 echo "$as_me: error: cannot compute sizeof (void *)
19884 See \`config.log' for more details." >&2;}
19885 { (exit 77); exit 77; }; }
19886 else
19887 ac_cv_sizeof_void_p=0
19888 fi ;;
19889 esac
19890 else
19891 cat >conftest.$ac_ext <<_ACEOF
19892 /* confdefs.h. */
19893 _ACEOF
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 $ac_includes_default
19898 typedef void * ac__type_sizeof_;
19899 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19900 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 #include <stdio.h>
19902 #include <stdlib.h>
19903 int
19904 main ()
19905 {
19906
19907 FILE *f = fopen ("conftest.val", "w");
19908 if (! f)
19909 return 1;
19910 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19911 {
19912 long int i = longval ();
19913 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19914 return 1;
19915 fprintf (f, "%ld\n", i);
19916 }
19917 else
19918 {
19919 unsigned long int i = ulongval ();
19920 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19921 return 1;
19922 fprintf (f, "%lu\n", i);
19923 }
19924 return ferror (f) || fclose (f) != 0;
19925
19926 ;
19927 return 0;
19928 }
19929 _ACEOF
19930 rm -f conftest$ac_exeext
19931 if { (ac_try="$ac_link"
19932 case "(($ac_try" in
19933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19934 *) ac_try_echo=$ac_try;;
19935 esac
19936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19937 (eval "$ac_link") 2>&5
19938 ac_status=$?
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19941 { (case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19944 esac
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_try") 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_sizeof_void_p=`cat conftest.val`
19951 else
19952 echo "$as_me: program exited with status $ac_status" >&5
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ( exit $ac_status )
19957 if test "$ac_cv_type_void_p" = yes; then
19958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19959 See \`config.log' for more details." >&5
19960 echo "$as_me: error: cannot compute sizeof (void *)
19961 See \`config.log' for more details." >&2;}
19962 { (exit 77); exit 77; }; }
19963 else
19964 ac_cv_sizeof_void_p=0
19965 fi
19966 fi
19967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19968 fi
19969 rm -f conftest.val
19970 fi
19971 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19972 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19973
19974
19975
19976 cat >>confdefs.h <<_ACEOF
19977 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19978 _ACEOF
19979
19980
19981 { echo "$as_me:$LINENO: checking for int" >&5
19982 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19983 if test "${ac_cv_type_int+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 typedef int ac__type_new_;
19994 int
19995 main ()
19996 {
19997 if ((ac__type_new_ *) 0)
19998 return 0;
19999 if (sizeof (ac__type_new_))
20000 return 0;
20001 ;
20002 return 0;
20003 }
20004 _ACEOF
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20010 esac
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20022 ac_cv_type_int=yes
20023 else
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20026
20027 ac_cv_type_int=no
20028 fi
20029
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 fi
20032 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20033 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20034
20035 # The cast to long int works around a bug in the HP C Compiler
20036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20038 # This bug is HP SR number 8606223364.
20039 { echo "$as_me:$LINENO: checking size of int" >&5
20040 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20041 if test "${ac_cv_sizeof_int+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 else
20044 if test "$cross_compiling" = yes; then
20045 # Depending upon the size, compute the lo and hi bounds.
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 $ac_includes_default
20053 typedef int ac__type_sizeof_;
20054 int
20055 main ()
20056 {
20057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20058 test_array [0] = 0
20059
20060 ;
20061 return 0;
20062 }
20063 _ACEOF
20064 rm -f conftest.$ac_objext
20065 if { (ac_try="$ac_compile"
20066 case "(($ac_try" in
20067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20069 esac
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } && {
20078 test -z "$ac_c_werror_flag" ||
20079 test ! -s conftest.err
20080 } && test -s conftest.$ac_objext; then
20081 ac_lo=0 ac_mid=0
20082 while :; do
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef int ac__type_sizeof_;
20091 int
20092 main ()
20093 {
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20095 test_array [0] = 0
20096
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20106 esac
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.$ac_objext; then
20118 ac_hi=$ac_mid; break
20119 else
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20122
20123 ac_lo=`expr $ac_mid + 1`
20124 if test $ac_lo -le $ac_mid; then
20125 ac_lo= ac_hi=
20126 break
20127 fi
20128 ac_mid=`expr 2 '*' $ac_mid + 1`
20129 fi
20130
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20132 done
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20136
20137 cat >conftest.$ac_ext <<_ACEOF
20138 /* confdefs.h. */
20139 _ACEOF
20140 cat confdefs.h >>conftest.$ac_ext
20141 cat >>conftest.$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20143 $ac_includes_default
20144 typedef int ac__type_sizeof_;
20145 int
20146 main ()
20147 {
20148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20149 test_array [0] = 0
20150
20151 ;
20152 return 0;
20153 }
20154 _ACEOF
20155 rm -f conftest.$ac_objext
20156 if { (ac_try="$ac_compile"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20160 esac
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20163 ac_status=$?
20164 grep -v '^ *+' conftest.er1 >conftest.err
20165 rm -f conftest.er1
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20172 ac_hi=-1 ac_mid=-1
20173 while :; do
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef int ac__type_sizeof_;
20182 int
20183 main ()
20184 {
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20186 test_array [0] = 0
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20197 esac
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20209 ac_lo=$ac_mid; break
20210 else
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20213
20214 ac_hi=`expr '(' $ac_mid ')' - 1`
20215 if test $ac_mid -le $ac_hi; then
20216 ac_lo= ac_hi=
20217 break
20218 fi
20219 ac_mid=`expr 2 '*' $ac_mid`
20220 fi
20221
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 done
20224 else
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20227
20228 ac_lo= ac_hi=
20229 fi
20230
20231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20232 fi
20233
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235 # Binary search between lo and hi bounds.
20236 while test "x$ac_lo" != "x$ac_hi"; do
20237 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20238 cat >conftest.$ac_ext <<_ACEOF
20239 /* confdefs.h. */
20240 _ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 $ac_includes_default
20245 typedef int ac__type_sizeof_;
20246 int
20247 main ()
20248 {
20249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20250 test_array [0] = 0
20251
20252 ;
20253 return 0;
20254 }
20255 _ACEOF
20256 rm -f conftest.$ac_objext
20257 if { (ac_try="$ac_compile"
20258 case "(($ac_try" in
20259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20260 *) ac_try_echo=$ac_try;;
20261 esac
20262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest.$ac_objext; then
20273 ac_hi=$ac_mid
20274 else
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20277
20278 ac_lo=`expr '(' $ac_mid ')' + 1`
20279 fi
20280
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 done
20283 case $ac_lo in
20284 ?*) ac_cv_sizeof_int=$ac_lo;;
20285 '') if test "$ac_cv_type_int" = yes; then
20286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20287 See \`config.log' for more details." >&5
20288 echo "$as_me: error: cannot compute sizeof (int)
20289 See \`config.log' for more details." >&2;}
20290 { (exit 77); exit 77; }; }
20291 else
20292 ac_cv_sizeof_int=0
20293 fi ;;
20294 esac
20295 else
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20303 typedef int ac__type_sizeof_;
20304 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20305 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 #include <stdio.h>
20307 #include <stdlib.h>
20308 int
20309 main ()
20310 {
20311
20312 FILE *f = fopen ("conftest.val", "w");
20313 if (! f)
20314 return 1;
20315 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20316 {
20317 long int i = longval ();
20318 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20319 return 1;
20320 fprintf (f, "%ld\n", i);
20321 }
20322 else
20323 {
20324 unsigned long int i = ulongval ();
20325 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20326 return 1;
20327 fprintf (f, "%lu\n", i);
20328 }
20329 return ferror (f) || fclose (f) != 0;
20330
20331 ;
20332 return 0;
20333 }
20334 _ACEOF
20335 rm -f conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20340 esac
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>&5
20343 ac_status=$?
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20346 { (case "(($ac_try" in
20347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20348 *) ac_try_echo=$ac_try;;
20349 esac
20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20351 (eval "$ac_try") 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_sizeof_int=`cat conftest.val`
20356 else
20357 echo "$as_me: program exited with status $ac_status" >&5
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20360
20361 ( exit $ac_status )
20362 if test "$ac_cv_type_int" = yes; then
20363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20364 See \`config.log' for more details." >&5
20365 echo "$as_me: error: cannot compute sizeof (int)
20366 See \`config.log' for more details." >&2;}
20367 { (exit 77); exit 77; }; }
20368 else
20369 ac_cv_sizeof_int=0
20370 fi
20371 fi
20372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20373 fi
20374 rm -f conftest.val
20375 fi
20376 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20377 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20378
20379
20380
20381 cat >>confdefs.h <<_ACEOF
20382 #define SIZEOF_INT $ac_cv_sizeof_int
20383 _ACEOF
20384
20385
20386 { echo "$as_me:$LINENO: checking for long" >&5
20387 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20388 if test "${ac_cv_type_long+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 else
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 $ac_includes_default
20398 typedef long ac__type_new_;
20399 int
20400 main ()
20401 {
20402 if ((ac__type_new_ *) 0)
20403 return 0;
20404 if (sizeof (ac__type_new_))
20405 return 0;
20406 ;
20407 return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest.$ac_objext
20411 if { (ac_try="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20415 esac
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20418 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20427 ac_cv_type_long=yes
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20431
20432 ac_cv_type_long=no
20433 fi
20434
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 fi
20437 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20438 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20439
20440 # The cast to long int works around a bug in the HP C Compiler
20441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20443 # This bug is HP SR number 8606223364.
20444 { echo "$as_me:$LINENO: checking size of long" >&5
20445 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20446 if test "${ac_cv_sizeof_long+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 else
20449 if test "$cross_compiling" = yes; then
20450 # Depending upon the size, compute the lo and hi bounds.
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20458 typedef long ac__type_sizeof_;
20459 int
20460 main ()
20461 {
20462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20463 test_array [0] = 0
20464
20465 ;
20466 return 0;
20467 }
20468 _ACEOF
20469 rm -f conftest.$ac_objext
20470 if { (ac_try="$ac_compile"
20471 case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20474 esac
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_compile") 2>conftest.er1
20477 ac_status=$?
20478 grep -v '^ *+' conftest.er1 >conftest.err
20479 rm -f conftest.er1
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } && {
20483 test -z "$ac_c_werror_flag" ||
20484 test ! -s conftest.err
20485 } && test -s conftest.$ac_objext; then
20486 ac_lo=0 ac_mid=0
20487 while :; do
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 typedef long ac__type_sizeof_;
20496 int
20497 main ()
20498 {
20499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20500 test_array [0] = 0
20501
20502 ;
20503 return 0;
20504 }
20505 _ACEOF
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510 *) ac_try_echo=$ac_try;;
20511 esac
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.$ac_objext; then
20523 ac_hi=$ac_mid; break
20524 else
20525 echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.$ac_ext >&5
20527
20528 ac_lo=`expr $ac_mid + 1`
20529 if test $ac_lo -le $ac_mid; then
20530 ac_lo= ac_hi=
20531 break
20532 fi
20533 ac_mid=`expr 2 '*' $ac_mid + 1`
20534 fi
20535
20536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20537 done
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20541
20542 cat >conftest.$ac_ext <<_ACEOF
20543 /* confdefs.h. */
20544 _ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20549 typedef long ac__type_sizeof_;
20550 int
20551 main ()
20552 {
20553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20554 test_array [0] = 0
20555
20556 ;
20557 return 0;
20558 }
20559 _ACEOF
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20565 esac
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20568 ac_status=$?
20569 grep -v '^ *+' conftest.er1 >conftest.err
20570 rm -f conftest.er1
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20577 ac_hi=-1 ac_mid=-1
20578 while :; do
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef long ac__type_sizeof_;
20587 int
20588 main ()
20589 {
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20591 test_array [0] = 0
20592
20593 ;
20594 return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20602 esac
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_lo=$ac_mid; break
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20618
20619 ac_hi=`expr '(' $ac_mid ')' - 1`
20620 if test $ac_mid -le $ac_hi; then
20621 ac_lo= ac_hi=
20622 break
20623 fi
20624 ac_mid=`expr 2 '*' $ac_mid`
20625 fi
20626
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20628 done
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20632
20633 ac_lo= ac_hi=
20634 fi
20635
20636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20637 fi
20638
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 # Binary search between lo and hi bounds.
20641 while test "x$ac_lo" != "x$ac_hi"; do
20642 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20643 cat >conftest.$ac_ext <<_ACEOF
20644 /* confdefs.h. */
20645 _ACEOF
20646 cat confdefs.h >>conftest.$ac_ext
20647 cat >>conftest.$ac_ext <<_ACEOF
20648 /* end confdefs.h. */
20649 $ac_includes_default
20650 typedef long ac__type_sizeof_;
20651 int
20652 main ()
20653 {
20654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20655 test_array [0] = 0
20656
20657 ;
20658 return 0;
20659 }
20660 _ACEOF
20661 rm -f conftest.$ac_objext
20662 if { (ac_try="$ac_compile"
20663 case "(($ac_try" in
20664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20665 *) ac_try_echo=$ac_try;;
20666 esac
20667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20668 (eval "$ac_compile") 2>conftest.er1
20669 ac_status=$?
20670 grep -v '^ *+' conftest.er1 >conftest.err
20671 rm -f conftest.er1
20672 cat conftest.err >&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } && {
20675 test -z "$ac_c_werror_flag" ||
20676 test ! -s conftest.err
20677 } && test -s conftest.$ac_objext; then
20678 ac_hi=$ac_mid
20679 else
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20682
20683 ac_lo=`expr '(' $ac_mid ')' + 1`
20684 fi
20685
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20687 done
20688 case $ac_lo in
20689 ?*) ac_cv_sizeof_long=$ac_lo;;
20690 '') if test "$ac_cv_type_long" = yes; then
20691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20692 See \`config.log' for more details." >&5
20693 echo "$as_me: error: cannot compute sizeof (long)
20694 See \`config.log' for more details." >&2;}
20695 { (exit 77); exit 77; }; }
20696 else
20697 ac_cv_sizeof_long=0
20698 fi ;;
20699 esac
20700 else
20701 cat >conftest.$ac_ext <<_ACEOF
20702 /* confdefs.h. */
20703 _ACEOF
20704 cat confdefs.h >>conftest.$ac_ext
20705 cat >>conftest.$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20708 typedef long ac__type_sizeof_;
20709 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20710 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 #include <stdio.h>
20712 #include <stdlib.h>
20713 int
20714 main ()
20715 {
20716
20717 FILE *f = fopen ("conftest.val", "w");
20718 if (! f)
20719 return 1;
20720 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20721 {
20722 long int i = longval ();
20723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20724 return 1;
20725 fprintf (f, "%ld\n", i);
20726 }
20727 else
20728 {
20729 unsigned long int i = ulongval ();
20730 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20731 return 1;
20732 fprintf (f, "%lu\n", i);
20733 }
20734 return ferror (f) || fclose (f) != 0;
20735
20736 ;
20737 return 0;
20738 }
20739 _ACEOF
20740 rm -f conftest$ac_exeext
20741 if { (ac_try="$ac_link"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20745 esac
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_link") 2>&5
20748 ac_status=$?
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20751 { (case "(($ac_try" in
20752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20753 *) ac_try_echo=$ac_try;;
20754 esac
20755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20756 (eval "$ac_try") 2>&5
20757 ac_status=$?
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; }; then
20760 ac_cv_sizeof_long=`cat conftest.val`
20761 else
20762 echo "$as_me: program exited with status $ac_status" >&5
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 ( exit $ac_status )
20767 if test "$ac_cv_type_long" = yes; then
20768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20769 See \`config.log' for more details." >&5
20770 echo "$as_me: error: cannot compute sizeof (long)
20771 See \`config.log' for more details." >&2;}
20772 { (exit 77); exit 77; }; }
20773 else
20774 ac_cv_sizeof_long=0
20775 fi
20776 fi
20777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20778 fi
20779 rm -f conftest.val
20780 fi
20781 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20782 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20783
20784
20785
20786 cat >>confdefs.h <<_ACEOF
20787 #define SIZEOF_LONG $ac_cv_sizeof_long
20788 _ACEOF
20789
20790
20791 { echo "$as_me:$LINENO: checking for size_t" >&5
20792 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20793 if test "${ac_cv_type_size_t+set}" = set; then
20794 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 else
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20803 typedef size_t ac__type_new_;
20804 int
20805 main ()
20806 {
20807 if ((ac__type_new_ *) 0)
20808 return 0;
20809 if (sizeof (ac__type_new_))
20810 return 0;
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20820 esac
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20823 ac_status=$?
20824 grep -v '^ *+' conftest.er1 >conftest.err
20825 rm -f conftest.er1
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_c_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20832 ac_cv_type_size_t=yes
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 ac_cv_type_size_t=no
20838 fi
20839
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841 fi
20842 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20843 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20844
20845 # The cast to long int works around a bug in the HP C Compiler
20846 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20847 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20848 # This bug is HP SR number 8606223364.
20849 { echo "$as_me:$LINENO: checking size of size_t" >&5
20850 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20851 if test "${ac_cv_sizeof_size_t+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 else
20854 if test "$cross_compiling" = yes; then
20855 # Depending upon the size, compute the lo and hi bounds.
20856 cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 $ac_includes_default
20863 typedef size_t ac__type_sizeof_;
20864 int
20865 main ()
20866 {
20867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20868 test_array [0] = 0
20869
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 rm -f conftest.$ac_objext
20875 if { (ac_try="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20879 esac
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20882 ac_status=$?
20883 grep -v '^ *+' conftest.er1 >conftest.err
20884 rm -f conftest.er1
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20891 ac_lo=0 ac_mid=0
20892 while :; do
20893 cat >conftest.$ac_ext <<_ACEOF
20894 /* confdefs.h. */
20895 _ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 typedef size_t ac__type_sizeof_;
20901 int
20902 main ()
20903 {
20904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20905 test_array [0] = 0
20906
20907 ;
20908 return 0;
20909 }
20910 _ACEOF
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20915 *) ac_try_echo=$ac_try;;
20916 esac
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.$ac_objext; then
20928 ac_hi=$ac_mid; break
20929 else
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20932
20933 ac_lo=`expr $ac_mid + 1`
20934 if test $ac_lo -le $ac_mid; then
20935 ac_lo= ac_hi=
20936 break
20937 fi
20938 ac_mid=`expr 2 '*' $ac_mid + 1`
20939 fi
20940
20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20942 done
20943 else
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947 cat >conftest.$ac_ext <<_ACEOF
20948 /* confdefs.h. */
20949 _ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef size_t ac__type_sizeof_;
20955 int
20956 main ()
20957 {
20958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20959 test_array [0] = 0
20960
20961 ;
20962 return 0;
20963 }
20964 _ACEOF
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20970 esac
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20982 ac_hi=-1 ac_mid=-1
20983 while :; do
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef size_t ac__type_sizeof_;
20992 int
20993 main ()
20994 {
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20996 test_array [0] = 0
20997
20998 ;
20999 return 0;
21000 }
21001 _ACEOF
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21007 esac
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.$ac_objext; then
21019 ac_lo=$ac_mid; break
21020 else
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.$ac_ext >&5
21023
21024 ac_hi=`expr '(' $ac_mid ')' - 1`
21025 if test $ac_mid -le $ac_hi; then
21026 ac_lo= ac_hi=
21027 break
21028 fi
21029 ac_mid=`expr 2 '*' $ac_mid`
21030 fi
21031
21032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21033 done
21034 else
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.$ac_ext >&5
21037
21038 ac_lo= ac_hi=
21039 fi
21040
21041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21042 fi
21043
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 # Binary search between lo and hi bounds.
21046 while test "x$ac_lo" != "x$ac_hi"; do
21047 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21048 cat >conftest.$ac_ext <<_ACEOF
21049 /* confdefs.h. */
21050 _ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 $ac_includes_default
21055 typedef size_t ac__type_sizeof_;
21056 int
21057 main ()
21058 {
21059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21060 test_array [0] = 0
21061
21062 ;
21063 return 0;
21064 }
21065 _ACEOF
21066 rm -f conftest.$ac_objext
21067 if { (ac_try="$ac_compile"
21068 case "(($ac_try" in
21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21070 *) ac_try_echo=$ac_try;;
21071 esac
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_compile") 2>conftest.er1
21074 ac_status=$?
21075 grep -v '^ *+' conftest.er1 >conftest.err
21076 rm -f conftest.er1
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && {
21080 test -z "$ac_c_werror_flag" ||
21081 test ! -s conftest.err
21082 } && test -s conftest.$ac_objext; then
21083 ac_hi=$ac_mid
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21087
21088 ac_lo=`expr '(' $ac_mid ')' + 1`
21089 fi
21090
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21092 done
21093 case $ac_lo in
21094 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21095 '') if test "$ac_cv_type_size_t" = yes; then
21096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21097 See \`config.log' for more details." >&5
21098 echo "$as_me: error: cannot compute sizeof (size_t)
21099 See \`config.log' for more details." >&2;}
21100 { (exit 77); exit 77; }; }
21101 else
21102 ac_cv_sizeof_size_t=0
21103 fi ;;
21104 esac
21105 else
21106 cat >conftest.$ac_ext <<_ACEOF
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 typedef size_t ac__type_sizeof_;
21114 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21115 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 #include <stdio.h>
21117 #include <stdlib.h>
21118 int
21119 main ()
21120 {
21121
21122 FILE *f = fopen ("conftest.val", "w");
21123 if (! f)
21124 return 1;
21125 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21126 {
21127 long int i = longval ();
21128 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21129 return 1;
21130 fprintf (f, "%ld\n", i);
21131 }
21132 else
21133 {
21134 unsigned long int i = ulongval ();
21135 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21136 return 1;
21137 fprintf (f, "%lu\n", i);
21138 }
21139 return ferror (f) || fclose (f) != 0;
21140
21141 ;
21142 return 0;
21143 }
21144 _ACEOF
21145 rm -f conftest$ac_exeext
21146 if { (ac_try="$ac_link"
21147 case "(($ac_try" in
21148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21149 *) ac_try_echo=$ac_try;;
21150 esac
21151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21152 (eval "$ac_link") 2>&5
21153 ac_status=$?
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21156 { (case "(($ac_try" in
21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21159 esac
21160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_try") 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 ac_cv_sizeof_size_t=`cat conftest.val`
21166 else
21167 echo "$as_me: program exited with status $ac_status" >&5
21168 echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21170
21171 ( exit $ac_status )
21172 if test "$ac_cv_type_size_t" = yes; then
21173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21174 See \`config.log' for more details." >&5
21175 echo "$as_me: error: cannot compute sizeof (size_t)
21176 See \`config.log' for more details." >&2;}
21177 { (exit 77); exit 77; }; }
21178 else
21179 ac_cv_sizeof_size_t=0
21180 fi
21181 fi
21182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21183 fi
21184 rm -f conftest.val
21185 fi
21186 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21187 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21188
21189
21190
21191 cat >>confdefs.h <<_ACEOF
21192 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21193 _ACEOF
21194
21195
21196
21197 case "${host}" in
21198 arm-*-linux* )
21199 { echo "$as_me:$LINENO: checking for long long" >&5
21200 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21201 if test "${ac_cv_type_long_long+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 else
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef long long ac__type_new_;
21212 int
21213 main ()
21214 {
21215 if ((ac__type_new_ *) 0)
21216 return 0;
21217 if (sizeof (ac__type_new_))
21218 return 0;
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21228 esac
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21231 ac_status=$?
21232 grep -v '^ *+' conftest.er1 >conftest.err
21233 rm -f conftest.er1
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.$ac_objext; then
21240 ac_cv_type_long_long=yes
21241 else
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 ac_cv_type_long_long=no
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 fi
21250 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21251 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21252
21253 # The cast to long int works around a bug in the HP C Compiler
21254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21256 # This bug is HP SR number 8606223364.
21257 { echo "$as_me:$LINENO: checking size of long long" >&5
21258 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21259 if test "${ac_cv_sizeof_long_long+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 else
21262 if test "$cross_compiling" = yes; then
21263 # Depending upon the size, compute the lo and hi bounds.
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long long ac__type_sizeof_;
21272 int
21273 main ()
21274 {
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21276 test_array [0] = 0
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (ac_try="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21299 ac_lo=0 ac_mid=0
21300 while :; do
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_sizeof_;
21309 int
21310 main ()
21311 {
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21313 test_array [0] = 0
21314
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21327 ac_status=$?
21328 grep -v '^ *+' conftest.er1 >conftest.err
21329 rm -f conftest.er1
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.$ac_objext; then
21336 ac_hi=$ac_mid; break
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 ac_lo=`expr $ac_mid + 1`
21342 if test $ac_lo -le $ac_mid; then
21343 ac_lo= ac_hi=
21344 break
21345 fi
21346 ac_mid=`expr 2 '*' $ac_mid + 1`
21347 fi
21348
21349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 done
21351 else
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21354
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef long long ac__type_sizeof_;
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (ac_try="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21378 esac
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21390 ac_hi=-1 ac_mid=-1
21391 while :; do
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_lo=$ac_mid; break
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 ac_hi=`expr '(' $ac_mid ')' - 1`
21433 if test $ac_mid -le $ac_hi; then
21434 ac_lo= ac_hi=
21435 break
21436 fi
21437 ac_mid=`expr 2 '*' $ac_mid`
21438 fi
21439
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 done
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_lo= ac_hi=
21447 fi
21448
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 fi
21451
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 # Binary search between lo and hi bounds.
21454 while test "x$ac_lo" != "x$ac_hi"; do
21455 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21456 cat >conftest.$ac_ext <<_ACEOF
21457 /* confdefs.h. */
21458 _ACEOF
21459 cat confdefs.h >>conftest.$ac_ext
21460 cat >>conftest.$ac_ext <<_ACEOF
21461 /* end confdefs.h. */
21462 $ac_includes_default
21463 typedef long long ac__type_sizeof_;
21464 int
21465 main ()
21466 {
21467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21468 test_array [0] = 0
21469
21470 ;
21471 return 0;
21472 }
21473 _ACEOF
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21479 esac
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 ac_hi=$ac_mid
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 ac_lo=`expr '(' $ac_mid ')' + 1`
21497 fi
21498
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 done
21501 case $ac_lo in
21502 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21503 '') if test "$ac_cv_type_long_long" = yes; then
21504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21505 See \`config.log' for more details." >&5
21506 echo "$as_me: error: cannot compute sizeof (long long)
21507 See \`config.log' for more details." >&2;}
21508 { (exit 77); exit 77; }; }
21509 else
21510 ac_cv_sizeof_long_long=0
21511 fi ;;
21512 esac
21513 else
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21524 #include <stdio.h>
21525 #include <stdlib.h>
21526 int
21527 main ()
21528 {
21529
21530 FILE *f = fopen ("conftest.val", "w");
21531 if (! f)
21532 return 1;
21533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21534 {
21535 long int i = longval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21537 return 1;
21538 fprintf (f, "%ld\n", i);
21539 }
21540 else
21541 {
21542 unsigned long int i = ulongval ();
21543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21544 return 1;
21545 fprintf (f, "%lu\n", i);
21546 }
21547 return ferror (f) || fclose (f) != 0;
21548
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest$ac_exeext
21554 if { (ac_try="$ac_link"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21558 esac
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_link") 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 ac_cv_sizeof_long_long=`cat conftest.val`
21574 else
21575 echo "$as_me: program exited with status $ac_status" >&5
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21578
21579 ( exit $ac_status )
21580 if test "$ac_cv_type_long_long" = yes; then
21581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21582 See \`config.log' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (long long)
21584 See \`config.log' for more details." >&2;}
21585 { (exit 77); exit 77; }; }
21586 else
21587 ac_cv_sizeof_long_long=0
21588 fi
21589 fi
21590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21591 fi
21592 rm -f conftest.val
21593 fi
21594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21595 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21596
21597
21598
21599 cat >>confdefs.h <<_ACEOF
21600 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21601 _ACEOF
21602
21603
21604 ;;
21605 *-hp-hpux* )
21606 { echo "$as_me:$LINENO: checking for long long" >&5
21607 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_long_long+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_new_;
21619 int
21620 main ()
21621 {
21622 if ((ac__type_new_ *) 0)
21623 return 0;
21624 if (sizeof (ac__type_new_))
21625 return 0;
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21638 ac_status=$?
21639 grep -v '^ *+' conftest.er1 >conftest.err
21640 rm -f conftest.er1
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21647 ac_cv_type_long_long=yes
21648 else
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21651
21652 ac_cv_type_long_long=no
21653 fi
21654
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 fi
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21658 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of long long" >&5
21665 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_long_long+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef long long ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_lo=0 ac_mid=0
21707 while :; do
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_hi=$ac_mid; break
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_lo=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21750 ac_lo= ac_hi=
21751 break
21752 fi
21753 ac_mid=`expr 2 '*' $ac_mid + 1`
21754 fi
21755
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 done
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef long long ac__type_sizeof_;
21770 int
21771 main ()
21772 {
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21774 test_array [0] = 0
21775
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 rm -f conftest.$ac_objext
21781 if { (ac_try="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21797 ac_hi=-1 ac_mid=-1
21798 while :; do
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21807 int
21808 main ()
21809 {
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21811 test_array [0] = 0
21812
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21822 esac
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21825 ac_status=$?
21826 grep -v '^ *+' conftest.er1 >conftest.err
21827 rm -f conftest.er1
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21834 ac_lo=$ac_mid; break
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_hi=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21841 ac_lo= ac_hi=
21842 break
21843 fi
21844 ac_mid=`expr 2 '*' $ac_mid`
21845 fi
21846
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 done
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_lo= ac_hi=
21854 fi
21855
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_sizeof_;
21871 int
21872 main ()
21873 {
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 test_array [0] = 0
21876
21877 ;
21878 return 0;
21879 }
21880 _ACEOF
21881 rm -f conftest.$ac_objext
21882 if { (ac_try="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21886 esac
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21889 ac_status=$?
21890 grep -v '^ *+' conftest.er1 >conftest.err
21891 rm -f conftest.er1
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21898 ac_hi=$ac_mid
21899 else
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21904 fi
21905
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 done
21908 case $ac_lo in
21909 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21910 '') if test "$ac_cv_type_long_long" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21912 See \`config.log' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (long long)
21914 See \`config.log' for more details." >&2;}
21915 { (exit 77); exit 77; }; }
21916 else
21917 ac_cv_sizeof_long_long=0
21918 fi ;;
21919 esac
21920 else
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef long long ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdio.h>
21932 #include <stdlib.h>
21933 int
21934 main ()
21935 {
21936
21937 FILE *f = fopen ("conftest.val", "w");
21938 if (! f)
21939 return 1;
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 {
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 return 1;
21945 fprintf (f, "%ld\n", i);
21946 }
21947 else
21948 {
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 return 1;
21952 fprintf (f, "%lu\n", i);
21953 }
21954 return ferror (f) || fclose (f) != 0;
21955
21956 ;
21957 return 0;
21958 }
21959 _ACEOF
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21965 esac
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21974 esac
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_long_long=`cat conftest.val`
21981 else
21982 echo "$as_me: program exited with status $ac_status" >&5
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_long_long" = yes; then
21988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21989 See \`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (long long)
21991 See \`config.log' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21993 else
21994 ac_cv_sizeof_long_long=0
21995 fi
21996 fi
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21998 fi
21999 rm -f conftest.val
22000 fi
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22003
22004
22005
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22008 _ACEOF
22009
22010
22011 if test "$ac_cv_sizeof_long_long" != 0; then
22012 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22013 fi
22014 ;;
22015 * )
22016 { echo "$as_me:$LINENO: checking for long long" >&5
22017 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22018 if test "${ac_cv_type_long_long+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 else
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 $ac_includes_default
22028 typedef long long ac__type_new_;
22029 int
22030 main ()
22031 {
22032 if ((ac__type_new_ *) 0)
22033 return 0;
22034 if (sizeof (ac__type_new_))
22035 return 0;
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22048 ac_status=$?
22049 grep -v '^ *+' conftest.er1 >conftest.err
22050 rm -f conftest.er1
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_cv_type_long_long=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_cv_type_long_long=no
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22068 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22069
22070 # The cast to long int works around a bug in the HP C Compiler
22071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22073 # This bug is HP SR number 8606223364.
22074 { echo "$as_me:$LINENO: checking size of long long" >&5
22075 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22076 if test "${ac_cv_sizeof_long_long+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079 if test "$cross_compiling" = yes; then
22080 # Depending upon the size, compute the lo and hi bounds.
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_sizeof_;
22089 int
22090 main ()
22091 {
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22093 test_array [0] = 0
22094
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 rm -f conftest.$ac_objext
22100 if { (ac_try="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22104 esac
22105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22107 ac_status=$?
22108 grep -v '^ *+' conftest.er1 >conftest.err
22109 rm -f conftest.er1
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22116 ac_lo=0 ac_mid=0
22117 while :; do
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h. */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22126 int
22127 main ()
22128 {
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22130 test_array [0] = 0
22131
22132 ;
22133 return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22144 ac_status=$?
22145 grep -v '^ *+' conftest.er1 >conftest.err
22146 rm -f conftest.er1
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
22153 ac_hi=$ac_mid; break
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 ac_lo=`expr $ac_mid + 1`
22159 if test $ac_lo -le $ac_mid; then
22160 ac_lo= ac_hi=
22161 break
22162 fi
22163 ac_mid=`expr 2 '*' $ac_mid + 1`
22164 fi
22165
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 done
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef long long ac__type_sizeof_;
22180 int
22181 main ()
22182 {
22183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22184 test_array [0] = 0
22185
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 rm -f conftest.$ac_objext
22191 if { (ac_try="$ac_compile"
22192 case "(($ac_try" in
22193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22195 esac
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_compile") 2>conftest.er1
22198 ac_status=$?
22199 grep -v '^ *+' conftest.er1 >conftest.err
22200 rm -f conftest.er1
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && {
22204 test -z "$ac_c_werror_flag" ||
22205 test ! -s conftest.err
22206 } && test -s conftest.$ac_objext; then
22207 ac_hi=-1 ac_mid=-1
22208 while :; do
22209 cat >conftest.$ac_ext <<_ACEOF
22210 /* confdefs.h. */
22211 _ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22217 int
22218 main ()
22219 {
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22221 test_array [0] = 0
22222
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.$ac_objext; then
22244 ac_lo=$ac_mid; break
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_hi=`expr '(' $ac_mid ')' - 1`
22250 if test $ac_mid -le $ac_hi; then
22251 ac_lo= ac_hi=
22252 break
22253 fi
22254 ac_mid=`expr 2 '*' $ac_mid`
22255 fi
22256
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 done
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ac_lo= ac_hi=
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 # Binary search between lo and hi bounds.
22271 while test "x$ac_lo" != "x$ac_hi"; do
22272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22280 typedef long long ac__type_sizeof_;
22281 int
22282 main ()
22283 {
22284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22285 test_array [0] = 0
22286
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (ac_try="$ac_compile"
22293 case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_compile") 2>conftest.er1
22299 ac_status=$?
22300 grep -v '^ *+' conftest.er1 >conftest.err
22301 rm -f conftest.er1
22302 cat conftest.err >&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && {
22305 test -z "$ac_c_werror_flag" ||
22306 test ! -s conftest.err
22307 } && test -s conftest.$ac_objext; then
22308 ac_hi=$ac_mid
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 ac_lo=`expr '(' $ac_mid ')' + 1`
22314 fi
22315
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 done
22318 case $ac_lo in
22319 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22320 '') if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22322 See \`config.log' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log' for more details." >&2;}
22325 { (exit 77); exit 77; }; }
22326 else
22327 ac_cv_sizeof_long_long=0
22328 fi ;;
22329 esac
22330 else
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22341 #include <stdio.h>
22342 #include <stdlib.h>
22343 int
22344 main ()
22345 {
22346
22347 FILE *f = fopen ("conftest.val", "w");
22348 if (! f)
22349 return 1;
22350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22351 {
22352 long int i = longval ();
22353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22354 return 1;
22355 fprintf (f, "%ld\n", i);
22356 }
22357 else
22358 {
22359 unsigned long int i = ulongval ();
22360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 return 1;
22362 fprintf (f, "%lu\n", i);
22363 }
22364 return ferror (f) || fclose (f) != 0;
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest$ac_exeext
22371 if { (ac_try="$ac_link"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_link") 2>&5
22378 ac_status=$?
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22381 { (case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22384 esac
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_try") 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_sizeof_long_long=`cat conftest.val`
22391 else
22392 echo "$as_me: program exited with status $ac_status" >&5
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22395
22396 ( exit $ac_status )
22397 if test "$ac_cv_type_long_long" = yes; then
22398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log' for more details." >&2;}
22402 { (exit 77); exit 77; }; }
22403 else
22404 ac_cv_sizeof_long_long=0
22405 fi
22406 fi
22407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22408 fi
22409 rm -f conftest.val
22410 fi
22411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22412 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22413
22414
22415
22416 cat >>confdefs.h <<_ACEOF
22417 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22418 _ACEOF
22419
22420
22421 esac
22422
22423 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22424 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22425 if test "${ac_cv_type_wchar_t+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 cat >conftest.$ac_ext <<_ACEOF
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434
22435 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22436 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22437 # error "fake wchar_t"
22438 #endif
22439 #ifdef HAVE_WCHAR_H
22440 # ifdef __CYGWIN__
22441 # include <stddef.h>
22442 # endif
22443 # include <wchar.h>
22444 #endif
22445 #ifdef HAVE_STDLIB_H
22446 # include <stdlib.h>
22447 #endif
22448 #include <stdio.h>
22449
22450
22451
22452 typedef wchar_t ac__type_new_;
22453 int
22454 main ()
22455 {
22456 if ((ac__type_new_ *) 0)
22457 return 0;
22458 if (sizeof (ac__type_new_))
22459 return 0;
22460 ;
22461 return 0;
22462 }
22463 _ACEOF
22464 rm -f conftest.$ac_objext
22465 if { (ac_try="$ac_compile"
22466 case "(($ac_try" in
22467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22468 *) ac_try_echo=$ac_try;;
22469 esac
22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22471 (eval "$ac_compile") 2>conftest.er1
22472 ac_status=$?
22473 grep -v '^ *+' conftest.er1 >conftest.err
22474 rm -f conftest.er1
22475 cat conftest.err >&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } && {
22478 test -z "$ac_c_werror_flag" ||
22479 test ! -s conftest.err
22480 } && test -s conftest.$ac_objext; then
22481 ac_cv_type_wchar_t=yes
22482 else
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22485
22486 ac_cv_type_wchar_t=no
22487 fi
22488
22489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 fi
22491 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22492 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22493
22494 # The cast to long int works around a bug in the HP C Compiler
22495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22497 # This bug is HP SR number 8606223364.
22498 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22499 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22500 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 else
22503 if test "$cross_compiling" = yes; then
22504 # Depending upon the size, compute the lo and hi bounds.
22505 cat >conftest.$ac_ext <<_ACEOF
22506 /* confdefs.h. */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511
22512 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22513 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22514 # error "fake wchar_t"
22515 #endif
22516 #ifdef HAVE_WCHAR_H
22517 # ifdef __CYGWIN__
22518 # include <stddef.h>
22519 # endif
22520 # include <wchar.h>
22521 #endif
22522 #ifdef HAVE_STDLIB_H
22523 # include <stdlib.h>
22524 #endif
22525 #include <stdio.h>
22526
22527
22528
22529 typedef wchar_t ac__type_sizeof_;
22530 int
22531 main ()
22532 {
22533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22534 test_array [0] = 0
22535
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 rm -f conftest.$ac_objext
22541 if { (ac_try="$ac_compile"
22542 case "(($ac_try" in
22543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22545 esac
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_compile") 2>conftest.er1
22548 ac_status=$?
22549 grep -v '^ *+' conftest.er1 >conftest.err
22550 rm -f conftest.er1
22551 cat conftest.err >&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && {
22554 test -z "$ac_c_werror_flag" ||
22555 test ! -s conftest.err
22556 } && test -s conftest.$ac_objext; then
22557 ac_lo=0 ac_mid=0
22558 while :; do
22559 cat >conftest.$ac_ext <<_ACEOF
22560 /* confdefs.h. */
22561 _ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565
22566 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22567 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22568 # error "fake wchar_t"
22569 #endif
22570 #ifdef HAVE_WCHAR_H
22571 # ifdef __CYGWIN__
22572 # include <stddef.h>
22573 # endif
22574 # include <wchar.h>
22575 #endif
22576 #ifdef HAVE_STDLIB_H
22577 # include <stdlib.h>
22578 #endif
22579 #include <stdio.h>
22580
22581
22582
22583 typedef wchar_t ac__type_sizeof_;
22584 int
22585 main ()
22586 {
22587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22588 test_array [0] = 0
22589
22590 ;
22591 return 0;
22592 }
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22599 esac
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22602 ac_status=$?
22603 grep -v '^ *+' conftest.er1 >conftest.err
22604 rm -f conftest.er1
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.$ac_objext; then
22611 ac_hi=$ac_mid; break
22612 else
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.$ac_ext >&5
22615
22616 ac_lo=`expr $ac_mid + 1`
22617 if test $ac_lo -le $ac_mid; then
22618 ac_lo= ac_hi=
22619 break
22620 fi
22621 ac_mid=`expr 2 '*' $ac_mid + 1`
22622 fi
22623
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 done
22626 else
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.$ac_ext >&5
22629
22630 cat >conftest.$ac_ext <<_ACEOF
22631 /* confdefs.h. */
22632 _ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636
22637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22639 # error "fake wchar_t"
22640 #endif
22641 #ifdef HAVE_WCHAR_H
22642 # ifdef __CYGWIN__
22643 # include <stddef.h>
22644 # endif
22645 # include <wchar.h>
22646 #endif
22647 #ifdef HAVE_STDLIB_H
22648 # include <stdlib.h>
22649 #endif
22650 #include <stdio.h>
22651
22652
22653
22654 typedef wchar_t ac__type_sizeof_;
22655 int
22656 main ()
22657 {
22658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22659 test_array [0] = 0
22660
22661 ;
22662 return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (ac_try="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22670 esac
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22673 ac_status=$?
22674 grep -v '^ *+' conftest.er1 >conftest.err
22675 rm -f conftest.er1
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22682 ac_hi=-1 ac_mid=-1
22683 while :; do
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690
22691 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22692 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22693 # error "fake wchar_t"
22694 #endif
22695 #ifdef HAVE_WCHAR_H
22696 # ifdef __CYGWIN__
22697 # include <stddef.h>
22698 # endif
22699 # include <wchar.h>
22700 #endif
22701 #ifdef HAVE_STDLIB_H
22702 # include <stdlib.h>
22703 #endif
22704 #include <stdio.h>
22705
22706
22707
22708 typedef wchar_t ac__type_sizeof_;
22709 int
22710 main ()
22711 {
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22713 test_array [0] = 0
22714
22715 ;
22716 return 0;
22717 }
22718 _ACEOF
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;;
22724 esac
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22727 ac_status=$?
22728 grep -v '^ *+' conftest.er1 >conftest.err
22729 rm -f conftest.er1
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.$ac_objext; then
22736 ac_lo=$ac_mid; break
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741 ac_hi=`expr '(' $ac_mid ')' - 1`
22742 if test $ac_mid -le $ac_hi; then
22743 ac_lo= ac_hi=
22744 break
22745 fi
22746 ac_mid=`expr 2 '*' $ac_mid`
22747 fi
22748
22749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22750 done
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 ac_lo= ac_hi=
22756 fi
22757
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 fi
22760
22761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22762 # Binary search between lo and hi bounds.
22763 while test "x$ac_lo" != "x$ac_hi"; do
22764 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771
22772 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22773 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22774 # error "fake wchar_t"
22775 #endif
22776 #ifdef HAVE_WCHAR_H
22777 # ifdef __CYGWIN__
22778 # include <stddef.h>
22779 # endif
22780 # include <wchar.h>
22781 #endif
22782 #ifdef HAVE_STDLIB_H
22783 # include <stdlib.h>
22784 #endif
22785 #include <stdio.h>
22786
22787
22788
22789 typedef wchar_t ac__type_sizeof_;
22790 int
22791 main ()
22792 {
22793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22794 test_array [0] = 0
22795
22796 ;
22797 return 0;
22798 }
22799 _ACEOF
22800 rm -f conftest.$ac_objext
22801 if { (ac_try="$ac_compile"
22802 case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22805 esac
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_compile") 2>conftest.er1
22808 ac_status=$?
22809 grep -v '^ *+' conftest.er1 >conftest.err
22810 rm -f conftest.er1
22811 cat conftest.err >&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } && {
22814 test -z "$ac_c_werror_flag" ||
22815 test ! -s conftest.err
22816 } && test -s conftest.$ac_objext; then
22817 ac_hi=$ac_mid
22818 else
22819 echo "$as_me: failed program was:" >&5
22820 sed 's/^/| /' conftest.$ac_ext >&5
22821
22822 ac_lo=`expr '(' $ac_mid ')' + 1`
22823 fi
22824
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 done
22827 case $ac_lo in
22828 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22829 '') if test "$ac_cv_type_wchar_t" = yes; then
22830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22831 See \`config.log' for more details." >&5
22832 echo "$as_me: error: cannot compute sizeof (wchar_t)
22833 See \`config.log' for more details." >&2;}
22834 { (exit 77); exit 77; }; }
22835 else
22836 ac_cv_sizeof_wchar_t=0
22837 fi ;;
22838 esac
22839 else
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846
22847 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22848 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22849 # error "fake wchar_t"
22850 #endif
22851 #ifdef HAVE_WCHAR_H
22852 # ifdef __CYGWIN__
22853 # include <stddef.h>
22854 # endif
22855 # include <wchar.h>
22856 #endif
22857 #ifdef HAVE_STDLIB_H
22858 # include <stdlib.h>
22859 #endif
22860 #include <stdio.h>
22861
22862
22863
22864 typedef wchar_t ac__type_sizeof_;
22865 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22866 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22867 #include <stdio.h>
22868 #include <stdlib.h>
22869 int
22870 main ()
22871 {
22872
22873 FILE *f = fopen ("conftest.val", "w");
22874 if (! f)
22875 return 1;
22876 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22877 {
22878 long int i = longval ();
22879 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22880 return 1;
22881 fprintf (f, "%ld\n", i);
22882 }
22883 else
22884 {
22885 unsigned long int i = ulongval ();
22886 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22887 return 1;
22888 fprintf (f, "%lu\n", i);
22889 }
22890 return ferror (f) || fclose (f) != 0;
22891
22892 ;
22893 return 0;
22894 }
22895 _ACEOF
22896 rm -f conftest$ac_exeext
22897 if { (ac_try="$ac_link"
22898 case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22901 esac
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_link") 2>&5
22904 ac_status=$?
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22907 { (case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22910 esac
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_try") 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 ac_cv_sizeof_wchar_t=`cat conftest.val`
22917 else
22918 echo "$as_me: program exited with status $ac_status" >&5
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22921
22922 ( exit $ac_status )
22923 if test "$ac_cv_type_wchar_t" = yes; then
22924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22925 See \`config.log' for more details." >&5
22926 echo "$as_me: error: cannot compute sizeof (wchar_t)
22927 See \`config.log' for more details." >&2;}
22928 { (exit 77); exit 77; }; }
22929 else
22930 ac_cv_sizeof_wchar_t=0
22931 fi
22932 fi
22933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22934 fi
22935 rm -f conftest.val
22936 fi
22937 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22938 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22939
22940
22941
22942 cat >>confdefs.h <<_ACEOF
22943 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22944 _ACEOF
22945
22946
22947 if test "$ac_cv_sizeof_wchar_t" != 0; then
22948 wxUSE_WCHAR_T=yes
22949 else
22950 wxUSE_WCHAR_T=no
22951 fi
22952
22953 { echo "$as_me:$LINENO: checking for va_copy" >&5
22954 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22955 if test "${wx_cv_func_va_copy+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958
22959 ac_ext=cpp
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964
22965 cat >conftest.$ac_ext <<_ACEOF
22966
22967 #include <stdarg.h>
22968 void foo(char *f, ...)
22969 {
22970 va_list ap1, ap2;
22971 va_start(ap1, f);
22972 va_copy(ap2, ap1);
22973 va_end(ap2);
22974 va_end(ap1);
22975 }
22976 int main()
22977 {
22978 foo("hi", 17);
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext conftest$ac_exeext
22983 if { (ac_try="$ac_link"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_link") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_cxx_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest$ac_exeext &&
22999 $as_test_x conftest$ac_exeext; then
23000 wx_cv_func_va_copy=yes
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 wx_cv_func_va_copy=no
23006
23007 fi
23008
23009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23010 conftest$ac_exeext conftest.$ac_ext
23011 ac_ext=c
23012 ac_cpp='$CPP $CPPFLAGS'
23013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23016
23017
23018
23019 fi
23020 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23021 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23022
23023 if test $wx_cv_func_va_copy = "yes"; then
23024 cat >>confdefs.h <<\_ACEOF
23025 #define HAVE_VA_COPY 1
23026 _ACEOF
23027
23028 else
23029 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23030 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23031 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23033 else
23034
23035 if test "$cross_compiling" = yes; then
23036 wx_cv_type_va_list_lvalue=yes
23037
23038 else
23039 cat >conftest.$ac_ext <<_ACEOF
23040
23041 #include <stdarg.h>
23042 int foo(char *f, ...)
23043 {
23044 va_list ap1, ap2;
23045 va_start(ap1, f);
23046 ap2 = ap1;
23047 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23048 return 1;
23049 va_end(ap2);
23050 va_end(ap1);
23051 return 0;
23052 }
23053 int main()
23054 {
23055 return foo("hi", 17);
23056 }
23057 _ACEOF
23058 rm -f conftest$ac_exeext
23059 if { (ac_try="$ac_link"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23063 esac
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_link") 2>&5
23066 ac_status=$?
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 wx_cv_type_va_list_lvalue=yes
23079 else
23080 echo "$as_me: program exited with status $ac_status" >&5
23081 echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.$ac_ext >&5
23083
23084 ( exit $ac_status )
23085 wx_cv_type_va_list_lvalue=no
23086 fi
23087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23088 fi
23089
23090
23091
23092
23093 fi
23094 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23095 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23096
23097 if test $wx_cv_type_va_list_lvalue != "yes"; then
23098 cat >>confdefs.h <<\_ACEOF
23099 #define VA_LIST_IS_ARRAY 1
23100 _ACEOF
23101
23102 fi
23103 fi
23104
23105 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23106
23107 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23108 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23109 if test "${wx_cv_have_variadic_macros+set}" = set; then
23110 echo $ECHO_N "(cached) $ECHO_C" >&6
23111 else
23112
23113 ac_ext=cpp
23114 ac_cpp='$CXXCPP $CPPFLAGS'
23115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23118
23119 cat >conftest.$ac_ext <<_ACEOF
23120 /* confdefs.h. */
23121 _ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125
23126 #include <stdio.h>
23127 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23128
23129 int
23130 main ()
23131 {
23132
23133 test("%s %d %p", "test", 1, 0);
23134
23135
23136 ;
23137 return 0;
23138 }
23139 _ACEOF
23140 rm -f conftest.$ac_objext
23141 if { (ac_try="$ac_compile"
23142 case "(($ac_try" in
23143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23144 *) ac_try_echo=$ac_try;;
23145 esac
23146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23147 (eval "$ac_compile") 2>conftest.er1
23148 ac_status=$?
23149 grep -v '^ *+' conftest.er1 >conftest.err
23150 rm -f conftest.er1
23151 cat conftest.err >&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } && {
23154 test -z "$ac_cxx_werror_flag" ||
23155 test ! -s conftest.err
23156 } && test -s conftest.$ac_objext; then
23157 wx_cv_have_variadic_macros=yes
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 wx_cv_have_variadic_macros=no
23163
23164 fi
23165
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172
23173
23174
23175 fi
23176 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23177 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23178
23179 if test $wx_cv_have_variadic_macros = "yes"; then
23180 cat >>confdefs.h <<\_ACEOF
23181 #define HAVE_VARIADIC_MACROS 1
23182 _ACEOF
23183
23184 fi
23185
23186 fi
23187 # Check whether --enable-largefile was given.
23188 if test "${enable_largefile+set}" = set; then
23189 enableval=$enable_largefile;
23190 fi
23191
23192 if test "$enable_largefile" != no; then
23193 wx_largefile=no
23194
23195 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23196 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23197 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 else
23200
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 #define _FILE_OFFSET_BITS 64
23208 #include <sys/types.h>
23209 int
23210 main ()
23211 {
23212 typedef struct {
23213 unsigned int field: sizeof(off_t) == 8;
23214 } wxlf;
23215
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23225 esac
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23228 ac_status=$?
23229 grep -v '^ *+' conftest.er1 >conftest.err
23230 rm -f conftest.er1
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_c_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 ac_cv_sys_file_offset_bits=64
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_cv_sys_file_offset_bits=no
23243 fi
23244
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246
23247
23248 fi
23249 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23250 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23251
23252 if test "$ac_cv_sys_file_offset_bits" != no; then
23253 wx_largefile=yes
23254 cat >>confdefs.h <<_ACEOF
23255 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23256 _ACEOF
23257
23258 fi
23259
23260 if test "x$wx_largefile" != "xyes"; then
23261
23262 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23263 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23264 if test "${ac_cv_sys_large_files+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 else
23267
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #define _LARGE_FILES 1
23275 #include <sys/types.h>
23276 int
23277 main ()
23278 {
23279 typedef struct {
23280 unsigned int field: sizeof(off_t) == 8;
23281 } wxlf;
23282
23283 ;
23284 return 0;
23285 }
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
23289 case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_compile") 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_sys_large_files=1
23305 else
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 ac_cv_sys_large_files=no
23310 fi
23311
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313
23314
23315 fi
23316 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23317 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23318
23319 if test "$ac_cv_sys_large_files" != no; then
23320 wx_largefile=yes
23321 cat >>confdefs.h <<_ACEOF
23322 #define _LARGE_FILES $ac_cv_sys_large_files
23323 _ACEOF
23324
23325 fi
23326
23327 fi
23328
23329 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23330 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23331 if test "x$wx_largefile" = "xyes"; then
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_LARGEFILE_SUPPORT 1
23334 _ACEOF
23335
23336 fi
23337 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23338 echo "${ECHO_T}$wx_largefile" >&6; }
23339 fi
23340
23341
23342 if test "x$wx_largefile" = "xyes"; then
23343 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23344 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23345
23346 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23347 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23348 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23349 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 else
23352
23353 ac_ext=cpp
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358
23359 cat >conftest.$ac_ext <<_ACEOF
23360 /* confdefs.h. */
23361 _ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23365
23366 int
23367 main ()
23368 {
23369
23370 #ifndef __STDC_EXT__
23371 choke me
23372 #endif
23373
23374 ;
23375 return 0;
23376 }
23377 _ACEOF
23378 rm -f conftest.$ac_objext
23379 if { (ac_try="$ac_compile"
23380 case "(($ac_try" in
23381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23382 *) ac_try_echo=$ac_try;;
23383 esac
23384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23385 (eval "$ac_compile") 2>conftest.er1
23386 ac_status=$?
23387 grep -v '^ *+' conftest.er1 >conftest.err
23388 rm -f conftest.er1
23389 cat conftest.err >&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } && {
23392 test -z "$ac_cxx_werror_flag" ||
23393 test ! -s conftest.err
23394 } && test -s conftest.$ac_objext; then
23395 wx_cv_STDC_EXT_required=no
23396 else
23397 echo "$as_me: failed program was:" >&5
23398 sed 's/^/| /' conftest.$ac_ext >&5
23399
23400 wx_cv_STDC_EXT_required=yes
23401
23402 fi
23403
23404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23405 ac_ext=c
23406 ac_cpp='$CPP $CPPFLAGS'
23407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23410
23411
23412
23413 fi
23414 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23415 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23416 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23417 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23418 fi
23419 fi
23420 else
23421 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23422 fi
23423 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23424 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23425 if test "${ac_cv_sys_largefile_source+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 else
23428 while :; do
23429 cat >conftest.$ac_ext <<_ACEOF
23430 /* confdefs.h. */
23431 _ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 #include <sys/types.h> /* for off_t */
23436 #include <stdio.h>
23437 int
23438 main ()
23439 {
23440 int (*fp) (FILE *, off_t, int) = fseeko;
23441 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23442 ;
23443 return 0;
23444 }
23445 _ACEOF
23446 rm -f conftest.$ac_objext conftest$ac_exeext
23447 if { (ac_try="$ac_link"
23448 case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23451 esac
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_link") 2>conftest.er1
23454 ac_status=$?
23455 grep -v '^ *+' conftest.er1 >conftest.err
23456 rm -f conftest.er1
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } && {
23460 test -z "$ac_c_werror_flag" ||
23461 test ! -s conftest.err
23462 } && test -s conftest$ac_exeext &&
23463 $as_test_x conftest$ac_exeext; then
23464 ac_cv_sys_largefile_source=no; break
23465 else
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23468
23469
23470 fi
23471
23472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23473 conftest$ac_exeext conftest.$ac_ext
23474 cat >conftest.$ac_ext <<_ACEOF
23475 /* confdefs.h. */
23476 _ACEOF
23477 cat confdefs.h >>conftest.$ac_ext
23478 cat >>conftest.$ac_ext <<_ACEOF
23479 /* end confdefs.h. */
23480 #define _LARGEFILE_SOURCE 1
23481 #include <sys/types.h> /* for off_t */
23482 #include <stdio.h>
23483 int
23484 main ()
23485 {
23486 int (*fp) (FILE *, off_t, int) = fseeko;
23487 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23488 ;
23489 return 0;
23490 }
23491 _ACEOF
23492 rm -f conftest.$ac_objext conftest$ac_exeext
23493 if { (ac_try="$ac_link"
23494 case "(($ac_try" in
23495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23496 *) ac_try_echo=$ac_try;;
23497 esac
23498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23499 (eval "$ac_link") 2>conftest.er1
23500 ac_status=$?
23501 grep -v '^ *+' conftest.er1 >conftest.err
23502 rm -f conftest.er1
23503 cat conftest.err >&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && {
23506 test -z "$ac_c_werror_flag" ||
23507 test ! -s conftest.err
23508 } && test -s conftest$ac_exeext &&
23509 $as_test_x conftest$ac_exeext; then
23510 ac_cv_sys_largefile_source=1; break
23511 else
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.$ac_ext >&5
23514
23515
23516 fi
23517
23518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23519 conftest$ac_exeext conftest.$ac_ext
23520 ac_cv_sys_largefile_source=unknown
23521 break
23522 done
23523 fi
23524 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23525 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23526 case $ac_cv_sys_largefile_source in #(
23527 no | unknown) ;;
23528 *)
23529 cat >>confdefs.h <<_ACEOF
23530 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23531 _ACEOF
23532 ;;
23533 esac
23534 rm -f conftest*
23535
23536 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23537 # in glibc 2.1.3, but that breaks too many other things.
23538 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23539 if test $ac_cv_sys_largefile_source != unknown; then
23540
23541 cat >>confdefs.h <<\_ACEOF
23542 #define HAVE_FSEEKO 1
23543 _ACEOF
23544
23545 fi
23546
23547 if test "$ac_cv_sys_largefile_source" != no; then
23548 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23549 fi
23550 fi
23551
23552 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23553 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23554 if test "${ac_cv_c_bigendian+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 else
23557 ac_cv_c_bigendian=unknown
23558 # See if sys/param.h defines the BYTE_ORDER macro.
23559 cat >conftest.$ac_ext <<_ACEOF
23560 /* confdefs.h. */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565 #include <sys/types.h>
23566 #include <sys/param.h>
23567 int
23568 main ()
23569 {
23570
23571 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23572 bogus endian macros
23573 #endif
23574 ;
23575 return 0;
23576 }
23577 _ACEOF
23578 rm -f conftest.$ac_objext
23579 if { (ac_try="$ac_compile"
23580 case "(($ac_try" in
23581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23582 *) ac_try_echo=$ac_try;;
23583 esac
23584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23585 (eval "$ac_compile") 2>conftest.er1
23586 ac_status=$?
23587 grep -v '^ *+' conftest.er1 >conftest.err
23588 rm -f conftest.er1
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } && {
23592 test -z "$ac_c_werror_flag" ||
23593 test ! -s conftest.err
23594 } && test -s conftest.$ac_objext; then
23595 # It does; now see whether it defined to BIG_ENDIAN or not.
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h. */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #include <sys/types.h>
23603 #include <sys/param.h>
23604 int
23605 main ()
23606 {
23607
23608 #if BYTE_ORDER != BIG_ENDIAN
23609 not big endian
23610 #endif
23611 ;
23612 return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext
23616 if { (ac_try="$ac_compile"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23620 esac
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_compile") 2>conftest.er1
23623 ac_status=$?
23624 grep -v '^ *+' conftest.er1 >conftest.err
23625 rm -f conftest.er1
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } && {
23629 test -z "$ac_c_werror_flag" ||
23630 test ! -s conftest.err
23631 } && test -s conftest.$ac_objext; then
23632 ac_cv_c_bigendian=yes
23633 else
23634 echo "$as_me: failed program was:" >&5
23635 sed 's/^/| /' conftest.$ac_ext >&5
23636
23637 ac_cv_c_bigendian=no
23638 fi
23639
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645
23646 fi
23647
23648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23649 if test $ac_cv_c_bigendian = unknown; then
23650 if test "$cross_compiling" = yes; then
23651 ac_cv_c_bigendian=unknown
23652 else
23653 cat >conftest.$ac_ext <<_ACEOF
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 main () {
23660 /* Are we little or big endian? From Harbison&Steele. */
23661 union
23662 {
23663 long l;
23664 char c[sizeof (long)];
23665 } u;
23666 u.l = 1;
23667 exit (u.c[sizeof (long) - 1] == 1);
23668 }
23669 _ACEOF
23670 rm -f conftest$ac_exeext
23671 if { (ac_try="$ac_link"
23672 case "(($ac_try" in
23673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23674 *) ac_try_echo=$ac_try;;
23675 esac
23676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23677 (eval "$ac_link") 2>&5
23678 ac_status=$?
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23681 { (case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23684 esac
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_try") 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; }; then
23690 ac_cv_c_bigendian=no
23691 else
23692 echo "$as_me: program exited with status $ac_status" >&5
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 ( exit $ac_status )
23697 ac_cv_c_bigendian=yes
23698 fi
23699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23700 fi
23701
23702
23703 fi
23704 fi
23705 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23706 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23707 if test $ac_cv_c_bigendian = unknown; then
23708 { 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
23709 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;}
23710 fi
23711 if test $ac_cv_c_bigendian = yes; then
23712 cat >>confdefs.h <<\_ACEOF
23713 #define WORDS_BIGENDIAN 1
23714 _ACEOF
23715
23716 fi
23717
23718
23719
23720
23721 ac_ext=cpp
23722 ac_cpp='$CXXCPP $CPPFLAGS'
23723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23726
23727
23728
23729 for ac_header in iostream
23730 do
23731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23735 echo $ECHO_N "(cached) $ECHO_C" >&6
23736 else
23737 cat >conftest.$ac_ext <<_ACEOF
23738 /* confdefs.h. */
23739 _ACEOF
23740 cat confdefs.h >>conftest.$ac_ext
23741 cat >>conftest.$ac_ext <<_ACEOF
23742 /* end confdefs.h. */
23743
23744
23745 #include <$ac_header>
23746 _ACEOF
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23752 esac
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23755 ac_status=$?
23756 grep -v '^ *+' conftest.er1 >conftest.err
23757 rm -f conftest.er1
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 eval "$as_ac_Header=yes"
23765 else
23766 echo "$as_me: failed program was:" >&5
23767 sed 's/^/| /' conftest.$ac_ext >&5
23768
23769 eval "$as_ac_Header=no"
23770 fi
23771
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 fi
23774 ac_res=`eval echo '${'$as_ac_Header'}'`
23775 { echo "$as_me:$LINENO: result: $ac_res" >&5
23776 echo "${ECHO_T}$ac_res" >&6; }
23777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23778 cat >>confdefs.h <<_ACEOF
23779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23780 _ACEOF
23781
23782 fi
23783
23784 done
23785
23786
23787 if test "$ac_cv_header_iostream" = "yes" ; then
23788 :
23789 else
23790 cat >>confdefs.h <<\_ACEOF
23791 #define wxUSE_IOSTREAMH 1
23792 _ACEOF
23793
23794 fi
23795
23796 ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801
23802
23803
23804
23805 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23806 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23807 if test "${wx_cv_cpp_bool+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810
23811
23812 ac_ext=cpp
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23817
23818
23819 cat >conftest.$ac_ext <<_ACEOF
23820 /* confdefs.h. */
23821 _ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825
23826
23827 int
23828 main ()
23829 {
23830
23831 bool b = true;
23832
23833 return 0;
23834
23835 ;
23836 return 0;
23837 }
23838 _ACEOF
23839 rm -f conftest.$ac_objext
23840 if { (ac_try="$ac_compile"
23841 case "(($ac_try" in
23842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23843 *) ac_try_echo=$ac_try;;
23844 esac
23845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23846 (eval "$ac_compile") 2>conftest.er1
23847 ac_status=$?
23848 grep -v '^ *+' conftest.er1 >conftest.err
23849 rm -f conftest.er1
23850 cat conftest.err >&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); } && {
23853 test -z "$ac_cxx_werror_flag" ||
23854 test ! -s conftest.err
23855 } && test -s conftest.$ac_objext; then
23856
23857 wx_cv_cpp_bool=yes
23858
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863
23864 wx_cv_cpp_bool=no
23865
23866
23867 fi
23868
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870
23871 ac_ext=c
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876
23877
23878 fi
23879 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23880 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23881
23882 if test "$wx_cv_cpp_bool" = "yes"; then
23883 cat >>confdefs.h <<\_ACEOF
23884 #define HAVE_BOOL 1
23885 _ACEOF
23886
23887 fi
23888
23889
23890
23891 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23892 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23893 if test "${wx_cv_explicit+set}" = set; then
23894 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 else
23896
23897
23898 ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903
23904
23905 cat >conftest.$ac_ext <<_ACEOF
23906 /* confdefs.h. */
23907 _ACEOF
23908 cat confdefs.h >>conftest.$ac_ext
23909 cat >>conftest.$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23911
23912 class Foo { public: explicit Foo(int) {} };
23913
23914 int
23915 main ()
23916 {
23917
23918 return 0;
23919
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23929 esac
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23932 ac_status=$?
23933 grep -v '^ *+' conftest.er1 >conftest.err
23934 rm -f conftest.er1
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_cxx_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23941
23942 cat >conftest.$ac_ext <<_ACEOF
23943 /* confdefs.h. */
23944 _ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23948
23949 class Foo { public: explicit Foo(int) {} };
23950 static void TakeFoo(const Foo& foo) { }
23951
23952 int
23953 main ()
23954 {
23955
23956 TakeFoo(17);
23957 return 0;
23958
23959 ;
23960 return 0;
23961 }
23962 _ACEOF
23963 rm -f conftest.$ac_objext
23964 if { (ac_try="$ac_compile"
23965 case "(($ac_try" in
23966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967 *) ac_try_echo=$ac_try;;
23968 esac
23969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970 (eval "$ac_compile") 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } && {
23977 test -z "$ac_cxx_werror_flag" ||
23978 test ! -s conftest.err
23979 } && test -s conftest.$ac_objext; then
23980 wx_cv_explicit=no
23981 else
23982 echo "$as_me: failed program was:" >&5
23983 sed 's/^/| /' conftest.$ac_ext >&5
23984
23985 wx_cv_explicit=yes
23986
23987 fi
23988
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23994
23995 wx_cv_explicit=no
23996
23997 fi
23998
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24000
24001 ac_ext=c
24002 ac_cpp='$CPP $CPPFLAGS'
24003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24006
24007
24008 fi
24009 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24010 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24011
24012 if test "$wx_cv_explicit" = "yes"; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_EXPLICIT 1
24015 _ACEOF
24016
24017 fi
24018
24019
24020 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24021 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24022 if test "${ac_cv_cxx_const_cast+set}" = set; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 else
24025
24026 ac_ext=cpp
24027 ac_cpp='$CXXCPP $CPPFLAGS'
24028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24031
24032 cat >conftest.$ac_ext <<_ACEOF
24033 /* confdefs.h. */
24034 _ACEOF
24035 cat confdefs.h >>conftest.$ac_ext
24036 cat >>conftest.$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24038
24039 int
24040 main ()
24041 {
24042 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24043 ;
24044 return 0;
24045 }
24046 _ACEOF
24047 rm -f conftest.$ac_objext
24048 if { (ac_try="$ac_compile"
24049 case "(($ac_try" in
24050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24051 *) ac_try_echo=$ac_try;;
24052 esac
24053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24054 (eval "$ac_compile") 2>conftest.er1
24055 ac_status=$?
24056 grep -v '^ *+' conftest.er1 >conftest.err
24057 rm -f conftest.er1
24058 cat conftest.err >&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && {
24061 test -z "$ac_cxx_werror_flag" ||
24062 test ! -s conftest.err
24063 } && test -s conftest.$ac_objext; then
24064 ac_cv_cxx_const_cast=yes
24065 else
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 ac_cv_cxx_const_cast=no
24070 fi
24071
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 ac_ext=c
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078
24079
24080 fi
24081 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24082 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24083 if test "$ac_cv_cxx_const_cast" = yes; then
24084
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE_CONST_CAST
24087 _ACEOF
24088
24089 fi
24090
24091 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24092 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24093 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 else
24096
24097 ac_ext=cpp
24098 ac_cpp='$CXXCPP $CPPFLAGS'
24099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24102
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #include <typeinfo>
24110 class Base { public : Base () {} virtual void f () = 0;};
24111 class Derived : public Base { public : Derived () {} virtual void f () {} };
24112 class Unrelated { public : Unrelated () {} };
24113 int g (Unrelated&) { return 0; }
24114 int
24115 main ()
24116 {
24117
24118 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24119 ;
24120 return 0;
24121 }
24122 _ACEOF
24123 rm -f conftest.$ac_objext
24124 if { (ac_try="$ac_compile"
24125 case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24127 *) ac_try_echo=$ac_try;;
24128 esac
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24130 (eval "$ac_compile") 2>conftest.er1
24131 ac_status=$?
24132 grep -v '^ *+' conftest.er1 >conftest.err
24133 rm -f conftest.er1
24134 cat conftest.err >&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && {
24137 test -z "$ac_cxx_werror_flag" ||
24138 test ! -s conftest.err
24139 } && test -s conftest.$ac_objext; then
24140 ac_cv_cxx_reinterpret_cast=yes
24141 else
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 ac_cv_cxx_reinterpret_cast=no
24146 fi
24147
24148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149 ac_ext=c
24150 ac_cpp='$CPP $CPPFLAGS'
24151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24154
24155
24156 fi
24157 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24158 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24159 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24160
24161 cat >>confdefs.h <<\_ACEOF
24162 #define HAVE_REINTERPRET_CAST
24163 _ACEOF
24164
24165 fi
24166
24167 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24168 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24169 if test "${ac_cv_cxx_static_cast+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 else
24172
24173 ac_ext=cpp
24174 ac_cpp='$CXXCPP $CPPFLAGS'
24175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24178
24179 cat >conftest.$ac_ext <<_ACEOF
24180 /* confdefs.h. */
24181 _ACEOF
24182 cat confdefs.h >>conftest.$ac_ext
24183 cat >>conftest.$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24185 #include <typeinfo>
24186 class Base { public : Base () {} virtual void f () = 0; };
24187 class Derived : public Base { public : Derived () {} virtual void f () {} };
24188 int g (Derived&) { return 0; }
24189 int
24190 main ()
24191 {
24192
24193 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24194 ;
24195 return 0;
24196 }
24197 _ACEOF
24198 rm -f conftest.$ac_objext
24199 if { (ac_try="$ac_compile"
24200 case "(($ac_try" in
24201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24202 *) ac_try_echo=$ac_try;;
24203 esac
24204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24205 (eval "$ac_compile") 2>conftest.er1
24206 ac_status=$?
24207 grep -v '^ *+' conftest.er1 >conftest.err
24208 rm -f conftest.er1
24209 cat conftest.err >&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } && {
24212 test -z "$ac_cxx_werror_flag" ||
24213 test ! -s conftest.err
24214 } && test -s conftest.$ac_objext; then
24215 ac_cv_cxx_static_cast=yes
24216 else
24217 echo "$as_me: failed program was:" >&5
24218 sed 's/^/| /' conftest.$ac_ext >&5
24219
24220 ac_cv_cxx_static_cast=no
24221 fi
24222
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229
24230
24231 fi
24232 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24233 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24234 if test "$ac_cv_cxx_static_cast" = yes; then
24235
24236 cat >>confdefs.h <<\_ACEOF
24237 #define HAVE_STATIC_CAST
24238 _ACEOF
24239
24240 fi
24241
24242
24243 if test "x$SUNCXX" = xyes; then
24244 CXXFLAGS="-features=tmplife $CXXFLAGS"
24245 fi
24246
24247 if test "x$SUNCC" = xyes; then
24248 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24249 fi
24250
24251 if test "x$SGICC" = "xyes"; then
24252 CFLAGS="-woff 3970 $CFLAGS"
24253 fi
24254 if test "x$SGICXX" = "xyes"; then
24255 CXXFLAGS="-woff 3970 $CXXFLAGS"
24256 fi
24257
24258 if test "x$HPCC" = "xyes"; then
24259 CFLAGS="+W 2011,2450 $CFLAGS"
24260 fi
24261 if test "x$HPCXX" = "xyes"; then
24262 CXXFLAGS="+W 2340 $CXXFLAGS"
24263 fi
24264
24265 if test "x$COMPAQCXX" = "xyes"; then
24266 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24267 fi
24268
24269 ac_ext=cpp
24270 ac_cpp='$CXXCPP $CPPFLAGS'
24271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24274
24275
24276 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24277 if test "$wxUSE_UNICODE" = "yes"; then
24278 std_string="std::wstring"
24279 char_type="wchar_t"
24280 else
24281 std_string="std::string"
24282 char_type="char"
24283 fi
24284
24285 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24286 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24287 if test "${wx_cv_class_stdstring+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24289 else
24290
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 #include <string>
24298 int
24299 main ()
24300 {
24301 $std_string foo;
24302 ;
24303 return 0;
24304 }
24305 _ACEOF
24306 rm -f conftest.$ac_objext
24307 if { (ac_try="$ac_compile"
24308 case "(($ac_try" in
24309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310 *) ac_try_echo=$ac_try;;
24311 esac
24312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24313 (eval "$ac_compile") 2>conftest.er1
24314 ac_status=$?
24315 grep -v '^ *+' conftest.er1 >conftest.err
24316 rm -f conftest.er1
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } && {
24320 test -z "$ac_cxx_werror_flag" ||
24321 test ! -s conftest.err
24322 } && test -s conftest.$ac_objext; then
24323 wx_cv_class_stdstring=yes
24324 else
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.$ac_ext >&5
24327
24328 wx_cv_class_stdstring=no
24329
24330 fi
24331
24332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24333
24334
24335 fi
24336 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24337 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24338
24339 if test "$wx_cv_class_stdstring" = yes; then
24340 if test "$wxUSE_UNICODE" = "yes"; then
24341 cat >>confdefs.h <<\_ACEOF
24342 #define HAVE_STD_WSTRING 1
24343 _ACEOF
24344
24345 fi
24346 else
24347 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24348 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24349 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24351 else
24352
24353 cat >conftest.$ac_ext <<_ACEOF
24354 /* confdefs.h. */
24355 _ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h. */
24359
24360 #ifdef HAVE_WCHAR_H
24361 # ifdef __CYGWIN__
24362 # include <stddef.h>
24363 # endif
24364 # include <wchar.h>
24365 #endif
24366 #ifdef HAVE_STDLIB_H
24367 # include <stdlib.h>
24368 #endif
24369 #include <stdio.h>
24370 #include <string>
24371
24372 int
24373 main ()
24374 {
24375 std::basic_string<$char_type> foo;
24376 const $char_type* dummy = foo.c_str();
24377 ;
24378 return 0;
24379 }
24380 _ACEOF
24381 rm -f conftest.$ac_objext
24382 if { (ac_try="$ac_compile"
24383 case "(($ac_try" in
24384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24385 *) ac_try_echo=$ac_try;;
24386 esac
24387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24388 (eval "$ac_compile") 2>conftest.er1
24389 ac_status=$?
24390 grep -v '^ *+' conftest.er1 >conftest.err
24391 rm -f conftest.er1
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } && {
24395 test -z "$ac_cxx_werror_flag" ||
24396 test ! -s conftest.err
24397 } && test -s conftest.$ac_objext; then
24398 wx_cv_class_stdbasicstring=yes
24399 else
24400 echo "$as_me: failed program was:" >&5
24401 sed 's/^/| /' conftest.$ac_ext >&5
24402
24403 wx_cv_class_stdbasicstring=no
24404
24405 fi
24406
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408
24409
24410 fi
24411 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24412 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24413
24414 if test "$wx_cv_class_stdbasicstring" != yes; then
24415 if test "$wxUSE_STL" = "yes"; then
24416 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24417 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24418 { (exit 1); exit 1; }; }
24419 elif test "$wxUSE_STD_STRING" = "yes"; then
24420 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24421 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24422 { (exit 1); exit 1; }; }
24423 else
24424 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24425 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24426 wxUSE_STD_STRING=no
24427 fi
24428 fi
24429 fi
24430 fi
24431
24432 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24433 { echo "$as_me:$LINENO: checking for std::istream" >&5
24434 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24435 if test "${ac_cv_type_std__istream+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24438 cat >conftest.$ac_ext <<_ACEOF
24439 /* confdefs.h. */
24440 _ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 #include <iostream>
24445
24446 typedef std::istream ac__type_new_;
24447 int
24448 main ()
24449 {
24450 if ((ac__type_new_ *) 0)
24451 return 0;
24452 if (sizeof (ac__type_new_))
24453 return 0;
24454 ;
24455 return 0;
24456 }
24457 _ACEOF
24458 rm -f conftest.$ac_objext
24459 if { (ac_try="$ac_compile"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24463 esac
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_compile") 2>conftest.er1
24466 ac_status=$?
24467 grep -v '^ *+' conftest.er1 >conftest.err
24468 rm -f conftest.er1
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_cxx_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest.$ac_objext; then
24475 ac_cv_type_std__istream=yes
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24479
24480 ac_cv_type_std__istream=no
24481 fi
24482
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 fi
24485 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24486 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24487 if test $ac_cv_type_std__istream = yes; then
24488
24489 cat >>confdefs.h <<_ACEOF
24490 #define HAVE_STD__ISTREAM 1
24491 _ACEOF
24492
24493
24494 else
24495 wxUSE_STD_IOSTREAM=no
24496 fi
24497 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24498 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24499 if test "${ac_cv_type_std__ostream+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508 #include <iostream>
24509
24510 typedef std::ostream ac__type_new_;
24511 int
24512 main ()
24513 {
24514 if ((ac__type_new_ *) 0)
24515 return 0;
24516 if (sizeof (ac__type_new_))
24517 return 0;
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 rm -f conftest.$ac_objext
24523 if { (ac_try="$ac_compile"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24527 esac
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_compile") 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } && {
24536 test -z "$ac_cxx_werror_flag" ||
24537 test ! -s conftest.err
24538 } && test -s conftest.$ac_objext; then
24539 ac_cv_type_std__ostream=yes
24540 else
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24543
24544 ac_cv_type_std__ostream=no
24545 fi
24546
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 fi
24549 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24550 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24551 if test $ac_cv_type_std__ostream = yes; then
24552
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_STD__OSTREAM 1
24555 _ACEOF
24556
24557
24558 else
24559 wxUSE_STD_IOSTREAM=no
24560 fi
24561
24562
24563 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24564 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24565 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24566 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24567 { (exit 1); exit 1; }; }
24568 else
24569 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24570 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24571 fi
24572 fi
24573 fi
24574
24575 if test "$wxUSE_STL" = "yes"; then
24576 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24577 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24578 if test "${wx_cv_lib_stl+set}" = set; then
24579 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 else
24581 cat >conftest.$ac_ext <<_ACEOF
24582 /* confdefs.h. */
24583 _ACEOF
24584 cat confdefs.h >>conftest.$ac_ext
24585 cat >>conftest.$ac_ext <<_ACEOF
24586 /* end confdefs.h. */
24587 #include <string>
24588 #include <functional>
24589 #include <algorithm>
24590 #include <vector>
24591 #include <list>
24592 int
24593 main ()
24594 {
24595 std::vector<int> moo;
24596 std::list<int> foo;
24597 std::vector<int>::iterator it =
24598 std::find_if(moo.begin(), moo.end(),
24599 std::bind2nd(std::less<int>(), 3));
24600 ;
24601 return 0;
24602 }
24603 _ACEOF
24604 rm -f conftest.$ac_objext
24605 if { (ac_try="$ac_compile"
24606 case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24609 esac
24610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_compile") 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && {
24618 test -z "$ac_cxx_werror_flag" ||
24619 test ! -s conftest.err
24620 } && test -s conftest.$ac_objext; then
24621 wx_cv_lib_stl=yes
24622 else
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.$ac_ext >&5
24625
24626 wx_cv_lib_stl=no
24627
24628 fi
24629
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631
24632 fi
24633 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24634 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24635
24636 if test "$wx_cv_lib_stl" != yes; then
24637 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24638 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24639 { (exit 1); exit 1; }; }
24640 fi
24641
24642 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24643 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24644 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24645 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 else
24647 cat >conftest.$ac_ext <<_ACEOF
24648 /* confdefs.h. */
24649 _ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24653 #include <string>
24654 int
24655 main ()
24656 {
24657 std::string foo, bar;
24658 foo.compare(bar);
24659 foo.compare(1, 1, bar);
24660 foo.compare(1, 1, bar, 1, 1);
24661 foo.compare("");
24662 foo.compare(1, 1, "");
24663 foo.compare(1, 1, "", 2);
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 wx_cv_func_stdstring_compare=yes
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690 wx_cv_func_stdstring_compare=no
24691
24692 fi
24693
24694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24695
24696 fi
24697 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24698 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24699
24700 if test "$wx_cv_func_stdstring_compare" = yes; then
24701 cat >>confdefs.h <<\_ACEOF
24702 #define HAVE_STD_STRING_COMPARE 1
24703 _ACEOF
24704
24705 fi
24706
24707 if test "$wx_cv_class_gnuhashmapset" = yes; then
24708 cat >>confdefs.h <<\_ACEOF
24709 #define HAVE_EXT_HASH_MAP 1
24710 _ACEOF
24711
24712 cat >>confdefs.h <<\_ACEOF
24713 #define HAVE_GNU_CXX_HASH_MAP 1
24714 _ACEOF
24715
24716 fi
24717
24718 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24719 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24720 if test "${ac_cv_header_unordered_map+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 else
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h. */
24725 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */
24729
24730
24731
24732 #include <unordered_map>
24733 _ACEOF
24734 rm -f conftest.$ac_objext
24735 if { (ac_try="$ac_compile"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24739 esac
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_compile") 2>conftest.er1
24742 ac_status=$?
24743 grep -v '^ *+' conftest.er1 >conftest.err
24744 rm -f conftest.er1
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_cxx_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then
24751 ac_cv_header_unordered_map=yes
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 ac_cv_header_unordered_map=no
24757 fi
24758
24759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760 fi
24761 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24762 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24763 if test $ac_cv_header_unordered_map = yes; then
24764 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24765 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24766 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 else
24769 cat >conftest.$ac_ext <<_ACEOF
24770 /* confdefs.h. */
24771 _ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775 #include <unordered_map>
24776 #include <unordered_set>
24777 int
24778 main ()
24779 {
24780 std::unordered_map<double*, char*> test1;
24781 std::unordered_set<char*> test2;
24782 ;
24783 return 0;
24784 }
24785 _ACEOF
24786 rm -f conftest.$ac_objext
24787 if { (ac_try="$ac_compile"
24788 case "(($ac_try" in
24789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24790 *) ac_try_echo=$ac_try;;
24791 esac
24792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24793 (eval "$ac_compile") 2>conftest.er1
24794 ac_status=$?
24795 grep -v '^ *+' conftest.er1 >conftest.err
24796 rm -f conftest.er1
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } && {
24800 test -z "$ac_cxx_werror_flag" ||
24801 test ! -s conftest.err
24802 } && test -s conftest.$ac_objext; then
24803 wx_cv_class_stdunorderedmapset=yes
24804 else
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24807
24808 wx_cv_class_stdunorderedmapset=no
24809 fi
24810
24811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812
24813
24814 fi
24815 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24816 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24817 fi
24818
24819
24820
24821 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24822 cat >>confdefs.h <<\_ACEOF
24823 #define HAVE_STD_UNORDERED_MAP 1
24824 _ACEOF
24825
24826 cat >>confdefs.h <<\_ACEOF
24827 #define HAVE_STD_UNORDERED_SET 1
24828 _ACEOF
24829
24830 else
24831 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24832 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24833 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24834 echo $ECHO_N "(cached) $ECHO_C" >&6
24835 else
24836 cat >conftest.$ac_ext <<_ACEOF
24837 /* confdefs.h. */
24838 _ACEOF
24839 cat confdefs.h >>conftest.$ac_ext
24840 cat >>conftest.$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24842
24843
24844
24845 #include <tr1/unordered_map>
24846 _ACEOF
24847 rm -f conftest.$ac_objext
24848 if { (ac_try="$ac_compile"
24849 case "(($ac_try" in
24850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24851 *) ac_try_echo=$ac_try;;
24852 esac
24853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24854 (eval "$ac_compile") 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } && {
24861 test -z "$ac_cxx_werror_flag" ||
24862 test ! -s conftest.err
24863 } && test -s conftest.$ac_objext; then
24864 ac_cv_header_tr1_unordered_map=yes
24865 else
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.$ac_ext >&5
24868
24869 ac_cv_header_tr1_unordered_map=no
24870 fi
24871
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 fi
24874 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24875 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24876 if test $ac_cv_header_tr1_unordered_map = yes; then
24877 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24878 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24879 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24881 else
24882 cat >conftest.$ac_ext <<_ACEOF
24883 /* confdefs.h. */
24884 _ACEOF
24885 cat confdefs.h >>conftest.$ac_ext
24886 cat >>conftest.$ac_ext <<_ACEOF
24887 /* end confdefs.h. */
24888 #include <tr1/unordered_map>
24889 #include <tr1/unordered_set>
24890 int
24891 main ()
24892 {
24893 std::tr1::unordered_map<double*, char*> test1;
24894 std::tr1::unordered_set<char*> test2;
24895 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24896 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24897 #endif
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24907 esac
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24910 ac_status=$?
24911 grep -v '^ *+' conftest.er1 >conftest.err
24912 rm -f conftest.er1
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_tr1unorderedmapset=yes
24920 else
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 wx_cv_class_tr1unorderedmapset=no
24925 fi
24926
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24928
24929
24930 fi
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24933 fi
24934
24935
24936
24937 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_TR1_UNORDERED_MAP 1
24940 _ACEOF
24941
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_TR1_UNORDERED_SET 1
24944 _ACEOF
24945
24946 else
24947 { echo "$as_me:$LINENO: checking for hash_map" >&5
24948 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_hash_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 else
24952 cat >conftest.$ac_ext <<_ACEOF
24953 /* confdefs.h. */
24954 _ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958
24959
24960
24961 #include <hash_map>
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24971 ac_status=$?
24972 grep -v '^ *+' conftest.er1 >conftest.err
24973 rm -f conftest.er1
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_cv_header_hash_map=yes
24981 else
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24984
24985 ac_cv_header_hash_map=no
24986 fi
24987
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24989 fi
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24992 if test $ac_cv_header_hash_map = yes; then
24993 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24994 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 else
24998 cat >conftest.$ac_ext <<_ACEOF
24999 /* confdefs.h. */
25000 _ACEOF
25001 cat confdefs.h >>conftest.$ac_ext
25002 cat >>conftest.$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <hash_map>
25005 #include <hash_set>
25006 int
25007 main ()
25008 {
25009 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25010 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25011 ;
25012 return 0;
25013 }
25014 _ACEOF
25015 rm -f conftest.$ac_objext
25016 if { (ac_try="$ac_compile"
25017 case "(($ac_try" in
25018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25020 esac
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_compile") 2>conftest.er1
25023 ac_status=$?
25024 grep -v '^ *+' conftest.er1 >conftest.err
25025 rm -f conftest.er1
25026 cat conftest.err >&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } && {
25029 test -z "$ac_cxx_werror_flag" ||
25030 test ! -s conftest.err
25031 } && test -s conftest.$ac_objext; then
25032 wx_cv_class_stdhashmapset=yes
25033 else
25034 echo "$as_me: failed program was:" >&5
25035 sed 's/^/| /' conftest.$ac_ext >&5
25036
25037 wx_cv_class_stdhashmapset=no
25038 fi
25039
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041
25042
25043 fi
25044 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25045 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25046 fi
25047
25048
25049
25050 if test "$wx_cv_class_stdhashmapset" = yes; then
25051 cat >>confdefs.h <<\_ACEOF
25052 #define HAVE_HASH_MAP 1
25053 _ACEOF
25054
25055 cat >>confdefs.h <<\_ACEOF
25056 #define HAVE_STD_HASH_MAP 1
25057 _ACEOF
25058
25059 fi
25060
25061 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25062 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25063 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 else
25066 cat >conftest.$ac_ext <<_ACEOF
25067 /* confdefs.h. */
25068 _ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25072
25073
25074
25075 #include <ext/hash_map>
25076 _ACEOF
25077 rm -f conftest.$ac_objext
25078 if { (ac_try="$ac_compile"
25079 case "(($ac_try" in
25080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25081 *) ac_try_echo=$ac_try;;
25082 esac
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_compile") 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } && {
25091 test -z "$ac_cxx_werror_flag" ||
25092 test ! -s conftest.err
25093 } && test -s conftest.$ac_objext; then
25094 ac_cv_header_ext_hash_map=yes
25095 else
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.$ac_ext >&5
25098
25099 ac_cv_header_ext_hash_map=no
25100 fi
25101
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 fi
25104 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25105 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25106 if test $ac_cv_header_ext_hash_map = yes; then
25107 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25108 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25109 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 else
25112 cat >conftest.$ac_ext <<_ACEOF
25113 /* confdefs.h. */
25114 _ACEOF
25115 cat confdefs.h >>conftest.$ac_ext
25116 cat >>conftest.$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118 #include <ext/hash_map>
25119 #include <ext/hash_set>
25120 int
25121 main ()
25122 {
25123 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25124 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25125 ;
25126 return 0;
25127 }
25128 _ACEOF
25129 rm -f conftest.$ac_objext
25130 if { (ac_try="$ac_compile"
25131 case "(($ac_try" in
25132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25133 *) ac_try_echo=$ac_try;;
25134 esac
25135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25136 (eval "$ac_compile") 2>conftest.er1
25137 ac_status=$?
25138 grep -v '^ *+' conftest.er1 >conftest.err
25139 rm -f conftest.er1
25140 cat conftest.err >&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); } && {
25143 test -z "$ac_cxx_werror_flag" ||
25144 test ! -s conftest.err
25145 } && test -s conftest.$ac_objext; then
25146 wx_cv_class_gnuhashmapset=yes
25147 else
25148 echo "$as_me: failed program was:" >&5
25149 sed 's/^/| /' conftest.$ac_ext >&5
25150
25151 wx_cv_class_gnuhashmapset=no
25152 fi
25153
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155
25156
25157 fi
25158 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25159 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25160 fi
25161
25162
25163
25164 fi
25165 fi
25166 fi
25167
25168
25169
25170 if test -n "$GCC"; then
25171 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25172 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25173 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183
25184 int
25185 main ()
25186 {
25187
25188 unsigned int value=0;
25189 /* wxAtomicInc doesn't use return value here */
25190 __sync_fetch_and_add(&value, 2);
25191 __sync_sub_and_fetch(&value, 1);
25192 /* but wxAtomicDec does, so mimic that: */
25193 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25194
25195 ;
25196 return 0;
25197 }
25198 _ACEOF
25199 rm -f conftest.$ac_objext conftest$ac_exeext
25200 if { (ac_try="$ac_link"
25201 case "(($ac_try" in
25202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25203 *) ac_try_echo=$ac_try;;
25204 esac
25205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25206 (eval "$ac_link") 2>conftest.er1
25207 ac_status=$?
25208 grep -v '^ *+' conftest.er1 >conftest.err
25209 rm -f conftest.er1
25210 cat conftest.err >&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } && {
25213 test -z "$ac_cxx_werror_flag" ||
25214 test ! -s conftest.err
25215 } && test -s conftest$ac_exeext &&
25216 $as_test_x conftest$ac_exeext; then
25217 wx_cv_cc_gcc_atomic_builtins=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25221
25222 wx_cv_cc_gcc_atomic_builtins=no
25223 fi
25224
25225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25226 conftest$ac_exeext conftest.$ac_ext
25227
25228 fi
25229
25230 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25231 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25232 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25233 cat >>confdefs.h <<\_ACEOF
25234 #define HAVE_GCC_ATOMIC_BUILTINS 1
25235 _ACEOF
25236
25237 fi
25238 fi
25239
25240
25241 ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246
25247
25248
25249 SEARCH_INCLUDE="\
25250 /usr/local/include \
25251 /usr/local/X11/include \
25252 /usr/local/include/X11 \
25253 /usr/local/X11R6/include \
25254 /usr/local/include/X11R6 \
25255 \
25256 /usr/Motif-2.1/include \
25257 /usr/Motif-1.2/include \
25258 /usr/include/Motif1.2 \
25259 \
25260 /usr/dt/include \
25261 /usr/openwin/include \
25262 \
25263 /usr/include/Xm \
25264 \
25265 /usr/X11R6/include \
25266 /usr/X11R6.4/include \
25267 \
25268 /usr/include/X11R6 \
25269 \
25270 /usr/X11/include \
25271 /usr/include/X11 \
25272 \
25273 /usr/XFree86/include/X11 \
25274 /usr/pkg/include \
25275 \
25276 /usr/local/X1R5/include \
25277 /usr/local/include/X11R5 \
25278 /usr/X11R5/include \
25279 /usr/include/X11R5 \
25280 \
25281 /usr/local/X11R4/include \
25282 /usr/local/include/X11R4 \
25283 /usr/X11R4/include \
25284 /usr/include/X11R4 \
25285 \
25286 /usr/openwin/share/include"
25287
25288 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25289 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25290
25291 case "${host}" in
25292 *-*-irix6* )
25293 if test "${wx_cv_std_libpath+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 else
25296
25297 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25298 for e in a so sl dylib dll.a; do
25299 libc="$d/libc.$e"
25300 if test -f $libc; then
25301 save_LIBS="$LIBS"
25302 LIBS="$libc"
25303 cat >conftest.$ac_ext <<_ACEOF
25304 int main() { return 0; }
25305 _ACEOF
25306 rm -f conftest.$ac_objext conftest$ac_exeext
25307 if { (ac_try="$ac_link"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25311 esac
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_link") 2>conftest.er1
25314 ac_status=$?
25315 grep -v '^ *+' conftest.er1 >conftest.err
25316 rm -f conftest.er1
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest$ac_exeext &&
25323 $as_test_x conftest$ac_exeext; then
25324 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25325 else
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.$ac_ext >&5
25328
25329
25330 fi
25331
25332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25333 conftest$ac_exeext conftest.$ac_ext
25334 LIBS="$save_LIBS"
25335 if test "x$wx_cv_std_libpath" != "x"; then
25336 break 2
25337 fi
25338 fi
25339 done
25340 done
25341 if test "x$wx_cv_std_libpath" = "x"; then
25342 wx_cv_std_libpath="lib"
25343 fi
25344
25345
25346 fi
25347
25348 ;;
25349
25350 *-*-solaris2* )
25351 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25352 wx_cv_std_libpath="lib/64"
25353 else
25354 wx_cv_std_libpath="lib"
25355 fi
25356 ;;
25357
25358 *-*-linux* )
25359 if test "$ac_cv_sizeof_void_p" = 8 -a \
25360 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25361 wx_cv_std_libpath="lib64"
25362 else
25363 wx_cv_std_libpath="lib"
25364 fi
25365 ;;
25366
25367 *)
25368 wx_cv_std_libpath="lib";
25369 ;;
25370 esac
25371
25372 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25373 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25374
25375 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25376
25377 if test "$build" != "$host" -a "$GCC" = yes; then
25378 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25379 cross_root=`dirname $cross_root`
25380 cross_root=`dirname $cross_root`
25381
25382 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25383 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25384 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25385
25386 if test -z "$PKG_CONFIG_PATH"; then
25387 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25388 export PKG_CONFIG_PATH
25389 fi
25390
25391 if test -z "$x_includes" -o "$x_includes" = NONE; then
25392
25393 ac_find_includes=
25394 for ac_dir in $SEARCH_INCLUDE /usr/include;
25395 do
25396 if test -f "$ac_dir/X11/Intrinsic.h"; then
25397 ac_find_includes=$ac_dir
25398 break
25399 fi
25400 done
25401
25402 x_includes=$ac_find_includes
25403 fi
25404 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25405
25406 ac_find_libraries=
25407 for ac_dir in $SEARCH_LIB;
25408 do
25409 for ac_extension in a so sl dylib dll.a; do
25410 if test -f "$ac_dir/libXt.$ac_extension"; then
25411 ac_find_libraries=$ac_dir
25412 break 2
25413 fi
25414 done
25415 done
25416
25417 x_libraries=$ac_find_libraries
25418 fi
25419 fi
25420 fi
25421
25422
25423 cat >confcache <<\_ACEOF
25424 # This file is a shell script that caches the results of configure
25425 # tests run on this system so they can be shared between configure
25426 # scripts and configure runs, see configure's option --config-cache.
25427 # It is not useful on other systems. If it contains results you don't
25428 # want to keep, you may remove or edit it.
25429 #
25430 # config.status only pays attention to the cache file if you give it
25431 # the --recheck option to rerun configure.
25432 #
25433 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25435 # following values.
25436
25437 _ACEOF
25438
25439 # The following way of writing the cache mishandles newlines in values,
25440 # but we know of no workaround that is simple, portable, and efficient.
25441 # So, we kill variables containing newlines.
25442 # Ultrix sh set writes to stderr and can't be redirected directly,
25443 # and sets the high bit in the cache file unless we assign to the vars.
25444 (
25445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25446 eval ac_val=\$$ac_var
25447 case $ac_val in #(
25448 *${as_nl}*)
25449 case $ac_var in #(
25450 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25452 esac
25453 case $ac_var in #(
25454 _ | IFS | as_nl) ;; #(
25455 *) $as_unset $ac_var ;;
25456 esac ;;
25457 esac
25458 done
25459
25460 (set) 2>&1 |
25461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25462 *${as_nl}ac_space=\ *)
25463 # `set' does not quote correctly, so add quotes (double-quote
25464 # substitution turns \\\\ into \\, and sed turns \\ into \).
25465 sed -n \
25466 "s/'/'\\\\''/g;
25467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25468 ;; #(
25469 *)
25470 # `set' quotes correctly as required by POSIX, so do not add quotes.
25471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25472 ;;
25473 esac |
25474 sort
25475 ) |
25476 sed '
25477 /^ac_cv_env_/b end
25478 t clear
25479 :clear
25480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25481 t end
25482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25483 :end' >>confcache
25484 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25485 if test -w "$cache_file"; then
25486 test "x$cache_file" != "x/dev/null" &&
25487 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25488 echo "$as_me: updating cache $cache_file" >&6;}
25489 cat confcache >$cache_file
25490 else
25491 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25492 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25493 fi
25494 fi
25495 rm -f confcache
25496
25497 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25498 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25499 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25500 if test "${wx_cv_lib_glibc21+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25502 else
25503
25504 cat >conftest.$ac_ext <<_ACEOF
25505 /* confdefs.h. */
25506 _ACEOF
25507 cat confdefs.h >>conftest.$ac_ext
25508 cat >>conftest.$ac_ext <<_ACEOF
25509 /* end confdefs.h. */
25510 #include <features.h>
25511 int
25512 main ()
25513 {
25514
25515 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25516 not glibc 2.1
25517 #endif
25518
25519 ;
25520 return 0;
25521 }
25522 _ACEOF
25523 rm -f conftest.$ac_objext
25524 if { (ac_try="$ac_compile"
25525 case "(($ac_try" in
25526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25527 *) ac_try_echo=$ac_try;;
25528 esac
25529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25530 (eval "$ac_compile") 2>conftest.er1
25531 ac_status=$?
25532 grep -v '^ *+' conftest.er1 >conftest.err
25533 rm -f conftest.er1
25534 cat conftest.err >&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); } && {
25537 test -z "$ac_c_werror_flag" ||
25538 test ! -s conftest.err
25539 } && test -s conftest.$ac_objext; then
25540
25541 wx_cv_lib_glibc21=yes
25542
25543 else
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25546
25547
25548 wx_cv_lib_glibc21=no
25549
25550
25551 fi
25552
25553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25554
25555 fi
25556 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25557 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25558 if test "$wx_cv_lib_glibc21" = "yes"; then
25559 cat >>confdefs.h <<\_ACEOF
25560 #define wxHAVE_GLIBC2 1
25561 _ACEOF
25562
25563 fi
25564 fi
25565
25566 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25567 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25568 cat >>confdefs.h <<\_ACEOF
25569 #define _GNU_SOURCE 1
25570 _ACEOF
25571
25572 fi
25573 fi
25574
25575 have_cos=0
25576 have_floor=0
25577
25578 for ac_func in cos
25579 do
25580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 else
25586 cat >conftest.$ac_ext <<_ACEOF
25587 /* confdefs.h. */
25588 _ACEOF
25589 cat confdefs.h >>conftest.$ac_ext
25590 cat >>conftest.$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25594 #define $ac_func innocuous_$ac_func
25595
25596 /* System header to define __stub macros and hopefully few prototypes,
25597 which can conflict with char $ac_func (); below.
25598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25599 <limits.h> exists even on freestanding compilers. */
25600
25601 #ifdef __STDC__
25602 # include <limits.h>
25603 #else
25604 # include <assert.h>
25605 #endif
25606
25607 #undef $ac_func
25608
25609 /* Override any GCC internal prototype to avoid an error.
25610 Use char because int might match the return type of a GCC
25611 builtin and then its argument prototype would still apply. */
25612 #ifdef __cplusplus
25613 extern "C"
25614 #endif
25615 char $ac_func ();
25616 /* The GNU C library defines this for functions which it implements
25617 to always fail with ENOSYS. Some functions are actually named
25618 something starting with __ and the normal name is an alias. */
25619 #if defined __stub_$ac_func || defined __stub___$ac_func
25620 choke me
25621 #endif
25622
25623 int
25624 main ()
25625 {
25626 return $ac_func ();
25627 ;
25628 return 0;
25629 }
25630 _ACEOF
25631 rm -f conftest.$ac_objext conftest$ac_exeext
25632 if { (ac_try="$ac_link"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25636 esac
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_link") 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest$ac_exeext &&
25648 $as_test_x conftest$ac_exeext; then
25649 eval "$as_ac_var=yes"
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654 eval "$as_ac_var=no"
25655 fi
25656
25657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25658 conftest$ac_exeext conftest.$ac_ext
25659 fi
25660 ac_res=`eval echo '${'$as_ac_var'}'`
25661 { echo "$as_me:$LINENO: result: $ac_res" >&5
25662 echo "${ECHO_T}$ac_res" >&6; }
25663 if test `eval echo '${'$as_ac_var'}'` = yes; then
25664 cat >>confdefs.h <<_ACEOF
25665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25666 _ACEOF
25667 have_cos=1
25668 fi
25669 done
25670
25671
25672 for ac_func in floor
25673 do
25674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25677 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 else
25680 cat >conftest.$ac_ext <<_ACEOF
25681 /* confdefs.h. */
25682 _ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25688 #define $ac_func innocuous_$ac_func
25689
25690 /* System header to define __stub macros and hopefully few prototypes,
25691 which can conflict with char $ac_func (); below.
25692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25693 <limits.h> exists even on freestanding compilers. */
25694
25695 #ifdef __STDC__
25696 # include <limits.h>
25697 #else
25698 # include <assert.h>
25699 #endif
25700
25701 #undef $ac_func
25702
25703 /* Override any GCC internal prototype to avoid an error.
25704 Use char because int might match the return type of a GCC
25705 builtin and then its argument prototype would still apply. */
25706 #ifdef __cplusplus
25707 extern "C"
25708 #endif
25709 char $ac_func ();
25710 /* The GNU C library defines this for functions which it implements
25711 to always fail with ENOSYS. Some functions are actually named
25712 something starting with __ and the normal name is an alias. */
25713 #if defined __stub_$ac_func || defined __stub___$ac_func
25714 choke me
25715 #endif
25716
25717 int
25718 main ()
25719 {
25720 return $ac_func ();
25721 ;
25722 return 0;
25723 }
25724 _ACEOF
25725 rm -f conftest.$ac_objext conftest$ac_exeext
25726 if { (ac_try="$ac_link"
25727 case "(($ac_try" in
25728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25729 *) ac_try_echo=$ac_try;;
25730 esac
25731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25732 (eval "$ac_link") 2>conftest.er1
25733 ac_status=$?
25734 grep -v '^ *+' conftest.er1 >conftest.err
25735 rm -f conftest.er1
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } && {
25739 test -z "$ac_c_werror_flag" ||
25740 test ! -s conftest.err
25741 } && test -s conftest$ac_exeext &&
25742 $as_test_x conftest$ac_exeext; then
25743 eval "$as_ac_var=yes"
25744 else
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.$ac_ext >&5
25747
25748 eval "$as_ac_var=no"
25749 fi
25750
25751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25752 conftest$ac_exeext conftest.$ac_ext
25753 fi
25754 ac_res=`eval echo '${'$as_ac_var'}'`
25755 { echo "$as_me:$LINENO: result: $ac_res" >&5
25756 echo "${ECHO_T}$ac_res" >&6; }
25757 if test `eval echo '${'$as_ac_var'}'` = yes; then
25758 cat >>confdefs.h <<_ACEOF
25759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25760 _ACEOF
25761 have_floor=1
25762 fi
25763 done
25764
25765 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25766 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25767 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25768 { echo "$as_me:$LINENO: result: yes" >&5
25769 echo "${ECHO_T}yes" >&6; }
25770 else
25771 { echo "$as_me:$LINENO: result: no" >&5
25772 echo "${ECHO_T}no" >&6; }
25773 LIBS="$LIBS -lm"
25774 # use different functions to avoid configure caching
25775 have_sin=0
25776 have_ceil=0
25777
25778 for ac_func in sin
25779 do
25780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786 cat >conftest.$ac_ext <<_ACEOF
25787 /* confdefs.h. */
25788 _ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25794 #define $ac_func innocuous_$ac_func
25795
25796 /* System header to define __stub macros and hopefully few prototypes,
25797 which can conflict with char $ac_func (); below.
25798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25799 <limits.h> exists even on freestanding compilers. */
25800
25801 #ifdef __STDC__
25802 # include <limits.h>
25803 #else
25804 # include <assert.h>
25805 #endif
25806
25807 #undef $ac_func
25808
25809 /* Override any GCC internal prototype to avoid an error.
25810 Use char because int might match the return type of a GCC
25811 builtin and then its argument prototype would still apply. */
25812 #ifdef __cplusplus
25813 extern "C"
25814 #endif
25815 char $ac_func ();
25816 /* The GNU C library defines this for functions which it implements
25817 to always fail with ENOSYS. Some functions are actually named
25818 something starting with __ and the normal name is an alias. */
25819 #if defined __stub_$ac_func || defined __stub___$ac_func
25820 choke me
25821 #endif
25822
25823 int
25824 main ()
25825 {
25826 return $ac_func ();
25827 ;
25828 return 0;
25829 }
25830 _ACEOF
25831 rm -f conftest.$ac_objext conftest$ac_exeext
25832 if { (ac_try="$ac_link"
25833 case "(($ac_try" in
25834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25835 *) ac_try_echo=$ac_try;;
25836 esac
25837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25838 (eval "$ac_link") 2>conftest.er1
25839 ac_status=$?
25840 grep -v '^ *+' conftest.er1 >conftest.err
25841 rm -f conftest.er1
25842 cat conftest.err >&5
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); } && {
25845 test -z "$ac_c_werror_flag" ||
25846 test ! -s conftest.err
25847 } && test -s conftest$ac_exeext &&
25848 $as_test_x conftest$ac_exeext; then
25849 eval "$as_ac_var=yes"
25850 else
25851 echo "$as_me: failed program was:" >&5
25852 sed 's/^/| /' conftest.$ac_ext >&5
25853
25854 eval "$as_ac_var=no"
25855 fi
25856
25857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25858 conftest$ac_exeext conftest.$ac_ext
25859 fi
25860 ac_res=`eval echo '${'$as_ac_var'}'`
25861 { echo "$as_me:$LINENO: result: $ac_res" >&5
25862 echo "${ECHO_T}$ac_res" >&6; }
25863 if test `eval echo '${'$as_ac_var'}'` = yes; then
25864 cat >>confdefs.h <<_ACEOF
25865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25866 _ACEOF
25867 have_sin=1
25868 fi
25869 done
25870
25871
25872 for ac_func in ceil
25873 do
25874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25878 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 else
25880 cat >conftest.$ac_ext <<_ACEOF
25881 /* confdefs.h. */
25882 _ACEOF
25883 cat confdefs.h >>conftest.$ac_ext
25884 cat >>conftest.$ac_ext <<_ACEOF
25885 /* end confdefs.h. */
25886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25888 #define $ac_func innocuous_$ac_func
25889
25890 /* System header to define __stub macros and hopefully few prototypes,
25891 which can conflict with char $ac_func (); below.
25892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25893 <limits.h> exists even on freestanding compilers. */
25894
25895 #ifdef __STDC__
25896 # include <limits.h>
25897 #else
25898 # include <assert.h>
25899 #endif
25900
25901 #undef $ac_func
25902
25903 /* Override any GCC internal prototype to avoid an error.
25904 Use char because int might match the return type of a GCC
25905 builtin and then its argument prototype would still apply. */
25906 #ifdef __cplusplus
25907 extern "C"
25908 #endif
25909 char $ac_func ();
25910 /* The GNU C library defines this for functions which it implements
25911 to always fail with ENOSYS. Some functions are actually named
25912 something starting with __ and the normal name is an alias. */
25913 #if defined __stub_$ac_func || defined __stub___$ac_func
25914 choke me
25915 #endif
25916
25917 int
25918 main ()
25919 {
25920 return $ac_func ();
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext conftest$ac_exeext
25926 if { (ac_try="$ac_link"
25927 case "(($ac_try" in
25928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25929 *) ac_try_echo=$ac_try;;
25930 esac
25931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25932 (eval "$ac_link") 2>conftest.er1
25933 ac_status=$?
25934 grep -v '^ *+' conftest.er1 >conftest.err
25935 rm -f conftest.er1
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } && {
25939 test -z "$ac_c_werror_flag" ||
25940 test ! -s conftest.err
25941 } && test -s conftest$ac_exeext &&
25942 $as_test_x conftest$ac_exeext; then
25943 eval "$as_ac_var=yes"
25944 else
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25947
25948 eval "$as_ac_var=no"
25949 fi
25950
25951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25952 conftest$ac_exeext conftest.$ac_ext
25953 fi
25954 ac_res=`eval echo '${'$as_ac_var'}'`
25955 { echo "$as_me:$LINENO: result: $ac_res" >&5
25956 echo "${ECHO_T}$ac_res" >&6; }
25957 if test `eval echo '${'$as_ac_var'}'` = yes; then
25958 cat >>confdefs.h <<_ACEOF
25959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25960 _ACEOF
25961 have_ceil=1
25962 fi
25963 done
25964
25965 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25966 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25967 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25968 { echo "$as_me:$LINENO: result: yes" >&5
25969 echo "${ECHO_T}yes" >&6; }
25970 else
25971 { echo "$as_me:$LINENO: result: no" >&5
25972 echo "${ECHO_T}no" >&6; }
25973 # not sure we should warn the user, crash, etc.
25974 fi
25975 fi
25976
25977 ac_ext=cpp
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982
25983 if test "wxUSE_UNICODE" = "yes"; then
25984
25985 for wx_func in wcstoull
25986 do
25987 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25988 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25989 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25992
25993 cat >conftest.$ac_ext <<_ACEOF
25994
25995 /* confdefs.h. */
25996 _ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26000
26001
26002 $ac_includes_default
26003
26004 int
26005 main ()
26006 {
26007
26008 #ifndef $wx_func
26009 &$wx_func;
26010 #endif
26011
26012
26013 ;
26014 return 0;
26015 }
26016
26017 _ACEOF
26018 rm -f conftest.$ac_objext conftest$ac_exeext
26019 if { (ac_try="$ac_link"
26020 case "(($ac_try" in
26021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26022 *) ac_try_echo=$ac_try;;
26023 esac
26024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26025 (eval "$ac_link") 2>conftest.er1
26026 ac_status=$?
26027 grep -v '^ *+' conftest.er1 >conftest.err
26028 rm -f conftest.er1
26029 cat conftest.err >&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } && {
26032 test -z "$ac_cxx_werror_flag" ||
26033 test ! -s conftest.err
26034 } && test -s conftest$ac_exeext &&
26035 $as_test_x conftest$ac_exeext; then
26036 eval wx_cv_func_$wx_func=yes
26037 else
26038 echo "$as_me: failed program was:" >&5
26039 sed 's/^/| /' conftest.$ac_ext >&5
26040
26041 eval wx_cv_func_$wx_func=no
26042 fi
26043
26044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26045 conftest$ac_exeext conftest.$ac_ext
26046
26047 fi
26048 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26049 { echo "$as_me:$LINENO: result: $ac_res" >&5
26050 echo "${ECHO_T}$ac_res" >&6; }
26051
26052 if eval test \$wx_cv_func_$wx_func = yes
26053 then
26054 cat >>confdefs.h <<_ACEOF
26055 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26056 _ACEOF
26057
26058
26059 else
26060 :
26061
26062 fi
26063 done
26064
26065 else
26066
26067 for wx_func in strtoull
26068 do
26069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26071 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 else
26074
26075 cat >conftest.$ac_ext <<_ACEOF
26076
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082
26083
26084 $ac_includes_default
26085
26086 int
26087 main ()
26088 {
26089
26090 #ifndef $wx_func
26091 &$wx_func;
26092 #endif
26093
26094
26095 ;
26096 return 0;
26097 }
26098
26099 _ACEOF
26100 rm -f conftest.$ac_objext conftest$ac_exeext
26101 if { (ac_try="$ac_link"
26102 case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26105 esac
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_link") 2>conftest.er1
26108 ac_status=$?
26109 grep -v '^ *+' conftest.er1 >conftest.err
26110 rm -f conftest.er1
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_cxx_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest$ac_exeext &&
26117 $as_test_x conftest$ac_exeext; then
26118 eval wx_cv_func_$wx_func=yes
26119 else
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26122
26123 eval wx_cv_func_$wx_func=no
26124 fi
26125
26126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26127 conftest$ac_exeext conftest.$ac_ext
26128
26129 fi
26130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26131 { echo "$as_me:$LINENO: result: $ac_res" >&5
26132 echo "${ECHO_T}$ac_res" >&6; }
26133
26134 if eval test \$wx_cv_func_$wx_func = yes
26135 then
26136 cat >>confdefs.h <<_ACEOF
26137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26138 _ACEOF
26139
26140
26141 else
26142 :
26143
26144 fi
26145 done
26146
26147 fi
26148 ac_ext=c
26149 ac_cpp='$CPP $CPPFLAGS'
26150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26153
26154
26155
26156
26157 if test "$wxUSE_REGEX" != "no"; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define wxUSE_REGEX 1
26160 _ACEOF
26161
26162
26163 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26164 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26165 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26166 wxUSE_REGEX=builtin
26167 fi
26168
26169 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for regex.h" >&5
26171 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_regex_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 else
26175 cat >conftest.$ac_ext <<_ACEOF
26176 /* confdefs.h. */
26177 _ACEOF
26178 cat confdefs.h >>conftest.$ac_ext
26179 cat >>conftest.$ac_ext <<_ACEOF
26180 /* end confdefs.h. */
26181
26182
26183 #include <regex.h>
26184 _ACEOF
26185 rm -f conftest.$ac_objext
26186 if { (ac_try="$ac_compile"
26187 case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26190 esac
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_compile") 2>conftest.er1
26193 ac_status=$?
26194 grep -v '^ *+' conftest.er1 >conftest.err
26195 rm -f conftest.er1
26196 cat conftest.err >&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } && {
26199 test -z "$ac_c_werror_flag" ||
26200 test ! -s conftest.err
26201 } && test -s conftest.$ac_objext; then
26202 ac_cv_header_regex_h=yes
26203 else
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.$ac_ext >&5
26206
26207 ac_cv_header_regex_h=no
26208 fi
26209
26210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26211 fi
26212 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26213 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26214 if test $ac_cv_header_regex_h = yes; then
26215
26216
26217 for ac_func in regcomp re_search
26218 do
26219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26222 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 else
26225 cat >conftest.$ac_ext <<_ACEOF
26226 /* confdefs.h. */
26227 _ACEOF
26228 cat confdefs.h >>conftest.$ac_ext
26229 cat >>conftest.$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26233 #define $ac_func innocuous_$ac_func
26234
26235 /* System header to define __stub macros and hopefully few prototypes,
26236 which can conflict with char $ac_func (); below.
26237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26238 <limits.h> exists even on freestanding compilers. */
26239
26240 #ifdef __STDC__
26241 # include <limits.h>
26242 #else
26243 # include <assert.h>
26244 #endif
26245
26246 #undef $ac_func
26247
26248 /* Override any GCC internal prototype to avoid an error.
26249 Use char because int might match the return type of a GCC
26250 builtin and then its argument prototype would still apply. */
26251 #ifdef __cplusplus
26252 extern "C"
26253 #endif
26254 char $ac_func ();
26255 /* The GNU C library defines this for functions which it implements
26256 to always fail with ENOSYS. Some functions are actually named
26257 something starting with __ and the normal name is an alias. */
26258 #if defined __stub_$ac_func || defined __stub___$ac_func
26259 choke me
26260 #endif
26261
26262 int
26263 main ()
26264 {
26265 return $ac_func ();
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 rm -f conftest.$ac_objext conftest$ac_exeext
26271 if { (ac_try="$ac_link"
26272 case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26275 esac
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_link") 2>conftest.er1
26278 ac_status=$?
26279 grep -v '^ *+' conftest.er1 >conftest.err
26280 rm -f conftest.er1
26281 cat conftest.err >&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && {
26284 test -z "$ac_c_werror_flag" ||
26285 test ! -s conftest.err
26286 } && test -s conftest$ac_exeext &&
26287 $as_test_x conftest$ac_exeext; then
26288 eval "$as_ac_var=yes"
26289 else
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26292
26293 eval "$as_ac_var=no"
26294 fi
26295
26296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26297 conftest$ac_exeext conftest.$ac_ext
26298 fi
26299 ac_res=`eval echo '${'$as_ac_var'}'`
26300 { echo "$as_me:$LINENO: result: $ac_res" >&5
26301 echo "${ECHO_T}$ac_res" >&6; }
26302 if test `eval echo '${'$as_ac_var'}'` = yes; then
26303 cat >>confdefs.h <<_ACEOF
26304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26305 _ACEOF
26306
26307 fi
26308 done
26309
26310 fi
26311
26312
26313
26314 if test "x$ac_cv_func_regcomp" != "xyes"; then
26315 if test "$wxUSE_REGEX" = "sys" ; then
26316 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26317 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26318 { (exit 1); exit 1; }; }
26319 else
26320 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26321 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26322 wxUSE_REGEX=builtin
26323 fi
26324 else
26325 wxUSE_REGEX=sys
26326 cat >>confdefs.h <<\_ACEOF
26327 #define WX_NO_REGEX_ADVANCED 1
26328 _ACEOF
26329
26330 fi
26331 fi
26332 fi
26333
26334
26335 ZLIB_LINK=
26336 if test "$wxUSE_ZLIB" != "no" ; then
26337 cat >>confdefs.h <<\_ACEOF
26338 #define wxUSE_ZLIB 1
26339 _ACEOF
26340
26341
26342 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26343 if test "$USE_DARWIN" = 1; then
26344 system_zlib_h_ok="yes"
26345 else
26346 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26347 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26348 if test "${ac_cv_header_zlib_h+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351 if test "$cross_compiling" = yes; then
26352 unset ac_cv_header_zlib_h
26353
26354 else
26355 cat >conftest.$ac_ext <<_ACEOF
26356 /* confdefs.h. */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361
26362 #include <zlib.h>
26363 #include <stdio.h>
26364
26365 int main()
26366 {
26367 FILE *f=fopen("conftestval", "w");
26368 if (!f) exit(1);
26369 fprintf(f, "%s",
26370 ZLIB_VERSION[0] == '1' &&
26371 (ZLIB_VERSION[2] > '1' ||
26372 (ZLIB_VERSION[2] == '1' &&
26373 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26374 exit(0);
26375 }
26376
26377 _ACEOF
26378 rm -f conftest$ac_exeext
26379 if { (ac_try="$ac_link"
26380 case "(($ac_try" in
26381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26382 *) ac_try_echo=$ac_try;;
26383 esac
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_link") 2>&5
26386 ac_status=$?
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26389 { (case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26392 esac
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_try") 2>&5
26395 ac_status=$?
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); }; }; then
26398 ac_cv_header_zlib_h=`cat conftestval`
26399 else
26400 echo "$as_me: program exited with status $ac_status" >&5
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26403
26404 ( exit $ac_status )
26405 ac_cv_header_zlib_h=no
26406 fi
26407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26408 fi
26409
26410
26411
26412 fi
26413 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26414 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26415 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26416 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_zlib_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420 cat >conftest.$ac_ext <<_ACEOF
26421 /* confdefs.h. */
26422 _ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26426
26427
26428 #include <zlib.h>
26429 _ACEOF
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_c_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26447 ac_cv_header_zlib_h=yes
26448 else
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26451
26452 ac_cv_header_zlib_h=no
26453 fi
26454
26455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456 fi
26457 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26459
26460
26461
26462 system_zlib_h_ok=$ac_cv_header_zlib_h
26463 fi
26464
26465 if test "$system_zlib_h_ok" = "yes"; then
26466 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26467 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26468 if test "${ac_cv_lib_z_deflate+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 else
26471 ac_check_lib_save_LIBS=$LIBS
26472 LIBS="-lz $LIBS"
26473 cat >conftest.$ac_ext <<_ACEOF
26474 /* confdefs.h. */
26475 _ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479
26480 /* Override any GCC internal prototype to avoid an error.
26481 Use char because int might match the return type of a GCC
26482 builtin and then its argument prototype would still apply. */
26483 #ifdef __cplusplus
26484 extern "C"
26485 #endif
26486 char deflate ();
26487 int
26488 main ()
26489 {
26490 return deflate ();
26491 ;
26492 return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext conftest$ac_exeext
26496 if { (ac_try="$ac_link"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26500 esac
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_link") 2>conftest.er1
26503 ac_status=$?
26504 grep -v '^ *+' conftest.er1 >conftest.err
26505 rm -f conftest.er1
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && {
26509 test -z "$ac_c_werror_flag" ||
26510 test ! -s conftest.err
26511 } && test -s conftest$ac_exeext &&
26512 $as_test_x conftest$ac_exeext; then
26513 ac_cv_lib_z_deflate=yes
26514 else
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26517
26518 ac_cv_lib_z_deflate=no
26519 fi
26520
26521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26522 conftest$ac_exeext conftest.$ac_ext
26523 LIBS=$ac_check_lib_save_LIBS
26524 fi
26525 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26526 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26527 if test $ac_cv_lib_z_deflate = yes; then
26528 ZLIB_LINK=" -lz"
26529 fi
26530
26531 fi
26532
26533 if test "x$ZLIB_LINK" = "x" ; then
26534 if test "$wxUSE_ZLIB" = "sys" ; then
26535 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26536 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26537 { (exit 1); exit 1; }; }
26538 else
26539 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26540 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26541 wxUSE_ZLIB=builtin
26542 fi
26543 else
26544 wxUSE_ZLIB=sys
26545 fi
26546 fi
26547 fi
26548
26549
26550 PNG_LINK=
26551 if test "$wxUSE_LIBPNG" != "no" ; then
26552 cat >>confdefs.h <<\_ACEOF
26553 #define wxUSE_LIBPNG 1
26554 _ACEOF
26555
26556
26557 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26558 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26559 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26560 wxUSE_LIBPNG=sys
26561 fi
26562
26563 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26564 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26565 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26566 wxUSE_LIBPNG=builtin
26567 fi
26568
26569 if test "$wxUSE_MGL" != 1 ; then
26570 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26571 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26572 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26573 if test "${ac_cv_header_png_h+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26576 if test "$cross_compiling" = yes; then
26577 unset ac_cv_header_png_h
26578
26579 else
26580 cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586
26587 #include <png.h>
26588 #include <stdio.h>
26589
26590 int main()
26591 {
26592 FILE *f=fopen("conftestval", "w");
26593 if (!f) exit(1);
26594 fprintf(f, "%s",
26595 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26596 exit(0);
26597 }
26598
26599 _ACEOF
26600 rm -f conftest$ac_exeext
26601 if { (ac_try="$ac_link"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26605 esac
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_link") 2>&5
26608 ac_status=$?
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26611 { (case "(($ac_try" in
26612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26613 *) ac_try_echo=$ac_try;;
26614 esac
26615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26616 (eval "$ac_try") 2>&5
26617 ac_status=$?
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 ac_cv_header_png_h=`cat conftestval`
26621 else
26622 echo "$as_me: program exited with status $ac_status" >&5
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 ( exit $ac_status )
26627 ac_cv_header_png_h=no
26628 fi
26629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26630 fi
26631
26632
26633
26634 fi
26635 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26636 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26637 { echo "$as_me:$LINENO: checking for png.h" >&5
26638 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26639 if test "${ac_cv_header_png_h+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 else
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648
26649
26650 #include <png.h>
26651 _ACEOF
26652 rm -f conftest.$ac_objext
26653 if { (ac_try="$ac_compile"
26654 case "(($ac_try" in
26655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26656 *) ac_try_echo=$ac_try;;
26657 esac
26658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26659 (eval "$ac_compile") 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } && {
26666 test -z "$ac_c_werror_flag" ||
26667 test ! -s conftest.err
26668 } && test -s conftest.$ac_objext; then
26669 ac_cv_header_png_h=yes
26670 else
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26673
26674 ac_cv_header_png_h=no
26675 fi
26676
26677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26678 fi
26679 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26680 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26681
26682
26683
26684 if test "$ac_cv_header_png_h" = "yes"; then
26685 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26686 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26687 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 else
26690 ac_check_lib_save_LIBS=$LIBS
26691 LIBS="-lpng -lz -lm $LIBS"
26692 cat >conftest.$ac_ext <<_ACEOF
26693 /* confdefs.h. */
26694 _ACEOF
26695 cat confdefs.h >>conftest.$ac_ext
26696 cat >>conftest.$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26698
26699 /* Override any GCC internal prototype to avoid an error.
26700 Use char because int might match the return type of a GCC
26701 builtin and then its argument prototype would still apply. */
26702 #ifdef __cplusplus
26703 extern "C"
26704 #endif
26705 char png_check_sig ();
26706 int
26707 main ()
26708 {
26709 return png_check_sig ();
26710 ;
26711 return 0;
26712 }
26713 _ACEOF
26714 rm -f conftest.$ac_objext conftest$ac_exeext
26715 if { (ac_try="$ac_link"
26716 case "(($ac_try" in
26717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26718 *) ac_try_echo=$ac_try;;
26719 esac
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_link") 2>conftest.er1
26722 ac_status=$?
26723 grep -v '^ *+' conftest.er1 >conftest.err
26724 rm -f conftest.er1
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_c_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest$ac_exeext &&
26731 $as_test_x conftest$ac_exeext; then
26732 ac_cv_lib_png_png_check_sig=yes
26733 else
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26736
26737 ac_cv_lib_png_png_check_sig=no
26738 fi
26739
26740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26741 conftest$ac_exeext conftest.$ac_ext
26742 LIBS=$ac_check_lib_save_LIBS
26743 fi
26744 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26745 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26746 if test $ac_cv_lib_png_png_check_sig = yes; then
26747 PNG_LINK=" -lpng -lz"
26748 fi
26749
26750 fi
26751
26752 if test "x$PNG_LINK" = "x" ; then
26753 if test "$wxUSE_LIBPNG" = "sys" ; then
26754 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26755 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26756 { (exit 1); exit 1; }; }
26757 else
26758 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26759 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26760 wxUSE_LIBPNG=builtin
26761 fi
26762 else
26763 wxUSE_LIBPNG=sys
26764 fi
26765 fi
26766 fi
26767 fi
26768
26769
26770 JPEG_LINK=
26771 if test "$wxUSE_LIBJPEG" != "no" ; then
26772 cat >>confdefs.h <<\_ACEOF
26773 #define wxUSE_LIBJPEG 1
26774 _ACEOF
26775
26776
26777 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26778 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26779 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26780 wxUSE_LIBJPEG=sys
26781 fi
26782
26783 if test "$wxUSE_MGL" != 1 ; then
26784 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26785 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26786 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26787 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 else
26790 cat >conftest.$ac_ext <<_ACEOF
26791 /* confdefs.h. */
26792 _ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796
26797 #undef HAVE_STDLIB_H
26798 #include <stdio.h>
26799 #include <jpeglib.h>
26800
26801 int
26802 main ()
26803 {
26804
26805
26806 ;
26807 return 0;
26808 }
26809 _ACEOF
26810 rm -f conftest.$ac_objext
26811 if { (ac_try="$ac_compile"
26812 case "(($ac_try" in
26813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26814 *) ac_try_echo=$ac_try;;
26815 esac
26816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26817 (eval "$ac_compile") 2>conftest.er1
26818 ac_status=$?
26819 grep -v '^ *+' conftest.er1 >conftest.err
26820 rm -f conftest.er1
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } && {
26824 test -z "$ac_c_werror_flag" ||
26825 test ! -s conftest.err
26826 } && test -s conftest.$ac_objext; then
26827 ac_cv_header_jpeglib_h=yes
26828 else
26829 echo "$as_me: failed program was:" >&5
26830 sed 's/^/| /' conftest.$ac_ext >&5
26831
26832 ac_cv_header_jpeglib_h=no
26833
26834 fi
26835
26836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26837
26838 fi
26839
26840 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26841 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26842
26843 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26844 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26845 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26846 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 else
26849 ac_check_lib_save_LIBS=$LIBS
26850 LIBS="-ljpeg $LIBS"
26851 cat >conftest.$ac_ext <<_ACEOF
26852 /* confdefs.h. */
26853 _ACEOF
26854 cat confdefs.h >>conftest.$ac_ext
26855 cat >>conftest.$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26857
26858 /* Override any GCC internal prototype to avoid an error.
26859 Use char because int might match the return type of a GCC
26860 builtin and then its argument prototype would still apply. */
26861 #ifdef __cplusplus
26862 extern "C"
26863 #endif
26864 char jpeg_read_header ();
26865 int
26866 main ()
26867 {
26868 return jpeg_read_header ();
26869 ;
26870 return 0;
26871 }
26872 _ACEOF
26873 rm -f conftest.$ac_objext conftest$ac_exeext
26874 if { (ac_try="$ac_link"
26875 case "(($ac_try" in
26876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26877 *) ac_try_echo=$ac_try;;
26878 esac
26879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26880 (eval "$ac_link") 2>conftest.er1
26881 ac_status=$?
26882 grep -v '^ *+' conftest.er1 >conftest.err
26883 rm -f conftest.er1
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } && {
26887 test -z "$ac_c_werror_flag" ||
26888 test ! -s conftest.err
26889 } && test -s conftest$ac_exeext &&
26890 $as_test_x conftest$ac_exeext; then
26891 ac_cv_lib_jpeg_jpeg_read_header=yes
26892 else
26893 echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26895
26896 ac_cv_lib_jpeg_jpeg_read_header=no
26897 fi
26898
26899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26900 conftest$ac_exeext conftest.$ac_ext
26901 LIBS=$ac_check_lib_save_LIBS
26902 fi
26903 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26904 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26905 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26906 JPEG_LINK=" -ljpeg"
26907 fi
26908
26909 fi
26910
26911 if test "x$JPEG_LINK" = "x" ; then
26912 if test "$wxUSE_LIBJPEG" = "sys" ; then
26913 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26914 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26915 { (exit 1); exit 1; }; }
26916 else
26917 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26918 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26919 wxUSE_LIBJPEG=builtin
26920 fi
26921 else
26922 wxUSE_LIBJPEG=sys
26923
26924 if test "$wxUSE_MSW" = 1; then
26925 { echo "$as_me:$LINENO: checking for boolean" >&5
26926 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26927 if test "${ac_cv_type_boolean+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 else
26930 cat >conftest.$ac_ext <<_ACEOF
26931 /* confdefs.h. */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936 #include <windows.h>
26937
26938 typedef boolean ac__type_new_;
26939 int
26940 main ()
26941 {
26942 if ((ac__type_new_ *) 0)
26943 return 0;
26944 if (sizeof (ac__type_new_))
26945 return 0;
26946 ;
26947 return 0;
26948 }
26949 _ACEOF
26950 rm -f conftest.$ac_objext
26951 if { (ac_try="$ac_compile"
26952 case "(($ac_try" in
26953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26954 *) ac_try_echo=$ac_try;;
26955 esac
26956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26957 (eval "$ac_compile") 2>conftest.er1
26958 ac_status=$?
26959 grep -v '^ *+' conftest.er1 >conftest.err
26960 rm -f conftest.er1
26961 cat conftest.err >&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } && {
26964 test -z "$ac_c_werror_flag" ||
26965 test ! -s conftest.err
26966 } && test -s conftest.$ac_objext; then
26967 ac_cv_type_boolean=yes
26968 else
26969 echo "$as_me: failed program was:" >&5
26970 sed 's/^/| /' conftest.$ac_ext >&5
26971
26972 ac_cv_type_boolean=no
26973 fi
26974
26975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26976 fi
26977 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26978 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26979 if test $ac_cv_type_boolean = yes; then
26980
26981 cat >>confdefs.h <<_ACEOF
26982 #define HAVE_BOOLEAN 1
26983 _ACEOF
26984
26985
26986 { echo "$as_me:$LINENO: checking for boolean" >&5
26987 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26988 if test "${ac_cv_type_boolean+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 else
26991 cat >conftest.$ac_ext <<_ACEOF
26992 /* confdefs.h. */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997
26998 #undef HAVE_BOOLEAN
26999 #include <stdio.h>
27000 #include <jpeglib.h>
27001
27002
27003 typedef boolean ac__type_new_;
27004 int
27005 main ()
27006 {
27007 if ((ac__type_new_ *) 0)
27008 return 0;
27009 if (sizeof (ac__type_new_))
27010 return 0;
27011 ;
27012 return 0;
27013 }
27014 _ACEOF
27015 rm -f conftest.$ac_objext
27016 if { (ac_try="$ac_compile"
27017 case "(($ac_try" in
27018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27019 *) ac_try_echo=$ac_try;;
27020 esac
27021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27022 (eval "$ac_compile") 2>conftest.er1
27023 ac_status=$?
27024 grep -v '^ *+' conftest.er1 >conftest.err
27025 rm -f conftest.er1
27026 cat conftest.err >&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } && {
27029 test -z "$ac_c_werror_flag" ||
27030 test ! -s conftest.err
27031 } && test -s conftest.$ac_objext; then
27032 ac_cv_type_boolean=yes
27033 else
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.$ac_ext >&5
27036
27037 ac_cv_type_boolean=no
27038 fi
27039
27040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27041 fi
27042 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27043 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27044
27045 # The cast to long int works around a bug in the HP C Compiler
27046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27048 # This bug is HP SR number 8606223364.
27049 { echo "$as_me:$LINENO: checking size of boolean" >&5
27050 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27051 if test "${ac_cv_sizeof_boolean+set}" = set; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 else
27054 if test "$cross_compiling" = yes; then
27055 # Depending upon the size, compute the lo and hi bounds.
27056 cat >conftest.$ac_ext <<_ACEOF
27057 /* confdefs.h. */
27058 _ACEOF
27059 cat confdefs.h >>conftest.$ac_ext
27060 cat >>conftest.$ac_ext <<_ACEOF
27061 /* end confdefs.h. */
27062
27063 #undef HAVE_BOOLEAN
27064 #include <stdio.h>
27065 #include <jpeglib.h>
27066
27067
27068 typedef boolean ac__type_sizeof_;
27069 int
27070 main ()
27071 {
27072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27073 test_array [0] = 0
27074
27075 ;
27076 return 0;
27077 }
27078 _ACEOF
27079 rm -f conftest.$ac_objext
27080 if { (ac_try="$ac_compile"
27081 case "(($ac_try" in
27082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27083 *) ac_try_echo=$ac_try;;
27084 esac
27085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27086 (eval "$ac_compile") 2>conftest.er1
27087 ac_status=$?
27088 grep -v '^ *+' conftest.er1 >conftest.err
27089 rm -f conftest.er1
27090 cat conftest.err >&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } && {
27093 test -z "$ac_c_werror_flag" ||
27094 test ! -s conftest.err
27095 } && test -s conftest.$ac_objext; then
27096 ac_lo=0 ac_mid=0
27097 while :; do
27098 cat >conftest.$ac_ext <<_ACEOF
27099 /* confdefs.h. */
27100 _ACEOF
27101 cat confdefs.h >>conftest.$ac_ext
27102 cat >>conftest.$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27104
27105 #undef HAVE_BOOLEAN
27106 #include <stdio.h>
27107 #include <jpeglib.h>
27108
27109
27110 typedef boolean ac__type_sizeof_;
27111 int
27112 main ()
27113 {
27114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27115 test_array [0] = 0
27116
27117 ;
27118 return 0;
27119 }
27120 _ACEOF
27121 rm -f conftest.$ac_objext
27122 if { (ac_try="$ac_compile"
27123 case "(($ac_try" in
27124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27125 *) ac_try_echo=$ac_try;;
27126 esac
27127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27128 (eval "$ac_compile") 2>conftest.er1
27129 ac_status=$?
27130 grep -v '^ *+' conftest.er1 >conftest.err
27131 rm -f conftest.er1
27132 cat conftest.err >&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); } && {
27135 test -z "$ac_c_werror_flag" ||
27136 test ! -s conftest.err
27137 } && test -s conftest.$ac_objext; then
27138 ac_hi=$ac_mid; break
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27142
27143 ac_lo=`expr $ac_mid + 1`
27144 if test $ac_lo -le $ac_mid; then
27145 ac_lo= ac_hi=
27146 break
27147 fi
27148 ac_mid=`expr 2 '*' $ac_mid + 1`
27149 fi
27150
27151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27152 done
27153 else
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 cat >conftest.$ac_ext <<_ACEOF
27158 /* confdefs.h. */
27159 _ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27163
27164 #undef HAVE_BOOLEAN
27165 #include <stdio.h>
27166 #include <jpeglib.h>
27167
27168
27169 typedef boolean ac__type_sizeof_;
27170 int
27171 main ()
27172 {
27173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27174 test_array [0] = 0
27175
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest.$ac_objext
27181 if { (ac_try="$ac_compile"
27182 case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27184 *) ac_try_echo=$ac_try;;
27185 esac
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_compile") 2>conftest.er1
27188 ac_status=$?
27189 grep -v '^ *+' conftest.er1 >conftest.err
27190 rm -f conftest.er1
27191 cat conftest.err >&5
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); } && {
27194 test -z "$ac_c_werror_flag" ||
27195 test ! -s conftest.err
27196 } && test -s conftest.$ac_objext; then
27197 ac_hi=-1 ac_mid=-1
27198 while :; do
27199 cat >conftest.$ac_ext <<_ACEOF
27200 /* confdefs.h. */
27201 _ACEOF
27202 cat confdefs.h >>conftest.$ac_ext
27203 cat >>conftest.$ac_ext <<_ACEOF
27204 /* end confdefs.h. */
27205
27206 #undef HAVE_BOOLEAN
27207 #include <stdio.h>
27208 #include <jpeglib.h>
27209
27210
27211 typedef boolean ac__type_sizeof_;
27212 int
27213 main ()
27214 {
27215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27216 test_array [0] = 0
27217
27218 ;
27219 return 0;
27220 }
27221 _ACEOF
27222 rm -f conftest.$ac_objext
27223 if { (ac_try="$ac_compile"
27224 case "(($ac_try" in
27225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27226 *) ac_try_echo=$ac_try;;
27227 esac
27228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27229 (eval "$ac_compile") 2>conftest.er1
27230 ac_status=$?
27231 grep -v '^ *+' conftest.er1 >conftest.err
27232 rm -f conftest.er1
27233 cat conftest.err >&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } && {
27236 test -z "$ac_c_werror_flag" ||
27237 test ! -s conftest.err
27238 } && test -s conftest.$ac_objext; then
27239 ac_lo=$ac_mid; break
27240 else
27241 echo "$as_me: failed program was:" >&5
27242 sed 's/^/| /' conftest.$ac_ext >&5
27243
27244 ac_hi=`expr '(' $ac_mid ')' - 1`
27245 if test $ac_mid -le $ac_hi; then
27246 ac_lo= ac_hi=
27247 break
27248 fi
27249 ac_mid=`expr 2 '*' $ac_mid`
27250 fi
27251
27252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27253 done
27254 else
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27257
27258 ac_lo= ac_hi=
27259 fi
27260
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 fi
27263
27264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27265 # Binary search between lo and hi bounds.
27266 while test "x$ac_lo" != "x$ac_hi"; do
27267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27268 cat >conftest.$ac_ext <<_ACEOF
27269 /* confdefs.h. */
27270 _ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274
27275 #undef HAVE_BOOLEAN
27276 #include <stdio.h>
27277 #include <jpeglib.h>
27278
27279
27280 typedef boolean ac__type_sizeof_;
27281 int
27282 main ()
27283 {
27284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27285 test_array [0] = 0
27286
27287 ;
27288 return 0;
27289 }
27290 _ACEOF
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 ac_hi=$ac_mid
27309 else
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 ac_lo=`expr '(' $ac_mid ')' + 1`
27314 fi
27315
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 done
27318 case $ac_lo in
27319 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27320 '') if test "$ac_cv_type_boolean" = yes; then
27321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27322 See \`config.log' for more details." >&5
27323 echo "$as_me: error: cannot compute sizeof (boolean)
27324 See \`config.log' for more details." >&2;}
27325 { (exit 77); exit 77; }; }
27326 else
27327 ac_cv_sizeof_boolean=0
27328 fi ;;
27329 esac
27330 else
27331 cat >conftest.$ac_ext <<_ACEOF
27332 /* confdefs.h. */
27333 _ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27337
27338 #undef HAVE_BOOLEAN
27339 #include <stdio.h>
27340 #include <jpeglib.h>
27341
27342
27343 typedef boolean ac__type_sizeof_;
27344 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27345 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27346 #include <stdio.h>
27347 #include <stdlib.h>
27348 int
27349 main ()
27350 {
27351
27352 FILE *f = fopen ("conftest.val", "w");
27353 if (! f)
27354 return 1;
27355 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27356 {
27357 long int i = longval ();
27358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27359 return 1;
27360 fprintf (f, "%ld\n", i);
27361 }
27362 else
27363 {
27364 unsigned long int i = ulongval ();
27365 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27366 return 1;
27367 fprintf (f, "%lu\n", i);
27368 }
27369 return ferror (f) || fclose (f) != 0;
27370
27371 ;
27372 return 0;
27373 }
27374 _ACEOF
27375 rm -f conftest$ac_exeext
27376 if { (ac_try="$ac_link"
27377 case "(($ac_try" in
27378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27379 *) ac_try_echo=$ac_try;;
27380 esac
27381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27382 (eval "$ac_link") 2>&5
27383 ac_status=$?
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27386 { (case "(($ac_try" in
27387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27388 *) ac_try_echo=$ac_try;;
27389 esac
27390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27391 (eval "$ac_try") 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); }; }; then
27395 ac_cv_sizeof_boolean=`cat conftest.val`
27396 else
27397 echo "$as_me: program exited with status $ac_status" >&5
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 ( exit $ac_status )
27402 if test "$ac_cv_type_boolean" = yes; then
27403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27404 See \`config.log' for more details." >&5
27405 echo "$as_me: error: cannot compute sizeof (boolean)
27406 See \`config.log' for more details." >&2;}
27407 { (exit 77); exit 77; }; }
27408 else
27409 ac_cv_sizeof_boolean=0
27410 fi
27411 fi
27412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27413 fi
27414 rm -f conftest.val
27415 fi
27416 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27417 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27418
27419
27420
27421 cat >>confdefs.h <<_ACEOF
27422 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27423 _ACEOF
27424
27425
27426 cat >>confdefs.h <<_ACEOF
27427 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27428 _ACEOF
27429
27430
27431 fi
27432
27433 fi
27434 fi
27435 fi
27436 fi
27437 fi
27438
27439
27440 TIFF_LINK=
27441 TIFF_PREREQ_LINKS=-lm
27442 if test "$wxUSE_LIBTIFF" != "no" ; then
27443 cat >>confdefs.h <<\_ACEOF
27444 #define wxUSE_LIBTIFF 1
27445 _ACEOF
27446
27447
27448 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27449 if test "$wxUSE_LIBJPEG" = "sys"; then
27450 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27451 fi
27452 if test "$wxUSE_ZLIB" = "sys"; then
27453 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27454 fi
27455 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27456 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27457 if test "${ac_cv_header_tiffio_h+set}" = set; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27459 else
27460 cat >conftest.$ac_ext <<_ACEOF
27461 /* confdefs.h. */
27462 _ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27466
27467
27468
27469 #include <tiffio.h>
27470 _ACEOF
27471 rm -f conftest.$ac_objext
27472 if { (ac_try="$ac_compile"
27473 case "(($ac_try" in
27474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27475 *) ac_try_echo=$ac_try;;
27476 esac
27477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27478 (eval "$ac_compile") 2>conftest.er1
27479 ac_status=$?
27480 grep -v '^ *+' conftest.er1 >conftest.err
27481 rm -f conftest.er1
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } && {
27485 test -z "$ac_c_werror_flag" ||
27486 test ! -s conftest.err
27487 } && test -s conftest.$ac_objext; then
27488 ac_cv_header_tiffio_h=yes
27489 else
27490 echo "$as_me: failed program was:" >&5
27491 sed 's/^/| /' conftest.$ac_ext >&5
27492
27493 ac_cv_header_tiffio_h=no
27494 fi
27495
27496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27497 fi
27498 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27499 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27500 if test $ac_cv_header_tiffio_h = yes; then
27501
27502 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27503 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27504 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27506 else
27507 ac_check_lib_save_LIBS=$LIBS
27508 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515
27516 /* Override any GCC internal prototype to avoid an error.
27517 Use char because int might match the return type of a GCC
27518 builtin and then its argument prototype would still apply. */
27519 #ifdef __cplusplus
27520 extern "C"
27521 #endif
27522 char TIFFError ();
27523 int
27524 main ()
27525 {
27526 return TIFFError ();
27527 ;
27528 return 0;
27529 }
27530 _ACEOF
27531 rm -f conftest.$ac_objext conftest$ac_exeext
27532 if { (ac_try="$ac_link"
27533 case "(($ac_try" in
27534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27535 *) ac_try_echo=$ac_try;;
27536 esac
27537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27538 (eval "$ac_link") 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } && {
27545 test -z "$ac_c_werror_flag" ||
27546 test ! -s conftest.err
27547 } && test -s conftest$ac_exeext &&
27548 $as_test_x conftest$ac_exeext; then
27549 ac_cv_lib_tiff_TIFFError=yes
27550 else
27551 echo "$as_me: failed program was:" >&5
27552 sed 's/^/| /' conftest.$ac_ext >&5
27553
27554 ac_cv_lib_tiff_TIFFError=no
27555 fi
27556
27557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27558 conftest$ac_exeext conftest.$ac_ext
27559 LIBS=$ac_check_lib_save_LIBS
27560 fi
27561 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27562 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27563 if test $ac_cv_lib_tiff_TIFFError = yes; then
27564 TIFF_LINK=" -ltiff"
27565 fi
27566
27567
27568 fi
27569
27570
27571
27572 if test "x$TIFF_LINK" = "x" ; then
27573 if test "$wxUSE_LIBTIFF" = "sys" ; then
27574 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27575 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27576 { (exit 1); exit 1; }; }
27577 else
27578 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27579 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27580 wxUSE_LIBTIFF=builtin
27581 fi
27582 else
27583 wxUSE_LIBTIFF=sys
27584 fi
27585 fi
27586 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27587 if test "$wxUSE_LIBJPEG" = "no"; then
27588 ac_configure_args="$ac_configure_args --disable-jpeg"
27589 fi
27590 subdirs="$subdirs src/tiff"
27591
27592 fi
27593 fi
27594
27595
27596 if test "$wxUSE_WCHAR_T" != "yes"; then
27597 if test "$wxUSE_EXPAT" != "no"; then
27598 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27599 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27600 wxUSE_EXPAT=no
27601 fi
27602 if test "$wxUSE_XML" != "no"; then
27603 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27604 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27605 wxUSE_XML=no
27606 fi
27607 fi
27608
27609 if test "$wxUSE_EXPAT" != "no"; then
27610 wxUSE_XML=yes
27611 cat >>confdefs.h <<\_ACEOF
27612 #define wxUSE_EXPAT 1
27613 _ACEOF
27614
27615 cat >>confdefs.h <<\_ACEOF
27616 #define wxUSE_XML 1
27617 _ACEOF
27618
27619
27620 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27621 { echo "$as_me:$LINENO: checking for expat.h" >&5
27622 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27623 if test "${ac_cv_header_expat_h+set}" = set; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 else
27626 cat >conftest.$ac_ext <<_ACEOF
27627 /* confdefs.h. */
27628 _ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632
27633
27634 #include <expat.h>
27635 _ACEOF
27636 rm -f conftest.$ac_objext
27637 if { (ac_try="$ac_compile"
27638 case "(($ac_try" in
27639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27640 *) ac_try_echo=$ac_try;;
27641 esac
27642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_compile") 2>conftest.er1
27644 ac_status=$?
27645 grep -v '^ *+' conftest.er1 >conftest.err
27646 rm -f conftest.er1
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } && {
27650 test -z "$ac_c_werror_flag" ||
27651 test ! -s conftest.err
27652 } && test -s conftest.$ac_objext; then
27653 ac_cv_header_expat_h=yes
27654 else
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27657
27658 ac_cv_header_expat_h=no
27659 fi
27660
27661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27662 fi
27663 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27665 if test $ac_cv_header_expat_h = yes; then
27666 found_expat_h=1
27667 fi
27668
27669
27670 if test "x$found_expat_h" = "x1"; then
27671 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27672 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27673 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27675 else
27676
27677 ac_ext=cpp
27678 ac_cpp='$CXXCPP $CPPFLAGS'
27679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682
27683 cat >conftest.$ac_ext <<_ACEOF
27684 /* confdefs.h. */
27685 _ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27689 #include <expat.h>
27690 int
27691 main ()
27692 {
27693
27694 ;
27695 return 0;
27696 }
27697 _ACEOF
27698 rm -f conftest.$ac_objext
27699 if { (ac_try="$ac_compile"
27700 case "(($ac_try" in
27701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702 *) ac_try_echo=$ac_try;;
27703 esac
27704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27705 (eval "$ac_compile") 2>conftest.er1
27706 ac_status=$?
27707 grep -v '^ *+' conftest.er1 >conftest.err
27708 rm -f conftest.er1
27709 cat conftest.err >&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } && {
27712 test -z "$ac_cxx_werror_flag" ||
27713 test ! -s conftest.err
27714 } && test -s conftest.$ac_objext; then
27715 wx_cv_expat_is_not_broken=yes
27716 else
27717 echo "$as_me: failed program was:" >&5
27718 sed 's/^/| /' conftest.$ac_ext >&5
27719
27720 wx_cv_expat_is_not_broken=no
27721
27722 fi
27723
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725 ac_ext=c
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27730
27731
27732
27733 fi
27734 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27735 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27736 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27737 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27738 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27739 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27741 else
27742 ac_check_lib_save_LIBS=$LIBS
27743 LIBS="-lexpat $LIBS"
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h. */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27750
27751 /* Override any GCC internal prototype to avoid an error.
27752 Use char because int might match the return type of a GCC
27753 builtin and then its argument prototype would still apply. */
27754 #ifdef __cplusplus
27755 extern "C"
27756 #endif
27757 char XML_ParserCreate ();
27758 int
27759 main ()
27760 {
27761 return XML_ParserCreate ();
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (ac_try="$ac_link"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27771 esac
27772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_link") 2>conftest.er1
27774 ac_status=$?
27775 grep -v '^ *+' conftest.er1 >conftest.err
27776 rm -f conftest.er1
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); } && {
27780 test -z "$ac_c_werror_flag" ||
27781 test ! -s conftest.err
27782 } && test -s conftest$ac_exeext &&
27783 $as_test_x conftest$ac_exeext; then
27784 ac_cv_lib_expat_XML_ParserCreate=yes
27785 else
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27788
27789 ac_cv_lib_expat_XML_ParserCreate=no
27790 fi
27791
27792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27793 conftest$ac_exeext conftest.$ac_ext
27794 LIBS=$ac_check_lib_save_LIBS
27795 fi
27796 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27797 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27798 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27799 EXPAT_LINK=" -lexpat"
27800 fi
27801
27802 fi
27803 fi
27804 if test "x$EXPAT_LINK" = "x" ; then
27805 if test "$wxUSE_EXPAT" = "sys" ; then
27806 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27807 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27808 { (exit 1); exit 1; }; }
27809 else
27810 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27811 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27812 wxUSE_EXPAT=builtin
27813 fi
27814 else
27815 wxUSE_EXPAT=sys
27816 fi
27817 fi
27818 if test "$wxUSE_EXPAT" = "builtin" ; then
27819 subdirs="$subdirs src/expat"
27820
27821 fi
27822 fi
27823
27824
27825
27826 if test "$wxUSE_LIBMSPACK" != "no"; then
27827 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27828 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27829 if test "${ac_cv_header_mspack_h+set}" = set; then
27830 echo $ECHO_N "(cached) $ECHO_C" >&6
27831 else
27832 cat >conftest.$ac_ext <<_ACEOF
27833 /* confdefs.h. */
27834 _ACEOF
27835 cat confdefs.h >>conftest.$ac_ext
27836 cat >>conftest.$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27838
27839
27840 #include <mspack.h>
27841 _ACEOF
27842 rm -f conftest.$ac_objext
27843 if { (ac_try="$ac_compile"
27844 case "(($ac_try" in
27845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27846 *) ac_try_echo=$ac_try;;
27847 esac
27848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27849 (eval "$ac_compile") 2>conftest.er1
27850 ac_status=$?
27851 grep -v '^ *+' conftest.er1 >conftest.err
27852 rm -f conftest.er1
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } && {
27856 test -z "$ac_c_werror_flag" ||
27857 test ! -s conftest.err
27858 } && test -s conftest.$ac_objext; then
27859 ac_cv_header_mspack_h=yes
27860 else
27861 echo "$as_me: failed program was:" >&5
27862 sed 's/^/| /' conftest.$ac_ext >&5
27863
27864 ac_cv_header_mspack_h=no
27865 fi
27866
27867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27868 fi
27869 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27870 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27871 if test $ac_cv_header_mspack_h = yes; then
27872 found_mspack_h=1
27873 fi
27874
27875
27876 if test "x$found_mspack_h" = "x1"; then
27877 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27878 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27879 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 else
27882 ac_check_lib_save_LIBS=$LIBS
27883 LIBS="-lmspack $LIBS"
27884 cat >conftest.$ac_ext <<_ACEOF
27885 /* confdefs.h. */
27886 _ACEOF
27887 cat confdefs.h >>conftest.$ac_ext
27888 cat >>conftest.$ac_ext <<_ACEOF
27889 /* end confdefs.h. */
27890
27891 /* Override any GCC internal prototype to avoid an error.
27892 Use char because int might match the return type of a GCC
27893 builtin and then its argument prototype would still apply. */
27894 #ifdef __cplusplus
27895 extern "C"
27896 #endif
27897 char mspack_create_chm_decompressor ();
27898 int
27899 main ()
27900 {
27901 return mspack_create_chm_decompressor ();
27902 ;
27903 return 0;
27904 }
27905 _ACEOF
27906 rm -f conftest.$ac_objext conftest$ac_exeext
27907 if { (ac_try="$ac_link"
27908 case "(($ac_try" in
27909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 *) ac_try_echo=$ac_try;;
27911 esac
27912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27913 (eval "$ac_link") 2>conftest.er1
27914 ac_status=$?
27915 grep -v '^ *+' conftest.er1 >conftest.err
27916 rm -f conftest.er1
27917 cat conftest.err >&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); } && {
27920 test -z "$ac_c_werror_flag" ||
27921 test ! -s conftest.err
27922 } && test -s conftest$ac_exeext &&
27923 $as_test_x conftest$ac_exeext; then
27924 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27925 else
27926 echo "$as_me: failed program was:" >&5
27927 sed 's/^/| /' conftest.$ac_ext >&5
27928
27929 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27930 fi
27931
27932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27933 conftest$ac_exeext conftest.$ac_ext
27934 LIBS=$ac_check_lib_save_LIBS
27935 fi
27936 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27937 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27938 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27939 MSPACK_LINK=" -lmspack"
27940 fi
27941
27942 fi
27943 if test "x$MSPACK_LINK" = "x" ; then
27944 wxUSE_LIBMSPACK=no
27945 fi
27946 fi
27947
27948 if test "$wxUSE_LIBMSPACK" != "no"; then
27949 cat >>confdefs.h <<\_ACEOF
27950 #define wxUSE_LIBMSPACK 1
27951 _ACEOF
27952
27953 fi
27954
27955
27956
27957 AFMINSTALL=
27958 WIN32INSTALL=
27959
27960 TOOLKIT=
27961 TOOLKIT_INCLUDE=
27962 WIDGET_SET=
27963
27964 if test "$USE_WIN32" = 1 ; then
27965
27966 for ac_header in w32api.h
27967 do
27968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27969 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27972 echo $ECHO_N "(cached) $ECHO_C" >&6
27973 else
27974 cat >conftest.$ac_ext <<_ACEOF
27975 /* confdefs.h. */
27976 _ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27980
27981
27982 #include <$ac_header>
27983 _ACEOF
27984 rm -f conftest.$ac_objext
27985 if { (ac_try="$ac_compile"
27986 case "(($ac_try" in
27987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27988 *) ac_try_echo=$ac_try;;
27989 esac
27990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27991 (eval "$ac_compile") 2>conftest.er1
27992 ac_status=$?
27993 grep -v '^ *+' conftest.er1 >conftest.err
27994 rm -f conftest.er1
27995 cat conftest.err >&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); } && {
27998 test -z "$ac_c_werror_flag" ||
27999 test ! -s conftest.err
28000 } && test -s conftest.$ac_objext; then
28001 eval "$as_ac_Header=yes"
28002 else
28003 echo "$as_me: failed program was:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28005
28006 eval "$as_ac_Header=no"
28007 fi
28008
28009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28010 fi
28011 ac_res=`eval echo '${'$as_ac_Header'}'`
28012 { echo "$as_me:$LINENO: result: $ac_res" >&5
28013 echo "${ECHO_T}$ac_res" >&6; }
28014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28015 cat >>confdefs.h <<_ACEOF
28016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28017 _ACEOF
28018
28019 fi
28020
28021 done
28022
28023 { echo "$as_me:$LINENO: checking for windows.h" >&5
28024 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28025 if test "${ac_cv_header_windows_h+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28027 else
28028 cat >conftest.$ac_ext <<_ACEOF
28029 /* confdefs.h. */
28030 _ACEOF
28031 cat confdefs.h >>conftest.$ac_ext
28032 cat >>conftest.$ac_ext <<_ACEOF
28033 /* end confdefs.h. */
28034
28035
28036 #include <windows.h>
28037 _ACEOF
28038 rm -f conftest.$ac_objext
28039 if { (ac_try="$ac_compile"
28040 case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28043 esac
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_compile") 2>conftest.er1
28046 ac_status=$?
28047 grep -v '^ *+' conftest.er1 >conftest.err
28048 rm -f conftest.er1
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } && {
28052 test -z "$ac_c_werror_flag" ||
28053 test ! -s conftest.err
28054 } && test -s conftest.$ac_objext; then
28055 ac_cv_header_windows_h=yes
28056 else
28057 echo "$as_me: failed program was:" >&5
28058 sed 's/^/| /' conftest.$ac_ext >&5
28059
28060 ac_cv_header_windows_h=no
28061 fi
28062
28063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28064 fi
28065 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28066 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28067 if test $ac_cv_header_windows_h = yes; then
28068 :
28069 else
28070
28071 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28072 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28073 { (exit 1); exit 1; }; }
28074
28075 fi
28076
28077
28078
28079 case "${host}" in
28080 x86_64-*-mingw32* )
28081 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28082 ;;
28083 * )
28084 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28085 ;;
28086 esac
28087 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28088 LIBS="$LIBS -loleacc"
28089 fi
28090
28091 case "${host}" in
28092 *-*-cygwin* )
28093 LIBS="$LIBS -lkernel32 -luser32"
28094 esac
28095
28096 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28097 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28098
28099 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28100
28101 WIN32INSTALL=win32install
28102
28103 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28104 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28105 if test "${ac_cv_header_pbt_h+set}" = set; then
28106 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 else
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115
28116 #include <pbt.h>
28117 _ACEOF
28118 rm -f conftest.$ac_objext
28119 if { (ac_try="$ac_compile"
28120 case "(($ac_try" in
28121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28122 *) ac_try_echo=$ac_try;;
28123 esac
28124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28125 (eval "$ac_compile") 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } && {
28132 test -z "$ac_c_werror_flag" ||
28133 test ! -s conftest.err
28134 } && test -s conftest.$ac_objext; then
28135 ac_cv_header_pbt_h=yes
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 ac_cv_header_pbt_h=no
28141 fi
28142
28143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28144 fi
28145 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28146 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28147 if test $ac_cv_header_pbt_h = yes; then
28148 :
28149 else
28150 cat >>confdefs.h <<\_ACEOF
28151 #define NEED_PBT_H 1
28152 _ACEOF
28153
28154 fi
28155
28156
28157 fi
28158
28159 if test "$wxUSE_GUI" = "yes"; then
28160 USE_GUI=1
28161
28162 GUI_TK_LIBRARY=
28163
28164 WXGTK12=
28165 WXGTK127=
28166 WXGTK2=
28167 WXGPE=
28168
28169 if test "$wxUSE_COCOA" = 1 ; then
28170 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28171 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28172 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28173 wxUSE_PRINTING_ARCHITECTURE=no
28174 fi
28175 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28176 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28177 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28178 wxUSE_DRAG_AND_DROP=no
28179 fi
28180 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28181 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28182 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28183 wxUSE_DRAGIMAGE=no
28184 fi
28185 fi
28186
28187 if test "$wxUSE_MSW" = 1 ; then
28188 TOOLKIT=MSW
28189 GUIDIST=MSW_DIST
28190
28191 case "${host}" in
28192 *-*-mingw32* )
28193 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28194 esac
28195 fi
28196
28197 if test "$wxUSE_GTK" = 1; then
28198 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28199 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28200
28201 gtk_version_cached=1
28202 if test "${wx_cv_lib_gtk+set}" = set; then
28203 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 else
28205
28206 gtk_version_cached=0
28207 { echo "$as_me:$LINENO: result: " >&5
28208 echo "${ECHO_T}" >&6; }
28209
28210 GTK_MODULES=
28211 if test "$wxUSE_THREADS" = "yes"; then
28212 GTK_MODULES=gthread
28213 fi
28214
28215 wx_cv_lib_gtk=
28216 if test "x$wxGTK_VERSION" != "x1"
28217 then
28218 case "${host}" in
28219 *-*-solaris2* )
28220 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28221 enable_gtktest=no
28222 fi
28223 esac
28224
28225 # Check whether --enable-gtktest was given.
28226 if test "${enable_gtktest+set}" = set; then
28227 enableval=$enable_gtktest;
28228 else
28229 enable_gtktest=yes
28230 fi
28231
28232
28233 pkg_config_args=gtk+-2.0
28234 for module in . $GTK_MODULES
28235 do
28236 case "$module" in
28237 gthread)
28238 pkg_config_args="$pkg_config_args gthread-2.0"
28239 ;;
28240 esac
28241 done
28242
28243 no_gtk=""
28244
28245 # Extract the first word of "pkg-config", so it can be a program name with args.
28246 set dummy pkg-config; ac_word=$2
28247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28249 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28250 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 else
28252 case $PKG_CONFIG in
28253 [\\/]* | ?:[\\/]*)
28254 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28255 ;;
28256 *)
28257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28258 for as_dir in $PATH
28259 do
28260 IFS=$as_save_IFS
28261 test -z "$as_dir" && as_dir=.
28262 for ac_exec_ext in '' $ac_executable_extensions; do
28263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28264 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28266 break 2
28267 fi
28268 done
28269 done
28270 IFS=$as_save_IFS
28271
28272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28273 ;;
28274 esac
28275 fi
28276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28277 if test -n "$PKG_CONFIG"; then
28278 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28279 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28280 else
28281 { echo "$as_me:$LINENO: result: no" >&5
28282 echo "${ECHO_T}no" >&6; }
28283 fi
28284
28285
28286
28287 if test x$PKG_CONFIG != xno ; then
28288 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28289 :
28290 else
28291 echo "*** pkg-config too old; version 0.7 or better required."
28292 no_gtk=yes
28293 PKG_CONFIG=no
28294 fi
28295 else
28296 no_gtk=yes
28297 fi
28298
28299 min_gtk_version=2.4.0
28300 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28301 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28302
28303 if test x$PKG_CONFIG != xno ; then
28304 ## don't try to run the test against uninstalled libtool libs
28305 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28306 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28307 enable_gtktest=no
28308 fi
28309
28310 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28311 :
28312 else
28313 no_gtk=yes
28314 fi
28315 fi
28316
28317 if test x"$no_gtk" = x ; then
28318 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28319 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28320 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28322 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28324 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28326 if test "x$enable_gtktest" = "xyes" ; then
28327 ac_save_CFLAGS="$CFLAGS"
28328 ac_save_LIBS="$LIBS"
28329 CFLAGS="$CFLAGS $GTK_CFLAGS"
28330 LIBS="$GTK_LIBS $LIBS"
28331 rm -f conf.gtktest
28332 if test "$cross_compiling" = yes; then
28333 echo $ac_n "cross compiling; assumed OK... $ac_c"
28334 else
28335 cat >conftest.$ac_ext <<_ACEOF
28336 /* confdefs.h. */
28337 _ACEOF
28338 cat confdefs.h >>conftest.$ac_ext
28339 cat >>conftest.$ac_ext <<_ACEOF
28340 /* end confdefs.h. */
28341
28342 #include <gtk/gtk.h>
28343 #include <stdio.h>
28344 #include <stdlib.h>
28345
28346 int
28347 main ()
28348 {
28349 int major, minor, micro;
28350 char *tmp_version;
28351
28352 system ("touch conf.gtktest");
28353
28354 /* HP/UX 9 (%@#!) writes to sscanf strings */
28355 tmp_version = g_strdup("$min_gtk_version");
28356 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28357 printf("%s, bad version string\n", "$min_gtk_version");
28358 exit(1);
28359 }
28360
28361 if ((gtk_major_version != $gtk_config_major_version) ||
28362 (gtk_minor_version != $gtk_config_minor_version) ||
28363 (gtk_micro_version != $gtk_config_micro_version))
28364 {
28365 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28366 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28367 gtk_major_version, gtk_minor_version, gtk_micro_version);
28368 printf ("*** was found! If pkg-config was correct, then it is best\n");
28369 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28370 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28371 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28372 printf("*** required on your system.\n");
28373 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28374 printf("*** to point to the correct configuration files\n");
28375 }
28376 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28377 (gtk_minor_version != GTK_MINOR_VERSION) ||
28378 (gtk_micro_version != GTK_MICRO_VERSION))
28379 {
28380 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28381 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28382 printf("*** library (version %d.%d.%d)\n",
28383 gtk_major_version, gtk_minor_version, gtk_micro_version);
28384 }
28385 else
28386 {
28387 if ((gtk_major_version > major) ||
28388 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28389 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28390 {
28391 return 0;
28392 }
28393 else
28394 {
28395 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28396 gtk_major_version, gtk_minor_version, gtk_micro_version);
28397 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28398 major, minor, micro);
28399 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28400 printf("***\n");
28401 printf("*** If you have already installed a sufficiently new version, this error\n");
28402 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28403 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28404 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28405 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28406 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28407 printf("*** so that the correct libraries are found at run-time))\n");
28408 }
28409 }
28410 return 1;
28411 }
28412
28413 _ACEOF
28414 rm -f conftest$ac_exeext
28415 if { (ac_try="$ac_link"
28416 case "(($ac_try" in
28417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28418 *) ac_try_echo=$ac_try;;
28419 esac
28420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28421 (eval "$ac_link") 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28425 { (case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28427 *) ac_try_echo=$ac_try;;
28428 esac
28429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_try") 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 :
28435 else
28436 echo "$as_me: program exited with status $ac_status" >&5
28437 echo "$as_me: failed program was:" >&5
28438 sed 's/^/| /' conftest.$ac_ext >&5
28439
28440 ( exit $ac_status )
28441 no_gtk=yes
28442 fi
28443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28444 fi
28445
28446
28447 CFLAGS="$ac_save_CFLAGS"
28448 LIBS="$ac_save_LIBS"
28449 fi
28450 fi
28451 if test "x$no_gtk" = x ; then
28452 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28453 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28454 wx_cv_lib_gtk=2.0
28455 else
28456 { echo "$as_me:$LINENO: result: no" >&5
28457 echo "${ECHO_T}no" >&6; }
28458 if test "$PKG_CONFIG" = "no" ; then
28459 echo "*** A new enough version of pkg-config was not found."
28460 echo "*** See http://pkgconfig.sourceforge.net"
28461 else
28462 if test -f conf.gtktest ; then
28463 :
28464 else
28465 echo "*** Could not run GTK+ test program, checking why..."
28466 ac_save_CFLAGS="$CFLAGS"
28467 ac_save_LIBS="$LIBS"
28468 CFLAGS="$CFLAGS $GTK_CFLAGS"
28469 LIBS="$LIBS $GTK_LIBS"
28470 cat >conftest.$ac_ext <<_ACEOF
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476
28477 #include <gtk/gtk.h>
28478 #include <stdio.h>
28479
28480 int
28481 main ()
28482 {
28483 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28484 ;
28485 return 0;
28486 }
28487 _ACEOF
28488 rm -f conftest.$ac_objext conftest$ac_exeext
28489 if { (ac_try="$ac_link"
28490 case "(($ac_try" in
28491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28492 *) ac_try_echo=$ac_try;;
28493 esac
28494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28495 (eval "$ac_link") 2>conftest.er1
28496 ac_status=$?
28497 grep -v '^ *+' conftest.er1 >conftest.err
28498 rm -f conftest.er1
28499 cat conftest.err >&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); } && {
28502 test -z "$ac_c_werror_flag" ||
28503 test ! -s conftest.err
28504 } && test -s conftest$ac_exeext &&
28505 $as_test_x conftest$ac_exeext; then
28506 echo "*** The test program compiled, but did not run. This usually means"
28507 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28508 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28509 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28510 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28511 echo "*** is required on your system"
28512 echo "***"
28513 echo "*** If you have an old version installed, it is best to remove it, although"
28514 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28515 else
28516 echo "$as_me: failed program was:" >&5
28517 sed 's/^/| /' conftest.$ac_ext >&5
28518
28519 echo "*** The test program failed to compile or link. See the file config.log for the"
28520 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28521 fi
28522
28523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28524 conftest$ac_exeext conftest.$ac_ext
28525 CFLAGS="$ac_save_CFLAGS"
28526 LIBS="$ac_save_LIBS"
28527 fi
28528 fi
28529 GTK_CFLAGS=""
28530 GTK_LIBS=""
28531 :
28532 fi
28533
28534
28535 rm -f conf.gtktest
28536
28537
28538 case "${host}" in
28539 *-*-solaris2* )
28540 if test "$wxUSE_SHARED" != "yes"; then
28541 GTK_LIBS="$GTK_LIBS -lX11"
28542 fi
28543 esac
28544 fi
28545
28546 if test -z "$wx_cv_lib_gtk"; then
28547 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28548
28549 # Check whether --with-gtk-prefix was given.
28550 if test "${with_gtk_prefix+set}" = set; then
28551 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28552 else
28553 gtk_config_prefix=""
28554 fi
28555
28556
28557 # Check whether --with-gtk-exec-prefix was given.
28558 if test "${with_gtk_exec_prefix+set}" = set; then
28559 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28560 else
28561 gtk_config_exec_prefix=""
28562 fi
28563
28564 # Check whether --enable-gtktest was given.
28565 if test "${enable_gtktest+set}" = set; then
28566 enableval=$enable_gtktest;
28567 else
28568 enable_gtktest=yes
28569 fi
28570
28571
28572 for module in . $GTK_MODULES
28573 do
28574 case "$module" in
28575 gthread)
28576 gtk_config_args="$gtk_config_args gthread"
28577 ;;
28578 esac
28579 done
28580
28581 if test x$gtk_config_exec_prefix != x ; then
28582 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28583 if test x${GTK_CONFIG+set} != xset ; then
28584 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28585 fi
28586 fi
28587 if test x$gtk_config_prefix != x ; then
28588 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28589 if test x${GTK_CONFIG+set} != xset ; then
28590 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28591 fi
28592 fi
28593
28594 # Extract the first word of "gtk-config", so it can be a program name with args.
28595 set dummy gtk-config; ac_word=$2
28596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28598 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28599 echo $ECHO_N "(cached) $ECHO_C" >&6
28600 else
28601 case $GTK_CONFIG in
28602 [\\/]* | ?:[\\/]*)
28603 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28604 ;;
28605 *)
28606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28607 for as_dir in $PATH
28608 do
28609 IFS=$as_save_IFS
28610 test -z "$as_dir" && as_dir=.
28611 for ac_exec_ext in '' $ac_executable_extensions; do
28612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28613 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28615 break 2
28616 fi
28617 done
28618 done
28619 IFS=$as_save_IFS
28620
28621 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28622 ;;
28623 esac
28624 fi
28625 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28626 if test -n "$GTK_CONFIG"; then
28627 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28628 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28629 else
28630 { echo "$as_me:$LINENO: result: no" >&5
28631 echo "${ECHO_T}no" >&6; }
28632 fi
28633
28634
28635 min_gtk_version=1.2.7
28636 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28637 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28638 no_gtk=""
28639 if test "$GTK_CONFIG" = "no" ; then
28640 no_gtk=yes
28641 else
28642 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28643 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28644 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28645 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28646 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28647 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28648 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28650 if test "x$enable_gtktest" = "xyes" ; then
28651 ac_save_CFLAGS="$CFLAGS"
28652 ac_save_LIBS="$LIBS"
28653 CFLAGS="$CFLAGS $GTK_CFLAGS"
28654 LIBS="$GTK_LIBS $LIBS"
28655 rm -f conf.gtktest
28656 if test "$cross_compiling" = yes; then
28657 echo $ac_n "cross compiling; assumed OK... $ac_c"
28658 else
28659 cat >conftest.$ac_ext <<_ACEOF
28660 /* confdefs.h. */
28661 _ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665
28666 #include <gtk/gtk.h>
28667 #include <stdio.h>
28668 #include <stdlib.h>
28669
28670 int
28671 main ()
28672 {
28673 int major, minor, micro;
28674 char *tmp_version;
28675
28676 system ("touch conf.gtktest");
28677
28678 /* HP/UX 9 (%@#!) writes to sscanf strings */
28679 tmp_version = g_strdup("$min_gtk_version");
28680 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28681 printf("%s, bad version string\n", "$min_gtk_version");
28682 exit(1);
28683 }
28684
28685 if ((gtk_major_version != $gtk_config_major_version) ||
28686 (gtk_minor_version != $gtk_config_minor_version) ||
28687 (gtk_micro_version != $gtk_config_micro_version))
28688 {
28689 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28690 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28691 gtk_major_version, gtk_minor_version, gtk_micro_version);
28692 printf ("*** was found! If gtk-config was correct, then it is best\n");
28693 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28694 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28695 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28696 printf("*** required on your system.\n");
28697 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28698 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28699 printf("*** before re-running configure\n");
28700 }
28701 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28702 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28703 (gtk_minor_version != GTK_MINOR_VERSION) ||
28704 (gtk_micro_version != GTK_MICRO_VERSION))
28705 {
28706 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28707 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28708 printf("*** library (version %d.%d.%d)\n",
28709 gtk_major_version, gtk_minor_version, gtk_micro_version);
28710 }
28711 #endif /* defined (GTK_MAJOR_VERSION) ... */
28712 else
28713 {
28714 if ((gtk_major_version > major) ||
28715 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28716 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28717 {
28718 return 0;
28719 }
28720 else
28721 {
28722 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28723 gtk_major_version, gtk_minor_version, gtk_micro_version);
28724 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28725 major, minor, micro);
28726 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28727 printf("***\n");
28728 printf("*** If you have already installed a sufficiently new version, this error\n");
28729 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28730 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28731 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28732 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28733 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28734 printf("*** so that the correct libraries are found at run-time))\n");
28735 }
28736 }
28737 return 1;
28738 }
28739
28740 _ACEOF
28741 rm -f conftest$ac_exeext
28742 if { (ac_try="$ac_link"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28746 esac
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_link") 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28752 { (case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28755 esac
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_try") 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 :
28762 else
28763 echo "$as_me: program exited with status $ac_status" >&5
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767 ( exit $ac_status )
28768 no_gtk=yes
28769 fi
28770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28771 fi
28772
28773
28774 CFLAGS="$ac_save_CFLAGS"
28775 LIBS="$ac_save_LIBS"
28776 fi
28777 fi
28778 if test "x$no_gtk" = x ; then
28779 { echo "$as_me:$LINENO: result: yes" >&5
28780 echo "${ECHO_T}yes" >&6; }
28781 wx_cv_lib_gtk=1.2.7
28782 else
28783 { echo "$as_me:$LINENO: result: no" >&5
28784 echo "${ECHO_T}no" >&6; }
28785 if test "$GTK_CONFIG" = "no" ; then
28786 echo "*** The gtk-config script installed by GTK could not be found"
28787 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28788 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28789 echo "*** full path to gtk-config."
28790 else
28791 if test -f conf.gtktest ; then
28792 :
28793 else
28794 echo "*** Could not run GTK test program, checking why..."
28795 CFLAGS="$CFLAGS $GTK_CFLAGS"
28796 LIBS="$LIBS $GTK_LIBS"
28797 cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h. */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28803
28804 #include <gtk/gtk.h>
28805 #include <stdio.h>
28806
28807 int
28808 main ()
28809 {
28810 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28811 ;
28812 return 0;
28813 }
28814 _ACEOF
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (ac_try="$ac_link"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28819 *) ac_try_echo=$ac_try;;
28820 esac
28821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28822 (eval "$ac_link") 2>conftest.er1
28823 ac_status=$?
28824 grep -v '^ *+' conftest.er1 >conftest.err
28825 rm -f conftest.er1
28826 cat conftest.err >&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && {
28829 test -z "$ac_c_werror_flag" ||
28830 test ! -s conftest.err
28831 } && test -s conftest$ac_exeext &&
28832 $as_test_x conftest$ac_exeext; then
28833 echo "*** The test program compiled, but did not run. This usually means"
28834 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28835 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28836 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28837 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28838 echo "*** is required on your system"
28839 echo "***"
28840 echo "*** If you have an old version installed, it is best to remove it, although"
28841 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28842 echo "***"
28843 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28844 echo "*** came with the system with the command"
28845 echo "***"
28846 echo "*** rpm --erase --nodeps gtk gtk-devel"
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 echo "*** The test program failed to compile or link. See the file config.log for the"
28852 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28853 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28854 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28855 fi
28856
28857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28858 conftest$ac_exeext conftest.$ac_ext
28859 CFLAGS="$ac_save_CFLAGS"
28860 LIBS="$ac_save_LIBS"
28861 fi
28862 fi
28863 GTK_CFLAGS=""
28864 GTK_LIBS=""
28865 :
28866 fi
28867
28868
28869 rm -f conf.gtktest
28870
28871
28872 if test -z "$wx_cv_lib_gtk"; then
28873
28874 # Check whether --with-gtk-prefix was given.
28875 if test "${with_gtk_prefix+set}" = set; then
28876 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28877 else
28878 gtk_config_prefix=""
28879 fi
28880
28881
28882 # Check whether --with-gtk-exec-prefix was given.
28883 if test "${with_gtk_exec_prefix+set}" = set; then
28884 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28885 else
28886 gtk_config_exec_prefix=""
28887 fi
28888
28889 # Check whether --enable-gtktest was given.
28890 if test "${enable_gtktest+set}" = set; then
28891 enableval=$enable_gtktest;
28892 else
28893 enable_gtktest=yes
28894 fi
28895
28896
28897 for module in . $GTK_MODULES
28898 do
28899 case "$module" in
28900 gthread)
28901 gtk_config_args="$gtk_config_args gthread"
28902 ;;
28903 esac
28904 done
28905
28906 if test x$gtk_config_exec_prefix != x ; then
28907 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28908 if test x${GTK_CONFIG+set} != xset ; then
28909 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28910 fi
28911 fi
28912 if test x$gtk_config_prefix != x ; then
28913 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28914 if test x${GTK_CONFIG+set} != xset ; then
28915 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28916 fi
28917 fi
28918
28919 # Extract the first word of "gtk-config", so it can be a program name with args.
28920 set dummy gtk-config; ac_word=$2
28921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28923 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28924 echo $ECHO_N "(cached) $ECHO_C" >&6
28925 else
28926 case $GTK_CONFIG in
28927 [\\/]* | ?:[\\/]*)
28928 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28929 ;;
28930 *)
28931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28932 for as_dir in $PATH
28933 do
28934 IFS=$as_save_IFS
28935 test -z "$as_dir" && as_dir=.
28936 for ac_exec_ext in '' $ac_executable_extensions; do
28937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28938 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28940 break 2
28941 fi
28942 done
28943 done
28944 IFS=$as_save_IFS
28945
28946 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28947 ;;
28948 esac
28949 fi
28950 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28951 if test -n "$GTK_CONFIG"; then
28952 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28953 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28954 else
28955 { echo "$as_me:$LINENO: result: no" >&5
28956 echo "${ECHO_T}no" >&6; }
28957 fi
28958
28959
28960 min_gtk_version=1.2.3
28961 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28962 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28963 no_gtk=""
28964 if test "$GTK_CONFIG" = "no" ; then
28965 no_gtk=yes
28966 else
28967 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28968 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28969 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28971 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28973 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28975 if test "x$enable_gtktest" = "xyes" ; then
28976 ac_save_CFLAGS="$CFLAGS"
28977 ac_save_LIBS="$LIBS"
28978 CFLAGS="$CFLAGS $GTK_CFLAGS"
28979 LIBS="$GTK_LIBS $LIBS"
28980 rm -f conf.gtktest
28981 if test "$cross_compiling" = yes; then
28982 echo $ac_n "cross compiling; assumed OK... $ac_c"
28983 else
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990
28991 #include <gtk/gtk.h>
28992 #include <stdio.h>
28993 #include <stdlib.h>
28994
28995 int
28996 main ()
28997 {
28998 int major, minor, micro;
28999 char *tmp_version;
29000
29001 system ("touch conf.gtktest");
29002
29003 /* HP/UX 9 (%@#!) writes to sscanf strings */
29004 tmp_version = g_strdup("$min_gtk_version");
29005 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29006 printf("%s, bad version string\n", "$min_gtk_version");
29007 exit(1);
29008 }
29009
29010 if ((gtk_major_version != $gtk_config_major_version) ||
29011 (gtk_minor_version != $gtk_config_minor_version) ||
29012 (gtk_micro_version != $gtk_config_micro_version))
29013 {
29014 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29015 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29016 gtk_major_version, gtk_minor_version, gtk_micro_version);
29017 printf ("*** was found! If gtk-config was correct, then it is best\n");
29018 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29019 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29020 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29021 printf("*** required on your system.\n");
29022 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29023 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29024 printf("*** before re-running configure\n");
29025 }
29026 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29027 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29028 (gtk_minor_version != GTK_MINOR_VERSION) ||
29029 (gtk_micro_version != GTK_MICRO_VERSION))
29030 {
29031 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29032 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29033 printf("*** library (version %d.%d.%d)\n",
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 }
29036 #endif /* defined (GTK_MAJOR_VERSION) ... */
29037 else
29038 {
29039 if ((gtk_major_version > major) ||
29040 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29041 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29042 {
29043 return 0;
29044 }
29045 else
29046 {
29047 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29048 gtk_major_version, gtk_minor_version, gtk_micro_version);
29049 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29050 major, minor, micro);
29051 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29052 printf("***\n");
29053 printf("*** If you have already installed a sufficiently new version, this error\n");
29054 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29055 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29056 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29057 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29058 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29059 printf("*** so that the correct libraries are found at run-time))\n");
29060 }
29061 }
29062 return 1;
29063 }
29064
29065 _ACEOF
29066 rm -f conftest$ac_exeext
29067 if { (ac_try="$ac_link"
29068 case "(($ac_try" in
29069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29070 *) ac_try_echo=$ac_try;;
29071 esac
29072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29073 (eval "$ac_link") 2>&5
29074 ac_status=$?
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29077 { (case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29080 esac
29081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_try") 2>&5
29083 ac_status=$?
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); }; }; then
29086 :
29087 else
29088 echo "$as_me: program exited with status $ac_status" >&5
29089 echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.$ac_ext >&5
29091
29092 ( exit $ac_status )
29093 no_gtk=yes
29094 fi
29095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29096 fi
29097
29098
29099 CFLAGS="$ac_save_CFLAGS"
29100 LIBS="$ac_save_LIBS"
29101 fi
29102 fi
29103 if test "x$no_gtk" = x ; then
29104 { echo "$as_me:$LINENO: result: yes" >&5
29105 echo "${ECHO_T}yes" >&6; }
29106 wx_cv_lib_gtk=1.2.3
29107 else
29108 { echo "$as_me:$LINENO: result: no" >&5
29109 echo "${ECHO_T}no" >&6; }
29110 if test "$GTK_CONFIG" = "no" ; then
29111 echo "*** The gtk-config script installed by GTK could not be found"
29112 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29113 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29114 echo "*** full path to gtk-config."
29115 else
29116 if test -f conf.gtktest ; then
29117 :
29118 else
29119 echo "*** Could not run GTK test program, checking why..."
29120 CFLAGS="$CFLAGS $GTK_CFLAGS"
29121 LIBS="$LIBS $GTK_LIBS"
29122 cat >conftest.$ac_ext <<_ACEOF
29123 /* confdefs.h. */
29124 _ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29128
29129 #include <gtk/gtk.h>
29130 #include <stdio.h>
29131
29132 int
29133 main ()
29134 {
29135 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29136 ;
29137 return 0;
29138 }
29139 _ACEOF
29140 rm -f conftest.$ac_objext conftest$ac_exeext
29141 if { (ac_try="$ac_link"
29142 case "(($ac_try" in
29143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144 *) ac_try_echo=$ac_try;;
29145 esac
29146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29147 (eval "$ac_link") 2>conftest.er1
29148 ac_status=$?
29149 grep -v '^ *+' conftest.er1 >conftest.err
29150 rm -f conftest.er1
29151 cat conftest.err >&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); } && {
29154 test -z "$ac_c_werror_flag" ||
29155 test ! -s conftest.err
29156 } && test -s conftest$ac_exeext &&
29157 $as_test_x conftest$ac_exeext; then
29158 echo "*** The test program compiled, but did not run. This usually means"
29159 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29160 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29161 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29162 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29163 echo "*** is required on your system"
29164 echo "***"
29165 echo "*** If you have an old version installed, it is best to remove it, although"
29166 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29167 echo "***"
29168 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29169 echo "*** came with the system with the command"
29170 echo "***"
29171 echo "*** rpm --erase --nodeps gtk gtk-devel"
29172 else
29173 echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.$ac_ext >&5
29175
29176 echo "*** The test program failed to compile or link. See the file config.log for the"
29177 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29178 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29179 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29180 fi
29181
29182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29183 conftest$ac_exeext conftest.$ac_ext
29184 CFLAGS="$ac_save_CFLAGS"
29185 LIBS="$ac_save_LIBS"
29186 fi
29187 fi
29188 GTK_CFLAGS=""
29189 GTK_LIBS=""
29190 :
29191 fi
29192
29193
29194 rm -f conf.gtktest
29195
29196 fi
29197 fi
29198 fi
29199
29200 if test -z "$wx_cv_lib_gtk"; then
29201 wx_cv_lib_gtk=none
29202 else
29203 wx_cv_cflags_gtk=$GTK_CFLAGS
29204 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29205 fi
29206
29207
29208 fi
29209
29210
29211 if test "$gtk_version_cached" = 1; then
29212 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29213 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29214 fi
29215
29216 case "$wx_cv_lib_gtk" in
29217 2.0) WXGTK2=1
29218 TOOLKIT_VERSION=2
29219 ;;
29220 1.2.7) WXGTK127=1
29221 WXGTK12=1
29222 ;;
29223 1.2.3) WXGTK12=1
29224 ;;
29225 *) { { echo "$as_me:$LINENO: error:
29226 The development files for GTK+ were not found. For GTK+ 2, please
29227 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29228 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29229 and that the version is 1.2.3 or above. Also check that the
29230 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29231 --libs' are in the LD_LIBRARY_PATH or equivalent.
29232 " >&5
29233 echo "$as_me: error:
29234 The development files for GTK+ were not found. For GTK+ 2, please
29235 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29236 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29237 and that the version is 1.2.3 or above. Also check that the
29238 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29239 --libs' are in the LD_LIBRARY_PATH or equivalent.
29240 " >&2;}
29241 { (exit 1); exit 1; }; }
29242 ;;
29243 esac
29244
29245 if test "$WXGTK2" = 1; then
29246 save_CFLAGS="$CFLAGS"
29247 save_LIBS="$LIBS"
29248 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29249 LIBS="$LIBS $wx_cv_libs_gtk"
29250
29251 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29252 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29253 cat >conftest.$ac_ext <<_ACEOF
29254 /* confdefs.h. */
29255 _ACEOF
29256 cat confdefs.h >>conftest.$ac_ext
29257 cat >>conftest.$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29259
29260 #include <gtk/gtk.h>
29261
29262 int
29263 main ()
29264 {
29265
29266 #if !GTK_CHECK_VERSION(2,10,0)
29267 Not GTK+ 2.10
29268 #endif
29269
29270 ;
29271 return 0;
29272 }
29273 _ACEOF
29274 rm -f conftest.$ac_objext
29275 if { (ac_try="$ac_compile"
29276 case "(($ac_try" in
29277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29278 *) ac_try_echo=$ac_try;;
29279 esac
29280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29281 (eval "$ac_compile") 2>conftest.er1
29282 ac_status=$?
29283 grep -v '^ *+' conftest.er1 >conftest.err
29284 rm -f conftest.er1
29285 cat conftest.err >&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); } && {
29288 test -z "$ac_c_werror_flag" ||
29289 test ! -s conftest.err
29290 } && test -s conftest.$ac_objext; then
29291
29292 cat >>confdefs.h <<\_ACEOF
29293 #define __WXGTK210__ 1
29294 _ACEOF
29295
29296 cat >>confdefs.h <<\_ACEOF
29297 #define __WXGTK26__ 1
29298 _ACEOF
29299
29300 { echo "$as_me:$LINENO: result: yes" >&5
29301 echo "${ECHO_T}yes" >&6; }
29302 ac_wxgtk210=1
29303
29304 else
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.$ac_ext >&5
29307
29308
29309 { echo "$as_me:$LINENO: result: no" >&5
29310 echo "${ECHO_T}no" >&6; }
29311 ac_wxgtk210=0
29312
29313 fi
29314
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316
29317 if test "$ac_wxgtk210" = 0; then
29318 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29319 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29320 cat >conftest.$ac_ext <<_ACEOF
29321 /* confdefs.h. */
29322 _ACEOF
29323 cat confdefs.h >>conftest.$ac_ext
29324 cat >>conftest.$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29326
29327 #include <gtk/gtk.h>
29328
29329 int
29330 main ()
29331 {
29332
29333 #if !GTK_CHECK_VERSION(2,6,0)
29334 Not GTK+ 2.6
29335 #endif
29336
29337 ;
29338 return 0;
29339 }
29340 _ACEOF
29341 rm -f conftest.$ac_objext
29342 if { (ac_try="$ac_compile"
29343 case "(($ac_try" in
29344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29345 *) ac_try_echo=$ac_try;;
29346 esac
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_compile") 2>conftest.er1
29349 ac_status=$?
29350 grep -v '^ *+' conftest.er1 >conftest.err
29351 rm -f conftest.er1
29352 cat conftest.err >&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } && {
29355 test -z "$ac_c_werror_flag" ||
29356 test ! -s conftest.err
29357 } && test -s conftest.$ac_objext; then
29358
29359 cat >>confdefs.h <<\_ACEOF
29360 #define __WXGTK26__ 1
29361 _ACEOF
29362
29363 { echo "$as_me:$LINENO: result: yes" >&5
29364 echo "${ECHO_T}yes" >&6; }
29365 ac_wxgtk26=1
29366
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29370
29371
29372 { echo "$as_me:$LINENO: result: no" >&5
29373 echo "${ECHO_T}no" >&6; }
29374 ac_wxgtk26=0
29375
29376 fi
29377
29378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29379 fi
29380
29381 CFLAGS="$save_CFLAGS"
29382 LIBS="$save_LIBS"
29383 else
29384 if test "$wxUSE_UNICODE" = "yes"; then
29385 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29386 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29387 wxUSE_UNICODE=no
29388 fi
29389
29390 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29391 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29392 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395 ac_check_lib_save_LIBS=$LIBS
29396 LIBS="-lgdk $LIBS"
29397 cat >conftest.$ac_ext <<_ACEOF
29398 /* confdefs.h. */
29399 _ACEOF
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29403
29404 /* Override any GCC internal prototype to avoid an error.
29405 Use char because int might match the return type of a GCC
29406 builtin and then its argument prototype would still apply. */
29407 #ifdef __cplusplus
29408 extern "C"
29409 #endif
29410 char gdk_im_open ();
29411 int
29412 main ()
29413 {
29414 return gdk_im_open ();
29415 ;
29416 return 0;
29417 }
29418 _ACEOF
29419 rm -f conftest.$ac_objext conftest$ac_exeext
29420 if { (ac_try="$ac_link"
29421 case "(($ac_try" in
29422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29423 *) ac_try_echo=$ac_try;;
29424 esac
29425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426 (eval "$ac_link") 2>conftest.er1
29427 ac_status=$?
29428 grep -v '^ *+' conftest.er1 >conftest.err
29429 rm -f conftest.er1
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && {
29433 test -z "$ac_c_werror_flag" ||
29434 test ! -s conftest.err
29435 } && test -s conftest$ac_exeext &&
29436 $as_test_x conftest$ac_exeext; then
29437 ac_cv_lib_gdk_gdk_im_open=yes
29438 else
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29441
29442 ac_cv_lib_gdk_gdk_im_open=no
29443 fi
29444
29445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29446 conftest$ac_exeext conftest.$ac_ext
29447 LIBS=$ac_check_lib_save_LIBS
29448 fi
29449 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29450 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29451 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29452 cat >>confdefs.h <<\_ACEOF
29453 #define HAVE_XIM 1
29454 _ACEOF
29455
29456 fi
29457
29458
29459 if test "$USE_DARWIN" != 1; then
29460
29461 for ac_func in poll
29462 do
29463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 else
29469 cat >conftest.$ac_ext <<_ACEOF
29470 /* confdefs.h. */
29471 _ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h. */
29475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29477 #define $ac_func innocuous_$ac_func
29478
29479 /* System header to define __stub macros and hopefully few prototypes,
29480 which can conflict with char $ac_func (); below.
29481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29482 <limits.h> exists even on freestanding compilers. */
29483
29484 #ifdef __STDC__
29485 # include <limits.h>
29486 #else
29487 # include <assert.h>
29488 #endif
29489
29490 #undef $ac_func
29491
29492 /* Override any GCC internal prototype to avoid an error.
29493 Use char because int might match the return type of a GCC
29494 builtin and then its argument prototype would still apply. */
29495 #ifdef __cplusplus
29496 extern "C"
29497 #endif
29498 char $ac_func ();
29499 /* The GNU C library defines this for functions which it implements
29500 to always fail with ENOSYS. Some functions are actually named
29501 something starting with __ and the normal name is an alias. */
29502 #if defined __stub_$ac_func || defined __stub___$ac_func
29503 choke me
29504 #endif
29505
29506 int
29507 main ()
29508 {
29509 return $ac_func ();
29510 ;
29511 return 0;
29512 }
29513 _ACEOF
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29519 esac
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest$ac_exeext &&
29531 $as_test_x conftest$ac_exeext; then
29532 eval "$as_ac_var=yes"
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 eval "$as_ac_var=no"
29538 fi
29539
29540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29541 conftest$ac_exeext conftest.$ac_ext
29542 fi
29543 ac_res=`eval echo '${'$as_ac_var'}'`
29544 { echo "$as_me:$LINENO: result: $ac_res" >&5
29545 echo "${ECHO_T}$ac_res" >&6; }
29546 if test `eval echo '${'$as_ac_var'}'` = yes; then
29547 cat >>confdefs.h <<_ACEOF
29548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29549 _ACEOF
29550
29551 fi
29552 done
29553
29554 fi
29555 fi
29556
29557 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29558 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29559
29560 AFMINSTALL=afminstall
29561 TOOLKIT=GTK
29562 GUIDIST=GTK_DIST
29563
29564 if test "$wxUSE_GPE" = "yes"; then
29565 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29566 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29567
29568 ac_find_libraries=
29569 for ac_dir in $SEARCH_LIB;
29570 do
29571 for ac_extension in a so sl dylib dll.a; do
29572 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29573 ac_find_libraries=$ac_dir
29574 break 2
29575 fi
29576 done
29577 done
29578
29579 if test "$ac_find_libraries" != "" ; then
29580
29581 if test "$ac_find_libraries" = "default location"; then
29582 ac_path_to_link=""
29583 else
29584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29585 result=$?
29586 if test $result = 0; then
29587 ac_path_to_link=""
29588 else
29589 ac_path_to_link=" -L$ac_find_libraries"
29590 fi
29591 fi
29592
29593 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29594 WXGPE=1
29595 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29596 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29597 else
29598 { echo "$as_me:$LINENO: result: not found" >&5
29599 echo "${ECHO_T}not found" >&6; }
29600 fi
29601
29602 fi
29603 fi
29604
29605 if test "$wxUSE_MGL" = 1; then
29606 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29607 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29608 if test "x$MGL_ROOT" = x ; then
29609 { echo "$as_me:$LINENO: result: not found" >&5
29610 echo "${ECHO_T}not found" >&6; }
29611 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29612 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29613 { (exit 1); exit 1; }; }
29614 else
29615 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29616 echo "${ECHO_T}$MGL_ROOT" >&6; }
29617 fi
29618
29619 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29620 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29621 case "${host}" in
29622 *-*-linux* )
29623 if test "x$wxUSE_SHARED" = xyes ; then
29624 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29625 else
29626 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29627 fi
29628 ;;
29629 *-pc-msdosdjgpp )
29630 mgl_os_candidates="dos32/dj2"
29631 ;;
29632 *)
29633 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29634 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29635 { (exit 1); exit 1; }; }
29636 esac
29637
29638 mgl_lib_type=""
29639 mgl_os=""
29640
29641 for mgl_os_i in $mgl_os_candidates ; do
29642 if test "x$mgl_os" = x ; then
29643 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29644 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29645 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29646 mgl_lib_type=debug
29647 mgl_os=$mgl_os_i
29648 fi
29649 fi
29650 if test "x$mgl_lib_type" = x ; then
29651 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29652 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29653 mgl_lib_type=release
29654 mgl_os=$mgl_os_i
29655 fi
29656 fi
29657 fi
29658 done
29659
29660 if test "x$mgl_os" = x ; then
29661 { echo "$as_me:$LINENO: result: not found" >&5
29662 echo "${ECHO_T}not found" >&6; }
29663 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29664 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29665 { (exit 1); exit 1; }; }
29666 fi
29667 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29668 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29669
29670 wxUSE_UNIVERSAL="yes"
29671
29672 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29673 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29674
29675 AFMINSTALL=afminstall
29676 TOOLKIT=MGL
29677 GUIDIST=MGL_DIST
29678 fi
29679
29680 if test "$wxUSE_DFB" = 1; then
29681
29682
29683 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29684 if test -n "$ac_tool_prefix"; then
29685 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29686 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29689 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 else
29692 case $PKG_CONFIG in
29693 [\\/]* | ?:[\\/]*)
29694 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29695 ;;
29696 *)
29697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29698 for as_dir in $PATH
29699 do
29700 IFS=$as_save_IFS
29701 test -z "$as_dir" && as_dir=.
29702 for ac_exec_ext in '' $ac_executable_extensions; do
29703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29704 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29706 break 2
29707 fi
29708 done
29709 done
29710 IFS=$as_save_IFS
29711
29712 ;;
29713 esac
29714 fi
29715 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29716 if test -n "$PKG_CONFIG"; then
29717 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29718 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29719 else
29720 { echo "$as_me:$LINENO: result: no" >&5
29721 echo "${ECHO_T}no" >&6; }
29722 fi
29723
29724
29725 fi
29726 if test -z "$ac_cv_path_PKG_CONFIG"; then
29727 ac_pt_PKG_CONFIG=$PKG_CONFIG
29728 # Extract the first word of "pkg-config", so it can be a program name with args.
29729 set dummy pkg-config; ac_word=$2
29730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29732 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29734 else
29735 case $ac_pt_PKG_CONFIG in
29736 [\\/]* | ?:[\\/]*)
29737 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29738 ;;
29739 *)
29740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29741 for as_dir in $PATH
29742 do
29743 IFS=$as_save_IFS
29744 test -z "$as_dir" && as_dir=.
29745 for ac_exec_ext in '' $ac_executable_extensions; do
29746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29747 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29749 break 2
29750 fi
29751 done
29752 done
29753 IFS=$as_save_IFS
29754
29755 ;;
29756 esac
29757 fi
29758 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29759 if test -n "$ac_pt_PKG_CONFIG"; then
29760 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29761 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29762 else
29763 { echo "$as_me:$LINENO: result: no" >&5
29764 echo "${ECHO_T}no" >&6; }
29765 fi
29766
29767 if test "x$ac_pt_PKG_CONFIG" = x; then
29768 PKG_CONFIG=""
29769 else
29770 case $cross_compiling:$ac_tool_warned in
29771 yes:)
29772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29773 whose name does not start with the host triplet. If you think this
29774 configuration is useful to you, please write to autoconf@gnu.org." >&5
29775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29776 whose name does not start with the host triplet. If you think this
29777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29778 ac_tool_warned=yes ;;
29779 esac
29780 PKG_CONFIG=$ac_pt_PKG_CONFIG
29781 fi
29782 else
29783 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29784 fi
29785
29786 fi
29787 if test -n "$PKG_CONFIG"; then
29788 _pkg_min_version=0.9.0
29789 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29790 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29791 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29792 { echo "$as_me:$LINENO: result: yes" >&5
29793 echo "${ECHO_T}yes" >&6; }
29794 else
29795 { echo "$as_me:$LINENO: result: no" >&5
29796 echo "${ECHO_T}no" >&6; }
29797 PKG_CONFIG=""
29798 fi
29799
29800 fi
29801
29802
29803 pkg_failed=no
29804 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29805 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29806
29807 if test -n "$PKG_CONFIG"; then
29808 if test -n "$DIRECTFB_CFLAGS"; then
29809 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29810 else
29811 if test -n "$PKG_CONFIG" && \
29812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29813 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29814 ac_status=$?
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; then
29817 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29818 else
29819 pkg_failed=yes
29820 fi
29821 fi
29822 else
29823 pkg_failed=untried
29824 fi
29825 if test -n "$PKG_CONFIG"; then
29826 if test -n "$DIRECTFB_LIBS"; then
29827 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29828 else
29829 if test -n "$PKG_CONFIG" && \
29830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29831 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29832 ac_status=$?
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; then
29835 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29836 else
29837 pkg_failed=yes
29838 fi
29839 fi
29840 else
29841 pkg_failed=untried
29842 fi
29843
29844
29845
29846 if test $pkg_failed = yes; then
29847
29848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29849 _pkg_short_errors_supported=yes
29850 else
29851 _pkg_short_errors_supported=no
29852 fi
29853 if test $_pkg_short_errors_supported = yes; then
29854 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29855 else
29856 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29857 fi
29858 # Put the nasty error message in config.log where it belongs
29859 echo "$DIRECTFB_PKG_ERRORS" >&5
29860
29861
29862 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29863 echo "$as_me: error: DirectFB not found." >&2;}
29864 { (exit 1); exit 1; }; }
29865
29866
29867 elif test $pkg_failed = untried; then
29868
29869 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29870 echo "$as_me: error: DirectFB not found." >&2;}
29871 { (exit 1); exit 1; }; }
29872
29873
29874 else
29875 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29876 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29877 { echo "$as_me:$LINENO: result: yes" >&5
29878 echo "${ECHO_T}yes" >&6; }
29879
29880 wxUSE_UNIVERSAL="yes"
29881 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29882 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29883 TOOLKIT=DFB
29884 GUIDIST=DFB_DIST
29885
29886 fi
29887 fi
29888
29889 if test "$wxUSE_MICROWIN" = 1; then
29890 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29891 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29892 if test "x$MICROWINDOWS" = x ; then
29893 { echo "$as_me:$LINENO: result: not found" >&5
29894 echo "${ECHO_T}not found" >&6; }
29895 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29896 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29897 { (exit 1); exit 1; }; }
29898 else
29899 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29900 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29901 fi
29902
29903 if test -f $MICROWINDOWS/lib/libmwin.a; then
29904 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29905 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29906 else
29907 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29908 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29909 { (exit 1); exit 1; }; }
29910 fi
29911
29912 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29913 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29914
29915 wxUSE_UNIVERSAL="yes"
29916
29917 AFMINSTALL=afminstall
29918 TOOLKIT=MICROWIN
29919 GUIDIST=MICROWIN_DIST
29920
29921 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29922 fi
29923
29924 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29925 { echo "$as_me:$LINENO: checking for X" >&5
29926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29927
29928
29929 # Check whether --with-x was given.
29930 if test "${with_x+set}" = set; then
29931 withval=$with_x;
29932 fi
29933
29934 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29935 if test "x$with_x" = xno; then
29936 # The user explicitly disabled X.
29937 have_x=disabled
29938 else
29939 case $x_includes,$x_libraries in #(
29940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29941 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29942 { (exit 1); exit 1; }; };; #(
29943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 else
29946 # One or both of the vars are not set, and there is no cached value.
29947 ac_x_includes=no ac_x_libraries=no
29948 rm -f -r conftest.dir
29949 if mkdir conftest.dir; then
29950 cd conftest.dir
29951 cat >Imakefile <<'_ACEOF'
29952 incroot:
29953 @echo incroot='${INCROOT}'
29954 usrlibdir:
29955 @echo usrlibdir='${USRLIBDIR}'
29956 libdir:
29957 @echo libdir='${LIBDIR}'
29958 _ACEOF
29959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29961 for ac_var in incroot usrlibdir libdir; do
29962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29963 done
29964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29965 for ac_extension in a so sl; do
29966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29968 ac_im_usrlibdir=$ac_im_libdir; break
29969 fi
29970 done
29971 # Screen out bogus values from the imake configuration. They are
29972 # bogus both because they are the default anyway, and because
29973 # using them would break gcc on systems where it needs fixed includes.
29974 case $ac_im_incroot in
29975 /usr/include) ac_x_includes= ;;
29976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29977 esac
29978 case $ac_im_usrlibdir in
29979 /usr/lib | /lib) ;;
29980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29981 esac
29982 fi
29983 cd ..
29984 rm -f -r conftest.dir
29985 fi
29986
29987 # Standard set of common directories for X headers.
29988 # Check X11 before X11Rn because it is often a symlink to the current release.
29989 ac_x_header_dirs='
29990 /usr/X11/include
29991 /usr/X11R6/include
29992 /usr/X11R5/include
29993 /usr/X11R4/include
29994
29995 /usr/include/X11
29996 /usr/include/X11R6
29997 /usr/include/X11R5
29998 /usr/include/X11R4
29999
30000 /usr/local/X11/include
30001 /usr/local/X11R6/include
30002 /usr/local/X11R5/include
30003 /usr/local/X11R4/include
30004
30005 /usr/local/include/X11
30006 /usr/local/include/X11R6
30007 /usr/local/include/X11R5
30008 /usr/local/include/X11R4
30009
30010 /usr/X386/include
30011 /usr/x386/include
30012 /usr/XFree86/include/X11
30013
30014 /usr/include
30015 /usr/local/include
30016 /usr/unsupported/include
30017 /usr/athena/include
30018 /usr/local/x11r5/include
30019 /usr/lpp/Xamples/include
30020
30021 /usr/openwin/include
30022 /usr/openwin/share/include'
30023
30024 if test "$ac_x_includes" = no; then
30025 # Guess where to find include files, by looking for Xlib.h.
30026 # First, try using that file with no special directory specified.
30027 cat >conftest.$ac_ext <<_ACEOF
30028 /* confdefs.h. */
30029 _ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033 #include <X11/Xlib.h>
30034 _ACEOF
30035 if { (ac_try="$ac_cpp conftest.$ac_ext"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30039 esac
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30042 ac_status=$?
30043 grep -v '^ *+' conftest.er1 >conftest.err
30044 rm -f conftest.er1
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } >/dev/null && {
30048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 }; then
30051 # We can compile using X headers with no special include directory.
30052 ac_x_includes=
30053 else
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30056
30057 for ac_dir in $ac_x_header_dirs; do
30058 if test -r "$ac_dir/X11/Xlib.h"; then
30059 ac_x_includes=$ac_dir
30060 break
30061 fi
30062 done
30063 fi
30064
30065 rm -f conftest.err conftest.$ac_ext
30066 fi # $ac_x_includes = no
30067
30068 if test "$ac_x_libraries" = no; then
30069 # Check for the libraries.
30070 # See if we find them without any special options.
30071 # Don't add to $LIBS permanently.
30072 ac_save_LIBS=$LIBS
30073 LIBS="-lX11 $LIBS"
30074 cat >conftest.$ac_ext <<_ACEOF
30075 /* confdefs.h. */
30076 _ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080 #include <X11/Xlib.h>
30081 int
30082 main ()
30083 {
30084 XrmInitialize ()
30085 ;
30086 return 0;
30087 }
30088 _ACEOF
30089 rm -f conftest.$ac_objext conftest$ac_exeext
30090 if { (ac_try="$ac_link"
30091 case "(($ac_try" in
30092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30093 *) ac_try_echo=$ac_try;;
30094 esac
30095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30096 (eval "$ac_link") 2>conftest.er1
30097 ac_status=$?
30098 grep -v '^ *+' conftest.er1 >conftest.err
30099 rm -f conftest.er1
30100 cat conftest.err >&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); } && {
30103 test -z "$ac_c_werror_flag" ||
30104 test ! -s conftest.err
30105 } && test -s conftest$ac_exeext &&
30106 $as_test_x conftest$ac_exeext; then
30107 LIBS=$ac_save_LIBS
30108 # We can link X programs with no special library path.
30109 ac_x_libraries=
30110 else
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.$ac_ext >&5
30113
30114 LIBS=$ac_save_LIBS
30115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30116 do
30117 # Don't even attempt the hair of trying to link an X program!
30118 for ac_extension in a so sl; do
30119 if test -r "$ac_dir/libX11.$ac_extension"; then
30120 ac_x_libraries=$ac_dir
30121 break 2
30122 fi
30123 done
30124 done
30125 fi
30126
30127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30128 conftest$ac_exeext conftest.$ac_ext
30129 fi # $ac_x_libraries = no
30130
30131 case $ac_x_includes,$ac_x_libraries in #(
30132 no,* | *,no | *\'*)
30133 # Didn't find X, or a directory has "'" in its name.
30134 ac_cv_have_x="have_x=no";; #(
30135 *)
30136 # Record where we found X for the cache.
30137 ac_cv_have_x="have_x=yes\
30138 ac_x_includes='$ac_x_includes'\
30139 ac_x_libraries='$ac_x_libraries'"
30140 esac
30141 fi
30142 ;; #(
30143 *) have_x=yes;;
30144 esac
30145 eval "$ac_cv_have_x"
30146 fi # $with_x != no
30147
30148 if test "$have_x" != yes; then
30149 { echo "$as_me:$LINENO: result: $have_x" >&5
30150 echo "${ECHO_T}$have_x" >&6; }
30151 no_x=yes
30152 else
30153 # If each of the values was on the command line, it overrides each guess.
30154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30156 # Update the cache value to reflect the command line values.
30157 ac_cv_have_x="have_x=yes\
30158 ac_x_includes='$x_includes'\
30159 ac_x_libraries='$x_libraries'"
30160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30162 fi
30163
30164 if test "$no_x" = yes; then
30165 # Not all programs may use this symbol, but it does not hurt to define it.
30166
30167 cat >>confdefs.h <<\_ACEOF
30168 #define X_DISPLAY_MISSING 1
30169 _ACEOF
30170
30171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30172 else
30173 if test -n "$x_includes"; then
30174 X_CFLAGS="$X_CFLAGS -I$x_includes"
30175 fi
30176
30177 # It would also be nice to do this for all -L options, not just this one.
30178 if test -n "$x_libraries"; then
30179 X_LIBS="$X_LIBS -L$x_libraries"
30180 # For Solaris; some versions of Sun CC require a space after -R and
30181 # others require no space. Words are not sufficient . . . .
30182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30185 ac_xsave_c_werror_flag=$ac_c_werror_flag
30186 ac_c_werror_flag=yes
30187 cat >conftest.$ac_ext <<_ACEOF
30188 /* confdefs.h. */
30189 _ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193
30194 int
30195 main ()
30196 {
30197
30198 ;
30199 return 0;
30200 }
30201 _ACEOF
30202 rm -f conftest.$ac_objext conftest$ac_exeext
30203 if { (ac_try="$ac_link"
30204 case "(($ac_try" in
30205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30206 *) ac_try_echo=$ac_try;;
30207 esac
30208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30209 (eval "$ac_link") 2>conftest.er1
30210 ac_status=$?
30211 grep -v '^ *+' conftest.er1 >conftest.err
30212 rm -f conftest.er1
30213 cat conftest.err >&5
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); } && {
30216 test -z "$ac_c_werror_flag" ||
30217 test ! -s conftest.err
30218 } && test -s conftest$ac_exeext &&
30219 $as_test_x conftest$ac_exeext; then
30220 { echo "$as_me:$LINENO: result: no" >&5
30221 echo "${ECHO_T}no" >&6; }
30222 X_LIBS="$X_LIBS -R$x_libraries"
30223 else
30224 echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.$ac_ext >&5
30226
30227 LIBS="$ac_xsave_LIBS -R $x_libraries"
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234
30235 int
30236 main ()
30237 {
30238
30239 ;
30240 return 0;
30241 }
30242 _ACEOF
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (ac_try="$ac_link"
30245 case "(($ac_try" in
30246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30247 *) ac_try_echo=$ac_try;;
30248 esac
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_link") 2>conftest.er1
30251 ac_status=$?
30252 grep -v '^ *+' conftest.er1 >conftest.err
30253 rm -f conftest.er1
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest$ac_exeext &&
30260 $as_test_x conftest$ac_exeext; then
30261 { echo "$as_me:$LINENO: result: yes" >&5
30262 echo "${ECHO_T}yes" >&6; }
30263 X_LIBS="$X_LIBS -R $x_libraries"
30264 else
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30267
30268 { echo "$as_me:$LINENO: result: neither works" >&5
30269 echo "${ECHO_T}neither works" >&6; }
30270 fi
30271
30272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30273 conftest$ac_exeext conftest.$ac_ext
30274 fi
30275
30276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30277 conftest$ac_exeext conftest.$ac_ext
30278 ac_c_werror_flag=$ac_xsave_c_werror_flag
30279 LIBS=$ac_xsave_LIBS
30280 fi
30281
30282 # Check for system-dependent libraries X programs must link with.
30283 # Do this before checking for the system-independent R6 libraries
30284 # (-lICE), since we may need -lsocket or whatever for X linking.
30285
30286 if test "$ISC" = yes; then
30287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30288 else
30289 # Martyn Johnson says this is needed for Ultrix, if the X
30290 # libraries were built with DECnet support. And Karl Berry says
30291 # the Alpha needs dnet_stub (dnet does not exist).
30292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30293 cat >conftest.$ac_ext <<_ACEOF
30294 /* confdefs.h. */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299
30300 /* Override any GCC internal prototype to avoid an error.
30301 Use char because int might match the return type of a GCC
30302 builtin and then its argument prototype would still apply. */
30303 #ifdef __cplusplus
30304 extern "C"
30305 #endif
30306 char XOpenDisplay ();
30307 int
30308 main ()
30309 {
30310 return XOpenDisplay ();
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext conftest$ac_exeext
30316 if { (ac_try="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30320 esac
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30323 ac_status=$?
30324 grep -v '^ *+' conftest.er1 >conftest.err
30325 rm -f conftest.er1
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 :
30334 else
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30337
30338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 else
30343 ac_check_lib_save_LIBS=$LIBS
30344 LIBS="-ldnet $LIBS"
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351
30352 /* Override any GCC internal prototype to avoid an error.
30353 Use char because int might match the return type of a GCC
30354 builtin and then its argument prototype would still apply. */
30355 #ifdef __cplusplus
30356 extern "C"
30357 #endif
30358 char dnet_ntoa ();
30359 int
30360 main ()
30361 {
30362 return dnet_ntoa ();
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (ac_try="$ac_link"
30369 case "(($ac_try" in
30370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30371 *) ac_try_echo=$ac_try;;
30372 esac
30373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30374 (eval "$ac_link") 2>conftest.er1
30375 ac_status=$?
30376 grep -v '^ *+' conftest.er1 >conftest.err
30377 rm -f conftest.er1
30378 cat conftest.err >&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } && {
30381 test -z "$ac_c_werror_flag" ||
30382 test ! -s conftest.err
30383 } && test -s conftest$ac_exeext &&
30384 $as_test_x conftest$ac_exeext; then
30385 ac_cv_lib_dnet_dnet_ntoa=yes
30386 else
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30389
30390 ac_cv_lib_dnet_dnet_ntoa=no
30391 fi
30392
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 LIBS=$ac_check_lib_save_LIBS
30396 fi
30397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30401 fi
30402
30403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30407 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 else
30409 ac_check_lib_save_LIBS=$LIBS
30410 LIBS="-ldnet_stub $LIBS"
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417
30418 /* Override any GCC internal prototype to avoid an error.
30419 Use char because int might match the return type of a GCC
30420 builtin and then its argument prototype would still apply. */
30421 #ifdef __cplusplus
30422 extern "C"
30423 #endif
30424 char dnet_ntoa ();
30425 int
30426 main ()
30427 {
30428 return dnet_ntoa ();
30429 ;
30430 return 0;
30431 }
30432 _ACEOF
30433 rm -f conftest.$ac_objext conftest$ac_exeext
30434 if { (ac_try="$ac_link"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30438 esac
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_link") 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest$ac_exeext &&
30450 $as_test_x conftest$ac_exeext; then
30451 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30452 else
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30455
30456 ac_cv_lib_dnet_stub_dnet_ntoa=no
30457 fi
30458
30459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30460 conftest$ac_exeext conftest.$ac_ext
30461 LIBS=$ac_check_lib_save_LIBS
30462 fi
30463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30466 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30467 fi
30468
30469 fi
30470 fi
30471
30472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30473 conftest$ac_exeext conftest.$ac_ext
30474 LIBS="$ac_xsave_LIBS"
30475
30476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30477 # to get the SysV transport functions.
30478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30479 # needs -lnsl.
30480 # The nsl library prevents programs from opening the X display
30481 # on Irix 5.2, according to T.E. Dickey.
30482 # The functions gethostbyname, getservbyname, and inet_addr are
30483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30486 if test "${ac_cv_func_gethostbyname+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 else
30489 cat >conftest.$ac_ext <<_ACEOF
30490 /* confdefs.h. */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30497 #define gethostbyname innocuous_gethostbyname
30498
30499 /* System header to define __stub macros and hopefully few prototypes,
30500 which can conflict with char gethostbyname (); below.
30501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30502 <limits.h> exists even on freestanding compilers. */
30503
30504 #ifdef __STDC__
30505 # include <limits.h>
30506 #else
30507 # include <assert.h>
30508 #endif
30509
30510 #undef gethostbyname
30511
30512 /* Override any GCC internal prototype to avoid an error.
30513 Use char because int might match the return type of a GCC
30514 builtin and then its argument prototype would still apply. */
30515 #ifdef __cplusplus
30516 extern "C"
30517 #endif
30518 char gethostbyname ();
30519 /* The GNU C library defines this for functions which it implements
30520 to always fail with ENOSYS. Some functions are actually named
30521 something starting with __ and the normal name is an alias. */
30522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30523 choke me
30524 #endif
30525
30526 int
30527 main ()
30528 {
30529 return gethostbyname ();
30530 ;
30531 return 0;
30532 }
30533 _ACEOF
30534 rm -f conftest.$ac_objext conftest$ac_exeext
30535 if { (ac_try="$ac_link"
30536 case "(($ac_try" in
30537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30538 *) ac_try_echo=$ac_try;;
30539 esac
30540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30541 (eval "$ac_link") 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } && {
30548 test -z "$ac_c_werror_flag" ||
30549 test ! -s conftest.err
30550 } && test -s conftest$ac_exeext &&
30551 $as_test_x conftest$ac_exeext; then
30552 ac_cv_func_gethostbyname=yes
30553 else
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30556
30557 ac_cv_func_gethostbyname=no
30558 fi
30559
30560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30561 conftest$ac_exeext conftest.$ac_ext
30562 fi
30563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30565
30566 if test $ac_cv_func_gethostbyname = no; then
30567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 else
30572 ac_check_lib_save_LIBS=$LIBS
30573 LIBS="-lnsl $LIBS"
30574 cat >conftest.$ac_ext <<_ACEOF
30575 /* confdefs.h. */
30576 _ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30580
30581 /* Override any GCC internal prototype to avoid an error.
30582 Use char because int might match the return type of a GCC
30583 builtin and then its argument prototype would still apply. */
30584 #ifdef __cplusplus
30585 extern "C"
30586 #endif
30587 char gethostbyname ();
30588 int
30589 main ()
30590 {
30591 return gethostbyname ();
30592 ;
30593 return 0;
30594 }
30595 _ACEOF
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (ac_try="$ac_link"
30598 case "(($ac_try" in
30599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30600 *) ac_try_echo=$ac_try;;
30601 esac
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_link") 2>conftest.er1
30604 ac_status=$?
30605 grep -v '^ *+' conftest.er1 >conftest.err
30606 rm -f conftest.er1
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest$ac_exeext &&
30613 $as_test_x conftest$ac_exeext; then
30614 ac_cv_lib_nsl_gethostbyname=yes
30615 else
30616 echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.$ac_ext >&5
30618
30619 ac_cv_lib_nsl_gethostbyname=no
30620 fi
30621
30622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30623 conftest$ac_exeext conftest.$ac_ext
30624 LIBS=$ac_check_lib_save_LIBS
30625 fi
30626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30630 fi
30631
30632 if test $ac_cv_lib_nsl_gethostbyname = no; then
30633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30636 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 else
30638 ac_check_lib_save_LIBS=$LIBS
30639 LIBS="-lbsd $LIBS"
30640 cat >conftest.$ac_ext <<_ACEOF
30641 /* confdefs.h. */
30642 _ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30646
30647 /* Override any GCC internal prototype to avoid an error.
30648 Use char because int might match the return type of a GCC
30649 builtin and then its argument prototype would still apply. */
30650 #ifdef __cplusplus
30651 extern "C"
30652 #endif
30653 char gethostbyname ();
30654 int
30655 main ()
30656 {
30657 return gethostbyname ();
30658 ;
30659 return 0;
30660 }
30661 _ACEOF
30662 rm -f conftest.$ac_objext conftest$ac_exeext
30663 if { (ac_try="$ac_link"
30664 case "(($ac_try" in
30665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30666 *) ac_try_echo=$ac_try;;
30667 esac
30668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30669 (eval "$ac_link") 2>conftest.er1
30670 ac_status=$?
30671 grep -v '^ *+' conftest.er1 >conftest.err
30672 rm -f conftest.er1
30673 cat conftest.err >&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } && {
30676 test -z "$ac_c_werror_flag" ||
30677 test ! -s conftest.err
30678 } && test -s conftest$ac_exeext &&
30679 $as_test_x conftest$ac_exeext; then
30680 ac_cv_lib_bsd_gethostbyname=yes
30681 else
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30684
30685 ac_cv_lib_bsd_gethostbyname=no
30686 fi
30687
30688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30689 conftest$ac_exeext conftest.$ac_ext
30690 LIBS=$ac_check_lib_save_LIBS
30691 fi
30692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30696 fi
30697
30698 fi
30699 fi
30700
30701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30702 # socket/setsockopt and other routines are undefined under SCO ODT
30703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30704 # on later versions), says Simon Leinen: it contains gethostby*
30705 # variants that don't use the name server (or something). -lsocket
30706 # must be given before -lnsl if both are needed. We assume that
30707 # if connect needs -lnsl, so does gethostbyname.
30708 { echo "$as_me:$LINENO: checking for connect" >&5
30709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30710 if test "${ac_cv_func_connect+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30721 #define connect innocuous_connect
30722
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char connect (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30727
30728 #ifdef __STDC__
30729 # include <limits.h>
30730 #else
30731 # include <assert.h>
30732 #endif
30733
30734 #undef connect
30735
30736 /* Override any GCC internal prototype to avoid an error.
30737 Use char because int might match the return type of a GCC
30738 builtin and then its argument prototype would still apply. */
30739 #ifdef __cplusplus
30740 extern "C"
30741 #endif
30742 char connect ();
30743 /* The GNU C library defines this for functions which it implements
30744 to always fail with ENOSYS. Some functions are actually named
30745 something starting with __ and the normal name is an alias. */
30746 #if defined __stub_connect || defined __stub___connect
30747 choke me
30748 #endif
30749
30750 int
30751 main ()
30752 {
30753 return connect ();
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 rm -f conftest.$ac_objext conftest$ac_exeext
30759 if { (ac_try="$ac_link"
30760 case "(($ac_try" in
30761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30762 *) ac_try_echo=$ac_try;;
30763 esac
30764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30765 (eval "$ac_link") 2>conftest.er1
30766 ac_status=$?
30767 grep -v '^ *+' conftest.er1 >conftest.err
30768 rm -f conftest.er1
30769 cat conftest.err >&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } && {
30772 test -z "$ac_c_werror_flag" ||
30773 test ! -s conftest.err
30774 } && test -s conftest$ac_exeext &&
30775 $as_test_x conftest$ac_exeext; then
30776 ac_cv_func_connect=yes
30777 else
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.$ac_ext >&5
30780
30781 ac_cv_func_connect=no
30782 fi
30783
30784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30785 conftest$ac_exeext conftest.$ac_ext
30786 fi
30787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30789
30790 if test $ac_cv_func_connect = no; then
30791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30793 if test "${ac_cv_lib_socket_connect+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 else
30796 ac_check_lib_save_LIBS=$LIBS
30797 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30798 cat >conftest.$ac_ext <<_ACEOF
30799 /* confdefs.h. */
30800 _ACEOF
30801 cat confdefs.h >>conftest.$ac_ext
30802 cat >>conftest.$ac_ext <<_ACEOF
30803 /* end confdefs.h. */
30804
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30808 #ifdef __cplusplus
30809 extern "C"
30810 #endif
30811 char connect ();
30812 int
30813 main ()
30814 {
30815 return connect ();
30816 ;
30817 return 0;
30818 }
30819 _ACEOF
30820 rm -f conftest.$ac_objext conftest$ac_exeext
30821 if { (ac_try="$ac_link"
30822 case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30825 esac
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_link") 2>conftest.er1
30828 ac_status=$?
30829 grep -v '^ *+' conftest.er1 >conftest.err
30830 rm -f conftest.er1
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } && {
30834 test -z "$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30836 } && test -s conftest$ac_exeext &&
30837 $as_test_x conftest$ac_exeext; then
30838 ac_cv_lib_socket_connect=yes
30839 else
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30842
30843 ac_cv_lib_socket_connect=no
30844 fi
30845
30846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30847 conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30849 fi
30850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30852 if test $ac_cv_lib_socket_connect = yes; then
30853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30854 fi
30855
30856 fi
30857
30858 # Guillermo Gomez says -lposix is necessary on A/UX.
30859 { echo "$as_me:$LINENO: checking for remove" >&5
30860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30861 if test "${ac_cv_func_remove+set}" = set; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 else
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30872 #define remove innocuous_remove
30873
30874 /* System header to define __stub macros and hopefully few prototypes,
30875 which can conflict with char remove (); below.
30876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30877 <limits.h> exists even on freestanding compilers. */
30878
30879 #ifdef __STDC__
30880 # include <limits.h>
30881 #else
30882 # include <assert.h>
30883 #endif
30884
30885 #undef remove
30886
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30890 #ifdef __cplusplus
30891 extern "C"
30892 #endif
30893 char remove ();
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined __stub_remove || defined __stub___remove
30898 choke me
30899 #endif
30900
30901 int
30902 main ()
30903 {
30904 return remove ();
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 ac_cv_func_remove=yes
30928 else
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30931
30932 ac_cv_func_remove=no
30933 fi
30934
30935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30936 conftest$ac_exeext conftest.$ac_ext
30937 fi
30938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30940
30941 if test $ac_cv_func_remove = no; then
30942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30944 if test "${ac_cv_lib_posix_remove+set}" = set; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 else
30947 ac_check_lib_save_LIBS=$LIBS
30948 LIBS="-lposix $LIBS"
30949 cat >conftest.$ac_ext <<_ACEOF
30950 /* confdefs.h. */
30951 _ACEOF
30952 cat confdefs.h >>conftest.$ac_ext
30953 cat >>conftest.$ac_ext <<_ACEOF
30954 /* end confdefs.h. */
30955
30956 /* Override any GCC internal prototype to avoid an error.
30957 Use char because int might match the return type of a GCC
30958 builtin and then its argument prototype would still apply. */
30959 #ifdef __cplusplus
30960 extern "C"
30961 #endif
30962 char remove ();
30963 int
30964 main ()
30965 {
30966 return remove ();
30967 ;
30968 return 0;
30969 }
30970 _ACEOF
30971 rm -f conftest.$ac_objext conftest$ac_exeext
30972 if { (ac_try="$ac_link"
30973 case "(($ac_try" in
30974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30975 *) ac_try_echo=$ac_try;;
30976 esac
30977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30978 (eval "$ac_link") 2>conftest.er1
30979 ac_status=$?
30980 grep -v '^ *+' conftest.er1 >conftest.err
30981 rm -f conftest.er1
30982 cat conftest.err >&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } && {
30985 test -z "$ac_c_werror_flag" ||
30986 test ! -s conftest.err
30987 } && test -s conftest$ac_exeext &&
30988 $as_test_x conftest$ac_exeext; then
30989 ac_cv_lib_posix_remove=yes
30990 else
30991 echo "$as_me: failed program was:" >&5
30992 sed 's/^/| /' conftest.$ac_ext >&5
30993
30994 ac_cv_lib_posix_remove=no
30995 fi
30996
30997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30998 conftest$ac_exeext conftest.$ac_ext
30999 LIBS=$ac_check_lib_save_LIBS
31000 fi
31001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31003 if test $ac_cv_lib_posix_remove = yes; then
31004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31005 fi
31006
31007 fi
31008
31009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31010 { echo "$as_me:$LINENO: checking for shmat" >&5
31011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31012 if test "${ac_cv_func_shmat+set}" = set; then
31013 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 else
31015 cat >conftest.$ac_ext <<_ACEOF
31016 /* confdefs.h. */
31017 _ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31023 #define shmat innocuous_shmat
31024
31025 /* System header to define __stub macros and hopefully few prototypes,
31026 which can conflict with char shmat (); below.
31027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31028 <limits.h> exists even on freestanding compilers. */
31029
31030 #ifdef __STDC__
31031 # include <limits.h>
31032 #else
31033 # include <assert.h>
31034 #endif
31035
31036 #undef shmat
31037
31038 /* Override any GCC internal prototype to avoid an error.
31039 Use char because int might match the return type of a GCC
31040 builtin and then its argument prototype would still apply. */
31041 #ifdef __cplusplus
31042 extern "C"
31043 #endif
31044 char shmat ();
31045 /* The GNU C library defines this for functions which it implements
31046 to always fail with ENOSYS. Some functions are actually named
31047 something starting with __ and the normal name is an alias. */
31048 #if defined __stub_shmat || defined __stub___shmat
31049 choke me
31050 #endif
31051
31052 int
31053 main ()
31054 {
31055 return shmat ();
31056 ;
31057 return 0;
31058 }
31059 _ACEOF
31060 rm -f conftest.$ac_objext conftest$ac_exeext
31061 if { (ac_try="$ac_link"
31062 case "(($ac_try" in
31063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31064 *) ac_try_echo=$ac_try;;
31065 esac
31066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31067 (eval "$ac_link") 2>conftest.er1
31068 ac_status=$?
31069 grep -v '^ *+' conftest.er1 >conftest.err
31070 rm -f conftest.er1
31071 cat conftest.err >&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); } && {
31074 test -z "$ac_c_werror_flag" ||
31075 test ! -s conftest.err
31076 } && test -s conftest$ac_exeext &&
31077 $as_test_x conftest$ac_exeext; then
31078 ac_cv_func_shmat=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 ac_cv_func_shmat=no
31084 fi
31085
31086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31087 conftest$ac_exeext conftest.$ac_ext
31088 fi
31089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31091
31092 if test $ac_cv_func_shmat = no; then
31093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 else
31098 ac_check_lib_save_LIBS=$LIBS
31099 LIBS="-lipc $LIBS"
31100 cat >conftest.$ac_ext <<_ACEOF
31101 /* confdefs.h. */
31102 _ACEOF
31103 cat confdefs.h >>conftest.$ac_ext
31104 cat >>conftest.$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31106
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31110 #ifdef __cplusplus
31111 extern "C"
31112 #endif
31113 char shmat ();
31114 int
31115 main ()
31116 {
31117 return shmat ();
31118 ;
31119 return 0;
31120 }
31121 _ACEOF
31122 rm -f conftest.$ac_objext conftest$ac_exeext
31123 if { (ac_try="$ac_link"
31124 case "(($ac_try" in
31125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31126 *) ac_try_echo=$ac_try;;
31127 esac
31128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31129 (eval "$ac_link") 2>conftest.er1
31130 ac_status=$?
31131 grep -v '^ *+' conftest.er1 >conftest.err
31132 rm -f conftest.er1
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } && {
31136 test -z "$ac_c_werror_flag" ||
31137 test ! -s conftest.err
31138 } && test -s conftest$ac_exeext &&
31139 $as_test_x conftest$ac_exeext; then
31140 ac_cv_lib_ipc_shmat=yes
31141 else
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31144
31145 ac_cv_lib_ipc_shmat=no
31146 fi
31147
31148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31149 conftest$ac_exeext conftest.$ac_ext
31150 LIBS=$ac_check_lib_save_LIBS
31151 fi
31152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31154 if test $ac_cv_lib_ipc_shmat = yes; then
31155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31156 fi
31157
31158 fi
31159 fi
31160
31161 # Check for libraries that X11R6 Xt/Xaw programs need.
31162 ac_save_LDFLAGS=$LDFLAGS
31163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31165 # check for ICE first), but we must link in the order -lSM -lICE or
31166 # we get undefined symbols. So assume we have SM if we have ICE.
31167 # These have to be linked with before -lX11, unlike the other
31168 # libraries we check for below, so use a different variable.
31169 # John Interrante, Karl Berry
31170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 ac_check_lib_save_LIBS=$LIBS
31176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31177 cat >conftest.$ac_ext <<_ACEOF
31178 /* confdefs.h. */
31179 _ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183
31184 /* Override any GCC internal prototype to avoid an error.
31185 Use char because int might match the return type of a GCC
31186 builtin and then its argument prototype would still apply. */
31187 #ifdef __cplusplus
31188 extern "C"
31189 #endif
31190 char IceConnectionNumber ();
31191 int
31192 main ()
31193 {
31194 return IceConnectionNumber ();
31195 ;
31196 return 0;
31197 }
31198 _ACEOF
31199 rm -f conftest.$ac_objext conftest$ac_exeext
31200 if { (ac_try="$ac_link"
31201 case "(($ac_try" in
31202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31203 *) ac_try_echo=$ac_try;;
31204 esac
31205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31206 (eval "$ac_link") 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } && {
31213 test -z "$ac_c_werror_flag" ||
31214 test ! -s conftest.err
31215 } && test -s conftest$ac_exeext &&
31216 $as_test_x conftest$ac_exeext; then
31217 ac_cv_lib_ICE_IceConnectionNumber=yes
31218 else
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.$ac_ext >&5
31221
31222 ac_cv_lib_ICE_IceConnectionNumber=no
31223 fi
31224
31225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31226 conftest$ac_exeext conftest.$ac_ext
31227 LIBS=$ac_check_lib_save_LIBS
31228 fi
31229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31232 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31233 fi
31234
31235 LDFLAGS=$ac_save_LDFLAGS
31236
31237 fi
31238
31239
31240 if test "$no_x" = "yes"; then
31241 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31242 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31243 { (exit 1); exit 1; }; }
31244 fi
31245
31246 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31247 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31248 AFMINSTALL=afminstall
31249 COMPILED_X_PROGRAM=0
31250
31251 fi
31252
31253 if test "$wxUSE_X11" = 1; then
31254 if test "$wxUSE_NANOX" = "yes"; then
31255 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31256 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31257 if test "x$MICROWIN" = x ; then
31258 { echo "$as_me:$LINENO: result: not found" >&5
31259 echo "${ECHO_T}not found" >&6; }
31260 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31261 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31262 { (exit 1); exit 1; }; }
31263 else
31264 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31265 echo "${ECHO_T}$MICROWIN" >&6; }
31266 cat >>confdefs.h <<\_ACEOF
31267 #define wxUSE_NANOX 1
31268 _ACEOF
31269
31270 fi
31271 fi
31272
31273 if test "$wxUSE_UNICODE" = "yes"; then
31274
31275
31276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31277 if test -n "$ac_tool_prefix"; then
31278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31279 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 else
31285 case $PKG_CONFIG in
31286 [\\/]* | ?:[\\/]*)
31287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31288 ;;
31289 *)
31290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31291 for as_dir in $PATH
31292 do
31293 IFS=$as_save_IFS
31294 test -z "$as_dir" && as_dir=.
31295 for ac_exec_ext in '' $ac_executable_extensions; do
31296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31299 break 2
31300 fi
31301 done
31302 done
31303 IFS=$as_save_IFS
31304
31305 ;;
31306 esac
31307 fi
31308 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31309 if test -n "$PKG_CONFIG"; then
31310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31312 else
31313 { echo "$as_me:$LINENO: result: no" >&5
31314 echo "${ECHO_T}no" >&6; }
31315 fi
31316
31317
31318 fi
31319 if test -z "$ac_cv_path_PKG_CONFIG"; then
31320 ac_pt_PKG_CONFIG=$PKG_CONFIG
31321 # Extract the first word of "pkg-config", so it can be a program name with args.
31322 set dummy pkg-config; ac_word=$2
31323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31326 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 else
31328 case $ac_pt_PKG_CONFIG in
31329 [\\/]* | ?:[\\/]*)
31330 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31331 ;;
31332 *)
31333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31334 for as_dir in $PATH
31335 do
31336 IFS=$as_save_IFS
31337 test -z "$as_dir" && as_dir=.
31338 for ac_exec_ext in '' $ac_executable_extensions; do
31339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31340 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31342 break 2
31343 fi
31344 done
31345 done
31346 IFS=$as_save_IFS
31347
31348 ;;
31349 esac
31350 fi
31351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31352 if test -n "$ac_pt_PKG_CONFIG"; then
31353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31355 else
31356 { echo "$as_me:$LINENO: result: no" >&5
31357 echo "${ECHO_T}no" >&6; }
31358 fi
31359
31360 if test "x$ac_pt_PKG_CONFIG" = x; then
31361 PKG_CONFIG=""
31362 else
31363 case $cross_compiling:$ac_tool_warned in
31364 yes:)
31365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31366 whose name does not start with the host triplet. If you think this
31367 configuration is useful to you, please write to autoconf@gnu.org." >&5
31368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31369 whose name does not start with the host triplet. If you think this
31370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31371 ac_tool_warned=yes ;;
31372 esac
31373 PKG_CONFIG=$ac_pt_PKG_CONFIG
31374 fi
31375 else
31376 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31377 fi
31378
31379 fi
31380 if test -n "$PKG_CONFIG"; then
31381 _pkg_min_version=0.9.0
31382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31385 { echo "$as_me:$LINENO: result: yes" >&5
31386 echo "${ECHO_T}yes" >&6; }
31387 else
31388 { echo "$as_me:$LINENO: result: no" >&5
31389 echo "${ECHO_T}no" >&6; }
31390 PKG_CONFIG=""
31391 fi
31392
31393 fi
31394
31395
31396 pkg_failed=no
31397 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31398 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31399
31400 if test -n "$PKG_CONFIG"; then
31401 if test -n "$PANGOX_CFLAGS"; then
31402 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31403 else
31404 if test -n "$PKG_CONFIG" && \
31405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31406 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; then
31410 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31411 else
31412 pkg_failed=yes
31413 fi
31414 fi
31415 else
31416 pkg_failed=untried
31417 fi
31418 if test -n "$PKG_CONFIG"; then
31419 if test -n "$PANGOX_LIBS"; then
31420 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31421 else
31422 if test -n "$PKG_CONFIG" && \
31423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31424 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; then
31428 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31429 else
31430 pkg_failed=yes
31431 fi
31432 fi
31433 else
31434 pkg_failed=untried
31435 fi
31436
31437
31438
31439 if test $pkg_failed = yes; then
31440
31441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31442 _pkg_short_errors_supported=yes
31443 else
31444 _pkg_short_errors_supported=no
31445 fi
31446 if test $_pkg_short_errors_supported = yes; then
31447 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31448 else
31449 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31450 fi
31451 # Put the nasty error message in config.log where it belongs
31452 echo "$PANGOX_PKG_ERRORS" >&5
31453
31454
31455 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31456 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31457 { (exit 1); exit 1; }; }
31458
31459
31460 elif test $pkg_failed = untried; then
31461
31462 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31463 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31464 { (exit 1); exit 1; }; }
31465
31466
31467 else
31468 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31469 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31470 { echo "$as_me:$LINENO: result: yes" >&5
31471 echo "${ECHO_T}yes" >&6; }
31472
31473 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31474 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31476
31477 fi
31478
31479 pkg_failed=no
31480 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31481 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31482
31483 if test -n "$PKG_CONFIG"; then
31484 if test -n "$PANGOFT2_CFLAGS"; then
31485 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31486 else
31487 if test -n "$PKG_CONFIG" && \
31488 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31489 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31490 ac_status=$?
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; then
31493 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31494 else
31495 pkg_failed=yes
31496 fi
31497 fi
31498 else
31499 pkg_failed=untried
31500 fi
31501 if test -n "$PKG_CONFIG"; then
31502 if test -n "$PANGOFT2_LIBS"; then
31503 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31504 else
31505 if test -n "$PKG_CONFIG" && \
31506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31507 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; then
31511 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31512 else
31513 pkg_failed=yes
31514 fi
31515 fi
31516 else
31517 pkg_failed=untried
31518 fi
31519
31520
31521
31522 if test $pkg_failed = yes; then
31523
31524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31525 _pkg_short_errors_supported=yes
31526 else
31527 _pkg_short_errors_supported=no
31528 fi
31529 if test $_pkg_short_errors_supported = yes; then
31530 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31531 else
31532 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31533 fi
31534 # Put the nasty error message in config.log where it belongs
31535 echo "$PANGOFT2_PKG_ERRORS" >&5
31536
31537
31538 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31539 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31540 wxUSE_PRINTING_ARCHITECTURE="no"
31541
31542
31543 elif test $pkg_failed = untried; then
31544
31545 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31546 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31547 wxUSE_PRINTING_ARCHITECTURE="no"
31548
31549
31550 else
31551 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31552 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31553 { echo "$as_me:$LINENO: result: yes" >&5
31554 echo "${ECHO_T}yes" >&6; }
31555
31556 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31557 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31558 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31559
31560 fi
31561
31562 pkg_failed=no
31563 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31564 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31565
31566 if test -n "$PKG_CONFIG"; then
31567 if test -n "$PANGOXFT_CFLAGS"; then
31568 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31569 else
31570 if test -n "$PKG_CONFIG" && \
31571 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31572 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31573 ac_status=$?
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; then
31576 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31577 else
31578 pkg_failed=yes
31579 fi
31580 fi
31581 else
31582 pkg_failed=untried
31583 fi
31584 if test -n "$PKG_CONFIG"; then
31585 if test -n "$PANGOXFT_LIBS"; then
31586 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31587 else
31588 if test -n "$PKG_CONFIG" && \
31589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31590 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31591 ac_status=$?
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; then
31594 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31595 else
31596 pkg_failed=yes
31597 fi
31598 fi
31599 else
31600 pkg_failed=untried
31601 fi
31602
31603
31604
31605 if test $pkg_failed = yes; then
31606
31607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31608 _pkg_short_errors_supported=yes
31609 else
31610 _pkg_short_errors_supported=no
31611 fi
31612 if test $_pkg_short_errors_supported = yes; then
31613 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31614 else
31615 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31616 fi
31617 # Put the nasty error message in config.log where it belongs
31618 echo "$PANGOXFT_PKG_ERRORS" >&5
31619
31620
31621 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31622 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31623
31624
31625 elif test $pkg_failed = untried; then
31626
31627 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31628 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31629
31630
31631 else
31632 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31633 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31634 { echo "$as_me:$LINENO: result: yes" >&5
31635 echo "${ECHO_T}yes" >&6; }
31636
31637 cat >>confdefs.h <<\_ACEOF
31638 #define HAVE_PANGO_XFT 1
31639 _ACEOF
31640
31641 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31642 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31644
31645 fi
31646 save_LIBS="$LIBS"
31647 LIBS="$LIBS $PANGOX_LIBS"
31648
31649 for ac_func in pango_font_family_is_monospace
31650 do
31651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 else
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31665 #define $ac_func innocuous_$ac_func
31666
31667 /* System header to define __stub macros and hopefully few prototypes,
31668 which can conflict with char $ac_func (); below.
31669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31670 <limits.h> exists even on freestanding compilers. */
31671
31672 #ifdef __STDC__
31673 # include <limits.h>
31674 #else
31675 # include <assert.h>
31676 #endif
31677
31678 #undef $ac_func
31679
31680 /* Override any GCC internal prototype to avoid an error.
31681 Use char because int might match the return type of a GCC
31682 builtin and then its argument prototype would still apply. */
31683 #ifdef __cplusplus
31684 extern "C"
31685 #endif
31686 char $ac_func ();
31687 /* The GNU C library defines this for functions which it implements
31688 to always fail with ENOSYS. Some functions are actually named
31689 something starting with __ and the normal name is an alias. */
31690 #if defined __stub_$ac_func || defined __stub___$ac_func
31691 choke me
31692 #endif
31693
31694 int
31695 main ()
31696 {
31697 return $ac_func ();
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (ac_try="$ac_link"
31704 case "(($ac_try" in
31705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31707 esac
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } && {
31716 test -z "$ac_c_werror_flag" ||
31717 test ! -s conftest.err
31718 } && test -s conftest$ac_exeext &&
31719 $as_test_x conftest$ac_exeext; then
31720 eval "$as_ac_var=yes"
31721 else
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.$ac_ext >&5
31724
31725 eval "$as_ac_var=no"
31726 fi
31727
31728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31729 conftest$ac_exeext conftest.$ac_ext
31730 fi
31731 ac_res=`eval echo '${'$as_ac_var'}'`
31732 { echo "$as_me:$LINENO: result: $ac_res" >&5
31733 echo "${ECHO_T}$ac_res" >&6; }
31734 if test `eval echo '${'$as_ac_var'}'` = yes; then
31735 cat >>confdefs.h <<_ACEOF
31736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31737 _ACEOF
31738
31739 fi
31740 done
31741
31742 LIBS="$save_LIBS"
31743 fi
31744
31745 wxUSE_UNIVERSAL="yes"
31746
31747 if test "$wxUSE_NANOX" = "yes"; then
31748 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31749 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"
31750 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31751 else
31752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31753 fi
31754
31755 TOOLKIT=X11
31756 GUIDIST=X11_DIST
31757 fi
31758
31759 if test "$wxUSE_MOTIF" = 1; then
31760 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31761 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31762
31763 ac_find_includes=
31764 for ac_dir in $SEARCH_INCLUDE /usr/include;
31765 do
31766 if test -f "$ac_dir/Xm/Xm.h"; then
31767 ac_find_includes=$ac_dir
31768 break
31769 fi
31770 done
31771
31772 if test "$ac_find_includes" != "" ; then
31773 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31774 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31775
31776 if test "x$ac_find_includes" = "x/usr/include"; then
31777 ac_path_to_include=""
31778 else
31779 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31780 result=$?
31781 if test $result = 0; then
31782 ac_path_to_include=""
31783 else
31784 ac_path_to_include=" -I$ac_find_includes"
31785 fi
31786 fi
31787
31788 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31789 else
31790 save_CFLAGS=$CFLAGS
31791 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31792
31793 cat >conftest.$ac_ext <<_ACEOF
31794 /* confdefs.h. */
31795 _ACEOF
31796 cat confdefs.h >>conftest.$ac_ext
31797 cat >>conftest.$ac_ext <<_ACEOF
31798 /* end confdefs.h. */
31799
31800 #include <Xm/Xm.h>
31801
31802 int
31803 main ()
31804 {
31805
31806 int version;
31807 version = xmUseVersion;
31808
31809 ;
31810 return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext
31814 if { (ac_try="$ac_compile"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31818 esac
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_compile") 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest.$ac_objext; then
31830
31831 { echo "$as_me:$LINENO: result: found in default search path" >&5
31832 echo "${ECHO_T}found in default search path" >&6; }
31833 COMPILED_X_PROGRAM=1
31834
31835 else
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.$ac_ext >&5
31838
31839
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31842 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31843 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31844 { (exit 1); exit 1; }; }
31845
31846
31847 fi
31848
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850
31851 CFLAGS=$save_CFLAGS
31852 fi
31853
31854
31855 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31856 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31857
31858 ac_find_libraries=
31859 for ac_dir in $SEARCH_LIB;
31860 do
31861 for ac_extension in a so sl dylib dll.a; do
31862 if test -f "$ac_dir/libXm.$ac_extension"; then
31863 ac_find_libraries=$ac_dir
31864 break 2
31865 fi
31866 done
31867 done
31868
31869
31870 if test "x$ac_find_libraries" != "x" ; then
31871 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31872 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31873
31874
31875 if test "$ac_find_libraries" = "default location"; then
31876 ac_path_to_link=""
31877 else
31878 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31879 result=$?
31880 if test $result = 0; then
31881 ac_path_to_link=""
31882 else
31883 ac_path_to_link=" -L$ac_find_libraries"
31884 fi
31885 fi
31886
31887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31888 else
31889 save_CFLAGS=$CFLAGS
31890 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31891 save_LIBS="$LIBS"
31892 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31893
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900
31901 #include <Xm/Xm.h>
31902
31903 int
31904 main ()
31905 {
31906
31907 int version;
31908 version = xmUseVersion;
31909
31910 ;
31911 return 0;
31912 }
31913 _ACEOF
31914 rm -f conftest.$ac_objext conftest$ac_exeext
31915 if { (ac_try="$ac_link"
31916 case "(($ac_try" in
31917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31919 esac
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_link") 2>conftest.er1
31922 ac_status=$?
31923 grep -v '^ *+' conftest.er1 >conftest.err
31924 rm -f conftest.er1
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest$ac_exeext &&
31931 $as_test_x conftest$ac_exeext; then
31932
31933 { echo "$as_me:$LINENO: result: found in default search path" >&5
31934 echo "${ECHO_T}found in default search path" >&6; }
31935 COMPILED_X_PROGRAM=1
31936
31937 else
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31940
31941
31942 { echo "$as_me:$LINENO: result: no" >&5
31943 echo "${ECHO_T}no" >&6; }
31944 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31945 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31946 { (exit 1); exit 1; }; }
31947
31948
31949 fi
31950
31951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31952 conftest$ac_exeext conftest.$ac_ext
31953
31954 CFLAGS=$save_CFLAGS
31955 LIBS="$save_LIBS"
31956 fi
31957
31958 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31959 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31960 libp_link=""
31961 libsm_ice_link=""
31962 libs_found=0
31963 for libp in "" " -lXp"; do
31964 if test "$libs_found" = 0; then
31965 for libsm_ice in "" " -lSM -lICE"; do
31966 if test "$libs_found" = 0; then
31967 save_LIBS="$LIBS"
31968 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31969 save_CFLAGS=$CFLAGS
31970 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31971
31972 cat >conftest.$ac_ext <<_ACEOF
31973 /* confdefs.h. */
31974 _ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978
31979 #include <Xm/Xm.h>
31980 #include <Xm/List.h>
31981
31982 int
31983 main ()
31984 {
31985
31986 XmString string = NULL;
31987 Widget w = NULL;
31988 int position = 0;
31989 XmListAddItem(w, string, position);
31990
31991 ;
31992 return 0;
31993 }
31994 _ACEOF
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (ac_try="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32000 esac
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32003 ac_status=$?
32004 grep -v '^ *+' conftest.er1 >conftest.err
32005 rm -f conftest.er1
32006 cat conftest.err >&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest$ac_exeext &&
32012 $as_test_x conftest$ac_exeext; then
32013
32014 libp_link="$libp"
32015 libsm_ice_link="$libsm_ice"
32016 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32017 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32018 libs_found=1
32019
32020 else
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.$ac_ext >&5
32023
32024
32025
32026 fi
32027
32028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32029 conftest$ac_exeext conftest.$ac_ext
32030
32031 LIBS="$save_LIBS"
32032 CFLAGS=$save_CFLAGS
32033 fi
32034 done
32035 fi
32036 done
32037
32038 if test "$libs_found" = 0; then
32039 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32040 echo "${ECHO_T}can't find the right libraries" >&6; }
32041 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32042 echo "$as_me: error: can't link a simple motif program" >&2;}
32043 { (exit 1); exit 1; }; }
32044 fi
32045
32046 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32047 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32048 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32049 echo $ECHO_N "(cached) $ECHO_C" >&6
32050 else
32051 ac_check_lib_save_LIBS=$LIBS
32052 LIBS="-lSgm $LIBS"
32053 cat >conftest.$ac_ext <<_ACEOF
32054 /* confdefs.h. */
32055 _ACEOF
32056 cat confdefs.h >>conftest.$ac_ext
32057 cat >>conftest.$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32059
32060 /* Override any GCC internal prototype to avoid an error.
32061 Use char because int might match the return type of a GCC
32062 builtin and then its argument prototype would still apply. */
32063 #ifdef __cplusplus
32064 extern "C"
32065 #endif
32066 char SgCreateList ();
32067 int
32068 main ()
32069 {
32070 return SgCreateList ();
32071 ;
32072 return 0;
32073 }
32074 _ACEOF
32075 rm -f conftest.$ac_objext conftest$ac_exeext
32076 if { (ac_try="$ac_link"
32077 case "(($ac_try" in
32078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32079 *) ac_try_echo=$ac_try;;
32080 esac
32081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32082 (eval "$ac_link") 2>conftest.er1
32083 ac_status=$?
32084 grep -v '^ *+' conftest.er1 >conftest.err
32085 rm -f conftest.er1
32086 cat conftest.err >&5
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); } && {
32089 test -z "$ac_c_werror_flag" ||
32090 test ! -s conftest.err
32091 } && test -s conftest$ac_exeext &&
32092 $as_test_x conftest$ac_exeext; then
32093 ac_cv_lib_Sgm_SgCreateList=yes
32094 else
32095 echo "$as_me: failed program was:" >&5
32096 sed 's/^/| /' conftest.$ac_ext >&5
32097
32098 ac_cv_lib_Sgm_SgCreateList=no
32099 fi
32100
32101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32102 conftest$ac_exeext conftest.$ac_ext
32103 LIBS=$ac_check_lib_save_LIBS
32104 fi
32105 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32106 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32107 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32108 libsgm_link=" -lSgm"
32109 fi
32110
32111
32112 save_CFLAGS=$CFLAGS
32113 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32114
32115 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32116 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32117 if test "${wx_cv_lib_motif2+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120 cat >conftest.$ac_ext <<_ACEOF
32121 /* confdefs.h. */
32122 _ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126
32127 #include <Xm/Xm.h>
32128
32129 int
32130 main ()
32131 {
32132
32133 #if XmVersion < 2000
32134 Not Motif 2
32135 #endif
32136
32137 ;
32138 return 0;
32139 }
32140 _ACEOF
32141 rm -f conftest.$ac_objext
32142 if { (ac_try="$ac_compile"
32143 case "(($ac_try" in
32144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32145 *) ac_try_echo=$ac_try;;
32146 esac
32147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32148 (eval "$ac_compile") 2>conftest.er1
32149 ac_status=$?
32150 grep -v '^ *+' conftest.er1 >conftest.err
32151 rm -f conftest.er1
32152 cat conftest.err >&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } && {
32155 test -z "$ac_c_werror_flag" ||
32156 test ! -s conftest.err
32157 } && test -s conftest.$ac_objext; then
32158 wx_cv_lib_motif2="yes"
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32162
32163 wx_cv_lib_motif2="no"
32164 fi
32165
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167 fi
32168 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32169 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32170 if test "$wx_cv_lib_motif2" = "yes"; then
32171 cat >>confdefs.h <<\_ACEOF
32172 #define __WXMOTIF20__ 1
32173 _ACEOF
32174
32175 else
32176 cat >>confdefs.h <<\_ACEOF
32177 #define __WXMOTIF20__ 0
32178 _ACEOF
32179
32180 fi
32181
32182 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32183 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32184 if test "${wx_cv_lib_lesstif+set}" = set; then
32185 echo $ECHO_N "(cached) $ECHO_C" >&6
32186 else
32187 cat >conftest.$ac_ext <<_ACEOF
32188 /* confdefs.h. */
32189 _ACEOF
32190 cat confdefs.h >>conftest.$ac_ext
32191 cat >>conftest.$ac_ext <<_ACEOF
32192 /* end confdefs.h. */
32193
32194 #include <Xm/Xm.h>
32195
32196 int
32197 main ()
32198 {
32199
32200 #if !defined(LesstifVersion) || LesstifVersion <= 0
32201 Not Lesstif
32202 #endif
32203
32204 ;
32205 return 0;
32206 }
32207 _ACEOF
32208 rm -f conftest.$ac_objext
32209 if { (ac_try="$ac_compile"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32213 esac
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_compile") 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } && {
32222 test -z "$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 } && test -s conftest.$ac_objext; then
32225 wx_cv_lib_lesstif="yes"
32226 else
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.$ac_ext >&5
32229
32230 wx_cv_lib_lesstif="no"
32231 fi
32232
32233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32234
32235 fi
32236 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32237 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32238 if test "$wx_cv_lib_lesstif" = "yes"; then
32239 cat >>confdefs.h <<\_ACEOF
32240 #define __WXLESSTIF__ 1
32241 _ACEOF
32242
32243 else
32244 cat >>confdefs.h <<\_ACEOF
32245 #define __WXLESSTIF__ 0
32246 _ACEOF
32247
32248 fi
32249
32250 CFLAGS=$save_CFLAGS
32251
32252 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32253 TOOLKIT=MOTIF
32254 GUIDIST=MOTIF_DIST
32255 fi
32256
32257 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32258 if test "$wxUSE_LIBXPM" = "sys"; then
32259 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32260 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32261
32262 ac_find_libraries=
32263 for ac_dir in $SEARCH_LIB;
32264 do
32265 for ac_extension in a so sl dylib dll.a; do
32266 if test -f "$ac_dir/libXpm.$ac_extension"; then
32267 ac_find_libraries=$ac_dir
32268 break 2
32269 fi
32270 done
32271 done
32272
32273 if test "$ac_find_libraries" != "" ; then
32274
32275 if test "$ac_find_libraries" = "default location"; then
32276 ac_path_to_link=""
32277 else
32278 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32279 result=$?
32280 if test $result = 0; then
32281 ac_path_to_link=""
32282 else
32283 ac_path_to_link=" -L$ac_find_libraries"
32284 fi
32285 fi
32286
32287 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32288 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32289 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32290
32291 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32292 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32293 if test "${wx_cv_x11_xpm_h+set}" = set; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32295 else
32296
32297 save_CFLAGS=$CFLAGS
32298 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32299
32300 cat >conftest.$ac_ext <<_ACEOF
32301 /* confdefs.h. */
32302 _ACEOF
32303 cat confdefs.h >>conftest.$ac_ext
32304 cat >>conftest.$ac_ext <<_ACEOF
32305 /* end confdefs.h. */
32306
32307 #include <X11/xpm.h>
32308
32309 int
32310 main ()
32311 {
32312
32313 int version;
32314 version = XpmLibraryVersion();
32315
32316 ;
32317 return 0;
32318 }
32319 _ACEOF
32320 rm -f conftest.$ac_objext
32321 if { (ac_try="$ac_compile"
32322 case "(($ac_try" in
32323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32324 *) ac_try_echo=$ac_try;;
32325 esac
32326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32327 (eval "$ac_compile") 2>conftest.er1
32328 ac_status=$?
32329 grep -v '^ *+' conftest.er1 >conftest.err
32330 rm -f conftest.er1
32331 cat conftest.err >&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } && {
32334 test -z "$ac_c_werror_flag" ||
32335 test ! -s conftest.err
32336 } && test -s conftest.$ac_objext; then
32337 wx_cv_x11_xpm_h=yes
32338 else
32339 echo "$as_me: failed program was:" >&5
32340 sed 's/^/| /' conftest.$ac_ext >&5
32341
32342 wx_cv_x11_xpm_h=no
32343
32344 fi
32345
32346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32347
32348 CFLAGS=$save_CFLAGS
32349
32350
32351 fi
32352 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32353 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32354
32355 if test $wx_cv_x11_xpm_h = "yes"; then
32356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32357 cat >>confdefs.h <<\_ACEOF
32358 #define wxHAVE_LIB_XPM 1
32359 _ACEOF
32360
32361 else
32362 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32363 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32364 fi
32365 fi
32366
32367 fi
32368
32369 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32370 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32371 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 else
32374 ac_check_lib_save_LIBS=$LIBS
32375 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32376 cat >conftest.$ac_ext <<_ACEOF
32377 /* confdefs.h. */
32378 _ACEOF
32379 cat confdefs.h >>conftest.$ac_ext
32380 cat >>conftest.$ac_ext <<_ACEOF
32381 /* end confdefs.h. */
32382
32383 /* Override any GCC internal prototype to avoid an error.
32384 Use char because int might match the return type of a GCC
32385 builtin and then its argument prototype would still apply. */
32386 #ifdef __cplusplus
32387 extern "C"
32388 #endif
32389 char XShapeQueryExtension ();
32390 int
32391 main ()
32392 {
32393 return XShapeQueryExtension ();
32394 ;
32395 return 0;
32396 }
32397 _ACEOF
32398 rm -f conftest.$ac_objext conftest$ac_exeext
32399 if { (ac_try="$ac_link"
32400 case "(($ac_try" in
32401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32402 *) ac_try_echo=$ac_try;;
32403 esac
32404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32405 (eval "$ac_link") 2>conftest.er1
32406 ac_status=$?
32407 grep -v '^ *+' conftest.er1 >conftest.err
32408 rm -f conftest.er1
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } && {
32412 test -z "$ac_c_werror_flag" ||
32413 test ! -s conftest.err
32414 } && test -s conftest$ac_exeext &&
32415 $as_test_x conftest$ac_exeext; then
32416 ac_cv_lib_Xext_XShapeQueryExtension=yes
32417 else
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.$ac_ext >&5
32420
32421 ac_cv_lib_Xext_XShapeQueryExtension=no
32422 fi
32423
32424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32425 conftest$ac_exeext conftest.$ac_ext
32426 LIBS=$ac_check_lib_save_LIBS
32427 fi
32428 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32429 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32430 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32431
32432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32433 wxHAVE_XEXT_LIB=1
32434
32435 fi
32436
32437
32438 if test "$wxHAVE_XEXT_LIB" = 1; then
32439 save_CFLAGS="$CFLAGS"
32440 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32441
32442 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32443 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32444 cat >conftest.$ac_ext <<_ACEOF
32445 /* confdefs.h. */
32446 _ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32450
32451 #include <X11/Xlib.h>
32452 #include <X11/extensions/shape.h>
32453
32454 int
32455 main ()
32456 {
32457
32458 int dummy1, dummy2;
32459 XShapeQueryExtension((Display*)NULL,
32460 (int*)NULL, (int*)NULL);
32461
32462 ;
32463 return 0;
32464 }
32465 _ACEOF
32466 rm -f conftest.$ac_objext
32467 if { (ac_try="$ac_compile"
32468 case "(($ac_try" in
32469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32470 *) ac_try_echo=$ac_try;;
32471 esac
32472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32473 (eval "$ac_compile") 2>conftest.er1
32474 ac_status=$?
32475 grep -v '^ *+' conftest.er1 >conftest.err
32476 rm -f conftest.er1
32477 cat conftest.err >&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); } && {
32480 test -z "$ac_c_werror_flag" ||
32481 test ! -s conftest.err
32482 } && test -s conftest.$ac_objext; then
32483
32484 cat >>confdefs.h <<\_ACEOF
32485 #define HAVE_XSHAPE 1
32486 _ACEOF
32487
32488 { echo "$as_me:$LINENO: result: found" >&5
32489 echo "${ECHO_T}found" >&6; }
32490
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495
32496 { echo "$as_me:$LINENO: result: not found" >&5
32497 echo "${ECHO_T}not found" >&6; }
32498
32499 fi
32500
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 CFLAGS="$save_CFLAGS"
32503
32504 fi
32505 fi
32506
32507 if test "$wxUSE_MAC" = 1; then
32508 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32509 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32510 if test "$GCC" = yes; then
32511 { echo "$as_me:$LINENO: result: gcc" >&5
32512 echo "${ECHO_T}gcc" >&6; }
32513 CPPFLAGS_PASCAL="-fpascal-strings"
32514 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32515 { echo "$as_me:$LINENO: result: xlc" >&5
32516 echo "${ECHO_T}xlc" >&6; }
32517 CPPFLAGS_PASCAL="-qmacpstr"
32518 else
32519 { echo "$as_me:$LINENO: result: none" >&5
32520 echo "${ECHO_T}none" >&6; }
32521 fi
32522
32523 if test "x$wxUSE_UNIX" = "xyes"; then
32524 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32525 else
32526 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32527 fi
32528
32529 TOOLKIT=MAC
32530 GUIDIST=MACX_DIST
32531 WXBASEPORT="_carbon"
32532 fi
32533
32534 if test "$wxUSE_COCOA" = 1; then
32535 TOOLKIT=COCOA
32536 GUIDIST=COCOA_DIST
32537 fi
32538
32539 if test "$wxUSE_PM" = 1; then
32540 TOOLKIT=PM
32541 GUIDIST=PM_DIST
32542 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32543 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32544 if test "${wx_cv_spbcdata+set}" = set; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32546 else
32547
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h. */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32554
32555 #define INCL_PM
32556 #include <os2.h>
32557
32558 int
32559 main ()
32560 {
32561
32562 SPBCDATA test;
32563
32564 ;
32565 return 0;
32566 }
32567 _ACEOF
32568 rm -f conftest.$ac_objext
32569 if { (ac_try="$ac_compile"
32570 case "(($ac_try" in
32571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32572 *) ac_try_echo=$ac_try;;
32573 esac
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_compile") 2>conftest.er1
32576 ac_status=$?
32577 grep -v '^ *+' conftest.er1 >conftest.err
32578 rm -f conftest.er1
32579 cat conftest.err >&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest.$ac_objext; then
32585 wx_cv_spbcdata=yes
32586 else
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32589
32590 wx_cv_spbcdata=no
32591
32592 fi
32593
32594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32595
32596
32597 fi
32598 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32599 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32600
32601 if test $wx_cv_spbcdata = "yes"; then
32602 cat >>confdefs.h <<\_ACEOF
32603 #define HAVE_SPBCDATA 1
32604 _ACEOF
32605
32606 fi
32607 fi
32608
32609 if test "$TOOLKIT" = "PM" ; then
32610 TOOLKIT_DIR="os2"
32611 else
32612 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32613 fi
32614
32615 if test "$wxUSE_UNIVERSAL" = "yes"; then
32616 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32617 WIDGET_SET=univ
32618 fi
32619
32620 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32621 DISTDIR="wx\$(TOOLKIT)"
32622 else
32623 USE_GUI=0
32624
32625 TOOLKIT_DIR="base"
32626
32627 if test "$USE_WIN32" = 1 ; then
32628 TOOLKIT="MSW"
32629 fi
32630
32631 GUIDIST="BASE_DIST"
32632 DISTDIR="wxBase"
32633 fi
32634
32635
32636
32637 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32638 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32639 wxUSE_UNICODE_UTF8=yes
32640 elif test "$USE_OS2" = 1 ; then
32641 wxUSE_UNICODE_UTF8=yes
32642 else
32643 wxUSE_UNICODE_UTF8=no
32644 fi
32645 fi
32646
32647
32648 if test "$wxUSE_GUI" = "yes"; then
32649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32650
32651 for ac_header in X11/Xlib.h
32652 do
32653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 else
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665
32666
32667 #include <$ac_header>
32668 _ACEOF
32669 rm -f conftest.$ac_objext
32670 if { (ac_try="$ac_compile"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32674 esac
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_compile") 2>conftest.er1
32677 ac_status=$?
32678 grep -v '^ *+' conftest.er1 >conftest.err
32679 rm -f conftest.er1
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest.$ac_objext; then
32686 eval "$as_ac_Header=yes"
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 eval "$as_ac_Header=no"
32692 fi
32693
32694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32695 fi
32696 ac_res=`eval echo '${'$as_ac_Header'}'`
32697 { echo "$as_me:$LINENO: result: $ac_res" >&5
32698 echo "${ECHO_T}$ac_res" >&6; }
32699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32700 cat >>confdefs.h <<_ACEOF
32701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32702 _ACEOF
32703
32704 fi
32705
32706 done
32707
32708
32709 for ac_header in X11/XKBlib.h
32710 do
32711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32716 else
32717 cat >conftest.$ac_ext <<_ACEOF
32718 /* confdefs.h. */
32719 _ACEOF
32720 cat confdefs.h >>conftest.$ac_ext
32721 cat >>conftest.$ac_ext <<_ACEOF
32722 /* end confdefs.h. */
32723
32724 #if HAVE_X11_XLIB_H
32725 #include <X11/Xlib.h>
32726 #endif
32727
32728
32729 #include <$ac_header>
32730 _ACEOF
32731 rm -f conftest.$ac_objext
32732 if { (ac_try="$ac_compile"
32733 case "(($ac_try" in
32734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32735 *) ac_try_echo=$ac_try;;
32736 esac
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_compile") 2>conftest.er1
32739 ac_status=$?
32740 grep -v '^ *+' conftest.er1 >conftest.err
32741 rm -f conftest.er1
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest.$ac_objext; then
32748 eval "$as_ac_Header=yes"
32749 else
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.$ac_ext >&5
32752
32753 eval "$as_ac_Header=no"
32754 fi
32755
32756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 fi
32758 ac_res=`eval echo '${'$as_ac_Header'}'`
32759 { echo "$as_me:$LINENO: result: $ac_res" >&5
32760 echo "${ECHO_T}$ac_res" >&6; }
32761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32762 cat >>confdefs.h <<_ACEOF
32763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32764 _ACEOF
32765
32766 fi
32767
32768 done
32769
32770 fi
32771 fi
32772
32773
32774
32775 if test "$wxUSE_DISPLAY" = "yes"; then
32776 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32777 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32778 echo $ECHO_N "checking for Xinerama... $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/libXinerama.$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" ; then
32806 LDFLAGS="$LDFLAGS $ac_path_to_link"
32807 fi
32808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32811
32812 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32813 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32814
32815 ac_find_libraries=
32816 for ac_dir in $SEARCH_LIB;
32817 do
32818 for ac_extension in a so sl dylib dll.a; do
32819 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32820 ac_find_libraries=$ac_dir
32821 break 2
32822 fi
32823 done
32824 done
32825
32826 if test "$ac_find_libraries" != "" ; then
32827 { echo "$as_me:$LINENO: result: yes" >&5
32828 echo "${ECHO_T}yes" >&6; }
32829
32830 for ac_header in X11/extensions/xf86vmode.h
32831 do
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 else
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844
32845 #if HAVE_X11_XLIB_H
32846 #include <X11/Xlib.h>
32847 #endif
32848
32849
32850 #include <$ac_header>
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (ac_try="$ac_compile"
32854 case "(($ac_try" in
32855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32856 *) ac_try_echo=$ac_try;;
32857 esac
32858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32859 (eval "$ac_compile") 2>conftest.er1
32860 ac_status=$?
32861 grep -v '^ *+' conftest.er1 >conftest.err
32862 rm -f conftest.er1
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } && {
32866 test -z "$ac_c_werror_flag" ||
32867 test ! -s conftest.err
32868 } && test -s conftest.$ac_objext; then
32869 eval "$as_ac_Header=yes"
32870 else
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.$ac_ext >&5
32873
32874 eval "$as_ac_Header=no"
32875 fi
32876
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 fi
32879 ac_res=`eval echo '${'$as_ac_Header'}'`
32880 { echo "$as_me:$LINENO: result: $ac_res" >&5
32881 echo "${ECHO_T}$ac_res" >&6; }
32882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32883 cat >>confdefs.h <<_ACEOF
32884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32885 _ACEOF
32886
32887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32888
32889 fi
32890
32891 done
32892
32893 else
32894 { echo "$as_me:$LINENO: result: no" >&5
32895 echo "${ECHO_T}no" >&6; }
32896 fi
32897
32898 else
32899 { echo "$as_me:$LINENO: result: no" >&5
32900 echo "${ECHO_T}no" >&6; }
32901 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32902 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32903 wxUSE_DISPLAY="no"
32904 fi
32905 elif test "$wxUSE_MSW" = 1; then
32906 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32907 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32908 if test "${ac_cv_header_ddraw_h+set}" = set; then
32909 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 else
32911 cat >conftest.$ac_ext <<_ACEOF
32912 /* confdefs.h. */
32913 _ACEOF
32914 cat confdefs.h >>conftest.$ac_ext
32915 cat >>conftest.$ac_ext <<_ACEOF
32916 /* end confdefs.h. */
32917 #include <windows.h>
32918
32919 #include <ddraw.h>
32920 _ACEOF
32921 rm -f conftest.$ac_objext
32922 if { (ac_try="$ac_compile"
32923 case "(($ac_try" in
32924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32925 *) ac_try_echo=$ac_try;;
32926 esac
32927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32928 (eval "$ac_compile") 2>conftest.er1
32929 ac_status=$?
32930 grep -v '^ *+' conftest.er1 >conftest.err
32931 rm -f conftest.er1
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } && {
32935 test -z "$ac_c_werror_flag" ||
32936 test ! -s conftest.err
32937 } && test -s conftest.$ac_objext; then
32938 ac_cv_header_ddraw_h=yes
32939 else
32940 echo "$as_me: failed program was:" >&5
32941 sed 's/^/| /' conftest.$ac_ext >&5
32942
32943 ac_cv_header_ddraw_h=no
32944 fi
32945
32946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32947 fi
32948 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32949 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32950
32951
32952 fi
32953 fi
32954
32955 if test "$wxUSE_DETECT_SM" = "yes"; then
32956 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32957 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32958 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32959
32960 ac_find_libraries=
32961 for ac_dir in $SEARCH_LIB;
32962 do
32963 for ac_extension in a so sl dylib dll.a; do
32964 if test -f "$ac_dir/libSM.$ac_extension"; then
32965 ac_find_libraries=$ac_dir
32966 break 2
32967 fi
32968 done
32969 done
32970
32971 if test "$ac_find_libraries" != "" ; then
32972
32973 if test "$ac_find_libraries" = "default location"; then
32974 ac_path_to_link=""
32975 else
32976 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32977 result=$?
32978 if test $result = 0; then
32979 ac_path_to_link=""
32980 else
32981 ac_path_to_link=" -L$ac_find_libraries"
32982 fi
32983 fi
32984
32985 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32986 LDFLAGS="$LDFLAGS $ac_path_to_link"
32987 fi
32988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32989 { echo "$as_me:$LINENO: result: yes" >&5
32990 echo "${ECHO_T}yes" >&6; }
32991 else
32992 { echo "$as_me:$LINENO: result: no" >&5
32993 echo "${ECHO_T}no" >&6; }
32994 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32995 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32996 wxUSE_DETECT_SM="no"
32997 fi
32998 else
32999 wxUSE_DETECT_SM="no"
33000 fi
33001 fi
33002
33003
33004
33005 USE_OPENGL=0
33006 if test "$wxUSE_OPENGL" = "yes"; then
33007 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33008 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33009 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33010 wxUSE_OPENGL="no"
33011 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33012 OPENGL_LIBS="-framework OpenGL -framework AGL"
33013 elif test "$wxUSE_MSW" = 1; then
33014 OPENGL_LIBS="-lopengl32 -lglu32"
33015 else
33016 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33017 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33018
33019 ac_find_includes=
33020 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33021 do
33022 if test -f "$ac_dir/GL/gl.h"; then
33023 ac_find_includes=$ac_dir
33024 break
33025 fi
33026 done
33027
33028 if test "$ac_find_includes" != "" ; then
33029 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33030 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33031
33032 if test "x$ac_find_includes" = "x/usr/include"; then
33033 ac_path_to_include=""
33034 else
33035 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33036 result=$?
33037 if test $result = 0; then
33038 ac_path_to_include=""
33039 else
33040 ac_path_to_include=" -I$ac_find_includes"
33041 fi
33042 fi
33043
33044 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33045 else
33046 { echo "$as_me:$LINENO: result: not found" >&5
33047 echo "${ECHO_T}not found" >&6; }
33048 fi
33049
33050 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33051 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33052 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 else
33055 cat >conftest.$ac_ext <<_ACEOF
33056 /* confdefs.h. */
33057 _ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061
33062
33063 #include <GL/gl.h>
33064 _ACEOF
33065 rm -f conftest.$ac_objext
33066 if { (ac_try="$ac_compile"
33067 case "(($ac_try" in
33068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33069 *) ac_try_echo=$ac_try;;
33070 esac
33071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33072 (eval "$ac_compile") 2>conftest.er1
33073 ac_status=$?
33074 grep -v '^ *+' conftest.er1 >conftest.err
33075 rm -f conftest.er1
33076 cat conftest.err >&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } && {
33079 test -z "$ac_c_werror_flag" ||
33080 test ! -s conftest.err
33081 } && test -s conftest.$ac_objext; then
33082 ac_cv_header_GL_gl_h=yes
33083 else
33084 echo "$as_me: failed program was:" >&5
33085 sed 's/^/| /' conftest.$ac_ext >&5
33086
33087 ac_cv_header_GL_gl_h=no
33088 fi
33089
33090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33091 fi
33092 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33093 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33094 if test $ac_cv_header_GL_gl_h = yes; then
33095
33096 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33097 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33098 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 else
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107
33108
33109 #include <GL/glu.h>
33110 _ACEOF
33111 rm -f conftest.$ac_objext
33112 if { (ac_try="$ac_compile"
33113 case "(($ac_try" in
33114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33115 *) ac_try_echo=$ac_try;;
33116 esac
33117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33118 (eval "$ac_compile") 2>conftest.er1
33119 ac_status=$?
33120 grep -v '^ *+' conftest.er1 >conftest.err
33121 rm -f conftest.er1
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } && {
33125 test -z "$ac_c_werror_flag" ||
33126 test ! -s conftest.err
33127 } && test -s conftest.$ac_objext; then
33128 ac_cv_header_GL_glu_h=yes
33129 else
33130 echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.$ac_ext >&5
33132
33133 ac_cv_header_GL_glu_h=no
33134 fi
33135
33136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 fi
33138 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33139 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33140 if test $ac_cv_header_GL_glu_h = yes; then
33141
33142 found_gl=0
33143
33144 { echo "$as_me:$LINENO: checking for -lGL" >&5
33145 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33146
33147 ac_find_libraries=
33148 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33149 do
33150 for ac_extension in a so sl dylib dll.a; do
33151 if test -f "$ac_dir/libGL.$ac_extension"; then
33152 ac_find_libraries=$ac_dir
33153 break 2
33154 fi
33155 done
33156 done
33157
33158 if test "$ac_find_libraries" != "" ; then
33159 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33160 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33161
33162
33163 if test "$ac_find_libraries" = "default location"; then
33164 ac_path_to_link=""
33165 else
33166 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33167 result=$?
33168 if test $result = 0; then
33169 ac_path_to_link=""
33170 else
33171 ac_path_to_link=" -L$ac_find_libraries"
33172 fi
33173 fi
33174
33175 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33176 LDFLAGS_GL="$ac_path_to_link"
33177 fi
33178
33179 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33180 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33181
33182 ac_find_libraries=
33183 for ac_dir in $SEARCH_LIB;
33184 do
33185 for ac_extension in a so sl dylib dll.a; do
33186 if test -f "$ac_dir/libGLU.$ac_extension"; then
33187 ac_find_libraries=$ac_dir
33188 break 2
33189 fi
33190 done
33191 done
33192
33193 if test "$ac_find_libraries" != "" ; then
33194
33195 if test "$ac_find_libraries" = "default location"; then
33196 ac_path_to_link=""
33197 else
33198 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33199 result=$?
33200 if test $result = 0; then
33201 ac_path_to_link=""
33202 else
33203 ac_path_to_link=" -L$ac_find_libraries"
33204 fi
33205 fi
33206
33207 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33208 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33209 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33210 fi
33211
33212 found_gl=1
33213 OPENGL_LIBS="-lGL -lGLU"
33214 { echo "$as_me:$LINENO: result: yes" >&5
33215 echo "${ECHO_T}yes" >&6; }
33216 else
33217 { echo "$as_me:$LINENO: result: no" >&5
33218 echo "${ECHO_T}no" >&6; }
33219 fi
33220 else
33221 { echo "$as_me:$LINENO: result: no" >&5
33222 echo "${ECHO_T}no" >&6; }
33223 fi
33224
33225 if test "$found_gl" != 1; then
33226 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33227 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33228
33229 ac_find_libraries=
33230 for ac_dir in $SEARCH_LIB;
33231 do
33232 for ac_extension in a so sl dylib dll.a; do
33233 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33234 ac_find_libraries=$ac_dir
33235 break 2
33236 fi
33237 done
33238 done
33239
33240 if test "$ac_find_libraries" != "" ; then
33241
33242 if test "$ac_find_libraries" = "default location"; then
33243 ac_path_to_link=""
33244 else
33245 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33246 result=$?
33247 if test $result = 0; then
33248 ac_path_to_link=""
33249 else
33250 ac_path_to_link=" -L$ac_find_libraries"
33251 fi
33252 fi
33253
33254 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33255 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33256 { echo "$as_me:$LINENO: result: yes" >&5
33257 echo "${ECHO_T}yes" >&6; }
33258 else
33259 { echo "$as_me:$LINENO: result: no" >&5
33260 echo "${ECHO_T}no" >&6; }
33261 fi
33262 fi
33263
33264 fi
33265
33266
33267
33268 fi
33269
33270
33271
33272 if test "x$OPENGL_LIBS" = "x"; then
33273 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33274 echo "$as_me: error: OpenGL libraries not available" >&2;}
33275 { (exit 1); exit 1; }; }
33276 fi
33277 fi
33278
33279 if test "$wxUSE_OPENGL" = "yes"; then
33280 USE_OPENGL=1
33281 cat >>confdefs.h <<\_ACEOF
33282 #define wxUSE_OPENGL 1
33283 _ACEOF
33284
33285 cat >>confdefs.h <<\_ACEOF
33286 #define wxUSE_GLCANVAS 1
33287 _ACEOF
33288
33289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33290 fi
33291 fi
33292
33293
33294 if test -n "$TOOLKIT" ; then
33295 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33296 fi
33297
33298
33299
33300 if test "$wxUSE_SHARED" = "yes"; then
33301 case "${host}" in
33302 *-pc-msdosdjgpp )
33303 wxUSE_SHARED=no
33304 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33305 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33306 ;;
33307 esac
33308 fi
33309
33310 if test "$wxUSE_SHARED" = "yes"; then
33311
33312
33313 case "${host}" in
33314 *-*-cygwin* | *-*-mingw* )
33315 wx_cv_version_script=no
33316 ;;
33317
33318 *)
33319 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33320 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33321 if test "${wx_cv_version_script+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 else
33324
33325 echo "VER_1 { *; };" >conftest.sym
33326 echo "int main() { return 0; }" >conftest.cpp
33327
33328 if { ac_try='
33329 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33330 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33332 (eval $ac_try) 2>&5
33333 ac_status=$?
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); }; } ; then
33336 if test -s conftest.stderr ; then
33337 wx_cv_version_script=no
33338 else
33339 wx_cv_version_script=yes
33340 fi
33341 else
33342 wx_cv_version_script=no
33343 fi
33344
33345 if test $wx_cv_version_script = yes
33346 then
33347 echo "struct B { virtual ~B() { } }; \
33348 struct D : public B { }; \
33349 void F() { D d; }" > conftest.cpp
33350
33351 if { ac_try='
33352 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33353 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33359 { ac_try='
33360 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33361 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33364 ac_status=$?
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; }
33367 then
33368 if { ac_try='
33369 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33370 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33373 ac_status=$?
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }
33376 then
33377 wx_cv_version_script=yes
33378 else
33379 wx_cv_version_script=no
33380 fi
33381 fi
33382 fi
33383
33384 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33385 rm -f conftest1.output conftest2.output conftest3.output
33386
33387 fi
33388 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33389 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33390
33391 if test $wx_cv_version_script = yes ; then
33392 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33393 fi
33394 ;;
33395 esac
33396
33397
33398 if test "$wxUSE_VISIBILITY" != "no"; then
33399
33400
33401 if test -n "$GCC"; then
33402 CFLAGS_VISIBILITY="-fvisibility=hidden"
33403 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33404 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33405 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33406 if test "${wx_cv_cc_visibility+set}" = set; then
33407 echo $ECHO_N "(cached) $ECHO_C" >&6
33408 else
33409
33410 wx_save_CXXFLAGS="$CXXFLAGS"
33411 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33412 ac_ext=cpp
33413 ac_cpp='$CXXCPP $CPPFLAGS'
33414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33417
33418 cat >conftest.$ac_ext <<_ACEOF
33419 /* confdefs.h. */
33420 _ACEOF
33421 cat confdefs.h >>conftest.$ac_ext
33422 cat >>conftest.$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33424
33425 /* we need gcc >= 4.0, older versions with visibility support
33426 didn't have class visibility: */
33427 #if defined(__GNUC__) && __GNUC__ < 4
33428 error this gcc is too old;
33429 #endif
33430
33431 /* visibility only makes sense for ELF shared libs: */
33432 #if !defined(__ELF__) && !defined(__APPLE__)
33433 error this platform has no visibility;
33434 #endif
33435
33436 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33437 extern __attribute__((__visibility__("default"))) int exportedvar;
33438 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33439 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33440 class __attribute__((__visibility__("default"))) Foo {
33441 Foo() {}
33442 };
33443
33444 int
33445 main ()
33446 {
33447
33448 ;
33449 return 0;
33450 }
33451 _ACEOF
33452 rm -f conftest.$ac_objext
33453 if { (ac_try="$ac_compile"
33454 case "(($ac_try" in
33455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33456 *) ac_try_echo=$ac_try;;
33457 esac
33458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33459 (eval "$ac_compile") 2>conftest.er1
33460 ac_status=$?
33461 grep -v '^ *+' conftest.er1 >conftest.err
33462 rm -f conftest.er1
33463 cat conftest.err >&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } && {
33466 test -z "$ac_cxx_werror_flag" ||
33467 test ! -s conftest.err
33468 } && test -s conftest.$ac_objext; then
33469 wx_cv_cc_visibility=yes
33470 else
33471 echo "$as_me: failed program was:" >&5
33472 sed 's/^/| /' conftest.$ac_ext >&5
33473
33474 wx_cv_cc_visibility=no
33475 fi
33476
33477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33478 ac_ext=c
33479 ac_cpp='$CPP $CPPFLAGS'
33480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33483
33484 CXXFLAGS="$wx_save_CXXFLAGS"
33485 fi
33486
33487 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33488 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33489 if test $wx_cv_cc_visibility = yes; then
33490 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33491 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33492 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 else
33495
33496 wx_save_CXXFLAGS="$CXXFLAGS"
33497 wx_save_LDFLAGS="$LDFLAGS"
33498 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33499 LDFLAGS="$LDFLAGS -shared -fPIC"
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506 cat >conftest.$ac_ext <<_ACEOF
33507 /* confdefs.h. */
33508 _ACEOF
33509 cat confdefs.h >>conftest.$ac_ext
33510 cat >>conftest.$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512
33513 #include <string>
33514
33515 int
33516 main ()
33517 {
33518
33519 std::string s("hello");
33520 return s.length();
33521
33522 ;
33523 return 0;
33524 }
33525 _ACEOF
33526 rm -f conftest.$ac_objext conftest$ac_exeext
33527 if { (ac_try="$ac_link"
33528 case "(($ac_try" in
33529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33530 *) ac_try_echo=$ac_try;;
33531 esac
33532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33533 (eval "$ac_link") 2>conftest.er1
33534 ac_status=$?
33535 grep -v '^ *+' conftest.er1 >conftest.err
33536 rm -f conftest.er1
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } && {
33540 test -z "$ac_cxx_werror_flag" ||
33541 test ! -s conftest.err
33542 } && test -s conftest$ac_exeext &&
33543 $as_test_x conftest$ac_exeext; then
33544 wx_cv_cc_broken_libstdcxx_visibility=no
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 wx_cv_cc_broken_libstdcxx_visibility=yes
33550 fi
33551
33552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33553 conftest$ac_exeext conftest.$ac_ext
33554 ac_ext=c
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33559
33560 CXXFLAGS="$wx_save_CXXFLAGS"
33561 LDFLAGS="$wx_save_LDFLAGS"
33562 fi
33563
33564 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33565 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33566
33567 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33568 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33569 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33570 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33572 else
33573
33574 ac_ext=cpp
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586
33587 #pragma GCC visibility push(default)
33588 #include <string>
33589 #pragma GCC visibility pop
33590
33591 int
33592 main ()
33593 {
33594
33595 std::string s("hello");
33596 return s.length();
33597
33598 ;
33599 return 0;
33600 }
33601 _ACEOF
33602 rm -f conftest.$ac_objext conftest$ac_exeext
33603 if { (ac_try="$ac_link"
33604 case "(($ac_try" in
33605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33606 *) ac_try_echo=$ac_try;;
33607 esac
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_link") 2>conftest.er1
33610 ac_status=$?
33611 grep -v '^ *+' conftest.er1 >conftest.err
33612 rm -f conftest.er1
33613 cat conftest.err >&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_cxx_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest$ac_exeext &&
33619 $as_test_x conftest$ac_exeext; then
33620 wx_cv_cc_visibility_workaround=no
33621 else
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33624
33625 wx_cv_cc_visibility_workaround=yes
33626 fi
33627
33628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33629 conftest$ac_exeext conftest.$ac_ext
33630 ac_ext=c
33631 ac_cpp='$CPP $CPPFLAGS'
33632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33635
33636
33637 fi
33638
33639 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33640 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33641
33642 if test $wx_cv_cc_visibility_workaround = no; then
33643 wx_cv_cc_visibility=no
33644 fi
33645 fi
33646 fi
33647
33648 if test $wx_cv_cc_visibility = yes; then
33649 cat >>confdefs.h <<\_ACEOF
33650 #define HAVE_VISIBILITY 1
33651 _ACEOF
33652
33653 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33654 cat >>confdefs.h <<\_ACEOF
33655 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33656 _ACEOF
33657
33658 fi
33659 else
33660 CFLAGS_VISIBILITY=""
33661 CXXFLAGS_VISIBILITY=""
33662 fi
33663
33664
33665 fi
33666
33667 fi
33668
33669 if test "x$SUNCXX" = xyes; then
33670 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33671 WXCONFIG_RPATH="-R\$libdir"
33672 else
33673 case "${host}" in
33674 *-*-linux* | *-*-gnu* )
33675 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33676 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33677 ;;
33678
33679 *-*-solaris2* )
33680
33681 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33682
33683 saveLdflags="$LDFLAGS"
33684 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33685 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33686 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33687 cat >conftest.$ac_ext <<_ACEOF
33688 /* confdefs.h. */
33689 _ACEOF
33690 cat confdefs.h >>conftest.$ac_ext
33691 cat >>conftest.$ac_ext <<_ACEOF
33692 /* end confdefs.h. */
33693
33694 int
33695 main ()
33696 {
33697
33698 ;
33699 return 0;
33700 }
33701 _ACEOF
33702 rm -f conftest.$ac_objext conftest$ac_exeext
33703 if { (ac_try="$ac_link"
33704 case "(($ac_try" in
33705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33706 *) ac_try_echo=$ac_try;;
33707 esac
33708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33709 (eval "$ac_link") 2>conftest.er1
33710 ac_status=$?
33711 grep -v '^ *+' conftest.er1 >conftest.err
33712 rm -f conftest.er1
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } && {
33716 test -z "$ac_c_werror_flag" ||
33717 test ! -s conftest.err
33718 } && test -s conftest$ac_exeext &&
33719 $as_test_x conftest$ac_exeext; then
33720
33721 { echo "$as_me:$LINENO: result: yes" >&5
33722 echo "${ECHO_T}yes" >&6; }
33723 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33724 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33725
33726 else
33727 echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.$ac_ext >&5
33729
33730
33731 { echo "$as_me:$LINENO: result: no" >&5
33732 echo "${ECHO_T}no" >&6; }
33733 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33734 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33735 LDFLAGS="$saveLdflags -Wl,-R,/"
33736 cat >conftest.$ac_ext <<_ACEOF
33737 /* confdefs.h. */
33738 _ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742
33743 int
33744 main ()
33745 {
33746
33747 ;
33748 return 0;
33749 }
33750 _ACEOF
33751 rm -f conftest.$ac_objext conftest$ac_exeext
33752 if { (ac_try="$ac_link"
33753 case "(($ac_try" in
33754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33755 *) ac_try_echo=$ac_try;;
33756 esac
33757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33758 (eval "$ac_link") 2>conftest.er1
33759 ac_status=$?
33760 grep -v '^ *+' conftest.er1 >conftest.err
33761 rm -f conftest.er1
33762 cat conftest.err >&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } && {
33765 test -z "$ac_c_werror_flag" ||
33766 test ! -s conftest.err
33767 } && test -s conftest$ac_exeext &&
33768 $as_test_x conftest$ac_exeext; then
33769
33770 { echo "$as_me:$LINENO: result: yes" >&5
33771 echo "${ECHO_T}yes" >&6; }
33772 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33773 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33774
33775 else
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33778
33779
33780 { echo "$as_me:$LINENO: result: no" >&5
33781 echo "${ECHO_T}no" >&6; }
33782
33783 fi
33784
33785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33786 conftest$ac_exeext conftest.$ac_ext
33787
33788 fi
33789
33790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33791 conftest$ac_exeext conftest.$ac_ext
33792 LDFLAGS="$saveLdflags"
33793 ;;
33794
33795 *-*-darwin* )
33796 install_name_tool=`which install_name_tool`
33797 if test "$install_name_tool" -a -x "$install_name_tool"; then
33798 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33799 cat <<EOF >change-install-names
33800 #!/bin/sh
33801 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33802 inst_cmd="install_name_tool "
33803 for i in \${libnames} ; do
33804 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33805 done
33806 \${inst_cmd} \${3}
33807 EOF
33808 chmod +x change-install-names
33809 fi
33810 ;;
33811
33812 *-*-cygwin* | *-*-mingw32* )
33813 ;;
33814
33815 *-*-hpux* )
33816 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33817 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33818 ;;
33819
33820 esac
33821 fi
33822
33823 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33824
33825 if test $wxUSE_RPATH = "no"; then
33826 SAMPLES_RPATH_FLAG=''
33827 SAMPLES_RPATH_POSTLINK=''
33828 WXCONFIG_RPATH=''
33829 fi
33830
33831 SHARED=1
33832
33833 else
33834
33835 config_linkage_component="-static"
33836 SHARED=0
33837
33838 fi
33839
33840
33841 UNICODE=0
33842 lib_unicode_suffix=
33843 WX_CHARTYPE="ansi"
33844 if test "$wxUSE_UNICODE" = "yes"; then
33845 lib_unicode_suffix=u
33846 WX_CHARTYPE="unicode"
33847 UNICODE=1
33848 fi
33849
33850 lib_debug_suffix=
33851 WX_DEBUGTYPE="release"
33852 DEBUG_FLAG=0
33853 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33854 lib_debug_suffix=d
33855 WX_DEBUGTYPE="debug"
33856 DEBUG_FLAG=1
33857 fi
33858
33859 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33860 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33861
33862 DEBUG_INFO=0
33863 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33864 DEBUG_INFO=1
33865 fi
33866
33867 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33868
33869 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33870
33871 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33872
33873 if test "$cross_compiling" = "yes"; then
33874 HOST_SUFFIX="-$host_alias"
33875 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33876 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33877 fi
33878
33879 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33880 if test "${TOOLKIT_DIR}" = "os2"; then
33881 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33882 else
33883 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33884 fi
33885
33886
33887
33888 if test "$wxUSE_COCOA" = 1; then
33889
33890 ac_ext=c
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33895
33896 ac_ext=m
33897
33898 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33899 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33900 cat >conftest.$ac_ext <<_ACEOF
33901 /* confdefs.h. */
33902 _ACEOF
33903 cat confdefs.h >>conftest.$ac_ext
33904 cat >>conftest.$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33906 #include <AppKit/NSEvent.h>
33907 #include <CoreFoundation/CoreFoundation.h>
33908
33909 int
33910 main ()
33911 {
33912
33913 ;
33914 return 0;
33915 }
33916 _ACEOF
33917 rm -f conftest.$ac_objext
33918 if { (ac_try="$ac_compile"
33919 case "(($ac_try" in
33920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33921 *) ac_try_echo=$ac_try;;
33922 esac
33923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33924 (eval "$ac_compile") 2>conftest.er1
33925 ac_status=$?
33926 grep -v '^ *+' conftest.er1 >conftest.err
33927 rm -f conftest.er1
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } && {
33931 test -z "$ac_c_werror_flag" ||
33932 test ! -s conftest.err
33933 } && test -s conftest.$ac_objext; then
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33936 else
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33939
33940 { echo "$as_me:$LINENO: result: yes" >&5
33941 echo "${ECHO_T}yes" >&6; }
33942 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33943 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 #define __Point__ 1
33951 #include <AppKit/NSEvent.h>
33952 #include <CoreFoundation/CoreFoundation.h>
33953
33954 int
33955 main ()
33956 {
33957
33958 ;
33959 return 0;
33960 }
33961 _ACEOF
33962 rm -f conftest.$ac_objext
33963 if { (ac_try="$ac_compile"
33964 case "(($ac_try" in
33965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33966 *) ac_try_echo=$ac_try;;
33967 esac
33968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33969 (eval "$ac_compile") 2>conftest.er1
33970 ac_status=$?
33971 grep -v '^ *+' conftest.er1 >conftest.err
33972 rm -f conftest.er1
33973 cat conftest.err >&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); } && {
33976 test -z "$ac_c_werror_flag" ||
33977 test ! -s conftest.err
33978 } && test -s conftest.$ac_objext; then
33979 { echo "$as_me:$LINENO: result: yes" >&5
33980 echo "${ECHO_T}yes" >&6; }
33981 cat >>confdefs.h <<\_ACEOF
33982 #define __Point__ 1
33983 _ACEOF
33984
33985
33986 else
33987 echo "$as_me: failed program was:" >&5
33988 sed 's/^/| /' conftest.$ac_ext >&5
33989
33990 { { echo "$as_me:$LINENO: error: no
33991 See \`config.log' for more details." >&5
33992 echo "$as_me: error: no
33993 See \`config.log' for more details." >&2;}
33994 { (exit 1); exit 1; }; }
33995
33996 fi
33997
33998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33999
34000 fi
34001
34002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34003 ac_ext=c
34004 ac_cpp='$CPP $CPPFLAGS'
34005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34008
34009 fi
34010
34011
34012 { echo "$as_me:$LINENO: checking for mode_t" >&5
34013 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34014 if test "${ac_cv_type_mode_t+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017 cat >conftest.$ac_ext <<_ACEOF
34018 /* confdefs.h. */
34019 _ACEOF
34020 cat confdefs.h >>conftest.$ac_ext
34021 cat >>conftest.$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 $ac_includes_default
34024 typedef mode_t ac__type_new_;
34025 int
34026 main ()
34027 {
34028 if ((ac__type_new_ *) 0)
34029 return 0;
34030 if (sizeof (ac__type_new_))
34031 return 0;
34032 ;
34033 return 0;
34034 }
34035 _ACEOF
34036 rm -f conftest.$ac_objext
34037 if { (ac_try="$ac_compile"
34038 case "(($ac_try" in
34039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34040 *) ac_try_echo=$ac_try;;
34041 esac
34042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34043 (eval "$ac_compile") 2>conftest.er1
34044 ac_status=$?
34045 grep -v '^ *+' conftest.er1 >conftest.err
34046 rm -f conftest.er1
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } && {
34050 test -z "$ac_c_werror_flag" ||
34051 test ! -s conftest.err
34052 } && test -s conftest.$ac_objext; then
34053 ac_cv_type_mode_t=yes
34054 else
34055 echo "$as_me: failed program was:" >&5
34056 sed 's/^/| /' conftest.$ac_ext >&5
34057
34058 ac_cv_type_mode_t=no
34059 fi
34060
34061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34062 fi
34063 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34064 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34065 if test $ac_cv_type_mode_t = yes; then
34066 :
34067 else
34068
34069 cat >>confdefs.h <<_ACEOF
34070 #define mode_t int
34071 _ACEOF
34072
34073 fi
34074
34075 { echo "$as_me:$LINENO: checking for off_t" >&5
34076 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34077 if test "${ac_cv_type_off_t+set}" = set; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 else
34080 cat >conftest.$ac_ext <<_ACEOF
34081 /* confdefs.h. */
34082 _ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086 $ac_includes_default
34087 typedef off_t ac__type_new_;
34088 int
34089 main ()
34090 {
34091 if ((ac__type_new_ *) 0)
34092 return 0;
34093 if (sizeof (ac__type_new_))
34094 return 0;
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34103 *) ac_try_echo=$ac_try;;
34104 esac
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_c_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.$ac_objext; then
34116 ac_cv_type_off_t=yes
34117 else
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.$ac_ext >&5
34120
34121 ac_cv_type_off_t=no
34122 fi
34123
34124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34125 fi
34126 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34127 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34128 if test $ac_cv_type_off_t = yes; then
34129 :
34130 else
34131
34132 cat >>confdefs.h <<_ACEOF
34133 #define off_t long int
34134 _ACEOF
34135
34136 fi
34137
34138 { echo "$as_me:$LINENO: checking for pid_t" >&5
34139 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34140 if test "${ac_cv_type_pid_t+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 else
34143 cat >conftest.$ac_ext <<_ACEOF
34144 /* confdefs.h. */
34145 _ACEOF
34146 cat confdefs.h >>conftest.$ac_ext
34147 cat >>conftest.$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 $ac_includes_default
34150 typedef pid_t ac__type_new_;
34151 int
34152 main ()
34153 {
34154 if ((ac__type_new_ *) 0)
34155 return 0;
34156 if (sizeof (ac__type_new_))
34157 return 0;
34158 ;
34159 return 0;
34160 }
34161 _ACEOF
34162 rm -f conftest.$ac_objext
34163 if { (ac_try="$ac_compile"
34164 case "(($ac_try" in
34165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34166 *) ac_try_echo=$ac_try;;
34167 esac
34168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34169 (eval "$ac_compile") 2>conftest.er1
34170 ac_status=$?
34171 grep -v '^ *+' conftest.er1 >conftest.err
34172 rm -f conftest.er1
34173 cat conftest.err >&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } && {
34176 test -z "$ac_c_werror_flag" ||
34177 test ! -s conftest.err
34178 } && test -s conftest.$ac_objext; then
34179 ac_cv_type_pid_t=yes
34180 else
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 ac_cv_type_pid_t=no
34185 fi
34186
34187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34188 fi
34189 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34190 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34191 if test $ac_cv_type_pid_t = yes; then
34192 :
34193 else
34194
34195 cat >>confdefs.h <<_ACEOF
34196 #define pid_t int
34197 _ACEOF
34198
34199 fi
34200
34201 { echo "$as_me:$LINENO: checking for size_t" >&5
34202 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34203 if test "${ac_cv_type_size_t+set}" = set; then
34204 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 else
34206 cat >conftest.$ac_ext <<_ACEOF
34207 /* confdefs.h. */
34208 _ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212 $ac_includes_default
34213 typedef size_t ac__type_new_;
34214 int
34215 main ()
34216 {
34217 if ((ac__type_new_ *) 0)
34218 return 0;
34219 if (sizeof (ac__type_new_))
34220 return 0;
34221 ;
34222 return 0;
34223 }
34224 _ACEOF
34225 rm -f conftest.$ac_objext
34226 if { (ac_try="$ac_compile"
34227 case "(($ac_try" in
34228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34229 *) ac_try_echo=$ac_try;;
34230 esac
34231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34232 (eval "$ac_compile") 2>conftest.er1
34233 ac_status=$?
34234 grep -v '^ *+' conftest.er1 >conftest.err
34235 rm -f conftest.er1
34236 cat conftest.err >&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); } && {
34239 test -z "$ac_c_werror_flag" ||
34240 test ! -s conftest.err
34241 } && test -s conftest.$ac_objext; then
34242 ac_cv_type_size_t=yes
34243 else
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.$ac_ext >&5
34246
34247 ac_cv_type_size_t=no
34248 fi
34249
34250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34251 fi
34252 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34253 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34254 if test $ac_cv_type_size_t = yes; then
34255 :
34256 else
34257
34258 cat >>confdefs.h <<_ACEOF
34259 #define size_t unsigned int
34260 _ACEOF
34261
34262 fi
34263
34264
34265 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34266 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34267 if test "${ac_cv_type_ssize_t+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 else
34270 cat >conftest.$ac_ext <<_ACEOF
34271 /* confdefs.h. */
34272 _ACEOF
34273 cat confdefs.h >>conftest.$ac_ext
34274 cat >>conftest.$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34276 $ac_includes_default
34277 typedef ssize_t ac__type_new_;
34278 int
34279 main ()
34280 {
34281 if ((ac__type_new_ *) 0)
34282 return 0;
34283 if (sizeof (ac__type_new_))
34284 return 0;
34285 ;
34286 return 0;
34287 }
34288 _ACEOF
34289 rm -f conftest.$ac_objext
34290 if { (ac_try="$ac_compile"
34291 case "(($ac_try" in
34292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34293 *) ac_try_echo=$ac_try;;
34294 esac
34295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34296 (eval "$ac_compile") 2>conftest.er1
34297 ac_status=$?
34298 grep -v '^ *+' conftest.er1 >conftest.err
34299 rm -f conftest.er1
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } && {
34303 test -z "$ac_c_werror_flag" ||
34304 test ! -s conftest.err
34305 } && test -s conftest.$ac_objext; then
34306 ac_cv_type_ssize_t=yes
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34310
34311 ac_cv_type_ssize_t=no
34312 fi
34313
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315 fi
34316 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34317 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34318 if test $ac_cv_type_ssize_t = yes; then
34319
34320 cat >>confdefs.h <<_ACEOF
34321 #define HAVE_SSIZE_T 1
34322 _ACEOF
34323
34324
34325 fi
34326
34327
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34334 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34335 if test "${wx_cv_size_t_is_uint+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
34338
34339 cat >conftest.$ac_ext <<_ACEOF
34340 /* confdefs.h. */
34341 _ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345 #include <stddef.h>
34346 int
34347 main ()
34348 {
34349
34350 return 0; }
34351
34352 struct Foo { void foo(size_t); void foo(unsigned int); };
34353
34354 int bar() {
34355
34356 ;
34357 return 0;
34358 }
34359 _ACEOF
34360 rm -f conftest.$ac_objext
34361 if { (ac_try="$ac_compile"
34362 case "(($ac_try" in
34363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34364 *) ac_try_echo=$ac_try;;
34365 esac
34366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34367 (eval "$ac_compile") 2>conftest.er1
34368 ac_status=$?
34369 grep -v '^ *+' conftest.er1 >conftest.err
34370 rm -f conftest.er1
34371 cat conftest.err >&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } && {
34374 test -z "$ac_cxx_werror_flag" ||
34375 test ! -s conftest.err
34376 } && test -s conftest.$ac_objext; then
34377 wx_cv_size_t_is_uint=no
34378 else
34379 echo "$as_me: failed program was:" >&5
34380 sed 's/^/| /' conftest.$ac_ext >&5
34381
34382 wx_cv_size_t_is_uint=yes
34383
34384 fi
34385
34386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34387
34388
34389 fi
34390 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34391 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34392
34393 if test "$wx_cv_size_t_is_uint" = "yes"; then
34394 cat >>confdefs.h <<\_ACEOF
34395 #define wxSIZE_T_IS_UINT 1
34396 _ACEOF
34397
34398 else
34399 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34400 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34401 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404 cat >conftest.$ac_ext <<_ACEOF
34405 /* confdefs.h. */
34406 _ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410 #include <stddef.h>
34411 int
34412 main ()
34413 {
34414
34415 return 0; }
34416
34417 struct Foo { void foo(size_t); void foo(unsigned long); };
34418
34419 int bar() {
34420
34421 ;
34422 return 0;
34423 }
34424 _ACEOF
34425 rm -f conftest.$ac_objext
34426 if { (ac_try="$ac_compile"
34427 case "(($ac_try" in
34428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34429 *) ac_try_echo=$ac_try;;
34430 esac
34431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34432 (eval "$ac_compile") 2>conftest.er1
34433 ac_status=$?
34434 grep -v '^ *+' conftest.er1 >conftest.err
34435 rm -f conftest.er1
34436 cat conftest.err >&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } && {
34439 test -z "$ac_cxx_werror_flag" ||
34440 test ! -s conftest.err
34441 } && test -s conftest.$ac_objext; then
34442 wx_cv_size_t_is_ulong=no
34443 else
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34446
34447 wx_cv_size_t_is_ulong=yes
34448
34449 fi
34450
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452
34453 fi
34454 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34455 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34456
34457 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define wxSIZE_T_IS_ULONG 1
34460 _ACEOF
34461
34462 fi
34463 fi
34464
34465 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34466 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34467 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34468 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 else
34470 cat >conftest.$ac_ext <<_ACEOF
34471 /* confdefs.h. */
34472 _ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34476 #include <wchar.h>
34477 int
34478 main ()
34479 {
34480
34481 return 0; }
34482
34483 struct Foo { void foo(wchar_t);
34484 void foo(unsigned short);
34485 void foo(unsigned int);
34486 void foo(unsigned long); };
34487
34488 int bar() {
34489
34490 ;
34491 return 0;
34492 }
34493 _ACEOF
34494 rm -f conftest.$ac_objext
34495 if { (ac_try="$ac_compile"
34496 case "(($ac_try" in
34497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34498 *) ac_try_echo=$ac_try;;
34499 esac
34500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34501 (eval "$ac_compile") 2>conftest.er1
34502 ac_status=$?
34503 grep -v '^ *+' conftest.er1 >conftest.err
34504 rm -f conftest.er1
34505 cat conftest.err >&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } && {
34508 test -z "$ac_cxx_werror_flag" ||
34509 test ! -s conftest.err
34510 } && test -s conftest.$ac_objext; then
34511 wx_cv_wchar_t_is_separate_type=yes
34512 else
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34515
34516 wx_cv_wchar_t_is_separate_type=no
34517
34518 fi
34519
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521
34522 fi
34523 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34524 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34525
34526 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34527 cat >>confdefs.h <<\_ACEOF
34528 #define wxWCHAR_T_IS_REAL_TYPE 1
34529 _ACEOF
34530
34531 else
34532 cat >>confdefs.h <<\_ACEOF
34533 #define wxWCHAR_T_IS_REAL_TYPE 0
34534 _ACEOF
34535
34536 fi
34537
34538 ac_ext=c
34539 ac_cpp='$CPP $CPPFLAGS'
34540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34543
34544
34545 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34546 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34547 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34549 else
34550
34551 cat >conftest.$ac_ext <<_ACEOF
34552 /* confdefs.h. */
34553 _ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 #include <pwd.h>
34558 int
34559 main ()
34560 {
34561
34562 char *p;
34563 struct passwd *pw;
34564 p = pw->pw_gecos;
34565
34566 ;
34567 return 0;
34568 }
34569 _ACEOF
34570 rm -f conftest.$ac_objext
34571 if { (ac_try="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34575 esac
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34578 ac_status=$?
34579 grep -v '^ *+' conftest.er1 >conftest.err
34580 rm -f conftest.er1
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34587
34588 wx_cv_struct_pw_gecos=yes
34589
34590 else
34591 echo "$as_me: failed program was:" >&5
34592 sed 's/^/| /' conftest.$ac_ext >&5
34593
34594
34595 wx_cv_struct_pw_gecos=no
34596
34597
34598 fi
34599
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601
34602
34603 fi
34604 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34605 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34606
34607 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34608 cat >>confdefs.h <<\_ACEOF
34609 #define HAVE_PW_GECOS 1
34610 _ACEOF
34611
34612 fi
34613
34614
34615 if test "$wxUSE_WCHAR_T" = "yes"; then
34616 cat >>confdefs.h <<\_ACEOF
34617 #define wxUSE_WCHAR_T 1
34618 _ACEOF
34619
34620
34621 WCSLEN_FOUND=0
34622 WCHAR_LINK=
34623
34624 for ac_func in wcslen
34625 do
34626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34641
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34646
34647 #ifdef __STDC__
34648 # include <limits.h>
34649 #else
34650 # include <assert.h>
34651 #endif
34652
34653 #undef $ac_func
34654
34655 /* Override any GCC internal prototype to avoid an error.
34656 Use char because int might match the return type of a GCC
34657 builtin and then its argument prototype would still apply. */
34658 #ifdef __cplusplus
34659 extern "C"
34660 #endif
34661 char $ac_func ();
34662 /* The GNU C library defines this for functions which it implements
34663 to always fail with ENOSYS. Some functions are actually named
34664 something starting with __ and the normal name is an alias. */
34665 #if defined __stub_$ac_func || defined __stub___$ac_func
34666 choke me
34667 #endif
34668
34669 int
34670 main ()
34671 {
34672 return $ac_func ();
34673 ;
34674 return 0;
34675 }
34676 _ACEOF
34677 rm -f conftest.$ac_objext conftest$ac_exeext
34678 if { (ac_try="$ac_link"
34679 case "(($ac_try" in
34680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34681 *) ac_try_echo=$ac_try;;
34682 esac
34683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34684 (eval "$ac_link") 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } && {
34691 test -z "$ac_c_werror_flag" ||
34692 test ! -s conftest.err
34693 } && test -s conftest$ac_exeext &&
34694 $as_test_x conftest$ac_exeext; then
34695 eval "$as_ac_var=yes"
34696 else
34697 echo "$as_me: failed program was:" >&5
34698 sed 's/^/| /' conftest.$ac_ext >&5
34699
34700 eval "$as_ac_var=no"
34701 fi
34702
34703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34704 conftest$ac_exeext conftest.$ac_ext
34705 fi
34706 ac_res=`eval echo '${'$as_ac_var'}'`
34707 { echo "$as_me:$LINENO: result: $ac_res" >&5
34708 echo "${ECHO_T}$ac_res" >&6; }
34709 if test `eval echo '${'$as_ac_var'}'` = yes; then
34710 cat >>confdefs.h <<_ACEOF
34711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34712 _ACEOF
34713 WCSLEN_FOUND=1
34714 fi
34715 done
34716
34717
34718 if test "$WCSLEN_FOUND" = 0; then
34719 if test "$TOOLKIT" = "MSW"; then
34720 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34721 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34722 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 else
34725 ac_check_lib_save_LIBS=$LIBS
34726 LIBS="-lmsvcrt $LIBS"
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733
34734 /* Override any GCC internal prototype to avoid an error.
34735 Use char because int might match the return type of a GCC
34736 builtin and then its argument prototype would still apply. */
34737 #ifdef __cplusplus
34738 extern "C"
34739 #endif
34740 char wcslen ();
34741 int
34742 main ()
34743 {
34744 return wcslen ();
34745 ;
34746 return 0;
34747 }
34748 _ACEOF
34749 rm -f conftest.$ac_objext conftest$ac_exeext
34750 if { (ac_try="$ac_link"
34751 case "(($ac_try" in
34752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34753 *) ac_try_echo=$ac_try;;
34754 esac
34755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34756 (eval "$ac_link") 2>conftest.er1
34757 ac_status=$?
34758 grep -v '^ *+' conftest.er1 >conftest.err
34759 rm -f conftest.er1
34760 cat conftest.err >&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && {
34763 test -z "$ac_c_werror_flag" ||
34764 test ! -s conftest.err
34765 } && test -s conftest$ac_exeext &&
34766 $as_test_x conftest$ac_exeext; then
34767 ac_cv_lib_msvcrt_wcslen=yes
34768 else
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.$ac_ext >&5
34771
34772 ac_cv_lib_msvcrt_wcslen=no
34773 fi
34774
34775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34776 conftest$ac_exeext conftest.$ac_ext
34777 LIBS=$ac_check_lib_save_LIBS
34778 fi
34779 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34780 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34781 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34782 WCHAR_OK=1
34783 fi
34784
34785 else
34786 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34787 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34788 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34791 ac_check_lib_save_LIBS=$LIBS
34792 LIBS="-lw $LIBS"
34793 cat >conftest.$ac_ext <<_ACEOF
34794 /* confdefs.h. */
34795 _ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799
34800 /* Override any GCC internal prototype to avoid an error.
34801 Use char because int might match the return type of a GCC
34802 builtin and then its argument prototype would still apply. */
34803 #ifdef __cplusplus
34804 extern "C"
34805 #endif
34806 char wcslen ();
34807 int
34808 main ()
34809 {
34810 return wcslen ();
34811 ;
34812 return 0;
34813 }
34814 _ACEOF
34815 rm -f conftest.$ac_objext conftest$ac_exeext
34816 if { (ac_try="$ac_link"
34817 case "(($ac_try" in
34818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34819 *) ac_try_echo=$ac_try;;
34820 esac
34821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34822 (eval "$ac_link") 2>conftest.er1
34823 ac_status=$?
34824 grep -v '^ *+' conftest.er1 >conftest.err
34825 rm -f conftest.er1
34826 cat conftest.err >&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); } && {
34829 test -z "$ac_c_werror_flag" ||
34830 test ! -s conftest.err
34831 } && test -s conftest$ac_exeext &&
34832 $as_test_x conftest$ac_exeext; then
34833 ac_cv_lib_w_wcslen=yes
34834 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34837
34838 ac_cv_lib_w_wcslen=no
34839 fi
34840
34841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34842 conftest$ac_exeext conftest.$ac_ext
34843 LIBS=$ac_check_lib_save_LIBS
34844 fi
34845 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34846 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34847 if test $ac_cv_lib_w_wcslen = yes; then
34848
34849 WCHAR_LINK=" -lw"
34850 WCSLEN_FOUND=1
34851
34852 fi
34853
34854 fi
34855 fi
34856
34857 if test "$WCSLEN_FOUND" = 1; then
34858 cat >>confdefs.h <<\_ACEOF
34859 #define HAVE_WCSLEN 1
34860 _ACEOF
34861
34862 fi
34863
34864
34865 for ac_func in wcsdup
34866 do
34867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 else
34873 cat >conftest.$ac_ext <<_ACEOF
34874 /* confdefs.h. */
34875 _ACEOF
34876 cat confdefs.h >>conftest.$ac_ext
34877 cat >>conftest.$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34881 #define $ac_func innocuous_$ac_func
34882
34883 /* System header to define __stub macros and hopefully few prototypes,
34884 which can conflict with char $ac_func (); below.
34885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34886 <limits.h> exists even on freestanding compilers. */
34887
34888 #ifdef __STDC__
34889 # include <limits.h>
34890 #else
34891 # include <assert.h>
34892 #endif
34893
34894 #undef $ac_func
34895
34896 /* Override any GCC internal prototype to avoid an error.
34897 Use char because int might match the return type of a GCC
34898 builtin and then its argument prototype would still apply. */
34899 #ifdef __cplusplus
34900 extern "C"
34901 #endif
34902 char $ac_func ();
34903 /* The GNU C library defines this for functions which it implements
34904 to always fail with ENOSYS. Some functions are actually named
34905 something starting with __ and the normal name is an alias. */
34906 #if defined __stub_$ac_func || defined __stub___$ac_func
34907 choke me
34908 #endif
34909
34910 int
34911 main ()
34912 {
34913 return $ac_func ();
34914 ;
34915 return 0;
34916 }
34917 _ACEOF
34918 rm -f conftest.$ac_objext conftest$ac_exeext
34919 if { (ac_try="$ac_link"
34920 case "(($ac_try" in
34921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34922 *) ac_try_echo=$ac_try;;
34923 esac
34924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34925 (eval "$ac_link") 2>conftest.er1
34926 ac_status=$?
34927 grep -v '^ *+' conftest.er1 >conftest.err
34928 rm -f conftest.er1
34929 cat conftest.err >&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); } && {
34932 test -z "$ac_c_werror_flag" ||
34933 test ! -s conftest.err
34934 } && test -s conftest$ac_exeext &&
34935 $as_test_x conftest$ac_exeext; then
34936 eval "$as_ac_var=yes"
34937 else
34938 echo "$as_me: failed program was:" >&5
34939 sed 's/^/| /' conftest.$ac_ext >&5
34940
34941 eval "$as_ac_var=no"
34942 fi
34943
34944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34945 conftest$ac_exeext conftest.$ac_ext
34946 fi
34947 ac_res=`eval echo '${'$as_ac_var'}'`
34948 { echo "$as_me:$LINENO: result: $ac_res" >&5
34949 echo "${ECHO_T}$ac_res" >&6; }
34950 if test `eval echo '${'$as_ac_var'}'` = yes; then
34951 cat >>confdefs.h <<_ACEOF
34952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953 _ACEOF
34954
34955 fi
34956 done
34957
34958
34959 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34960 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34961 fi
34962
34963 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34964 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34965 if test "${ac_cv_type_mbstate_t+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 #include <wchar.h>
34975
34976 typedef mbstate_t ac__type_new_;
34977 int
34978 main ()
34979 {
34980 if ((ac__type_new_ *) 0)
34981 return 0;
34982 if (sizeof (ac__type_new_))
34983 return 0;
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 rm -f conftest.$ac_objext
34989 if { (ac_try="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34992 *) ac_try_echo=$ac_try;;
34993 esac
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.$ac_objext; then
35005 ac_cv_type_mbstate_t=yes
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35009
35010 ac_cv_type_mbstate_t=no
35011 fi
35012
35013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35014 fi
35015 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35016 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35017 if test $ac_cv_type_mbstate_t = yes; then
35018
35019 cat >>confdefs.h <<_ACEOF
35020 #define HAVE_MBSTATE_T 1
35021 _ACEOF
35022
35023
35024 for ac_func in wcsrtombs
35025 do
35026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35040 #define $ac_func innocuous_$ac_func
35041
35042 /* System header to define __stub macros and hopefully few prototypes,
35043 which can conflict with char $ac_func (); below.
35044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35045 <limits.h> exists even on freestanding compilers. */
35046
35047 #ifdef __STDC__
35048 # include <limits.h>
35049 #else
35050 # include <assert.h>
35051 #endif
35052
35053 #undef $ac_func
35054
35055 /* Override any GCC internal prototype to avoid an error.
35056 Use char because int might match the return type of a GCC
35057 builtin and then its argument prototype would still apply. */
35058 #ifdef __cplusplus
35059 extern "C"
35060 #endif
35061 char $ac_func ();
35062 /* The GNU C library defines this for functions which it implements
35063 to always fail with ENOSYS. Some functions are actually named
35064 something starting with __ and the normal name is an alias. */
35065 #if defined __stub_$ac_func || defined __stub___$ac_func
35066 choke me
35067 #endif
35068
35069 int
35070 main ()
35071 {
35072 return $ac_func ();
35073 ;
35074 return 0;
35075 }
35076 _ACEOF
35077 rm -f conftest.$ac_objext conftest$ac_exeext
35078 if { (ac_try="$ac_link"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35082 esac
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_link") 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && {
35091 test -z "$ac_c_werror_flag" ||
35092 test ! -s conftest.err
35093 } && test -s conftest$ac_exeext &&
35094 $as_test_x conftest$ac_exeext; then
35095 eval "$as_ac_var=yes"
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35099
35100 eval "$as_ac_var=no"
35101 fi
35102
35103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35104 conftest$ac_exeext conftest.$ac_ext
35105 fi
35106 ac_res=`eval echo '${'$as_ac_var'}'`
35107 { echo "$as_me:$LINENO: result: $ac_res" >&5
35108 echo "${ECHO_T}$ac_res" >&6; }
35109 if test `eval echo '${'$as_ac_var'}'` = yes; then
35110 cat >>confdefs.h <<_ACEOF
35111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35112 _ACEOF
35113
35114 fi
35115 done
35116
35117 fi
35118
35119 else
35120 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35121 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35122 fi
35123
35124
35125
35126
35127 for ac_func in snprintf vsnprintf vsscanf
35128 do
35129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135 cat >conftest.$ac_ext <<_ACEOF
35136 /* confdefs.h. */
35137 _ACEOF
35138 cat confdefs.h >>conftest.$ac_ext
35139 cat >>conftest.$ac_ext <<_ACEOF
35140 /* end confdefs.h. */
35141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35143 #define $ac_func innocuous_$ac_func
35144
35145 /* System header to define __stub macros and hopefully few prototypes,
35146 which can conflict with char $ac_func (); below.
35147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35148 <limits.h> exists even on freestanding compilers. */
35149
35150 #ifdef __STDC__
35151 # include <limits.h>
35152 #else
35153 # include <assert.h>
35154 #endif
35155
35156 #undef $ac_func
35157
35158 /* Override any GCC internal prototype to avoid an error.
35159 Use char because int might match the return type of a GCC
35160 builtin and then its argument prototype would still apply. */
35161 #ifdef __cplusplus
35162 extern "C"
35163 #endif
35164 char $ac_func ();
35165 /* The GNU C library defines this for functions which it implements
35166 to always fail with ENOSYS. Some functions are actually named
35167 something starting with __ and the normal name is an alias. */
35168 #if defined __stub_$ac_func || defined __stub___$ac_func
35169 choke me
35170 #endif
35171
35172 int
35173 main ()
35174 {
35175 return $ac_func ();
35176 ;
35177 return 0;
35178 }
35179 _ACEOF
35180 rm -f conftest.$ac_objext conftest$ac_exeext
35181 if { (ac_try="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35184 *) ac_try_echo=$ac_try;;
35185 esac
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } && {
35194 test -z "$ac_c_werror_flag" ||
35195 test ! -s conftest.err
35196 } && test -s conftest$ac_exeext &&
35197 $as_test_x conftest$ac_exeext; then
35198 eval "$as_ac_var=yes"
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 eval "$as_ac_var=no"
35204 fi
35205
35206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35207 conftest$ac_exeext conftest.$ac_ext
35208 fi
35209 ac_res=`eval echo '${'$as_ac_var'}'`
35210 { echo "$as_me:$LINENO: result: $ac_res" >&5
35211 echo "${ECHO_T}$ac_res" >&6; }
35212 if test `eval echo '${'$as_ac_var'}'` = yes; then
35213 cat >>confdefs.h <<_ACEOF
35214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35215 _ACEOF
35216
35217 fi
35218 done
35219
35220
35221 ac_ext=cpp
35222 ac_cpp='$CXXCPP $CPPFLAGS'
35223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35226
35227 if test "$ac_cv_func_vsnprintf" = "yes"; then
35228 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35229 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35230 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 else
35233
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h. */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240
35241 #include <stdio.h>
35242 #include <stdarg.h>
35243 #ifdef __MSL__
35244 #if __MSL__ >= 0x6000
35245 namespace std {}
35246 using namespace std;
35247 #endif
35248 #endif
35249
35250 int
35251 main ()
35252 {
35253
35254 char *buf;
35255 va_list ap;
35256 vsnprintf(buf, 10u, "%s", ap);
35257
35258 ;
35259 return 0;
35260 }
35261 _ACEOF
35262 rm -f conftest.$ac_objext
35263 if { (ac_try="$ac_compile"
35264 case "(($ac_try" in
35265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35266 *) ac_try_echo=$ac_try;;
35267 esac
35268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35269 (eval "$ac_compile") 2>conftest.er1
35270 ac_status=$?
35271 grep -v '^ *+' conftest.er1 >conftest.err
35272 rm -f conftest.er1
35273 cat conftest.err >&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } && {
35276 test -z "$ac_cxx_werror_flag" ||
35277 test ! -s conftest.err
35278 } && test -s conftest.$ac_objext; then
35279 wx_cv_func_vsnprintf_decl=yes
35280 else
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.$ac_ext >&5
35283
35284 wx_cv_func_vsnprintf_decl=no
35285
35286 fi
35287
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289
35290
35291 fi
35292 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35293 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35294
35295 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35296 cat >>confdefs.h <<\_ACEOF
35297 #define HAVE_VSNPRINTF_DECL 1
35298 _ACEOF
35299
35300
35301 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35302 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35303 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35304 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 else
35306
35307 cat >conftest.$ac_ext <<_ACEOF
35308 /* confdefs.h. */
35309 _ACEOF
35310 cat confdefs.h >>conftest.$ac_ext
35311 cat >>conftest.$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35313
35314 #include <stdio.h>
35315 #include <stdarg.h>
35316 #ifdef __MSL__
35317 #if __MSL__ >= 0x6000
35318 namespace std {}
35319 using namespace std;
35320 #endif
35321 #endif
35322
35323 int
35324 main ()
35325 {
35326
35327 char *buf;
35328 va_list ap;
35329 const char *fmt = "%s";
35330 vsnprintf(buf, 10u, fmt, ap);
35331
35332 ;
35333 return 0;
35334 }
35335 _ACEOF
35336 rm -f conftest.$ac_objext
35337 if { (ac_try="$ac_compile"
35338 case "(($ac_try" in
35339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35340 *) ac_try_echo=$ac_try;;
35341 esac
35342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35343 (eval "$ac_compile") 2>conftest.er1
35344 ac_status=$?
35345 grep -v '^ *+' conftest.er1 >conftest.err
35346 rm -f conftest.er1
35347 cat conftest.err >&5
35348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35349 (exit $ac_status); } && {
35350 test -z "$ac_cxx_werror_flag" ||
35351 test ! -s conftest.err
35352 } && test -s conftest.$ac_objext; then
35353 wx_cv_func_broken_vsnprintf_decl=no
35354 else
35355 echo "$as_me: failed program was:" >&5
35356 sed 's/^/| /' conftest.$ac_ext >&5
35357
35358 wx_cv_func_broken_vsnprintf_decl=yes
35359
35360 fi
35361
35362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35363
35364
35365 fi
35366 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35367 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35368
35369 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35370 cat >>confdefs.h <<\_ACEOF
35371 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35372 _ACEOF
35373
35374 fi
35375 fi
35376 fi
35377
35378 if test "$ac_cv_func_snprintf" = "yes"; then
35379 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35380 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35381 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391
35392 #include <stdio.h>
35393 #include <stdarg.h>
35394 #ifdef __MSL__
35395 #if __MSL__ >= 0x6000
35396 namespace std {}
35397 using namespace std;
35398 #endif
35399 #endif
35400
35401 int
35402 main ()
35403 {
35404
35405 char *buf;
35406 snprintf(buf, 10u, "%s", "wx");
35407
35408 ;
35409 return 0;
35410 }
35411 _ACEOF
35412 rm -f conftest.$ac_objext
35413 if { (ac_try="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35417 esac
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35420 ac_status=$?
35421 grep -v '^ *+' conftest.er1 >conftest.err
35422 rm -f conftest.er1
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_cxx_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 wx_cv_func_snprintf_decl=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434 wx_cv_func_snprintf_decl=no
35435
35436 fi
35437
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439
35440
35441 fi
35442 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35443 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35444
35445 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35446 cat >>confdefs.h <<\_ACEOF
35447 #define HAVE_SNPRINTF_DECL 1
35448 _ACEOF
35449
35450 fi
35451
35452 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35453
35454 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35455 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35456 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459
35460 if test "$cross_compiling" = yes; then
35461
35462 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35463 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35464 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35465 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35466 wx_cv_func_snprintf_pos_params=no
35467
35468
35469 else
35470 cat >conftest.$ac_ext <<_ACEOF
35471 /* confdefs.h. */
35472 _ACEOF
35473 cat confdefs.h >>conftest.$ac_ext
35474 cat >>conftest.$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35476
35477 #include <stdio.h>
35478
35479 int main (void)
35480 {
35481 char buffer[128];
35482 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35483 if (strcmp ("2 3 1", buffer) == 0)
35484 exit (0);
35485 exit (1);
35486 }
35487
35488 _ACEOF
35489 rm -f conftest$ac_exeext
35490 if { (ac_try="$ac_link"
35491 case "(($ac_try" in
35492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35493 *) ac_try_echo=$ac_try;;
35494 esac
35495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35496 (eval "$ac_link") 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35500 { (case "(($ac_try" in
35501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35502 *) ac_try_echo=$ac_try;;
35503 esac
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_try") 2>&5
35506 ac_status=$?
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); }; }; then
35509 wx_cv_func_snprintf_pos_params=no
35510 else
35511 echo "$as_me: program exited with status $ac_status" >&5
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 ( exit $ac_status )
35516 wx_cv_func_snprintf_pos_params=yes
35517 fi
35518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35519 fi
35520
35521
35522
35523
35524 fi
35525 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35526 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35527
35528 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35529 cat >>confdefs.h <<\_ACEOF
35530 #define HAVE_UNIX98_PRINTF 1
35531 _ACEOF
35532
35533 fi
35534 fi
35535 fi
35536
35537 if test "$ac_cv_func_vsscanf" = "yes"; then
35538 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35539 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35540 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35542 else
35543
35544 cat >conftest.$ac_ext <<_ACEOF
35545 /* confdefs.h. */
35546 _ACEOF
35547 cat confdefs.h >>conftest.$ac_ext
35548 cat >>conftest.$ac_ext <<_ACEOF
35549 /* end confdefs.h. */
35550
35551 #include <stdio.h>
35552 #include <stdarg.h>
35553 #ifdef __MSL__
35554 #if __MSL__ >= 0x6000
35555 namespace std {}
35556 using namespace std;
35557 #endif
35558 #endif
35559
35560 int
35561 main ()
35562 {
35563
35564 char *buf;
35565 va_list args;
35566 vsscanf(buf, "%s", args);
35567
35568 ;
35569 return 0;
35570 }
35571 _ACEOF
35572 rm -f conftest.$ac_objext
35573 if { (ac_try="$ac_compile"
35574 case "(($ac_try" in
35575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35576 *) ac_try_echo=$ac_try;;
35577 esac
35578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35579 (eval "$ac_compile") 2>conftest.er1
35580 ac_status=$?
35581 grep -v '^ *+' conftest.er1 >conftest.err
35582 rm -f conftest.er1
35583 cat conftest.err >&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } && {
35586 test -z "$ac_cxx_werror_flag" ||
35587 test ! -s conftest.err
35588 } && test -s conftest.$ac_objext; then
35589 wx_cv_func_vsscanf_decl=yes
35590 else
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.$ac_ext >&5
35593
35594 wx_cv_func_vsscanf_decl=no
35595
35596 fi
35597
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599
35600
35601 fi
35602 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35603 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35604
35605 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35606 cat >>confdefs.h <<\_ACEOF
35607 #define HAVE_VSSCANF_DECL 1
35608 _ACEOF
35609
35610 fi
35611 fi
35612 ac_ext=c
35613 ac_cpp='$CPP $CPPFLAGS'
35614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35617
35618
35619 if test "$wxUSE_UNICODE" = yes; then
35620
35621 wchar_headers="#include <stdio.h>
35622 #include <wchar.h>"
35623 case "${host}" in
35624 *-*-solaris2* )
35625
35626 for ac_header in widec.h
35627 do
35628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 else
35634 cat >conftest.$ac_ext <<_ACEOF
35635 /* confdefs.h. */
35636 _ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 $ac_includes_default
35641
35642 #include <$ac_header>
35643 _ACEOF
35644 rm -f conftest.$ac_objext
35645 if { (ac_try="$ac_compile"
35646 case "(($ac_try" in
35647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35648 *) ac_try_echo=$ac_try;;
35649 esac
35650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35651 (eval "$ac_compile") 2>conftest.er1
35652 ac_status=$?
35653 grep -v '^ *+' conftest.er1 >conftest.err
35654 rm -f conftest.er1
35655 cat conftest.err >&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); } && {
35658 test -z "$ac_c_werror_flag" ||
35659 test ! -s conftest.err
35660 } && test -s conftest.$ac_objext; then
35661 eval "$as_ac_Header=yes"
35662 else
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35665
35666 eval "$as_ac_Header=no"
35667 fi
35668
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670 fi
35671 ac_res=`eval echo '${'$as_ac_Header'}'`
35672 { echo "$as_me:$LINENO: result: $ac_res" >&5
35673 echo "${ECHO_T}$ac_res" >&6; }
35674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35675 cat >>confdefs.h <<_ACEOF
35676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35677 _ACEOF
35678
35679 fi
35680
35681 done
35682
35683 if test "$ac_cv_header_widec_h" = "yes"; then
35684 wchar_headers="$wchar_headers
35685 #include <widec.h>"
35686 fi
35687 esac
35688
35689
35690 for wx_func in putws fputws wprintf vswprintf vswscanf
35691 do
35692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35694 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 else
35697
35698 cat >conftest.$ac_ext <<_ACEOF
35699
35700 /* confdefs.h. */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h. */
35705
35706 $wchar_headers
35707 $ac_includes_default
35708
35709 int
35710 main ()
35711 {
35712
35713 #ifndef $wx_func
35714 &$wx_func;
35715 #endif
35716
35717
35718 ;
35719 return 0;
35720 }
35721
35722 _ACEOF
35723 rm -f conftest.$ac_objext conftest$ac_exeext
35724 if { (ac_try="$ac_link"
35725 case "(($ac_try" in
35726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35727 *) ac_try_echo=$ac_try;;
35728 esac
35729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35730 (eval "$ac_link") 2>conftest.er1
35731 ac_status=$?
35732 grep -v '^ *+' conftest.er1 >conftest.err
35733 rm -f conftest.er1
35734 cat conftest.err >&5
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); } && {
35737 test -z "$ac_c_werror_flag" ||
35738 test ! -s conftest.err
35739 } && test -s conftest$ac_exeext &&
35740 $as_test_x conftest$ac_exeext; then
35741 eval wx_cv_func_$wx_func=yes
35742 else
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.$ac_ext >&5
35745
35746 eval wx_cv_func_$wx_func=no
35747 fi
35748
35749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35750 conftest$ac_exeext conftest.$ac_ext
35751
35752 fi
35753 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35754 { echo "$as_me:$LINENO: result: $ac_res" >&5
35755 echo "${ECHO_T}$ac_res" >&6; }
35756
35757 if eval test \$wx_cv_func_$wx_func = yes
35758 then
35759 cat >>confdefs.h <<_ACEOF
35760 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35761 _ACEOF
35762
35763
35764 else
35765 :
35766
35767 fi
35768 done
35769
35770
35771 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35772 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35773 cat >conftest.$ac_ext <<_ACEOF
35774 /* confdefs.h. */
35775 _ACEOF
35776 cat confdefs.h >>conftest.$ac_ext
35777 cat >>conftest.$ac_ext <<_ACEOF
35778 /* end confdefs.h. */
35779 #include <wchar.h>
35780 int
35781 main ()
35782 {
35783 &_vsnwprintf;
35784 ;
35785 return 0;
35786 }
35787 _ACEOF
35788 rm -f conftest.$ac_objext
35789 if { (ac_try="$ac_compile"
35790 case "(($ac_try" in
35791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35792 *) ac_try_echo=$ac_try;;
35793 esac
35794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35795 (eval "$ac_compile") 2>conftest.er1
35796 ac_status=$?
35797 grep -v '^ *+' conftest.er1 >conftest.err
35798 rm -f conftest.er1
35799 cat conftest.err >&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); } && {
35802 test -z "$ac_c_werror_flag" ||
35803 test ! -s conftest.err
35804 } && test -s conftest.$ac_objext; then
35805 { echo "$as_me:$LINENO: result: yes" >&5
35806 echo "${ECHO_T}yes" >&6; }
35807 cat >>confdefs.h <<\_ACEOF
35808 #define HAVE__VSNWPRINTF 1
35809 _ACEOF
35810
35811 else
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35814
35815 { echo "$as_me:$LINENO: result: no" >&5
35816 echo "${ECHO_T}no" >&6; }
35817 fi
35818
35819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35820 fi
35821
35822 if test "$wxUSE_FILE" = "yes"; then
35823
35824 for wx_func in fsync
35825 do
35826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35829 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 else
35831
35832 cat >conftest.$ac_ext <<_ACEOF
35833
35834 /* confdefs.h. */
35835 _ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839
35840
35841 $ac_includes_default
35842
35843 int
35844 main ()
35845 {
35846
35847 #ifndef $wx_func
35848 &$wx_func;
35849 #endif
35850
35851
35852 ;
35853 return 0;
35854 }
35855
35856 _ACEOF
35857 rm -f conftest.$ac_objext conftest$ac_exeext
35858 if { (ac_try="$ac_link"
35859 case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35861 *) ac_try_echo=$ac_try;;
35862 esac
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_link") 2>conftest.er1
35865 ac_status=$?
35866 grep -v '^ *+' conftest.er1 >conftest.err
35867 rm -f conftest.er1
35868 cat conftest.err >&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); } && {
35871 test -z "$ac_c_werror_flag" ||
35872 test ! -s conftest.err
35873 } && test -s conftest$ac_exeext &&
35874 $as_test_x conftest$ac_exeext; then
35875 eval wx_cv_func_$wx_func=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35879
35880 eval wx_cv_func_$wx_func=no
35881 fi
35882
35883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35884 conftest$ac_exeext conftest.$ac_ext
35885
35886 fi
35887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35888 { echo "$as_me:$LINENO: result: $ac_res" >&5
35889 echo "${ECHO_T}$ac_res" >&6; }
35890
35891 if eval test \$wx_cv_func_$wx_func = yes
35892 then
35893 cat >>confdefs.h <<_ACEOF
35894 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35895 _ACEOF
35896
35897
35898 else
35899 :
35900
35901 fi
35902 done
35903
35904 fi
35905
35906 ac_ext=cpp
35907 ac_cpp='$CXXCPP $CPPFLAGS'
35908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911
35912
35913 for wx_func in round
35914 do
35915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920
35921 cat >conftest.$ac_ext <<_ACEOF
35922
35923 /* confdefs.h. */
35924 _ACEOF
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35928
35929 #include <math.h>
35930 $ac_includes_default
35931
35932 int
35933 main ()
35934 {
35935
35936 #ifndef $wx_func
35937 &$wx_func;
35938 #endif
35939
35940
35941 ;
35942 return 0;
35943 }
35944
35945 _ACEOF
35946 rm -f conftest.$ac_objext conftest$ac_exeext
35947 if { (ac_try="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35951 esac
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_cxx_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest$ac_exeext &&
35963 $as_test_x conftest$ac_exeext; then
35964 eval wx_cv_func_$wx_func=yes
35965 else
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35968
35969 eval wx_cv_func_$wx_func=no
35970 fi
35971
35972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35973 conftest$ac_exeext conftest.$ac_ext
35974
35975 fi
35976 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35977 { echo "$as_me:$LINENO: result: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35979
35980 if eval test \$wx_cv_func_$wx_func = yes
35981 then
35982 cat >>confdefs.h <<_ACEOF
35983 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35984 _ACEOF
35985
35986
35987 else
35988 :
35989
35990 fi
35991 done
35992
35993 ac_ext=c
35994 ac_cpp='$CPP $CPPFLAGS'
35995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35998
35999
36000 if test "$TOOLKIT" != "MSW"; then
36001
36002 if test "$wxUSE_LIBICONV" != "no" ; then
36003
36004
36005
36006 # Check whether --with-libiconv-prefix was given.
36007 if test "${with_libiconv_prefix+set}" = set; then
36008 withval=$with_libiconv_prefix;
36009 for dir in `echo "$withval" | tr : ' '`; do
36010 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36011 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36012 done
36013
36014 fi
36015
36016
36017 { echo "$as_me:$LINENO: checking for iconv" >&5
36018 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36019 if test "${am_cv_func_iconv+set}" = set; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36021 else
36022
36023 am_cv_func_iconv="no, consider installing GNU libiconv"
36024 am_cv_lib_iconv=no
36025 cat >conftest.$ac_ext <<_ACEOF
36026 /* confdefs.h. */
36027 _ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36031 #include <stdlib.h>
36032 #include <iconv.h>
36033 int
36034 main ()
36035 {
36036 iconv_t cd = iconv_open("","");
36037 iconv(cd,NULL,NULL,NULL,NULL);
36038 iconv_close(cd);
36039 ;
36040 return 0;
36041 }
36042 _ACEOF
36043 rm -f conftest.$ac_objext conftest$ac_exeext
36044 if { (ac_try="$ac_link"
36045 case "(($ac_try" in
36046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36047 *) ac_try_echo=$ac_try;;
36048 esac
36049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36050 (eval "$ac_link") 2>conftest.er1
36051 ac_status=$?
36052 grep -v '^ *+' conftest.er1 >conftest.err
36053 rm -f conftest.er1
36054 cat conftest.err >&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && {
36057 test -z "$ac_c_werror_flag" ||
36058 test ! -s conftest.err
36059 } && test -s conftest$ac_exeext &&
36060 $as_test_x conftest$ac_exeext; then
36061 am_cv_func_iconv=yes
36062 else
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.$ac_ext >&5
36065
36066
36067 fi
36068
36069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36070 conftest$ac_exeext conftest.$ac_ext
36071 if test "$am_cv_func_iconv" != yes; then
36072 am_save_LIBS="$LIBS"
36073 LIBS="$LIBS -liconv"
36074 cat >conftest.$ac_ext <<_ACEOF
36075 /* confdefs.h. */
36076 _ACEOF
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36080 #include <stdlib.h>
36081 #include <iconv.h>
36082 int
36083 main ()
36084 {
36085 iconv_t cd = iconv_open("","");
36086 iconv(cd,NULL,NULL,NULL,NULL);
36087 iconv_close(cd);
36088 ;
36089 return 0;
36090 }
36091 _ACEOF
36092 rm -f conftest.$ac_objext conftest$ac_exeext
36093 if { (ac_try="$ac_link"
36094 case "(($ac_try" in
36095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36096 *) ac_try_echo=$ac_try;;
36097 esac
36098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36099 (eval "$ac_link") 2>conftest.er1
36100 ac_status=$?
36101 grep -v '^ *+' conftest.er1 >conftest.err
36102 rm -f conftest.er1
36103 cat conftest.err >&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } && {
36106 test -z "$ac_c_werror_flag" ||
36107 test ! -s conftest.err
36108 } && test -s conftest$ac_exeext &&
36109 $as_test_x conftest$ac_exeext; then
36110 am_cv_lib_iconv=yes
36111 am_cv_func_iconv=yes
36112 else
36113 echo "$as_me: failed program was:" >&5
36114 sed 's/^/| /' conftest.$ac_ext >&5
36115
36116
36117 fi
36118
36119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36120 conftest$ac_exeext conftest.$ac_ext
36121 LIBS="$am_save_LIBS"
36122 fi
36123
36124 fi
36125 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36126 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36127 if test "$am_cv_func_iconv" = yes; then
36128
36129 cat >>confdefs.h <<\_ACEOF
36130 #define HAVE_ICONV 1
36131 _ACEOF
36132
36133 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36134 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36135 if test "${wx_cv_func_iconv_const+set}" = set; then
36136 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 else
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144
36145 #include <stdlib.h>
36146 #include <iconv.h>
36147 extern
36148 #ifdef __cplusplus
36149 "C"
36150 #endif
36151 #if defined(__STDC__) || defined(__cplusplus)
36152 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36153 #else
36154 size_t iconv();
36155 #endif
36156
36157 int
36158 main ()
36159 {
36160
36161 ;
36162 return 0;
36163 }
36164 _ACEOF
36165 rm -f conftest.$ac_objext
36166 if { (ac_try="$ac_compile"
36167 case "(($ac_try" in
36168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36169 *) ac_try_echo=$ac_try;;
36170 esac
36171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36172 (eval "$ac_compile") 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } && {
36179 test -z "$ac_c_werror_flag" ||
36180 test ! -s conftest.err
36181 } && test -s conftest.$ac_objext; then
36182 wx_cv_func_iconv_const="no"
36183 else
36184 echo "$as_me: failed program was:" >&5
36185 sed 's/^/| /' conftest.$ac_ext >&5
36186
36187 wx_cv_func_iconv_const="yes"
36188
36189 fi
36190
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192
36193 fi
36194 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36195 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36196
36197 iconv_const=
36198 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36199 iconv_const="const"
36200 fi
36201
36202
36203 cat >>confdefs.h <<_ACEOF
36204 #define ICONV_CONST $iconv_const
36205 _ACEOF
36206
36207 fi
36208 LIBICONV=
36209 if test "$am_cv_lib_iconv" = yes; then
36210 LIBICONV="-liconv"
36211 fi
36212
36213
36214 LIBS="$LIBICONV $LIBS"
36215 fi
36216
36217 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36218
36219 for ac_func in sigaction
36220 do
36221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36227 cat >conftest.$ac_ext <<_ACEOF
36228 /* confdefs.h. */
36229 _ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36235 #define $ac_func innocuous_$ac_func
36236
36237 /* System header to define __stub macros and hopefully few prototypes,
36238 which can conflict with char $ac_func (); below.
36239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36240 <limits.h> exists even on freestanding compilers. */
36241
36242 #ifdef __STDC__
36243 # include <limits.h>
36244 #else
36245 # include <assert.h>
36246 #endif
36247
36248 #undef $ac_func
36249
36250 /* Override any GCC internal prototype to avoid an error.
36251 Use char because int might match the return type of a GCC
36252 builtin and then its argument prototype would still apply. */
36253 #ifdef __cplusplus
36254 extern "C"
36255 #endif
36256 char $ac_func ();
36257 /* The GNU C library defines this for functions which it implements
36258 to always fail with ENOSYS. Some functions are actually named
36259 something starting with __ and the normal name is an alias. */
36260 #if defined __stub_$ac_func || defined __stub___$ac_func
36261 choke me
36262 #endif
36263
36264 int
36265 main ()
36266 {
36267 return $ac_func ();
36268 ;
36269 return 0;
36270 }
36271 _ACEOF
36272 rm -f conftest.$ac_objext conftest$ac_exeext
36273 if { (ac_try="$ac_link"
36274 case "(($ac_try" in
36275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36276 *) ac_try_echo=$ac_try;;
36277 esac
36278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36279 (eval "$ac_link") 2>conftest.er1
36280 ac_status=$?
36281 grep -v '^ *+' conftest.er1 >conftest.err
36282 rm -f conftest.er1
36283 cat conftest.err >&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } && {
36286 test -z "$ac_c_werror_flag" ||
36287 test ! -s conftest.err
36288 } && test -s conftest$ac_exeext &&
36289 $as_test_x conftest$ac_exeext; then
36290 eval "$as_ac_var=yes"
36291 else
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36294
36295 eval "$as_ac_var=no"
36296 fi
36297
36298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36299 conftest$ac_exeext conftest.$ac_ext
36300 fi
36301 ac_res=`eval echo '${'$as_ac_var'}'`
36302 { echo "$as_me:$LINENO: result: $ac_res" >&5
36303 echo "${ECHO_T}$ac_res" >&6; }
36304 if test `eval echo '${'$as_ac_var'}'` = yes; then
36305 cat >>confdefs.h <<_ACEOF
36306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36307 _ACEOF
36308
36309 fi
36310 done
36311
36312
36313 if test "$ac_cv_func_sigaction" = "no"; then
36314 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36315 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36316 wxUSE_ON_FATAL_EXCEPTION=no
36317 fi
36318
36319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36320 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36321 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36322 if test "${wx_cv_type_sa_handler+set}" = set; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 else
36325
36326 ac_ext=cpp
36327 ac_cpp='$CXXCPP $CPPFLAGS'
36328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36331
36332 cat >conftest.$ac_ext <<_ACEOF
36333 /* confdefs.h. */
36334 _ACEOF
36335 cat confdefs.h >>conftest.$ac_ext
36336 cat >>conftest.$ac_ext <<_ACEOF
36337 /* end confdefs.h. */
36338 #include <signal.h>
36339 int
36340 main ()
36341 {
36342
36343 extern void testSigHandler(int);
36344
36345 struct sigaction sa;
36346 sa.sa_handler = testSigHandler;
36347
36348 ;
36349 return 0;
36350 }
36351 _ACEOF
36352 rm -f conftest.$ac_objext
36353 if { (ac_try="$ac_compile"
36354 case "(($ac_try" in
36355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36356 *) ac_try_echo=$ac_try;;
36357 esac
36358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36359 (eval "$ac_compile") 2>conftest.er1
36360 ac_status=$?
36361 grep -v '^ *+' conftest.er1 >conftest.err
36362 rm -f conftest.er1
36363 cat conftest.err >&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); } && {
36366 test -z "$ac_cxx_werror_flag" ||
36367 test ! -s conftest.err
36368 } && test -s conftest.$ac_objext; then
36369
36370 wx_cv_type_sa_handler=int
36371
36372 else
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36375
36376
36377 wx_cv_type_sa_handler=void
36378
36379 fi
36380
36381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36382 ac_ext=c
36383 ac_cpp='$CPP $CPPFLAGS'
36384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36387
36388
36389 fi
36390 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36391 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36392
36393 cat >>confdefs.h <<_ACEOF
36394 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36395 _ACEOF
36396
36397 fi
36398 fi
36399
36400 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36401 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36402 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36403 if test "${wx_cv_func_backtrace+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 else
36406
36407 ac_ext=cpp
36408 ac_cpp='$CXXCPP $CPPFLAGS'
36409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36412
36413 cat >conftest.$ac_ext <<_ACEOF
36414 /* confdefs.h. */
36415 _ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 #include <execinfo.h>
36420 int
36421 main ()
36422 {
36423
36424 void *trace[1];
36425 char **messages;
36426
36427 backtrace(trace, 1);
36428 messages = backtrace_symbols(trace, 1);
36429
36430 ;
36431 return 0;
36432 }
36433 _ACEOF
36434 rm -f conftest.$ac_objext
36435 if { (ac_try="$ac_compile"
36436 case "(($ac_try" in
36437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36438 *) ac_try_echo=$ac_try;;
36439 esac
36440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36441 (eval "$ac_compile") 2>conftest.er1
36442 ac_status=$?
36443 grep -v '^ *+' conftest.er1 >conftest.err
36444 rm -f conftest.er1
36445 cat conftest.err >&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); } && {
36448 test -z "$ac_cxx_werror_flag" ||
36449 test ! -s conftest.err
36450 } && test -s conftest.$ac_objext; then
36451 wx_cv_func_backtrace=yes
36452 else
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.$ac_ext >&5
36455
36456 wx_cv_func_backtrace=no
36457
36458 fi
36459
36460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36461 ac_ext=c
36462 ac_cpp='$CPP $CPPFLAGS'
36463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36466
36467
36468
36469 fi
36470 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36471 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36472
36473
36474 if test "$wx_cv_func_backtrace" = "no"; then
36475 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36476 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36477 wxUSE_STACKWALKER=no
36478 else
36479 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36480 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36481 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 else
36484
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490
36491 cat >conftest.$ac_ext <<_ACEOF
36492 /* confdefs.h. */
36493 _ACEOF
36494 cat confdefs.h >>conftest.$ac_ext
36495 cat >>conftest.$ac_ext <<_ACEOF
36496 /* end confdefs.h. */
36497 #include <cxxabi.h>
36498 int
36499 main ()
36500 {
36501
36502 int rc;
36503 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36504
36505 ;
36506 return 0;
36507 }
36508 _ACEOF
36509 rm -f conftest.$ac_objext conftest$ac_exeext
36510 if { (ac_try="$ac_link"
36511 case "(($ac_try" in
36512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36513 *) ac_try_echo=$ac_try;;
36514 esac
36515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36516 (eval "$ac_link") 2>conftest.er1
36517 ac_status=$?
36518 grep -v '^ *+' conftest.er1 >conftest.err
36519 rm -f conftest.er1
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } && {
36523 test -z "$ac_cxx_werror_flag" ||
36524 test ! -s conftest.err
36525 } && test -s conftest$ac_exeext &&
36526 $as_test_x conftest$ac_exeext; then
36527 wx_cv_func_cxa_demangle=yes
36528 else
36529 echo "$as_me: failed program was:" >&5
36530 sed 's/^/| /' conftest.$ac_ext >&5
36531
36532 wx_cv_func_cxa_demangle=no
36533
36534 fi
36535
36536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36537 conftest$ac_exeext conftest.$ac_ext
36538 ac_ext=c
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36543
36544
36545
36546 fi
36547 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36548 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36549
36550 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36551 cat >>confdefs.h <<\_ACEOF
36552 #define HAVE_CXA_DEMANGLE 1
36553 _ACEOF
36554
36555 fi
36556 fi
36557 fi
36558
36559 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36560 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36561 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36562 wxUSE_STACKWALKER=no
36563 fi
36564
36565
36566
36567
36568 for ac_func in mkstemp mktemp
36569 do
36570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36573 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 else
36576 cat >conftest.$ac_ext <<_ACEOF
36577 /* confdefs.h. */
36578 _ACEOF
36579 cat confdefs.h >>conftest.$ac_ext
36580 cat >>conftest.$ac_ext <<_ACEOF
36581 /* end confdefs.h. */
36582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36584 #define $ac_func innocuous_$ac_func
36585
36586 /* System header to define __stub macros and hopefully few prototypes,
36587 which can conflict with char $ac_func (); below.
36588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36589 <limits.h> exists even on freestanding compilers. */
36590
36591 #ifdef __STDC__
36592 # include <limits.h>
36593 #else
36594 # include <assert.h>
36595 #endif
36596
36597 #undef $ac_func
36598
36599 /* Override any GCC internal prototype to avoid an error.
36600 Use char because int might match the return type of a GCC
36601 builtin and then its argument prototype would still apply. */
36602 #ifdef __cplusplus
36603 extern "C"
36604 #endif
36605 char $ac_func ();
36606 /* The GNU C library defines this for functions which it implements
36607 to always fail with ENOSYS. Some functions are actually named
36608 something starting with __ and the normal name is an alias. */
36609 #if defined __stub_$ac_func || defined __stub___$ac_func
36610 choke me
36611 #endif
36612
36613 int
36614 main ()
36615 {
36616 return $ac_func ();
36617 ;
36618 return 0;
36619 }
36620 _ACEOF
36621 rm -f conftest.$ac_objext conftest$ac_exeext
36622 if { (ac_try="$ac_link"
36623 case "(($ac_try" in
36624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36625 *) ac_try_echo=$ac_try;;
36626 esac
36627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36628 (eval "$ac_link") 2>conftest.er1
36629 ac_status=$?
36630 grep -v '^ *+' conftest.er1 >conftest.err
36631 rm -f conftest.er1
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } && {
36635 test -z "$ac_c_werror_flag" ||
36636 test ! -s conftest.err
36637 } && test -s conftest$ac_exeext &&
36638 $as_test_x conftest$ac_exeext; then
36639 eval "$as_ac_var=yes"
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36643
36644 eval "$as_ac_var=no"
36645 fi
36646
36647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36648 conftest$ac_exeext conftest.$ac_ext
36649 fi
36650 ac_res=`eval echo '${'$as_ac_var'}'`
36651 { echo "$as_me:$LINENO: result: $ac_res" >&5
36652 echo "${ECHO_T}$ac_res" >&6; }
36653 if test `eval echo '${'$as_ac_var'}'` = yes; then
36654 cat >>confdefs.h <<_ACEOF
36655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36656 _ACEOF
36657 break
36658 fi
36659 done
36660
36661
36662 { echo "$as_me:$LINENO: checking for statfs" >&5
36663 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36664 if test "${wx_cv_func_statfs+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 else
36667 cat >conftest.$ac_ext <<_ACEOF
36668 /* confdefs.h. */
36669 _ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36673
36674 #if defined(__BSD__)
36675 #include <sys/param.h>
36676 #include <sys/mount.h>
36677 #else
36678 #include <sys/vfs.h>
36679 #endif
36680
36681 int
36682 main ()
36683 {
36684
36685 long l;
36686 struct statfs fs;
36687 statfs("/", &fs);
36688 l = fs.f_bsize;
36689 l += fs.f_blocks;
36690 l += fs.f_bavail;
36691
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 rm -f conftest.$ac_objext
36697 if { (ac_try="$ac_compile"
36698 case "(($ac_try" in
36699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36700 *) ac_try_echo=$ac_try;;
36701 esac
36702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36703 (eval "$ac_compile") 2>conftest.er1
36704 ac_status=$?
36705 grep -v '^ *+' conftest.er1 >conftest.err
36706 rm -f conftest.er1
36707 cat conftest.err >&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); } && {
36710 test -z "$ac_c_werror_flag" ||
36711 test ! -s conftest.err
36712 } && test -s conftest.$ac_objext; then
36713 wx_cv_func_statfs=yes
36714 else
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.$ac_ext >&5
36717
36718 wx_cv_func_statfs=no
36719
36720 fi
36721
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723
36724 fi
36725 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36726 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36727
36728 if test "$wx_cv_func_statfs" = "yes"; then
36729 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36730 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36731 if test "${wx_cv_func_statfs_decl+set}" = set; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 else
36734 ac_ext=cpp
36735 ac_cpp='$CXXCPP $CPPFLAGS'
36736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36739
36740 cat >conftest.$ac_ext <<_ACEOF
36741 /* confdefs.h. */
36742 _ACEOF
36743 cat confdefs.h >>conftest.$ac_ext
36744 cat >>conftest.$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746
36747 #if defined(__BSD__)
36748 #include <sys/param.h>
36749 #include <sys/mount.h>
36750 #else
36751 #include <sys/vfs.h>
36752 #endif
36753
36754 int
36755 main ()
36756 {
36757
36758 struct statfs fs;
36759 statfs("", &fs);
36760
36761 ;
36762 return 0;
36763 }
36764 _ACEOF
36765 rm -f conftest.$ac_objext
36766 if { (ac_try="$ac_compile"
36767 case "(($ac_try" in
36768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36769 *) ac_try_echo=$ac_try;;
36770 esac
36771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36772 (eval "$ac_compile") 2>conftest.er1
36773 ac_status=$?
36774 grep -v '^ *+' conftest.er1 >conftest.err
36775 rm -f conftest.er1
36776 cat conftest.err >&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); } && {
36779 test -z "$ac_cxx_werror_flag" ||
36780 test ! -s conftest.err
36781 } && test -s conftest.$ac_objext; then
36782 wx_cv_func_statfs_decl=yes
36783 else
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.$ac_ext >&5
36786
36787 wx_cv_func_statfs_decl=no
36788
36789 fi
36790
36791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36792 ac_ext=c
36793 ac_cpp='$CPP $CPPFLAGS'
36794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36797
36798
36799 fi
36800 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36801 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36802
36803 if test "$wx_cv_func_statfs_decl" = "yes"; then
36804 cat >>confdefs.h <<\_ACEOF
36805 #define HAVE_STATFS_DECL 1
36806 _ACEOF
36807
36808 fi
36809
36810 wx_cv_type_statvfs_t="struct statfs"
36811 cat >>confdefs.h <<\_ACEOF
36812 #define HAVE_STATFS 1
36813 _ACEOF
36814
36815 else
36816 { echo "$as_me:$LINENO: checking for statvfs" >&5
36817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36818 if test "${wx_cv_func_statvfs+set}" = set; then
36819 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 else
36821 cat >conftest.$ac_ext <<_ACEOF
36822 /* confdefs.h. */
36823 _ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36827
36828 #include <stddef.h>
36829 #include <sys/statvfs.h>
36830
36831 int
36832 main ()
36833 {
36834
36835 statvfs("/", NULL);
36836
36837 ;
36838 return 0;
36839 }
36840 _ACEOF
36841 rm -f conftest.$ac_objext
36842 if { (ac_try="$ac_compile"
36843 case "(($ac_try" in
36844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36845 *) ac_try_echo=$ac_try;;
36846 esac
36847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36848 (eval "$ac_compile") 2>conftest.er1
36849 ac_status=$?
36850 grep -v '^ *+' conftest.er1 >conftest.err
36851 rm -f conftest.er1
36852 cat conftest.err >&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } && {
36855 test -z "$ac_c_werror_flag" ||
36856 test ! -s conftest.err
36857 } && test -s conftest.$ac_objext; then
36858 wx_cv_func_statvfs=yes
36859 else
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.$ac_ext >&5
36862
36863 wx_cv_func_statvfs=no
36864
36865 fi
36866
36867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36868
36869 fi
36870 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36871 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36872
36873 if test "$wx_cv_func_statvfs" = "yes"; then
36874 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36875 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36876 if test "${wx_cv_type_statvfs_t+set}" = set; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36878 else
36879 ac_ext=cpp
36880 ac_cpp='$CXXCPP $CPPFLAGS'
36881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36884
36885 cat >conftest.$ac_ext <<_ACEOF
36886 /* confdefs.h. */
36887 _ACEOF
36888 cat confdefs.h >>conftest.$ac_ext
36889 cat >>conftest.$ac_ext <<_ACEOF
36890 /* end confdefs.h. */
36891
36892 #include <sys/statvfs.h>
36893
36894 int
36895 main ()
36896 {
36897
36898 long l;
36899 statvfs_t fs;
36900 statvfs("/", &fs);
36901 l = fs.f_bsize;
36902 l += fs.f_blocks;
36903 l += fs.f_bavail;
36904
36905 ;
36906 return 0;
36907 }
36908 _ACEOF
36909 rm -f conftest.$ac_objext
36910 if { (ac_try="$ac_compile"
36911 case "(($ac_try" in
36912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36913 *) ac_try_echo=$ac_try;;
36914 esac
36915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36916 (eval "$ac_compile") 2>conftest.er1
36917 ac_status=$?
36918 grep -v '^ *+' conftest.er1 >conftest.err
36919 rm -f conftest.er1
36920 cat conftest.err >&5
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); } && {
36923 test -z "$ac_cxx_werror_flag" ||
36924 test ! -s conftest.err
36925 } && test -s conftest.$ac_objext; then
36926 wx_cv_type_statvfs_t=statvfs_t
36927 else
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36930
36931
36932 cat >conftest.$ac_ext <<_ACEOF
36933 /* confdefs.h. */
36934 _ACEOF
36935 cat confdefs.h >>conftest.$ac_ext
36936 cat >>conftest.$ac_ext <<_ACEOF
36937 /* end confdefs.h. */
36938
36939 #include <sys/statvfs.h>
36940
36941 int
36942 main ()
36943 {
36944
36945 long l;
36946 struct statvfs fs;
36947 statvfs("/", &fs);
36948 l = fs.f_bsize;
36949 l += fs.f_blocks;
36950 l += fs.f_bavail;
36951
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 rm -f conftest.$ac_objext
36957 if { (ac_try="$ac_compile"
36958 case "(($ac_try" in
36959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36960 *) ac_try_echo=$ac_try;;
36961 esac
36962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36963 (eval "$ac_compile") 2>conftest.er1
36964 ac_status=$?
36965 grep -v '^ *+' conftest.er1 >conftest.err
36966 rm -f conftest.er1
36967 cat conftest.err >&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } && {
36970 test -z "$ac_cxx_werror_flag" ||
36971 test ! -s conftest.err
36972 } && test -s conftest.$ac_objext; then
36973 wx_cv_type_statvfs_t="struct statvfs"
36974 else
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36977
36978 wx_cv_type_statvfs_t="unknown"
36979
36980 fi
36981
36982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36983
36984
36985 fi
36986
36987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36988 ac_ext=c
36989 ac_cpp='$CPP $CPPFLAGS'
36990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36993
36994
36995 fi
36996 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36997 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36998
36999 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37000 cat >>confdefs.h <<\_ACEOF
37001 #define HAVE_STATVFS 1
37002 _ACEOF
37003
37004 fi
37005 else
37006 wx_cv_type_statvfs_t="unknown"
37007 fi
37008 fi
37009
37010 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define WX_STATFS_T $wx_cv_type_statvfs_t
37013 _ACEOF
37014
37015 else
37016 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37017 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37018 fi
37019
37020 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37021
37022
37023 for ac_func in fcntl flock
37024 do
37025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h. */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37039 #define $ac_func innocuous_$ac_func
37040
37041 /* System header to define __stub macros and hopefully few prototypes,
37042 which can conflict with char $ac_func (); below.
37043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37044 <limits.h> exists even on freestanding compilers. */
37045
37046 #ifdef __STDC__
37047 # include <limits.h>
37048 #else
37049 # include <assert.h>
37050 #endif
37051
37052 #undef $ac_func
37053
37054 /* Override any GCC internal prototype to avoid an error.
37055 Use char because int might match the return type of a GCC
37056 builtin and then its argument prototype would still apply. */
37057 #ifdef __cplusplus
37058 extern "C"
37059 #endif
37060 char $ac_func ();
37061 /* The GNU C library defines this for functions which it implements
37062 to always fail with ENOSYS. Some functions are actually named
37063 something starting with __ and the normal name is an alias. */
37064 #if defined __stub_$ac_func || defined __stub___$ac_func
37065 choke me
37066 #endif
37067
37068 int
37069 main ()
37070 {
37071 return $ac_func ();
37072 ;
37073 return 0;
37074 }
37075 _ACEOF
37076 rm -f conftest.$ac_objext conftest$ac_exeext
37077 if { (ac_try="$ac_link"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37081 esac
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_link") 2>conftest.er1
37084 ac_status=$?
37085 grep -v '^ *+' conftest.er1 >conftest.err
37086 rm -f conftest.er1
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest$ac_exeext &&
37093 $as_test_x conftest$ac_exeext; then
37094 eval "$as_ac_var=yes"
37095 else
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.$ac_ext >&5
37098
37099 eval "$as_ac_var=no"
37100 fi
37101
37102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37103 conftest$ac_exeext conftest.$ac_ext
37104 fi
37105 ac_res=`eval echo '${'$as_ac_var'}'`
37106 { echo "$as_me:$LINENO: result: $ac_res" >&5
37107 echo "${ECHO_T}$ac_res" >&6; }
37108 if test `eval echo '${'$as_ac_var'}'` = yes; then
37109 cat >>confdefs.h <<_ACEOF
37110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37111 _ACEOF
37112 break
37113 fi
37114 done
37115
37116
37117 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37118 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37119 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37120 wxUSE_SNGLINST_CHECKER=no
37121 fi
37122 fi
37123
37124
37125
37126 for ac_func in setenv putenv
37127 do
37128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 else
37134 cat >conftest.$ac_ext <<_ACEOF
37135 /* confdefs.h. */
37136 _ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37142 #define $ac_func innocuous_$ac_func
37143
37144 /* System header to define __stub macros and hopefully few prototypes,
37145 which can conflict with char $ac_func (); below.
37146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37147 <limits.h> exists even on freestanding compilers. */
37148
37149 #ifdef __STDC__
37150 # include <limits.h>
37151 #else
37152 # include <assert.h>
37153 #endif
37154
37155 #undef $ac_func
37156
37157 /* Override any GCC internal prototype to avoid an error.
37158 Use char because int might match the return type of a GCC
37159 builtin and then its argument prototype would still apply. */
37160 #ifdef __cplusplus
37161 extern "C"
37162 #endif
37163 char $ac_func ();
37164 /* The GNU C library defines this for functions which it implements
37165 to always fail with ENOSYS. Some functions are actually named
37166 something starting with __ and the normal name is an alias. */
37167 #if defined __stub_$ac_func || defined __stub___$ac_func
37168 choke me
37169 #endif
37170
37171 int
37172 main ()
37173 {
37174 return $ac_func ();
37175 ;
37176 return 0;
37177 }
37178 _ACEOF
37179 rm -f conftest.$ac_objext conftest$ac_exeext
37180 if { (ac_try="$ac_link"
37181 case "(($ac_try" in
37182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37183 *) ac_try_echo=$ac_try;;
37184 esac
37185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37186 (eval "$ac_link") 2>conftest.er1
37187 ac_status=$?
37188 grep -v '^ *+' conftest.er1 >conftest.err
37189 rm -f conftest.er1
37190 cat conftest.err >&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } && {
37193 test -z "$ac_c_werror_flag" ||
37194 test ! -s conftest.err
37195 } && test -s conftest$ac_exeext &&
37196 $as_test_x conftest$ac_exeext; then
37197 eval "$as_ac_var=yes"
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37201
37202 eval "$as_ac_var=no"
37203 fi
37204
37205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37206 conftest$ac_exeext conftest.$ac_ext
37207 fi
37208 ac_res=`eval echo '${'$as_ac_var'}'`
37209 { echo "$as_me:$LINENO: result: $ac_res" >&5
37210 echo "${ECHO_T}$ac_res" >&6; }
37211 if test `eval echo '${'$as_ac_var'}'` = yes; then
37212 cat >>confdefs.h <<_ACEOF
37213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37214 _ACEOF
37215 break
37216 fi
37217 done
37218
37219 if test "$ac_cv_func_setenv" = "yes"; then
37220
37221 for ac_func in unsetenv
37222 do
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37238
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37243
37244 #ifdef __STDC__
37245 # include <limits.h>
37246 #else
37247 # include <assert.h>
37248 #endif
37249
37250 #undef $ac_func
37251
37252 /* Override any GCC internal prototype to avoid an error.
37253 Use char because int might match the return type of a GCC
37254 builtin and then its argument prototype would still apply. */
37255 #ifdef __cplusplus
37256 extern "C"
37257 #endif
37258 char $ac_func ();
37259 /* The GNU C library defines this for functions which it implements
37260 to always fail with ENOSYS. Some functions are actually named
37261 something starting with __ and the normal name is an alias. */
37262 #if defined __stub_$ac_func || defined __stub___$ac_func
37263 choke me
37264 #endif
37265
37266 int
37267 main ()
37268 {
37269 return $ac_func ();
37270 ;
37271 return 0;
37272 }
37273 _ACEOF
37274 rm -f conftest.$ac_objext conftest$ac_exeext
37275 if { (ac_try="$ac_link"
37276 case "(($ac_try" in
37277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37278 *) ac_try_echo=$ac_try;;
37279 esac
37280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37281 (eval "$ac_link") 2>conftest.er1
37282 ac_status=$?
37283 grep -v '^ *+' conftest.er1 >conftest.err
37284 rm -f conftest.er1
37285 cat conftest.err >&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } && {
37288 test -z "$ac_c_werror_flag" ||
37289 test ! -s conftest.err
37290 } && test -s conftest$ac_exeext &&
37291 $as_test_x conftest$ac_exeext; then
37292 eval "$as_ac_var=yes"
37293 else
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.$ac_ext >&5
37296
37297 eval "$as_ac_var=no"
37298 fi
37299
37300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37301 conftest$ac_exeext conftest.$ac_ext
37302 fi
37303 ac_res=`eval echo '${'$as_ac_var'}'`
37304 { echo "$as_me:$LINENO: result: $ac_res" >&5
37305 echo "${ECHO_T}$ac_res" >&6; }
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37309 _ACEOF
37310
37311 fi
37312 done
37313
37314 fi
37315
37316 HAVE_SOME_SLEEP_FUNC=0
37317 if test "$USE_BEOS" = 1; then
37318 cat >>confdefs.h <<\_ACEOF
37319 #define HAVE_SLEEP 1
37320 _ACEOF
37321
37322 HAVE_SOME_SLEEP_FUNC=1
37323 fi
37324
37325 if test "$USE_DARWIN" = 1; then
37326 cat >>confdefs.h <<\_ACEOF
37327 #define HAVE_USLEEP 1
37328 _ACEOF
37329
37330 HAVE_SOME_SLEEP_FUNC=1
37331 fi
37332
37333 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37334 POSIX4_LINK=
37335
37336 for ac_func in nanosleep
37337 do
37338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37342 echo $ECHO_N "(cached) $ECHO_C" >&6
37343 else
37344 cat >conftest.$ac_ext <<_ACEOF
37345 /* confdefs.h. */
37346 _ACEOF
37347 cat confdefs.h >>conftest.$ac_ext
37348 cat >>conftest.$ac_ext <<_ACEOF
37349 /* end confdefs.h. */
37350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37352 #define $ac_func innocuous_$ac_func
37353
37354 /* System header to define __stub macros and hopefully few prototypes,
37355 which can conflict with char $ac_func (); below.
37356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37357 <limits.h> exists even on freestanding compilers. */
37358
37359 #ifdef __STDC__
37360 # include <limits.h>
37361 #else
37362 # include <assert.h>
37363 #endif
37364
37365 #undef $ac_func
37366
37367 /* Override any GCC internal prototype to avoid an error.
37368 Use char because int might match the return type of a GCC
37369 builtin and then its argument prototype would still apply. */
37370 #ifdef __cplusplus
37371 extern "C"
37372 #endif
37373 char $ac_func ();
37374 /* The GNU C library defines this for functions which it implements
37375 to always fail with ENOSYS. Some functions are actually named
37376 something starting with __ and the normal name is an alias. */
37377 #if defined __stub_$ac_func || defined __stub___$ac_func
37378 choke me
37379 #endif
37380
37381 int
37382 main ()
37383 {
37384 return $ac_func ();
37385 ;
37386 return 0;
37387 }
37388 _ACEOF
37389 rm -f conftest.$ac_objext conftest$ac_exeext
37390 if { (ac_try="$ac_link"
37391 case "(($ac_try" in
37392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37393 *) ac_try_echo=$ac_try;;
37394 esac
37395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37396 (eval "$ac_link") 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } && {
37403 test -z "$ac_c_werror_flag" ||
37404 test ! -s conftest.err
37405 } && test -s conftest$ac_exeext &&
37406 $as_test_x conftest$ac_exeext; then
37407 eval "$as_ac_var=yes"
37408 else
37409 echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.$ac_ext >&5
37411
37412 eval "$as_ac_var=no"
37413 fi
37414
37415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37416 conftest$ac_exeext conftest.$ac_ext
37417 fi
37418 ac_res=`eval echo '${'$as_ac_var'}'`
37419 { echo "$as_me:$LINENO: result: $ac_res" >&5
37420 echo "${ECHO_T}$ac_res" >&6; }
37421 if test `eval echo '${'$as_ac_var'}'` = yes; then
37422 cat >>confdefs.h <<_ACEOF
37423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37424 _ACEOF
37425 cat >>confdefs.h <<\_ACEOF
37426 #define HAVE_NANOSLEEP 1
37427 _ACEOF
37428
37429 else
37430
37431 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37432 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37433 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37435 else
37436 ac_check_lib_save_LIBS=$LIBS
37437 LIBS="-lposix4 $LIBS"
37438 cat >conftest.$ac_ext <<_ACEOF
37439 /* confdefs.h. */
37440 _ACEOF
37441 cat confdefs.h >>conftest.$ac_ext
37442 cat >>conftest.$ac_ext <<_ACEOF
37443 /* end confdefs.h. */
37444
37445 /* Override any GCC internal prototype to avoid an error.
37446 Use char because int might match the return type of a GCC
37447 builtin and then its argument prototype would still apply. */
37448 #ifdef __cplusplus
37449 extern "C"
37450 #endif
37451 char nanosleep ();
37452 int
37453 main ()
37454 {
37455 return nanosleep ();
37456 ;
37457 return 0;
37458 }
37459 _ACEOF
37460 rm -f conftest.$ac_objext conftest$ac_exeext
37461 if { (ac_try="$ac_link"
37462 case "(($ac_try" in
37463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37464 *) ac_try_echo=$ac_try;;
37465 esac
37466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37467 (eval "$ac_link") 2>conftest.er1
37468 ac_status=$?
37469 grep -v '^ *+' conftest.er1 >conftest.err
37470 rm -f conftest.er1
37471 cat conftest.err >&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); } && {
37474 test -z "$ac_c_werror_flag" ||
37475 test ! -s conftest.err
37476 } && test -s conftest$ac_exeext &&
37477 $as_test_x conftest$ac_exeext; then
37478 ac_cv_lib_posix4_nanosleep=yes
37479 else
37480 echo "$as_me: failed program was:" >&5
37481 sed 's/^/| /' conftest.$ac_ext >&5
37482
37483 ac_cv_lib_posix4_nanosleep=no
37484 fi
37485
37486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37487 conftest$ac_exeext conftest.$ac_ext
37488 LIBS=$ac_check_lib_save_LIBS
37489 fi
37490 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37491 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37492 if test $ac_cv_lib_posix4_nanosleep = yes; then
37493
37494 cat >>confdefs.h <<\_ACEOF
37495 #define HAVE_NANOSLEEP 1
37496 _ACEOF
37497
37498 POSIX4_LINK=" -lposix4"
37499
37500 else
37501
37502
37503 for wx_func in usleep
37504 do
37505 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37506 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37507 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 else
37510
37511 cat >conftest.$ac_ext <<_ACEOF
37512
37513 /* confdefs.h. */
37514 _ACEOF
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37518
37519
37520 $ac_includes_default
37521
37522 int
37523 main ()
37524 {
37525
37526 #ifndef $wx_func
37527 &$wx_func;
37528 #endif
37529
37530
37531 ;
37532 return 0;
37533 }
37534
37535 _ACEOF
37536 rm -f conftest.$ac_objext conftest$ac_exeext
37537 if { (ac_try="$ac_link"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37541 esac
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_link") 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest$ac_exeext &&
37553 $as_test_x conftest$ac_exeext; then
37554 eval wx_cv_func_$wx_func=yes
37555 else
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37558
37559 eval wx_cv_func_$wx_func=no
37560 fi
37561
37562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37563 conftest$ac_exeext conftest.$ac_ext
37564
37565 fi
37566 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37567 { echo "$as_me:$LINENO: result: $ac_res" >&5
37568 echo "${ECHO_T}$ac_res" >&6; }
37569
37570 if eval test \$wx_cv_func_$wx_func = yes
37571 then
37572 cat >>confdefs.h <<_ACEOF
37573 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37574 _ACEOF
37575
37576
37577 else
37578 :
37579 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37580 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37581
37582 fi
37583 done
37584
37585
37586
37587 fi
37588
37589
37590
37591 fi
37592 done
37593
37594 fi
37595
37596
37597 for wx_func in uname
37598 do
37599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37601 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 else
37604
37605 cat >conftest.$ac_ext <<_ACEOF
37606
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612
37613 #include <sys/utsname.h>
37614 $ac_includes_default
37615
37616 int
37617 main ()
37618 {
37619
37620 #ifndef $wx_func
37621 &$wx_func;
37622 #endif
37623
37624
37625 ;
37626 return 0;
37627 }
37628
37629 _ACEOF
37630 rm -f conftest.$ac_objext conftest$ac_exeext
37631 if { (ac_try="$ac_link"
37632 case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37635 esac
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_link") 2>conftest.er1
37638 ac_status=$?
37639 grep -v '^ *+' conftest.er1 >conftest.err
37640 rm -f conftest.er1
37641 cat conftest.err >&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_c_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest$ac_exeext &&
37647 $as_test_x conftest$ac_exeext; then
37648 eval wx_cv_func_$wx_func=yes
37649 else
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.$ac_ext >&5
37652
37653 eval wx_cv_func_$wx_func=no
37654 fi
37655
37656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37657 conftest$ac_exeext conftest.$ac_ext
37658
37659 fi
37660 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37661 { echo "$as_me:$LINENO: result: $ac_res" >&5
37662 echo "${ECHO_T}$ac_res" >&6; }
37663
37664 if eval test \$wx_cv_func_$wx_func = yes
37665 then
37666 cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37668 _ACEOF
37669
37670
37671 else
37672 :
37673
37674 fi
37675 done
37676
37677 if test "$wx_cv_func_uname" != yes; then
37678
37679 for wx_func in gethostname
37680 do
37681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37683 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37684 echo $ECHO_N "(cached) $ECHO_C" >&6
37685 else
37686
37687 cat >conftest.$ac_ext <<_ACEOF
37688
37689 /* confdefs.h. */
37690 _ACEOF
37691 cat confdefs.h >>conftest.$ac_ext
37692 cat >>conftest.$ac_ext <<_ACEOF
37693 /* end confdefs.h. */
37694
37695
37696 $ac_includes_default
37697
37698 int
37699 main ()
37700 {
37701
37702 #ifndef $wx_func
37703 &$wx_func;
37704 #endif
37705
37706
37707 ;
37708 return 0;
37709 }
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 wx_cv_func_$wx_func=yes
37731 else
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37734
37735 eval wx_cv_func_$wx_func=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
37741 fi
37742 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37743 { echo "$as_me:$LINENO: result: $ac_res" >&5
37744 echo "${ECHO_T}$ac_res" >&6; }
37745
37746 if eval test \$wx_cv_func_$wx_func = yes
37747 then
37748 cat >>confdefs.h <<_ACEOF
37749 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37750 _ACEOF
37751
37752
37753 else
37754 :
37755
37756 fi
37757 done
37758
37759 fi
37760
37761
37762 for wx_func in strtok_r
37763 do
37764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37766 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37768 else
37769
37770 cat >conftest.$ac_ext <<_ACEOF
37771
37772 /* confdefs.h. */
37773 _ACEOF
37774 cat confdefs.h >>conftest.$ac_ext
37775 cat >>conftest.$ac_ext <<_ACEOF
37776 /* end confdefs.h. */
37777
37778 #define _REENTRANT
37779 $ac_includes_default
37780
37781 int
37782 main ()
37783 {
37784
37785 #ifndef $wx_func
37786 &$wx_func;
37787 #endif
37788
37789
37790 ;
37791 return 0;
37792 }
37793
37794 _ACEOF
37795 rm -f conftest.$ac_objext conftest$ac_exeext
37796 if { (ac_try="$ac_link"
37797 case "(($ac_try" in
37798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37799 *) ac_try_echo=$ac_try;;
37800 esac
37801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37802 (eval "$ac_link") 2>conftest.er1
37803 ac_status=$?
37804 grep -v '^ *+' conftest.er1 >conftest.err
37805 rm -f conftest.er1
37806 cat conftest.err >&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); } && {
37809 test -z "$ac_c_werror_flag" ||
37810 test ! -s conftest.err
37811 } && test -s conftest$ac_exeext &&
37812 $as_test_x conftest$ac_exeext; then
37813 eval wx_cv_func_$wx_func=yes
37814 else
37815 echo "$as_me: failed program was:" >&5
37816 sed 's/^/| /' conftest.$ac_ext >&5
37817
37818 eval wx_cv_func_$wx_func=no
37819 fi
37820
37821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37822 conftest$ac_exeext conftest.$ac_ext
37823
37824 fi
37825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37826 { echo "$as_me:$LINENO: result: $ac_res" >&5
37827 echo "${ECHO_T}$ac_res" >&6; }
37828
37829 if eval test \$wx_cv_func_$wx_func = yes
37830 then
37831 cat >>confdefs.h <<_ACEOF
37832 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37833 _ACEOF
37834
37835
37836 else
37837 :
37838
37839 fi
37840 done
37841
37842
37843 INET_LINK=
37844
37845 for ac_func in inet_addr
37846 do
37847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 else
37853 cat >conftest.$ac_ext <<_ACEOF
37854 /* confdefs.h. */
37855 _ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37861 #define $ac_func innocuous_$ac_func
37862
37863 /* System header to define __stub macros and hopefully few prototypes,
37864 which can conflict with char $ac_func (); below.
37865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37866 <limits.h> exists even on freestanding compilers. */
37867
37868 #ifdef __STDC__
37869 # include <limits.h>
37870 #else
37871 # include <assert.h>
37872 #endif
37873
37874 #undef $ac_func
37875
37876 /* Override any GCC internal prototype to avoid an error.
37877 Use char because int might match the return type of a GCC
37878 builtin and then its argument prototype would still apply. */
37879 #ifdef __cplusplus
37880 extern "C"
37881 #endif
37882 char $ac_func ();
37883 /* The GNU C library defines this for functions which it implements
37884 to always fail with ENOSYS. Some functions are actually named
37885 something starting with __ and the normal name is an alias. */
37886 #if defined __stub_$ac_func || defined __stub___$ac_func
37887 choke me
37888 #endif
37889
37890 int
37891 main ()
37892 {
37893 return $ac_func ();
37894 ;
37895 return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (ac_try="$ac_link"
37900 case "(($ac_try" in
37901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37902 *) ac_try_echo=$ac_try;;
37903 esac
37904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37905 (eval "$ac_link") 2>conftest.er1
37906 ac_status=$?
37907 grep -v '^ *+' conftest.er1 >conftest.err
37908 rm -f conftest.er1
37909 cat conftest.err >&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } && {
37912 test -z "$ac_c_werror_flag" ||
37913 test ! -s conftest.err
37914 } && test -s conftest$ac_exeext &&
37915 $as_test_x conftest$ac_exeext; then
37916 eval "$as_ac_var=yes"
37917 else
37918 echo "$as_me: failed program was:" >&5
37919 sed 's/^/| /' conftest.$ac_ext >&5
37920
37921 eval "$as_ac_var=no"
37922 fi
37923
37924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37925 conftest$ac_exeext conftest.$ac_ext
37926 fi
37927 ac_res=`eval echo '${'$as_ac_var'}'`
37928 { echo "$as_me:$LINENO: result: $ac_res" >&5
37929 echo "${ECHO_T}$ac_res" >&6; }
37930 if test `eval echo '${'$as_ac_var'}'` = yes; then
37931 cat >>confdefs.h <<_ACEOF
37932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37933 _ACEOF
37934 cat >>confdefs.h <<\_ACEOF
37935 #define HAVE_INET_ADDR 1
37936 _ACEOF
37937
37938 else
37939
37940 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37941 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37942 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 ac_check_lib_save_LIBS=$LIBS
37946 LIBS="-lnsl $LIBS"
37947 cat >conftest.$ac_ext <<_ACEOF
37948 /* confdefs.h. */
37949 _ACEOF
37950 cat confdefs.h >>conftest.$ac_ext
37951 cat >>conftest.$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37953
37954 /* Override any GCC internal prototype to avoid an error.
37955 Use char because int might match the return type of a GCC
37956 builtin and then its argument prototype would still apply. */
37957 #ifdef __cplusplus
37958 extern "C"
37959 #endif
37960 char inet_addr ();
37961 int
37962 main ()
37963 {
37964 return inet_addr ();
37965 ;
37966 return 0;
37967 }
37968 _ACEOF
37969 rm -f conftest.$ac_objext conftest$ac_exeext
37970 if { (ac_try="$ac_link"
37971 case "(($ac_try" in
37972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37974 esac
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_link") 2>conftest.er1
37977 ac_status=$?
37978 grep -v '^ *+' conftest.er1 >conftest.err
37979 rm -f conftest.er1
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest$ac_exeext &&
37986 $as_test_x conftest$ac_exeext; then
37987 ac_cv_lib_nsl_inet_addr=yes
37988 else
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37991
37992 ac_cv_lib_nsl_inet_addr=no
37993 fi
37994
37995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37996 conftest$ac_exeext conftest.$ac_ext
37997 LIBS=$ac_check_lib_save_LIBS
37998 fi
37999 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38000 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38001 if test $ac_cv_lib_nsl_inet_addr = yes; then
38002 INET_LINK="nsl"
38003 else
38004
38005 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38006 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38007 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 else
38010 ac_check_lib_save_LIBS=$LIBS
38011 LIBS="-lresolv $LIBS"
38012 cat >conftest.$ac_ext <<_ACEOF
38013 /* confdefs.h. */
38014 _ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38018
38019 /* Override any GCC internal prototype to avoid an error.
38020 Use char because int might match the return type of a GCC
38021 builtin and then its argument prototype would still apply. */
38022 #ifdef __cplusplus
38023 extern "C"
38024 #endif
38025 char inet_addr ();
38026 int
38027 main ()
38028 {
38029 return inet_addr ();
38030 ;
38031 return 0;
38032 }
38033 _ACEOF
38034 rm -f conftest.$ac_objext conftest$ac_exeext
38035 if { (ac_try="$ac_link"
38036 case "(($ac_try" in
38037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38038 *) ac_try_echo=$ac_try;;
38039 esac
38040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38041 (eval "$ac_link") 2>conftest.er1
38042 ac_status=$?
38043 grep -v '^ *+' conftest.er1 >conftest.err
38044 rm -f conftest.er1
38045 cat conftest.err >&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); } && {
38048 test -z "$ac_c_werror_flag" ||
38049 test ! -s conftest.err
38050 } && test -s conftest$ac_exeext &&
38051 $as_test_x conftest$ac_exeext; then
38052 ac_cv_lib_resolv_inet_addr=yes
38053 else
38054 echo "$as_me: failed program was:" >&5
38055 sed 's/^/| /' conftest.$ac_ext >&5
38056
38057 ac_cv_lib_resolv_inet_addr=no
38058 fi
38059
38060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38061 conftest$ac_exeext conftest.$ac_ext
38062 LIBS=$ac_check_lib_save_LIBS
38063 fi
38064 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38065 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38066 if test $ac_cv_lib_resolv_inet_addr = yes; then
38067 INET_LINK="resolv"
38068 else
38069
38070 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38071 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38072 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 else
38075 ac_check_lib_save_LIBS=$LIBS
38076 LIBS="-lsocket $LIBS"
38077 cat >conftest.$ac_ext <<_ACEOF
38078 /* confdefs.h. */
38079 _ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083
38084 /* Override any GCC internal prototype to avoid an error.
38085 Use char because int might match the return type of a GCC
38086 builtin and then its argument prototype would still apply. */
38087 #ifdef __cplusplus
38088 extern "C"
38089 #endif
38090 char inet_addr ();
38091 int
38092 main ()
38093 {
38094 return inet_addr ();
38095 ;
38096 return 0;
38097 }
38098 _ACEOF
38099 rm -f conftest.$ac_objext conftest$ac_exeext
38100 if { (ac_try="$ac_link"
38101 case "(($ac_try" in
38102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38103 *) ac_try_echo=$ac_try;;
38104 esac
38105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38106 (eval "$ac_link") 2>conftest.er1
38107 ac_status=$?
38108 grep -v '^ *+' conftest.er1 >conftest.err
38109 rm -f conftest.er1
38110 cat conftest.err >&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); } && {
38113 test -z "$ac_c_werror_flag" ||
38114 test ! -s conftest.err
38115 } && test -s conftest$ac_exeext &&
38116 $as_test_x conftest$ac_exeext; then
38117 ac_cv_lib_socket_inet_addr=yes
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 ac_cv_lib_socket_inet_addr=no
38123 fi
38124
38125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38126 conftest$ac_exeext conftest.$ac_ext
38127 LIBS=$ac_check_lib_save_LIBS
38128 fi
38129 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38130 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38131 if test $ac_cv_lib_socket_inet_addr = yes; then
38132 INET_LINK="socket"
38133
38134 fi
38135
38136
38137
38138 fi
38139
38140
38141
38142 fi
38143
38144
38145
38146 fi
38147 done
38148
38149
38150
38151 for ac_func in inet_aton
38152 do
38153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 else
38159 cat >conftest.$ac_ext <<_ACEOF
38160 /* confdefs.h. */
38161 _ACEOF
38162 cat confdefs.h >>conftest.$ac_ext
38163 cat >>conftest.$ac_ext <<_ACEOF
38164 /* end confdefs.h. */
38165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38167 #define $ac_func innocuous_$ac_func
38168
38169 /* System header to define __stub macros and hopefully few prototypes,
38170 which can conflict with char $ac_func (); below.
38171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38172 <limits.h> exists even on freestanding compilers. */
38173
38174 #ifdef __STDC__
38175 # include <limits.h>
38176 #else
38177 # include <assert.h>
38178 #endif
38179
38180 #undef $ac_func
38181
38182 /* Override any GCC internal prototype to avoid an error.
38183 Use char because int might match the return type of a GCC
38184 builtin and then its argument prototype would still apply. */
38185 #ifdef __cplusplus
38186 extern "C"
38187 #endif
38188 char $ac_func ();
38189 /* The GNU C library defines this for functions which it implements
38190 to always fail with ENOSYS. Some functions are actually named
38191 something starting with __ and the normal name is an alias. */
38192 #if defined __stub_$ac_func || defined __stub___$ac_func
38193 choke me
38194 #endif
38195
38196 int
38197 main ()
38198 {
38199 return $ac_func ();
38200 ;
38201 return 0;
38202 }
38203 _ACEOF
38204 rm -f conftest.$ac_objext conftest$ac_exeext
38205 if { (ac_try="$ac_link"
38206 case "(($ac_try" in
38207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38208 *) ac_try_echo=$ac_try;;
38209 esac
38210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38211 (eval "$ac_link") 2>conftest.er1
38212 ac_status=$?
38213 grep -v '^ *+' conftest.er1 >conftest.err
38214 rm -f conftest.er1
38215 cat conftest.err >&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); } && {
38218 test -z "$ac_c_werror_flag" ||
38219 test ! -s conftest.err
38220 } && test -s conftest$ac_exeext &&
38221 $as_test_x conftest$ac_exeext; then
38222 eval "$as_ac_var=yes"
38223 else
38224 echo "$as_me: failed program was:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38226
38227 eval "$as_ac_var=no"
38228 fi
38229
38230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38231 conftest$ac_exeext conftest.$ac_ext
38232 fi
38233 ac_res=`eval echo '${'$as_ac_var'}'`
38234 { echo "$as_me:$LINENO: result: $ac_res" >&5
38235 echo "${ECHO_T}$ac_res" >&6; }
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h <<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38239 _ACEOF
38240 cat >>confdefs.h <<\_ACEOF
38241 #define HAVE_INET_ATON 1
38242 _ACEOF
38243
38244 else
38245
38246 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38247 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38248 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38249 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 else
38252 ac_check_lib_save_LIBS=$LIBS
38253 LIBS="-l$INET_LINK $LIBS"
38254 cat >conftest.$ac_ext <<_ACEOF
38255 /* confdefs.h. */
38256 _ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38260
38261 /* Override any GCC internal prototype to avoid an error.
38262 Use char because int might match the return type of a GCC
38263 builtin and then its argument prototype would still apply. */
38264 #ifdef __cplusplus
38265 extern "C"
38266 #endif
38267 char inet_aton ();
38268 int
38269 main ()
38270 {
38271 return inet_aton ();
38272 ;
38273 return 0;
38274 }
38275 _ACEOF
38276 rm -f conftest.$ac_objext conftest$ac_exeext
38277 if { (ac_try="$ac_link"
38278 case "(($ac_try" in
38279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38280 *) ac_try_echo=$ac_try;;
38281 esac
38282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38283 (eval "$ac_link") 2>conftest.er1
38284 ac_status=$?
38285 grep -v '^ *+' conftest.er1 >conftest.err
38286 rm -f conftest.er1
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } && {
38290 test -z "$ac_c_werror_flag" ||
38291 test ! -s conftest.err
38292 } && test -s conftest$ac_exeext &&
38293 $as_test_x conftest$ac_exeext; then
38294 eval "$as_ac_Lib=yes"
38295 else
38296 echo "$as_me: failed program was:" >&5
38297 sed 's/^/| /' conftest.$ac_ext >&5
38298
38299 eval "$as_ac_Lib=no"
38300 fi
38301
38302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38303 conftest$ac_exeext conftest.$ac_ext
38304 LIBS=$ac_check_lib_save_LIBS
38305 fi
38306 ac_res=`eval echo '${'$as_ac_Lib'}'`
38307 { echo "$as_me:$LINENO: result: $ac_res" >&5
38308 echo "${ECHO_T}$ac_res" >&6; }
38309 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38310 cat >>confdefs.h <<\_ACEOF
38311 #define HAVE_INET_ATON 1
38312 _ACEOF
38313
38314 fi
38315
38316
38317 fi
38318 done
38319
38320
38321 if test "x$INET_LINK" != "x"; then
38322 cat >>confdefs.h <<\_ACEOF
38323 #define HAVE_INET_ADDR 1
38324 _ACEOF
38325
38326 INET_LINK=" -l$INET_LINK"
38327 fi
38328
38329
38330 for wx_func in fdopen
38331 do
38332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337
38338 cat >conftest.$ac_ext <<_ACEOF
38339
38340 /* confdefs.h. */
38341 _ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345
38346
38347 $ac_includes_default
38348
38349 int
38350 main ()
38351 {
38352
38353 #ifndef $wx_func
38354 &$wx_func;
38355 #endif
38356
38357
38358 ;
38359 return 0;
38360 }
38361
38362 _ACEOF
38363 rm -f conftest.$ac_objext conftest$ac_exeext
38364 if { (ac_try="$ac_link"
38365 case "(($ac_try" in
38366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38367 *) ac_try_echo=$ac_try;;
38368 esac
38369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38370 (eval "$ac_link") 2>conftest.er1
38371 ac_status=$?
38372 grep -v '^ *+' conftest.er1 >conftest.err
38373 rm -f conftest.er1
38374 cat conftest.err >&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } && {
38377 test -z "$ac_c_werror_flag" ||
38378 test ! -s conftest.err
38379 } && test -s conftest$ac_exeext &&
38380 $as_test_x conftest$ac_exeext; then
38381 eval wx_cv_func_$wx_func=yes
38382 else
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38385
38386 eval wx_cv_func_$wx_func=no
38387 fi
38388
38389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38390 conftest$ac_exeext conftest.$ac_ext
38391
38392 fi
38393 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38396
38397 if eval test \$wx_cv_func_$wx_func = yes
38398 then
38399 cat >>confdefs.h <<_ACEOF
38400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38401 _ACEOF
38402
38403
38404 else
38405 :
38406
38407 fi
38408 done
38409
38410
38411 if test "$wxUSE_TARSTREAM" = "yes"; then
38412
38413 for wx_func in sysconf
38414 do
38415 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38416 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38417 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 else
38420
38421 cat >conftest.$ac_ext <<_ACEOF
38422
38423 /* confdefs.h. */
38424 _ACEOF
38425 cat confdefs.h >>conftest.$ac_ext
38426 cat >>conftest.$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38428
38429
38430 $ac_includes_default
38431
38432 int
38433 main ()
38434 {
38435
38436 #ifndef $wx_func
38437 &$wx_func;
38438 #endif
38439
38440
38441 ;
38442 return 0;
38443 }
38444
38445 _ACEOF
38446 rm -f conftest.$ac_objext conftest$ac_exeext
38447 if { (ac_try="$ac_link"
38448 case "(($ac_try" in
38449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38450 *) ac_try_echo=$ac_try;;
38451 esac
38452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38453 (eval "$ac_link") 2>conftest.er1
38454 ac_status=$?
38455 grep -v '^ *+' conftest.er1 >conftest.err
38456 rm -f conftest.er1
38457 cat conftest.err >&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); } && {
38460 test -z "$ac_c_werror_flag" ||
38461 test ! -s conftest.err
38462 } && test -s conftest$ac_exeext &&
38463 $as_test_x conftest$ac_exeext; then
38464 eval wx_cv_func_$wx_func=yes
38465 else
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.$ac_ext >&5
38468
38469 eval wx_cv_func_$wx_func=no
38470 fi
38471
38472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38473 conftest$ac_exeext conftest.$ac_ext
38474
38475 fi
38476 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38477 { echo "$as_me:$LINENO: result: $ac_res" >&5
38478 echo "${ECHO_T}$ac_res" >&6; }
38479
38480 if eval test \$wx_cv_func_$wx_func = yes
38481 then
38482 cat >>confdefs.h <<_ACEOF
38483 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38484 _ACEOF
38485
38486
38487 else
38488 :
38489
38490 fi
38491 done
38492
38493
38494
38495 for wx_func in getpwuid_r
38496 do
38497 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38499 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38500 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 else
38502
38503 cat >conftest.$ac_ext <<_ACEOF
38504
38505 /* confdefs.h. */
38506 _ACEOF
38507 cat confdefs.h >>conftest.$ac_ext
38508 cat >>conftest.$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38510
38511
38512 #define _REENTRANT
38513 #include <pwd.h>
38514
38515 $ac_includes_default
38516
38517 int
38518 main ()
38519 {
38520
38521 #ifndef $wx_func
38522 &$wx_func;
38523 #endif
38524
38525 struct passwd pw, *ppw;
38526 char buf[1024];
38527 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38528
38529
38530 ;
38531 return 0;
38532 }
38533
38534 _ACEOF
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (ac_try="$ac_link"
38537 case "(($ac_try" in
38538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38540 esac
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_link") 2>conftest.er1
38543 ac_status=$?
38544 grep -v '^ *+' conftest.er1 >conftest.err
38545 rm -f conftest.er1
38546 cat conftest.err >&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } && {
38549 test -z "$ac_c_werror_flag" ||
38550 test ! -s conftest.err
38551 } && test -s conftest$ac_exeext &&
38552 $as_test_x conftest$ac_exeext; then
38553 eval wx_cv_func_$wx_func=yes
38554 else
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.$ac_ext >&5
38557
38558 eval wx_cv_func_$wx_func=no
38559 fi
38560
38561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38562 conftest$ac_exeext conftest.$ac_ext
38563
38564 fi
38565 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38566 { echo "$as_me:$LINENO: result: $ac_res" >&5
38567 echo "${ECHO_T}$ac_res" >&6; }
38568
38569 if eval test \$wx_cv_func_$wx_func = yes
38570 then
38571 cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575
38576 else
38577 :
38578
38579 fi
38580 done
38581
38582
38583
38584 for wx_func in getgrgid_r
38585 do
38586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38590 else
38591
38592 cat >conftest.$ac_ext <<_ACEOF
38593
38594 /* confdefs.h. */
38595 _ACEOF
38596 cat confdefs.h >>conftest.$ac_ext
38597 cat >>conftest.$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38599
38600
38601 #define _REENTRANT
38602 #include <grp.h>
38603
38604 $ac_includes_default
38605
38606 int
38607 main ()
38608 {
38609
38610 #ifndef $wx_func
38611 &$wx_func;
38612 #endif
38613
38614 struct group grp, *pgrp;
38615 char buf[1024];
38616 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38617
38618
38619 ;
38620 return 0;
38621 }
38622
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38629 esac
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 eval wx_cv_func_$wx_func=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 eval wx_cv_func_$wx_func=no
38648 fi
38649
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652
38653 fi
38654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38655 { echo "$as_me:$LINENO: result: $ac_res" >&5
38656 echo "${ECHO_T}$ac_res" >&6; }
38657
38658 if eval test \$wx_cv_func_$wx_func = yes
38659 then
38660 cat >>confdefs.h <<_ACEOF
38661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38662 _ACEOF
38663
38664
38665 else
38666 :
38667
38668 fi
38669 done
38670
38671 fi
38672
38673 fi
38674
38675
38676
38677 cat >confcache <<\_ACEOF
38678 # This file is a shell script that caches the results of configure
38679 # tests run on this system so they can be shared between configure
38680 # scripts and configure runs, see configure's option --config-cache.
38681 # It is not useful on other systems. If it contains results you don't
38682 # want to keep, you may remove or edit it.
38683 #
38684 # config.status only pays attention to the cache file if you give it
38685 # the --recheck option to rerun configure.
38686 #
38687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38689 # following values.
38690
38691 _ACEOF
38692
38693 # The following way of writing the cache mishandles newlines in values,
38694 # but we know of no workaround that is simple, portable, and efficient.
38695 # So, we kill variables containing newlines.
38696 # Ultrix sh set writes to stderr and can't be redirected directly,
38697 # and sets the high bit in the cache file unless we assign to the vars.
38698 (
38699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38700 eval ac_val=\$$ac_var
38701 case $ac_val in #(
38702 *${as_nl}*)
38703 case $ac_var in #(
38704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38706 esac
38707 case $ac_var in #(
38708 _ | IFS | as_nl) ;; #(
38709 *) $as_unset $ac_var ;;
38710 esac ;;
38711 esac
38712 done
38713
38714 (set) 2>&1 |
38715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38716 *${as_nl}ac_space=\ *)
38717 # `set' does not quote correctly, so add quotes (double-quote
38718 # substitution turns \\\\ into \\, and sed turns \\ into \).
38719 sed -n \
38720 "s/'/'\\\\''/g;
38721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38722 ;; #(
38723 *)
38724 # `set' quotes correctly as required by POSIX, so do not add quotes.
38725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38726 ;;
38727 esac |
38728 sort
38729 ) |
38730 sed '
38731 /^ac_cv_env_/b end
38732 t clear
38733 :clear
38734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38735 t end
38736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38737 :end' >>confcache
38738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38739 if test -w "$cache_file"; then
38740 test "x$cache_file" != "x/dev/null" &&
38741 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38742 echo "$as_me: updating cache $cache_file" >&6;}
38743 cat confcache >$cache_file
38744 else
38745 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38746 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38747 fi
38748 fi
38749 rm -f confcache
38750
38751
38752 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38753
38754
38755 THREADS_LINK=
38756 THREADS_CFLAGS=
38757
38758 if test "$wxUSE_THREADS" = "yes" ; then
38759 if test "$USE_BEOS" = 1; then
38760 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38761 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38762 wxUSE_THREADS="no"
38763 fi
38764 fi
38765
38766 if test "$wxUSE_THREADS" = "yes" ; then
38767
38768
38769 THREAD_OPTS="-pthread"
38770 if test "x$SUNCXX" = xyes; then
38771 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38772 fi
38773
38774 case "${host}" in
38775 *-*-solaris2* | *-*-sunos4* )
38776 if test "x$GCC" = "xyes"; then
38777 THREAD_OPTS="-pthreads $THREAD_OPTS"
38778 fi
38779 ;;
38780 *-*-freebsd*)
38781 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38782 ;;
38783 *-*-darwin* | *-*-cygwin* )
38784 THREAD_OPTS=""
38785 ;;
38786 *-*-aix*)
38787 THREAD_OPTS="pthreads"
38788 ;;
38789 *-hp-hpux* )
38790 if test "x$GCC" = "xyes"; then
38791 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38792 THREAD_OPTS=""
38793 else
38794 THREAD_OPTS="-mt"
38795 fi
38796 ;;
38797
38798 *-*-irix* )
38799 if test "x$GCC" = "xyes"; then
38800 THREAD_OPTS=""
38801 fi
38802 ;;
38803
38804 *-*-*UnixWare*)
38805 if test "x$GCC" != "xyes"; then
38806 THREAD_OPTS="-Ethread"
38807 fi
38808 ;;
38809 esac
38810
38811 THREAD_OPTS="$THREAD_OPTS pthread none"
38812
38813 THREADS_OK=no
38814 for flag in $THREAD_OPTS; do
38815 case $flag in
38816 none)
38817 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38818 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38819 ;;
38820
38821 -*)
38822 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38823 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38824 THREADS_CFLAGS="$flag"
38825 ;;
38826
38827 *)
38828 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38829 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38830 THREADS_LINK="-l$flag"
38831 ;;
38832 esac
38833
38834 save_LIBS="$LIBS"
38835 save_CFLAGS="$CFLAGS"
38836 LIBS="$THREADS_LINK $LIBS"
38837 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38838
38839 cat >conftest.$ac_ext <<_ACEOF
38840 /* confdefs.h. */
38841 _ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38845 #include <pthread.h>
38846 int
38847 main ()
38848 {
38849 pthread_create(0,0,0,0);
38850 ;
38851 return 0;
38852 }
38853 _ACEOF
38854 rm -f conftest.$ac_objext conftest$ac_exeext
38855 if { (ac_try="$ac_link"
38856 case "(($ac_try" in
38857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38858 *) ac_try_echo=$ac_try;;
38859 esac
38860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38861 (eval "$ac_link") 2>conftest.er1
38862 ac_status=$?
38863 grep -v '^ *+' conftest.er1 >conftest.err
38864 rm -f conftest.er1
38865 cat conftest.err >&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); } && {
38868 test -z "$ac_c_werror_flag" ||
38869 test ! -s conftest.err
38870 } && test -s conftest$ac_exeext &&
38871 $as_test_x conftest$ac_exeext; then
38872 THREADS_OK=yes
38873 else
38874 echo "$as_me: failed program was:" >&5
38875 sed 's/^/| /' conftest.$ac_ext >&5
38876
38877
38878 fi
38879
38880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38881 conftest$ac_exeext conftest.$ac_ext
38882
38883 LIBS="$save_LIBS"
38884 CFLAGS="$save_CFLAGS"
38885
38886 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38887 echo "${ECHO_T}$THREADS_OK" >&6; }
38888 if test "x$THREADS_OK" = "xyes"; then
38889 break;
38890 fi
38891
38892 THREADS_LINK=""
38893 THREADS_CFLAGS=""
38894 done
38895
38896 if test "x$THREADS_OK" != "xyes"; then
38897 wxUSE_THREADS=no
38898 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38899 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38900 else
38901 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38902 LIBS="$THREADS_LINK $LIBS"
38903
38904 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38905 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38906 flag=no
38907 case "${host}" in
38908 *-aix*)
38909 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38910 flag="-D_THREAD_SAFE"
38911 ;;
38912 *-freebsd*)
38913 flag="-D_THREAD_SAFE"
38914 ;;
38915 *-hp-hpux* )
38916 flag="-D_REENTRANT"
38917 if test "x$GCC" != "xyes"; then
38918 flag="$flag -D_RWSTD_MULTI_THREAD"
38919 fi
38920 ;;
38921 *solaris* | alpha*-osf*)
38922 flag="-D_REENTRANT"
38923 ;;
38924 esac
38925 { echo "$as_me:$LINENO: result: ${flag}" >&5
38926 echo "${ECHO_T}${flag}" >&6; }
38927 if test "x$flag" != xno; then
38928 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38929 fi
38930
38931 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38932 fi
38933 fi
38934
38935 if test "$wxUSE_THREADS" = "yes" ; then
38936
38937 for ac_func in thr_setconcurrency
38938 do
38939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 else
38945 cat >conftest.$ac_ext <<_ACEOF
38946 /* confdefs.h. */
38947 _ACEOF
38948 cat confdefs.h >>conftest.$ac_ext
38949 cat >>conftest.$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38953 #define $ac_func innocuous_$ac_func
38954
38955 /* System header to define __stub macros and hopefully few prototypes,
38956 which can conflict with char $ac_func (); below.
38957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38958 <limits.h> exists even on freestanding compilers. */
38959
38960 #ifdef __STDC__
38961 # include <limits.h>
38962 #else
38963 # include <assert.h>
38964 #endif
38965
38966 #undef $ac_func
38967
38968 /* Override any GCC internal prototype to avoid an error.
38969 Use char because int might match the return type of a GCC
38970 builtin and then its argument prototype would still apply. */
38971 #ifdef __cplusplus
38972 extern "C"
38973 #endif
38974 char $ac_func ();
38975 /* The GNU C library defines this for functions which it implements
38976 to always fail with ENOSYS. Some functions are actually named
38977 something starting with __ and the normal name is an alias. */
38978 #if defined __stub_$ac_func || defined __stub___$ac_func
38979 choke me
38980 #endif
38981
38982 int
38983 main ()
38984 {
38985 return $ac_func ();
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (ac_try="$ac_link"
38992 case "(($ac_try" in
38993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38994 *) ac_try_echo=$ac_try;;
38995 esac
38996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38997 (eval "$ac_link") 2>conftest.er1
38998 ac_status=$?
38999 grep -v '^ *+' conftest.er1 >conftest.err
39000 rm -f conftest.er1
39001 cat conftest.err >&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); } && {
39004 test -z "$ac_c_werror_flag" ||
39005 test ! -s conftest.err
39006 } && test -s conftest$ac_exeext &&
39007 $as_test_x conftest$ac_exeext; then
39008 eval "$as_ac_var=yes"
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 eval "$as_ac_var=no"
39014 fi
39015
39016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39017 conftest$ac_exeext conftest.$ac_ext
39018 fi
39019 ac_res=`eval echo '${'$as_ac_var'}'`
39020 { echo "$as_me:$LINENO: result: $ac_res" >&5
39021 echo "${ECHO_T}$ac_res" >&6; }
39022 if test `eval echo '${'$as_ac_var'}'` = yes; then
39023 cat >>confdefs.h <<_ACEOF
39024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39025 _ACEOF
39026
39027 fi
39028 done
39029
39030
39031 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39032 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39033 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39035 else
39036
39037 ac_ext=cpp
39038 ac_cpp='$CXXCPP $CPPFLAGS'
39039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39042
39043 cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h. */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <pthread.h>
39050 void ThreadCleanupFunc(void *p);
39051
39052 int
39053 main ()
39054 {
39055
39056 void *p;
39057 pthread_cleanup_push(ThreadCleanupFunc, p);
39058 pthread_cleanup_pop(0);
39059
39060 ;
39061 return 0;
39062 }
39063 _ACEOF
39064 rm -f conftest.$ac_objext
39065 if { (ac_try="$ac_compile"
39066 case "(($ac_try" in
39067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39068 *) ac_try_echo=$ac_try;;
39069 esac
39070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39071 (eval "$ac_compile") 2>conftest.er1
39072 ac_status=$?
39073 grep -v '^ *+' conftest.er1 >conftest.err
39074 rm -f conftest.er1
39075 cat conftest.err >&5
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); } && {
39078 test -z "$ac_cxx_werror_flag" ||
39079 test ! -s conftest.err
39080 } && test -s conftest.$ac_objext; then
39081
39082 wx_cv_func_pthread_cleanup=yes
39083
39084 else
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39087
39088
39089 wx_cv_func_pthread_cleanup=no
39090
39091
39092 fi
39093
39094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39095 ac_ext=c
39096 ac_cpp='$CPP $CPPFLAGS'
39097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39100
39101
39102 fi
39103 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39104 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39105 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39106 cat >>confdefs.h <<\_ACEOF
39107 #define wxHAVE_PTHREAD_CLEANUP 1
39108 _ACEOF
39109
39110 fi
39111
39112
39113 for ac_header in sched.h
39114 do
39115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39119 echo $ECHO_N "(cached) $ECHO_C" >&6
39120 else
39121 cat >conftest.$ac_ext <<_ACEOF
39122 /* confdefs.h. */
39123 _ACEOF
39124 cat confdefs.h >>conftest.$ac_ext
39125 cat >>conftest.$ac_ext <<_ACEOF
39126 /* end confdefs.h. */
39127 $ac_includes_default
39128
39129 #include <$ac_header>
39130 _ACEOF
39131 rm -f conftest.$ac_objext
39132 if { (ac_try="$ac_compile"
39133 case "(($ac_try" in
39134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39135 *) ac_try_echo=$ac_try;;
39136 esac
39137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39138 (eval "$ac_compile") 2>conftest.er1
39139 ac_status=$?
39140 grep -v '^ *+' conftest.er1 >conftest.err
39141 rm -f conftest.er1
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } && {
39145 test -z "$ac_c_werror_flag" ||
39146 test ! -s conftest.err
39147 } && test -s conftest.$ac_objext; then
39148 eval "$as_ac_Header=yes"
39149 else
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.$ac_ext >&5
39152
39153 eval "$as_ac_Header=no"
39154 fi
39155
39156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39157 fi
39158 ac_res=`eval echo '${'$as_ac_Header'}'`
39159 { echo "$as_me:$LINENO: result: $ac_res" >&5
39160 echo "${ECHO_T}$ac_res" >&6; }
39161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39162 cat >>confdefs.h <<_ACEOF
39163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39164 _ACEOF
39165
39166 fi
39167
39168 done
39169
39170 if test "$ac_cv_header_sched_h" = "yes"; then
39171 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39172 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39173 if test "${ac_cv_func_sched_yield+set}" = set; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 else
39176 cat >conftest.$ac_ext <<_ACEOF
39177 /* confdefs.h. */
39178 _ACEOF
39179 cat confdefs.h >>conftest.$ac_ext
39180 cat >>conftest.$ac_ext <<_ACEOF
39181 /* end confdefs.h. */
39182 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39184 #define sched_yield innocuous_sched_yield
39185
39186 /* System header to define __stub macros and hopefully few prototypes,
39187 which can conflict with char sched_yield (); below.
39188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39189 <limits.h> exists even on freestanding compilers. */
39190
39191 #ifdef __STDC__
39192 # include <limits.h>
39193 #else
39194 # include <assert.h>
39195 #endif
39196
39197 #undef sched_yield
39198
39199 /* Override any GCC internal prototype to avoid an error.
39200 Use char because int might match the return type of a GCC
39201 builtin and then its argument prototype would still apply. */
39202 #ifdef __cplusplus
39203 extern "C"
39204 #endif
39205 char sched_yield ();
39206 /* The GNU C library defines this for functions which it implements
39207 to always fail with ENOSYS. Some functions are actually named
39208 something starting with __ and the normal name is an alias. */
39209 #if defined __stub_sched_yield || defined __stub___sched_yield
39210 choke me
39211 #endif
39212
39213 int
39214 main ()
39215 {
39216 return sched_yield ();
39217 ;
39218 return 0;
39219 }
39220 _ACEOF
39221 rm -f conftest.$ac_objext conftest$ac_exeext
39222 if { (ac_try="$ac_link"
39223 case "(($ac_try" in
39224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39225 *) ac_try_echo=$ac_try;;
39226 esac
39227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39228 (eval "$ac_link") 2>conftest.er1
39229 ac_status=$?
39230 grep -v '^ *+' conftest.er1 >conftest.err
39231 rm -f conftest.er1
39232 cat conftest.err >&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } && {
39235 test -z "$ac_c_werror_flag" ||
39236 test ! -s conftest.err
39237 } && test -s conftest$ac_exeext &&
39238 $as_test_x conftest$ac_exeext; then
39239 ac_cv_func_sched_yield=yes
39240 else
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.$ac_ext >&5
39243
39244 ac_cv_func_sched_yield=no
39245 fi
39246
39247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39248 conftest$ac_exeext conftest.$ac_ext
39249 fi
39250 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39251 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39252 if test $ac_cv_func_sched_yield = yes; then
39253 cat >>confdefs.h <<\_ACEOF
39254 #define HAVE_SCHED_YIELD 1
39255 _ACEOF
39256
39257 else
39258
39259 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39260 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39261 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 else
39264 ac_check_lib_save_LIBS=$LIBS
39265 LIBS="-lposix4 $LIBS"
39266 cat >conftest.$ac_ext <<_ACEOF
39267 /* confdefs.h. */
39268 _ACEOF
39269 cat confdefs.h >>conftest.$ac_ext
39270 cat >>conftest.$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39272
39273 /* Override any GCC internal prototype to avoid an error.
39274 Use char because int might match the return type of a GCC
39275 builtin and then its argument prototype would still apply. */
39276 #ifdef __cplusplus
39277 extern "C"
39278 #endif
39279 char sched_yield ();
39280 int
39281 main ()
39282 {
39283 return sched_yield ();
39284 ;
39285 return 0;
39286 }
39287 _ACEOF
39288 rm -f conftest.$ac_objext conftest$ac_exeext
39289 if { (ac_try="$ac_link"
39290 case "(($ac_try" in
39291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39292 *) ac_try_echo=$ac_try;;
39293 esac
39294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39295 (eval "$ac_link") 2>conftest.er1
39296 ac_status=$?
39297 grep -v '^ *+' conftest.er1 >conftest.err
39298 rm -f conftest.er1
39299 cat conftest.err >&5
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); } && {
39302 test -z "$ac_c_werror_flag" ||
39303 test ! -s conftest.err
39304 } && test -s conftest$ac_exeext &&
39305 $as_test_x conftest$ac_exeext; then
39306 ac_cv_lib_posix4_sched_yield=yes
39307 else
39308 echo "$as_me: failed program was:" >&5
39309 sed 's/^/| /' conftest.$ac_ext >&5
39310
39311 ac_cv_lib_posix4_sched_yield=no
39312 fi
39313
39314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39315 conftest$ac_exeext conftest.$ac_ext
39316 LIBS=$ac_check_lib_save_LIBS
39317 fi
39318 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39319 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39320 if test $ac_cv_lib_posix4_sched_yield = yes; then
39321 cat >>confdefs.h <<\_ACEOF
39322 #define HAVE_SCHED_YIELD 1
39323 _ACEOF
39324 POSIX4_LINK=" -lposix4"
39325 else
39326 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39327 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39328
39329 fi
39330
39331
39332
39333 fi
39334
39335 fi
39336
39337 HAVE_PRIOR_FUNCS=0
39338 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39339 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39340 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39341 echo $ECHO_N "(cached) $ECHO_C" >&6
39342 else
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39351 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39352
39353 /* System header to define __stub macros and hopefully few prototypes,
39354 which can conflict with char pthread_attr_getschedpolicy (); below.
39355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39356 <limits.h> exists even on freestanding compilers. */
39357
39358 #ifdef __STDC__
39359 # include <limits.h>
39360 #else
39361 # include <assert.h>
39362 #endif
39363
39364 #undef pthread_attr_getschedpolicy
39365
39366 /* Override any GCC internal prototype to avoid an error.
39367 Use char because int might match the return type of a GCC
39368 builtin and then its argument prototype would still apply. */
39369 #ifdef __cplusplus
39370 extern "C"
39371 #endif
39372 char pthread_attr_getschedpolicy ();
39373 /* The GNU C library defines this for functions which it implements
39374 to always fail with ENOSYS. Some functions are actually named
39375 something starting with __ and the normal name is an alias. */
39376 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39377 choke me
39378 #endif
39379
39380 int
39381 main ()
39382 {
39383 return pthread_attr_getschedpolicy ();
39384 ;
39385 return 0;
39386 }
39387 _ACEOF
39388 rm -f conftest.$ac_objext conftest$ac_exeext
39389 if { (ac_try="$ac_link"
39390 case "(($ac_try" in
39391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39392 *) ac_try_echo=$ac_try;;
39393 esac
39394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39395 (eval "$ac_link") 2>conftest.er1
39396 ac_status=$?
39397 grep -v '^ *+' conftest.er1 >conftest.err
39398 rm -f conftest.er1
39399 cat conftest.err >&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); } && {
39402 test -z "$ac_c_werror_flag" ||
39403 test ! -s conftest.err
39404 } && test -s conftest$ac_exeext &&
39405 $as_test_x conftest$ac_exeext; then
39406 ac_cv_func_pthread_attr_getschedpolicy=yes
39407 else
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.$ac_ext >&5
39410
39411 ac_cv_func_pthread_attr_getschedpolicy=no
39412 fi
39413
39414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39415 conftest$ac_exeext conftest.$ac_ext
39416 fi
39417 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39418 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39419 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39420 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39421 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39422 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39425 cat >conftest.$ac_ext <<_ACEOF
39426 /* confdefs.h. */
39427 _ACEOF
39428 cat confdefs.h >>conftest.$ac_ext
39429 cat >>conftest.$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39431 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39433 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39434
39435 /* System header to define __stub macros and hopefully few prototypes,
39436 which can conflict with char pthread_attr_setschedparam (); below.
39437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39438 <limits.h> exists even on freestanding compilers. */
39439
39440 #ifdef __STDC__
39441 # include <limits.h>
39442 #else
39443 # include <assert.h>
39444 #endif
39445
39446 #undef pthread_attr_setschedparam
39447
39448 /* Override any GCC internal prototype to avoid an error.
39449 Use char because int might match the return type of a GCC
39450 builtin and then its argument prototype would still apply. */
39451 #ifdef __cplusplus
39452 extern "C"
39453 #endif
39454 char pthread_attr_setschedparam ();
39455 /* The GNU C library defines this for functions which it implements
39456 to always fail with ENOSYS. Some functions are actually named
39457 something starting with __ and the normal name is an alias. */
39458 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39459 choke me
39460 #endif
39461
39462 int
39463 main ()
39464 {
39465 return pthread_attr_setschedparam ();
39466 ;
39467 return 0;
39468 }
39469 _ACEOF
39470 rm -f conftest.$ac_objext conftest$ac_exeext
39471 if { (ac_try="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39474 *) ac_try_echo=$ac_try;;
39475 esac
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>conftest.er1
39478 ac_status=$?
39479 grep -v '^ *+' conftest.er1 >conftest.err
39480 rm -f conftest.er1
39481 cat conftest.err >&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && {
39484 test -z "$ac_c_werror_flag" ||
39485 test ! -s conftest.err
39486 } && test -s conftest$ac_exeext &&
39487 $as_test_x conftest$ac_exeext; then
39488 ac_cv_func_pthread_attr_setschedparam=yes
39489 else
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39492
39493 ac_cv_func_pthread_attr_setschedparam=no
39494 fi
39495
39496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39497 conftest$ac_exeext conftest.$ac_ext
39498 fi
39499 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39500 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39501 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39502 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39503 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39504 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 else
39507 cat >conftest.$ac_ext <<_ACEOF
39508 /* confdefs.h. */
39509 _ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39515 #define sched_get_priority_max innocuous_sched_get_priority_max
39516
39517 /* System header to define __stub macros and hopefully few prototypes,
39518 which can conflict with char sched_get_priority_max (); below.
39519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39520 <limits.h> exists even on freestanding compilers. */
39521
39522 #ifdef __STDC__
39523 # include <limits.h>
39524 #else
39525 # include <assert.h>
39526 #endif
39527
39528 #undef sched_get_priority_max
39529
39530 /* Override any GCC internal prototype to avoid an error.
39531 Use char because int might match the return type of a GCC
39532 builtin and then its argument prototype would still apply. */
39533 #ifdef __cplusplus
39534 extern "C"
39535 #endif
39536 char sched_get_priority_max ();
39537 /* The GNU C library defines this for functions which it implements
39538 to always fail with ENOSYS. Some functions are actually named
39539 something starting with __ and the normal name is an alias. */
39540 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39541 choke me
39542 #endif
39543
39544 int
39545 main ()
39546 {
39547 return sched_get_priority_max ();
39548 ;
39549 return 0;
39550 }
39551 _ACEOF
39552 rm -f conftest.$ac_objext conftest$ac_exeext
39553 if { (ac_try="$ac_link"
39554 case "(($ac_try" in
39555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39556 *) ac_try_echo=$ac_try;;
39557 esac
39558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39559 (eval "$ac_link") 2>conftest.er1
39560 ac_status=$?
39561 grep -v '^ *+' conftest.er1 >conftest.err
39562 rm -f conftest.er1
39563 cat conftest.err >&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); } && {
39566 test -z "$ac_c_werror_flag" ||
39567 test ! -s conftest.err
39568 } && test -s conftest$ac_exeext &&
39569 $as_test_x conftest$ac_exeext; then
39570 ac_cv_func_sched_get_priority_max=yes
39571 else
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 ac_cv_func_sched_get_priority_max=no
39576 fi
39577
39578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39579 conftest$ac_exeext conftest.$ac_ext
39580 fi
39581 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39582 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39583 if test $ac_cv_func_sched_get_priority_max = yes; then
39584 HAVE_PRIOR_FUNCS=1
39585 else
39586 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39587 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39588 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591 ac_check_lib_save_LIBS=$LIBS
39592 LIBS="-lposix4 $LIBS"
39593 cat >conftest.$ac_ext <<_ACEOF
39594 /* confdefs.h. */
39595 _ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39603 #ifdef __cplusplus
39604 extern "C"
39605 #endif
39606 char sched_get_priority_max ();
39607 int
39608 main ()
39609 {
39610 return sched_get_priority_max ();
39611 ;
39612 return 0;
39613 }
39614 _ACEOF
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39619 *) ac_try_echo=$ac_try;;
39620 esac
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39623 ac_status=$?
39624 grep -v '^ *+' conftest.er1 >conftest.err
39625 rm -f conftest.er1
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest$ac_exeext &&
39632 $as_test_x conftest$ac_exeext; then
39633 ac_cv_lib_posix4_sched_get_priority_max=yes
39634 else
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39637
39638 ac_cv_lib_posix4_sched_get_priority_max=no
39639 fi
39640
39641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39642 conftest$ac_exeext conftest.$ac_ext
39643 LIBS=$ac_check_lib_save_LIBS
39644 fi
39645 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39646 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39647 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39648
39649 HAVE_PRIOR_FUNCS=1
39650 POSIX4_LINK=" -lposix4"
39651
39652 fi
39653
39654
39655 fi
39656
39657
39658 fi
39659
39660
39661 fi
39662
39663
39664 if test "$HAVE_PRIOR_FUNCS" = 1; then
39665 cat >>confdefs.h <<\_ACEOF
39666 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39667 _ACEOF
39668
39669 else
39670 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39671 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39672 fi
39673
39674 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39675 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39676 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39687 #define pthread_cancel innocuous_pthread_cancel
39688
39689 /* System header to define __stub macros and hopefully few prototypes,
39690 which can conflict with char pthread_cancel (); below.
39691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39692 <limits.h> exists even on freestanding compilers. */
39693
39694 #ifdef __STDC__
39695 # include <limits.h>
39696 #else
39697 # include <assert.h>
39698 #endif
39699
39700 #undef pthread_cancel
39701
39702 /* Override any GCC internal prototype to avoid an error.
39703 Use char because int might match the return type of a GCC
39704 builtin and then its argument prototype would still apply. */
39705 #ifdef __cplusplus
39706 extern "C"
39707 #endif
39708 char pthread_cancel ();
39709 /* The GNU C library defines this for functions which it implements
39710 to always fail with ENOSYS. Some functions are actually named
39711 something starting with __ and the normal name is an alias. */
39712 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39713 choke me
39714 #endif
39715
39716 int
39717 main ()
39718 {
39719 return pthread_cancel ();
39720 ;
39721 return 0;
39722 }
39723 _ACEOF
39724 rm -f conftest.$ac_objext conftest$ac_exeext
39725 if { (ac_try="$ac_link"
39726 case "(($ac_try" in
39727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39728 *) ac_try_echo=$ac_try;;
39729 esac
39730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39731 (eval "$ac_link") 2>conftest.er1
39732 ac_status=$?
39733 grep -v '^ *+' conftest.er1 >conftest.err
39734 rm -f conftest.er1
39735 cat conftest.err >&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); } && {
39738 test -z "$ac_c_werror_flag" ||
39739 test ! -s conftest.err
39740 } && test -s conftest$ac_exeext &&
39741 $as_test_x conftest$ac_exeext; then
39742 ac_cv_func_pthread_cancel=yes
39743 else
39744 echo "$as_me: failed program was:" >&5
39745 sed 's/^/| /' conftest.$ac_ext >&5
39746
39747 ac_cv_func_pthread_cancel=no
39748 fi
39749
39750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39751 conftest$ac_exeext conftest.$ac_ext
39752 fi
39753 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39754 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39755 if test $ac_cv_func_pthread_cancel = yes; then
39756 cat >>confdefs.h <<\_ACEOF
39757 #define HAVE_PTHREAD_CANCEL 1
39758 _ACEOF
39759
39760 else
39761 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39762 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39763 fi
39764
39765
39766 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39767 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39768 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 else
39771 cat >conftest.$ac_ext <<_ACEOF
39772 /* confdefs.h. */
39773 _ACEOF
39774 cat confdefs.h >>conftest.$ac_ext
39775 cat >>conftest.$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39779 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39780
39781 /* System header to define __stub macros and hopefully few prototypes,
39782 which can conflict with char pthread_mutex_timedlock (); below.
39783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39784 <limits.h> exists even on freestanding compilers. */
39785
39786 #ifdef __STDC__
39787 # include <limits.h>
39788 #else
39789 # include <assert.h>
39790 #endif
39791
39792 #undef pthread_mutex_timedlock
39793
39794 /* Override any GCC internal prototype to avoid an error.
39795 Use char because int might match the return type of a GCC
39796 builtin and then its argument prototype would still apply. */
39797 #ifdef __cplusplus
39798 extern "C"
39799 #endif
39800 char pthread_mutex_timedlock ();
39801 /* The GNU C library defines this for functions which it implements
39802 to always fail with ENOSYS. Some functions are actually named
39803 something starting with __ and the normal name is an alias. */
39804 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39805 choke me
39806 #endif
39807
39808 int
39809 main ()
39810 {
39811 return pthread_mutex_timedlock ();
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (ac_try="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39820 *) ac_try_echo=$ac_try;;
39821 esac
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39824 ac_status=$?
39825 grep -v '^ *+' conftest.er1 >conftest.err
39826 rm -f conftest.er1
39827 cat conftest.err >&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest$ac_exeext &&
39833 $as_test_x conftest$ac_exeext; then
39834 ac_cv_func_pthread_mutex_timedlock=yes
39835 else
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39838
39839 ac_cv_func_pthread_mutex_timedlock=no
39840 fi
39841
39842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39843 conftest$ac_exeext conftest.$ac_ext
39844 fi
39845 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39846 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39847 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39850 _ACEOF
39851
39852 else
39853 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39854 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39855 fi
39856
39857
39858 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39859 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39860 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39862 else
39863 cat >conftest.$ac_ext <<_ACEOF
39864 /* confdefs.h. */
39865 _ACEOF
39866 cat confdefs.h >>conftest.$ac_ext
39867 cat >>conftest.$ac_ext <<_ACEOF
39868 /* end confdefs.h. */
39869 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39871 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39872
39873 /* System header to define __stub macros and hopefully few prototypes,
39874 which can conflict with char pthread_attr_setstacksize (); below.
39875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39876 <limits.h> exists even on freestanding compilers. */
39877
39878 #ifdef __STDC__
39879 # include <limits.h>
39880 #else
39881 # include <assert.h>
39882 #endif
39883
39884 #undef pthread_attr_setstacksize
39885
39886 /* Override any GCC internal prototype to avoid an error.
39887 Use char because int might match the return type of a GCC
39888 builtin and then its argument prototype would still apply. */
39889 #ifdef __cplusplus
39890 extern "C"
39891 #endif
39892 char pthread_attr_setstacksize ();
39893 /* The GNU C library defines this for functions which it implements
39894 to always fail with ENOSYS. Some functions are actually named
39895 something starting with __ and the normal name is an alias. */
39896 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39897 choke me
39898 #endif
39899
39900 int
39901 main ()
39902 {
39903 return pthread_attr_setstacksize ();
39904 ;
39905 return 0;
39906 }
39907 _ACEOF
39908 rm -f conftest.$ac_objext conftest$ac_exeext
39909 if { (ac_try="$ac_link"
39910 case "(($ac_try" in
39911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39912 *) ac_try_echo=$ac_try;;
39913 esac
39914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39915 (eval "$ac_link") 2>conftest.er1
39916 ac_status=$?
39917 grep -v '^ *+' conftest.er1 >conftest.err
39918 rm -f conftest.er1
39919 cat conftest.err >&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } && {
39922 test -z "$ac_c_werror_flag" ||
39923 test ! -s conftest.err
39924 } && test -s conftest$ac_exeext &&
39925 $as_test_x conftest$ac_exeext; then
39926 ac_cv_func_pthread_attr_setstacksize=yes
39927 else
39928 echo "$as_me: failed program was:" >&5
39929 sed 's/^/| /' conftest.$ac_ext >&5
39930
39931 ac_cv_func_pthread_attr_setstacksize=no
39932 fi
39933
39934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39935 conftest$ac_exeext conftest.$ac_ext
39936 fi
39937 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39938 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39939 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39942 _ACEOF
39943
39944 fi
39945
39946
39947
39948 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39949 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39950 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39951 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 else
39953
39954 cat >conftest.$ac_ext <<_ACEOF
39955 /* confdefs.h. */
39956 _ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39960 #include <pthread.h>
39961 int
39962 main ()
39963 {
39964
39965 pthread_mutexattr_t attr;
39966 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39967
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 rm -f conftest.$ac_objext
39973 if { (ac_try="$ac_compile"
39974 case "(($ac_try" in
39975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39976 *) ac_try_echo=$ac_try;;
39977 esac
39978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39979 (eval "$ac_compile") 2>conftest.er1
39980 ac_status=$?
39981 grep -v '^ *+' conftest.er1 >conftest.err
39982 rm -f conftest.er1
39983 cat conftest.err >&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } && {
39986 test -z "$ac_c_werror_flag" ||
39987 test ! -s conftest.err
39988 } && test -s conftest.$ac_objext; then
39989 wx_cv_type_pthread_mutexattr_t=yes
39990 else
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39993
39994 wx_cv_type_pthread_mutexattr_t=no
39995
39996 fi
39997
39998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39999
40000 fi
40001 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40002 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40003
40004 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define HAVE_PTHREAD_MUTEXATTR_T 1
40007 _ACEOF
40008
40009
40010 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40011 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40012 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015
40016 cat >conftest.$ac_ext <<_ACEOF
40017 /* confdefs.h. */
40018 _ACEOF
40019 cat confdefs.h >>conftest.$ac_ext
40020 cat >>conftest.$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40022 #include <pthread.h>
40023 int
40024 main ()
40025 {
40026
40027 pthread_mutexattr_t attr;
40028 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40029
40030 ;
40031 return 0;
40032 }
40033 _ACEOF
40034 rm -f conftest.$ac_objext
40035 if { (ac_try="$ac_compile"
40036 case "(($ac_try" in
40037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40038 *) ac_try_echo=$ac_try;;
40039 esac
40040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40041 (eval "$ac_compile") 2>conftest.er1
40042 ac_status=$?
40043 grep -v '^ *+' conftest.er1 >conftest.err
40044 rm -f conftest.er1
40045 cat conftest.err >&5
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } && {
40048 test -z "$ac_c_werror_flag" ||
40049 test ! -s conftest.err
40050 } && test -s conftest.$ac_objext; then
40051 wx_cv_func_pthread_mutexattr_settype_decl=yes
40052 else
40053 echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40055
40056 wx_cv_func_pthread_mutexattr_settype_decl=no
40057
40058 fi
40059
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061
40062 fi
40063 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40064 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40065 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40066 cat >>confdefs.h <<\_ACEOF
40067 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40068 _ACEOF
40069
40070 fi
40071 else
40072 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40073 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40074 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40076 else
40077
40078 cat >conftest.$ac_ext <<_ACEOF
40079 /* confdefs.h. */
40080 _ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 #include <pthread.h>
40085 int
40086 main ()
40087 {
40088
40089 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40090
40091 ;
40092 return 0;
40093 }
40094 _ACEOF
40095 rm -f conftest.$ac_objext
40096 if { (ac_try="$ac_compile"
40097 case "(($ac_try" in
40098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40099 *) ac_try_echo=$ac_try;;
40100 esac
40101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40102 (eval "$ac_compile") 2>conftest.er1
40103 ac_status=$?
40104 grep -v '^ *+' conftest.er1 >conftest.err
40105 rm -f conftest.er1
40106 cat conftest.err >&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } && {
40109 test -z "$ac_c_werror_flag" ||
40110 test ! -s conftest.err
40111 } && test -s conftest.$ac_objext; then
40112
40113 wx_cv_type_pthread_rec_mutex_init=yes
40114
40115 else
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40118
40119
40120 wx_cv_type_pthread_rec_mutex_init=no
40121
40122
40123 fi
40124
40125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40126
40127 fi
40128 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40129 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40130 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40131 cat >>confdefs.h <<\_ACEOF
40132 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40133 _ACEOF
40134
40135 else
40136 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40137 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40138 fi
40139 fi
40140
40141 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40142 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40143 if test "${wx_cv_cc___thread+set}" = set; then
40144 echo $ECHO_N "(cached) $ECHO_C" >&6
40145 else
40146
40147 cat >conftest.$ac_ext <<_ACEOF
40148 /* confdefs.h. */
40149 _ACEOF
40150 cat confdefs.h >>conftest.$ac_ext
40151 cat >>conftest.$ac_ext <<_ACEOF
40152 /* end confdefs.h. */
40153 #include <pthread.h>
40154 int
40155 main ()
40156 {
40157
40158 static __thread int n = 0;
40159 static __thread int *p = 0;
40160
40161 ;
40162 return 0;
40163 }
40164 _ACEOF
40165 rm -f conftest.$ac_objext
40166 if { (ac_try="$ac_compile"
40167 case "(($ac_try" in
40168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40169 *) ac_try_echo=$ac_try;;
40170 esac
40171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40172 (eval "$ac_compile") 2>conftest.er1
40173 ac_status=$?
40174 grep -v '^ *+' conftest.er1 >conftest.err
40175 rm -f conftest.er1
40176 cat conftest.err >&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } && {
40179 test -z "$ac_c_werror_flag" ||
40180 test ! -s conftest.err
40181 } && test -s conftest.$ac_objext; then
40182 wx_cv_cc___thread=yes
40183 else
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40186
40187 wx_cv_cc___thread=no
40188
40189 fi
40190
40191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40192
40193 fi
40194 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40195 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40196
40197 if test "$wx_cv_cc___thread" = "yes"; then
40198 cat >>confdefs.h <<\_ACEOF
40199 #define HAVE___THREAD_KEYWORD 1
40200 _ACEOF
40201
40202 fi
40203 fi
40204
40205 else
40206 if test "$wxUSE_THREADS" = "yes" ; then
40207 case "${host}" in
40208 x86_64-*-mingw32* )
40209 ;;
40210 *-*-mingw32* )
40211 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40212 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40213 if test "${wx_cv_cflags_mthread+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 else
40216
40217 CFLAGS_OLD="$CFLAGS"
40218 CFLAGS="-mthreads $CFLAGS"
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225
40226 int
40227 main ()
40228 {
40229
40230 ;
40231 return 0;
40232 }
40233 _ACEOF
40234 rm -f conftest.$ac_objext
40235 if { (ac_try="$ac_compile"
40236 case "(($ac_try" in
40237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40238 *) ac_try_echo=$ac_try;;
40239 esac
40240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40241 (eval "$ac_compile") 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } && {
40248 test -z "$ac_c_werror_flag" ||
40249 test ! -s conftest.err
40250 } && test -s conftest.$ac_objext; then
40251 wx_cv_cflags_mthread=yes
40252 else
40253 echo "$as_me: failed program was:" >&5
40254 sed 's/^/| /' conftest.$ac_ext >&5
40255
40256 wx_cv_cflags_mthread=no
40257
40258 fi
40259
40260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40261
40262
40263 fi
40264 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40265 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40266
40267 if test "$wx_cv_cflags_mthread" = "yes"; then
40268 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40269 LDFLAGS="$LDFLAGS -mthreads"
40270 else
40271 CFLAGS="$CFLAGS_OLD"
40272 fi
40273 ;;
40274 *-pc-os2*emx )
40275 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40276 LDFLAGS="$LDFLAGS -Zmt"
40277 ;;
40278 esac
40279 fi
40280 fi
40281
40282 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40283 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40284 if test "${ac_cv_func_localtime_r+set}" = set; then
40285 echo $ECHO_N "(cached) $ECHO_C" >&6
40286 else
40287 cat >conftest.$ac_ext <<_ACEOF
40288 /* confdefs.h. */
40289 _ACEOF
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40293 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40295 #define localtime_r innocuous_localtime_r
40296
40297 /* System header to define __stub macros and hopefully few prototypes,
40298 which can conflict with char localtime_r (); below.
40299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40300 <limits.h> exists even on freestanding compilers. */
40301
40302 #ifdef __STDC__
40303 # include <limits.h>
40304 #else
40305 # include <assert.h>
40306 #endif
40307
40308 #undef localtime_r
40309
40310 /* Override any GCC internal prototype to avoid an error.
40311 Use char because int might match the return type of a GCC
40312 builtin and then its argument prototype would still apply. */
40313 #ifdef __cplusplus
40314 extern "C"
40315 #endif
40316 char localtime_r ();
40317 /* The GNU C library defines this for functions which it implements
40318 to always fail with ENOSYS. Some functions are actually named
40319 something starting with __ and the normal name is an alias. */
40320 #if defined __stub_localtime_r || defined __stub___localtime_r
40321 choke me
40322 #endif
40323
40324 int
40325 main ()
40326 {
40327 return localtime_r ();
40328 ;
40329 return 0;
40330 }
40331 _ACEOF
40332 rm -f conftest.$ac_objext conftest$ac_exeext
40333 if { (ac_try="$ac_link"
40334 case "(($ac_try" in
40335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40336 *) ac_try_echo=$ac_try;;
40337 esac
40338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40339 (eval "$ac_link") 2>conftest.er1
40340 ac_status=$?
40341 grep -v '^ *+' conftest.er1 >conftest.err
40342 rm -f conftest.er1
40343 cat conftest.err >&5
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); } && {
40346 test -z "$ac_c_werror_flag" ||
40347 test ! -s conftest.err
40348 } && test -s conftest$ac_exeext &&
40349 $as_test_x conftest$ac_exeext; then
40350 ac_cv_func_localtime_r=yes
40351 else
40352 echo "$as_me: failed program was:" >&5
40353 sed 's/^/| /' conftest.$ac_ext >&5
40354
40355 ac_cv_func_localtime_r=no
40356 fi
40357
40358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40359 conftest$ac_exeext conftest.$ac_ext
40360 fi
40361 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40362 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40363 if test $ac_cv_func_localtime_r = yes; then
40364 cat >>confdefs.h <<\_ACEOF
40365 #define HAVE_LOCALTIME_R 1
40366 _ACEOF
40367
40368 fi
40369
40370 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40371 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40372 if test "${ac_cv_func_gmtime_r+set}" = set; then
40373 echo $ECHO_N "(cached) $ECHO_C" >&6
40374 else
40375 cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h. */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40383 #define gmtime_r innocuous_gmtime_r
40384
40385 /* System header to define __stub macros and hopefully few prototypes,
40386 which can conflict with char gmtime_r (); below.
40387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40388 <limits.h> exists even on freestanding compilers. */
40389
40390 #ifdef __STDC__
40391 # include <limits.h>
40392 #else
40393 # include <assert.h>
40394 #endif
40395
40396 #undef gmtime_r
40397
40398 /* Override any GCC internal prototype to avoid an error.
40399 Use char because int might match the return type of a GCC
40400 builtin and then its argument prototype would still apply. */
40401 #ifdef __cplusplus
40402 extern "C"
40403 #endif
40404 char gmtime_r ();
40405 /* The GNU C library defines this for functions which it implements
40406 to always fail with ENOSYS. Some functions are actually named
40407 something starting with __ and the normal name is an alias. */
40408 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40409 choke me
40410 #endif
40411
40412 int
40413 main ()
40414 {
40415 return gmtime_r ();
40416 ;
40417 return 0;
40418 }
40419 _ACEOF
40420 rm -f conftest.$ac_objext conftest$ac_exeext
40421 if { (ac_try="$ac_link"
40422 case "(($ac_try" in
40423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40424 *) ac_try_echo=$ac_try;;
40425 esac
40426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40427 (eval "$ac_link") 2>conftest.er1
40428 ac_status=$?
40429 grep -v '^ *+' conftest.er1 >conftest.err
40430 rm -f conftest.er1
40431 cat conftest.err >&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } && {
40434 test -z "$ac_c_werror_flag" ||
40435 test ! -s conftest.err
40436 } && test -s conftest$ac_exeext &&
40437 $as_test_x conftest$ac_exeext; then
40438 ac_cv_func_gmtime_r=yes
40439 else
40440 echo "$as_me: failed program was:" >&5
40441 sed 's/^/| /' conftest.$ac_ext >&5
40442
40443 ac_cv_func_gmtime_r=no
40444 fi
40445
40446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40447 conftest$ac_exeext conftest.$ac_ext
40448 fi
40449 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40450 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40451 if test $ac_cv_func_gmtime_r = yes; then
40452 cat >>confdefs.h <<\_ACEOF
40453 #define HAVE_GMTIME_R 1
40454 _ACEOF
40455
40456 fi
40457
40458
40459
40460
40461 ac_ext=c
40462 ac_cpp='$CPP $CPPFLAGS'
40463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40466
40467 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40468 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40469
40470 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40471 echo $ECHO_N "(cached) $ECHO_C" >&6
40472 else
40473
40474
40475 ################################################################
40476
40477 ac_cv_func_which_gethostbyname_r=unknown
40478
40479 #
40480 # ONE ARGUMENT (sanity check)
40481 #
40482
40483 # This should fail, as there is no variant of gethostbyname_r() that takes
40484 # a single argument. If it actually compiles, then we can assume that
40485 # netdb.h is not declaring the function, and the compiler is thereby
40486 # assuming an implicit prototype. In which case, we're out of luck.
40487 #
40488 cat >conftest.$ac_ext <<_ACEOF
40489 /* confdefs.h. */
40490 _ACEOF
40491 cat confdefs.h >>conftest.$ac_ext
40492 cat >>conftest.$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40494 #include <netdb.h>
40495 int
40496 main ()
40497 {
40498
40499 char *name = "www.gnu.org";
40500 (void)gethostbyname_r(name) /* ; */
40501
40502 ;
40503 return 0;
40504 }
40505 _ACEOF
40506 rm -f conftest.$ac_objext
40507 if { (ac_try="$ac_compile"
40508 case "(($ac_try" in
40509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40510 *) ac_try_echo=$ac_try;;
40511 esac
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_compile") 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest.$ac_objext; then
40523 ac_cv_func_which_gethostbyname_r=no
40524 else
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.$ac_ext >&5
40527
40528
40529 fi
40530
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532
40533 #
40534 # SIX ARGUMENTS
40535 # (e.g. Linux)
40536 #
40537
40538 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40539
40540 cat >conftest.$ac_ext <<_ACEOF
40541 /* confdefs.h. */
40542 _ACEOF
40543 cat confdefs.h >>conftest.$ac_ext
40544 cat >>conftest.$ac_ext <<_ACEOF
40545 /* end confdefs.h. */
40546 #include <netdb.h>
40547 int
40548 main ()
40549 {
40550
40551 char *name = "www.gnu.org";
40552 struct hostent ret, *retp;
40553 char buf[1024];
40554 int buflen = 1024;
40555 int my_h_errno;
40556 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40557
40558 ;
40559 return 0;
40560 }
40561 _ACEOF
40562 rm -f conftest.$ac_objext
40563 if { (ac_try="$ac_compile"
40564 case "(($ac_try" in
40565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40566 *) ac_try_echo=$ac_try;;
40567 esac
40568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40569 (eval "$ac_compile") 2>conftest.er1
40570 ac_status=$?
40571 grep -v '^ *+' conftest.er1 >conftest.err
40572 rm -f conftest.er1
40573 cat conftest.err >&5
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); } && {
40576 test -z "$ac_c_werror_flag" ||
40577 test ! -s conftest.err
40578 } && test -s conftest.$ac_objext; then
40579 ac_cv_func_which_gethostbyname_r=six
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584
40585 fi
40586
40587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40588
40589 fi
40590
40591 #
40592 # FIVE ARGUMENTS
40593 # (e.g. Solaris)
40594 #
40595
40596 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40597
40598 cat >conftest.$ac_ext <<_ACEOF
40599 /* confdefs.h. */
40600 _ACEOF
40601 cat confdefs.h >>conftest.$ac_ext
40602 cat >>conftest.$ac_ext <<_ACEOF
40603 /* end confdefs.h. */
40604 #include <netdb.h>
40605 int
40606 main ()
40607 {
40608
40609 char *name = "www.gnu.org";
40610 struct hostent ret;
40611 char buf[1024];
40612 int buflen = 1024;
40613 int my_h_errno;
40614 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40615
40616 ;
40617 return 0;
40618 }
40619 _ACEOF
40620 rm -f conftest.$ac_objext
40621 if { (ac_try="$ac_compile"
40622 case "(($ac_try" in
40623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40624 *) ac_try_echo=$ac_try;;
40625 esac
40626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40627 (eval "$ac_compile") 2>conftest.er1
40628 ac_status=$?
40629 grep -v '^ *+' conftest.er1 >conftest.err
40630 rm -f conftest.er1
40631 cat conftest.err >&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && {
40634 test -z "$ac_c_werror_flag" ||
40635 test ! -s conftest.err
40636 } && test -s conftest.$ac_objext; then
40637 ac_cv_func_which_gethostbyname_r=five
40638 else
40639 echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.$ac_ext >&5
40641
40642
40643 fi
40644
40645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40646
40647 fi
40648
40649 #
40650 # THREE ARGUMENTS
40651 # (e.g. AIX, HP-UX, Tru64)
40652 #
40653
40654 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40655
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662 #include <netdb.h>
40663 int
40664 main ()
40665 {
40666
40667 char *name = "www.gnu.org";
40668 struct hostent ret;
40669 struct hostent_data data;
40670 (void)gethostbyname_r(name, &ret, &data) /* ; */
40671
40672 ;
40673 return 0;
40674 }
40675 _ACEOF
40676 rm -f conftest.$ac_objext
40677 if { (ac_try="$ac_compile"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40680 *) ac_try_echo=$ac_try;;
40681 esac
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_compile") 2>conftest.er1
40684 ac_status=$?
40685 grep -v '^ *+' conftest.er1 >conftest.err
40686 rm -f conftest.er1
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_c_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest.$ac_objext; then
40693 ac_cv_func_which_gethostbyname_r=three
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40697
40698
40699 fi
40700
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702
40703 fi
40704
40705 ################################################################
40706
40707
40708 fi
40709
40710 case "$ac_cv_func_which_gethostbyname_r" in
40711 three)
40712 { echo "$as_me:$LINENO: result: three" >&5
40713 echo "${ECHO_T}three" >&6; }
40714 cat >>confdefs.h <<\_ACEOF
40715 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40716 _ACEOF
40717
40718 ;;
40719
40720 five)
40721 { echo "$as_me:$LINENO: result: five" >&5
40722 echo "${ECHO_T}five" >&6; }
40723 cat >>confdefs.h <<\_ACEOF
40724 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40725 _ACEOF
40726
40727 ;;
40728
40729 six)
40730 { echo "$as_me:$LINENO: result: six" >&5
40731 echo "${ECHO_T}six" >&6; }
40732 cat >>confdefs.h <<\_ACEOF
40733 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40734 _ACEOF
40735
40736 ;;
40737
40738 no)
40739 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40740 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40741 ;;
40742
40743 unknown)
40744 { echo "$as_me:$LINENO: result: can't tell" >&5
40745 echo "${ECHO_T}can't tell" >&6; }
40746 ;;
40747
40748 *)
40749 { { echo "$as_me:$LINENO: error: internal error" >&5
40750 echo "$as_me: error: internal error" >&2;}
40751 { (exit 1); exit 1; }; }
40752 ;;
40753 esac
40754
40755 ac_ext=c
40756 ac_cpp='$CPP $CPPFLAGS'
40757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40760
40761
40762
40763 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40764 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40765 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40766 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40767 if test "${ac_cv_func_gethostbyname+set}" = set; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 else
40770 cat >conftest.$ac_ext <<_ACEOF
40771 /* confdefs.h. */
40772 _ACEOF
40773 cat confdefs.h >>conftest.$ac_ext
40774 cat >>conftest.$ac_ext <<_ACEOF
40775 /* end confdefs.h. */
40776 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40778 #define gethostbyname innocuous_gethostbyname
40779
40780 /* System header to define __stub macros and hopefully few prototypes,
40781 which can conflict with char gethostbyname (); below.
40782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40783 <limits.h> exists even on freestanding compilers. */
40784
40785 #ifdef __STDC__
40786 # include <limits.h>
40787 #else
40788 # include <assert.h>
40789 #endif
40790
40791 #undef gethostbyname
40792
40793 /* Override any GCC internal prototype to avoid an error.
40794 Use char because int might match the return type of a GCC
40795 builtin and then its argument prototype would still apply. */
40796 #ifdef __cplusplus
40797 extern "C"
40798 #endif
40799 char gethostbyname ();
40800 /* The GNU C library defines this for functions which it implements
40801 to always fail with ENOSYS. Some functions are actually named
40802 something starting with __ and the normal name is an alias. */
40803 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40804 choke me
40805 #endif
40806
40807 int
40808 main ()
40809 {
40810 return gethostbyname ();
40811 ;
40812 return 0;
40813 }
40814 _ACEOF
40815 rm -f conftest.$ac_objext conftest$ac_exeext
40816 if { (ac_try="$ac_link"
40817 case "(($ac_try" in
40818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40819 *) ac_try_echo=$ac_try;;
40820 esac
40821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40822 (eval "$ac_link") 2>conftest.er1
40823 ac_status=$?
40824 grep -v '^ *+' conftest.er1 >conftest.err
40825 rm -f conftest.er1
40826 cat conftest.err >&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); } && {
40829 test -z "$ac_c_werror_flag" ||
40830 test ! -s conftest.err
40831 } && test -s conftest$ac_exeext &&
40832 $as_test_x conftest$ac_exeext; then
40833 ac_cv_func_gethostbyname=yes
40834 else
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40837
40838 ac_cv_func_gethostbyname=no
40839 fi
40840
40841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40842 conftest$ac_exeext conftest.$ac_ext
40843 fi
40844 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40845 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40846 if test $ac_cv_func_gethostbyname = yes; then
40847 cat >>confdefs.h <<\_ACEOF
40848 #define HAVE_GETHOSTBYNAME 1
40849 _ACEOF
40850
40851 fi
40852
40853 fi
40854
40855 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40856 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40857 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40858 echo $ECHO_N "(cached) $ECHO_C" >&6
40859 else
40860
40861 ac_ext=cpp
40862 ac_cpp='$CXXCPP $CPPFLAGS'
40863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40866
40867
40868 cat >conftest.$ac_ext <<_ACEOF
40869 /* confdefs.h. */
40870 _ACEOF
40871 cat confdefs.h >>conftest.$ac_ext
40872 cat >>conftest.$ac_ext <<_ACEOF
40873 /* end confdefs.h. */
40874 #include <netdb.h>
40875 int
40876 main ()
40877 {
40878
40879 char *name;
40880 char *proto;
40881 struct servent *se, *res;
40882 char buffer[2048];
40883 int buflen = 2048;
40884 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40885
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext
40891 if { (ac_try="$ac_compile"
40892 case "(($ac_try" in
40893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40895 esac
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_compile") 2>conftest.er1
40898 ac_status=$?
40899 grep -v '^ *+' conftest.er1 >conftest.err
40900 rm -f conftest.er1
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_cxx_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest.$ac_objext; then
40907 ac_cv_func_which_getservbyname_r=six
40908 else
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.$ac_ext >&5
40911
40912
40913 cat >conftest.$ac_ext <<_ACEOF
40914 /* confdefs.h. */
40915 _ACEOF
40916 cat confdefs.h >>conftest.$ac_ext
40917 cat >>conftest.$ac_ext <<_ACEOF
40918 /* end confdefs.h. */
40919 #include <netdb.h>
40920 int
40921 main ()
40922 {
40923
40924 char *name;
40925 char *proto;
40926 struct servent *se;
40927 char buffer[2048];
40928 int buflen = 2048;
40929 (void) getservbyname_r(name, proto, se, buffer, buflen)
40930
40931 ;
40932 return 0;
40933 }
40934 _ACEOF
40935 rm -f conftest.$ac_objext
40936 if { (ac_try="$ac_compile"
40937 case "(($ac_try" in
40938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40940 esac
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_compile") 2>conftest.er1
40943 ac_status=$?
40944 grep -v '^ *+' conftest.er1 >conftest.err
40945 rm -f conftest.er1
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_cxx_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest.$ac_objext; then
40952 ac_cv_func_which_getservbyname_r=five
40953 else
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.$ac_ext >&5
40956
40957
40958 cat >conftest.$ac_ext <<_ACEOF
40959 /* confdefs.h. */
40960 _ACEOF
40961 cat confdefs.h >>conftest.$ac_ext
40962 cat >>conftest.$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40964 #include <netdb.h>
40965 int
40966 main ()
40967 {
40968
40969 char *name;
40970 char *proto;
40971 struct servent *se;
40972 struct servent_data data;
40973 (void) getservbyname_r(name, proto, se, &data);
40974
40975 ;
40976 return 0;
40977 }
40978 _ACEOF
40979 rm -f conftest.$ac_objext
40980 if { (ac_try="$ac_compile"
40981 case "(($ac_try" in
40982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40983 *) ac_try_echo=$ac_try;;
40984 esac
40985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40986 (eval "$ac_compile") 2>conftest.er1
40987 ac_status=$?
40988 grep -v '^ *+' conftest.er1 >conftest.err
40989 rm -f conftest.er1
40990 cat conftest.err >&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); } && {
40993 test -z "$ac_cxx_werror_flag" ||
40994 test ! -s conftest.err
40995 } && test -s conftest.$ac_objext; then
40996 ac_cv_func_which_getservbyname_r=four
40997 else
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41000
41001 ac_cv_func_which_getservbyname_r=no
41002
41003 fi
41004
41005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41006
41007
41008 fi
41009
41010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41011
41012
41013 fi
41014
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41016 ac_ext=c
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021
41022
41023
41024 fi
41025 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41026 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41027
41028 if test $ac_cv_func_which_getservbyname_r = six; then
41029 cat >>confdefs.h <<\_ACEOF
41030 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41031 _ACEOF
41032
41033 elif test $ac_cv_func_which_getservbyname_r = five; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41036 _ACEOF
41037
41038 elif test $ac_cv_func_which_getservbyname_r = four; then
41039 cat >>confdefs.h <<\_ACEOF
41040 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41041 _ACEOF
41042
41043 fi
41044
41045
41046 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41047 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41048
41049 for ac_func in getservbyname
41050 do
41051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 else
41057 cat >conftest.$ac_ext <<_ACEOF
41058 /* confdefs.h. */
41059 _ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define $ac_func innocuous_$ac_func
41066
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char $ac_func (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41071
41072 #ifdef __STDC__
41073 # include <limits.h>
41074 #else
41075 # include <assert.h>
41076 #endif
41077
41078 #undef $ac_func
41079
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41083 #ifdef __cplusplus
41084 extern "C"
41085 #endif
41086 char $ac_func ();
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined __stub_$ac_func || defined __stub___$ac_func
41091 choke me
41092 #endif
41093
41094 int
41095 main ()
41096 {
41097 return $ac_func ();
41098 ;
41099 return 0;
41100 }
41101 _ACEOF
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (ac_try="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41107 esac
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41110 ac_status=$?
41111 grep -v '^ *+' conftest.er1 >conftest.err
41112 rm -f conftest.er1
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest$ac_exeext &&
41119 $as_test_x conftest$ac_exeext; then
41120 eval "$as_ac_var=yes"
41121 else
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41124
41125 eval "$as_ac_var=no"
41126 fi
41127
41128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41129 conftest$ac_exeext conftest.$ac_ext
41130 fi
41131 ac_res=`eval echo '${'$as_ac_var'}'`
41132 { echo "$as_me:$LINENO: result: $ac_res" >&5
41133 echo "${ECHO_T}$ac_res" >&6; }
41134 if test `eval echo '${'$as_ac_var'}'` = yes; then
41135 cat >>confdefs.h <<_ACEOF
41136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41137 _ACEOF
41138 cat >>confdefs.h <<\_ACEOF
41139 #define HAVE_GETSERVBYNAME 1
41140 _ACEOF
41141
41142 fi
41143 done
41144
41145 fi
41146
41147 if test "$wxUSE_THREADS" = "yes"; then
41148 cat >>confdefs.h <<\_ACEOF
41149 #define wxUSE_THREADS 1
41150 _ACEOF
41151
41152
41153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41154 else
41155 if test "$wx_cv_func_strtok_r" = "yes"; then
41156 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41157 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41158 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41159 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41160 { echo "$as_me:$LINENO: result: yes" >&5
41161 echo "${ECHO_T}yes" >&6; }
41162 else
41163 { echo "$as_me:$LINENO: result: no" >&5
41164 echo "${ECHO_T}no" >&6; }
41165 fi
41166 fi
41167 fi
41168
41169 if test "$WXGTK2" = 1 ; then
41170 cat >>confdefs.h <<_ACEOF
41171 #define __WXGTK20__ $WXGTK2
41172 _ACEOF
41173
41174 WXGTK12=1
41175 fi
41176
41177 if test "$WXGTK12" = 1 ; then
41178 cat >>confdefs.h <<_ACEOF
41179 #define __WXGTK12__ $WXGTK12
41180 _ACEOF
41181
41182 fi
41183
41184 if test "$WXGTK127" = 1 ; then
41185 cat >>confdefs.h <<_ACEOF
41186 #define __WXGTK127__ $WXGTK127
41187 _ACEOF
41188
41189 fi
41190
41191 if test "$WXGPE" = 1 ; then
41192 cat >>confdefs.h <<_ACEOF
41193 #define __WXGPE__ $WXGPE
41194 _ACEOF
41195
41196 fi
41197
41198 DEBUG_CFLAGS=
41199 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41200 DEBUG_CFLAGS="-g"
41201 fi
41202
41203 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41204 wxUSE_DEBUG_INFO=yes
41205 if test "$GCC" = yes; then
41206 DEBUG_CFLAGS="-ggdb"
41207 fi
41208 fi
41209
41210 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41211 cat >>confdefs.h <<\_ACEOF
41212 #define WXDEBUG 1
41213 _ACEOF
41214
41215 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41216 else
41217 if test "$wxUSE_GTK" = 1 ; then
41218 if test "x$wxGTK_VERSION" = "x1" ; then
41219 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41220 fi
41221 fi
41222 fi
41223
41224 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41225 cat >>confdefs.h <<\_ACEOF
41226 #define wxUSE_MEMORY_TRACING 1
41227 _ACEOF
41228
41229 cat >>confdefs.h <<\_ACEOF
41230 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41231 _ACEOF
41232
41233 cat >>confdefs.h <<\_ACEOF
41234 #define wxUSE_DEBUG_NEW_ALWAYS 1
41235 _ACEOF
41236
41237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41238 fi
41239
41240 if test "$wxUSE_DMALLOC" = "yes" ; then
41241 DMALLOC_LIBS="-ldmallocthcxx"
41242 fi
41243
41244 PROFILE_FLAGS=
41245 if test "$wxUSE_PROFILE" = "yes" ; then
41246 PROFILE_FLAGS=" -pg"
41247 fi
41248
41249 if test "$GCC" = "yes" ; then
41250 if test "$wxUSE_NO_RTTI" = "yes" ; then
41251 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41252 fi
41253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41254 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41255 fi
41256 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41257 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41258 fi
41259
41260 case "${host}" in
41261 powerpc*-*-aix* )
41262 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41263 ;;
41264 *-hppa* )
41265 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41266 ;;
41267 esac
41268 fi
41269
41270 OPTIMISE_CFLAGS=
41271 if test "$wxUSE_OPTIMISE" = "no" ; then
41272 if test "$GCC" = yes ; then
41273 OPTIMISE_CFLAGS="-O0"
41274 fi
41275 else
41276 if test "$GCC" = yes ; then
41277 case "${host}" in
41278 *-pc-os2_emx | *-pc-os2-emx )
41279 OPTIMISE_CFLAGS="-O2"
41280 ;;
41281 *)
41282 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41283 ;;
41284 esac
41285 else
41286 OPTIMISE_CFLAGS="-O"
41287 fi
41288 fi
41289
41290
41291 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41292 cat >>confdefs.h <<\_ACEOF
41293 #define WXWIN_COMPATIBILITY_2_6 1
41294 _ACEOF
41295
41296
41297 WXWIN_COMPATIBILITY_2_8="yes"
41298 fi
41299
41300 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41301 cat >>confdefs.h <<\_ACEOF
41302 #define WXWIN_COMPATIBILITY_2_8 1
41303 _ACEOF
41304
41305 fi
41306
41307
41308 if test "$wxUSE_GUI" = "yes"; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define wxUSE_GUI 1
41311 _ACEOF
41312
41313
41314 fi
41315
41316
41317 if test "$wxUSE_UNIX" = "yes"; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define wxUSE_UNIX 1
41320 _ACEOF
41321
41322 fi
41323
41324
41325 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41326
41327 HAVE_DL_FUNCS=0
41328 HAVE_SHL_FUNCS=0
41329 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41330 if test "$USE_DOS" = 1; then
41331 HAVE_DL_FUNCS=0
41332 else
41333
41334 for ac_func in dlopen
41335 do
41336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 else
41342 cat >conftest.$ac_ext <<_ACEOF
41343 /* confdefs.h. */
41344 _ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41350 #define $ac_func innocuous_$ac_func
41351
41352 /* System header to define __stub macros and hopefully few prototypes,
41353 which can conflict with char $ac_func (); below.
41354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41355 <limits.h> exists even on freestanding compilers. */
41356
41357 #ifdef __STDC__
41358 # include <limits.h>
41359 #else
41360 # include <assert.h>
41361 #endif
41362
41363 #undef $ac_func
41364
41365 /* Override any GCC internal prototype to avoid an error.
41366 Use char because int might match the return type of a GCC
41367 builtin and then its argument prototype would still apply. */
41368 #ifdef __cplusplus
41369 extern "C"
41370 #endif
41371 char $ac_func ();
41372 /* The GNU C library defines this for functions which it implements
41373 to always fail with ENOSYS. Some functions are actually named
41374 something starting with __ and the normal name is an alias. */
41375 #if defined __stub_$ac_func || defined __stub___$ac_func
41376 choke me
41377 #endif
41378
41379 int
41380 main ()
41381 {
41382 return $ac_func ();
41383 ;
41384 return 0;
41385 }
41386 _ACEOF
41387 rm -f conftest.$ac_objext conftest$ac_exeext
41388 if { (ac_try="$ac_link"
41389 case "(($ac_try" in
41390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41391 *) ac_try_echo=$ac_try;;
41392 esac
41393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41394 (eval "$ac_link") 2>conftest.er1
41395 ac_status=$?
41396 grep -v '^ *+' conftest.er1 >conftest.err
41397 rm -f conftest.er1
41398 cat conftest.err >&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } && {
41401 test -z "$ac_c_werror_flag" ||
41402 test ! -s conftest.err
41403 } && test -s conftest$ac_exeext &&
41404 $as_test_x conftest$ac_exeext; then
41405 eval "$as_ac_var=yes"
41406 else
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41409
41410 eval "$as_ac_var=no"
41411 fi
41412
41413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41414 conftest$ac_exeext conftest.$ac_ext
41415 fi
41416 ac_res=`eval echo '${'$as_ac_var'}'`
41417 { echo "$as_me:$LINENO: result: $ac_res" >&5
41418 echo "${ECHO_T}$ac_res" >&6; }
41419 if test `eval echo '${'$as_ac_var'}'` = yes; then
41420 cat >>confdefs.h <<_ACEOF
41421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41422 _ACEOF
41423
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_DLOPEN 1
41426 _ACEOF
41427
41428 HAVE_DL_FUNCS=1
41429
41430 else
41431
41432 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41433 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41434 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41436 else
41437 ac_check_lib_save_LIBS=$LIBS
41438 LIBS="-ldl $LIBS"
41439 cat >conftest.$ac_ext <<_ACEOF
41440 /* confdefs.h. */
41441 _ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445
41446 /* Override any GCC internal prototype to avoid an error.
41447 Use char because int might match the return type of a GCC
41448 builtin and then its argument prototype would still apply. */
41449 #ifdef __cplusplus
41450 extern "C"
41451 #endif
41452 char dlopen ();
41453 int
41454 main ()
41455 {
41456 return dlopen ();
41457 ;
41458 return 0;
41459 }
41460 _ACEOF
41461 rm -f conftest.$ac_objext conftest$ac_exeext
41462 if { (ac_try="$ac_link"
41463 case "(($ac_try" in
41464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41465 *) ac_try_echo=$ac_try;;
41466 esac
41467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41468 (eval "$ac_link") 2>conftest.er1
41469 ac_status=$?
41470 grep -v '^ *+' conftest.er1 >conftest.err
41471 rm -f conftest.er1
41472 cat conftest.err >&5
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); } && {
41475 test -z "$ac_c_werror_flag" ||
41476 test ! -s conftest.err
41477 } && test -s conftest$ac_exeext &&
41478 $as_test_x conftest$ac_exeext; then
41479 ac_cv_lib_dl_dlopen=yes
41480 else
41481 echo "$as_me: failed program was:" >&5
41482 sed 's/^/| /' conftest.$ac_ext >&5
41483
41484 ac_cv_lib_dl_dlopen=no
41485 fi
41486
41487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41488 conftest$ac_exeext conftest.$ac_ext
41489 LIBS=$ac_check_lib_save_LIBS
41490 fi
41491 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41492 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41493 if test $ac_cv_lib_dl_dlopen = yes; then
41494
41495 cat >>confdefs.h <<\_ACEOF
41496 #define HAVE_DLOPEN 1
41497 _ACEOF
41498
41499 HAVE_DL_FUNCS=1
41500 DL_LINK=" -ldl$DL_LINK"
41501
41502 else
41503
41504
41505 for ac_func in shl_load
41506 do
41507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41511 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 else
41513 cat >conftest.$ac_ext <<_ACEOF
41514 /* confdefs.h. */
41515 _ACEOF
41516 cat confdefs.h >>conftest.$ac_ext
41517 cat >>conftest.$ac_ext <<_ACEOF
41518 /* end confdefs.h. */
41519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41521 #define $ac_func innocuous_$ac_func
41522
41523 /* System header to define __stub macros and hopefully few prototypes,
41524 which can conflict with char $ac_func (); below.
41525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41526 <limits.h> exists even on freestanding compilers. */
41527
41528 #ifdef __STDC__
41529 # include <limits.h>
41530 #else
41531 # include <assert.h>
41532 #endif
41533
41534 #undef $ac_func
41535
41536 /* Override any GCC internal prototype to avoid an error.
41537 Use char because int might match the return type of a GCC
41538 builtin and then its argument prototype would still apply. */
41539 #ifdef __cplusplus
41540 extern "C"
41541 #endif
41542 char $ac_func ();
41543 /* The GNU C library defines this for functions which it implements
41544 to always fail with ENOSYS. Some functions are actually named
41545 something starting with __ and the normal name is an alias. */
41546 #if defined __stub_$ac_func || defined __stub___$ac_func
41547 choke me
41548 #endif
41549
41550 int
41551 main ()
41552 {
41553 return $ac_func ();
41554 ;
41555 return 0;
41556 }
41557 _ACEOF
41558 rm -f conftest.$ac_objext conftest$ac_exeext
41559 if { (ac_try="$ac_link"
41560 case "(($ac_try" in
41561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41562 *) ac_try_echo=$ac_try;;
41563 esac
41564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41565 (eval "$ac_link") 2>conftest.er1
41566 ac_status=$?
41567 grep -v '^ *+' conftest.er1 >conftest.err
41568 rm -f conftest.er1
41569 cat conftest.err >&5
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } && {
41572 test -z "$ac_c_werror_flag" ||
41573 test ! -s conftest.err
41574 } && test -s conftest$ac_exeext &&
41575 $as_test_x conftest$ac_exeext; then
41576 eval "$as_ac_var=yes"
41577 else
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.$ac_ext >&5
41580
41581 eval "$as_ac_var=no"
41582 fi
41583
41584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41585 conftest$ac_exeext conftest.$ac_ext
41586 fi
41587 ac_res=`eval echo '${'$as_ac_var'}'`
41588 { echo "$as_me:$LINENO: result: $ac_res" >&5
41589 echo "${ECHO_T}$ac_res" >&6; }
41590 if test `eval echo '${'$as_ac_var'}'` = yes; then
41591 cat >>confdefs.h <<_ACEOF
41592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41593 _ACEOF
41594
41595 cat >>confdefs.h <<\_ACEOF
41596 #define HAVE_SHL_LOAD 1
41597 _ACEOF
41598
41599 HAVE_SHL_FUNCS=1
41600
41601 else
41602
41603 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41604 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41605 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41606 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 else
41608 ac_check_lib_save_LIBS=$LIBS
41609 LIBS="-lshl_load $LIBS"
41610 cat >conftest.$ac_ext <<_ACEOF
41611 /* confdefs.h. */
41612 _ACEOF
41613 cat confdefs.h >>conftest.$ac_ext
41614 cat >>conftest.$ac_ext <<_ACEOF
41615 /* end confdefs.h. */
41616
41617 /* Override any GCC internal prototype to avoid an error.
41618 Use char because int might match the return type of a GCC
41619 builtin and then its argument prototype would still apply. */
41620 #ifdef __cplusplus
41621 extern "C"
41622 #endif
41623 char dld ();
41624 int
41625 main ()
41626 {
41627 return dld ();
41628 ;
41629 return 0;
41630 }
41631 _ACEOF
41632 rm -f conftest.$ac_objext conftest$ac_exeext
41633 if { (ac_try="$ac_link"
41634 case "(($ac_try" in
41635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41637 esac
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_link") 2>conftest.er1
41640 ac_status=$?
41641 grep -v '^ *+' conftest.er1 >conftest.err
41642 rm -f conftest.er1
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest$ac_exeext &&
41649 $as_test_x conftest$ac_exeext; then
41650 ac_cv_lib_shl_load_dld=yes
41651 else
41652 echo "$as_me: failed program was:" >&5
41653 sed 's/^/| /' conftest.$ac_ext >&5
41654
41655 ac_cv_lib_shl_load_dld=no
41656 fi
41657
41658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41659 conftest$ac_exeext conftest.$ac_ext
41660 LIBS=$ac_check_lib_save_LIBS
41661 fi
41662 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41663 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41664 if test $ac_cv_lib_shl_load_dld = yes; then
41665
41666 HAVE_SHL_FUNCS=1
41667 DL_LINK=" -ldld$DL_LINK"
41668
41669 fi
41670
41671
41672 fi
41673 done
41674
41675
41676 fi
41677
41678
41679 fi
41680 done
41681
41682
41683 if test "$HAVE_DL_FUNCS" = 1; then
41684
41685 for ac_func in dlerror
41686 do
41687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41691 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 else
41693 cat >conftest.$ac_ext <<_ACEOF
41694 /* confdefs.h. */
41695 _ACEOF
41696 cat confdefs.h >>conftest.$ac_ext
41697 cat >>conftest.$ac_ext <<_ACEOF
41698 /* end confdefs.h. */
41699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41701 #define $ac_func innocuous_$ac_func
41702
41703 /* System header to define __stub macros and hopefully few prototypes,
41704 which can conflict with char $ac_func (); below.
41705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41706 <limits.h> exists even on freestanding compilers. */
41707
41708 #ifdef __STDC__
41709 # include <limits.h>
41710 #else
41711 # include <assert.h>
41712 #endif
41713
41714 #undef $ac_func
41715
41716 /* Override any GCC internal prototype to avoid an error.
41717 Use char because int might match the return type of a GCC
41718 builtin and then its argument prototype would still apply. */
41719 #ifdef __cplusplus
41720 extern "C"
41721 #endif
41722 char $ac_func ();
41723 /* The GNU C library defines this for functions which it implements
41724 to always fail with ENOSYS. Some functions are actually named
41725 something starting with __ and the normal name is an alias. */
41726 #if defined __stub_$ac_func || defined __stub___$ac_func
41727 choke me
41728 #endif
41729
41730 int
41731 main ()
41732 {
41733 return $ac_func ();
41734 ;
41735 return 0;
41736 }
41737 _ACEOF
41738 rm -f conftest.$ac_objext conftest$ac_exeext
41739 if { (ac_try="$ac_link"
41740 case "(($ac_try" in
41741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41742 *) ac_try_echo=$ac_try;;
41743 esac
41744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41745 (eval "$ac_link") 2>conftest.er1
41746 ac_status=$?
41747 grep -v '^ *+' conftest.er1 >conftest.err
41748 rm -f conftest.er1
41749 cat conftest.err >&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); } && {
41752 test -z "$ac_c_werror_flag" ||
41753 test ! -s conftest.err
41754 } && test -s conftest$ac_exeext &&
41755 $as_test_x conftest$ac_exeext; then
41756 eval "$as_ac_var=yes"
41757 else
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.$ac_ext >&5
41760
41761 eval "$as_ac_var=no"
41762 fi
41763
41764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41765 conftest$ac_exeext conftest.$ac_ext
41766 fi
41767 ac_res=`eval echo '${'$as_ac_var'}'`
41768 { echo "$as_me:$LINENO: result: $ac_res" >&5
41769 echo "${ECHO_T}$ac_res" >&6; }
41770 if test `eval echo '${'$as_ac_var'}'` = yes; then
41771 cat >>confdefs.h <<_ACEOF
41772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41773 _ACEOF
41774 cat >>confdefs.h <<\_ACEOF
41775 #define HAVE_DLERROR 1
41776 _ACEOF
41777
41778 else
41779
41780 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41781 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41782 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41783 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 else
41785 ac_check_lib_save_LIBS=$LIBS
41786 LIBS="-ldl $LIBS"
41787 cat >conftest.$ac_ext <<_ACEOF
41788 /* confdefs.h. */
41789 _ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793
41794 /* Override any GCC internal prototype to avoid an error.
41795 Use char because int might match the return type of a GCC
41796 builtin and then its argument prototype would still apply. */
41797 #ifdef __cplusplus
41798 extern "C"
41799 #endif
41800 char dlerror ();
41801 int
41802 main ()
41803 {
41804 return dlerror ();
41805 ;
41806 return 0;
41807 }
41808 _ACEOF
41809 rm -f conftest.$ac_objext conftest$ac_exeext
41810 if { (ac_try="$ac_link"
41811 case "(($ac_try" in
41812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41813 *) ac_try_echo=$ac_try;;
41814 esac
41815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41816 (eval "$ac_link") 2>conftest.er1
41817 ac_status=$?
41818 grep -v '^ *+' conftest.er1 >conftest.err
41819 rm -f conftest.er1
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } && {
41823 test -z "$ac_c_werror_flag" ||
41824 test ! -s conftest.err
41825 } && test -s conftest$ac_exeext &&
41826 $as_test_x conftest$ac_exeext; then
41827 ac_cv_lib_dl_dlerror=yes
41828 else
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41831
41832 ac_cv_lib_dl_dlerror=no
41833 fi
41834
41835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41836 conftest$ac_exeext conftest.$ac_ext
41837 LIBS=$ac_check_lib_save_LIBS
41838 fi
41839 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41840 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41841 if test $ac_cv_lib_dl_dlerror = yes; then
41842 cat >>confdefs.h <<\_ACEOF
41843 #define HAVE_DLERROR 1
41844 _ACEOF
41845
41846 fi
41847
41848
41849
41850 fi
41851 done
41852
41853 fi
41854 fi
41855
41856 if test "$USE_DARWIN" = 1; then
41857 HAVE_DL_FUNCS=1
41858 fi
41859
41860 if test "$HAVE_DL_FUNCS" = 0; then
41861 if test "$HAVE_SHL_FUNCS" = 0; then
41862 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41863 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41864 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41865 wxUSE_DYNAMIC_LOADER=no
41866 wxUSE_DYNLIB_CLASS=no
41867 else
41868 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41869 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41870 fi
41871 fi
41872 fi
41873 fi
41874 fi
41875
41876 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_DYNAMIC_LOADER 1
41879 _ACEOF
41880
41881 fi
41882 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41883 cat >>confdefs.h <<\_ACEOF
41884 #define wxUSE_DYNLIB_CLASS 1
41885 _ACEOF
41886
41887 fi
41888
41889
41890
41891 if test "$wxUSE_PLUGINS" = "yes" ; then
41892 if test "$wxUSE_SHARED" = "no" ; then
41893 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41894 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41895 wxUSE_PLUGINS=no
41896 fi
41897 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41898 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41899 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41900 wxUSE_PLUGINS=no
41901 fi
41902 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41903 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41904 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41905 wxUSE_PLUGINS=no
41906 fi
41907 if test "$wxUSE_PLUGINS" = "yes" ; then
41908 cat >>confdefs.h <<\_ACEOF
41909 #define wxUSE_PLUGINS 1
41910 _ACEOF
41911
41912 fi
41913 fi
41914
41915
41916 if test "$wxUSE_STL" = "yes"; then
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_STL 1
41919 _ACEOF
41920
41921 fi
41922
41923 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41924 cat >>confdefs.h <<\_ACEOF
41925 #define wxUSE_EXTENDED_RTTI 1
41926 _ACEOF
41927
41928 fi
41929
41930 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41931 cat >>confdefs.h <<\_ACEOF
41932 #define wxUSE_APPLE_IEEE 1
41933 _ACEOF
41934
41935 fi
41936
41937 if test "$wxUSE_TIMER" = "yes"; then
41938 cat >>confdefs.h <<\_ACEOF
41939 #define wxUSE_TIMER 1
41940 _ACEOF
41941
41942 fi
41943
41944 if test "$USE_UNIX" = 1 ; then
41945 if test "$wxUSE_MGL" != 1; then
41946 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41947 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41948 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41949 echo $ECHO_N "(cached) $ECHO_C" >&6
41950 else
41951
41952 cat >conftest.$ac_ext <<_ACEOF
41953 /* confdefs.h. */
41954 _ACEOF
41955 cat confdefs.h >>conftest.$ac_ext
41956 cat >>conftest.$ac_ext <<_ACEOF
41957 /* end confdefs.h. */
41958
41959 #include <sys/ioctl.h>
41960 #include <sys/soundcard.h>
41961
41962 int
41963 main ()
41964 {
41965
41966 ioctl(0, SNDCTL_DSP_SPEED, 0);
41967
41968 ;
41969 return 0;
41970 }
41971 _ACEOF
41972 rm -f conftest.$ac_objext conftest$ac_exeext
41973 if { (ac_try="$ac_link"
41974 case "(($ac_try" in
41975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41976 *) ac_try_echo=$ac_try;;
41977 esac
41978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41979 (eval "$ac_link") 2>conftest.er1
41980 ac_status=$?
41981 grep -v '^ *+' conftest.er1 >conftest.err
41982 rm -f conftest.er1
41983 cat conftest.err >&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } && {
41986 test -z "$ac_c_werror_flag" ||
41987 test ! -s conftest.err
41988 } && test -s conftest$ac_exeext &&
41989 $as_test_x conftest$ac_exeext; then
41990 ac_cv_header_sys_soundcard=yes
41991 else
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.$ac_ext >&5
41994
41995
41996 saveLibs="$LIBS"
41997 LIBS="$saveLibs -lossaudio"
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004
42005 #include <sys/ioctl.h>
42006 #include <sys/soundcard.h>
42007
42008 int
42009 main ()
42010 {
42011
42012 ioctl(0, SNDCTL_DSP_SPEED, 0);
42013
42014 ;
42015 return 0;
42016 }
42017 _ACEOF
42018 rm -f conftest.$ac_objext conftest$ac_exeext
42019 if { (ac_try="$ac_link"
42020 case "(($ac_try" in
42021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42022 *) ac_try_echo=$ac_try;;
42023 esac
42024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42025 (eval "$ac_link") 2>conftest.er1
42026 ac_status=$?
42027 grep -v '^ *+' conftest.er1 >conftest.err
42028 rm -f conftest.er1
42029 cat conftest.err >&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } && {
42032 test -z "$ac_c_werror_flag" ||
42033 test ! -s conftest.err
42034 } && test -s conftest$ac_exeext &&
42035 $as_test_x conftest$ac_exeext; then
42036 ac_cv_header_sys_soundcard=yes
42037 else
42038 echo "$as_me: failed program was:" >&5
42039 sed 's/^/| /' conftest.$ac_ext >&5
42040
42041
42042 LIBS="$saveLibs"
42043 ac_cv_header_sys_soundcard=no
42044
42045
42046 fi
42047
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42050
42051
42052 fi
42053
42054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42055 conftest$ac_exeext conftest.$ac_ext
42056
42057 fi
42058 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42059 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42060 fi
42061
42062 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42063 cat >>confdefs.h <<\_ACEOF
42064 #define HAVE_SYS_SOUNDCARD_H 1
42065 _ACEOF
42066
42067 fi
42068 fi
42069
42070 WITH_PLUGIN_SDL=0
42071 if test "$wxUSE_SOUND" = "yes"; then
42072 if test "$USE_UNIX" = 1 ; then
42073 if test "$wxUSE_LIBSDL" != "no"; then
42074
42075 # Check whether --with-sdl-prefix was given.
42076 if test "${with_sdl_prefix+set}" = set; then
42077 withval=$with_sdl_prefix; sdl_prefix="$withval"
42078 else
42079 sdl_prefix=""
42080 fi
42081
42082
42083 # Check whether --with-sdl-exec-prefix was given.
42084 if test "${with_sdl_exec_prefix+set}" = set; then
42085 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42086 else
42087 sdl_exec_prefix=""
42088 fi
42089
42090 # Check whether --enable-sdltest was given.
42091 if test "${enable_sdltest+set}" = set; then
42092 enableval=$enable_sdltest;
42093 else
42094 enable_sdltest=yes
42095 fi
42096
42097
42098 if test x$sdl_exec_prefix != x ; then
42099 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42100 if test x${SDL_CONFIG+set} != xset ; then
42101 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42102 fi
42103 fi
42104 if test x$sdl_prefix != x ; then
42105 sdl_args="$sdl_args --prefix=$sdl_prefix"
42106 if test x${SDL_CONFIG+set} != xset ; then
42107 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42108 fi
42109 fi
42110
42111 if test "x$prefix" != xNONE; then
42112 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42113 fi
42114 # Extract the first word of "sdl-config", so it can be a program name with args.
42115 set dummy sdl-config; ac_word=$2
42116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42118 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42120 else
42121 case $SDL_CONFIG in
42122 [\\/]* | ?:[\\/]*)
42123 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42124 ;;
42125 *)
42126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42127 for as_dir in $PATH
42128 do
42129 IFS=$as_save_IFS
42130 test -z "$as_dir" && as_dir=.
42131 for ac_exec_ext in '' $ac_executable_extensions; do
42132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42133 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42135 break 2
42136 fi
42137 done
42138 done
42139 IFS=$as_save_IFS
42140
42141 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42142 ;;
42143 esac
42144 fi
42145 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42146 if test -n "$SDL_CONFIG"; then
42147 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42148 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42149 else
42150 { echo "$as_me:$LINENO: result: no" >&5
42151 echo "${ECHO_T}no" >&6; }
42152 fi
42153
42154
42155 min_sdl_version=1.2.0
42156 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42157 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42158 no_sdl=""
42159 if test "$SDL_CONFIG" = "no" ; then
42160 no_sdl=yes
42161 else
42162 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42163 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42164
42165 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42167 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42169 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42170 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42171 if test "x$enable_sdltest" = "xyes" ; then
42172 ac_save_CFLAGS="$CFLAGS"
42173 ac_save_CXXFLAGS="$CXXFLAGS"
42174 ac_save_LIBS="$LIBS"
42175 CFLAGS="$CFLAGS $SDL_CFLAGS"
42176 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42177 LIBS="$LIBS $SDL_LIBS"
42178 rm -f conf.sdltest
42179 if test "$cross_compiling" = yes; then
42180 echo $ac_n "cross compiling; assumed OK... $ac_c"
42181 else
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188
42189 #include <stdio.h>
42190 #include <stdlib.h>
42191 #include <string.h>
42192 #include "SDL.h"
42193
42194 char*
42195 my_strdup (char *str)
42196 {
42197 char *new_str;
42198
42199 if (str)
42200 {
42201 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42202 strcpy (new_str, str);
42203 }
42204 else
42205 new_str = NULL;
42206
42207 return new_str;
42208 }
42209
42210 int main (int argc, char *argv[])
42211 {
42212 int major, minor, micro;
42213 char *tmp_version;
42214
42215 /* This hangs on some systems (?)
42216 system ("touch conf.sdltest");
42217 */
42218 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42219
42220 /* HP/UX 9 (%@#!) writes to sscanf strings */
42221 tmp_version = my_strdup("$min_sdl_version");
42222 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42223 printf("%s, bad version string\n", "$min_sdl_version");
42224 exit(1);
42225 }
42226
42227 if (($sdl_major_version > major) ||
42228 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42229 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42230 {
42231 return 0;
42232 }
42233 else
42234 {
42235 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42236 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42237 printf("*** best to upgrade to the required version.\n");
42238 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42239 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42240 printf("*** config.cache before re-running configure\n");
42241 return 1;
42242 }
42243 }
42244
42245
42246 _ACEOF
42247 rm -f conftest$ac_exeext
42248 if { (ac_try="$ac_link"
42249 case "(($ac_try" in
42250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42251 *) ac_try_echo=$ac_try;;
42252 esac
42253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42254 (eval "$ac_link") 2>&5
42255 ac_status=$?
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42258 { (case "(($ac_try" in
42259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42260 *) ac_try_echo=$ac_try;;
42261 esac
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_try") 2>&5
42264 ac_status=$?
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; }; then
42267 :
42268 else
42269 echo "$as_me: program exited with status $ac_status" >&5
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42272
42273 ( exit $ac_status )
42274 no_sdl=yes
42275 fi
42276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42277 fi
42278
42279
42280 CFLAGS="$ac_save_CFLAGS"
42281 CXXFLAGS="$ac_save_CXXFLAGS"
42282 LIBS="$ac_save_LIBS"
42283 fi
42284 fi
42285 if test "x$no_sdl" = x ; then
42286 { echo "$as_me:$LINENO: result: yes" >&5
42287 echo "${ECHO_T}yes" >&6; }
42288
42289 EXTRALIBS_SDL="$SDL_LIBS"
42290 CFLAGS="$SDL_CFLAGS $CFLAGS"
42291 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42292 cat >>confdefs.h <<\_ACEOF
42293 #define wxUSE_LIBSDL 1
42294 _ACEOF
42295
42296
42297 else
42298 { echo "$as_me:$LINENO: result: no" >&5
42299 echo "${ECHO_T}no" >&6; }
42300 if test "$SDL_CONFIG" = "no" ; then
42301 echo "*** The sdl-config script installed by SDL could not be found"
42302 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42303 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42304 echo "*** full path to sdl-config."
42305 else
42306 if test -f conf.sdltest ; then
42307 :
42308 else
42309 echo "*** Could not run SDL test program, checking why..."
42310 CFLAGS="$CFLAGS $SDL_CFLAGS"
42311 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42312 LIBS="$LIBS $SDL_LIBS"
42313 cat >conftest.$ac_ext <<_ACEOF
42314 /* confdefs.h. */
42315 _ACEOF
42316 cat confdefs.h >>conftest.$ac_ext
42317 cat >>conftest.$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42319
42320 #include <stdio.h>
42321 #include "SDL.h"
42322
42323 int main(int argc, char *argv[])
42324 { return 0; }
42325 #undef main
42326 #define main K_and_R_C_main
42327
42328 int
42329 main ()
42330 {
42331 return 0;
42332 ;
42333 return 0;
42334 }
42335 _ACEOF
42336 rm -f conftest.$ac_objext conftest$ac_exeext
42337 if { (ac_try="$ac_link"
42338 case "(($ac_try" in
42339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42340 *) ac_try_echo=$ac_try;;
42341 esac
42342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42343 (eval "$ac_link") 2>conftest.er1
42344 ac_status=$?
42345 grep -v '^ *+' conftest.er1 >conftest.err
42346 rm -f conftest.er1
42347 cat conftest.err >&5
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); } && {
42350 test -z "$ac_c_werror_flag" ||
42351 test ! -s conftest.err
42352 } && test -s conftest$ac_exeext &&
42353 $as_test_x conftest$ac_exeext; then
42354 echo "*** The test program compiled, but did not run. This usually means"
42355 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42356 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42359 echo "*** is required on your system"
42360 echo "***"
42361 echo "*** If you have an old version installed, it is best to remove it, although"
42362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42363 else
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42366
42367 echo "*** The test program failed to compile or link. See the file config.log for the"
42368 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42369 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42370 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42371 fi
42372
42373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42374 conftest$ac_exeext conftest.$ac_ext
42375 CFLAGS="$ac_save_CFLAGS"
42376 CXXFLAGS="$ac_save_CXXFLAGS"
42377 LIBS="$ac_save_LIBS"
42378 fi
42379 fi
42380 SDL_CFLAGS=""
42381 SDL_LIBS=""
42382 wxUSE_LIBSDL="no"
42383 fi
42384
42385
42386 rm -f conf.sdltest
42387
42388 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42389 WITH_PLUGIN_SDL=1
42390 fi
42391 fi
42392 else
42393 if test "$wxUSE_MGL" = 1; then
42394 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42395 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42396 wxUSE_SOUND="no"
42397 fi
42398 fi
42399 fi
42400
42401 if test "$wxUSE_SOUND" = "yes"; then
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_SOUND 1
42404 _ACEOF
42405
42406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42407 fi
42408
42409 if test "$WXGTK2" = 1; then
42410
42411
42412 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42413 if test -n "$ac_tool_prefix"; then
42414 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42415 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42418 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42419 echo $ECHO_N "(cached) $ECHO_C" >&6
42420 else
42421 case $PKG_CONFIG in
42422 [\\/]* | ?:[\\/]*)
42423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42424 ;;
42425 *)
42426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42427 for as_dir in $PATH
42428 do
42429 IFS=$as_save_IFS
42430 test -z "$as_dir" && as_dir=.
42431 for ac_exec_ext in '' $ac_executable_extensions; do
42432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42433 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42435 break 2
42436 fi
42437 done
42438 done
42439 IFS=$as_save_IFS
42440
42441 ;;
42442 esac
42443 fi
42444 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42445 if test -n "$PKG_CONFIG"; then
42446 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42447 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42448 else
42449 { echo "$as_me:$LINENO: result: no" >&5
42450 echo "${ECHO_T}no" >&6; }
42451 fi
42452
42453
42454 fi
42455 if test -z "$ac_cv_path_PKG_CONFIG"; then
42456 ac_pt_PKG_CONFIG=$PKG_CONFIG
42457 # Extract the first word of "pkg-config", so it can be a program name with args.
42458 set dummy pkg-config; ac_word=$2
42459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42461 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 else
42464 case $ac_pt_PKG_CONFIG in
42465 [\\/]* | ?:[\\/]*)
42466 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42467 ;;
42468 *)
42469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42470 for as_dir in $PATH
42471 do
42472 IFS=$as_save_IFS
42473 test -z "$as_dir" && as_dir=.
42474 for ac_exec_ext in '' $ac_executable_extensions; do
42475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42476 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42478 break 2
42479 fi
42480 done
42481 done
42482 IFS=$as_save_IFS
42483
42484 ;;
42485 esac
42486 fi
42487 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42488 if test -n "$ac_pt_PKG_CONFIG"; then
42489 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42490 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42491 else
42492 { echo "$as_me:$LINENO: result: no" >&5
42493 echo "${ECHO_T}no" >&6; }
42494 fi
42495
42496 if test "x$ac_pt_PKG_CONFIG" = x; then
42497 PKG_CONFIG=""
42498 else
42499 case $cross_compiling:$ac_tool_warned in
42500 yes:)
42501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42502 whose name does not start with the host triplet. If you think this
42503 configuration is useful to you, please write to autoconf@gnu.org." >&5
42504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42505 whose name does not start with the host triplet. If you think this
42506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42507 ac_tool_warned=yes ;;
42508 esac
42509 PKG_CONFIG=$ac_pt_PKG_CONFIG
42510 fi
42511 else
42512 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42513 fi
42514
42515 fi
42516 if test -n "$PKG_CONFIG"; then
42517 _pkg_min_version=0.9.0
42518 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42519 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42520 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42521 { echo "$as_me:$LINENO: result: yes" >&5
42522 echo "${ECHO_T}yes" >&6; }
42523 else
42524 { echo "$as_me:$LINENO: result: no" >&5
42525 echo "${ECHO_T}no" >&6; }
42526 PKG_CONFIG=""
42527 fi
42528
42529 fi
42530
42531 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42532
42533 if test "$wxUSE_GTKPRINT" = "yes" ; then
42534
42535
42536 pkg_failed=no
42537 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42538 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42539
42540 if test -n "$PKG_CONFIG"; then
42541 if test -n "$GTKPRINT_CFLAGS"; then
42542 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42543 else
42544 if test -n "$PKG_CONFIG" && \
42545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42546 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42547 ac_status=$?
42548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42549 (exit $ac_status); }; then
42550 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42551 else
42552 pkg_failed=yes
42553 fi
42554 fi
42555 else
42556 pkg_failed=untried
42557 fi
42558 if test -n "$PKG_CONFIG"; then
42559 if test -n "$GTKPRINT_LIBS"; then
42560 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42561 else
42562 if test -n "$PKG_CONFIG" && \
42563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42564 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42565 ac_status=$?
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; then
42568 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42569 else
42570 pkg_failed=yes
42571 fi
42572 fi
42573 else
42574 pkg_failed=untried
42575 fi
42576
42577
42578
42579 if test $pkg_failed = yes; then
42580
42581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42582 _pkg_short_errors_supported=yes
42583 else
42584 _pkg_short_errors_supported=no
42585 fi
42586 if test $_pkg_short_errors_supported = yes; then
42587 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42588 else
42589 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42590 fi
42591 # Put the nasty error message in config.log where it belongs
42592 echo "$GTKPRINT_PKG_ERRORS" >&5
42593
42594
42595 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42596 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42597 wxUSE_GTKPRINT="no"
42598
42599
42600 elif test $pkg_failed = untried; then
42601
42602 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42603 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42604 wxUSE_GTKPRINT="no"
42605
42606
42607 else
42608 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42609 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42610 { echo "$as_me:$LINENO: result: yes" >&5
42611 echo "${ECHO_T}yes" >&6; }
42612
42613 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42614 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42615 cat >>confdefs.h <<\_ACEOF
42616 #define wxUSE_GTKPRINT 1
42617 _ACEOF
42618
42619
42620 fi
42621 fi
42622
42623 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42624
42625
42626 pkg_failed=no
42627 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42628 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42629
42630 if test -n "$PKG_CONFIG"; then
42631 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42632 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42633 else
42634 if test -n "$PKG_CONFIG" && \
42635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42636 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42637 ac_status=$?
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; then
42640 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42641 else
42642 pkg_failed=yes
42643 fi
42644 fi
42645 else
42646 pkg_failed=untried
42647 fi
42648 if test -n "$PKG_CONFIG"; then
42649 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42650 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42651 else
42652 if test -n "$PKG_CONFIG" && \
42653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42654 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42655 ac_status=$?
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); }; then
42658 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42659 else
42660 pkg_failed=yes
42661 fi
42662 fi
42663 else
42664 pkg_failed=untried
42665 fi
42666
42667
42668
42669 if test $pkg_failed = yes; then
42670
42671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42672 _pkg_short_errors_supported=yes
42673 else
42674 _pkg_short_errors_supported=no
42675 fi
42676 if test $_pkg_short_errors_supported = yes; then
42677 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42678 else
42679 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42680 fi
42681 # Put the nasty error message in config.log where it belongs
42682 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42683
42684
42685 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42686 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42687 wxUSE_LIBGNOMEPRINT="no"
42688
42689
42690 elif test $pkg_failed = untried; then
42691
42692 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42693 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42694 wxUSE_LIBGNOMEPRINT="no"
42695
42696
42697 else
42698 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42699 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42700 { echo "$as_me:$LINENO: result: yes" >&5
42701 echo "${ECHO_T}yes" >&6; }
42702
42703 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42704 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42705 cat >>confdefs.h <<\_ACEOF
42706 #define wxUSE_LIBGNOMEPRINT 1
42707 _ACEOF
42708
42709
42710 fi
42711 fi
42712 fi
42713
42714 if test "$wxUSE_MIMETYPE" = "yes" ; then
42715 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42716
42717
42718 pkg_failed=no
42719 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42720 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42721
42722 if test -n "$PKG_CONFIG"; then
42723 if test -n "$GNOMEVFS_CFLAGS"; then
42724 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42725 else
42726 if test -n "$PKG_CONFIG" && \
42727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42728 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42729 ac_status=$?
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; then
42732 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42733 else
42734 pkg_failed=yes
42735 fi
42736 fi
42737 else
42738 pkg_failed=untried
42739 fi
42740 if test -n "$PKG_CONFIG"; then
42741 if test -n "$GNOMEVFS_LIBS"; then
42742 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42743 else
42744 if test -n "$PKG_CONFIG" && \
42745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42746 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42747 ac_status=$?
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); }; then
42750 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42751 else
42752 pkg_failed=yes
42753 fi
42754 fi
42755 else
42756 pkg_failed=untried
42757 fi
42758
42759
42760
42761 if test $pkg_failed = yes; then
42762
42763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42764 _pkg_short_errors_supported=yes
42765 else
42766 _pkg_short_errors_supported=no
42767 fi
42768 if test $_pkg_short_errors_supported = yes; then
42769 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42770 else
42771 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42772 fi
42773 # Put the nasty error message in config.log where it belongs
42774 echo "$GNOMEVFS_PKG_ERRORS" >&5
42775
42776
42777 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42778 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42779 wxUSE_LIBGNOMEVFS="no"
42780
42781
42782 elif test $pkg_failed = untried; then
42783
42784 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42785 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42786 wxUSE_LIBGNOMEVFS="no"
42787
42788
42789 else
42790 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42791 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42792 { echo "$as_me:$LINENO: result: yes" >&5
42793 echo "${ECHO_T}yes" >&6; }
42794
42795 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42796 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42797 cat >>confdefs.h <<\_ACEOF
42798 #define wxUSE_LIBGNOMEVFS 1
42799 _ACEOF
42800
42801
42802 fi
42803 fi
42804 fi
42805
42806 if test "$wxUSE_LIBHILDON" = "yes" ; then
42807
42808 pkg_failed=no
42809 { echo "$as_me:$LINENO: checking for HILDON" >&5
42810 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42811
42812 if test -n "$PKG_CONFIG"; then
42813 if test -n "$HILDON_CFLAGS"; then
42814 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42815 else
42816 if test -n "$PKG_CONFIG" && \
42817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42818 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42819 ac_status=$?
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); }; then
42822 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42823 else
42824 pkg_failed=yes
42825 fi
42826 fi
42827 else
42828 pkg_failed=untried
42829 fi
42830 if test -n "$PKG_CONFIG"; then
42831 if test -n "$HILDON_LIBS"; then
42832 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42833 else
42834 if test -n "$PKG_CONFIG" && \
42835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42836 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42837 ac_status=$?
42838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839 (exit $ac_status); }; then
42840 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42841 else
42842 pkg_failed=yes
42843 fi
42844 fi
42845 else
42846 pkg_failed=untried
42847 fi
42848
42849
42850
42851 if test $pkg_failed = yes; then
42852
42853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42854 _pkg_short_errors_supported=yes
42855 else
42856 _pkg_short_errors_supported=no
42857 fi
42858 if test $_pkg_short_errors_supported = yes; then
42859 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42860 else
42861 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42862 fi
42863 # Put the nasty error message in config.log where it belongs
42864 echo "$HILDON_PKG_ERRORS" >&5
42865
42866
42867 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42868 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42869 wxUSE_LIBHILDON="no"
42870
42871
42872 elif test $pkg_failed = untried; then
42873
42874 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42875 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42876 wxUSE_LIBHILDON="no"
42877
42878
42879 else
42880 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42881 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42882 { echo "$as_me:$LINENO: result: yes" >&5
42883 echo "${ECHO_T}yes" >&6; }
42884
42885 EXTRALIBS_HILDON="$HILDON_LIBS"
42886 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42887 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42888 cat >>confdefs.h <<\_ACEOF
42889 #define wxUSE_LIBHILDON 1
42890 _ACEOF
42891
42892
42893 fi
42894 fi
42895 fi
42896
42897 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42898 cat >>confdefs.h <<\_ACEOF
42899 #define wxUSE_CMDLINE_PARSER 1
42900 _ACEOF
42901
42902 fi
42903
42904 if test "$wxUSE_STOPWATCH" = "yes"; then
42905 cat >>confdefs.h <<\_ACEOF
42906 #define wxUSE_STOPWATCH 1
42907 _ACEOF
42908
42909 fi
42910
42911 if test "$wxUSE_DATETIME" = "yes"; then
42912 cat >>confdefs.h <<\_ACEOF
42913 #define wxUSE_DATETIME 1
42914 _ACEOF
42915
42916 fi
42917
42918 if test "$wxUSE_FILE" = "yes"; then
42919 cat >>confdefs.h <<\_ACEOF
42920 #define wxUSE_FILE 1
42921 _ACEOF
42922
42923 fi
42924
42925 if test "$wxUSE_FFILE" = "yes"; then
42926 cat >>confdefs.h <<\_ACEOF
42927 #define wxUSE_FFILE 1
42928 _ACEOF
42929
42930 fi
42931
42932 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42933 if test "$wxUSE_STREAMS" != yes; then
42934 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42935 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42936 wxUSE_ARCHIVE_STREAMS=no
42937 else
42938 cat >>confdefs.h <<\_ACEOF
42939 #define wxUSE_ARCHIVE_STREAMS 1
42940 _ACEOF
42941
42942 fi
42943 fi
42944
42945 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42946 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42947 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42948 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42949 elif test "$wxUSE_ZLIB" = "no"; then
42950 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42951 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42952 else
42953 cat >>confdefs.h <<\_ACEOF
42954 #define wxUSE_ZIPSTREAM 1
42955 _ACEOF
42956
42957 fi
42958 fi
42959
42960 if test "$wxUSE_TARSTREAM" = "yes"; then
42961 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42962 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42963 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42964 else
42965 cat >>confdefs.h <<\_ACEOF
42966 #define wxUSE_TARSTREAM 1
42967 _ACEOF
42968
42969 fi
42970 fi
42971
42972 if test "$wxUSE_FILESYSTEM" = "yes"; then
42973 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42974 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42975 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42976 wxUSE_FILESYSTEM=no
42977 else
42978 cat >>confdefs.h <<\_ACEOF
42979 #define wxUSE_FILESYSTEM 1
42980 _ACEOF
42981
42982 fi
42983 fi
42984
42985 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42986 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42987 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42988 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42989 else
42990 cat >>confdefs.h <<\_ACEOF
42991 #define wxUSE_FS_ARCHIVE 1
42992 _ACEOF
42993
42994 fi
42995 fi
42996
42997 if test "$wxUSE_FS_ZIP" = "yes"; then
42998 if test "$wxUSE_FS_ARCHIVE" != yes; then
42999 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43000 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43001 else
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_FS_ZIP 1
43004 _ACEOF
43005
43006 fi
43007 fi
43008
43009 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43010 if test "$USE_UNIX" != 1; then
43011 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43012 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43013 wxUSE_ON_FATAL_EXCEPTION=no
43014 else
43015 cat >>confdefs.h <<\_ACEOF
43016 #define wxUSE_ON_FATAL_EXCEPTION 1
43017 _ACEOF
43018
43019 fi
43020 fi
43021
43022 if test "$wxUSE_STACKWALKER" = "yes"; then
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_STACKWALKER 1
43025 _ACEOF
43026
43027 fi
43028
43029 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43030 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43031 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43032 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43033 wxUSE_DEBUGREPORT=no
43034 else
43035 cat >>confdefs.h <<\_ACEOF
43036 #define wxUSE_DEBUGREPORT 1
43037 _ACEOF
43038
43039 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43041 fi
43042 fi
43043 fi
43044
43045 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43046 cat >>confdefs.h <<\_ACEOF
43047 #define wxUSE_SNGLINST_CHECKER 1
43048 _ACEOF
43049
43050 fi
43051
43052 if test "$wxUSE_BUSYINFO" = "yes"; then
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_BUSYINFO 1
43055 _ACEOF
43056
43057 fi
43058
43059 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43060 cat >>confdefs.h <<\_ACEOF
43061 #define wxUSE_STD_IOSTREAM 1
43062 _ACEOF
43063
43064 fi
43065
43066 if test "$wxUSE_STD_STRING" = "yes"; then
43067 cat >>confdefs.h <<\_ACEOF
43068 #define wxUSE_STD_STRING 1
43069 _ACEOF
43070
43071 fi
43072
43073 if test "$wxUSE_STDPATHS" = "yes"; then
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_STDPATHS 1
43076 _ACEOF
43077
43078 fi
43079
43080 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43081 cat >>confdefs.h <<\_ACEOF
43082 #define wxUSE_TEXTBUFFER 1
43083 _ACEOF
43084
43085 fi
43086
43087 if test "$wxUSE_TEXTFILE" = "yes"; then
43088 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43089 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43090 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43091 else
43092 cat >>confdefs.h <<\_ACEOF
43093 #define wxUSE_TEXTFILE 1
43094 _ACEOF
43095
43096 fi
43097 fi
43098
43099 if test "$wxUSE_CONFIG" = "yes" ; then
43100 if test "$wxUSE_TEXTFILE" != "yes"; then
43101 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43102 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43103 else
43104 cat >>confdefs.h <<\_ACEOF
43105 #define wxUSE_CONFIG 1
43106 _ACEOF
43107
43108 cat >>confdefs.h <<\_ACEOF
43109 #define wxUSE_CONFIG_NATIVE 1
43110 _ACEOF
43111
43112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43113 fi
43114 fi
43115
43116 if test "$wxUSE_INTL" = "yes" ; then
43117 if test "$wxUSE_FILE" != "yes"; then
43118 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43119 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43120 else
43121 cat >>confdefs.h <<\_ACEOF
43122 #define wxUSE_INTL 1
43123 _ACEOF
43124
43125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43126 GUIDIST="$GUIDIST INTL_DIST"
43127 fi
43128 fi
43129
43130 if test "$wxUSE_XLOCALE" == "yes" ; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_XLOCALE 1
43133 _ACEOF
43134
43135 { echo "$as_me:$LINENO: checking for locale_t" >&5
43136 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43137 if test "${ac_cv_type_locale_t+set}" = set; then
43138 echo $ECHO_N "(cached) $ECHO_C" >&6
43139 else
43140 cat >conftest.$ac_ext <<_ACEOF
43141 /* confdefs.h. */
43142 _ACEOF
43143 cat confdefs.h >>conftest.$ac_ext
43144 cat >>conftest.$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43146 #include <xlocale.h>
43147 #include <locale.h>
43148
43149 typedef locale_t ac__type_new_;
43150 int
43151 main ()
43152 {
43153 if ((ac__type_new_ *) 0)
43154 return 0;
43155 if (sizeof (ac__type_new_))
43156 return 0;
43157 ;
43158 return 0;
43159 }
43160 _ACEOF
43161 rm -f conftest.$ac_objext
43162 if { (ac_try="$ac_compile"
43163 case "(($ac_try" in
43164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43165 *) ac_try_echo=$ac_try;;
43166 esac
43167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43168 (eval "$ac_compile") 2>conftest.er1
43169 ac_status=$?
43170 grep -v '^ *+' conftest.er1 >conftest.err
43171 rm -f conftest.er1
43172 cat conftest.err >&5
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); } && {
43175 test -z "$ac_c_werror_flag" ||
43176 test ! -s conftest.err
43177 } && test -s conftest.$ac_objext; then
43178 ac_cv_type_locale_t=yes
43179 else
43180 echo "$as_me: failed program was:" >&5
43181 sed 's/^/| /' conftest.$ac_ext >&5
43182
43183 ac_cv_type_locale_t=no
43184 fi
43185
43186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43187 fi
43188 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43189 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43190 if test $ac_cv_type_locale_t = yes; then
43191
43192 cat >>confdefs.h <<_ACEOF
43193 #define HAVE_LOCALE_T 1
43194 _ACEOF
43195
43196
43197 fi
43198
43199 fi
43200
43201 if test "$wxUSE_LOG" = "yes"; then
43202 cat >>confdefs.h <<\_ACEOF
43203 #define wxUSE_LOG 1
43204 _ACEOF
43205
43206
43207 if test "$wxUSE_LOGGUI" = "yes"; then
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_LOGGUI 1
43210 _ACEOF
43211
43212 fi
43213
43214 if test "$wxUSE_LOGWINDOW" = "yes"; then
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_LOGWINDOW 1
43217 _ACEOF
43218
43219 fi
43220
43221 if test "$wxUSE_LOGDIALOG" = "yes"; then
43222 cat >>confdefs.h <<\_ACEOF
43223 #define wxUSE_LOG_DIALOG 1
43224 _ACEOF
43225
43226 fi
43227
43228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43229 fi
43230
43231 if test "$wxUSE_LONGLONG" = "yes"; then
43232 cat >>confdefs.h <<\_ACEOF
43233 #define wxUSE_LONGLONG 1
43234 _ACEOF
43235
43236 fi
43237
43238 if test "$wxUSE_GEOMETRY" = "yes"; then
43239 cat >>confdefs.h <<\_ACEOF
43240 #define wxUSE_GEOMETRY 1
43241 _ACEOF
43242
43243 fi
43244
43245 if test "$wxUSE_BASE64" = "yes"; then
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_BASE64 1
43248 _ACEOF
43249
43250 fi
43251
43252 if test "$wxUSE_STREAMS" = "yes" ; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_STREAMS 1
43255 _ACEOF
43256
43257 fi
43258
43259 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_PRINTF_POS_PARAMS 1
43262 _ACEOF
43263
43264 fi
43265
43266 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_OBJC_UNIQUIFYING 1
43269 _ACEOF
43270
43271 fi
43272
43273
43274 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_CONSOLE_EVENTLOOP 1
43277 _ACEOF
43278
43279
43280 if test "$wxUSE_UNIX" = "yes"; then
43281 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_SELECT_DISPATCHER 1
43284 _ACEOF
43285
43286 fi
43287
43288 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43289
43290 for ac_header in sys/epoll.h
43291 do
43292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43293 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43296 echo $ECHO_N "(cached) $ECHO_C" >&6
43297 else
43298 cat >conftest.$ac_ext <<_ACEOF
43299 /* confdefs.h. */
43300 _ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h. */
43304 $ac_includes_default
43305
43306 #include <$ac_header>
43307 _ACEOF
43308 rm -f conftest.$ac_objext
43309 if { (ac_try="$ac_compile"
43310 case "(($ac_try" in
43311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43312 *) ac_try_echo=$ac_try;;
43313 esac
43314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43315 (eval "$ac_compile") 2>conftest.er1
43316 ac_status=$?
43317 grep -v '^ *+' conftest.er1 >conftest.err
43318 rm -f conftest.er1
43319 cat conftest.err >&5
43320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321 (exit $ac_status); } && {
43322 test -z "$ac_c_werror_flag" ||
43323 test ! -s conftest.err
43324 } && test -s conftest.$ac_objext; then
43325 eval "$as_ac_Header=yes"
43326 else
43327 echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.$ac_ext >&5
43329
43330 eval "$as_ac_Header=no"
43331 fi
43332
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 fi
43335 ac_res=`eval echo '${'$as_ac_Header'}'`
43336 { echo "$as_me:$LINENO: result: $ac_res" >&5
43337 echo "${ECHO_T}$ac_res" >&6; }
43338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43339 cat >>confdefs.h <<_ACEOF
43340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43341 _ACEOF
43342
43343 fi
43344
43345 done
43346
43347 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_EPOLL_DISPATCHER 1
43350 _ACEOF
43351
43352 else
43353 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43354 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43355 fi
43356 fi
43357 fi
43358 fi
43359
43360
43361
43362
43363 for ac_func in gettimeofday ftime
43364 do
43365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43369 echo $ECHO_N "(cached) $ECHO_C" >&6
43370 else
43371 cat >conftest.$ac_ext <<_ACEOF
43372 /* confdefs.h. */
43373 _ACEOF
43374 cat confdefs.h >>conftest.$ac_ext
43375 cat >>conftest.$ac_ext <<_ACEOF
43376 /* end confdefs.h. */
43377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43379 #define $ac_func innocuous_$ac_func
43380
43381 /* System header to define __stub macros and hopefully few prototypes,
43382 which can conflict with char $ac_func (); below.
43383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43384 <limits.h> exists even on freestanding compilers. */
43385
43386 #ifdef __STDC__
43387 # include <limits.h>
43388 #else
43389 # include <assert.h>
43390 #endif
43391
43392 #undef $ac_func
43393
43394 /* Override any GCC internal prototype to avoid an error.
43395 Use char because int might match the return type of a GCC
43396 builtin and then its argument prototype would still apply. */
43397 #ifdef __cplusplus
43398 extern "C"
43399 #endif
43400 char $ac_func ();
43401 /* The GNU C library defines this for functions which it implements
43402 to always fail with ENOSYS. Some functions are actually named
43403 something starting with __ and the normal name is an alias. */
43404 #if defined __stub_$ac_func || defined __stub___$ac_func
43405 choke me
43406 #endif
43407
43408 int
43409 main ()
43410 {
43411 return $ac_func ();
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 rm -f conftest.$ac_objext conftest$ac_exeext
43417 if { (ac_try="$ac_link"
43418 case "(($ac_try" in
43419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43420 *) ac_try_echo=$ac_try;;
43421 esac
43422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43423 (eval "$ac_link") 2>conftest.er1
43424 ac_status=$?
43425 grep -v '^ *+' conftest.er1 >conftest.err
43426 rm -f conftest.er1
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } && {
43430 test -z "$ac_c_werror_flag" ||
43431 test ! -s conftest.err
43432 } && test -s conftest$ac_exeext &&
43433 $as_test_x conftest$ac_exeext; then
43434 eval "$as_ac_var=yes"
43435 else
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43438
43439 eval "$as_ac_var=no"
43440 fi
43441
43442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43443 conftest$ac_exeext conftest.$ac_ext
43444 fi
43445 ac_res=`eval echo '${'$as_ac_var'}'`
43446 { echo "$as_me:$LINENO: result: $ac_res" >&5
43447 echo "${ECHO_T}$ac_res" >&6; }
43448 if test `eval echo '${'$as_ac_var'}'` = yes; then
43449 cat >>confdefs.h <<_ACEOF
43450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43451 _ACEOF
43452 break
43453 fi
43454 done
43455
43456
43457 if test "$ac_cv_func_gettimeofday" = "yes"; then
43458 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43459 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43460 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43461 echo $ECHO_N "(cached) $ECHO_C" >&6
43462 else
43463
43464 cat >conftest.$ac_ext <<_ACEOF
43465 /* confdefs.h. */
43466 _ACEOF
43467 cat confdefs.h >>conftest.$ac_ext
43468 cat >>conftest.$ac_ext <<_ACEOF
43469 /* end confdefs.h. */
43470
43471 #include <sys/time.h>
43472 #include <unistd.h>
43473
43474 int
43475 main ()
43476 {
43477
43478 struct timeval tv;
43479 gettimeofday(&tv, NULL);
43480
43481 ;
43482 return 0;
43483 }
43484 _ACEOF
43485 rm -f conftest.$ac_objext
43486 if { (ac_try="$ac_compile"
43487 case "(($ac_try" in
43488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43489 *) ac_try_echo=$ac_try;;
43490 esac
43491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43492 (eval "$ac_compile") 2>conftest.er1
43493 ac_status=$?
43494 grep -v '^ *+' conftest.er1 >conftest.err
43495 rm -f conftest.er1
43496 cat conftest.err >&5
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); } && {
43499 test -z "$ac_c_werror_flag" ||
43500 test ! -s conftest.err
43501 } && test -s conftest.$ac_objext; then
43502 wx_cv_func_gettimeofday_has_2_args=yes
43503 else
43504 echo "$as_me: failed program was:" >&5
43505 sed 's/^/| /' conftest.$ac_ext >&5
43506
43507 cat >conftest.$ac_ext <<_ACEOF
43508 /* confdefs.h. */
43509 _ACEOF
43510 cat confdefs.h >>conftest.$ac_ext
43511 cat >>conftest.$ac_ext <<_ACEOF
43512 /* end confdefs.h. */
43513
43514 #include <sys/time.h>
43515 #include <unistd.h>
43516
43517 int
43518 main ()
43519 {
43520
43521 struct timeval tv;
43522 gettimeofday(&tv);
43523
43524 ;
43525 return 0;
43526 }
43527 _ACEOF
43528 rm -f conftest.$ac_objext
43529 if { (ac_try="$ac_compile"
43530 case "(($ac_try" in
43531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43532 *) ac_try_echo=$ac_try;;
43533 esac
43534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43535 (eval "$ac_compile") 2>conftest.er1
43536 ac_status=$?
43537 grep -v '^ *+' conftest.er1 >conftest.err
43538 rm -f conftest.er1
43539 cat conftest.err >&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); } && {
43542 test -z "$ac_c_werror_flag" ||
43543 test ! -s conftest.err
43544 } && test -s conftest.$ac_objext; then
43545 wx_cv_func_gettimeofday_has_2_args=no
43546 else
43547 echo "$as_me: failed program was:" >&5
43548 sed 's/^/| /' conftest.$ac_ext >&5
43549
43550
43551 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43552 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43553 wx_cv_func_gettimeofday_has_2_args=unknown
43554
43555
43556 fi
43557
43558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43559
43560 fi
43561
43562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43563
43564 fi
43565 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43566 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43567
43568 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43569 cat >>confdefs.h <<\_ACEOF
43570 #define WX_GETTIMEOFDAY_NO_TZ 1
43571 _ACEOF
43572
43573 fi
43574 fi
43575
43576 if test "$wxUSE_DATETIME" = "yes"; then
43577 { echo "$as_me:$LINENO: checking for strptime" >&5
43578 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43579 if test "${ac_cv_func_strptime+set}" = set; then
43580 echo $ECHO_N "(cached) $ECHO_C" >&6
43581 else
43582 cat >conftest.$ac_ext <<_ACEOF
43583 /* confdefs.h. */
43584 _ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43588 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43590 #define strptime innocuous_strptime
43591
43592 /* System header to define __stub macros and hopefully few prototypes,
43593 which can conflict with char strptime (); below.
43594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43595 <limits.h> exists even on freestanding compilers. */
43596
43597 #ifdef __STDC__
43598 # include <limits.h>
43599 #else
43600 # include <assert.h>
43601 #endif
43602
43603 #undef strptime
43604
43605 /* Override any GCC internal prototype to avoid an error.
43606 Use char because int might match the return type of a GCC
43607 builtin and then its argument prototype would still apply. */
43608 #ifdef __cplusplus
43609 extern "C"
43610 #endif
43611 char strptime ();
43612 /* The GNU C library defines this for functions which it implements
43613 to always fail with ENOSYS. Some functions are actually named
43614 something starting with __ and the normal name is an alias. */
43615 #if defined __stub_strptime || defined __stub___strptime
43616 choke me
43617 #endif
43618
43619 int
43620 main ()
43621 {
43622 return strptime ();
43623 ;
43624 return 0;
43625 }
43626 _ACEOF
43627 rm -f conftest.$ac_objext conftest$ac_exeext
43628 if { (ac_try="$ac_link"
43629 case "(($ac_try" in
43630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43631 *) ac_try_echo=$ac_try;;
43632 esac
43633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43634 (eval "$ac_link") 2>conftest.er1
43635 ac_status=$?
43636 grep -v '^ *+' conftest.er1 >conftest.err
43637 rm -f conftest.er1
43638 cat conftest.err >&5
43639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43640 (exit $ac_status); } && {
43641 test -z "$ac_c_werror_flag" ||
43642 test ! -s conftest.err
43643 } && test -s conftest$ac_exeext &&
43644 $as_test_x conftest$ac_exeext; then
43645 ac_cv_func_strptime=yes
43646 else
43647 echo "$as_me: failed program was:" >&5
43648 sed 's/^/| /' conftest.$ac_ext >&5
43649
43650 ac_cv_func_strptime=no
43651 fi
43652
43653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43654 conftest$ac_exeext conftest.$ac_ext
43655 fi
43656 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43657 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43658
43659 if test "$ac_cv_func_strptime" = "yes"; then
43660 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43661 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43662 if test "${wx_cv_func_strptime_decl+set}" = set; then
43663 echo $ECHO_N "(cached) $ECHO_C" >&6
43664 else
43665
43666 ac_ext=cpp
43667 ac_cpp='$CXXCPP $CPPFLAGS'
43668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43671
43672 cat >conftest.$ac_ext <<_ACEOF
43673 /* confdefs.h. */
43674 _ACEOF
43675 cat confdefs.h >>conftest.$ac_ext
43676 cat >>conftest.$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43678
43679 #include <time.h>
43680
43681 int
43682 main ()
43683 {
43684
43685 struct tm t;
43686 strptime("foo", "bar", &t);
43687
43688 ;
43689 return 0;
43690 }
43691 _ACEOF
43692 rm -f conftest.$ac_objext
43693 if { (ac_try="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43696 *) ac_try_echo=$ac_try;;
43697 esac
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43700 ac_status=$?
43701 grep -v '^ *+' conftest.er1 >conftest.err
43702 rm -f conftest.er1
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_cxx_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.$ac_objext; then
43709 wx_cv_func_strptime_decl=yes
43710 else
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.$ac_ext >&5
43713
43714 wx_cv_func_strptime_decl=no
43715
43716 fi
43717
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 ac_ext=c
43720 ac_cpp='$CPP $CPPFLAGS'
43721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43724
43725
43726
43727 fi
43728 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43729 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43730 fi
43731 if test "$wx_cv_func_strptime_decl" = "yes"; then
43732 cat >>confdefs.h <<\_ACEOF
43733 #define HAVE_STRPTIME_DECL 1
43734 _ACEOF
43735
43736 else
43737 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43738 fi
43739 if test "$ac_cv_func_strptime" = "yes"; then
43740 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43741 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43742 if test "${wx_cv_func_strptime_ok+set}" = set; then
43743 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 else
43745 if test "$cross_compiling" = yes; then
43746 wx_cv_func_strptime_ok=no
43747
43748 else
43749 cat >conftest.$ac_ext <<_ACEOF
43750
43751 #include <stdlib.h>
43752 #include <time.h>
43753 #include "confdefs.h"
43754
43755 $wx_strptime_decl
43756
43757 int main()
43758 {
43759 struct tm t;
43760 return !!strptime("", "%x", &t);
43761 }
43762
43763 _ACEOF
43764 rm -f conftest$ac_exeext
43765 if { (ac_try="$ac_link"
43766 case "(($ac_try" in
43767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43768 *) ac_try_echo=$ac_try;;
43769 esac
43770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43771 (eval "$ac_link") 2>&5
43772 ac_status=$?
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43775 { (case "(($ac_try" in
43776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43777 *) ac_try_echo=$ac_try;;
43778 esac
43779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43780 (eval "$ac_try") 2>&5
43781 ac_status=$?
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); }; }; then
43784 wx_cv_func_strptime_ok=yes
43785 else
43786 echo "$as_me: program exited with status $ac_status" >&5
43787 echo "$as_me: failed program was:" >&5
43788 sed 's/^/| /' conftest.$ac_ext >&5
43789
43790 ( exit $ac_status )
43791 wx_cv_func_strptime_ok=no
43792 fi
43793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43794 fi
43795
43796
43797
43798 fi
43799 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43800 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43801
43802 if test "$wx_cv_func_strptime_ok" = "yes"; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define HAVE_STRPTIME 1
43805 _ACEOF
43806
43807 fi
43808 fi
43809
43810 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43811 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43812 if test "${wx_cv_var_timezone+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815
43816 ac_ext=cpp
43817 ac_cpp='$CXXCPP $CPPFLAGS'
43818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821
43822 cat >conftest.$ac_ext <<_ACEOF
43823 /* confdefs.h. */
43824 _ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43828
43829 #include <time.h>
43830
43831 int
43832 main ()
43833 {
43834
43835 int tz;
43836 tz = timezone;
43837
43838 ;
43839 return 0;
43840 }
43841 _ACEOF
43842 rm -f conftest.$ac_objext
43843 if { (ac_try="$ac_compile"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43846 *) ac_try_echo=$ac_try;;
43847 esac
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_compile") 2>conftest.er1
43850 ac_status=$?
43851 grep -v '^ *+' conftest.er1 >conftest.err
43852 rm -f conftest.er1
43853 cat conftest.err >&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_cxx_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest.$ac_objext; then
43859
43860 wx_cv_var_timezone=timezone
43861
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43865
43866
43867 cat >conftest.$ac_ext <<_ACEOF
43868 /* confdefs.h. */
43869 _ACEOF
43870 cat confdefs.h >>conftest.$ac_ext
43871 cat >>conftest.$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873
43874 #include <time.h>
43875
43876 int
43877 main ()
43878 {
43879
43880 int tz;
43881 tz = _timezone;
43882
43883 ;
43884 return 0;
43885 }
43886 _ACEOF
43887 rm -f conftest.$ac_objext
43888 if { (ac_try="$ac_compile"
43889 case "(($ac_try" in
43890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43891 *) ac_try_echo=$ac_try;;
43892 esac
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_compile") 2>conftest.er1
43895 ac_status=$?
43896 grep -v '^ *+' conftest.er1 >conftest.err
43897 rm -f conftest.er1
43898 cat conftest.err >&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); } && {
43901 test -z "$ac_cxx_werror_flag" ||
43902 test ! -s conftest.err
43903 } && test -s conftest.$ac_objext; then
43904
43905 wx_cv_var_timezone=_timezone
43906
43907 else
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.$ac_ext >&5
43910
43911
43912 cat >conftest.$ac_ext <<_ACEOF
43913 /* confdefs.h. */
43914 _ACEOF
43915 cat confdefs.h >>conftest.$ac_ext
43916 cat >>conftest.$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43918
43919 #include <time.h>
43920
43921 int
43922 main ()
43923 {
43924
43925 int tz;
43926 tz = __timezone;
43927
43928 ;
43929 return 0;
43930 }
43931 _ACEOF
43932 rm -f conftest.$ac_objext
43933 if { (ac_try="$ac_compile"
43934 case "(($ac_try" in
43935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43936 *) ac_try_echo=$ac_try;;
43937 esac
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_compile") 2>conftest.er1
43940 ac_status=$?
43941 grep -v '^ *+' conftest.er1 >conftest.err
43942 rm -f conftest.er1
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_cxx_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest.$ac_objext; then
43949
43950 wx_cv_var_timezone=__timezone
43951
43952 else
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43955
43956
43957 if test "$USE_DOS" = 0 ; then
43958 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43959 echo "$as_me: WARNING: no timezone variable" >&2;}
43960 fi
43961
43962
43963 fi
43964
43965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43966
43967
43968 fi
43969
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971
43972
43973 fi
43974
43975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981
43982
43983
43984 fi
43985 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43986 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43987
43988 if test "x$wx_cv_var_timezone" != x ; then
43989 cat >>confdefs.h <<_ACEOF
43990 #define WX_TIMEZONE $wx_cv_var_timezone
43991 _ACEOF
43992
43993 fi
43994
43995
43996 for ac_func in localtime
43997 do
43998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43999 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44001 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44002 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 else
44004 cat >conftest.$ac_ext <<_ACEOF
44005 /* confdefs.h. */
44006 _ACEOF
44007 cat confdefs.h >>conftest.$ac_ext
44008 cat >>conftest.$ac_ext <<_ACEOF
44009 /* end confdefs.h. */
44010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44012 #define $ac_func innocuous_$ac_func
44013
44014 /* System header to define __stub macros and hopefully few prototypes,
44015 which can conflict with char $ac_func (); below.
44016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44017 <limits.h> exists even on freestanding compilers. */
44018
44019 #ifdef __STDC__
44020 # include <limits.h>
44021 #else
44022 # include <assert.h>
44023 #endif
44024
44025 #undef $ac_func
44026
44027 /* Override any GCC internal prototype to avoid an error.
44028 Use char because int might match the return type of a GCC
44029 builtin and then its argument prototype would still apply. */
44030 #ifdef __cplusplus
44031 extern "C"
44032 #endif
44033 char $ac_func ();
44034 /* The GNU C library defines this for functions which it implements
44035 to always fail with ENOSYS. Some functions are actually named
44036 something starting with __ and the normal name is an alias. */
44037 #if defined __stub_$ac_func || defined __stub___$ac_func
44038 choke me
44039 #endif
44040
44041 int
44042 main ()
44043 {
44044 return $ac_func ();
44045 ;
44046 return 0;
44047 }
44048 _ACEOF
44049 rm -f conftest.$ac_objext conftest$ac_exeext
44050 if { (ac_try="$ac_link"
44051 case "(($ac_try" in
44052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44053 *) ac_try_echo=$ac_try;;
44054 esac
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_link") 2>conftest.er1
44057 ac_status=$?
44058 grep -v '^ *+' conftest.er1 >conftest.err
44059 rm -f conftest.er1
44060 cat conftest.err >&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } && {
44063 test -z "$ac_c_werror_flag" ||
44064 test ! -s conftest.err
44065 } && test -s conftest$ac_exeext &&
44066 $as_test_x conftest$ac_exeext; then
44067 eval "$as_ac_var=yes"
44068 else
44069 echo "$as_me: failed program was:" >&5
44070 sed 's/^/| /' conftest.$ac_ext >&5
44071
44072 eval "$as_ac_var=no"
44073 fi
44074
44075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44076 conftest$ac_exeext conftest.$ac_ext
44077 fi
44078 ac_res=`eval echo '${'$as_ac_var'}'`
44079 { echo "$as_me:$LINENO: result: $ac_res" >&5
44080 echo "${ECHO_T}$ac_res" >&6; }
44081 if test `eval echo '${'$as_ac_var'}'` = yes; then
44082 cat >>confdefs.h <<_ACEOF
44083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44084 _ACEOF
44085
44086 fi
44087 done
44088
44089
44090 if test "$ac_cv_func_localtime" = "yes"; then
44091 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44092 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44093 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44094 echo $ECHO_N "(cached) $ECHO_C" >&6
44095 else
44096
44097 cat >conftest.$ac_ext <<_ACEOF
44098 /* confdefs.h. */
44099 _ACEOF
44100 cat confdefs.h >>conftest.$ac_ext
44101 cat >>conftest.$ac_ext <<_ACEOF
44102 /* end confdefs.h. */
44103
44104 #include <time.h>
44105
44106 int
44107 main ()
44108 {
44109
44110 struct tm tm;
44111 tm.tm_gmtoff++;
44112
44113 ;
44114 return 0;
44115 }
44116 _ACEOF
44117 rm -f conftest.$ac_objext
44118 if { (ac_try="$ac_compile"
44119 case "(($ac_try" in
44120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44121 *) ac_try_echo=$ac_try;;
44122 esac
44123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44124 (eval "$ac_compile") 2>conftest.er1
44125 ac_status=$?
44126 grep -v '^ *+' conftest.er1 >conftest.err
44127 rm -f conftest.er1
44128 cat conftest.err >&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); } && {
44131 test -z "$ac_c_werror_flag" ||
44132 test ! -s conftest.err
44133 } && test -s conftest.$ac_objext; then
44134
44135 wx_cv_struct_tm_has_gmtoff=yes
44136
44137 else
44138 echo "$as_me: failed program was:" >&5
44139 sed 's/^/| /' conftest.$ac_ext >&5
44140
44141 wx_cv_struct_tm_has_gmtoff=no
44142
44143 fi
44144
44145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44146
44147 fi
44148 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44149 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44150 fi
44151
44152 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44153 cat >>confdefs.h <<\_ACEOF
44154 #define WX_GMTOFF_IN_TM 1
44155 _ACEOF
44156
44157 fi
44158
44159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44160 fi
44161
44162
44163 if test "$wxUSE_SOCKETS" = "yes"; then
44164 if test "$wxUSE_MGL" = 1; then
44165 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44166 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44167 wxUSE_SOCKETS="no"
44168 fi
44169 fi
44170
44171 if test "$wxUSE_SOCKETS" = "yes"; then
44172 if test "$TOOLKIT" != "MSW"; then
44173 { echo "$as_me:$LINENO: checking for socket" >&5
44174 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44175 if test "${ac_cv_func_socket+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 else
44178 cat >conftest.$ac_ext <<_ACEOF
44179 /* confdefs.h. */
44180 _ACEOF
44181 cat confdefs.h >>conftest.$ac_ext
44182 cat >>conftest.$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44184 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44186 #define socket innocuous_socket
44187
44188 /* System header to define __stub macros and hopefully few prototypes,
44189 which can conflict with char socket (); below.
44190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44191 <limits.h> exists even on freestanding compilers. */
44192
44193 #ifdef __STDC__
44194 # include <limits.h>
44195 #else
44196 # include <assert.h>
44197 #endif
44198
44199 #undef socket
44200
44201 /* Override any GCC internal prototype to avoid an error.
44202 Use char because int might match the return type of a GCC
44203 builtin and then its argument prototype would still apply. */
44204 #ifdef __cplusplus
44205 extern "C"
44206 #endif
44207 char socket ();
44208 /* The GNU C library defines this for functions which it implements
44209 to always fail with ENOSYS. Some functions are actually named
44210 something starting with __ and the normal name is an alias. */
44211 #if defined __stub_socket || defined __stub___socket
44212 choke me
44213 #endif
44214
44215 int
44216 main ()
44217 {
44218 return socket ();
44219 ;
44220 return 0;
44221 }
44222 _ACEOF
44223 rm -f conftest.$ac_objext conftest$ac_exeext
44224 if { (ac_try="$ac_link"
44225 case "(($ac_try" in
44226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44227 *) ac_try_echo=$ac_try;;
44228 esac
44229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44230 (eval "$ac_link") 2>conftest.er1
44231 ac_status=$?
44232 grep -v '^ *+' conftest.er1 >conftest.err
44233 rm -f conftest.er1
44234 cat conftest.err >&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } && {
44237 test -z "$ac_c_werror_flag" ||
44238 test ! -s conftest.err
44239 } && test -s conftest$ac_exeext &&
44240 $as_test_x conftest$ac_exeext; then
44241 ac_cv_func_socket=yes
44242 else
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44245
44246 ac_cv_func_socket=no
44247 fi
44248
44249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44250 conftest$ac_exeext conftest.$ac_ext
44251 fi
44252 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44253 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44254 if test $ac_cv_func_socket = yes; then
44255 :
44256 else
44257
44258 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44259 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44260 if test "${ac_cv_lib_socket_socket+set}" = set; then
44261 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 else
44263 ac_check_lib_save_LIBS=$LIBS
44264 LIBS="-lsocket $LIBS"
44265 cat >conftest.$ac_ext <<_ACEOF
44266 /* confdefs.h. */
44267 _ACEOF
44268 cat confdefs.h >>conftest.$ac_ext
44269 cat >>conftest.$ac_ext <<_ACEOF
44270 /* end confdefs.h. */
44271
44272 /* Override any GCC internal prototype to avoid an error.
44273 Use char because int might match the return type of a GCC
44274 builtin and then its argument prototype would still apply. */
44275 #ifdef __cplusplus
44276 extern "C"
44277 #endif
44278 char socket ();
44279 int
44280 main ()
44281 {
44282 return socket ();
44283 ;
44284 return 0;
44285 }
44286 _ACEOF
44287 rm -f conftest.$ac_objext conftest$ac_exeext
44288 if { (ac_try="$ac_link"
44289 case "(($ac_try" in
44290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44291 *) ac_try_echo=$ac_try;;
44292 esac
44293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44294 (eval "$ac_link") 2>conftest.er1
44295 ac_status=$?
44296 grep -v '^ *+' conftest.er1 >conftest.err
44297 rm -f conftest.er1
44298 cat conftest.err >&5
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); } && {
44301 test -z "$ac_c_werror_flag" ||
44302 test ! -s conftest.err
44303 } && test -s conftest$ac_exeext &&
44304 $as_test_x conftest$ac_exeext; then
44305 ac_cv_lib_socket_socket=yes
44306 else
44307 echo "$as_me: failed program was:" >&5
44308 sed 's/^/| /' conftest.$ac_ext >&5
44309
44310 ac_cv_lib_socket_socket=no
44311 fi
44312
44313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44314 conftest$ac_exeext conftest.$ac_ext
44315 LIBS=$ac_check_lib_save_LIBS
44316 fi
44317 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44318 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44319 if test $ac_cv_lib_socket_socket = yes; then
44320 if test "$INET_LINK" != " -lsocket"; then
44321 INET_LINK="$INET_LINK -lsocket"
44322 fi
44323 else
44324
44325 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44326 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44327 wxUSE_SOCKETS=no
44328
44329
44330 fi
44331
44332
44333
44334 fi
44335
44336 fi
44337 fi
44338
44339 if test "$wxUSE_SOCKETS" = "yes" ; then
44340 if test "$TOOLKIT" != "MSW"; then
44341 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44342 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44343 if test "${wx_cv_type_getsockname3+set}" = set; then
44344 echo $ECHO_N "(cached) $ECHO_C" >&6
44345 else
44346
44347 ac_ext=cpp
44348 ac_cpp='$CXXCPP $CPPFLAGS'
44349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44352
44353 cat >conftest.$ac_ext <<_ACEOF
44354 /* confdefs.h. */
44355 _ACEOF
44356 cat confdefs.h >>conftest.$ac_ext
44357 cat >>conftest.$ac_ext <<_ACEOF
44358 /* end confdefs.h. */
44359
44360 #include <sys/types.h>
44361 #include <sys/socket.h>
44362
44363 int
44364 main ()
44365 {
44366
44367 socklen_t len;
44368 getsockname(0, 0, &len);
44369
44370 ;
44371 return 0;
44372 }
44373 _ACEOF
44374 rm -f conftest.$ac_objext
44375 if { (ac_try="$ac_compile"
44376 case "(($ac_try" in
44377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44378 *) ac_try_echo=$ac_try;;
44379 esac
44380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44381 (eval "$ac_compile") 2>conftest.er1
44382 ac_status=$?
44383 grep -v '^ *+' conftest.er1 >conftest.err
44384 rm -f conftest.er1
44385 cat conftest.err >&5
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); } && {
44388 test -z "$ac_cxx_werror_flag" ||
44389 test ! -s conftest.err
44390 } && test -s conftest.$ac_objext; then
44391 wx_cv_type_getsockname3=socklen_t
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396
44397 CFLAGS_OLD="$CFLAGS"
44398 if test "$GCC" = yes ; then
44399 CFLAGS="-Werror $CFLAGS"
44400 fi
44401
44402 cat >conftest.$ac_ext <<_ACEOF
44403 /* confdefs.h. */
44404 _ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h. */
44408
44409 #include <sys/types.h>
44410 #include <sys/socket.h>
44411
44412 int
44413 main ()
44414 {
44415
44416 size_t len;
44417 getsockname(0, 0, &len);
44418
44419 ;
44420 return 0;
44421 }
44422 _ACEOF
44423 rm -f conftest.$ac_objext
44424 if { (ac_try="$ac_compile"
44425 case "(($ac_try" in
44426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44427 *) ac_try_echo=$ac_try;;
44428 esac
44429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44430 (eval "$ac_compile") 2>conftest.er1
44431 ac_status=$?
44432 grep -v '^ *+' conftest.er1 >conftest.err
44433 rm -f conftest.er1
44434 cat conftest.err >&5
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); } && {
44437 test -z "$ac_cxx_werror_flag" ||
44438 test ! -s conftest.err
44439 } && test -s conftest.$ac_objext; then
44440 wx_cv_type_getsockname3=size_t
44441 else
44442 echo "$as_me: failed program was:" >&5
44443 sed 's/^/| /' conftest.$ac_ext >&5
44444
44445 cat >conftest.$ac_ext <<_ACEOF
44446 /* confdefs.h. */
44447 _ACEOF
44448 cat confdefs.h >>conftest.$ac_ext
44449 cat >>conftest.$ac_ext <<_ACEOF
44450 /* end confdefs.h. */
44451
44452 #include <sys/types.h>
44453 #include <sys/socket.h>
44454
44455 int
44456 main ()
44457 {
44458
44459 int len;
44460 getsockname(0, 0, &len);
44461
44462 ;
44463 return 0;
44464 }
44465 _ACEOF
44466 rm -f conftest.$ac_objext
44467 if { (ac_try="$ac_compile"
44468 case "(($ac_try" in
44469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44470 *) ac_try_echo=$ac_try;;
44471 esac
44472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44473 (eval "$ac_compile") 2>conftest.er1
44474 ac_status=$?
44475 grep -v '^ *+' conftest.er1 >conftest.err
44476 rm -f conftest.er1
44477 cat conftest.err >&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); } && {
44480 test -z "$ac_cxx_werror_flag" ||
44481 test ! -s conftest.err
44482 } && test -s conftest.$ac_objext; then
44483 wx_cv_type_getsockname3=int
44484 else
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44487
44488 wx_cv_type_getsockname3=unknown
44489
44490 fi
44491
44492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44493
44494 fi
44495
44496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44497
44498 CFLAGS="$CFLAGS_OLD"
44499
44500
44501 fi
44502
44503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 ac_ext=c
44505 ac_cpp='$CPP $CPPFLAGS'
44506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44509
44510
44511 fi
44512 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44513 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44514
44515 if test "$wx_cv_type_getsockname3" = "unknown"; then
44516 wxUSE_SOCKETS=no
44517 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44518 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44519 else
44520 cat >>confdefs.h <<_ACEOF
44521 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44522 _ACEOF
44523
44524 fi
44525 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44526 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44527 if test "${wx_cv_type_getsockopt5+set}" = set; then
44528 echo $ECHO_N "(cached) $ECHO_C" >&6
44529 else
44530
44531 ac_ext=cpp
44532 ac_cpp='$CXXCPP $CPPFLAGS'
44533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44536
44537 cat >conftest.$ac_ext <<_ACEOF
44538 /* confdefs.h. */
44539 _ACEOF
44540 cat confdefs.h >>conftest.$ac_ext
44541 cat >>conftest.$ac_ext <<_ACEOF
44542 /* end confdefs.h. */
44543
44544 #include <sys/types.h>
44545 #include <sys/socket.h>
44546
44547 int
44548 main ()
44549 {
44550
44551 socklen_t len;
44552 getsockopt(0, 0, 0, 0, &len);
44553
44554 ;
44555 return 0;
44556 }
44557 _ACEOF
44558 rm -f conftest.$ac_objext
44559 if { (ac_try="$ac_compile"
44560 case "(($ac_try" in
44561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44562 *) ac_try_echo=$ac_try;;
44563 esac
44564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44565 (eval "$ac_compile") 2>conftest.er1
44566 ac_status=$?
44567 grep -v '^ *+' conftest.er1 >conftest.err
44568 rm -f conftest.er1
44569 cat conftest.err >&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); } && {
44572 test -z "$ac_cxx_werror_flag" ||
44573 test ! -s conftest.err
44574 } && test -s conftest.$ac_objext; then
44575 wx_cv_type_getsockopt5=socklen_t
44576 else
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.$ac_ext >&5
44579
44580
44581 cat >conftest.$ac_ext <<_ACEOF
44582 /* confdefs.h. */
44583 _ACEOF
44584 cat confdefs.h >>conftest.$ac_ext
44585 cat >>conftest.$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44587
44588 #include <sys/types.h>
44589 #include <sys/socket.h>
44590
44591 int
44592 main ()
44593 {
44594
44595 size_t len;
44596 getsockopt(0, 0, 0, 0, &len);
44597
44598 ;
44599 return 0;
44600 }
44601 _ACEOF
44602 rm -f conftest.$ac_objext
44603 if { (ac_try="$ac_compile"
44604 case "(($ac_try" in
44605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44606 *) ac_try_echo=$ac_try;;
44607 esac
44608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44609 (eval "$ac_compile") 2>conftest.er1
44610 ac_status=$?
44611 grep -v '^ *+' conftest.er1 >conftest.err
44612 rm -f conftest.er1
44613 cat conftest.err >&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); } && {
44616 test -z "$ac_cxx_werror_flag" ||
44617 test ! -s conftest.err
44618 } && test -s conftest.$ac_objext; then
44619 wx_cv_type_getsockopt5=size_t
44620 else
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44623
44624 cat >conftest.$ac_ext <<_ACEOF
44625 /* confdefs.h. */
44626 _ACEOF
44627 cat confdefs.h >>conftest.$ac_ext
44628 cat >>conftest.$ac_ext <<_ACEOF
44629 /* end confdefs.h. */
44630
44631 #include <sys/types.h>
44632 #include <sys/socket.h>
44633
44634 int
44635 main ()
44636 {
44637
44638 int len;
44639 getsockopt(0, 0, 0, 0, &len);
44640
44641 ;
44642 return 0;
44643 }
44644 _ACEOF
44645 rm -f conftest.$ac_objext
44646 if { (ac_try="$ac_compile"
44647 case "(($ac_try" in
44648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44649 *) ac_try_echo=$ac_try;;
44650 esac
44651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44652 (eval "$ac_compile") 2>conftest.er1
44653 ac_status=$?
44654 grep -v '^ *+' conftest.er1 >conftest.err
44655 rm -f conftest.er1
44656 cat conftest.err >&5
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); } && {
44659 test -z "$ac_cxx_werror_flag" ||
44660 test ! -s conftest.err
44661 } && test -s conftest.$ac_objext; then
44662 wx_cv_type_getsockopt5=int
44663 else
44664 echo "$as_me: failed program was:" >&5
44665 sed 's/^/| /' conftest.$ac_ext >&5
44666
44667 wx_cv_type_getsockopt5=unknown
44668
44669 fi
44670
44671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44672
44673 fi
44674
44675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44676
44677
44678 fi
44679
44680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44681 ac_ext=c
44682 ac_cpp='$CPP $CPPFLAGS'
44683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44686
44687
44688 fi
44689 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44690 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44691
44692 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44693 wxUSE_SOCKETS=no
44694 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44695 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44696 else
44697 cat >>confdefs.h <<_ACEOF
44698 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44699 _ACEOF
44700
44701 fi
44702 fi
44703 fi
44704
44705 if test "$wxUSE_SOCKETS" = "yes" ; then
44706 if test "$wxUSE_IPV6" = "yes"; then
44707 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44708 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44709 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 else
44712
44713 cat >conftest.$ac_ext <<_ACEOF
44714 /* confdefs.h. */
44715 _ACEOF
44716 cat confdefs.h >>conftest.$ac_ext
44717 cat >>conftest.$ac_ext <<_ACEOF
44718 /* end confdefs.h. */
44719
44720 #include <sys/types.h>
44721 #include <sys/socket.h>
44722 #include <netinet/in.h>
44723
44724 int
44725 main ()
44726 {
44727
44728 struct sockaddr_in6 sa6;
44729
44730 ;
44731 return 0;
44732 }
44733 _ACEOF
44734 rm -f conftest.$ac_objext
44735 if { (ac_try="$ac_compile"
44736 case "(($ac_try" in
44737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44738 *) ac_try_echo=$ac_try;;
44739 esac
44740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44741 (eval "$ac_compile") 2>conftest.er1
44742 ac_status=$?
44743 grep -v '^ *+' conftest.er1 >conftest.err
44744 rm -f conftest.er1
44745 cat conftest.err >&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); } && {
44748 test -z "$ac_c_werror_flag" ||
44749 test ! -s conftest.err
44750 } && test -s conftest.$ac_objext; then
44751 wx_cv_type_sockaddr_in6=yes
44752 else
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44755
44756 wx_cv_type_sockaddr_in6=no
44757
44758 fi
44759
44760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44761
44762
44763 fi
44764 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44765 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44766
44767 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_IPV6 1
44770 _ACEOF
44771
44772 else
44773 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44774 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44775 fi
44776 fi
44777
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_SOCKETS 1
44780 _ACEOF
44781
44782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44783 fi
44784
44785 if test "$wxUSE_PROTOCOL" = "yes"; then
44786 if test "$wxUSE_SOCKETS" != "yes"; then
44787 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44788 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44789 wxUSE_PROTOCOL=no
44790 fi
44791 fi
44792
44793 if test "$wxUSE_PROTOCOL" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_PROTOCOL 1
44796 _ACEOF
44797
44798
44799 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44800 cat >>confdefs.h <<\_ACEOF
44801 #define wxUSE_PROTOCOL_HTTP 1
44802 _ACEOF
44803
44804 fi
44805 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_PROTOCOL_FTP 1
44808 _ACEOF
44809
44810 fi
44811 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_PROTOCOL_FILE 1
44814 _ACEOF
44815
44816 fi
44817 else
44818 if test "$wxUSE_FS_INET" = "yes"; then
44819 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44820 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44821 wxUSE_FS_INET="no"
44822 fi
44823 fi
44824
44825 if test "$wxUSE_URL" = "yes"; then
44826 if test "$wxUSE_PROTOCOL" != "yes"; then
44827 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44828 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44829 wxUSE_URL=no
44830 fi
44831 if test "$wxUSE_URL" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_URL 1
44834 _ACEOF
44835
44836 fi
44837 fi
44838
44839 if test "$wxUSE_VARIANT" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_VARIANT 1
44842 _ACEOF
44843
44844 fi
44845
44846 if test "$wxUSE_FS_INET" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_FS_INET 1
44849 _ACEOF
44850
44851 fi
44852
44853
44854 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44855 wxUSE_JOYSTICK=no
44856
44857 if test "$TOOLKIT" = "MSW"; then
44858 wxUSE_JOYSTICK=yes
44859
44860 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44861 if test "$USE_DARWIN" = 1; then
44862 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44863 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44864 ac_ext=cpp
44865 ac_cpp='$CXXCPP $CPPFLAGS'
44866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44869
44870 cat >conftest.$ac_ext <<_ACEOF
44871 /* confdefs.h. */
44872 _ACEOF
44873 cat confdefs.h >>conftest.$ac_ext
44874 cat >>conftest.$ac_ext <<_ACEOF
44875 /* end confdefs.h. */
44876 #include <IOKit/hid/IOHIDLib.h>
44877 int
44878 main ()
44879 {
44880 IOHIDQueueInterface *qi = NULL;
44881 IOHIDCallbackFunction cb = NULL;
44882 qi->setEventCallout(NULL, cb, NULL, NULL);
44883 ;
44884 return 0;
44885 }
44886 _ACEOF
44887 rm -f conftest.$ac_objext
44888 if { (ac_try="$ac_compile"
44889 case "(($ac_try" in
44890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44891 *) ac_try_echo=$ac_try;;
44892 esac
44893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44894 (eval "$ac_compile") 2>conftest.er1
44895 ac_status=$?
44896 grep -v '^ *+' conftest.er1 >conftest.err
44897 rm -f conftest.er1
44898 cat conftest.err >&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); } && {
44901 test -z "$ac_cxx_werror_flag" ||
44902 test ! -s conftest.err
44903 } && test -s conftest.$ac_objext; then
44904 wxUSE_JOYSTICK=yes
44905
44906 else
44907 echo "$as_me: failed program was:" >&5
44908 sed 's/^/| /' conftest.$ac_ext >&5
44909
44910
44911 fi
44912
44913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44914 ac_ext=c
44915 ac_cpp='$CPP $CPPFLAGS'
44916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44919
44920 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44921 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44922 fi
44923
44924 else
44925 if test "$wxUSE_MGL" != 1; then
44926
44927 for ac_header in linux/joystick.h
44928 do
44929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44933 echo $ECHO_N "(cached) $ECHO_C" >&6
44934 else
44935 cat >conftest.$ac_ext <<_ACEOF
44936 /* confdefs.h. */
44937 _ACEOF
44938 cat confdefs.h >>conftest.$ac_ext
44939 cat >>conftest.$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 $ac_includes_default
44942
44943 #include <$ac_header>
44944 _ACEOF
44945 rm -f conftest.$ac_objext
44946 if { (ac_try="$ac_compile"
44947 case "(($ac_try" in
44948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44949 *) ac_try_echo=$ac_try;;
44950 esac
44951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44952 (eval "$ac_compile") 2>conftest.er1
44953 ac_status=$?
44954 grep -v '^ *+' conftest.er1 >conftest.err
44955 rm -f conftest.er1
44956 cat conftest.err >&5
44957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958 (exit $ac_status); } && {
44959 test -z "$ac_c_werror_flag" ||
44960 test ! -s conftest.err
44961 } && test -s conftest.$ac_objext; then
44962 eval "$as_ac_Header=yes"
44963 else
44964 echo "$as_me: failed program was:" >&5
44965 sed 's/^/| /' conftest.$ac_ext >&5
44966
44967 eval "$as_ac_Header=no"
44968 fi
44969
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971 fi
44972 ac_res=`eval echo '${'$as_ac_Header'}'`
44973 { echo "$as_me:$LINENO: result: $ac_res" >&5
44974 echo "${ECHO_T}$ac_res" >&6; }
44975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44976 cat >>confdefs.h <<_ACEOF
44977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44978 _ACEOF
44979 wxUSE_JOYSTICK=yes
44980 fi
44981
44982 done
44983
44984 fi
44985 fi
44986
44987 if test "$wxUSE_JOYSTICK" = "yes"; then
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_JOYSTICK 1
44990 _ACEOF
44991
44992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44993 else
44994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44996 fi
44997 fi
44998
44999
45000
45001 if test "$wxUSE_FONTENUM" = "yes" ; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_FONTENUM 1
45004 _ACEOF
45005
45006 fi
45007
45008 if test "$wxUSE_FONTMAP" = "yes" ; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_FONTMAP 1
45011 _ACEOF
45012
45013 fi
45014
45015 if test "$wxUSE_UNICODE" = "yes" ; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_UNICODE 1
45018 _ACEOF
45019
45020
45021 if test "$USE_WIN32" != 1; then
45022 wxUSE_UNICODE_MSLU=no
45023 fi
45024
45025 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45026 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45027 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45028 if test "${ac_cv_lib_unicows_main+set}" = set; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45031 ac_check_lib_save_LIBS=$LIBS
45032 LIBS="-lunicows $LIBS"
45033 cat >conftest.$ac_ext <<_ACEOF
45034 /* confdefs.h. */
45035 _ACEOF
45036 cat confdefs.h >>conftest.$ac_ext
45037 cat >>conftest.$ac_ext <<_ACEOF
45038 /* end confdefs.h. */
45039
45040
45041 int
45042 main ()
45043 {
45044 return main ();
45045 ;
45046 return 0;
45047 }
45048 _ACEOF
45049 rm -f conftest.$ac_objext conftest$ac_exeext
45050 if { (ac_try="$ac_link"
45051 case "(($ac_try" in
45052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45053 *) ac_try_echo=$ac_try;;
45054 esac
45055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45056 (eval "$ac_link") 2>conftest.er1
45057 ac_status=$?
45058 grep -v '^ *+' conftest.er1 >conftest.err
45059 rm -f conftest.er1
45060 cat conftest.err >&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); } && {
45063 test -z "$ac_c_werror_flag" ||
45064 test ! -s conftest.err
45065 } && test -s conftest$ac_exeext &&
45066 $as_test_x conftest$ac_exeext; then
45067 ac_cv_lib_unicows_main=yes
45068 else
45069 echo "$as_me: failed program was:" >&5
45070 sed 's/^/| /' conftest.$ac_ext >&5
45071
45072 ac_cv_lib_unicows_main=no
45073 fi
45074
45075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45076 conftest$ac_exeext conftest.$ac_ext
45077 LIBS=$ac_check_lib_save_LIBS
45078 fi
45079 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45080 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45081 if test $ac_cv_lib_unicows_main = yes; then
45082
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_UNICODE_MSLU 1
45085 _ACEOF
45086
45087
45088 else
45089
45090 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45091 Applications will only run on Windows NT/2000/XP!" >&5
45092 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45093 Applications will only run on Windows NT/2000/XP!" >&2;}
45094 wxUSE_UNICODE_MSLU=no
45095
45096 fi
45097
45098 fi
45099 fi
45100
45101 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_UNICODE_UTF8 1
45104 _ACEOF
45105
45106
45107 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45108 cat >>confdefs.h <<\_ACEOF
45109 #define wxUSE_UTF8_LOCALE_ONLY 1
45110 _ACEOF
45111
45112 fi
45113 fi
45114
45115
45116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_CONSTRAINTS 1
45119 _ACEOF
45120
45121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45122 fi
45123
45124 if test "$wxUSE_MDI" = "yes"; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_MDI 1
45127 _ACEOF
45128
45129
45130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_MDI_ARCHITECTURE 1
45133 _ACEOF
45134
45135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45136 fi
45137 fi
45138
45139 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45142 _ACEOF
45143
45144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45145 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45147 fi
45148 fi
45149
45150 if test "$wxUSE_HELP" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_HELP 1
45153 _ACEOF
45154
45155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45156
45157 if test "$wxUSE_MSW" = 1; then
45158 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_MS_HTML_HELP 1
45161 _ACEOF
45162
45163 fi
45164 fi
45165
45166 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45167 if test "$wxUSE_HTML" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_WXHTML_HELP 1
45170 _ACEOF
45171
45172 else
45173 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45174 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45175 wxUSE_WXHTML_HELP=no
45176 fi
45177 fi
45178 fi
45179
45180 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45181 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45182 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45183 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45184 else
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_PRINTING_ARCHITECTURE 1
45187 _ACEOF
45188
45189 fi
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45191 fi
45192
45193 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_POSTSCRIPT 1
45196 _ACEOF
45197
45198 fi
45199
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45202 _ACEOF
45203
45204
45205 if test "$wxUSE_SVG" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_SVG 1
45208 _ACEOF
45209
45210 fi
45211
45212
45213 if test "$wxUSE_METAFILE" = "yes"; then
45214 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45215 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45216 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45217 wxUSE_METAFILE=no
45218 fi
45219 fi
45220
45221
45222 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45223 -o "$wxUSE_CLIPBOARD" = "yes" \
45224 -o "$wxUSE_OLE" = "yes" \
45225 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45226 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45227 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45228 if test "${ac_cv_header_ole2_h+set}" = set; then
45229 echo $ECHO_N "(cached) $ECHO_C" >&6
45230 else
45231 cat >conftest.$ac_ext <<_ACEOF
45232 /* confdefs.h. */
45233 _ACEOF
45234 cat confdefs.h >>conftest.$ac_ext
45235 cat >>conftest.$ac_ext <<_ACEOF
45236 /* end confdefs.h. */
45237
45238
45239 #include <ole2.h>
45240 _ACEOF
45241 rm -f conftest.$ac_objext
45242 if { (ac_try="$ac_compile"
45243 case "(($ac_try" in
45244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45246 esac
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_compile") 2>conftest.er1
45249 ac_status=$?
45250 grep -v '^ *+' conftest.er1 >conftest.err
45251 rm -f conftest.er1
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_c_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest.$ac_objext; then
45258 ac_cv_header_ole2_h=yes
45259 else
45260 echo "$as_me: failed program was:" >&5
45261 sed 's/^/| /' conftest.$ac_ext >&5
45262
45263 ac_cv_header_ole2_h=no
45264 fi
45265
45266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45267 fi
45268 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45269 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45270
45271
45272
45273 if test "$ac_cv_header_ole2_h" = "yes" ; then
45274 if test "$GCC" = yes ; then
45275 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45276 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45277 cat >conftest.$ac_ext <<_ACEOF
45278 /* confdefs.h. */
45279 _ACEOF
45280 cat confdefs.h >>conftest.$ac_ext
45281 cat >>conftest.$ac_ext <<_ACEOF
45282 /* end confdefs.h. */
45283 #include <windows.h>
45284 #include <ole2.h>
45285 int
45286 main ()
45287 {
45288
45289 ;
45290 return 0;
45291 }
45292 _ACEOF
45293 rm -f conftest.$ac_objext
45294 if { (ac_try="$ac_compile"
45295 case "(($ac_try" in
45296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45297 *) ac_try_echo=$ac_try;;
45298 esac
45299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45300 (eval "$ac_compile") 2>conftest.er1
45301 ac_status=$?
45302 grep -v '^ *+' conftest.er1 >conftest.err
45303 rm -f conftest.er1
45304 cat conftest.err >&5
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); } && {
45307 test -z "$ac_c_werror_flag" ||
45308 test ! -s conftest.err
45309 } && test -s conftest.$ac_objext; then
45310 { echo "$as_me:$LINENO: result: no" >&5
45311 echo "${ECHO_T}no" >&6; }
45312 else
45313 echo "$as_me: failed program was:" >&5
45314 sed 's/^/| /' conftest.$ac_ext >&5
45315
45316 { echo "$as_me:$LINENO: result: yes" >&5
45317 echo "${ECHO_T}yes" >&6; }
45318 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45319 fi
45320
45321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45322 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45323 if test "$wxUSE_OLE" = "yes" ; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_OLE 1
45326 _ACEOF
45327
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_OLE_AUTOMATION 1
45330 _ACEOF
45331
45332 cat >>confdefs.h <<\_ACEOF
45333 #define wxUSE_ACTIVEX 1
45334 _ACEOF
45335
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45337 fi
45338 fi
45339
45340 if test "$wxUSE_DATAOBJ" = "yes" ; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_DATAOBJ 1
45343 _ACEOF
45344
45345 fi
45346 else
45347 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45348 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45349
45350 wxUSE_CLIPBOARD=no
45351 wxUSE_DRAG_AND_DROP=no
45352 wxUSE_DATAOBJ=no
45353 wxUSE_OLE=no
45354 fi
45355
45356 if test "$wxUSE_METAFILE" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_METAFILE 1
45359 _ACEOF
45360
45361
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_ENH_METAFILE 1
45364 _ACEOF
45365
45366 fi
45367 fi
45368
45369 if test "$wxUSE_IPC" = "yes"; then
45370 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45371 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45372 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45373 wxUSE_IPC=no
45374 fi
45375
45376 if test "$wxUSE_IPC" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_IPC 1
45379 _ACEOF
45380
45381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45382 fi
45383 fi
45384
45385 if test "$wxUSE_DATAOBJ" = "yes"; then
45386 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45387 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45388 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45389 wxUSE_DATAOBJ=no
45390 else
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_DATAOBJ 1
45393 _ACEOF
45394
45395 fi
45396 else
45397 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45398 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45399 wxUSE_CLIPBOARD=no
45400 wxUSE_DRAG_AND_DROP=no
45401 fi
45402
45403 if test "$wxUSE_CLIPBOARD" = "yes"; then
45404 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45405 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45406 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45407 wxUSE_CLIPBOARD=no
45408 fi
45409
45410 if test "$wxUSE_CLIPBOARD" = "yes"; then
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_CLIPBOARD 1
45413 _ACEOF
45414
45415 fi
45416 fi
45417
45418 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45419 if test "$wxUSE_GTK" = 1; then
45420 if test "$WXGTK12" != 1; then
45421 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45422 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45423 wxUSE_DRAG_AND_DROP=no
45424 fi
45425 fi
45426
45427 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45428 "$wxUSE_DFB" = 1; then
45429 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45430 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45431 wxUSE_DRAG_AND_DROP=no
45432 fi
45433
45434 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_DRAG_AND_DROP 1
45437 _ACEOF
45438
45439 fi
45440
45441 fi
45442
45443 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45445 fi
45446
45447 if test "$wxUSE_SPLINES" = "yes" ; then
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_SPLINES 1
45450 _ACEOF
45451
45452 fi
45453
45454 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_MOUSEWHEEL 1
45457 _ACEOF
45458
45459 fi
45460
45461
45462 USES_CONTROLS=0
45463 if test "$wxUSE_CONTROLS" = "yes"; then
45464 USES_CONTROLS=1
45465 fi
45466
45467 if test "$wxUSE_ACCEL" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_ACCEL 1
45470 _ACEOF
45471
45472 USES_CONTROLS=1
45473 fi
45474
45475 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_ANIMATIONCTRL 1
45478 _ACEOF
45479
45480 USES_CONTROLS=1
45481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45482 fi
45483
45484 if test "$wxUSE_BUTTON" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_BUTTON 1
45487 _ACEOF
45488
45489 USES_CONTROLS=1
45490 fi
45491
45492 if test "$wxUSE_BMPBUTTON" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_BMPBUTTON 1
45495 _ACEOF
45496
45497 USES_CONTROLS=1
45498 fi
45499
45500 if test "$wxUSE_CALCTRL" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_CALENDARCTRL 1
45503 _ACEOF
45504
45505 USES_CONTROLS=1
45506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45507 fi
45508
45509 if test "$wxUSE_CARET" = "yes"; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_CARET 1
45512 _ACEOF
45513
45514 USES_CONTROLS=1
45515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45516 fi
45517
45518 if test "$wxUSE_COLLPANE" = "yes"; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_COLLPANE 1
45521 _ACEOF
45522
45523 USES_CONTROLS=1
45524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45525 fi
45526
45527 if test "$wxUSE_COMBOBOX" = "yes"; then
45528 cat >>confdefs.h <<\_ACEOF
45529 #define wxUSE_COMBOBOX 1
45530 _ACEOF
45531
45532 USES_CONTROLS=1
45533 fi
45534
45535 if test "$wxUSE_COMBOCTRL" = "yes"; then
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_COMBOCTRL 1
45538 _ACEOF
45539
45540 USES_CONTROLS=1
45541 fi
45542
45543 if test "$wxUSE_CHOICE" = "yes"; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_CHOICE 1
45546 _ACEOF
45547
45548 USES_CONTROLS=1
45549 fi
45550
45551 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CHOICEBOOK 1
45554 _ACEOF
45555
45556 USES_CONTROLS=1
45557 fi
45558
45559 if test "$wxUSE_CHECKBOX" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_CHECKBOX 1
45562 _ACEOF
45563
45564 USES_CONTROLS=1
45565 fi
45566
45567 if test "$wxUSE_CHECKLST" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_CHECKLISTBOX 1
45570 _ACEOF
45571
45572 USES_CONTROLS=1
45573 fi
45574
45575 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_COLOURPICKERCTRL 1
45578 _ACEOF
45579
45580 USES_CONTROLS=1
45581 fi
45582
45583 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_DATEPICKCTRL 1
45586 _ACEOF
45587
45588 USES_CONTROLS=1
45589 fi
45590
45591 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_DIRPICKERCTRL 1
45594 _ACEOF
45595
45596 USES_CONTROLS=1
45597 fi
45598
45599 if test "$wxUSE_FILECTRL" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_FILECTRL 1
45602 _ACEOF
45603
45604 USES_CONTROLS=1
45605 fi
45606
45607 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_FILEPICKERCTRL 1
45610 _ACEOF
45611
45612 USES_CONTROLS=1
45613 fi
45614
45615 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_FONTPICKERCTRL 1
45618 _ACEOF
45619
45620 USES_CONTROLS=1
45621 fi
45622
45623 if test "$wxUSE_DISPLAY" = "yes"; then
45624 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45625 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45626 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45627 wxUSE_DISPLAY=no
45628 else
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_DISPLAY 1
45631 _ACEOF
45632
45633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45634 fi
45635 fi
45636
45637 if test "$wxUSE_DETECT_SM" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_DETECT_SM 1
45640 _ACEOF
45641
45642 fi
45643
45644 if test "$wxUSE_GAUGE" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_GAUGE 1
45647 _ACEOF
45648
45649 USES_CONTROLS=1
45650 fi
45651
45652 if test "$wxUSE_GRID" = "yes"; then
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_GRID 1
45655 _ACEOF
45656
45657 USES_CONTROLS=1
45658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45659 fi
45660
45661 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45662 cat >>confdefs.h <<\_ACEOF
45663 #define wxUSE_HYPERLINKCTRL 1
45664 _ACEOF
45665
45666 USES_CONTROLS=1
45667 fi
45668
45669 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_BITMAPCOMBOBOX 1
45672 _ACEOF
45673
45674 USES_CONTROLS=1
45675 fi
45676
45677 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_DATAVIEWCTRL 1
45680 _ACEOF
45681
45682 USES_CONTROLS=1
45683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45684 fi
45685
45686 if test "$wxUSE_IMAGLIST" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_IMAGLIST 1
45689 _ACEOF
45690
45691 fi
45692
45693 if test "$wxUSE_LISTBOOK" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_LISTBOOK 1
45696 _ACEOF
45697
45698 USES_CONTROLS=1
45699 fi
45700
45701 if test "$wxUSE_LISTBOX" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_LISTBOX 1
45704 _ACEOF
45705
45706 USES_CONTROLS=1
45707 fi
45708
45709 if test "$wxUSE_LISTCTRL" = "yes"; then
45710 if test "$wxUSE_IMAGLIST" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_LISTCTRL 1
45713 _ACEOF
45714
45715 USES_CONTROLS=1
45716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45717 else
45718 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45719 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45720 fi
45721 fi
45722
45723 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_EDITABLELISTBOX 1
45726 _ACEOF
45727
45728 USES_CONTROLS=1
45729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45730 fi
45731
45732 if test "$wxUSE_NOTEBOOK" = "yes"; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_NOTEBOOK 1
45735 _ACEOF
45736
45737 USES_CONTROLS=1
45738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45739 fi
45740
45741 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_NOTIFICATION_MESSAGE 1
45744 _ACEOF
45745
45746 fi
45747
45748 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_ODCOMBOBOX 1
45751 _ACEOF
45752
45753 USES_CONTROLS=1
45754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45755 fi
45756
45757 if test "$wxUSE_RADIOBOX" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_RADIOBOX 1
45760 _ACEOF
45761
45762 USES_CONTROLS=1
45763 fi
45764
45765 if test "$wxUSE_RADIOBTN" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_RADIOBTN 1
45768 _ACEOF
45769
45770 USES_CONTROLS=1
45771 fi
45772
45773 if test "$wxUSE_SASH" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_SASH 1
45776 _ACEOF
45777
45778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45779 fi
45780
45781 if test "$wxUSE_SCROLLBAR" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_SCROLLBAR 1
45784 _ACEOF
45785
45786 USES_CONTROLS=1
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45788 fi
45789
45790 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_SEARCHCTRL 1
45793 _ACEOF
45794
45795 USES_CONTROLS=1
45796 fi
45797
45798 if test "$wxUSE_SLIDER" = "yes"; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_SLIDER 1
45801 _ACEOF
45802
45803 USES_CONTROLS=1
45804 fi
45805
45806 if test "$wxUSE_SPINBTN" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_SPINBTN 1
45809 _ACEOF
45810
45811 USES_CONTROLS=1
45812 fi
45813
45814 if test "$wxUSE_SPINCTRL" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_SPINCTRL 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 fi
45821
45822 if test "$wxUSE_SPLITTER" = "yes"; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_SPLITTER 1
45825 _ACEOF
45826
45827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45828 fi
45829
45830 if test "$wxUSE_STATBMP" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_STATBMP 1
45833 _ACEOF
45834
45835 USES_CONTROLS=1
45836 fi
45837
45838 if test "$wxUSE_STATBOX" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_STATBOX 1
45841 _ACEOF
45842
45843 USES_CONTROLS=1
45844 fi
45845
45846 if test "$wxUSE_STATTEXT" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_STATTEXT 1
45849 _ACEOF
45850
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_STATLINE" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_STATLINE 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 fi
45861
45862 if test "$wxUSE_STATUSBAR" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_NATIVE_STATUSBAR 1
45865 _ACEOF
45866
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_STATUSBAR 1
45869 _ACEOF
45870
45871 USES_CONTROLS=1
45872
45873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45874 fi
45875
45876 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_TAB_DIALOG 1
45879 _ACEOF
45880
45881 fi
45882
45883 if test "$wxUSE_TEXTCTRL" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_TEXTCTRL 1
45886 _ACEOF
45887
45888 USES_CONTROLS=1
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45890
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_RICHEDIT 1
45893 _ACEOF
45894
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_RICHEDIT2 1
45897 _ACEOF
45898
45899 fi
45900
45901 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45902 if test "$wxUSE_COCOA" = 1 ; then
45903 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45904 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45905 wxUSE_TOGGLEBTN=no
45906 fi
45907
45908 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_TOGGLEBTN 1
45911 _ACEOF
45912
45913 USES_CONTROLS=1
45914 fi
45915 fi
45916
45917 if test "$wxUSE_TOOLBAR" = "yes"; then
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_TOOLBAR 1
45920 _ACEOF
45921
45922 USES_CONTROLS=1
45923
45924 if test "$wxUSE_UNIVERSAL" = "yes"; then
45925 wxUSE_TOOLBAR_NATIVE="no"
45926 else
45927 wxUSE_TOOLBAR_NATIVE="yes"
45928 cat >>confdefs.h <<\_ACEOF
45929 #define wxUSE_TOOLBAR_NATIVE 1
45930 _ACEOF
45931
45932 fi
45933
45934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45935 fi
45936
45937 if test "$wxUSE_TOOLTIPS" = "yes"; then
45938 if test "$wxUSE_MOTIF" = 1; then
45939 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45940 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45941 else
45942 if test "$wxUSE_UNIVERSAL" = "yes"; then
45943 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45944 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45945 else
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_TOOLTIPS 1
45948 _ACEOF
45949
45950 fi
45951 fi
45952 fi
45953
45954 if test "$wxUSE_TREEBOOK" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_TREEBOOK 1
45957 _ACEOF
45958
45959 USES_CONTROLS=1
45960 fi
45961
45962 if test "$wxUSE_TOOLBOOK" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_TOOLBOOK 1
45965 _ACEOF
45966
45967 USES_CONTROLS=1
45968 fi
45969
45970 if test "$wxUSE_TREECTRL" = "yes"; then
45971 if test "$wxUSE_IMAGLIST" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_TREECTRL 1
45974 _ACEOF
45975
45976 USES_CONTROLS=1
45977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45978 else
45979 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45980 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45981 fi
45982 fi
45983
45984 if test "$wxUSE_POPUPWIN" = "yes"; then
45985 if test "$wxUSE_COCOA" = 1 ; then
45986 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45987 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45988 else
45989 if test "$wxUSE_PM" = 1; then
45990 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45991 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45992 else
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_POPUPWIN 1
45995 _ACEOF
45996
45997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45998
45999 USES_CONTROLS=1
46000 fi
46001 fi
46002 fi
46003
46004 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46005 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46006 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46007 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46008 else
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_DIALUP_MANAGER 1
46011 _ACEOF
46012
46013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46014 fi
46015 fi
46016
46017 if test "$wxUSE_TIPWINDOW" = "yes"; then
46018 if test "$wxUSE_PM" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46020 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46021 else
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_TIPWINDOW 1
46024 _ACEOF
46025
46026 fi
46027 fi
46028
46029 if test "$USES_CONTROLS" = 1; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_CONTROLS 1
46032 _ACEOF
46033
46034 fi
46035
46036
46037 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_ACCESSIBILITY 1
46040 _ACEOF
46041
46042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46043 fi
46044
46045 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_DRAGIMAGE 1
46048 _ACEOF
46049
46050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46051 fi
46052
46053 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46054 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46055 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46056 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46057 else
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_EXCEPTIONS 1
46060 _ACEOF
46061
46062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46063 fi
46064 fi
46065
46066 USE_HTML=0
46067 if test "$wxUSE_HTML" = "yes"; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_HTML 1
46070 _ACEOF
46071
46072 USE_HTML=1
46073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46074 if test "$wxUSE_MAC" = 1; then
46075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46076 fi
46077 fi
46078 if test "$wxUSE_WEBKIT" = "yes"; then
46079 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46080 old_CPPFLAGS="$CPPFLAGS"
46081 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46082 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46083 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46084 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46085 echo $ECHO_N "(cached) $ECHO_C" >&6
46086 else
46087 cat >conftest.$ac_ext <<_ACEOF
46088 /* confdefs.h. */
46089 _ACEOF
46090 cat confdefs.h >>conftest.$ac_ext
46091 cat >>conftest.$ac_ext <<_ACEOF
46092 /* end confdefs.h. */
46093
46094 #include <Carbon/Carbon.h>
46095 #include <WebKit/WebKit.h>
46096
46097
46098 #include <WebKit/HIWebView.h>
46099 _ACEOF
46100 rm -f conftest.$ac_objext
46101 if { (ac_try="$ac_compile"
46102 case "(($ac_try" in
46103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46104 *) ac_try_echo=$ac_try;;
46105 esac
46106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46107 (eval "$ac_compile") 2>conftest.er1
46108 ac_status=$?
46109 grep -v '^ *+' conftest.er1 >conftest.err
46110 rm -f conftest.er1
46111 cat conftest.err >&5
46112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46113 (exit $ac_status); } && {
46114 test -z "$ac_c_werror_flag" ||
46115 test ! -s conftest.err
46116 } && test -s conftest.$ac_objext; then
46117 ac_cv_header_WebKit_HIWebView_h=yes
46118 else
46119 echo "$as_me: failed program was:" >&5
46120 sed 's/^/| /' conftest.$ac_ext >&5
46121
46122 ac_cv_header_WebKit_HIWebView_h=no
46123 fi
46124
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126 fi
46127 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46128 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46129 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46130
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_WEBKIT 1
46133 _ACEOF
46134
46135 WEBKIT_LINK="-framework WebKit"
46136
46137 else
46138
46139 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46140 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46141 wxUSE_WEBKIT=no
46142
46143 fi
46144
46145
46146 CPPFLAGS="$old_CPPFLAGS"
46147 elif test "$wxUSE_COCOA" = 1; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_WEBKIT 1
46150 _ACEOF
46151
46152 else
46153 wxUSE_WEBKIT=no
46154 fi
46155 fi
46156
46157 USE_XRC=0
46158 if test "$wxUSE_XRC" = "yes"; then
46159 if test "$wxUSE_XML" != "yes"; then
46160 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46161 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46162 wxUSE_XRC=no
46163 else
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_XRC 1
46166 _ACEOF
46167
46168 USE_XRC=1
46169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46170 fi
46171 fi
46172
46173 USE_AUI=0
46174 if test "$wxUSE_AUI" = "yes"; then
46175 cat >>confdefs.h <<\_ACEOF
46176 #define wxUSE_AUI 1
46177 _ACEOF
46178
46179 USE_AUI=1
46180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46181 fi
46182
46183 USE_STC=0
46184 if test "$wxUSE_STC" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_STC 1
46187 _ACEOF
46188
46189 USE_STC=1
46190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46191 fi
46192
46193 if test "$wxUSE_MENUS" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_MENUS 1
46196 _ACEOF
46197
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46199 fi
46200
46201 if test "$wxUSE_METAFILE" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_METAFILE 1
46204 _ACEOF
46205
46206 fi
46207
46208 if test "$wxUSE_MIMETYPE" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_MIMETYPE 1
46211 _ACEOF
46212
46213 fi
46214
46215 if test "$wxUSE_MINIFRAME" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_MINIFRAME 1
46218 _ACEOF
46219
46220 fi
46221
46222 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_SYSTEM_OPTIONS 1
46225 _ACEOF
46226
46227 fi
46228
46229 if test "$wxUSE_TASKBARICON" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_TASKBARICON 1
46232 _ACEOF
46233
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46235 fi
46236
46237
46238 if test "$wxUSE_VALIDATORS" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_VALIDATORS 1
46241 _ACEOF
46242
46243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46244 fi
46245
46246 if test "$wxUSE_PALETTE" = "yes" ; then
46247 if test "$wxUSE_DFB" = 1; then
46248 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46249 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46250 wxUSE_PALETTE=no
46251 else
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_PALETTE 1
46254 _ACEOF
46255
46256 fi
46257 fi
46258
46259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46260 LIBS=" -lunicows $LIBS"
46261 fi
46262
46263 USE_RICHTEXT=0
46264 if test "$wxUSE_RICHTEXT" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_RICHTEXT 1
46267 _ACEOF
46268
46269 USE_RICHTEXT=1
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46271 fi
46272
46273
46274 if test "$wxUSE_IMAGE" = "yes" ; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_IMAGE 1
46277 _ACEOF
46278
46279
46280 if test "$wxUSE_GIF" = "yes" ; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_GIF 1
46283 _ACEOF
46284
46285 fi
46286
46287 if test "$wxUSE_PCX" = "yes" ; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_PCX 1
46290 _ACEOF
46291
46292 fi
46293
46294 if test "$wxUSE_TGA" = "yes" ; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_TGA 1
46297 _ACEOF
46298
46299 fi
46300
46301 if test "$wxUSE_IFF" = "yes" ; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_IFF 1
46304 _ACEOF
46305
46306 fi
46307
46308 if test "$wxUSE_PNM" = "yes" ; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_PNM 1
46311 _ACEOF
46312
46313 fi
46314
46315 if test "$wxUSE_XPM" = "yes" ; then
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_XPM 1
46318 _ACEOF
46319
46320 fi
46321
46322 if test "$wxUSE_ICO_CUR" = "yes" ; then
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_ICO_CUR 1
46325 _ACEOF
46326
46327 fi
46328 fi
46329
46330
46331 if test "$wxUSE_ABOUTDLG" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_ABOUTDLG 1
46334 _ACEOF
46335
46336 fi
46337
46338 if test "$wxUSE_CHOICEDLG" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_CHOICEDLG 1
46341 _ACEOF
46342
46343 fi
46344
46345 if test "$wxUSE_COLOURDLG" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_COLOURDLG 1
46348 _ACEOF
46349
46350 fi
46351
46352 if test "$wxUSE_FILEDLG" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_FILEDLG 1
46355 _ACEOF
46356
46357 fi
46358
46359 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_FINDREPLDLG 1
46362 _ACEOF
46363
46364 fi
46365
46366 if test "$wxUSE_FONTDLG" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_FONTDLG 1
46369 _ACEOF
46370
46371 fi
46372
46373 if test "$wxUSE_DIRDLG" = "yes"; then
46374 if test "$wxUSE_TREECTRL" != "yes"; then
46375 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46376 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46377 else
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_DIRDLG 1
46380 _ACEOF
46381
46382 fi
46383 fi
46384
46385 if test "$wxUSE_MSGDLG" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_MSGDLG 1
46388 _ACEOF
46389
46390 fi
46391
46392 if test "$wxUSE_NUMBERDLG" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_NUMBERDLG 1
46395 _ACEOF
46396
46397 fi
46398
46399 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46400 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46401 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46402 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46403 else
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PROGRESSDLG 1
46406 _ACEOF
46407
46408 fi
46409 fi
46410
46411 if test "$wxUSE_SPLASH" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_SPLASH 1
46414 _ACEOF
46415
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46417 fi
46418
46419 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46420 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46421 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46422 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46423 else
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_STARTUP_TIPS 1
46426 _ACEOF
46427
46428 fi
46429 fi
46430
46431 if test "$wxUSE_TEXTDLG" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_TEXTDLG 1
46434 _ACEOF
46435
46436 fi
46437
46438 if test "$wxUSE_WIZARDDLG" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_WIZARDDLG 1
46441 _ACEOF
46442
46443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46444 fi
46445
46446
46447 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46448 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_OWNER_DRAWN 1
46451 _ACEOF
46452
46453 fi
46454 fi
46455
46456
46457 if test "$wxUSE_MSW" = 1 ; then
46458
46459 if test "$wxUSE_DC_CACHEING" = "yes"; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_DC_CACHEING 1
46462 _ACEOF
46463
46464 fi
46465
46466 if test "$wxUSE_DIB" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_WXDIB 1
46469 _ACEOF
46470
46471 fi
46472
46473 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46476 _ACEOF
46477
46478 fi
46479
46480 if test "$wxUSE_UXTHEME" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_UXTHEME 1
46483 _ACEOF
46484
46485 fi
46486
46487 fi
46488
46489 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_AUTOID_MANAGEMENT 1
46492 _ACEOF
46493
46494 fi
46495
46496 if test "$USE_WIN32" = 1 ; then
46497 if test "$wxUSE_INICONF" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_INICONF 1
46500 _ACEOF
46501
46502 fi
46503
46504 if test "$wxUSE_REGKEY" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_REGKEY 1
46507 _ACEOF
46508
46509 fi
46510 fi
46511
46512
46513 if test "$wxUSE_MAC" = 1; then
46514 wxUSE_GRAPHICS_CONTEXT="yes"
46515 fi
46516
46517 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46518 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_GRAPHICS_CONTEXT 1
46521 _ACEOF
46522
46523 elif test "$wxUSE_GTK" != 1; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_GRAPHICS_CONTEXT 1
46526 _ACEOF
46527
46528 else
46529
46530 pkg_failed=no
46531 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46532 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46533
46534 if test -n "$PKG_CONFIG"; then
46535 if test -n "$CAIRO_CFLAGS"; then
46536 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46537 else
46538 if test -n "$PKG_CONFIG" && \
46539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46540 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46541 ac_status=$?
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); }; then
46544 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46545 else
46546 pkg_failed=yes
46547 fi
46548 fi
46549 else
46550 pkg_failed=untried
46551 fi
46552 if test -n "$PKG_CONFIG"; then
46553 if test -n "$CAIRO_LIBS"; then
46554 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46555 else
46556 if test -n "$PKG_CONFIG" && \
46557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46558 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46559 ac_status=$?
46560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561 (exit $ac_status); }; then
46562 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46563 else
46564 pkg_failed=yes
46565 fi
46566 fi
46567 else
46568 pkg_failed=untried
46569 fi
46570
46571
46572
46573 if test $pkg_failed = yes; then
46574
46575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46576 _pkg_short_errors_supported=yes
46577 else
46578 _pkg_short_errors_supported=no
46579 fi
46580 if test $_pkg_short_errors_supported = yes; then
46581 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46582 else
46583 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46584 fi
46585 # Put the nasty error message in config.log where it belongs
46586 echo "$CAIRO_PKG_ERRORS" >&5
46587
46588 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46589 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46590
46591 elif test $pkg_failed = untried; then
46592 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46593 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46594
46595 else
46596 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46597 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46598 { echo "$as_me:$LINENO: result: yes" >&5
46599 echo "${ECHO_T}yes" >&6; }
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_GRAPHICS_CONTEXT 1
46602 _ACEOF
46603
46604 fi
46605 fi
46606 fi
46607
46608
46609 USE_MEDIA=0
46610
46611 if test "$wxUSE_MEDIACTRL" = "yes"; then
46612 USE_MEDIA=1
46613
46614 if test "$wxUSE_GTK" = 1; then
46615 wxUSE_GSTREAMER="no"
46616
46617 GST_VERSION_MAJOR=0
46618 GST_VERSION_MINOR=10
46619 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46620
46621 if test "$wxUSE_GSTREAMER8" = "no"; then
46622
46623 pkg_failed=no
46624 { echo "$as_me:$LINENO: checking for GST" >&5
46625 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46626
46627 if test -n "$PKG_CONFIG"; then
46628 if test -n "$GST_CFLAGS"; then
46629 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46630 else
46631 if test -n "$PKG_CONFIG" && \
46632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46633 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46634 ac_status=$?
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); }; then
46637 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46638 else
46639 pkg_failed=yes
46640 fi
46641 fi
46642 else
46643 pkg_failed=untried
46644 fi
46645 if test -n "$PKG_CONFIG"; then
46646 if test -n "$GST_LIBS"; then
46647 pkg_cv_GST_LIBS="$GST_LIBS"
46648 else
46649 if test -n "$PKG_CONFIG" && \
46650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46651 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46652 ac_status=$?
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); }; then
46655 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46656 else
46657 pkg_failed=yes
46658 fi
46659 fi
46660 else
46661 pkg_failed=untried
46662 fi
46663
46664
46665
46666 if test $pkg_failed = yes; then
46667
46668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46669 _pkg_short_errors_supported=yes
46670 else
46671 _pkg_short_errors_supported=no
46672 fi
46673 if test $_pkg_short_errors_supported = yes; then
46674 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46675 else
46676 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46677 fi
46678 # Put the nasty error message in config.log where it belongs
46679 echo "$GST_PKG_ERRORS" >&5
46680
46681
46682 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46683 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46684 GST_VERSION_MINOR=8
46685
46686
46687 elif test $pkg_failed = untried; then
46688
46689 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46690 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46691 GST_VERSION_MINOR=8
46692
46693
46694 else
46695 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46696 GST_LIBS=$pkg_cv_GST_LIBS
46697 { echo "$as_me:$LINENO: result: yes" >&5
46698 echo "${ECHO_T}yes" >&6; }
46699
46700 wxUSE_GSTREAMER="yes"
46701 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46702
46703 fi
46704 else
46705 GST_VERSION_MINOR=8
46706 fi
46707
46708 if test $GST_VERSION_MINOR = "8"; then
46709 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46710
46711 pkg_failed=no
46712 { echo "$as_me:$LINENO: checking for GST" >&5
46713 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46714
46715 if test -n "$PKG_CONFIG"; then
46716 if test -n "$GST_CFLAGS"; then
46717 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46718 else
46719 if test -n "$PKG_CONFIG" && \
46720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46721 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46722 ac_status=$?
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); }; then
46725 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46726 else
46727 pkg_failed=yes
46728 fi
46729 fi
46730 else
46731 pkg_failed=untried
46732 fi
46733 if test -n "$PKG_CONFIG"; then
46734 if test -n "$GST_LIBS"; then
46735 pkg_cv_GST_LIBS="$GST_LIBS"
46736 else
46737 if test -n "$PKG_CONFIG" && \
46738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46739 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46740 ac_status=$?
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); }; then
46743 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46744 else
46745 pkg_failed=yes
46746 fi
46747 fi
46748 else
46749 pkg_failed=untried
46750 fi
46751
46752
46753
46754 if test $pkg_failed = yes; then
46755
46756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46757 _pkg_short_errors_supported=yes
46758 else
46759 _pkg_short_errors_supported=no
46760 fi
46761 if test $_pkg_short_errors_supported = yes; then
46762 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46763 else
46764 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46765 fi
46766 # Put the nasty error message in config.log where it belongs
46767 echo "$GST_PKG_ERRORS" >&5
46768
46769
46770 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46771 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46772
46773 elif test $pkg_failed = untried; then
46774
46775 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46776 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46777
46778 else
46779 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46780 GST_LIBS=$pkg_cv_GST_LIBS
46781 { echo "$as_me:$LINENO: result: yes" >&5
46782 echo "${ECHO_T}yes" >&6; }
46783 wxUSE_GSTREAMER="yes"
46784 fi
46785 fi
46786
46787
46788 if test "$wxUSE_GSTREAMER" = "yes"; then
46789 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46790 EXTRALIBS_MEDIA="$GST_LIBS"
46791
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_GSTREAMER 1
46794 _ACEOF
46795
46796 else
46797 USE_MEDIA=0
46798 fi
46799 fi
46800
46801 if test $USE_MEDIA = 1; then
46802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_MEDIACTRL 1
46805 _ACEOF
46806
46807 fi
46808 fi
46809
46810
46811 if test "$cross_compiling" = "yes"; then
46812 OSINFO="\"$host\""
46813 else
46814 OSINFO=`uname -s -r -m`
46815 OSINFO="\"$OSINFO\""
46816 fi
46817
46818 cat >>confdefs.h <<_ACEOF
46819 #define WXWIN_OS_DESCRIPTION $OSINFO
46820 _ACEOF
46821
46822
46823
46824 if test "x$prefix" != "xNONE"; then
46825 wxPREFIX=$prefix
46826 else
46827 wxPREFIX=$ac_default_prefix
46828 fi
46829
46830 cat >>confdefs.h <<_ACEOF
46831 #define wxINSTALL_PREFIX "$wxPREFIX"
46832 _ACEOF
46833
46834
46835
46836
46837 STD_BASE_LIBS="base"
46838 STD_GUI_LIBS=""
46839 BUILT_WX_LIBS="base"
46840 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46841
46842 if test "$wxUSE_SOCKETS" = "yes" ; then
46843 STD_BASE_LIBS="net $STD_BASE_LIBS"
46844 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46845 fi
46846 if test "$wxUSE_XML" = "yes" ; then
46847 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46848 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46849 fi
46850
46851 if test "$wxUSE_GUI" = "yes"; then
46852 STD_GUI_LIBS="adv core"
46853 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46854
46855 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46856 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46857 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46858 fi
46859 if test "$wxUSE_HTML" = "yes" ; then
46860 STD_GUI_LIBS="html $STD_GUI_LIBS"
46861 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46862 fi
46863 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46864 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46865 fi
46866 if test "$wxUSE_OPENGL" = "yes" ; then
46867 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46868 fi
46869 if test "$wxUSE_AUI" = "yes" ; then
46870 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46871 fi
46872 if test "$wxUSE_STC" = "yes" ; then
46873 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46874 fi
46875 if test "$wxUSE_XRC" = "yes" ; then
46876 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46877 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46878 fi
46879 fi
46880
46881
46882
46883
46884
46885
46886
46887
46888 if test "$wxUSE_MAC" = 1 ; then
46889 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46890 if test "$USE_DARWIN" = 1; then
46891 LDFLAGS="$LDFLAGS -framework QuickTime"
46892 else
46893 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46894 fi
46895 fi
46896 if test "$USE_DARWIN" = 1; then
46897 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46898 else
46899 LDFLAGS="$LDFLAGS -lCarbonLib"
46900 fi
46901 fi
46902 if test "$wxUSE_COCOA" = 1 ; then
46903 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46904 if test "$wxUSE_MEDIACTRL" = "yes"; then
46905 LDFLAGS="$LDFLAGS -framework QuickTime"
46906 fi
46907 fi
46908 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46909 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46910 fi
46911
46912 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46913
46914 if test "$wxUSE_GUI" = "yes"; then
46915
46916
46917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46918 erase event exec font image minimal mobile \
46919 mobile/wxedit mobile/styles render \
46920 shaped svg taborder vscroll widgets"
46921
46922 if test "$wxUSE_MONOLITHIC" != "yes"; then
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46924 fi
46925 if test "$TOOLKIT" = "MSW"; then
46926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46927 if test "$wxUSE_UNIVERSAL" != "yes"; then
46928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46929 fi
46930 fi
46931 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46933 fi
46934 else
46935 SAMPLES_SUBDIRS="console"
46936 if test "$wxUSE_SOCKETS" = "yes" ; then
46937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46938 fi
46939 if test "$wxUSE_IPC" = "yes" ; then
46940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46941 fi
46942 fi
46943
46944
46945 if test "x$INTELCC" = "xyes" ; then
46946 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46947 elif test "$GCC" = yes ; then
46948 CWARNINGS="-Wall -Wundef"
46949 fi
46950
46951 if test "x$INTELCXX" = "xyes" ; then
46952 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46953 elif test "$GXX" = yes ; then
46954 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46955 fi
46956
46957
46958 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46959 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46960
46961
46962 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46963 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46964 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46965 $CPPFLAGS `
46966
46967 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46968 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46969 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46970 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46971 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46972
46973 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46974
46975
46976 if test "x$MWCC" = "xyes"; then
46977
46978 CC="$CC -cwd source -I-"
46979 CXX="$CXX -cwd source -I-"
46980 fi
46981
46982
46983 LIBS=`echo $LIBS`
46984 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46985 EXTRALIBS_XML="$EXPAT_LINK"
46986 EXTRALIBS_HTML="$MSPACK_LINK"
46987 EXTRALIBS_MEDIA="$GST_LIBS"
46988 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46989 if test "$wxUSE_GUI" = "yes"; then
46990 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46991 fi
46992 if test "$wxUSE_OPENGL" = "yes"; then
46993 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46994 fi
46995
46996 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46997
46998 WXCONFIG_LIBS="$LIBS"
46999
47000 if test "$wxUSE_REGEX" = "builtin" ; then
47001 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47002 fi
47003 if test "$wxUSE_EXPAT" = "builtin" ; then
47004 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47005 fi
47006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47007 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47008 fi
47009 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47010 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47011 fi
47012 if test "$wxUSE_LIBPNG" = "builtin" ; then
47013 wxconfig_3rdparty="png $wxconfig_3rdparty"
47014 fi
47015 if test "$wxUSE_ZLIB" = "builtin" ; then
47016 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47017 fi
47018
47019 for i in $wxconfig_3rdparty ; do
47020 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47021 done
47022
47023
47024 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47025 WXUNIV=1
47026
47027 case "$wxUNIV_THEMES" in
47028 ''|all)
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_ALL_THEMES 1
47031 _ACEOF
47032
47033 ;;
47034
47035 *)
47036 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47037 cat >>confdefs.h <<_ACEOF
47038 #define wxUSE_THEME_$t 1
47039 _ACEOF
47040
47041 done
47042 esac
47043 else
47044 WXUNIV=0
47045 fi
47046
47047
47048
47049
47050
47051
47052
47053
47054 if test $wxUSE_MONOLITHIC = "yes" ; then
47055 MONOLITHIC=1
47056 else
47057 MONOLITHIC=0
47058 fi
47059
47060 if test $wxUSE_PLUGINS = "yes" ; then
47061 USE_PLUGINS=1
47062 else
47063 USE_PLUGINS=0
47064 fi
47065
47066 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47067 USE_QA=1
47068 else
47069 USE_QA=0
47070 fi
47071
47072 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47073 OFFICIAL_BUILD=1
47074 else
47075 OFFICIAL_BUILD=0
47076 fi
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47106
47107
47108
47109
47110
47111
47112
47113
47114 case "$TOOLKIT" in
47115 GTK)
47116 TOOLKIT_DESC="GTK+"
47117 if test "$WXGTK2" = 1; then
47118 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47119 if test "$wxUSE_GTKPRINT" = "yes" ; then
47120 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47121 fi
47122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47123 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47124 fi
47125 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47126 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47127 fi
47128 if test "$wxUSE_LIBHILDON" = "yes"; then
47129 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47130 fi
47131
47132 if test "$TOOLKIT_EXTRA" != ""; then
47133 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47134 fi
47135 fi
47136 ;;
47137
47138 ?*)
47139 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47140 ;;
47141
47142 *)
47143 TOOLKIT_DESC="base only"
47144 ;;
47145 esac
47146
47147 if test "$wxUSE_WINE" = "yes"; then
47148 BAKEFILE_FORCE_PLATFORM=win32
47149 fi
47150
47151 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47152 then
47153 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47154 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47155 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47156 echo $ECHO_N "(cached) $ECHO_C" >&6
47157 else
47158
47159 echo '#include <stdio.h>
47160 const wchar_t test_var[] = L"awidetest";' > conftest.h
47161
47162 echo '#include "conftest.h"
47163 int main()
47164 {
47165 printf("%ls", test_var);
47166 return 0;
47167 }' > conftest.cpp
47168
47169 wx_cv_gcc_pch_bug="pch not supported"
47170
47171 if $CXX conftest.h >/dev/null 2>&1
47172 then
47173 wx_cv_gcc_pch_bug=
47174
47175 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47176 then
47177 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47178 grep awidetest >/dev/null
47179 then
47180 wx_cv_gcc_pch_bug=no
47181 else
47182 wx_cv_gcc_pch_bug=yes
47183 fi
47184 fi
47185 fi
47186
47187 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47188
47189 fi
47190 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47191 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47192
47193 if test "$wx_cv_gcc_pch_bug" = yes; then
47194 bk_use_pch=no
47195 fi
47196 fi
47197
47198
47199
47200
47201
47202
47203
47204 if test "x$BAKEFILE_HOST" = "x"; then
47205 if test "x${host}" = "x" ; then
47206 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47207 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47208 { (exit 1); exit 1; }; }
47209 fi
47210
47211 BAKEFILE_HOST="${host}"
47212 fi
47213
47214 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47215
47216 if test -n "$ac_tool_prefix"; then
47217 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47218 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47221 if test "${ac_cv_prog_RANLIB+set}" = set; then
47222 echo $ECHO_N "(cached) $ECHO_C" >&6
47223 else
47224 if test -n "$RANLIB"; then
47225 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47226 else
47227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47228 for as_dir in $PATH
47229 do
47230 IFS=$as_save_IFS
47231 test -z "$as_dir" && as_dir=.
47232 for ac_exec_ext in '' $ac_executable_extensions; do
47233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47234 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47236 break 2
47237 fi
47238 done
47239 done
47240 IFS=$as_save_IFS
47241
47242 fi
47243 fi
47244 RANLIB=$ac_cv_prog_RANLIB
47245 if test -n "$RANLIB"; then
47246 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47247 echo "${ECHO_T}$RANLIB" >&6; }
47248 else
47249 { echo "$as_me:$LINENO: result: no" >&5
47250 echo "${ECHO_T}no" >&6; }
47251 fi
47252
47253
47254 fi
47255 if test -z "$ac_cv_prog_RANLIB"; then
47256 ac_ct_RANLIB=$RANLIB
47257 # Extract the first word of "ranlib", so it can be a program name with args.
47258 set dummy ranlib; ac_word=$2
47259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47262 echo $ECHO_N "(cached) $ECHO_C" >&6
47263 else
47264 if test -n "$ac_ct_RANLIB"; then
47265 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47266 else
47267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47268 for as_dir in $PATH
47269 do
47270 IFS=$as_save_IFS
47271 test -z "$as_dir" && as_dir=.
47272 for ac_exec_ext in '' $ac_executable_extensions; do
47273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47274 ac_cv_prog_ac_ct_RANLIB="ranlib"
47275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47276 break 2
47277 fi
47278 done
47279 done
47280 IFS=$as_save_IFS
47281
47282 fi
47283 fi
47284 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47285 if test -n "$ac_ct_RANLIB"; then
47286 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47287 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47288 else
47289 { echo "$as_me:$LINENO: result: no" >&5
47290 echo "${ECHO_T}no" >&6; }
47291 fi
47292
47293 if test "x$ac_ct_RANLIB" = x; then
47294 RANLIB=":"
47295 else
47296 case $cross_compiling:$ac_tool_warned in
47297 yes:)
47298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47299 whose name does not start with the host triplet. If you think this
47300 configuration is useful to you, please write to autoconf@gnu.org." >&5
47301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47302 whose name does not start with the host triplet. If you think this
47303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47304 ac_tool_warned=yes ;;
47305 esac
47306 RANLIB=$ac_ct_RANLIB
47307 fi
47308 else
47309 RANLIB="$ac_cv_prog_RANLIB"
47310 fi
47311
47312 # Find a good install program. We prefer a C program (faster),
47313 # so one script is as good as another. But avoid the broken or
47314 # incompatible versions:
47315 # SysV /etc/install, /usr/sbin/install
47316 # SunOS /usr/etc/install
47317 # IRIX /sbin/install
47318 # AIX /bin/install
47319 # AmigaOS /C/install, which installs bootblocks on floppy discs
47320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47323 # OS/2's system install, which has a completely different semantic
47324 # ./install, which can be erroneously created by make from ./install.sh.
47325 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47326 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47327 if test -z "$INSTALL"; then
47328 if test "${ac_cv_path_install+set}" = set; then
47329 echo $ECHO_N "(cached) $ECHO_C" >&6
47330 else
47331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47332 for as_dir in $PATH
47333 do
47334 IFS=$as_save_IFS
47335 test -z "$as_dir" && as_dir=.
47336 # Account for people who put trailing slashes in PATH elements.
47337 case $as_dir/ in
47338 ./ | .// | /cC/* | \
47339 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47340 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47341 /usr/ucb/* ) ;;
47342 *)
47343 # OSF1 and SCO ODT 3.0 have their own names for install.
47344 # Don't use installbsd from OSF since it installs stuff as root
47345 # by default.
47346 for ac_prog in ginstall scoinst install; do
47347 for ac_exec_ext in '' $ac_executable_extensions; do
47348 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47349 if test $ac_prog = install &&
47350 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47351 # AIX install. It has an incompatible calling convention.
47352 :
47353 elif test $ac_prog = install &&
47354 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47355 # program-specific install script used by HP pwplus--don't use.
47356 :
47357 else
47358 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47359 break 3
47360 fi
47361 fi
47362 done
47363 done
47364 ;;
47365 esac
47366 done
47367 IFS=$as_save_IFS
47368
47369
47370 fi
47371 if test "${ac_cv_path_install+set}" = set; then
47372 INSTALL=$ac_cv_path_install
47373 else
47374 # As a last resort, use the slow shell script. Don't cache a
47375 # value for INSTALL within a source directory, because that will
47376 # break other packages using the cache if that directory is
47377 # removed, or if the value is a relative name.
47378 INSTALL=$ac_install_sh
47379 fi
47380 fi
47381 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47382 echo "${ECHO_T}$INSTALL" >&6; }
47383
47384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47385 # It thinks the first close brace ends the variable substitution.
47386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47387
47388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47389
47390 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47391
47392 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47394 LN_S=$as_ln_s
47395 if test "$LN_S" = "ln -s"; then
47396 { echo "$as_me:$LINENO: result: yes" >&5
47397 echo "${ECHO_T}yes" >&6; }
47398 else
47399 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47400 echo "${ECHO_T}no, using $LN_S" >&6; }
47401 fi
47402
47403
47404 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47405 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47406 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47407 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47408 echo $ECHO_N "(cached) $ECHO_C" >&6
47409 else
47410 cat >conftest.make <<\_ACEOF
47411 SHELL = /bin/sh
47412 all:
47413 @echo '@@@%%%=$(MAKE)=@@@%%%'
47414 _ACEOF
47415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47416 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47417 *@@@%%%=?*=@@@%%%*)
47418 eval ac_cv_prog_make_${ac_make}_set=yes;;
47419 *)
47420 eval ac_cv_prog_make_${ac_make}_set=no;;
47421 esac
47422 rm -f conftest.make
47423 fi
47424 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47425 { echo "$as_me:$LINENO: result: yes" >&5
47426 echo "${ECHO_T}yes" >&6; }
47427 SET_MAKE=
47428 else
47429 { echo "$as_me:$LINENO: result: no" >&5
47430 echo "${ECHO_T}no" >&6; }
47431 SET_MAKE="MAKE=${MAKE-make}"
47432 fi
47433
47434
47435
47436 if test "x$SUNCXX" = "xyes"; then
47437 AR=$CXX
47438 AROPTIONS="-xar -o"
47439
47440 elif test "x$SGICC" = "xyes"; then
47441 AR=$CXX
47442 AROPTIONS="-ar -o"
47443
47444 else
47445 if test -n "$ac_tool_prefix"; then
47446 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47447 set dummy ${ac_tool_prefix}ar; ac_word=$2
47448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47450 if test "${ac_cv_prog_AR+set}" = set; then
47451 echo $ECHO_N "(cached) $ECHO_C" >&6
47452 else
47453 if test -n "$AR"; then
47454 ac_cv_prog_AR="$AR" # Let the user override the test.
47455 else
47456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47457 for as_dir in $PATH
47458 do
47459 IFS=$as_save_IFS
47460 test -z "$as_dir" && as_dir=.
47461 for ac_exec_ext in '' $ac_executable_extensions; do
47462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47463 ac_cv_prog_AR="${ac_tool_prefix}ar"
47464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47465 break 2
47466 fi
47467 done
47468 done
47469 IFS=$as_save_IFS
47470
47471 fi
47472 fi
47473 AR=$ac_cv_prog_AR
47474 if test -n "$AR"; then
47475 { echo "$as_me:$LINENO: result: $AR" >&5
47476 echo "${ECHO_T}$AR" >&6; }
47477 else
47478 { echo "$as_me:$LINENO: result: no" >&5
47479 echo "${ECHO_T}no" >&6; }
47480 fi
47481
47482
47483 fi
47484 if test -z "$ac_cv_prog_AR"; then
47485 ac_ct_AR=$AR
47486 # Extract the first word of "ar", so it can be a program name with args.
47487 set dummy ar; ac_word=$2
47488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47490 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47491 echo $ECHO_N "(cached) $ECHO_C" >&6
47492 else
47493 if test -n "$ac_ct_AR"; then
47494 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47495 else
47496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47497 for as_dir in $PATH
47498 do
47499 IFS=$as_save_IFS
47500 test -z "$as_dir" && as_dir=.
47501 for ac_exec_ext in '' $ac_executable_extensions; do
47502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47503 ac_cv_prog_ac_ct_AR="ar"
47504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47505 break 2
47506 fi
47507 done
47508 done
47509 IFS=$as_save_IFS
47510
47511 fi
47512 fi
47513 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47514 if test -n "$ac_ct_AR"; then
47515 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47516 echo "${ECHO_T}$ac_ct_AR" >&6; }
47517 else
47518 { echo "$as_me:$LINENO: result: no" >&5
47519 echo "${ECHO_T}no" >&6; }
47520 fi
47521
47522 if test "x$ac_ct_AR" = x; then
47523 AR="ar"
47524 else
47525 case $cross_compiling:$ac_tool_warned in
47526 yes:)
47527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47528 whose name does not start with the host triplet. If you think this
47529 configuration is useful to you, please write to autoconf@gnu.org." >&5
47530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47531 whose name does not start with the host triplet. If you think this
47532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47533 ac_tool_warned=yes ;;
47534 esac
47535 AR=$ac_ct_AR
47536 fi
47537 else
47538 AR="$ac_cv_prog_AR"
47539 fi
47540
47541 AROPTIONS=rcu
47542 fi
47543
47544
47545 if test -n "$ac_tool_prefix"; then
47546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47547 set dummy ${ac_tool_prefix}strip; ac_word=$2
47548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47550 if test "${ac_cv_prog_STRIP+set}" = set; then
47551 echo $ECHO_N "(cached) $ECHO_C" >&6
47552 else
47553 if test -n "$STRIP"; then
47554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47555 else
47556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47557 for as_dir in $PATH
47558 do
47559 IFS=$as_save_IFS
47560 test -z "$as_dir" && as_dir=.
47561 for ac_exec_ext in '' $ac_executable_extensions; do
47562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47563 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47565 break 2
47566 fi
47567 done
47568 done
47569 IFS=$as_save_IFS
47570
47571 fi
47572 fi
47573 STRIP=$ac_cv_prog_STRIP
47574 if test -n "$STRIP"; then
47575 { echo "$as_me:$LINENO: result: $STRIP" >&5
47576 echo "${ECHO_T}$STRIP" >&6; }
47577 else
47578 { echo "$as_me:$LINENO: result: no" >&5
47579 echo "${ECHO_T}no" >&6; }
47580 fi
47581
47582
47583 fi
47584 if test -z "$ac_cv_prog_STRIP"; then
47585 ac_ct_STRIP=$STRIP
47586 # Extract the first word of "strip", so it can be a program name with args.
47587 set dummy strip; ac_word=$2
47588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47590 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47591 echo $ECHO_N "(cached) $ECHO_C" >&6
47592 else
47593 if test -n "$ac_ct_STRIP"; then
47594 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47595 else
47596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47597 for as_dir in $PATH
47598 do
47599 IFS=$as_save_IFS
47600 test -z "$as_dir" && as_dir=.
47601 for ac_exec_ext in '' $ac_executable_extensions; do
47602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47603 ac_cv_prog_ac_ct_STRIP="strip"
47604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47605 break 2
47606 fi
47607 done
47608 done
47609 IFS=$as_save_IFS
47610
47611 fi
47612 fi
47613 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47614 if test -n "$ac_ct_STRIP"; then
47615 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47616 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47617 else
47618 { echo "$as_me:$LINENO: result: no" >&5
47619 echo "${ECHO_T}no" >&6; }
47620 fi
47621
47622 if test "x$ac_ct_STRIP" = x; then
47623 STRIP=":"
47624 else
47625 case $cross_compiling:$ac_tool_warned in
47626 yes:)
47627 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47628 whose name does not start with the host triplet. If you think this
47629 configuration is useful to you, please write to autoconf@gnu.org." >&5
47630 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47631 whose name does not start with the host triplet. If you think this
47632 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47633 ac_tool_warned=yes ;;
47634 esac
47635 STRIP=$ac_ct_STRIP
47636 fi
47637 else
47638 STRIP="$ac_cv_prog_STRIP"
47639 fi
47640
47641 if test -n "$ac_tool_prefix"; then
47642 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47643 set dummy ${ac_tool_prefix}nm; ac_word=$2
47644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47646 if test "${ac_cv_prog_NM+set}" = set; then
47647 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 else
47649 if test -n "$NM"; then
47650 ac_cv_prog_NM="$NM" # Let the user override the test.
47651 else
47652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47653 for as_dir in $PATH
47654 do
47655 IFS=$as_save_IFS
47656 test -z "$as_dir" && as_dir=.
47657 for ac_exec_ext in '' $ac_executable_extensions; do
47658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47659 ac_cv_prog_NM="${ac_tool_prefix}nm"
47660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47661 break 2
47662 fi
47663 done
47664 done
47665 IFS=$as_save_IFS
47666
47667 fi
47668 fi
47669 NM=$ac_cv_prog_NM
47670 if test -n "$NM"; then
47671 { echo "$as_me:$LINENO: result: $NM" >&5
47672 echo "${ECHO_T}$NM" >&6; }
47673 else
47674 { echo "$as_me:$LINENO: result: no" >&5
47675 echo "${ECHO_T}no" >&6; }
47676 fi
47677
47678
47679 fi
47680 if test -z "$ac_cv_prog_NM"; then
47681 ac_ct_NM=$NM
47682 # Extract the first word of "nm", so it can be a program name with args.
47683 set dummy nm; ac_word=$2
47684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47686 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47687 echo $ECHO_N "(cached) $ECHO_C" >&6
47688 else
47689 if test -n "$ac_ct_NM"; then
47690 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47691 else
47692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47693 for as_dir in $PATH
47694 do
47695 IFS=$as_save_IFS
47696 test -z "$as_dir" && as_dir=.
47697 for ac_exec_ext in '' $ac_executable_extensions; do
47698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47699 ac_cv_prog_ac_ct_NM="nm"
47700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47701 break 2
47702 fi
47703 done
47704 done
47705 IFS=$as_save_IFS
47706
47707 fi
47708 fi
47709 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47710 if test -n "$ac_ct_NM"; then
47711 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47712 echo "${ECHO_T}$ac_ct_NM" >&6; }
47713 else
47714 { echo "$as_me:$LINENO: result: no" >&5
47715 echo "${ECHO_T}no" >&6; }
47716 fi
47717
47718 if test "x$ac_ct_NM" = x; then
47719 NM=":"
47720 else
47721 case $cross_compiling:$ac_tool_warned in
47722 yes:)
47723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47724 whose name does not start with the host triplet. If you think this
47725 configuration is useful to you, please write to autoconf@gnu.org." >&5
47726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47727 whose name does not start with the host triplet. If you think this
47728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47729 ac_tool_warned=yes ;;
47730 esac
47731 NM=$ac_ct_NM
47732 fi
47733 else
47734 NM="$ac_cv_prog_NM"
47735 fi
47736
47737
47738 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47739 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47740 INSTALL_TEST_DIR=acbftest$$
47741 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47742 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47743 rmdir $INSTALL_TEST_DIR
47744 INSTALL_DIR='$(INSTALL) -d'
47745 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47746 echo "${ECHO_T}$INSTALL -d" >&6; }
47747 else
47748 INSTALL_DIR="mkdir -p"
47749 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47750 echo "${ECHO_T}mkdir -p" >&6; }
47751 fi
47752
47753
47754 LDFLAGS_GUI=
47755 case ${BAKEFILE_HOST} in
47756 *-*-cygwin* | *-*-mingw32* )
47757 LDFLAGS_GUI="-mwindows"
47758 esac
47759
47760
47761 fi
47762
47763 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47764 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47765 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47766 echo $ECHO_N "(cached) $ECHO_C" >&6
47767 else
47768
47769 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47770 egrep -s GNU > /dev/null); then
47771 bakefile_cv_prog_makeisgnu="yes"
47772 else
47773 bakefile_cv_prog_makeisgnu="no"
47774 fi
47775
47776 fi
47777 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47778 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47779
47780 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47781 IF_GNU_MAKE=""
47782 else
47783 IF_GNU_MAKE="#"
47784 fi
47785
47786
47787
47788 PLATFORM_UNIX=0
47789 PLATFORM_WIN32=0
47790 PLATFORM_MSDOS=0
47791 PLATFORM_MAC=0
47792 PLATFORM_MACOS=0
47793 PLATFORM_MACOSX=0
47794 PLATFORM_OS2=0
47795 PLATFORM_BEOS=0
47796
47797 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47798 case "${BAKEFILE_HOST}" in
47799 *-*-mingw32* )
47800 PLATFORM_WIN32=1
47801 ;;
47802 *-pc-msdosdjgpp )
47803 PLATFORM_MSDOS=1
47804 ;;
47805 *-pc-os2_emx | *-pc-os2-emx )
47806 PLATFORM_OS2=1
47807 ;;
47808 *-*-darwin* )
47809 PLATFORM_MAC=1
47810 PLATFORM_MACOSX=1
47811 ;;
47812 *-*-beos* )
47813 PLATFORM_BEOS=1
47814 ;;
47815 powerpc-apple-macos* )
47816 PLATFORM_MAC=1
47817 PLATFORM_MACOS=1
47818 ;;
47819 * )
47820 PLATFORM_UNIX=1
47821 ;;
47822 esac
47823 else
47824 case "$BAKEFILE_FORCE_PLATFORM" in
47825 win32 )
47826 PLATFORM_WIN32=1
47827 ;;
47828 msdos )
47829 PLATFORM_MSDOS=1
47830 ;;
47831 os2 )
47832 PLATFORM_OS2=1
47833 ;;
47834 darwin )
47835 PLATFORM_MAC=1
47836 PLATFORM_MACOSX=1
47837 ;;
47838 unix )
47839 PLATFORM_UNIX=1
47840 ;;
47841 beos )
47842 PLATFORM_BEOS=1
47843 ;;
47844 * )
47845 ;;
47846 esac
47847 fi
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859 # Check whether --enable-omf was given.
47860 if test "${enable_omf+set}" = set; then
47861 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47862 fi
47863
47864
47865 case "${BAKEFILE_HOST}" in
47866 *-*-darwin* )
47867 if test "x$GCC" = "xyes"; then
47868 CFLAGS="$CFLAGS -fno-common"
47869 CXXFLAGS="$CXXFLAGS -fno-common"
47870 fi
47871 if test "x$XLCC" = "xyes"; then
47872 CFLAGS="$CFLAGS -qnocommon"
47873 CXXFLAGS="$CXXFLAGS -qnocommon"
47874 fi
47875 ;;
47876
47877 *-pc-os2_emx | *-pc-os2-emx )
47878 if test "x$bk_os2_use_omf" = "xyes" ; then
47879 AR=emxomfar
47880 RANLIB=:
47881 LDFLAGS="-Zomf $LDFLAGS"
47882 CFLAGS="-Zomf $CFLAGS"
47883 CXXFLAGS="-Zomf $CXXFLAGS"
47884 OS2_LIBEXT="lib"
47885 else
47886 OS2_LIBEXT="a"
47887 fi
47888 ;;
47889
47890 i*86-*-beos* )
47891 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47892 ;;
47893 esac
47894
47895
47896 SO_SUFFIX="so"
47897 SO_SUFFIX_MODULE="so"
47898 EXEEXT=""
47899 LIBPREFIX="lib"
47900 LIBEXT=".a"
47901 DLLPREFIX="lib"
47902 DLLPREFIX_MODULE=""
47903 DLLIMP_SUFFIX=""
47904 dlldir="$libdir"
47905
47906 case "${BAKEFILE_HOST}" in
47907 *-hp-hpux* )
47908 SO_SUFFIX="sl"
47909 SO_SUFFIX_MODULE="sl"
47910 ;;
47911 *-*-aix* )
47912 SO_SUFFIX="a"
47913 SO_SUFFIX_MODULE="a"
47914 ;;
47915 *-*-cygwin* )
47916 SO_SUFFIX="dll"
47917 SO_SUFFIX_MODULE="dll"
47918 DLLIMP_SUFFIX="dll.a"
47919 EXEEXT=".exe"
47920 DLLPREFIX="cyg"
47921 dlldir="$bindir"
47922 ;;
47923 *-*-mingw32* )
47924 SO_SUFFIX="dll"
47925 SO_SUFFIX_MODULE="dll"
47926 DLLIMP_SUFFIX="dll.a"
47927 EXEEXT=".exe"
47928 DLLPREFIX=""
47929 dlldir="$bindir"
47930 ;;
47931 *-pc-msdosdjgpp )
47932 EXEEXT=".exe"
47933 DLLPREFIX=""
47934 dlldir="$bindir"
47935 ;;
47936 *-pc-os2_emx | *-pc-os2-emx )
47937 SO_SUFFIX="dll"
47938 SO_SUFFIX_MODULE="dll"
47939 DLLIMP_SUFFIX=$OS2_LIBEXT
47940 EXEEXT=".exe"
47941 DLLPREFIX=""
47942 LIBPREFIX=""
47943 LIBEXT=".$OS2_LIBEXT"
47944 dlldir="$bindir"
47945 ;;
47946 *-*-darwin* )
47947 SO_SUFFIX="dylib"
47948 SO_SUFFIX_MODULE="bundle"
47949 ;;
47950 esac
47951
47952 if test "x$DLLIMP_SUFFIX" = "x" ; then
47953 DLLIMP_SUFFIX="$SO_SUFFIX"
47954 fi
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967 PIC_FLAG=""
47968 if test "x$GCC" = "xyes"; then
47969 PIC_FLAG="-fPIC"
47970 fi
47971
47972 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47973 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47974 WINDOWS_IMPLIB=0
47975
47976 case "${BAKEFILE_HOST}" in
47977 *-hp-hpux* )
47978 if test "x$GCC" != "xyes"; then
47979 LDFLAGS="$LDFLAGS -L/usr/lib"
47980
47981 SHARED_LD_CC="${CC} -b -o"
47982 SHARED_LD_CXX="${CXX} -b -o"
47983 PIC_FLAG="+Z"
47984 fi
47985 ;;
47986
47987 *-*-linux* )
47988 if test "$INTELCC" = "yes"; then
47989 PIC_FLAG="-KPIC"
47990 elif test "x$SUNCXX" = "xyes"; then
47991 SHARED_LD_CC="${CC} -G -o"
47992 SHARED_LD_CXX="${CXX} -G -o"
47993 PIC_FLAG="-KPIC"
47994 fi
47995 ;;
47996
47997 *-*-solaris2* )
47998 if test "x$SUNCXX" = xyes ; then
47999 SHARED_LD_CC="${CC} -G -o"
48000 SHARED_LD_CXX="${CXX} -G -o"
48001 PIC_FLAG="-KPIC"
48002 fi
48003 ;;
48004
48005 *-*-darwin* )
48006
48007 D='$'
48008 cat <<EOF >shared-ld-sh
48009 #!/bin/sh
48010 #-----------------------------------------------------------------------------
48011 #-- Name: distrib/mac/shared-ld-sh
48012 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48013 #-- Author: Gilles Depeyrot
48014 #-- Copyright: (c) 2002 Gilles Depeyrot
48015 #-- Licence: any use permitted
48016 #-----------------------------------------------------------------------------
48017
48018 verbose=0
48019 args=""
48020 objects=""
48021 linking_flag="-dynamiclib"
48022 ldargs="-r -keep_private_externs -nostdlib"
48023
48024 if test "x${D}CXX" = "x"; then
48025 CXX="c++"
48026 fi
48027
48028 while test ${D}# -gt 0; do
48029 case ${D}1 in
48030
48031 -v)
48032 verbose=1
48033 ;;
48034
48035 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48036 # collect these options and values
48037 args="${D}{args} ${D}1 ${D}2"
48038 shift
48039 ;;
48040
48041 -arch|-isysroot)
48042 # collect these options and values
48043 ldargs="${D}{ldargs} ${D}1 ${D}2"
48044 shift
48045 ;;
48046
48047 -s|-Wl,*)
48048 # collect these load args
48049 ldargs="${D}{ldargs} ${D}1"
48050 ;;
48051
48052 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48053 # collect these options
48054 args="${D}{args} ${D}1"
48055 ;;
48056
48057 -dynamiclib|-bundle)
48058 linking_flag="${D}1"
48059 ;;
48060
48061 -*)
48062 echo "shared-ld: unhandled option '${D}1'"
48063 exit 1
48064 ;;
48065
48066 *.o | *.a | *.dylib)
48067 # collect object files
48068 objects="${D}{objects} ${D}1"
48069 ;;
48070
48071 *)
48072 echo "shared-ld: unhandled argument '${D}1'"
48073 exit 1
48074 ;;
48075
48076 esac
48077 shift
48078 done
48079
48080 status=0
48081
48082 #
48083 # Link one module containing all the others
48084 #
48085 if test ${D}{verbose} = 1; then
48086 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48087 fi
48088 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48089 status=${D}?
48090
48091 #
48092 # Link the shared library from the single module created, but only if the
48093 # previous command didn't fail:
48094 #
48095 if test ${D}{status} = 0; then
48096 if test ${D}{verbose} = 1; then
48097 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48098 fi
48099 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48100 status=${D}?
48101 fi
48102
48103 #
48104 # Remove intermediate module
48105 #
48106 rm -f master.${D}${D}.o
48107
48108 exit ${D}status
48109 EOF
48110
48111 chmod +x shared-ld-sh
48112
48113 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48114 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48115
48116
48117 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48118 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48119 if test "${bakefile_cv_gcc31+set}" = set; then
48120 echo $ECHO_N "(cached) $ECHO_C" >&6
48121 else
48122
48123 cat >conftest.$ac_ext <<_ACEOF
48124 /* confdefs.h. */
48125 _ACEOF
48126 cat confdefs.h >>conftest.$ac_ext
48127 cat >>conftest.$ac_ext <<_ACEOF
48128 /* end confdefs.h. */
48129
48130 int
48131 main ()
48132 {
48133
48134 #if (__GNUC__ < 3) || \
48135 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48136 This is old gcc
48137 #endif
48138
48139 ;
48140 return 0;
48141 }
48142 _ACEOF
48143 rm -f conftest.$ac_objext
48144 if { (ac_try="$ac_compile"
48145 case "(($ac_try" in
48146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48147 *) ac_try_echo=$ac_try;;
48148 esac
48149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48150 (eval "$ac_compile") 2>conftest.er1
48151 ac_status=$?
48152 grep -v '^ *+' conftest.er1 >conftest.err
48153 rm -f conftest.er1
48154 cat conftest.err >&5
48155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156 (exit $ac_status); } && {
48157 test -z "$ac_c_werror_flag" ||
48158 test ! -s conftest.err
48159 } && test -s conftest.$ac_objext; then
48160
48161 bakefile_cv_gcc31=yes
48162
48163 else
48164 echo "$as_me: failed program was:" >&5
48165 sed 's/^/| /' conftest.$ac_ext >&5
48166
48167
48168 bakefile_cv_gcc31=no
48169
48170
48171 fi
48172
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174
48175 fi
48176 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48177 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48178 if test "$bakefile_cv_gcc31" = "no"; then
48179 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48180 SHARED_LD_CXX="$SHARED_LD_CC"
48181 else
48182 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48183 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48184 fi
48185
48186 if test "x$GCC" == "xyes"; then
48187 PIC_FLAG="-dynamic -fPIC"
48188 fi
48189 if test "x$XLCC" = "xyes"; then
48190 PIC_FLAG="-dynamic -DPIC"
48191 fi
48192 ;;
48193
48194 *-*-aix* )
48195 if test "x$GCC" = "xyes"; then
48196 PIC_FLAG=""
48197
48198 case "${BAKEFILE_HOST}" in
48199 *-*-aix5* )
48200 LD_EXPFULL="-Wl,-bexpfull"
48201 ;;
48202 esac
48203
48204 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48205 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48206 else
48207 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48208 set dummy makeC++SharedLib; ac_word=$2
48209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48211 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48212 echo $ECHO_N "(cached) $ECHO_C" >&6
48213 else
48214 if test -n "$AIX_CXX_LD"; then
48215 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48216 else
48217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48218 for as_dir in $PATH
48219 do
48220 IFS=$as_save_IFS
48221 test -z "$as_dir" && as_dir=.
48222 for ac_exec_ext in '' $ac_executable_extensions; do
48223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48224 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48226 break 2
48227 fi
48228 done
48229 done
48230 IFS=$as_save_IFS
48231
48232 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48233 fi
48234 fi
48235 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48236 if test -n "$AIX_CXX_LD"; then
48237 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48238 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48239 else
48240 { echo "$as_me:$LINENO: result: no" >&5
48241 echo "${ECHO_T}no" >&6; }
48242 fi
48243
48244
48245 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48246 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48247 fi
48248 ;;
48249
48250 *-*-beos* )
48251 SHARED_LD_CC="${LD} -nostart -o"
48252 SHARED_LD_CXX="${LD} -nostart -o"
48253 ;;
48254
48255 *-*-irix* )
48256 if test "x$GCC" != "xyes"; then
48257 PIC_FLAG="-KPIC"
48258 fi
48259 ;;
48260
48261 *-*-cygwin* | *-*-mingw32* )
48262 PIC_FLAG=""
48263 SHARED_LD_CC="\$(CC) -shared -o"
48264 SHARED_LD_CXX="\$(CXX) -shared -o"
48265 WINDOWS_IMPLIB=1
48266 ;;
48267
48268 *-pc-os2_emx | *-pc-os2-emx )
48269 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48270 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48271 PIC_FLAG=""
48272
48273 D='$'
48274 cat <<EOF >dllar.sh
48275 #!/bin/sh
48276 #
48277 # dllar - a tool to build both a .dll and an .a file
48278 # from a set of object (.o) files for EMX/OS2.
48279 #
48280 # Written by Andrew Zabolotny, bit@freya.etu.ru
48281 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48282 #
48283 # This script will accept a set of files on the command line.
48284 # All the public symbols from the .o files will be exported into
48285 # a .DEF file, then linker will be run (through gcc) against them to
48286 # build a shared library consisting of all given .o files. All libraries
48287 # (.a) will be first decompressed into component .o files then act as
48288 # described above. You can optionally give a description (-d "description")
48289 # which will be put into .DLL. To see the list of accepted options (as well
48290 # as command-line format) simply run this program without options. The .DLL
48291 # is built to be imported by name (there is no guarantee that new versions
48292 # of the library you build will have same ordinals for same symbols).
48293 #
48294 # dllar is free software; you can redistribute it and/or modify
48295 # it under the terms of the GNU General Public License as published by
48296 # the Free Software Foundation; either version 2, or (at your option)
48297 # any later version.
48298 #
48299 # dllar is distributed in the hope that it will be useful,
48300 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48301 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48302 # GNU General Public License for more details.
48303 #
48304 # You should have received a copy of the GNU General Public License
48305 # along with dllar; see the file COPYING. If not, write to the Free
48306 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48307 # 02111-1307, USA.
48308
48309 # To successfuly run this program you will need:
48310 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48311 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48312 # - gcc
48313 # (used to build the .dll)
48314 # - emxexp
48315 # (used to create .def file from .o files)
48316 # - emximp
48317 # (used to create .a file from .def file)
48318 # - GNU text utilites (cat, sort, uniq)
48319 # used to process emxexp output
48320 # - GNU file utilities (mv, rm)
48321 # - GNU sed
48322 # - lxlite (optional, see flag below)
48323 # (used for general .dll cleanup)
48324 #
48325
48326 flag_USE_LXLITE=1;
48327
48328 #
48329 # helper functions
48330 # basnam, variant of basename, which does _not_ remove the path, _iff_
48331 # second argument (suffix to remove) is given
48332 basnam(){
48333 case ${D}# in
48334 1)
48335 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48336 ;;
48337 2)
48338 echo ${D}1 | sed 's/'${D}2'${D}//'
48339 ;;
48340 *)
48341 echo "error in basnam ${D}*"
48342 exit 8
48343 ;;
48344 esac
48345 }
48346
48347 # Cleanup temporary files and output
48348 CleanUp() {
48349 cd ${D}curDir
48350 for i in ${D}inputFiles ; do
48351 case ${D}i in
48352 *!)
48353 rm -rf \`basnam ${D}i !\`
48354 ;;
48355 *)
48356 ;;
48357 esac
48358 done
48359
48360 # Kill result in case of failure as there is just to many stupid make/nmake
48361 # things out there which doesn't do this.
48362 if [ ${D}# -eq 0 ]; then
48363 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48364 fi
48365 }
48366
48367 # Print usage and exit script with rc=1.
48368 PrintHelp() {
48369 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48370 echo ' [-name-mangler-script script.sh]'
48371 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48372 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48373 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48374 echo ' [*.o] [*.a]'
48375 echo '*> "output_file" should have no extension.'
48376 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48377 echo ' The import library name is derived from this and is set to "name".a,'
48378 echo ' unless overridden by -import'
48379 echo '*> "importlib_name" should have no extension.'
48380 echo ' If it has the .o, or .a extension, it is automatically removed.'
48381 echo ' This name is used as the import library name and may be longer and'
48382 echo ' more descriptive than the DLL name which has to follow the old '
48383 echo ' 8.3 convention of FAT.'
48384 echo '*> "script.sh may be given to override the output_file name by a'
48385 echo ' different name. It is mainly useful if the regular make process'
48386 echo ' of some package does not take into account OS/2 restriction of'
48387 echo ' DLL name lengths. It takes the importlib name as input and is'
48388 echo ' supposed to procude a shorter name as output. The script should'
48389 echo ' expect to get importlib_name without extension and should produce'
48390 echo ' a (max.) 8 letter name without extension.'
48391 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48392 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48393 echo ' These flags will be put at the start of GCC command line.'
48394 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48395 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48396 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48397 echo ' If the last character of a symbol is "*", all symbols beginning'
48398 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48399 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48400 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48401 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48402 echo ' C runtime DLLs.'
48403 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48404 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48405 echo ' unchanged to GCC at the end of command line.'
48406 echo '*> If you create a DLL from a library and you do not specify -o,'
48407 echo ' the basename for DLL and import library will be set to library name,'
48408 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48409 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48410 echo ' library will be renamed into gcc_s.a.'
48411 echo '--------'
48412 echo 'Example:'
48413 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48414 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48415 CleanUp
48416 exit 1
48417 }
48418
48419 # Execute a command.
48420 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48421 # @Uses Whatever CleanUp() uses.
48422 doCommand() {
48423 echo "${D}*"
48424 eval ${D}*
48425 rcCmd=${D}?
48426
48427 if [ ${D}rcCmd -ne 0 ]; then
48428 echo "command failed, exit code="${D}rcCmd
48429 CleanUp
48430 exit ${D}rcCmd
48431 fi
48432 }
48433
48434 # main routine
48435 # setup globals
48436 cmdLine=${D}*
48437 outFile=""
48438 outimpFile=""
48439 inputFiles=""
48440 renameScript=""
48441 description=""
48442 CC=gcc.exe
48443 CFLAGS="-s -Zcrtdll"
48444 EXTRA_CFLAGS=""
48445 EXPORT_BY_ORDINALS=0
48446 exclude_symbols=""
48447 library_flags=""
48448 curDir=\`pwd\`
48449 curDirS=curDir
48450 case ${D}curDirS in
48451 */)
48452 ;;
48453 *)
48454 curDirS=${D}{curDirS}"/"
48455 ;;
48456 esac
48457 # Parse commandline
48458 libsToLink=0
48459 omfLinking=0
48460 while [ ${D}1 ]; do
48461 case ${D}1 in
48462 -ord*)
48463 EXPORT_BY_ORDINALS=1;
48464 ;;
48465 -o*)
48466 shift
48467 outFile=${D}1
48468 ;;
48469 -i*)
48470 shift
48471 outimpFile=${D}1
48472 ;;
48473 -name-mangler-script)
48474 shift
48475 renameScript=${D}1
48476 ;;
48477 -d*)
48478 shift
48479 description=${D}1
48480 ;;
48481 -f*)
48482 shift
48483 CFLAGS=${D}1
48484 ;;
48485 -c*)
48486 shift
48487 CC=${D}1
48488 ;;
48489 -h*)
48490 PrintHelp
48491 ;;
48492 -ex*)
48493 shift
48494 exclude_symbols=${D}{exclude_symbols}${D}1" "
48495 ;;
48496 -libf*)
48497 shift
48498 library_flags=${D}{library_flags}${D}1" "
48499 ;;
48500 -nocrt*)
48501 CFLAGS="-s"
48502 ;;
48503 -nolxl*)
48504 flag_USE_LXLITE=0
48505 ;;
48506 -* | /*)
48507 case ${D}1 in
48508 -L* | -l*)
48509 libsToLink=1
48510 ;;
48511 -Zomf)
48512 omfLinking=1
48513 ;;
48514 *)
48515 ;;
48516 esac
48517 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48518 ;;
48519 *.dll)
48520 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48521 if [ ${D}omfLinking -eq 1 ]; then
48522 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48523 else
48524 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48525 fi
48526 ;;
48527 *)
48528 found=0;
48529 if [ ${D}libsToLink -ne 0 ]; then
48530 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48531 else
48532 for file in ${D}1 ; do
48533 if [ -f ${D}file ]; then
48534 inputFiles="${D}{inputFiles} ${D}file"
48535 found=1
48536 fi
48537 done
48538 if [ ${D}found -eq 0 ]; then
48539 echo "ERROR: No file(s) found: "${D}1
48540 exit 8
48541 fi
48542 fi
48543 ;;
48544 esac
48545 shift
48546 done # iterate cmdline words
48547
48548 #
48549 if [ -z "${D}inputFiles" ]; then
48550 echo "dllar: no input files"
48551 PrintHelp
48552 fi
48553
48554 # Now extract all .o files from .a files
48555 newInputFiles=""
48556 for file in ${D}inputFiles ; do
48557 case ${D}file in
48558 *.a | *.lib)
48559 case ${D}file in
48560 *.a)
48561 suffix=".a"
48562 AR="ar"
48563 ;;
48564 *.lib)
48565 suffix=".lib"
48566 AR="emxomfar"
48567 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48568 ;;
48569 *)
48570 ;;
48571 esac
48572 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48573 mkdir ${D}dirname
48574 if [ ${D}? -ne 0 ]; then
48575 echo "Failed to create subdirectory ./${D}dirname"
48576 CleanUp
48577 exit 8;
48578 fi
48579 # Append '!' to indicate archive
48580 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48581 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48582 cd ${D}curDir
48583 found=0;
48584 for subfile in ${D}dirname/*.o* ; do
48585 if [ -f ${D}subfile ]; then
48586 found=1
48587 if [ -s ${D}subfile ]; then
48588 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48589 newInputFiles="${D}newInputFiles ${D}subfile"
48590 fi
48591 fi
48592 done
48593 if [ ${D}found -eq 0 ]; then
48594 echo "WARNING: there are no files in archive \\'${D}file\\'"
48595 fi
48596 ;;
48597 *)
48598 newInputFiles="${D}{newInputFiles} ${D}file"
48599 ;;
48600 esac
48601 done
48602 inputFiles="${D}newInputFiles"
48603
48604 # Output filename(s).
48605 do_backup=0;
48606 if [ -z ${D}outFile ]; then
48607 do_backup=1;
48608 set outFile ${D}inputFiles; outFile=${D}2
48609 fi
48610
48611 # If it is an archive, remove the '!' and the '_%' suffixes
48612 case ${D}outFile in
48613 *_%!)
48614 outFile=\`basnam ${D}outFile _%!\`
48615 ;;
48616 *)
48617 ;;
48618 esac
48619 case ${D}outFile in
48620 *.dll)
48621 outFile=\`basnam ${D}outFile .dll\`
48622 ;;
48623 *.DLL)
48624 outFile=\`basnam ${D}outFile .DLL\`
48625 ;;
48626 *.o)
48627 outFile=\`basnam ${D}outFile .o\`
48628 ;;
48629 *.obj)
48630 outFile=\`basnam ${D}outFile .obj\`
48631 ;;
48632 *.a)
48633 outFile=\`basnam ${D}outFile .a\`
48634 ;;
48635 *.lib)
48636 outFile=\`basnam ${D}outFile .lib\`
48637 ;;
48638 *)
48639 ;;
48640 esac
48641 case ${D}outimpFile in
48642 *.a)
48643 outimpFile=\`basnam ${D}outimpFile .a\`
48644 ;;
48645 *.lib)
48646 outimpFile=\`basnam ${D}outimpFile .lib\`
48647 ;;
48648 *)
48649 ;;
48650 esac
48651 if [ -z ${D}outimpFile ]; then
48652 outimpFile=${D}outFile
48653 fi
48654 defFile="${D}{outFile}.def"
48655 arcFile="${D}{outimpFile}.a"
48656 arcFile2="${D}{outimpFile}.lib"
48657
48658 #create ${D}dllFile as something matching 8.3 restrictions,
48659 if [ -z ${D}renameScript ] ; then
48660 dllFile="${D}outFile"
48661 else
48662 dllFile=\`${D}renameScript ${D}outimpFile\`
48663 fi
48664
48665 if [ ${D}do_backup -ne 0 ] ; then
48666 if [ -f ${D}arcFile ] ; then
48667 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48668 fi
48669 if [ -f ${D}arcFile2 ] ; then
48670 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48671 fi
48672 fi
48673
48674 # Extract public symbols from all the object files.
48675 tmpdefFile=${D}{defFile}_%
48676 rm -f ${D}tmpdefFile
48677 for file in ${D}inputFiles ; do
48678 case ${D}file in
48679 *!)
48680 ;;
48681 *)
48682 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48683 ;;
48684 esac
48685 done
48686
48687 # Create the def file.
48688 rm -f ${D}defFile
48689 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48690 dllFile="${D}{dllFile}.dll"
48691 if [ ! -z ${D}description ]; then
48692 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48693 fi
48694 echo "EXPORTS" >> ${D}defFile
48695
48696 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48697 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48698
48699 # Checks if the export is ok or not.
48700 for word in ${D}exclude_symbols; do
48701 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48702 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48703 done
48704
48705
48706 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48707 sed "=" < ${D}tmpdefFile | \\
48708 sed '
48709 N
48710 : loop
48711 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48712 t loop
48713 ' > ${D}{tmpdefFile}%
48714 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48715 else
48716 rm -f ${D}{tmpdefFile}%
48717 fi
48718 cat ${D}tmpdefFile >> ${D}defFile
48719 rm -f ${D}tmpdefFile
48720
48721 # Do linking, create implib, and apply lxlite.
48722 gccCmdl="";
48723 for file in ${D}inputFiles ; do
48724 case ${D}file in
48725 *!)
48726 ;;
48727 *)
48728 gccCmdl="${D}gccCmdl ${D}file"
48729 ;;
48730 esac
48731 done
48732 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48733 touch "${D}{outFile}.dll"
48734
48735 doCommand "emximp -o ${D}arcFile ${D}defFile"
48736 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48737 add_flags="";
48738 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48739 add_flags="-ynd"
48740 fi
48741 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48742 fi
48743 doCommand "emxomf -s -l ${D}arcFile"
48744
48745 # Successful exit.
48746 CleanUp 1
48747 exit 0
48748 EOF
48749
48750 chmod +x dllar.sh
48751 ;;
48752
48753 powerpc-apple-macos* | \
48754 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48755 *-*-mirbsd* | \
48756 *-*-sunos4* | \
48757 *-*-osf* | \
48758 *-*-dgux5* | \
48759 *-*-sysv5* | \
48760 *-pc-msdosdjgpp )
48761 ;;
48762
48763 *)
48764 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48765 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48766 { (exit 1); exit 1; }; }
48767 esac
48768
48769 if test "x$PIC_FLAG" != "x" ; then
48770 PIC_FLAG="$PIC_FLAG -DPIC"
48771 fi
48772
48773 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48774 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48775 fi
48776 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48777 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48778 fi
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788 USE_SOVERSION=0
48789 USE_SOVERLINUX=0
48790 USE_SOVERSOLARIS=0
48791 USE_SOVERCYGWIN=0
48792 USE_SOSYMLINKS=0
48793 USE_MACVERSION=0
48794 SONAME_FLAG=
48795
48796 case "${BAKEFILE_HOST}" in
48797 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48798 *-*-k*bsd*-gnu | *-*-mirbsd* )
48799 if test "x$SUNCXX" = "xyes"; then
48800 SONAME_FLAG="-h "
48801 else
48802 SONAME_FLAG="-Wl,-soname,"
48803 fi
48804 USE_SOVERSION=1
48805 USE_SOVERLINUX=1
48806 USE_SOSYMLINKS=1
48807 ;;
48808
48809 *-*-solaris2* )
48810 SONAME_FLAG="-h "
48811 USE_SOVERSION=1
48812 USE_SOVERSOLARIS=1
48813 USE_SOSYMLINKS=1
48814 ;;
48815
48816 *-*-darwin* )
48817 USE_MACVERSION=1
48818 USE_SOVERSION=1
48819 USE_SOSYMLINKS=1
48820 ;;
48821
48822 *-*-cygwin* )
48823 USE_SOVERSION=1
48824 USE_SOVERCYGWIN=1
48825 ;;
48826 esac
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837 # Check whether --enable-dependency-tracking was given.
48838 if test "${enable_dependency_tracking+set}" = set; then
48839 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48840 fi
48841
48842
48843 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48844 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48845
48846 BK_DEPS=""
48847 if test "x$bk_use_trackdeps" = "xno" ; then
48848 DEPS_TRACKING=0
48849 { echo "$as_me:$LINENO: result: disabled" >&5
48850 echo "${ECHO_T}disabled" >&6; }
48851 else
48852 DEPS_TRACKING=1
48853
48854 if test "x$GCC" = "xyes"; then
48855 DEPSMODE=gcc
48856 case "${BAKEFILE_HOST}" in
48857 *-*-darwin* )
48858 DEPSFLAG="-no-cpp-precomp -MMD"
48859 ;;
48860 * )
48861 DEPSFLAG="-MMD"
48862 ;;
48863 esac
48864 { echo "$as_me:$LINENO: result: gcc" >&5
48865 echo "${ECHO_T}gcc" >&6; }
48866 elif test "x$MWCC" = "xyes"; then
48867 DEPSMODE=mwcc
48868 DEPSFLAG="-MM"
48869 { echo "$as_me:$LINENO: result: mwcc" >&5
48870 echo "${ECHO_T}mwcc" >&6; }
48871 elif test "x$SUNCC" = "xyes"; then
48872 DEPSMODE=unixcc
48873 DEPSFLAG="-xM1"
48874 { echo "$as_me:$LINENO: result: Sun cc" >&5
48875 echo "${ECHO_T}Sun cc" >&6; }
48876 elif test "x$SGICC" = "xyes"; then
48877 DEPSMODE=unixcc
48878 DEPSFLAG="-M"
48879 { echo "$as_me:$LINENO: result: SGI cc" >&5
48880 echo "${ECHO_T}SGI cc" >&6; }
48881 elif test "x$HPCC" = "xyes"; then
48882 DEPSMODE=unixcc
48883 DEPSFLAG="+make"
48884 { echo "$as_me:$LINENO: result: HP cc" >&5
48885 echo "${ECHO_T}HP cc" >&6; }
48886 elif test "x$COMPAQCC" = "xyes"; then
48887 DEPSMODE=gcc
48888 DEPSFLAG="-MD"
48889 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48890 echo "${ECHO_T}Compaq cc" >&6; }
48891 else
48892 DEPS_TRACKING=0
48893 { echo "$as_me:$LINENO: result: none" >&5
48894 echo "${ECHO_T}none" >&6; }
48895 fi
48896
48897 if test $DEPS_TRACKING = 1 ; then
48898
48899 D='$'
48900 cat <<EOF >bk-deps
48901 #!/bin/sh
48902
48903 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48904 # script. It is used to track C/C++ files dependencies in portable way.
48905 #
48906 # Permission is given to use this file in any way.
48907
48908 DEPSMODE=${DEPSMODE}
48909 DEPSDIR=.deps
48910 DEPSFLAG="${DEPSFLAG}"
48911
48912 mkdir -p ${D}DEPSDIR
48913
48914 if test ${D}DEPSMODE = gcc ; then
48915 ${D}* ${D}{DEPSFLAG}
48916 status=${D}?
48917
48918 # determine location of created files:
48919 while test ${D}# -gt 0; do
48920 case "${D}1" in
48921 -o )
48922 shift
48923 objfile=${D}1
48924 ;;
48925 -* )
48926 ;;
48927 * )
48928 srcfile=${D}1
48929 ;;
48930 esac
48931 shift
48932 done
48933 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48934 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48935
48936 # if the compiler failed, we're done:
48937 if test ${D}{status} != 0 ; then
48938 rm -f ${D}depfile
48939 exit ${D}{status}
48940 fi
48941
48942 # move created file to the location we want it in:
48943 if test -f ${D}depfile ; then
48944 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48945 rm -f ${D}depfile
48946 else
48947 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48948 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48949 if test ! -f ${D}depfile ; then
48950 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48951 depfile="${D}objfile.d"
48952 fi
48953 if test -f ${D}depfile ; then
48954 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48955 rm -f ${D}depfile
48956 fi
48957 fi
48958 exit 0
48959 elif test ${D}DEPSMODE = mwcc ; then
48960 ${D}* || exit ${D}?
48961 # Run mwcc again with -MM and redirect into the dep file we want
48962 # NOTE: We can't use shift here because we need ${D}* to be valid
48963 prevarg=
48964 for arg in ${D}* ; do
48965 if test "${D}prevarg" = "-o"; then
48966 objfile=${D}arg
48967 else
48968 case "${D}arg" in
48969 -* )
48970 ;;
48971 * )
48972 srcfile=${D}arg
48973 ;;
48974 esac
48975 fi
48976 prevarg="${D}arg"
48977 done
48978 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48979 exit 0
48980 elif test ${D}DEPSMODE = unixcc; then
48981 ${D}* || exit ${D}?
48982 # Run compiler again with deps flag and redirect into the dep file.
48983 # It doesn't work if the '-o FILE' option is used, but without it the
48984 # dependency file will contain the wrong name for the object. So it is
48985 # removed from the command line, and the dep file is fixed with sed.
48986 cmd=""
48987 while test ${D}# -gt 0; do
48988 case "${D}1" in
48989 -o )
48990 shift
48991 objfile=${D}1
48992 ;;
48993 * )
48994 eval arg${D}#=\\${D}1
48995 cmd="${D}cmd \\${D}arg${D}#"
48996 ;;
48997 esac
48998 shift
48999 done
49000 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49001 exit 0
49002 else
49003 ${D}*
49004 exit ${D}?
49005 fi
49006 EOF
49007
49008 chmod +x bk-deps
49009 BK_DEPS="`pwd`/bk-deps"
49010 fi
49011 fi
49012
49013
49014
49015
49016
49017 case ${BAKEFILE_HOST} in
49018 *-*-cygwin* | *-*-mingw32* )
49019 if test -n "$ac_tool_prefix"; then
49020 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49021 set dummy ${ac_tool_prefix}windres; ac_word=$2
49022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49024 if test "${ac_cv_prog_WINDRES+set}" = set; then
49025 echo $ECHO_N "(cached) $ECHO_C" >&6
49026 else
49027 if test -n "$WINDRES"; then
49028 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49029 else
49030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49031 for as_dir in $PATH
49032 do
49033 IFS=$as_save_IFS
49034 test -z "$as_dir" && as_dir=.
49035 for ac_exec_ext in '' $ac_executable_extensions; do
49036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49037 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49039 break 2
49040 fi
49041 done
49042 done
49043 IFS=$as_save_IFS
49044
49045 fi
49046 fi
49047 WINDRES=$ac_cv_prog_WINDRES
49048 if test -n "$WINDRES"; then
49049 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49050 echo "${ECHO_T}$WINDRES" >&6; }
49051 else
49052 { echo "$as_me:$LINENO: result: no" >&5
49053 echo "${ECHO_T}no" >&6; }
49054 fi
49055
49056
49057 fi
49058 if test -z "$ac_cv_prog_WINDRES"; then
49059 ac_ct_WINDRES=$WINDRES
49060 # Extract the first word of "windres", so it can be a program name with args.
49061 set dummy windres; ac_word=$2
49062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49064 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49065 echo $ECHO_N "(cached) $ECHO_C" >&6
49066 else
49067 if test -n "$ac_ct_WINDRES"; then
49068 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49069 else
49070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49071 for as_dir in $PATH
49072 do
49073 IFS=$as_save_IFS
49074 test -z "$as_dir" && as_dir=.
49075 for ac_exec_ext in '' $ac_executable_extensions; do
49076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49077 ac_cv_prog_ac_ct_WINDRES="windres"
49078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49079 break 2
49080 fi
49081 done
49082 done
49083 IFS=$as_save_IFS
49084
49085 fi
49086 fi
49087 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49088 if test -n "$ac_ct_WINDRES"; then
49089 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49090 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49091 else
49092 { echo "$as_me:$LINENO: result: no" >&5
49093 echo "${ECHO_T}no" >&6; }
49094 fi
49095
49096 if test "x$ac_ct_WINDRES" = x; then
49097 WINDRES=""
49098 else
49099 case $cross_compiling:$ac_tool_warned in
49100 yes:)
49101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49102 whose name does not start with the host triplet. If you think this
49103 configuration is useful to you, please write to autoconf@gnu.org." >&5
49104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49105 whose name does not start with the host triplet. If you think this
49106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49107 ac_tool_warned=yes ;;
49108 esac
49109 WINDRES=$ac_ct_WINDRES
49110 fi
49111 else
49112 WINDRES="$ac_cv_prog_WINDRES"
49113 fi
49114
49115 ;;
49116
49117 *-*-darwin* | powerpc-apple-macos* )
49118 # Extract the first word of "Rez", so it can be a program name with args.
49119 set dummy Rez; ac_word=$2
49120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49122 if test "${ac_cv_prog_REZ+set}" = set; then
49123 echo $ECHO_N "(cached) $ECHO_C" >&6
49124 else
49125 if test -n "$REZ"; then
49126 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49127 else
49128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49129 for as_dir in $PATH
49130 do
49131 IFS=$as_save_IFS
49132 test -z "$as_dir" && as_dir=.
49133 for ac_exec_ext in '' $ac_executable_extensions; do
49134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49135 ac_cv_prog_REZ="Rez"
49136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49137 break 2
49138 fi
49139 done
49140 done
49141 IFS=$as_save_IFS
49142
49143 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49144 fi
49145 fi
49146 REZ=$ac_cv_prog_REZ
49147 if test -n "$REZ"; then
49148 { echo "$as_me:$LINENO: result: $REZ" >&5
49149 echo "${ECHO_T}$REZ" >&6; }
49150 else
49151 { echo "$as_me:$LINENO: result: no" >&5
49152 echo "${ECHO_T}no" >&6; }
49153 fi
49154
49155
49156 # Extract the first word of "SetFile", so it can be a program name with args.
49157 set dummy SetFile; ac_word=$2
49158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49160 if test "${ac_cv_prog_SETFILE+set}" = set; then
49161 echo $ECHO_N "(cached) $ECHO_C" >&6
49162 else
49163 if test -n "$SETFILE"; then
49164 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49165 else
49166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49167 for as_dir in $PATH
49168 do
49169 IFS=$as_save_IFS
49170 test -z "$as_dir" && as_dir=.
49171 for ac_exec_ext in '' $ac_executable_extensions; do
49172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49173 ac_cv_prog_SETFILE="SetFile"
49174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49175 break 2
49176 fi
49177 done
49178 done
49179 IFS=$as_save_IFS
49180
49181 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49182 fi
49183 fi
49184 SETFILE=$ac_cv_prog_SETFILE
49185 if test -n "$SETFILE"; then
49186 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49187 echo "${ECHO_T}$SETFILE" >&6; }
49188 else
49189 { echo "$as_me:$LINENO: result: no" >&5
49190 echo "${ECHO_T}no" >&6; }
49191 fi
49192
49193
49194 ;;
49195 esac
49196
49197
49198
49199
49200
49201
49202 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49203
49204
49205 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49206
49207
49208
49209 # Check whether --enable-precomp-headers was given.
49210 if test "${enable_precomp_headers+set}" = set; then
49211 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49212 fi
49213
49214
49215 GCC_PCH=0
49216 ICC_PCH=0
49217 USE_PCH=0
49218 BK_MAKE_PCH=""
49219
49220 case ${BAKEFILE_HOST} in
49221 *-*-cygwin* )
49222 bk_use_pch="no"
49223 ;;
49224 esac
49225
49226 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49227 if test "x$GCC" = "xyes"; then
49228 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49229 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49230 cat >conftest.$ac_ext <<_ACEOF
49231 /* confdefs.h. */
49232 _ACEOF
49233 cat confdefs.h >>conftest.$ac_ext
49234 cat >>conftest.$ac_ext <<_ACEOF
49235 /* end confdefs.h. */
49236
49237 int
49238 main ()
49239 {
49240
49241 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49242 There is no PCH support
49243 #endif
49244 #if (__GNUC__ < 3)
49245 There is no PCH support
49246 #endif
49247 #if (__GNUC__ == 3) && \
49248 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49249 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49250 ( defined(__INTEL_COMPILER) )
49251 There is no PCH support
49252 #endif
49253
49254 ;
49255 return 0;
49256 }
49257 _ACEOF
49258 rm -f conftest.$ac_objext
49259 if { (ac_try="$ac_compile"
49260 case "(($ac_try" in
49261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49262 *) ac_try_echo=$ac_try;;
49263 esac
49264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49265 (eval "$ac_compile") 2>conftest.er1
49266 ac_status=$?
49267 grep -v '^ *+' conftest.er1 >conftest.err
49268 rm -f conftest.er1
49269 cat conftest.err >&5
49270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271 (exit $ac_status); } && {
49272 test -z "$ac_c_werror_flag" ||
49273 test ! -s conftest.err
49274 } && test -s conftest.$ac_objext; then
49275
49276 { echo "$as_me:$LINENO: result: yes" >&5
49277 echo "${ECHO_T}yes" >&6; }
49278 GCC_PCH=1
49279
49280 else
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49283
49284
49285 cat >conftest.$ac_ext <<_ACEOF
49286 /* confdefs.h. */
49287 _ACEOF
49288 cat confdefs.h >>conftest.$ac_ext
49289 cat >>conftest.$ac_ext <<_ACEOF
49290 /* end confdefs.h. */
49291
49292 int
49293 main ()
49294 {
49295
49296 #if !defined(__INTEL_COMPILER) || \
49297 (__INTEL_COMPILER < 800)
49298 There is no PCH support
49299 #endif
49300
49301 ;
49302 return 0;
49303 }
49304 _ACEOF
49305 rm -f conftest.$ac_objext
49306 if { (ac_try="$ac_compile"
49307 case "(($ac_try" in
49308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49309 *) ac_try_echo=$ac_try;;
49310 esac
49311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49312 (eval "$ac_compile") 2>conftest.er1
49313 ac_status=$?
49314 grep -v '^ *+' conftest.er1 >conftest.err
49315 rm -f conftest.er1
49316 cat conftest.err >&5
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); } && {
49319 test -z "$ac_c_werror_flag" ||
49320 test ! -s conftest.err
49321 } && test -s conftest.$ac_objext; then
49322
49323 { echo "$as_me:$LINENO: result: yes" >&5
49324 echo "${ECHO_T}yes" >&6; }
49325 ICC_PCH=1
49326
49327 else
49328 echo "$as_me: failed program was:" >&5
49329 sed 's/^/| /' conftest.$ac_ext >&5
49330
49331
49332 { echo "$as_me:$LINENO: result: no" >&5
49333 echo "${ECHO_T}no" >&6; }
49334
49335 fi
49336
49337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49338
49339 fi
49340
49341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49342 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49343 USE_PCH=1
49344
49345 D='$'
49346 cat <<EOF >bk-make-pch
49347 #!/bin/sh
49348
49349 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49350 # script. It is used to generated precompiled headers.
49351 #
49352 # Permission is given to use this file in any way.
49353
49354 outfile="${D}{1}"
49355 header="${D}{2}"
49356 shift
49357 shift
49358
49359 compiler=""
49360 headerfile=""
49361
49362 while test ${D}{#} -gt 0; do
49363 add_to_cmdline=1
49364 case "${D}{1}" in
49365 -I* )
49366 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49367 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49368 headerfile="${D}{incdir}/${D}{header}"
49369 fi
49370 ;;
49371 -use-pch|-use_pch )
49372 shift
49373 add_to_cmdline=0
49374 ;;
49375 esac
49376 if test ${D}add_to_cmdline = 1 ; then
49377 compiler="${D}{compiler} ${D}{1}"
49378 fi
49379 shift
49380 done
49381
49382 if test "x${D}{headerfile}" = "x" ; then
49383 echo "error: can't find header ${D}{header} in include paths" >&2
49384 else
49385 if test -f ${D}{outfile} ; then
49386 rm -f ${D}{outfile}
49387 else
49388 mkdir -p \`dirname ${D}{outfile}\`
49389 fi
49390 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49391 mkdir -p .deps
49392 if test "x${GCC_PCH}" = "x1" ; then
49393 # can do this because gcc is >= 3.4:
49394 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49395 elif test "x${ICC_PCH}" = "x1" ; then
49396 filename=pch_gen-${D}${D}
49397 file=${D}{filename}.c
49398 dfile=${D}{filename}.d
49399 cat > ${D}file <<EOT
49400 #include "${D}header"
49401 EOT
49402 # using -MF icc complains about differing command lines in creation/use
49403 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49404 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49405 rm -f ${D}file ${D}dfile ${D}{filename}.o
49406 fi
49407 exit ${D}{?}
49408 fi
49409 EOF
49410
49411 chmod +x bk-make-pch
49412 BK_MAKE_PCH="`pwd`/bk-make-pch"
49413 fi
49414 fi
49415 fi
49416
49417
49418
49419
49420
49421 COND_BUILD_DEBUG="#"
49422 if test "x$BUILD" = "xdebug" ; then
49423 COND_BUILD_DEBUG=""
49424 fi
49425
49426 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49427 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49429 fi
49430
49431 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49432 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49434 fi
49435
49436 COND_BUILD_DEBUG_UNICODE_0="#"
49437 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49438 COND_BUILD_DEBUG_UNICODE_0=""
49439 fi
49440
49441 COND_BUILD_DEBUG_UNICODE_1="#"
49442 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49443 COND_BUILD_DEBUG_UNICODE_1=""
49444 fi
49445
49446 COND_BUILD_RELEASE="#"
49447 if test "x$BUILD" = "xrelease" ; then
49448 COND_BUILD_RELEASE=""
49449 fi
49450
49451 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49452 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49454 fi
49455
49456 COND_BUILD_RELEASE_UNICODE_0="#"
49457 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49458 COND_BUILD_RELEASE_UNICODE_0=""
49459 fi
49460
49461 COND_BUILD_RELEASE_UNICODE_1="#"
49462 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49463 COND_BUILD_RELEASE_UNICODE_1=""
49464 fi
49465
49466 COND_DEBUG_FLAG_1="#"
49467 if test "x$DEBUG_FLAG" = "x1" ; then
49468 COND_DEBUG_FLAG_1=""
49469 fi
49470
49471 COND_DEBUG_INFO_0="#"
49472 if test "x$DEBUG_INFO" = "x0" ; then
49473 COND_DEBUG_INFO_0=""
49474 fi
49475
49476 COND_DEBUG_INFO_1="#"
49477 if test "x$DEBUG_INFO" = "x1" ; then
49478 COND_DEBUG_INFO_1=""
49479 fi
49480
49481 COND_DEPS_TRACKING_0="#"
49482 if test "x$DEPS_TRACKING" = "x0" ; then
49483 COND_DEPS_TRACKING_0=""
49484 fi
49485
49486 COND_DEPS_TRACKING_1="#"
49487 if test "x$DEPS_TRACKING" = "x1" ; then
49488 COND_DEPS_TRACKING_1=""
49489 fi
49490
49491 COND_GCC_PCH_1="#"
49492 if test "x$GCC_PCH" = "x1" ; then
49493 COND_GCC_PCH_1=""
49494 fi
49495
49496 COND_ICC_PCH_1="#"
49497 if test "x$ICC_PCH" = "x1" ; then
49498 COND_ICC_PCH_1=""
49499 fi
49500
49501 COND_MONOLITHIC_0="#"
49502 if test "x$MONOLITHIC" = "x0" ; then
49503 COND_MONOLITHIC_0=""
49504 fi
49505
49506 COND_MONOLITHIC_0_SHARED_0="#"
49507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49508 COND_MONOLITHIC_0_SHARED_0=""
49509 fi
49510
49511 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49513 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49514 fi
49515
49516 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49517 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49519 fi
49520
49521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49522 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49523 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49524 fi
49525
49526 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49529 fi
49530
49531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49534 fi
49535
49536 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49538 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49539 fi
49540
49541 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49543 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49544 fi
49545
49546 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49548 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49549 fi
49550
49551 COND_MONOLITHIC_0_SHARED_1="#"
49552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49553 COND_MONOLITHIC_0_SHARED_1=""
49554 fi
49555
49556 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49558 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49559 fi
49560
49561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49564 fi
49565
49566 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49568 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49569 fi
49570
49571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49573 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49574 fi
49575
49576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49578 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49579 fi
49580
49581 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49583 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49584 fi
49585
49586 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49588 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49589 fi
49590
49591 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49593 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49594 fi
49595
49596 COND_MONOLITHIC_0_USE_AUI_1="#"
49597 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49598 COND_MONOLITHIC_0_USE_AUI_1=""
49599 fi
49600
49601 COND_MONOLITHIC_0_USE_GUI_1="#"
49602 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49603 COND_MONOLITHIC_0_USE_GUI_1=""
49604 fi
49605
49606 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49607 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49608 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49609 fi
49610
49611 COND_MONOLITHIC_0_USE_HTML_1="#"
49612 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49613 COND_MONOLITHIC_0_USE_HTML_1=""
49614 fi
49615
49616 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49617 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49618 COND_MONOLITHIC_0_USE_MEDIA_1=""
49619 fi
49620
49621 COND_MONOLITHIC_0_USE_QA_1="#"
49622 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49623 COND_MONOLITHIC_0_USE_QA_1=""
49624 fi
49625
49626 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49627 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49628 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49629 fi
49630
49631 COND_MONOLITHIC_0_USE_STC_1="#"
49632 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49633 COND_MONOLITHIC_0_USE_STC_1=""
49634 fi
49635
49636 COND_MONOLITHIC_0_USE_XRC_1="#"
49637 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49638 COND_MONOLITHIC_0_USE_XRC_1=""
49639 fi
49640
49641 COND_MONOLITHIC_1="#"
49642 if test "x$MONOLITHIC" = "x1" ; then
49643 COND_MONOLITHIC_1=""
49644 fi
49645
49646 COND_MONOLITHIC_1_SHARED_0="#"
49647 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49648 COND_MONOLITHIC_1_SHARED_0=""
49649 fi
49650
49651 COND_MONOLITHIC_1_SHARED_1="#"
49652 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49653 COND_MONOLITHIC_1_SHARED_1=""
49654 fi
49655
49656 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49657 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49658 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49659 fi
49660
49661 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49662 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49663 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49664 fi
49665
49666 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49667 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49668 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49669 fi
49670
49671 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49672 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49673 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49674 fi
49675
49676 COND_PLATFORM_MACOSX_1="#"
49677 if test "x$PLATFORM_MACOSX" = "x1" ; then
49678 COND_PLATFORM_MACOSX_1=""
49679 fi
49680
49681 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49682 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49683 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49684 fi
49685
49686 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49687 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49688 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49689 fi
49690
49691 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49692 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49693 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49694 fi
49695
49696 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1="#"
49697 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49698 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1=""
49699 fi
49700
49701 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49702 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49703 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49704 fi
49705
49706 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49707 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49708 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49709 fi
49710
49711 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49712 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49713 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49714 fi
49715
49716 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49717 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49718 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49719 fi
49720
49721 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49722 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49723 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49724 fi
49725
49726 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49727 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49728 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49729 fi
49730
49731 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49732 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49733 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49734 fi
49735
49736 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49737 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49738 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49739 fi
49740
49741 COND_PLATFORM_MACOS_1="#"
49742 if test "x$PLATFORM_MACOS" = "x1" ; then
49743 COND_PLATFORM_MACOS_1=""
49744 fi
49745
49746 COND_PLATFORM_MAC_0="#"
49747 if test "x$PLATFORM_MAC" = "x0" ; then
49748 COND_PLATFORM_MAC_0=""
49749 fi
49750
49751 COND_PLATFORM_MAC_1="#"
49752 if test "x$PLATFORM_MAC" = "x1" ; then
49753 COND_PLATFORM_MAC_1=""
49754 fi
49755
49756 COND_PLATFORM_MSDOS_0="#"
49757 if test "x$PLATFORM_MSDOS" = "x0" ; then
49758 COND_PLATFORM_MSDOS_0=""
49759 fi
49760
49761 COND_PLATFORM_MSDOS_1="#"
49762 if test "x$PLATFORM_MSDOS" = "x1" ; then
49763 COND_PLATFORM_MSDOS_1=""
49764 fi
49765
49766 COND_PLATFORM_OS2_1="#"
49767 if test "x$PLATFORM_OS2" = "x1" ; then
49768 COND_PLATFORM_OS2_1=""
49769 fi
49770
49771 COND_PLATFORM_UNIX_0="#"
49772 if test "x$PLATFORM_UNIX" = "x0" ; then
49773 COND_PLATFORM_UNIX_0=""
49774 fi
49775
49776 COND_PLATFORM_UNIX_1="#"
49777 if test "x$PLATFORM_UNIX" = "x1" ; then
49778 COND_PLATFORM_UNIX_1=""
49779 fi
49780
49781 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49782 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49783 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49784 fi
49785
49786 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49787 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49788 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49789 fi
49790
49791 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49792 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49793 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49794 fi
49795
49796 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49797 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49798 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49799 fi
49800
49801 COND_PLATFORM_WIN32_0="#"
49802 if test "x$PLATFORM_WIN32" = "x0" ; then
49803 COND_PLATFORM_WIN32_0=""
49804 fi
49805
49806 COND_PLATFORM_WIN32_1="#"
49807 if test "x$PLATFORM_WIN32" = "x1" ; then
49808 COND_PLATFORM_WIN32_1=""
49809 fi
49810
49811 COND_SHARED_0="#"
49812 if test "x$SHARED" = "x0" ; then
49813 COND_SHARED_0=""
49814 fi
49815
49816 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49817 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49818 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49819 fi
49820
49821 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49822 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49823 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49824 fi
49825
49826 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49827 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49828 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49829 fi
49830
49831 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49832 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49833 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49834 fi
49835
49836 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49837 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49838 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49839 fi
49840
49841 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49842 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49843 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49844 fi
49845
49846 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49847 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49848 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49849 fi
49850
49851 COND_SHARED_0_USE_STC_1="#"
49852 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49853 COND_SHARED_0_USE_STC_1=""
49854 fi
49855
49856 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49857 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49858 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49859 fi
49860
49861 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49862 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49863 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49864 fi
49865
49866 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49867 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49868 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49869 fi
49870
49871 COND_SHARED_1="#"
49872 if test "x$SHARED" = "x1" ; then
49873 COND_SHARED_1=""
49874 fi
49875
49876 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49877 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49878 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49879 fi
49880
49881 COND_TOOLKIT_="#"
49882 if test "x$TOOLKIT" = "x" ; then
49883 COND_TOOLKIT_=""
49884 fi
49885
49886 COND_TOOLKIT_COCOA="#"
49887 if test "x$TOOLKIT" = "xCOCOA" ; then
49888 COND_TOOLKIT_COCOA=""
49889 fi
49890
49891 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49892 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49893 COND_TOOLKIT_COCOA_USE_GUI_1=""
49894 fi
49895
49896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49897 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49898 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49899 fi
49900
49901 COND_TOOLKIT_DFB="#"
49902 if test "x$TOOLKIT" = "xDFB" ; then
49903 COND_TOOLKIT_DFB=""
49904 fi
49905
49906 COND_TOOLKIT_DFB_USE_GUI_1="#"
49907 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49908 COND_TOOLKIT_DFB_USE_GUI_1=""
49909 fi
49910
49911 COND_TOOLKIT_GTK="#"
49912 if test "x$TOOLKIT" = "xGTK" ; then
49913 COND_TOOLKIT_GTK=""
49914 fi
49915
49916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49917 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49919 fi
49920
49921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49922 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49924 fi
49925
49926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49927 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49929 fi
49930
49931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49932 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49934 fi
49935
49936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49937 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49938 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49939 fi
49940
49941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49942 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49943 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49944 fi
49945
49946 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49947 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49948 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49949 fi
49950
49951 COND_TOOLKIT_GTK_USE_GUI_1="#"
49952 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49953 COND_TOOLKIT_GTK_USE_GUI_1=""
49954 fi
49955
49956 COND_TOOLKIT_MAC="#"
49957 if test "x$TOOLKIT" = "xMAC" ; then
49958 COND_TOOLKIT_MAC=""
49959 fi
49960
49961 COND_TOOLKIT_MAC_USE_GUI_1="#"
49962 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49963 COND_TOOLKIT_MAC_USE_GUI_1=""
49964 fi
49965
49966 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49967 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49968 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49969 fi
49970
49971 COND_TOOLKIT_MGL="#"
49972 if test "x$TOOLKIT" = "xMGL" ; then
49973 COND_TOOLKIT_MGL=""
49974 fi
49975
49976 COND_TOOLKIT_MGL_USE_GUI_1="#"
49977 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49978 COND_TOOLKIT_MGL_USE_GUI_1=""
49979 fi
49980
49981 COND_TOOLKIT_MOTIF="#"
49982 if test "x$TOOLKIT" = "xMOTIF" ; then
49983 COND_TOOLKIT_MOTIF=""
49984 fi
49985
49986 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49987 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49988 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49989 fi
49990
49991 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49992 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49993 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49994 fi
49995
49996 COND_TOOLKIT_MSW="#"
49997 if test "x$TOOLKIT" = "xMSW" ; then
49998 COND_TOOLKIT_MSW=""
49999 fi
50000
50001 COND_TOOLKIT_MSW_USE_GUI_1="#"
50002 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50003 COND_TOOLKIT_MSW_USE_GUI_1=""
50004 fi
50005
50006 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50007 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50008 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50009 fi
50010
50011 COND_TOOLKIT_MSW_WXUNIV_0="#"
50012 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50013 COND_TOOLKIT_MSW_WXUNIV_0=""
50014 fi
50015
50016 COND_TOOLKIT_PM="#"
50017 if test "x$TOOLKIT" = "xPM" ; then
50018 COND_TOOLKIT_PM=""
50019 fi
50020
50021 COND_TOOLKIT_PM_USE_GUI_1="#"
50022 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50023 COND_TOOLKIT_PM_USE_GUI_1=""
50024 fi
50025
50026 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50027 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50028 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50029 fi
50030
50031 COND_TOOLKIT_WINCE="#"
50032 if test "x$TOOLKIT" = "xWINCE" ; then
50033 COND_TOOLKIT_WINCE=""
50034 fi
50035
50036 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50037 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50038 COND_TOOLKIT_WINCE_USE_GUI_1=""
50039 fi
50040
50041 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50042 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50043 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50044 fi
50045
50046 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50047 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50048 COND_TOOLKIT_WINCE_WXUNIV_0=""
50049 fi
50050
50051 COND_TOOLKIT_X11="#"
50052 if test "x$TOOLKIT" = "xX11" ; then
50053 COND_TOOLKIT_X11=""
50054 fi
50055
50056 COND_TOOLKIT_X11_USE_GUI_1="#"
50057 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50058 COND_TOOLKIT_X11_USE_GUI_1=""
50059 fi
50060
50061 COND_UNICODE_1="#"
50062 if test "x$UNICODE" = "x1" ; then
50063 COND_UNICODE_1=""
50064 fi
50065
50066 COND_USE_EXCEPTIONS_0="#"
50067 if test "x$USE_EXCEPTIONS" = "x0" ; then
50068 COND_USE_EXCEPTIONS_0=""
50069 fi
50070
50071 COND_USE_EXCEPTIONS_1="#"
50072 if test "x$USE_EXCEPTIONS" = "x1" ; then
50073 COND_USE_EXCEPTIONS_1=""
50074 fi
50075
50076 COND_USE_GUI_0="#"
50077 if test "x$USE_GUI" = "x0" ; then
50078 COND_USE_GUI_0=""
50079 fi
50080
50081 COND_USE_GUI_1="#"
50082 if test "x$USE_GUI" = "x1" ; then
50083 COND_USE_GUI_1=""
50084 fi
50085
50086 COND_USE_GUI_1_USE_OPENGL_1="#"
50087 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50088 COND_USE_GUI_1_USE_OPENGL_1=""
50089 fi
50090
50091 COND_USE_GUI_1_WXUNIV_0="#"
50092 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50093 COND_USE_GUI_1_WXUNIV_0=""
50094 fi
50095
50096 COND_USE_GUI_1_WXUNIV_1="#"
50097 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50098 COND_USE_GUI_1_WXUNIV_1=""
50099 fi
50100
50101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50102 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50103 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50104 fi
50105
50106 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50107 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50108 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50109 fi
50110
50111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50112 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50113 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50114 fi
50115
50116 COND_USE_OPENGL_1="#"
50117 if test "x$USE_OPENGL" = "x1" ; then
50118 COND_USE_OPENGL_1=""
50119 fi
50120
50121 COND_USE_PCH_1="#"
50122 if test "x$USE_PCH" = "x1" ; then
50123 COND_USE_PCH_1=""
50124 fi
50125
50126 COND_USE_PLUGINS_0="#"
50127 if test "x$USE_PLUGINS" = "x0" ; then
50128 COND_USE_PLUGINS_0=""
50129 fi
50130
50131 COND_USE_RTTI_0="#"
50132 if test "x$USE_RTTI" = "x0" ; then
50133 COND_USE_RTTI_0=""
50134 fi
50135
50136 COND_USE_RTTI_1="#"
50137 if test "x$USE_RTTI" = "x1" ; then
50138 COND_USE_RTTI_1=""
50139 fi
50140
50141 COND_USE_SOSYMLINKS_1="#"
50142 if test "x$USE_SOSYMLINKS" = "x1" ; then
50143 COND_USE_SOSYMLINKS_1=""
50144 fi
50145
50146 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50147 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50148 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50149 fi
50150
50151 COND_USE_SOVERLINUX_1="#"
50152 if test "x$USE_SOVERLINUX" = "x1" ; then
50153 COND_USE_SOVERLINUX_1=""
50154 fi
50155
50156 COND_USE_SOVERSION_0="#"
50157 if test "x$USE_SOVERSION" = "x0" ; then
50158 COND_USE_SOVERSION_0=""
50159 fi
50160
50161 COND_USE_SOVERSOLARIS_1="#"
50162 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50163 COND_USE_SOVERSOLARIS_1=""
50164 fi
50165
50166 COND_USE_STC_1="#"
50167 if test "x$USE_STC" = "x1" ; then
50168 COND_USE_STC_1=""
50169 fi
50170
50171 COND_USE_THREADS_0="#"
50172 if test "x$USE_THREADS" = "x0" ; then
50173 COND_USE_THREADS_0=""
50174 fi
50175
50176 COND_USE_THREADS_1="#"
50177 if test "x$USE_THREADS" = "x1" ; then
50178 COND_USE_THREADS_1=""
50179 fi
50180
50181 COND_USE_XRC_1="#"
50182 if test "x$USE_XRC" = "x1" ; then
50183 COND_USE_XRC_1=""
50184 fi
50185
50186 COND_WINDOWS_IMPLIB_1="#"
50187 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50188 COND_WINDOWS_IMPLIB_1=""
50189 fi
50190
50191 COND_WITH_PLUGIN_SDL_1="#"
50192 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50193 COND_WITH_PLUGIN_SDL_1=""
50194 fi
50195
50196 COND_WXUNIV_0="#"
50197 if test "x$WXUNIV" = "x0" ; then
50198 COND_WXUNIV_0=""
50199 fi
50200
50201 COND_WXUNIV_1="#"
50202 if test "x$WXUNIV" = "x1" ; then
50203 COND_WXUNIV_1=""
50204 fi
50205
50206 COND_WXUSE_EXPAT_BUILTIN="#"
50207 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50208 COND_WXUSE_EXPAT_BUILTIN=""
50209 fi
50210
50211 COND_WXUSE_LIBJPEG_BUILTIN="#"
50212 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50213 COND_WXUSE_LIBJPEG_BUILTIN=""
50214 fi
50215
50216 COND_WXUSE_LIBPNG_BUILTIN="#"
50217 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50218 COND_WXUSE_LIBPNG_BUILTIN=""
50219 fi
50220
50221 COND_WXUSE_LIBTIFF_BUILTIN="#"
50222 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50223 COND_WXUSE_LIBTIFF_BUILTIN=""
50224 fi
50225
50226 COND_WXUSE_REGEX_BUILTIN="#"
50227 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50228 COND_WXUSE_REGEX_BUILTIN=""
50229 fi
50230
50231 COND_WXUSE_ZLIB_BUILTIN="#"
50232 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50233 COND_WXUSE_ZLIB_BUILTIN=""
50234 fi
50235
50236
50237
50238 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50239 { { 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
50240 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;}
50241 { (exit 1); exit 1; }; }
50242 fi
50243
50244 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50245 { { 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
50246 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;}
50247 { (exit 1); exit 1; }; }
50248 fi
50249
50250
50251 case ${INSTALL} in
50252 /* ) # Absolute
50253 ;;
50254 ?:* ) # Drive letter, considered as absolute.
50255 ;;
50256 *)
50257 INSTALL=`pwd`/${INSTALL} ;;
50258 esac
50259
50260 if test "$wxUSE_GUI" = "yes"; then
50261
50262 if test "$wxUSE_MSW" = 1 ; then
50263 if test "x$WINDRES" = "x"; then
50264 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50265 echo "$as_me: error: Required windres program not found" >&2;}
50266 { (exit 1); exit 1; }; }
50267 fi
50268
50269 RESCOMP="$WINDRES"
50270 fi
50271
50272 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50273 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50274 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50275
50276 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50277
50278 # Extract the first word of "DeRez", so it can be a program name with args.
50279 set dummy DeRez; ac_word=$2
50280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50282 if test "${ac_cv_prog_DEREZ+set}" = set; then
50283 echo $ECHO_N "(cached) $ECHO_C" >&6
50284 else
50285 if test -n "$DEREZ"; then
50286 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50287 else
50288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50289 for as_dir in $PATH
50290 do
50291 IFS=$as_save_IFS
50292 test -z "$as_dir" && as_dir=.
50293 for ac_exec_ext in '' $ac_executable_extensions; do
50294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50295 ac_cv_prog_DEREZ="DeRez"
50296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50297 break 2
50298 fi
50299 done
50300 done
50301 IFS=$as_save_IFS
50302
50303 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50304 fi
50305 fi
50306 DEREZ=$ac_cv_prog_DEREZ
50307 if test -n "$DEREZ"; then
50308 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50309 echo "${ECHO_T}$DEREZ" >&6; }
50310 else
50311 { echo "$as_me:$LINENO: result: no" >&5
50312 echo "${ECHO_T}no" >&6; }
50313 fi
50314
50315
50316
50317 MACSETFILE="\$(SETFILE)"
50318
50319 if test "$wxUSE_MAC" = 1; then
50320 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50321 RESCOMP="$REZ"
50322 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50323 else
50324 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50325 RESCOMP="cat /dev/null \| $REZ"
50326 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50327 fi
50328
50329 else
50330 MACSETFILE="@true"
50331
50332 if test "$wxUSE_PM" = 1; then
50333 RESCOMP="emxbind"
50334 WXCONFIG_RESFLAGS="-ep"
50335
50336 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50337 else
50338 POSTLINK_COMMAND="@true"
50339 fi
50340 fi
50341
50342 fi
50343
50344
50345 if test $GCC_PCH = 1
50346 then
50347 if test "$wx_cv_gcc_pch_bug" = yes; then
50348 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50349 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50350 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50351 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50352 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50353 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50354 fi
50355
50356 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50357 # the headers that benefit from precompilation are mostly C++ headers.
50358 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50359 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50360 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50361 fi
50362
50363
50364 if test "$wxUSE_MAC" = 1 ; then
50365 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50366 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50367 mv temp bk-deps
50368 chmod +x bk-deps
50369 fi
50370 fi
50371
50372 if test "$wxUSE_SHARED" = "yes"; then
50373 case "${host}" in
50374 *-pc-os2_emx | *-pc-os2-emx )
50375 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50376 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50377 cp -p ${srcdir}/src/os2/dllnames.sh .
50378 cp -p ${srcdir}/src/os2/dllar.sh .
50379 ;;
50380 esac
50381 fi
50382 if test "$wxUSE_OMF" = "yes"; then
50383 case "${host}" in
50384 *-pc-os2_emx | *-pc-os2-emx )
50385 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50386 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50387 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50388 ;;
50389 esac
50390 fi
50391
50392 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50393
50394
50395 case "${host}" in
50396 *-*-solaris2* )
50397 if test "$GCC" = yes; then
50398 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50399 LIBS=`echo $LIBS | sed 's/-mt//'`
50400 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50401 fi
50402 ;;
50403
50404 *-*-linux* )
50405 if test "x$SUNCXX" = xyes; then
50406 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50407 LIBS=`echo $LIBS | sed 's/-pthread//'`
50408 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50409 fi
50410 ;;
50411 esac
50412
50413 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50414 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50415
50416 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50478 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50479 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50480 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50481 echo $ECHO_N "(cached) $ECHO_C" >&6
50482 else
50483 cat >conftest.make <<\_ACEOF
50484 SHELL = /bin/sh
50485 all:
50486 @echo '@@@%%%=$(MAKE)=@@@%%%'
50487 _ACEOF
50488 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50489 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50490 *@@@%%%=?*=@@@%%%*)
50491 eval ac_cv_prog_make_${ac_make}_set=yes;;
50492 *)
50493 eval ac_cv_prog_make_${ac_make}_set=no;;
50494 esac
50495 rm -f conftest.make
50496 fi
50497 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50498 { echo "$as_me:$LINENO: result: yes" >&5
50499 echo "${ECHO_T}yes" >&6; }
50500 SET_MAKE=
50501 else
50502 { echo "$as_me:$LINENO: result: no" >&5
50503 echo "${ECHO_T}no" >&6; }
50504 SET_MAKE="MAKE=${MAKE-make}"
50505 fi
50506
50507
50508
50509 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50510
50511
50512 if test "$USE_WIN32" = 1; then
50513 ac_config_commands="$ac_config_commands
50514 rcdefs.h
50515 "
50516
50517 fi
50518
50519 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50520
50521
50522 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50523
50524
50525 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50526
50527
50528 if test "$wx_cv_version_script" = "yes"; then
50529 ac_config_files="$ac_config_files version-script"
50530
50531 fi
50532 ac_config_files="$ac_config_files Makefile"
50533
50534
50535 ac_config_commands="$ac_config_commands wx-config"
50536
50537
50538
50539 if test "$wxWITH_SUBDIRS" != "no"; then
50540 if test "$wxUSE_GUI" = "yes"; then
50541 SUBDIRS="samples demos utils"
50542 else
50543 SUBDIRS="samples utils"
50544 fi
50545
50546
50547
50548 # Check whether --with-cppunit-prefix was given.
50549 if test "${with_cppunit_prefix+set}" = set; then
50550 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50551 else
50552 cppunit_config_prefix=""
50553 fi
50554
50555
50556 # Check whether --with-cppunit-exec-prefix was given.
50557 if test "${with_cppunit_exec_prefix+set}" = set; then
50558 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50559 else
50560 cppunit_config_exec_prefix=""
50561 fi
50562
50563
50564 if test x$cppunit_config_exec_prefix != x ; then
50565 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50566 if test x${CPPUNIT_CONFIG+set} != xset ; then
50567 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50568 fi
50569 fi
50570 if test x$cppunit_config_prefix != x ; then
50571 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50572 if test x${CPPUNIT_CONFIG+set} != xset ; then
50573 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50574 fi
50575 fi
50576
50577 # Extract the first word of "cppunit-config", so it can be a program name with args.
50578 set dummy cppunit-config; ac_word=$2
50579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50581 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50583 else
50584 case $CPPUNIT_CONFIG in
50585 [\\/]* | ?:[\\/]*)
50586 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50587 ;;
50588 *)
50589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50590 for as_dir in $PATH
50591 do
50592 IFS=$as_save_IFS
50593 test -z "$as_dir" && as_dir=.
50594 for ac_exec_ext in '' $ac_executable_extensions; do
50595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50596 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50598 break 2
50599 fi
50600 done
50601 done
50602 IFS=$as_save_IFS
50603
50604 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50605 ;;
50606 esac
50607 fi
50608 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50609 if test -n "$CPPUNIT_CONFIG"; then
50610 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50611 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50612 else
50613 { echo "$as_me:$LINENO: result: no" >&5
50614 echo "${ECHO_T}no" >&6; }
50615 fi
50616
50617
50618 cppunit_version_min=1.8.0
50619
50620 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50621 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50622 no_cppunit=""
50623 if test "$CPPUNIT_CONFIG" = "no" ; then
50624 { echo "$as_me:$LINENO: result: no" >&5
50625 echo "${ECHO_T}no" >&6; }
50626 no_cppunit=yes
50627 else
50628 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50629 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50630 cppunit_version=`$CPPUNIT_CONFIG --version`
50631
50632 cppunit_major_version=`echo $cppunit_version | \
50633 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50634 cppunit_minor_version=`echo $cppunit_version | \
50635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50636 cppunit_micro_version=`echo $cppunit_version | \
50637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50638
50639 cppunit_major_min=`echo $cppunit_version_min | \
50640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50641 cppunit_minor_min=`echo $cppunit_version_min | \
50642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50643 cppunit_micro_min=`echo $cppunit_version_min | \
50644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50645
50646 cppunit_version_proper=`expr \
50647 $cppunit_major_version \> $cppunit_major_min \| \
50648 $cppunit_major_version \= $cppunit_major_min \& \
50649 $cppunit_minor_version \> $cppunit_minor_min \| \
50650 $cppunit_major_version \= $cppunit_major_min \& \
50651 $cppunit_minor_version \= $cppunit_minor_min \& \
50652 $cppunit_micro_version \>= $cppunit_micro_min `
50653
50654 if test "$cppunit_version_proper" = "1" ; then
50655 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50656 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50657 else
50658 { echo "$as_me:$LINENO: result: no" >&5
50659 echo "${ECHO_T}no" >&6; }
50660 no_cppunit=yes
50661 fi
50662 fi
50663
50664 if test "x$no_cppunit" = x ; then
50665 SUBDIRS="$SUBDIRS tests"
50666 else
50667 CPPUNIT_CFLAGS=""
50668 CPPUNIT_LIBS=""
50669 :
50670 fi
50671
50672
50673
50674
50675
50676 for subdir in $SUBDIRS; do
50677 if test -d ${srcdir}/${subdir} ; then
50678 if test "$wxUSE_GUI" = "yes"; then
50679 if test ${subdir} = "samples"; then
50680 makefiles="samples/Makefile.in $makefiles"
50681 for sample in $SAMPLES_SUBDIRS; do
50682 if test -d $srcdir/samples/$sample; then
50683 makefiles="samples/$sample/Makefile.in $makefiles"
50684 fi
50685 done
50686 else
50687 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50688 eval "disabled=\$$disabled_var"
50689 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50690 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50691 fi
50692 else
50693 if test ${subdir} = "samples"; then
50694 makefiles="samples/Makefile.in $makefiles"
50695 for sample in `echo $SAMPLES_SUBDIRS`; do
50696 if test -d $srcdir/samples/$sample; then
50697 makefiles="samples/$sample/Makefile.in $makefiles"
50698 fi
50699 done
50700 elif test ${subdir} = "utils"; then
50701 makefiles=""
50702 for util in ifacecheck ; do
50703 if test -d $srcdir/utils/$util ; then
50704 makefiles="utils/$util/src/Makefile.in \
50705 $makefiles"
50706 fi
50707 done
50708 else
50709 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50710 fi
50711 fi
50712
50713 for mkin in $makefiles ; do
50714 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50715 ac_config_files="$ac_config_files $mk"
50716
50717 done
50718 fi
50719 done
50720 fi
50721 cat >confcache <<\_ACEOF
50722 # This file is a shell script that caches the results of configure
50723 # tests run on this system so they can be shared between configure
50724 # scripts and configure runs, see configure's option --config-cache.
50725 # It is not useful on other systems. If it contains results you don't
50726 # want to keep, you may remove or edit it.
50727 #
50728 # config.status only pays attention to the cache file if you give it
50729 # the --recheck option to rerun configure.
50730 #
50731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50733 # following values.
50734
50735 _ACEOF
50736
50737 # The following way of writing the cache mishandles newlines in values,
50738 # but we know of no workaround that is simple, portable, and efficient.
50739 # So, we kill variables containing newlines.
50740 # Ultrix sh set writes to stderr and can't be redirected directly,
50741 # and sets the high bit in the cache file unless we assign to the vars.
50742 (
50743 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50744 eval ac_val=\$$ac_var
50745 case $ac_val in #(
50746 *${as_nl}*)
50747 case $ac_var in #(
50748 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50749 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50750 esac
50751 case $ac_var in #(
50752 _ | IFS | as_nl) ;; #(
50753 *) $as_unset $ac_var ;;
50754 esac ;;
50755 esac
50756 done
50757
50758 (set) 2>&1 |
50759 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50760 *${as_nl}ac_space=\ *)
50761 # `set' does not quote correctly, so add quotes (double-quote
50762 # substitution turns \\\\ into \\, and sed turns \\ into \).
50763 sed -n \
50764 "s/'/'\\\\''/g;
50765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50766 ;; #(
50767 *)
50768 # `set' quotes correctly as required by POSIX, so do not add quotes.
50769 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50770 ;;
50771 esac |
50772 sort
50773 ) |
50774 sed '
50775 /^ac_cv_env_/b end
50776 t clear
50777 :clear
50778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50779 t end
50780 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50781 :end' >>confcache
50782 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50783 if test -w "$cache_file"; then
50784 test "x$cache_file" != "x/dev/null" &&
50785 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50786 echo "$as_me: updating cache $cache_file" >&6;}
50787 cat confcache >$cache_file
50788 else
50789 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50790 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50791 fi
50792 fi
50793 rm -f confcache
50794
50795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50796 # Let make expand exec_prefix.
50797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50798
50799 DEFS=-DHAVE_CONFIG_H
50800
50801 ac_libobjs=
50802 ac_ltlibobjs=
50803 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50804 # 1. Remove the extension, and $U if already installed.
50805 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50806 ac_i=`echo "$ac_i" | sed "$ac_script"`
50807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50808 # will be set to the directory where LIBOBJS objects are built.
50809 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50810 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50811 done
50812 LIBOBJS=$ac_libobjs
50813
50814 LTLIBOBJS=$ac_ltlibobjs
50815
50816
50817
50818 : ${CONFIG_STATUS=./config.status}
50819 ac_clean_files_save=$ac_clean_files
50820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50823 cat >$CONFIG_STATUS <<_ACEOF
50824 #! $SHELL
50825 # Generated by $as_me.
50826 # Run this file to recreate the current configuration.
50827 # Compiler output produced by configure, useful for debugging
50828 # configure, is in config.log if it exists.
50829
50830 debug=false
50831 ac_cs_recheck=false
50832 ac_cs_silent=false
50833 SHELL=\${CONFIG_SHELL-$SHELL}
50834 _ACEOF
50835
50836 cat >>$CONFIG_STATUS <<\_ACEOF
50837 ## --------------------- ##
50838 ## M4sh Initialization. ##
50839 ## --------------------- ##
50840
50841 # Be more Bourne compatible
50842 DUALCASE=1; export DUALCASE # for MKS sh
50843 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50844 emulate sh
50845 NULLCMD=:
50846 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50847 # is contrary to our usage. Disable this feature.
50848 alias -g '${1+"$@"}'='"$@"'
50849 setopt NO_GLOB_SUBST
50850 else
50851 case `(set -o) 2>/dev/null` in
50852 *posix*) set -o posix ;;
50853 esac
50854
50855 fi
50856
50857
50858
50859
50860 # PATH needs CR
50861 # Avoid depending upon Character Ranges.
50862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50865 as_cr_digits='0123456789'
50866 as_cr_alnum=$as_cr_Letters$as_cr_digits
50867
50868 # The user is always right.
50869 if test "${PATH_SEPARATOR+set}" != set; then
50870 echo "#! /bin/sh" >conf$$.sh
50871 echo "exit 0" >>conf$$.sh
50872 chmod +x conf$$.sh
50873 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50874 PATH_SEPARATOR=';'
50875 else
50876 PATH_SEPARATOR=:
50877 fi
50878 rm -f conf$$.sh
50879 fi
50880
50881 # Support unset when possible.
50882 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50883 as_unset=unset
50884 else
50885 as_unset=false
50886 fi
50887
50888
50889 # IFS
50890 # We need space, tab and new line, in precisely that order. Quoting is
50891 # there to prevent editors from complaining about space-tab.
50892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50893 # splitting by setting IFS to empty value.)
50894 as_nl='
50895 '
50896 IFS=" "" $as_nl"
50897
50898 # Find who we are. Look in the path if we contain no directory separator.
50899 case $0 in
50900 *[\\/]* ) as_myself=$0 ;;
50901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50902 for as_dir in $PATH
50903 do
50904 IFS=$as_save_IFS
50905 test -z "$as_dir" && as_dir=.
50906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50907 done
50908 IFS=$as_save_IFS
50909
50910 ;;
50911 esac
50912 # We did not find ourselves, most probably we were run as `sh COMMAND'
50913 # in which case we are not to be found in the path.
50914 if test "x$as_myself" = x; then
50915 as_myself=$0
50916 fi
50917 if test ! -f "$as_myself"; then
50918 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50919 { (exit 1); exit 1; }
50920 fi
50921
50922 # Work around bugs in pre-3.0 UWIN ksh.
50923 for as_var in ENV MAIL MAILPATH
50924 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50925 done
50926 PS1='$ '
50927 PS2='> '
50928 PS4='+ '
50929
50930 # NLS nuisances.
50931 for as_var in \
50932 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50933 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50934 LC_TELEPHONE LC_TIME
50935 do
50936 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50937 eval $as_var=C; export $as_var
50938 else
50939 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50940 fi
50941 done
50942
50943 # Required to use basename.
50944 if expr a : '\(a\)' >/dev/null 2>&1 &&
50945 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50946 as_expr=expr
50947 else
50948 as_expr=false
50949 fi
50950
50951 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50952 as_basename=basename
50953 else
50954 as_basename=false
50955 fi
50956
50957
50958 # Name of the executable.
50959 as_me=`$as_basename -- "$0" ||
50960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50961 X"$0" : 'X\(//\)$' \| \
50962 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50963 echo X/"$0" |
50964 sed '/^.*\/\([^/][^/]*\)\/*$/{
50965 s//\1/
50966 q
50967 }
50968 /^X\/\(\/\/\)$/{
50969 s//\1/
50970 q
50971 }
50972 /^X\/\(\/\).*/{
50973 s//\1/
50974 q
50975 }
50976 s/.*/./; q'`
50977
50978 # CDPATH.
50979 $as_unset CDPATH
50980
50981
50982
50983 as_lineno_1=$LINENO
50984 as_lineno_2=$LINENO
50985 test "x$as_lineno_1" != "x$as_lineno_2" &&
50986 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50987
50988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50989 # uniformly replaced by the line number. The first 'sed' inserts a
50990 # line-number line after each line using $LINENO; the second 'sed'
50991 # does the real work. The second script uses 'N' to pair each
50992 # line-number line with the line containing $LINENO, and appends
50993 # trailing '-' during substitution so that $LINENO is not a special
50994 # case at line end.
50995 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50996 # scripts with optimization help from Paolo Bonzini. Blame Lee
50997 # E. McMahon (1931-1989) for sed's syntax. :-)
50998 sed -n '
50999 p
51000 /[$]LINENO/=
51001 ' <$as_myself |
51002 sed '
51003 s/[$]LINENO.*/&-/
51004 t lineno
51005 b
51006 :lineno
51007 N
51008 :loop
51009 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51010 t loop
51011 s/-\n.*//
51012 ' >$as_me.lineno &&
51013 chmod +x "$as_me.lineno" ||
51014 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51015 { (exit 1); exit 1; }; }
51016
51017 # Don't try to exec as it changes $[0], causing all sort of problems
51018 # (the dirname of $[0] is not the place where we might find the
51019 # original and so on. Autoconf is especially sensitive to this).
51020 . "./$as_me.lineno"
51021 # Exit status is that of the last command.
51022 exit
51023 }
51024
51025
51026 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51027 as_dirname=dirname
51028 else
51029 as_dirname=false
51030 fi
51031
51032 ECHO_C= ECHO_N= ECHO_T=
51033 case `echo -n x` in
51034 -n*)
51035 case `echo 'x\c'` in
51036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51037 *) ECHO_C='\c';;
51038 esac;;
51039 *)
51040 ECHO_N='-n';;
51041 esac
51042
51043 if expr a : '\(a\)' >/dev/null 2>&1 &&
51044 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51045 as_expr=expr
51046 else
51047 as_expr=false
51048 fi
51049
51050 rm -f conf$$ conf$$.exe conf$$.file
51051 if test -d conf$$.dir; then
51052 rm -f conf$$.dir/conf$$.file
51053 else
51054 rm -f conf$$.dir
51055 mkdir conf$$.dir
51056 fi
51057 echo >conf$$.file
51058 if ln -s conf$$.file conf$$ 2>/dev/null; then
51059 as_ln_s='ln -s'
51060 # ... but there are two gotchas:
51061 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51062 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51063 # In both cases, we have to default to `cp -p'.
51064 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51065 as_ln_s='cp -p'
51066 elif ln conf$$.file conf$$ 2>/dev/null; then
51067 as_ln_s=ln
51068 else
51069 as_ln_s='cp -p'
51070 fi
51071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51072 rmdir conf$$.dir 2>/dev/null
51073
51074 if mkdir -p . 2>/dev/null; then
51075 as_mkdir_p=:
51076 else
51077 test -d ./-p && rmdir ./-p
51078 as_mkdir_p=false
51079 fi
51080
51081 if test -x / >/dev/null 2>&1; then
51082 as_test_x='test -x'
51083 else
51084 if ls -dL / >/dev/null 2>&1; then
51085 as_ls_L_option=L
51086 else
51087 as_ls_L_option=
51088 fi
51089 as_test_x='
51090 eval sh -c '\''
51091 if test -d "$1"; then
51092 test -d "$1/.";
51093 else
51094 case $1 in
51095 -*)set "./$1";;
51096 esac;
51097 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51098 ???[sx]*):;;*)false;;esac;fi
51099 '\'' sh
51100 '
51101 fi
51102 as_executable_p=$as_test_x
51103
51104 # Sed expression to map a string onto a valid CPP name.
51105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51106
51107 # Sed expression to map a string onto a valid variable name.
51108 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51109
51110
51111 exec 6>&1
51112
51113 # Save the log message, to keep $[0] and so on meaningful, and to
51114 # report actual input values of CONFIG_FILES etc. instead of their
51115 # values after options handling.
51116 ac_log="
51117 This file was extended by wxWidgets $as_me 2.9.0, which was
51118 generated by GNU Autoconf 2.61. Invocation command line was
51119
51120 CONFIG_FILES = $CONFIG_FILES
51121 CONFIG_HEADERS = $CONFIG_HEADERS
51122 CONFIG_LINKS = $CONFIG_LINKS
51123 CONFIG_COMMANDS = $CONFIG_COMMANDS
51124 $ $0 $@
51125
51126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51127 "
51128
51129 _ACEOF
51130
51131 cat >>$CONFIG_STATUS <<_ACEOF
51132 # Files that config.status was made for.
51133 config_files="$ac_config_files"
51134 config_headers="$ac_config_headers"
51135 config_commands="$ac_config_commands"
51136
51137 _ACEOF
51138
51139 cat >>$CONFIG_STATUS <<\_ACEOF
51140 ac_cs_usage="\
51141 \`$as_me' instantiates files from templates according to the
51142 current configuration.
51143
51144 Usage: $0 [OPTIONS] [FILE]...
51145
51146 -h, --help print this help, then exit
51147 -V, --version print version number and configuration settings, then exit
51148 -q, --quiet do not print progress messages
51149 -d, --debug don't remove temporary files
51150 --recheck update $as_me by reconfiguring in the same conditions
51151 --file=FILE[:TEMPLATE]
51152 instantiate the configuration file FILE
51153 --header=FILE[:TEMPLATE]
51154 instantiate the configuration header FILE
51155
51156 Configuration files:
51157 $config_files
51158
51159 Configuration headers:
51160 $config_headers
51161
51162 Configuration commands:
51163 $config_commands
51164
51165 Report bugs to <bug-autoconf@gnu.org>."
51166
51167 _ACEOF
51168 cat >>$CONFIG_STATUS <<_ACEOF
51169 ac_cs_version="\\
51170 wxWidgets config.status 2.9.0
51171 configured by $0, generated by GNU Autoconf 2.61,
51172 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51173
51174 Copyright (C) 2006 Free Software Foundation, Inc.
51175 This config.status script is free software; the Free Software Foundation
51176 gives unlimited permission to copy, distribute and modify it."
51177
51178 ac_pwd='$ac_pwd'
51179 srcdir='$srcdir'
51180 INSTALL='$INSTALL'
51181 _ACEOF
51182
51183 cat >>$CONFIG_STATUS <<\_ACEOF
51184 # If no file are specified by the user, then we need to provide default
51185 # value. By we need to know if files were specified by the user.
51186 ac_need_defaults=:
51187 while test $# != 0
51188 do
51189 case $1 in
51190 --*=*)
51191 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51192 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51193 ac_shift=:
51194 ;;
51195 *)
51196 ac_option=$1
51197 ac_optarg=$2
51198 ac_shift=shift
51199 ;;
51200 esac
51201
51202 case $ac_option in
51203 # Handling of the options.
51204 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51205 ac_cs_recheck=: ;;
51206 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51207 echo "$ac_cs_version"; exit ;;
51208 --debug | --debu | --deb | --de | --d | -d )
51209 debug=: ;;
51210 --file | --fil | --fi | --f )
51211 $ac_shift
51212 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51213 ac_need_defaults=false;;
51214 --header | --heade | --head | --hea )
51215 $ac_shift
51216 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51217 ac_need_defaults=false;;
51218 --he | --h)
51219 # Conflict between --help and --header
51220 { echo "$as_me: error: ambiguous option: $1
51221 Try \`$0 --help' for more information." >&2
51222 { (exit 1); exit 1; }; };;
51223 --help | --hel | -h )
51224 echo "$ac_cs_usage"; exit ;;
51225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51226 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51227 ac_cs_silent=: ;;
51228
51229 # This is an error.
51230 -*) { echo "$as_me: error: unrecognized option: $1
51231 Try \`$0 --help' for more information." >&2
51232 { (exit 1); exit 1; }; } ;;
51233
51234 *) ac_config_targets="$ac_config_targets $1"
51235 ac_need_defaults=false ;;
51236
51237 esac
51238 shift
51239 done
51240
51241 ac_configure_extra_args=
51242
51243 if $ac_cs_silent; then
51244 exec 6>/dev/null
51245 ac_configure_extra_args="$ac_configure_extra_args --silent"
51246 fi
51247
51248 _ACEOF
51249 cat >>$CONFIG_STATUS <<_ACEOF
51250 if \$ac_cs_recheck; then
51251 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51252 CONFIG_SHELL=$SHELL
51253 export CONFIG_SHELL
51254 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51255 fi
51256
51257 _ACEOF
51258 cat >>$CONFIG_STATUS <<\_ACEOF
51259 exec 5>>config.log
51260 {
51261 echo
51262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51263 ## Running $as_me. ##
51264 _ASBOX
51265 echo "$ac_log"
51266 } >&5
51267
51268 _ACEOF
51269 cat >>$CONFIG_STATUS <<_ACEOF
51270 #
51271 # INIT-COMMANDS
51272 #
51273
51274 CPP="$CPP"
51275 infile="$srcdir/include/wx/msw/genrcdefs.h"
51276 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51277
51278
51279 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51280 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51281 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51282 LN_S="${LN_S}"
51283
51284
51285 _ACEOF
51286
51287 cat >>$CONFIG_STATUS <<\_ACEOF
51288
51289 # Handling of arguments.
51290 for ac_config_target in $ac_config_targets
51291 do
51292 case $ac_config_target in
51293 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51294 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51295 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51296 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51297 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51298 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51299 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51300 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51301 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51302
51303 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51304 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51305 { (exit 1); exit 1; }; };;
51306 esac
51307 done
51308
51309
51310 # If the user did not use the arguments to specify the items to instantiate,
51311 # then the envvar interface is used. Set only those that are not.
51312 # We use the long form for the default assignment because of an extremely
51313 # bizarre bug on SunOS 4.1.3.
51314 if $ac_need_defaults; then
51315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51317 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51318 fi
51319
51320 # Have a temporary directory for convenience. Make it in the build tree
51321 # simply because there is no reason against having it here, and in addition,
51322 # creating and moving files from /tmp can sometimes cause problems.
51323 # Hook for its removal unless debugging.
51324 # Note that there is a small window in which the directory will not be cleaned:
51325 # after its creation but before its name has been assigned to `$tmp'.
51326 $debug ||
51327 {
51328 tmp=
51329 trap 'exit_status=$?
51330 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51331 ' 0
51332 trap '{ (exit 1); exit 1; }' 1 2 13 15
51333 }
51334 # Create a (secure) tmp directory for tmp files.
51335
51336 {
51337 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51338 test -n "$tmp" && test -d "$tmp"
51339 } ||
51340 {
51341 tmp=./conf$$-$RANDOM
51342 (umask 077 && mkdir "$tmp")
51343 } ||
51344 {
51345 echo "$me: cannot create a temporary directory in ." >&2
51346 { (exit 1); exit 1; }
51347 }
51348
51349 #
51350 # Set up the sed scripts for CONFIG_FILES section.
51351 #
51352
51353 # No need to generate the scripts if there are no CONFIG_FILES.
51354 # This happens for instance when ./config.status config.h
51355 if test -n "$CONFIG_FILES"; then
51356
51357 _ACEOF
51358
51359
51360
51361 ac_delim='%!_!# '
51362 for ac_last_try in false false false false false :; do
51363 cat >conf$$subs.sed <<_ACEOF
51364 SHELL!$SHELL$ac_delim
51365 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51366 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51367 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51368 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51369 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51370 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51371 exec_prefix!$exec_prefix$ac_delim
51372 prefix!$prefix$ac_delim
51373 program_transform_name!$program_transform_name$ac_delim
51374 bindir!$bindir$ac_delim
51375 sbindir!$sbindir$ac_delim
51376 libexecdir!$libexecdir$ac_delim
51377 datarootdir!$datarootdir$ac_delim
51378 datadir!$datadir$ac_delim
51379 sysconfdir!$sysconfdir$ac_delim
51380 sharedstatedir!$sharedstatedir$ac_delim
51381 localstatedir!$localstatedir$ac_delim
51382 includedir!$includedir$ac_delim
51383 oldincludedir!$oldincludedir$ac_delim
51384 docdir!$docdir$ac_delim
51385 infodir!$infodir$ac_delim
51386 htmldir!$htmldir$ac_delim
51387 dvidir!$dvidir$ac_delim
51388 pdfdir!$pdfdir$ac_delim
51389 psdir!$psdir$ac_delim
51390 libdir!$libdir$ac_delim
51391 localedir!$localedir$ac_delim
51392 mandir!$mandir$ac_delim
51393 DEFS!$DEFS$ac_delim
51394 ECHO_C!$ECHO_C$ac_delim
51395 ECHO_N!$ECHO_N$ac_delim
51396 ECHO_T!$ECHO_T$ac_delim
51397 LIBS!$LIBS$ac_delim
51398 build_alias!$build_alias$ac_delim
51399 host_alias!$host_alias$ac_delim
51400 target_alias!$target_alias$ac_delim
51401 build!$build$ac_delim
51402 build_cpu!$build_cpu$ac_delim
51403 build_vendor!$build_vendor$ac_delim
51404 build_os!$build_os$ac_delim
51405 host!$host$ac_delim
51406 host_cpu!$host_cpu$ac_delim
51407 host_vendor!$host_vendor$ac_delim
51408 host_os!$host_os$ac_delim
51409 target!$target$ac_delim
51410 target_cpu!$target_cpu$ac_delim
51411 target_vendor!$target_vendor$ac_delim
51412 target_os!$target_os$ac_delim
51413 wx_top_builddir!$wx_top_builddir$ac_delim
51414 CC!$CC$ac_delim
51415 CFLAGS!$CFLAGS$ac_delim
51416 LDFLAGS!$LDFLAGS$ac_delim
51417 CPPFLAGS!$CPPFLAGS$ac_delim
51418 ac_ct_CC!$ac_ct_CC$ac_delim
51419 EXEEXT!$EXEEXT$ac_delim
51420 OBJEXT!$OBJEXT$ac_delim
51421 CPP!$CPP$ac_delim
51422 GREP!$GREP$ac_delim
51423 EGREP!$EGREP$ac_delim
51424 CXX!$CXX$ac_delim
51425 CXXFLAGS!$CXXFLAGS$ac_delim
51426 ac_ct_CXX!$ac_ct_CXX$ac_delim
51427 AR!$AR$ac_delim
51428 subdirs!$subdirs$ac_delim
51429 PKG_CONFIG!$PKG_CONFIG$ac_delim
51430 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51431 GTK_LIBS!$GTK_LIBS$ac_delim
51432 GTK_CONFIG!$GTK_CONFIG$ac_delim
51433 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51434 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51435 XMKMF!$XMKMF$ac_delim
51436 X_CFLAGS!$X_CFLAGS$ac_delim
51437 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51438 X_LIBS!$X_LIBS$ac_delim
51439 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51440 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51441 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51442 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51443 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51444 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51445 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51446 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51447 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51448 LIBICONV!$LIBICONV$ac_delim
51449 SDL_CONFIG!$SDL_CONFIG$ac_delim
51450 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51451 SDL_LIBS!$SDL_LIBS$ac_delim
51452 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51453 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51454 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51455 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51456 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51457 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51458 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51459 HILDON_LIBS!$HILDON_LIBS$ac_delim
51460 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51461 _ACEOF
51462
51463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51464 break
51465 elif $ac_last_try; then
51466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51468 { (exit 1); exit 1; }; }
51469 else
51470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51471 fi
51472 done
51473
51474 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51475 if test -n "$ac_eof"; then
51476 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51477 ac_eof=`expr $ac_eof + 1`
51478 fi
51479
51480 cat >>$CONFIG_STATUS <<_ACEOF
51481 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51483 _ACEOF
51484 sed '
51485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51486 s/^/s,@/; s/!/@,|#_!!_#|/
51487 :n
51488 t n
51489 s/'"$ac_delim"'$/,g/; t
51490 s/$/\\/; p
51491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51492 ' >>$CONFIG_STATUS <conf$$subs.sed
51493 rm -f conf$$subs.sed
51494 cat >>$CONFIG_STATUS <<_ACEOF
51495 CEOF$ac_eof
51496 _ACEOF
51497
51498
51499 ac_delim='%!_!# '
51500 for ac_last_try in false false false false false :; do
51501 cat >conf$$subs.sed <<_ACEOF
51502 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51503 GST_CFLAGS!$GST_CFLAGS$ac_delim
51504 GST_LIBS!$GST_LIBS$ac_delim
51505 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51506 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51507 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51508 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51509 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51510 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51511 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51512 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51513 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51514 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51515 VENDOR!$VENDOR$ac_delim
51516 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51517 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51518 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51519 WXUNIV!$WXUNIV$ac_delim
51520 MONOLITHIC!$MONOLITHIC$ac_delim
51521 USE_PLUGINS!$USE_PLUGINS$ac_delim
51522 CXXWARNINGS!$CXXWARNINGS$ac_delim
51523 EXTRALIBS!$EXTRALIBS$ac_delim
51524 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51525 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51526 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51527 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51528 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51529 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51530 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51531 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51532 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51533 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51534 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51535 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51536 UNICODE!$UNICODE$ac_delim
51537 BUILD!$BUILD$ac_delim
51538 DEBUG_INFO!$DEBUG_INFO$ac_delim
51539 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51540 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51541 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51542 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51543 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51544 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51545 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51546 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51547 RANLIB!$RANLIB$ac_delim
51548 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51549 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51550 INSTALL_DATA!$INSTALL_DATA$ac_delim
51551 LN_S!$LN_S$ac_delim
51552 SET_MAKE!$SET_MAKE$ac_delim
51553 MAKE_SET!$MAKE_SET$ac_delim
51554 AROPTIONS!$AROPTIONS$ac_delim
51555 STRIP!$STRIP$ac_delim
51556 NM!$NM$ac_delim
51557 INSTALL_DIR!$INSTALL_DIR$ac_delim
51558 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51559 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51560 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51561 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51562 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51563 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51564 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51565 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51566 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51567 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51568 SO_SUFFIX!$SO_SUFFIX$ac_delim
51569 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51570 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51571 LIBPREFIX!$LIBPREFIX$ac_delim
51572 LIBEXT!$LIBEXT$ac_delim
51573 DLLPREFIX!$DLLPREFIX$ac_delim
51574 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51575 dlldir!$dlldir$ac_delim
51576 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51577 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51578 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51579 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51580 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51581 PIC_FLAG!$PIC_FLAG$ac_delim
51582 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51583 USE_SOVERSION!$USE_SOVERSION$ac_delim
51584 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51585 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51586 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51587 USE_MACVERSION!$USE_MACVERSION$ac_delim
51588 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51589 SONAME_FLAG!$SONAME_FLAG$ac_delim
51590 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51591 BK_DEPS!$BK_DEPS$ac_delim
51592 WINDRES!$WINDRES$ac_delim
51593 REZ!$REZ$ac_delim
51594 SETFILE!$SETFILE$ac_delim
51595 GCC_PCH!$GCC_PCH$ac_delim
51596 ICC_PCH!$ICC_PCH$ac_delim
51597 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51598 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51599 _ACEOF
51600
51601 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51602 break
51603 elif $ac_last_try; then
51604 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51605 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51606 { (exit 1); exit 1; }; }
51607 else
51608 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51609 fi
51610 done
51611
51612 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51613 if test -n "$ac_eof"; then
51614 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51615 ac_eof=`expr $ac_eof + 1`
51616 fi
51617
51618 cat >>$CONFIG_STATUS <<_ACEOF
51619 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51621 _ACEOF
51622 sed '
51623 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51624 s/^/s,@/; s/!/@,|#_!!_#|/
51625 :n
51626 t n
51627 s/'"$ac_delim"'$/,g/; t
51628 s/$/\\/; p
51629 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51630 ' >>$CONFIG_STATUS <conf$$subs.sed
51631 rm -f conf$$subs.sed
51632 cat >>$CONFIG_STATUS <<_ACEOF
51633 CEOF$ac_eof
51634 _ACEOF
51635
51636
51637 ac_delim='%!_!# '
51638 for ac_last_try in false false false false false :; do
51639 cat >conf$$subs.sed <<_ACEOF
51640 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51641 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51642 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51643 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51644 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51645 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51646 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51647 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51648 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51649 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51650 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51651 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51652 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51653 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51654 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51655 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51656 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51657 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51662 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51663 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51664 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51665 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51666 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51669 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51671 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51672 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51673 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51674 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51675 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51676 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51677 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51678 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51679 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51680 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51681 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51682 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51683 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51684 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51685 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51686 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51687 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51688 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51689 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51690 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51691 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51692 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51693 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51694 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51695 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51696 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51697 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51698 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51699 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51700 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51701 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51702 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51703 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51704 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51705 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51706 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51707 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51708 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51709 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51710 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51711 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51712 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51713 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51714 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51715 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51716 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51717 COND_SHARED_0!$COND_SHARED_0$ac_delim
51718 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51719 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51720 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51721 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51722 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51723 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51724 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51725 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51726 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51727 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51728 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51729 COND_SHARED_1!$COND_SHARED_1$ac_delim
51730 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51731 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51732 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51733 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51734 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51735 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51736 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51737 _ACEOF
51738
51739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51740 break
51741 elif $ac_last_try; then
51742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51744 { (exit 1); exit 1; }; }
51745 else
51746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51747 fi
51748 done
51749
51750 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51751 if test -n "$ac_eof"; then
51752 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51753 ac_eof=`expr $ac_eof + 1`
51754 fi
51755
51756 cat >>$CONFIG_STATUS <<_ACEOF
51757 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51759 _ACEOF
51760 sed '
51761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51762 s/^/s,@/; s/!/@,|#_!!_#|/
51763 :n
51764 t n
51765 s/'"$ac_delim"'$/,g/; t
51766 s/$/\\/; p
51767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51768 ' >>$CONFIG_STATUS <conf$$subs.sed
51769 rm -f conf$$subs.sed
51770 cat >>$CONFIG_STATUS <<_ACEOF
51771 CEOF$ac_eof
51772 _ACEOF
51773
51774
51775 ac_delim='%!_!# '
51776 for ac_last_try in false false false false false :; do
51777 cat >conf$$subs.sed <<_ACEOF
51778 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51779 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51780 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51781 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51783 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51784 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51785 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51786 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51787 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51788 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51789 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51790 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51791 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51792 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51793 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51794 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51795 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51796 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51797 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51798 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51799 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51800 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51802 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51803 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51804 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51805 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51806 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51807 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51808 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51809 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51810 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51811 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51812 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51813 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51814 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51815 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51816 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51817 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51818 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51819 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51820 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51821 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51822 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51823 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51824 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51825 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51826 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51827 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51828 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51829 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51830 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51831 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51832 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51833 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51834 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51835 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51836 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51837 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51838 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51839 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51840 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51841 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51842 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51843 DEREZ!$DEREZ$ac_delim
51844 SHARED!$SHARED$ac_delim
51845 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51846 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51847 USE_GUI!$USE_GUI$ac_delim
51848 AFMINSTALL!$AFMINSTALL$ac_delim
51849 WIN32INSTALL!$WIN32INSTALL$ac_delim
51850 TOOLKIT!$TOOLKIT$ac_delim
51851 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51852 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51853 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51854 cross_compiling!$cross_compiling$ac_delim
51855 WIDGET_SET!$WIDGET_SET$ac_delim
51856 WX_RELEASE!$WX_RELEASE$ac_delim
51857 WX_VERSION!$WX_VERSION$ac_delim
51858 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51859 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51860 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51861 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51862 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51863 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51864 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51865 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51866 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51867 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51868 GUIDIST!$GUIDIST$ac_delim
51869 DISTDIR!$DISTDIR$ac_delim
51870 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51871 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51872 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51873 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51874 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51875 _ACEOF
51876
51877 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51878 break
51879 elif $ac_last_try; then
51880 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51881 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51882 { (exit 1); exit 1; }; }
51883 else
51884 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51885 fi
51886 done
51887
51888 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51889 if test -n "$ac_eof"; then
51890 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51891 ac_eof=`expr $ac_eof + 1`
51892 fi
51893
51894 cat >>$CONFIG_STATUS <<_ACEOF
51895 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51896 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51897 _ACEOF
51898 sed '
51899 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51900 s/^/s,@/; s/!/@,|#_!!_#|/
51901 :n
51902 t n
51903 s/'"$ac_delim"'$/,g/; t
51904 s/$/\\/; p
51905 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51906 ' >>$CONFIG_STATUS <conf$$subs.sed
51907 rm -f conf$$subs.sed
51908 cat >>$CONFIG_STATUS <<_ACEOF
51909 CEOF$ac_eof
51910 _ACEOF
51911
51912
51913 ac_delim='%!_!# '
51914 for ac_last_try in false false false false false :; do
51915 cat >conf$$subs.sed <<_ACEOF
51916 RESCOMP!$RESCOMP$ac_delim
51917 RESFLAGS!$RESFLAGS$ac_delim
51918 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51919 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51920 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51921 LIBWXMACRES!$LIBWXMACRES$ac_delim
51922 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51923 MACSETFILE!$MACSETFILE$ac_delim
51924 GCC!$GCC$ac_delim
51925 DLLTOOL!$DLLTOOL$ac_delim
51926 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51927 LIBOBJS!$LIBOBJS$ac_delim
51928 LTLIBOBJS!$LTLIBOBJS$ac_delim
51929 _ACEOF
51930
51931 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
51932 break
51933 elif $ac_last_try; then
51934 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51935 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51936 { (exit 1); exit 1; }; }
51937 else
51938 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51939 fi
51940 done
51941
51942 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51943 if test -n "$ac_eof"; then
51944 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51945 ac_eof=`expr $ac_eof + 1`
51946 fi
51947
51948 cat >>$CONFIG_STATUS <<_ACEOF
51949 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51951 _ACEOF
51952 sed '
51953 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51954 s/^/s,@/; s/!/@,|#_!!_#|/
51955 :n
51956 t n
51957 s/'"$ac_delim"'$/,g/; t
51958 s/$/\\/; p
51959 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51960 ' >>$CONFIG_STATUS <conf$$subs.sed
51961 rm -f conf$$subs.sed
51962 cat >>$CONFIG_STATUS <<_ACEOF
51963 :end
51964 s/|#_!!_#|//g
51965 CEOF$ac_eof
51966 _ACEOF
51967
51968
51969 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51970 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51971 # trailing colons and then remove the whole line if VPATH becomes empty
51972 # (actually we leave an empty line to preserve line numbers).
51973 if test "x$srcdir" = x.; then
51974 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51975 s/:*\$(srcdir):*/:/
51976 s/:*\${srcdir}:*/:/
51977 s/:*@srcdir@:*/:/
51978 s/^\([^=]*=[ ]*\):*/\1/
51979 s/:*$//
51980 s/^[^=]*=[ ]*$//
51981 }'
51982 fi
51983
51984 cat >>$CONFIG_STATUS <<\_ACEOF
51985 fi # test -n "$CONFIG_FILES"
51986
51987
51988 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51989 do
51990 case $ac_tag in
51991 :[FHLC]) ac_mode=$ac_tag; continue;;
51992 esac
51993 case $ac_mode$ac_tag in
51994 :[FHL]*:*);;
51995 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51996 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51997 { (exit 1); exit 1; }; };;
51998 :[FH]-) ac_tag=-:-;;
51999 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52000 esac
52001 ac_save_IFS=$IFS
52002 IFS=:
52003 set x $ac_tag
52004 IFS=$ac_save_IFS
52005 shift
52006 ac_file=$1
52007 shift
52008
52009 case $ac_mode in
52010 :L) ac_source=$1;;
52011 :[FH])
52012 ac_file_inputs=
52013 for ac_f
52014 do
52015 case $ac_f in
52016 -) ac_f="$tmp/stdin";;
52017 *) # Look for the file first in the build tree, then in the source tree
52018 # (if the path is not absolute). The absolute path cannot be DOS-style,
52019 # because $ac_f cannot contain `:'.
52020 test -f "$ac_f" ||
52021 case $ac_f in
52022 [\\/$]*) false;;
52023 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52024 esac ||
52025 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52026 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52027 { (exit 1); exit 1; }; };;
52028 esac
52029 ac_file_inputs="$ac_file_inputs $ac_f"
52030 done
52031
52032 # Let's still pretend it is `configure' which instantiates (i.e., don't
52033 # use $as_me), people would be surprised to read:
52034 # /* config.h. Generated by config.status. */
52035 configure_input="Generated from "`IFS=:
52036 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52037 if test x"$ac_file" != x-; then
52038 configure_input="$ac_file. $configure_input"
52039 { echo "$as_me:$LINENO: creating $ac_file" >&5
52040 echo "$as_me: creating $ac_file" >&6;}
52041 fi
52042
52043 case $ac_tag in
52044 *:-:* | *:-) cat >"$tmp/stdin";;
52045 esac
52046 ;;
52047 esac
52048
52049 ac_dir=`$as_dirname -- "$ac_file" ||
52050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52051 X"$ac_file" : 'X\(//\)[^/]' \| \
52052 X"$ac_file" : 'X\(//\)$' \| \
52053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52054 echo X"$ac_file" |
52055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52056 s//\1/
52057 q
52058 }
52059 /^X\(\/\/\)[^/].*/{
52060 s//\1/
52061 q
52062 }
52063 /^X\(\/\/\)$/{
52064 s//\1/
52065 q
52066 }
52067 /^X\(\/\).*/{
52068 s//\1/
52069 q
52070 }
52071 s/.*/./; q'`
52072 { as_dir="$ac_dir"
52073 case $as_dir in #(
52074 -*) as_dir=./$as_dir;;
52075 esac
52076 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52077 as_dirs=
52078 while :; do
52079 case $as_dir in #(
52080 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52081 *) as_qdir=$as_dir;;
52082 esac
52083 as_dirs="'$as_qdir' $as_dirs"
52084 as_dir=`$as_dirname -- "$as_dir" ||
52085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52086 X"$as_dir" : 'X\(//\)[^/]' \| \
52087 X"$as_dir" : 'X\(//\)$' \| \
52088 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52089 echo X"$as_dir" |
52090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52091 s//\1/
52092 q
52093 }
52094 /^X\(\/\/\)[^/].*/{
52095 s//\1/
52096 q
52097 }
52098 /^X\(\/\/\)$/{
52099 s//\1/
52100 q
52101 }
52102 /^X\(\/\).*/{
52103 s//\1/
52104 q
52105 }
52106 s/.*/./; q'`
52107 test -d "$as_dir" && break
52108 done
52109 test -z "$as_dirs" || eval "mkdir $as_dirs"
52110 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52111 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52112 { (exit 1); exit 1; }; }; }
52113 ac_builddir=.
52114
52115 case "$ac_dir" in
52116 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52117 *)
52118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52119 # A ".." for each directory in $ac_dir_suffix.
52120 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52121 case $ac_top_builddir_sub in
52122 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52123 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52124 esac ;;
52125 esac
52126 ac_abs_top_builddir=$ac_pwd
52127 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52128 # for backward compatibility:
52129 ac_top_builddir=$ac_top_build_prefix
52130
52131 case $srcdir in
52132 .) # We are building in place.
52133 ac_srcdir=.
52134 ac_top_srcdir=$ac_top_builddir_sub
52135 ac_abs_top_srcdir=$ac_pwd ;;
52136 [\\/]* | ?:[\\/]* ) # Absolute name.
52137 ac_srcdir=$srcdir$ac_dir_suffix;
52138 ac_top_srcdir=$srcdir
52139 ac_abs_top_srcdir=$srcdir ;;
52140 *) # Relative name.
52141 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52142 ac_top_srcdir=$ac_top_build_prefix$srcdir
52143 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52144 esac
52145 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52146
52147
52148 case $ac_mode in
52149 :F)
52150 #
52151 # CONFIG_FILE
52152 #
52153
52154 case $INSTALL in
52155 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52156 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52157 esac
52158 _ACEOF
52159
52160 cat >>$CONFIG_STATUS <<\_ACEOF
52161 # If the template does not know about datarootdir, expand it.
52162 # FIXME: This hack should be removed a few years after 2.60.
52163 ac_datarootdir_hack=; ac_datarootdir_seen=
52164
52165 case `sed -n '/datarootdir/ {
52166 p
52167 q
52168 }
52169 /@datadir@/p
52170 /@docdir@/p
52171 /@infodir@/p
52172 /@localedir@/p
52173 /@mandir@/p
52174 ' $ac_file_inputs` in
52175 *datarootdir*) ac_datarootdir_seen=yes;;
52176 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52177 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52178 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52179 _ACEOF
52180 cat >>$CONFIG_STATUS <<_ACEOF
52181 ac_datarootdir_hack='
52182 s&@datadir@&$datadir&g
52183 s&@docdir@&$docdir&g
52184 s&@infodir@&$infodir&g
52185 s&@localedir@&$localedir&g
52186 s&@mandir@&$mandir&g
52187 s&\\\${datarootdir}&$datarootdir&g' ;;
52188 esac
52189 _ACEOF
52190
52191 # Neutralize VPATH when `$srcdir' = `.'.
52192 # Shell code in configure.ac might set extrasub.
52193 # FIXME: do we really want to maintain this feature?
52194 cat >>$CONFIG_STATUS <<_ACEOF
52195 sed "$ac_vpsub
52196 $extrasub
52197 _ACEOF
52198 cat >>$CONFIG_STATUS <<\_ACEOF
52199 :t
52200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52201 s&@configure_input@&$configure_input&;t t
52202 s&@top_builddir@&$ac_top_builddir_sub&;t t
52203 s&@srcdir@&$ac_srcdir&;t t
52204 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52205 s&@top_srcdir@&$ac_top_srcdir&;t t
52206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52207 s&@builddir@&$ac_builddir&;t t
52208 s&@abs_builddir@&$ac_abs_builddir&;t t
52209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52210 s&@INSTALL@&$ac_INSTALL&;t t
52211 $ac_datarootdir_hack
52212 " $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
52213
52214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52215 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52217 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52218 which seems to be undefined. Please make sure it is defined." >&5
52219 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52220 which seems to be undefined. Please make sure it is defined." >&2;}
52221
52222 rm -f "$tmp/stdin"
52223 case $ac_file in
52224 -) cat "$tmp/out"; rm -f "$tmp/out";;
52225 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52226 esac
52227 ;;
52228 :H)
52229 #
52230 # CONFIG_HEADER
52231 #
52232 _ACEOF
52233
52234 # Transform confdefs.h into a sed script `conftest.defines', that
52235 # substitutes the proper values into config.h.in to produce config.h.
52236 rm -f conftest.defines conftest.tail
52237 # First, append a space to every undef/define line, to ease matching.
52238 echo 's/$/ /' >conftest.defines
52239 # Then, protect against being on the right side of a sed subst, or in
52240 # an unquoted here document, in config.status. If some macros were
52241 # called several times there might be several #defines for the same
52242 # symbol, which is useless. But do not sort them, since the last
52243 # AC_DEFINE must be honored.
52244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52245 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52246 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52247 # PARAMS is the parameter list in the macro definition--in most cases, it's
52248 # just an empty string.
52249 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52250 ac_dB='\\)[ (].*,\\1define\\2'
52251 ac_dC=' '
52252 ac_dD=' ,'
52253
52254 uniq confdefs.h |
52255 sed -n '
52256 t rset
52257 :rset
52258 s/^[ ]*#[ ]*define[ ][ ]*//
52259 t ok
52260 d
52261 :ok
52262 s/[\\&,]/\\&/g
52263 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52264 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52265 ' >>conftest.defines
52266
52267 # Remove the space that was appended to ease matching.
52268 # Then replace #undef with comments. This is necessary, for
52269 # example, in the case of _POSIX_SOURCE, which is predefined and required
52270 # on some systems where configure will not decide to define it.
52271 # (The regexp can be short, since the line contains either #define or #undef.)
52272 echo 's/ $//
52273 s,^[ #]*u.*,/* & */,' >>conftest.defines
52274
52275 # Break up conftest.defines:
52276 ac_max_sed_lines=50
52277
52278 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52279 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52280 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52281 # et cetera.
52282 ac_in='$ac_file_inputs'
52283 ac_out='"$tmp/out1"'
52284 ac_nxt='"$tmp/out2"'
52285
52286 while :
52287 do
52288 # Write a here document:
52289 cat >>$CONFIG_STATUS <<_ACEOF
52290 # First, check the format of the line:
52291 cat >"\$tmp/defines.sed" <<\\CEOF
52292 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52293 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52294 b
52295 :def
52296 _ACEOF
52297 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52298 echo 'CEOF
52299 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52300 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52301 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52302 grep . conftest.tail >/dev/null || break
52303 rm -f conftest.defines
52304 mv conftest.tail conftest.defines
52305 done
52306 rm -f conftest.defines conftest.tail
52307
52308 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52309 cat >>$CONFIG_STATUS <<\_ACEOF
52310 if test x"$ac_file" != x-; then
52311 echo "/* $configure_input */" >"$tmp/config.h"
52312 cat "$ac_result" >>"$tmp/config.h"
52313 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52314 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52315 echo "$as_me: $ac_file is unchanged" >&6;}
52316 else
52317 rm -f $ac_file
52318 mv "$tmp/config.h" $ac_file
52319 fi
52320 else
52321 echo "/* $configure_input */"
52322 cat "$ac_result"
52323 fi
52324 rm -f "$tmp/out12"
52325 ;;
52326
52327 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52328 echo "$as_me: executing $ac_file commands" >&6;}
52329 ;;
52330 esac
52331
52332
52333 case $ac_file$ac_mode in
52334 "rcdefs.h":C)
52335 mkdir -p $outdir &&
52336 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52337 ;;
52338 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52339 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52340 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52341 "wx-config":C) rm -f wx-config
52342 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52343 ;;
52344
52345 esac
52346 done # for ac_tag
52347
52348
52349 { (exit 0); exit 0; }
52350 _ACEOF
52351 chmod +x $CONFIG_STATUS
52352 ac_clean_files=$ac_clean_files_save
52353
52354
52355 # configure is writing to config.log, and then calls config.status.
52356 # config.status does its own redirection, appending to config.log.
52357 # Unfortunately, on DOS this fails, as config.log is still kept open
52358 # by configure, so config.status won't be able to write to it; its
52359 # output is simply discarded. So we exec the FD to /dev/null,
52360 # effectively closing config.log, so it can be properly (re)opened and
52361 # appended to by config.status. When coming back to configure, we
52362 # need to make the FD available again.
52363 if test "$no_create" != yes; then
52364 ac_cs_success=:
52365 ac_config_status_args=
52366 test "$silent" = yes &&
52367 ac_config_status_args="$ac_config_status_args --quiet"
52368 exec 5>/dev/null
52369 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52370 exec 5>>config.log
52371 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52372 # would make configure fail if this is the last instruction.
52373 $ac_cs_success || { (exit 1); exit 1; }
52374 fi
52375
52376 #
52377 # CONFIG_SUBDIRS section.
52378 #
52379 if test "$no_recursion" != yes; then
52380
52381 # Remove --cache-file and --srcdir arguments so they do not pile up.
52382 ac_sub_configure_args=
52383 ac_prev=
52384 eval "set x $ac_configure_args"
52385 shift
52386 for ac_arg
52387 do
52388 if test -n "$ac_prev"; then
52389 ac_prev=
52390 continue
52391 fi
52392 case $ac_arg in
52393 -cache-file | --cache-file | --cache-fil | --cache-fi \
52394 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52395 ac_prev=cache_file ;;
52396 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52397 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52398 | --c=*)
52399 ;;
52400 --config-cache | -C)
52401 ;;
52402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52403 ac_prev=srcdir ;;
52404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52405 ;;
52406 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52407 ac_prev=prefix ;;
52408 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52409 ;;
52410 *)
52411 case $ac_arg in
52412 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52413 esac
52414 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52415 esac
52416 done
52417
52418 # Always prepend --prefix to ensure using the same prefix
52419 # in subdir configurations.
52420 ac_arg="--prefix=$prefix"
52421 case $ac_arg in
52422 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52423 esac
52424 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52425
52426 # Pass --silent
52427 if test "$silent" = yes; then
52428 ac_sub_configure_args="--silent $ac_sub_configure_args"
52429 fi
52430
52431 ac_popdir=`pwd`
52432 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52433
52434 # Do not complain, so a configure script can configure whichever
52435 # parts of a large source tree are present.
52436 test -d "$srcdir/$ac_dir" || continue
52437
52438 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52439 echo "$as_me:$LINENO: $ac_msg" >&5
52440 echo "$ac_msg" >&6
52441 { as_dir="$ac_dir"
52442 case $as_dir in #(
52443 -*) as_dir=./$as_dir;;
52444 esac
52445 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52446 as_dirs=
52447 while :; do
52448 case $as_dir in #(
52449 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52450 *) as_qdir=$as_dir;;
52451 esac
52452 as_dirs="'$as_qdir' $as_dirs"
52453 as_dir=`$as_dirname -- "$as_dir" ||
52454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52455 X"$as_dir" : 'X\(//\)[^/]' \| \
52456 X"$as_dir" : 'X\(//\)$' \| \
52457 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52458 echo X"$as_dir" |
52459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52460 s//\1/
52461 q
52462 }
52463 /^X\(\/\/\)[^/].*/{
52464 s//\1/
52465 q
52466 }
52467 /^X\(\/\/\)$/{
52468 s//\1/
52469 q
52470 }
52471 /^X\(\/\).*/{
52472 s//\1/
52473 q
52474 }
52475 s/.*/./; q'`
52476 test -d "$as_dir" && break
52477 done
52478 test -z "$as_dirs" || eval "mkdir $as_dirs"
52479 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52480 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52481 { (exit 1); exit 1; }; }; }
52482 ac_builddir=.
52483
52484 case "$ac_dir" in
52485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52486 *)
52487 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52488 # A ".." for each directory in $ac_dir_suffix.
52489 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52490 case $ac_top_builddir_sub in
52491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52493 esac ;;
52494 esac
52495 ac_abs_top_builddir=$ac_pwd
52496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52497 # for backward compatibility:
52498 ac_top_builddir=$ac_top_build_prefix
52499
52500 case $srcdir in
52501 .) # We are building in place.
52502 ac_srcdir=.
52503 ac_top_srcdir=$ac_top_builddir_sub
52504 ac_abs_top_srcdir=$ac_pwd ;;
52505 [\\/]* | ?:[\\/]* ) # Absolute name.
52506 ac_srcdir=$srcdir$ac_dir_suffix;
52507 ac_top_srcdir=$srcdir
52508 ac_abs_top_srcdir=$srcdir ;;
52509 *) # Relative name.
52510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52511 ac_top_srcdir=$ac_top_build_prefix$srcdir
52512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52513 esac
52514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52515
52516
52517 cd "$ac_dir"
52518
52519 # Check for guested configure; otherwise get Cygnus style configure.
52520 if test -f "$ac_srcdir/configure.gnu"; then
52521 ac_sub_configure=$ac_srcdir/configure.gnu
52522 elif test -f "$ac_srcdir/configure"; then
52523 ac_sub_configure=$ac_srcdir/configure
52524 elif test -f "$ac_srcdir/configure.in"; then
52525 # This should be Cygnus configure.
52526 ac_sub_configure=$ac_aux_dir/configure
52527 else
52528 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52529 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52530 ac_sub_configure=
52531 fi
52532
52533 # The recursion is here.
52534 if test -n "$ac_sub_configure"; then
52535 # Make the cache file name correct relative to the subdirectory.
52536 case $cache_file in
52537 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52538 *) # Relative name.
52539 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52540 esac
52541
52542 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52543 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52544 # The eval makes quoting arguments work.
52545 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52546 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52547 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52548 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52549 { (exit 1); exit 1; }; }
52550 fi
52551
52552 cd "$ac_popdir"
52553 done
52554 fi
52555
52556
52557 echo
52558 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52559 echo ""
52560 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52561 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52562
52563 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52564 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52565 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52566 if test "$wxUSE_UNICODE" = "yes"; then
52567 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52568 echo " (using UTF-8)"
52569 else
52570 echo " (using wchar_t)"
52571 fi
52572 else
52573 echo
52574 fi
52575
52576 echo " What level of wxWidgets compatibility should be enabled?"
52577 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52578 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52579
52580 echo " Which libraries should wxWidgets use?"
52581 echo " STL ${wxUSE_STL}"
52582 echo " jpeg ${wxUSE_LIBJPEG-none}"
52583 echo " png ${wxUSE_LIBPNG-none}"
52584 echo " regex ${wxUSE_REGEX}"
52585 echo " tiff ${wxUSE_LIBTIFF-none}"
52586 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52587 echo " xpm ${wxUSE_LIBXPM-none}"
52588 fi
52589 echo " zlib ${wxUSE_ZLIB}"
52590 echo " expat ${wxUSE_EXPAT}"
52591 echo " libmspack ${wxUSE_LIBMSPACK}"
52592 echo " sdl ${wxUSE_LIBSDL}"
52593
52594 echo ""
52595