]> git.saurik.com Git - wxWidgets.git/blob - configure
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 56400 2008-10-17 12:39:21Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 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 OBJCXXFLAGS
810 GCC_PCH
811 ICC_PCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 --target=TARGET configure for building compilers for TARGET [HOST]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x-locale support (requires wxLocale)
1698 --enable-config use wxConfig (and derived) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP (requires wxProtocol
1701 --enable-http use wxHTTP (requires wxProtocol
1702 --enable-fileproto use wxFileProto class (requires wxProtocol
1703 --enable-sockets use socket/network classes
1704 --enable-ipv6 enable IPv6 support in wxSocket
1705 --enable-ole use OLE classes (Win32 only)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication (wxSocket etc.)
1708 --enable-baseevtloop use event loop in console programs too
1709 --enable-epollloop use wxEpollDispatcher class (Linux only)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding/decoding functions
1714 --enable-backtrace use wxStackWalker class for getting backtraces
1715 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class for DLL loading
1721 --enable-dynamicloader use (new) wxDynamicLibrary class
1722 --enable-exceptions build exception-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support in wxProtocol
1751 --enable-protocol-ftp FTP support in wxProtocol
1752 --enable-protocol-file FILE support in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig (Win32 only)
1755 --enable-regkey use wxRegKey class (Win32 only)
1756 --enable-docview use document view architecture
1757 --enable-help use help subsystem
1758 --enable-mshtmlhelp use MS HTML Help (win32)
1759 --enable-html use wxHTML sub-library
1760 --enable-htmlhelp use wxHTML-based help
1761 --enable-xrc use XRC resources sub-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl (Mac)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context 2D drawing API
1776 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-button use wxButton class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-dirpicker use wxDirPickerCtrl class
1800 --enable-display use wxDisplay class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filepicker use wxFilePickerCtrl class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-dataviewctrl use wxDataViewCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-radiobox use wxRadioBox class
1818 --enable-radiobtn use wxRadioButton class
1819 --enable-sash use wxSashWindow class
1820 --enable-scrollbar use wxScrollBar class and scrollable windows
1821 --enable-searchctrl use wxSearchCtrl class
1822 --enable-slider use wxSlider class
1823 --enable-spinbtn use wxSpinButton class
1824 --enable-spinctrl use wxSpinCtrl class
1825 --enable-splitter use wxSplitterWindow class
1826 --enable-statbmp use wxStaticBitmap class
1827 --enable-statbox use wxStaticBox class
1828 --enable-statline use wxStaticLine class
1829 --enable-stattext use wxStaticText class
1830 --enable-statusbar use wxStatusBar class
1831 --enable-tabdialog use wxTabControl class
1832 --enable-taskbaricon use wxTaskBarIcon class
1833 --enable-textctrl use wxTextCtrl class
1834 --enable-togglebtn use wxToggleButton class
1835 --enable-toolbar use wxToolBar class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-treebook use wxTreebook class
1838 --enable-toolbook use wxToolbook class
1839 --enable-treectrl use wxTreeCtrl class
1840 --enable-tipwindow use wxTipWindow class
1841 --enable-popupwin use wxPopUpWindow class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile (Win32 only)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images (GIF file format)
1871 --enable-pcx use pcx images (PCX file format)
1872 --enable-tga use tga images (TGA file format)
1873 --enable-iff use iff images (IFF file format)
1874 --enable-pnm use pnm images (PNM file format)
1875 --enable-xpm use xpm images (XPM file format)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects (Win32 only)
1878 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1879 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1880 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1881 --enable-wxdib use wxDIB class (Win32 only)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support for large files
1884 --disable-gtktest do not try to compile and run a test GTK+ program
1885 --disable-gtktest Do not try to compile and run a test GTK program
1886 --disable-sdltest Do not try to compile and run a test SDL program
1887 --enable-omf use OMF object format (OS/2)
1888 --disable-dependency-tracking
1889 don't use dependency tracking even if the compiler
1890 can
1891 --disable-precomp-headers
1892 don't use precompiled headers even if compiler can
1893
1894 Optional Packages:
1895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1897 --without-subdirs don't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1912 --with-x11 use X11
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1939
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1948 CPP C preprocessor
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1952 DIRECTFB_CFLAGS
1953 C compiler flags for DIRECTFB, overriding pkg-config
1954 DIRECTFB_LIBS
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1957 PANGOX_CFLAGS
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1960 PANGOFT2_CFLAGS
1961 C compiler flags for PANGOFT2, overriding pkg-config
1962 PANGOFT2_LIBS
1963 linker flags for PANGOFT2, overriding pkg-config
1964 PANGOXFT_CFLAGS
1965 C compiler flags for PANGOXFT, overriding pkg-config
1966 PANGOXFT_LIBS
1967 linker flags for PANGOXFT, overriding pkg-config
1968 GTKPRINT_CFLAGS
1969 C compiler flags for GTKPRINT, overriding pkg-config
1970 GTKPRINT_LIBS
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 GNOMEVFS_CFLAGS
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1978 GNOMEVFS_LIBS
1979 linker flags for GNOMEVFS, overriding pkg-config
1980 HILDON_CFLAGS
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1983 CAIRO_CFLAGS
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1988
1989 Use these variables to override the choices made by `configure' or to help
1990 it to find libraries and programs with nonstandard names/locations.
1991
1992 Report bugs to <wx-dev@lists.wxwidgets.org>.
1993 _ACEOF
1994 ac_status=$?
1995 fi
1996
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2000 test -d "$ac_dir" || continue
2001 ac_builddir=.
2002
2003 case "$ac_dir" in
2004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2005 *)
2006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2012 esac ;;
2013 esac
2014 ac_abs_top_builddir=$ac_pwd
2015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir=$ac_top_build_prefix
2018
2019 case $srcdir in
2020 .) # We are building in place.
2021 ac_srcdir=.
2022 ac_top_srcdir=$ac_top_builddir_sub
2023 ac_abs_top_srcdir=$ac_pwd ;;
2024 [\\/]* | ?:[\\/]* ) # Absolute name.
2025 ac_srcdir=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir=$srcdir
2027 ac_abs_top_srcdir=$srcdir ;;
2028 *) # Relative name.
2029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2032 esac
2033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2034
2035 cd "$ac_dir" || { ac_status=$?; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2038 echo &&
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2043 else
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2045 fi || ac_status=$?
2046 cd "$ac_pwd" || { ac_status=$?; break; }
2047 done
2048 fi
2049
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2052 cat <<\_ACEOF
2053 wxWidgets configure 2.9.0
2054 generated by GNU Autoconf 2.61
2055
2056 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2058 This configure script is free software; the Free Software Foundation
2059 gives unlimited permission to copy, distribute and modify it.
2060 _ACEOF
2061 exit
2062 fi
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2143 2)
2144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 ac_configure_args="$ac_configure_args '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2166 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2182 _ASBOX
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2219 _ASBOX
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 cat <<\_ASBOX
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_files
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247 fi
2248
2249 if test -s confdefs.h; then
2250 cat <<\_ASBOX
2251 ## ----------- ##
2252 ## confdefs.h. ##
2253 ## ----------- ##
2254 _ASBOX
2255 echo
2256 cat confdefs.h
2257 echo
2258 fi
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2262 } >&5
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2265 exit $exit_status
2266 ' 0
2267 for ac_signal in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2269 done
2270 ac_signal=0
2271
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest* confdefs.h
2274
2275 # Predefined preprocessor variables.
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 _ACEOF
2280
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x "$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE; then
2307 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2308 else
2309 set x "$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2311 fi
2312 shift
2313 for ac_site_file
2314 do
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2319 . "$ac_site_file"
2320 fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2329 case $cache_file in
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2332 esac
2333 fi
2334 else
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2337 >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted=:
2367 fi;;
2368 esac
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2371 case $ac_new_val in
2372 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg=$ac_var=$ac_new_val ;;
2374 esac
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2378 esac
2379 fi
2380 done
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421
2422
2423 ac_aux_dir=
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2428 break
2429 elif test -f "$ac_dir/install.sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2432 break
2433 elif test -f "$ac_dir/shtool"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2436 break
2437 fi
2438 done
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2459
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 ac_build_alias=$build_alias
2466 test "x$ac_build_alias" = x &&
2467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x &&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 build=$ac_cv_build
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_build
2489 shift
2490 build_cpu=$1
2491 build_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 build_os=$*
2496 IFS=$ac_save_IFS
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2507 else
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 host=$ac_cv_host
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_host
2526 shift
2527 host_cpu=$1
2528 host_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 host_os=$*
2533 IFS=$ac_save_IFS
2534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 { echo "$as_me:$LINENO: checking target system type" >&5
2538 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2539 if test "${ac_cv_target+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 if test "x$target_alias" = x; then
2543 ac_cv_target=$ac_cv_host
2544 else
2545 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2548 { (exit 1); exit 1; }; }
2549 fi
2550
2551 fi
2552 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2553 echo "${ECHO_T}$ac_cv_target" >&6; }
2554 case $ac_cv_target in
2555 *-*-*) ;;
2556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2557 echo "$as_me: error: invalid value of canonical target" >&2;}
2558 { (exit 1); exit 1; }; };;
2559 esac
2560 target=$ac_cv_target
2561 ac_save_IFS=$IFS; IFS='-'
2562 set x $ac_cv_target
2563 shift
2564 target_cpu=$1
2565 target_vendor=$2
2566 shift; shift
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2569 target_os=$*
2570 IFS=$ac_save_IFS
2571 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2572
2573
2574 # The aliases save the names the user supplied, while $host etc.
2575 # will get canonicalized.
2576 test -n "$target_alias" &&
2577 test "$program_prefix$program_suffix$program_transform_name" = \
2578 NONENONEs,x,x, &&
2579 program_prefix=${target_alias}-
2580
2581
2582
2583 wx_major_version_number=2
2584 wx_minor_version_number=9
2585 wx_release_number=0
2586 wx_subrelease_number=0
2587
2588 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2589 WX_VERSION=$WX_RELEASE.$wx_release_number
2590 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2591
2592 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2593
2594
2595 wx_top_builddir="`pwd`"
2596
2597
2598
2599
2600 USE_UNIX=1
2601 USE_OS2=0
2602 USE_WIN32=0
2603 USE_DOS=0
2604 USE_BEOS=0
2605 USE_MAC=0
2606
2607 USE_AIX=
2608 USE_BSD= USE_DARWIN= USE_FREEBSD=
2609 USE_GNU= USE_HPUX=
2610 USE_LINUX=
2611 USE_NETBSD=
2612 USE_OPENBSD=
2613 USE_OSF= USE_SGI=
2614 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2615 USE_ULTRIX=
2616 USE_UNIXWARE=
2617
2618 USE_ALPHA=
2619
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2621
2622 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2623
2624 DEFAULT_wxUSE_COCOA=0
2625 DEFAULT_wxUSE_GTK=0
2626 DEFAULT_wxUSE_OSX_CARBON=0
2627 DEFAULT_wxUSE_OSX_COCOA=0
2628 DEFAULT_wxUSE_MGL=0
2629 DEFAULT_wxUSE_MICROWIN=0
2630 DEFAULT_wxUSE_MOTIF=0
2631 DEFAULT_wxUSE_MSW=0
2632 DEFAULT_wxUSE_PM=0
2633 DEFAULT_wxUSE_X11=0
2634 DEFAULT_wxUSE_DFB=0
2635
2636 DEFAULT_DEFAULT_wxUSE_COCOA=0
2637 DEFAULT_DEFAULT_wxUSE_GTK=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_MGL=0
2641 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2642 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2643 DEFAULT_DEFAULT_wxUSE_MSW=0
2644 DEFAULT_DEFAULT_wxUSE_PM=0
2645 DEFAULT_DEFAULT_wxUSE_X11=0
2646 DEFAULT_DEFAULT_wxUSE_DFB=0
2647
2648 PROGRAM_EXT=
2649 SO_SUFFIX=so
2650 SAMPLES_RPATH_FLAG=
2651 SAMPLES_RPATH_POSTLINK=
2652
2653 DEFAULT_STD_FLAG=yes
2654
2655 case "${host}" in
2656 *-hp-hpux* )
2657 USE_HPUX=1
2658 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2659 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2660 SO_SUFFIX=sl
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __HPUX__ 1
2663 _ACEOF
2664
2665
2666 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2667 ;;
2668 *-*-linux* )
2669 USE_LINUX=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __LINUX__ 1
2672 _ACEOF
2673
2674 TMP=`uname -m`
2675 if test "x$TMP" = "xalpha"; then
2676 USE_ALPHA=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __ALPHA__ 1
2679 _ACEOF
2680
2681 fi
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2683 ;;
2684 *-*-gnu* | *-*-k*bsd*-gnu )
2685 USE_GNU=1
2686 TMP=`uname -m`
2687 if test "x$TMP" = "xalpha"; then
2688 USE_ALPHA=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __ALPHA__ 1
2691 _ACEOF
2692
2693 fi
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-irix5* | *-*-irix6* )
2697 USE_SGI=1
2698 USE_SVR4=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SGI__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SVR4__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-solaris2* )
2710 USE_SUN=1
2711 USE_SOLARIS=1
2712 USE_SVR4=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SOLARIS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __SVR4__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727 ;;
2728 *-*-sunos4* )
2729 USE_SUN=1
2730 USE_SUNOS=1
2731 USE_BSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SUN__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SUNOS__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 ;;
2746 *-*-freebsd*)
2747 USE_BSD=1
2748 USE_FREEBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __FREEBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 ;;
2759 *-*-openbsd*|*-*-mirbsd*)
2760 USE_BSD=1
2761 USE_OPENBSD=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __OPENBSD__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __BSD__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_GTK=1
2771 ;;
2772 *-*-netbsd*)
2773 USE_BSD=1
2774 USE_NETBSD=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __NETBSD__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __BSD__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_GTK=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2785
2786 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2787 ;;
2788 *-*-osf* )
2789 USE_ALPHA=1
2790 USE_OSF=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __ALPHA__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __OSF__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 ;;
2802 *-*-dgux5* )
2803 USE_ALPHA=1
2804 USE_SVR4=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __ALPHA__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-sysv5* )
2816 USE_SYSV=1
2817 USE_SVR4=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SYSV__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828 *-*-aix* )
2829 USE_AIX=1
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 SO_SUFFIX=a
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __AIX__ 1
2835 _ACEOF
2836
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SYSV__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __SVR4__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 ;;
2847
2848 *-*-*UnixWare*)
2849 USE_SYSV=1
2850 USE_SVR4=1
2851 USE_UNIXWARE=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __UNIXWARE__ 1
2854 _ACEOF
2855
2856 ;;
2857
2858 *-*-cygwin* | *-*-mingw32* )
2859 SO_SUFFIX=dll
2860 PROGRAM_EXT=".exe"
2861 DEFAULT_DEFAULT_wxUSE_MSW=1
2862 ;;
2863
2864 *-pc-msdosdjgpp )
2865 USE_UNIX=0
2866 USE_DOS=1
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DOS__ 1
2869 _ACEOF
2870
2871 PROGRAM_EXT=".exe"
2872 DEFAULT_DEFAULT_wxUSE_MGL=1
2873 ;;
2874
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __EMX__ 1
2878 _ACEOF
2879
2880 USE_OS2=1
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __OS2__ 1
2883 _ACEOF
2884
2885 PROGRAM_EXT=".exe"
2886 DEFAULT_DEFAULT_wxUSE_PM=1
2887 CXX=gcc
2888 LDFLAGS="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions=".exe"
2890 export ac_executable_extensions
2891 ac_save_IFS="$IFS"
2892 IFS='\\'
2893 ac_TEMP_PATH=
2894 for ac_dir in $PATH; do
2895 IFS=$ac_save_IFS
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH="$ac_dir"
2898 else
2899 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2900 fi
2901 done
2902 export PATH="$ac_TEMP_PATH"
2903 unset ac_TEMP_PATH
2904 DEFAULT_STD_FLAG=no
2905 ;;
2906
2907 *-*-darwin* )
2908 USE_BSD=1
2909 USE_DARWIN=1
2910 SO_SUFFIX=dylib
2911 cat >>confdefs.h <<\_ACEOF
2912 #define __BSD__ 1
2913 _ACEOF
2914
2915 cat >>confdefs.h <<\_ACEOF
2916 #define __DARWIN__ 1
2917 _ACEOF
2918
2919 cat >>confdefs.h <<\_ACEOF
2920 #define TARGET_CARBON 1
2921 _ACEOF
2922
2923 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2924 DEFAULT_STD_FLAG=no
2925 ;;
2926 powerpc-apple-macos* )
2927 USE_UNIX=0
2928 ac_cv_c_bigendian=yes
2929 SO_SUFFIX=shlib
2930 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2931 DEFAULT_STD_FLAG=no
2932 ;;
2933
2934 *-*-beos* )
2935 USE_BEOS=1
2936 cat >>confdefs.h <<\_ACEOF
2937 #define __BEOS__ 1
2938 _ACEOF
2939
2940 ;;
2941
2942 *)
2943 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2944 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2945 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2946 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2947
2948 DEFAULT_DEFAULT_wxUSE_X11=1
2949 DEFAULT_wxUSE_SHARED=no
2950 esac
2951
2952
2953
2954 DEFAULT_wxUSE_ALL_FEATURES=yes
2955
2956 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2957 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2958
2959 DEFAULT_wxUSE_DMALLOC=no
2960 DEFAULT_wxUSE_LIBGNOMEVFS=no
2961 DEFAULT_wxUSE_LIBHILDON=no
2962 DEFAULT_wxUSE_LIBMSPACK=no
2963 DEFAULT_wxUSE_LIBSDL=no
2964 DEFAULT_wxUSE_OPENGL=no
2965
2966 DEFAULT_wxUSE_ACCESSIBILITY=no
2967 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2968 DEFAULT_wxUSE_IPV6=no
2969 DEFAULT_wxUSE_MEDIACTRL=no
2970 DEFAULT_wxUSE_TAB_DIALOG=no
2971 DEFAULT_wxUSE_GSTREAMER8=no
2972
2973 DEFAULT_wxUSE_UNICODE_UTF8=auto
2974 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2975
2976 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2977
2978 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2979
2980 DEFAULT_wxUSE_GTK2=yes
2981
2982 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2983
2984
2985
2986
2987
2988 enablestring=disable
2989 defaultval=
2990 if test -z "$defaultval"; then
2991 if test x"$enablestring" = xdisable; then
2992 defaultval=yes
2993 else
2994 defaultval=no
2995 fi
2996 fi
2997
2998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2999 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3000 # Check whether --enable-gui was given.
3001 if test "${enable_gui+set}" = set; then
3002 enableval=$enable_gui;
3003 if test "$enableval" = yes; then
3004 wx_cv_use_gui='wxUSE_GUI=yes'
3005 else
3006 wx_cv_use_gui='wxUSE_GUI=no'
3007 fi
3008
3009 else
3010
3011 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012
3013 fi
3014
3015
3016 eval "$wx_cv_use_gui"
3017
3018 if test x"$enablestring" = xdisable; then
3019 if test $wxUSE_GUI = yes; then
3020 result=no
3021 else
3022 result=yes
3023 fi
3024 else
3025 result=$wxUSE_GUI
3026 fi
3027
3028 { echo "$as_me:$LINENO: result: $result" >&5
3029 echo "${ECHO_T}$result" >&6; }
3030
3031
3032 enablestring=
3033 defaultval=
3034 if test -z "$defaultval"; then
3035 if test x"$enablestring" = xdisable; then
3036 defaultval=yes
3037 else
3038 defaultval=no
3039 fi
3040 fi
3041
3042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3043 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3044 # Check whether --enable-monolithic was given.
3045 if test "${enable_monolithic+set}" = set; then
3046 enableval=$enable_monolithic;
3047 if test "$enableval" = yes; then
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3049 else
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3051 fi
3052
3053 else
3054
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3056
3057 fi
3058
3059
3060 eval "$wx_cv_use_monolithic"
3061
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3064 result=no
3065 else
3066 result=yes
3067 fi
3068 else
3069 result=$wxUSE_MONOLITHIC
3070 fi
3071
3072 { echo "$as_me:$LINENO: result: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3074
3075
3076 enablestring=
3077 defaultval=
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3080 defaultval=yes
3081 else
3082 defaultval=no
3083 fi
3084 fi
3085
3086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 else
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3095 fi
3096
3097 else
3098
3099 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3100
3101 fi
3102
3103
3104 eval "$wx_cv_use_plugins"
3105
3106 if test x"$enablestring" = xdisable; then
3107 if test $wxUSE_PLUGINS = yes; then
3108 result=no
3109 else
3110 result=yes
3111 fi
3112 else
3113 result=$wxUSE_PLUGINS
3114 fi
3115
3116 { echo "$as_me:$LINENO: result: $result" >&5
3117 echo "${ECHO_T}$result" >&6; }
3118
3119
3120 withstring=without
3121 defaultval=$wxUSE_ALL_FEATURES
3122 if test -z "$defaultval"; then
3123 if test x"$withstring" = xwithout; then
3124 defaultval=yes
3125 else
3126 defaultval=no
3127 fi
3128 fi
3129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3130 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3131
3132 # Check whether --with-subdirs was given.
3133 if test "${with_subdirs+set}" = set; then
3134 withval=$with_subdirs;
3135 if test "$withval" = yes; then
3136 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3137 else
3138 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3139 fi
3140
3141 else
3142
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3144
3145 fi
3146
3147
3148 eval "$wx_cv_use_subdirs"
3149
3150 if test x"$withstring" = xwithout; then
3151 if test $wxWITH_SUBDIRS = yes; then
3152 result=no
3153 else
3154 result=yes
3155 fi
3156 else
3157 result=$wxWITH_SUBDIRS
3158 fi
3159
3160 { echo "$as_me:$LINENO: result: $result" >&5
3161 echo "${ECHO_T}$result" >&6; }
3162
3163
3164 # Check whether --with-flavour was given.
3165 if test "${with_flavour+set}" = set; then
3166 withval=$with_flavour; WX_FLAVOUR="$withval"
3167 fi
3168
3169
3170 enablestring=
3171 defaultval=
3172 if test -z "$defaultval"; then
3173 if test x"$enablestring" = xdisable; then
3174 defaultval=yes
3175 else
3176 defaultval=no
3177 fi
3178 fi
3179
3180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3182 # Check whether --enable-official_build was given.
3183 if test "${enable_official_build+set}" = set; then
3184 enableval=$enable_official_build;
3185 if test "$enableval" = yes; then
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3187 else
3188 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3189 fi
3190
3191 else
3192
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3194
3195 fi
3196
3197
3198 eval "$wx_cv_use_official_build"
3199
3200 if test x"$enablestring" = xdisable; then
3201 if test $wxUSE_OFFICIAL_BUILD = yes; then
3202 result=no
3203 else
3204 result=yes
3205 fi
3206 else
3207 result=$wxUSE_OFFICIAL_BUILD
3208 fi
3209
3210 { echo "$as_me:$LINENO: result: $result" >&5
3211 echo "${ECHO_T}$result" >&6; }
3212
3213 # Check whether --enable-vendor was given.
3214 if test "${enable_vendor+set}" = set; then
3215 enableval=$enable_vendor; VENDOR="$enableval"
3216 fi
3217
3218 if test "x$VENDOR" = "x"; then
3219 VENDOR="custom"
3220 fi
3221
3222
3223 enablestring=disable
3224 defaultval=
3225 if test -z "$defaultval"; then
3226 if test x"$enablestring" = xdisable; then
3227 defaultval=yes
3228 else
3229 defaultval=no
3230 fi
3231 fi
3232
3233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3234 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3235 # Check whether --enable-all-features was given.
3236 if test "${enable_all_features+set}" = set; then
3237 enableval=$enable_all_features;
3238 if test "$enableval" = yes; then
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3240 else
3241 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3242 fi
3243
3244 else
3245
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3247
3248 fi
3249
3250
3251 eval "$wx_cv_use_all_features"
3252
3253 if test x"$enablestring" = xdisable; then
3254 if test $wxUSE_ALL_FEATURES = yes; then
3255 result=no
3256 else
3257 result=yes
3258 fi
3259 else
3260 result=$wxUSE_ALL_FEATURES
3261 fi
3262
3263 { echo "$as_me:$LINENO: result: $result" >&5
3264 echo "${ECHO_T}$result" >&6; }
3265
3266
3267
3268 if test "$wxUSE_GUI" = "yes"; then
3269
3270
3271 enablestring=
3272 defaultval=
3273 if test -z "$defaultval"; then
3274 if test x"$enablestring" = xdisable; then
3275 defaultval=yes
3276 else
3277 defaultval=no
3278 fi
3279 fi
3280
3281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3282 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3283 # Check whether --enable-universal was given.
3284 if test "${enable_universal+set}" = set; then
3285 enableval=$enable_universal;
3286 if test "$enableval" = yes; then
3287 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3288 else
3289 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3290 fi
3291
3292 else
3293
3294 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3295
3296 fi
3297
3298
3299 eval "$wx_cv_use_universal"
3300
3301 if test x"$enablestring" = xdisable; then
3302 if test $wxUSE_UNIVERSAL = yes; then
3303 result=no
3304 else
3305 result=yes
3306 fi
3307 else
3308 result=$wxUSE_UNIVERSAL
3309 fi
3310
3311 { echo "$as_me:$LINENO: result: $result" >&5
3312 echo "${ECHO_T}$result" >&6; }
3313
3314 if test "$wxUSE_UNIVERSAL" = "yes"; then
3315
3316 # Check whether --with-themes was given.
3317 if test "${with_themes+set}" = set; then
3318 withval=$with_themes; wxUNIV_THEMES="$withval"
3319 fi
3320
3321 fi
3322
3323
3324 # Check whether --with-gtk was given.
3325 if test "${with_gtk+set}" = set; then
3326 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-motif was given.
3331 if test "${with_motif+set}" = set; then
3332 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-osx_carbon was given.
3337 if test "${with_osx_carbon+set}" = set; then
3338 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-osx_cocoa was given.
3343 if test "${with_osx_cocoa+set}" = set; then
3344 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-mac was given.
3349 if test "${with_mac+set}" = set; then
3350 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-cocoa was given.
3355 if test "${with_cocoa+set}" = set; then
3356 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-wine was given.
3361 if test "${with_wine+set}" = set; then
3362 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3363 fi
3364
3365
3366 # Check whether --with-msw was given.
3367 if test "${with_msw+set}" = set; then
3368 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-pm was given.
3373 if test "${with_pm+set}" = set; then
3374 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-mgl was given.
3379 if test "${with_mgl+set}" = set; then
3380 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-directfb was given.
3385 if test "${with_directfb+set}" = set; then
3386 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-microwin was given.
3391 if test "${with_microwin+set}" = set; then
3392 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-x11 was given.
3397 if test "${with_x11+set}" = set; then
3398 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 enablestring=
3403 defaultval=
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3406 defaultval=yes
3407 else
3408 defaultval=no
3409 fi
3410 fi
3411
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3414 # Check whether --enable-nanox was given.
3415 if test "${enable_nanox+set}" = set; then
3416 enableval=$enable_nanox;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_nanox='wxUSE_NANOX=yes'
3419 else
3420 wx_cv_use_nanox='wxUSE_NANOX=no'
3421 fi
3422
3423 else
3424
3425 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3426
3427 fi
3428
3429
3430 eval "$wx_cv_use_nanox"
3431
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_NANOX = yes; then
3434 result=no
3435 else
3436 result=yes
3437 fi
3438 else
3439 result=$wxUSE_NANOX
3440 fi
3441
3442 { echo "$as_me:$LINENO: result: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3444
3445
3446 # Check whether --enable-gtk2 was given.
3447 if test "${enable_gtk2+set}" = set; then
3448 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3449 fi
3450
3451
3452 enablestring=
3453 defaultval=
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3456 defaultval=yes
3457 else
3458 defaultval=no
3459 fi
3460 fi
3461
3462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3464 # Check whether --enable-gpe was given.
3465 if test "${enable_gpe+set}" = set; then
3466 enableval=$enable_gpe;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_gpe='wxUSE_GPE=yes'
3469 else
3470 wx_cv_use_gpe='wxUSE_GPE=no'
3471 fi
3472
3473 else
3474
3475 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3476
3477 fi
3478
3479
3480 eval "$wx_cv_use_gpe"
3481
3482 if test x"$enablestring" = xdisable; then
3483 if test $wxUSE_GPE = yes; then
3484 result=no
3485 else
3486 result=yes
3487 fi
3488 else
3489 result=$wxUSE_GPE
3490 fi
3491
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3494
3495
3496
3497 { echo "$as_me:$LINENO: checking for toolkit" >&5
3498 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3499
3500
3501
3502 # In Wine, we need to default to MSW, not GTK or MOTIF
3503 if test "$wxUSE_WINE" = "yes"; then
3504 DEFAULT_DEFAULT_wxUSE_GTK=0
3505 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3506 DEFAULT_DEFAULT_wxUSE_MSW=1
3507 wxUSE_SHARED=no
3508 CC=${CC:-winegcc}
3509 CXX=${CXX:-wineg++}
3510 fi
3511
3512
3513 if test "$wxUSE_GUI" = "yes"; then
3514
3515 if test "$USE_BEOS" = 1; then
3516 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3517 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3518 { (exit 1); exit 1; }; }
3519 fi
3520
3521 if test "$TOOLKIT_GIVEN" = 1; then
3522 for toolkit in $ALL_TOOLKITS; do
3523 var=wxUSE_$toolkit
3524 eval "value=\$${var}"
3525 if test "x$value" = "xno"; then
3526 eval "$var=0"
3527 elif test "x$value" != "x"; then
3528 eval "$var=1"
3529 fi
3530
3531 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3532 eval "wx${toolkit}_VERSION=$value"
3533 fi
3534 done
3535 else
3536 for toolkit in $ALL_TOOLKITS; do
3537 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3538 eval "wxUSE_$toolkit=\$${var}"
3539 done
3540 fi
3541
3542 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3543 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3544 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3545
3546 case "${host}" in
3547 *-pc-os2_emx | *-pc-os2-emx )
3548 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3549 esac
3550
3551 case "$NUM_TOOLKITS" in
3552 1)
3553 ;;
3554 0)
3555 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3556 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3557 { (exit 1); exit 1; }; }
3558 ;;
3559 *)
3560 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3561 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3562 { (exit 1); exit 1; }; }
3563 esac
3564
3565 # to be removed when --disable-gtk2 isn't needed
3566 if test "x$wxUSE_GTK2" = "xyes"; then
3567 wxGTK_VERSION=2
3568 elif test "x$wxUSE_GTK2" = "xno"; then
3569 wxGTK_VERSION=1
3570 fi
3571
3572 for toolkit in $ALL_TOOLKITS; do
3573 var=wxUSE_$toolkit
3574 eval "value=\$${var}"
3575 if test "$value" = 1; then
3576 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3577 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3578 echo "${ECHO_T}$toolkit_echo" >&6; }
3579 fi
3580 done
3581 else
3582 if test "x$host_alias" != "x"; then
3583 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3584 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3585 else
3586 { echo "$as_me:$LINENO: result: base only" >&5
3587 echo "${ECHO_T}base only" >&6; }
3588 fi
3589 fi
3590
3591 wxUSE_MAC=0
3592 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3593 wxUSE_MAC=1
3594 fi
3595
3596
3597
3598 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3599 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3600
3601 # Check whether --with-libpng was given.
3602 if test "${with_libpng+set}" = set; then
3603 withval=$with_libpng;
3604 if test "$withval" = yes; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3606 elif test "$withval" = no; then
3607 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3608 elif test "$withval" = sys; then
3609 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3610 elif test "$withval" = builtin; then
3611 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3612 else
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3616 fi
3617
3618 else
3619
3620 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3621
3622 fi
3623
3624
3625 eval "$wx_cv_use_libpng"
3626
3627 if test "$wxUSE_LIBPNG" = yes; then
3628 { echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6; }
3630 elif test "$wxUSE_LIBPNG" = no; then
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3633 elif test "$wxUSE_LIBPNG" = sys; then
3634 { echo "$as_me:$LINENO: result: system version" >&5
3635 echo "${ECHO_T}system version" >&6; }
3636 elif test "$wxUSE_LIBPNG" = builtin; then
3637 { echo "$as_me:$LINENO: result: builtin version" >&5
3638 echo "${ECHO_T}builtin version" >&6; }
3639 else
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3643 fi
3644
3645
3646 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3647 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3648
3649 # Check whether --with-libjpeg was given.
3650 if test "${with_libjpeg+set}" = set; then
3651 withval=$with_libjpeg;
3652 if test "$withval" = yes; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3654 elif test "$withval" = no; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3656 elif test "$withval" = sys; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3658 elif test "$withval" = builtin; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666 else
3667
3668 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3669
3670 fi
3671
3672
3673 eval "$wx_cv_use_libjpeg"
3674
3675 if test "$wxUSE_LIBJPEG" = yes; then
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = no; then
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = sys; then
3682 { echo "$as_me:$LINENO: result: system version" >&5
3683 echo "${ECHO_T}system version" >&6; }
3684 elif test "$wxUSE_LIBJPEG" = builtin; then
3685 { echo "$as_me:$LINENO: result: builtin version" >&5
3686 echo "${ECHO_T}builtin version" >&6; }
3687 else
3688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3689 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3691 fi
3692
3693
3694 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3695 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3696
3697 # Check whether --with-libtiff was given.
3698 if test "${with_libtiff+set}" = set; then
3699 withval=$with_libtiff;
3700 if test "$withval" = yes; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3702 elif test "$withval" = no; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3704 elif test "$withval" = sys; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3706 elif test "$withval" = builtin; then
3707 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3708 else
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3712 fi
3713
3714 else
3715
3716 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3717
3718 fi
3719
3720
3721 eval "$wx_cv_use_libtiff"
3722
3723 if test "$wxUSE_LIBTIFF" = yes; then
3724 { echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = no; then
3727 { echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = sys; then
3730 { echo "$as_me:$LINENO: result: system version" >&5
3731 echo "${ECHO_T}system version" >&6; }
3732 elif test "$wxUSE_LIBTIFF" = builtin; then
3733 { echo "$as_me:$LINENO: result: builtin version" >&5
3734 echo "${ECHO_T}builtin version" >&6; }
3735 else
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3739 fi
3740
3741
3742 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3743 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3744
3745 # Check whether --with-libxpm was given.
3746 if test "${with_libxpm+set}" = set; then
3747 withval=$with_libxpm;
3748 if test "$withval" = yes; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3750 elif test "$withval" = no; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3752 elif test "$withval" = sys; then
3753 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3754 elif test "$withval" = builtin; then
3755 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762 else
3763
3764 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3765
3766 fi
3767
3768
3769 eval "$wx_cv_use_libxpm"
3770
3771 if test "$wxUSE_LIBXPM" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBXPM" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBXPM" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBXPM" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790 withstring=
3791 defaultval=$wxUSE_ALL_FEATURES
3792 if test -z "$defaultval"; then
3793 if test x"$withstring" = xwithout; then
3794 defaultval=yes
3795 else
3796 defaultval=no
3797 fi
3798 fi
3799 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3800 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3801
3802 # Check whether --with-libiconv was given.
3803 if test "${with_libiconv+set}" = set; then
3804 withval=$with_libiconv;
3805 if test "$withval" = yes; then
3806 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3807 else
3808 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3809 fi
3810
3811 else
3812
3813 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3814
3815 fi
3816
3817
3818 eval "$wx_cv_use_libiconv"
3819
3820 if test x"$withstring" = xwithout; then
3821 if test $wxUSE_LIBICONV = yes; then
3822 result=no
3823 else
3824 result=yes
3825 fi
3826 else
3827 result=$wxUSE_LIBICONV
3828 fi
3829
3830 { echo "$as_me:$LINENO: result: $result" >&5
3831 echo "${ECHO_T}$result" >&6; }
3832
3833
3834 withstring=
3835 defaultval=$wxUSE_ALL_FEATURES
3836 if test -z "$defaultval"; then
3837 if test x"$withstring" = xwithout; then
3838 defaultval=yes
3839 else
3840 defaultval=no
3841 fi
3842 fi
3843 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3844 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3845
3846 # Check whether --with-libmspack was given.
3847 if test "${with_libmspack+set}" = set; then
3848 withval=$with_libmspack;
3849 if test "$withval" = yes; then
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3851 else
3852 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3853 fi
3854
3855 else
3856
3857 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3858
3859 fi
3860
3861
3862 eval "$wx_cv_use_libmspack"
3863
3864 if test x"$withstring" = xwithout; then
3865 if test $wxUSE_LIBMSPACK = yes; then
3866 result=no
3867 else
3868 result=yes
3869 fi
3870 else
3871 result=$wxUSE_LIBMSPACK
3872 fi
3873
3874 { echo "$as_me:$LINENO: result: $result" >&5
3875 echo "${ECHO_T}$result" >&6; }
3876
3877
3878 withstring=without
3879 defaultval=$wxUSE_ALL_FEATURES
3880 if test -z "$defaultval"; then
3881 if test x"$withstring" = xwithout; then
3882 defaultval=yes
3883 else
3884 defaultval=no
3885 fi
3886 fi
3887 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3888 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3889
3890 # Check whether --with-gtkprint was given.
3891 if test "${with_gtkprint+set}" = set; then
3892 withval=$with_gtkprint;
3893 if test "$withval" = yes; then
3894 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3895 else
3896 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3897 fi
3898
3899 else
3900
3901 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3902
3903 fi
3904
3905
3906 eval "$wx_cv_use_gtkprint"
3907
3908 if test x"$withstring" = xwithout; then
3909 if test $wxUSE_GTKPRINT = yes; then
3910 result=no
3911 else
3912 result=yes
3913 fi
3914 else
3915 result=$wxUSE_GTKPRINT
3916 fi
3917
3918 { echo "$as_me:$LINENO: result: $result" >&5
3919 echo "${ECHO_T}$result" >&6; }
3920
3921
3922 withstring=without
3923 defaultval=$wxUSE_ALL_FEATURES
3924 if test -z "$defaultval"; then
3925 if test x"$withstring" = xwithout; then
3926 defaultval=yes
3927 else
3928 defaultval=no
3929 fi
3930 fi
3931 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3932 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3933
3934 # Check whether --with-gnomeprint was given.
3935 if test "${with_gnomeprint+set}" = set; then
3936 withval=$with_gnomeprint;
3937 if test "$withval" = yes; then
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3939 else
3940 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3941 fi
3942
3943 else
3944
3945 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3946
3947 fi
3948
3949
3950 eval "$wx_cv_use_gnomeprint"
3951
3952 if test x"$withstring" = xwithout; then
3953 if test $wxUSE_LIBGNOMEPRINT = yes; then
3954 result=no
3955 else
3956 result=yes
3957 fi
3958 else
3959 result=$wxUSE_LIBGNOMEPRINT
3960 fi
3961
3962 { echo "$as_me:$LINENO: result: $result" >&5
3963 echo "${ECHO_T}$result" >&6; }
3964
3965
3966 withstring=
3967 defaultval=$wxUSE_ALL_FEATURES
3968 if test -z "$defaultval"; then
3969 if test x"$withstring" = xwithout; then
3970 defaultval=yes
3971 else
3972 defaultval=no
3973 fi
3974 fi
3975 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3976 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3977
3978 # Check whether --with-gnomevfs was given.
3979 if test "${with_gnomevfs+set}" = set; then
3980 withval=$with_gnomevfs;
3981 if test "$withval" = yes; then
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3983 else
3984 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3985 fi
3986
3987 else
3988
3989 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3990
3991 fi
3992
3993
3994 eval "$wx_cv_use_gnomevfs"
3995
3996 if test x"$withstring" = xwithout; then
3997 if test $wxUSE_LIBGNOMEVFS = yes; then
3998 result=no
3999 else
4000 result=yes
4001 fi
4002 else
4003 result=$wxUSE_LIBGNOMEVFS
4004 fi
4005
4006 { echo "$as_me:$LINENO: result: $result" >&5
4007 echo "${ECHO_T}$result" >&6; }
4008
4009
4010 withstring=
4011 defaultval=$wxUSE_ALL_FEATURES
4012 if test -z "$defaultval"; then
4013 if test x"$withstring" = xwithout; then
4014 defaultval=yes
4015 else
4016 defaultval=no
4017 fi
4018 fi
4019 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4020 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4021
4022 # Check whether --with-hildon was given.
4023 if test "${with_hildon+set}" = set; then
4024 withval=$with_hildon;
4025 if test "$withval" = yes; then
4026 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4027 else
4028 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4029 fi
4030
4031 else
4032
4033 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4034
4035 fi
4036
4037
4038 eval "$wx_cv_use_hildon"
4039
4040 if test x"$withstring" = xwithout; then
4041 if test $wxUSE_LIBHILDON = yes; then
4042 result=no
4043 else
4044 result=yes
4045 fi
4046 else
4047 result=$wxUSE_LIBHILDON
4048 fi
4049
4050 { echo "$as_me:$LINENO: result: $result" >&5
4051 echo "${ECHO_T}$result" >&6; }
4052
4053
4054 withstring=
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4058 defaultval=yes
4059 else
4060 defaultval=no
4061 fi
4062 fi
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4065
4066 # Check whether --with-opengl was given.
4067 if test "${with_opengl+set}" = set; then
4068 withval=$with_opengl;
4069 if test "$withval" = yes; then
4070 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4071 else
4072 wx_cv_use_opengl='wxUSE_OPENGL=no'
4073 fi
4074
4075 else
4076
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_opengl"
4083
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_OPENGL = yes; then
4086 result=no
4087 else
4088 result=yes
4089 fi
4090 else
4091 result=$wxUSE_OPENGL
4092 fi
4093
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4096
4097
4098 fi
4099
4100
4101 withstring=
4102 defaultval=$wxUSE_ALL_FEATURES
4103 if test -z "$defaultval"; then
4104 if test x"$withstring" = xwithout; then
4105 defaultval=yes
4106 else
4107 defaultval=no
4108 fi
4109 fi
4110 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4111 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4112
4113 # Check whether --with-dmalloc was given.
4114 if test "${with_dmalloc+set}" = set; then
4115 withval=$with_dmalloc;
4116 if test "$withval" = yes; then
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4118 else
4119 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4120 fi
4121
4122 else
4123
4124 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4125
4126 fi
4127
4128
4129 eval "$wx_cv_use_dmalloc"
4130
4131 if test x"$withstring" = xwithout; then
4132 if test $wxUSE_DMALLOC = yes; then
4133 result=no
4134 else
4135 result=yes
4136 fi
4137 else
4138 result=$wxUSE_DMALLOC
4139 fi
4140
4141 { echo "$as_me:$LINENO: result: $result" >&5
4142 echo "${ECHO_T}$result" >&6; }
4143
4144
4145 withstring=
4146 defaultval=$wxUSE_ALL_FEATURES
4147 if test -z "$defaultval"; then
4148 if test x"$withstring" = xwithout; then
4149 defaultval=yes
4150 else
4151 defaultval=no
4152 fi
4153 fi
4154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4155 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4156
4157 # Check whether --with-sdl was given.
4158 if test "${with_sdl+set}" = set; then
4159 withval=$with_sdl;
4160 if test "$withval" = yes; then
4161 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4162 else
4163 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4164 fi
4165
4166 else
4167
4168 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4169
4170 fi
4171
4172
4173 eval "$wx_cv_use_sdl"
4174
4175 if test x"$withstring" = xwithout; then
4176 if test $wxUSE_LIBSDL = yes; then
4177 result=no
4178 else
4179 result=yes
4180 fi
4181 else
4182 result=$wxUSE_LIBSDL
4183 fi
4184
4185 { echo "$as_me:$LINENO: result: $result" >&5
4186 echo "${ECHO_T}$result" >&6; }
4187
4188
4189 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4190 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4191
4192 # Check whether --with-regex was given.
4193 if test "${with_regex+set}" = set; then
4194 withval=$with_regex;
4195 if test "$withval" = yes; then
4196 wx_cv_use_regex='wxUSE_REGEX=yes'
4197 elif test "$withval" = no; then
4198 wx_cv_use_regex='wxUSE_REGEX=no'
4199 elif test "$withval" = sys; then
4200 wx_cv_use_regex='wxUSE_REGEX=sys'
4201 elif test "$withval" = builtin; then
4202 wx_cv_use_regex='wxUSE_REGEX=builtin'
4203 else
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4207 fi
4208
4209 else
4210
4211 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4212
4213 fi
4214
4215
4216 eval "$wx_cv_use_regex"
4217
4218 if test "$wxUSE_REGEX" = yes; then
4219 { echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6; }
4221 elif test "$wxUSE_REGEX" = no; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 elif test "$wxUSE_REGEX" = sys; then
4225 { echo "$as_me:$LINENO: result: system version" >&5
4226 echo "${ECHO_T}system version" >&6; }
4227 elif test "$wxUSE_REGEX" = builtin; then
4228 { echo "$as_me:$LINENO: result: builtin version" >&5
4229 echo "${ECHO_T}builtin version" >&6; }
4230 else
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4234 fi
4235
4236
4237 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4238 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4239
4240 # Check whether --with-zlib was given.
4241 if test "${with_zlib+set}" = set; then
4242 withval=$with_zlib;
4243 if test "$withval" = yes; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4245 elif test "$withval" = no; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=no'
4247 elif test "$withval" = sys; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4249 elif test "$withval" = builtin; then
4250 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4251 else
4252 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4253 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4255 fi
4256
4257 else
4258
4259 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4260
4261 fi
4262
4263
4264 eval "$wx_cv_use_zlib"
4265
4266 if test "$wxUSE_ZLIB" = yes; then
4267 { echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6; }
4269 elif test "$wxUSE_ZLIB" = no; then
4270 { echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6; }
4272 elif test "$wxUSE_ZLIB" = sys; then
4273 { echo "$as_me:$LINENO: result: system version" >&5
4274 echo "${ECHO_T}system version" >&6; }
4275 elif test "$wxUSE_ZLIB" = builtin; then
4276 { echo "$as_me:$LINENO: result: builtin version" >&5
4277 echo "${ECHO_T}builtin version" >&6; }
4278 else
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4282 fi
4283
4284
4285 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4286 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4287
4288 # Check whether --with-expat was given.
4289 if test "${with_expat+set}" = set; then
4290 withval=$with_expat;
4291 if test "$withval" = yes; then
4292 wx_cv_use_expat='wxUSE_EXPAT=yes'
4293 elif test "$withval" = no; then
4294 wx_cv_use_expat='wxUSE_EXPAT=no'
4295 elif test "$withval" = sys; then
4296 wx_cv_use_expat='wxUSE_EXPAT=sys'
4297 elif test "$withval" = builtin; then
4298 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4299 else
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4303 fi
4304
4305 else
4306
4307 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4308
4309 fi
4310
4311
4312 eval "$wx_cv_use_expat"
4313
4314 if test "$wxUSE_EXPAT" = yes; then
4315 { echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6; }
4317 elif test "$wxUSE_EXPAT" = no; then
4318 { echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6; }
4320 elif test "$wxUSE_EXPAT" = sys; then
4321 { echo "$as_me:$LINENO: result: system version" >&5
4322 echo "${ECHO_T}system version" >&6; }
4323 elif test "$wxUSE_EXPAT" = builtin; then
4324 { echo "$as_me:$LINENO: result: builtin version" >&5
4325 echo "${ECHO_T}builtin version" >&6; }
4326 else
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4330 fi
4331
4332
4333 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4334 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4335
4336 # Check whether --with-macosx-sdk was given.
4337 if test "${with_macosx_sdk+set}" = set; then
4338 withval=$with_macosx_sdk;
4339 wxUSE_MACOSX_SDK=$withval
4340 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4341
4342 fi
4343
4344 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4345 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4346
4347 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4348 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4349
4350 # Check whether --with-macosx-version-min was given.
4351 if test "${with_macosx_version_min+set}" = set; then
4352 withval=$with_macosx_version_min;
4353 wxUSE_MACOSX_VERSION_MIN=$withval
4354 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4355
4356 fi
4357
4358 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4359 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4360
4361
4362
4363 enablestring=disable
4364 defaultval=
4365 if test -z "$defaultval"; then
4366 if test x"$enablestring" = xdisable; then
4367 defaultval=yes
4368 else
4369 defaultval=no
4370 fi
4371 fi
4372
4373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4375 # Check whether --enable-shared was given.
4376 if test "${enable_shared+set}" = set; then
4377 enableval=$enable_shared;
4378 if test "$enableval" = yes; then
4379 wx_cv_use_shared='wxUSE_SHARED=yes'
4380 else
4381 wx_cv_use_shared='wxUSE_SHARED=no'
4382 fi
4383
4384 else
4385
4386 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4387
4388 fi
4389
4390
4391 eval "$wx_cv_use_shared"
4392
4393 if test x"$enablestring" = xdisable; then
4394 if test $wxUSE_SHARED = yes; then
4395 result=no
4396 else
4397 result=yes
4398 fi
4399 else
4400 result=$wxUSE_SHARED
4401 fi
4402
4403 { echo "$as_me:$LINENO: result: $result" >&5
4404 echo "${ECHO_T}$result" >&6; }
4405
4406
4407 enablestring=
4408 defaultval=
4409 if test -z "$defaultval"; then
4410 if test x"$enablestring" = xdisable; then
4411 defaultval=yes
4412 else
4413 defaultval=no
4414 fi
4415 fi
4416
4417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4419 # Check whether --enable-debug was given.
4420 if test "${enable_debug+set}" = set; then
4421 enableval=$enable_debug;
4422 if test "$enableval" = yes; then
4423 wx_cv_use_debug='wxUSE_DEBUG=yes'
4424 else
4425 wx_cv_use_debug='wxUSE_DEBUG=no'
4426 fi
4427
4428 else
4429
4430 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4431
4432 fi
4433
4434
4435 eval "$wx_cv_use_debug"
4436
4437 if test x"$enablestring" = xdisable; then
4438 if test $wxUSE_DEBUG = yes; then
4439 result=no
4440 else
4441 result=yes
4442 fi
4443 else
4444 result=$wxUSE_DEBUG
4445 fi
4446
4447 { echo "$as_me:$LINENO: result: $result" >&5
4448 echo "${ECHO_T}$result" >&6; }
4449
4450
4451 enablestring=
4452 defaultval=
4453 if test -z "$defaultval"; then
4454 if test x"$enablestring" = xdisable; then
4455 defaultval=yes
4456 else
4457 defaultval=no
4458 fi
4459 fi
4460
4461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4462 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4463 # Check whether --enable-stl was given.
4464 if test "${enable_stl+set}" = set; then
4465 enableval=$enable_stl;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_stl='wxUSE_STL=yes'
4468 else
4469 wx_cv_use_stl='wxUSE_STL=no'
4470 fi
4471
4472 else
4473
4474 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4475
4476 fi
4477
4478
4479 eval "$wx_cv_use_stl"
4480
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_STL = yes; then
4483 result=no
4484 else
4485 result=yes
4486 fi
4487 else
4488 result=$wxUSE_STL
4489 fi
4490
4491 { echo "$as_me:$LINENO: result: $result" >&5
4492 echo "${ECHO_T}$result" >&6; }
4493
4494
4495 enablestring=
4496 defaultval=
4497 if test -z "$defaultval"; then
4498 if test x"$enablestring" = xdisable; then
4499 defaultval=yes
4500 else
4501 defaultval=no
4502 fi
4503 fi
4504
4505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4507 # Check whether --enable-std_iostreams was given.
4508 if test "${enable_std_iostreams+set}" = set; then
4509 enableval=$enable_std_iostreams;
4510 if test "$enableval" = yes; then
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4512 else
4513 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4514 fi
4515
4516 else
4517
4518 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4519
4520 fi
4521
4522
4523 eval "$wx_cv_use_std_iostreams"
4524
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_STD_IOSTREAM = yes; then
4527 result=no
4528 else
4529 result=yes
4530 fi
4531 else
4532 result=$wxUSE_STD_IOSTREAM
4533 fi
4534
4535 { echo "$as_me:$LINENO: result: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4537
4538
4539 enablestring=
4540 defaultval=
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4543 defaultval=yes
4544 else
4545 defaultval=no
4546 fi
4547 fi
4548
4549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4551 # Check whether --enable-std_string was given.
4552 if test "${enable_std_string+set}" = set; then
4553 enableval=$enable_std_string;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4556 else
4557 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4558 fi
4559
4560 else
4561
4562 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4563
4564 fi
4565
4566
4567 eval "$wx_cv_use_std_string"
4568
4569 if test x"$enablestring" = xdisable; then
4570 if test $wxUSE_STD_STRING = yes; then
4571 result=no
4572 else
4573 result=yes
4574 fi
4575 else
4576 result=$wxUSE_STD_STRING
4577 fi
4578
4579 { echo "$as_me:$LINENO: result: $result" >&5
4580 echo "${ECHO_T}$result" >&6; }
4581
4582
4583 enablestring=disable
4584 defaultval=
4585 if test -z "$defaultval"; then
4586 if test x"$enablestring" = xdisable; then
4587 defaultval=yes
4588 else
4589 defaultval=no
4590 fi
4591 fi
4592
4593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4595 # Check whether --enable-unicode was given.
4596 if test "${enable_unicode+set}" = set; then
4597 enableval=$enable_unicode;
4598 if test "$enableval" = yes; then
4599 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4600 else
4601 wx_cv_use_unicode='wxUSE_UNICODE=no'
4602 fi
4603
4604 else
4605
4606 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4607
4608 fi
4609
4610
4611 eval "$wx_cv_use_unicode"
4612
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_UNICODE = yes; then
4615 result=no
4616 else
4617 result=yes
4618 fi
4619 else
4620 result=$wxUSE_UNICODE
4621 fi
4622
4623 { echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6; }
4625
4626
4627 enablestring=
4628 defaultval=
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4631 defaultval=yes
4632 else
4633 defaultval=no
4634 fi
4635 fi
4636
4637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4639 # Check whether --enable-mslu was given.
4640 if test "${enable_mslu+set}" = set; then
4641 enableval=$enable_mslu;
4642 if test "$enableval" = yes; then
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4644 else
4645 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4646 fi
4647
4648 else
4649
4650 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4651
4652 fi
4653
4654
4655 eval "$wx_cv_use_mslu"
4656
4657 if test x"$enablestring" = xdisable; then
4658 if test $wxUSE_UNICODE_MSLU = yes; then
4659 result=no
4660 else
4661 result=yes
4662 fi
4663 else
4664 result=$wxUSE_UNICODE_MSLU
4665 fi
4666
4667 { echo "$as_me:$LINENO: result: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4669
4670
4671 enablestring=
4672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4674 # Check whether --enable-utf8 was given.
4675 if test "${enable_utf8+set}" = set; then
4676 enableval=$enable_utf8;
4677 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4678
4679 else
4680
4681 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4682
4683 fi
4684
4685
4686 eval "$wx_cv_use_utf8"
4687
4688 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4689 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4690
4691
4692 enablestring=
4693 defaultval=
4694 if test -z "$defaultval"; then
4695 if test x"$enablestring" = xdisable; then
4696 defaultval=yes
4697 else
4698 defaultval=no
4699 fi
4700 fi
4701
4702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4704 # Check whether --enable-utf8only was given.
4705 if test "${enable_utf8only+set}" = set; then
4706 enableval=$enable_utf8only;
4707 if test "$enableval" = yes; then
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4709 else
4710 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4711 fi
4712
4713 else
4714
4715 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4716
4717 fi
4718
4719
4720 eval "$wx_cv_use_utf8only"
4721
4722 if test x"$enablestring" = xdisable; then
4723 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4724 result=no
4725 else
4726 result=yes
4727 fi
4728 else
4729 result=$wxUSE_UNICODE_UTF8_LOCALE
4730 fi
4731
4732 { echo "$as_me:$LINENO: result: $result" >&5
4733 echo "${ECHO_T}$result" >&6; }
4734
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}-extended_rtti" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4748 # Check whether --enable-extended_rtti was given.
4749 if test "${enable_extended_rtti+set}" = set; then
4750 enableval=$enable_extended_rtti;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4753 else
4754 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4755 fi
4756
4757 else
4758
4759 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4760
4761 fi
4762
4763
4764 eval "$wx_cv_use_extended_rtti"
4765
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_EXTENDED_RTTI = yes; then
4768 result=no
4769 else
4770 result=yes
4771 fi
4772 else
4773 result=$wxUSE_EXTENDED_RTTI
4774 fi
4775
4776 { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4778
4779 if test "$USE_OS2" = 1; then
4780 DEFAULT_wxUSE_OMF=no
4781
4782 enablestring=
4783 defaultval=
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4786 defaultval=yes
4787 else
4788 defaultval=no
4789 fi
4790 fi
4791
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4794 # Check whether --enable-omf was given.
4795 if test "${enable_omf+set}" = set; then
4796 enableval=$enable_omf;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_omf='wxUSE_OMF=yes'
4799 else
4800 wx_cv_use_omf='wxUSE_OMF=no'
4801 fi
4802
4803 else
4804
4805 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4806
4807 fi
4808
4809
4810 eval "$wx_cv_use_omf"
4811
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_OMF = yes; then
4814 result=no
4815 else
4816 result=yes
4817 fi
4818 else
4819 result=$wxUSE_OMF
4820 fi
4821
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4824
4825 fi
4826
4827 if test "$wxUSE_DEBUG" = "yes"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=yes
4829 DEFAULT_wxUSE_DEBUG_INFO=yes
4830 BUILD=debug
4831 elif test "$wxUSE_DEBUG" = "no"; then
4832 DEFAULT_wxUSE_DEBUG_FLAG=no
4833 DEFAULT_wxUSE_DEBUG_INFO=no
4834 BUILD=release
4835 fi
4836
4837
4838 enablestring=
4839 defaultval=
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4842 defaultval=yes
4843 else
4844 defaultval=no
4845 fi
4846 fi
4847
4848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4850 # Check whether --enable-debug_flag was given.
4851 if test "${enable_debug_flag+set}" = set; then
4852 enableval=$enable_debug_flag;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4855 else
4856 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4857 fi
4858
4859 else
4860
4861 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4862
4863 fi
4864
4865
4866 eval "$wx_cv_use_debug_flag"
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_DEBUG_FLAG = yes; then
4870 result=no
4871 else
4872 result=yes
4873 fi
4874 else
4875 result=$wxUSE_DEBUG_FLAG
4876 fi
4877
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4880
4881
4882 enablestring=
4883 defaultval=
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4886 defaultval=yes
4887 else
4888 defaultval=no
4889 fi
4890 fi
4891
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4894 # Check whether --enable-debug_info was given.
4895 if test "${enable_debug_info+set}" = set; then
4896 enableval=$enable_debug_info;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4899 else
4900 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4901 fi
4902
4903 else
4904
4905 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4906
4907 fi
4908
4909
4910 eval "$wx_cv_use_debug_info"
4911
4912 if test x"$enablestring" = xdisable; then
4913 if test $wxUSE_DEBUG_INFO = yes; then
4914 result=no
4915 else
4916 result=yes
4917 fi
4918 else
4919 result=$wxUSE_DEBUG_INFO
4920 fi
4921
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4924
4925
4926 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4927 wxUSE_DEBUG=yes
4928 BUILD=debug
4929 fi
4930
4931 if test "$wxUSE_DEBUG" = "yes"; then
4932 DEFAULT_wxUSE_OPTIMISE=no
4933 fi
4934
4935
4936 enablestring=disable
4937 defaultval=
4938 if test -z "$defaultval"; then
4939 if test x"$enablestring" = xdisable; then
4940 defaultval=yes
4941 else
4942 defaultval=no
4943 fi
4944 fi
4945
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4948 # Check whether --enable-optimise was given.
4949 if test "${enable_optimise+set}" = set; then
4950 enableval=$enable_optimise;
4951 if test "$enableval" = yes; then
4952 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4953 else
4954 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4955 fi
4956
4957 else
4958
4959 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4960
4961 fi
4962
4963
4964 eval "$wx_cv_use_optimise"
4965
4966 if test x"$enablestring" = xdisable; then
4967 if test $wxUSE_OPTIMISE = yes; then
4968 result=no
4969 else
4970 result=yes
4971 fi
4972 else
4973 result=$wxUSE_OPTIMISE
4974 fi
4975
4976 { echo "$as_me:$LINENO: result: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4978
4979
4980
4981 enablestring=
4982 defaultval=
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4985 defaultval=yes
4986 else
4987 defaultval=no
4988 fi
4989 fi
4990
4991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4992 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4993 # Check whether --enable-debug_gdb was given.
4994 if test "${enable_debug_gdb+set}" = set; then
4995 enableval=$enable_debug_gdb;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4998 else
4999 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5000 fi
5001
5002 else
5003
5004 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5005
5006 fi
5007
5008
5009 eval "$wx_cv_use_debug_gdb"
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_DEBUG_GDB = yes; then
5013 result=no
5014 else
5015 result=yes
5016 fi
5017 else
5018 result=$wxUSE_DEBUG_GDB
5019 fi
5020
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5023
5024
5025 enablestring=
5026 defaultval=
5027 if test -z "$defaultval"; then
5028 if test x"$enablestring" = xdisable; then
5029 defaultval=yes
5030 else
5031 defaultval=no
5032 fi
5033 fi
5034
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5037 # Check whether --enable-debug_cntxt was given.
5038 if test "${enable_debug_cntxt+set}" = set; then
5039 enableval=$enable_debug_cntxt;
5040 if test "$enableval" = yes; then
5041 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5042 else
5043 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5044 fi
5045
5046 else
5047
5048 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5049
5050 fi
5051
5052
5053 eval "$wx_cv_use_debug_cntxt"
5054
5055 if test x"$enablestring" = xdisable; then
5056 if test $wxUSE_DEBUG_CONTEXT = yes; then
5057 result=no
5058 else
5059 result=yes
5060 fi
5061 else
5062 result=$wxUSE_DEBUG_CONTEXT
5063 fi
5064
5065 { echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6; }
5067
5068
5069 enablestring=
5070 defaultval=
5071 if test -z "$defaultval"; then
5072 if test x"$enablestring" = xdisable; then
5073 defaultval=yes
5074 else
5075 defaultval=no
5076 fi
5077 fi
5078
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5081 # Check whether --enable-mem_tracing was given.
5082 if test "${enable_mem_tracing+set}" = set; then
5083 enableval=$enable_mem_tracing;
5084 if test "$enableval" = yes; then
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5086 else
5087 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5088 fi
5089
5090 else
5091
5092 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$wx_cv_use_mem_tracing"
5098
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_MEM_TRACING = yes; then
5101 result=no
5102 else
5103 result=yes
5104 fi
5105 else
5106 result=$wxUSE_MEM_TRACING
5107 fi
5108
5109 { echo "$as_me:$LINENO: result: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5111
5112
5113 enablestring=
5114 defaultval=
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5117 defaultval=yes
5118 else
5119 defaultval=no
5120 fi
5121 fi
5122
5123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5125 # Check whether --enable-profile was given.
5126 if test "${enable_profile+set}" = set; then
5127 enableval=$enable_profile;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_profile='wxUSE_PROFILE=yes'
5130 else
5131 wx_cv_use_profile='wxUSE_PROFILE=no'
5132 fi
5133
5134 else
5135
5136 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5137
5138 fi
5139
5140
5141 eval "$wx_cv_use_profile"
5142
5143 if test x"$enablestring" = xdisable; then
5144 if test $wxUSE_PROFILE = yes; then
5145 result=no
5146 else
5147 result=yes
5148 fi
5149 else
5150 result=$wxUSE_PROFILE
5151 fi
5152
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5155
5156
5157 enablestring=
5158 defaultval=
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5161 defaultval=yes
5162 else
5163 defaultval=no
5164 fi
5165 fi
5166
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5169 # Check whether --enable-no_rtti was given.
5170 if test "${enable_no_rtti+set}" = set; then
5171 enableval=$enable_no_rtti;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5174 else
5175 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5176 fi
5177
5178 else
5179
5180 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5181
5182 fi
5183
5184
5185 eval "$wx_cv_use_no_rtti"
5186
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_NO_RTTI = yes; then
5189 result=no
5190 else
5191 result=yes
5192 fi
5193 else
5194 result=$wxUSE_NO_RTTI
5195 fi
5196
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5199
5200
5201 enablestring=
5202 defaultval=
5203 if test -z "$defaultval"; then
5204 if test x"$enablestring" = xdisable; then
5205 defaultval=yes
5206 else
5207 defaultval=no
5208 fi
5209 fi
5210
5211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5213 # Check whether --enable-no_exceptions was given.
5214 if test "${enable_no_exceptions+set}" = set; then
5215 enableval=$enable_no_exceptions;
5216 if test "$enableval" = yes; then
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5218 else
5219 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5220 fi
5221
5222 else
5223
5224 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5225
5226 fi
5227
5228
5229 eval "$wx_cv_use_no_exceptions"
5230
5231 if test x"$enablestring" = xdisable; then
5232 if test $wxUSE_NO_EXCEPTIONS = yes; then
5233 result=no
5234 else
5235 result=yes
5236 fi
5237 else
5238 result=$wxUSE_NO_EXCEPTIONS
5239 fi
5240
5241 { echo "$as_me:$LINENO: result: $result" >&5
5242 echo "${ECHO_T}$result" >&6; }
5243
5244
5245 enablestring=
5246 defaultval=
5247 if test -z "$defaultval"; then
5248 if test x"$enablestring" = xdisable; then
5249 defaultval=yes
5250 else
5251 defaultval=no
5252 fi
5253 fi
5254
5255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5257 # Check whether --enable-permissive was given.
5258 if test "${enable_permissive+set}" = set; then
5259 enableval=$enable_permissive;
5260 if test "$enableval" = yes; then
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5262 else
5263 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5264 fi
5265
5266 else
5267
5268 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5269
5270 fi
5271
5272
5273 eval "$wx_cv_use_permissive"
5274
5275 if test x"$enablestring" = xdisable; then
5276 if test $wxUSE_PERMISSIVE = yes; then
5277 result=no
5278 else
5279 result=yes
5280 fi
5281 else
5282 result=$wxUSE_PERMISSIVE
5283 fi
5284
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5287
5288
5289 enablestring=
5290 defaultval=
5291 if test -z "$defaultval"; then
5292 if test x"$enablestring" = xdisable; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5301 # Check whether --enable-no_deps was given.
5302 if test "${enable_no_deps+set}" = set; then
5303 enableval=$enable_no_deps;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5306 else
5307 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5308 fi
5309
5310 else
5311
5312 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_no_deps"
5318
5319 if test x"$enablestring" = xdisable; then
5320 if test $wxUSE_NO_DEPS = yes; then
5321 result=no
5322 else
5323 result=yes
5324 fi
5325 else
5326 result=$wxUSE_NO_DEPS
5327 fi
5328
5329 { echo "$as_me:$LINENO: result: $result" >&5
5330 echo "${ECHO_T}$result" >&6; }
5331
5332
5333 enablestring=disable
5334 defaultval=
5335 if test -z "$defaultval"; then
5336 if test x"$enablestring" = xdisable; then
5337 defaultval=yes
5338 else
5339 defaultval=no
5340 fi
5341 fi
5342
5343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5344 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5345 # Check whether --enable-vararg_macros was given.
5346 if test "${enable_vararg_macros+set}" = set; then
5347 enableval=$enable_vararg_macros;
5348 if test "$enableval" = yes; then
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5350 else
5351 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5352 fi
5353
5354 else
5355
5356 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5357
5358 fi
5359
5360
5361 eval "$wx_cv_use_vararg_macros"
5362
5363 if test x"$enablestring" = xdisable; then
5364 if test $wxUSE_VARARG_MACROS = yes; then
5365 result=no
5366 else
5367 result=yes
5368 fi
5369 else
5370 result=$wxUSE_VARARG_MACROS
5371 fi
5372
5373 { echo "$as_me:$LINENO: result: $result" >&5
5374 echo "${ECHO_T}$result" >&6; }
5375
5376
5377 enablestring=
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5380 # Check whether --enable-universal_binary was given.
5381 if test "${enable_universal_binary+set}" = set; then
5382 enableval=$enable_universal_binary;
5383 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5384
5385 else
5386
5387 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5388
5389 fi
5390
5391
5392 eval "$wx_cv_use_universal_binary"
5393
5394 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5395 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5396
5397
5398
5399 enablestring=
5400 defaultval=
5401 if test -z "$defaultval"; then
5402 if test x"$enablestring" = xdisable; then
5403 defaultval=yes
5404 else
5405 defaultval=no
5406 fi
5407 fi
5408
5409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5411 # Check whether --enable-compat26 was given.
5412 if test "${enable_compat26+set}" = set; then
5413 enableval=$enable_compat26;
5414 if test "$enableval" = yes; then
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5416 else
5417 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5418 fi
5419
5420 else
5421
5422 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_compat26"
5428
5429 if test x"$enablestring" = xdisable; then
5430 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5431 result=no
5432 else
5433 result=yes
5434 fi
5435 else
5436 result=$WXWIN_COMPATIBILITY_2_6
5437 fi
5438
5439 { echo "$as_me:$LINENO: result: $result" >&5
5440 echo "${ECHO_T}$result" >&6; }
5441
5442
5443 enablestring=disable
5444 defaultval=
5445 if test -z "$defaultval"; then
5446 if test x"$enablestring" = xdisable; then
5447 defaultval=yes
5448 else
5449 defaultval=no
5450 fi
5451 fi
5452
5453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5454 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5455 # Check whether --enable-compat28 was given.
5456 if test "${enable_compat28+set}" = set; then
5457 enableval=$enable_compat28;
5458 if test "$enableval" = yes; then
5459 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5460 else
5461 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5462 fi
5463
5464 else
5465
5466 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5467
5468 fi
5469
5470
5471 eval "$wx_cv_use_compat28"
5472
5473 if test x"$enablestring" = xdisable; then
5474 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5475 result=no
5476 else
5477 result=yes
5478 fi
5479 else
5480 result=$WXWIN_COMPATIBILITY_2_8
5481 fi
5482
5483 { echo "$as_me:$LINENO: result: $result" >&5
5484 echo "${ECHO_T}$result" >&6; }
5485
5486
5487
5488 enablestring=disable
5489 defaultval=
5490 if test -z "$defaultval"; then
5491 if test x"$enablestring" = xdisable; then
5492 defaultval=yes
5493 else
5494 defaultval=no
5495 fi
5496 fi
5497
5498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5500 # Check whether --enable-rpath was given.
5501 if test "${enable_rpath+set}" = set; then
5502 enableval=$enable_rpath;
5503 if test "$enableval" = yes; then
5504 wx_cv_use_rpath='wxUSE_RPATH=yes'
5505 else
5506 wx_cv_use_rpath='wxUSE_RPATH=no'
5507 fi
5508
5509 else
5510
5511 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5512
5513 fi
5514
5515
5516 eval "$wx_cv_use_rpath"
5517
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_RPATH = yes; then
5520 result=no
5521 else
5522 result=yes
5523 fi
5524 else
5525 result=$wxUSE_RPATH
5526 fi
5527
5528 { echo "$as_me:$LINENO: result: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5530
5531
5532
5533 enablestring=
5534 defaultval=
5535 if test -z "$defaultval"; then
5536 if test x"$enablestring" = xdisable; then
5537 defaultval=yes
5538 else
5539 defaultval=no
5540 fi
5541 fi
5542
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5545 # Check whether --enable-objc_uniquifying was given.
5546 if test "${enable_objc_uniquifying+set}" = set; then
5547 enableval=$enable_objc_uniquifying;
5548 if test "$enableval" = yes; then
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5550 else
5551 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5552 fi
5553
5554 else
5555
5556 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5557
5558 fi
5559
5560
5561 eval "$wx_cv_use_objc_uniquifying"
5562
5563 if test x"$enablestring" = xdisable; then
5564 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5565 result=no
5566 else
5567 result=yes
5568 fi
5569 else
5570 result=$wxUSE_OBJC_UNIQUIFYING
5571 fi
5572
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5575
5576
5577
5578 enablestring=disable
5579 defaultval=
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}-visibility" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5590 # Check whether --enable-visibility was given.
5591 if test "${enable_visibility+set}" = set; then
5592 enableval=$enable_visibility;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5595 else
5596 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5597 fi
5598
5599 else
5600
5601 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_visibility"
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_VISIBILITY = yes; then
5610 result=no
5611 else
5612 result=yes
5613 fi
5614 else
5615 result=$wxUSE_VISIBILITY
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622
5623
5624 enablestring=
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5628 defaultval=yes
5629 else
5630 defaultval=no
5631 fi
5632 fi
5633
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5636 # Check whether --enable-intl was given.
5637 if test "${enable_intl+set}" = set; then
5638 enableval=$enable_intl;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_intl='wxUSE_INTL=yes'
5641 else
5642 wx_cv_use_intl='wxUSE_INTL=no'
5643 fi
5644
5645 else
5646
5647 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5648
5649 fi
5650
5651
5652 eval "$wx_cv_use_intl"
5653
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_INTL = yes; then
5656 result=no
5657 else
5658 result=yes
5659 fi
5660 else
5661 result=$wxUSE_INTL
5662 fi
5663
5664 { echo "$as_me:$LINENO: result: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5666
5667
5668 enablestring=
5669 defaultval=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5672 defaultval=yes
5673 else
5674 defaultval=no
5675 fi
5676 fi
5677
5678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5680 # Check whether --enable-xlocale was given.
5681 if test "${enable_xlocale+set}" = set; then
5682 enableval=$enable_xlocale;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5685 else
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5687 fi
5688
5689 else
5690
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5692
5693 fi
5694
5695
5696 eval "$wx_cv_use_xlocale"
5697
5698 if test x"$enablestring" = xdisable; then
5699 if test $wxUSE_XLOCALE = yes; then
5700 result=no
5701 else
5702 result=yes
5703 fi
5704 else
5705 result=$wxUSE_XLOCALE
5706 fi
5707
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 echo "${ECHO_T}$result" >&6; }
5710
5711
5712 enablestring=
5713 defaultval=$wxUSE_ALL_FEATURES
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5716 defaultval=yes
5717 else
5718 defaultval=no
5719 fi
5720 fi
5721
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5724 # Check whether --enable-config was given.
5725 if test "${enable_config+set}" = set; then
5726 enableval=$enable_config;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_config='wxUSE_CONFIG=yes'
5729 else
5730 wx_cv_use_config='wxUSE_CONFIG=no'
5731 fi
5732
5733 else
5734
5735 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5736
5737 fi
5738
5739
5740 eval "$wx_cv_use_config"
5741
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_CONFIG = yes; then
5744 result=no
5745 else
5746 result=yes
5747 fi
5748 else
5749 result=$wxUSE_CONFIG
5750 fi
5751
5752 { echo "$as_me:$LINENO: result: $result" >&5
5753 echo "${ECHO_T}$result" >&6; }
5754
5755
5756
5757 enablestring=
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5761 defaultval=yes
5762 else
5763 defaultval=no
5764 fi
5765 fi
5766
5767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5769 # Check whether --enable-protocols was given.
5770 if test "${enable_protocols+set}" = set; then
5771 enableval=$enable_protocols;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5774 else
5775 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5776 fi
5777
5778 else
5779
5780 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5781
5782 fi
5783
5784
5785 eval "$wx_cv_use_protocols"
5786
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_PROTOCOL = yes; then
5789 result=no
5790 else
5791 result=yes
5792 fi
5793 else
5794 result=$wxUSE_PROTOCOL
5795 fi
5796
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5799
5800
5801 enablestring=
5802 defaultval=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5805 defaultval=yes
5806 else
5807 defaultval=no
5808 fi
5809 fi
5810
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5813 # Check whether --enable-ftp was given.
5814 if test "${enable_ftp+set}" = set; then
5815 enableval=$enable_ftp;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5818 else
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5820 fi
5821
5822 else
5823
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5825
5826 fi
5827
5828
5829 eval "$wx_cv_use_ftp"
5830
5831 if test x"$enablestring" = xdisable; then
5832 if test $wxUSE_PROTOCOL_FTP = yes; then
5833 result=no
5834 else
5835 result=yes
5836 fi
5837 else
5838 result=$wxUSE_PROTOCOL_FTP
5839 fi
5840
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5843
5844
5845 enablestring=
5846 defaultval=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x"$enablestring" = xdisable; then
5849 defaultval=yes
5850 else
5851 defaultval=no
5852 fi
5853 fi
5854
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5857 # Check whether --enable-http was given.
5858 if test "${enable_http+set}" = set; then
5859 enableval=$enable_http;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5862 else
5863 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5864 fi
5865
5866 else
5867
5868 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5869
5870 fi
5871
5872
5873 eval "$wx_cv_use_http"
5874
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_HTTP = yes; then
5877 result=no
5878 else
5879 result=yes
5880 fi
5881 else
5882 result=$wxUSE_PROTOCOL_HTTP
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5887
5888
5889 enablestring=
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5893 defaultval=yes
5894 else
5895 defaultval=no
5896 fi
5897 fi
5898
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5901 # Check whether --enable-fileproto was given.
5902 if test "${enable_fileproto+set}" = set; then
5903 enableval=$enable_fileproto;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5906 else
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5908 fi
5909
5910 else
5911
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_fileproto"
5918
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_PROTOCOL_FILE = yes; then
5921 result=no
5922 else
5923 result=yes
5924 fi
5925 else
5926 result=$wxUSE_PROTOCOL_FILE
5927 fi
5928
5929 { echo "$as_me:$LINENO: result: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5931
5932
5933 enablestring=
5934 defaultval=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5937 defaultval=yes
5938 else
5939 defaultval=no
5940 fi
5941 fi
5942
5943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5945 # Check whether --enable-sockets was given.
5946 if test "${enable_sockets+set}" = set; then
5947 enableval=$enable_sockets;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5950 else
5951 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5952 fi
5953
5954 else
5955
5956 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5957
5958 fi
5959
5960
5961 eval "$wx_cv_use_sockets"
5962
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_SOCKETS = yes; then
5965 result=no
5966 else
5967 result=yes
5968 fi
5969 else
5970 result=$wxUSE_SOCKETS
5971 fi
5972
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5975
5976
5977 enablestring=
5978 defaultval=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5981 defaultval=yes
5982 else
5983 defaultval=no
5984 fi
5985 fi
5986
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5989 # Check whether --enable-ipv6 was given.
5990 if test "${enable_ipv6+set}" = set; then
5991 enableval=$enable_ipv6;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5994 else
5995 wx_cv_use_ipv6='wxUSE_IPV6=no'
5996 fi
5997
5998 else
5999
6000 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6001
6002 fi
6003
6004
6005 eval "$wx_cv_use_ipv6"
6006
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_IPV6 = yes; then
6009 result=no
6010 else
6011 result=yes
6012 fi
6013 else
6014 result=$wxUSE_IPV6
6015 fi
6016
6017 { echo "$as_me:$LINENO: result: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6019
6020
6021 enablestring=
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6025 defaultval=yes
6026 else
6027 defaultval=no
6028 fi
6029 fi
6030
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6033 # Check whether --enable-ole was given.
6034 if test "${enable_ole+set}" = set; then
6035 enableval=$enable_ole;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_ole='wxUSE_OLE=yes'
6038 else
6039 wx_cv_use_ole='wxUSE_OLE=no'
6040 fi
6041
6042 else
6043
6044 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6045
6046 fi
6047
6048
6049 eval "$wx_cv_use_ole"
6050
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_OLE = yes; then
6053 result=no
6054 else
6055 result=yes
6056 fi
6057 else
6058 result=$wxUSE_OLE
6059 fi
6060
6061 { echo "$as_me:$LINENO: result: $result" >&5
6062 echo "${ECHO_T}$result" >&6; }
6063
6064
6065 enablestring=
6066 defaultval=$wxUSE_ALL_FEATURES
6067 if test -z "$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6069 defaultval=yes
6070 else
6071 defaultval=no
6072 fi
6073 fi
6074
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6077 # Check whether --enable-dataobj was given.
6078 if test "${enable_dataobj+set}" = set; then
6079 enableval=$enable_dataobj;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6082 else
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6084 fi
6085
6086 else
6087
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6089
6090 fi
6091
6092
6093 eval "$wx_cv_use_dataobj"
6094
6095 if test x"$enablestring" = xdisable; then
6096 if test $wxUSE_DATAOBJ = yes; then
6097 result=no
6098 else
6099 result=yes
6100 fi
6101 else
6102 result=$wxUSE_DATAOBJ
6103 fi
6104
6105 { echo "$as_me:$LINENO: result: $result" >&5
6106 echo "${ECHO_T}$result" >&6; }
6107
6108
6109
6110 enablestring=
6111 defaultval=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x"$enablestring" = xdisable; then
6114 defaultval=yes
6115 else
6116 defaultval=no
6117 fi
6118 fi
6119
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6122 # Check whether --enable-ipc was given.
6123 if test "${enable_ipc+set}" = set; then
6124 enableval=$enable_ipc;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ipc='wxUSE_IPC=yes'
6127 else
6128 wx_cv_use_ipc='wxUSE_IPC=no'
6129 fi
6130
6131 else
6132
6133 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6134
6135 fi
6136
6137
6138 eval "$wx_cv_use_ipc"
6139
6140 if test x"$enablestring" = xdisable; then
6141 if test $wxUSE_IPC = yes; then
6142 result=no
6143 else
6144 result=yes
6145 fi
6146 else
6147 result=$wxUSE_IPC
6148 fi
6149
6150 { echo "$as_me:$LINENO: result: $result" >&5
6151 echo "${ECHO_T}$result" >&6; }
6152
6153
6154
6155 enablestring=
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6159 defaultval=yes
6160 else
6161 defaultval=no
6162 fi
6163 fi
6164
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6167 # Check whether --enable-baseevtloop was given.
6168 if test "${enable_baseevtloop+set}" = set; then
6169 enableval=$enable_baseevtloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6172 else
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6174 fi
6175
6176 else
6177
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6179
6180 fi
6181
6182
6183 eval "$wx_cv_use_baseevtloop"
6184
6185 if test x"$enablestring" = xdisable; then
6186 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6187 result=no
6188 else
6189 result=yes
6190 fi
6191 else
6192 result=$wxUSE_CONSOLE_EVENTLOOP
6193 fi
6194
6195 { echo "$as_me:$LINENO: result: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6197
6198
6199 enablestring=
6200 defaultval=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x"$enablestring" = xdisable; then
6203 defaultval=yes
6204 else
6205 defaultval=no
6206 fi
6207 fi
6208
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6211 # Check whether --enable-epollloop was given.
6212 if test "${enable_epollloop+set}" = set; then
6213 enableval=$enable_epollloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6216 else
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6218 fi
6219
6220 else
6221
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6223
6224 fi
6225
6226
6227 eval "$wx_cv_use_epollloop"
6228
6229 if test x"$enablestring" = xdisable; then
6230 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6231 result=no
6232 else
6233 result=yes
6234 fi
6235 else
6236 result=$wxUSE_EPOLL_DISPATCHER
6237 fi
6238
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 echo "${ECHO_T}$result" >&6; }
6241
6242
6243 enablestring=
6244 defaultval=$wxUSE_ALL_FEATURES
6245 if test -z "$defaultval"; then
6246 if test x"$enablestring" = xdisable; then
6247 defaultval=yes
6248 else
6249 defaultval=no
6250 fi
6251 fi
6252
6253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6255 # Check whether --enable-selectloop was given.
6256 if test "${enable_selectloop+set}" = set; then
6257 enableval=$enable_selectloop;
6258 if test "$enableval" = yes; then
6259 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6260 else
6261 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6262 fi
6263
6264 else
6265
6266 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6267
6268 fi
6269
6270
6271 eval "$wx_cv_use_selectloop"
6272
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_SELECT_DISPATCHER = yes; then
6275 result=no
6276 else
6277 result=yes
6278 fi
6279 else
6280 result=$wxUSE_SELECT_DISPATCHER
6281 fi
6282
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6285
6286
6287
6288 enablestring=
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6300 # Check whether --enable-apple_ieee was given.
6301 if test "${enable_apple_ieee+set}" = set; then
6302 enableval=$enable_apple_ieee;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6305 else
6306 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6307 fi
6308
6309 else
6310
6311 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6312
6313 fi
6314
6315
6316 eval "$wx_cv_use_apple_ieee"
6317
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_APPLE_IEEE = yes; then
6320 result=no
6321 else
6322 result=yes
6323 fi
6324 else
6325 result=$wxUSE_APPLE_IEEE
6326 fi
6327
6328 { echo "$as_me:$LINENO: result: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6330
6331
6332 enablestring=
6333 defaultval=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x"$enablestring" = xdisable; then
6336 defaultval=yes
6337 else
6338 defaultval=no
6339 fi
6340 fi
6341
6342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6344 # Check whether --enable-arcstream was given.
6345 if test "${enable_arcstream+set}" = set; then
6346 enableval=$enable_arcstream;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6349 else
6350 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6351 fi
6352
6353 else
6354
6355 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6356
6357 fi
6358
6359
6360 eval "$wx_cv_use_arcstream"
6361
6362 if test x"$enablestring" = xdisable; then
6363 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6364 result=no
6365 else
6366 result=yes
6367 fi
6368 else
6369 result=$wxUSE_ARCHIVE_STREAMS
6370 fi
6371
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6374
6375
6376 enablestring=
6377 defaultval=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x"$enablestring" = xdisable; then
6380 defaultval=yes
6381 else
6382 defaultval=no
6383 fi
6384 fi
6385
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6388 # Check whether --enable-base64 was given.
6389 if test "${enable_base64+set}" = set; then
6390 enableval=$enable_base64;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_base64='wxUSE_BASE64=yes'
6393 else
6394 wx_cv_use_base64='wxUSE_BASE64=no'
6395 fi
6396
6397 else
6398
6399 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6400
6401 fi
6402
6403
6404 eval "$wx_cv_use_base64"
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_BASE64 = yes; then
6408 result=no
6409 else
6410 result=yes
6411 fi
6412 else
6413 result=$wxUSE_BASE64
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420 enablestring=
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6424 defaultval=yes
6425 else
6426 defaultval=no
6427 fi
6428 fi
6429
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6432 # Check whether --enable-backtrace was given.
6433 if test "${enable_backtrace+set}" = set; then
6434 enableval=$enable_backtrace;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6437 else
6438 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6439 fi
6440
6441 else
6442
6443 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6444
6445 fi
6446
6447
6448 eval "$wx_cv_use_backtrace"
6449
6450 if test x"$enablestring" = xdisable; then
6451 if test $wxUSE_STACKWALKER = yes; then
6452 result=no
6453 else
6454 result=yes
6455 fi
6456 else
6457 result=$wxUSE_STACKWALKER
6458 fi
6459
6460 { echo "$as_me:$LINENO: result: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6462
6463
6464 enablestring=
6465 defaultval=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x"$enablestring" = xdisable; then
6468 defaultval=yes
6469 else
6470 defaultval=no
6471 fi
6472 fi
6473
6474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6476 # Check whether --enable-catch_segvs was given.
6477 if test "${enable_catch_segvs+set}" = set; then
6478 enableval=$enable_catch_segvs;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6481 else
6482 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6483 fi
6484
6485 else
6486
6487 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6488
6489 fi
6490
6491
6492 eval "$wx_cv_use_catch_segvs"
6493
6494 if test x"$enablestring" = xdisable; then
6495 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6496 result=no
6497 else
6498 result=yes
6499 fi
6500 else
6501 result=$wxUSE_ON_FATAL_EXCEPTION
6502 fi
6503
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6506
6507
6508 enablestring=
6509 defaultval=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x"$enablestring" = xdisable; then
6512 defaultval=yes
6513 else
6514 defaultval=no
6515 fi
6516 fi
6517
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6520 # Check whether --enable-cmdline was given.
6521 if test "${enable_cmdline+set}" = set; then
6522 enableval=$enable_cmdline;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6525 else
6526 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6527 fi
6528
6529 else
6530
6531 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6532
6533 fi
6534
6535
6536 eval "$wx_cv_use_cmdline"
6537
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_CMDLINE_PARSER = yes; then
6540 result=no
6541 else
6542 result=yes
6543 fi
6544 else
6545 result=$wxUSE_CMDLINE_PARSER
6546 fi
6547
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6550
6551
6552 enablestring=
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6556 defaultval=yes
6557 else
6558 defaultval=no
6559 fi
6560 fi
6561
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6564 # Check whether --enable-datetime was given.
6565 if test "${enable_datetime+set}" = set; then
6566 enableval=$enable_datetime;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6569 else
6570 wx_cv_use_datetime='wxUSE_DATETIME=no'
6571 fi
6572
6573 else
6574
6575 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6576
6577 fi
6578
6579
6580 eval "$wx_cv_use_datetime"
6581
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_DATETIME = yes; then
6584 result=no
6585 else
6586 result=yes
6587 fi
6588 else
6589 result=$wxUSE_DATETIME
6590 fi
6591
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6594
6595
6596 enablestring=
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6600 defaultval=yes
6601 else
6602 defaultval=no
6603 fi
6604 fi
6605
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6608 # Check whether --enable-debugreport was given.
6609 if test "${enable_debugreport+set}" = set; then
6610 enableval=$enable_debugreport;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6613 else
6614 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6615 fi
6616
6617 else
6618
6619 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6620
6621 fi
6622
6623
6624 eval "$wx_cv_use_debugreport"
6625
6626 if test x"$enablestring" = xdisable; then
6627 if test $wxUSE_DEBUGREPORT = yes; then
6628 result=no
6629 else
6630 result=yes
6631 fi
6632 else
6633 result=$wxUSE_DEBUGREPORT
6634 fi
6635
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6638
6639
6640 enablestring=
6641 defaultval=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x"$enablestring" = xdisable; then
6644 defaultval=yes
6645 else
6646 defaultval=no
6647 fi
6648 fi
6649
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6652 # Check whether --enable-dialupman was given.
6653 if test "${enable_dialupman+set}" = set; then
6654 enableval=$enable_dialupman;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6657 else
6658 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6659 fi
6660
6661 else
6662
6663 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6664
6665 fi
6666
6667
6668 eval "$wx_cv_use_dialupman"
6669
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DIALUP_MANAGER = yes; then
6672 result=no
6673 else
6674 result=yes
6675 fi
6676 else
6677 result=$wxUSE_DIALUP_MANAGER
6678 fi
6679
6680 { echo "$as_me:$LINENO: result: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6682
6683
6684 enablestring=
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6688 defaultval=yes
6689 else
6690 defaultval=no
6691 fi
6692 fi
6693
6694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6696 # Check whether --enable-dynlib was given.
6697 if test "${enable_dynlib+set}" = set; then
6698 enableval=$enable_dynlib;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6701 else
6702 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6703 fi
6704
6705 else
6706
6707 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6708
6709 fi
6710
6711
6712 eval "$wx_cv_use_dynlib"
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_DYNLIB_CLASS = yes; then
6716 result=no
6717 else
6718 result=yes
6719 fi
6720 else
6721 result=$wxUSE_DYNLIB_CLASS
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6740 # Check whether --enable-dynamicloader was given.
6741 if test "${enable_dynamicloader+set}" = set; then
6742 enableval=$enable_dynamicloader;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6745 else
6746 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6747 fi
6748
6749 else
6750
6751 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6752
6753 fi
6754
6755
6756 eval "$wx_cv_use_dynamicloader"
6757
6758 if test x"$enablestring" = xdisable; then
6759 if test $wxUSE_DYNAMIC_LOADER = yes; then
6760 result=no
6761 else
6762 result=yes
6763 fi
6764 else
6765 result=$wxUSE_DYNAMIC_LOADER
6766 fi
6767
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6770
6771
6772 enablestring=
6773 defaultval=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x"$enablestring" = xdisable; then
6776 defaultval=yes
6777 else
6778 defaultval=no
6779 fi
6780 fi
6781
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6784 # Check whether --enable-exceptions was given.
6785 if test "${enable_exceptions+set}" = set; then
6786 enableval=$enable_exceptions;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6789 else
6790 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6791 fi
6792
6793 else
6794
6795 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6796
6797 fi
6798
6799
6800 eval "$wx_cv_use_exceptions"
6801
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_EXCEPTIONS = yes; then
6804 result=no
6805 else
6806 result=yes
6807 fi
6808 else
6809 result=$wxUSE_EXCEPTIONS
6810 fi
6811
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6814
6815
6816 enablestring=
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6820 defaultval=yes
6821 else
6822 defaultval=no
6823 fi
6824 fi
6825
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6828 # Check whether --enable-ffile was given.
6829 if test "${enable_ffile+set}" = set; then
6830 enableval=$enable_ffile;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_ffile='wxUSE_FFILE=yes'
6833 else
6834 wx_cv_use_ffile='wxUSE_FFILE=no'
6835 fi
6836
6837 else
6838
6839 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6840
6841 fi
6842
6843
6844 eval "$wx_cv_use_ffile"
6845
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_FFILE = yes; then
6848 result=no
6849 else
6850 result=yes
6851 fi
6852 else
6853 result=$wxUSE_FFILE
6854 fi
6855
6856 { echo "$as_me:$LINENO: result: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6858
6859
6860 enablestring=
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6864 defaultval=yes
6865 else
6866 defaultval=no
6867 fi
6868 fi
6869
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6872 # Check whether --enable-file was given.
6873 if test "${enable_file+set}" = set; then
6874 enableval=$enable_file;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_file='wxUSE_FILE=yes'
6877 else
6878 wx_cv_use_file='wxUSE_FILE=no'
6879 fi
6880
6881 else
6882
6883 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_file"
6889
6890 if test x"$enablestring" = xdisable; then
6891 if test $wxUSE_FILE = yes; then
6892 result=no
6893 else
6894 result=yes
6895 fi
6896 else
6897 result=$wxUSE_FILE
6898 fi
6899
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6902
6903
6904 enablestring=
6905 defaultval=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x"$enablestring" = xdisable; then
6908 defaultval=yes
6909 else
6910 defaultval=no
6911 fi
6912 fi
6913
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6916 # Check whether --enable-filesystem was given.
6917 if test "${enable_filesystem+set}" = set; then
6918 enableval=$enable_filesystem;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6921 else
6922 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6923 fi
6924
6925 else
6926
6927 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6928
6929 fi
6930
6931
6932 eval "$wx_cv_use_filesystem"
6933
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FILESYSTEM = yes; then
6936 result=no
6937 else
6938 result=yes
6939 fi
6940 else
6941 result=$wxUSE_FILESYSTEM
6942 fi
6943
6944 { echo "$as_me:$LINENO: result: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6946
6947
6948 enablestring=
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6952 defaultval=yes
6953 else
6954 defaultval=no
6955 fi
6956 fi
6957
6958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6960 # Check whether --enable-fontenum was given.
6961 if test "${enable_fontenum+set}" = set; then
6962 enableval=$enable_fontenum;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6965 else
6966 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6967 fi
6968
6969 else
6970
6971 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6972
6973 fi
6974
6975
6976 eval "$wx_cv_use_fontenum"
6977
6978 if test x"$enablestring" = xdisable; then
6979 if test $wxUSE_FONTENUM = yes; then
6980 result=no
6981 else
6982 result=yes
6983 fi
6984 else
6985 result=$wxUSE_FONTENUM
6986 fi
6987
6988 { echo "$as_me:$LINENO: result: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6990
6991
6992 enablestring=
6993 defaultval=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x"$enablestring" = xdisable; then
6996 defaultval=yes
6997 else
6998 defaultval=no
6999 fi
7000 fi
7001
7002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7004 # Check whether --enable-fontmap was given.
7005 if test "${enable_fontmap+set}" = set; then
7006 enableval=$enable_fontmap;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7009 else
7010 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7011 fi
7012
7013 else
7014
7015 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7016
7017 fi
7018
7019
7020 eval "$wx_cv_use_fontmap"
7021
7022 if test x"$enablestring" = xdisable; then
7023 if test $wxUSE_FONTMAP = yes; then
7024 result=no
7025 else
7026 result=yes
7027 fi
7028 else
7029 result=$wxUSE_FONTMAP
7030 fi
7031
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7034
7035
7036 enablestring=
7037 defaultval=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x"$enablestring" = xdisable; then
7040 defaultval=yes
7041 else
7042 defaultval=no
7043 fi
7044 fi
7045
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7048 # Check whether --enable-fs_archive was given.
7049 if test "${enable_fs_archive+set}" = set; then
7050 enableval=$enable_fs_archive;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7053 else
7054 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7055 fi
7056
7057 else
7058
7059 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7060
7061 fi
7062
7063
7064 eval "$wx_cv_use_fs_archive"
7065
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FS_ARCHIVE = yes; then
7068 result=no
7069 else
7070 result=yes
7071 fi
7072 else
7073 result=$wxUSE_FS_ARCHIVE
7074 fi
7075
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7078
7079
7080 enablestring=
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7084 defaultval=yes
7085 else
7086 defaultval=no
7087 fi
7088 fi
7089
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7092 # Check whether --enable-fs_inet was given.
7093 if test "${enable_fs_inet+set}" = set; then
7094 enableval=$enable_fs_inet;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7097 else
7098 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7099 fi
7100
7101 else
7102
7103 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7104
7105 fi
7106
7107
7108 eval "$wx_cv_use_fs_inet"
7109
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_FS_INET = yes; then
7112 result=no
7113 else
7114 result=yes
7115 fi
7116 else
7117 result=$wxUSE_FS_INET
7118 fi
7119
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7136 # Check whether --enable-fs_zip was given.
7137 if test "${enable_fs_zip+set}" = set; then
7138 enableval=$enable_fs_zip;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7141 else
7142 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7143 fi
7144
7145 else
7146
7147 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7148
7149 fi
7150
7151
7152 eval "$wx_cv_use_fs_zip"
7153
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_FS_ZIP = yes; then
7156 result=no
7157 else
7158 result=yes
7159 fi
7160 else
7161 result=$wxUSE_FS_ZIP
7162 fi
7163
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7166
7167
7168 enablestring=
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7172 defaultval=yes
7173 else
7174 defaultval=no
7175 fi
7176 fi
7177
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7180 # Check whether --enable-geometry was given.
7181 if test "${enable_geometry+set}" = set; then
7182 enableval=$enable_geometry;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7185 else
7186 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7187 fi
7188
7189 else
7190
7191 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7192
7193 fi
7194
7195
7196 eval "$wx_cv_use_geometry"
7197
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_GEOMETRY = yes; then
7200 result=no
7201 else
7202 result=yes
7203 fi
7204 else
7205 result=$wxUSE_GEOMETRY
7206 fi
7207
7208 { echo "$as_me:$LINENO: result: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7210
7211
7212 enablestring=
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7216 defaultval=yes
7217 else
7218 defaultval=no
7219 fi
7220 fi
7221
7222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7224 # Check whether --enable-log was given.
7225 if test "${enable_log+set}" = set; then
7226 enableval=$enable_log;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_log='wxUSE_LOG=yes'
7229 else
7230 wx_cv_use_log='wxUSE_LOG=no'
7231 fi
7232
7233 else
7234
7235 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7236
7237 fi
7238
7239
7240 eval "$wx_cv_use_log"
7241
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_LOG = yes; then
7244 result=no
7245 else
7246 result=yes
7247 fi
7248 else
7249 result=$wxUSE_LOG
7250 fi
7251
7252 { echo "$as_me:$LINENO: result: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7254
7255
7256 enablestring=
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7260 defaultval=yes
7261 else
7262 defaultval=no
7263 fi
7264 fi
7265
7266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7268 # Check whether --enable-longlong was given.
7269 if test "${enable_longlong+set}" = set; then
7270 enableval=$enable_longlong;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7273 else
7274 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7275 fi
7276
7277 else
7278
7279 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7280
7281 fi
7282
7283
7284 eval "$wx_cv_use_longlong"
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_LONGLONG = yes; then
7288 result=no
7289 else
7290 result=yes
7291 fi
7292 else
7293 result=$wxUSE_LONGLONG
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7312 # Check whether --enable-mimetype was given.
7313 if test "${enable_mimetype+set}" = set; then
7314 enableval=$enable_mimetype;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7317 else
7318 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7319 fi
7320
7321 else
7322
7323 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7324
7325 fi
7326
7327
7328 eval "$wx_cv_use_mimetype"
7329
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_MIMETYPE = yes; then
7332 result=no
7333 else
7334 result=yes
7335 fi
7336 else
7337 result=$wxUSE_MIMETYPE
7338 fi
7339
7340 { echo "$as_me:$LINENO: result: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7342
7343
7344 enablestring=
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7348 defaultval=yes
7349 else
7350 defaultval=no
7351 fi
7352 fi
7353
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7356 # Check whether --enable-printfposparam was given.
7357 if test "${enable_printfposparam+set}" = set; then
7358 enableval=$enable_printfposparam;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7361 else
7362 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7363 fi
7364
7365 else
7366
7367 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7368
7369 fi
7370
7371
7372 eval "$wx_cv_use_printfposparam"
7373
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7376 result=no
7377 else
7378 result=yes
7379 fi
7380 else
7381 result=$wxUSE_PRINTF_POS_PARAMS
7382 fi
7383
7384 { echo "$as_me:$LINENO: result: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7386
7387
7388 enablestring=
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7392 defaultval=yes
7393 else
7394 defaultval=no
7395 fi
7396 fi
7397
7398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7399 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7400 # Check whether --enable-snglinst was given.
7401 if test "${enable_snglinst+set}" = set; then
7402 enableval=$enable_snglinst;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7405 else
7406 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7407 fi
7408
7409 else
7410
7411 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7412
7413 fi
7414
7415
7416 eval "$wx_cv_use_snglinst"
7417
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_SNGLINST_CHECKER = yes; then
7420 result=no
7421 else
7422 result=yes
7423 fi
7424 else
7425 result=$wxUSE_SNGLINST_CHECKER
7426 fi
7427
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7430
7431
7432 enablestring=
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7436 defaultval=yes
7437 else
7438 defaultval=no
7439 fi
7440 fi
7441
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7444 # Check whether --enable-sound was given.
7445 if test "${enable_sound+set}" = set; then
7446 enableval=$enable_sound;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_sound='wxUSE_SOUND=yes'
7449 else
7450 wx_cv_use_sound='wxUSE_SOUND=no'
7451 fi
7452
7453 else
7454
7455 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7456
7457 fi
7458
7459
7460 eval "$wx_cv_use_sound"
7461
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_SOUND = yes; then
7464 result=no
7465 else
7466 result=yes
7467 fi
7468 else
7469 result=$wxUSE_SOUND
7470 fi
7471
7472 { echo "$as_me:$LINENO: result: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7474
7475
7476 enablestring=
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7480 defaultval=yes
7481 else
7482 defaultval=no
7483 fi
7484 fi
7485
7486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7487 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7488 # Check whether --enable-stdpaths was given.
7489 if test "${enable_stdpaths+set}" = set; then
7490 enableval=$enable_stdpaths;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7493 else
7494 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7495 fi
7496
7497 else
7498
7499 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7500
7501 fi
7502
7503
7504 eval "$wx_cv_use_stdpaths"
7505
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_STDPATHS = yes; then
7508 result=no
7509 else
7510 result=yes
7511 fi
7512 else
7513 result=$wxUSE_STDPATHS
7514 fi
7515
7516 { echo "$as_me:$LINENO: result: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7518
7519
7520 enablestring=
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7524 defaultval=yes
7525 else
7526 defaultval=no
7527 fi
7528 fi
7529
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7532 # Check whether --enable-stopwatch was given.
7533 if test "${enable_stopwatch+set}" = set; then
7534 enableval=$enable_stopwatch;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7537 else
7538 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7539 fi
7540
7541 else
7542
7543 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7544
7545 fi
7546
7547
7548 eval "$wx_cv_use_stopwatch"
7549
7550 if test x"$enablestring" = xdisable; then
7551 if test $wxUSE_STOPWATCH = yes; then
7552 result=no
7553 else
7554 result=yes
7555 fi
7556 else
7557 result=$wxUSE_STOPWATCH
7558 fi
7559
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7562
7563
7564 enablestring=
7565 defaultval=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x"$enablestring" = xdisable; then
7568 defaultval=yes
7569 else
7570 defaultval=no
7571 fi
7572 fi
7573
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7576 # Check whether --enable-streams was given.
7577 if test "${enable_streams+set}" = set; then
7578 enableval=$enable_streams;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_streams='wxUSE_STREAMS=yes'
7581 else
7582 wx_cv_use_streams='wxUSE_STREAMS=no'
7583 fi
7584
7585 else
7586
7587 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7588
7589 fi
7590
7591
7592 eval "$wx_cv_use_streams"
7593
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_STREAMS = yes; then
7596 result=no
7597 else
7598 result=yes
7599 fi
7600 else
7601 result=$wxUSE_STREAMS
7602 fi
7603
7604 { echo "$as_me:$LINENO: result: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7606
7607
7608 enablestring=
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7612 defaultval=yes
7613 else
7614 defaultval=no
7615 fi
7616 fi
7617
7618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7620 # Check whether --enable-system_options was given.
7621 if test "${enable_system_options+set}" = set; then
7622 enableval=$enable_system_options;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7625 else
7626 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7627 fi
7628
7629 else
7630
7631 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7632
7633 fi
7634
7635
7636 eval "$wx_cv_use_system_options"
7637
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7640 result=no
7641 else
7642 result=yes
7643 fi
7644 else
7645 result=$wxUSE_SYSTEM_OPTIONS
7646 fi
7647
7648 { echo "$as_me:$LINENO: result: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7650
7651
7652 enablestring=
7653 defaultval=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x"$enablestring" = xdisable; then
7656 defaultval=yes
7657 else
7658 defaultval=no
7659 fi
7660 fi
7661
7662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7664 # Check whether --enable-tarstream was given.
7665 if test "${enable_tarstream+set}" = set; then
7666 enableval=$enable_tarstream;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7669 else
7670 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7671 fi
7672
7673 else
7674
7675 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7676
7677 fi
7678
7679
7680 eval "$wx_cv_use_tarstream"
7681
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_TARSTREAM = yes; then
7684 result=no
7685 else
7686 result=yes
7687 fi
7688 else
7689 result=$wxUSE_TARSTREAM
7690 fi
7691
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7694
7695
7696 enablestring=
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7700 defaultval=yes
7701 else
7702 defaultval=no
7703 fi
7704 fi
7705
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7708 # Check whether --enable-textbuf was given.
7709 if test "${enable_textbuf+set}" = set; then
7710 enableval=$enable_textbuf;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7713 else
7714 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7715 fi
7716
7717 else
7718
7719 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7720
7721 fi
7722
7723
7724 eval "$wx_cv_use_textbuf"
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TEXTBUFFER = yes; then
7728 result=no
7729 else
7730 result=yes
7731 fi
7732 else
7733 result=$wxUSE_TEXTBUFFER
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7752 # Check whether --enable-textfile was given.
7753 if test "${enable_textfile+set}" = set; then
7754 enableval=$enable_textfile;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7757 else
7758 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7759 fi
7760
7761 else
7762
7763 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7764
7765 fi
7766
7767
7768 eval "$wx_cv_use_textfile"
7769
7770 if test x"$enablestring" = xdisable; then
7771 if test $wxUSE_TEXTFILE = yes; then
7772 result=no
7773 else
7774 result=yes
7775 fi
7776 else
7777 result=$wxUSE_TEXTFILE
7778 fi
7779
7780 { echo "$as_me:$LINENO: result: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7782
7783
7784 enablestring=
7785 defaultval=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x"$enablestring" = xdisable; then
7788 defaultval=yes
7789 else
7790 defaultval=no
7791 fi
7792 fi
7793
7794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7796 # Check whether --enable-timer was given.
7797 if test "${enable_timer+set}" = set; then
7798 enableval=$enable_timer;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_timer='wxUSE_TIMER=yes'
7801 else
7802 wx_cv_use_timer='wxUSE_TIMER=no'
7803 fi
7804
7805 else
7806
7807 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7808
7809 fi
7810
7811
7812 eval "$wx_cv_use_timer"
7813
7814 if test x"$enablestring" = xdisable; then
7815 if test $wxUSE_TIMER = yes; then
7816 result=no
7817 else
7818 result=yes
7819 fi
7820 else
7821 result=$wxUSE_TIMER
7822 fi
7823
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7826
7827
7828 enablestring=
7829 defaultval=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x"$enablestring" = xdisable; then
7832 defaultval=yes
7833 else
7834 defaultval=no
7835 fi
7836 fi
7837
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7840 # Check whether --enable-variant was given.
7841 if test "${enable_variant+set}" = set; then
7842 enableval=$enable_variant;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_variant='wxUSE_VARIANT=yes'
7845 else
7846 wx_cv_use_variant='wxUSE_VARIANT=no'
7847 fi
7848
7849 else
7850
7851 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7852
7853 fi
7854
7855
7856 eval "$wx_cv_use_variant"
7857
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_VARIANT = yes; then
7860 result=no
7861 else
7862 result=yes
7863 fi
7864 else
7865 result=$wxUSE_VARIANT
7866 fi
7867
7868 { echo "$as_me:$LINENO: result: $result" >&5
7869 echo "${ECHO_T}$result" >&6; }
7870
7871
7872 enablestring=
7873 defaultval=$wxUSE_ALL_FEATURES
7874 if test -z "$defaultval"; then
7875 if test x"$enablestring" = xdisable; then
7876 defaultval=yes
7877 else
7878 defaultval=no
7879 fi
7880 fi
7881
7882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7884 # Check whether --enable-zipstream was given.
7885 if test "${enable_zipstream+set}" = set; then
7886 enableval=$enable_zipstream;
7887 if test "$enableval" = yes; then
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7889 else
7890 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7891 fi
7892
7893 else
7894
7895 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7896
7897 fi
7898
7899
7900 eval "$wx_cv_use_zipstream"
7901
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_ZIPSTREAM = yes; then
7904 result=no
7905 else
7906 result=yes
7907 fi
7908 else
7909 result=$wxUSE_ZIPSTREAM
7910 fi
7911
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7914
7915
7916
7917 enablestring=
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7921 defaultval=yes
7922 else
7923 defaultval=no
7924 fi
7925 fi
7926
7927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7929 # Check whether --enable-url was given.
7930 if test "${enable_url+set}" = set; then
7931 enableval=$enable_url;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_url='wxUSE_URL=yes'
7934 else
7935 wx_cv_use_url='wxUSE_URL=no'
7936 fi
7937
7938 else
7939
7940 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7941
7942 fi
7943
7944
7945 eval "$wx_cv_use_url"
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_URL = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_URL
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7973 # Check whether --enable-protocol was given.
7974 if test "${enable_protocol+set}" = set; then
7975 enableval=$enable_protocol;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7978 else
7979 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7980 fi
7981
7982 else
7983
7984 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7985
7986 fi
7987
7988
7989 eval "$wx_cv_use_protocol"
7990
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_PROTOCOL = yes; then
7993 result=no
7994 else
7995 result=yes
7996 fi
7997 else
7998 result=$wxUSE_PROTOCOL
7999 fi
8000
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8003
8004
8005 enablestring=
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8009 defaultval=yes
8010 else
8011 defaultval=no
8012 fi
8013 fi
8014
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8017 # Check whether --enable-protocol_http was given.
8018 if test "${enable_protocol_http+set}" = set; then
8019 enableval=$enable_protocol_http;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8022 else
8023 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8024 fi
8025
8026 else
8027
8028 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8029
8030 fi
8031
8032
8033 eval "$wx_cv_use_protocol_http"
8034
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_PROTOCOL_HTTP = yes; then
8037 result=no
8038 else
8039 result=yes
8040 fi
8041 else
8042 result=$wxUSE_PROTOCOL_HTTP
8043 fi
8044
8045 { echo "$as_me:$LINENO: result: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8047
8048
8049 enablestring=
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8053 defaultval=yes
8054 else
8055 defaultval=no
8056 fi
8057 fi
8058
8059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8061 # Check whether --enable-protocol_ftp was given.
8062 if test "${enable_protocol_ftp+set}" = set; then
8063 enableval=$enable_protocol_ftp;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8066 else
8067 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8068 fi
8069
8070 else
8071
8072 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8073
8074 fi
8075
8076
8077 eval "$wx_cv_use_protocol_ftp"
8078
8079 if test x"$enablestring" = xdisable; then
8080 if test $wxUSE_PROTOCOL_FTP = yes; then
8081 result=no
8082 else
8083 result=yes
8084 fi
8085 else
8086 result=$wxUSE_PROTOCOL_FTP
8087 fi
8088
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 echo "${ECHO_T}$result" >&6; }
8091
8092
8093 enablestring=
8094 defaultval=$wxUSE_ALL_FEATURES
8095 if test -z "$defaultval"; then
8096 if test x"$enablestring" = xdisable; then
8097 defaultval=yes
8098 else
8099 defaultval=no
8100 fi
8101 fi
8102
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8105 # Check whether --enable-protocol_file was given.
8106 if test "${enable_protocol_file+set}" = set; then
8107 enableval=$enable_protocol_file;
8108 if test "$enableval" = yes; then
8109 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8110 else
8111 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8112 fi
8113
8114 else
8115
8116 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8117
8118 fi
8119
8120
8121 eval "$wx_cv_use_protocol_file"
8122
8123 if test x"$enablestring" = xdisable; then
8124 if test $wxUSE_PROTOCOL_FILE = yes; then
8125 result=no
8126 else
8127 result=yes
8128 fi
8129 else
8130 result=$wxUSE_PROTOCOL_FILE
8131 fi
8132
8133 { echo "$as_me:$LINENO: result: $result" >&5
8134 echo "${ECHO_T}$result" >&6; }
8135
8136
8137
8138 enablestring=
8139 defaultval=$wxUSE_ALL_FEATURES
8140 if test -z "$defaultval"; then
8141 if test x"$enablestring" = xdisable; then
8142 defaultval=yes
8143 else
8144 defaultval=no
8145 fi
8146 fi
8147
8148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8149 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8150 # Check whether --enable-threads was given.
8151 if test "${enable_threads+set}" = set; then
8152 enableval=$enable_threads;
8153 if test "$enableval" = yes; then
8154 wx_cv_use_threads='wxUSE_THREADS=yes'
8155 else
8156 wx_cv_use_threads='wxUSE_THREADS=no'
8157 fi
8158
8159 else
8160
8161 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8162
8163 fi
8164
8165
8166 eval "$wx_cv_use_threads"
8167
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_THREADS = yes; then
8170 result=no
8171 else
8172 result=yes
8173 fi
8174 else
8175 result=$wxUSE_THREADS
8176 fi
8177
8178 { echo "$as_me:$LINENO: result: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8180
8181
8182
8183 enablestring=
8184 defaultval=
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8187 defaultval=yes
8188 else
8189 defaultval=no
8190 fi
8191 fi
8192
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8195 # Check whether --enable-iniconf was given.
8196 if test "${enable_iniconf+set}" = set; then
8197 enableval=$enable_iniconf;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8200 else
8201 wx_cv_use_iniconf='wxUSE_INICONF=no'
8202 fi
8203
8204 else
8205
8206 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8207
8208 fi
8209
8210
8211 eval "$wx_cv_use_iniconf"
8212
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_INICONF = yes; then
8215 result=no
8216 else
8217 result=yes
8218 fi
8219 else
8220 result=$wxUSE_INICONF
8221 fi
8222
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8225
8226
8227 enablestring=
8228 defaultval=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8231 defaultval=yes
8232 else
8233 defaultval=no
8234 fi
8235 fi
8236
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8239 # Check whether --enable-regkey was given.
8240 if test "${enable_regkey+set}" = set; then
8241 enableval=$enable_regkey;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8244 else
8245 wx_cv_use_regkey='wxUSE_REGKEY=no'
8246 fi
8247
8248 else
8249
8250 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8251
8252 fi
8253
8254
8255 eval "$wx_cv_use_regkey"
8256
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_REGKEY = yes; then
8259 result=no
8260 else
8261 result=yes
8262 fi
8263 else
8264 result=$wxUSE_REGKEY
8265 fi
8266
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8269
8270
8271 if test "$wxUSE_GUI" = "yes"; then
8272
8273
8274
8275 enablestring=
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8279 defaultval=yes
8280 else
8281 defaultval=no
8282 fi
8283 fi
8284
8285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8287 # Check whether --enable-docview was given.
8288 if test "${enable_docview+set}" = set; then
8289 enableval=$enable_docview;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8292 else
8293 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8294 fi
8295
8296 else
8297
8298 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8299
8300 fi
8301
8302
8303 eval "$wx_cv_use_docview"
8304
8305 if test x"$enablestring" = xdisable; then
8306 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8307 result=no
8308 else
8309 result=yes
8310 fi
8311 else
8312 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8313 fi
8314
8315 { echo "$as_me:$LINENO: result: $result" >&5
8316 echo "${ECHO_T}$result" >&6; }
8317
8318
8319 enablestring=
8320 defaultval=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x"$enablestring" = xdisable; then
8323 defaultval=yes
8324 else
8325 defaultval=no
8326 fi
8327 fi
8328
8329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8331 # Check whether --enable-help was given.
8332 if test "${enable_help+set}" = set; then
8333 enableval=$enable_help;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_help='wxUSE_HELP=yes'
8336 else
8337 wx_cv_use_help='wxUSE_HELP=no'
8338 fi
8339
8340 else
8341
8342 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8343
8344 fi
8345
8346
8347 eval "$wx_cv_use_help"
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_HELP = yes; then
8351 result=no
8352 else
8353 result=yes
8354 fi
8355 else
8356 result=$wxUSE_HELP
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8375 # Check whether --enable-mshtmlhelp was given.
8376 if test "${enable_mshtmlhelp+set}" = set; then
8377 enableval=$enable_mshtmlhelp;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8380 else
8381 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8382 fi
8383
8384 else
8385
8386 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8387
8388 fi
8389
8390
8391 eval "$wx_cv_use_mshtmlhelp"
8392
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_MS_HTML_HELP = yes; then
8395 result=no
8396 else
8397 result=yes
8398 fi
8399 else
8400 result=$wxUSE_MS_HTML_HELP
8401 fi
8402
8403 { echo "$as_me:$LINENO: result: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8405
8406
8407 enablestring=
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8411 defaultval=yes
8412 else
8413 defaultval=no
8414 fi
8415 fi
8416
8417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8419 # Check whether --enable-html was given.
8420 if test "${enable_html+set}" = set; then
8421 enableval=$enable_html;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_html='wxUSE_HTML=yes'
8424 else
8425 wx_cv_use_html='wxUSE_HTML=no'
8426 fi
8427
8428 else
8429
8430 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8431
8432 fi
8433
8434
8435 eval "$wx_cv_use_html"
8436
8437 if test x"$enablestring" = xdisable; then
8438 if test $wxUSE_HTML = yes; then
8439 result=no
8440 else
8441 result=yes
8442 fi
8443 else
8444 result=$wxUSE_HTML
8445 fi
8446
8447 { echo "$as_me:$LINENO: result: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8449
8450
8451 enablestring=
8452 defaultval=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x"$enablestring" = xdisable; then
8455 defaultval=yes
8456 else
8457 defaultval=no
8458 fi
8459 fi
8460
8461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8463 # Check whether --enable-htmlhelp was given.
8464 if test "${enable_htmlhelp+set}" = set; then
8465 enableval=$enable_htmlhelp;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8468 else
8469 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8470 fi
8471
8472 else
8473
8474 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8475
8476 fi
8477
8478
8479 eval "$wx_cv_use_htmlhelp"
8480
8481 if test x"$enablestring" = xdisable; then
8482 if test $wxUSE_WXHTML_HELP = yes; then
8483 result=no
8484 else
8485 result=yes
8486 fi
8487 else
8488 result=$wxUSE_WXHTML_HELP
8489 fi
8490
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8493
8494
8495 enablestring=
8496 defaultval=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x"$enablestring" = xdisable; then
8499 defaultval=yes
8500 else
8501 defaultval=no
8502 fi
8503 fi
8504
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8507 # Check whether --enable-xrc was given.
8508 if test "${enable_xrc+set}" = set; then
8509 enableval=$enable_xrc;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_xrc='wxUSE_XRC=yes'
8512 else
8513 wx_cv_use_xrc='wxUSE_XRC=no'
8514 fi
8515
8516 else
8517
8518 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8519
8520 fi
8521
8522
8523 eval "$wx_cv_use_xrc"
8524
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_XRC = yes; then
8527 result=no
8528 else
8529 result=yes
8530 fi
8531 else
8532 result=$wxUSE_XRC
8533 fi
8534
8535 { echo "$as_me:$LINENO: result: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8537
8538
8539 enablestring=
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8543 defaultval=yes
8544 else
8545 defaultval=no
8546 fi
8547 fi
8548
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8551 # Check whether --enable-aui was given.
8552 if test "${enable_aui+set}" = set; then
8553 enableval=$enable_aui;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_aui='wxUSE_AUI=yes'
8556 else
8557 wx_cv_use_aui='wxUSE_AUI=no'
8558 fi
8559
8560 else
8561
8562 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8563
8564 fi
8565
8566
8567 eval "$wx_cv_use_aui"
8568
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_AUI = yes; then
8571 result=no
8572 else
8573 result=yes
8574 fi
8575 else
8576 result=$wxUSE_AUI
8577 fi
8578
8579 { echo "$as_me:$LINENO: result: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8581
8582
8583 enablestring=
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8587 defaultval=yes
8588 else
8589 defaultval=no
8590 fi
8591 fi
8592
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8595 # Check whether --enable-propgrid was given.
8596 if test "${enable_propgrid+set}" = set; then
8597 enableval=$enable_propgrid;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8600 else
8601 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8602 fi
8603
8604 else
8605
8606 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8607
8608 fi
8609
8610
8611 eval "$wx_cv_use_propgrid"
8612
8613 if test x"$enablestring" = xdisable; then
8614 if test $wxUSE_PROPGRID = yes; then
8615 result=no
8616 else
8617 result=yes
8618 fi
8619 else
8620 result=$wxUSE_PROPGRID
8621 fi
8622
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8625
8626
8627 enablestring=
8628 defaultval=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x"$enablestring" = xdisable; then
8631 defaultval=yes
8632 else
8633 defaultval=no
8634 fi
8635 fi
8636
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8639 # Check whether --enable-stc was given.
8640 if test "${enable_stc+set}" = set; then
8641 enableval=$enable_stc;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_stc='wxUSE_STC=yes'
8644 else
8645 wx_cv_use_stc='wxUSE_STC=no'
8646 fi
8647
8648 else
8649
8650 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8651
8652 fi
8653
8654
8655 eval "$wx_cv_use_stc"
8656
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_STC = yes; then
8659 result=no
8660 else
8661 result=yes
8662 fi
8663 else
8664 result=$wxUSE_STC
8665 fi
8666
8667 { echo "$as_me:$LINENO: result: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8669
8670
8671 enablestring=
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8675 defaultval=yes
8676 else
8677 defaultval=no
8678 fi
8679 fi
8680
8681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8682 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8683 # Check whether --enable-constraints was given.
8684 if test "${enable_constraints+set}" = set; then
8685 enableval=$enable_constraints;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8688 else
8689 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8690 fi
8691
8692 else
8693
8694 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8695
8696 fi
8697
8698
8699 eval "$wx_cv_use_constraints"
8700
8701 if test x"$enablestring" = xdisable; then
8702 if test $wxUSE_CONSTRAINTS = yes; then
8703 result=no
8704 else
8705 result=yes
8706 fi
8707 else
8708 result=$wxUSE_CONSTRAINTS
8709 fi
8710
8711 { echo "$as_me:$LINENO: result: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8713
8714
8715 enablestring=
8716 defaultval=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x"$enablestring" = xdisable; then
8719 defaultval=yes
8720 else
8721 defaultval=no
8722 fi
8723 fi
8724
8725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8726 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8727 # Check whether --enable-loggui was given.
8728 if test "${enable_loggui+set}" = set; then
8729 enableval=$enable_loggui;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8732 else
8733 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8734 fi
8735
8736 else
8737
8738 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8739
8740 fi
8741
8742
8743 eval "$wx_cv_use_loggui"
8744
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_LOGGUI = yes; then
8747 result=no
8748 else
8749 result=yes
8750 fi
8751 else
8752 result=$wxUSE_LOGGUI
8753 fi
8754
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8757
8758
8759 enablestring=
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8763 defaultval=yes
8764 else
8765 defaultval=no
8766 fi
8767 fi
8768
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8771 # Check whether --enable-logwin was given.
8772 if test "${enable_logwin+set}" = set; then
8773 enableval=$enable_logwin;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8776 else
8777 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8778 fi
8779
8780 else
8781
8782 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8783
8784 fi
8785
8786
8787 eval "$wx_cv_use_logwin"
8788
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_LOGWINDOW = yes; then
8791 result=no
8792 else
8793 result=yes
8794 fi
8795 else
8796 result=$wxUSE_LOGWINDOW
8797 fi
8798
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8801
8802
8803 enablestring=
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8807 defaultval=yes
8808 else
8809 defaultval=no
8810 fi
8811 fi
8812
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8815 # Check whether --enable-logdialog was given.
8816 if test "${enable_logdialog+set}" = set; then
8817 enableval=$enable_logdialog;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8820 else
8821 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8822 fi
8823
8824 else
8825
8826 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8827
8828 fi
8829
8830
8831 eval "$wx_cv_use_logdialog"
8832
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_LOGDIALOG = yes; then
8835 result=no
8836 else
8837 result=yes
8838 fi
8839 else
8840 result=$wxUSE_LOGDIALOG
8841 fi
8842
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8845
8846
8847 enablestring=
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8851 defaultval=yes
8852 else
8853 defaultval=no
8854 fi
8855 fi
8856
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8859 # Check whether --enable-mdi was given.
8860 if test "${enable_mdi+set}" = set; then
8861 enableval=$enable_mdi;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_mdi='wxUSE_MDI=yes'
8864 else
8865 wx_cv_use_mdi='wxUSE_MDI=no'
8866 fi
8867
8868 else
8869
8870 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8871
8872 fi
8873
8874
8875 eval "$wx_cv_use_mdi"
8876
8877 if test x"$enablestring" = xdisable; then
8878 if test $wxUSE_MDI = yes; then
8879 result=no
8880 else
8881 result=yes
8882 fi
8883 else
8884 result=$wxUSE_MDI
8885 fi
8886
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8889
8890
8891 enablestring=
8892 defaultval=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x"$enablestring" = xdisable; then
8895 defaultval=yes
8896 else
8897 defaultval=no
8898 fi
8899 fi
8900
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8903 # Check whether --enable-mdidoc was given.
8904 if test "${enable_mdidoc+set}" = set; then
8905 enableval=$enable_mdidoc;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8908 else
8909 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8910 fi
8911
8912 else
8913
8914 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8915
8916 fi
8917
8918
8919 eval "$wx_cv_use_mdidoc"
8920
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8923 result=no
8924 else
8925 result=yes
8926 fi
8927 else
8928 result=$wxUSE_MDI_ARCHITECTURE
8929 fi
8930
8931 { echo "$as_me:$LINENO: result: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8933
8934
8935 enablestring=
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8939 defaultval=yes
8940 else
8941 defaultval=no
8942 fi
8943 fi
8944
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8947 # Check whether --enable-mediactrl was given.
8948 if test "${enable_mediactrl+set}" = set; then
8949 enableval=$enable_mediactrl;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8952 else
8953 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8954 fi
8955
8956 else
8957
8958 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8959
8960 fi
8961
8962
8963 eval "$wx_cv_use_mediactrl"
8964
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_MEDIACTRL = yes; then
8967 result=no
8968 else
8969 result=yes
8970 fi
8971 else
8972 result=$wxUSE_MEDIACTRL
8973 fi
8974
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8977
8978
8979 enablestring=
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8983 defaultval=yes
8984 else
8985 defaultval=no
8986 fi
8987 fi
8988
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8991 # Check whether --enable-gstreamer8 was given.
8992 if test "${enable_gstreamer8+set}" = set; then
8993 enableval=$enable_gstreamer8;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8996 else
8997 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8998 fi
8999
9000 else
9001
9002 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_gstreamer8"
9008
9009 if test x"$enablestring" = xdisable; then
9010 if test $wxUSE_GSTREAMER8 = yes; then
9011 result=no
9012 else
9013 result=yes
9014 fi
9015 else
9016 result=$wxUSE_GSTREAMER8
9017 fi
9018
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9021
9022
9023 enablestring=
9024 defaultval=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x"$enablestring" = xdisable; then
9027 defaultval=yes
9028 else
9029 defaultval=no
9030 fi
9031 fi
9032
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9035 # Check whether --enable-webkit was given.
9036 if test "${enable_webkit+set}" = set; then
9037 enableval=$enable_webkit;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9040 else
9041 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9042 fi
9043
9044 else
9045
9046 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9047
9048 fi
9049
9050
9051 eval "$wx_cv_use_webkit"
9052
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_WEBKIT = yes; then
9055 result=no
9056 else
9057 result=yes
9058 fi
9059 else
9060 result=$wxUSE_WEBKIT
9061 fi
9062
9063 { echo "$as_me:$LINENO: result: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9065
9066
9067 enablestring=
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9071 defaultval=yes
9072 else
9073 defaultval=no
9074 fi
9075 fi
9076
9077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9079 # Check whether --enable-richtext was given.
9080 if test "${enable_richtext+set}" = set; then
9081 enableval=$enable_richtext;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9084 else
9085 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9086 fi
9087
9088 else
9089
9090 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9091
9092 fi
9093
9094
9095 eval "$wx_cv_use_richtext"
9096
9097 if test x"$enablestring" = xdisable; then
9098 if test $wxUSE_RICHTEXT = yes; then
9099 result=no
9100 else
9101 result=yes
9102 fi
9103 else
9104 result=$wxUSE_RICHTEXT
9105 fi
9106
9107 { echo "$as_me:$LINENO: result: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9109
9110
9111 enablestring=
9112 defaultval=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x"$enablestring" = xdisable; then
9115 defaultval=yes
9116 else
9117 defaultval=no
9118 fi
9119 fi
9120
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9123 # Check whether --enable-graphics_ctx was given.
9124 if test "${enable_graphics_ctx+set}" = set; then
9125 enableval=$enable_graphics_ctx;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9128 else
9129 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9130 fi
9131
9132 else
9133
9134 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9135
9136 fi
9137
9138
9139 eval "$wx_cv_use_graphics_ctx"
9140
9141 if test x"$enablestring" = xdisable; then
9142 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9143 result=no
9144 else
9145 result=yes
9146 fi
9147 else
9148 result=$wxUSE_GRAPHICS_CONTEXT
9149 fi
9150
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9153
9154
9155 enablestring=
9156 defaultval=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x"$enablestring" = xdisable; then
9159 defaultval=yes
9160 else
9161 defaultval=no
9162 fi
9163 fi
9164
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9167 # Check whether --enable-postscript was given.
9168 if test "${enable_postscript+set}" = set; then
9169 enableval=$enable_postscript;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9172 else
9173 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9174 fi
9175
9176 else
9177
9178 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9179
9180 fi
9181
9182
9183 eval "$wx_cv_use_postscript"
9184
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_POSTSCRIPT = yes; then
9187 result=no
9188 else
9189 result=yes
9190 fi
9191 else
9192 result=$wxUSE_POSTSCRIPT
9193 fi
9194
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
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}-printarch" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9211 # Check whether --enable-printarch was given.
9212 if test "${enable_printarch+set}" = set; then
9213 enableval=$enable_printarch;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9216 else
9217 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9218 fi
9219
9220 else
9221
9222 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9223
9224 fi
9225
9226
9227 eval "$wx_cv_use_printarch"
9228
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9231 result=no
9232 else
9233 result=yes
9234 fi
9235 else
9236 result=$wxUSE_PRINTING_ARCHITECTURE
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}-svg" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9255 # Check whether --enable-svg was given.
9256 if test "${enable_svg+set}" = set; then
9257 enableval=$enable_svg;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_svg='wxUSE_SVG=yes'
9260 else
9261 wx_cv_use_svg='wxUSE_SVG=no'
9262 fi
9263
9264 else
9265
9266 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9267
9268 fi
9269
9270
9271 eval "$wx_cv_use_svg"
9272
9273 if test x"$enablestring" = xdisable; then
9274 if test $wxUSE_SVG = yes; then
9275 result=no
9276 else
9277 result=yes
9278 fi
9279 else
9280 result=$wxUSE_SVG
9281 fi
9282
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9285
9286
9287
9288
9289 enablestring=
9290 defaultval=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x"$enablestring" = xdisable; then
9293 defaultval=yes
9294 else
9295 defaultval=no
9296 fi
9297 fi
9298
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9301 # Check whether --enable-clipboard was given.
9302 if test "${enable_clipboard+set}" = set; then
9303 enableval=$enable_clipboard;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9306 else
9307 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9308 fi
9309
9310 else
9311
9312 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9313
9314 fi
9315
9316
9317 eval "$wx_cv_use_clipboard"
9318
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_CLIPBOARD = yes; then
9321 result=no
9322 else
9323 result=yes
9324 fi
9325 else
9326 result=$wxUSE_CLIPBOARD
9327 fi
9328
9329 { echo "$as_me:$LINENO: result: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9331
9332
9333 enablestring=
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9337 defaultval=yes
9338 else
9339 defaultval=no
9340 fi
9341 fi
9342
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9345 # Check whether --enable-dnd was given.
9346 if test "${enable_dnd+set}" = set; then
9347 enableval=$enable_dnd;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9350 else
9351 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9352 fi
9353
9354 else
9355
9356 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9357
9358 fi
9359
9360
9361 eval "$wx_cv_use_dnd"
9362
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_DRAG_AND_DROP = yes; then
9365 result=no
9366 else
9367 result=yes
9368 fi
9369 else
9370 result=$wxUSE_DRAG_AND_DROP
9371 fi
9372
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9375
9376
9377 enablestring=
9378 defaultval=$wxUSE_ALL_FEATURES
9379 if test -z "$defaultval"; then
9380 if test x"$enablestring" = xdisable; then
9381 defaultval=yes
9382 else
9383 defaultval=no
9384 fi
9385 fi
9386
9387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9389 # Check whether --enable-metafile was given.
9390 if test "${enable_metafile+set}" = set; then
9391 enableval=$enable_metafile;
9392 if test "$enableval" = yes; then
9393 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9394 else
9395 wx_cv_use_metafile='wxUSE_METAFILE=no'
9396 fi
9397
9398 else
9399
9400 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9401
9402 fi
9403
9404
9405 eval "$wx_cv_use_metafile"
9406
9407 if test x"$enablestring" = xdisable; then
9408 if test $wxUSE_METAFILE = yes; then
9409 result=no
9410 else
9411 result=yes
9412 fi
9413 else
9414 result=$wxUSE_METAFILE
9415 fi
9416
9417 { echo "$as_me:$LINENO: result: $result" >&5
9418 echo "${ECHO_T}$result" >&6; }
9419
9420
9421
9422 DEFAULT_wxUSE_CONTROLS=none
9423
9424 enablestring=disable
9425 defaultval=
9426 if test -z "$defaultval"; then
9427 if test x"$enablestring" = xdisable; then
9428 defaultval=yes
9429 else
9430 defaultval=no
9431 fi
9432 fi
9433
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9436 # Check whether --enable-controls was given.
9437 if test "${enable_controls+set}" = set; then
9438 enableval=$enable_controls;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9441 else
9442 wx_cv_use_controls='wxUSE_CONTROLS=no'
9443 fi
9444
9445 else
9446
9447 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9448
9449 fi
9450
9451
9452 eval "$wx_cv_use_controls"
9453
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CONTROLS = yes; then
9456 result=no
9457 else
9458 result=yes
9459 fi
9460 else
9461 result=$wxUSE_CONTROLS
9462 fi
9463
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9466
9467
9468 if test "$wxUSE_CONTROLS" = "yes"; then
9469 DEFAULT_wxUSE_ACCEL=yes
9470 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9471 DEFAULT_wxUSE_BMPBUTTON=yes
9472 DEFAULT_wxUSE_BUTTON=yes
9473 DEFAULT_wxUSE_CALCTRL=yes
9474 DEFAULT_wxUSE_CARET=yes
9475 DEFAULT_wxUSE_COMBOBOX=yes
9476 DEFAULT_wxUSE_CHECKBOX=yes
9477 DEFAULT_wxUSE_CHECKLISTBOX=yes
9478 DEFAULT_wxUSE_CHOICE=yes
9479 DEFAULT_wxUSE_CHOICEBOOK=yes
9480 DEFAULT_wxUSE_COLLPANE=yes
9481 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9482 DEFAULT_wxUSE_COMBOBOX=yes
9483 DEFAULT_wxUSE_DATEPICKCTRL=yes
9484 DEFAULT_wxUSE_DISPLAY=yes
9485 DEFAULT_wxUSE_DETECT_SM=yes
9486 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9487 DEFAULT_wxUSE_FILECTRL=yes
9488 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9489 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9490 DEFAULT_wxUSE_GAUGE=yes
9491 DEFAULT_wxUSE_GRID=yes
9492 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9493 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9494 DEFAULT_wxUSE_IMAGLIST=yes
9495 DEFAULT_wxUSE_LISTBOOK=yes
9496 DEFAULT_wxUSE_LISTBOX=yes
9497 DEFAULT_wxUSE_LISTCTRL=yes
9498 DEFAULT_wxUSE_NOTEBOOK=yes
9499 DEFAULT_wxUSE_RADIOBOX=yes
9500 DEFAULT_wxUSE_RADIOBTN=yes
9501 DEFAULT_wxUSE_SASH=yes
9502 DEFAULT_wxUSE_SCROLLBAR=yes
9503 DEFAULT_wxUSE_SEARCHCTRL=yes
9504 DEFAULT_wxUSE_SLIDER=yes
9505 DEFAULT_wxUSE_SPINBTN=yes
9506 DEFAULT_wxUSE_SPINCTRL=yes
9507 DEFAULT_wxUSE_SPLITTER=yes
9508 DEFAULT_wxUSE_STATBMP=yes
9509 DEFAULT_wxUSE_STATBOX=yes
9510 DEFAULT_wxUSE_STATLINE=yes
9511 DEFAULT_wxUSE_STATUSBAR=yes
9512 DEFAULT_wxUSE_TAB_DIALOG=yes
9513 DEFAULT_wxUSE_TOGGLEBTN=yes
9514 DEFAULT_wxUSE_TOOLBAR=yes
9515 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9516 DEFAULT_wxUSE_TOOLTIPS=yes
9517 DEFAULT_wxUSE_TREEBOOK=yes
9518 DEFAULT_wxUSE_TOOLBOOK=yes
9519 DEFAULT_wxUSE_TREECTRL=yes
9520 DEFAULT_wxUSE_POPUPWIN=yes
9521 DEFAULT_wxUSE_TIPWINDOW=yes
9522 elif test "$wxUSE_CONTROLS" = "no"; then
9523 DEFAULT_wxUSE_ACCEL=no
9524 DEFAULT_wxUSE_ANIMATIONCTRL=no
9525 DEFAULT_wxUSE_BMPBUTTON=no
9526 DEFAULT_wxUSE_BUTTON=no
9527 DEFAULT_wxUSE_CALCTRL=no
9528 DEFAULT_wxUSE_CARET=no
9529 DEFAULT_wxUSE_COLLPANE=no
9530 DEFAULT_wxUSE_COMBOBOX=no
9531 DEFAULT_wxUSE_CHECKBOX=no
9532 DEFAULT_wxUSE_CHECKLISTBOX=no
9533 DEFAULT_wxUSE_CHOICE=no
9534 DEFAULT_wxUSE_CHOICEBOOK=no
9535 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9536 DEFAULT_wxUSE_COMBOBOX=no
9537 DEFAULT_wxUSE_DATEPICKCTRL=no
9538 DEFAULT_wxUSE_DISPLAY=no
9539 DEFAULT_wxUSE_DETECT_SM=no
9540 DEFAULT_wxUSE_DIRPICKERCTRL=no
9541 DEFAULT_wxUSE_FILECTRL=no
9542 DEFAULT_wxUSE_FILEPICKERCTRL=no
9543 DEFAULT_wxUSE_FONTPICKERCTRL=no
9544 DEFAULT_wxUSE_GAUGE=no
9545 DEFAULT_wxUSE_GRID=no
9546 DEFAULT_wxUSE_HYPERLINKCTRL=no
9547 DEFAULT_wxUSE_DATAVIEWCTRL=no
9548 DEFAULT_wxUSE_IMAGLIST=no
9549 DEFAULT_wxUSE_LISTBOOK=no
9550 DEFAULT_wxUSE_LISTBOX=no
9551 DEFAULT_wxUSE_LISTCTRL=no
9552 DEFAULT_wxUSE_NOTEBOOK=no
9553 DEFAULT_wxUSE_RADIOBOX=no
9554 DEFAULT_wxUSE_RADIOBTN=no
9555 DEFAULT_wxUSE_SASH=no
9556 DEFAULT_wxUSE_SCROLLBAR=no
9557 DEFAULT_wxUSE_SEARCHCTRL=no
9558 DEFAULT_wxUSE_SLIDER=no
9559 DEFAULT_wxUSE_SPINBTN=no
9560 DEFAULT_wxUSE_SPINCTRL=no
9561 DEFAULT_wxUSE_SPLITTER=no
9562 DEFAULT_wxUSE_STATBMP=no
9563 DEFAULT_wxUSE_STATBOX=no
9564 DEFAULT_wxUSE_STATLINE=no
9565 DEFAULT_wxUSE_STATUSBAR=no
9566 DEFAULT_wxUSE_TAB_DIALOG=no
9567 DEFAULT_wxUSE_TOGGLEBTN=no
9568 DEFAULT_wxUSE_TOOLBAR=no
9569 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9570 DEFAULT_wxUSE_TOOLTIPS=no
9571 DEFAULT_wxUSE_TREEBOOK=no
9572 DEFAULT_wxUSE_TOOLBOOK=no
9573 DEFAULT_wxUSE_TREECTRL=no
9574 DEFAULT_wxUSE_POPUPWIN=no
9575 DEFAULT_wxUSE_TIPWINDOW=no
9576 fi
9577
9578
9579 enablestring=
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9583 defaultval=yes
9584 else
9585 defaultval=no
9586 fi
9587 fi
9588
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9591 # Check whether --enable-accel was given.
9592 if test "${enable_accel+set}" = set; then
9593 enableval=$enable_accel;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_accel='wxUSE_ACCEL=yes'
9596 else
9597 wx_cv_use_accel='wxUSE_ACCEL=no'
9598 fi
9599
9600 else
9601
9602 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9603
9604 fi
9605
9606
9607 eval "$wx_cv_use_accel"
9608
9609 if test x"$enablestring" = xdisable; then
9610 if test $wxUSE_ACCEL = yes; then
9611 result=no
9612 else
9613 result=yes
9614 fi
9615 else
9616 result=$wxUSE_ACCEL
9617 fi
9618
9619 { echo "$as_me:$LINENO: result: $result" >&5
9620 echo "${ECHO_T}$result" >&6; }
9621
9622
9623 enablestring=
9624 defaultval=$wxUSE_ALL_FEATURES
9625 if test -z "$defaultval"; then
9626 if test x"$enablestring" = xdisable; then
9627 defaultval=yes
9628 else
9629 defaultval=no
9630 fi
9631 fi
9632
9633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9634 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9635 # Check whether --enable-animatectrl was given.
9636 if test "${enable_animatectrl+set}" = set; then
9637 enableval=$enable_animatectrl;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9640 else
9641 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9642 fi
9643
9644 else
9645
9646 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9647
9648 fi
9649
9650
9651 eval "$wx_cv_use_animatectrl"
9652
9653 if test x"$enablestring" = xdisable; then
9654 if test $wxUSE_ANIMATIONCTRL = yes; then
9655 result=no
9656 else
9657 result=yes
9658 fi
9659 else
9660 result=$wxUSE_ANIMATIONCTRL
9661 fi
9662
9663 { echo "$as_me:$LINENO: result: $result" >&5
9664 echo "${ECHO_T}$result" >&6; }
9665
9666
9667 enablestring=
9668 defaultval=$wxUSE_ALL_FEATURES
9669 if test -z "$defaultval"; then
9670 if test x"$enablestring" = xdisable; then
9671 defaultval=yes
9672 else
9673 defaultval=no
9674 fi
9675 fi
9676
9677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9679 # Check whether --enable-button was given.
9680 if test "${enable_button+set}" = set; then
9681 enableval=$enable_button;
9682 if test "$enableval" = yes; then
9683 wx_cv_use_button='wxUSE_BUTTON=yes'
9684 else
9685 wx_cv_use_button='wxUSE_BUTTON=no'
9686 fi
9687
9688 else
9689
9690 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9691
9692 fi
9693
9694
9695 eval "$wx_cv_use_button"
9696
9697 if test x"$enablestring" = xdisable; then
9698 if test $wxUSE_BUTTON = yes; then
9699 result=no
9700 else
9701 result=yes
9702 fi
9703 else
9704 result=$wxUSE_BUTTON
9705 fi
9706
9707 { echo "$as_me:$LINENO: result: $result" >&5
9708 echo "${ECHO_T}$result" >&6; }
9709
9710
9711 enablestring=
9712 defaultval=$wxUSE_ALL_FEATURES
9713 if test -z "$defaultval"; then
9714 if test x"$enablestring" = xdisable; then
9715 defaultval=yes
9716 else
9717 defaultval=no
9718 fi
9719 fi
9720
9721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9723 # Check whether --enable-bmpbutton was given.
9724 if test "${enable_bmpbutton+set}" = set; then
9725 enableval=$enable_bmpbutton;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9728 else
9729 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9730 fi
9731
9732 else
9733
9734 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9735
9736 fi
9737
9738
9739 eval "$wx_cv_use_bmpbutton"
9740
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_BMPBUTTON = yes; then
9743 result=no
9744 else
9745 result=yes
9746 fi
9747 else
9748 result=$wxUSE_BMPBUTTON
9749 fi
9750
9751 { echo "$as_me:$LINENO: result: $result" >&5
9752 echo "${ECHO_T}$result" >&6; }
9753
9754
9755 enablestring=
9756 defaultval=$wxUSE_ALL_FEATURES
9757 if test -z "$defaultval"; then
9758 if test x"$enablestring" = xdisable; then
9759 defaultval=yes
9760 else
9761 defaultval=no
9762 fi
9763 fi
9764
9765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9767 # Check whether --enable-bmpcombobox was given.
9768 if test "${enable_bmpcombobox+set}" = set; then
9769 enableval=$enable_bmpcombobox;
9770 if test "$enableval" = yes; then
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9772 else
9773 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9774 fi
9775
9776 else
9777
9778 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9779
9780 fi
9781
9782
9783 eval "$wx_cv_use_bmpcombobox"
9784
9785 if test x"$enablestring" = xdisable; then
9786 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9787 result=no
9788 else
9789 result=yes
9790 fi
9791 else
9792 result=$wxUSE_BITMAPCOMBOBOX
9793 fi
9794
9795 { echo "$as_me:$LINENO: result: $result" >&5
9796 echo "${ECHO_T}$result" >&6; }
9797
9798
9799 enablestring=
9800 defaultval=$wxUSE_ALL_FEATURES
9801 if test -z "$defaultval"; then
9802 if test x"$enablestring" = xdisable; then
9803 defaultval=yes
9804 else
9805 defaultval=no
9806 fi
9807 fi
9808
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9811 # Check whether --enable-calendar was given.
9812 if test "${enable_calendar+set}" = set; then
9813 enableval=$enable_calendar;
9814 if test "$enableval" = yes; then
9815 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9816 else
9817 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9818 fi
9819
9820 else
9821
9822 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9823
9824 fi
9825
9826
9827 eval "$wx_cv_use_calendar"
9828
9829 if test x"$enablestring" = xdisable; then
9830 if test $wxUSE_CALCTRL = yes; then
9831 result=no
9832 else
9833 result=yes
9834 fi
9835 else
9836 result=$wxUSE_CALCTRL
9837 fi
9838
9839 { echo "$as_me:$LINENO: result: $result" >&5
9840 echo "${ECHO_T}$result" >&6; }
9841
9842
9843 enablestring=
9844 defaultval=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x"$enablestring" = xdisable; then
9847 defaultval=yes
9848 else
9849 defaultval=no
9850 fi
9851 fi
9852
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9855 # Check whether --enable-caret was given.
9856 if test "${enable_caret+set}" = set; then
9857 enableval=$enable_caret;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_caret='wxUSE_CARET=yes'
9860 else
9861 wx_cv_use_caret='wxUSE_CARET=no'
9862 fi
9863
9864 else
9865
9866 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9867
9868 fi
9869
9870
9871 eval "$wx_cv_use_caret"
9872
9873 if test x"$enablestring" = xdisable; then
9874 if test $wxUSE_CARET = yes; then
9875 result=no
9876 else
9877 result=yes
9878 fi
9879 else
9880 result=$wxUSE_CARET
9881 fi
9882
9883 { echo "$as_me:$LINENO: result: $result" >&5
9884 echo "${ECHO_T}$result" >&6; }
9885
9886
9887 enablestring=
9888 defaultval=$wxUSE_ALL_FEATURES
9889 if test -z "$defaultval"; then
9890 if test x"$enablestring" = xdisable; then
9891 defaultval=yes
9892 else
9893 defaultval=no
9894 fi
9895 fi
9896
9897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9898 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9899 # Check whether --enable-checkbox was given.
9900 if test "${enable_checkbox+set}" = set; then
9901 enableval=$enable_checkbox;
9902 if test "$enableval" = yes; then
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9904 else
9905 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9906 fi
9907
9908 else
9909
9910 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9911
9912 fi
9913
9914
9915 eval "$wx_cv_use_checkbox"
9916
9917 if test x"$enablestring" = xdisable; then
9918 if test $wxUSE_CHECKBOX = yes; then
9919 result=no
9920 else
9921 result=yes
9922 fi
9923 else
9924 result=$wxUSE_CHECKBOX
9925 fi
9926
9927 { echo "$as_me:$LINENO: result: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9929
9930
9931 enablestring=
9932 defaultval=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x"$enablestring" = xdisable; then
9935 defaultval=yes
9936 else
9937 defaultval=no
9938 fi
9939 fi
9940
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9943 # Check whether --enable-checklst was given.
9944 if test "${enable_checklst+set}" = set; then
9945 enableval=$enable_checklst;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9948 else
9949 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9950 fi
9951
9952 else
9953
9954 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9955
9956 fi
9957
9958
9959 eval "$wx_cv_use_checklst"
9960
9961 if test x"$enablestring" = xdisable; then
9962 if test $wxUSE_CHECKLST = yes; then
9963 result=no
9964 else
9965 result=yes
9966 fi
9967 else
9968 result=$wxUSE_CHECKLST
9969 fi
9970
9971 { echo "$as_me:$LINENO: result: $result" >&5
9972 echo "${ECHO_T}$result" >&6; }
9973
9974
9975 enablestring=
9976 defaultval=$wxUSE_ALL_FEATURES
9977 if test -z "$defaultval"; then
9978 if test x"$enablestring" = xdisable; then
9979 defaultval=yes
9980 else
9981 defaultval=no
9982 fi
9983 fi
9984
9985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9987 # Check whether --enable-choice was given.
9988 if test "${enable_choice+set}" = set; then
9989 enableval=$enable_choice;
9990 if test "$enableval" = yes; then
9991 wx_cv_use_choice='wxUSE_CHOICE=yes'
9992 else
9993 wx_cv_use_choice='wxUSE_CHOICE=no'
9994 fi
9995
9996 else
9997
9998 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9999
10000 fi
10001
10002
10003 eval "$wx_cv_use_choice"
10004
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_CHOICE = yes; then
10007 result=no
10008 else
10009 result=yes
10010 fi
10011 else
10012 result=$wxUSE_CHOICE
10013 fi
10014
10015 { echo "$as_me:$LINENO: result: $result" >&5
10016 echo "${ECHO_T}$result" >&6; }
10017
10018
10019 enablestring=
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10023 defaultval=yes
10024 else
10025 defaultval=no
10026 fi
10027 fi
10028
10029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10031 # Check whether --enable-choicebook was given.
10032 if test "${enable_choicebook+set}" = set; then
10033 enableval=$enable_choicebook;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10036 else
10037 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10038 fi
10039
10040 else
10041
10042 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10043
10044 fi
10045
10046
10047 eval "$wx_cv_use_choicebook"
10048
10049 if test x"$enablestring" = xdisable; then
10050 if test $wxUSE_CHOICEBOOK = yes; then
10051 result=no
10052 else
10053 result=yes
10054 fi
10055 else
10056 result=$wxUSE_CHOICEBOOK
10057 fi
10058
10059 { echo "$as_me:$LINENO: result: $result" >&5
10060 echo "${ECHO_T}$result" >&6; }
10061
10062
10063 enablestring=
10064 defaultval=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x"$enablestring" = xdisable; then
10067 defaultval=yes
10068 else
10069 defaultval=no
10070 fi
10071 fi
10072
10073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10075 # Check whether --enable-collpane was given.
10076 if test "${enable_collpane+set}" = set; then
10077 enableval=$enable_collpane;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10080 else
10081 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10082 fi
10083
10084 else
10085
10086 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10087
10088 fi
10089
10090
10091 eval "$wx_cv_use_collpane"
10092
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_COLLPANE = yes; then
10095 result=no
10096 else
10097 result=yes
10098 fi
10099 else
10100 result=$wxUSE_COLLPANE
10101 fi
10102
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10105
10106
10107 enablestring=
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10111 defaultval=yes
10112 else
10113 defaultval=no
10114 fi
10115 fi
10116
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10119 # Check whether --enable-colourpicker was given.
10120 if test "${enable_colourpicker+set}" = set; then
10121 enableval=$enable_colourpicker;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10124 else
10125 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10126 fi
10127
10128 else
10129
10130 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10131
10132 fi
10133
10134
10135 eval "$wx_cv_use_colourpicker"
10136
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_COLOURPICKERCTRL = yes; then
10139 result=no
10140 else
10141 result=yes
10142 fi
10143 else
10144 result=$wxUSE_COLOURPICKERCTRL
10145 fi
10146
10147 { echo "$as_me:$LINENO: result: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10149
10150
10151 enablestring=
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10155 defaultval=yes
10156 else
10157 defaultval=no
10158 fi
10159 fi
10160
10161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10162 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10163 # Check whether --enable-combobox was given.
10164 if test "${enable_combobox+set}" = set; then
10165 enableval=$enable_combobox;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10168 else
10169 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10170 fi
10171
10172 else
10173
10174 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10175
10176 fi
10177
10178
10179 eval "$wx_cv_use_combobox"
10180
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_COMBOBOX = yes; then
10183 result=no
10184 else
10185 result=yes
10186 fi
10187 else
10188 result=$wxUSE_COMBOBOX
10189 fi
10190
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10193
10194
10195 enablestring=
10196 defaultval=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x"$enablestring" = xdisable; then
10199 defaultval=yes
10200 else
10201 defaultval=no
10202 fi
10203 fi
10204
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10207 # Check whether --enable-comboctrl was given.
10208 if test "${enable_comboctrl+set}" = set; then
10209 enableval=$enable_comboctrl;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10212 else
10213 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10214 fi
10215
10216 else
10217
10218 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10219
10220 fi
10221
10222
10223 eval "$wx_cv_use_comboctrl"
10224
10225 if test x"$enablestring" = xdisable; then
10226 if test $wxUSE_COMBOCTRL = yes; then
10227 result=no
10228 else
10229 result=yes
10230 fi
10231 else
10232 result=$wxUSE_COMBOCTRL
10233 fi
10234
10235 { echo "$as_me:$LINENO: result: $result" >&5
10236 echo "${ECHO_T}$result" >&6; }
10237
10238
10239 enablestring=
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10243 defaultval=yes
10244 else
10245 defaultval=no
10246 fi
10247 fi
10248
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10251 # Check whether --enable-datepick was given.
10252 if test "${enable_datepick+set}" = set; then
10253 enableval=$enable_datepick;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10256 else
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10258 fi
10259
10260 else
10261
10262 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10263
10264 fi
10265
10266
10267 eval "$wx_cv_use_datepick"
10268
10269 if test x"$enablestring" = xdisable; then
10270 if test $wxUSE_DATEPICKCTRL = yes; then
10271 result=no
10272 else
10273 result=yes
10274 fi
10275 else
10276 result=$wxUSE_DATEPICKCTRL
10277 fi
10278
10279 { echo "$as_me:$LINENO: result: $result" >&5
10280 echo "${ECHO_T}$result" >&6; }
10281
10282
10283 enablestring=
10284 defaultval=$wxUSE_ALL_FEATURES
10285 if test -z "$defaultval"; then
10286 if test x"$enablestring" = xdisable; then
10287 defaultval=yes
10288 else
10289 defaultval=no
10290 fi
10291 fi
10292
10293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10294 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10295 # Check whether --enable-dirpicker was given.
10296 if test "${enable_dirpicker+set}" = set; then
10297 enableval=$enable_dirpicker;
10298 if test "$enableval" = yes; then
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10300 else
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10302 fi
10303
10304 else
10305
10306 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10307
10308 fi
10309
10310
10311 eval "$wx_cv_use_dirpicker"
10312
10313 if test x"$enablestring" = xdisable; then
10314 if test $wxUSE_DIRPICKERCTRL = yes; then
10315 result=no
10316 else
10317 result=yes
10318 fi
10319 else
10320 result=$wxUSE_DIRPICKERCTRL
10321 fi
10322
10323 { echo "$as_me:$LINENO: result: $result" >&5
10324 echo "${ECHO_T}$result" >&6; }
10325
10326
10327 enablestring=
10328 defaultval=$wxUSE_ALL_FEATURES
10329 if test -z "$defaultval"; then
10330 if test x"$enablestring" = xdisable; then
10331 defaultval=yes
10332 else
10333 defaultval=no
10334 fi
10335 fi
10336
10337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10339 # Check whether --enable-display was given.
10340 if test "${enable_display+set}" = set; then
10341 enableval=$enable_display;
10342 if test "$enableval" = yes; then
10343 wx_cv_use_display='wxUSE_DISPLAY=yes'
10344 else
10345 wx_cv_use_display='wxUSE_DISPLAY=no'
10346 fi
10347
10348 else
10349
10350 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10351
10352 fi
10353
10354
10355 eval "$wx_cv_use_display"
10356
10357 if test x"$enablestring" = xdisable; then
10358 if test $wxUSE_DISPLAY = yes; then
10359 result=no
10360 else
10361 result=yes
10362 fi
10363 else
10364 result=$wxUSE_DISPLAY
10365 fi
10366
10367 { echo "$as_me:$LINENO: result: $result" >&5
10368 echo "${ECHO_T}$result" >&6; }
10369
10370
10371 enablestring=
10372 defaultval=$wxUSE_ALL_FEATURES
10373 if test -z "$defaultval"; then
10374 if test x"$enablestring" = xdisable; then
10375 defaultval=yes
10376 else
10377 defaultval=no
10378 fi
10379 fi
10380
10381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10383 # Check whether --enable-detect_sm was given.
10384 if test "${enable_detect_sm+set}" = set; then
10385 enableval=$enable_detect_sm;
10386 if test "$enableval" = yes; then
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10388 else
10389 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10390 fi
10391
10392 else
10393
10394 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10395
10396 fi
10397
10398
10399 eval "$wx_cv_use_detect_sm"
10400
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_DETECT_SM = yes; then
10403 result=no
10404 else
10405 result=yes
10406 fi
10407 else
10408 result=$wxUSE_DETECT_SM
10409 fi
10410
10411 { echo "$as_me:$LINENO: result: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10413
10414
10415 enablestring=
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10419 defaultval=yes
10420 else
10421 defaultval=no
10422 fi
10423 fi
10424
10425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10426 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10427 # Check whether --enable-editablebox was given.
10428 if test "${enable_editablebox+set}" = set; then
10429 enableval=$enable_editablebox;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10432 else
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10434 fi
10435
10436 else
10437
10438 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10439
10440 fi
10441
10442
10443 eval "$wx_cv_use_editablebox"
10444
10445 if test x"$enablestring" = xdisable; then
10446 if test $wxUSE_EDITABLELISTBOX = yes; then
10447 result=no
10448 else
10449 result=yes
10450 fi
10451 else
10452 result=$wxUSE_EDITABLELISTBOX
10453 fi
10454
10455 { echo "$as_me:$LINENO: result: $result" >&5
10456 echo "${ECHO_T}$result" >&6; }
10457
10458
10459 enablestring=
10460 defaultval=$wxUSE_ALL_FEATURES
10461 if test -z "$defaultval"; then
10462 if test x"$enablestring" = xdisable; then
10463 defaultval=yes
10464 else
10465 defaultval=no
10466 fi
10467 fi
10468
10469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10470 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10471 # Check whether --enable-filepicker was given.
10472 if test "${enable_filepicker+set}" = set; then
10473 enableval=$enable_filepicker;
10474 if test "$enableval" = yes; then
10475 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10476 else
10477 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10478 fi
10479
10480 else
10481
10482 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10483
10484 fi
10485
10486
10487 eval "$wx_cv_use_filepicker"
10488
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_FILEPICKERCTRL = yes; then
10491 result=no
10492 else
10493 result=yes
10494 fi
10495 else
10496 result=$wxUSE_FILEPICKERCTRL
10497 fi
10498
10499 { echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6; }
10501
10502
10503 enablestring=
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10507 defaultval=yes
10508 else
10509 defaultval=no
10510 fi
10511 fi
10512
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10515 # Check whether --enable-filectrl was given.
10516 if test "${enable_filectrl+set}" = set; then
10517 enableval=$enable_filectrl;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10520 else
10521 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10522 fi
10523
10524 else
10525
10526 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10527
10528 fi
10529
10530
10531 eval "$wx_cv_use_filectrl"
10532
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_FILECTRL = yes; then
10535 result=no
10536 else
10537 result=yes
10538 fi
10539 else
10540 result=$wxUSE_FILECTRL
10541 fi
10542
10543 { echo "$as_me:$LINENO: result: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10545
10546
10547 enablestring=
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10551 defaultval=yes
10552 else
10553 defaultval=no
10554 fi
10555 fi
10556
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10559 # Check whether --enable-fontpicker was given.
10560 if test "${enable_fontpicker+set}" = set; then
10561 enableval=$enable_fontpicker;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10564 else
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10566 fi
10567
10568 else
10569
10570 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10571
10572 fi
10573
10574
10575 eval "$wx_cv_use_fontpicker"
10576
10577 if test x"$enablestring" = xdisable; then
10578 if test $wxUSE_FONTPICKERCTRL = yes; then
10579 result=no
10580 else
10581 result=yes
10582 fi
10583 else
10584 result=$wxUSE_FONTPICKERCTRL
10585 fi
10586
10587 { echo "$as_me:$LINENO: result: $result" >&5
10588 echo "${ECHO_T}$result" >&6; }
10589
10590
10591 enablestring=
10592 defaultval=$wxUSE_ALL_FEATURES
10593 if test -z "$defaultval"; then
10594 if test x"$enablestring" = xdisable; then
10595 defaultval=yes
10596 else
10597 defaultval=no
10598 fi
10599 fi
10600
10601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10602 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10603 # Check whether --enable-gauge was given.
10604 if test "${enable_gauge+set}" = set; then
10605 enableval=$enable_gauge;
10606 if test "$enableval" = yes; then
10607 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10608 else
10609 wx_cv_use_gauge='wxUSE_GAUGE=no'
10610 fi
10611
10612 else
10613
10614 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10615
10616 fi
10617
10618
10619 eval "$wx_cv_use_gauge"
10620
10621 if test x"$enablestring" = xdisable; then
10622 if test $wxUSE_GAUGE = yes; then
10623 result=no
10624 else
10625 result=yes
10626 fi
10627 else
10628 result=$wxUSE_GAUGE
10629 fi
10630
10631 { echo "$as_me:$LINENO: result: $result" >&5
10632 echo "${ECHO_T}$result" >&6; }
10633
10634
10635 enablestring=
10636 defaultval=$wxUSE_ALL_FEATURES
10637 if test -z "$defaultval"; then
10638 if test x"$enablestring" = xdisable; then
10639 defaultval=yes
10640 else
10641 defaultval=no
10642 fi
10643 fi
10644
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10647 # Check whether --enable-grid was given.
10648 if test "${enable_grid+set}" = set; then
10649 enableval=$enable_grid;
10650 if test "$enableval" = yes; then
10651 wx_cv_use_grid='wxUSE_GRID=yes'
10652 else
10653 wx_cv_use_grid='wxUSE_GRID=no'
10654 fi
10655
10656 else
10657
10658 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10659
10660 fi
10661
10662
10663 eval "$wx_cv_use_grid"
10664
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_GRID = yes; then
10667 result=no
10668 else
10669 result=yes
10670 fi
10671 else
10672 result=$wxUSE_GRID
10673 fi
10674
10675 { echo "$as_me:$LINENO: result: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10677
10678
10679 enablestring=
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10683 defaultval=yes
10684 else
10685 defaultval=no
10686 fi
10687 fi
10688
10689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10690 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10691 # Check whether --enable-dataviewctrl was given.
10692 if test "${enable_dataviewctrl+set}" = set; then
10693 enableval=$enable_dataviewctrl;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10696 else
10697 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10698 fi
10699
10700 else
10701
10702 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10703
10704 fi
10705
10706
10707 eval "$wx_cv_use_dataviewctrl"
10708
10709 if test x"$enablestring" = xdisable; then
10710 if test $wxUSE_DATAVIEWCTRL = yes; then
10711 result=no
10712 else
10713 result=yes
10714 fi
10715 else
10716 result=$wxUSE_DATAVIEWCTRL
10717 fi
10718
10719 { echo "$as_me:$LINENO: result: $result" >&5
10720 echo "${ECHO_T}$result" >&6; }
10721
10722
10723 enablestring=
10724 defaultval=$wxUSE_ALL_FEATURES
10725 if test -z "$defaultval"; then
10726 if test x"$enablestring" = xdisable; then
10727 defaultval=yes
10728 else
10729 defaultval=no
10730 fi
10731 fi
10732
10733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10734 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10735 # Check whether --enable-hyperlink was given.
10736 if test "${enable_hyperlink+set}" = set; then
10737 enableval=$enable_hyperlink;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10740 else
10741 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10742 fi
10743
10744 else
10745
10746 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10747
10748 fi
10749
10750
10751 eval "$wx_cv_use_hyperlink"
10752
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_HYPERLINKCTRL = yes; then
10755 result=no
10756 else
10757 result=yes
10758 fi
10759 else
10760 result=$wxUSE_HYPERLINKCTRL
10761 fi
10762
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10765
10766
10767 enablestring=
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10771 defaultval=yes
10772 else
10773 defaultval=no
10774 fi
10775 fi
10776
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10779 # Check whether --enable-imaglist was given.
10780 if test "${enable_imaglist+set}" = set; then
10781 enableval=$enable_imaglist;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10784 else
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10786 fi
10787
10788 else
10789
10790 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10791
10792 fi
10793
10794
10795 eval "$wx_cv_use_imaglist"
10796
10797 if test x"$enablestring" = xdisable; then
10798 if test $wxUSE_IMAGLIST = yes; then
10799 result=no
10800 else
10801 result=yes
10802 fi
10803 else
10804 result=$wxUSE_IMAGLIST
10805 fi
10806
10807 { echo "$as_me:$LINENO: result: $result" >&5
10808 echo "${ECHO_T}$result" >&6; }
10809
10810
10811 enablestring=
10812 defaultval=$wxUSE_ALL_FEATURES
10813 if test -z "$defaultval"; then
10814 if test x"$enablestring" = xdisable; then
10815 defaultval=yes
10816 else
10817 defaultval=no
10818 fi
10819 fi
10820
10821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10822 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10823 # Check whether --enable-listbook was given.
10824 if test "${enable_listbook+set}" = set; then
10825 enableval=$enable_listbook;
10826 if test "$enableval" = yes; then
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10828 else
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10830 fi
10831
10832 else
10833
10834 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10835
10836 fi
10837
10838
10839 eval "$wx_cv_use_listbook"
10840
10841 if test x"$enablestring" = xdisable; then
10842 if test $wxUSE_LISTBOOK = yes; then
10843 result=no
10844 else
10845 result=yes
10846 fi
10847 else
10848 result=$wxUSE_LISTBOOK
10849 fi
10850
10851 { echo "$as_me:$LINENO: result: $result" >&5
10852 echo "${ECHO_T}$result" >&6; }
10853
10854
10855 enablestring=
10856 defaultval=$wxUSE_ALL_FEATURES
10857 if test -z "$defaultval"; then
10858 if test x"$enablestring" = xdisable; then
10859 defaultval=yes
10860 else
10861 defaultval=no
10862 fi
10863 fi
10864
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10867 # Check whether --enable-listbox was given.
10868 if test "${enable_listbox+set}" = set; then
10869 enableval=$enable_listbox;
10870 if test "$enableval" = yes; then
10871 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10872 else
10873 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10874 fi
10875
10876 else
10877
10878 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10879
10880 fi
10881
10882
10883 eval "$wx_cv_use_listbox"
10884
10885 if test x"$enablestring" = xdisable; then
10886 if test $wxUSE_LISTBOX = yes; then
10887 result=no
10888 else
10889 result=yes
10890 fi
10891 else
10892 result=$wxUSE_LISTBOX
10893 fi
10894
10895 { echo "$as_me:$LINENO: result: $result" >&5
10896 echo "${ECHO_T}$result" >&6; }
10897
10898
10899 enablestring=
10900 defaultval=$wxUSE_ALL_FEATURES
10901 if test -z "$defaultval"; then
10902 if test x"$enablestring" = xdisable; then
10903 defaultval=yes
10904 else
10905 defaultval=no
10906 fi
10907 fi
10908
10909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10911 # Check whether --enable-listctrl was given.
10912 if test "${enable_listctrl+set}" = set; then
10913 enableval=$enable_listctrl;
10914 if test "$enableval" = yes; then
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10916 else
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10918 fi
10919
10920 else
10921
10922 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10923
10924 fi
10925
10926
10927 eval "$wx_cv_use_listctrl"
10928
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_LISTCTRL = yes; then
10931 result=no
10932 else
10933 result=yes
10934 fi
10935 else
10936 result=$wxUSE_LISTCTRL
10937 fi
10938
10939 { echo "$as_me:$LINENO: result: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10941
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10955 # Check whether --enable-notebook was given.
10956 if test "${enable_notebook+set}" = set; then
10957 enableval=$enable_notebook;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10960 else
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10962 fi
10963
10964 else
10965
10966 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10967
10968 fi
10969
10970
10971 eval "$wx_cv_use_notebook"
10972
10973 if test x"$enablestring" = xdisable; then
10974 if test $wxUSE_NOTEBOOK = yes; then
10975 result=no
10976 else
10977 result=yes
10978 fi
10979 else
10980 result=$wxUSE_NOTEBOOK
10981 fi
10982
10983 { echo "$as_me:$LINENO: result: $result" >&5
10984 echo "${ECHO_T}$result" >&6; }
10985
10986
10987 enablestring=
10988 defaultval=$wxUSE_ALL_FEATURES
10989 if test -z "$defaultval"; then
10990 if test x"$enablestring" = xdisable; then
10991 defaultval=yes
10992 else
10993 defaultval=no
10994 fi
10995 fi
10996
10997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10998 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10999 # Check whether --enable-notifmsg was given.
11000 if test "${enable_notifmsg+set}" = set; then
11001 enableval=$enable_notifmsg;
11002 if test "$enableval" = yes; then
11003 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11004 else
11005 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11006 fi
11007
11008 else
11009
11010 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11011
11012 fi
11013
11014
11015 eval "$wx_cv_use_notifmsg"
11016
11017 if test x"$enablestring" = xdisable; then
11018 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11019 result=no
11020 else
11021 result=yes
11022 fi
11023 else
11024 result=$wxUSE_NOTIFICATION_MESSAGE
11025 fi
11026
11027 { echo "$as_me:$LINENO: result: $result" >&5
11028 echo "${ECHO_T}$result" >&6; }
11029
11030
11031 enablestring=
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11035 defaultval=yes
11036 else
11037 defaultval=no
11038 fi
11039 fi
11040
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11043 # Check whether --enable-odcombobox was given.
11044 if test "${enable_odcombobox+set}" = set; then
11045 enableval=$enable_odcombobox;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11048 else
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11050 fi
11051
11052 else
11053
11054 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11055
11056 fi
11057
11058
11059 eval "$wx_cv_use_odcombobox"
11060
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_ODCOMBOBOX = yes; then
11063 result=no
11064 else
11065 result=yes
11066 fi
11067 else
11068 result=$wxUSE_ODCOMBOBOX
11069 fi
11070
11071 { echo "$as_me:$LINENO: result: $result" >&5
11072 echo "${ECHO_T}$result" >&6; }
11073
11074
11075 enablestring=
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11079 defaultval=yes
11080 else
11081 defaultval=no
11082 fi
11083 fi
11084
11085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11086 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11087 # Check whether --enable-radiobox was given.
11088 if test "${enable_radiobox+set}" = set; then
11089 enableval=$enable_radiobox;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11092 else
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11094 fi
11095
11096 else
11097
11098 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11099
11100 fi
11101
11102
11103 eval "$wx_cv_use_radiobox"
11104
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_RADIOBOX = yes; then
11107 result=no
11108 else
11109 result=yes
11110 fi
11111 else
11112 result=$wxUSE_RADIOBOX
11113 fi
11114
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11117
11118
11119 enablestring=
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11123 defaultval=yes
11124 else
11125 defaultval=no
11126 fi
11127 fi
11128
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11131 # Check whether --enable-radiobtn was given.
11132 if test "${enable_radiobtn+set}" = set; then
11133 enableval=$enable_radiobtn;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11136 else
11137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11138 fi
11139
11140 else
11141
11142 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11143
11144 fi
11145
11146
11147 eval "$wx_cv_use_radiobtn"
11148
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_RADIOBTN = yes; then
11151 result=no
11152 else
11153 result=yes
11154 fi
11155 else
11156 result=$wxUSE_RADIOBTN
11157 fi
11158
11159 { echo "$as_me:$LINENO: result: $result" >&5
11160 echo "${ECHO_T}$result" >&6; }
11161
11162
11163 enablestring=
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11167 defaultval=yes
11168 else
11169 defaultval=no
11170 fi
11171 fi
11172
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11175 # Check whether --enable-sash was given.
11176 if test "${enable_sash+set}" = set; then
11177 enableval=$enable_sash;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_sash='wxUSE_SASH=yes'
11180 else
11181 wx_cv_use_sash='wxUSE_SASH=no'
11182 fi
11183
11184 else
11185
11186 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11187
11188 fi
11189
11190
11191 eval "$wx_cv_use_sash"
11192
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_SASH = yes; then
11195 result=no
11196 else
11197 result=yes
11198 fi
11199 else
11200 result=$wxUSE_SASH
11201 fi
11202
11203 { echo "$as_me:$LINENO: result: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11205
11206
11207 enablestring=
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11211 defaultval=yes
11212 else
11213 defaultval=no
11214 fi
11215 fi
11216
11217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11219 # Check whether --enable-scrollbar was given.
11220 if test "${enable_scrollbar+set}" = set; then
11221 enableval=$enable_scrollbar;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11224 else
11225 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11226 fi
11227
11228 else
11229
11230 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11231
11232 fi
11233
11234
11235 eval "$wx_cv_use_scrollbar"
11236
11237 if test x"$enablestring" = xdisable; then
11238 if test $wxUSE_SCROLLBAR = yes; then
11239 result=no
11240 else
11241 result=yes
11242 fi
11243 else
11244 result=$wxUSE_SCROLLBAR
11245 fi
11246
11247 { echo "$as_me:$LINENO: result: $result" >&5
11248 echo "${ECHO_T}$result" >&6; }
11249
11250
11251 enablestring=
11252 defaultval=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x"$enablestring" = xdisable; then
11255 defaultval=yes
11256 else
11257 defaultval=no
11258 fi
11259 fi
11260
11261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11262 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11263 # Check whether --enable-searchctrl was given.
11264 if test "${enable_searchctrl+set}" = set; then
11265 enableval=$enable_searchctrl;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11268 else
11269 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11270 fi
11271
11272 else
11273
11274 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11275
11276 fi
11277
11278
11279 eval "$wx_cv_use_searchctrl"
11280
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_SEARCHCTRL = yes; then
11283 result=no
11284 else
11285 result=yes
11286 fi
11287 else
11288 result=$wxUSE_SEARCHCTRL
11289 fi
11290
11291 { echo "$as_me:$LINENO: result: $result" >&5
11292 echo "${ECHO_T}$result" >&6; }
11293
11294
11295 enablestring=
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11299 defaultval=yes
11300 else
11301 defaultval=no
11302 fi
11303 fi
11304
11305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11306 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11307 # Check whether --enable-slider was given.
11308 if test "${enable_slider+set}" = set; then
11309 enableval=$enable_slider;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_slider='wxUSE_SLIDER=yes'
11312 else
11313 wx_cv_use_slider='wxUSE_SLIDER=no'
11314 fi
11315
11316 else
11317
11318 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11319
11320 fi
11321
11322
11323 eval "$wx_cv_use_slider"
11324
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_SLIDER = yes; then
11327 result=no
11328 else
11329 result=yes
11330 fi
11331 else
11332 result=$wxUSE_SLIDER
11333 fi
11334
11335 { echo "$as_me:$LINENO: result: $result" >&5
11336 echo "${ECHO_T}$result" >&6; }
11337
11338
11339 enablestring=
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11343 defaultval=yes
11344 else
11345 defaultval=no
11346 fi
11347 fi
11348
11349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11350 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11351 # Check whether --enable-spinbtn was given.
11352 if test "${enable_spinbtn+set}" = set; then
11353 enableval=$enable_spinbtn;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11356 else
11357 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11358 fi
11359
11360 else
11361
11362 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11363
11364 fi
11365
11366
11367 eval "$wx_cv_use_spinbtn"
11368
11369 if test x"$enablestring" = xdisable; then
11370 if test $wxUSE_SPINBTN = yes; then
11371 result=no
11372 else
11373 result=yes
11374 fi
11375 else
11376 result=$wxUSE_SPINBTN
11377 fi
11378
11379 { echo "$as_me:$LINENO: result: $result" >&5
11380 echo "${ECHO_T}$result" >&6; }
11381
11382
11383 enablestring=
11384 defaultval=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x"$enablestring" = xdisable; then
11387 defaultval=yes
11388 else
11389 defaultval=no
11390 fi
11391 fi
11392
11393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11394 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11395 # Check whether --enable-spinctrl was given.
11396 if test "${enable_spinctrl+set}" = set; then
11397 enableval=$enable_spinctrl;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11400 else
11401 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11402 fi
11403
11404 else
11405
11406 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11407
11408 fi
11409
11410
11411 eval "$wx_cv_use_spinctrl"
11412
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_SPINCTRL = yes; then
11415 result=no
11416 else
11417 result=yes
11418 fi
11419 else
11420 result=$wxUSE_SPINCTRL
11421 fi
11422
11423 { echo "$as_me:$LINENO: result: $result" >&5
11424 echo "${ECHO_T}$result" >&6; }
11425
11426
11427 enablestring=
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11431 defaultval=yes
11432 else
11433 defaultval=no
11434 fi
11435 fi
11436
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11439 # Check whether --enable-splitter was given.
11440 if test "${enable_splitter+set}" = set; then
11441 enableval=$enable_splitter;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11444 else
11445 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11446 fi
11447
11448 else
11449
11450 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11451
11452 fi
11453
11454
11455 eval "$wx_cv_use_splitter"
11456
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_SPLITTER = yes; then
11459 result=no
11460 else
11461 result=yes
11462 fi
11463 else
11464 result=$wxUSE_SPLITTER
11465 fi
11466
11467 { echo "$as_me:$LINENO: result: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11469
11470
11471 enablestring=
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11475 defaultval=yes
11476 else
11477 defaultval=no
11478 fi
11479 fi
11480
11481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11483 # Check whether --enable-statbmp was given.
11484 if test "${enable_statbmp+set}" = set; then
11485 enableval=$enable_statbmp;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11488 else
11489 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11490 fi
11491
11492 else
11493
11494 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11495
11496 fi
11497
11498
11499 eval "$wx_cv_use_statbmp"
11500
11501 if test x"$enablestring" = xdisable; then
11502 if test $wxUSE_STATBMP = yes; then
11503 result=no
11504 else
11505 result=yes
11506 fi
11507 else
11508 result=$wxUSE_STATBMP
11509 fi
11510
11511 { echo "$as_me:$LINENO: result: $result" >&5
11512 echo "${ECHO_T}$result" >&6; }
11513
11514
11515 enablestring=
11516 defaultval=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x"$enablestring" = xdisable; then
11519 defaultval=yes
11520 else
11521 defaultval=no
11522 fi
11523 fi
11524
11525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11526 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11527 # Check whether --enable-statbox was given.
11528 if test "${enable_statbox+set}" = set; then
11529 enableval=$enable_statbox;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11532 else
11533 wx_cv_use_statbox='wxUSE_STATBOX=no'
11534 fi
11535
11536 else
11537
11538 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11539
11540 fi
11541
11542
11543 eval "$wx_cv_use_statbox"
11544
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_STATBOX = yes; then
11547 result=no
11548 else
11549 result=yes
11550 fi
11551 else
11552 result=$wxUSE_STATBOX
11553 fi
11554
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11557
11558
11559 enablestring=
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11563 defaultval=yes
11564 else
11565 defaultval=no
11566 fi
11567 fi
11568
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11571 # Check whether --enable-statline was given.
11572 if test "${enable_statline+set}" = set; then
11573 enableval=$enable_statline;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_statline='wxUSE_STATLINE=yes'
11576 else
11577 wx_cv_use_statline='wxUSE_STATLINE=no'
11578 fi
11579
11580 else
11581
11582 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11583
11584 fi
11585
11586
11587 eval "$wx_cv_use_statline"
11588
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_STATLINE = yes; then
11591 result=no
11592 else
11593 result=yes
11594 fi
11595 else
11596 result=$wxUSE_STATLINE
11597 fi
11598
11599 { echo "$as_me:$LINENO: result: $result" >&5
11600 echo "${ECHO_T}$result" >&6; }
11601
11602
11603 enablestring=
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11607 defaultval=yes
11608 else
11609 defaultval=no
11610 fi
11611 fi
11612
11613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11614 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11615 # Check whether --enable-stattext was given.
11616 if test "${enable_stattext+set}" = set; then
11617 enableval=$enable_stattext;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11620 else
11621 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11622 fi
11623
11624 else
11625
11626 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11627
11628 fi
11629
11630
11631 eval "$wx_cv_use_stattext"
11632
11633 if test x"$enablestring" = xdisable; then
11634 if test $wxUSE_STATTEXT = yes; then
11635 result=no
11636 else
11637 result=yes
11638 fi
11639 else
11640 result=$wxUSE_STATTEXT
11641 fi
11642
11643 { echo "$as_me:$LINENO: result: $result" >&5
11644 echo "${ECHO_T}$result" >&6; }
11645
11646
11647 enablestring=
11648 defaultval=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x"$enablestring" = xdisable; then
11651 defaultval=yes
11652 else
11653 defaultval=no
11654 fi
11655 fi
11656
11657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11659 # Check whether --enable-statusbar was given.
11660 if test "${enable_statusbar+set}" = set; then
11661 enableval=$enable_statusbar;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11664 else
11665 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11666 fi
11667
11668 else
11669
11670 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11671
11672 fi
11673
11674
11675 eval "$wx_cv_use_statusbar"
11676
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_STATUSBAR = yes; then
11679 result=no
11680 else
11681 result=yes
11682 fi
11683 else
11684 result=$wxUSE_STATUSBAR
11685 fi
11686
11687 { echo "$as_me:$LINENO: result: $result" >&5
11688 echo "${ECHO_T}$result" >&6; }
11689
11690
11691 enablestring=
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11695 defaultval=yes
11696 else
11697 defaultval=no
11698 fi
11699 fi
11700
11701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11702 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11703 # Check whether --enable-tabdialog was given.
11704 if test "${enable_tabdialog+set}" = set; then
11705 enableval=$enable_tabdialog;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11708 else
11709 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11710 fi
11711
11712 else
11713
11714 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11715
11716 fi
11717
11718
11719 eval "$wx_cv_use_tabdialog"
11720
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_TAB_DIALOG = yes; then
11723 result=no
11724 else
11725 result=yes
11726 fi
11727 else
11728 result=$wxUSE_TAB_DIALOG
11729 fi
11730
11731 { echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11733
11734
11735 enablestring=
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11739 defaultval=yes
11740 else
11741 defaultval=no
11742 fi
11743 fi
11744
11745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11747 # Check whether --enable-taskbaricon was given.
11748 if test "${enable_taskbaricon+set}" = set; then
11749 enableval=$enable_taskbaricon;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11752 else
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11754 fi
11755
11756 else
11757
11758 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11759
11760 fi
11761
11762
11763 eval "$wx_cv_use_taskbaricon"
11764
11765 if test x"$enablestring" = xdisable; then
11766 if test $wxUSE_TASKBARICON = yes; then
11767 result=no
11768 else
11769 result=yes
11770 fi
11771 else
11772 result=$wxUSE_TASKBARICON
11773 fi
11774
11775 { echo "$as_me:$LINENO: result: $result" >&5
11776 echo "${ECHO_T}$result" >&6; }
11777
11778
11779 enablestring=
11780 defaultval=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x"$enablestring" = xdisable; then
11783 defaultval=yes
11784 else
11785 defaultval=no
11786 fi
11787 fi
11788
11789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11790 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11791 # Check whether --enable-textctrl was given.
11792 if test "${enable_textctrl+set}" = set; then
11793 enableval=$enable_textctrl;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11796 else
11797 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11798 fi
11799
11800 else
11801
11802 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11803
11804 fi
11805
11806
11807 eval "$wx_cv_use_textctrl"
11808
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_TEXTCTRL = yes; then
11811 result=no
11812 else
11813 result=yes
11814 fi
11815 else
11816 result=$wxUSE_TEXTCTRL
11817 fi
11818
11819 { echo "$as_me:$LINENO: result: $result" >&5
11820 echo "${ECHO_T}$result" >&6; }
11821
11822
11823 enablestring=
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11827 defaultval=yes
11828 else
11829 defaultval=no
11830 fi
11831 fi
11832
11833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11834 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11835 # Check whether --enable-togglebtn was given.
11836 if test "${enable_togglebtn+set}" = set; then
11837 enableval=$enable_togglebtn;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11840 else
11841 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11842 fi
11843
11844 else
11845
11846 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11847
11848 fi
11849
11850
11851 eval "$wx_cv_use_togglebtn"
11852
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_TOGGLEBTN = yes; then
11855 result=no
11856 else
11857 result=yes
11858 fi
11859 else
11860 result=$wxUSE_TOGGLEBTN
11861 fi
11862
11863 { echo "$as_me:$LINENO: result: $result" >&5
11864 echo "${ECHO_T}$result" >&6; }
11865
11866
11867 enablestring=
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11871 defaultval=yes
11872 else
11873 defaultval=no
11874 fi
11875 fi
11876
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11879 # Check whether --enable-toolbar was given.
11880 if test "${enable_toolbar+set}" = set; then
11881 enableval=$enable_toolbar;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11884 else
11885 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11886 fi
11887
11888 else
11889
11890 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11891
11892 fi
11893
11894
11895 eval "$wx_cv_use_toolbar"
11896
11897 if test x"$enablestring" = xdisable; then
11898 if test $wxUSE_TOOLBAR = yes; then
11899 result=no
11900 else
11901 result=yes
11902 fi
11903 else
11904 result=$wxUSE_TOOLBAR
11905 fi
11906
11907 { echo "$as_me:$LINENO: result: $result" >&5
11908 echo "${ECHO_T}$result" >&6; }
11909
11910
11911 enablestring=
11912 defaultval=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x"$enablestring" = xdisable; then
11915 defaultval=yes
11916 else
11917 defaultval=no
11918 fi
11919 fi
11920
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11923 # Check whether --enable-tbarnative was given.
11924 if test "${enable_tbarnative+set}" = set; then
11925 enableval=$enable_tbarnative;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11928 else
11929 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11930 fi
11931
11932 else
11933
11934 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11935
11936 fi
11937
11938
11939 eval "$wx_cv_use_tbarnative"
11940
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11943 result=no
11944 else
11945 result=yes
11946 fi
11947 else
11948 result=$wxUSE_TOOLBAR_NATIVE
11949 fi
11950
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11953
11954
11955 enablestring=
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11959 defaultval=yes
11960 else
11961 defaultval=no
11962 fi
11963 fi
11964
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11967 # Check whether --enable-treebook was given.
11968 if test "${enable_treebook+set}" = set; then
11969 enableval=$enable_treebook;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11972 else
11973 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11974 fi
11975
11976 else
11977
11978 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11979
11980 fi
11981
11982
11983 eval "$wx_cv_use_treebook"
11984
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_TREEBOOK = yes; then
11987 result=no
11988 else
11989 result=yes
11990 fi
11991 else
11992 result=$wxUSE_TREEBOOK
11993 fi
11994
11995 { echo "$as_me:$LINENO: result: $result" >&5
11996 echo "${ECHO_T}$result" >&6; }
11997
11998
11999 enablestring=
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12003 defaultval=yes
12004 else
12005 defaultval=no
12006 fi
12007 fi
12008
12009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12010 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12011 # Check whether --enable-toolbook was given.
12012 if test "${enable_toolbook+set}" = set; then
12013 enableval=$enable_toolbook;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12016 else
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12018 fi
12019
12020 else
12021
12022 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12023
12024 fi
12025
12026
12027 eval "$wx_cv_use_toolbook"
12028
12029 if test x"$enablestring" = xdisable; then
12030 if test $wxUSE_TOOLBOOK = yes; then
12031 result=no
12032 else
12033 result=yes
12034 fi
12035 else
12036 result=$wxUSE_TOOLBOOK
12037 fi
12038
12039 { echo "$as_me:$LINENO: result: $result" >&5
12040 echo "${ECHO_T}$result" >&6; }
12041
12042
12043 enablestring=
12044 defaultval=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x"$enablestring" = xdisable; then
12047 defaultval=yes
12048 else
12049 defaultval=no
12050 fi
12051 fi
12052
12053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12055 # Check whether --enable-treectrl was given.
12056 if test "${enable_treectrl+set}" = set; then
12057 enableval=$enable_treectrl;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12060 else
12061 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12062 fi
12063
12064 else
12065
12066 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12067
12068 fi
12069
12070
12071 eval "$wx_cv_use_treectrl"
12072
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_TREECTRL = yes; then
12075 result=no
12076 else
12077 result=yes
12078 fi
12079 else
12080 result=$wxUSE_TREECTRL
12081 fi
12082
12083 { echo "$as_me:$LINENO: result: $result" >&5
12084 echo "${ECHO_T}$result" >&6; }
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}-tipwindow" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12099 # Check whether --enable-tipwindow was given.
12100 if test "${enable_tipwindow+set}" = set; then
12101 enableval=$enable_tipwindow;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12104 else
12105 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12106 fi
12107
12108 else
12109
12110 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12111
12112 fi
12113
12114
12115 eval "$wx_cv_use_tipwindow"
12116
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_TIPWINDOW = yes; then
12119 result=no
12120 else
12121 result=yes
12122 fi
12123 else
12124 result=$wxUSE_TIPWINDOW
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}-popupwin" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12143 # Check whether --enable-popupwin was given.
12144 if test "${enable_popupwin+set}" = set; then
12145 enableval=$enable_popupwin;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12148 else
12149 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12150 fi
12151
12152 else
12153
12154 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12155
12156 fi
12157
12158
12159 eval "$wx_cv_use_popupwin"
12160
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_POPUPWIN = yes; then
12163 result=no
12164 else
12165 result=yes
12166 fi
12167 else
12168 result=$wxUSE_POPUPWIN
12169 fi
12170
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12173
12174
12175
12176
12177 enablestring=
12178 defaultval=$wxUSE_ALL_FEATURES
12179 if test -z "$defaultval"; then
12180 if test x"$enablestring" = xdisable; then
12181 defaultval=yes
12182 else
12183 defaultval=no
12184 fi
12185 fi
12186
12187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12188 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12189 # Check whether --enable-commondlg was given.
12190 if test "${enable_commondlg+set}" = set; then
12191 enableval=$enable_commondlg;
12192 if test "$enableval" = yes; then
12193 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12194 else
12195 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12196 fi
12197
12198 else
12199
12200 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12201
12202 fi
12203
12204
12205 eval "$wx_cv_use_commondlg"
12206
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_COMMONDLGS = yes; then
12209 result=no
12210 else
12211 result=yes
12212 fi
12213 else
12214 result=$wxUSE_COMMONDLGS
12215 fi
12216
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12219
12220
12221 enablestring=
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12225 defaultval=yes
12226 else
12227 defaultval=no
12228 fi
12229 fi
12230
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12233 # Check whether --enable-aboutdlg was given.
12234 if test "${enable_aboutdlg+set}" = set; then
12235 enableval=$enable_aboutdlg;
12236 if test "$enableval" = yes; then
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12238 else
12239 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12240 fi
12241
12242 else
12243
12244 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12245
12246 fi
12247
12248
12249 eval "$wx_cv_use_aboutdlg"
12250
12251 if test x"$enablestring" = xdisable; then
12252 if test $wxUSE_ABOUTDLG = yes; then
12253 result=no
12254 else
12255 result=yes
12256 fi
12257 else
12258 result=$wxUSE_ABOUTDLG
12259 fi
12260
12261 { echo "$as_me:$LINENO: result: $result" >&5
12262 echo "${ECHO_T}$result" >&6; }
12263
12264
12265 enablestring=
12266 defaultval=$wxUSE_ALL_FEATURES
12267 if test -z "$defaultval"; then
12268 if test x"$enablestring" = xdisable; then
12269 defaultval=yes
12270 else
12271 defaultval=no
12272 fi
12273 fi
12274
12275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12276 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12277 # Check whether --enable-choicedlg was given.
12278 if test "${enable_choicedlg+set}" = set; then
12279 enableval=$enable_choicedlg;
12280 if test "$enableval" = yes; then
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12282 else
12283 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12284 fi
12285
12286 else
12287
12288 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12289
12290 fi
12291
12292
12293 eval "$wx_cv_use_choicedlg"
12294
12295 if test x"$enablestring" = xdisable; then
12296 if test $wxUSE_CHOICEDLG = yes; then
12297 result=no
12298 else
12299 result=yes
12300 fi
12301 else
12302 result=$wxUSE_CHOICEDLG
12303 fi
12304
12305 { echo "$as_me:$LINENO: result: $result" >&5
12306 echo "${ECHO_T}$result" >&6; }
12307
12308
12309 enablestring=
12310 defaultval=$wxUSE_ALL_FEATURES
12311 if test -z "$defaultval"; then
12312 if test x"$enablestring" = xdisable; then
12313 defaultval=yes
12314 else
12315 defaultval=no
12316 fi
12317 fi
12318
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12321 # Check whether --enable-coldlg was given.
12322 if test "${enable_coldlg+set}" = set; then
12323 enableval=$enable_coldlg;
12324 if test "$enableval" = yes; then
12325 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12326 else
12327 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12328 fi
12329
12330 else
12331
12332 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12333
12334 fi
12335
12336
12337 eval "$wx_cv_use_coldlg"
12338
12339 if test x"$enablestring" = xdisable; then
12340 if test $wxUSE_COLOURDLG = yes; then
12341 result=no
12342 else
12343 result=yes
12344 fi
12345 else
12346 result=$wxUSE_COLOURDLG
12347 fi
12348
12349 { echo "$as_me:$LINENO: result: $result" >&5
12350 echo "${ECHO_T}$result" >&6; }
12351
12352
12353 enablestring=
12354 defaultval=$wxUSE_ALL_FEATURES
12355 if test -z "$defaultval"; then
12356 if test x"$enablestring" = xdisable; then
12357 defaultval=yes
12358 else
12359 defaultval=no
12360 fi
12361 fi
12362
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12365 # Check whether --enable-filedlg was given.
12366 if test "${enable_filedlg+set}" = set; then
12367 enableval=$enable_filedlg;
12368 if test "$enableval" = yes; then
12369 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12370 else
12371 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12372 fi
12373
12374 else
12375
12376 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12377
12378 fi
12379
12380
12381 eval "$wx_cv_use_filedlg"
12382
12383 if test x"$enablestring" = xdisable; then
12384 if test $wxUSE_FILEDLG = yes; then
12385 result=no
12386 else
12387 result=yes
12388 fi
12389 else
12390 result=$wxUSE_FILEDLG
12391 fi
12392
12393 { echo "$as_me:$LINENO: result: $result" >&5
12394 echo "${ECHO_T}$result" >&6; }
12395
12396
12397 enablestring=
12398 defaultval=$wxUSE_ALL_FEATURES
12399 if test -z "$defaultval"; then
12400 if test x"$enablestring" = xdisable; then
12401 defaultval=yes
12402 else
12403 defaultval=no
12404 fi
12405 fi
12406
12407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12408 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12409 # Check whether --enable-finddlg was given.
12410 if test "${enable_finddlg+set}" = set; then
12411 enableval=$enable_finddlg;
12412 if test "$enableval" = yes; then
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12414 else
12415 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12416 fi
12417
12418 else
12419
12420 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12421
12422 fi
12423
12424
12425 eval "$wx_cv_use_finddlg"
12426
12427 if test x"$enablestring" = xdisable; then
12428 if test $wxUSE_FINDREPLDLG = yes; then
12429 result=no
12430 else
12431 result=yes
12432 fi
12433 else
12434 result=$wxUSE_FINDREPLDLG
12435 fi
12436
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12439
12440
12441 enablestring=
12442 defaultval=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x"$enablestring" = xdisable; then
12445 defaultval=yes
12446 else
12447 defaultval=no
12448 fi
12449 fi
12450
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12453 # Check whether --enable-fontdlg was given.
12454 if test "${enable_fontdlg+set}" = set; then
12455 enableval=$enable_fontdlg;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12458 else
12459 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12460 fi
12461
12462 else
12463
12464 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12465
12466 fi
12467
12468
12469 eval "$wx_cv_use_fontdlg"
12470
12471 if test x"$enablestring" = xdisable; then
12472 if test $wxUSE_FONTDLG = yes; then
12473 result=no
12474 else
12475 result=yes
12476 fi
12477 else
12478 result=$wxUSE_FONTDLG
12479 fi
12480
12481 { echo "$as_me:$LINENO: result: $result" >&5
12482 echo "${ECHO_T}$result" >&6; }
12483
12484
12485 enablestring=
12486 defaultval=$wxUSE_ALL_FEATURES
12487 if test -z "$defaultval"; then
12488 if test x"$enablestring" = xdisable; then
12489 defaultval=yes
12490 else
12491 defaultval=no
12492 fi
12493 fi
12494
12495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12496 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12497 # Check whether --enable-dirdlg was given.
12498 if test "${enable_dirdlg+set}" = set; then
12499 enableval=$enable_dirdlg;
12500 if test "$enableval" = yes; then
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12502 else
12503 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12504 fi
12505
12506 else
12507
12508 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12509
12510 fi
12511
12512
12513 eval "$wx_cv_use_dirdlg"
12514
12515 if test x"$enablestring" = xdisable; then
12516 if test $wxUSE_DIRDLG = yes; then
12517 result=no
12518 else
12519 result=yes
12520 fi
12521 else
12522 result=$wxUSE_DIRDLG
12523 fi
12524
12525 { echo "$as_me:$LINENO: result: $result" >&5
12526 echo "${ECHO_T}$result" >&6; }
12527
12528
12529 enablestring=
12530 defaultval=$wxUSE_ALL_FEATURES
12531 if test -z "$defaultval"; then
12532 if test x"$enablestring" = xdisable; then
12533 defaultval=yes
12534 else
12535 defaultval=no
12536 fi
12537 fi
12538
12539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12540 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12541 # Check whether --enable-msgdlg was given.
12542 if test "${enable_msgdlg+set}" = set; then
12543 enableval=$enable_msgdlg;
12544 if test "$enableval" = yes; then
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12546 else
12547 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12548 fi
12549
12550 else
12551
12552 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12553
12554 fi
12555
12556
12557 eval "$wx_cv_use_msgdlg"
12558
12559 if test x"$enablestring" = xdisable; then
12560 if test $wxUSE_MSGDLG = yes; then
12561 result=no
12562 else
12563 result=yes
12564 fi
12565 else
12566 result=$wxUSE_MSGDLG
12567 fi
12568
12569 { echo "$as_me:$LINENO: result: $result" >&5
12570 echo "${ECHO_T}$result" >&6; }
12571
12572
12573 enablestring=
12574 defaultval=$wxUSE_ALL_FEATURES
12575 if test -z "$defaultval"; then
12576 if test x"$enablestring" = xdisable; then
12577 defaultval=yes
12578 else
12579 defaultval=no
12580 fi
12581 fi
12582
12583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12584 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12585 # Check whether --enable-numberdlg was given.
12586 if test "${enable_numberdlg+set}" = set; then
12587 enableval=$enable_numberdlg;
12588 if test "$enableval" = yes; then
12589 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12590 else
12591 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12592 fi
12593
12594 else
12595
12596 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12597
12598 fi
12599
12600
12601 eval "$wx_cv_use_numberdlg"
12602
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_NUMBERDLG = yes; then
12605 result=no
12606 else
12607 result=yes
12608 fi
12609 else
12610 result=$wxUSE_NUMBERDLG
12611 fi
12612
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12615
12616
12617 enablestring=
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12621 defaultval=yes
12622 else
12623 defaultval=no
12624 fi
12625 fi
12626
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12629 # Check whether --enable-splash was given.
12630 if test "${enable_splash+set}" = set; then
12631 enableval=$enable_splash;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_splash='wxUSE_SPLASH=yes'
12634 else
12635 wx_cv_use_splash='wxUSE_SPLASH=no'
12636 fi
12637
12638 else
12639
12640 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12641
12642 fi
12643
12644
12645 eval "$wx_cv_use_splash"
12646
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SPLASH = yes; then
12649 result=no
12650 else
12651 result=yes
12652 fi
12653 else
12654 result=$wxUSE_SPLASH
12655 fi
12656
12657 { echo "$as_me:$LINENO: result: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12659
12660
12661 enablestring=
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12665 defaultval=yes
12666 else
12667 defaultval=no
12668 fi
12669 fi
12670
12671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12672 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12673 # Check whether --enable-textdlg was given.
12674 if test "${enable_textdlg+set}" = set; then
12675 enableval=$enable_textdlg;
12676 if test "$enableval" = yes; then
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12678 else
12679 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12680 fi
12681
12682 else
12683
12684 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12685
12686 fi
12687
12688
12689 eval "$wx_cv_use_textdlg"
12690
12691 if test x"$enablestring" = xdisable; then
12692 if test $wxUSE_TEXTDLG = yes; then
12693 result=no
12694 else
12695 result=yes
12696 fi
12697 else
12698 result=$wxUSE_TEXTDLG
12699 fi
12700
12701 { echo "$as_me:$LINENO: result: $result" >&5
12702 echo "${ECHO_T}$result" >&6; }
12703
12704
12705 enablestring=
12706 defaultval=$wxUSE_ALL_FEATURES
12707 if test -z "$defaultval"; then
12708 if test x"$enablestring" = xdisable; then
12709 defaultval=yes
12710 else
12711 defaultval=no
12712 fi
12713 fi
12714
12715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12716 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12717 # Check whether --enable-tipdlg was given.
12718 if test "${enable_tipdlg+set}" = set; then
12719 enableval=$enable_tipdlg;
12720 if test "$enableval" = yes; then
12721 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12722 else
12723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12724 fi
12725
12726 else
12727
12728 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12729
12730 fi
12731
12732
12733 eval "$wx_cv_use_tipdlg"
12734
12735 if test x"$enablestring" = xdisable; then
12736 if test $wxUSE_STARTUP_TIPS = yes; then
12737 result=no
12738 else
12739 result=yes
12740 fi
12741 else
12742 result=$wxUSE_STARTUP_TIPS
12743 fi
12744
12745 { echo "$as_me:$LINENO: result: $result" >&5
12746 echo "${ECHO_T}$result" >&6; }
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}-progressdlg" >&5
12760 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12761 # Check whether --enable-progressdlg was given.
12762 if test "${enable_progressdlg+set}" = set; then
12763 enableval=$enable_progressdlg;
12764 if test "$enableval" = yes; then
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12766 else
12767 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12768 fi
12769
12770 else
12771
12772 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12773
12774 fi
12775
12776
12777 eval "$wx_cv_use_progressdlg"
12778
12779 if test x"$enablestring" = xdisable; then
12780 if test $wxUSE_PROGRESSDLG = yes; then
12781 result=no
12782 else
12783 result=yes
12784 fi
12785 else
12786 result=$wxUSE_PROGRESSDLG
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}-wizarddlg" >&5
12804 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12805 # Check whether --enable-wizarddlg was given.
12806 if test "${enable_wizarddlg+set}" = set; then
12807 enableval=$enable_wizarddlg;
12808 if test "$enableval" = yes; then
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12810 else
12811 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12812 fi
12813
12814 else
12815
12816 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12817
12818 fi
12819
12820
12821 eval "$wx_cv_use_wizarddlg"
12822
12823 if test x"$enablestring" = xdisable; then
12824 if test $wxUSE_WIZARDDLG = yes; then
12825 result=no
12826 else
12827 result=yes
12828 fi
12829 else
12830 result=$wxUSE_WIZARDDLG
12831 fi
12832
12833 { echo "$as_me:$LINENO: result: $result" >&5
12834 echo "${ECHO_T}$result" >&6; }
12835
12836
12837
12838
12839 enablestring=
12840 defaultval=$wxUSE_ALL_FEATURES
12841 if test -z "$defaultval"; then
12842 if test x"$enablestring" = xdisable; then
12843 defaultval=yes
12844 else
12845 defaultval=no
12846 fi
12847 fi
12848
12849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12850 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12851 # Check whether --enable-menus was given.
12852 if test "${enable_menus+set}" = set; then
12853 enableval=$enable_menus;
12854 if test "$enableval" = yes; then
12855 wx_cv_use_menus='wxUSE_MENUS=yes'
12856 else
12857 wx_cv_use_menus='wxUSE_MENUS=no'
12858 fi
12859
12860 else
12861
12862 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12863
12864 fi
12865
12866
12867 eval "$wx_cv_use_menus"
12868
12869 if test x"$enablestring" = xdisable; then
12870 if test $wxUSE_MENUS = yes; then
12871 result=no
12872 else
12873 result=yes
12874 fi
12875 else
12876 result=$wxUSE_MENUS
12877 fi
12878
12879 { echo "$as_me:$LINENO: result: $result" >&5
12880 echo "${ECHO_T}$result" >&6; }
12881
12882
12883 enablestring=
12884 defaultval=$wxUSE_ALL_FEATURES
12885 if test -z "$defaultval"; then
12886 if test x"$enablestring" = xdisable; then
12887 defaultval=yes
12888 else
12889 defaultval=no
12890 fi
12891 fi
12892
12893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12894 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12895 # Check whether --enable-miniframe was given.
12896 if test "${enable_miniframe+set}" = set; then
12897 enableval=$enable_miniframe;
12898 if test "$enableval" = yes; then
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12900 else
12901 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12902 fi
12903
12904 else
12905
12906 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12907
12908 fi
12909
12910
12911 eval "$wx_cv_use_miniframe"
12912
12913 if test x"$enablestring" = xdisable; then
12914 if test $wxUSE_MINIFRAME = yes; then
12915 result=no
12916 else
12917 result=yes
12918 fi
12919 else
12920 result=$wxUSE_MINIFRAME
12921 fi
12922
12923 { echo "$as_me:$LINENO: result: $result" >&5
12924 echo "${ECHO_T}$result" >&6; }
12925
12926
12927 enablestring=
12928 defaultval=$wxUSE_ALL_FEATURES
12929 if test -z "$defaultval"; then
12930 if test x"$enablestring" = xdisable; then
12931 defaultval=yes
12932 else
12933 defaultval=no
12934 fi
12935 fi
12936
12937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12938 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12939 # Check whether --enable-tooltips was given.
12940 if test "${enable_tooltips+set}" = set; then
12941 enableval=$enable_tooltips;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12944 else
12945 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12946 fi
12947
12948 else
12949
12950 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12951
12952 fi
12953
12954
12955 eval "$wx_cv_use_tooltips"
12956
12957 if test x"$enablestring" = xdisable; then
12958 if test $wxUSE_TOOLTIPS = yes; then
12959 result=no
12960 else
12961 result=yes
12962 fi
12963 else
12964 result=$wxUSE_TOOLTIPS
12965 fi
12966
12967 { echo "$as_me:$LINENO: result: $result" >&5
12968 echo "${ECHO_T}$result" >&6; }
12969
12970
12971 enablestring=
12972 defaultval=$wxUSE_ALL_FEATURES
12973 if test -z "$defaultval"; then
12974 if test x"$enablestring" = xdisable; then
12975 defaultval=yes
12976 else
12977 defaultval=no
12978 fi
12979 fi
12980
12981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12982 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12983 # Check whether --enable-splines was given.
12984 if test "${enable_splines+set}" = set; then
12985 enableval=$enable_splines;
12986 if test "$enableval" = yes; then
12987 wx_cv_use_splines='wxUSE_SPLINES=yes'
12988 else
12989 wx_cv_use_splines='wxUSE_SPLINES=no'
12990 fi
12991
12992 else
12993
12994 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12995
12996 fi
12997
12998
12999 eval "$wx_cv_use_splines"
13000
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SPLINES = yes; then
13003 result=no
13004 else
13005 result=yes
13006 fi
13007 else
13008 result=$wxUSE_SPLINES
13009 fi
13010
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13013
13014
13015 enablestring=
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13019 defaultval=yes
13020 else
13021 defaultval=no
13022 fi
13023 fi
13024
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13027 # Check whether --enable-mousewheel was given.
13028 if test "${enable_mousewheel+set}" = set; then
13029 enableval=$enable_mousewheel;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13032 else
13033 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13034 fi
13035
13036 else
13037
13038 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13039
13040 fi
13041
13042
13043 eval "$wx_cv_use_mousewheel"
13044
13045 if test x"$enablestring" = xdisable; then
13046 if test $wxUSE_MOUSEWHEEL = yes; then
13047 result=no
13048 else
13049 result=yes
13050 fi
13051 else
13052 result=$wxUSE_MOUSEWHEEL
13053 fi
13054
13055 { echo "$as_me:$LINENO: result: $result" >&5
13056 echo "${ECHO_T}$result" >&6; }
13057
13058
13059 enablestring=
13060 defaultval=$wxUSE_ALL_FEATURES
13061 if test -z "$defaultval"; then
13062 if test x"$enablestring" = xdisable; then
13063 defaultval=yes
13064 else
13065 defaultval=no
13066 fi
13067 fi
13068
13069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13070 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13071 # Check whether --enable-validators was given.
13072 if test "${enable_validators+set}" = set; then
13073 enableval=$enable_validators;
13074 if test "$enableval" = yes; then
13075 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13076 else
13077 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13078 fi
13079
13080 else
13081
13082 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13083
13084 fi
13085
13086
13087 eval "$wx_cv_use_validators"
13088
13089 if test x"$enablestring" = xdisable; then
13090 if test $wxUSE_VALIDATORS = yes; then
13091 result=no
13092 else
13093 result=yes
13094 fi
13095 else
13096 result=$wxUSE_VALIDATORS
13097 fi
13098
13099 { echo "$as_me:$LINENO: result: $result" >&5
13100 echo "${ECHO_T}$result" >&6; }
13101
13102
13103 enablestring=
13104 defaultval=$wxUSE_ALL_FEATURES
13105 if test -z "$defaultval"; then
13106 if test x"$enablestring" = xdisable; then
13107 defaultval=yes
13108 else
13109 defaultval=no
13110 fi
13111 fi
13112
13113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13114 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13115 # Check whether --enable-busyinfo was given.
13116 if test "${enable_busyinfo+set}" = set; then
13117 enableval=$enable_busyinfo;
13118 if test "$enableval" = yes; then
13119 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13120 else
13121 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13122 fi
13123
13124 else
13125
13126 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13127
13128 fi
13129
13130
13131 eval "$wx_cv_use_busyinfo"
13132
13133 if test x"$enablestring" = xdisable; then
13134 if test $wxUSE_BUSYINFO = yes; then
13135 result=no
13136 else
13137 result=yes
13138 fi
13139 else
13140 result=$wxUSE_BUSYINFO
13141 fi
13142
13143 { echo "$as_me:$LINENO: result: $result" >&5
13144 echo "${ECHO_T}$result" >&6; }
13145
13146
13147 enablestring=
13148 defaultval=$wxUSE_ALL_FEATURES
13149 if test -z "$defaultval"; then
13150 if test x"$enablestring" = xdisable; then
13151 defaultval=yes
13152 else
13153 defaultval=no
13154 fi
13155 fi
13156
13157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13158 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13159 # Check whether --enable-joystick was given.
13160 if test "${enable_joystick+set}" = set; then
13161 enableval=$enable_joystick;
13162 if test "$enableval" = yes; then
13163 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13164 else
13165 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13166 fi
13167
13168 else
13169
13170 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13171
13172 fi
13173
13174
13175 eval "$wx_cv_use_joystick"
13176
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_JOYSTICK = yes; then
13179 result=no
13180 else
13181 result=yes
13182 fi
13183 else
13184 result=$wxUSE_JOYSTICK
13185 fi
13186
13187 { echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13189
13190
13191 enablestring=
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13195 defaultval=yes
13196 else
13197 defaultval=no
13198 fi
13199 fi
13200
13201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13203 # Check whether --enable-metafile was given.
13204 if test "${enable_metafile+set}" = set; then
13205 enableval=$enable_metafile;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13208 else
13209 wx_cv_use_metafile='wxUSE_METAFILE=no'
13210 fi
13211
13212 else
13213
13214 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13215
13216 fi
13217
13218
13219 eval "$wx_cv_use_metafile"
13220
13221 if test x"$enablestring" = xdisable; then
13222 if test $wxUSE_METAFILE = yes; then
13223 result=no
13224 else
13225 result=yes
13226 fi
13227 else
13228 result=$wxUSE_METAFILE
13229 fi
13230
13231 { echo "$as_me:$LINENO: result: $result" >&5
13232 echo "${ECHO_T}$result" >&6; }
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}-dragimage" >&5
13246 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13247 # Check whether --enable-dragimage was given.
13248 if test "${enable_dragimage+set}" = set; then
13249 enableval=$enable_dragimage;
13250 if test "$enableval" = yes; then
13251 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13252 else
13253 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13254 fi
13255
13256 else
13257
13258 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13259
13260 fi
13261
13262
13263 eval "$wx_cv_use_dragimage"
13264
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_DRAGIMAGE = yes; then
13267 result=no
13268 else
13269 result=yes
13270 fi
13271 else
13272 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
13290 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13291 # Check whether --enable-accessibility was given.
13292 if test "${enable_accessibility+set}" = set; then
13293 enableval=$enable_accessibility;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13296 else
13297 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13298 fi
13299
13300 else
13301
13302 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13303
13304 fi
13305
13306
13307 eval "$wx_cv_use_accessibility"
13308
13309 if test x"$enablestring" = xdisable; then
13310 if test $wxUSE_ACCESSIBILITY = yes; then
13311 result=no
13312 else
13313 result=yes
13314 fi
13315 else
13316 result=$wxUSE_ACCESSIBILITY
13317 fi
13318
13319 { echo "$as_me:$LINENO: result: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13321
13322
13323
13324
13325 enablestring=
13326 defaultval=$wxUSE_ALL_FEATURES
13327 if test -z "$defaultval"; then
13328 if test x"$enablestring" = xdisable; then
13329 defaultval=yes
13330 else
13331 defaultval=no
13332 fi
13333 fi
13334
13335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13336 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13337 # Check whether --enable-palette was given.
13338 if test "${enable_palette+set}" = set; then
13339 enableval=$enable_palette;
13340 if test "$enableval" = yes; then
13341 wx_cv_use_palette='wxUSE_PALETTE=yes'
13342 else
13343 wx_cv_use_palette='wxUSE_PALETTE=no'
13344 fi
13345
13346 else
13347
13348 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13349
13350 fi
13351
13352
13353 eval "$wx_cv_use_palette"
13354
13355 if test x"$enablestring" = xdisable; then
13356 if test $wxUSE_PALETTE = yes; then
13357 result=no
13358 else
13359 result=yes
13360 fi
13361 else
13362 result=$wxUSE_PALETTE
13363 fi
13364
13365 { echo "$as_me:$LINENO: result: $result" >&5
13366 echo "${ECHO_T}$result" >&6; }
13367
13368
13369 enablestring=
13370 defaultval=$wxUSE_ALL_FEATURES
13371 if test -z "$defaultval"; then
13372 if test x"$enablestring" = xdisable; then
13373 defaultval=yes
13374 else
13375 defaultval=no
13376 fi
13377 fi
13378
13379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13380 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13381 # Check whether --enable-image was given.
13382 if test "${enable_image+set}" = set; then
13383 enableval=$enable_image;
13384 if test "$enableval" = yes; then
13385 wx_cv_use_image='wxUSE_IMAGE=yes'
13386 else
13387 wx_cv_use_image='wxUSE_IMAGE=no'
13388 fi
13389
13390 else
13391
13392 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13393
13394 fi
13395
13396
13397 eval "$wx_cv_use_image"
13398
13399 if test x"$enablestring" = xdisable; then
13400 if test $wxUSE_IMAGE = yes; then
13401 result=no
13402 else
13403 result=yes
13404 fi
13405 else
13406 result=$wxUSE_IMAGE
13407 fi
13408
13409 { echo "$as_me:$LINENO: result: $result" >&5
13410 echo "${ECHO_T}$result" >&6; }
13411
13412
13413 enablestring=
13414 defaultval=$wxUSE_ALL_FEATURES
13415 if test -z "$defaultval"; then
13416 if test x"$enablestring" = xdisable; then
13417 defaultval=yes
13418 else
13419 defaultval=no
13420 fi
13421 fi
13422
13423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13424 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13425 # Check whether --enable-gif was given.
13426 if test "${enable_gif+set}" = set; then
13427 enableval=$enable_gif;
13428 if test "$enableval" = yes; then
13429 wx_cv_use_gif='wxUSE_GIF=yes'
13430 else
13431 wx_cv_use_gif='wxUSE_GIF=no'
13432 fi
13433
13434 else
13435
13436 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13437
13438 fi
13439
13440
13441 eval "$wx_cv_use_gif"
13442
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_GIF = yes; then
13445 result=no
13446 else
13447 result=yes
13448 fi
13449 else
13450 result=$wxUSE_GIF
13451 fi
13452
13453 { echo "$as_me:$LINENO: result: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13455
13456
13457 enablestring=
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13461 defaultval=yes
13462 else
13463 defaultval=no
13464 fi
13465 fi
13466
13467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13468 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13469 # Check whether --enable-pcx was given.
13470 if test "${enable_pcx+set}" = set; then
13471 enableval=$enable_pcx;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_pcx='wxUSE_PCX=yes'
13474 else
13475 wx_cv_use_pcx='wxUSE_PCX=no'
13476 fi
13477
13478 else
13479
13480 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13481
13482 fi
13483
13484
13485 eval "$wx_cv_use_pcx"
13486
13487 if test x"$enablestring" = xdisable; then
13488 if test $wxUSE_PCX = yes; then
13489 result=no
13490 else
13491 result=yes
13492 fi
13493 else
13494 result=$wxUSE_PCX
13495 fi
13496
13497 { echo "$as_me:$LINENO: result: $result" >&5
13498 echo "${ECHO_T}$result" >&6; }
13499
13500
13501 enablestring=
13502 defaultval=$wxUSE_ALL_FEATURES
13503 if test -z "$defaultval"; then
13504 if test x"$enablestring" = xdisable; then
13505 defaultval=yes
13506 else
13507 defaultval=no
13508 fi
13509 fi
13510
13511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13512 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13513 # Check whether --enable-tga was given.
13514 if test "${enable_tga+set}" = set; then
13515 enableval=$enable_tga;
13516 if test "$enableval" = yes; then
13517 wx_cv_use_tga='wxUSE_TGA=yes'
13518 else
13519 wx_cv_use_tga='wxUSE_TGA=no'
13520 fi
13521
13522 else
13523
13524 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13525
13526 fi
13527
13528
13529 eval "$wx_cv_use_tga"
13530
13531 if test x"$enablestring" = xdisable; then
13532 if test $wxUSE_TGA = yes; then
13533 result=no
13534 else
13535 result=yes
13536 fi
13537 else
13538 result=$wxUSE_TGA
13539 fi
13540
13541 { echo "$as_me:$LINENO: result: $result" >&5
13542 echo "${ECHO_T}$result" >&6; }
13543
13544
13545 enablestring=
13546 defaultval=$wxUSE_ALL_FEATURES
13547 if test -z "$defaultval"; then
13548 if test x"$enablestring" = xdisable; then
13549 defaultval=yes
13550 else
13551 defaultval=no
13552 fi
13553 fi
13554
13555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13556 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13557 # Check whether --enable-iff was given.
13558 if test "${enable_iff+set}" = set; then
13559 enableval=$enable_iff;
13560 if test "$enableval" = yes; then
13561 wx_cv_use_iff='wxUSE_IFF=yes'
13562 else
13563 wx_cv_use_iff='wxUSE_IFF=no'
13564 fi
13565
13566 else
13567
13568 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13569
13570 fi
13571
13572
13573 eval "$wx_cv_use_iff"
13574
13575 if test x"$enablestring" = xdisable; then
13576 if test $wxUSE_IFF = yes; then
13577 result=no
13578 else
13579 result=yes
13580 fi
13581 else
13582 result=$wxUSE_IFF
13583 fi
13584
13585 { echo "$as_me:$LINENO: result: $result" >&5
13586 echo "${ECHO_T}$result" >&6; }
13587
13588
13589 enablestring=
13590 defaultval=$wxUSE_ALL_FEATURES
13591 if test -z "$defaultval"; then
13592 if test x"$enablestring" = xdisable; then
13593 defaultval=yes
13594 else
13595 defaultval=no
13596 fi
13597 fi
13598
13599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13600 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13601 # Check whether --enable-pnm was given.
13602 if test "${enable_pnm+set}" = set; then
13603 enableval=$enable_pnm;
13604 if test "$enableval" = yes; then
13605 wx_cv_use_pnm='wxUSE_PNM=yes'
13606 else
13607 wx_cv_use_pnm='wxUSE_PNM=no'
13608 fi
13609
13610 else
13611
13612 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13613
13614 fi
13615
13616
13617 eval "$wx_cv_use_pnm"
13618
13619 if test x"$enablestring" = xdisable; then
13620 if test $wxUSE_PNM = yes; then
13621 result=no
13622 else
13623 result=yes
13624 fi
13625 else
13626 result=$wxUSE_PNM
13627 fi
13628
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
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}-xpm" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13645 # Check whether --enable-xpm was given.
13646 if test "${enable_xpm+set}" = set; then
13647 enableval=$enable_xpm;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_xpm='wxUSE_XPM=yes'
13650 else
13651 wx_cv_use_xpm='wxUSE_XPM=no'
13652 fi
13653
13654 else
13655
13656 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13657
13658 fi
13659
13660
13661 eval "$wx_cv_use_xpm"
13662
13663 if test x"$enablestring" = xdisable; then
13664 if test $wxUSE_XPM = yes; then
13665 result=no
13666 else
13667 result=yes
13668 fi
13669 else
13670 result=$wxUSE_XPM
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}-ico_cur" >&5
13688 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13689 # Check whether --enable-ico_cur was given.
13690 if test "${enable_ico_cur+set}" = set; then
13691 enableval=$enable_ico_cur;
13692 if test "$enableval" = yes; then
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13694 else
13695 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13696 fi
13697
13698 else
13699
13700 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13701
13702 fi
13703
13704
13705 eval "$wx_cv_use_ico_cur"
13706
13707 if test x"$enablestring" = xdisable; then
13708 if test $wxUSE_ICO_CUR = yes; then
13709 result=no
13710 else
13711 result=yes
13712 fi
13713 else
13714 result=$wxUSE_ICO_CUR
13715 fi
13716
13717 { echo "$as_me:$LINENO: result: $result" >&5
13718 echo "${ECHO_T}$result" >&6; }
13719
13720
13721
13722
13723 enablestring=
13724 defaultval=$wxUSE_ALL_FEATURES
13725 if test -z "$defaultval"; then
13726 if test x"$enablestring" = xdisable; then
13727 defaultval=yes
13728 else
13729 defaultval=no
13730 fi
13731 fi
13732
13733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13734 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13735 # Check whether --enable-dccache was given.
13736 if test "${enable_dccache+set}" = set; then
13737 enableval=$enable_dccache;
13738 if test "$enableval" = yes; then
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13740 else
13741 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13742 fi
13743
13744 else
13745
13746 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13747
13748 fi
13749
13750
13751 eval "$wx_cv_use_dccache"
13752
13753 if test x"$enablestring" = xdisable; then
13754 if test $wxUSE_DC_CACHEING = yes; then
13755 result=no
13756 else
13757 result=yes
13758 fi
13759 else
13760 result=$wxUSE_DC_CACHEING
13761 fi
13762
13763 { echo "$as_me:$LINENO: result: $result" >&5
13764 echo "${ECHO_T}$result" >&6; }
13765
13766
13767 enablestring=
13768 defaultval=$wxUSE_ALL_FEATURES
13769 if test -z "$defaultval"; then
13770 if test x"$enablestring" = xdisable; then
13771 defaultval=yes
13772 else
13773 defaultval=no
13774 fi
13775 fi
13776
13777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13778 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13779 # Check whether --enable-ps-in-msw was given.
13780 if test "${enable_ps_in_msw+set}" = set; then
13781 enableval=$enable_ps_in_msw;
13782 if test "$enableval" = yes; then
13783 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13784 else
13785 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13786 fi
13787
13788 else
13789
13790 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13791
13792 fi
13793
13794
13795 eval "$wx_cv_use_ps_in_msw"
13796
13797 if test x"$enablestring" = xdisable; then
13798 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13799 result=no
13800 else
13801 result=yes
13802 fi
13803 else
13804 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13805 fi
13806
13807 { echo "$as_me:$LINENO: result: $result" >&5
13808 echo "${ECHO_T}$result" >&6; }
13809
13810
13811 enablestring=
13812 defaultval=$wxUSE_ALL_FEATURES
13813 if test -z "$defaultval"; then
13814 if test x"$enablestring" = xdisable; then
13815 defaultval=yes
13816 else
13817 defaultval=no
13818 fi
13819 fi
13820
13821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13822 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13823 # Check whether --enable-ownerdrawn was given.
13824 if test "${enable_ownerdrawn+set}" = set; then
13825 enableval=$enable_ownerdrawn;
13826 if test "$enableval" = yes; then
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13828 else
13829 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13830 fi
13831
13832 else
13833
13834 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13835
13836 fi
13837
13838
13839 eval "$wx_cv_use_ownerdrawn"
13840
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_OWNER_DRAWN = yes; then
13843 result=no
13844 else
13845 result=yes
13846 fi
13847 else
13848 result=$wxUSE_OWNER_DRAWN
13849 fi
13850
13851 { echo "$as_me:$LINENO: result: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13853
13854
13855 enablestring=
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13859 defaultval=yes
13860 else
13861 defaultval=no
13862 fi
13863 fi
13864
13865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13866 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13867 # Check whether --enable-uxtheme was given.
13868 if test "${enable_uxtheme+set}" = set; then
13869 enableval=$enable_uxtheme;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13872 else
13873 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13874 fi
13875
13876 else
13877
13878 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13879
13880 fi
13881
13882
13883 eval "$wx_cv_use_uxtheme"
13884
13885 if test x"$enablestring" = xdisable; then
13886 if test $wxUSE_UXTHEME = yes; then
13887 result=no
13888 else
13889 result=yes
13890 fi
13891 else
13892 result=$wxUSE_UXTHEME
13893 fi
13894
13895 { echo "$as_me:$LINENO: result: $result" >&5
13896 echo "${ECHO_T}$result" >&6; }
13897
13898
13899 enablestring=
13900 defaultval=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x"$enablestring" = xdisable; then
13903 defaultval=yes
13904 else
13905 defaultval=no
13906 fi
13907 fi
13908
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13911 # Check whether --enable-wxdib was given.
13912 if test "${enable_wxdib+set}" = set; then
13913 enableval=$enable_wxdib;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_wxdib='wxUSE_DIB=yes'
13916 else
13917 wx_cv_use_wxdib='wxUSE_DIB=no'
13918 fi
13919
13920 else
13921
13922 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13923
13924 fi
13925
13926
13927 eval "$wx_cv_use_wxdib"
13928
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_DIB = yes; then
13931 result=no
13932 else
13933 result=yes
13934 fi
13935 else
13936 result=$wxUSE_DIB
13937 fi
13938
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13941
13942
13943 if test "$wxUSE_MSW" != 1; then
13944 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13945 fi
13946
13947
13948 enablestring=
13949 defaultval=$wxUSE_ALL_FEATURES
13950 if test -z "$defaultval"; then
13951 if test x"$enablestring" = xdisable; then
13952 defaultval=yes
13953 else
13954 defaultval=no
13955 fi
13956 fi
13957
13958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13959 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13960 # Check whether --enable-autoidman was given.
13961 if test "${enable_autoidman+set}" = set; then
13962 enableval=$enable_autoidman;
13963 if test "$enableval" = yes; then
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13965 else
13966 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13967 fi
13968
13969 else
13970
13971 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13972
13973 fi
13974
13975
13976 eval "$wx_cv_use_autoidman"
13977
13978 if test x"$enablestring" = xdisable; then
13979 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13980 result=no
13981 else
13982 result=yes
13983 fi
13984 else
13985 result=$wxUSE_AUTOID_MANAGEMENT
13986 fi
13987
13988 { echo "$as_me:$LINENO: result: $result" >&5
13989 echo "${ECHO_T}$result" >&6; }
13990
13991
13992 fi
13993
13994
13995 cat >confcache <<\_ACEOF
13996 # This file is a shell script that caches the results of configure
13997 # tests run on this system so they can be shared between configure
13998 # scripts and configure runs, see configure's option --config-cache.
13999 # It is not useful on other systems. If it contains results you don't
14000 # want to keep, you may remove or edit it.
14001 #
14002 # config.status only pays attention to the cache file if you give it
14003 # the --recheck option to rerun configure.
14004 #
14005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14007 # following values.
14008
14009 _ACEOF
14010
14011 # The following way of writing the cache mishandles newlines in values,
14012 # but we know of no workaround that is simple, portable, and efficient.
14013 # So, we kill variables containing newlines.
14014 # Ultrix sh set writes to stderr and can't be redirected directly,
14015 # and sets the high bit in the cache file unless we assign to the vars.
14016 (
14017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14018 eval ac_val=\$$ac_var
14019 case $ac_val in #(
14020 *${as_nl}*)
14021 case $ac_var in #(
14022 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14023 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14024 esac
14025 case $ac_var in #(
14026 _ | IFS | as_nl) ;; #(
14027 *) $as_unset $ac_var ;;
14028 esac ;;
14029 esac
14030 done
14031
14032 (set) 2>&1 |
14033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14034 *${as_nl}ac_space=\ *)
14035 # `set' does not quote correctly, so add quotes (double-quote
14036 # substitution turns \\\\ into \\, and sed turns \\ into \).
14037 sed -n \
14038 "s/'/'\\\\''/g;
14039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14040 ;; #(
14041 *)
14042 # `set' quotes correctly as required by POSIX, so do not add quotes.
14043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14044 ;;
14045 esac |
14046 sort
14047 ) |
14048 sed '
14049 /^ac_cv_env_/b end
14050 t clear
14051 :clear
14052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14053 t end
14054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14055 :end' >>confcache
14056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14057 if test -w "$cache_file"; then
14058 test "x$cache_file" != "x/dev/null" &&
14059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14060 echo "$as_me: updating cache $cache_file" >&6;}
14061 cat confcache >$cache_file
14062 else
14063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14064 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14065 fi
14066 fi
14067 rm -f confcache
14068
14069 CFLAGS=${CFLAGS:=}
14070
14071
14072
14073 ac_ext=c
14074 ac_cpp='$CPP $CPPFLAGS'
14075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14078 if test -n "$ac_tool_prefix"; then
14079 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14083 if test "${ac_cv_prog_CC+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 if test -n "$CC"; then
14087 ac_cv_prog_CC="$CC" # Let the user override the test.
14088 else
14089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14090 for as_dir in $PATH
14091 do
14092 IFS=$as_save_IFS
14093 test -z "$as_dir" && as_dir=.
14094 for ac_exec_ext in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14098 break 2
14099 fi
14100 done
14101 done
14102 IFS=$as_save_IFS
14103
14104 fi
14105 fi
14106 CC=$ac_cv_prog_CC
14107 if test -n "$CC"; then
14108 { echo "$as_me:$LINENO: result: $CC" >&5
14109 echo "${ECHO_T}$CC" >&6; }
14110 else
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14113 fi
14114
14115
14116 fi
14117 if test -z "$ac_cv_prog_CC"; then
14118 ac_ct_CC=$CC
14119 # Extract the first word of "gcc", so it can be a program name with args.
14120 set dummy gcc; ac_word=$2
14121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14123 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14124 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 else
14126 if test -n "$ac_ct_CC"; then
14127 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14128 else
14129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14130 for as_dir in $PATH
14131 do
14132 IFS=$as_save_IFS
14133 test -z "$as_dir" && as_dir=.
14134 for ac_exec_ext in '' $ac_executable_extensions; do
14135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14136 ac_cv_prog_ac_ct_CC="gcc"
14137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14138 break 2
14139 fi
14140 done
14141 done
14142 IFS=$as_save_IFS
14143
14144 fi
14145 fi
14146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14147 if test -n "$ac_ct_CC"; then
14148 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14149 echo "${ECHO_T}$ac_ct_CC" >&6; }
14150 else
14151 { echo "$as_me:$LINENO: result: no" >&5
14152 echo "${ECHO_T}no" >&6; }
14153 fi
14154
14155 if test "x$ac_ct_CC" = x; then
14156 CC=""
14157 else
14158 case $cross_compiling:$ac_tool_warned in
14159 yes:)
14160 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14161 whose name does not start with the host triplet. If you think this
14162 configuration is useful to you, please write to autoconf@gnu.org." >&5
14163 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14164 whose name does not start with the host triplet. If you think this
14165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14166 ac_tool_warned=yes ;;
14167 esac
14168 CC=$ac_ct_CC
14169 fi
14170 else
14171 CC="$ac_cv_prog_CC"
14172 fi
14173
14174 if test -z "$CC"; then
14175 if test -n "$ac_tool_prefix"; then
14176 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14177 set dummy ${ac_tool_prefix}cc; ac_word=$2
14178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14180 if test "${ac_cv_prog_CC+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 else
14183 if test -n "$CC"; then
14184 ac_cv_prog_CC="$CC" # Let the user override the test.
14185 else
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14188 do
14189 IFS=$as_save_IFS
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_CC="${ac_tool_prefix}cc"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14195 break 2
14196 fi
14197 done
14198 done
14199 IFS=$as_save_IFS
14200
14201 fi
14202 fi
14203 CC=$ac_cv_prog_CC
14204 if test -n "$CC"; then
14205 { echo "$as_me:$LINENO: result: $CC" >&5
14206 echo "${ECHO_T}$CC" >&6; }
14207 else
14208 { echo "$as_me:$LINENO: result: no" >&5
14209 echo "${ECHO_T}no" >&6; }
14210 fi
14211
14212
14213 fi
14214 fi
14215 if test -z "$CC"; then
14216 # Extract the first word of "cc", so it can be a program name with args.
14217 set dummy cc; ac_word=$2
14218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14220 if test "${ac_cv_prog_CC+set}" = set; then
14221 echo $ECHO_N "(cached) $ECHO_C" >&6
14222 else
14223 if test -n "$CC"; then
14224 ac_cv_prog_CC="$CC" # Let the user override the test.
14225 else
14226 ac_prog_rejected=no
14227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14228 for as_dir in $PATH
14229 do
14230 IFS=$as_save_IFS
14231 test -z "$as_dir" && as_dir=.
14232 for ac_exec_ext in '' $ac_executable_extensions; do
14233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14234 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14235 ac_prog_rejected=yes
14236 continue
14237 fi
14238 ac_cv_prog_CC="cc"
14239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 break 2
14241 fi
14242 done
14243 done
14244 IFS=$as_save_IFS
14245
14246 if test $ac_prog_rejected = yes; then
14247 # We found a bogon in the path, so make sure we never use it.
14248 set dummy $ac_cv_prog_CC
14249 shift
14250 if test $# != 0; then
14251 # We chose a different compiler from the bogus one.
14252 # However, it has the same basename, so the bogon will be chosen
14253 # first if we set CC to just the basename; use the full file name.
14254 shift
14255 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14256 fi
14257 fi
14258 fi
14259 fi
14260 CC=$ac_cv_prog_CC
14261 if test -n "$CC"; then
14262 { echo "$as_me:$LINENO: result: $CC" >&5
14263 echo "${ECHO_T}$CC" >&6; }
14264 else
14265 { echo "$as_me:$LINENO: result: no" >&5
14266 echo "${ECHO_T}no" >&6; }
14267 fi
14268
14269
14270 fi
14271 if test -z "$CC"; then
14272 if test -n "$ac_tool_prefix"; then
14273 for ac_prog in cl.exe
14274 do
14275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14279 if test "${ac_cv_prog_CC+set}" = set; then
14280 echo $ECHO_N "(cached) $ECHO_C" >&6
14281 else
14282 if test -n "$CC"; then
14283 ac_cv_prog_CC="$CC" # Let the user override the test.
14284 else
14285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14286 for as_dir in $PATH
14287 do
14288 IFS=$as_save_IFS
14289 test -z "$as_dir" && as_dir=.
14290 for ac_exec_ext in '' $ac_executable_extensions; do
14291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14292 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14294 break 2
14295 fi
14296 done
14297 done
14298 IFS=$as_save_IFS
14299
14300 fi
14301 fi
14302 CC=$ac_cv_prog_CC
14303 if test -n "$CC"; then
14304 { echo "$as_me:$LINENO: result: $CC" >&5
14305 echo "${ECHO_T}$CC" >&6; }
14306 else
14307 { echo "$as_me:$LINENO: result: no" >&5
14308 echo "${ECHO_T}no" >&6; }
14309 fi
14310
14311
14312 test -n "$CC" && break
14313 done
14314 fi
14315 if test -z "$CC"; then
14316 ac_ct_CC=$CC
14317 for ac_prog in cl.exe
14318 do
14319 # Extract the first word of "$ac_prog", so it can be a program name with args.
14320 set dummy $ac_prog; ac_word=$2
14321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 else
14326 if test -n "$ac_ct_CC"; then
14327 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14328 else
14329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14330 for as_dir in $PATH
14331 do
14332 IFS=$as_save_IFS
14333 test -z "$as_dir" && as_dir=.
14334 for ac_exec_ext in '' $ac_executable_extensions; do
14335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14336 ac_cv_prog_ac_ct_CC="$ac_prog"
14337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 break 2
14339 fi
14340 done
14341 done
14342 IFS=$as_save_IFS
14343
14344 fi
14345 fi
14346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14347 if test -n "$ac_ct_CC"; then
14348 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14349 echo "${ECHO_T}$ac_ct_CC" >&6; }
14350 else
14351 { echo "$as_me:$LINENO: result: no" >&5
14352 echo "${ECHO_T}no" >&6; }
14353 fi
14354
14355
14356 test -n "$ac_ct_CC" && break
14357 done
14358
14359 if test "x$ac_ct_CC" = x; then
14360 CC=""
14361 else
14362 case $cross_compiling:$ac_tool_warned in
14363 yes:)
14364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14365 whose name does not start with the host triplet. If you think this
14366 configuration is useful to you, please write to autoconf@gnu.org." >&5
14367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14368 whose name does not start with the host triplet. If you think this
14369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14370 ac_tool_warned=yes ;;
14371 esac
14372 CC=$ac_ct_CC
14373 fi
14374 fi
14375
14376 fi
14377
14378
14379 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14380 See \`config.log' for more details." >&5
14381 echo "$as_me: error: no acceptable C compiler found in \$PATH
14382 See \`config.log' for more details." >&2;}
14383 { (exit 1); exit 1; }; }
14384
14385 # Provide some information about the compiler.
14386 echo "$as_me:$LINENO: checking for C compiler version" >&5
14387 ac_compiler=`set X $ac_compile; echo $2`
14388 { (ac_try="$ac_compiler --version >&5"
14389 case "(($ac_try" in
14390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14391 *) ac_try_echo=$ac_try;;
14392 esac
14393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14394 (eval "$ac_compiler --version >&5") 2>&5
14395 ac_status=$?
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }
14398 { (ac_try="$ac_compiler -v >&5"
14399 case "(($ac_try" in
14400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14401 *) ac_try_echo=$ac_try;;
14402 esac
14403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14404 (eval "$ac_compiler -v >&5") 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }
14408 { (ac_try="$ac_compiler -V >&5"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14412 esac
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_compiler -V >&5") 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }
14418
14419 cat >conftest.$ac_ext <<_ACEOF
14420 /* confdefs.h. */
14421 _ACEOF
14422 cat confdefs.h >>conftest.$ac_ext
14423 cat >>conftest.$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14425
14426 int
14427 main ()
14428 {
14429
14430 ;
14431 return 0;
14432 }
14433 _ACEOF
14434 ac_clean_files_save=$ac_clean_files
14435 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14436 # Try to create an executable without -o first, disregard a.out.
14437 # It will help us diagnose broken compilers, and finding out an intuition
14438 # of exeext.
14439 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14440 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14441 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14442 #
14443 # List of possible output files, starting from the most likely.
14444 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14445 # only as a last resort. b.out is created by i960 compilers.
14446 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14447 #
14448 # The IRIX 6 linker writes into existing files which may not be
14449 # executable, retaining their permissions. Remove them first so a
14450 # subsequent execution test works.
14451 ac_rmfiles=
14452 for ac_file in $ac_files
14453 do
14454 case $ac_file in
14455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14456 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14457 esac
14458 done
14459 rm -f $ac_rmfiles
14460
14461 if { (ac_try="$ac_link_default"
14462 case "(($ac_try" in
14463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14464 *) ac_try_echo=$ac_try;;
14465 esac
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link_default") 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; then
14471 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14472 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14473 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14474 # so that the user can short-circuit this test for compilers unknown to
14475 # Autoconf.
14476 for ac_file in $ac_files ''
14477 do
14478 test -f "$ac_file" || continue
14479 case $ac_file in
14480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14481 ;;
14482 [ab].out )
14483 # We found the default executable, but exeext='' is most
14484 # certainly right.
14485 break;;
14486 *.* )
14487 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14488 then :; else
14489 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14490 fi
14491 # We set ac_cv_exeext here because the later test for it is not
14492 # safe: cross compilers may not add the suffix if given an `-o'
14493 # argument, so we may need to know it at that point already.
14494 # Even if this section looks crufty: it has the advantage of
14495 # actually working.
14496 break;;
14497 * )
14498 break;;
14499 esac
14500 done
14501 test "$ac_cv_exeext" = no && ac_cv_exeext=
14502
14503 else
14504 ac_file=''
14505 fi
14506
14507 { echo "$as_me:$LINENO: result: $ac_file" >&5
14508 echo "${ECHO_T}$ac_file" >&6; }
14509 if test -z "$ac_file"; then
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14512
14513 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14514 See \`config.log' for more details." >&5
14515 echo "$as_me: error: C compiler cannot create executables
14516 See \`config.log' for more details." >&2;}
14517 { (exit 77); exit 77; }; }
14518 fi
14519
14520 ac_exeext=$ac_cv_exeext
14521
14522 # Check that the compiler produces executables we can run. If not, either
14523 # the compiler is broken, or we cross compile.
14524 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14525 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14527 # If not cross compiling, check that we can run a simple program.
14528 if test "$cross_compiling" != yes; then
14529 if { ac_try='./$ac_file'
14530 { (case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_try") 2>&5
14536 ac_status=$?
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14539 cross_compiling=no
14540 else
14541 if test "$cross_compiling" = maybe; then
14542 cross_compiling=yes
14543 else
14544 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14545 If you meant to cross compile, use \`--host'.
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot run C compiled programs.
14548 If you meant to cross compile, use \`--host'.
14549 See \`config.log' for more details." >&2;}
14550 { (exit 1); exit 1; }; }
14551 fi
14552 fi
14553 fi
14554 { echo "$as_me:$LINENO: result: yes" >&5
14555 echo "${ECHO_T}yes" >&6; }
14556
14557 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14558 ac_clean_files=$ac_clean_files_save
14559 # Check that the compiler produces executables we can run. If not, either
14560 # the compiler is broken, or we cross compile.
14561 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14562 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14563 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14564 echo "${ECHO_T}$cross_compiling" >&6; }
14565
14566 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14567 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14568 if { (ac_try="$ac_link"
14569 case "(($ac_try" in
14570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14571 *) ac_try_echo=$ac_try;;
14572 esac
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_link") 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; then
14578 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14579 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14580 # work properly (i.e., refer to `conftest.exe'), while it won't with
14581 # `rm'.
14582 for ac_file in conftest.exe conftest conftest.*; do
14583 test -f "$ac_file" || continue
14584 case $ac_file in
14585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14586 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14587 break;;
14588 * ) break;;
14589 esac
14590 done
14591 else
14592 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&5
14594 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14595 See \`config.log' for more details." >&2;}
14596 { (exit 1); exit 1; }; }
14597 fi
14598
14599 rm -f conftest$ac_cv_exeext
14600 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14601 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14602
14603 rm -f conftest.$ac_ext
14604 EXEEXT=$ac_cv_exeext
14605 ac_exeext=$EXEEXT
14606 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14607 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14608 if test "${ac_cv_objext+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 else
14611 cat >conftest.$ac_ext <<_ACEOF
14612 /* confdefs.h. */
14613 _ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14617
14618 int
14619 main ()
14620 {
14621
14622 ;
14623 return 0;
14624 }
14625 _ACEOF
14626 rm -f conftest.o conftest.obj
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; then
14637 for ac_file in conftest.o conftest.obj conftest.*; do
14638 test -f "$ac_file" || continue;
14639 case $ac_file in
14640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14641 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14642 break;;
14643 esac
14644 done
14645 else
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log' for more details." >&5
14651 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14652 See \`config.log' for more details." >&2;}
14653 { (exit 1); exit 1; }; }
14654 fi
14655
14656 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14657 fi
14658 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14659 echo "${ECHO_T}$ac_cv_objext" >&6; }
14660 OBJEXT=$ac_cv_objext
14661 ac_objext=$OBJEXT
14662 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14663 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14664 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 else
14667 cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673
14674 int
14675 main ()
14676 {
14677 #ifndef __GNUC__
14678 choke me
14679 #endif
14680
14681 ;
14682 return 0;
14683 }
14684 _ACEOF
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14690 esac
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14693 ac_status=$?
14694 grep -v '^ *+' conftest.er1 >conftest.err
14695 rm -f conftest.er1
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14702 ac_compiler_gnu=yes
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 ac_compiler_gnu=no
14708 fi
14709
14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14711 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14712
14713 fi
14714 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14715 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14716 GCC=`test $ac_compiler_gnu = yes && echo yes`
14717 ac_test_CFLAGS=${CFLAGS+set}
14718 ac_save_CFLAGS=$CFLAGS
14719 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14720 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14721 if test "${ac_cv_prog_cc_g+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 else
14724 ac_save_c_werror_flag=$ac_c_werror_flag
14725 ac_c_werror_flag=yes
14726 ac_cv_prog_cc_g=no
14727 CFLAGS="-g"
14728 cat >conftest.$ac_ext <<_ACEOF
14729 /* confdefs.h. */
14730 _ACEOF
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734
14735 int
14736 main ()
14737 {
14738
14739 ;
14740 return 0;
14741 }
14742 _ACEOF
14743 rm -f conftest.$ac_objext
14744 if { (ac_try="$ac_compile"
14745 case "(($ac_try" in
14746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14748 esac
14749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_compile") 2>conftest.er1
14751 ac_status=$?
14752 grep -v '^ *+' conftest.er1 >conftest.err
14753 rm -f conftest.er1
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_c_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest.$ac_objext; then
14760 ac_cv_prog_cc_g=yes
14761 else
14762 echo "$as_me: failed program was:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14764
14765 CFLAGS=""
14766 cat >conftest.$ac_ext <<_ACEOF
14767 /* confdefs.h. */
14768 _ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772
14773 int
14774 main ()
14775 {
14776
14777 ;
14778 return 0;
14779 }
14780 _ACEOF
14781 rm -f conftest.$ac_objext
14782 if { (ac_try="$ac_compile"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14786 esac
14787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14789 ac_status=$?
14790 grep -v '^ *+' conftest.er1 >conftest.err
14791 rm -f conftest.er1
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest.$ac_objext; then
14798 :
14799 else
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14802
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14804 CFLAGS="-g"
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811
14812 int
14813 main ()
14814 {
14815
14816 ;
14817 return 0;
14818 }
14819 _ACEOF
14820 rm -f conftest.$ac_objext
14821 if { (ac_try="$ac_compile"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14825 esac
14826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_compile") 2>conftest.er1
14828 ac_status=$?
14829 grep -v '^ *+' conftest.er1 >conftest.err
14830 rm -f conftest.er1
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } && {
14834 test -z "$ac_c_werror_flag" ||
14835 test ! -s conftest.err
14836 } && test -s conftest.$ac_objext; then
14837 ac_cv_prog_cc_g=yes
14838 else
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14841
14842
14843 fi
14844
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 fi
14847
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 fi
14850
14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14852 ac_c_werror_flag=$ac_save_c_werror_flag
14853 fi
14854 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14856 if test "$ac_test_CFLAGS" = set; then
14857 CFLAGS=$ac_save_CFLAGS
14858 elif test $ac_cv_prog_cc_g = yes; then
14859 if test "$GCC" = yes; then
14860 CFLAGS="-g -O2"
14861 else
14862 CFLAGS="-g"
14863 fi
14864 else
14865 if test "$GCC" = yes; then
14866 CFLAGS="-O2"
14867 else
14868 CFLAGS=
14869 fi
14870 fi
14871 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14872 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14873 if test "${ac_cv_prog_cc_c89+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 else
14876 ac_cv_prog_cc_c89=no
14877 ac_save_CC=$CC
14878 cat >conftest.$ac_ext <<_ACEOF
14879 /* confdefs.h. */
14880 _ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 #include <stdarg.h>
14885 #include <stdio.h>
14886 #include <sys/types.h>
14887 #include <sys/stat.h>
14888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14889 struct buf { int x; };
14890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14891 static char *e (p, i)
14892 char **p;
14893 int i;
14894 {
14895 return p[i];
14896 }
14897 static char *f (char * (*g) (char **, int), char **p, ...)
14898 {
14899 char *s;
14900 va_list v;
14901 va_start (v,p);
14902 s = g (p, va_arg (v,int));
14903 va_end (v);
14904 return s;
14905 }
14906
14907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14908 function prototypes and stuff, but not '\xHH' hex character constants.
14909 These don't provoke an error unfortunately, instead are silently treated
14910 as 'x'. The following induces an error, until -std is added to get
14911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14912 array size at least. It's necessary to write '\x00'==0 to get something
14913 that's true only with -std. */
14914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14915
14916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14917 inside strings and character constants. */
14918 #define FOO(x) 'x'
14919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14920
14921 int test (int i, double x);
14922 struct s1 {int (*f) (int a);};
14923 struct s2 {int (*f) (double a);};
14924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14925 int argc;
14926 char **argv;
14927 int
14928 main ()
14929 {
14930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14931 ;
14932 return 0;
14933 }
14934 _ACEOF
14935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14937 do
14938 CC="$ac_save_CC $ac_arg"
14939 rm -f conftest.$ac_objext
14940 if { (ac_try="$ac_compile"
14941 case "(($ac_try" in
14942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14943 *) ac_try_echo=$ac_try;;
14944 esac
14945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14946 (eval "$ac_compile") 2>conftest.er1
14947 ac_status=$?
14948 grep -v '^ *+' conftest.er1 >conftest.err
14949 rm -f conftest.er1
14950 cat conftest.err >&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } && {
14953 test -z "$ac_c_werror_flag" ||
14954 test ! -s conftest.err
14955 } && test -s conftest.$ac_objext; then
14956 ac_cv_prog_cc_c89=$ac_arg
14957 else
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.$ac_ext >&5
14960
14961
14962 fi
14963
14964 rm -f core conftest.err conftest.$ac_objext
14965 test "x$ac_cv_prog_cc_c89" != "xno" && break
14966 done
14967 rm -f conftest.$ac_ext
14968 CC=$ac_save_CC
14969
14970 fi
14971 # AC_CACHE_VAL
14972 case "x$ac_cv_prog_cc_c89" in
14973 x)
14974 { echo "$as_me:$LINENO: result: none needed" >&5
14975 echo "${ECHO_T}none needed" >&6; } ;;
14976 xno)
14977 { echo "$as_me:$LINENO: result: unsupported" >&5
14978 echo "${ECHO_T}unsupported" >&6; } ;;
14979 *)
14980 CC="$CC $ac_cv_prog_cc_c89"
14981 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14982 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14983 esac
14984
14985
14986 ac_ext=c
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14991
14992
14993
14994
14995 ac_ext=c
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15000
15001 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15002 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15003 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 cat >conftest.$ac_ext <<_ACEOF
15007 /* confdefs.h. */
15008 _ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012
15013 int
15014 main ()
15015 {
15016
15017 #ifndef __INTEL_COMPILER
15018 choke me
15019 #endif
15020
15021 ;
15022 return 0;
15023 }
15024 _ACEOF
15025 rm -f conftest.$ac_objext
15026 if { (ac_try="$ac_compile"
15027 case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15030 esac
15031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_compile") 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } && {
15039 test -z "$ac_c_werror_flag" ||
15040 test ! -s conftest.err
15041 } && test -s conftest.$ac_objext; then
15042 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15043 else
15044 echo "$as_me: failed program was:" >&5
15045 sed 's/^/| /' conftest.$ac_ext >&5
15046
15047 bakefile_cv_c_compiler___INTEL_COMPILER=no
15048
15049 fi
15050
15051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15052
15053
15054 fi
15055 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15056 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15057 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15058 :; INTELCC=yes
15059 else
15060 :;
15061 fi
15062 ac_ext=c
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15067
15068
15069
15070
15071 if test "x$GCC" != "xyes"; then
15072 if test "xCC" = "xC"; then
15073 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15074 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15075 if test "${bakefile_cv_c_exto+set}" = set; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15077 else
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084
15085 int
15086 main ()
15087 {
15088
15089 ;
15090 return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext conftest.$ac_ext.o
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; then
15099 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15100 case $ac_file in
15101 conftest.$ac_ext.o)
15102 bakefile_cv_c_exto="-ext o"
15103 ;;
15104 *)
15105 ;;
15106 esac
15107 done
15108 else
15109 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15110 See \`config.log' for more details." >&5
15111 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15112 See \`config.log' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15114
15115 fi
15116
15117 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15118
15119 fi
15120 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15121 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15122 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15123 if test "c" = "c"; then
15124 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15125 fi
15126 if test "c" = "cxx"; then
15127 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15128 fi
15129 fi
15130
15131 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15132 unset ac_cv_prog_cc_g
15133 ac_test_CFLAGS=${CFLAGS+set}
15134 ac_save_CFLAGS=$CFLAGS
15135 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15136 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_cc_g+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 ac_save_c_werror_flag=$ac_c_werror_flag
15141 ac_c_werror_flag=yes
15142 ac_cv_prog_cc_g=no
15143 CFLAGS="-g"
15144 cat >conftest.$ac_ext <<_ACEOF
15145 /* confdefs.h. */
15146 _ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150
15151 int
15152 main ()
15153 {
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 ac_cv_prog_cc_g=yes
15177 else
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15180
15181 CFLAGS=""
15182 cat >conftest.$ac_ext <<_ACEOF
15183 /* confdefs.h. */
15184 _ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15188
15189 int
15190 main ()
15191 {
15192
15193 ;
15194 return 0;
15195 }
15196 _ACEOF
15197 rm -f conftest.$ac_objext
15198 if { (ac_try="$ac_compile"
15199 case "(($ac_try" in
15200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15202 esac
15203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15204 (eval "$ac_compile") 2>conftest.er1
15205 ac_status=$?
15206 grep -v '^ *+' conftest.er1 >conftest.err
15207 rm -f conftest.er1
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } && {
15211 test -z "$ac_c_werror_flag" ||
15212 test ! -s conftest.err
15213 } && test -s conftest.$ac_objext; then
15214 :
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219 ac_c_werror_flag=$ac_save_c_werror_flag
15220 CFLAGS="-g"
15221 cat >conftest.$ac_ext <<_ACEOF
15222 /* confdefs.h. */
15223 _ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227
15228 int
15229 main ()
15230 {
15231
15232 ;
15233 return 0;
15234 }
15235 _ACEOF
15236 rm -f conftest.$ac_objext
15237 if { (ac_try="$ac_compile"
15238 case "(($ac_try" in
15239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15240 *) ac_try_echo=$ac_try;;
15241 esac
15242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15243 (eval "$ac_compile") 2>conftest.er1
15244 ac_status=$?
15245 grep -v '^ *+' conftest.er1 >conftest.err
15246 rm -f conftest.er1
15247 cat conftest.err >&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } && {
15250 test -z "$ac_c_werror_flag" ||
15251 test ! -s conftest.err
15252 } && test -s conftest.$ac_objext; then
15253 ac_cv_prog_cc_g=yes
15254 else
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15257
15258
15259 fi
15260
15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15262 fi
15263
15264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15265 fi
15266
15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15268 ac_c_werror_flag=$ac_save_c_werror_flag
15269 fi
15270 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15272 if test "$ac_test_CFLAGS" = set; then
15273 CFLAGS=$ac_save_CFLAGS
15274 elif test $ac_cv_prog_cc_g = yes; then
15275 if test "$GCC" = yes; then
15276 CFLAGS="-g -O2"
15277 else
15278 CFLAGS="-g"
15279 fi
15280 else
15281 if test "$GCC" = yes; then
15282 CFLAGS="-O2"
15283 else
15284 CFLAGS=
15285 fi
15286 fi
15287 fi
15288 fi
15289
15290 case `uname -s` in
15291 AIX*)
15292
15293
15294 ac_ext=c
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15299
15300 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15301 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15302 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 else
15305 cat >conftest.$ac_ext <<_ACEOF
15306 /* confdefs.h. */
15307 _ACEOF
15308 cat confdefs.h >>conftest.$ac_ext
15309 cat >>conftest.$ac_ext <<_ACEOF
15310 /* end confdefs.h. */
15311
15312 int
15313 main ()
15314 {
15315
15316 #ifndef __xlC__
15317 choke me
15318 #endif
15319
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 rm -f conftest.$ac_objext
15325 if { (ac_try="$ac_compile"
15326 case "(($ac_try" in
15327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15328 *) ac_try_echo=$ac_try;;
15329 esac
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_compile") 2>conftest.er1
15332 ac_status=$?
15333 grep -v '^ *+' conftest.er1 >conftest.err
15334 rm -f conftest.er1
15335 cat conftest.err >&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } && {
15338 test -z "$ac_c_werror_flag" ||
15339 test ! -s conftest.err
15340 } && test -s conftest.$ac_objext; then
15341 bakefile_cv_c_compiler___xlC__=yes
15342 else
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15345
15346 bakefile_cv_c_compiler___xlC__=no
15347
15348 fi
15349
15350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15351
15352
15353 fi
15354 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15355 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15356 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15357 :; XLCC=yes
15358 else
15359 :;
15360 fi
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
15368
15369 ;;
15370
15371 Darwin)
15372
15373
15374 ac_ext=c
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15379
15380 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15381 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15382 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 else
15385 cat >conftest.$ac_ext <<_ACEOF
15386 /* confdefs.h. */
15387 _ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15391
15392 int
15393 main ()
15394 {
15395
15396 #ifndef __MWERKS__
15397 choke me
15398 #endif
15399
15400 ;
15401 return 0;
15402 }
15403 _ACEOF
15404 rm -f conftest.$ac_objext
15405 if { (ac_try="$ac_compile"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15409 esac
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_compile") 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest.$ac_objext; then
15421 bakefile_cv_c_compiler___MWERKS__=yes
15422 else
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 bakefile_cv_c_compiler___MWERKS__=no
15427
15428 fi
15429
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431
15432
15433 fi
15434 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15435 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15436 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15437 :; MWCC=yes
15438 else
15439 :;
15440 fi
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
15448
15449
15450
15451 ac_ext=c
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15456
15457 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15458 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15459 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 else
15462 cat >conftest.$ac_ext <<_ACEOF
15463 /* confdefs.h. */
15464 _ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468
15469 int
15470 main ()
15471 {
15472
15473 #ifndef __xlC__
15474 choke me
15475 #endif
15476
15477 ;
15478 return 0;
15479 }
15480 _ACEOF
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15486 esac
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 bakefile_cv_c_compiler___xlC__=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 bakefile_cv_c_compiler___xlC__=no
15504
15505 fi
15506
15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15508
15509
15510 fi
15511 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15512 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15513 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15514 :; XLCC=yes
15515 else
15516 :;
15517 fi
15518 ac_ext=c
15519 ac_cpp='$CPP $CPPFLAGS'
15520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15523
15524
15525
15526 ;;
15527
15528 IRIX*)
15529
15530
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15538 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542 cat >conftest.$ac_ext <<_ACEOF
15543 /* confdefs.h. */
15544 _ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548
15549 int
15550 main ()
15551 {
15552
15553 #ifndef _SGI_COMPILER_VERSION
15554 choke me
15555 #endif
15556
15557 ;
15558 return 0;
15559 }
15560 _ACEOF
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15566 esac
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15569 ac_status=$?
15570 grep -v '^ *+' conftest.er1 >conftest.err
15571 rm -f conftest.er1
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_c_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15584
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588
15589
15590 fi
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15592 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15593 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15594 :; SGICC=yes
15595 else
15596 :;
15597 fi
15598 ac_ext=c
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15603
15604
15605
15606 ;;
15607
15608 Linux*)
15609
15610
15611 ac_ext=c
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15616
15617 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15618 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15619 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628
15629 int
15630 main ()
15631 {
15632
15633 #ifndef __SUNPRO_C
15634 choke me
15635 #endif
15636
15637 ;
15638 return 0;
15639 }
15640 _ACEOF
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15646 esac
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15649 ac_status=$?
15650 grep -v '^ *+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_cv_c_compiler___SUNPRO_C=yes
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663 bakefile_cv_c_compiler___SUNPRO_C=no
15664
15665 fi
15666
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668
15669
15670 fi
15671 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15672 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15673 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15674 :; SUNCC=yes
15675 else
15676 :;
15677 fi
15678 ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
15684
15685
15686 ;;
15687
15688 HP-UX*)
15689
15690
15691 ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696
15697 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15698 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15699 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 else
15702 cat >conftest.$ac_ext <<_ACEOF
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708
15709 int
15710 main ()
15711 {
15712
15713 #ifndef __HP_cc
15714 choke me
15715 #endif
15716
15717 ;
15718 return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15726 esac
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15729 ac_status=$?
15730 grep -v '^ *+' conftest.er1 >conftest.err
15731 rm -f conftest.er1
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 bakefile_cv_c_compiler___HP_cc=yes
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743 bakefile_cv_c_compiler___HP_cc=no
15744
15745 fi
15746
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15748
15749
15750 fi
15751 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15752 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15753 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15754 :; HPCC=yes
15755 else
15756 :;
15757 fi
15758 ac_ext=c
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763
15764
15765
15766 ;;
15767
15768 OSF1)
15769
15770
15771 ac_ext=c
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15776
15777 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15778 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15779 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 else
15782 cat >conftest.$ac_ext <<_ACEOF
15783 /* confdefs.h. */
15784 _ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15788
15789 int
15790 main ()
15791 {
15792
15793 #ifndef __DECC
15794 choke me
15795 #endif
15796
15797 ;
15798 return 0;
15799 }
15800 _ACEOF
15801 rm -f conftest.$ac_objext
15802 if { (ac_try="$ac_compile"
15803 case "(($ac_try" in
15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 *) ac_try_echo=$ac_try;;
15806 esac
15807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15808 (eval "$ac_compile") 2>conftest.er1
15809 ac_status=$?
15810 grep -v '^ *+' conftest.er1 >conftest.err
15811 rm -f conftest.er1
15812 cat conftest.err >&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); } && {
15815 test -z "$ac_c_werror_flag" ||
15816 test ! -s conftest.err
15817 } && test -s conftest.$ac_objext; then
15818 bakefile_cv_c_compiler___DECC=yes
15819 else
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.$ac_ext >&5
15822
15823 bakefile_cv_c_compiler___DECC=no
15824
15825 fi
15826
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828
15829
15830 fi
15831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15832 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15833 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15834 :; COMPAQCC=yes
15835 else
15836 :;
15837 fi
15838 ac_ext=c
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843
15844
15845
15846 ;;
15847
15848 SunOS)
15849
15850
15851 ac_ext=c
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856
15857 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15858 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15859 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 else
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868
15869 int
15870 main ()
15871 {
15872
15873 #ifndef __SUNPRO_C
15874 choke me
15875 #endif
15876
15877 ;
15878 return 0;
15879 }
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (ac_try="$ac_compile"
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_compile") 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); } && {
15895 test -z "$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15897 } && test -s conftest.$ac_objext; then
15898 bakefile_cv_c_compiler___SUNPRO_C=yes
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15902
15903 bakefile_cv_c_compiler___SUNPRO_C=no
15904
15905 fi
15906
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15908
15909
15910 fi
15911 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15912 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15913 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15914 :; SUNCC=yes
15915 else
15916 :;
15917 fi
15918 ac_ext=c
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15923
15924
15925
15926 ;;
15927 esac
15928 fi
15929
15930
15931
15932 ac_ext=c
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15937 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15938 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15939 # On Suns, sometimes $CPP names a directory.
15940 if test -n "$CPP" && test -d "$CPP"; then
15941 CPP=
15942 fi
15943 if test -z "$CPP"; then
15944 if test "${ac_cv_prog_CPP+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 else
15947 # Double quotes because CPP needs to be expanded
15948 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15949 do
15950 ac_preproc_ok=false
15951 for ac_c_preproc_warn_flag in '' yes
15952 do
15953 # Use a header file that comes with gcc, so configuring glibc
15954 # with a fresh cross-compiler works.
15955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15956 # <limits.h> exists even on freestanding compilers.
15957 # On the NeXT, cc -E runs the code through the compiler's parser,
15958 # not just through cpp. "Syntax error" is here to catch this case.
15959 cat >conftest.$ac_ext <<_ACEOF
15960 /* confdefs.h. */
15961 _ACEOF
15962 cat confdefs.h >>conftest.$ac_ext
15963 cat >>conftest.$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15965 #ifdef __STDC__
15966 # include <limits.h>
15967 #else
15968 # include <assert.h>
15969 #endif
15970 Syntax error
15971 _ACEOF
15972 if { (ac_try="$ac_cpp conftest.$ac_ext"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } >/dev/null && {
15985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15987 }; then
15988 :
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 # Broken: fails on valid input.
15994 continue
15995 fi
15996
15997 rm -f conftest.err conftest.$ac_ext
15998
15999 # OK, works on sane cases. Now check whether nonexistent headers
16000 # can be detected and how.
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 #include <ac_nonexistent.h>
16008 _ACEOF
16009 if { (ac_try="$ac_cpp conftest.$ac_ext"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012 *) ac_try_echo=$ac_try;;
16013 esac
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16016 ac_status=$?
16017 grep -v '^ *+' conftest.er1 >conftest.err
16018 rm -f conftest.er1
16019 cat conftest.err >&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } >/dev/null && {
16022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16024 }; then
16025 # Broken: success on invalid input.
16026 continue
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16030
16031 # Passes both tests.
16032 ac_preproc_ok=:
16033 break
16034 fi
16035
16036 rm -f conftest.err conftest.$ac_ext
16037
16038 done
16039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16040 rm -f conftest.err conftest.$ac_ext
16041 if $ac_preproc_ok; then
16042 break
16043 fi
16044
16045 done
16046 ac_cv_prog_CPP=$CPP
16047
16048 fi
16049 CPP=$ac_cv_prog_CPP
16050 else
16051 ac_cv_prog_CPP=$CPP
16052 fi
16053 { echo "$as_me:$LINENO: result: $CPP" >&5
16054 echo "${ECHO_T}$CPP" >&6; }
16055 ac_preproc_ok=false
16056 for ac_c_preproc_warn_flag in '' yes
16057 do
16058 # Use a header file that comes with gcc, so configuring glibc
16059 # with a fresh cross-compiler works.
16060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 # <limits.h> exists even on freestanding compilers.
16062 # On the NeXT, cc -E runs the code through the compiler's parser,
16063 # not just through cpp. "Syntax error" is here to catch this case.
16064 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */
16066 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 #ifdef __STDC__
16071 # include <limits.h>
16072 #else
16073 # include <assert.h>
16074 #endif
16075 Syntax error
16076 _ACEOF
16077 if { (ac_try="$ac_cpp conftest.$ac_ext"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16081 esac
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16084 ac_status=$?
16085 grep -v '^ *+' conftest.er1 >conftest.err
16086 rm -f conftest.er1
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } >/dev/null && {
16090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16092 }; then
16093 :
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098 # Broken: fails on valid input.
16099 continue
16100 fi
16101
16102 rm -f conftest.err conftest.$ac_ext
16103
16104 # OK, works on sane cases. Now check whether nonexistent headers
16105 # can be detected and how.
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #include <ac_nonexistent.h>
16113 _ACEOF
16114 if { (ac_try="$ac_cpp conftest.$ac_ext"
16115 case "(($ac_try" in
16116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16117 *) ac_try_echo=$ac_try;;
16118 esac
16119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16121 ac_status=$?
16122 grep -v '^ *+' conftest.er1 >conftest.err
16123 rm -f conftest.er1
16124 cat conftest.err >&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } >/dev/null && {
16127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16128 test ! -s conftest.err
16129 }; then
16130 # Broken: success on invalid input.
16131 continue
16132 else
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.$ac_ext >&5
16135
16136 # Passes both tests.
16137 ac_preproc_ok=:
16138 break
16139 fi
16140
16141 rm -f conftest.err conftest.$ac_ext
16142
16143 done
16144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16145 rm -f conftest.err conftest.$ac_ext
16146 if $ac_preproc_ok; then
16147 :
16148 else
16149 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16150 See \`config.log' for more details." >&5
16151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16152 See \`config.log' for more details." >&2;}
16153 { (exit 1); exit 1; }; }
16154 fi
16155
16156 ac_ext=c
16157 ac_cpp='$CPP $CPPFLAGS'
16158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16161
16162
16163 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16164 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16165 if test "${ac_cv_path_GREP+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 # Extract the first word of "grep ggrep" to use in msg output
16169 if test -z "$GREP"; then
16170 set dummy grep ggrep; ac_prog_name=$2
16171 if test "${ac_cv_path_GREP+set}" = set; then
16172 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 else
16174 ac_path_GREP_found=false
16175 # Loop through the user's path and test for each of PROGNAME-LIST
16176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16177 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16178 do
16179 IFS=$as_save_IFS
16180 test -z "$as_dir" && as_dir=.
16181 for ac_prog in grep ggrep; do
16182 for ac_exec_ext in '' $ac_executable_extensions; do
16183 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16184 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16185 # Check for GNU ac_path_GREP and select it if it is found.
16186 # Check for GNU $ac_path_GREP
16187 case `"$ac_path_GREP" --version 2>&1` in
16188 *GNU*)
16189 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16190 *)
16191 ac_count=0
16192 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16193 while :
16194 do
16195 cat "conftest.in" "conftest.in" >"conftest.tmp"
16196 mv "conftest.tmp" "conftest.in"
16197 cp "conftest.in" "conftest.nl"
16198 echo 'GREP' >> "conftest.nl"
16199 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16200 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16201 ac_count=`expr $ac_count + 1`
16202 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16203 # Best one so far, save it but keep looking for a better one
16204 ac_cv_path_GREP="$ac_path_GREP"
16205 ac_path_GREP_max=$ac_count
16206 fi
16207 # 10*(2^10) chars as input seems more than enough
16208 test $ac_count -gt 10 && break
16209 done
16210 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16211 esac
16212
16213
16214 $ac_path_GREP_found && break 3
16215 done
16216 done
16217
16218 done
16219 IFS=$as_save_IFS
16220
16221
16222 fi
16223
16224 GREP="$ac_cv_path_GREP"
16225 if test -z "$GREP"; then
16226 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16227 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16228 { (exit 1); exit 1; }; }
16229 fi
16230
16231 else
16232 ac_cv_path_GREP=$GREP
16233 fi
16234
16235
16236 fi
16237 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16238 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16239 GREP="$ac_cv_path_GREP"
16240
16241
16242 { echo "$as_me:$LINENO: checking for egrep" >&5
16243 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16244 if test "${ac_cv_path_EGREP+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16248 then ac_cv_path_EGREP="$GREP -E"
16249 else
16250 # Extract the first word of "egrep" to use in msg output
16251 if test -z "$EGREP"; then
16252 set dummy egrep; ac_prog_name=$2
16253 if test "${ac_cv_path_EGREP+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 else
16256 ac_path_EGREP_found=false
16257 # Loop through the user's path and test for each of PROGNAME-LIST
16258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16260 do
16261 IFS=$as_save_IFS
16262 test -z "$as_dir" && as_dir=.
16263 for ac_prog in egrep; do
16264 for ac_exec_ext in '' $ac_executable_extensions; do
16265 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16266 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16267 # Check for GNU ac_path_EGREP and select it if it is found.
16268 # Check for GNU $ac_path_EGREP
16269 case `"$ac_path_EGREP" --version 2>&1` in
16270 *GNU*)
16271 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16272 *)
16273 ac_count=0
16274 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16275 while :
16276 do
16277 cat "conftest.in" "conftest.in" >"conftest.tmp"
16278 mv "conftest.tmp" "conftest.in"
16279 cp "conftest.in" "conftest.nl"
16280 echo 'EGREP' >> "conftest.nl"
16281 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16283 ac_count=`expr $ac_count + 1`
16284 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16285 # Best one so far, save it but keep looking for a better one
16286 ac_cv_path_EGREP="$ac_path_EGREP"
16287 ac_path_EGREP_max=$ac_count
16288 fi
16289 # 10*(2^10) chars as input seems more than enough
16290 test $ac_count -gt 10 && break
16291 done
16292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16293 esac
16294
16295
16296 $ac_path_EGREP_found && break 3
16297 done
16298 done
16299
16300 done
16301 IFS=$as_save_IFS
16302
16303
16304 fi
16305
16306 EGREP="$ac_cv_path_EGREP"
16307 if test -z "$EGREP"; then
16308 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16309 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16310 { (exit 1); exit 1; }; }
16311 fi
16312
16313 else
16314 ac_cv_path_EGREP=$EGREP
16315 fi
16316
16317
16318 fi
16319 fi
16320 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16321 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16322 EGREP="$ac_cv_path_EGREP"
16323
16324
16325 if test $ac_cv_c_compiler_gnu = yes; then
16326 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16327 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 ac_pattern="Autoconf.*'x'"
16332 cat >conftest.$ac_ext <<_ACEOF
16333 /* confdefs.h. */
16334 _ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <sgtty.h>
16339 Autoconf TIOCGETP
16340 _ACEOF
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16343 ac_cv_prog_gcc_traditional=yes
16344 else
16345 ac_cv_prog_gcc_traditional=no
16346 fi
16347 rm -f conftest*
16348
16349
16350 if test $ac_cv_prog_gcc_traditional = no; then
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 #include <termio.h>
16358 Autoconf TCGETA
16359 _ACEOF
16360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16361 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16362 ac_cv_prog_gcc_traditional=yes
16363 fi
16364 rm -f conftest*
16365
16366 fi
16367 fi
16368 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16369 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16370 if test $ac_cv_prog_gcc_traditional = yes; then
16371 CC="$CC -traditional"
16372 fi
16373 fi
16374
16375
16376 CXXFLAGS=${CXXFLAGS:=}
16377
16378
16379
16380 ac_ext=cpp
16381 ac_cpp='$CXXCPP $CPPFLAGS'
16382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16385 if test -z "$CXX"; then
16386 if test -n "$CCC"; then
16387 CXX=$CCC
16388 else
16389 if test -n "$ac_tool_prefix"; then
16390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16391 do
16392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16396 if test "${ac_cv_prog_CXX+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 else
16399 if test -n "$CXX"; then
16400 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16401 else
16402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16403 for as_dir in $PATH
16404 do
16405 IFS=$as_save_IFS
16406 test -z "$as_dir" && as_dir=.
16407 for ac_exec_ext in '' $ac_executable_extensions; do
16408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16409 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16411 break 2
16412 fi
16413 done
16414 done
16415 IFS=$as_save_IFS
16416
16417 fi
16418 fi
16419 CXX=$ac_cv_prog_CXX
16420 if test -n "$CXX"; then
16421 { echo "$as_me:$LINENO: result: $CXX" >&5
16422 echo "${ECHO_T}$CXX" >&6; }
16423 else
16424 { echo "$as_me:$LINENO: result: no" >&5
16425 echo "${ECHO_T}no" >&6; }
16426 fi
16427
16428
16429 test -n "$CXX" && break
16430 done
16431 fi
16432 if test -z "$CXX"; then
16433 ac_ct_CXX=$CXX
16434 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16435 do
16436 # Extract the first word of "$ac_prog", so it can be a program name with args.
16437 set dummy $ac_prog; ac_word=$2
16438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 else
16443 if test -n "$ac_ct_CXX"; then
16444 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16445 else
16446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16447 for as_dir in $PATH
16448 do
16449 IFS=$as_save_IFS
16450 test -z "$as_dir" && as_dir=.
16451 for ac_exec_ext in '' $ac_executable_extensions; do
16452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16453 ac_cv_prog_ac_ct_CXX="$ac_prog"
16454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16455 break 2
16456 fi
16457 done
16458 done
16459 IFS=$as_save_IFS
16460
16461 fi
16462 fi
16463 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16464 if test -n "$ac_ct_CXX"; then
16465 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16466 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16467 else
16468 { echo "$as_me:$LINENO: result: no" >&5
16469 echo "${ECHO_T}no" >&6; }
16470 fi
16471
16472
16473 test -n "$ac_ct_CXX" && break
16474 done
16475
16476 if test "x$ac_ct_CXX" = x; then
16477 CXX="g++"
16478 else
16479 case $cross_compiling:$ac_tool_warned in
16480 yes:)
16481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16482 whose name does not start with the host triplet. If you think this
16483 configuration is useful to you, please write to autoconf@gnu.org." >&5
16484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16485 whose name does not start with the host triplet. If you think this
16486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16487 ac_tool_warned=yes ;;
16488 esac
16489 CXX=$ac_ct_CXX
16490 fi
16491 fi
16492
16493 fi
16494 fi
16495 # Provide some information about the compiler.
16496 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16497 ac_compiler=`set X $ac_compile; echo $2`
16498 { (ac_try="$ac_compiler --version >&5"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16502 esac
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compiler --version >&5") 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }
16508 { (ac_try="$ac_compiler -v >&5"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16512 esac
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_compiler -v >&5") 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }
16518 { (ac_try="$ac_compiler -V >&5"
16519 case "(($ac_try" in
16520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16522 esac
16523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16524 (eval "$ac_compiler -V >&5") 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }
16528
16529 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16530 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 else
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540
16541 int
16542 main ()
16543 {
16544 #ifndef __GNUC__
16545 choke me
16546 #endif
16547
16548 ;
16549 return 0;
16550 }
16551 _ACEOF
16552 rm -f conftest.$ac_objext
16553 if { (ac_try="$ac_compile"
16554 case "(($ac_try" in
16555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16556 *) ac_try_echo=$ac_try;;
16557 esac
16558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_cxx_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.$ac_objext; then
16569 ac_compiler_gnu=yes
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 ac_compiler_gnu=no
16575 fi
16576
16577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16578 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16579
16580 fi
16581 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16582 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16583 GXX=`test $ac_compiler_gnu = yes && echo yes`
16584 ac_test_CXXFLAGS=${CXXFLAGS+set}
16585 ac_save_CXXFLAGS=$CXXFLAGS
16586 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16587 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16588 if test "${ac_cv_prog_cxx_g+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16592 ac_cxx_werror_flag=yes
16593 ac_cv_prog_cxx_g=no
16594 CXXFLAGS="-g"
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601
16602 int
16603 main ()
16604 {
16605
16606 ;
16607 return 0;
16608 }
16609 _ACEOF
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16615 esac
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_cxx_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_cv_prog_cxx_g=yes
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 CXXFLAGS=""
16633 cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h. */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639
16640 int
16641 main ()
16642 {
16643
16644 ;
16645 return 0;
16646 }
16647 _ACEOF
16648 rm -f conftest.$ac_objext
16649 if { (ac_try="$ac_compile"
16650 case "(($ac_try" in
16651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16652 *) ac_try_echo=$ac_try;;
16653 esac
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_compile") 2>conftest.er1
16656 ac_status=$?
16657 grep -v '^ *+' conftest.er1 >conftest.err
16658 rm -f conftest.er1
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } && {
16662 test -z "$ac_cxx_werror_flag" ||
16663 test ! -s conftest.err
16664 } && test -s conftest.$ac_objext; then
16665 :
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16669
16670 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16671 CXXFLAGS="-g"
16672 cat >conftest.$ac_ext <<_ACEOF
16673 /* confdefs.h. */
16674 _ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678
16679 int
16680 main ()
16681 {
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 ac_cv_prog_cxx_g=yes
16705 else
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16708
16709
16710 fi
16711
16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713 fi
16714
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16716 fi
16717
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16719 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16720 fi
16721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16722 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16723 if test "$ac_test_CXXFLAGS" = set; then
16724 CXXFLAGS=$ac_save_CXXFLAGS
16725 elif test $ac_cv_prog_cxx_g = yes; then
16726 if test "$GXX" = yes; then
16727 CXXFLAGS="-g -O2"
16728 else
16729 CXXFLAGS="-g"
16730 fi
16731 else
16732 if test "$GXX" = yes; then
16733 CXXFLAGS="-O2"
16734 else
16735 CXXFLAGS=
16736 fi
16737 fi
16738 ac_ext=c
16739 ac_cpp='$CPP $CPPFLAGS'
16740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16743
16744
16745
16746
16747 ac_ext=cpp
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16752
16753 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16754 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16755 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 cat >conftest.$ac_ext <<_ACEOF
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764
16765 int
16766 main ()
16767 {
16768
16769 #ifndef __INTEL_COMPILER
16770 choke me
16771 #endif
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16781 *) ac_try_echo=$ac_try;;
16782 esac
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16785 ac_status=$?
16786 grep -v '^ *+' conftest.er1 >conftest.err
16787 rm -f conftest.er1
16788 cat conftest.err >&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_cxx_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.$ac_objext; then
16794 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16795 else
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16798
16799 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16800
16801 fi
16802
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804
16805
16806 fi
16807 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16809 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16810 :; INTELCXX=yes
16811 else
16812 :;
16813 fi
16814 ac_ext=c
16815 ac_cpp='$CPP $CPPFLAGS'
16816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16819
16820
16821
16822
16823 if test "x$GCXX" != "xyes"; then
16824 if test "xCXX" = "xC"; then
16825 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16826 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16827 if test "${bakefile_cv_c_exto+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836
16837 int
16838 main ()
16839 {
16840
16841 ;
16842 return 0;
16843 }
16844 _ACEOF
16845 rm -f conftest.$ac_objext conftest.$ac_ext.o
16846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; then
16851 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16852 case $ac_file in
16853 conftest.$ac_ext.o)
16854 bakefile_cv_c_exto="-ext o"
16855 ;;
16856 *)
16857 ;;
16858 esac
16859 done
16860 else
16861 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16862 See \`config.log' for more details." >&5
16863 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16864 See \`config.log' for more details." >&2;}
16865 { (exit 1); exit 1; }; }
16866
16867 fi
16868
16869 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16870
16871 fi
16872 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16873 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16874 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16875 if test "c" = "c"; then
16876 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16877 fi
16878 if test "c" = "cxx"; then
16879 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16880 fi
16881 fi
16882
16883 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16884 unset ac_cv_prog_cc_g
16885 ac_test_CFLAGS=${CFLAGS+set}
16886 ac_save_CFLAGS=$CFLAGS
16887 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16888 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16889 if test "${ac_cv_prog_cc_g+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 else
16892 ac_save_c_werror_flag=$ac_c_werror_flag
16893 ac_c_werror_flag=yes
16894 ac_cv_prog_cc_g=no
16895 CFLAGS="-g"
16896 cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902
16903 int
16904 main ()
16905 {
16906
16907 ;
16908 return 0;
16909 }
16910 _ACEOF
16911 rm -f conftest.$ac_objext
16912 if { (ac_try="$ac_compile"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16916 esac
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compile") 2>conftest.er1
16919 ac_status=$?
16920 grep -v '^ *+' conftest.er1 >conftest.err
16921 rm -f conftest.er1
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } && {
16925 test -z "$ac_c_werror_flag" ||
16926 test ! -s conftest.err
16927 } && test -s conftest.$ac_objext; then
16928 ac_cv_prog_cc_g=yes
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16932
16933 CFLAGS=""
16934 cat >conftest.$ac_ext <<_ACEOF
16935 /* confdefs.h. */
16936 _ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940
16941 int
16942 main ()
16943 {
16944
16945 ;
16946 return 0;
16947 }
16948 _ACEOF
16949 rm -f conftest.$ac_objext
16950 if { (ac_try="$ac_compile"
16951 case "(($ac_try" in
16952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16953 *) ac_try_echo=$ac_try;;
16954 esac
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_compile") 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && {
16963 test -z "$ac_c_werror_flag" ||
16964 test ! -s conftest.err
16965 } && test -s conftest.$ac_objext; then
16966 :
16967 else
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.$ac_ext >&5
16970
16971 ac_c_werror_flag=$ac_save_c_werror_flag
16972 CFLAGS="-g"
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979
16980 int
16981 main ()
16982 {
16983
16984 ;
16985 return 0;
16986 }
16987 _ACEOF
16988 rm -f conftest.$ac_objext
16989 if { (ac_try="$ac_compile"
16990 case "(($ac_try" in
16991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16993 esac
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compile") 2>conftest.er1
16996 ac_status=$?
16997 grep -v '^ *+' conftest.er1 >conftest.err
16998 rm -f conftest.er1
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && {
17002 test -z "$ac_c_werror_flag" ||
17003 test ! -s conftest.err
17004 } && test -s conftest.$ac_objext; then
17005 ac_cv_prog_cc_g=yes
17006 else
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17009
17010
17011 fi
17012
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17014 fi
17015
17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17017 fi
17018
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020 ac_c_werror_flag=$ac_save_c_werror_flag
17021 fi
17022 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17024 if test "$ac_test_CFLAGS" = set; then
17025 CFLAGS=$ac_save_CFLAGS
17026 elif test $ac_cv_prog_cc_g = yes; then
17027 if test "$GCC" = yes; then
17028 CFLAGS="-g -O2"
17029 else
17030 CFLAGS="-g"
17031 fi
17032 else
17033 if test "$GCC" = yes; then
17034 CFLAGS="-O2"
17035 else
17036 CFLAGS=
17037 fi
17038 fi
17039 fi
17040 fi
17041
17042 case `uname -s` in
17043 AIX*)
17044
17045
17046 ac_ext=cpp
17047 ac_cpp='$CXXCPP $CPPFLAGS'
17048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17051
17052 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17053 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17054 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 else
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063
17064 int
17065 main ()
17066 {
17067
17068 #ifndef __xlC__
17069 choke me
17070 #endif
17071
17072 ;
17073 return 0;
17074 }
17075 _ACEOF
17076 rm -f conftest.$ac_objext
17077 if { (ac_try="$ac_compile"
17078 case "(($ac_try" in
17079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17080 *) ac_try_echo=$ac_try;;
17081 esac
17082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17083 (eval "$ac_compile") 2>conftest.er1
17084 ac_status=$?
17085 grep -v '^ *+' conftest.er1 >conftest.err
17086 rm -f conftest.er1
17087 cat conftest.err >&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } && {
17090 test -z "$ac_cxx_werror_flag" ||
17091 test ! -s conftest.err
17092 } && test -s conftest.$ac_objext; then
17093 bakefile_cv_cxx_compiler___xlC__=yes
17094 else
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17097
17098 bakefile_cv_cxx_compiler___xlC__=no
17099
17100 fi
17101
17102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103
17104
17105 fi
17106 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17107 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17108 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17109 :; XLCXX=yes
17110 else
17111 :;
17112 fi
17113 ac_ext=c
17114 ac_cpp='$CPP $CPPFLAGS'
17115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118
17119
17120
17121 ;;
17122
17123 Darwin)
17124
17125
17126 ac_ext=cpp
17127 ac_cpp='$CXXCPP $CPPFLAGS'
17128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17131
17132 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17133 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17134 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 else
17137 cat >conftest.$ac_ext <<_ACEOF
17138 /* confdefs.h. */
17139 _ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143
17144 int
17145 main ()
17146 {
17147
17148 #ifndef __MWERKS__
17149 choke me
17150 #endif
17151
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
17156 rm -f conftest.$ac_objext
17157 if { (ac_try="$ac_compile"
17158 case "(($ac_try" in
17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17161 esac
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_cxx_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 bakefile_cv_cxx_compiler___MWERKS__=yes
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 bakefile_cv_cxx_compiler___MWERKS__=no
17179
17180 fi
17181
17182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17183
17184
17185 fi
17186 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17187 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17188 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17189 :; MWCXX=yes
17190 else
17191 :;
17192 fi
17193 ac_ext=c
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17198
17199
17200
17201
17202
17203 ac_ext=cpp
17204 ac_cpp='$CXXCPP $CPPFLAGS'
17205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17208
17209 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17210 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17211 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220
17221 int
17222 main ()
17223 {
17224
17225 #ifndef __xlC__
17226 choke me
17227 #endif
17228
17229 ;
17230 return 0;
17231 }
17232 _ACEOF
17233 rm -f conftest.$ac_objext
17234 if { (ac_try="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17238 esac
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_cxx_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.$ac_objext; then
17250 bakefile_cv_cxx_compiler___xlC__=yes
17251 else
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.$ac_ext >&5
17254
17255 bakefile_cv_cxx_compiler___xlC__=no
17256
17257 fi
17258
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260
17261
17262 fi
17263 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17264 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17265 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17266 :; XLCXX=yes
17267 else
17268 :;
17269 fi
17270 ac_ext=c
17271 ac_cpp='$CPP $CPPFLAGS'
17272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17275
17276
17277
17278 ;;
17279
17280 IRIX*)
17281
17282
17283 ac_ext=cpp
17284 ac_cpp='$CXXCPP $CPPFLAGS'
17285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17288
17289 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17290 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17291 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 else
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300
17301 int
17302 main ()
17303 {
17304
17305 #ifndef _SGI_COMPILER_VERSION
17306 choke me
17307 #endif
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17336
17337 fi
17338
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340
17341
17342 fi
17343 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17344 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17345 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17346 :; SGICXX=yes
17347 else
17348 :;
17349 fi
17350 ac_ext=c
17351 ac_cpp='$CPP $CPPFLAGS'
17352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17355
17356
17357
17358 ;;
17359
17360 Linux*)
17361
17362
17363 ac_ext=cpp
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368
17369 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17370 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17371 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 else
17374 cat >conftest.$ac_ext <<_ACEOF
17375 /* confdefs.h. */
17376 _ACEOF
17377 cat confdefs.h >>conftest.$ac_ext
17378 cat >>conftest.$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17380
17381 int
17382 main ()
17383 {
17384
17385 #ifndef __SUNPRO_CC
17386 choke me
17387 #endif
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17416
17417 fi
17418
17419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420
17421
17422 fi
17423 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17424 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17425 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17426 :; SUNCXX=yes
17427 else
17428 :;
17429 fi
17430 ac_ext=c
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435
17436
17437
17438 ;;
17439
17440 HP-UX*)
17441
17442
17443 ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17448
17449 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17450 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17451 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 else
17454 cat >conftest.$ac_ext <<_ACEOF
17455 /* confdefs.h. */
17456 _ACEOF
17457 cat confdefs.h >>conftest.$ac_ext
17458 cat >>conftest.$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17460
17461 int
17462 main ()
17463 {
17464
17465 #ifndef __HP_aCC
17466 choke me
17467 #endif
17468
17469 ;
17470 return 0;
17471 }
17472 _ACEOF
17473 rm -f conftest.$ac_objext
17474 if { (ac_try="$ac_compile"
17475 case "(($ac_try" in
17476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17477 *) ac_try_echo=$ac_try;;
17478 esac
17479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17480 (eval "$ac_compile") 2>conftest.er1
17481 ac_status=$?
17482 grep -v '^ *+' conftest.er1 >conftest.err
17483 rm -f conftest.er1
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } && {
17487 test -z "$ac_cxx_werror_flag" ||
17488 test ! -s conftest.err
17489 } && test -s conftest.$ac_objext; then
17490 bakefile_cv_cxx_compiler___HP_aCC=yes
17491 else
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17494
17495 bakefile_cv_cxx_compiler___HP_aCC=no
17496
17497 fi
17498
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500
17501
17502 fi
17503 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17504 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17505 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17506 :; HPCXX=yes
17507 else
17508 :;
17509 fi
17510 ac_ext=c
17511 ac_cpp='$CPP $CPPFLAGS'
17512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17515
17516
17517
17518 ;;
17519
17520 OSF1)
17521
17522
17523 ac_ext=cpp
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17528
17529 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17530 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17531 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 else
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540
17541 int
17542 main ()
17543 {
17544
17545 #ifndef __DECCXX
17546 choke me
17547 #endif
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 rm -f conftest.$ac_objext
17554 if { (ac_try="$ac_compile"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17558 esac
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_compile") 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } && {
17567 test -z "$ac_cxx_werror_flag" ||
17568 test ! -s conftest.err
17569 } && test -s conftest.$ac_objext; then
17570 bakefile_cv_cxx_compiler___DECCXX=yes
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 bakefile_cv_cxx_compiler___DECCXX=no
17576
17577 fi
17578
17579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580
17581
17582 fi
17583 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17584 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17585 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17586 :; COMPAQCXX=yes
17587 else
17588 :;
17589 fi
17590 ac_ext=c
17591 ac_cpp='$CPP $CPPFLAGS'
17592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17595
17596
17597
17598 ;;
17599
17600 SunOS)
17601
17602
17603 ac_ext=cpp
17604 ac_cpp='$CXXCPP $CPPFLAGS'
17605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17608
17609 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17610 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17611 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 else
17614 cat >conftest.$ac_ext <<_ACEOF
17615 /* confdefs.h. */
17616 _ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620
17621 int
17622 main ()
17623 {
17624
17625 #ifndef __SUNPRO_CC
17626 choke me
17627 #endif
17628
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (ac_try="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17656
17657 fi
17658
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660
17661
17662 fi
17663 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17664 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17665 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17666 :; SUNCXX=yes
17667 else
17668 :;
17669 fi
17670 ac_ext=c
17671 ac_cpp='$CPP $CPPFLAGS'
17672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17675
17676
17677
17678 ;;
17679 esac
17680 fi
17681
17682
17683
17684 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17685 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17686 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17687 { (exit 1); exit 1; }; }
17688 fi
17689
17690 if test "x$SUNCXX" != xyes; then
17691 if test -n "$ac_tool_prefix"; then
17692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17693 set dummy ${ac_tool_prefix}ar; ac_word=$2
17694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17696 if test "${ac_cv_prog_AR+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 if test -n "$AR"; then
17700 ac_cv_prog_AR="$AR" # Let the user override the test.
17701 else
17702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17703 for as_dir in $PATH
17704 do
17705 IFS=$as_save_IFS
17706 test -z "$as_dir" && as_dir=.
17707 for ac_exec_ext in '' $ac_executable_extensions; do
17708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17709 ac_cv_prog_AR="${ac_tool_prefix}ar"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17711 break 2
17712 fi
17713 done
17714 done
17715 IFS=$as_save_IFS
17716
17717 fi
17718 fi
17719 AR=$ac_cv_prog_AR
17720 if test -n "$AR"; then
17721 { echo "$as_me:$LINENO: result: $AR" >&5
17722 echo "${ECHO_T}$AR" >&6; }
17723 else
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17726 fi
17727
17728
17729 fi
17730 if test -z "$ac_cv_prog_AR"; then
17731 ac_ct_AR=$AR
17732 # Extract the first word of "ar", so it can be a program name with args.
17733 set dummy ar; ac_word=$2
17734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 if test -n "$ac_ct_AR"; then
17740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17741 else
17742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17743 for as_dir in $PATH
17744 do
17745 IFS=$as_save_IFS
17746 test -z "$as_dir" && as_dir=.
17747 for ac_exec_ext in '' $ac_executable_extensions; do
17748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17749 ac_cv_prog_ac_ct_AR="ar"
17750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17751 break 2
17752 fi
17753 done
17754 done
17755 IFS=$as_save_IFS
17756
17757 fi
17758 fi
17759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17760 if test -n "$ac_ct_AR"; then
17761 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17762 echo "${ECHO_T}$ac_ct_AR" >&6; }
17763 else
17764 { echo "$as_me:$LINENO: result: no" >&5
17765 echo "${ECHO_T}no" >&6; }
17766 fi
17767
17768 if test "x$ac_ct_AR" = x; then
17769 AR=""
17770 else
17771 case $cross_compiling:$ac_tool_warned in
17772 yes:)
17773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17774 whose name does not start with the host triplet. If you think this
17775 configuration is useful to you, please write to autoconf@gnu.org." >&5
17776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17777 whose name does not start with the host triplet. If you think this
17778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17779 ac_tool_warned=yes ;;
17780 esac
17781 AR=$ac_ct_AR
17782 fi
17783 else
17784 AR="$ac_cv_prog_AR"
17785 fi
17786
17787 if test "x$AR" = "x" ; then
17788 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17789 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17790 { (exit 1); exit 1; }; }
17791 fi
17792 fi
17793
17794 retest_macosx_linking=no
17795
17796 #if test "$wxUSE_MAC" = 1; then
17797 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17798 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17799 # Implicitly turn on the new --with-macosx-sdk using the default
17800 # SDK which provides the behavior this option has always had.
17801 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17802 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17803 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17804 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17805 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17806 wxUSE_MACOSX_SDK=yes
17807 fi
17808 else
17809 # Complain to user if he specified an argument to --enable-universal_binary
17810 # and also 1) specified --with-macosx-sdk using the default (yes) or
17811 # 2) specified --with-macosx-sdk using a path or 3) specified
17812 # --without-macosx-sdk (no).
17813 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17814 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17815 See \`config.log' for more details." >&5
17816 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17817 See \`config.log' for more details." >&2;}
17818 { (exit 1); exit 1; }; }
17819 else
17820 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17821 # special-case the empty string because the below test simply
17822 # converts "no" to the empty string anyway.
17823 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17824 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17825 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17826 fi
17827 fi
17828 OSX_UNIV_OPTS="-arch ppc -arch i386"
17829 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17830 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17831 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17832 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17833 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17834 retest_macosx_linking=yes
17835
17836 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17837 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17838 bk_use_pch=no
17839 fi
17840 #fi
17841
17842 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17843 wxUSE_MACOSX_SDK=
17844 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17845 # TODO: Search for most recent SDK and use it.
17846 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17847 fi
17848
17849
17850 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17851 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17852 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17853 if ! test -d "$wxUSE_MACOSX_SDK"; then
17854 { { echo "$as_me:$LINENO: error: not found
17855 See \`config.log' for more details." >&5
17856 echo "$as_me: error: not found
17857 See \`config.log' for more details." >&2;}
17858 { (exit 1); exit 1; }; }
17859 else
17860 { echo "$as_me:$LINENO: result: exists" >&5
17861 echo "${ECHO_T}exists" >&6; }
17862 fi
17863 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17864 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17865 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17866 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17867 retest_macosx_linking=yes
17868 fi
17869
17870 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17871 wxUSE_MACOSX_VERSION_MIN=
17872 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17873 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17874 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17875 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17876
17877 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/'`
17878
17879 # If that failed, try again with the new key
17880 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17881
17882 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/'`
17883
17884 fi
17885
17886 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17887 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17888 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17889 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17890 else
17891 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17892 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17893 wxUSE_MACOSX_VERSION_MIN=
17894 fi
17895 else
17896 wxUSE_MACOSX_VERSION_MIN=
17897 fi
17898 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17899 if test "$wxUSE_MAC" = 1; then
17900 # otherwise configure stops on leopard for universal_binary
17901 wxUSE_MACOSX_VERSION_MIN=10.4
17902 fi
17903 fi
17904
17905 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17906 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17907 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17908 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17909 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17910 retest_macosx_linking=yes
17911 fi
17912
17913 if test "x$retest_macosx_linking" = "xyes"; then
17914 ac_ext=c
17915 ac_cpp='$CPP $CPPFLAGS'
17916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17919
17920 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17921 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928
17929 int
17930 main ()
17931 {
17932
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (ac_try="$ac_link"
17939 case "(($ac_try" in
17940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17942 esac
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_link") 2>conftest.er1
17945 ac_status=$?
17946 grep -v '^ *+' conftest.er1 >conftest.err
17947 rm -f conftest.er1
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } && {
17951 test -z "$ac_c_werror_flag" ||
17952 test ! -s conftest.err
17953 } && test -s conftest$ac_exeext &&
17954 $as_test_x conftest$ac_exeext; then
17955 { echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6; }
17957 else
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17960
17961 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17962 See \`config.log' for more details." >&5
17963 echo "$as_me: error: no. Try a different SDK
17964 See \`config.log' for more details." >&2;}
17965 { (exit 1); exit 1; }; }; exit 1
17966 fi
17967
17968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17969 conftest$ac_exeext conftest.$ac_ext
17970 ac_ext=c
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17975
17976
17977 ac_ext=cpp
17978 ac_cpp='$CXXCPP $CPPFLAGS'
17979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17982
17983 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17984 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17985 cat >conftest.$ac_ext <<_ACEOF
17986 /* confdefs.h. */
17987 _ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991
17992 int
17993 main ()
17994 {
17995
17996 ;
17997 return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest.$ac_objext conftest$ac_exeext
18001 if { (ac_try="$ac_link"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18005 esac
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_link") 2>conftest.er1
18008 ac_status=$?
18009 grep -v '^ *+' conftest.er1 >conftest.err
18010 rm -f conftest.er1
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_cxx_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest$ac_exeext &&
18017 $as_test_x conftest$ac_exeext; then
18018 { echo "$as_me:$LINENO: result: yes" >&5
18019 echo "${ECHO_T}yes" >&6; }
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18023
18024 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18025 See \`config.log' for more details." >&5
18026 echo "$as_me: error: no. Try a different SDK
18027 See \`config.log' for more details." >&2;}
18028 { (exit 1); exit 1; }; }; exit 1
18029 fi
18030
18031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18032 conftest$ac_exeext conftest.$ac_ext
18033 ac_ext=c
18034 ac_cpp='$CPP $CPPFLAGS'
18035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18038
18039 fi
18040
18041
18042 case "${host}" in
18043
18044 *-*-darwin* )
18045 INSTALL_PROGRAM="cp -fp"
18046 INSTALL_DATA="cp -fp"
18047 ;;
18048 *)
18049 ;;
18050 esac
18051
18052
18053 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18054 CXXFLAGS="-qunique $CXXFLAGS"
18055 fi
18056
18057 case "${host}" in
18058 powerpc-*-darwin* )
18059 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18060 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18061 cat >conftest.$ac_ext <<_ACEOF
18062 /* confdefs.h. */
18063 _ACEOF
18064 cat confdefs.h >>conftest.$ac_ext
18065 cat >>conftest.$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18067
18068 int
18069 main ()
18070 {
18071 #ifndef __POWERPC__
18072 choke me for lack of PowerPC
18073 #endif
18074
18075 ;
18076 return 0;
18077 }
18078 _ACEOF
18079 rm -f conftest.$ac_objext
18080 if { (ac_try="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18087 ac_status=$?
18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 { echo "$as_me:$LINENO: result: yes" >&5
18097 echo "${ECHO_T}yes" >&6; }
18098 else
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18101
18102 { echo "$as_me:$LINENO: result: no" >&5
18103 echo "${ECHO_T}no" >&6; }
18104 cat >>confdefs.h <<\_ACEOF
18105 #define __POWERPC__ 1
18106 _ACEOF
18107
18108
18109 fi
18110
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 ;;
18113 esac
18114
18115 case "${host}" in
18116 *-*-darwin* )
18117 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18118 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18119 cat >conftest.$ac_ext <<_ACEOF
18120 /* confdefs.h. */
18121 _ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <CoreFoundation/CFBase.h>
18126
18127 int
18128 main ()
18129 {
18130
18131 ;
18132 return 0;
18133 }
18134 _ACEOF
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18140 esac
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.$ac_objext; then
18152 { echo "$as_me:$LINENO: result: yes" >&5
18153 echo "${ECHO_T}yes" >&6; }
18154 else
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18157
18158 { echo "$as_me:$LINENO: result: no" >&5
18159 echo "${ECHO_T}no" >&6; }
18160 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18161 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 #define __CF_USE_FRAMEWORK_INCLUDES__
18169 #include <CoreFoundation/CFBase.h>
18170
18171 int
18172 main ()
18173 {
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 rm -f conftest.$ac_objext
18180 if { (ac_try="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18184 esac
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_c_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 { echo "$as_me:$LINENO: result: yes" >&5
18197 echo "${ECHO_T}yes" >&6; }
18198 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18202
18203 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18204 See \`config.log' for more details." >&5
18205 echo "$as_me: error: no. CoreFoundation not available.
18206 See \`config.log' for more details." >&2;}
18207 { (exit 1); exit 1; }; }
18208
18209 fi
18210
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212
18213
18214 fi
18215
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 ;;
18218 esac
18219
18220 wants_win32=0
18221 doesnt_want_win32=0
18222 case "${host}" in
18223 *-*-cygwin*)
18224 if test "$wxUSE_MSW" = 1 ; then
18225 wants_win32=1
18226 else
18227 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18228 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18229 if test "${wx_cv_nocygwin+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239
18240 int
18241 main ()
18242 {
18243
18244 #ifdef __MINGW32__
18245 choke me
18246 #endif
18247
18248 ;
18249 return 0;
18250 }
18251 _ACEOF
18252 rm -f conftest.$ac_objext
18253 if { (ac_try="$ac_compile"
18254 case "(($ac_try" in
18255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18256 *) ac_try_echo=$ac_try;;
18257 esac
18258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_compile") 2>conftest.er1
18260 ac_status=$?
18261 grep -v '^ *+' conftest.er1 >conftest.err
18262 rm -f conftest.er1
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } && {
18266 test -z "$ac_c_werror_flag" ||
18267 test ! -s conftest.err
18268 } && test -s conftest.$ac_objext; then
18269 wx_cv_nocygwin=no
18270 else
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18273
18274 wx_cv_nocygwin=yes
18275
18276 fi
18277
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279
18280
18281 fi
18282 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18283 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18284
18285 if test "$wx_cv_nocygwin" = "yes"; then
18286 wants_win32=1
18287 else
18288 doesnt_want_win32=1
18289 fi
18290 fi
18291 if test "$wants_win32" = 1 ; then
18292 BAKEFILE_FORCE_PLATFORM=win32
18293 fi
18294 ;;
18295 *-*-mingw*)
18296 wants_win32=1
18297 ;;
18298 esac
18299
18300 if test "$wxUSE_WINE" = "yes"; then
18301 wants_win32=1
18302 LDFLAGS_GUI="-mwindows"
18303 fi
18304
18305 if test "$wants_win32" = 1 ; then
18306 USE_UNIX=0
18307 USE_WIN32=1
18308 cat >>confdefs.h <<\_ACEOF
18309 #define __WIN32__ 1
18310 _ACEOF
18311
18312 cat >>confdefs.h <<\_ACEOF
18313 #define __WIN95__ 1
18314 _ACEOF
18315
18316 cat >>confdefs.h <<\_ACEOF
18317 #define __WINDOWS__ 1
18318 _ACEOF
18319
18320 cat >>confdefs.h <<\_ACEOF
18321 #define __GNUWIN32__ 1
18322 _ACEOF
18323
18324 cat >>confdefs.h <<\_ACEOF
18325 #define STRICT 1
18326 _ACEOF
18327
18328 fi
18329 if test "$doesnt_want_win32" = 1 ; then
18330 USE_UNIX=1
18331 USE_WIN32=0
18332 fi
18333
18334 if test "$USE_UNIX" = 1 ; then
18335 wxUSE_UNIX=yes
18336 cat >>confdefs.h <<\_ACEOF
18337 #define __UNIX__ 1
18338 _ACEOF
18339
18340 fi
18341
18342 case "${host}" in
18343 *-pc-os2_emx | *-pc-os2-emx )
18344 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18345 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18346 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18347 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 else
18350 ac_check_lib_save_LIBS=$LIBS
18351 LIBS="-lcExt $LIBS"
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 #ifdef __cplusplus
18363 extern "C"
18364 #endif
18365 char drand48 ();
18366 int
18367 main ()
18368 {
18369 return drand48 ();
18370 ;
18371 return 0;
18372 }
18373 _ACEOF
18374 rm -f conftest.$ac_objext conftest$ac_exeext
18375 if { (ac_try="$ac_link"
18376 case "(($ac_try" in
18377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18378 *) ac_try_echo=$ac_try;;
18379 esac
18380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18381 (eval "$ac_link") 2>conftest.er1
18382 ac_status=$?
18383 grep -v '^ *+' conftest.er1 >conftest.err
18384 rm -f conftest.er1
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } && {
18388 test -z "$ac_c_werror_flag" ||
18389 test ! -s conftest.err
18390 } && test -s conftest$ac_exeext &&
18391 $as_test_x conftest$ac_exeext; then
18392 ac_cv_lib_cExt_drand48=yes
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18396
18397 ac_cv_lib_cExt_drand48=no
18398 fi
18399
18400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18403 fi
18404 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18405 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18406 if test $ac_cv_lib_cExt_drand48 = yes; then
18407 LIBS="$LIBS -lcExt"
18408 fi
18409
18410 else
18411 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18412 fi
18413 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18414 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18415 if test "${wx_cv_gccversion+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18417 else
18418
18419 if test "$cross_compiling" = yes; then
18420 wx_cv_gccversion="EMX2"
18421
18422 else
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429
18430 #include <stdio.h>
18431
18432 int main()
18433 {
18434 FILE *f=fopen("conftestval", "w");
18435 if (!f) exit(1);
18436 fprintf(f,
18437 #if (__GNUC__ < 3)
18438 "EMX2"
18439 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18440 "EMX3"
18441 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18442 "Innotek5"
18443 #else
18444 "Innotek6"
18445 #endif
18446 );
18447 exit(0);
18448 }
18449
18450 _ACEOF
18451 rm -f conftest$ac_exeext
18452 if { (ac_try="$ac_link"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_link") 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18462 { (case "(($ac_try" in
18463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18464 *) ac_try_echo=$ac_try;;
18465 esac
18466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18467 (eval "$ac_try") 2>&5
18468 ac_status=$?
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 wx_cv_gccversion=`cat conftestval`
18472 else
18473 echo "$as_me: program exited with status $ac_status" >&5
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18476
18477 ( exit $ac_status )
18478 wx_cv_gccversion="EMX2"
18479 fi
18480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18481 fi
18482
18483
18484
18485 fi
18486 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18487 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18488 if test "$wx_cv_gccversion" = "EMX2"; then
18489 LIBS="$LIBS -lstdcpp"
18490 LDFLAGS="$LDFLAGS -Zsysv-signals"
18491 else
18492 if test "$wx_cv_gccversion" = "EMX3"; then
18493 LIBS="$LIBS -lstdcxx -lgcc"
18494 LDFLAGS="$LDFLAGS -Zsysv-signals"
18495 else
18496 LIBS="$LIBS -lstdc++"
18497 fi
18498 fi
18499 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18500 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18501 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18502 wxUSE_OMF=yes
18503 enable_omf=yes
18504 fi
18505 ;;
18506 *)
18507
18508 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18509 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18510 if test "${ac_cv_string_strcasecmp+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520
18521 #include <string.h>
18522
18523 int
18524 main ()
18525 {
18526
18527 strcasecmp("foo", "bar");
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext conftest$ac_exeext
18534 if { (ac_try="$ac_link"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_link") 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest$ac_exeext &&
18550 $as_test_x conftest$ac_exeext; then
18551 ac_cv_string_strcasecmp=yes
18552 else
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18555
18556 ac_cv_string_strcasecmp=no
18557
18558 fi
18559
18560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18561 conftest$ac_exeext conftest.$ac_ext
18562
18563 fi
18564 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18565 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18566
18567 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18568 cat >>confdefs.h <<\_ACEOF
18569 #define HAVE_STRCASECMP_IN_STRING_H 1
18570 _ACEOF
18571
18572 else
18573 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18574 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18575 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 else
18578
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585
18586 #include <strings.h>
18587
18588 int
18589 main ()
18590 {
18591
18592 strcasecmp("foo", "bar");
18593
18594 ;
18595 return 0;
18596 }
18597 _ACEOF
18598 rm -f conftest.$ac_objext conftest$ac_exeext
18599 if { (ac_try="$ac_link"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18603 esac
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_link") 2>conftest.er1
18606 ac_status=$?
18607 grep -v '^ *+' conftest.er1 >conftest.err
18608 rm -f conftest.er1
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_c_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest$ac_exeext &&
18615 $as_test_x conftest$ac_exeext; then
18616 ac_cv_strings_strcasecmp=yes
18617 else
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18620
18621 ac_cv_strings_strcasecmp=no
18622
18623 fi
18624
18625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18626 conftest$ac_exeext conftest.$ac_ext
18627
18628 fi
18629 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18630 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18631
18632 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18633 cat >>confdefs.h <<\_ACEOF
18634 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18635 _ACEOF
18636
18637 else
18638 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18639 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18640 { (exit 1); exit 1; }; }
18641 fi
18642 fi
18643
18644 ;;
18645 esac
18646
18647
18648 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18649 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18650 if test "${ac_cv_header_stdc+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 else
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <stdlib.h>
18660 #include <stdarg.h>
18661 #include <string.h>
18662 #include <float.h>
18663
18664 int
18665 main ()
18666 {
18667
18668 ;
18669 return 0;
18670 }
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_header_stdc=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18693
18694 ac_cv_header_stdc=no
18695 fi
18696
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698
18699 if test $ac_cv_header_stdc = yes; then
18700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18701 cat >conftest.$ac_ext <<_ACEOF
18702 /* confdefs.h. */
18703 _ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <string.h>
18708
18709 _ACEOF
18710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18711 $EGREP "memchr" >/dev/null 2>&1; then
18712 :
18713 else
18714 ac_cv_header_stdc=no
18715 fi
18716 rm -f conftest*
18717
18718 fi
18719
18720 if test $ac_cv_header_stdc = yes; then
18721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18722 cat >conftest.$ac_ext <<_ACEOF
18723 /* confdefs.h. */
18724 _ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <stdlib.h>
18729
18730 _ACEOF
18731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18732 $EGREP "free" >/dev/null 2>&1; then
18733 :
18734 else
18735 ac_cv_header_stdc=no
18736 fi
18737 rm -f conftest*
18738
18739 fi
18740
18741 if test $ac_cv_header_stdc = yes; then
18742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18743 if test "$cross_compiling" = yes; then
18744 :
18745 else
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <ctype.h>
18753 #include <stdlib.h>
18754 #if ((' ' & 0x0FF) == 0x020)
18755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18757 #else
18758 # define ISLOWER(c) \
18759 (('a' <= (c) && (c) <= 'i') \
18760 || ('j' <= (c) && (c) <= 'r') \
18761 || ('s' <= (c) && (c) <= 'z'))
18762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18763 #endif
18764
18765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18766 int
18767 main ()
18768 {
18769 int i;
18770 for (i = 0; i < 256; i++)
18771 if (XOR (islower (i), ISLOWER (i))
18772 || toupper (i) != TOUPPER (i))
18773 return 2;
18774 return 0;
18775 }
18776 _ACEOF
18777 rm -f conftest$ac_exeext
18778 if { (ac_try="$ac_link"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782 esac
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_link") 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18788 { (case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18791 esac
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_try") 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 :
18798 else
18799 echo "$as_me: program exited with status $ac_status" >&5
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803 ( exit $ac_status )
18804 ac_cv_header_stdc=no
18805 fi
18806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18807 fi
18808
18809
18810 fi
18811 fi
18812 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18813 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18814 if test $ac_cv_header_stdc = yes; then
18815
18816 cat >>confdefs.h <<\_ACEOF
18817 #define STDC_HEADERS 1
18818 _ACEOF
18819
18820 fi
18821
18822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18833 inttypes.h stdint.h unistd.h
18834 do
18835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 else
18841 cat >conftest.$ac_ext <<_ACEOF
18842 /* confdefs.h. */
18843 _ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18848
18849 #include <$ac_header>
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18856 esac
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 eval "$as_ac_Header=yes"
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 eval "$as_ac_Header=no"
18874 fi
18875
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18877 fi
18878 ac_res=`eval echo '${'$as_ac_Header'}'`
18879 { echo "$as_me:$LINENO: result: $ac_res" >&5
18880 echo "${ECHO_T}$ac_res" >&6; }
18881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18882 cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18884 _ACEOF
18885
18886 fi
18887
18888 done
18889
18890
18891
18892
18893 for ac_header in langinfo.h wchar.h
18894 do
18895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18908
18909 #include <$ac_header>
18910 _ACEOF
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18916 esac
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18919 ac_status=$?
18920 grep -v '^ *+' conftest.er1 >conftest.err
18921 rm -f conftest.er1
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 eval "$as_ac_Header=yes"
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18932
18933 eval "$as_ac_Header=no"
18934 fi
18935
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 fi
18938 ac_res=`eval echo '${'$as_ac_Header'}'`
18939 { echo "$as_me:$LINENO: result: $ac_res" >&5
18940 echo "${ECHO_T}$ac_res" >&6; }
18941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18942 cat >>confdefs.h <<_ACEOF
18943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18944 _ACEOF
18945
18946 fi
18947
18948 done
18949
18950
18951 if test "$ac_cv_header_wchar_h" != "yes"; then
18952
18953 for ac_header in wcstr.h
18954 do
18955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 else
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18968
18969 #include <$ac_header>
18970 _ACEOF
18971 rm -f conftest.$ac_objext
18972 if { (ac_try="$ac_compile"
18973 case "(($ac_try" in
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18976 esac
18977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_compile") 2>conftest.er1
18979 ac_status=$?
18980 grep -v '^ *+' conftest.er1 >conftest.err
18981 rm -f conftest.er1
18982 cat conftest.err >&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } && {
18985 test -z "$ac_c_werror_flag" ||
18986 test ! -s conftest.err
18987 } && test -s conftest.$ac_objext; then
18988 eval "$as_ac_Header=yes"
18989 else
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18992
18993 eval "$as_ac_Header=no"
18994 fi
18995
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 fi
18998 ac_res=`eval echo '${'$as_ac_Header'}'`
18999 { echo "$as_me:$LINENO: result: $ac_res" >&5
19000 echo "${ECHO_T}$ac_res" >&6; }
19001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19002 cat >>confdefs.h <<_ACEOF
19003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19004 _ACEOF
19005
19006 fi
19007
19008 done
19009
19010 fi
19011
19012 case "${host}" in
19013 *-pc-os2_emx | *-pc-os2-emx )
19014 if test $ac_cv_header_langinfo_h = "yes" \
19015 -a \( "$wx_cv_gccversion" = "EMX2" \
19016 -o "$wx_cv_gccversion" = "EMX3" \
19017 -o "$wx_cv_gccversion" = "Innotek5" \); then
19018 LIBS="$LIBS -lintl"
19019 fi
19020 ;;
19021 esac
19022
19023 if test "$USE_UNIX" = 1 ; then
19024
19025 for ac_header in sys/select.h
19026 do
19027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19040
19041 #include <$ac_header>
19042 _ACEOF
19043 rm -f conftest.$ac_objext
19044 if { (ac_try="$ac_compile"
19045 case "(($ac_try" in
19046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19047 *) ac_try_echo=$ac_try;;
19048 esac
19049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19050 (eval "$ac_compile") 2>conftest.er1
19051 ac_status=$?
19052 grep -v '^ *+' conftest.er1 >conftest.err
19053 rm -f conftest.er1
19054 cat conftest.err >&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); } && {
19057 test -z "$ac_c_werror_flag" ||
19058 test ! -s conftest.err
19059 } && test -s conftest.$ac_objext; then
19060 eval "$as_ac_Header=yes"
19061 else
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.$ac_ext >&5
19064
19065 eval "$as_ac_Header=no"
19066 fi
19067
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 fi
19070 ac_res=`eval echo '${'$as_ac_Header'}'`
19071 { echo "$as_me:$LINENO: result: $ac_res" >&5
19072 echo "${ECHO_T}$ac_res" >&6; }
19073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19074 cat >>confdefs.h <<_ACEOF
19075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19076 _ACEOF
19077
19078 fi
19079
19080 done
19081
19082 fi
19083
19084
19085 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19086 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19087 if test "${ac_cv_c_const+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 else
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096
19097 int
19098 main ()
19099 {
19100 /* FIXME: Include the comments suggested by Paul. */
19101 #ifndef __cplusplus
19102 /* Ultrix mips cc rejects this. */
19103 typedef int charset[2];
19104 const charset cs;
19105 /* SunOS 4.1.1 cc rejects this. */
19106 char const *const *pcpcc;
19107 char **ppc;
19108 /* NEC SVR4.0.2 mips cc rejects this. */
19109 struct point {int x, y;};
19110 static struct point const zero = {0,0};
19111 /* AIX XL C 1.02.0.0 rejects this.
19112 It does not let you subtract one const X* pointer from another in
19113 an arm of an if-expression whose if-part is not a constant
19114 expression */
19115 const char *g = "string";
19116 pcpcc = &g + (g ? g-g : 0);
19117 /* HPUX 7.0 cc rejects these. */
19118 ++pcpcc;
19119 ppc = (char**) pcpcc;
19120 pcpcc = (char const *const *) ppc;
19121 { /* SCO 3.2v4 cc rejects this. */
19122 char *t;
19123 char const *s = 0 ? (char *) 0 : (char const *) 0;
19124
19125 *t++ = 0;
19126 if (s) return 0;
19127 }
19128 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19129 int x[] = {25, 17};
19130 const int *foo = &x[0];
19131 ++foo;
19132 }
19133 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19134 typedef const int *iptr;
19135 iptr p = 0;
19136 ++p;
19137 }
19138 { /* AIX XL C 1.02.0.0 rejects this saying
19139 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19140 struct s { int j; const int *ap[3]; };
19141 struct s *b; b->j = 5;
19142 }
19143 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19144 const int foo = 10;
19145 if (!foo) return 0;
19146 }
19147 return !cs[0] && !zero.x;
19148 #endif
19149
19150 ;
19151 return 0;
19152 }
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19159 esac
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19162 ac_status=$?
19163 grep -v '^ *+' conftest.er1 >conftest.err
19164 rm -f conftest.er1
19165 cat conftest.err >&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.$ac_objext; then
19171 ac_cv_c_const=yes
19172 else
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19175
19176 ac_cv_c_const=no
19177 fi
19178
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19180 fi
19181 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19182 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19183 if test $ac_cv_c_const = no; then
19184
19185 cat >>confdefs.h <<\_ACEOF
19186 #define const
19187 _ACEOF
19188
19189 fi
19190
19191 { echo "$as_me:$LINENO: checking for inline" >&5
19192 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19193 if test "${ac_cv_c_inline+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19196 ac_cv_c_inline=no
19197 for ac_kw in inline __inline__ __inline; do
19198 cat >conftest.$ac_ext <<_ACEOF
19199 /* confdefs.h. */
19200 _ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #ifndef __cplusplus
19205 typedef int foo_t;
19206 static $ac_kw foo_t static_foo () {return 0; }
19207 $ac_kw foo_t foo () {return 0; }
19208 #endif
19209
19210 _ACEOF
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19216 esac
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_c_inline=$ac_kw
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19232
19233
19234 fi
19235
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 test "$ac_cv_c_inline" != no && break
19238 done
19239
19240 fi
19241 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19242 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19243
19244
19245 case $ac_cv_c_inline in
19246 inline | yes) ;;
19247 *)
19248 case $ac_cv_c_inline in
19249 no) ac_val=;;
19250 *) ac_val=$ac_cv_c_inline;;
19251 esac
19252 cat >>confdefs.h <<_ACEOF
19253 #ifndef __cplusplus
19254 #define inline $ac_val
19255 #endif
19256 _ACEOF
19257 ;;
19258 esac
19259
19260
19261 { echo "$as_me:$LINENO: checking for short" >&5
19262 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19263 if test "${ac_cv_type_short+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef short ac__type_new_;
19274 int
19275 main ()
19276 {
19277 if ((ac__type_new_ *) 0)
19278 return 0;
19279 if (sizeof (ac__type_new_))
19280 return 0;
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_cv_type_short=yes
19303 else
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19306
19307 ac_cv_type_short=no
19308 fi
19309
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 fi
19312 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19313 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19314
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of short" >&5
19320 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_short+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 else
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19361 ac_lo=0 ac_mid=0
19362 while :; do
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef short ac__type_sizeof_;
19371 int
19372 main ()
19373 {
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19375 test_array [0] = 0
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_hi=$ac_mid; break
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_lo=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19405 ac_lo= ac_hi=
19406 break
19407 fi
19408 ac_mid=`expr 2 '*' $ac_mid + 1`
19409 fi
19410
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 done
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef short ac__type_sizeof_;
19425 int
19426 main ()
19427 {
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19429 test_array [0] = 0
19430
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext
19436 if { (ac_try="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19440 esac
19441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19443 ac_status=$?
19444 grep -v '^ *+' conftest.er1 >conftest.err
19445 rm -f conftest.er1
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19452 ac_hi=-1 ac_mid=-1
19453 while :; do
19454 cat >conftest.$ac_ext <<_ACEOF
19455 /* confdefs.h. */
19456 _ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef short ac__type_sizeof_;
19462 int
19463 main ()
19464 {
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19466 test_array [0] = 0
19467
19468 ;
19469 return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19480 ac_status=$?
19481 grep -v '^ *+' conftest.er1 >conftest.err
19482 rm -f conftest.er1
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_lo=$ac_mid; break
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ac_hi=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19496 ac_lo= ac_hi=
19497 break
19498 fi
19499 ac_mid=`expr 2 '*' $ac_mid`
19500 fi
19501
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 done
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_lo= ac_hi=
19509 fi
19510
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512 fi
19513
19514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x$ac_lo" != "x$ac_hi"; do
19517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef short ac__type_sizeof_;
19526 int
19527 main ()
19528 {
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19530 test_array [0] = 0
19531
19532 ;
19533 return 0;
19534 }
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19541 esac
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19544 ac_status=$?
19545 grep -v '^ *+' conftest.er1 >conftest.err
19546 rm -f conftest.er1
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_hi=$ac_mid
19554 else
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19557
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19559 fi
19560
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 done
19563 case $ac_lo in
19564 ?*) ac_cv_sizeof_short=$ac_lo;;
19565 '') if test "$ac_cv_type_short" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (short)
19569 See \`config.log' for more details." >&2;}
19570 { (exit 77); exit 77; }; }
19571 else
19572 ac_cv_sizeof_short=0
19573 fi ;;
19574 esac
19575 else
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef short ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19586 #include <stdio.h>
19587 #include <stdlib.h>
19588 int
19589 main ()
19590 {
19591
19592 FILE *f = fopen ("conftest.val", "w");
19593 if (! f)
19594 return 1;
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19596 {
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19599 return 1;
19600 fprintf (f, "%ld\n", i);
19601 }
19602 else
19603 {
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19606 return 1;
19607 fprintf (f, "%lu\n", i);
19608 }
19609 return ferror (f) || fclose (f) != 0;
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_short=`cat conftest.val`
19636 else
19637 echo "$as_me: program exited with status $ac_status" >&5
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19640
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_short" = yes; then
19643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19644 See \`config.log' for more details." >&5
19645 echo "$as_me: error: cannot compute sizeof (short)
19646 See \`config.log' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19648 else
19649 ac_cv_sizeof_short=0
19650 fi
19651 fi
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19653 fi
19654 rm -f conftest.val
19655 fi
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19658
19659
19660
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_SHORT $ac_cv_sizeof_short
19663 _ACEOF
19664
19665
19666 { echo "$as_me:$LINENO: checking for void *" >&5
19667 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_void_p+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef void * ac__type_new_;
19679 int
19680 main ()
19681 {
19682 if ((ac__type_new_ *) 0)
19683 return 0;
19684 if (sizeof (ac__type_new_))
19685 return 0;
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_cv_type_void_p=yes
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_cv_type_void_p=no
19713 fi
19714
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 fi
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19718 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19719
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of void *" >&5
19725 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_void_p+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19739 int
19740 main ()
19741 {
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19743 test_array [0] = 0
19744
19745 ;
19746 return 0;
19747 }
19748 _ACEOF
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19754 esac
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_lo=0 ac_mid=0
19767 while :; do
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef void * ac__type_sizeof_;
19776 int
19777 main ()
19778 {
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19780 test_array [0] = 0
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 ac_hi=$ac_mid; break
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_lo=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19810 ac_lo= ac_hi=
19811 break
19812 fi
19813 ac_mid=`expr 2 '*' $ac_mid + 1`
19814 fi
19815
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 done
19818 else
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef void * ac__type_sizeof_;
19830 int
19831 main ()
19832 {
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19834 test_array [0] = 0
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_hi=-1 ac_mid=-1
19858 while :; do
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef void * ac__type_sizeof_;
19867 int
19868 main ()
19869 {
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19871 test_array [0] = 0
19872
19873 ;
19874 return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_lo=$ac_mid; break
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19898
19899 ac_hi=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19901 ac_lo= ac_hi=
19902 break
19903 fi
19904 ac_mid=`expr 2 '*' $ac_mid`
19905 fi
19906
19907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 done
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ac_lo= ac_hi=
19914 fi
19915
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 fi
19918
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef void * ac__type_sizeof_;
19931 int
19932 main ()
19933 {
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19935 test_array [0] = 0
19936
19937 ;
19938 return 0;
19939 }
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (ac_try="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19958 ac_hi=$ac_mid
19959 else
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19962
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19964 fi
19965
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19967 done
19968 case $ac_lo in
19969 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19970 '') if test "$ac_cv_type_void_p" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19972 See \`config.log' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (void *)
19974 See \`config.log' for more details." >&2;}
19975 { (exit 77); exit 77; }; }
19976 else
19977 ac_cv_sizeof_void_p=0
19978 fi ;;
19979 esac
19980 else
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef void * ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19991 #include <stdio.h>
19992 #include <stdlib.h>
19993 int
19994 main ()
19995 {
19996
19997 FILE *f = fopen ("conftest.val", "w");
19998 if (! f)
19999 return 1;
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20001 {
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20004 return 1;
20005 fprintf (f, "%ld\n", i);
20006 }
20007 else
20008 {
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20011 return 1;
20012 fprintf (f, "%lu\n", i);
20013 }
20014 return ferror (f) || fclose (f) != 0;
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_void_p=`cat conftest.val`
20041 else
20042 echo "$as_me: program exited with status $ac_status" >&5
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20045
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_void_p" = yes; then
20048 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20049 See \`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (void *)
20051 See \`config.log' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20053 else
20054 ac_cv_sizeof_void_p=0
20055 fi
20056 fi
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20058 fi
20059 rm -f conftest.val
20060 fi
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20063
20064
20065
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20068 _ACEOF
20069
20070
20071 { echo "$as_me:$LINENO: checking for int" >&5
20072 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_int+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef int ac__type_new_;
20084 int
20085 main ()
20086 {
20087 if ((ac__type_new_ *) 0)
20088 return 0;
20089 if (sizeof (ac__type_new_))
20090 return 0;
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_cv_type_int=yes
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_cv_type_int=no
20118 fi
20119
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20123 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20124
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of int" >&5
20130 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_int+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 else
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20144 int
20145 main ()
20146 {
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20148 test_array [0] = 0
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159 esac
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20171 ac_lo=0 ac_mid=0
20172 while :; do
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef int ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_hi=$ac_mid; break
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20212
20213 ac_lo=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20215 ac_lo= ac_hi=
20216 break
20217 fi
20218 ac_mid=`expr 2 '*' $ac_mid + 1`
20219 fi
20220
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 done
20223 else
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20226
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef int ac__type_sizeof_;
20235 int
20236 main ()
20237 {
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20239 test_array [0] = 0
20240
20241 ;
20242 return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20262 ac_hi=-1 ac_mid=-1
20263 while :; do
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef int ac__type_sizeof_;
20272 int
20273 main ()
20274 {
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20276 test_array [0] = 0
20277
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_lo=$ac_mid; break
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_hi=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20306 ac_lo= ac_hi=
20307 break
20308 fi
20309 ac_mid=`expr 2 '*' $ac_mid`
20310 fi
20311
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20313 done
20314 else
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_lo= ac_hi=
20319 fi
20320
20321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20322 fi
20323
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef int ac__type_sizeof_;
20336 int
20337 main ()
20338 {
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20340 test_array [0] = 0
20341
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (ac_try="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20354 ac_status=$?
20355 grep -v '^ *+' conftest.er1 >conftest.err
20356 rm -f conftest.er1
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20363 ac_hi=$ac_mid
20364 else
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20367
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20369 fi
20370
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20372 done
20373 case $ac_lo in
20374 ?*) ac_cv_sizeof_int=$ac_lo;;
20375 '') if test "$ac_cv_type_int" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20377 See \`config.log' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (int)
20379 See \`config.log' for more details." >&2;}
20380 { (exit 77); exit 77; }; }
20381 else
20382 ac_cv_sizeof_int=0
20383 fi ;;
20384 esac
20385 else
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef int ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20396 #include <stdio.h>
20397 #include <stdlib.h>
20398 int
20399 main ()
20400 {
20401
20402 FILE *f = fopen ("conftest.val", "w");
20403 if (! f)
20404 return 1;
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20406 {
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20409 return 1;
20410 fprintf (f, "%ld\n", i);
20411 }
20412 else
20413 {
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20416 return 1;
20417 fprintf (f, "%lu\n", i);
20418 }
20419 return ferror (f) || fclose (f) != 0;
20420
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_int=`cat conftest.val`
20446 else
20447 echo "$as_me: program exited with status $ac_status" >&5
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_int" = yes; then
20453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (int)
20456 See \`config.log' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20458 else
20459 ac_cv_sizeof_int=0
20460 fi
20461 fi
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20463 fi
20464 rm -f conftest.val
20465 fi
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20468
20469
20470
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_INT $ac_cv_sizeof_int
20473 _ACEOF
20474
20475
20476 { echo "$as_me:$LINENO: checking for long" >&5
20477 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20478 if test "${ac_cv_type_long+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481 cat >conftest.$ac_ext <<_ACEOF
20482 /* confdefs.h. */
20483 _ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20488 typedef long ac__type_new_;
20489 int
20490 main ()
20491 {
20492 if ((ac__type_new_ *) 0)
20493 return 0;
20494 if (sizeof (ac__type_new_))
20495 return 0;
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20505 esac
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20508 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20517 ac_cv_type_long=yes
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 ac_cv_type_long=no
20523 fi
20524
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 fi
20527 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20528 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20529
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { echo "$as_me:$LINENO: checking size of long" >&5
20535 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20536 if test "${ac_cv_sizeof_long+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 else
20539 if test "$cross_compiling" = yes; then
20540 # Depending upon the size, compute the lo and hi bounds.
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20549 int
20550 main ()
20551 {
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20553 test_array [0] = 0
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20576 ac_lo=0 ac_mid=0
20577 while :; do
20578 cat >conftest.$ac_ext <<_ACEOF
20579 /* confdefs.h. */
20580 _ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef long ac__type_sizeof_;
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20613 ac_hi=$ac_mid; break
20614 else
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20617
20618 ac_lo=`expr $ac_mid + 1`
20619 if test $ac_lo -le $ac_mid; then
20620 ac_lo= ac_hi=
20621 break
20622 fi
20623 ac_mid=`expr 2 '*' $ac_mid + 1`
20624 fi
20625
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 done
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef long ac__type_sizeof_;
20640 int
20641 main ()
20642 {
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20644 test_array [0] = 0
20645
20646 ;
20647 return 0;
20648 }
20649 _ACEOF
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20655 esac
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20667 ac_hi=-1 ac_mid=-1
20668 while :; do
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef long ac__type_sizeof_;
20677 int
20678 main ()
20679 {
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20681 test_array [0] = 0
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20692 esac
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.$ac_objext; then
20704 ac_lo=$ac_mid; break
20705 else
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20708
20709 ac_hi=`expr '(' $ac_mid ')' - 1`
20710 if test $ac_mid -le $ac_hi; then
20711 ac_lo= ac_hi=
20712 break
20713 fi
20714 ac_mid=`expr 2 '*' $ac_mid`
20715 fi
20716
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20718 done
20719 else
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20722
20723 ac_lo= ac_hi=
20724 fi
20725
20726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20727 fi
20728
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 # Binary search between lo and hi bounds.
20731 while test "x$ac_lo" != "x$ac_hi"; do
20732 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 typedef long ac__type_sizeof_;
20741 int
20742 main ()
20743 {
20744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20745 test_array [0] = 0
20746
20747 ;
20748 return 0;
20749 }
20750 _ACEOF
20751 rm -f conftest.$ac_objext
20752 if { (ac_try="$ac_compile"
20753 case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20756 esac
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_compile") 2>conftest.er1
20759 ac_status=$?
20760 grep -v '^ *+' conftest.er1 >conftest.err
20761 rm -f conftest.er1
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } && {
20765 test -z "$ac_c_werror_flag" ||
20766 test ! -s conftest.err
20767 } && test -s conftest.$ac_objext; then
20768 ac_hi=$ac_mid
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_lo=`expr '(' $ac_mid ')' + 1`
20774 fi
20775
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 done
20778 case $ac_lo in
20779 ?*) ac_cv_sizeof_long=$ac_lo;;
20780 '') if test "$ac_cv_type_long" = yes; then
20781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20782 See \`config.log' for more details." >&5
20783 echo "$as_me: error: cannot compute sizeof (long)
20784 See \`config.log' for more details." >&2;}
20785 { (exit 77); exit 77; }; }
20786 else
20787 ac_cv_sizeof_long=0
20788 fi ;;
20789 esac
20790 else
20791 cat >conftest.$ac_ext <<_ACEOF
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef long ac__type_sizeof_;
20799 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20801 #include <stdio.h>
20802 #include <stdlib.h>
20803 int
20804 main ()
20805 {
20806
20807 FILE *f = fopen ("conftest.val", "w");
20808 if (! f)
20809 return 1;
20810 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20811 {
20812 long int i = longval ();
20813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20814 return 1;
20815 fprintf (f, "%ld\n", i);
20816 }
20817 else
20818 {
20819 unsigned long int i = ulongval ();
20820 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20821 return 1;
20822 fprintf (f, "%lu\n", i);
20823 }
20824 return ferror (f) || fclose (f) != 0;
20825
20826 ;
20827 return 0;
20828 }
20829 _ACEOF
20830 rm -f conftest$ac_exeext
20831 if { (ac_try="$ac_link"
20832 case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20835 esac
20836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_link") 2>&5
20838 ac_status=$?
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20841 { (case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_try") 2>&5
20847 ac_status=$?
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_sizeof_long=`cat conftest.val`
20851 else
20852 echo "$as_me: program exited with status $ac_status" >&5
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 ( exit $ac_status )
20857 if test "$ac_cv_type_long" = yes; then
20858 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20859 See \`config.log' for more details." >&5
20860 echo "$as_me: error: cannot compute sizeof (long)
20861 See \`config.log' for more details." >&2;}
20862 { (exit 77); exit 77; }; }
20863 else
20864 ac_cv_sizeof_long=0
20865 fi
20866 fi
20867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20868 fi
20869 rm -f conftest.val
20870 fi
20871 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20872 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20873
20874
20875
20876 cat >>confdefs.h <<_ACEOF
20877 #define SIZEOF_LONG $ac_cv_sizeof_long
20878 _ACEOF
20879
20880
20881 { echo "$as_me:$LINENO: checking for size_t" >&5
20882 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20883 if test "${ac_cv_type_size_t+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886 cat >conftest.$ac_ext <<_ACEOF
20887 /* confdefs.h. */
20888 _ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 $ac_includes_default
20893 typedef size_t ac__type_new_;
20894 int
20895 main ()
20896 {
20897 if ((ac__type_new_ *) 0)
20898 return 0;
20899 if (sizeof (ac__type_new_))
20900 return 0;
20901 ;
20902 return 0;
20903 }
20904 _ACEOF
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.$ac_objext; then
20922 ac_cv_type_size_t=yes
20923 else
20924 echo "$as_me: failed program was:" >&5
20925 sed 's/^/| /' conftest.$ac_ext >&5
20926
20927 ac_cv_type_size_t=no
20928 fi
20929
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 fi
20932 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20933 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20934
20935 # The cast to long int works around a bug in the HP C Compiler
20936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20938 # This bug is HP SR number 8606223364.
20939 { echo "$as_me:$LINENO: checking size of size_t" >&5
20940 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20941 if test "${ac_cv_sizeof_size_t+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 else
20944 if test "$cross_compiling" = yes; then
20945 # Depending upon the size, compute the lo and hi bounds.
20946 cat >conftest.$ac_ext <<_ACEOF
20947 /* confdefs.h. */
20948 _ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20954 int
20955 main ()
20956 {
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20958 test_array [0] = 0
20959
20960 ;
20961 return 0;
20962 }
20963 _ACEOF
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20969 esac
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20972 ac_status=$?
20973 grep -v '^ *+' conftest.er1 >conftest.err
20974 rm -f conftest.er1
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20981 ac_lo=0 ac_mid=0
20982 while :; do
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef size_t ac__type_sizeof_;
20991 int
20992 main ()
20993 {
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20995 test_array [0] = 0
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21006 esac
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21018 ac_hi=$ac_mid; break
21019 else
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.$ac_ext >&5
21022
21023 ac_lo=`expr $ac_mid + 1`
21024 if test $ac_lo -le $ac_mid; then
21025 ac_lo= ac_hi=
21026 break
21027 fi
21028 ac_mid=`expr 2 '*' $ac_mid + 1`
21029 fi
21030
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 done
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 cat >conftest.$ac_ext <<_ACEOF
21038 /* confdefs.h. */
21039 _ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef size_t ac__type_sizeof_;
21045 int
21046 main ()
21047 {
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21049 test_array [0] = 0
21050
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 rm -f conftest.$ac_objext
21056 if { (ac_try="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21060 esac
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21063 ac_status=$?
21064 grep -v '^ *+' conftest.er1 >conftest.err
21065 rm -f conftest.er1
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21072 ac_hi=-1 ac_mid=-1
21073 while :; do
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef size_t ac__type_sizeof_;
21082 int
21083 main ()
21084 {
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21086 test_array [0] = 0
21087
21088 ;
21089 return 0;
21090 }
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;;
21097 esac
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21100 ac_status=$?
21101 grep -v '^ *+' conftest.er1 >conftest.err
21102 rm -f conftest.er1
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.$ac_objext; then
21109 ac_lo=$ac_mid; break
21110 else
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21113
21114 ac_hi=`expr '(' $ac_mid ')' - 1`
21115 if test $ac_mid -le $ac_hi; then
21116 ac_lo= ac_hi=
21117 break
21118 fi
21119 ac_mid=`expr 2 '*' $ac_mid`
21120 fi
21121
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 done
21124 else
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 ac_lo= ac_hi=
21129 fi
21130
21131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 fi
21133
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 # Binary search between lo and hi bounds.
21136 while test "x$ac_lo" != "x$ac_hi"; do
21137 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21145 typedef size_t ac__type_sizeof_;
21146 int
21147 main ()
21148 {
21149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21150 test_array [0] = 0
21151
21152 ;
21153 return 0;
21154 }
21155 _ACEOF
21156 rm -f conftest.$ac_objext
21157 if { (ac_try="$ac_compile"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_compile") 2>conftest.er1
21164 ac_status=$?
21165 grep -v '^ *+' conftest.er1 >conftest.err
21166 rm -f conftest.er1
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest.$ac_objext; then
21173 ac_hi=$ac_mid
21174 else
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 ac_lo=`expr '(' $ac_mid ')' + 1`
21179 fi
21180
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 done
21183 case $ac_lo in
21184 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21185 '') if test "$ac_cv_type_size_t" = yes; then
21186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21187 See \`config.log' for more details." >&5
21188 echo "$as_me: error: cannot compute sizeof (size_t)
21189 See \`config.log' for more details." >&2;}
21190 { (exit 77); exit 77; }; }
21191 else
21192 ac_cv_sizeof_size_t=0
21193 fi ;;
21194 esac
21195 else
21196 cat >conftest.$ac_ext <<_ACEOF
21197 /* confdefs.h. */
21198 _ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef size_t ac__type_sizeof_;
21204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21206 #include <stdio.h>
21207 #include <stdlib.h>
21208 int
21209 main ()
21210 {
21211
21212 FILE *f = fopen ("conftest.val", "w");
21213 if (! f)
21214 return 1;
21215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21216 {
21217 long int i = longval ();
21218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21219 return 1;
21220 fprintf (f, "%ld\n", i);
21221 }
21222 else
21223 {
21224 unsigned long int i = ulongval ();
21225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21226 return 1;
21227 fprintf (f, "%lu\n", i);
21228 }
21229 return ferror (f) || fclose (f) != 0;
21230
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 rm -f conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>&5
21243 ac_status=$?
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21249 esac
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_sizeof_size_t=`cat conftest.val`
21256 else
21257 echo "$as_me: program exited with status $ac_status" >&5
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21260
21261 ( exit $ac_status )
21262 if test "$ac_cv_type_size_t" = yes; then
21263 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21264 See \`config.log' for more details." >&5
21265 echo "$as_me: error: cannot compute sizeof (size_t)
21266 See \`config.log' for more details." >&2;}
21267 { (exit 77); exit 77; }; }
21268 else
21269 ac_cv_sizeof_size_t=0
21270 fi
21271 fi
21272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21273 fi
21274 rm -f conftest.val
21275 fi
21276 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21277 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21278
21279
21280
21281 cat >>confdefs.h <<_ACEOF
21282 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21283 _ACEOF
21284
21285
21286
21287 case "${host}" in
21288 arm-*-linux* )
21289 { echo "$as_me:$LINENO: checking for long long" >&5
21290 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21291 if test "${ac_cv_type_long_long+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef long long ac__type_new_;
21302 int
21303 main ()
21304 {
21305 if ((ac__type_new_ *) 0)
21306 return 0;
21307 if (sizeof (ac__type_new_))
21308 return 0;
21309 ;
21310 return 0;
21311 }
21312 _ACEOF
21313 rm -f conftest.$ac_objext
21314 if { (ac_try="$ac_compile"
21315 case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21318 esac
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_compile") 2>conftest.er1
21321 ac_status=$?
21322 grep -v '^ *+' conftest.er1 >conftest.err
21323 rm -f conftest.er1
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } && {
21327 test -z "$ac_c_werror_flag" ||
21328 test ! -s conftest.err
21329 } && test -s conftest.$ac_objext; then
21330 ac_cv_type_long_long=yes
21331 else
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.$ac_ext >&5
21334
21335 ac_cv_type_long_long=no
21336 fi
21337
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 fi
21340 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21341 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21342
21343 # The cast to long int works around a bug in the HP C Compiler
21344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21346 # This bug is HP SR number 8606223364.
21347 { echo "$as_me:$LINENO: checking size of long long" >&5
21348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21349 if test "${ac_cv_sizeof_long_long+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21351 else
21352 if test "$cross_compiling" = yes; then
21353 # Depending upon the size, compute the lo and hi bounds.
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_lo=0 ac_mid=0
21390 while :; do
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef long long ac__type_sizeof_;
21399 int
21400 main ()
21401 {
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21403 test_array [0] = 0
21404
21405 ;
21406 return 0;
21407 }
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 ac_hi=$ac_mid; break
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 ac_lo=`expr $ac_mid + 1`
21432 if test $ac_lo -le $ac_mid; then
21433 ac_lo= ac_hi=
21434 break
21435 fi
21436 ac_mid=`expr 2 '*' $ac_mid + 1`
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 done
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 cat >conftest.$ac_ext <<_ACEOF
21446 /* confdefs.h. */
21447 _ACEOF
21448 cat confdefs.h >>conftest.$ac_ext
21449 cat >>conftest.$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21452 typedef long long ac__type_sizeof_;
21453 int
21454 main ()
21455 {
21456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21457 test_array [0] = 0
21458
21459 ;
21460 return 0;
21461 }
21462 _ACEOF
21463 rm -f conftest.$ac_objext
21464 if { (ac_try="$ac_compile"
21465 case "(($ac_try" in
21466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21468 esac
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_compile") 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } && {
21477 test -z "$ac_c_werror_flag" ||
21478 test ! -s conftest.err
21479 } && test -s conftest.$ac_objext; then
21480 ac_hi=-1 ac_mid=-1
21481 while :; do
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h. */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 $ac_includes_default
21489 typedef long long ac__type_sizeof_;
21490 int
21491 main ()
21492 {
21493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21494 test_array [0] = 0
21495
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 rm -f conftest.$ac_objext
21501 if { (ac_try="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21505 esac
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21508 ac_status=$?
21509 grep -v '^ *+' conftest.er1 >conftest.err
21510 rm -f conftest.er1
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.$ac_objext; then
21517 ac_lo=$ac_mid; break
21518 else
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21521
21522 ac_hi=`expr '(' $ac_mid ')' - 1`
21523 if test $ac_mid -le $ac_hi; then
21524 ac_lo= ac_hi=
21525 break
21526 fi
21527 ac_mid=`expr 2 '*' $ac_mid`
21528 fi
21529
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21531 done
21532 else
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21535
21536 ac_lo= ac_hi=
21537 fi
21538
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 fi
21541
21542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.$ac_ext <<_ACEOF
21547 /* confdefs.h. */
21548 _ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef long long ac__type_sizeof_;
21554 int
21555 main ()
21556 {
21557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21558 test_array [0] = 0
21559
21560 ;
21561 return 0;
21562 }
21563 _ACEOF
21564 rm -f conftest.$ac_objext
21565 if { (ac_try="$ac_compile"
21566 case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21569 esac
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_compile") 2>conftest.er1
21572 ac_status=$?
21573 grep -v '^ *+' conftest.er1 >conftest.err
21574 rm -f conftest.er1
21575 cat conftest.err >&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest.$ac_objext; then
21581 ac_hi=$ac_mid
21582 else
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21585
21586 ac_lo=`expr '(' $ac_mid ')' + 1`
21587 fi
21588
21589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21590 done
21591 case $ac_lo in
21592 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21593 '') if test "$ac_cv_type_long_long" = yes; then
21594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21595 See \`config.log' for more details." >&5
21596 echo "$as_me: error: cannot compute sizeof (long long)
21597 See \`config.log' for more details." >&2;}
21598 { (exit 77); exit 77; }; }
21599 else
21600 ac_cv_sizeof_long_long=0
21601 fi ;;
21602 esac
21603 else
21604 cat >conftest.$ac_ext <<_ACEOF
21605 /* confdefs.h. */
21606 _ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21614 #include <stdio.h>
21615 #include <stdlib.h>
21616 int
21617 main ()
21618 {
21619
21620 FILE *f = fopen ("conftest.val", "w");
21621 if (! f)
21622 return 1;
21623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21624 {
21625 long int i = longval ();
21626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21627 return 1;
21628 fprintf (f, "%ld\n", i);
21629 }
21630 else
21631 {
21632 unsigned long int i = ulongval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21634 return 1;
21635 fprintf (f, "%lu\n", i);
21636 }
21637 return ferror (f) || fclose (f) != 0;
21638
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest$ac_exeext
21644 if { (ac_try="$ac_link"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21648 esac
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_link") 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21654 { (case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21657 esac
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_try") 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_cv_sizeof_long_long=`cat conftest.val`
21664 else
21665 echo "$as_me: program exited with status $ac_status" >&5
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21668
21669 ( exit $ac_status )
21670 if test "$ac_cv_type_long_long" = yes; then
21671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21672 See \`config.log' for more details." >&5
21673 echo "$as_me: error: cannot compute sizeof (long long)
21674 See \`config.log' for more details." >&2;}
21675 { (exit 77); exit 77; }; }
21676 else
21677 ac_cv_sizeof_long_long=0
21678 fi
21679 fi
21680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21681 fi
21682 rm -f conftest.val
21683 fi
21684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21685 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21686
21687
21688
21689 cat >>confdefs.h <<_ACEOF
21690 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21691 _ACEOF
21692
21693
21694 ;;
21695 *-hp-hpux* )
21696 { echo "$as_me:$LINENO: checking for long long" >&5
21697 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21698 if test "${ac_cv_type_long_long+set}" = set; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21700 else
21701 cat >conftest.$ac_ext <<_ACEOF
21702 /* confdefs.h. */
21703 _ACEOF
21704 cat confdefs.h >>conftest.$ac_ext
21705 cat >>conftest.$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 $ac_includes_default
21708 typedef long long ac__type_new_;
21709 int
21710 main ()
21711 {
21712 if ((ac__type_new_ *) 0)
21713 return 0;
21714 if (sizeof (ac__type_new_))
21715 return 0;
21716 ;
21717 return 0;
21718 }
21719 _ACEOF
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21725 esac
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21728 ac_status=$?
21729 grep -v '^ *+' conftest.er1 >conftest.err
21730 rm -f conftest.er1
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21737 ac_cv_type_long_long=yes
21738 else
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.$ac_ext >&5
21741
21742 ac_cv_type_long_long=no
21743 fi
21744
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746 fi
21747 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21748 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21749
21750 # The cast to long int works around a bug in the HP C Compiler
21751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21753 # This bug is HP SR number 8606223364.
21754 { echo "$as_me:$LINENO: checking size of long long" >&5
21755 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21756 if test "${ac_cv_sizeof_long_long+set}" = set; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 else
21759 if test "$cross_compiling" = yes; then
21760 # Depending upon the size, compute the lo and hi bounds.
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21769 int
21770 main ()
21771 {
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21773 test_array [0] = 0
21774
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_lo=0 ac_mid=0
21797 while :; do
21798 cat >conftest.$ac_ext <<_ACEOF
21799 /* confdefs.h. */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21806 int
21807 main ()
21808 {
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21810 test_array [0] = 0
21811
21812 ;
21813 return 0;
21814 }
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21821 esac
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.$ac_objext; then
21833 ac_hi=$ac_mid; break
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838 ac_lo=`expr $ac_mid + 1`
21839 if test $ac_lo -le $ac_mid; then
21840 ac_lo= ac_hi=
21841 break
21842 fi
21843 ac_mid=`expr 2 '*' $ac_mid + 1`
21844 fi
21845
21846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21847 done
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 $ac_includes_default
21859 typedef long long ac__type_sizeof_;
21860 int
21861 main ()
21862 {
21863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21864 test_array [0] = 0
21865
21866 ;
21867 return 0;
21868 }
21869 _ACEOF
21870 rm -f conftest.$ac_objext
21871 if { (ac_try="$ac_compile"
21872 case "(($ac_try" in
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21875 esac
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_compile") 2>conftest.er1
21878 ac_status=$?
21879 grep -v '^ *+' conftest.er1 >conftest.err
21880 rm -f conftest.er1
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && {
21884 test -z "$ac_c_werror_flag" ||
21885 test ! -s conftest.err
21886 } && test -s conftest.$ac_objext; then
21887 ac_hi=-1 ac_mid=-1
21888 while :; do
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef long long ac__type_sizeof_;
21897 int
21898 main ()
21899 {
21900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21901 test_array [0] = 0
21902
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21912 esac
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21915 ac_status=$?
21916 grep -v '^ *+' conftest.er1 >conftest.err
21917 rm -f conftest.er1
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.$ac_objext; then
21924 ac_lo=$ac_mid; break
21925 else
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21928
21929 ac_hi=`expr '(' $ac_mid ')' - 1`
21930 if test $ac_mid -le $ac_hi; then
21931 ac_lo= ac_hi=
21932 break
21933 fi
21934 ac_mid=`expr 2 '*' $ac_mid`
21935 fi
21936
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 done
21939 else
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.$ac_ext >&5
21942
21943 ac_lo= ac_hi=
21944 fi
21945
21946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947 fi
21948
21949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21950 # Binary search between lo and hi bounds.
21951 while test "x$ac_lo" != "x$ac_hi"; do
21952 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21953 cat >conftest.$ac_ext <<_ACEOF
21954 /* confdefs.h. */
21955 _ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 typedef long long ac__type_sizeof_;
21961 int
21962 main ()
21963 {
21964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21965 test_array [0] = 0
21966
21967 ;
21968 return 0;
21969 }
21970 _ACEOF
21971 rm -f conftest.$ac_objext
21972 if { (ac_try="$ac_compile"
21973 case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21976 esac
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_compile") 2>conftest.er1
21979 ac_status=$?
21980 grep -v '^ *+' conftest.er1 >conftest.err
21981 rm -f conftest.er1
21982 cat conftest.err >&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } && {
21985 test -z "$ac_c_werror_flag" ||
21986 test ! -s conftest.err
21987 } && test -s conftest.$ac_objext; then
21988 ac_hi=$ac_mid
21989 else
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 ac_lo=`expr '(' $ac_mid ')' + 1`
21994 fi
21995
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 done
21998 case $ac_lo in
21999 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22000 '') if test "$ac_cv_type_long_long" = yes; then
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22002 See \`config.log' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (long long)
22004 See \`config.log' for more details." >&2;}
22005 { (exit 77); exit 77; }; }
22006 else
22007 ac_cv_sizeof_long_long=0
22008 fi ;;
22009 esac
22010 else
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22019 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22020 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22021 #include <stdio.h>
22022 #include <stdlib.h>
22023 int
22024 main ()
22025 {
22026
22027 FILE *f = fopen ("conftest.val", "w");
22028 if (! f)
22029 return 1;
22030 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22031 {
22032 long int i = longval ();
22033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22034 return 1;
22035 fprintf (f, "%ld\n", i);
22036 }
22037 else
22038 {
22039 unsigned long int i = ulongval ();
22040 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22041 return 1;
22042 fprintf (f, "%lu\n", i);
22043 }
22044 return ferror (f) || fclose (f) != 0;
22045
22046 ;
22047 return 0;
22048 }
22049 _ACEOF
22050 rm -f conftest$ac_exeext
22051 if { (ac_try="$ac_link"
22052 case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22055 esac
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_link") 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22061 { (case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22064 esac
22065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_try") 2>&5
22067 ac_status=$?
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_cv_sizeof_long_long=`cat conftest.val`
22071 else
22072 echo "$as_me: program exited with status $ac_status" >&5
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22075
22076 ( exit $ac_status )
22077 if test "$ac_cv_type_long_long" = yes; then
22078 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22079 See \`config.log' for more details." >&5
22080 echo "$as_me: error: cannot compute sizeof (long long)
22081 See \`config.log' for more details." >&2;}
22082 { (exit 77); exit 77; }; }
22083 else
22084 ac_cv_sizeof_long_long=0
22085 fi
22086 fi
22087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22088 fi
22089 rm -f conftest.val
22090 fi
22091 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22092 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22093
22094
22095
22096 cat >>confdefs.h <<_ACEOF
22097 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22098 _ACEOF
22099
22100
22101 if test "$ac_cv_sizeof_long_long" != 0; then
22102 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22103 fi
22104 ;;
22105 * )
22106 { echo "$as_me:$LINENO: checking for long long" >&5
22107 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22108 if test "${ac_cv_type_long_long+set}" = set; then
22109 echo $ECHO_N "(cached) $ECHO_C" >&6
22110 else
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long long ac__type_new_;
22119 int
22120 main ()
22121 {
22122 if ((ac__type_new_ *) 0)
22123 return 0;
22124 if (sizeof (ac__type_new_))
22125 return 0;
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22135 esac
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22138 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_cv_type_long_long=yes
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 ac_cv_type_long_long=no
22153 fi
22154
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 fi
22157 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22158 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22159
22160 # The cast to long int works around a bug in the HP C Compiler
22161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22163 # This bug is HP SR number 8606223364.
22164 { echo "$as_me:$LINENO: checking size of long long" >&5
22165 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22166 if test "${ac_cv_sizeof_long_long+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22168 else
22169 if test "$cross_compiling" = yes; then
22170 # Depending upon the size, compute the lo and hi bounds.
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22179 int
22180 main ()
22181 {
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22183 test_array [0] = 0
22184
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22206 ac_lo=0 ac_mid=0
22207 while :; do
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22216 int
22217 main ()
22218 {
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22220 test_array [0] = 0
22221
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22230 *) ac_try_echo=$ac_try;;
22231 esac
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22234 ac_status=$?
22235 grep -v '^ *+' conftest.er1 >conftest.err
22236 rm -f conftest.er1
22237 cat conftest.err >&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.$ac_objext; then
22243 ac_hi=$ac_mid; break
22244 else
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22247
22248 ac_lo=`expr $ac_mid + 1`
22249 if test $ac_lo -le $ac_mid; then
22250 ac_lo= ac_hi=
22251 break
22252 fi
22253 ac_mid=`expr 2 '*' $ac_mid + 1`
22254 fi
22255
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 done
22258 else
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 cat >conftest.$ac_ext <<_ACEOF
22263 /* confdefs.h. */
22264 _ACEOF
22265 cat confdefs.h >>conftest.$ac_ext
22266 cat >>conftest.$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 typedef long long ac__type_sizeof_;
22270 int
22271 main ()
22272 {
22273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22274 test_array [0] = 0
22275
22276 ;
22277 return 0;
22278 }
22279 _ACEOF
22280 rm -f conftest.$ac_objext
22281 if { (ac_try="$ac_compile"
22282 case "(($ac_try" in
22283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22285 esac
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_compile") 2>conftest.er1
22288 ac_status=$?
22289 grep -v '^ *+' conftest.er1 >conftest.err
22290 rm -f conftest.er1
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } && {
22294 test -z "$ac_c_werror_flag" ||
22295 test ! -s conftest.err
22296 } && test -s conftest.$ac_objext; then
22297 ac_hi=-1 ac_mid=-1
22298 while :; do
22299 cat >conftest.$ac_ext <<_ACEOF
22300 /* confdefs.h. */
22301 _ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef long long ac__type_sizeof_;
22307 int
22308 main ()
22309 {
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22311 test_array [0] = 0
22312
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22322 esac
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22325 ac_status=$?
22326 grep -v '^ *+' conftest.er1 >conftest.err
22327 rm -f conftest.er1
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.$ac_objext; then
22334 ac_lo=$ac_mid; break
22335 else
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22338
22339 ac_hi=`expr '(' $ac_mid ')' - 1`
22340 if test $ac_mid -le $ac_hi; then
22341 ac_lo= ac_hi=
22342 break
22343 fi
22344 ac_mid=`expr 2 '*' $ac_mid`
22345 fi
22346
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 done
22349 else
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22352
22353 ac_lo= ac_hi=
22354 fi
22355
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 fi
22358
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 # Binary search between lo and hi bounds.
22361 while test "x$ac_lo" != "x$ac_hi"; do
22362 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22363 cat >conftest.$ac_ext <<_ACEOF
22364 /* confdefs.h. */
22365 _ACEOF
22366 cat confdefs.h >>conftest.$ac_ext
22367 cat >>conftest.$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 $ac_includes_default
22370 typedef long long ac__type_sizeof_;
22371 int
22372 main ()
22373 {
22374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22375 test_array [0] = 0
22376
22377 ;
22378 return 0;
22379 }
22380 _ACEOF
22381 rm -f conftest.$ac_objext
22382 if { (ac_try="$ac_compile"
22383 case "(($ac_try" in
22384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22386 esac
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_compile") 2>conftest.er1
22389 ac_status=$?
22390 grep -v '^ *+' conftest.er1 >conftest.err
22391 rm -f conftest.er1
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } && {
22395 test -z "$ac_c_werror_flag" ||
22396 test ! -s conftest.err
22397 } && test -s conftest.$ac_objext; then
22398 ac_hi=$ac_mid
22399 else
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22402
22403 ac_lo=`expr '(' $ac_mid ')' + 1`
22404 fi
22405
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22407 done
22408 case $ac_lo in
22409 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22410 '') if test "$ac_cv_type_long_long" = yes; then
22411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22412 See \`config.log' for more details." >&5
22413 echo "$as_me: error: cannot compute sizeof (long long)
22414 See \`config.log' for more details." >&2;}
22415 { (exit 77); exit 77; }; }
22416 else
22417 ac_cv_sizeof_long_long=0
22418 fi ;;
22419 esac
22420 else
22421 cat >conftest.$ac_ext <<_ACEOF
22422 /* confdefs.h. */
22423 _ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427 $ac_includes_default
22428 typedef long long ac__type_sizeof_;
22429 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22430 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22431 #include <stdio.h>
22432 #include <stdlib.h>
22433 int
22434 main ()
22435 {
22436
22437 FILE *f = fopen ("conftest.val", "w");
22438 if (! f)
22439 return 1;
22440 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22441 {
22442 long int i = longval ();
22443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22444 return 1;
22445 fprintf (f, "%ld\n", i);
22446 }
22447 else
22448 {
22449 unsigned long int i = ulongval ();
22450 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22451 return 1;
22452 fprintf (f, "%lu\n", i);
22453 }
22454 return ferror (f) || fclose (f) != 0;
22455
22456 ;
22457 return 0;
22458 }
22459 _ACEOF
22460 rm -f conftest$ac_exeext
22461 if { (ac_try="$ac_link"
22462 case "(($ac_try" in
22463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22464 *) ac_try_echo=$ac_try;;
22465 esac
22466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_link") 2>&5
22468 ac_status=$?
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22471 { (case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22474 esac
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_try") 2>&5
22477 ac_status=$?
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480 ac_cv_sizeof_long_long=`cat conftest.val`
22481 else
22482 echo "$as_me: program exited with status $ac_status" >&5
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22485
22486 ( exit $ac_status )
22487 if test "$ac_cv_type_long_long" = yes; then
22488 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22489 See \`config.log' for more details." >&5
22490 echo "$as_me: error: cannot compute sizeof (long long)
22491 See \`config.log' for more details." >&2;}
22492 { (exit 77); exit 77; }; }
22493 else
22494 ac_cv_sizeof_long_long=0
22495 fi
22496 fi
22497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22498 fi
22499 rm -f conftest.val
22500 fi
22501 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22502 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22503
22504
22505
22506 cat >>confdefs.h <<_ACEOF
22507 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22508 _ACEOF
22509
22510
22511 esac
22512
22513 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22514 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22515 if test "${ac_cv_type_wchar_t+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22517 else
22518 cat >conftest.$ac_ext <<_ACEOF
22519 /* confdefs.h. */
22520 _ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524
22525 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22526 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22527 # error "fake wchar_t"
22528 #endif
22529 #ifdef HAVE_WCHAR_H
22530 # ifdef __CYGWIN__
22531 # include <stddef.h>
22532 # endif
22533 # include <wchar.h>
22534 #endif
22535 #ifdef HAVE_STDLIB_H
22536 # include <stdlib.h>
22537 #endif
22538 #include <stdio.h>
22539
22540
22541
22542 typedef wchar_t ac__type_new_;
22543 int
22544 main ()
22545 {
22546 if ((ac__type_new_ *) 0)
22547 return 0;
22548 if (sizeof (ac__type_new_))
22549 return 0;
22550 ;
22551 return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext
22555 if { (ac_try="$ac_compile"
22556 case "(($ac_try" in
22557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22558 *) ac_try_echo=$ac_try;;
22559 esac
22560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22561 (eval "$ac_compile") 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && {
22568 test -z "$ac_c_werror_flag" ||
22569 test ! -s conftest.err
22570 } && test -s conftest.$ac_objext; then
22571 ac_cv_type_wchar_t=yes
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 ac_cv_type_wchar_t=no
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 fi
22581 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22582 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22583
22584 # The cast to long int works around a bug in the HP C Compiler
22585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22587 # This bug is HP SR number 8606223364.
22588 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22589 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22590 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22592 else
22593 if test "$cross_compiling" = yes; then
22594 # Depending upon the size, compute the lo and hi bounds.
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601
22602 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22603 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22604 # error "fake wchar_t"
22605 #endif
22606 #ifdef HAVE_WCHAR_H
22607 # ifdef __CYGWIN__
22608 # include <stddef.h>
22609 # endif
22610 # include <wchar.h>
22611 #endif
22612 #ifdef HAVE_STDLIB_H
22613 # include <stdlib.h>
22614 #endif
22615 #include <stdio.h>
22616
22617
22618
22619 typedef wchar_t ac__type_sizeof_;
22620 int
22621 main ()
22622 {
22623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22624 test_array [0] = 0
22625
22626 ;
22627 return 0;
22628 }
22629 _ACEOF
22630 rm -f conftest.$ac_objext
22631 if { (ac_try="$ac_compile"
22632 case "(($ac_try" in
22633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22635 esac
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_compile") 2>conftest.er1
22638 ac_status=$?
22639 grep -v '^ *+' conftest.er1 >conftest.err
22640 rm -f conftest.er1
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest.$ac_objext; then
22647 ac_lo=0 ac_mid=0
22648 while :; do
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655
22656 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22657 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22658 # error "fake wchar_t"
22659 #endif
22660 #ifdef HAVE_WCHAR_H
22661 # ifdef __CYGWIN__
22662 # include <stddef.h>
22663 # endif
22664 # include <wchar.h>
22665 #endif
22666 #ifdef HAVE_STDLIB_H
22667 # include <stdlib.h>
22668 #endif
22669 #include <stdio.h>
22670
22671
22672
22673 typedef wchar_t ac__type_sizeof_;
22674 int
22675 main ()
22676 {
22677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22678 test_array [0] = 0
22679
22680 ;
22681 return 0;
22682 }
22683 _ACEOF
22684 rm -f conftest.$ac_objext
22685 if { (ac_try="$ac_compile"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22688 *) ac_try_echo=$ac_try;;
22689 esac
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_compile") 2>conftest.er1
22692 ac_status=$?
22693 grep -v '^ *+' conftest.er1 >conftest.err
22694 rm -f conftest.er1
22695 cat conftest.err >&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest.$ac_objext; then
22701 ac_hi=$ac_mid; break
22702 else
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.$ac_ext >&5
22705
22706 ac_lo=`expr $ac_mid + 1`
22707 if test $ac_lo -le $ac_mid; then
22708 ac_lo= ac_hi=
22709 break
22710 fi
22711 ac_mid=`expr 2 '*' $ac_mid + 1`
22712 fi
22713
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 done
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726
22727 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22728 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22729 # error "fake wchar_t"
22730 #endif
22731 #ifdef HAVE_WCHAR_H
22732 # ifdef __CYGWIN__
22733 # include <stddef.h>
22734 # endif
22735 # include <wchar.h>
22736 #endif
22737 #ifdef HAVE_STDLIB_H
22738 # include <stdlib.h>
22739 #endif
22740 #include <stdio.h>
22741
22742
22743
22744 typedef wchar_t ac__type_sizeof_;
22745 int
22746 main ()
22747 {
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22749 test_array [0] = 0
22750
22751 ;
22752 return 0;
22753 }
22754 _ACEOF
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22760 esac
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22772 ac_hi=-1 ac_mid=-1
22773 while :; do
22774 cat >conftest.$ac_ext <<_ACEOF
22775 /* confdefs.h. */
22776 _ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780
22781 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22782 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22783 # error "fake wchar_t"
22784 #endif
22785 #ifdef HAVE_WCHAR_H
22786 # ifdef __CYGWIN__
22787 # include <stddef.h>
22788 # endif
22789 # include <wchar.h>
22790 #endif
22791 #ifdef HAVE_STDLIB_H
22792 # include <stdlib.h>
22793 #endif
22794 #include <stdio.h>
22795
22796
22797
22798 typedef wchar_t ac__type_sizeof_;
22799 int
22800 main ()
22801 {
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22803 test_array [0] = 0
22804
22805 ;
22806 return 0;
22807 }
22808 _ACEOF
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22814 esac
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22817 ac_status=$?
22818 grep -v '^ *+' conftest.er1 >conftest.err
22819 rm -f conftest.er1
22820 cat conftest.err >&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.$ac_objext; then
22826 ac_lo=$ac_mid; break
22827 else
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.$ac_ext >&5
22830
22831 ac_hi=`expr '(' $ac_mid ')' - 1`
22832 if test $ac_mid -le $ac_hi; then
22833 ac_lo= ac_hi=
22834 break
22835 fi
22836 ac_mid=`expr 2 '*' $ac_mid`
22837 fi
22838
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 done
22841 else
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.$ac_ext >&5
22844
22845 ac_lo= ac_hi=
22846 fi
22847
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 fi
22850
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 # Binary search between lo and hi bounds.
22853 while test "x$ac_lo" != "x$ac_hi"; do
22854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h. */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861
22862 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22863 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22864 # error "fake wchar_t"
22865 #endif
22866 #ifdef HAVE_WCHAR_H
22867 # ifdef __CYGWIN__
22868 # include <stddef.h>
22869 # endif
22870 # include <wchar.h>
22871 #endif
22872 #ifdef HAVE_STDLIB_H
22873 # include <stdlib.h>
22874 #endif
22875 #include <stdio.h>
22876
22877
22878
22879 typedef wchar_t ac__type_sizeof_;
22880 int
22881 main ()
22882 {
22883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22884 test_array [0] = 0
22885
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest.$ac_objext
22891 if { (ac_try="$ac_compile"
22892 case "(($ac_try" in
22893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22895 esac
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_compile") 2>conftest.er1
22898 ac_status=$?
22899 grep -v '^ *+' conftest.er1 >conftest.err
22900 rm -f conftest.er1
22901 cat conftest.err >&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); } && {
22904 test -z "$ac_c_werror_flag" ||
22905 test ! -s conftest.err
22906 } && test -s conftest.$ac_objext; then
22907 ac_hi=$ac_mid
22908 else
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.$ac_ext >&5
22911
22912 ac_lo=`expr '(' $ac_mid ')' + 1`
22913 fi
22914
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22916 done
22917 case $ac_lo in
22918 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22919 '') if test "$ac_cv_type_wchar_t" = yes; then
22920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22921 See \`config.log' for more details." >&5
22922 echo "$as_me: error: cannot compute sizeof (wchar_t)
22923 See \`config.log' for more details." >&2;}
22924 { (exit 77); exit 77; }; }
22925 else
22926 ac_cv_sizeof_wchar_t=0
22927 fi ;;
22928 esac
22929 else
22930 cat >conftest.$ac_ext <<_ACEOF
22931 /* confdefs.h. */
22932 _ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22936
22937 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22938 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22939 # error "fake wchar_t"
22940 #endif
22941 #ifdef HAVE_WCHAR_H
22942 # ifdef __CYGWIN__
22943 # include <stddef.h>
22944 # endif
22945 # include <wchar.h>
22946 #endif
22947 #ifdef HAVE_STDLIB_H
22948 # include <stdlib.h>
22949 #endif
22950 #include <stdio.h>
22951
22952
22953
22954 typedef wchar_t ac__type_sizeof_;
22955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22957 #include <stdio.h>
22958 #include <stdlib.h>
22959 int
22960 main ()
22961 {
22962
22963 FILE *f = fopen ("conftest.val", "w");
22964 if (! f)
22965 return 1;
22966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22967 {
22968 long int i = longval ();
22969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22970 return 1;
22971 fprintf (f, "%ld\n", i);
22972 }
22973 else
22974 {
22975 unsigned long int i = ulongval ();
22976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22977 return 1;
22978 fprintf (f, "%lu\n", i);
22979 }
22980 return ferror (f) || fclose (f) != 0;
22981
22982 ;
22983 return 0;
22984 }
22985 _ACEOF
22986 rm -f conftest$ac_exeext
22987 if { (ac_try="$ac_link"
22988 case "(($ac_try" in
22989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22990 *) ac_try_echo=$ac_try;;
22991 esac
22992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22993 (eval "$ac_link") 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22997 { (case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23000 esac
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_try") 2>&5
23003 ac_status=$?
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_sizeof_wchar_t=`cat conftest.val`
23007 else
23008 echo "$as_me: program exited with status $ac_status" >&5
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23011
23012 ( exit $ac_status )
23013 if test "$ac_cv_type_wchar_t" = yes; then
23014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23015 See \`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (wchar_t)
23017 See \`config.log' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23019 else
23020 ac_cv_sizeof_wchar_t=0
23021 fi
23022 fi
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23024 fi
23025 rm -f conftest.val
23026 fi
23027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23029
23030
23031
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23034 _ACEOF
23035
23036
23037 if test "$ac_cv_sizeof_wchar_t" != 0; then
23038 wxUSE_WCHAR_T=yes
23039 else
23040 wxUSE_WCHAR_T=no
23041 fi
23042
23043 { echo "$as_me:$LINENO: checking for va_copy" >&5
23044 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23045 if test "${wx_cv_func_va_copy+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 else
23048
23049 ac_ext=cpp
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23054
23055 cat >conftest.$ac_ext <<_ACEOF
23056
23057 #include <stdarg.h>
23058 void foo(char *f, ...)
23059 {
23060 va_list ap1, ap2;
23061 va_start(ap1, f);
23062 va_copy(ap2, ap1);
23063 va_end(ap2);
23064 va_end(ap1);
23065 }
23066 int main()
23067 {
23068 foo("hi", 17);
23069 return 0;
23070 }
23071 _ACEOF
23072 rm -f conftest.$ac_objext conftest$ac_exeext
23073 if { (ac_try="$ac_link"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23077 esac
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_link") 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_cxx_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest$ac_exeext &&
23089 $as_test_x conftest$ac_exeext; then
23090 wx_cv_func_va_copy=yes
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 wx_cv_func_va_copy=no
23096
23097 fi
23098
23099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23100 conftest$ac_exeext conftest.$ac_ext
23101 ac_ext=c
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106
23107
23108
23109 fi
23110 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23111 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23112
23113 if test $wx_cv_func_va_copy = "yes"; then
23114 cat >>confdefs.h <<\_ACEOF
23115 #define HAVE_VA_COPY 1
23116 _ACEOF
23117
23118 else
23119 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23120 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23121 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23123 else
23124
23125 if test "$cross_compiling" = yes; then
23126 wx_cv_type_va_list_lvalue=yes
23127
23128 else
23129 cat >conftest.$ac_ext <<_ACEOF
23130
23131 #include <stdarg.h>
23132 int foo(char *f, ...)
23133 {
23134 va_list ap1, ap2;
23135 va_start(ap1, f);
23136 ap2 = ap1;
23137 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23138 return 1;
23139 va_end(ap2);
23140 va_end(ap1);
23141 return 0;
23142 }
23143 int main()
23144 {
23145 return foo("hi", 17);
23146 }
23147 _ACEOF
23148 rm -f conftest$ac_exeext
23149 if { (ac_try="$ac_link"
23150 case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23153 esac
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_link") 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23159 { (case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23162 esac
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_try") 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 wx_cv_type_va_list_lvalue=yes
23169 else
23170 echo "$as_me: program exited with status $ac_status" >&5
23171 echo "$as_me: failed program was:" >&5
23172 sed 's/^/| /' conftest.$ac_ext >&5
23173
23174 ( exit $ac_status )
23175 wx_cv_type_va_list_lvalue=no
23176 fi
23177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23178 fi
23179
23180
23181
23182
23183 fi
23184 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23185 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23186
23187 if test $wx_cv_type_va_list_lvalue != "yes"; then
23188 cat >>confdefs.h <<\_ACEOF
23189 #define VA_LIST_IS_ARRAY 1
23190 _ACEOF
23191
23192 fi
23193 fi
23194
23195 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23196
23197 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23198 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23199 if test "${wx_cv_have_variadic_macros+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 else
23202
23203 ac_ext=cpp
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208
23209 cat >conftest.$ac_ext <<_ACEOF
23210 /* confdefs.h. */
23211 _ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23215
23216 #include <stdio.h>
23217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23218
23219 int
23220 main ()
23221 {
23222
23223 test("%s %d %p", "test", 1, 0);
23224
23225
23226 ;
23227 return 0;
23228 }
23229 _ACEOF
23230 rm -f conftest.$ac_objext
23231 if { (ac_try="$ac_compile"
23232 case "(($ac_try" in
23233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23234 *) ac_try_echo=$ac_try;;
23235 esac
23236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23237 (eval "$ac_compile") 2>conftest.er1
23238 ac_status=$?
23239 grep -v '^ *+' conftest.er1 >conftest.err
23240 rm -f conftest.er1
23241 cat conftest.err >&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } && {
23244 test -z "$ac_cxx_werror_flag" ||
23245 test ! -s conftest.err
23246 } && test -s conftest.$ac_objext; then
23247 wx_cv_have_variadic_macros=yes
23248 else
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.$ac_ext >&5
23251
23252 wx_cv_have_variadic_macros=no
23253
23254 fi
23255
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257 ac_ext=c
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23262
23263
23264
23265 fi
23266 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23267 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23268
23269 if test $wx_cv_have_variadic_macros = "yes"; then
23270 cat >>confdefs.h <<\_ACEOF
23271 #define HAVE_VARIADIC_MACROS 1
23272 _ACEOF
23273
23274 fi
23275
23276 fi
23277 # Check whether --enable-largefile was given.
23278 if test "${enable_largefile+set}" = set; then
23279 enableval=$enable_largefile;
23280 fi
23281
23282 if test "$enable_largefile" != no; then
23283 wx_largefile=no
23284
23285 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23286 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23287 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 else
23290
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 #define _FILE_OFFSET_BITS 64
23298 #include <sys/types.h>
23299 int
23300 main ()
23301 {
23302 typedef struct {
23303 unsigned int field: sizeof(off_t) == 8;
23304 } wxlf;
23305
23306 ;
23307 return 0;
23308 }
23309 _ACEOF
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_sys_file_offset_bits=64
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_cv_sys_file_offset_bits=no
23333 fi
23334
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23336
23337
23338 fi
23339 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23340 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23341
23342 if test "$ac_cv_sys_file_offset_bits" != no; then
23343 wx_largefile=yes
23344 cat >>confdefs.h <<_ACEOF
23345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23346 _ACEOF
23347
23348 fi
23349
23350 if test "x$wx_largefile" != "xyes"; then
23351
23352 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23353 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23354 if test "${ac_cv_sys_large_files+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23356 else
23357
23358 cat >conftest.$ac_ext <<_ACEOF
23359 /* confdefs.h. */
23360 _ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364 #define _LARGE_FILES 1
23365 #include <sys/types.h>
23366 int
23367 main ()
23368 {
23369 typedef struct {
23370 unsigned int field: sizeof(off_t) == 8;
23371 } wxlf;
23372
23373 ;
23374 return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest.$ac_objext
23378 if { (ac_try="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23382 esac
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23385 ac_status=$?
23386 grep -v '^ *+' conftest.er1 >conftest.err
23387 rm -f conftest.er1
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_c_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23394 ac_cv_sys_large_files=1
23395 else
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.$ac_ext >&5
23398
23399 ac_cv_sys_large_files=no
23400 fi
23401
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403
23404
23405 fi
23406 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23407 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23408
23409 if test "$ac_cv_sys_large_files" != no; then
23410 wx_largefile=yes
23411 cat >>confdefs.h <<_ACEOF
23412 #define _LARGE_FILES $ac_cv_sys_large_files
23413 _ACEOF
23414
23415 fi
23416
23417 fi
23418
23419 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23420 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23421 if test "x$wx_largefile" = "xyes"; then
23422 cat >>confdefs.h <<\_ACEOF
23423 #define HAVE_LARGEFILE_SUPPORT 1
23424 _ACEOF
23425
23426 fi
23427 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23428 echo "${ECHO_T}$wx_largefile" >&6; }
23429 fi
23430
23431
23432 if test "x$wx_largefile" = "xyes"; then
23433 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23435
23436 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23437 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23438 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23439 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 else
23442
23443 ac_ext=cpp
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448
23449 cat >conftest.$ac_ext <<_ACEOF
23450 /* confdefs.h. */
23451 _ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455
23456 int
23457 main ()
23458 {
23459
23460 #ifndef __STDC_EXT__
23461 choke me
23462 #endif
23463
23464 ;
23465 return 0;
23466 }
23467 _ACEOF
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23473 esac
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_cxx_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 wx_cv_STDC_EXT_required=no
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 wx_cv_STDC_EXT_required=yes
23491
23492 fi
23493
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23495 ac_ext=c
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500
23501
23502
23503 fi
23504 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23505 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23506 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23507 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23508 fi
23509 fi
23510 else
23511 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23512 fi
23513 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23514 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23515 if test "${ac_cv_sys_largefile_source+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 else
23518 while :; do
23519 cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h. */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <sys/types.h> /* for off_t */
23526 #include <stdio.h>
23527 int
23528 main ()
23529 {
23530 int (*fp) (FILE *, off_t, int) = fseeko;
23531 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 rm -f conftest.$ac_objext conftest$ac_exeext
23537 if { (ac_try="$ac_link"
23538 case "(($ac_try" in
23539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23540 *) ac_try_echo=$ac_try;;
23541 esac
23542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23543 (eval "$ac_link") 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } && {
23550 test -z "$ac_c_werror_flag" ||
23551 test ! -s conftest.err
23552 } && test -s conftest$ac_exeext &&
23553 $as_test_x conftest$ac_exeext; then
23554 ac_cv_sys_largefile_source=no; break
23555 else
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23558
23559
23560 fi
23561
23562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23563 conftest$ac_exeext conftest.$ac_ext
23564 cat >conftest.$ac_ext <<_ACEOF
23565 /* confdefs.h. */
23566 _ACEOF
23567 cat confdefs.h >>conftest.$ac_ext
23568 cat >>conftest.$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23570 #define _LARGEFILE_SOURCE 1
23571 #include <sys/types.h> /* for off_t */
23572 #include <stdio.h>
23573 int
23574 main ()
23575 {
23576 int (*fp) (FILE *, off_t, int) = fseeko;
23577 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23578 ;
23579 return 0;
23580 }
23581 _ACEOF
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (ac_try="$ac_link"
23584 case "(($ac_try" in
23585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586 *) ac_try_echo=$ac_try;;
23587 esac
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589 (eval "$ac_link") 2>conftest.er1
23590 ac_status=$?
23591 grep -v '^ *+' conftest.er1 >conftest.err
23592 rm -f conftest.er1
23593 cat conftest.err >&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } && {
23596 test -z "$ac_c_werror_flag" ||
23597 test ! -s conftest.err
23598 } && test -s conftest$ac_exeext &&
23599 $as_test_x conftest$ac_exeext; then
23600 ac_cv_sys_largefile_source=1; break
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23609 conftest$ac_exeext conftest.$ac_ext
23610 ac_cv_sys_largefile_source=unknown
23611 break
23612 done
23613 fi
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23615 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23616 case $ac_cv_sys_largefile_source in #(
23617 no | unknown) ;;
23618 *)
23619 cat >>confdefs.h <<_ACEOF
23620 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23621 _ACEOF
23622 ;;
23623 esac
23624 rm -f conftest*
23625
23626 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23627 # in glibc 2.1.3, but that breaks too many other things.
23628 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23629 if test $ac_cv_sys_largefile_source != unknown; then
23630
23631 cat >>confdefs.h <<\_ACEOF
23632 #define HAVE_FSEEKO 1
23633 _ACEOF
23634
23635 fi
23636
23637 if test "$ac_cv_sys_largefile_source" != no; then
23638 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23639 fi
23640 fi
23641
23642 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23643 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23644 if test "${ac_cv_c_bigendian+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 else
23647 ac_cv_c_bigendian=unknown
23648 # See if sys/param.h defines the BYTE_ORDER macro.
23649 cat >conftest.$ac_ext <<_ACEOF
23650 /* confdefs.h. */
23651 _ACEOF
23652 cat confdefs.h >>conftest.$ac_ext
23653 cat >>conftest.$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 #include <sys/types.h>
23656 #include <sys/param.h>
23657 int
23658 main ()
23659 {
23660
23661 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23662 bogus endian macros
23663 #endif
23664 ;
23665 return 0;
23666 }
23667 _ACEOF
23668 rm -f conftest.$ac_objext
23669 if { (ac_try="$ac_compile"
23670 case "(($ac_try" in
23671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23672 *) ac_try_echo=$ac_try;;
23673 esac
23674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23675 (eval "$ac_compile") 2>conftest.er1
23676 ac_status=$?
23677 grep -v '^ *+' conftest.er1 >conftest.err
23678 rm -f conftest.er1
23679 cat conftest.err >&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } && {
23682 test -z "$ac_c_werror_flag" ||
23683 test ! -s conftest.err
23684 } && test -s conftest.$ac_objext; then
23685 # It does; now see whether it defined to BIG_ENDIAN or not.
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #include <sys/types.h>
23693 #include <sys/param.h>
23694 int
23695 main ()
23696 {
23697
23698 #if BYTE_ORDER != BIG_ENDIAN
23699 not big endian
23700 #endif
23701 ;
23702 return 0;
23703 }
23704 _ACEOF
23705 rm -f conftest.$ac_objext
23706 if { (ac_try="$ac_compile"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23710 esac
23711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_compile") 2>conftest.er1
23713 ac_status=$?
23714 grep -v '^ *+' conftest.er1 >conftest.err
23715 rm -f conftest.er1
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } && {
23719 test -z "$ac_c_werror_flag" ||
23720 test ! -s conftest.err
23721 } && test -s conftest.$ac_objext; then
23722 ac_cv_c_bigendian=yes
23723 else
23724 echo "$as_me: failed program was:" >&5
23725 sed 's/^/| /' conftest.$ac_ext >&5
23726
23727 ac_cv_c_bigendian=no
23728 fi
23729
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 else
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.$ac_ext >&5
23734
23735
23736 fi
23737
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 if test $ac_cv_c_bigendian = unknown; then
23740 if test "$cross_compiling" = yes; then
23741 ac_cv_c_bigendian=unknown
23742 else
23743 cat >conftest.$ac_ext <<_ACEOF
23744 /* confdefs.h. */
23745 _ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 main () {
23750 /* Are we little or big endian? From Harbison&Steele. */
23751 union
23752 {
23753 long l;
23754 char c[sizeof (long)];
23755 } u;
23756 u.l = 1;
23757 exit (u.c[sizeof (long) - 1] == 1);
23758 }
23759 _ACEOF
23760 rm -f conftest$ac_exeext
23761 if { (ac_try="$ac_link"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23765 esac
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_link") 2>&5
23768 ac_status=$?
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23771 { (case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23774 esac
23775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_try") 2>&5
23777 ac_status=$?
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23780 ac_cv_c_bigendian=no
23781 else
23782 echo "$as_me: program exited with status $ac_status" >&5
23783 echo "$as_me: failed program was:" >&5
23784 sed 's/^/| /' conftest.$ac_ext >&5
23785
23786 ( exit $ac_status )
23787 ac_cv_c_bigendian=yes
23788 fi
23789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23790 fi
23791
23792
23793 fi
23794 fi
23795 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23797 if test $ac_cv_c_bigendian = unknown; then
23798 { 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
23799 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;}
23800 fi
23801 if test $ac_cv_c_bigendian = yes; then
23802 cat >>confdefs.h <<\_ACEOF
23803 #define WORDS_BIGENDIAN 1
23804 _ACEOF
23805
23806 fi
23807
23808
23809
23810
23811 ac_ext=cpp
23812 ac_cpp='$CXXCPP $CPPFLAGS'
23813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23816
23817
23818
23819 for ac_header in iostream
23820 do
23821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23826 else
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833
23834
23835 #include <$ac_header>
23836 _ACEOF
23837 rm -f conftest.$ac_objext
23838 if { (ac_try="$ac_compile"
23839 case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23842 esac
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_compile") 2>conftest.er1
23845 ac_status=$?
23846 grep -v '^ *+' conftest.er1 >conftest.err
23847 rm -f conftest.er1
23848 cat conftest.err >&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && {
23851 test -z "$ac_cxx_werror_flag" ||
23852 test ! -s conftest.err
23853 } && test -s conftest.$ac_objext; then
23854 eval "$as_ac_Header=yes"
23855 else
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 eval "$as_ac_Header=no"
23860 fi
23861
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 fi
23864 ac_res=`eval echo '${'$as_ac_Header'}'`
23865 { echo "$as_me:$LINENO: result: $ac_res" >&5
23866 echo "${ECHO_T}$ac_res" >&6; }
23867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23868 cat >>confdefs.h <<_ACEOF
23869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23870 _ACEOF
23871
23872 fi
23873
23874 done
23875
23876
23877 if test "$ac_cv_header_iostream" = "yes" ; then
23878 :
23879 else
23880 cat >>confdefs.h <<\_ACEOF
23881 #define wxUSE_IOSTREAMH 1
23882 _ACEOF
23883
23884 fi
23885
23886 ac_ext=c
23887 ac_cpp='$CPP $CPPFLAGS'
23888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23891
23892
23893
23894
23895 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23897 if test "${wx_cv_explicit+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 else
23900
23901
23902 ac_ext=cpp
23903 ac_cpp='$CXXCPP $CPPFLAGS'
23904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23907
23908
23909 cat >conftest.$ac_ext <<_ACEOF
23910 /* confdefs.h. */
23911 _ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23915
23916 class Foo { public: explicit Foo(int) {} };
23917
23918 int
23919 main ()
23920 {
23921
23922 return 0;
23923
23924 ;
23925 return 0;
23926 }
23927 _ACEOF
23928 rm -f conftest.$ac_objext
23929 if { (ac_try="$ac_compile"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23933 esac
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_compile") 2>conftest.er1
23936 ac_status=$?
23937 grep -v '^ *+' conftest.er1 >conftest.err
23938 rm -f conftest.er1
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && {
23942 test -z "$ac_cxx_werror_flag" ||
23943 test ! -s conftest.err
23944 } && test -s conftest.$ac_objext; then
23945
23946 cat >conftest.$ac_ext <<_ACEOF
23947 /* confdefs.h. */
23948 _ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952
23953 class Foo { public: explicit Foo(int) {} };
23954 static void TakeFoo(const Foo& foo) { }
23955
23956 int
23957 main ()
23958 {
23959
23960 TakeFoo(17);
23961 return 0;
23962
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 rm -f conftest.$ac_objext
23968 if { (ac_try="$ac_compile"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23971 *) ac_try_echo=$ac_try;;
23972 esac
23973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_compile") 2>conftest.er1
23975 ac_status=$?
23976 grep -v '^ *+' conftest.er1 >conftest.err
23977 rm -f conftest.er1
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_cxx_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest.$ac_objext; then
23984 wx_cv_explicit=no
23985 else
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23988
23989 wx_cv_explicit=yes
23990
23991 fi
23992
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23994
23995 else
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.$ac_ext >&5
23998
23999 wx_cv_explicit=no
24000
24001 fi
24002
24003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24004
24005 ac_ext=c
24006 ac_cpp='$CPP $CPPFLAGS'
24007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24010
24011
24012 fi
24013 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24014 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24015
24016 if test "$wx_cv_explicit" = "yes"; then
24017 cat >>confdefs.h <<\_ACEOF
24018 #define HAVE_EXPLICIT 1
24019 _ACEOF
24020
24021 fi
24022
24023
24024 if test "x$SUNCXX" = xyes; then
24025 CXXFLAGS="-features=tmplife $CXXFLAGS"
24026 fi
24027
24028 if test "x$SUNCC" = xyes; then
24029 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24030 fi
24031
24032 if test "x$SGICC" = "xyes"; then
24033 CFLAGS="-woff 3970 $CFLAGS"
24034 fi
24035 if test "x$SGICXX" = "xyes"; then
24036 CXXFLAGS="-woff 3970 $CXXFLAGS"
24037 fi
24038
24039 if test "x$HPCC" = "xyes"; then
24040 CFLAGS="+W 2011,2450 $CFLAGS"
24041 fi
24042 if test "x$HPCXX" = "xyes"; then
24043 CXXFLAGS="+W 2340 $CXXFLAGS"
24044 fi
24045
24046 if test "x$COMPAQCXX" = "xyes"; then
24047 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24048 fi
24049
24050 ac_ext=cpp
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055
24056
24057 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24058 if test "$wxUSE_UNICODE" = "yes"; then
24059 std_string="std::wstring"
24060 char_type="wchar_t"
24061 else
24062 std_string="std::string"
24063 char_type="char"
24064 fi
24065
24066 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24067 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24068 if test "${wx_cv_class_stdstring+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 else
24071
24072 cat >conftest.$ac_ext <<_ACEOF
24073 /* confdefs.h. */
24074 _ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078 #include <string>
24079 int
24080 main ()
24081 {
24082 $std_string foo;
24083 ;
24084 return 0;
24085 }
24086 _ACEOF
24087 rm -f conftest.$ac_objext
24088 if { (ac_try="$ac_compile"
24089 case "(($ac_try" in
24090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24091 *) ac_try_echo=$ac_try;;
24092 esac
24093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24094 (eval "$ac_compile") 2>conftest.er1
24095 ac_status=$?
24096 grep -v '^ *+' conftest.er1 >conftest.err
24097 rm -f conftest.er1
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } && {
24101 test -z "$ac_cxx_werror_flag" ||
24102 test ! -s conftest.err
24103 } && test -s conftest.$ac_objext; then
24104 wx_cv_class_stdstring=yes
24105 else
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24108
24109 wx_cv_class_stdstring=no
24110
24111 fi
24112
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114
24115
24116 fi
24117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24118 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24119
24120 if test "$wx_cv_class_stdstring" = yes; then
24121 if test "$wxUSE_UNICODE" = "yes"; then
24122 cat >>confdefs.h <<\_ACEOF
24123 #define HAVE_STD_WSTRING 1
24124 _ACEOF
24125
24126 fi
24127 else
24128 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24129 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24130 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 else
24133
24134 cat >conftest.$ac_ext <<_ACEOF
24135 /* confdefs.h. */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140
24141 #ifdef HAVE_WCHAR_H
24142 # ifdef __CYGWIN__
24143 # include <stddef.h>
24144 # endif
24145 # include <wchar.h>
24146 #endif
24147 #ifdef HAVE_STDLIB_H
24148 # include <stdlib.h>
24149 #endif
24150 #include <stdio.h>
24151 #include <string>
24152
24153 int
24154 main ()
24155 {
24156 std::basic_string<$char_type> foo;
24157 const $char_type* dummy = foo.c_str();
24158 ;
24159 return 0;
24160 }
24161 _ACEOF
24162 rm -f conftest.$ac_objext
24163 if { (ac_try="$ac_compile"
24164 case "(($ac_try" in
24165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24166 *) ac_try_echo=$ac_try;;
24167 esac
24168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24169 (eval "$ac_compile") 2>conftest.er1
24170 ac_status=$?
24171 grep -v '^ *+' conftest.er1 >conftest.err
24172 rm -f conftest.er1
24173 cat conftest.err >&5
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); } && {
24176 test -z "$ac_cxx_werror_flag" ||
24177 test ! -s conftest.err
24178 } && test -s conftest.$ac_objext; then
24179 wx_cv_class_stdbasicstring=yes
24180 else
24181 echo "$as_me: failed program was:" >&5
24182 sed 's/^/| /' conftest.$ac_ext >&5
24183
24184 wx_cv_class_stdbasicstring=no
24185
24186 fi
24187
24188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24189
24190
24191 fi
24192 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24193 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24194
24195 if test "$wx_cv_class_stdbasicstring" != yes; then
24196 if test "$wxUSE_STL" = "yes"; then
24197 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24198 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24199 { (exit 1); exit 1; }; }
24200 elif test "$wxUSE_STD_STRING" = "yes"; then
24201 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24202 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24203 { (exit 1); exit 1; }; }
24204 else
24205 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24206 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24207 wxUSE_STD_STRING=no
24208 fi
24209 fi
24210 fi
24211 fi
24212
24213 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24214 { echo "$as_me:$LINENO: checking for std::istream" >&5
24215 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24216 if test "${ac_cv_type_std__istream+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219 cat >conftest.$ac_ext <<_ACEOF
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #include <iostream>
24226
24227 typedef std::istream ac__type_new_;
24228 int
24229 main ()
24230 {
24231 if ((ac__type_new_ *) 0)
24232 return 0;
24233 if (sizeof (ac__type_new_))
24234 return 0;
24235 ;
24236 return 0;
24237 }
24238 _ACEOF
24239 rm -f conftest.$ac_objext
24240 if { (ac_try="$ac_compile"
24241 case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24244 esac
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_compile") 2>conftest.er1
24247 ac_status=$?
24248 grep -v '^ *+' conftest.er1 >conftest.err
24249 rm -f conftest.er1
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_cxx_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest.$ac_objext; then
24256 ac_cv_type_std__istream=yes
24257 else
24258 echo "$as_me: failed program was:" >&5
24259 sed 's/^/| /' conftest.$ac_ext >&5
24260
24261 ac_cv_type_std__istream=no
24262 fi
24263
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265 fi
24266 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24267 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24268 if test $ac_cv_type_std__istream = yes; then
24269
24270 cat >>confdefs.h <<_ACEOF
24271 #define HAVE_STD__ISTREAM 1
24272 _ACEOF
24273
24274
24275 else
24276 wxUSE_STD_IOSTREAM=no
24277 fi
24278 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24279 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24280 if test "${ac_cv_type_std__ostream+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 else
24283 cat >conftest.$ac_ext <<_ACEOF
24284 /* confdefs.h. */
24285 _ACEOF
24286 cat confdefs.h >>conftest.$ac_ext
24287 cat >>conftest.$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289 #include <iostream>
24290
24291 typedef std::ostream ac__type_new_;
24292 int
24293 main ()
24294 {
24295 if ((ac__type_new_ *) 0)
24296 return 0;
24297 if (sizeof (ac__type_new_))
24298 return 0;
24299 ;
24300 return 0;
24301 }
24302 _ACEOF
24303 rm -f conftest.$ac_objext
24304 if { (ac_try="$ac_compile"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24308 esac
24309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24310 (eval "$ac_compile") 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && {
24317 test -z "$ac_cxx_werror_flag" ||
24318 test ! -s conftest.err
24319 } && test -s conftest.$ac_objext; then
24320 ac_cv_type_std__ostream=yes
24321 else
24322 echo "$as_me: failed program was:" >&5
24323 sed 's/^/| /' conftest.$ac_ext >&5
24324
24325 ac_cv_type_std__ostream=no
24326 fi
24327
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24329 fi
24330 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24331 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24332 if test $ac_cv_type_std__ostream = yes; then
24333
24334 cat >>confdefs.h <<_ACEOF
24335 #define HAVE_STD__OSTREAM 1
24336 _ACEOF
24337
24338
24339 else
24340 wxUSE_STD_IOSTREAM=no
24341 fi
24342
24343
24344 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24345 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24346 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24347 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24348 { (exit 1); exit 1; }; }
24349 else
24350 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24351 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24352 fi
24353 fi
24354 fi
24355
24356 if test "$wxUSE_STL" = "yes"; then
24357 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24358 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24359 if test "${wx_cv_lib_stl+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 else
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 #include <string>
24369 #include <functional>
24370 #include <algorithm>
24371 #include <vector>
24372 #include <list>
24373 int
24374 main ()
24375 {
24376 std::vector<int> moo;
24377 std::list<int> foo;
24378 std::vector<int>::iterator it =
24379 std::find_if(moo.begin(), moo.end(),
24380 std::bind2nd(std::less<int>(), 3));
24381 ;
24382 return 0;
24383 }
24384 _ACEOF
24385 rm -f conftest.$ac_objext
24386 if { (ac_try="$ac_compile"
24387 case "(($ac_try" in
24388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24389 *) ac_try_echo=$ac_try;;
24390 esac
24391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24392 (eval "$ac_compile") 2>conftest.er1
24393 ac_status=$?
24394 grep -v '^ *+' conftest.er1 >conftest.err
24395 rm -f conftest.er1
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } && {
24399 test -z "$ac_cxx_werror_flag" ||
24400 test ! -s conftest.err
24401 } && test -s conftest.$ac_objext; then
24402 wx_cv_lib_stl=yes
24403 else
24404 echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.$ac_ext >&5
24406
24407 wx_cv_lib_stl=no
24408
24409 fi
24410
24411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24412
24413 fi
24414 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24415 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24416
24417 if test "$wx_cv_lib_stl" != yes; then
24418 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24419 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24420 { (exit 1); exit 1; }; }
24421 fi
24422
24423 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24424 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24425 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24427 else
24428 cat >conftest.$ac_ext <<_ACEOF
24429 /* confdefs.h. */
24430 _ACEOF
24431 cat confdefs.h >>conftest.$ac_ext
24432 cat >>conftest.$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24434 #include <string>
24435 int
24436 main ()
24437 {
24438 std::string foo, bar;
24439 foo.compare(bar);
24440 foo.compare(1, 1, bar);
24441 foo.compare(1, 1, bar, 1, 1);
24442 foo.compare("");
24443 foo.compare(1, 1, "");
24444 foo.compare(1, 1, "", 2);
24445 ;
24446 return 0;
24447 }
24448 _ACEOF
24449 rm -f conftest.$ac_objext
24450 if { (ac_try="$ac_compile"
24451 case "(($ac_try" in
24452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 *) ac_try_echo=$ac_try;;
24454 esac
24455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 (eval "$ac_compile") 2>conftest.er1
24457 ac_status=$?
24458 grep -v '^ *+' conftest.er1 >conftest.err
24459 rm -f conftest.er1
24460 cat conftest.err >&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } && {
24463 test -z "$ac_cxx_werror_flag" ||
24464 test ! -s conftest.err
24465 } && test -s conftest.$ac_objext; then
24466 wx_cv_func_stdstring_compare=yes
24467 else
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.$ac_ext >&5
24470
24471 wx_cv_func_stdstring_compare=no
24472
24473 fi
24474
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476
24477 fi
24478 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24479 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24480
24481 if test "$wx_cv_func_stdstring_compare" = yes; then
24482 cat >>confdefs.h <<\_ACEOF
24483 #define HAVE_STD_STRING_COMPARE 1
24484 _ACEOF
24485
24486 fi
24487
24488 if test "$wx_cv_class_gnuhashmapset" = yes; then
24489 cat >>confdefs.h <<\_ACEOF
24490 #define HAVE_EXT_HASH_MAP 1
24491 _ACEOF
24492
24493 cat >>confdefs.h <<\_ACEOF
24494 #define HAVE_GNU_CXX_HASH_MAP 1
24495 _ACEOF
24496
24497 fi
24498
24499 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24500 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24501 if test "${ac_cv_header_unordered_map+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 else
24504 cat >conftest.$ac_ext <<_ACEOF
24505 /* confdefs.h. */
24506 _ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510
24511
24512
24513 #include <unordered_map>
24514 _ACEOF
24515 rm -f conftest.$ac_objext
24516 if { (ac_try="$ac_compile"
24517 case "(($ac_try" in
24518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24519 *) ac_try_echo=$ac_try;;
24520 esac
24521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24522 (eval "$ac_compile") 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } && {
24529 test -z "$ac_cxx_werror_flag" ||
24530 test ! -s conftest.err
24531 } && test -s conftest.$ac_objext; then
24532 ac_cv_header_unordered_map=yes
24533 else
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24536
24537 ac_cv_header_unordered_map=no
24538 fi
24539
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24541 fi
24542 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24543 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24544 if test $ac_cv_header_unordered_map = yes; then
24545 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24546 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24547 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 else
24550 cat >conftest.$ac_ext <<_ACEOF
24551 /* confdefs.h. */
24552 _ACEOF
24553 cat confdefs.h >>conftest.$ac_ext
24554 cat >>conftest.$ac_ext <<_ACEOF
24555 /* end confdefs.h. */
24556 #include <unordered_map>
24557 #include <unordered_set>
24558 int
24559 main ()
24560 {
24561 std::unordered_map<double*, char*> test1;
24562 std::unordered_set<char*> test2;
24563 ;
24564 return 0;
24565 }
24566 _ACEOF
24567 rm -f conftest.$ac_objext
24568 if { (ac_try="$ac_compile"
24569 case "(($ac_try" in
24570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24571 *) ac_try_echo=$ac_try;;
24572 esac
24573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24574 (eval "$ac_compile") 2>conftest.er1
24575 ac_status=$?
24576 grep -v '^ *+' conftest.er1 >conftest.err
24577 rm -f conftest.er1
24578 cat conftest.err >&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } && {
24581 test -z "$ac_cxx_werror_flag" ||
24582 test ! -s conftest.err
24583 } && test -s conftest.$ac_objext; then
24584 wx_cv_class_stdunorderedmapset=yes
24585 else
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24588
24589 wx_cv_class_stdunorderedmapset=no
24590 fi
24591
24592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593
24594
24595 fi
24596 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24597 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24598 fi
24599
24600
24601
24602 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24603 cat >>confdefs.h <<\_ACEOF
24604 #define HAVE_STD_UNORDERED_MAP 1
24605 _ACEOF
24606
24607 cat >>confdefs.h <<\_ACEOF
24608 #define HAVE_STD_UNORDERED_SET 1
24609 _ACEOF
24610
24611 else
24612 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24613 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24614 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24616 else
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h. */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623
24624
24625
24626 #include <tr1/unordered_map>
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24633 esac
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24636 ac_status=$?
24637 grep -v '^ *+' conftest.er1 >conftest.err
24638 rm -f conftest.er1
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 ac_cv_header_tr1_unordered_map=yes
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 ac_cv_header_tr1_unordered_map=no
24651 fi
24652
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 fi
24655 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24656 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24657 if test $ac_cv_header_tr1_unordered_map = yes; then
24658 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24659 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24660 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h. */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h. */
24669 #include <tr1/unordered_map>
24670 #include <tr1/unordered_set>
24671 int
24672 main ()
24673 {
24674 std::tr1::unordered_map<double*, char*> test1;
24675 std::tr1::unordered_set<char*> test2;
24676 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24677 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24678 #endif
24679 ;
24680 return 0;
24681 }
24682 _ACEOF
24683 rm -f conftest.$ac_objext
24684 if { (ac_try="$ac_compile"
24685 case "(($ac_try" in
24686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24687 *) ac_try_echo=$ac_try;;
24688 esac
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690 (eval "$ac_compile") 2>conftest.er1
24691 ac_status=$?
24692 grep -v '^ *+' conftest.er1 >conftest.err
24693 rm -f conftest.er1
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_cxx_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest.$ac_objext; then
24700 wx_cv_class_tr1unorderedmapset=yes
24701 else
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24704
24705 wx_cv_class_tr1unorderedmapset=no
24706 fi
24707
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709
24710
24711 fi
24712 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24713 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24714 fi
24715
24716
24717
24718 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24719 cat >>confdefs.h <<\_ACEOF
24720 #define HAVE_TR1_UNORDERED_MAP 1
24721 _ACEOF
24722
24723 cat >>confdefs.h <<\_ACEOF
24724 #define HAVE_TR1_UNORDERED_SET 1
24725 _ACEOF
24726
24727 else
24728 { echo "$as_me:$LINENO: checking for hash_map" >&5
24729 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24730 if test "${ac_cv_header_hash_map+set}" = set; then
24731 echo $ECHO_N "(cached) $ECHO_C" >&6
24732 else
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739
24740
24741
24742 #include <hash_map>
24743 _ACEOF
24744 rm -f conftest.$ac_objext
24745 if { (ac_try="$ac_compile"
24746 case "(($ac_try" in
24747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24748 *) ac_try_echo=$ac_try;;
24749 esac
24750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24751 (eval "$ac_compile") 2>conftest.er1
24752 ac_status=$?
24753 grep -v '^ *+' conftest.er1 >conftest.err
24754 rm -f conftest.er1
24755 cat conftest.err >&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); } && {
24758 test -z "$ac_cxx_werror_flag" ||
24759 test ! -s conftest.err
24760 } && test -s conftest.$ac_objext; then
24761 ac_cv_header_hash_map=yes
24762 else
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24765
24766 ac_cv_header_hash_map=no
24767 fi
24768
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24770 fi
24771 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24772 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24773 if test $ac_cv_header_hash_map = yes; then
24774 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24775 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24776 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24778 else
24779 cat >conftest.$ac_ext <<_ACEOF
24780 /* confdefs.h. */
24781 _ACEOF
24782 cat confdefs.h >>conftest.$ac_ext
24783 cat >>conftest.$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 #include <hash_map>
24786 #include <hash_set>
24787 int
24788 main ()
24789 {
24790 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24791 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24792 ;
24793 return 0;
24794 }
24795 _ACEOF
24796 rm -f conftest.$ac_objext
24797 if { (ac_try="$ac_compile"
24798 case "(($ac_try" in
24799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24800 *) ac_try_echo=$ac_try;;
24801 esac
24802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24803 (eval "$ac_compile") 2>conftest.er1
24804 ac_status=$?
24805 grep -v '^ *+' conftest.er1 >conftest.err
24806 rm -f conftest.er1
24807 cat conftest.err >&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } && {
24810 test -z "$ac_cxx_werror_flag" ||
24811 test ! -s conftest.err
24812 } && test -s conftest.$ac_objext; then
24813 wx_cv_class_stdhashmapset=yes
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 wx_cv_class_stdhashmapset=no
24819 fi
24820
24821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24822
24823
24824 fi
24825 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24826 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24827 fi
24828
24829
24830
24831 if test "$wx_cv_class_stdhashmapset" = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_HASH_MAP 1
24834 _ACEOF
24835
24836 cat >>confdefs.h <<\_ACEOF
24837 #define HAVE_STD_HASH_MAP 1
24838 _ACEOF
24839
24840 fi
24841
24842 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24843 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847 cat >conftest.$ac_ext <<_ACEOF
24848 /* confdefs.h. */
24849 _ACEOF
24850 cat confdefs.h >>conftest.$ac_ext
24851 cat >>conftest.$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24853
24854
24855
24856 #include <ext/hash_map>
24857 _ACEOF
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;;
24863 esac
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24866 ac_status=$?
24867 grep -v '^ *+' conftest.er1 >conftest.err
24868 rm -f conftest.er1
24869 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_cxx_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.$ac_objext; then
24875 ac_cv_header_ext_hash_map=yes
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880 ac_cv_header_ext_hash_map=no
24881 fi
24882
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24884 fi
24885 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24886 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24887 if test $ac_cv_header_ext_hash_map = yes; then
24888 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24889 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24890 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 else
24893 cat >conftest.$ac_ext <<_ACEOF
24894 /* confdefs.h. */
24895 _ACEOF
24896 cat confdefs.h >>conftest.$ac_ext
24897 cat >>conftest.$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24899 #include <ext/hash_map>
24900 #include <ext/hash_set>
24901 int
24902 main ()
24903 {
24904 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24905 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24906 ;
24907 return 0;
24908 }
24909 _ACEOF
24910 rm -f conftest.$ac_objext
24911 if { (ac_try="$ac_compile"
24912 case "(($ac_try" in
24913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24914 *) ac_try_echo=$ac_try;;
24915 esac
24916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24917 (eval "$ac_compile") 2>conftest.er1
24918 ac_status=$?
24919 grep -v '^ *+' conftest.er1 >conftest.err
24920 rm -f conftest.er1
24921 cat conftest.err >&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && {
24924 test -z "$ac_cxx_werror_flag" ||
24925 test ! -s conftest.err
24926 } && test -s conftest.$ac_objext; then
24927 wx_cv_class_gnuhashmapset=yes
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24931
24932 wx_cv_class_gnuhashmapset=no
24933 fi
24934
24935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24936
24937
24938 fi
24939 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24940 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24941 fi
24942
24943
24944
24945 fi
24946 fi
24947 fi
24948
24949
24950
24951 if test -n "$GCC"; then
24952 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24953 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24954 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957
24958 cat >conftest.$ac_ext <<_ACEOF
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964
24965 int
24966 main ()
24967 {
24968
24969 unsigned int value=0;
24970 /* wxAtomicInc doesn't use return value here */
24971 __sync_fetch_and_add(&value, 2);
24972 __sync_sub_and_fetch(&value, 1);
24973 /* but wxAtomicDec does, so mimic that: */
24974 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24975
24976 ;
24977 return 0;
24978 }
24979 _ACEOF
24980 rm -f conftest.$ac_objext conftest$ac_exeext
24981 if { (ac_try="$ac_link"
24982 case "(($ac_try" in
24983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24984 *) ac_try_echo=$ac_try;;
24985 esac
24986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24987 (eval "$ac_link") 2>conftest.er1
24988 ac_status=$?
24989 grep -v '^ *+' conftest.er1 >conftest.err
24990 rm -f conftest.er1
24991 cat conftest.err >&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } && {
24994 test -z "$ac_cxx_werror_flag" ||
24995 test ! -s conftest.err
24996 } && test -s conftest$ac_exeext &&
24997 $as_test_x conftest$ac_exeext; then
24998 wx_cv_cc_gcc_atomic_builtins=yes
24999 else
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.$ac_ext >&5
25002
25003 wx_cv_cc_gcc_atomic_builtins=no
25004 fi
25005
25006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25007 conftest$ac_exeext conftest.$ac_ext
25008
25009 fi
25010
25011 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25012 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25013 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_GCC_ATOMIC_BUILTINS 1
25016 _ACEOF
25017
25018 fi
25019 fi
25020
25021
25022 ac_ext=c
25023 ac_cpp='$CPP $CPPFLAGS'
25024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25027
25028
25029
25030 SEARCH_INCLUDE="\
25031 /usr/local/include \
25032 /usr/local/X11/include \
25033 /usr/local/include/X11 \
25034 /usr/local/X11R6/include \
25035 /usr/local/include/X11R6 \
25036 \
25037 /usr/Motif-2.1/include \
25038 /usr/Motif-1.2/include \
25039 /usr/include/Motif1.2 \
25040 \
25041 /usr/dt/include \
25042 /usr/openwin/include \
25043 \
25044 /usr/include/Xm \
25045 \
25046 /usr/X11R6/include \
25047 /usr/X11R6.4/include \
25048 \
25049 /usr/include/X11R6 \
25050 \
25051 /usr/X11/include \
25052 /usr/include/X11 \
25053 \
25054 /usr/XFree86/include/X11 \
25055 /usr/pkg/include \
25056 \
25057 /usr/local/X1R5/include \
25058 /usr/local/include/X11R5 \
25059 /usr/X11R5/include \
25060 /usr/include/X11R5 \
25061 \
25062 /usr/local/X11R4/include \
25063 /usr/local/include/X11R4 \
25064 /usr/X11R4/include \
25065 /usr/include/X11R4 \
25066 \
25067 /usr/openwin/share/include"
25068
25069 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25070 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25071
25072 case "${host}" in
25073 *-*-irix6* )
25074 if test "${wx_cv_std_libpath+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else
25077
25078 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25079 for e in a so sl dylib dll.a; do
25080 libc="$d/libc.$e"
25081 if test -f $libc; then
25082 save_LIBS="$LIBS"
25083 LIBS="$libc"
25084 cat >conftest.$ac_ext <<_ACEOF
25085 int main() { return 0; }
25086 _ACEOF
25087 rm -f conftest.$ac_objext conftest$ac_exeext
25088 if { (ac_try="$ac_link"
25089 case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25092 esac
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_link") 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_c_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest$ac_exeext &&
25104 $as_test_x conftest$ac_exeext; then
25105 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110
25111 fi
25112
25113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25114 conftest$ac_exeext conftest.$ac_ext
25115 LIBS="$save_LIBS"
25116 if test "x$wx_cv_std_libpath" != "x"; then
25117 break 2
25118 fi
25119 fi
25120 done
25121 done
25122 if test "x$wx_cv_std_libpath" = "x"; then
25123 wx_cv_std_libpath="lib"
25124 fi
25125
25126
25127 fi
25128
25129 ;;
25130
25131 *-*-solaris2* )
25132 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25133 wx_cv_std_libpath="lib/64"
25134 else
25135 wx_cv_std_libpath="lib"
25136 fi
25137 ;;
25138
25139 *-*-linux* )
25140 if test "$ac_cv_sizeof_void_p" = 8 -a \
25141 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25142 wx_cv_std_libpath="lib64"
25143 else
25144 wx_cv_std_libpath="lib"
25145 fi
25146 ;;
25147
25148 *)
25149 wx_cv_std_libpath="lib";
25150 ;;
25151 esac
25152
25153 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25154 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25155
25156 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25157
25158 if test "$build" != "$host" -a "$GCC" = yes; then
25159 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25160 cross_root=`dirname $cross_root`
25161 cross_root=`dirname $cross_root`
25162
25163 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25164 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25165 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25166
25167 if test -z "$PKG_CONFIG_PATH"; then
25168 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25169 export PKG_CONFIG_PATH
25170 fi
25171
25172 if test -z "$x_includes" -o "$x_includes" = NONE; then
25173
25174 ac_find_includes=
25175 for ac_dir in $SEARCH_INCLUDE /usr/include;
25176 do
25177 if test -f "$ac_dir/X11/Intrinsic.h"; then
25178 ac_find_includes=$ac_dir
25179 break
25180 fi
25181 done
25182
25183 x_includes=$ac_find_includes
25184 fi
25185 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25186
25187 ac_find_libraries=
25188 for ac_dir in $SEARCH_LIB;
25189 do
25190 for ac_extension in a so sl dylib dll.a; do
25191 if test -f "$ac_dir/libXt.$ac_extension"; then
25192 ac_find_libraries=$ac_dir
25193 break 2
25194 fi
25195 done
25196 done
25197
25198 x_libraries=$ac_find_libraries
25199 fi
25200 fi
25201 fi
25202
25203
25204 cat >confcache <<\_ACEOF
25205 # This file is a shell script that caches the results of configure
25206 # tests run on this system so they can be shared between configure
25207 # scripts and configure runs, see configure's option --config-cache.
25208 # It is not useful on other systems. If it contains results you don't
25209 # want to keep, you may remove or edit it.
25210 #
25211 # config.status only pays attention to the cache file if you give it
25212 # the --recheck option to rerun configure.
25213 #
25214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25216 # following values.
25217
25218 _ACEOF
25219
25220 # The following way of writing the cache mishandles newlines in values,
25221 # but we know of no workaround that is simple, portable, and efficient.
25222 # So, we kill variables containing newlines.
25223 # Ultrix sh set writes to stderr and can't be redirected directly,
25224 # and sets the high bit in the cache file unless we assign to the vars.
25225 (
25226 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25227 eval ac_val=\$$ac_var
25228 case $ac_val in #(
25229 *${as_nl}*)
25230 case $ac_var in #(
25231 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25232 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25233 esac
25234 case $ac_var in #(
25235 _ | IFS | as_nl) ;; #(
25236 *) $as_unset $ac_var ;;
25237 esac ;;
25238 esac
25239 done
25240
25241 (set) 2>&1 |
25242 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25243 *${as_nl}ac_space=\ *)
25244 # `set' does not quote correctly, so add quotes (double-quote
25245 # substitution turns \\\\ into \\, and sed turns \\ into \).
25246 sed -n \
25247 "s/'/'\\\\''/g;
25248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25249 ;; #(
25250 *)
25251 # `set' quotes correctly as required by POSIX, so do not add quotes.
25252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25253 ;;
25254 esac |
25255 sort
25256 ) |
25257 sed '
25258 /^ac_cv_env_/b end
25259 t clear
25260 :clear
25261 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25262 t end
25263 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25264 :end' >>confcache
25265 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25266 if test -w "$cache_file"; then
25267 test "x$cache_file" != "x/dev/null" &&
25268 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25269 echo "$as_me: updating cache $cache_file" >&6;}
25270 cat confcache >$cache_file
25271 else
25272 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25273 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25274 fi
25275 fi
25276 rm -f confcache
25277
25278 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25279 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25280 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25281 if test "${wx_cv_lib_glibc21+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25283 else
25284
25285 cat >conftest.$ac_ext <<_ACEOF
25286 /* confdefs.h. */
25287 _ACEOF
25288 cat confdefs.h >>conftest.$ac_ext
25289 cat >>conftest.$ac_ext <<_ACEOF
25290 /* end confdefs.h. */
25291 #include <features.h>
25292 int
25293 main ()
25294 {
25295
25296 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25297 not glibc 2.1
25298 #endif
25299
25300 ;
25301 return 0;
25302 }
25303 _ACEOF
25304 rm -f conftest.$ac_objext
25305 if { (ac_try="$ac_compile"
25306 case "(($ac_try" in
25307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25308 *) ac_try_echo=$ac_try;;
25309 esac
25310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25311 (eval "$ac_compile") 2>conftest.er1
25312 ac_status=$?
25313 grep -v '^ *+' conftest.er1 >conftest.err
25314 rm -f conftest.er1
25315 cat conftest.err >&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); } && {
25318 test -z "$ac_c_werror_flag" ||
25319 test ! -s conftest.err
25320 } && test -s conftest.$ac_objext; then
25321
25322 wx_cv_lib_glibc21=yes
25323
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328
25329 wx_cv_lib_glibc21=no
25330
25331
25332 fi
25333
25334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335
25336 fi
25337 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25338 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25339 if test "$wx_cv_lib_glibc21" = "yes"; then
25340 cat >>confdefs.h <<\_ACEOF
25341 #define wxHAVE_GLIBC2 1
25342 _ACEOF
25343
25344 fi
25345 fi
25346
25347 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25348 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25349 cat >>confdefs.h <<\_ACEOF
25350 #define _GNU_SOURCE 1
25351 _ACEOF
25352
25353 fi
25354 fi
25355
25356 have_cos=0
25357 have_floor=0
25358
25359 for ac_func in cos
25360 do
25361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25364 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 else
25367 cat >conftest.$ac_ext <<_ACEOF
25368 /* confdefs.h. */
25369 _ACEOF
25370 cat confdefs.h >>conftest.$ac_ext
25371 cat >>conftest.$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25375 #define $ac_func innocuous_$ac_func
25376
25377 /* System header to define __stub macros and hopefully few prototypes,
25378 which can conflict with char $ac_func (); below.
25379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25380 <limits.h> exists even on freestanding compilers. */
25381
25382 #ifdef __STDC__
25383 # include <limits.h>
25384 #else
25385 # include <assert.h>
25386 #endif
25387
25388 #undef $ac_func
25389
25390 /* Override any GCC internal prototype to avoid an error.
25391 Use char because int might match the return type of a GCC
25392 builtin and then its argument prototype would still apply. */
25393 #ifdef __cplusplus
25394 extern "C"
25395 #endif
25396 char $ac_func ();
25397 /* The GNU C library defines this for functions which it implements
25398 to always fail with ENOSYS. Some functions are actually named
25399 something starting with __ and the normal name is an alias. */
25400 #if defined __stub_$ac_func || defined __stub___$ac_func
25401 choke me
25402 #endif
25403
25404 int
25405 main ()
25406 {
25407 return $ac_func ();
25408 ;
25409 return 0;
25410 }
25411 _ACEOF
25412 rm -f conftest.$ac_objext conftest$ac_exeext
25413 if { (ac_try="$ac_link"
25414 case "(($ac_try" in
25415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25416 *) ac_try_echo=$ac_try;;
25417 esac
25418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25419 (eval "$ac_link") 2>conftest.er1
25420 ac_status=$?
25421 grep -v '^ *+' conftest.er1 >conftest.err
25422 rm -f conftest.er1
25423 cat conftest.err >&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && {
25426 test -z "$ac_c_werror_flag" ||
25427 test ! -s conftest.err
25428 } && test -s conftest$ac_exeext &&
25429 $as_test_x conftest$ac_exeext; then
25430 eval "$as_ac_var=yes"
25431 else
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.$ac_ext >&5
25434
25435 eval "$as_ac_var=no"
25436 fi
25437
25438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25439 conftest$ac_exeext conftest.$ac_ext
25440 fi
25441 ac_res=`eval echo '${'$as_ac_var'}'`
25442 { echo "$as_me:$LINENO: result: $ac_res" >&5
25443 echo "${ECHO_T}$ac_res" >&6; }
25444 if test `eval echo '${'$as_ac_var'}'` = yes; then
25445 cat >>confdefs.h <<_ACEOF
25446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25447 _ACEOF
25448 have_cos=1
25449 fi
25450 done
25451
25452
25453 for ac_func in floor
25454 do
25455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25459 echo $ECHO_N "(cached) $ECHO_C" >&6
25460 else
25461 cat >conftest.$ac_ext <<_ACEOF
25462 /* confdefs.h. */
25463 _ACEOF
25464 cat confdefs.h >>conftest.$ac_ext
25465 cat >>conftest.$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25469 #define $ac_func innocuous_$ac_func
25470
25471 /* System header to define __stub macros and hopefully few prototypes,
25472 which can conflict with char $ac_func (); below.
25473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25474 <limits.h> exists even on freestanding compilers. */
25475
25476 #ifdef __STDC__
25477 # include <limits.h>
25478 #else
25479 # include <assert.h>
25480 #endif
25481
25482 #undef $ac_func
25483
25484 /* Override any GCC internal prototype to avoid an error.
25485 Use char because int might match the return type of a GCC
25486 builtin and then its argument prototype would still apply. */
25487 #ifdef __cplusplus
25488 extern "C"
25489 #endif
25490 char $ac_func ();
25491 /* The GNU C library defines this for functions which it implements
25492 to always fail with ENOSYS. Some functions are actually named
25493 something starting with __ and the normal name is an alias. */
25494 #if defined __stub_$ac_func || defined __stub___$ac_func
25495 choke me
25496 #endif
25497
25498 int
25499 main ()
25500 {
25501 return $ac_func ();
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (ac_try="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25511 esac
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>conftest.er1
25514 ac_status=$?
25515 grep -v '^ *+' conftest.er1 >conftest.err
25516 rm -f conftest.er1
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } && {
25520 test -z "$ac_c_werror_flag" ||
25521 test ! -s conftest.err
25522 } && test -s conftest$ac_exeext &&
25523 $as_test_x conftest$ac_exeext; then
25524 eval "$as_ac_var=yes"
25525 else
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25528
25529 eval "$as_ac_var=no"
25530 fi
25531
25532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25533 conftest$ac_exeext conftest.$ac_ext
25534 fi
25535 ac_res=`eval echo '${'$as_ac_var'}'`
25536 { echo "$as_me:$LINENO: result: $ac_res" >&5
25537 echo "${ECHO_T}$ac_res" >&6; }
25538 if test `eval echo '${'$as_ac_var'}'` = yes; then
25539 cat >>confdefs.h <<_ACEOF
25540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25541 _ACEOF
25542 have_floor=1
25543 fi
25544 done
25545
25546 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25547 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25548 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25549 { echo "$as_me:$LINENO: result: yes" >&5
25550 echo "${ECHO_T}yes" >&6; }
25551 else
25552 { echo "$as_me:$LINENO: result: no" >&5
25553 echo "${ECHO_T}no" >&6; }
25554 LIBS="$LIBS -lm"
25555 # use different functions to avoid configure caching
25556 have_sin=0
25557 have_ceil=0
25558
25559 for ac_func in sin
25560 do
25561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567 cat >conftest.$ac_ext <<_ACEOF
25568 /* confdefs.h. */
25569 _ACEOF
25570 cat confdefs.h >>conftest.$ac_ext
25571 cat >>conftest.$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25575 #define $ac_func innocuous_$ac_func
25576
25577 /* System header to define __stub macros and hopefully few prototypes,
25578 which can conflict with char $ac_func (); below.
25579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25580 <limits.h> exists even on freestanding compilers. */
25581
25582 #ifdef __STDC__
25583 # include <limits.h>
25584 #else
25585 # include <assert.h>
25586 #endif
25587
25588 #undef $ac_func
25589
25590 /* Override any GCC internal prototype to avoid an error.
25591 Use char because int might match the return type of a GCC
25592 builtin and then its argument prototype would still apply. */
25593 #ifdef __cplusplus
25594 extern "C"
25595 #endif
25596 char $ac_func ();
25597 /* The GNU C library defines this for functions which it implements
25598 to always fail with ENOSYS. Some functions are actually named
25599 something starting with __ and the normal name is an alias. */
25600 #if defined __stub_$ac_func || defined __stub___$ac_func
25601 choke me
25602 #endif
25603
25604 int
25605 main ()
25606 {
25607 return $ac_func ();
25608 ;
25609 return 0;
25610 }
25611 _ACEOF
25612 rm -f conftest.$ac_objext conftest$ac_exeext
25613 if { (ac_try="$ac_link"
25614 case "(($ac_try" in
25615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25616 *) ac_try_echo=$ac_try;;
25617 esac
25618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25619 (eval "$ac_link") 2>conftest.er1
25620 ac_status=$?
25621 grep -v '^ *+' conftest.er1 >conftest.err
25622 rm -f conftest.er1
25623 cat conftest.err >&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } && {
25626 test -z "$ac_c_werror_flag" ||
25627 test ! -s conftest.err
25628 } && test -s conftest$ac_exeext &&
25629 $as_test_x conftest$ac_exeext; then
25630 eval "$as_ac_var=yes"
25631 else
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.$ac_ext >&5
25634
25635 eval "$as_ac_var=no"
25636 fi
25637
25638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25639 conftest$ac_exeext conftest.$ac_ext
25640 fi
25641 ac_res=`eval echo '${'$as_ac_var'}'`
25642 { echo "$as_me:$LINENO: result: $ac_res" >&5
25643 echo "${ECHO_T}$ac_res" >&6; }
25644 if test `eval echo '${'$as_ac_var'}'` = yes; then
25645 cat >>confdefs.h <<_ACEOF
25646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25647 _ACEOF
25648 have_sin=1
25649 fi
25650 done
25651
25652
25653 for ac_func in ceil
25654 do
25655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25660 else
25661 cat >conftest.$ac_ext <<_ACEOF
25662 /* confdefs.h. */
25663 _ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25669 #define $ac_func innocuous_$ac_func
25670
25671 /* System header to define __stub macros and hopefully few prototypes,
25672 which can conflict with char $ac_func (); below.
25673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25674 <limits.h> exists even on freestanding compilers. */
25675
25676 #ifdef __STDC__
25677 # include <limits.h>
25678 #else
25679 # include <assert.h>
25680 #endif
25681
25682 #undef $ac_func
25683
25684 /* Override any GCC internal prototype to avoid an error.
25685 Use char because int might match the return type of a GCC
25686 builtin and then its argument prototype would still apply. */
25687 #ifdef __cplusplus
25688 extern "C"
25689 #endif
25690 char $ac_func ();
25691 /* The GNU C library defines this for functions which it implements
25692 to always fail with ENOSYS. Some functions are actually named
25693 something starting with __ and the normal name is an alias. */
25694 #if defined __stub_$ac_func || defined __stub___$ac_func
25695 choke me
25696 #endif
25697
25698 int
25699 main ()
25700 {
25701 return $ac_func ();
25702 ;
25703 return 0;
25704 }
25705 _ACEOF
25706 rm -f conftest.$ac_objext conftest$ac_exeext
25707 if { (ac_try="$ac_link"
25708 case "(($ac_try" in
25709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25710 *) ac_try_echo=$ac_try;;
25711 esac
25712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713 (eval "$ac_link") 2>conftest.er1
25714 ac_status=$?
25715 grep -v '^ *+' conftest.er1 >conftest.err
25716 rm -f conftest.er1
25717 cat conftest.err >&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } && {
25720 test -z "$ac_c_werror_flag" ||
25721 test ! -s conftest.err
25722 } && test -s conftest$ac_exeext &&
25723 $as_test_x conftest$ac_exeext; then
25724 eval "$as_ac_var=yes"
25725 else
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.$ac_ext >&5
25728
25729 eval "$as_ac_var=no"
25730 fi
25731
25732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25733 conftest$ac_exeext conftest.$ac_ext
25734 fi
25735 ac_res=`eval echo '${'$as_ac_var'}'`
25736 { echo "$as_me:$LINENO: result: $ac_res" >&5
25737 echo "${ECHO_T}$ac_res" >&6; }
25738 if test `eval echo '${'$as_ac_var'}'` = yes; then
25739 cat >>confdefs.h <<_ACEOF
25740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25741 _ACEOF
25742 have_ceil=1
25743 fi
25744 done
25745
25746 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25747 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25748 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25749 { echo "$as_me:$LINENO: result: yes" >&5
25750 echo "${ECHO_T}yes" >&6; }
25751 else
25752 { echo "$as_me:$LINENO: result: no" >&5
25753 echo "${ECHO_T}no" >&6; }
25754 # not sure we should warn the user, crash, etc.
25755 fi
25756 fi
25757
25758 ac_ext=cpp
25759 ac_cpp='$CXXCPP $CPPFLAGS'
25760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25763
25764 if test "wxUSE_UNICODE" = "yes"; then
25765
25766 for wx_func in wcstoull
25767 do
25768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25771 echo $ECHO_N "(cached) $ECHO_C" >&6
25772 else
25773
25774 cat >conftest.$ac_ext <<_ACEOF
25775
25776 /* confdefs.h. */
25777 _ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25781
25782
25783 $ac_includes_default
25784
25785 int
25786 main ()
25787 {
25788
25789 #ifndef $wx_func
25790 &$wx_func;
25791 #endif
25792
25793
25794 ;
25795 return 0;
25796 }
25797
25798 _ACEOF
25799 rm -f conftest.$ac_objext conftest$ac_exeext
25800 if { (ac_try="$ac_link"
25801 case "(($ac_try" in
25802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25803 *) ac_try_echo=$ac_try;;
25804 esac
25805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25806 (eval "$ac_link") 2>conftest.er1
25807 ac_status=$?
25808 grep -v '^ *+' conftest.er1 >conftest.err
25809 rm -f conftest.er1
25810 cat conftest.err >&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } && {
25813 test -z "$ac_cxx_werror_flag" ||
25814 test ! -s conftest.err
25815 } && test -s conftest$ac_exeext &&
25816 $as_test_x conftest$ac_exeext; then
25817 eval wx_cv_func_$wx_func=yes
25818 else
25819 echo "$as_me: failed program was:" >&5
25820 sed 's/^/| /' conftest.$ac_ext >&5
25821
25822 eval wx_cv_func_$wx_func=no
25823 fi
25824
25825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25826 conftest$ac_exeext conftest.$ac_ext
25827
25828 fi
25829 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25830 { echo "$as_me:$LINENO: result: $ac_res" >&5
25831 echo "${ECHO_T}$ac_res" >&6; }
25832
25833 if eval test \$wx_cv_func_$wx_func = yes
25834 then
25835 cat >>confdefs.h <<_ACEOF
25836 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25837 _ACEOF
25838
25839
25840 else
25841 :
25842
25843 fi
25844 done
25845
25846 else
25847
25848 for wx_func in strtoull
25849 do
25850 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25851 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25852 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855
25856 cat >conftest.$ac_ext <<_ACEOF
25857
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863
25864
25865 $ac_includes_default
25866
25867 int
25868 main ()
25869 {
25870
25871 #ifndef $wx_func
25872 &$wx_func;
25873 #endif
25874
25875
25876 ;
25877 return 0;
25878 }
25879
25880 _ACEOF
25881 rm -f conftest.$ac_objext conftest$ac_exeext
25882 if { (ac_try="$ac_link"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25886 esac
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_link") 2>conftest.er1
25889 ac_status=$?
25890 grep -v '^ *+' conftest.er1 >conftest.err
25891 rm -f conftest.er1
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest$ac_exeext &&
25898 $as_test_x conftest$ac_exeext; then
25899 eval wx_cv_func_$wx_func=yes
25900 else
25901 echo "$as_me: failed program was:" >&5
25902 sed 's/^/| /' conftest.$ac_ext >&5
25903
25904 eval wx_cv_func_$wx_func=no
25905 fi
25906
25907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25908 conftest$ac_exeext conftest.$ac_ext
25909
25910 fi
25911 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25912 { echo "$as_me:$LINENO: result: $ac_res" >&5
25913 echo "${ECHO_T}$ac_res" >&6; }
25914
25915 if eval test \$wx_cv_func_$wx_func = yes
25916 then
25917 cat >>confdefs.h <<_ACEOF
25918 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25919 _ACEOF
25920
25921
25922 else
25923 :
25924
25925 fi
25926 done
25927
25928 fi
25929 ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25934
25935
25936
25937
25938 if test "$wxUSE_REGEX" != "no"; then
25939 cat >>confdefs.h <<\_ACEOF
25940 #define wxUSE_REGEX 1
25941 _ACEOF
25942
25943
25944 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25945 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25946 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25947 wxUSE_REGEX=builtin
25948 fi
25949
25950 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25951 { echo "$as_me:$LINENO: checking for regex.h" >&5
25952 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25953 if test "${ac_cv_header_regex_h+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 else
25956 cat >conftest.$ac_ext <<_ACEOF
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962
25963
25964 #include <regex.h>
25965 _ACEOF
25966 rm -f conftest.$ac_objext
25967 if { (ac_try="$ac_compile"
25968 case "(($ac_try" in
25969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25970 *) ac_try_echo=$ac_try;;
25971 esac
25972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25973 (eval "$ac_compile") 2>conftest.er1
25974 ac_status=$?
25975 grep -v '^ *+' conftest.er1 >conftest.err
25976 rm -f conftest.er1
25977 cat conftest.err >&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } && {
25980 test -z "$ac_c_werror_flag" ||
25981 test ! -s conftest.err
25982 } && test -s conftest.$ac_objext; then
25983 ac_cv_header_regex_h=yes
25984 else
25985 echo "$as_me: failed program was:" >&5
25986 sed 's/^/| /' conftest.$ac_ext >&5
25987
25988 ac_cv_header_regex_h=no
25989 fi
25990
25991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992 fi
25993 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25994 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25995 if test $ac_cv_header_regex_h = yes; then
25996
25997
25998 for ac_func in regcomp re_search
25999 do
26000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26003 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 else
26006 cat >conftest.$ac_ext <<_ACEOF
26007 /* confdefs.h. */
26008 _ACEOF
26009 cat confdefs.h >>conftest.$ac_ext
26010 cat >>conftest.$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26014 #define $ac_func innocuous_$ac_func
26015
26016 /* System header to define __stub macros and hopefully few prototypes,
26017 which can conflict with char $ac_func (); below.
26018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26019 <limits.h> exists even on freestanding compilers. */
26020
26021 #ifdef __STDC__
26022 # include <limits.h>
26023 #else
26024 # include <assert.h>
26025 #endif
26026
26027 #undef $ac_func
26028
26029 /* Override any GCC internal prototype to avoid an error.
26030 Use char because int might match the return type of a GCC
26031 builtin and then its argument prototype would still apply. */
26032 #ifdef __cplusplus
26033 extern "C"
26034 #endif
26035 char $ac_func ();
26036 /* The GNU C library defines this for functions which it implements
26037 to always fail with ENOSYS. Some functions are actually named
26038 something starting with __ and the normal name is an alias. */
26039 #if defined __stub_$ac_func || defined __stub___$ac_func
26040 choke me
26041 #endif
26042
26043 int
26044 main ()
26045 {
26046 return $ac_func ();
26047 ;
26048 return 0;
26049 }
26050 _ACEOF
26051 rm -f conftest.$ac_objext conftest$ac_exeext
26052 if { (ac_try="$ac_link"
26053 case "(($ac_try" in
26054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26055 *) ac_try_echo=$ac_try;;
26056 esac
26057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26058 (eval "$ac_link") 2>conftest.er1
26059 ac_status=$?
26060 grep -v '^ *+' conftest.er1 >conftest.err
26061 rm -f conftest.er1
26062 cat conftest.err >&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } && {
26065 test -z "$ac_c_werror_flag" ||
26066 test ! -s conftest.err
26067 } && test -s conftest$ac_exeext &&
26068 $as_test_x conftest$ac_exeext; then
26069 eval "$as_ac_var=yes"
26070 else
26071 echo "$as_me: failed program was:" >&5
26072 sed 's/^/| /' conftest.$ac_ext >&5
26073
26074 eval "$as_ac_var=no"
26075 fi
26076
26077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26078 conftest$ac_exeext conftest.$ac_ext
26079 fi
26080 ac_res=`eval echo '${'$as_ac_var'}'`
26081 { echo "$as_me:$LINENO: result: $ac_res" >&5
26082 echo "${ECHO_T}$ac_res" >&6; }
26083 if test `eval echo '${'$as_ac_var'}'` = yes; then
26084 cat >>confdefs.h <<_ACEOF
26085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26086 _ACEOF
26087
26088 fi
26089 done
26090
26091 fi
26092
26093
26094
26095 if test "x$ac_cv_func_regcomp" != "xyes"; then
26096 if test "$wxUSE_REGEX" = "sys" ; then
26097 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26098 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26099 { (exit 1); exit 1; }; }
26100 else
26101 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26102 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26103 wxUSE_REGEX=builtin
26104 fi
26105 else
26106 wxUSE_REGEX=sys
26107 cat >>confdefs.h <<\_ACEOF
26108 #define WX_NO_REGEX_ADVANCED 1
26109 _ACEOF
26110
26111 fi
26112 fi
26113 fi
26114
26115
26116 ZLIB_LINK=
26117 if test "$wxUSE_ZLIB" != "no" ; then
26118 cat >>confdefs.h <<\_ACEOF
26119 #define wxUSE_ZLIB 1
26120 _ACEOF
26121
26122
26123 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26124 if test "$USE_DARWIN" = 1; then
26125 system_zlib_h_ok="yes"
26126 else
26127 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26128 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 if test "$cross_compiling" = yes; then
26133 unset ac_cv_header_zlib_h
26134
26135 else
26136 cat >conftest.$ac_ext <<_ACEOF
26137 /* confdefs.h. */
26138 _ACEOF
26139 cat confdefs.h >>conftest.$ac_ext
26140 cat >>conftest.$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26142
26143 #include <zlib.h>
26144 #include <stdio.h>
26145
26146 int main()
26147 {
26148 FILE *f=fopen("conftestval", "w");
26149 if (!f) exit(1);
26150 fprintf(f, "%s",
26151 ZLIB_VERSION[0] == '1' &&
26152 (ZLIB_VERSION[2] > '1' ||
26153 (ZLIB_VERSION[2] == '1' &&
26154 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26155 exit(0);
26156 }
26157
26158 _ACEOF
26159 rm -f conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26164 esac
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>&5
26167 ac_status=$?
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26170 { (case "(($ac_try" in
26171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26173 esac
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_try") 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26179 ac_cv_header_zlib_h=`cat conftestval`
26180 else
26181 echo "$as_me: program exited with status $ac_status" >&5
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185 ( exit $ac_status )
26186 ac_cv_header_zlib_h=no
26187 fi
26188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26189 fi
26190
26191
26192
26193 fi
26194 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26195 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26196 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26197 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26198 if test "${ac_cv_header_zlib_h+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 else
26201 cat >conftest.$ac_ext <<_ACEOF
26202 /* confdefs.h. */
26203 _ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26207
26208
26209 #include <zlib.h>
26210 _ACEOF
26211 rm -f conftest.$ac_objext
26212 if { (ac_try="$ac_compile"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26215 *) ac_try_echo=$ac_try;;
26216 esac
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_compile") 2>conftest.er1
26219 ac_status=$?
26220 grep -v '^ *+' conftest.er1 >conftest.err
26221 rm -f conftest.er1
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } && {
26225 test -z "$ac_c_werror_flag" ||
26226 test ! -s conftest.err
26227 } && test -s conftest.$ac_objext; then
26228 ac_cv_header_zlib_h=yes
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26232
26233 ac_cv_header_zlib_h=no
26234 fi
26235
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26237 fi
26238 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26239 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26240
26241
26242
26243 system_zlib_h_ok=$ac_cv_header_zlib_h
26244 fi
26245
26246 if test "$system_zlib_h_ok" = "yes"; then
26247 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26248 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26249 if test "${ac_cv_lib_z_deflate+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 else
26252 ac_check_lib_save_LIBS=$LIBS
26253 LIBS="-lz $LIBS"
26254 cat >conftest.$ac_ext <<_ACEOF
26255 /* confdefs.h. */
26256 _ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260
26261 /* Override any GCC internal prototype to avoid an error.
26262 Use char because int might match the return type of a GCC
26263 builtin and then its argument prototype would still apply. */
26264 #ifdef __cplusplus
26265 extern "C"
26266 #endif
26267 char deflate ();
26268 int
26269 main ()
26270 {
26271 return deflate ();
26272 ;
26273 return 0;
26274 }
26275 _ACEOF
26276 rm -f conftest.$ac_objext conftest$ac_exeext
26277 if { (ac_try="$ac_link"
26278 case "(($ac_try" in
26279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26280 *) ac_try_echo=$ac_try;;
26281 esac
26282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26283 (eval "$ac_link") 2>conftest.er1
26284 ac_status=$?
26285 grep -v '^ *+' conftest.er1 >conftest.err
26286 rm -f conftest.er1
26287 cat conftest.err >&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); } && {
26290 test -z "$ac_c_werror_flag" ||
26291 test ! -s conftest.err
26292 } && test -s conftest$ac_exeext &&
26293 $as_test_x conftest$ac_exeext; then
26294 ac_cv_lib_z_deflate=yes
26295 else
26296 echo "$as_me: failed program was:" >&5
26297 sed 's/^/| /' conftest.$ac_ext >&5
26298
26299 ac_cv_lib_z_deflate=no
26300 fi
26301
26302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26303 conftest$ac_exeext conftest.$ac_ext
26304 LIBS=$ac_check_lib_save_LIBS
26305 fi
26306 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26307 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26308 if test $ac_cv_lib_z_deflate = yes; then
26309 ZLIB_LINK=" -lz"
26310 fi
26311
26312 fi
26313
26314 if test "x$ZLIB_LINK" = "x" ; then
26315 if test "$wxUSE_ZLIB" = "sys" ; then
26316 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26317 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26318 { (exit 1); exit 1; }; }
26319 else
26320 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26321 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26322 wxUSE_ZLIB=builtin
26323 fi
26324 else
26325 wxUSE_ZLIB=sys
26326 fi
26327 fi
26328 fi
26329
26330
26331 PNG_LINK=
26332 if test "$wxUSE_LIBPNG" != "no" ; then
26333 cat >>confdefs.h <<\_ACEOF
26334 #define wxUSE_LIBPNG 1
26335 _ACEOF
26336
26337
26338 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26339 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26340 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26341 wxUSE_LIBPNG=sys
26342 fi
26343
26344 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26345 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26346 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26347 wxUSE_LIBPNG=builtin
26348 fi
26349
26350 if test "$wxUSE_MGL" != 1 ; then
26351 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26352 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26353 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26354 if test "${ac_cv_header_png_h+set}" = set; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 else
26357 if test "$cross_compiling" = yes; then
26358 unset ac_cv_header_png_h
26359
26360 else
26361 cat >conftest.$ac_ext <<_ACEOF
26362 /* confdefs.h. */
26363 _ACEOF
26364 cat confdefs.h >>conftest.$ac_ext
26365 cat >>conftest.$ac_ext <<_ACEOF
26366 /* end confdefs.h. */
26367
26368 #include <png.h>
26369 #include <stdio.h>
26370
26371 int main()
26372 {
26373 FILE *f=fopen("conftestval", "w");
26374 if (!f) exit(1);
26375 fprintf(f, "%s",
26376 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26377 exit(0);
26378 }
26379
26380 _ACEOF
26381 rm -f conftest$ac_exeext
26382 if { (ac_try="$ac_link"
26383 case "(($ac_try" in
26384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26385 *) ac_try_echo=$ac_try;;
26386 esac
26387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26388 (eval "$ac_link") 2>&5
26389 ac_status=$?
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26392 { (case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26395 esac
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_try") 2>&5
26398 ac_status=$?
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; }; then
26401 ac_cv_header_png_h=`cat conftestval`
26402 else
26403 echo "$as_me: program exited with status $ac_status" >&5
26404 echo "$as_me: failed program was:" >&5
26405 sed 's/^/| /' conftest.$ac_ext >&5
26406
26407 ( exit $ac_status )
26408 ac_cv_header_png_h=no
26409 fi
26410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26411 fi
26412
26413
26414
26415 fi
26416 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26417 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26418 { echo "$as_me:$LINENO: checking for png.h" >&5
26419 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26420 if test "${ac_cv_header_png_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 else
26423 cat >conftest.$ac_ext <<_ACEOF
26424 /* confdefs.h. */
26425 _ACEOF
26426 cat confdefs.h >>conftest.$ac_ext
26427 cat >>conftest.$ac_ext <<_ACEOF
26428 /* end confdefs.h. */
26429
26430
26431 #include <png.h>
26432 _ACEOF
26433 rm -f conftest.$ac_objext
26434 if { (ac_try="$ac_compile"
26435 case "(($ac_try" in
26436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26437 *) ac_try_echo=$ac_try;;
26438 esac
26439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26440 (eval "$ac_compile") 2>conftest.er1
26441 ac_status=$?
26442 grep -v '^ *+' conftest.er1 >conftest.err
26443 rm -f conftest.er1
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } && {
26447 test -z "$ac_c_werror_flag" ||
26448 test ! -s conftest.err
26449 } && test -s conftest.$ac_objext; then
26450 ac_cv_header_png_h=yes
26451 else
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455 ac_cv_header_png_h=no
26456 fi
26457
26458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26459 fi
26460 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26461 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26462
26463
26464
26465 if test "$ac_cv_header_png_h" = "yes"; then
26466 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26467 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26468 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 else
26471 ac_check_lib_save_LIBS=$LIBS
26472 LIBS="-lpng -lz -lm $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 png_check_sig ();
26487 int
26488 main ()
26489 {
26490 return png_check_sig ();
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_png_png_check_sig=yes
26514 else
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26517
26518 ac_cv_lib_png_png_check_sig=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_png_png_check_sig" >&5
26526 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26527 if test $ac_cv_lib_png_png_check_sig = yes; then
26528 PNG_LINK=" -lpng -lz"
26529 fi
26530
26531 fi
26532
26533 if test "x$PNG_LINK" = "x" ; then
26534 if test "$wxUSE_LIBPNG" = "sys" ; then
26535 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26536 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26537 { (exit 1); exit 1; }; }
26538 else
26539 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26540 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26541 wxUSE_LIBPNG=builtin
26542 fi
26543 else
26544 wxUSE_LIBPNG=sys
26545 fi
26546 fi
26547 fi
26548 fi
26549
26550
26551 JPEG_LINK=
26552 if test "$wxUSE_LIBJPEG" != "no" ; then
26553 cat >>confdefs.h <<\_ACEOF
26554 #define wxUSE_LIBJPEG 1
26555 _ACEOF
26556
26557
26558 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26559 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26560 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26561 wxUSE_LIBJPEG=sys
26562 fi
26563
26564 if test "$wxUSE_MGL" != 1 ; then
26565 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26566 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26567 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26568 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26569 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 else
26571 cat >conftest.$ac_ext <<_ACEOF
26572 /* confdefs.h. */
26573 _ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h. */
26577
26578 #undef HAVE_STDLIB_H
26579 #include <stdio.h>
26580 #include <jpeglib.h>
26581
26582 int
26583 main ()
26584 {
26585
26586
26587 ;
26588 return 0;
26589 }
26590 _ACEOF
26591 rm -f conftest.$ac_objext
26592 if { (ac_try="$ac_compile"
26593 case "(($ac_try" in
26594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26595 *) ac_try_echo=$ac_try;;
26596 esac
26597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26598 (eval "$ac_compile") 2>conftest.er1
26599 ac_status=$?
26600 grep -v '^ *+' conftest.er1 >conftest.err
26601 rm -f conftest.er1
26602 cat conftest.err >&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } && {
26605 test -z "$ac_c_werror_flag" ||
26606 test ! -s conftest.err
26607 } && test -s conftest.$ac_objext; then
26608 ac_cv_header_jpeglib_h=yes
26609 else
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.$ac_ext >&5
26612
26613 ac_cv_header_jpeglib_h=no
26614
26615 fi
26616
26617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26618
26619 fi
26620
26621 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26622 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26623
26624 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26625 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26626 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26627 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 else
26630 ac_check_lib_save_LIBS=$LIBS
26631 LIBS="-ljpeg $LIBS"
26632 cat >conftest.$ac_ext <<_ACEOF
26633 /* confdefs.h. */
26634 _ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638
26639 /* Override any GCC internal prototype to avoid an error.
26640 Use char because int might match the return type of a GCC
26641 builtin and then its argument prototype would still apply. */
26642 #ifdef __cplusplus
26643 extern "C"
26644 #endif
26645 char jpeg_read_header ();
26646 int
26647 main ()
26648 {
26649 return jpeg_read_header ();
26650 ;
26651 return 0;
26652 }
26653 _ACEOF
26654 rm -f conftest.$ac_objext conftest$ac_exeext
26655 if { (ac_try="$ac_link"
26656 case "(($ac_try" in
26657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26658 *) ac_try_echo=$ac_try;;
26659 esac
26660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26661 (eval "$ac_link") 2>conftest.er1
26662 ac_status=$?
26663 grep -v '^ *+' conftest.er1 >conftest.err
26664 rm -f conftest.er1
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } && {
26668 test -z "$ac_c_werror_flag" ||
26669 test ! -s conftest.err
26670 } && test -s conftest$ac_exeext &&
26671 $as_test_x conftest$ac_exeext; then
26672 ac_cv_lib_jpeg_jpeg_read_header=yes
26673 else
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26676
26677 ac_cv_lib_jpeg_jpeg_read_header=no
26678 fi
26679
26680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26681 conftest$ac_exeext conftest.$ac_ext
26682 LIBS=$ac_check_lib_save_LIBS
26683 fi
26684 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26685 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26686 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26687 JPEG_LINK=" -ljpeg"
26688 fi
26689
26690 fi
26691
26692 if test "x$JPEG_LINK" = "x" ; then
26693 if test "$wxUSE_LIBJPEG" = "sys" ; then
26694 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26695 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26696 { (exit 1); exit 1; }; }
26697 else
26698 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26699 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26700 wxUSE_LIBJPEG=builtin
26701 fi
26702 else
26703 wxUSE_LIBJPEG=sys
26704
26705 if test "$wxUSE_MSW" = 1; then
26706 { echo "$as_me:$LINENO: checking for boolean" >&5
26707 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26708 if test "${ac_cv_type_boolean+set}" = set; then
26709 echo $ECHO_N "(cached) $ECHO_C" >&6
26710 else
26711 cat >conftest.$ac_ext <<_ACEOF
26712 /* confdefs.h. */
26713 _ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717 #include <windows.h>
26718
26719 typedef boolean ac__type_new_;
26720 int
26721 main ()
26722 {
26723 if ((ac__type_new_ *) 0)
26724 return 0;
26725 if (sizeof (ac__type_new_))
26726 return 0;
26727 ;
26728 return 0;
26729 }
26730 _ACEOF
26731 rm -f conftest.$ac_objext
26732 if { (ac_try="$ac_compile"
26733 case "(($ac_try" in
26734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26735 *) ac_try_echo=$ac_try;;
26736 esac
26737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26738 (eval "$ac_compile") 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } && {
26745 test -z "$ac_c_werror_flag" ||
26746 test ! -s conftest.err
26747 } && test -s conftest.$ac_objext; then
26748 ac_cv_type_boolean=yes
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 ac_cv_type_boolean=no
26754 fi
26755
26756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26757 fi
26758 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26759 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26760 if test $ac_cv_type_boolean = yes; then
26761
26762 cat >>confdefs.h <<_ACEOF
26763 #define HAVE_BOOLEAN 1
26764 _ACEOF
26765
26766
26767 { echo "$as_me:$LINENO: checking for boolean" >&5
26768 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26769 if test "${ac_cv_type_boolean+set}" = set; then
26770 echo $ECHO_N "(cached) $ECHO_C" >&6
26771 else
26772 cat >conftest.$ac_ext <<_ACEOF
26773 /* confdefs.h. */
26774 _ACEOF
26775 cat confdefs.h >>conftest.$ac_ext
26776 cat >>conftest.$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778
26779 #undef HAVE_BOOLEAN
26780 #include <stdio.h>
26781 #include <jpeglib.h>
26782
26783
26784 typedef boolean ac__type_new_;
26785 int
26786 main ()
26787 {
26788 if ((ac__type_new_ *) 0)
26789 return 0;
26790 if (sizeof (ac__type_new_))
26791 return 0;
26792 ;
26793 return 0;
26794 }
26795 _ACEOF
26796 rm -f conftest.$ac_objext
26797 if { (ac_try="$ac_compile"
26798 case "(($ac_try" in
26799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26800 *) ac_try_echo=$ac_try;;
26801 esac
26802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26803 (eval "$ac_compile") 2>conftest.er1
26804 ac_status=$?
26805 grep -v '^ *+' conftest.er1 >conftest.err
26806 rm -f conftest.er1
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } && {
26810 test -z "$ac_c_werror_flag" ||
26811 test ! -s conftest.err
26812 } && test -s conftest.$ac_objext; then
26813 ac_cv_type_boolean=yes
26814 else
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26817
26818 ac_cv_type_boolean=no
26819 fi
26820
26821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26822 fi
26823 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26824 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26825
26826 # The cast to long int works around a bug in the HP C Compiler
26827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26829 # This bug is HP SR number 8606223364.
26830 { echo "$as_me:$LINENO: checking size of boolean" >&5
26831 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26832 if test "${ac_cv_sizeof_boolean+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 if test "$cross_compiling" = yes; then
26836 # Depending upon the size, compute the lo and hi bounds.
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843
26844 #undef HAVE_BOOLEAN
26845 #include <stdio.h>
26846 #include <jpeglib.h>
26847
26848
26849 typedef boolean ac__type_sizeof_;
26850 int
26851 main ()
26852 {
26853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26854 test_array [0] = 0
26855
26856 ;
26857 return 0;
26858 }
26859 _ACEOF
26860 rm -f conftest.$ac_objext
26861 if { (ac_try="$ac_compile"
26862 case "(($ac_try" in
26863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26864 *) ac_try_echo=$ac_try;;
26865 esac
26866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26867 (eval "$ac_compile") 2>conftest.er1
26868 ac_status=$?
26869 grep -v '^ *+' conftest.er1 >conftest.err
26870 rm -f conftest.er1
26871 cat conftest.err >&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); } && {
26874 test -z "$ac_c_werror_flag" ||
26875 test ! -s conftest.err
26876 } && test -s conftest.$ac_objext; then
26877 ac_lo=0 ac_mid=0
26878 while :; do
26879 cat >conftest.$ac_ext <<_ACEOF
26880 /* confdefs.h. */
26881 _ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26885
26886 #undef HAVE_BOOLEAN
26887 #include <stdio.h>
26888 #include <jpeglib.h>
26889
26890
26891 typedef boolean ac__type_sizeof_;
26892 int
26893 main ()
26894 {
26895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26896 test_array [0] = 0
26897
26898 ;
26899 return 0;
26900 }
26901 _ACEOF
26902 rm -f conftest.$ac_objext
26903 if { (ac_try="$ac_compile"
26904 case "(($ac_try" in
26905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26906 *) ac_try_echo=$ac_try;;
26907 esac
26908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26909 (eval "$ac_compile") 2>conftest.er1
26910 ac_status=$?
26911 grep -v '^ *+' conftest.er1 >conftest.err
26912 rm -f conftest.er1
26913 cat conftest.err >&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); } && {
26916 test -z "$ac_c_werror_flag" ||
26917 test ! -s conftest.err
26918 } && test -s conftest.$ac_objext; then
26919 ac_hi=$ac_mid; break
26920 else
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26923
26924 ac_lo=`expr $ac_mid + 1`
26925 if test $ac_lo -le $ac_mid; then
26926 ac_lo= ac_hi=
26927 break
26928 fi
26929 ac_mid=`expr 2 '*' $ac_mid + 1`
26930 fi
26931
26932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26933 done
26934 else
26935 echo "$as_me: failed program was:" >&5
26936 sed 's/^/| /' conftest.$ac_ext >&5
26937
26938 cat >conftest.$ac_ext <<_ACEOF
26939 /* confdefs.h. */
26940 _ACEOF
26941 cat confdefs.h >>conftest.$ac_ext
26942 cat >>conftest.$ac_ext <<_ACEOF
26943 /* end confdefs.h. */
26944
26945 #undef HAVE_BOOLEAN
26946 #include <stdio.h>
26947 #include <jpeglib.h>
26948
26949
26950 typedef boolean ac__type_sizeof_;
26951 int
26952 main ()
26953 {
26954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26955 test_array [0] = 0
26956
26957 ;
26958 return 0;
26959 }
26960 _ACEOF
26961 rm -f conftest.$ac_objext
26962 if { (ac_try="$ac_compile"
26963 case "(($ac_try" in
26964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26965 *) ac_try_echo=$ac_try;;
26966 esac
26967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26968 (eval "$ac_compile") 2>conftest.er1
26969 ac_status=$?
26970 grep -v '^ *+' conftest.er1 >conftest.err
26971 rm -f conftest.er1
26972 cat conftest.err >&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); } && {
26975 test -z "$ac_c_werror_flag" ||
26976 test ! -s conftest.err
26977 } && test -s conftest.$ac_objext; then
26978 ac_hi=-1 ac_mid=-1
26979 while :; do
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986
26987 #undef HAVE_BOOLEAN
26988 #include <stdio.h>
26989 #include <jpeglib.h>
26990
26991
26992 typedef boolean ac__type_sizeof_;
26993 int
26994 main ()
26995 {
26996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26997 test_array [0] = 0
26998
26999 ;
27000 return 0;
27001 }
27002 _ACEOF
27003 rm -f conftest.$ac_objext
27004 if { (ac_try="$ac_compile"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27008 esac
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_compile") 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } && {
27017 test -z "$ac_c_werror_flag" ||
27018 test ! -s conftest.err
27019 } && test -s conftest.$ac_objext; then
27020 ac_lo=$ac_mid; break
27021 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 ac_hi=`expr '(' $ac_mid ')' - 1`
27026 if test $ac_mid -le $ac_hi; then
27027 ac_lo= ac_hi=
27028 break
27029 fi
27030 ac_mid=`expr 2 '*' $ac_mid`
27031 fi
27032
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 done
27035 else
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.$ac_ext >&5
27038
27039 ac_lo= ac_hi=
27040 fi
27041
27042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27043 fi
27044
27045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27046 # Binary search between lo and hi bounds.
27047 while test "x$ac_lo" != "x$ac_hi"; do
27048 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27049 cat >conftest.$ac_ext <<_ACEOF
27050 /* confdefs.h. */
27051 _ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055
27056 #undef HAVE_BOOLEAN
27057 #include <stdio.h>
27058 #include <jpeglib.h>
27059
27060
27061 typedef boolean ac__type_sizeof_;
27062 int
27063 main ()
27064 {
27065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27066 test_array [0] = 0
27067
27068 ;
27069 return 0;
27070 }
27071 _ACEOF
27072 rm -f conftest.$ac_objext
27073 if { (ac_try="$ac_compile"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27077 esac
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_compile") 2>conftest.er1
27080 ac_status=$?
27081 grep -v '^ *+' conftest.er1 >conftest.err
27082 rm -f conftest.er1
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } && {
27086 test -z "$ac_c_werror_flag" ||
27087 test ! -s conftest.err
27088 } && test -s conftest.$ac_objext; then
27089 ac_hi=$ac_mid
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27093
27094 ac_lo=`expr '(' $ac_mid ')' + 1`
27095 fi
27096
27097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27098 done
27099 case $ac_lo in
27100 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27101 '') if test "$ac_cv_type_boolean" = yes; then
27102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27103 See \`config.log' for more details." >&5
27104 echo "$as_me: error: cannot compute sizeof (boolean)
27105 See \`config.log' for more details." >&2;}
27106 { (exit 77); exit 77; }; }
27107 else
27108 ac_cv_sizeof_boolean=0
27109 fi ;;
27110 esac
27111 else
27112 cat >conftest.$ac_ext <<_ACEOF
27113 /* confdefs.h. */
27114 _ACEOF
27115 cat confdefs.h >>conftest.$ac_ext
27116 cat >>conftest.$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27118
27119 #undef HAVE_BOOLEAN
27120 #include <stdio.h>
27121 #include <jpeglib.h>
27122
27123
27124 typedef boolean ac__type_sizeof_;
27125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27127 #include <stdio.h>
27128 #include <stdlib.h>
27129 int
27130 main ()
27131 {
27132
27133 FILE *f = fopen ("conftest.val", "w");
27134 if (! f)
27135 return 1;
27136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27137 {
27138 long int i = longval ();
27139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27140 return 1;
27141 fprintf (f, "%ld\n", i);
27142 }
27143 else
27144 {
27145 unsigned long int i = ulongval ();
27146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27147 return 1;
27148 fprintf (f, "%lu\n", i);
27149 }
27150 return ferror (f) || fclose (f) != 0;
27151
27152 ;
27153 return 0;
27154 }
27155 _ACEOF
27156 rm -f conftest$ac_exeext
27157 if { (ac_try="$ac_link"
27158 case "(($ac_try" in
27159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27160 *) ac_try_echo=$ac_try;;
27161 esac
27162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27163 (eval "$ac_link") 2>&5
27164 ac_status=$?
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27167 { (case "(($ac_try" in
27168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27169 *) ac_try_echo=$ac_try;;
27170 esac
27171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27172 (eval "$ac_try") 2>&5
27173 ac_status=$?
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; }; then
27176 ac_cv_sizeof_boolean=`cat conftest.val`
27177 else
27178 echo "$as_me: program exited with status $ac_status" >&5
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27181
27182 ( exit $ac_status )
27183 if test "$ac_cv_type_boolean" = yes; then
27184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27185 See \`config.log' for more details." >&5
27186 echo "$as_me: error: cannot compute sizeof (boolean)
27187 See \`config.log' for more details." >&2;}
27188 { (exit 77); exit 77; }; }
27189 else
27190 ac_cv_sizeof_boolean=0
27191 fi
27192 fi
27193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27194 fi
27195 rm -f conftest.val
27196 fi
27197 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27198 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27199
27200
27201
27202 cat >>confdefs.h <<_ACEOF
27203 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27204 _ACEOF
27205
27206
27207 cat >>confdefs.h <<_ACEOF
27208 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27209 _ACEOF
27210
27211
27212 fi
27213
27214 fi
27215 fi
27216 fi
27217 fi
27218 fi
27219
27220
27221 TIFF_LINK=
27222 TIFF_PREREQ_LINKS=-lm
27223 if test "$wxUSE_LIBTIFF" != "no" ; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define wxUSE_LIBTIFF 1
27226 _ACEOF
27227
27228
27229 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27230 if test "$wxUSE_LIBJPEG" = "sys"; then
27231 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27232 fi
27233 if test "$wxUSE_ZLIB" = "sys"; then
27234 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27235 fi
27236 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27237 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27238 if test "${ac_cv_header_tiffio_h+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27240 else
27241 cat >conftest.$ac_ext <<_ACEOF
27242 /* confdefs.h. */
27243 _ACEOF
27244 cat confdefs.h >>conftest.$ac_ext
27245 cat >>conftest.$ac_ext <<_ACEOF
27246 /* end confdefs.h. */
27247
27248
27249
27250 #include <tiffio.h>
27251 _ACEOF
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27257 esac
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_c_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 ac_cv_header_tiffio_h=yes
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 ac_cv_header_tiffio_h=no
27275 fi
27276
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27278 fi
27279 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27280 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27281 if test $ac_cv_header_tiffio_h = yes; then
27282
27283 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27284 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27285 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27287 else
27288 ac_check_lib_save_LIBS=$LIBS
27289 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27290 cat >conftest.$ac_ext <<_ACEOF
27291 /* confdefs.h. */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296
27297 /* Override any GCC internal prototype to avoid an error.
27298 Use char because int might match the return type of a GCC
27299 builtin and then its argument prototype would still apply. */
27300 #ifdef __cplusplus
27301 extern "C"
27302 #endif
27303 char TIFFError ();
27304 int
27305 main ()
27306 {
27307 return TIFFError ();
27308 ;
27309 return 0;
27310 }
27311 _ACEOF
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (ac_try="$ac_link"
27314 case "(($ac_try" in
27315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27316 *) ac_try_echo=$ac_try;;
27317 esac
27318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27319 (eval "$ac_link") 2>conftest.er1
27320 ac_status=$?
27321 grep -v '^ *+' conftest.er1 >conftest.err
27322 rm -f conftest.er1
27323 cat conftest.err >&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); } && {
27326 test -z "$ac_c_werror_flag" ||
27327 test ! -s conftest.err
27328 } && test -s conftest$ac_exeext &&
27329 $as_test_x conftest$ac_exeext; then
27330 ac_cv_lib_tiff_TIFFError=yes
27331 else
27332 echo "$as_me: failed program was:" >&5
27333 sed 's/^/| /' conftest.$ac_ext >&5
27334
27335 ac_cv_lib_tiff_TIFFError=no
27336 fi
27337
27338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27339 conftest$ac_exeext conftest.$ac_ext
27340 LIBS=$ac_check_lib_save_LIBS
27341 fi
27342 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27343 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27344 if test $ac_cv_lib_tiff_TIFFError = yes; then
27345 TIFF_LINK=" -ltiff"
27346 fi
27347
27348
27349 fi
27350
27351
27352
27353 if test "x$TIFF_LINK" = "x" ; then
27354 if test "$wxUSE_LIBTIFF" = "sys" ; then
27355 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27356 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27357 { (exit 1); exit 1; }; }
27358 else
27359 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27360 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27361 wxUSE_LIBTIFF=builtin
27362 fi
27363 else
27364 wxUSE_LIBTIFF=sys
27365 fi
27366 fi
27367 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27368 if test "$wxUSE_LIBJPEG" = "no"; then
27369 ac_configure_args="$ac_configure_args --disable-jpeg"
27370 fi
27371 subdirs="$subdirs src/tiff"
27372
27373 fi
27374 fi
27375
27376
27377 if test "$wxUSE_WCHAR_T" != "yes"; then
27378 if test "$wxUSE_EXPAT" != "no"; then
27379 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27380 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27381 wxUSE_EXPAT=no
27382 fi
27383 if test "$wxUSE_XML" != "no"; then
27384 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27385 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27386 wxUSE_XML=no
27387 fi
27388 fi
27389
27390 if test "$wxUSE_EXPAT" != "no"; then
27391 wxUSE_XML=yes
27392 cat >>confdefs.h <<\_ACEOF
27393 #define wxUSE_EXPAT 1
27394 _ACEOF
27395
27396 cat >>confdefs.h <<\_ACEOF
27397 #define wxUSE_XML 1
27398 _ACEOF
27399
27400
27401 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27402 { echo "$as_me:$LINENO: checking for expat.h" >&5
27403 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27404 if test "${ac_cv_header_expat_h+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27407 cat >conftest.$ac_ext <<_ACEOF
27408 /* confdefs.h. */
27409 _ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27413
27414
27415 #include <expat.h>
27416 _ACEOF
27417 rm -f conftest.$ac_objext
27418 if { (ac_try="$ac_compile"
27419 case "(($ac_try" in
27420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27421 *) ac_try_echo=$ac_try;;
27422 esac
27423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27424 (eval "$ac_compile") 2>conftest.er1
27425 ac_status=$?
27426 grep -v '^ *+' conftest.er1 >conftest.err
27427 rm -f conftest.er1
27428 cat conftest.err >&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } && {
27431 test -z "$ac_c_werror_flag" ||
27432 test ! -s conftest.err
27433 } && test -s conftest.$ac_objext; then
27434 ac_cv_header_expat_h=yes
27435 else
27436 echo "$as_me: failed program was:" >&5
27437 sed 's/^/| /' conftest.$ac_ext >&5
27438
27439 ac_cv_header_expat_h=no
27440 fi
27441
27442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27443 fi
27444 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27445 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27446 if test $ac_cv_header_expat_h = yes; then
27447 found_expat_h=1
27448 fi
27449
27450
27451 if test "x$found_expat_h" = "x1"; then
27452 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27453 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27454 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 else
27457
27458 ac_ext=cpp
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27463
27464 cat >conftest.$ac_ext <<_ACEOF
27465 /* confdefs.h. */
27466 _ACEOF
27467 cat confdefs.h >>conftest.$ac_ext
27468 cat >>conftest.$ac_ext <<_ACEOF
27469 /* end confdefs.h. */
27470 #include <expat.h>
27471 int
27472 main ()
27473 {
27474
27475 ;
27476 return 0;
27477 }
27478 _ACEOF
27479 rm -f conftest.$ac_objext
27480 if { (ac_try="$ac_compile"
27481 case "(($ac_try" in
27482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483 *) ac_try_echo=$ac_try;;
27484 esac
27485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27486 (eval "$ac_compile") 2>conftest.er1
27487 ac_status=$?
27488 grep -v '^ *+' conftest.er1 >conftest.err
27489 rm -f conftest.er1
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } && {
27493 test -z "$ac_cxx_werror_flag" ||
27494 test ! -s conftest.err
27495 } && test -s conftest.$ac_objext; then
27496 wx_cv_expat_is_not_broken=yes
27497 else
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27500
27501 wx_cv_expat_is_not_broken=no
27502
27503 fi
27504
27505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27506 ac_ext=c
27507 ac_cpp='$CPP $CPPFLAGS'
27508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27511
27512
27513
27514 fi
27515 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27516 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27517 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27518 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27519 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27520 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27521 echo $ECHO_N "(cached) $ECHO_C" >&6
27522 else
27523 ac_check_lib_save_LIBS=$LIBS
27524 LIBS="-lexpat $LIBS"
27525 cat >conftest.$ac_ext <<_ACEOF
27526 /* confdefs.h. */
27527 _ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h. */
27531
27532 /* Override any GCC internal prototype to avoid an error.
27533 Use char because int might match the return type of a GCC
27534 builtin and then its argument prototype would still apply. */
27535 #ifdef __cplusplus
27536 extern "C"
27537 #endif
27538 char XML_ParserCreate ();
27539 int
27540 main ()
27541 {
27542 return XML_ParserCreate ();
27543 ;
27544 return 0;
27545 }
27546 _ACEOF
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (ac_try="$ac_link"
27549 case "(($ac_try" in
27550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27551 *) ac_try_echo=$ac_try;;
27552 esac
27553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27554 (eval "$ac_link") 2>conftest.er1
27555 ac_status=$?
27556 grep -v '^ *+' conftest.er1 >conftest.err
27557 rm -f conftest.er1
27558 cat conftest.err >&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } && {
27561 test -z "$ac_c_werror_flag" ||
27562 test ! -s conftest.err
27563 } && test -s conftest$ac_exeext &&
27564 $as_test_x conftest$ac_exeext; then
27565 ac_cv_lib_expat_XML_ParserCreate=yes
27566 else
27567 echo "$as_me: failed program was:" >&5
27568 sed 's/^/| /' conftest.$ac_ext >&5
27569
27570 ac_cv_lib_expat_XML_ParserCreate=no
27571 fi
27572
27573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27574 conftest$ac_exeext conftest.$ac_ext
27575 LIBS=$ac_check_lib_save_LIBS
27576 fi
27577 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27578 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27579 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27580 EXPAT_LINK=" -lexpat"
27581 fi
27582
27583 fi
27584 fi
27585 if test "x$EXPAT_LINK" = "x" ; then
27586 if test "$wxUSE_EXPAT" = "sys" ; then
27587 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27588 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27589 { (exit 1); exit 1; }; }
27590 else
27591 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27592 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27593 wxUSE_EXPAT=builtin
27594 fi
27595 else
27596 wxUSE_EXPAT=sys
27597 fi
27598 fi
27599 if test "$wxUSE_EXPAT" = "builtin" ; then
27600 subdirs="$subdirs src/expat"
27601
27602 fi
27603 fi
27604
27605
27606
27607 if test "$wxUSE_LIBMSPACK" != "no"; then
27608 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27609 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27610 if test "${ac_cv_header_mspack_h+set}" = set; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27612 else
27613 cat >conftest.$ac_ext <<_ACEOF
27614 /* confdefs.h. */
27615 _ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619
27620
27621 #include <mspack.h>
27622 _ACEOF
27623 rm -f conftest.$ac_objext
27624 if { (ac_try="$ac_compile"
27625 case "(($ac_try" in
27626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27627 *) ac_try_echo=$ac_try;;
27628 esac
27629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27630 (eval "$ac_compile") 2>conftest.er1
27631 ac_status=$?
27632 grep -v '^ *+' conftest.er1 >conftest.err
27633 rm -f conftest.er1
27634 cat conftest.err >&5
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); } && {
27637 test -z "$ac_c_werror_flag" ||
27638 test ! -s conftest.err
27639 } && test -s conftest.$ac_objext; then
27640 ac_cv_header_mspack_h=yes
27641 else
27642 echo "$as_me: failed program was:" >&5
27643 sed 's/^/| /' conftest.$ac_ext >&5
27644
27645 ac_cv_header_mspack_h=no
27646 fi
27647
27648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27649 fi
27650 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27651 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27652 if test $ac_cv_header_mspack_h = yes; then
27653 found_mspack_h=1
27654 fi
27655
27656
27657 if test "x$found_mspack_h" = "x1"; then
27658 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27659 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27660 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27661 echo $ECHO_N "(cached) $ECHO_C" >&6
27662 else
27663 ac_check_lib_save_LIBS=$LIBS
27664 LIBS="-lmspack $LIBS"
27665 cat >conftest.$ac_ext <<_ACEOF
27666 /* confdefs.h. */
27667 _ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671
27672 /* Override any GCC internal prototype to avoid an error.
27673 Use char because int might match the return type of a GCC
27674 builtin and then its argument prototype would still apply. */
27675 #ifdef __cplusplus
27676 extern "C"
27677 #endif
27678 char mspack_create_chm_decompressor ();
27679 int
27680 main ()
27681 {
27682 return mspack_create_chm_decompressor ();
27683 ;
27684 return 0;
27685 }
27686 _ACEOF
27687 rm -f conftest.$ac_objext conftest$ac_exeext
27688 if { (ac_try="$ac_link"
27689 case "(($ac_try" in
27690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691 *) ac_try_echo=$ac_try;;
27692 esac
27693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27694 (eval "$ac_link") 2>conftest.er1
27695 ac_status=$?
27696 grep -v '^ *+' conftest.er1 >conftest.err
27697 rm -f conftest.er1
27698 cat conftest.err >&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); } && {
27701 test -z "$ac_c_werror_flag" ||
27702 test ! -s conftest.err
27703 } && test -s conftest$ac_exeext &&
27704 $as_test_x conftest$ac_exeext; then
27705 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27706 else
27707 echo "$as_me: failed program was:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27709
27710 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27711 fi
27712
27713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27714 conftest$ac_exeext conftest.$ac_ext
27715 LIBS=$ac_check_lib_save_LIBS
27716 fi
27717 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27718 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27719 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27720 MSPACK_LINK=" -lmspack"
27721 fi
27722
27723 fi
27724 if test "x$MSPACK_LINK" = "x" ; then
27725 wxUSE_LIBMSPACK=no
27726 fi
27727 fi
27728
27729 if test "$wxUSE_LIBMSPACK" != "no"; then
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_LIBMSPACK 1
27732 _ACEOF
27733
27734 fi
27735
27736
27737
27738 AFMINSTALL=
27739 WIN32INSTALL=
27740
27741 TOOLKIT=
27742 TOOLKIT_INCLUDE=
27743 WIDGET_SET=
27744
27745 if test "$USE_WIN32" = 1 ; then
27746
27747 for ac_header in w32api.h
27748 do
27749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27750 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27753 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 else
27755 cat >conftest.$ac_ext <<_ACEOF
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761
27762
27763 #include <$ac_header>
27764 _ACEOF
27765 rm -f conftest.$ac_objext
27766 if { (ac_try="$ac_compile"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27770 esac
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_compile") 2>conftest.er1
27773 ac_status=$?
27774 grep -v '^ *+' conftest.er1 >conftest.err
27775 rm -f conftest.er1
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest.$ac_objext; then
27782 eval "$as_ac_Header=yes"
27783 else
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787 eval "$as_ac_Header=no"
27788 fi
27789
27790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27791 fi
27792 ac_res=`eval echo '${'$as_ac_Header'}'`
27793 { echo "$as_me:$LINENO: result: $ac_res" >&5
27794 echo "${ECHO_T}$ac_res" >&6; }
27795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27796 cat >>confdefs.h <<_ACEOF
27797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27798 _ACEOF
27799
27800 fi
27801
27802 done
27803
27804 { echo "$as_me:$LINENO: checking for windows.h" >&5
27805 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27806 if test "${ac_cv_header_windows_h+set}" = set; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27808 else
27809 cat >conftest.$ac_ext <<_ACEOF
27810 /* confdefs.h. */
27811 _ACEOF
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27815
27816
27817 #include <windows.h>
27818 _ACEOF
27819 rm -f conftest.$ac_objext
27820 if { (ac_try="$ac_compile"
27821 case "(($ac_try" in
27822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27823 *) ac_try_echo=$ac_try;;
27824 esac
27825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27826 (eval "$ac_compile") 2>conftest.er1
27827 ac_status=$?
27828 grep -v '^ *+' conftest.er1 >conftest.err
27829 rm -f conftest.er1
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } && {
27833 test -z "$ac_c_werror_flag" ||
27834 test ! -s conftest.err
27835 } && test -s conftest.$ac_objext; then
27836 ac_cv_header_windows_h=yes
27837 else
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27840
27841 ac_cv_header_windows_h=no
27842 fi
27843
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27845 fi
27846 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27847 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27848 if test $ac_cv_header_windows_h = yes; then
27849 :
27850 else
27851
27852 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27853 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27854 { (exit 1); exit 1; }; }
27855
27856 fi
27857
27858
27859
27860 case "${host}" in
27861 x86_64-*-mingw32* )
27862 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27863 ;;
27864 * )
27865 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27866 ;;
27867 esac
27868 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27869 LIBS="$LIBS -loleacc"
27870 fi
27871
27872 case "${host}" in
27873 *-*-cygwin* )
27874 LIBS="$LIBS -lkernel32 -luser32"
27875 esac
27876
27877 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27878 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27879
27880 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27881
27882 WIN32INSTALL=win32install
27883
27884 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27885 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27886 if test "${ac_cv_header_pbt_h+set}" = set; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27888 else
27889 cat >conftest.$ac_ext <<_ACEOF
27890 /* confdefs.h. */
27891 _ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27895
27896
27897 #include <pbt.h>
27898 _ACEOF
27899 rm -f conftest.$ac_objext
27900 if { (ac_try="$ac_compile"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27903 *) ac_try_echo=$ac_try;;
27904 esac
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_compile") 2>conftest.er1
27907 ac_status=$?
27908 grep -v '^ *+' conftest.er1 >conftest.err
27909 rm -f conftest.er1
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest.$ac_objext; then
27916 ac_cv_header_pbt_h=yes
27917 else
27918 echo "$as_me: failed program was:" >&5
27919 sed 's/^/| /' conftest.$ac_ext >&5
27920
27921 ac_cv_header_pbt_h=no
27922 fi
27923
27924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27925 fi
27926 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27927 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27928 if test $ac_cv_header_pbt_h = yes; then
27929 :
27930 else
27931 cat >>confdefs.h <<\_ACEOF
27932 #define NEED_PBT_H 1
27933 _ACEOF
27934
27935 fi
27936
27937
27938 fi
27939
27940 if test "$wxUSE_GUI" = "yes"; then
27941 USE_GUI=1
27942
27943 GUI_TK_LIBRARY=
27944
27945 WXGTK12=
27946 WXGTK127=
27947 WXGTK2=
27948 WXGPE=
27949
27950 if test "$wxUSE_COCOA" = 1 ; then
27951 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27952 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27953 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27954 wxUSE_PRINTING_ARCHITECTURE=no
27955 fi
27956 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27957 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27958 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27959 wxUSE_DRAG_AND_DROP=no
27960 fi
27961 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27962 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27963 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27964 wxUSE_DRAGIMAGE=no
27965 fi
27966 fi
27967
27968 if test "$wxUSE_MSW" = 1 ; then
27969 TOOLKIT=MSW
27970 GUIDIST=MSW_DIST
27971
27972 case "${host}" in
27973 *-*-mingw32* )
27974 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27975 esac
27976 fi
27977
27978 if test "$wxUSE_GTK" = 1; then
27979 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27980 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27981
27982 gtk_version_cached=1
27983 if test "${wx_cv_lib_gtk+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986
27987 gtk_version_cached=0
27988 { echo "$as_me:$LINENO: result: " >&5
27989 echo "${ECHO_T}" >&6; }
27990
27991 GTK_MODULES=
27992 if test "$wxUSE_THREADS" = "yes"; then
27993 GTK_MODULES=gthread
27994 fi
27995
27996 wx_cv_lib_gtk=
27997 if test "x$wxGTK_VERSION" != "x1"
27998 then
27999 case "${host}" in
28000 *-*-solaris2* )
28001 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28002 enable_gtktest=no
28003 fi
28004 esac
28005
28006 # Check whether --enable-gtktest was given.
28007 if test "${enable_gtktest+set}" = set; then
28008 enableval=$enable_gtktest;
28009 else
28010 enable_gtktest=yes
28011 fi
28012
28013
28014 pkg_config_args=gtk+-2.0
28015 for module in . $GTK_MODULES
28016 do
28017 case "$module" in
28018 gthread)
28019 pkg_config_args="$pkg_config_args gthread-2.0"
28020 ;;
28021 esac
28022 done
28023
28024 no_gtk=""
28025
28026 # Extract the first word of "pkg-config", so it can be a program name with args.
28027 set dummy pkg-config; ac_word=$2
28028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28030 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28031 echo $ECHO_N "(cached) $ECHO_C" >&6
28032 else
28033 case $PKG_CONFIG in
28034 [\\/]* | ?:[\\/]*)
28035 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28036 ;;
28037 *)
28038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28039 for as_dir in $PATH
28040 do
28041 IFS=$as_save_IFS
28042 test -z "$as_dir" && as_dir=.
28043 for ac_exec_ext in '' $ac_executable_extensions; do
28044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28045 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28047 break 2
28048 fi
28049 done
28050 done
28051 IFS=$as_save_IFS
28052
28053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28054 ;;
28055 esac
28056 fi
28057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28058 if test -n "$PKG_CONFIG"; then
28059 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28060 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28061 else
28062 { echo "$as_me:$LINENO: result: no" >&5
28063 echo "${ECHO_T}no" >&6; }
28064 fi
28065
28066
28067
28068 if test x$PKG_CONFIG != xno ; then
28069 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28070 :
28071 else
28072 echo "*** pkg-config too old; version 0.7 or better required."
28073 no_gtk=yes
28074 PKG_CONFIG=no
28075 fi
28076 else
28077 no_gtk=yes
28078 fi
28079
28080 min_gtk_version=2.4.0
28081 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28082 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28083
28084 if test x$PKG_CONFIG != xno ; then
28085 ## don't try to run the test against uninstalled libtool libs
28086 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28087 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28088 enable_gtktest=no
28089 fi
28090
28091 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28092 :
28093 else
28094 no_gtk=yes
28095 fi
28096 fi
28097
28098 if test x"$no_gtk" = x ; then
28099 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28100 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28101 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28103 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28105 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28107 if test "x$enable_gtktest" = "xyes" ; then
28108 ac_save_CFLAGS="$CFLAGS"
28109 ac_save_LIBS="$LIBS"
28110 CFLAGS="$CFLAGS $GTK_CFLAGS"
28111 LIBS="$GTK_LIBS $LIBS"
28112 rm -f conf.gtktest
28113 if test "$cross_compiling" = yes; then
28114 echo $ac_n "cross compiling; assumed OK... $ac_c"
28115 else
28116 cat >conftest.$ac_ext <<_ACEOF
28117 /* confdefs.h. */
28118 _ACEOF
28119 cat confdefs.h >>conftest.$ac_ext
28120 cat >>conftest.$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28122
28123 #include <gtk/gtk.h>
28124 #include <stdio.h>
28125 #include <stdlib.h>
28126
28127 int
28128 main ()
28129 {
28130 int major, minor, micro;
28131 char *tmp_version;
28132
28133 system ("touch conf.gtktest");
28134
28135 /* HP/UX 9 (%@#!) writes to sscanf strings */
28136 tmp_version = g_strdup("$min_gtk_version");
28137 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28138 printf("%s, bad version string\n", "$min_gtk_version");
28139 exit(1);
28140 }
28141
28142 if ((gtk_major_version != $gtk_config_major_version) ||
28143 (gtk_minor_version != $gtk_config_minor_version) ||
28144 (gtk_micro_version != $gtk_config_micro_version))
28145 {
28146 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28147 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28148 gtk_major_version, gtk_minor_version, gtk_micro_version);
28149 printf ("*** was found! If pkg-config was correct, then it is best\n");
28150 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28151 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28152 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28153 printf("*** required on your system.\n");
28154 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28155 printf("*** to point to the correct configuration files\n");
28156 }
28157 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28158 (gtk_minor_version != GTK_MINOR_VERSION) ||
28159 (gtk_micro_version != GTK_MICRO_VERSION))
28160 {
28161 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28162 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28163 printf("*** library (version %d.%d.%d)\n",
28164 gtk_major_version, gtk_minor_version, gtk_micro_version);
28165 }
28166 else
28167 {
28168 if ((gtk_major_version > major) ||
28169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28171 {
28172 return 0;
28173 }
28174 else
28175 {
28176 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28177 gtk_major_version, gtk_minor_version, gtk_micro_version);
28178 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28179 major, minor, micro);
28180 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28181 printf("***\n");
28182 printf("*** If you have already installed a sufficiently new version, this error\n");
28183 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28184 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28185 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28186 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28187 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28188 printf("*** so that the correct libraries are found at run-time))\n");
28189 }
28190 }
28191 return 1;
28192 }
28193
28194 _ACEOF
28195 rm -f conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28200 esac
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28206 { (case "(($ac_try" in
28207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28208 *) ac_try_echo=$ac_try;;
28209 esac
28210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28211 (eval "$ac_try") 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 :
28216 else
28217 echo "$as_me: program exited with status $ac_status" >&5
28218 echo "$as_me: failed program was:" >&5
28219 sed 's/^/| /' conftest.$ac_ext >&5
28220
28221 ( exit $ac_status )
28222 no_gtk=yes
28223 fi
28224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28225 fi
28226
28227
28228 CFLAGS="$ac_save_CFLAGS"
28229 LIBS="$ac_save_LIBS"
28230 fi
28231 fi
28232 if test "x$no_gtk" = x ; then
28233 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28234 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28235 wx_cv_lib_gtk=2.0
28236 else
28237 { echo "$as_me:$LINENO: result: no" >&5
28238 echo "${ECHO_T}no" >&6; }
28239 if test "$PKG_CONFIG" = "no" ; then
28240 echo "*** A new enough version of pkg-config was not found."
28241 echo "*** See http://pkgconfig.sourceforge.net"
28242 else
28243 if test -f conf.gtktest ; then
28244 :
28245 else
28246 echo "*** Could not run GTK+ test program, checking why..."
28247 ac_save_CFLAGS="$CFLAGS"
28248 ac_save_LIBS="$LIBS"
28249 CFLAGS="$CFLAGS $GTK_CFLAGS"
28250 LIBS="$LIBS $GTK_LIBS"
28251 cat >conftest.$ac_ext <<_ACEOF
28252 /* confdefs.h. */
28253 _ACEOF
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28257
28258 #include <gtk/gtk.h>
28259 #include <stdio.h>
28260
28261 int
28262 main ()
28263 {
28264 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28265 ;
28266 return 0;
28267 }
28268 _ACEOF
28269 rm -f conftest.$ac_objext conftest$ac_exeext
28270 if { (ac_try="$ac_link"
28271 case "(($ac_try" in
28272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28274 esac
28275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_link") 2>conftest.er1
28277 ac_status=$?
28278 grep -v '^ *+' conftest.er1 >conftest.err
28279 rm -f conftest.er1
28280 cat conftest.err >&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); } && {
28283 test -z "$ac_c_werror_flag" ||
28284 test ! -s conftest.err
28285 } && test -s conftest$ac_exeext &&
28286 $as_test_x conftest$ac_exeext; then
28287 echo "*** The test program compiled, but did not run. This usually means"
28288 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28289 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28290 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28291 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28292 echo "*** is required on your system"
28293 echo "***"
28294 echo "*** If you have an old version installed, it is best to remove it, although"
28295 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28296 else
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 echo "*** The test program failed to compile or link. See the file config.log for the"
28301 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28302 fi
28303
28304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28305 conftest$ac_exeext conftest.$ac_ext
28306 CFLAGS="$ac_save_CFLAGS"
28307 LIBS="$ac_save_LIBS"
28308 fi
28309 fi
28310 GTK_CFLAGS=""
28311 GTK_LIBS=""
28312 :
28313 fi
28314
28315
28316 rm -f conf.gtktest
28317
28318
28319 case "${host}" in
28320 *-*-solaris2* )
28321 if test "$wxUSE_SHARED" != "yes"; then
28322 GTK_LIBS="$GTK_LIBS -lX11"
28323 fi
28324 esac
28325 fi
28326
28327 if test -z "$wx_cv_lib_gtk"; then
28328 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28329
28330 # Check whether --with-gtk-prefix was given.
28331 if test "${with_gtk_prefix+set}" = set; then
28332 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28333 else
28334 gtk_config_prefix=""
28335 fi
28336
28337
28338 # Check whether --with-gtk-exec-prefix was given.
28339 if test "${with_gtk_exec_prefix+set}" = set; then
28340 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28341 else
28342 gtk_config_exec_prefix=""
28343 fi
28344
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28348 else
28349 enable_gtktest=yes
28350 fi
28351
28352
28353 for module in . $GTK_MODULES
28354 do
28355 case "$module" in
28356 gthread)
28357 gtk_config_args="$gtk_config_args gthread"
28358 ;;
28359 esac
28360 done
28361
28362 if test x$gtk_config_exec_prefix != x ; then
28363 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28364 if test x${GTK_CONFIG+set} != xset ; then
28365 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28366 fi
28367 fi
28368 if test x$gtk_config_prefix != x ; then
28369 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28370 if test x${GTK_CONFIG+set} != xset ; then
28371 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28372 fi
28373 fi
28374
28375 # Extract the first word of "gtk-config", so it can be a program name with args.
28376 set dummy gtk-config; ac_word=$2
28377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28379 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28382 case $GTK_CONFIG in
28383 [\\/]* | ?:[\\/]*)
28384 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28385 ;;
28386 *)
28387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28388 for as_dir in $PATH
28389 do
28390 IFS=$as_save_IFS
28391 test -z "$as_dir" && as_dir=.
28392 for ac_exec_ext in '' $ac_executable_extensions; do
28393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28394 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28396 break 2
28397 fi
28398 done
28399 done
28400 IFS=$as_save_IFS
28401
28402 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28403 ;;
28404 esac
28405 fi
28406 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28407 if test -n "$GTK_CONFIG"; then
28408 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28409 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28410 else
28411 { echo "$as_me:$LINENO: result: no" >&5
28412 echo "${ECHO_T}no" >&6; }
28413 fi
28414
28415
28416 min_gtk_version=1.2.7
28417 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28418 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28419 no_gtk=""
28420 if test "$GTK_CONFIG" = "no" ; then
28421 no_gtk=yes
28422 else
28423 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28424 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28425 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28427 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28428 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28429 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28430 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28431 if test "x$enable_gtktest" = "xyes" ; then
28432 ac_save_CFLAGS="$CFLAGS"
28433 ac_save_LIBS="$LIBS"
28434 CFLAGS="$CFLAGS $GTK_CFLAGS"
28435 LIBS="$GTK_LIBS $LIBS"
28436 rm -f conf.gtktest
28437 if test "$cross_compiling" = yes; then
28438 echo $ac_n "cross compiling; assumed OK... $ac_c"
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447 #include <gtk/gtk.h>
28448 #include <stdio.h>
28449 #include <stdlib.h>
28450
28451 int
28452 main ()
28453 {
28454 int major, minor, micro;
28455 char *tmp_version;
28456
28457 system ("touch conf.gtktest");
28458
28459 /* HP/UX 9 (%@#!) writes to sscanf strings */
28460 tmp_version = g_strdup("$min_gtk_version");
28461 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28462 printf("%s, bad version string\n", "$min_gtk_version");
28463 exit(1);
28464 }
28465
28466 if ((gtk_major_version != $gtk_config_major_version) ||
28467 (gtk_minor_version != $gtk_config_minor_version) ||
28468 (gtk_micro_version != $gtk_config_micro_version))
28469 {
28470 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28471 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28472 gtk_major_version, gtk_minor_version, gtk_micro_version);
28473 printf ("*** was found! If gtk-config was correct, then it is best\n");
28474 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28475 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28476 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28477 printf("*** required on your system.\n");
28478 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28479 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28480 printf("*** before re-running configure\n");
28481 }
28482 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28483 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28484 (gtk_minor_version != GTK_MINOR_VERSION) ||
28485 (gtk_micro_version != GTK_MICRO_VERSION))
28486 {
28487 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28488 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28489 printf("*** library (version %d.%d.%d)\n",
28490 gtk_major_version, gtk_minor_version, gtk_micro_version);
28491 }
28492 #endif /* defined (GTK_MAJOR_VERSION) ... */
28493 else
28494 {
28495 if ((gtk_major_version > major) ||
28496 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28497 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28498 {
28499 return 0;
28500 }
28501 else
28502 {
28503 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28504 gtk_major_version, gtk_minor_version, gtk_micro_version);
28505 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28506 major, minor, micro);
28507 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28508 printf("***\n");
28509 printf("*** If you have already installed a sufficiently new version, this error\n");
28510 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28511 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28512 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28513 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28514 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28515 printf("*** so that the correct libraries are found at run-time))\n");
28516 }
28517 }
28518 return 1;
28519 }
28520
28521 _ACEOF
28522 rm -f conftest$ac_exeext
28523 if { (ac_try="$ac_link"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28527 esac
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_link") 2>&5
28530 ac_status=$?
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28533 { (case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28536 esac
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_try") 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 :
28543 else
28544 echo "$as_me: program exited with status $ac_status" >&5
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.$ac_ext >&5
28547
28548 ( exit $ac_status )
28549 no_gtk=yes
28550 fi
28551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28552 fi
28553
28554
28555 CFLAGS="$ac_save_CFLAGS"
28556 LIBS="$ac_save_LIBS"
28557 fi
28558 fi
28559 if test "x$no_gtk" = x ; then
28560 { echo "$as_me:$LINENO: result: yes" >&5
28561 echo "${ECHO_T}yes" >&6; }
28562 wx_cv_lib_gtk=1.2.7
28563 else
28564 { echo "$as_me:$LINENO: result: no" >&5
28565 echo "${ECHO_T}no" >&6; }
28566 if test "$GTK_CONFIG" = "no" ; then
28567 echo "*** The gtk-config script installed by GTK could not be found"
28568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28570 echo "*** full path to gtk-config."
28571 else
28572 if test -f conf.gtktest ; then
28573 :
28574 else
28575 echo "*** Could not run GTK test program, checking why..."
28576 CFLAGS="$CFLAGS $GTK_CFLAGS"
28577 LIBS="$LIBS $GTK_LIBS"
28578 cat >conftest.$ac_ext <<_ACEOF
28579 /* confdefs.h. */
28580 _ACEOF
28581 cat confdefs.h >>conftest.$ac_ext
28582 cat >>conftest.$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28584
28585 #include <gtk/gtk.h>
28586 #include <stdio.h>
28587
28588 int
28589 main ()
28590 {
28591 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28592 ;
28593 return 0;
28594 }
28595 _ACEOF
28596 rm -f conftest.$ac_objext conftest$ac_exeext
28597 if { (ac_try="$ac_link"
28598 case "(($ac_try" in
28599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28600 *) ac_try_echo=$ac_try;;
28601 esac
28602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28603 (eval "$ac_link") 2>conftest.er1
28604 ac_status=$?
28605 grep -v '^ *+' conftest.er1 >conftest.err
28606 rm -f conftest.er1
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } && {
28610 test -z "$ac_c_werror_flag" ||
28611 test ! -s conftest.err
28612 } && test -s conftest$ac_exeext &&
28613 $as_test_x conftest$ac_exeext; then
28614 echo "*** The test program compiled, but did not run. This usually means"
28615 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28616 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28617 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28618 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28619 echo "*** is required on your system"
28620 echo "***"
28621 echo "*** If you have an old version installed, it is best to remove it, although"
28622 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28623 echo "***"
28624 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28625 echo "*** came with the system with the command"
28626 echo "***"
28627 echo "*** rpm --erase --nodeps gtk gtk-devel"
28628 else
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28631
28632 echo "*** The test program failed to compile or link. See the file config.log for the"
28633 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28634 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28635 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28636 fi
28637
28638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28639 conftest$ac_exeext conftest.$ac_ext
28640 CFLAGS="$ac_save_CFLAGS"
28641 LIBS="$ac_save_LIBS"
28642 fi
28643 fi
28644 GTK_CFLAGS=""
28645 GTK_LIBS=""
28646 :
28647 fi
28648
28649
28650 rm -f conf.gtktest
28651
28652
28653 if test -z "$wx_cv_lib_gtk"; then
28654
28655 # Check whether --with-gtk-prefix was given.
28656 if test "${with_gtk_prefix+set}" = set; then
28657 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28658 else
28659 gtk_config_prefix=""
28660 fi
28661
28662
28663 # Check whether --with-gtk-exec-prefix was given.
28664 if test "${with_gtk_exec_prefix+set}" = set; then
28665 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28666 else
28667 gtk_config_exec_prefix=""
28668 fi
28669
28670 # Check whether --enable-gtktest was given.
28671 if test "${enable_gtktest+set}" = set; then
28672 enableval=$enable_gtktest;
28673 else
28674 enable_gtktest=yes
28675 fi
28676
28677
28678 for module in . $GTK_MODULES
28679 do
28680 case "$module" in
28681 gthread)
28682 gtk_config_args="$gtk_config_args gthread"
28683 ;;
28684 esac
28685 done
28686
28687 if test x$gtk_config_exec_prefix != x ; then
28688 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28689 if test x${GTK_CONFIG+set} != xset ; then
28690 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28691 fi
28692 fi
28693 if test x$gtk_config_prefix != x ; then
28694 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28695 if test x${GTK_CONFIG+set} != xset ; then
28696 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28697 fi
28698 fi
28699
28700 # Extract the first word of "gtk-config", so it can be a program name with args.
28701 set dummy gtk-config; ac_word=$2
28702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28704 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28707 case $GTK_CONFIG in
28708 [\\/]* | ?:[\\/]*)
28709 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28710 ;;
28711 *)
28712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28713 for as_dir in $PATH
28714 do
28715 IFS=$as_save_IFS
28716 test -z "$as_dir" && as_dir=.
28717 for ac_exec_ext in '' $ac_executable_extensions; do
28718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28719 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28721 break 2
28722 fi
28723 done
28724 done
28725 IFS=$as_save_IFS
28726
28727 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28728 ;;
28729 esac
28730 fi
28731 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28732 if test -n "$GTK_CONFIG"; then
28733 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28734 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28735 else
28736 { echo "$as_me:$LINENO: result: no" >&5
28737 echo "${ECHO_T}no" >&6; }
28738 fi
28739
28740
28741 min_gtk_version=1.2.3
28742 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28743 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28744 no_gtk=""
28745 if test "$GTK_CONFIG" = "no" ; then
28746 no_gtk=yes
28747 else
28748 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28749 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28750 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28751 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28752 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28753 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28754 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28756 if test "x$enable_gtktest" = "xyes" ; then
28757 ac_save_CFLAGS="$CFLAGS"
28758 ac_save_LIBS="$LIBS"
28759 CFLAGS="$CFLAGS $GTK_CFLAGS"
28760 LIBS="$GTK_LIBS $LIBS"
28761 rm -f conf.gtktest
28762 if test "$cross_compiling" = yes; then
28763 echo $ac_n "cross compiling; assumed OK... $ac_c"
28764 else
28765 cat >conftest.$ac_ext <<_ACEOF
28766 /* confdefs.h. */
28767 _ACEOF
28768 cat confdefs.h >>conftest.$ac_ext
28769 cat >>conftest.$ac_ext <<_ACEOF
28770 /* end confdefs.h. */
28771
28772 #include <gtk/gtk.h>
28773 #include <stdio.h>
28774 #include <stdlib.h>
28775
28776 int
28777 main ()
28778 {
28779 int major, minor, micro;
28780 char *tmp_version;
28781
28782 system ("touch conf.gtktest");
28783
28784 /* HP/UX 9 (%@#!) writes to sscanf strings */
28785 tmp_version = g_strdup("$min_gtk_version");
28786 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28787 printf("%s, bad version string\n", "$min_gtk_version");
28788 exit(1);
28789 }
28790
28791 if ((gtk_major_version != $gtk_config_major_version) ||
28792 (gtk_minor_version != $gtk_config_minor_version) ||
28793 (gtk_micro_version != $gtk_config_micro_version))
28794 {
28795 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28796 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28797 gtk_major_version, gtk_minor_version, gtk_micro_version);
28798 printf ("*** was found! If gtk-config was correct, then it is best\n");
28799 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28800 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28801 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28802 printf("*** required on your system.\n");
28803 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28804 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28805 printf("*** before re-running configure\n");
28806 }
28807 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28808 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28809 (gtk_minor_version != GTK_MINOR_VERSION) ||
28810 (gtk_micro_version != GTK_MICRO_VERSION))
28811 {
28812 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28813 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28814 printf("*** library (version %d.%d.%d)\n",
28815 gtk_major_version, gtk_minor_version, gtk_micro_version);
28816 }
28817 #endif /* defined (GTK_MAJOR_VERSION) ... */
28818 else
28819 {
28820 if ((gtk_major_version > major) ||
28821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28823 {
28824 return 0;
28825 }
28826 else
28827 {
28828 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28830 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28831 major, minor, micro);
28832 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28833 printf("***\n");
28834 printf("*** If you have already installed a sufficiently new version, this error\n");
28835 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28836 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28837 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28838 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28839 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28840 printf("*** so that the correct libraries are found at run-time))\n");
28841 }
28842 }
28843 return 1;
28844 }
28845
28846 _ACEOF
28847 rm -f conftest$ac_exeext
28848 if { (ac_try="$ac_link"
28849 case "(($ac_try" in
28850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851 *) ac_try_echo=$ac_try;;
28852 esac
28853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28854 (eval "$ac_link") 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28858 { (case "(($ac_try" in
28859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28861 esac
28862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_try") 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 :
28868 else
28869 echo "$as_me: program exited with status $ac_status" >&5
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 ( exit $ac_status )
28874 no_gtk=yes
28875 fi
28876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28877 fi
28878
28879
28880 CFLAGS="$ac_save_CFLAGS"
28881 LIBS="$ac_save_LIBS"
28882 fi
28883 fi
28884 if test "x$no_gtk" = x ; then
28885 { echo "$as_me:$LINENO: result: yes" >&5
28886 echo "${ECHO_T}yes" >&6; }
28887 wx_cv_lib_gtk=1.2.3
28888 else
28889 { echo "$as_me:$LINENO: result: no" >&5
28890 echo "${ECHO_T}no" >&6; }
28891 if test "$GTK_CONFIG" = "no" ; then
28892 echo "*** The gtk-config script installed by GTK could not be found"
28893 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28894 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28895 echo "*** full path to gtk-config."
28896 else
28897 if test -f conf.gtktest ; then
28898 :
28899 else
28900 echo "*** Could not run GTK test program, checking why..."
28901 CFLAGS="$CFLAGS $GTK_CFLAGS"
28902 LIBS="$LIBS $GTK_LIBS"
28903 cat >conftest.$ac_ext <<_ACEOF
28904 /* confdefs.h. */
28905 _ACEOF
28906 cat confdefs.h >>conftest.$ac_ext
28907 cat >>conftest.$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28909
28910 #include <gtk/gtk.h>
28911 #include <stdio.h>
28912
28913 int
28914 main ()
28915 {
28916 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28917 ;
28918 return 0;
28919 }
28920 _ACEOF
28921 rm -f conftest.$ac_objext conftest$ac_exeext
28922 if { (ac_try="$ac_link"
28923 case "(($ac_try" in
28924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28925 *) ac_try_echo=$ac_try;;
28926 esac
28927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28928 (eval "$ac_link") 2>conftest.er1
28929 ac_status=$?
28930 grep -v '^ *+' conftest.er1 >conftest.err
28931 rm -f conftest.er1
28932 cat conftest.err >&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); } && {
28935 test -z "$ac_c_werror_flag" ||
28936 test ! -s conftest.err
28937 } && test -s conftest$ac_exeext &&
28938 $as_test_x conftest$ac_exeext; then
28939 echo "*** The test program compiled, but did not run. This usually means"
28940 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28941 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28942 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28943 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28944 echo "*** is required on your system"
28945 echo "***"
28946 echo "*** If you have an old version installed, it is best to remove it, although"
28947 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28948 echo "***"
28949 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28950 echo "*** came with the system with the command"
28951 echo "***"
28952 echo "*** rpm --erase --nodeps gtk gtk-devel"
28953 else
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28956
28957 echo "*** The test program failed to compile or link. See the file config.log for the"
28958 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28959 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28960 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28961 fi
28962
28963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28964 conftest$ac_exeext conftest.$ac_ext
28965 CFLAGS="$ac_save_CFLAGS"
28966 LIBS="$ac_save_LIBS"
28967 fi
28968 fi
28969 GTK_CFLAGS=""
28970 GTK_LIBS=""
28971 :
28972 fi
28973
28974
28975 rm -f conf.gtktest
28976
28977 fi
28978 fi
28979 fi
28980
28981 if test -z "$wx_cv_lib_gtk"; then
28982 wx_cv_lib_gtk=none
28983 else
28984 wx_cv_cflags_gtk=$GTK_CFLAGS
28985 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28986 fi
28987
28988
28989 fi
28990
28991
28992 if test "$gtk_version_cached" = 1; then
28993 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28994 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28995 fi
28996
28997 case "$wx_cv_lib_gtk" in
28998 2.0) WXGTK2=1
28999 TOOLKIT_VERSION=2
29000 ;;
29001 1.2.7) WXGTK127=1
29002 WXGTK12=1
29003 ;;
29004 1.2.3) WXGTK12=1
29005 ;;
29006 *) { { echo "$as_me:$LINENO: error:
29007 The development files for GTK+ were not found. For GTK+ 2, please
29008 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29009 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29010 and that the version is 1.2.3 or above. Also check that the
29011 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29012 --libs' are in the LD_LIBRARY_PATH or equivalent.
29013 " >&5
29014 echo "$as_me: error:
29015 The development files for GTK+ were not found. For GTK+ 2, please
29016 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29017 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29018 and that the version is 1.2.3 or above. Also check that the
29019 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29020 --libs' are in the LD_LIBRARY_PATH or equivalent.
29021 " >&2;}
29022 { (exit 1); exit 1; }; }
29023 ;;
29024 esac
29025
29026 if test "$WXGTK2" = 1; then
29027 save_CFLAGS="$CFLAGS"
29028 save_LIBS="$LIBS"
29029 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29030 LIBS="$LIBS $wx_cv_libs_gtk"
29031
29032 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29033 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29034 cat >conftest.$ac_ext <<_ACEOF
29035 /* confdefs.h. */
29036 _ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29040
29041 #include <gtk/gtk.h>
29042
29043 int
29044 main ()
29045 {
29046
29047 #if !GTK_CHECK_VERSION(2,10,0)
29048 Not GTK+ 2.10
29049 #endif
29050
29051 ;
29052 return 0;
29053 }
29054 _ACEOF
29055 rm -f conftest.$ac_objext
29056 if { (ac_try="$ac_compile"
29057 case "(($ac_try" in
29058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29059 *) ac_try_echo=$ac_try;;
29060 esac
29061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29062 (eval "$ac_compile") 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } && {
29069 test -z "$ac_c_werror_flag" ||
29070 test ! -s conftest.err
29071 } && test -s conftest.$ac_objext; then
29072
29073 cat >>confdefs.h <<\_ACEOF
29074 #define __WXGTK210__ 1
29075 _ACEOF
29076
29077 cat >>confdefs.h <<\_ACEOF
29078 #define __WXGTK26__ 1
29079 _ACEOF
29080
29081 { echo "$as_me:$LINENO: result: yes" >&5
29082 echo "${ECHO_T}yes" >&6; }
29083 ac_wxgtk210=1
29084
29085 else
29086 echo "$as_me: failed program was:" >&5
29087 sed 's/^/| /' conftest.$ac_ext >&5
29088
29089
29090 { echo "$as_me:$LINENO: result: no" >&5
29091 echo "${ECHO_T}no" >&6; }
29092 ac_wxgtk210=0
29093
29094 fi
29095
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29097
29098 if test "$ac_wxgtk210" = 0; then
29099 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29100 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29101 cat >conftest.$ac_ext <<_ACEOF
29102 /* confdefs.h. */
29103 _ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h. */
29107
29108 #include <gtk/gtk.h>
29109
29110 int
29111 main ()
29112 {
29113
29114 #if !GTK_CHECK_VERSION(2,6,0)
29115 Not GTK+ 2.6
29116 #endif
29117
29118 ;
29119 return 0;
29120 }
29121 _ACEOF
29122 rm -f conftest.$ac_objext
29123 if { (ac_try="$ac_compile"
29124 case "(($ac_try" in
29125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29126 *) ac_try_echo=$ac_try;;
29127 esac
29128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29129 (eval "$ac_compile") 2>conftest.er1
29130 ac_status=$?
29131 grep -v '^ *+' conftest.er1 >conftest.err
29132 rm -f conftest.er1
29133 cat conftest.err >&5
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); } && {
29136 test -z "$ac_c_werror_flag" ||
29137 test ! -s conftest.err
29138 } && test -s conftest.$ac_objext; then
29139
29140 cat >>confdefs.h <<\_ACEOF
29141 #define __WXGTK26__ 1
29142 _ACEOF
29143
29144 { echo "$as_me:$LINENO: result: yes" >&5
29145 echo "${ECHO_T}yes" >&6; }
29146 ac_wxgtk26=1
29147
29148 else
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29151
29152
29153 { echo "$as_me:$LINENO: result: no" >&5
29154 echo "${ECHO_T}no" >&6; }
29155 ac_wxgtk26=0
29156
29157 fi
29158
29159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29160 fi
29161
29162 CFLAGS="$save_CFLAGS"
29163 LIBS="$save_LIBS"
29164 else
29165 if test "$wxUSE_UNICODE" = "yes"; then
29166 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29167 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29168 wxUSE_UNICODE=no
29169 fi
29170
29171 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29172 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29173 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 else
29176 ac_check_lib_save_LIBS=$LIBS
29177 LIBS="-lgdk $LIBS"
29178 cat >conftest.$ac_ext <<_ACEOF
29179 /* confdefs.h. */
29180 _ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29184
29185 /* Override any GCC internal prototype to avoid an error.
29186 Use char because int might match the return type of a GCC
29187 builtin and then its argument prototype would still apply. */
29188 #ifdef __cplusplus
29189 extern "C"
29190 #endif
29191 char gdk_im_open ();
29192 int
29193 main ()
29194 {
29195 return gdk_im_open ();
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (ac_try="$ac_link"
29202 case "(($ac_try" in
29203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29204 *) ac_try_echo=$ac_try;;
29205 esac
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_link") 2>conftest.er1
29208 ac_status=$?
29209 grep -v '^ *+' conftest.er1 >conftest.err
29210 rm -f conftest.er1
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } && {
29214 test -z "$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29216 } && test -s conftest$ac_exeext &&
29217 $as_test_x conftest$ac_exeext; then
29218 ac_cv_lib_gdk_gdk_im_open=yes
29219 else
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.$ac_ext >&5
29222
29223 ac_cv_lib_gdk_gdk_im_open=no
29224 fi
29225
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 LIBS=$ac_check_lib_save_LIBS
29229 fi
29230 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29231 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29232 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29233 cat >>confdefs.h <<\_ACEOF
29234 #define HAVE_XIM 1
29235 _ACEOF
29236
29237 fi
29238
29239
29240 if test "$USE_DARWIN" != 1; then
29241
29242 for ac_func in poll
29243 do
29244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 else
29250 cat >conftest.$ac_ext <<_ACEOF
29251 /* confdefs.h. */
29252 _ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29258 #define $ac_func innocuous_$ac_func
29259
29260 /* System header to define __stub macros and hopefully few prototypes,
29261 which can conflict with char $ac_func (); below.
29262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29263 <limits.h> exists even on freestanding compilers. */
29264
29265 #ifdef __STDC__
29266 # include <limits.h>
29267 #else
29268 # include <assert.h>
29269 #endif
29270
29271 #undef $ac_func
29272
29273 /* Override any GCC internal prototype to avoid an error.
29274 Use char because int might match the return type of a GCC
29275 builtin and then its argument prototype would still apply. */
29276 #ifdef __cplusplus
29277 extern "C"
29278 #endif
29279 char $ac_func ();
29280 /* The GNU C library defines this for functions which it implements
29281 to always fail with ENOSYS. Some functions are actually named
29282 something starting with __ and the normal name is an alias. */
29283 #if defined __stub_$ac_func || defined __stub___$ac_func
29284 choke me
29285 #endif
29286
29287 int
29288 main ()
29289 {
29290 return $ac_func ();
29291 ;
29292 return 0;
29293 }
29294 _ACEOF
29295 rm -f conftest.$ac_objext conftest$ac_exeext
29296 if { (ac_try="$ac_link"
29297 case "(($ac_try" in
29298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29299 *) ac_try_echo=$ac_try;;
29300 esac
29301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29302 (eval "$ac_link") 2>conftest.er1
29303 ac_status=$?
29304 grep -v '^ *+' conftest.er1 >conftest.err
29305 rm -f conftest.er1
29306 cat conftest.err >&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); } && {
29309 test -z "$ac_c_werror_flag" ||
29310 test ! -s conftest.err
29311 } && test -s conftest$ac_exeext &&
29312 $as_test_x conftest$ac_exeext; then
29313 eval "$as_ac_var=yes"
29314 else
29315 echo "$as_me: failed program was:" >&5
29316 sed 's/^/| /' conftest.$ac_ext >&5
29317
29318 eval "$as_ac_var=no"
29319 fi
29320
29321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29322 conftest$ac_exeext conftest.$ac_ext
29323 fi
29324 ac_res=`eval echo '${'$as_ac_var'}'`
29325 { echo "$as_me:$LINENO: result: $ac_res" >&5
29326 echo "${ECHO_T}$ac_res" >&6; }
29327 if test `eval echo '${'$as_ac_var'}'` = yes; then
29328 cat >>confdefs.h <<_ACEOF
29329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29330 _ACEOF
29331
29332 fi
29333 done
29334
29335 fi
29336 fi
29337
29338 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29339 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29340
29341 AFMINSTALL=afminstall
29342 TOOLKIT=GTK
29343 GUIDIST=GTK_DIST
29344
29345 if test "$wxUSE_GPE" = "yes"; then
29346 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29347 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29348
29349 ac_find_libraries=
29350 for ac_dir in $SEARCH_LIB;
29351 do
29352 for ac_extension in a so sl dylib dll.a; do
29353 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29354 ac_find_libraries=$ac_dir
29355 break 2
29356 fi
29357 done
29358 done
29359
29360 if test "$ac_find_libraries" != "" ; then
29361
29362 if test "$ac_find_libraries" = "default location"; then
29363 ac_path_to_link=""
29364 else
29365 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29366 result=$?
29367 if test $result = 0; then
29368 ac_path_to_link=""
29369 else
29370 ac_path_to_link=" -L$ac_find_libraries"
29371 fi
29372 fi
29373
29374 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29375 WXGPE=1
29376 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29377 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29378 else
29379 { echo "$as_me:$LINENO: result: not found" >&5
29380 echo "${ECHO_T}not found" >&6; }
29381 fi
29382
29383 fi
29384 fi
29385
29386 if test "$wxUSE_MGL" = 1; then
29387 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29388 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29389 if test "x$MGL_ROOT" = x ; then
29390 { echo "$as_me:$LINENO: result: not found" >&5
29391 echo "${ECHO_T}not found" >&6; }
29392 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29393 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29394 { (exit 1); exit 1; }; }
29395 else
29396 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29397 echo "${ECHO_T}$MGL_ROOT" >&6; }
29398 fi
29399
29400 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29401 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29402 case "${host}" in
29403 *-*-linux* )
29404 if test "x$wxUSE_SHARED" = xyes ; then
29405 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29406 else
29407 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29408 fi
29409 ;;
29410 *-pc-msdosdjgpp )
29411 mgl_os_candidates="dos32/dj2"
29412 ;;
29413 *)
29414 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29415 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29416 { (exit 1); exit 1; }; }
29417 esac
29418
29419 mgl_lib_type=""
29420 mgl_os=""
29421
29422 for mgl_os_i in $mgl_os_candidates ; do
29423 if test "x$mgl_os" = x ; then
29424 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29425 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29426 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29427 mgl_lib_type=debug
29428 mgl_os=$mgl_os_i
29429 fi
29430 fi
29431 if test "x$mgl_lib_type" = x ; then
29432 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29433 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29434 mgl_lib_type=release
29435 mgl_os=$mgl_os_i
29436 fi
29437 fi
29438 fi
29439 done
29440
29441 if test "x$mgl_os" = x ; then
29442 { echo "$as_me:$LINENO: result: not found" >&5
29443 echo "${ECHO_T}not found" >&6; }
29444 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29445 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29446 { (exit 1); exit 1; }; }
29447 fi
29448 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29449 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29450
29451 wxUSE_UNIVERSAL="yes"
29452
29453 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29454 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29455
29456 AFMINSTALL=afminstall
29457 TOOLKIT=MGL
29458 GUIDIST=MGL_DIST
29459 fi
29460
29461 if test "$wxUSE_DFB" = 1; then
29462
29463
29464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29465 if test -n "$ac_tool_prefix"; then
29466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 else
29473 case $PKG_CONFIG in
29474 [\\/]* | ?:[\\/]*)
29475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29476 ;;
29477 *)
29478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29479 for as_dir in $PATH
29480 do
29481 IFS=$as_save_IFS
29482 test -z "$as_dir" && as_dir=.
29483 for ac_exec_ext in '' $ac_executable_extensions; do
29484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29487 break 2
29488 fi
29489 done
29490 done
29491 IFS=$as_save_IFS
29492
29493 ;;
29494 esac
29495 fi
29496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29497 if test -n "$PKG_CONFIG"; then
29498 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29499 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29500 else
29501 { echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6; }
29503 fi
29504
29505
29506 fi
29507 if test -z "$ac_cv_path_PKG_CONFIG"; then
29508 ac_pt_PKG_CONFIG=$PKG_CONFIG
29509 # Extract the first word of "pkg-config", so it can be a program name with args.
29510 set dummy pkg-config; ac_word=$2
29511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29513 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 else
29516 case $ac_pt_PKG_CONFIG in
29517 [\\/]* | ?:[\\/]*)
29518 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29519 ;;
29520 *)
29521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29522 for as_dir in $PATH
29523 do
29524 IFS=$as_save_IFS
29525 test -z "$as_dir" && as_dir=.
29526 for ac_exec_ext in '' $ac_executable_extensions; do
29527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29528 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29530 break 2
29531 fi
29532 done
29533 done
29534 IFS=$as_save_IFS
29535
29536 ;;
29537 esac
29538 fi
29539 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29540 if test -n "$ac_pt_PKG_CONFIG"; then
29541 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29542 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29543 else
29544 { echo "$as_me:$LINENO: result: no" >&5
29545 echo "${ECHO_T}no" >&6; }
29546 fi
29547
29548 if test "x$ac_pt_PKG_CONFIG" = x; then
29549 PKG_CONFIG=""
29550 else
29551 case $cross_compiling:$ac_tool_warned in
29552 yes:)
29553 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29554 whose name does not start with the host triplet. If you think this
29555 configuration is useful to you, please write to autoconf@gnu.org." >&5
29556 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29557 whose name does not start with the host triplet. If you think this
29558 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29559 ac_tool_warned=yes ;;
29560 esac
29561 PKG_CONFIG=$ac_pt_PKG_CONFIG
29562 fi
29563 else
29564 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29565 fi
29566
29567 fi
29568 if test -n "$PKG_CONFIG"; then
29569 _pkg_min_version=0.9.0
29570 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29571 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29572 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29573 { echo "$as_me:$LINENO: result: yes" >&5
29574 echo "${ECHO_T}yes" >&6; }
29575 else
29576 { echo "$as_me:$LINENO: result: no" >&5
29577 echo "${ECHO_T}no" >&6; }
29578 PKG_CONFIG=""
29579 fi
29580
29581 fi
29582
29583
29584 pkg_failed=no
29585 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29586 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29587
29588 if test -n "$PKG_CONFIG"; then
29589 if test -n "$DIRECTFB_CFLAGS"; then
29590 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29591 else
29592 if test -n "$PKG_CONFIG" && \
29593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29594 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29595 ac_status=$?
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; then
29598 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29599 else
29600 pkg_failed=yes
29601 fi
29602 fi
29603 else
29604 pkg_failed=untried
29605 fi
29606 if test -n "$PKG_CONFIG"; then
29607 if test -n "$DIRECTFB_LIBS"; then
29608 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29609 else
29610 if test -n "$PKG_CONFIG" && \
29611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29612 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29613 ac_status=$?
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; then
29616 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29617 else
29618 pkg_failed=yes
29619 fi
29620 fi
29621 else
29622 pkg_failed=untried
29623 fi
29624
29625
29626
29627 if test $pkg_failed = yes; then
29628
29629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29630 _pkg_short_errors_supported=yes
29631 else
29632 _pkg_short_errors_supported=no
29633 fi
29634 if test $_pkg_short_errors_supported = yes; then
29635 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29636 else
29637 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29638 fi
29639 # Put the nasty error message in config.log where it belongs
29640 echo "$DIRECTFB_PKG_ERRORS" >&5
29641
29642
29643 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29644 echo "$as_me: error: DirectFB not found." >&2;}
29645 { (exit 1); exit 1; }; }
29646
29647
29648 elif test $pkg_failed = untried; then
29649
29650 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29651 echo "$as_me: error: DirectFB not found." >&2;}
29652 { (exit 1); exit 1; }; }
29653
29654
29655 else
29656 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29657 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29658 { echo "$as_me:$LINENO: result: yes" >&5
29659 echo "${ECHO_T}yes" >&6; }
29660
29661 wxUSE_UNIVERSAL="yes"
29662 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29663 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29664 TOOLKIT=DFB
29665 GUIDIST=DFB_DIST
29666
29667 fi
29668 fi
29669
29670 if test "$wxUSE_MICROWIN" = 1; then
29671 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29672 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29673 if test "x$MICROWINDOWS" = x ; then
29674 { echo "$as_me:$LINENO: result: not found" >&5
29675 echo "${ECHO_T}not found" >&6; }
29676 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29677 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29678 { (exit 1); exit 1; }; }
29679 else
29680 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29681 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29682 fi
29683
29684 if test -f $MICROWINDOWS/lib/libmwin.a; then
29685 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29686 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29687 else
29688 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29689 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29690 { (exit 1); exit 1; }; }
29691 fi
29692
29693 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29694 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29695
29696 wxUSE_UNIVERSAL="yes"
29697
29698 AFMINSTALL=afminstall
29699 TOOLKIT=MICROWIN
29700 GUIDIST=MICROWIN_DIST
29701
29702 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29703 fi
29704
29705 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29706 { echo "$as_me:$LINENO: checking for X" >&5
29707 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29708
29709
29710 # Check whether --with-x was given.
29711 if test "${with_x+set}" = set; then
29712 withval=$with_x;
29713 fi
29714
29715 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29716 if test "x$with_x" = xno; then
29717 # The user explicitly disabled X.
29718 have_x=disabled
29719 else
29720 case $x_includes,$x_libraries in #(
29721 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29722 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29723 { (exit 1); exit 1; }; };; #(
29724 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29725 echo $ECHO_N "(cached) $ECHO_C" >&6
29726 else
29727 # One or both of the vars are not set, and there is no cached value.
29728 ac_x_includes=no ac_x_libraries=no
29729 rm -f -r conftest.dir
29730 if mkdir conftest.dir; then
29731 cd conftest.dir
29732 cat >Imakefile <<'_ACEOF'
29733 incroot:
29734 @echo incroot='${INCROOT}'
29735 usrlibdir:
29736 @echo usrlibdir='${USRLIBDIR}'
29737 libdir:
29738 @echo libdir='${LIBDIR}'
29739 _ACEOF
29740 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29741 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29742 for ac_var in incroot usrlibdir libdir; do
29743 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29744 done
29745 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29746 for ac_extension in a so sl; do
29747 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29748 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29749 ac_im_usrlibdir=$ac_im_libdir; break
29750 fi
29751 done
29752 # Screen out bogus values from the imake configuration. They are
29753 # bogus both because they are the default anyway, and because
29754 # using them would break gcc on systems where it needs fixed includes.
29755 case $ac_im_incroot in
29756 /usr/include) ac_x_includes= ;;
29757 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29758 esac
29759 case $ac_im_usrlibdir in
29760 /usr/lib | /lib) ;;
29761 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29762 esac
29763 fi
29764 cd ..
29765 rm -f -r conftest.dir
29766 fi
29767
29768 # Standard set of common directories for X headers.
29769 # Check X11 before X11Rn because it is often a symlink to the current release.
29770 ac_x_header_dirs='
29771 /usr/X11/include
29772 /usr/X11R6/include
29773 /usr/X11R5/include
29774 /usr/X11R4/include
29775
29776 /usr/include/X11
29777 /usr/include/X11R6
29778 /usr/include/X11R5
29779 /usr/include/X11R4
29780
29781 /usr/local/X11/include
29782 /usr/local/X11R6/include
29783 /usr/local/X11R5/include
29784 /usr/local/X11R4/include
29785
29786 /usr/local/include/X11
29787 /usr/local/include/X11R6
29788 /usr/local/include/X11R5
29789 /usr/local/include/X11R4
29790
29791 /usr/X386/include
29792 /usr/x386/include
29793 /usr/XFree86/include/X11
29794
29795 /usr/include
29796 /usr/local/include
29797 /usr/unsupported/include
29798 /usr/athena/include
29799 /usr/local/x11r5/include
29800 /usr/lpp/Xamples/include
29801
29802 /usr/openwin/include
29803 /usr/openwin/share/include'
29804
29805 if test "$ac_x_includes" = no; then
29806 # Guess where to find include files, by looking for Xlib.h.
29807 # First, try using that file with no special directory specified.
29808 cat >conftest.$ac_ext <<_ACEOF
29809 /* confdefs.h. */
29810 _ACEOF
29811 cat confdefs.h >>conftest.$ac_ext
29812 cat >>conftest.$ac_ext <<_ACEOF
29813 /* end confdefs.h. */
29814 #include <X11/Xlib.h>
29815 _ACEOF
29816 if { (ac_try="$ac_cpp conftest.$ac_ext"
29817 case "(($ac_try" in
29818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29819 *) ac_try_echo=$ac_try;;
29820 esac
29821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29823 ac_status=$?
29824 grep -v '^ *+' conftest.er1 >conftest.err
29825 rm -f conftest.er1
29826 cat conftest.err >&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); } >/dev/null && {
29829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29830 test ! -s conftest.err
29831 }; then
29832 # We can compile using X headers with no special include directory.
29833 ac_x_includes=
29834 else
29835 echo "$as_me: failed program was:" >&5
29836 sed 's/^/| /' conftest.$ac_ext >&5
29837
29838 for ac_dir in $ac_x_header_dirs; do
29839 if test -r "$ac_dir/X11/Xlib.h"; then
29840 ac_x_includes=$ac_dir
29841 break
29842 fi
29843 done
29844 fi
29845
29846 rm -f conftest.err conftest.$ac_ext
29847 fi # $ac_x_includes = no
29848
29849 if test "$ac_x_libraries" = no; then
29850 # Check for the libraries.
29851 # See if we find them without any special options.
29852 # Don't add to $LIBS permanently.
29853 ac_save_LIBS=$LIBS
29854 LIBS="-lX11 $LIBS"
29855 cat >conftest.$ac_ext <<_ACEOF
29856 /* confdefs.h. */
29857 _ACEOF
29858 cat confdefs.h >>conftest.$ac_ext
29859 cat >>conftest.$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 #include <X11/Xlib.h>
29862 int
29863 main ()
29864 {
29865 XrmInitialize ()
29866 ;
29867 return 0;
29868 }
29869 _ACEOF
29870 rm -f conftest.$ac_objext conftest$ac_exeext
29871 if { (ac_try="$ac_link"
29872 case "(($ac_try" in
29873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29874 *) ac_try_echo=$ac_try;;
29875 esac
29876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29877 (eval "$ac_link") 2>conftest.er1
29878 ac_status=$?
29879 grep -v '^ *+' conftest.er1 >conftest.err
29880 rm -f conftest.er1
29881 cat conftest.err >&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); } && {
29884 test -z "$ac_c_werror_flag" ||
29885 test ! -s conftest.err
29886 } && test -s conftest$ac_exeext &&
29887 $as_test_x conftest$ac_exeext; then
29888 LIBS=$ac_save_LIBS
29889 # We can link X programs with no special library path.
29890 ac_x_libraries=
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29894
29895 LIBS=$ac_save_LIBS
29896 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29897 do
29898 # Don't even attempt the hair of trying to link an X program!
29899 for ac_extension in a so sl; do
29900 if test -r "$ac_dir/libX11.$ac_extension"; then
29901 ac_x_libraries=$ac_dir
29902 break 2
29903 fi
29904 done
29905 done
29906 fi
29907
29908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29909 conftest$ac_exeext conftest.$ac_ext
29910 fi # $ac_x_libraries = no
29911
29912 case $ac_x_includes,$ac_x_libraries in #(
29913 no,* | *,no | *\'*)
29914 # Didn't find X, or a directory has "'" in its name.
29915 ac_cv_have_x="have_x=no";; #(
29916 *)
29917 # Record where we found X for the cache.
29918 ac_cv_have_x="have_x=yes\
29919 ac_x_includes='$ac_x_includes'\
29920 ac_x_libraries='$ac_x_libraries'"
29921 esac
29922 fi
29923 ;; #(
29924 *) have_x=yes;;
29925 esac
29926 eval "$ac_cv_have_x"
29927 fi # $with_x != no
29928
29929 if test "$have_x" != yes; then
29930 { echo "$as_me:$LINENO: result: $have_x" >&5
29931 echo "${ECHO_T}$have_x" >&6; }
29932 no_x=yes
29933 else
29934 # If each of the values was on the command line, it overrides each guess.
29935 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29936 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29937 # Update the cache value to reflect the command line values.
29938 ac_cv_have_x="have_x=yes\
29939 ac_x_includes='$x_includes'\
29940 ac_x_libraries='$x_libraries'"
29941 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29942 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29943 fi
29944
29945 if test "$no_x" = yes; then
29946 # Not all programs may use this symbol, but it does not hurt to define it.
29947
29948 cat >>confdefs.h <<\_ACEOF
29949 #define X_DISPLAY_MISSING 1
29950 _ACEOF
29951
29952 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29953 else
29954 if test -n "$x_includes"; then
29955 X_CFLAGS="$X_CFLAGS -I$x_includes"
29956 fi
29957
29958 # It would also be nice to do this for all -L options, not just this one.
29959 if test -n "$x_libraries"; then
29960 X_LIBS="$X_LIBS -L$x_libraries"
29961 # For Solaris; some versions of Sun CC require a space after -R and
29962 # others require no space. Words are not sufficient . . . .
29963 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29964 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29965 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29966 ac_xsave_c_werror_flag=$ac_c_werror_flag
29967 ac_c_werror_flag=yes
29968 cat >conftest.$ac_ext <<_ACEOF
29969 /* confdefs.h. */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29974
29975 int
29976 main ()
29977 {
29978
29979 ;
29980 return 0;
29981 }
29982 _ACEOF
29983 rm -f conftest.$ac_objext conftest$ac_exeext
29984 if { (ac_try="$ac_link"
29985 case "(($ac_try" in
29986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29987 *) ac_try_echo=$ac_try;;
29988 esac
29989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29990 (eval "$ac_link") 2>conftest.er1
29991 ac_status=$?
29992 grep -v '^ *+' conftest.er1 >conftest.err
29993 rm -f conftest.er1
29994 cat conftest.err >&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } && {
29997 test -z "$ac_c_werror_flag" ||
29998 test ! -s conftest.err
29999 } && test -s conftest$ac_exeext &&
30000 $as_test_x conftest$ac_exeext; then
30001 { echo "$as_me:$LINENO: result: no" >&5
30002 echo "${ECHO_T}no" >&6; }
30003 X_LIBS="$X_LIBS -R$x_libraries"
30004 else
30005 echo "$as_me: failed program was:" >&5
30006 sed 's/^/| /' conftest.$ac_ext >&5
30007
30008 LIBS="$ac_xsave_LIBS -R $x_libraries"
30009 cat >conftest.$ac_ext <<_ACEOF
30010 /* confdefs.h. */
30011 _ACEOF
30012 cat confdefs.h >>conftest.$ac_ext
30013 cat >>conftest.$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30015
30016 int
30017 main ()
30018 {
30019
30020 ;
30021 return 0;
30022 }
30023 _ACEOF
30024 rm -f conftest.$ac_objext conftest$ac_exeext
30025 if { (ac_try="$ac_link"
30026 case "(($ac_try" in
30027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30028 *) ac_try_echo=$ac_try;;
30029 esac
30030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30031 (eval "$ac_link") 2>conftest.er1
30032 ac_status=$?
30033 grep -v '^ *+' conftest.er1 >conftest.err
30034 rm -f conftest.er1
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } && {
30038 test -z "$ac_c_werror_flag" ||
30039 test ! -s conftest.err
30040 } && test -s conftest$ac_exeext &&
30041 $as_test_x conftest$ac_exeext; then
30042 { echo "$as_me:$LINENO: result: yes" >&5
30043 echo "${ECHO_T}yes" >&6; }
30044 X_LIBS="$X_LIBS -R $x_libraries"
30045 else
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30048
30049 { echo "$as_me:$LINENO: result: neither works" >&5
30050 echo "${ECHO_T}neither works" >&6; }
30051 fi
30052
30053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30054 conftest$ac_exeext conftest.$ac_ext
30055 fi
30056
30057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30058 conftest$ac_exeext conftest.$ac_ext
30059 ac_c_werror_flag=$ac_xsave_c_werror_flag
30060 LIBS=$ac_xsave_LIBS
30061 fi
30062
30063 # Check for system-dependent libraries X programs must link with.
30064 # Do this before checking for the system-independent R6 libraries
30065 # (-lICE), since we may need -lsocket or whatever for X linking.
30066
30067 if test "$ISC" = yes; then
30068 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30069 else
30070 # Martyn Johnson says this is needed for Ultrix, if the X
30071 # libraries were built with DECnet support. And Karl Berry says
30072 # the Alpha needs dnet_stub (dnet does not exist).
30073 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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
30081 /* Override any GCC internal prototype to avoid an error.
30082 Use char because int might match the return type of a GCC
30083 builtin and then its argument prototype would still apply. */
30084 #ifdef __cplusplus
30085 extern "C"
30086 #endif
30087 char XOpenDisplay ();
30088 int
30089 main ()
30090 {
30091 return XOpenDisplay ();
30092 ;
30093 return 0;
30094 }
30095 _ACEOF
30096 rm -f conftest.$ac_objext conftest$ac_exeext
30097 if { (ac_try="$ac_link"
30098 case "(($ac_try" in
30099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30100 *) ac_try_echo=$ac_try;;
30101 esac
30102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30103 (eval "$ac_link") 2>conftest.er1
30104 ac_status=$?
30105 grep -v '^ *+' conftest.er1 >conftest.err
30106 rm -f conftest.er1
30107 cat conftest.err >&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } && {
30110 test -z "$ac_c_werror_flag" ||
30111 test ! -s conftest.err
30112 } && test -s conftest$ac_exeext &&
30113 $as_test_x conftest$ac_exeext; then
30114 :
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30118
30119 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30120 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30121 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30122 echo $ECHO_N "(cached) $ECHO_C" >&6
30123 else
30124 ac_check_lib_save_LIBS=$LIBS
30125 LIBS="-ldnet $LIBS"
30126 cat >conftest.$ac_ext <<_ACEOF
30127 /* confdefs.h. */
30128 _ACEOF
30129 cat confdefs.h >>conftest.$ac_ext
30130 cat >>conftest.$ac_ext <<_ACEOF
30131 /* end confdefs.h. */
30132
30133 /* Override any GCC internal prototype to avoid an error.
30134 Use char because int might match the return type of a GCC
30135 builtin and then its argument prototype would still apply. */
30136 #ifdef __cplusplus
30137 extern "C"
30138 #endif
30139 char dnet_ntoa ();
30140 int
30141 main ()
30142 {
30143 return dnet_ntoa ();
30144 ;
30145 return 0;
30146 }
30147 _ACEOF
30148 rm -f conftest.$ac_objext conftest$ac_exeext
30149 if { (ac_try="$ac_link"
30150 case "(($ac_try" in
30151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30152 *) ac_try_echo=$ac_try;;
30153 esac
30154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30155 (eval "$ac_link") 2>conftest.er1
30156 ac_status=$?
30157 grep -v '^ *+' conftest.er1 >conftest.err
30158 rm -f conftest.er1
30159 cat conftest.err >&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); } && {
30162 test -z "$ac_c_werror_flag" ||
30163 test ! -s conftest.err
30164 } && test -s conftest$ac_exeext &&
30165 $as_test_x conftest$ac_exeext; then
30166 ac_cv_lib_dnet_dnet_ntoa=yes
30167 else
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171 ac_cv_lib_dnet_dnet_ntoa=no
30172 fi
30173
30174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30175 conftest$ac_exeext conftest.$ac_ext
30176 LIBS=$ac_check_lib_save_LIBS
30177 fi
30178 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30179 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30180 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30181 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30182 fi
30183
30184 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30185 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30186 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30187 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30189 else
30190 ac_check_lib_save_LIBS=$LIBS
30191 LIBS="-ldnet_stub $LIBS"
30192 cat >conftest.$ac_ext <<_ACEOF
30193 /* confdefs.h. */
30194 _ACEOF
30195 cat confdefs.h >>conftest.$ac_ext
30196 cat >>conftest.$ac_ext <<_ACEOF
30197 /* end confdefs.h. */
30198
30199 /* Override any GCC internal prototype to avoid an error.
30200 Use char because int might match the return type of a GCC
30201 builtin and then its argument prototype would still apply. */
30202 #ifdef __cplusplus
30203 extern "C"
30204 #endif
30205 char dnet_ntoa ();
30206 int
30207 main ()
30208 {
30209 return dnet_ntoa ();
30210 ;
30211 return 0;
30212 }
30213 _ACEOF
30214 rm -f conftest.$ac_objext conftest$ac_exeext
30215 if { (ac_try="$ac_link"
30216 case "(($ac_try" in
30217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30218 *) ac_try_echo=$ac_try;;
30219 esac
30220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30221 (eval "$ac_link") 2>conftest.er1
30222 ac_status=$?
30223 grep -v '^ *+' conftest.er1 >conftest.err
30224 rm -f conftest.er1
30225 cat conftest.err >&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } && {
30228 test -z "$ac_c_werror_flag" ||
30229 test ! -s conftest.err
30230 } && test -s conftest$ac_exeext &&
30231 $as_test_x conftest$ac_exeext; then
30232 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30233 else
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.$ac_ext >&5
30236
30237 ac_cv_lib_dnet_stub_dnet_ntoa=no
30238 fi
30239
30240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30241 conftest$ac_exeext conftest.$ac_ext
30242 LIBS=$ac_check_lib_save_LIBS
30243 fi
30244 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30245 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30246 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30247 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30248 fi
30249
30250 fi
30251 fi
30252
30253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30254 conftest$ac_exeext conftest.$ac_ext
30255 LIBS="$ac_xsave_LIBS"
30256
30257 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30258 # to get the SysV transport functions.
30259 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30260 # needs -lnsl.
30261 # The nsl library prevents programs from opening the X display
30262 # on Irix 5.2, according to T.E. Dickey.
30263 # The functions gethostbyname, getservbyname, and inet_addr are
30264 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30265 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30267 if test "${ac_cv_func_gethostbyname+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30269 else
30270 cat >conftest.$ac_ext <<_ACEOF
30271 /* confdefs.h. */
30272 _ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30278 #define gethostbyname innocuous_gethostbyname
30279
30280 /* System header to define __stub macros and hopefully few prototypes,
30281 which can conflict with char gethostbyname (); below.
30282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30283 <limits.h> exists even on freestanding compilers. */
30284
30285 #ifdef __STDC__
30286 # include <limits.h>
30287 #else
30288 # include <assert.h>
30289 #endif
30290
30291 #undef gethostbyname
30292
30293 /* Override any GCC internal prototype to avoid an error.
30294 Use char because int might match the return type of a GCC
30295 builtin and then its argument prototype would still apply. */
30296 #ifdef __cplusplus
30297 extern "C"
30298 #endif
30299 char gethostbyname ();
30300 /* The GNU C library defines this for functions which it implements
30301 to always fail with ENOSYS. Some functions are actually named
30302 something starting with __ and the normal name is an alias. */
30303 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30304 choke me
30305 #endif
30306
30307 int
30308 main ()
30309 {
30310 return gethostbyname ();
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 ac_cv_func_gethostbyname=yes
30334 else
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.$ac_ext >&5
30337
30338 ac_cv_func_gethostbyname=no
30339 fi
30340
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 fi
30344 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30345 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30346
30347 if test $ac_cv_func_gethostbyname = no; then
30348 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30349 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30350 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30351 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 else
30353 ac_check_lib_save_LIBS=$LIBS
30354 LIBS="-lnsl $LIBS"
30355 cat >conftest.$ac_ext <<_ACEOF
30356 /* confdefs.h. */
30357 _ACEOF
30358 cat confdefs.h >>conftest.$ac_ext
30359 cat >>conftest.$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30361
30362 /* Override any GCC internal prototype to avoid an error.
30363 Use char because int might match the return type of a GCC
30364 builtin and then its argument prototype would still apply. */
30365 #ifdef __cplusplus
30366 extern "C"
30367 #endif
30368 char gethostbyname ();
30369 int
30370 main ()
30371 {
30372 return gethostbyname ();
30373 ;
30374 return 0;
30375 }
30376 _ACEOF
30377 rm -f conftest.$ac_objext conftest$ac_exeext
30378 if { (ac_try="$ac_link"
30379 case "(($ac_try" in
30380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30381 *) ac_try_echo=$ac_try;;
30382 esac
30383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30384 (eval "$ac_link") 2>conftest.er1
30385 ac_status=$?
30386 grep -v '^ *+' conftest.er1 >conftest.err
30387 rm -f conftest.er1
30388 cat conftest.err >&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); } && {
30391 test -z "$ac_c_werror_flag" ||
30392 test ! -s conftest.err
30393 } && test -s conftest$ac_exeext &&
30394 $as_test_x conftest$ac_exeext; then
30395 ac_cv_lib_nsl_gethostbyname=yes
30396 else
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.$ac_ext >&5
30399
30400 ac_cv_lib_nsl_gethostbyname=no
30401 fi
30402
30403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30404 conftest$ac_exeext conftest.$ac_ext
30405 LIBS=$ac_check_lib_save_LIBS
30406 fi
30407 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30408 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30409 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30411 fi
30412
30413 if test $ac_cv_lib_nsl_gethostbyname = no; then
30414 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30415 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30416 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 else
30419 ac_check_lib_save_LIBS=$LIBS
30420 LIBS="-lbsd $LIBS"
30421 cat >conftest.$ac_ext <<_ACEOF
30422 /* confdefs.h. */
30423 _ACEOF
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427
30428 /* Override any GCC internal prototype to avoid an error.
30429 Use char because int might match the return type of a GCC
30430 builtin and then its argument prototype would still apply. */
30431 #ifdef __cplusplus
30432 extern "C"
30433 #endif
30434 char gethostbyname ();
30435 int
30436 main ()
30437 {
30438 return gethostbyname ();
30439 ;
30440 return 0;
30441 }
30442 _ACEOF
30443 rm -f conftest.$ac_objext conftest$ac_exeext
30444 if { (ac_try="$ac_link"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30448 esac
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_link") 2>conftest.er1
30451 ac_status=$?
30452 grep -v '^ *+' conftest.er1 >conftest.err
30453 rm -f conftest.er1
30454 cat conftest.err >&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } && {
30457 test -z "$ac_c_werror_flag" ||
30458 test ! -s conftest.err
30459 } && test -s conftest$ac_exeext &&
30460 $as_test_x conftest$ac_exeext; then
30461 ac_cv_lib_bsd_gethostbyname=yes
30462 else
30463 echo "$as_me: failed program was:" >&5
30464 sed 's/^/| /' conftest.$ac_ext >&5
30465
30466 ac_cv_lib_bsd_gethostbyname=no
30467 fi
30468
30469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30470 conftest$ac_exeext conftest.$ac_ext
30471 LIBS=$ac_check_lib_save_LIBS
30472 fi
30473 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30474 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30475 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30477 fi
30478
30479 fi
30480 fi
30481
30482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30483 # socket/setsockopt and other routines are undefined under SCO ODT
30484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30485 # on later versions), says Simon Leinen: it contains gethostby*
30486 # variants that don't use the name server (or something). -lsocket
30487 # must be given before -lnsl if both are needed. We assume that
30488 # if connect needs -lnsl, so does gethostbyname.
30489 { echo "$as_me:$LINENO: checking for connect" >&5
30490 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30491 if test "${ac_cv_func_connect+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 else
30494 cat >conftest.$ac_ext <<_ACEOF
30495 /* confdefs.h. */
30496 _ACEOF
30497 cat confdefs.h >>conftest.$ac_ext
30498 cat >>conftest.$ac_ext <<_ACEOF
30499 /* end confdefs.h. */
30500 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30502 #define connect innocuous_connect
30503
30504 /* System header to define __stub macros and hopefully few prototypes,
30505 which can conflict with char connect (); below.
30506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30507 <limits.h> exists even on freestanding compilers. */
30508
30509 #ifdef __STDC__
30510 # include <limits.h>
30511 #else
30512 # include <assert.h>
30513 #endif
30514
30515 #undef connect
30516
30517 /* Override any GCC internal prototype to avoid an error.
30518 Use char because int might match the return type of a GCC
30519 builtin and then its argument prototype would still apply. */
30520 #ifdef __cplusplus
30521 extern "C"
30522 #endif
30523 char connect ();
30524 /* The GNU C library defines this for functions which it implements
30525 to always fail with ENOSYS. Some functions are actually named
30526 something starting with __ and the normal name is an alias. */
30527 #if defined __stub_connect || defined __stub___connect
30528 choke me
30529 #endif
30530
30531 int
30532 main ()
30533 {
30534 return connect ();
30535 ;
30536 return 0;
30537 }
30538 _ACEOF
30539 rm -f conftest.$ac_objext conftest$ac_exeext
30540 if { (ac_try="$ac_link"
30541 case "(($ac_try" in
30542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30543 *) ac_try_echo=$ac_try;;
30544 esac
30545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30546 (eval "$ac_link") 2>conftest.er1
30547 ac_status=$?
30548 grep -v '^ *+' conftest.er1 >conftest.err
30549 rm -f conftest.er1
30550 cat conftest.err >&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } && {
30553 test -z "$ac_c_werror_flag" ||
30554 test ! -s conftest.err
30555 } && test -s conftest$ac_exeext &&
30556 $as_test_x conftest$ac_exeext; then
30557 ac_cv_func_connect=yes
30558 else
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.$ac_ext >&5
30561
30562 ac_cv_func_connect=no
30563 fi
30564
30565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30566 conftest$ac_exeext conftest.$ac_ext
30567 fi
30568 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30569 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30570
30571 if test $ac_cv_func_connect = no; then
30572 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30573 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30574 if test "${ac_cv_lib_socket_connect+set}" = set; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 else
30577 ac_check_lib_save_LIBS=$LIBS
30578 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30579 cat >conftest.$ac_ext <<_ACEOF
30580 /* confdefs.h. */
30581 _ACEOF
30582 cat confdefs.h >>conftest.$ac_ext
30583 cat >>conftest.$ac_ext <<_ACEOF
30584 /* end confdefs.h. */
30585
30586 /* Override any GCC internal prototype to avoid an error.
30587 Use char because int might match the return type of a GCC
30588 builtin and then its argument prototype would still apply. */
30589 #ifdef __cplusplus
30590 extern "C"
30591 #endif
30592 char connect ();
30593 int
30594 main ()
30595 {
30596 return connect ();
30597 ;
30598 return 0;
30599 }
30600 _ACEOF
30601 rm -f conftest.$ac_objext conftest$ac_exeext
30602 if { (ac_try="$ac_link"
30603 case "(($ac_try" in
30604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30605 *) ac_try_echo=$ac_try;;
30606 esac
30607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30608 (eval "$ac_link") 2>conftest.er1
30609 ac_status=$?
30610 grep -v '^ *+' conftest.er1 >conftest.err
30611 rm -f conftest.er1
30612 cat conftest.err >&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); } && {
30615 test -z "$ac_c_werror_flag" ||
30616 test ! -s conftest.err
30617 } && test -s conftest$ac_exeext &&
30618 $as_test_x conftest$ac_exeext; then
30619 ac_cv_lib_socket_connect=yes
30620 else
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.$ac_ext >&5
30623
30624 ac_cv_lib_socket_connect=no
30625 fi
30626
30627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30628 conftest$ac_exeext conftest.$ac_ext
30629 LIBS=$ac_check_lib_save_LIBS
30630 fi
30631 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30632 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30633 if test $ac_cv_lib_socket_connect = yes; then
30634 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30635 fi
30636
30637 fi
30638
30639 # Guillermo Gomez says -lposix is necessary on A/UX.
30640 { echo "$as_me:$LINENO: checking for remove" >&5
30641 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30642 if test "${ac_cv_func_remove+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645 cat >conftest.$ac_ext <<_ACEOF
30646 /* confdefs.h. */
30647 _ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30653 #define remove innocuous_remove
30654
30655 /* System header to define __stub macros and hopefully few prototypes,
30656 which can conflict with char remove (); below.
30657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30658 <limits.h> exists even on freestanding compilers. */
30659
30660 #ifdef __STDC__
30661 # include <limits.h>
30662 #else
30663 # include <assert.h>
30664 #endif
30665
30666 #undef remove
30667
30668 /* Override any GCC internal prototype to avoid an error.
30669 Use char because int might match the return type of a GCC
30670 builtin and then its argument prototype would still apply. */
30671 #ifdef __cplusplus
30672 extern "C"
30673 #endif
30674 char remove ();
30675 /* The GNU C library defines this for functions which it implements
30676 to always fail with ENOSYS. Some functions are actually named
30677 something starting with __ and the normal name is an alias. */
30678 #if defined __stub_remove || defined __stub___remove
30679 choke me
30680 #endif
30681
30682 int
30683 main ()
30684 {
30685 return remove ();
30686 ;
30687 return 0;
30688 }
30689 _ACEOF
30690 rm -f conftest.$ac_objext conftest$ac_exeext
30691 if { (ac_try="$ac_link"
30692 case "(($ac_try" in
30693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30694 *) ac_try_echo=$ac_try;;
30695 esac
30696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30697 (eval "$ac_link") 2>conftest.er1
30698 ac_status=$?
30699 grep -v '^ *+' conftest.er1 >conftest.err
30700 rm -f conftest.er1
30701 cat conftest.err >&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } && {
30704 test -z "$ac_c_werror_flag" ||
30705 test ! -s conftest.err
30706 } && test -s conftest$ac_exeext &&
30707 $as_test_x conftest$ac_exeext; then
30708 ac_cv_func_remove=yes
30709 else
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.$ac_ext >&5
30712
30713 ac_cv_func_remove=no
30714 fi
30715
30716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30717 conftest$ac_exeext conftest.$ac_ext
30718 fi
30719 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30720 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30721
30722 if test $ac_cv_func_remove = no; then
30723 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30724 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30725 if test "${ac_cv_lib_posix_remove+set}" = set; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728 ac_check_lib_save_LIBS=$LIBS
30729 LIBS="-lposix $LIBS"
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h. */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30736
30737 /* Override any GCC internal prototype to avoid an error.
30738 Use char because int might match the return type of a GCC
30739 builtin and then its argument prototype would still apply. */
30740 #ifdef __cplusplus
30741 extern "C"
30742 #endif
30743 char remove ();
30744 int
30745 main ()
30746 {
30747 return remove ();
30748 ;
30749 return 0;
30750 }
30751 _ACEOF
30752 rm -f conftest.$ac_objext conftest$ac_exeext
30753 if { (ac_try="$ac_link"
30754 case "(($ac_try" in
30755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30756 *) ac_try_echo=$ac_try;;
30757 esac
30758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30759 (eval "$ac_link") 2>conftest.er1
30760 ac_status=$?
30761 grep -v '^ *+' conftest.er1 >conftest.err
30762 rm -f conftest.er1
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } && {
30766 test -z "$ac_c_werror_flag" ||
30767 test ! -s conftest.err
30768 } && test -s conftest$ac_exeext &&
30769 $as_test_x conftest$ac_exeext; then
30770 ac_cv_lib_posix_remove=yes
30771 else
30772 echo "$as_me: failed program was:" >&5
30773 sed 's/^/| /' conftest.$ac_ext >&5
30774
30775 ac_cv_lib_posix_remove=no
30776 fi
30777
30778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30779 conftest$ac_exeext conftest.$ac_ext
30780 LIBS=$ac_check_lib_save_LIBS
30781 fi
30782 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30783 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30784 if test $ac_cv_lib_posix_remove = yes; then
30785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30786 fi
30787
30788 fi
30789
30790 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30791 { echo "$as_me:$LINENO: checking for shmat" >&5
30792 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30793 if test "${ac_cv_func_shmat+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 else
30796 cat >conftest.$ac_ext <<_ACEOF
30797 /* confdefs.h. */
30798 _ACEOF
30799 cat confdefs.h >>conftest.$ac_ext
30800 cat >>conftest.$ac_ext <<_ACEOF
30801 /* end confdefs.h. */
30802 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30804 #define shmat innocuous_shmat
30805
30806 /* System header to define __stub macros and hopefully few prototypes,
30807 which can conflict with char shmat (); below.
30808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30809 <limits.h> exists even on freestanding compilers. */
30810
30811 #ifdef __STDC__
30812 # include <limits.h>
30813 #else
30814 # include <assert.h>
30815 #endif
30816
30817 #undef shmat
30818
30819 /* Override any GCC internal prototype to avoid an error.
30820 Use char because int might match the return type of a GCC
30821 builtin and then its argument prototype would still apply. */
30822 #ifdef __cplusplus
30823 extern "C"
30824 #endif
30825 char shmat ();
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined __stub_shmat || defined __stub___shmat
30830 choke me
30831 #endif
30832
30833 int
30834 main ()
30835 {
30836 return shmat ();
30837 ;
30838 return 0;
30839 }
30840 _ACEOF
30841 rm -f conftest.$ac_objext conftest$ac_exeext
30842 if { (ac_try="$ac_link"
30843 case "(($ac_try" in
30844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30845 *) ac_try_echo=$ac_try;;
30846 esac
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_link") 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } && {
30855 test -z "$ac_c_werror_flag" ||
30856 test ! -s conftest.err
30857 } && test -s conftest$ac_exeext &&
30858 $as_test_x conftest$ac_exeext; then
30859 ac_cv_func_shmat=yes
30860 else
30861 echo "$as_me: failed program was:" >&5
30862 sed 's/^/| /' conftest.$ac_ext >&5
30863
30864 ac_cv_func_shmat=no
30865 fi
30866
30867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30868 conftest$ac_exeext conftest.$ac_ext
30869 fi
30870 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30871 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30872
30873 if test $ac_cv_func_shmat = no; then
30874 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30875 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30876 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 else
30879 ac_check_lib_save_LIBS=$LIBS
30880 LIBS="-lipc $LIBS"
30881 cat >conftest.$ac_ext <<_ACEOF
30882 /* confdefs.h. */
30883 _ACEOF
30884 cat confdefs.h >>conftest.$ac_ext
30885 cat >>conftest.$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887
30888 /* Override any GCC internal prototype to avoid an error.
30889 Use char because int might match the return type of a GCC
30890 builtin and then its argument prototype would still apply. */
30891 #ifdef __cplusplus
30892 extern "C"
30893 #endif
30894 char shmat ();
30895 int
30896 main ()
30897 {
30898 return shmat ();
30899 ;
30900 return 0;
30901 }
30902 _ACEOF
30903 rm -f conftest.$ac_objext conftest$ac_exeext
30904 if { (ac_try="$ac_link"
30905 case "(($ac_try" in
30906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30907 *) ac_try_echo=$ac_try;;
30908 esac
30909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30910 (eval "$ac_link") 2>conftest.er1
30911 ac_status=$?
30912 grep -v '^ *+' conftest.er1 >conftest.err
30913 rm -f conftest.er1
30914 cat conftest.err >&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } && {
30917 test -z "$ac_c_werror_flag" ||
30918 test ! -s conftest.err
30919 } && test -s conftest$ac_exeext &&
30920 $as_test_x conftest$ac_exeext; then
30921 ac_cv_lib_ipc_shmat=yes
30922 else
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30925
30926 ac_cv_lib_ipc_shmat=no
30927 fi
30928
30929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30930 conftest$ac_exeext conftest.$ac_ext
30931 LIBS=$ac_check_lib_save_LIBS
30932 fi
30933 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30934 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30935 if test $ac_cv_lib_ipc_shmat = yes; then
30936 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30937 fi
30938
30939 fi
30940 fi
30941
30942 # Check for libraries that X11R6 Xt/Xaw programs need.
30943 ac_save_LDFLAGS=$LDFLAGS
30944 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30945 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30946 # check for ICE first), but we must link in the order -lSM -lICE or
30947 # we get undefined symbols. So assume we have SM if we have ICE.
30948 # These have to be linked with before -lX11, unlike the other
30949 # libraries we check for below, so use a different variable.
30950 # John Interrante, Karl Berry
30951 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30952 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30953 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 else
30956 ac_check_lib_save_LIBS=$LIBS
30957 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30958 cat >conftest.$ac_ext <<_ACEOF
30959 /* confdefs.h. */
30960 _ACEOF
30961 cat confdefs.h >>conftest.$ac_ext
30962 cat >>conftest.$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30964
30965 /* Override any GCC internal prototype to avoid an error.
30966 Use char because int might match the return type of a GCC
30967 builtin and then its argument prototype would still apply. */
30968 #ifdef __cplusplus
30969 extern "C"
30970 #endif
30971 char IceConnectionNumber ();
30972 int
30973 main ()
30974 {
30975 return IceConnectionNumber ();
30976 ;
30977 return 0;
30978 }
30979 _ACEOF
30980 rm -f conftest.$ac_objext conftest$ac_exeext
30981 if { (ac_try="$ac_link"
30982 case "(($ac_try" in
30983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30984 *) ac_try_echo=$ac_try;;
30985 esac
30986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30987 (eval "$ac_link") 2>conftest.er1
30988 ac_status=$?
30989 grep -v '^ *+' conftest.er1 >conftest.err
30990 rm -f conftest.er1
30991 cat conftest.err >&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } && {
30994 test -z "$ac_c_werror_flag" ||
30995 test ! -s conftest.err
30996 } && test -s conftest$ac_exeext &&
30997 $as_test_x conftest$ac_exeext; then
30998 ac_cv_lib_ICE_IceConnectionNumber=yes
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 ac_cv_lib_ICE_IceConnectionNumber=no
31004 fi
31005
31006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31007 conftest$ac_exeext conftest.$ac_ext
31008 LIBS=$ac_check_lib_save_LIBS
31009 fi
31010 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31011 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31012 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31013 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31014 fi
31015
31016 LDFLAGS=$ac_save_LDFLAGS
31017
31018 fi
31019
31020
31021 if test "$no_x" = "yes"; then
31022 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31023 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31024 { (exit 1); exit 1; }; }
31025 fi
31026
31027 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31028 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31029 AFMINSTALL=afminstall
31030 COMPILED_X_PROGRAM=0
31031
31032 fi
31033
31034 if test "$wxUSE_X11" = 1; then
31035 if test "$wxUSE_NANOX" = "yes"; then
31036 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31037 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31038 if test "x$MICROWIN" = x ; then
31039 { echo "$as_me:$LINENO: result: not found" >&5
31040 echo "${ECHO_T}not found" >&6; }
31041 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31042 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31043 { (exit 1); exit 1; }; }
31044 else
31045 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31046 echo "${ECHO_T}$MICROWIN" >&6; }
31047 cat >>confdefs.h <<\_ACEOF
31048 #define wxUSE_NANOX 1
31049 _ACEOF
31050
31051 fi
31052 fi
31053
31054 if test "$wxUSE_UNICODE" = "yes"; then
31055
31056
31057 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31058 if test -n "$ac_tool_prefix"; then
31059 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31060 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31063 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 else
31066 case $PKG_CONFIG in
31067 [\\/]* | ?:[\\/]*)
31068 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31069 ;;
31070 *)
31071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31072 for as_dir in $PATH
31073 do
31074 IFS=$as_save_IFS
31075 test -z "$as_dir" && as_dir=.
31076 for ac_exec_ext in '' $ac_executable_extensions; do
31077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31078 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31080 break 2
31081 fi
31082 done
31083 done
31084 IFS=$as_save_IFS
31085
31086 ;;
31087 esac
31088 fi
31089 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31090 if test -n "$PKG_CONFIG"; then
31091 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31092 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31093 else
31094 { echo "$as_me:$LINENO: result: no" >&5
31095 echo "${ECHO_T}no" >&6; }
31096 fi
31097
31098
31099 fi
31100 if test -z "$ac_cv_path_PKG_CONFIG"; then
31101 ac_pt_PKG_CONFIG=$PKG_CONFIG
31102 # Extract the first word of "pkg-config", so it can be a program name with args.
31103 set dummy pkg-config; ac_word=$2
31104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31106 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31107 echo $ECHO_N "(cached) $ECHO_C" >&6
31108 else
31109 case $ac_pt_PKG_CONFIG in
31110 [\\/]* | ?:[\\/]*)
31111 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31112 ;;
31113 *)
31114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31115 for as_dir in $PATH
31116 do
31117 IFS=$as_save_IFS
31118 test -z "$as_dir" && as_dir=.
31119 for ac_exec_ext in '' $ac_executable_extensions; do
31120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31121 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31123 break 2
31124 fi
31125 done
31126 done
31127 IFS=$as_save_IFS
31128
31129 ;;
31130 esac
31131 fi
31132 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31133 if test -n "$ac_pt_PKG_CONFIG"; then
31134 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31135 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31136 else
31137 { echo "$as_me:$LINENO: result: no" >&5
31138 echo "${ECHO_T}no" >&6; }
31139 fi
31140
31141 if test "x$ac_pt_PKG_CONFIG" = x; then
31142 PKG_CONFIG=""
31143 else
31144 case $cross_compiling:$ac_tool_warned in
31145 yes:)
31146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31147 whose name does not start with the host triplet. If you think this
31148 configuration is useful to you, please write to autoconf@gnu.org." >&5
31149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31150 whose name does not start with the host triplet. If you think this
31151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31152 ac_tool_warned=yes ;;
31153 esac
31154 PKG_CONFIG=$ac_pt_PKG_CONFIG
31155 fi
31156 else
31157 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31158 fi
31159
31160 fi
31161 if test -n "$PKG_CONFIG"; then
31162 _pkg_min_version=0.9.0
31163 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31164 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31165 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31166 { echo "$as_me:$LINENO: result: yes" >&5
31167 echo "${ECHO_T}yes" >&6; }
31168 else
31169 { echo "$as_me:$LINENO: result: no" >&5
31170 echo "${ECHO_T}no" >&6; }
31171 PKG_CONFIG=""
31172 fi
31173
31174 fi
31175
31176
31177 pkg_failed=no
31178 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31179 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31180
31181 if test -n "$PKG_CONFIG"; then
31182 if test -n "$PANGOX_CFLAGS"; then
31183 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31184 else
31185 if test -n "$PKG_CONFIG" && \
31186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31187 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; then
31191 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31192 else
31193 pkg_failed=yes
31194 fi
31195 fi
31196 else
31197 pkg_failed=untried
31198 fi
31199 if test -n "$PKG_CONFIG"; then
31200 if test -n "$PANGOX_LIBS"; then
31201 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31202 else
31203 if test -n "$PKG_CONFIG" && \
31204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31205 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31206 ac_status=$?
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; then
31209 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31210 else
31211 pkg_failed=yes
31212 fi
31213 fi
31214 else
31215 pkg_failed=untried
31216 fi
31217
31218
31219
31220 if test $pkg_failed = yes; then
31221
31222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31223 _pkg_short_errors_supported=yes
31224 else
31225 _pkg_short_errors_supported=no
31226 fi
31227 if test $_pkg_short_errors_supported = yes; then
31228 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31229 else
31230 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31231 fi
31232 # Put the nasty error message in config.log where it belongs
31233 echo "$PANGOX_PKG_ERRORS" >&5
31234
31235
31236 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31237 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31238 { (exit 1); exit 1; }; }
31239
31240
31241 elif test $pkg_failed = untried; then
31242
31243 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31244 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31245 { (exit 1); exit 1; }; }
31246
31247
31248 else
31249 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31250 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31251 { echo "$as_me:$LINENO: result: yes" >&5
31252 echo "${ECHO_T}yes" >&6; }
31253
31254 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31255 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31256 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31257
31258 fi
31259
31260 pkg_failed=no
31261 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31262 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31263
31264 if test -n "$PKG_CONFIG"; then
31265 if test -n "$PANGOFT2_CFLAGS"; then
31266 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31267 else
31268 if test -n "$PKG_CONFIG" && \
31269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31270 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31271 ac_status=$?
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; then
31274 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31275 else
31276 pkg_failed=yes
31277 fi
31278 fi
31279 else
31280 pkg_failed=untried
31281 fi
31282 if test -n "$PKG_CONFIG"; then
31283 if test -n "$PANGOFT2_LIBS"; then
31284 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31285 else
31286 if test -n "$PKG_CONFIG" && \
31287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31288 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31289 ac_status=$?
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; then
31292 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31293 else
31294 pkg_failed=yes
31295 fi
31296 fi
31297 else
31298 pkg_failed=untried
31299 fi
31300
31301
31302
31303 if test $pkg_failed = yes; then
31304
31305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31306 _pkg_short_errors_supported=yes
31307 else
31308 _pkg_short_errors_supported=no
31309 fi
31310 if test $_pkg_short_errors_supported = yes; then
31311 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31312 else
31313 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31314 fi
31315 # Put the nasty error message in config.log where it belongs
31316 echo "$PANGOFT2_PKG_ERRORS" >&5
31317
31318
31319 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31320 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31321 wxUSE_PRINTING_ARCHITECTURE="no"
31322
31323
31324 elif test $pkg_failed = untried; then
31325
31326 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31327 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31328 wxUSE_PRINTING_ARCHITECTURE="no"
31329
31330
31331 else
31332 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31333 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31334 { echo "$as_me:$LINENO: result: yes" >&5
31335 echo "${ECHO_T}yes" >&6; }
31336
31337 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31338 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31339 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31340
31341 fi
31342
31343 pkg_failed=no
31344 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31345 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31346
31347 if test -n "$PKG_CONFIG"; then
31348 if test -n "$PANGOXFT_CFLAGS"; then
31349 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31350 else
31351 if test -n "$PKG_CONFIG" && \
31352 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31353 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31354 ac_status=$?
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; then
31357 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31358 else
31359 pkg_failed=yes
31360 fi
31361 fi
31362 else
31363 pkg_failed=untried
31364 fi
31365 if test -n "$PKG_CONFIG"; then
31366 if test -n "$PANGOXFT_LIBS"; then
31367 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31368 else
31369 if test -n "$PKG_CONFIG" && \
31370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31371 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31372 ac_status=$?
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; then
31375 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31376 else
31377 pkg_failed=yes
31378 fi
31379 fi
31380 else
31381 pkg_failed=untried
31382 fi
31383
31384
31385
31386 if test $pkg_failed = yes; then
31387
31388 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31389 _pkg_short_errors_supported=yes
31390 else
31391 _pkg_short_errors_supported=no
31392 fi
31393 if test $_pkg_short_errors_supported = yes; then
31394 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31395 else
31396 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31397 fi
31398 # Put the nasty error message in config.log where it belongs
31399 echo "$PANGOXFT_PKG_ERRORS" >&5
31400
31401
31402 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31403 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31404
31405
31406 elif test $pkg_failed = untried; then
31407
31408 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31409 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31410
31411
31412 else
31413 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31414 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31415 { echo "$as_me:$LINENO: result: yes" >&5
31416 echo "${ECHO_T}yes" >&6; }
31417
31418 cat >>confdefs.h <<\_ACEOF
31419 #define HAVE_PANGO_XFT 1
31420 _ACEOF
31421
31422 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31423 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31425
31426 fi
31427 save_LIBS="$LIBS"
31428 LIBS="$LIBS $PANGOX_LIBS"
31429
31430 for ac_func in pango_font_family_is_monospace
31431 do
31432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31436 echo $ECHO_N "(cached) $ECHO_C" >&6
31437 else
31438 cat >conftest.$ac_ext <<_ACEOF
31439 /* confdefs.h. */
31440 _ACEOF
31441 cat confdefs.h >>conftest.$ac_ext
31442 cat >>conftest.$ac_ext <<_ACEOF
31443 /* end confdefs.h. */
31444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31446 #define $ac_func innocuous_$ac_func
31447
31448 /* System header to define __stub macros and hopefully few prototypes,
31449 which can conflict with char $ac_func (); below.
31450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451 <limits.h> exists even on freestanding compilers. */
31452
31453 #ifdef __STDC__
31454 # include <limits.h>
31455 #else
31456 # include <assert.h>
31457 #endif
31458
31459 #undef $ac_func
31460
31461 /* Override any GCC internal prototype to avoid an error.
31462 Use char because int might match the return type of a GCC
31463 builtin and then its argument prototype would still apply. */
31464 #ifdef __cplusplus
31465 extern "C"
31466 #endif
31467 char $ac_func ();
31468 /* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471 #if defined __stub_$ac_func || defined __stub___$ac_func
31472 choke me
31473 #endif
31474
31475 int
31476 main ()
31477 {
31478 return $ac_func ();
31479 ;
31480 return 0;
31481 }
31482 _ACEOF
31483 rm -f conftest.$ac_objext conftest$ac_exeext
31484 if { (ac_try="$ac_link"
31485 case "(($ac_try" in
31486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31487 *) ac_try_echo=$ac_try;;
31488 esac
31489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31490 (eval "$ac_link") 2>conftest.er1
31491 ac_status=$?
31492 grep -v '^ *+' conftest.er1 >conftest.err
31493 rm -f conftest.er1
31494 cat conftest.err >&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); } && {
31497 test -z "$ac_c_werror_flag" ||
31498 test ! -s conftest.err
31499 } && test -s conftest$ac_exeext &&
31500 $as_test_x conftest$ac_exeext; then
31501 eval "$as_ac_var=yes"
31502 else
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506 eval "$as_ac_var=no"
31507 fi
31508
31509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31510 conftest$ac_exeext conftest.$ac_ext
31511 fi
31512 ac_res=`eval echo '${'$as_ac_var'}'`
31513 { echo "$as_me:$LINENO: result: $ac_res" >&5
31514 echo "${ECHO_T}$ac_res" >&6; }
31515 if test `eval echo '${'$as_ac_var'}'` = yes; then
31516 cat >>confdefs.h <<_ACEOF
31517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523 LIBS="$save_LIBS"
31524 fi
31525
31526 wxUSE_UNIVERSAL="yes"
31527
31528 if test "$wxUSE_NANOX" = "yes"; then
31529 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31530 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"
31531 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31532 else
31533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31534 fi
31535
31536 TOOLKIT=X11
31537 GUIDIST=X11_DIST
31538 fi
31539
31540 if test "$wxUSE_MOTIF" = 1; then
31541 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31542 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31543
31544 ac_find_includes=
31545 for ac_dir in $SEARCH_INCLUDE /usr/include;
31546 do
31547 if test -f "$ac_dir/Xm/Xm.h"; then
31548 ac_find_includes=$ac_dir
31549 break
31550 fi
31551 done
31552
31553 if test "$ac_find_includes" != "" ; then
31554 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31555 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31556
31557 if test "x$ac_find_includes" = "x/usr/include"; then
31558 ac_path_to_include=""
31559 else
31560 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31561 result=$?
31562 if test $result = 0; then
31563 ac_path_to_include=""
31564 else
31565 ac_path_to_include=" -I$ac_find_includes"
31566 fi
31567 fi
31568
31569 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31570 else
31571 save_CFLAGS=$CFLAGS
31572 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31573
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580
31581 #include <Xm/Xm.h>
31582
31583 int
31584 main ()
31585 {
31586
31587 int version;
31588 version = xmUseVersion;
31589
31590 ;
31591 return 0;
31592 }
31593 _ACEOF
31594 rm -f conftest.$ac_objext
31595 if { (ac_try="$ac_compile"
31596 case "(($ac_try" in
31597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31598 *) ac_try_echo=$ac_try;;
31599 esac
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_compile") 2>conftest.er1
31602 ac_status=$?
31603 grep -v '^ *+' conftest.er1 >conftest.err
31604 rm -f conftest.er1
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } && {
31608 test -z "$ac_c_werror_flag" ||
31609 test ! -s conftest.err
31610 } && test -s conftest.$ac_objext; then
31611
31612 { echo "$as_me:$LINENO: result: found in default search path" >&5
31613 echo "${ECHO_T}found in default search path" >&6; }
31614 COMPILED_X_PROGRAM=1
31615
31616 else
31617 echo "$as_me: failed program was:" >&5
31618 sed 's/^/| /' conftest.$ac_ext >&5
31619
31620
31621 { echo "$as_me:$LINENO: result: no" >&5
31622 echo "${ECHO_T}no" >&6; }
31623 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31624 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31625 { (exit 1); exit 1; }; }
31626
31627
31628 fi
31629
31630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31631
31632 CFLAGS=$save_CFLAGS
31633 fi
31634
31635
31636 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31637 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31638
31639 ac_find_libraries=
31640 for ac_dir in $SEARCH_LIB;
31641 do
31642 for ac_extension in a so sl dylib dll.a; do
31643 if test -f "$ac_dir/libXm.$ac_extension"; then
31644 ac_find_libraries=$ac_dir
31645 break 2
31646 fi
31647 done
31648 done
31649
31650
31651 if test "x$ac_find_libraries" != "x" ; then
31652 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31653 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31654
31655
31656 if test "$ac_find_libraries" = "default location"; then
31657 ac_path_to_link=""
31658 else
31659 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31660 result=$?
31661 if test $result = 0; then
31662 ac_path_to_link=""
31663 else
31664 ac_path_to_link=" -L$ac_find_libraries"
31665 fi
31666 fi
31667
31668 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31669 else
31670 save_CFLAGS=$CFLAGS
31671 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31672 save_LIBS="$LIBS"
31673 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31674
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681
31682 #include <Xm/Xm.h>
31683
31684 int
31685 main ()
31686 {
31687
31688 int version;
31689 version = xmUseVersion;
31690
31691 ;
31692 return 0;
31693 }
31694 _ACEOF
31695 rm -f conftest.$ac_objext conftest$ac_exeext
31696 if { (ac_try="$ac_link"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31700 esac
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_link") 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest$ac_exeext &&
31712 $as_test_x conftest$ac_exeext; then
31713
31714 { echo "$as_me:$LINENO: result: found in default search path" >&5
31715 echo "${ECHO_T}found in default search path" >&6; }
31716 COMPILED_X_PROGRAM=1
31717
31718 else
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31721
31722
31723 { echo "$as_me:$LINENO: result: no" >&5
31724 echo "${ECHO_T}no" >&6; }
31725 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31726 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31727 { (exit 1); exit 1; }; }
31728
31729
31730 fi
31731
31732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31733 conftest$ac_exeext conftest.$ac_ext
31734
31735 CFLAGS=$save_CFLAGS
31736 LIBS="$save_LIBS"
31737 fi
31738
31739 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31740 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31741 libp_link=""
31742 libsm_ice_link=""
31743 libs_found=0
31744 for libp in "" " -lXp"; do
31745 if test "$libs_found" = 0; then
31746 for libsm_ice in "" " -lSM -lICE"; do
31747 if test "$libs_found" = 0; then
31748 save_LIBS="$LIBS"
31749 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31750 save_CFLAGS=$CFLAGS
31751 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31752
31753 cat >conftest.$ac_ext <<_ACEOF
31754 /* confdefs.h. */
31755 _ACEOF
31756 cat confdefs.h >>conftest.$ac_ext
31757 cat >>conftest.$ac_ext <<_ACEOF
31758 /* end confdefs.h. */
31759
31760 #include <Xm/Xm.h>
31761 #include <Xm/List.h>
31762
31763 int
31764 main ()
31765 {
31766
31767 XmString string = NULL;
31768 Widget w = NULL;
31769 int position = 0;
31770 XmListAddItem(w, string, position);
31771
31772 ;
31773 return 0;
31774 }
31775 _ACEOF
31776 rm -f conftest.$ac_objext conftest$ac_exeext
31777 if { (ac_try="$ac_link"
31778 case "(($ac_try" in
31779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31780 *) ac_try_echo=$ac_try;;
31781 esac
31782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31783 (eval "$ac_link") 2>conftest.er1
31784 ac_status=$?
31785 grep -v '^ *+' conftest.er1 >conftest.err
31786 rm -f conftest.er1
31787 cat conftest.err >&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } && {
31790 test -z "$ac_c_werror_flag" ||
31791 test ! -s conftest.err
31792 } && test -s conftest$ac_exeext &&
31793 $as_test_x conftest$ac_exeext; then
31794
31795 libp_link="$libp"
31796 libsm_ice_link="$libsm_ice"
31797 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31798 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31799 libs_found=1
31800
31801 else
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.$ac_ext >&5
31804
31805
31806
31807 fi
31808
31809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31810 conftest$ac_exeext conftest.$ac_ext
31811
31812 LIBS="$save_LIBS"
31813 CFLAGS=$save_CFLAGS
31814 fi
31815 done
31816 fi
31817 done
31818
31819 if test "$libs_found" = 0; then
31820 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31821 echo "${ECHO_T}can't find the right libraries" >&6; }
31822 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31823 echo "$as_me: error: can't link a simple motif program" >&2;}
31824 { (exit 1); exit 1; }; }
31825 fi
31826
31827 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31828 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31829 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31831 else
31832 ac_check_lib_save_LIBS=$LIBS
31833 LIBS="-lSgm $LIBS"
31834 cat >conftest.$ac_ext <<_ACEOF
31835 /* confdefs.h. */
31836 _ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840
31841 /* Override any GCC internal prototype to avoid an error.
31842 Use char because int might match the return type of a GCC
31843 builtin and then its argument prototype would still apply. */
31844 #ifdef __cplusplus
31845 extern "C"
31846 #endif
31847 char SgCreateList ();
31848 int
31849 main ()
31850 {
31851 return SgCreateList ();
31852 ;
31853 return 0;
31854 }
31855 _ACEOF
31856 rm -f conftest.$ac_objext conftest$ac_exeext
31857 if { (ac_try="$ac_link"
31858 case "(($ac_try" in
31859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31860 *) ac_try_echo=$ac_try;;
31861 esac
31862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31863 (eval "$ac_link") 2>conftest.er1
31864 ac_status=$?
31865 grep -v '^ *+' conftest.er1 >conftest.err
31866 rm -f conftest.er1
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } && {
31870 test -z "$ac_c_werror_flag" ||
31871 test ! -s conftest.err
31872 } && test -s conftest$ac_exeext &&
31873 $as_test_x conftest$ac_exeext; then
31874 ac_cv_lib_Sgm_SgCreateList=yes
31875 else
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31878
31879 ac_cv_lib_Sgm_SgCreateList=no
31880 fi
31881
31882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31883 conftest$ac_exeext conftest.$ac_ext
31884 LIBS=$ac_check_lib_save_LIBS
31885 fi
31886 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31887 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31888 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31889 libsgm_link=" -lSgm"
31890 fi
31891
31892
31893 save_CFLAGS=$CFLAGS
31894 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31895
31896 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31897 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31898 if test "${wx_cv_lib_motif2+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31900 else
31901 cat >conftest.$ac_ext <<_ACEOF
31902 /* confdefs.h. */
31903 _ACEOF
31904 cat confdefs.h >>conftest.$ac_ext
31905 cat >>conftest.$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31907
31908 #include <Xm/Xm.h>
31909
31910 int
31911 main ()
31912 {
31913
31914 #if XmVersion < 2000
31915 Not Motif 2
31916 #endif
31917
31918 ;
31919 return 0;
31920 }
31921 _ACEOF
31922 rm -f conftest.$ac_objext
31923 if { (ac_try="$ac_compile"
31924 case "(($ac_try" in
31925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31926 *) ac_try_echo=$ac_try;;
31927 esac
31928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31929 (eval "$ac_compile") 2>conftest.er1
31930 ac_status=$?
31931 grep -v '^ *+' conftest.er1 >conftest.err
31932 rm -f conftest.er1
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } && {
31936 test -z "$ac_c_werror_flag" ||
31937 test ! -s conftest.err
31938 } && test -s conftest.$ac_objext; then
31939 wx_cv_lib_motif2="yes"
31940 else
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31943
31944 wx_cv_lib_motif2="no"
31945 fi
31946
31947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31948 fi
31949 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31950 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31951 if test "$wx_cv_lib_motif2" = "yes"; then
31952 cat >>confdefs.h <<\_ACEOF
31953 #define __WXMOTIF20__ 1
31954 _ACEOF
31955
31956 else
31957 cat >>confdefs.h <<\_ACEOF
31958 #define __WXMOTIF20__ 0
31959 _ACEOF
31960
31961 fi
31962
31963 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31964 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31965 if test "${wx_cv_lib_lesstif+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 else
31968 cat >conftest.$ac_ext <<_ACEOF
31969 /* confdefs.h. */
31970 _ACEOF
31971 cat confdefs.h >>conftest.$ac_ext
31972 cat >>conftest.$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31974
31975 #include <Xm/Xm.h>
31976
31977 int
31978 main ()
31979 {
31980
31981 #if !defined(LesstifVersion) || LesstifVersion <= 0
31982 Not Lesstif
31983 #endif
31984
31985 ;
31986 return 0;
31987 }
31988 _ACEOF
31989 rm -f conftest.$ac_objext
31990 if { (ac_try="$ac_compile"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31993 *) ac_try_echo=$ac_try;;
31994 esac
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_compile") 2>conftest.er1
31997 ac_status=$?
31998 grep -v '^ *+' conftest.er1 >conftest.err
31999 rm -f conftest.er1
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest.$ac_objext; then
32006 wx_cv_lib_lesstif="yes"
32007 else
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32010
32011 wx_cv_lib_lesstif="no"
32012 fi
32013
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32015
32016 fi
32017 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32018 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32019 if test "$wx_cv_lib_lesstif" = "yes"; then
32020 cat >>confdefs.h <<\_ACEOF
32021 #define __WXLESSTIF__ 1
32022 _ACEOF
32023
32024 else
32025 cat >>confdefs.h <<\_ACEOF
32026 #define __WXLESSTIF__ 0
32027 _ACEOF
32028
32029 fi
32030
32031 CFLAGS=$save_CFLAGS
32032
32033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32034 TOOLKIT=MOTIF
32035 GUIDIST=MOTIF_DIST
32036 fi
32037
32038 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32039 if test "$wxUSE_LIBXPM" = "sys"; then
32040 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32041 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32042
32043 ac_find_libraries=
32044 for ac_dir in $SEARCH_LIB;
32045 do
32046 for ac_extension in a so sl dylib dll.a; do
32047 if test -f "$ac_dir/libXpm.$ac_extension"; then
32048 ac_find_libraries=$ac_dir
32049 break 2
32050 fi
32051 done
32052 done
32053
32054 if test "$ac_find_libraries" != "" ; then
32055
32056 if test "$ac_find_libraries" = "default location"; then
32057 ac_path_to_link=""
32058 else
32059 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32060 result=$?
32061 if test $result = 0; then
32062 ac_path_to_link=""
32063 else
32064 ac_path_to_link=" -L$ac_find_libraries"
32065 fi
32066 fi
32067
32068 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32069 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32070 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32071
32072 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32073 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32074 if test "${wx_cv_x11_xpm_h+set}" = set; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077
32078 save_CFLAGS=$CFLAGS
32079 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32080
32081 cat >conftest.$ac_ext <<_ACEOF
32082 /* confdefs.h. */
32083 _ACEOF
32084 cat confdefs.h >>conftest.$ac_ext
32085 cat >>conftest.$ac_ext <<_ACEOF
32086 /* end confdefs.h. */
32087
32088 #include <X11/xpm.h>
32089
32090 int
32091 main ()
32092 {
32093
32094 int version;
32095 version = XpmLibraryVersion();
32096
32097 ;
32098 return 0;
32099 }
32100 _ACEOF
32101 rm -f conftest.$ac_objext
32102 if { (ac_try="$ac_compile"
32103 case "(($ac_try" in
32104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32105 *) ac_try_echo=$ac_try;;
32106 esac
32107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32108 (eval "$ac_compile") 2>conftest.er1
32109 ac_status=$?
32110 grep -v '^ *+' conftest.er1 >conftest.err
32111 rm -f conftest.er1
32112 cat conftest.err >&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } && {
32115 test -z "$ac_c_werror_flag" ||
32116 test ! -s conftest.err
32117 } && test -s conftest.$ac_objext; then
32118 wx_cv_x11_xpm_h=yes
32119 else
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.$ac_ext >&5
32122
32123 wx_cv_x11_xpm_h=no
32124
32125 fi
32126
32127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32128
32129 CFLAGS=$save_CFLAGS
32130
32131
32132 fi
32133 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32134 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32135
32136 if test $wx_cv_x11_xpm_h = "yes"; then
32137 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32138 cat >>confdefs.h <<\_ACEOF
32139 #define wxHAVE_LIB_XPM 1
32140 _ACEOF
32141
32142 else
32143 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32144 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32145 fi
32146 fi
32147
32148 fi
32149
32150 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32151 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32152 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32155 ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32157 cat >conftest.$ac_ext <<_ACEOF
32158 /* confdefs.h. */
32159 _ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163
32164 /* Override any GCC internal prototype to avoid an error.
32165 Use char because int might match the return type of a GCC
32166 builtin and then its argument prototype would still apply. */
32167 #ifdef __cplusplus
32168 extern "C"
32169 #endif
32170 char XShapeQueryExtension ();
32171 int
32172 main ()
32173 {
32174 return XShapeQueryExtension ();
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (ac_try="$ac_link"
32181 case "(($ac_try" in
32182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32183 *) ac_try_echo=$ac_try;;
32184 esac
32185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32186 (eval "$ac_link") 2>conftest.er1
32187 ac_status=$?
32188 grep -v '^ *+' conftest.er1 >conftest.err
32189 rm -f conftest.er1
32190 cat conftest.err >&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } && {
32193 test -z "$ac_c_werror_flag" ||
32194 test ! -s conftest.err
32195 } && test -s conftest$ac_exeext &&
32196 $as_test_x conftest$ac_exeext; then
32197 ac_cv_lib_Xext_XShapeQueryExtension=yes
32198 else
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.$ac_ext >&5
32201
32202 ac_cv_lib_Xext_XShapeQueryExtension=no
32203 fi
32204
32205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32206 conftest$ac_exeext conftest.$ac_ext
32207 LIBS=$ac_check_lib_save_LIBS
32208 fi
32209 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32210 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32211 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32212
32213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32214 wxHAVE_XEXT_LIB=1
32215
32216 fi
32217
32218
32219 if test "$wxHAVE_XEXT_LIB" = 1; then
32220 save_CFLAGS="$CFLAGS"
32221 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32222
32223 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32224 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32225 cat >conftest.$ac_ext <<_ACEOF
32226 /* confdefs.h. */
32227 _ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32231
32232 #include <X11/Xlib.h>
32233 #include <X11/extensions/shape.h>
32234
32235 int
32236 main ()
32237 {
32238
32239 int dummy1, dummy2;
32240 XShapeQueryExtension((Display*)NULL,
32241 (int*)NULL, (int*)NULL);
32242
32243 ;
32244 return 0;
32245 }
32246 _ACEOF
32247 rm -f conftest.$ac_objext
32248 if { (ac_try="$ac_compile"
32249 case "(($ac_try" in
32250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32251 *) ac_try_echo=$ac_try;;
32252 esac
32253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32254 (eval "$ac_compile") 2>conftest.er1
32255 ac_status=$?
32256 grep -v '^ *+' conftest.er1 >conftest.err
32257 rm -f conftest.er1
32258 cat conftest.err >&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); } && {
32261 test -z "$ac_c_werror_flag" ||
32262 test ! -s conftest.err
32263 } && test -s conftest.$ac_objext; then
32264
32265 cat >>confdefs.h <<\_ACEOF
32266 #define HAVE_XSHAPE 1
32267 _ACEOF
32268
32269 { echo "$as_me:$LINENO: result: found" >&5
32270 echo "${ECHO_T}found" >&6; }
32271
32272 else
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.$ac_ext >&5
32275
32276
32277 { echo "$as_me:$LINENO: result: not found" >&5
32278 echo "${ECHO_T}not found" >&6; }
32279
32280 fi
32281
32282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32283 CFLAGS="$save_CFLAGS"
32284
32285 fi
32286 fi
32287
32288 if test "$wxUSE_OSX_CARBON" = 1; then
32289 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32290 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32291 if test "$GCC" = yes; then
32292 { echo "$as_me:$LINENO: result: gcc" >&5
32293 echo "${ECHO_T}gcc" >&6; }
32294 CPPFLAGS_PASCAL="-fpascal-strings"
32295 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32296 { echo "$as_me:$LINENO: result: xlc" >&5
32297 echo "${ECHO_T}xlc" >&6; }
32298 CPPFLAGS_PASCAL="-qmacpstr"
32299 else
32300 { echo "$as_me:$LINENO: result: none" >&5
32301 echo "${ECHO_T}none" >&6; }
32302 fi
32303
32304 if test "x$wxUSE_UNIX" = "xyes"; then
32305 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32306 else
32307 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32308 fi
32309
32310 TOOLKIT=OSX_CARBON
32311 GUIDIST=OSX_CARBON_DIST
32312 WXBASEPORT="_carbon"
32313 fi
32314
32315 if test "$wxUSE_OSX_COCOA" = 1; then
32316 TOOLKIT=OSX_COCOA
32317 GUIDIST=OSX_COCOA_DIST
32318 fi
32319
32320 if test "$wxUSE_COCOA" = 1; then
32321 TOOLKIT=COCOA
32322 GUIDIST=COCOA_DIST
32323 fi
32324
32325 if test "$wxUSE_PM" = 1; then
32326 TOOLKIT=PM
32327 GUIDIST=PM_DIST
32328 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32329 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32330 if test "${wx_cv_spbcdata+set}" = set; then
32331 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 else
32333
32334 cat >conftest.$ac_ext <<_ACEOF
32335 /* confdefs.h. */
32336 _ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32340
32341 #define INCL_PM
32342 #include <os2.h>
32343
32344 int
32345 main ()
32346 {
32347
32348 SPBCDATA test;
32349
32350 ;
32351 return 0;
32352 }
32353 _ACEOF
32354 rm -f conftest.$ac_objext
32355 if { (ac_try="$ac_compile"
32356 case "(($ac_try" in
32357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32359 esac
32360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_compile") 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } && {
32368 test -z "$ac_c_werror_flag" ||
32369 test ! -s conftest.err
32370 } && test -s conftest.$ac_objext; then
32371 wx_cv_spbcdata=yes
32372 else
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32375
32376 wx_cv_spbcdata=no
32377
32378 fi
32379
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32381
32382
32383 fi
32384 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32385 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32386
32387 if test $wx_cv_spbcdata = "yes"; then
32388 cat >>confdefs.h <<\_ACEOF
32389 #define HAVE_SPBCDATA 1
32390 _ACEOF
32391
32392 fi
32393 fi
32394
32395 if test "$TOOLKIT" = "PM" ; then
32396 TOOLKIT_DIR="os2"
32397 else
32398 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32399 fi
32400
32401 if test "$wxUSE_UNIVERSAL" = "yes"; then
32402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32403 WIDGET_SET=univ
32404 fi
32405
32406 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32407 DISTDIR="wx\$(TOOLKIT)"
32408 else
32409 USE_GUI=0
32410
32411 TOOLKIT_DIR="base"
32412
32413 if test "$USE_WIN32" = 1 ; then
32414 TOOLKIT="MSW"
32415 fi
32416
32417 GUIDIST="BASE_DIST"
32418 DISTDIR="wxBase"
32419 fi
32420
32421
32422
32423 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32424 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32425 wxUSE_UNICODE_UTF8=yes
32426 elif test "$USE_OS2" = 1 ; then
32427 wxUSE_UNICODE_UTF8=yes
32428 else
32429 wxUSE_UNICODE_UTF8=no
32430 fi
32431 fi
32432
32433
32434 if test "$wxUSE_GUI" = "yes"; then
32435 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32436
32437 for ac_header in X11/Xlib.h
32438 do
32439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32443 echo $ECHO_N "(cached) $ECHO_C" >&6
32444 else
32445 cat >conftest.$ac_ext <<_ACEOF
32446 /* confdefs.h. */
32447 _ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32451
32452
32453 #include <$ac_header>
32454 _ACEOF
32455 rm -f conftest.$ac_objext
32456 if { (ac_try="$ac_compile"
32457 case "(($ac_try" in
32458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32460 esac
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_compile") 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest.$ac_objext; then
32472 eval "$as_ac_Header=yes"
32473 else
32474 echo "$as_me: failed program was:" >&5
32475 sed 's/^/| /' conftest.$ac_ext >&5
32476
32477 eval "$as_ac_Header=no"
32478 fi
32479
32480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32481 fi
32482 ac_res=`eval echo '${'$as_ac_Header'}'`
32483 { echo "$as_me:$LINENO: result: $ac_res" >&5
32484 echo "${ECHO_T}$ac_res" >&6; }
32485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32486 cat >>confdefs.h <<_ACEOF
32487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32488 _ACEOF
32489
32490 fi
32491
32492 done
32493
32494
32495 for ac_header in X11/XKBlib.h
32496 do
32497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32502 else
32503 cat >conftest.$ac_ext <<_ACEOF
32504 /* confdefs.h. */
32505 _ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509
32510 #if HAVE_X11_XLIB_H
32511 #include <X11/Xlib.h>
32512 #endif
32513
32514
32515 #include <$ac_header>
32516 _ACEOF
32517 rm -f conftest.$ac_objext
32518 if { (ac_try="$ac_compile"
32519 case "(($ac_try" in
32520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32521 *) ac_try_echo=$ac_try;;
32522 esac
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_compile") 2>conftest.er1
32525 ac_status=$?
32526 grep -v '^ *+' conftest.er1 >conftest.err
32527 rm -f conftest.er1
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest.$ac_objext; then
32534 eval "$as_ac_Header=yes"
32535 else
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.$ac_ext >&5
32538
32539 eval "$as_ac_Header=no"
32540 fi
32541
32542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32543 fi
32544 ac_res=`eval echo '${'$as_ac_Header'}'`
32545 { echo "$as_me:$LINENO: result: $ac_res" >&5
32546 echo "${ECHO_T}$ac_res" >&6; }
32547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32548 cat >>confdefs.h <<_ACEOF
32549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32550 _ACEOF
32551
32552 fi
32553
32554 done
32555
32556 fi
32557 fi
32558
32559
32560
32561 if test "$wxUSE_DISPLAY" = "yes"; then
32562 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32563 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32564 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32565
32566 ac_find_libraries=
32567 for ac_dir in $SEARCH_LIB;
32568 do
32569 for ac_extension in a so sl dylib dll.a; do
32570 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32571 ac_find_libraries=$ac_dir
32572 break 2
32573 fi
32574 done
32575 done
32576
32577 if test "$ac_find_libraries" != "" ; then
32578
32579 if test "$ac_find_libraries" = "default location"; then
32580 ac_path_to_link=""
32581 else
32582 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32583 result=$?
32584 if test $result = 0; then
32585 ac_path_to_link=""
32586 else
32587 ac_path_to_link=" -L$ac_find_libraries"
32588 fi
32589 fi
32590
32591 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32592 LDFLAGS="$LDFLAGS $ac_path_to_link"
32593 fi
32594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32595 { echo "$as_me:$LINENO: result: yes" >&5
32596 echo "${ECHO_T}yes" >&6; }
32597
32598 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32599 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32600
32601 ac_find_libraries=
32602 for ac_dir in $SEARCH_LIB;
32603 do
32604 for ac_extension in a so sl dylib dll.a; do
32605 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32606 ac_find_libraries=$ac_dir
32607 break 2
32608 fi
32609 done
32610 done
32611
32612 if test "$ac_find_libraries" != "" ; then
32613 { echo "$as_me:$LINENO: result: yes" >&5
32614 echo "${ECHO_T}yes" >&6; }
32615
32616 for ac_header in X11/extensions/xf86vmode.h
32617 do
32618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32623 else
32624 cat >conftest.$ac_ext <<_ACEOF
32625 /* confdefs.h. */
32626 _ACEOF
32627 cat confdefs.h >>conftest.$ac_ext
32628 cat >>conftest.$ac_ext <<_ACEOF
32629 /* end confdefs.h. */
32630
32631 #if HAVE_X11_XLIB_H
32632 #include <X11/Xlib.h>
32633 #endif
32634
32635
32636 #include <$ac_header>
32637 _ACEOF
32638 rm -f conftest.$ac_objext
32639 if { (ac_try="$ac_compile"
32640 case "(($ac_try" in
32641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32642 *) ac_try_echo=$ac_try;;
32643 esac
32644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32645 (eval "$ac_compile") 2>conftest.er1
32646 ac_status=$?
32647 grep -v '^ *+' conftest.er1 >conftest.err
32648 rm -f conftest.er1
32649 cat conftest.err >&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } && {
32652 test -z "$ac_c_werror_flag" ||
32653 test ! -s conftest.err
32654 } && test -s conftest.$ac_objext; then
32655 eval "$as_ac_Header=yes"
32656 else
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32659
32660 eval "$as_ac_Header=no"
32661 fi
32662
32663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32664 fi
32665 ac_res=`eval echo '${'$as_ac_Header'}'`
32666 { echo "$as_me:$LINENO: result: $ac_res" >&5
32667 echo "${ECHO_T}$ac_res" >&6; }
32668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32669 cat >>confdefs.h <<_ACEOF
32670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32671 _ACEOF
32672
32673 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32674
32675 fi
32676
32677 done
32678
32679 else
32680 { echo "$as_me:$LINENO: result: no" >&5
32681 echo "${ECHO_T}no" >&6; }
32682 fi
32683
32684 else
32685 { echo "$as_me:$LINENO: result: no" >&5
32686 echo "${ECHO_T}no" >&6; }
32687 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32688 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32689 wxUSE_DISPLAY="no"
32690 fi
32691 elif test "$wxUSE_MSW" = 1; then
32692 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32693 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32694 if test "${ac_cv_header_ddraw_h+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 else
32697 cat >conftest.$ac_ext <<_ACEOF
32698 /* confdefs.h. */
32699 _ACEOF
32700 cat confdefs.h >>conftest.$ac_ext
32701 cat >>conftest.$ac_ext <<_ACEOF
32702 /* end confdefs.h. */
32703 #include <windows.h>
32704
32705 #include <ddraw.h>
32706 _ACEOF
32707 rm -f conftest.$ac_objext
32708 if { (ac_try="$ac_compile"
32709 case "(($ac_try" in
32710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32711 *) ac_try_echo=$ac_try;;
32712 esac
32713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32714 (eval "$ac_compile") 2>conftest.er1
32715 ac_status=$?
32716 grep -v '^ *+' conftest.er1 >conftest.err
32717 rm -f conftest.er1
32718 cat conftest.err >&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } && {
32721 test -z "$ac_c_werror_flag" ||
32722 test ! -s conftest.err
32723 } && test -s conftest.$ac_objext; then
32724 ac_cv_header_ddraw_h=yes
32725 else
32726 echo "$as_me: failed program was:" >&5
32727 sed 's/^/| /' conftest.$ac_ext >&5
32728
32729 ac_cv_header_ddraw_h=no
32730 fi
32731
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733 fi
32734 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32735 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32736
32737
32738 fi
32739 fi
32740
32741 if test "$wxUSE_DETECT_SM" = "yes"; then
32742 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32743 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32744 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32745
32746 ac_find_libraries=
32747 for ac_dir in $SEARCH_LIB;
32748 do
32749 for ac_extension in a so sl dylib dll.a; do
32750 if test -f "$ac_dir/libSM.$ac_extension"; then
32751 ac_find_libraries=$ac_dir
32752 break 2
32753 fi
32754 done
32755 done
32756
32757 if test "$ac_find_libraries" != "" ; then
32758
32759 if test "$ac_find_libraries" = "default location"; then
32760 ac_path_to_link=""
32761 else
32762 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32763 result=$?
32764 if test $result = 0; then
32765 ac_path_to_link=""
32766 else
32767 ac_path_to_link=" -L$ac_find_libraries"
32768 fi
32769 fi
32770
32771 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32772 LDFLAGS="$LDFLAGS $ac_path_to_link"
32773 fi
32774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32775 { echo "$as_me:$LINENO: result: yes" >&5
32776 echo "${ECHO_T}yes" >&6; }
32777 else
32778 { echo "$as_me:$LINENO: result: no" >&5
32779 echo "${ECHO_T}no" >&6; }
32780 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32781 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32782 wxUSE_DETECT_SM="no"
32783 fi
32784 else
32785 wxUSE_DETECT_SM="no"
32786 fi
32787 fi
32788
32789
32790
32791 USE_OPENGL=0
32792 if test "$wxUSE_OPENGL" = "yes"; then
32793 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32794 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32795 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32796 wxUSE_OPENGL="no"
32797 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
32798 OPENGL_LIBS="-framework OpenGL -framework AGL"
32799 elif test "$wxUSE_MSW" = 1; then
32800 OPENGL_LIBS="-lopengl32 -lglu32"
32801 else
32802 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32803 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32804
32805 ac_find_includes=
32806 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32807 do
32808 if test -f "$ac_dir/GL/gl.h"; then
32809 ac_find_includes=$ac_dir
32810 break
32811 fi
32812 done
32813
32814 if test "$ac_find_includes" != "" ; then
32815 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32816 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32817
32818 if test "x$ac_find_includes" = "x/usr/include"; then
32819 ac_path_to_include=""
32820 else
32821 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32822 result=$?
32823 if test $result = 0; then
32824 ac_path_to_include=""
32825 else
32826 ac_path_to_include=" -I$ac_find_includes"
32827 fi
32828 fi
32829
32830 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32831 else
32832 { echo "$as_me:$LINENO: result: not found" >&5
32833 echo "${ECHO_T}not found" >&6; }
32834 fi
32835
32836 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32837 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32838 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32840 else
32841 cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h. */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847
32848
32849 #include <GL/gl.h>
32850 _ACEOF
32851 rm -f conftest.$ac_objext
32852 if { (ac_try="$ac_compile"
32853 case "(($ac_try" in
32854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32855 *) ac_try_echo=$ac_try;;
32856 esac
32857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32858 (eval "$ac_compile") 2>conftest.er1
32859 ac_status=$?
32860 grep -v '^ *+' conftest.er1 >conftest.err
32861 rm -f conftest.er1
32862 cat conftest.err >&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } && {
32865 test -z "$ac_c_werror_flag" ||
32866 test ! -s conftest.err
32867 } && test -s conftest.$ac_objext; then
32868 ac_cv_header_GL_gl_h=yes
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 ac_cv_header_GL_gl_h=no
32874 fi
32875
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 fi
32878 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32879 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32880 if test $ac_cv_header_GL_gl_h = yes; then
32881
32882 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32883 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32884 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32885 echo $ECHO_N "(cached) $ECHO_C" >&6
32886 else
32887 cat >conftest.$ac_ext <<_ACEOF
32888 /* confdefs.h. */
32889 _ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893
32894
32895 #include <GL/glu.h>
32896 _ACEOF
32897 rm -f conftest.$ac_objext
32898 if { (ac_try="$ac_compile"
32899 case "(($ac_try" in
32900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32901 *) ac_try_echo=$ac_try;;
32902 esac
32903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32904 (eval "$ac_compile") 2>conftest.er1
32905 ac_status=$?
32906 grep -v '^ *+' conftest.er1 >conftest.err
32907 rm -f conftest.er1
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } && {
32911 test -z "$ac_c_werror_flag" ||
32912 test ! -s conftest.err
32913 } && test -s conftest.$ac_objext; then
32914 ac_cv_header_GL_glu_h=yes
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32918
32919 ac_cv_header_GL_glu_h=no
32920 fi
32921
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 fi
32924 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32925 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32926 if test $ac_cv_header_GL_glu_h = yes; then
32927
32928 found_gl=0
32929
32930 { echo "$as_me:$LINENO: checking for -lGL" >&5
32931 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32932
32933 ac_find_libraries=
32934 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32935 do
32936 for ac_extension in a so sl dylib dll.a; do
32937 if test -f "$ac_dir/libGL.$ac_extension"; then
32938 ac_find_libraries=$ac_dir
32939 break 2
32940 fi
32941 done
32942 done
32943
32944 if test "$ac_find_libraries" != "" ; then
32945 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32946 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32947
32948
32949 if test "$ac_find_libraries" = "default location"; then
32950 ac_path_to_link=""
32951 else
32952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32953 result=$?
32954 if test $result = 0; then
32955 ac_path_to_link=""
32956 else
32957 ac_path_to_link=" -L$ac_find_libraries"
32958 fi
32959 fi
32960
32961 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32962 LDFLAGS_GL="$ac_path_to_link"
32963 fi
32964
32965 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32966 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32967
32968 ac_find_libraries=
32969 for ac_dir in $SEARCH_LIB;
32970 do
32971 for ac_extension in a so sl dylib dll.a; do
32972 if test -f "$ac_dir/libGLU.$ac_extension"; then
32973 ac_find_libraries=$ac_dir
32974 break 2
32975 fi
32976 done
32977 done
32978
32979 if test "$ac_find_libraries" != "" ; then
32980
32981 if test "$ac_find_libraries" = "default location"; then
32982 ac_path_to_link=""
32983 else
32984 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32985 result=$?
32986 if test $result = 0; then
32987 ac_path_to_link=""
32988 else
32989 ac_path_to_link=" -L$ac_find_libraries"
32990 fi
32991 fi
32992
32993 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32994 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32995 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32996 fi
32997
32998 found_gl=1
32999 OPENGL_LIBS="-lGL -lGLU"
33000 { echo "$as_me:$LINENO: result: yes" >&5
33001 echo "${ECHO_T}yes" >&6; }
33002 else
33003 { echo "$as_me:$LINENO: result: no" >&5
33004 echo "${ECHO_T}no" >&6; }
33005 fi
33006 else
33007 { echo "$as_me:$LINENO: result: no" >&5
33008 echo "${ECHO_T}no" >&6; }
33009 fi
33010
33011 if test "$found_gl" != 1; then
33012 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33013 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33014
33015 ac_find_libraries=
33016 for ac_dir in $SEARCH_LIB;
33017 do
33018 for ac_extension in a so sl dylib dll.a; do
33019 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33020 ac_find_libraries=$ac_dir
33021 break 2
33022 fi
33023 done
33024 done
33025
33026 if test "$ac_find_libraries" != "" ; then
33027
33028 if test "$ac_find_libraries" = "default location"; then
33029 ac_path_to_link=""
33030 else
33031 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33032 result=$?
33033 if test $result = 0; then
33034 ac_path_to_link=""
33035 else
33036 ac_path_to_link=" -L$ac_find_libraries"
33037 fi
33038 fi
33039
33040 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33041 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33042 { echo "$as_me:$LINENO: result: yes" >&5
33043 echo "${ECHO_T}yes" >&6; }
33044 else
33045 { echo "$as_me:$LINENO: result: no" >&5
33046 echo "${ECHO_T}no" >&6; }
33047 fi
33048 fi
33049
33050 fi
33051
33052
33053
33054 fi
33055
33056
33057
33058 if test "x$OPENGL_LIBS" = "x"; then
33059 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33060 echo "$as_me: error: OpenGL libraries not available" >&2;}
33061 { (exit 1); exit 1; }; }
33062 fi
33063 fi
33064
33065 if test "$wxUSE_OPENGL" = "yes"; then
33066 USE_OPENGL=1
33067 cat >>confdefs.h <<\_ACEOF
33068 #define wxUSE_OPENGL 1
33069 _ACEOF
33070
33071 cat >>confdefs.h <<\_ACEOF
33072 #define wxUSE_GLCANVAS 1
33073 _ACEOF
33074
33075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33076 fi
33077 fi
33078
33079
33080 if test -n "$TOOLKIT" ; then
33081 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33082 fi
33083
33084
33085
33086 if test "$wxUSE_SHARED" = "yes"; then
33087 case "${host}" in
33088 *-pc-msdosdjgpp )
33089 wxUSE_SHARED=no
33090 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33091 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33092 ;;
33093 esac
33094 fi
33095
33096 if test "$wxUSE_SHARED" = "yes"; then
33097
33098
33099 case "${host}" in
33100 *-*-cygwin* | *-*-mingw* )
33101 wx_cv_version_script=no
33102 ;;
33103
33104 *)
33105 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33106 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33107 if test "${wx_cv_version_script+set}" = set; then
33108 echo $ECHO_N "(cached) $ECHO_C" >&6
33109 else
33110
33111 echo "VER_1 { *; };" >conftest.sym
33112 echo "int main() { return 0; }" >conftest.cpp
33113
33114 if { ac_try='
33115 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33116 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33118 (eval $ac_try) 2>&5
33119 ac_status=$?
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); }; } ; then
33122 if test -s conftest.stderr ; then
33123 wx_cv_version_script=no
33124 else
33125 wx_cv_version_script=yes
33126 fi
33127 else
33128 wx_cv_version_script=no
33129 fi
33130
33131 if test $wx_cv_version_script = yes
33132 then
33133 echo "struct B { virtual ~B() { } }; \
33134 struct D : public B { }; \
33135 void F() { D d; }" > conftest.cpp
33136
33137 if { ac_try='
33138 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33139 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141 (eval $ac_try) 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; } &&
33145 { ac_try='
33146 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33147 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33150 ac_status=$?
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }
33153 then
33154 if { ac_try='
33155 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33156 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33159 ac_status=$?
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; }
33162 then
33163 wx_cv_version_script=yes
33164 else
33165 wx_cv_version_script=no
33166 fi
33167 fi
33168 fi
33169
33170 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33171 rm -f conftest1.output conftest2.output conftest3.output
33172
33173 fi
33174 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33175 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33176
33177 if test $wx_cv_version_script = yes ; then
33178 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33179 fi
33180 ;;
33181 esac
33182
33183
33184 if test "$wxUSE_VISIBILITY" != "no"; then
33185
33186
33187 if test -n "$GCC"; then
33188 CFLAGS_VISIBILITY="-fvisibility=hidden"
33189 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33190 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33191 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33192 if test "${wx_cv_cc_visibility+set}" = set; then
33193 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 else
33195
33196 wx_save_CXXFLAGS="$CXXFLAGS"
33197 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33198 ac_ext=cpp
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203
33204 cat >conftest.$ac_ext <<_ACEOF
33205 /* confdefs.h. */
33206 _ACEOF
33207 cat confdefs.h >>conftest.$ac_ext
33208 cat >>conftest.$ac_ext <<_ACEOF
33209 /* end confdefs.h. */
33210
33211 /* we need gcc >= 4.0, older versions with visibility support
33212 didn't have class visibility: */
33213 #if defined(__GNUC__) && __GNUC__ < 4
33214 error this gcc is too old;
33215 #endif
33216
33217 /* visibility only makes sense for ELF shared libs: */
33218 #if !defined(__ELF__) && !defined(__APPLE__)
33219 error this platform has no visibility;
33220 #endif
33221
33222 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33223 extern __attribute__((__visibility__("default"))) int exportedvar;
33224 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33225 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33226 class __attribute__((__visibility__("default"))) Foo {
33227 Foo() {}
33228 };
33229
33230 int
33231 main ()
33232 {
33233
33234 ;
33235 return 0;
33236 }
33237 _ACEOF
33238 rm -f conftest.$ac_objext
33239 if { (ac_try="$ac_compile"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33242 *) ac_try_echo=$ac_try;;
33243 esac
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_compile") 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_cxx_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest.$ac_objext; then
33255 wx_cv_cc_visibility=yes
33256 else
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.$ac_ext >&5
33259
33260 wx_cv_cc_visibility=no
33261 fi
33262
33263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33264 ac_ext=c
33265 ac_cpp='$CPP $CPPFLAGS'
33266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269
33270 CXXFLAGS="$wx_save_CXXFLAGS"
33271 fi
33272
33273 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33274 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33275 if test $wx_cv_cc_visibility = yes; then
33276 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33277 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33278 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33280 else
33281
33282 wx_save_CXXFLAGS="$CXXFLAGS"
33283 wx_save_LDFLAGS="$LDFLAGS"
33284 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33285 LDFLAGS="$LDFLAGS -shared -fPIC"
33286 ac_ext=cpp
33287 ac_cpp='$CXXCPP $CPPFLAGS'
33288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33291
33292 cat >conftest.$ac_ext <<_ACEOF
33293 /* confdefs.h. */
33294 _ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298
33299 #include <string>
33300
33301 int
33302 main ()
33303 {
33304
33305 std::string s("hello");
33306 return s.length();
33307
33308 ;
33309 return 0;
33310 }
33311 _ACEOF
33312 rm -f conftest.$ac_objext conftest$ac_exeext
33313 if { (ac_try="$ac_link"
33314 case "(($ac_try" in
33315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33316 *) ac_try_echo=$ac_try;;
33317 esac
33318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33319 (eval "$ac_link") 2>conftest.er1
33320 ac_status=$?
33321 grep -v '^ *+' conftest.er1 >conftest.err
33322 rm -f conftest.er1
33323 cat conftest.err >&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } && {
33326 test -z "$ac_cxx_werror_flag" ||
33327 test ! -s conftest.err
33328 } && test -s conftest$ac_exeext &&
33329 $as_test_x conftest$ac_exeext; then
33330 wx_cv_cc_broken_libstdcxx_visibility=no
33331 else
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33334
33335 wx_cv_cc_broken_libstdcxx_visibility=yes
33336 fi
33337
33338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33339 conftest$ac_exeext conftest.$ac_ext
33340 ac_ext=c
33341 ac_cpp='$CPP $CPPFLAGS'
33342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33345
33346 CXXFLAGS="$wx_save_CXXFLAGS"
33347 LDFLAGS="$wx_save_LDFLAGS"
33348 fi
33349
33350 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33351 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33352
33353 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33354 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33355 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33356 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33357 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 else
33359
33360 ac_ext=cpp
33361 ac_cpp='$CXXCPP $CPPFLAGS'
33362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33365
33366 cat >conftest.$ac_ext <<_ACEOF
33367 /* confdefs.h. */
33368 _ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33372
33373 #pragma GCC visibility push(default)
33374 #include <string>
33375 #pragma GCC visibility pop
33376
33377 int
33378 main ()
33379 {
33380
33381 std::string s("hello");
33382 return s.length();
33383
33384 ;
33385 return 0;
33386 }
33387 _ACEOF
33388 rm -f conftest.$ac_objext conftest$ac_exeext
33389 if { (ac_try="$ac_link"
33390 case "(($ac_try" in
33391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33392 *) ac_try_echo=$ac_try;;
33393 esac
33394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33395 (eval "$ac_link") 2>conftest.er1
33396 ac_status=$?
33397 grep -v '^ *+' conftest.er1 >conftest.err
33398 rm -f conftest.er1
33399 cat conftest.err >&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } && {
33402 test -z "$ac_cxx_werror_flag" ||
33403 test ! -s conftest.err
33404 } && test -s conftest$ac_exeext &&
33405 $as_test_x conftest$ac_exeext; then
33406 wx_cv_cc_visibility_workaround=no
33407 else
33408 echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.$ac_ext >&5
33410
33411 wx_cv_cc_visibility_workaround=yes
33412 fi
33413
33414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33415 conftest$ac_exeext conftest.$ac_ext
33416 ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421
33422
33423 fi
33424
33425 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33426 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33427
33428 if test $wx_cv_cc_visibility_workaround = no; then
33429 wx_cv_cc_visibility=no
33430 fi
33431 fi
33432 fi
33433
33434 if test $wx_cv_cc_visibility = yes; then
33435 cat >>confdefs.h <<\_ACEOF
33436 #define HAVE_VISIBILITY 1
33437 _ACEOF
33438
33439 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33440 cat >>confdefs.h <<\_ACEOF
33441 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33442 _ACEOF
33443
33444 fi
33445 else
33446 CFLAGS_VISIBILITY=""
33447 CXXFLAGS_VISIBILITY=""
33448 fi
33449
33450
33451 fi
33452
33453 fi
33454
33455 if test "x$SUNCXX" = xyes; then
33456 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33457 WXCONFIG_RPATH="-R\$libdir"
33458 else
33459 case "${host}" in
33460 *-*-linux* | *-*-gnu* )
33461 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33462 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33463 ;;
33464
33465 *-*-solaris2* )
33466
33467 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33468
33469 saveLdflags="$LDFLAGS"
33470 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33471 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33472 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33473 cat >conftest.$ac_ext <<_ACEOF
33474 /* confdefs.h. */
33475 _ACEOF
33476 cat confdefs.h >>conftest.$ac_ext
33477 cat >>conftest.$ac_ext <<_ACEOF
33478 /* end confdefs.h. */
33479
33480 int
33481 main ()
33482 {
33483
33484 ;
33485 return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext conftest$ac_exeext
33489 if { (ac_try="$ac_link"
33490 case "(($ac_try" in
33491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33493 esac
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_link") 2>conftest.er1
33496 ac_status=$?
33497 grep -v '^ *+' conftest.er1 >conftest.err
33498 rm -f conftest.er1
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest$ac_exeext &&
33505 $as_test_x conftest$ac_exeext; then
33506
33507 { echo "$as_me:$LINENO: result: yes" >&5
33508 echo "${ECHO_T}yes" >&6; }
33509 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33510 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33511
33512 else
33513 echo "$as_me: failed program was:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33515
33516
33517 { echo "$as_me:$LINENO: result: no" >&5
33518 echo "${ECHO_T}no" >&6; }
33519 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33520 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33521 LDFLAGS="$saveLdflags -Wl,-R,/"
33522 cat >conftest.$ac_ext <<_ACEOF
33523 /* confdefs.h. */
33524 _ACEOF
33525 cat confdefs.h >>conftest.$ac_ext
33526 cat >>conftest.$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33528
33529 int
33530 main ()
33531 {
33532
33533 ;
33534 return 0;
33535 }
33536 _ACEOF
33537 rm -f conftest.$ac_objext conftest$ac_exeext
33538 if { (ac_try="$ac_link"
33539 case "(($ac_try" in
33540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33541 *) ac_try_echo=$ac_try;;
33542 esac
33543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33544 (eval "$ac_link") 2>conftest.er1
33545 ac_status=$?
33546 grep -v '^ *+' conftest.er1 >conftest.err
33547 rm -f conftest.er1
33548 cat conftest.err >&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); } && {
33551 test -z "$ac_c_werror_flag" ||
33552 test ! -s conftest.err
33553 } && test -s conftest$ac_exeext &&
33554 $as_test_x conftest$ac_exeext; then
33555
33556 { echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6; }
33558 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33559 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33560
33561 else
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33564
33565
33566 { echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6; }
33568
33569 fi
33570
33571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33572 conftest$ac_exeext conftest.$ac_ext
33573
33574 fi
33575
33576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33577 conftest$ac_exeext conftest.$ac_ext
33578 LDFLAGS="$saveLdflags"
33579 ;;
33580
33581 *-*-darwin* )
33582 install_name_tool=`which install_name_tool`
33583 if test "$install_name_tool" -a -x "$install_name_tool"; then
33584 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33585 cat <<EOF >change-install-names
33586 #!/bin/sh
33587 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33588 inst_cmd="install_name_tool "
33589 for i in \${libnames} ; do
33590 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33591 done
33592 \${inst_cmd} \${3}
33593 EOF
33594 chmod +x change-install-names
33595 fi
33596 ;;
33597
33598 *-*-cygwin* | *-*-mingw32* )
33599 ;;
33600
33601 *-*-hpux* )
33602 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33603 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33604 ;;
33605
33606 esac
33607 fi
33608
33609 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33610
33611 if test $wxUSE_RPATH = "no"; then
33612 SAMPLES_RPATH_FLAG=''
33613 SAMPLES_RPATH_POSTLINK=''
33614 WXCONFIG_RPATH=''
33615 fi
33616
33617 SHARED=1
33618
33619 else
33620
33621 config_linkage_component="-static"
33622 SHARED=0
33623
33624 fi
33625
33626
33627 UNICODE=0
33628 lib_unicode_suffix=
33629 WX_CHARTYPE="ansi"
33630 if test "$wxUSE_UNICODE" = "yes"; then
33631 lib_unicode_suffix=u
33632 WX_CHARTYPE="unicode"
33633 UNICODE=1
33634 fi
33635
33636 lib_debug_suffix=
33637 WX_DEBUGTYPE="release"
33638 DEBUG_FLAG=0
33639 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33640 lib_debug_suffix=d
33641 WX_DEBUGTYPE="debug"
33642 DEBUG_FLAG=1
33643 fi
33644
33645 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33646 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33647
33648 DEBUG_INFO=0
33649 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33650 DEBUG_INFO=1
33651 fi
33652
33653 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33654
33655 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33656
33657 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33658
33659 if test "$cross_compiling" = "yes"; then
33660 HOST_SUFFIX="-$host_alias"
33661 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33662 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33663 fi
33664
33665 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33666 if test "${TOOLKIT_DIR}" = "os2"; then
33667 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33668 else
33669 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33670 fi
33671
33672
33673
33674 if test "$wxUSE_COCOA" = 1; then
33675
33676 ac_ext=c
33677 ac_cpp='$CPP $CPPFLAGS'
33678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681
33682 ac_ext=m
33683
33684 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33685 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692 #include <AppKit/NSEvent.h>
33693 #include <CoreFoundation/CoreFoundation.h>
33694
33695 int
33696 main ()
33697 {
33698
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33708 esac
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720 { echo "$as_me:$LINENO: result: no" >&5
33721 echo "${ECHO_T}no" >&6; }
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33725
33726 { echo "$as_me:$LINENO: result: yes" >&5
33727 echo "${ECHO_T}yes" >&6; }
33728 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33729 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33730 cat >conftest.$ac_ext <<_ACEOF
33731 /* confdefs.h. */
33732 _ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 #define __Point__ 1
33737 #include <AppKit/NSEvent.h>
33738 #include <CoreFoundation/CoreFoundation.h>
33739
33740 int
33741 main ()
33742 {
33743
33744 ;
33745 return 0;
33746 }
33747 _ACEOF
33748 rm -f conftest.$ac_objext
33749 if { (ac_try="$ac_compile"
33750 case "(($ac_try" in
33751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33752 *) ac_try_echo=$ac_try;;
33753 esac
33754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33755 (eval "$ac_compile") 2>conftest.er1
33756 ac_status=$?
33757 grep -v '^ *+' conftest.er1 >conftest.err
33758 rm -f conftest.er1
33759 cat conftest.err >&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } && {
33762 test -z "$ac_c_werror_flag" ||
33763 test ! -s conftest.err
33764 } && test -s conftest.$ac_objext; then
33765 { echo "$as_me:$LINENO: result: yes" >&5
33766 echo "${ECHO_T}yes" >&6; }
33767 cat >>confdefs.h <<\_ACEOF
33768 #define __Point__ 1
33769 _ACEOF
33770
33771
33772 else
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.$ac_ext >&5
33775
33776 { { echo "$as_me:$LINENO: error: no
33777 See \`config.log' for more details." >&5
33778 echo "$as_me: error: no
33779 See \`config.log' for more details." >&2;}
33780 { (exit 1); exit 1; }; }
33781
33782 fi
33783
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33785
33786 fi
33787
33788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33789 ac_ext=c
33790 ac_cpp='$CPP $CPPFLAGS'
33791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33794
33795 fi
33796
33797
33798 { echo "$as_me:$LINENO: checking for mode_t" >&5
33799 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33800 if test "${ac_cv_type_mode_t+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33802 else
33803 cat >conftest.$ac_ext <<_ACEOF
33804 /* confdefs.h. */
33805 _ACEOF
33806 cat confdefs.h >>conftest.$ac_ext
33807 cat >>conftest.$ac_ext <<_ACEOF
33808 /* end confdefs.h. */
33809 $ac_includes_default
33810 typedef mode_t ac__type_new_;
33811 int
33812 main ()
33813 {
33814 if ((ac__type_new_ *) 0)
33815 return 0;
33816 if (sizeof (ac__type_new_))
33817 return 0;
33818 ;
33819 return 0;
33820 }
33821 _ACEOF
33822 rm -f conftest.$ac_objext
33823 if { (ac_try="$ac_compile"
33824 case "(($ac_try" in
33825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33826 *) ac_try_echo=$ac_try;;
33827 esac
33828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33829 (eval "$ac_compile") 2>conftest.er1
33830 ac_status=$?
33831 grep -v '^ *+' conftest.er1 >conftest.err
33832 rm -f conftest.er1
33833 cat conftest.err >&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); } && {
33836 test -z "$ac_c_werror_flag" ||
33837 test ! -s conftest.err
33838 } && test -s conftest.$ac_objext; then
33839 ac_cv_type_mode_t=yes
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33843
33844 ac_cv_type_mode_t=no
33845 fi
33846
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848 fi
33849 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33850 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33851 if test $ac_cv_type_mode_t = yes; then
33852 :
33853 else
33854
33855 cat >>confdefs.h <<_ACEOF
33856 #define mode_t int
33857 _ACEOF
33858
33859 fi
33860
33861 { echo "$as_me:$LINENO: checking for off_t" >&5
33862 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33863 if test "${ac_cv_type_off_t+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
33866 cat >conftest.$ac_ext <<_ACEOF
33867 /* confdefs.h. */
33868 _ACEOF
33869 cat confdefs.h >>conftest.$ac_ext
33870 cat >>conftest.$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33872 $ac_includes_default
33873 typedef off_t ac__type_new_;
33874 int
33875 main ()
33876 {
33877 if ((ac__type_new_ *) 0)
33878 return 0;
33879 if (sizeof (ac__type_new_))
33880 return 0;
33881 ;
33882 return 0;
33883 }
33884 _ACEOF
33885 rm -f conftest.$ac_objext
33886 if { (ac_try="$ac_compile"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33889 *) ac_try_echo=$ac_try;;
33890 esac
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_compile") 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest.$ac_objext; then
33902 ac_cv_type_off_t=yes
33903 else
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.$ac_ext >&5
33906
33907 ac_cv_type_off_t=no
33908 fi
33909
33910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33911 fi
33912 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33914 if test $ac_cv_type_off_t = yes; then
33915 :
33916 else
33917
33918 cat >>confdefs.h <<_ACEOF
33919 #define off_t long int
33920 _ACEOF
33921
33922 fi
33923
33924 { echo "$as_me:$LINENO: checking for pid_t" >&5
33925 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33926 if test "${ac_cv_type_pid_t+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929 cat >conftest.$ac_ext <<_ACEOF
33930 /* confdefs.h. */
33931 _ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 $ac_includes_default
33936 typedef pid_t ac__type_new_;
33937 int
33938 main ()
33939 {
33940 if ((ac__type_new_ *) 0)
33941 return 0;
33942 if (sizeof (ac__type_new_))
33943 return 0;
33944 ;
33945 return 0;
33946 }
33947 _ACEOF
33948 rm -f conftest.$ac_objext
33949 if { (ac_try="$ac_compile"
33950 case "(($ac_try" in
33951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33953 esac
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_compile") 2>conftest.er1
33956 ac_status=$?
33957 grep -v '^ *+' conftest.er1 >conftest.err
33958 rm -f conftest.er1
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest.$ac_objext; then
33965 ac_cv_type_pid_t=yes
33966 else
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33969
33970 ac_cv_type_pid_t=no
33971 fi
33972
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33974 fi
33975 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33976 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33977 if test $ac_cv_type_pid_t = yes; then
33978 :
33979 else
33980
33981 cat >>confdefs.h <<_ACEOF
33982 #define pid_t int
33983 _ACEOF
33984
33985 fi
33986
33987 { echo "$as_me:$LINENO: checking for size_t" >&5
33988 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33989 if test "${ac_cv_type_size_t+set}" = set; then
33990 echo $ECHO_N "(cached) $ECHO_C" >&6
33991 else
33992 cat >conftest.$ac_ext <<_ACEOF
33993 /* confdefs.h. */
33994 _ACEOF
33995 cat confdefs.h >>conftest.$ac_ext
33996 cat >>conftest.$ac_ext <<_ACEOF
33997 /* end confdefs.h. */
33998 $ac_includes_default
33999 typedef size_t ac__type_new_;
34000 int
34001 main ()
34002 {
34003 if ((ac__type_new_ *) 0)
34004 return 0;
34005 if (sizeof (ac__type_new_))
34006 return 0;
34007 ;
34008 return 0;
34009 }
34010 _ACEOF
34011 rm -f conftest.$ac_objext
34012 if { (ac_try="$ac_compile"
34013 case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34016 esac
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_compile") 2>conftest.er1
34019 ac_status=$?
34020 grep -v '^ *+' conftest.er1 >conftest.err
34021 rm -f conftest.er1
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } && {
34025 test -z "$ac_c_werror_flag" ||
34026 test ! -s conftest.err
34027 } && test -s conftest.$ac_objext; then
34028 ac_cv_type_size_t=yes
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033 ac_cv_type_size_t=no
34034 fi
34035
34036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34037 fi
34038 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34039 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34040 if test $ac_cv_type_size_t = yes; then
34041 :
34042 else
34043
34044 cat >>confdefs.h <<_ACEOF
34045 #define size_t unsigned int
34046 _ACEOF
34047
34048 fi
34049
34050
34051 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34052 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34053 if test "${ac_cv_type_ssize_t+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34056 cat >conftest.$ac_ext <<_ACEOF
34057 /* confdefs.h. */
34058 _ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062 $ac_includes_default
34063 typedef ssize_t ac__type_new_;
34064 int
34065 main ()
34066 {
34067 if ((ac__type_new_ *) 0)
34068 return 0;
34069 if (sizeof (ac__type_new_))
34070 return 0;
34071 ;
34072 return 0;
34073 }
34074 _ACEOF
34075 rm -f conftest.$ac_objext
34076 if { (ac_try="$ac_compile"
34077 case "(($ac_try" in
34078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34079 *) ac_try_echo=$ac_try;;
34080 esac
34081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34082 (eval "$ac_compile") 2>conftest.er1
34083 ac_status=$?
34084 grep -v '^ *+' conftest.er1 >conftest.err
34085 rm -f conftest.er1
34086 cat conftest.err >&5
34087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34088 (exit $ac_status); } && {
34089 test -z "$ac_c_werror_flag" ||
34090 test ! -s conftest.err
34091 } && test -s conftest.$ac_objext; then
34092 ac_cv_type_ssize_t=yes
34093 else
34094 echo "$as_me: failed program was:" >&5
34095 sed 's/^/| /' conftest.$ac_ext >&5
34096
34097 ac_cv_type_ssize_t=no
34098 fi
34099
34100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34101 fi
34102 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34103 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34104 if test $ac_cv_type_ssize_t = yes; then
34105
34106 cat >>confdefs.h <<_ACEOF
34107 #define HAVE_SSIZE_T 1
34108 _ACEOF
34109
34110
34111 fi
34112
34113
34114 ac_ext=cpp
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34120 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34121 if test "${wx_cv_size_t_is_uint+set}" = set; then
34122 echo $ECHO_N "(cached) $ECHO_C" >&6
34123 else
34124
34125 cat >conftest.$ac_ext <<_ACEOF
34126 /* confdefs.h. */
34127 _ACEOF
34128 cat confdefs.h >>conftest.$ac_ext
34129 cat >>conftest.$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 #include <stddef.h>
34132 int
34133 main ()
34134 {
34135
34136 return 0; }
34137
34138 struct Foo { void foo(size_t); void foo(unsigned int); };
34139
34140 int bar() {
34141
34142 ;
34143 return 0;
34144 }
34145 _ACEOF
34146 rm -f conftest.$ac_objext
34147 if { (ac_try="$ac_compile"
34148 case "(($ac_try" in
34149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34150 *) ac_try_echo=$ac_try;;
34151 esac
34152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34153 (eval "$ac_compile") 2>conftest.er1
34154 ac_status=$?
34155 grep -v '^ *+' conftest.er1 >conftest.err
34156 rm -f conftest.er1
34157 cat conftest.err >&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } && {
34160 test -z "$ac_cxx_werror_flag" ||
34161 test ! -s conftest.err
34162 } && test -s conftest.$ac_objext; then
34163 wx_cv_size_t_is_uint=no
34164 else
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.$ac_ext >&5
34167
34168 wx_cv_size_t_is_uint=yes
34169
34170 fi
34171
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173
34174
34175 fi
34176 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34177 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34178
34179 if test "$wx_cv_size_t_is_uint" = "yes"; then
34180 cat >>confdefs.h <<\_ACEOF
34181 #define wxSIZE_T_IS_UINT 1
34182 _ACEOF
34183
34184 else
34185 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34186 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34187 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 else
34190 cat >conftest.$ac_ext <<_ACEOF
34191 /* confdefs.h. */
34192 _ACEOF
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196 #include <stddef.h>
34197 int
34198 main ()
34199 {
34200
34201 return 0; }
34202
34203 struct Foo { void foo(size_t); void foo(unsigned long); };
34204
34205 int bar() {
34206
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 rm -f conftest.$ac_objext
34212 if { (ac_try="$ac_compile"
34213 case "(($ac_try" in
34214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34215 *) ac_try_echo=$ac_try;;
34216 esac
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_compile") 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_cxx_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest.$ac_objext; then
34228 wx_cv_size_t_is_ulong=no
34229 else
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.$ac_ext >&5
34232
34233 wx_cv_size_t_is_ulong=yes
34234
34235 fi
34236
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34238
34239 fi
34240 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34241 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34242
34243 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34244 cat >>confdefs.h <<\_ACEOF
34245 #define wxSIZE_T_IS_ULONG 1
34246 _ACEOF
34247
34248 fi
34249 fi
34250
34251 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34252 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34253 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262 #include <wchar.h>
34263 int
34264 main ()
34265 {
34266
34267 return 0; }
34268
34269 struct Foo { void foo(wchar_t);
34270 void foo(unsigned short);
34271 void foo(unsigned int);
34272 void foo(unsigned long); };
34273
34274 int bar() {
34275
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (ac_try="$ac_compile"
34282 case "(($ac_try" in
34283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34284 *) ac_try_echo=$ac_try;;
34285 esac
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_compile") 2>conftest.er1
34288 ac_status=$?
34289 grep -v '^ *+' conftest.er1 >conftest.err
34290 rm -f conftest.er1
34291 cat conftest.err >&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_cxx_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest.$ac_objext; then
34297 wx_cv_wchar_t_is_separate_type=yes
34298 else
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.$ac_ext >&5
34301
34302 wx_cv_wchar_t_is_separate_type=no
34303
34304 fi
34305
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307
34308 fi
34309 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34310 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34311
34312 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34313 cat >>confdefs.h <<\_ACEOF
34314 #define wxWCHAR_T_IS_REAL_TYPE 1
34315 _ACEOF
34316
34317 else
34318 cat >>confdefs.h <<\_ACEOF
34319 #define wxWCHAR_T_IS_REAL_TYPE 0
34320 _ACEOF
34321
34322 fi
34323
34324 ac_ext=c
34325 ac_cpp='$CPP $CPPFLAGS'
34326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34329
34330
34331 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34332 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34333 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34335 else
34336
34337 cat >conftest.$ac_ext <<_ACEOF
34338 /* confdefs.h. */
34339 _ACEOF
34340 cat confdefs.h >>conftest.$ac_ext
34341 cat >>conftest.$ac_ext <<_ACEOF
34342 /* end confdefs.h. */
34343 #include <pwd.h>
34344 int
34345 main ()
34346 {
34347
34348 char *p;
34349 struct passwd *pw;
34350 p = pw->pw_gecos;
34351
34352 ;
34353 return 0;
34354 }
34355 _ACEOF
34356 rm -f conftest.$ac_objext
34357 if { (ac_try="$ac_compile"
34358 case "(($ac_try" in
34359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34360 *) ac_try_echo=$ac_try;;
34361 esac
34362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34363 (eval "$ac_compile") 2>conftest.er1
34364 ac_status=$?
34365 grep -v '^ *+' conftest.er1 >conftest.err
34366 rm -f conftest.er1
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } && {
34370 test -z "$ac_c_werror_flag" ||
34371 test ! -s conftest.err
34372 } && test -s conftest.$ac_objext; then
34373
34374 wx_cv_struct_pw_gecos=yes
34375
34376 else
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34379
34380
34381 wx_cv_struct_pw_gecos=no
34382
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_struct_pw_gecos" >&5
34391 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34392
34393 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34394 cat >>confdefs.h <<\_ACEOF
34395 #define HAVE_PW_GECOS 1
34396 _ACEOF
34397
34398 fi
34399
34400
34401 if test "$wxUSE_WCHAR_T" = "yes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define wxUSE_WCHAR_T 1
34404 _ACEOF
34405
34406
34407 WCSLEN_FOUND=0
34408 WCHAR_LINK=
34409
34410 for ac_func in wcslen
34411 do
34412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34416 echo $ECHO_N "(cached) $ECHO_C" >&6
34417 else
34418 cat >conftest.$ac_ext <<_ACEOF
34419 /* confdefs.h. */
34420 _ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34426 #define $ac_func innocuous_$ac_func
34427
34428 /* System header to define __stub macros and hopefully few prototypes,
34429 which can conflict with char $ac_func (); below.
34430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34431 <limits.h> exists even on freestanding compilers. */
34432
34433 #ifdef __STDC__
34434 # include <limits.h>
34435 #else
34436 # include <assert.h>
34437 #endif
34438
34439 #undef $ac_func
34440
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34444 #ifdef __cplusplus
34445 extern "C"
34446 #endif
34447 char $ac_func ();
34448 /* The GNU C library defines this for functions which it implements
34449 to always fail with ENOSYS. Some functions are actually named
34450 something starting with __ and the normal name is an alias. */
34451 #if defined __stub_$ac_func || defined __stub___$ac_func
34452 choke me
34453 #endif
34454
34455 int
34456 main ()
34457 {
34458 return $ac_func ();
34459 ;
34460 return 0;
34461 }
34462 _ACEOF
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34467 *) ac_try_echo=$ac_try;;
34468 esac
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest$ac_exeext &&
34480 $as_test_x conftest$ac_exeext; then
34481 eval "$as_ac_var=yes"
34482 else
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34485
34486 eval "$as_ac_var=no"
34487 fi
34488
34489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34490 conftest$ac_exeext conftest.$ac_ext
34491 fi
34492 ac_res=`eval echo '${'$as_ac_var'}'`
34493 { echo "$as_me:$LINENO: result: $ac_res" >&5
34494 echo "${ECHO_T}$ac_res" >&6; }
34495 if test `eval echo '${'$as_ac_var'}'` = yes; then
34496 cat >>confdefs.h <<_ACEOF
34497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34498 _ACEOF
34499 WCSLEN_FOUND=1
34500 fi
34501 done
34502
34503
34504 if test "$WCSLEN_FOUND" = 0; then
34505 if test "$TOOLKIT" = "MSW"; then
34506 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34507 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34508 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 else
34511 ac_check_lib_save_LIBS=$LIBS
34512 LIBS="-lmsvcrt $LIBS"
34513 cat >conftest.$ac_ext <<_ACEOF
34514 /* confdefs.h. */
34515 _ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519
34520 /* Override any GCC internal prototype to avoid an error.
34521 Use char because int might match the return type of a GCC
34522 builtin and then its argument prototype would still apply. */
34523 #ifdef __cplusplus
34524 extern "C"
34525 #endif
34526 char wcslen ();
34527 int
34528 main ()
34529 {
34530 return wcslen ();
34531 ;
34532 return 0;
34533 }
34534 _ACEOF
34535 rm -f conftest.$ac_objext conftest$ac_exeext
34536 if { (ac_try="$ac_link"
34537 case "(($ac_try" in
34538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34539 *) ac_try_echo=$ac_try;;
34540 esac
34541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34542 (eval "$ac_link") 2>conftest.er1
34543 ac_status=$?
34544 grep -v '^ *+' conftest.er1 >conftest.err
34545 rm -f conftest.er1
34546 cat conftest.err >&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && {
34549 test -z "$ac_c_werror_flag" ||
34550 test ! -s conftest.err
34551 } && test -s conftest$ac_exeext &&
34552 $as_test_x conftest$ac_exeext; then
34553 ac_cv_lib_msvcrt_wcslen=yes
34554 else
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.$ac_ext >&5
34557
34558 ac_cv_lib_msvcrt_wcslen=no
34559 fi
34560
34561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34562 conftest$ac_exeext conftest.$ac_ext
34563 LIBS=$ac_check_lib_save_LIBS
34564 fi
34565 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34566 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34567 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34568 WCHAR_OK=1
34569 fi
34570
34571 else
34572 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34573 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34574 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34575 echo $ECHO_N "(cached) $ECHO_C" >&6
34576 else
34577 ac_check_lib_save_LIBS=$LIBS
34578 LIBS="-lw $LIBS"
34579 cat >conftest.$ac_ext <<_ACEOF
34580 /* confdefs.h. */
34581 _ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585
34586 /* Override any GCC internal prototype to avoid an error.
34587 Use char because int might match the return type of a GCC
34588 builtin and then its argument prototype would still apply. */
34589 #ifdef __cplusplus
34590 extern "C"
34591 #endif
34592 char wcslen ();
34593 int
34594 main ()
34595 {
34596 return wcslen ();
34597 ;
34598 return 0;
34599 }
34600 _ACEOF
34601 rm -f conftest.$ac_objext conftest$ac_exeext
34602 if { (ac_try="$ac_link"
34603 case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_link") 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest$ac_exeext &&
34618 $as_test_x conftest$ac_exeext; then
34619 ac_cv_lib_w_wcslen=yes
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34623
34624 ac_cv_lib_w_wcslen=no
34625 fi
34626
34627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34628 conftest$ac_exeext conftest.$ac_ext
34629 LIBS=$ac_check_lib_save_LIBS
34630 fi
34631 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34632 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34633 if test $ac_cv_lib_w_wcslen = yes; then
34634
34635 WCHAR_LINK=" -lw"
34636 WCSLEN_FOUND=1
34637
34638 fi
34639
34640 fi
34641 fi
34642
34643 if test "$WCSLEN_FOUND" = 1; then
34644 cat >>confdefs.h <<\_ACEOF
34645 #define HAVE_WCSLEN 1
34646 _ACEOF
34647
34648 fi
34649
34650
34651 for ac_func in wcsdup
34652 do
34653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659 cat >conftest.$ac_ext <<_ACEOF
34660 /* confdefs.h. */
34661 _ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34667 #define $ac_func innocuous_$ac_func
34668
34669 /* System header to define __stub macros and hopefully few prototypes,
34670 which can conflict with char $ac_func (); below.
34671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34672 <limits.h> exists even on freestanding compilers. */
34673
34674 #ifdef __STDC__
34675 # include <limits.h>
34676 #else
34677 # include <assert.h>
34678 #endif
34679
34680 #undef $ac_func
34681
34682 /* Override any GCC internal prototype to avoid an error.
34683 Use char because int might match the return type of a GCC
34684 builtin and then its argument prototype would still apply. */
34685 #ifdef __cplusplus
34686 extern "C"
34687 #endif
34688 char $ac_func ();
34689 /* The GNU C library defines this for functions which it implements
34690 to always fail with ENOSYS. Some functions are actually named
34691 something starting with __ and the normal name is an alias. */
34692 #if defined __stub_$ac_func || defined __stub___$ac_func
34693 choke me
34694 #endif
34695
34696 int
34697 main ()
34698 {
34699 return $ac_func ();
34700 ;
34701 return 0;
34702 }
34703 _ACEOF
34704 rm -f conftest.$ac_objext conftest$ac_exeext
34705 if { (ac_try="$ac_link"
34706 case "(($ac_try" in
34707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34709 esac
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_link") 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest$ac_exeext &&
34721 $as_test_x conftest$ac_exeext; then
34722 eval "$as_ac_var=yes"
34723 else
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34726
34727 eval "$as_ac_var=no"
34728 fi
34729
34730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34731 conftest$ac_exeext conftest.$ac_ext
34732 fi
34733 ac_res=`eval echo '${'$as_ac_var'}'`
34734 { echo "$as_me:$LINENO: result: $ac_res" >&5
34735 echo "${ECHO_T}$ac_res" >&6; }
34736 if test `eval echo '${'$as_ac_var'}'` = yes; then
34737 cat >>confdefs.h <<_ACEOF
34738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34739 _ACEOF
34740
34741 fi
34742 done
34743
34744
34745 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34746 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34747 fi
34748
34749 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34750 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34751 if test "${ac_cv_type_mbstate_t+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34753 else
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h. */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760 #include <wchar.h>
34761
34762 typedef mbstate_t ac__type_new_;
34763 int
34764 main ()
34765 {
34766 if ((ac__type_new_ *) 0)
34767 return 0;
34768 if (sizeof (ac__type_new_))
34769 return 0;
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext
34775 if { (ac_try="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.$ac_objext; then
34791 ac_cv_type_mbstate_t=yes
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34795
34796 ac_cv_type_mbstate_t=no
34797 fi
34798
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34800 fi
34801 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34802 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34803 if test $ac_cv_type_mbstate_t = yes; then
34804
34805 cat >>confdefs.h <<_ACEOF
34806 #define HAVE_MBSTATE_T 1
34807 _ACEOF
34808
34809
34810 for ac_func in wcsrtombs
34811 do
34812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34815 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818 cat >conftest.$ac_ext <<_ACEOF
34819 /* confdefs.h. */
34820 _ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34826 #define $ac_func innocuous_$ac_func
34827
34828 /* System header to define __stub macros and hopefully few prototypes,
34829 which can conflict with char $ac_func (); below.
34830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34831 <limits.h> exists even on freestanding compilers. */
34832
34833 #ifdef __STDC__
34834 # include <limits.h>
34835 #else
34836 # include <assert.h>
34837 #endif
34838
34839 #undef $ac_func
34840
34841 /* Override any GCC internal prototype to avoid an error.
34842 Use char because int might match the return type of a GCC
34843 builtin and then its argument prototype would still apply. */
34844 #ifdef __cplusplus
34845 extern "C"
34846 #endif
34847 char $ac_func ();
34848 /* The GNU C library defines this for functions which it implements
34849 to always fail with ENOSYS. Some functions are actually named
34850 something starting with __ and the normal name is an alias. */
34851 #if defined __stub_$ac_func || defined __stub___$ac_func
34852 choke me
34853 #endif
34854
34855 int
34856 main ()
34857 {
34858 return $ac_func ();
34859 ;
34860 return 0;
34861 }
34862 _ACEOF
34863 rm -f conftest.$ac_objext conftest$ac_exeext
34864 if { (ac_try="$ac_link"
34865 case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34868 esac
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_link") 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_c_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest$ac_exeext &&
34880 $as_test_x conftest$ac_exeext; then
34881 eval "$as_ac_var=yes"
34882 else
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34885
34886 eval "$as_ac_var=no"
34887 fi
34888
34889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34890 conftest$ac_exeext conftest.$ac_ext
34891 fi
34892 ac_res=`eval echo '${'$as_ac_var'}'`
34893 { echo "$as_me:$LINENO: result: $ac_res" >&5
34894 echo "${ECHO_T}$ac_res" >&6; }
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h <<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 _ACEOF
34899
34900 fi
34901 done
34902
34903 fi
34904
34905 else
34906 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34907 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34908 fi
34909
34910
34911
34912
34913 for ac_func in snprintf vsnprintf vsscanf
34914 do
34915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34919 echo $ECHO_N "(cached) $ECHO_C" >&6
34920 else
34921 cat >conftest.$ac_ext <<_ACEOF
34922 /* confdefs.h. */
34923 _ACEOF
34924 cat confdefs.h >>conftest.$ac_ext
34925 cat >>conftest.$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34929 #define $ac_func innocuous_$ac_func
34930
34931 /* System header to define __stub macros and hopefully few prototypes,
34932 which can conflict with char $ac_func (); below.
34933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34934 <limits.h> exists even on freestanding compilers. */
34935
34936 #ifdef __STDC__
34937 # include <limits.h>
34938 #else
34939 # include <assert.h>
34940 #endif
34941
34942 #undef $ac_func
34943
34944 /* Override any GCC internal prototype to avoid an error.
34945 Use char because int might match the return type of a GCC
34946 builtin and then its argument prototype would still apply. */
34947 #ifdef __cplusplus
34948 extern "C"
34949 #endif
34950 char $ac_func ();
34951 /* The GNU C library defines this for functions which it implements
34952 to always fail with ENOSYS. Some functions are actually named
34953 something starting with __ and the normal name is an alias. */
34954 #if defined __stub_$ac_func || defined __stub___$ac_func
34955 choke me
34956 #endif
34957
34958 int
34959 main ()
34960 {
34961 return $ac_func ();
34962 ;
34963 return 0;
34964 }
34965 _ACEOF
34966 rm -f conftest.$ac_objext conftest$ac_exeext
34967 if { (ac_try="$ac_link"
34968 case "(($ac_try" in
34969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34970 *) ac_try_echo=$ac_try;;
34971 esac
34972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34973 (eval "$ac_link") 2>conftest.er1
34974 ac_status=$?
34975 grep -v '^ *+' conftest.er1 >conftest.err
34976 rm -f conftest.er1
34977 cat conftest.err >&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } && {
34980 test -z "$ac_c_werror_flag" ||
34981 test ! -s conftest.err
34982 } && test -s conftest$ac_exeext &&
34983 $as_test_x conftest$ac_exeext; then
34984 eval "$as_ac_var=yes"
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989 eval "$as_ac_var=no"
34990 fi
34991
34992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34993 conftest$ac_exeext conftest.$ac_ext
34994 fi
34995 ac_res=`eval echo '${'$as_ac_var'}'`
34996 { echo "$as_me:$LINENO: result: $ac_res" >&5
34997 echo "${ECHO_T}$ac_res" >&6; }
34998 if test `eval echo '${'$as_ac_var'}'` = yes; then
34999 cat >>confdefs.h <<_ACEOF
35000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35001 _ACEOF
35002
35003 fi
35004 done
35005
35006
35007 ac_ext=cpp
35008 ac_cpp='$CXXCPP $CPPFLAGS'
35009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012
35013 if test "$ac_cv_func_vsnprintf" = "yes"; then
35014 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35015 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35016 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35018 else
35019
35020 cat >conftest.$ac_ext <<_ACEOF
35021 /* confdefs.h. */
35022 _ACEOF
35023 cat confdefs.h >>conftest.$ac_ext
35024 cat >>conftest.$ac_ext <<_ACEOF
35025 /* end confdefs.h. */
35026
35027 #include <stdio.h>
35028 #include <stdarg.h>
35029 #ifdef __MSL__
35030 #if __MSL__ >= 0x6000
35031 namespace std {}
35032 using namespace std;
35033 #endif
35034 #endif
35035
35036 int
35037 main ()
35038 {
35039
35040 char *buf;
35041 va_list ap;
35042 vsnprintf(buf, 10u, "%s", ap);
35043
35044 ;
35045 return 0;
35046 }
35047 _ACEOF
35048 rm -f conftest.$ac_objext
35049 if { (ac_try="$ac_compile"
35050 case "(($ac_try" in
35051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35052 *) ac_try_echo=$ac_try;;
35053 esac
35054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35055 (eval "$ac_compile") 2>conftest.er1
35056 ac_status=$?
35057 grep -v '^ *+' conftest.er1 >conftest.err
35058 rm -f conftest.er1
35059 cat conftest.err >&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); } && {
35062 test -z "$ac_cxx_werror_flag" ||
35063 test ! -s conftest.err
35064 } && test -s conftest.$ac_objext; then
35065 wx_cv_func_vsnprintf_decl=yes
35066 else
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.$ac_ext >&5
35069
35070 wx_cv_func_vsnprintf_decl=no
35071
35072 fi
35073
35074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35075
35076
35077 fi
35078 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35079 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35080
35081 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35082 cat >>confdefs.h <<\_ACEOF
35083 #define HAVE_VSNPRINTF_DECL 1
35084 _ACEOF
35085
35086
35087 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35088 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35089 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35091 else
35092
35093 cat >conftest.$ac_ext <<_ACEOF
35094 /* confdefs.h. */
35095 _ACEOF
35096 cat confdefs.h >>conftest.$ac_ext
35097 cat >>conftest.$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35099
35100 #include <stdio.h>
35101 #include <stdarg.h>
35102 #ifdef __MSL__
35103 #if __MSL__ >= 0x6000
35104 namespace std {}
35105 using namespace std;
35106 #endif
35107 #endif
35108
35109 int
35110 main ()
35111 {
35112
35113 char *buf;
35114 va_list ap;
35115 const char *fmt = "%s";
35116 vsnprintf(buf, 10u, fmt, ap);
35117
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 rm -f conftest.$ac_objext
35123 if { (ac_try="$ac_compile"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35127 esac
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_compile") 2>conftest.er1
35130 ac_status=$?
35131 grep -v '^ *+' conftest.er1 >conftest.err
35132 rm -f conftest.er1
35133 cat conftest.err >&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_cxx_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest.$ac_objext; then
35139 wx_cv_func_broken_vsnprintf_decl=no
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35143
35144 wx_cv_func_broken_vsnprintf_decl=yes
35145
35146 fi
35147
35148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35149
35150
35151 fi
35152 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35153 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35154
35155 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35156 cat >>confdefs.h <<\_ACEOF
35157 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35158 _ACEOF
35159
35160 fi
35161 fi
35162 fi
35163
35164 if test "$ac_cv_func_snprintf" = "yes"; then
35165 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35166 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35167 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35168 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 else
35170
35171 cat >conftest.$ac_ext <<_ACEOF
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177
35178 #include <stdio.h>
35179 #include <stdarg.h>
35180 #ifdef __MSL__
35181 #if __MSL__ >= 0x6000
35182 namespace std {}
35183 using namespace std;
35184 #endif
35185 #endif
35186
35187 int
35188 main ()
35189 {
35190
35191 char *buf;
35192 snprintf(buf, 10u, "%s", "wx");
35193
35194 ;
35195 return 0;
35196 }
35197 _ACEOF
35198 rm -f conftest.$ac_objext
35199 if { (ac_try="$ac_compile"
35200 case "(($ac_try" in
35201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35202 *) ac_try_echo=$ac_try;;
35203 esac
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_compile") 2>conftest.er1
35206 ac_status=$?
35207 grep -v '^ *+' conftest.er1 >conftest.err
35208 rm -f conftest.er1
35209 cat conftest.err >&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); } && {
35212 test -z "$ac_cxx_werror_flag" ||
35213 test ! -s conftest.err
35214 } && test -s conftest.$ac_objext; then
35215 wx_cv_func_snprintf_decl=yes
35216 else
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.$ac_ext >&5
35219
35220 wx_cv_func_snprintf_decl=no
35221
35222 fi
35223
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225
35226
35227 fi
35228 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35229 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35230
35231 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define HAVE_SNPRINTF_DECL 1
35234 _ACEOF
35235
35236 fi
35237
35238 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35239
35240 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35241 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35242 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35243 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 else
35245
35246 if test "$cross_compiling" = yes; then
35247
35248 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35249 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35250 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35251 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35252 wx_cv_func_snprintf_pos_params=no
35253
35254
35255 else
35256 cat >conftest.$ac_ext <<_ACEOF
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262
35263 #include <stdio.h>
35264
35265 int main (void)
35266 {
35267 char buffer[128];
35268 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35269 if (strcmp ("2 3 1", buffer) == 0)
35270 exit (0);
35271 exit (1);
35272 }
35273
35274 _ACEOF
35275 rm -f conftest$ac_exeext
35276 if { (ac_try="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35279 *) ac_try_echo=$ac_try;;
35280 esac
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>&5
35283 ac_status=$?
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35286 { (case "(($ac_try" in
35287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35288 *) ac_try_echo=$ac_try;;
35289 esac
35290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35291 (eval "$ac_try") 2>&5
35292 ac_status=$?
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); }; }; then
35295 wx_cv_func_snprintf_pos_params=no
35296 else
35297 echo "$as_me: program exited with status $ac_status" >&5
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 ( exit $ac_status )
35302 wx_cv_func_snprintf_pos_params=yes
35303 fi
35304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35305 fi
35306
35307
35308
35309
35310 fi
35311 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35312 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35313
35314 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35315 cat >>confdefs.h <<\_ACEOF
35316 #define HAVE_UNIX98_PRINTF 1
35317 _ACEOF
35318
35319 fi
35320 fi
35321 fi
35322
35323 if test "$ac_cv_func_vsscanf" = "yes"; then
35324 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35325 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35326 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35327 echo $ECHO_N "(cached) $ECHO_C" >&6
35328 else
35329
35330 cat >conftest.$ac_ext <<_ACEOF
35331 /* confdefs.h. */
35332 _ACEOF
35333 cat confdefs.h >>conftest.$ac_ext
35334 cat >>conftest.$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35336
35337 #include <stdio.h>
35338 #include <stdarg.h>
35339 #ifdef __MSL__
35340 #if __MSL__ >= 0x6000
35341 namespace std {}
35342 using namespace std;
35343 #endif
35344 #endif
35345
35346 int
35347 main ()
35348 {
35349
35350 char *buf;
35351 va_list args;
35352 vsscanf(buf, "%s", args);
35353
35354 ;
35355 return 0;
35356 }
35357 _ACEOF
35358 rm -f conftest.$ac_objext
35359 if { (ac_try="$ac_compile"
35360 case "(($ac_try" in
35361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35362 *) ac_try_echo=$ac_try;;
35363 esac
35364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35365 (eval "$ac_compile") 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } && {
35372 test -z "$ac_cxx_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 wx_cv_func_vsscanf_decl=yes
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 wx_cv_func_vsscanf_decl=no
35381
35382 fi
35383
35384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35385
35386
35387 fi
35388 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35389 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35390
35391 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35392 cat >>confdefs.h <<\_ACEOF
35393 #define HAVE_VSSCANF_DECL 1
35394 _ACEOF
35395
35396 fi
35397 fi
35398 ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403
35404
35405 if test "$wxUSE_UNICODE" = yes; then
35406
35407 wchar_headers="#include <stdio.h>
35408 #include <wchar.h>"
35409 case "${host}" in
35410 *-*-solaris2* )
35411
35412 for ac_header in widec.h
35413 do
35414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 else
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 $ac_includes_default
35427
35428 #include <$ac_header>
35429 _ACEOF
35430 rm -f conftest.$ac_objext
35431 if { (ac_try="$ac_compile"
35432 case "(($ac_try" in
35433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35434 *) ac_try_echo=$ac_try;;
35435 esac
35436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35437 (eval "$ac_compile") 2>conftest.er1
35438 ac_status=$?
35439 grep -v '^ *+' conftest.er1 >conftest.err
35440 rm -f conftest.er1
35441 cat conftest.err >&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } && {
35444 test -z "$ac_c_werror_flag" ||
35445 test ! -s conftest.err
35446 } && test -s conftest.$ac_objext; then
35447 eval "$as_ac_Header=yes"
35448 else
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35451
35452 eval "$as_ac_Header=no"
35453 fi
35454
35455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35456 fi
35457 ac_res=`eval echo '${'$as_ac_Header'}'`
35458 { echo "$as_me:$LINENO: result: $ac_res" >&5
35459 echo "${ECHO_T}$ac_res" >&6; }
35460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35461 cat >>confdefs.h <<_ACEOF
35462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35463 _ACEOF
35464
35465 fi
35466
35467 done
35468
35469 if test "$ac_cv_header_widec_h" = "yes"; then
35470 wchar_headers="$wchar_headers
35471 #include <widec.h>"
35472 fi
35473 esac
35474
35475
35476 for wx_func in putws fputws wprintf vswprintf vswscanf
35477 do
35478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 else
35483
35484 cat >conftest.$ac_ext <<_ACEOF
35485
35486 /* confdefs.h. */
35487 _ACEOF
35488 cat confdefs.h >>conftest.$ac_ext
35489 cat >>conftest.$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35491
35492 $wchar_headers
35493 $ac_includes_default
35494
35495 int
35496 main ()
35497 {
35498
35499 #ifndef $wx_func
35500 &$wx_func;
35501 #endif
35502
35503
35504 ;
35505 return 0;
35506 }
35507
35508 _ACEOF
35509 rm -f conftest.$ac_objext conftest$ac_exeext
35510 if { (ac_try="$ac_link"
35511 case "(($ac_try" in
35512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35513 *) ac_try_echo=$ac_try;;
35514 esac
35515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35516 (eval "$ac_link") 2>conftest.er1
35517 ac_status=$?
35518 grep -v '^ *+' conftest.er1 >conftest.err
35519 rm -f conftest.er1
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } && {
35523 test -z "$ac_c_werror_flag" ||
35524 test ! -s conftest.err
35525 } && test -s conftest$ac_exeext &&
35526 $as_test_x conftest$ac_exeext; then
35527 eval wx_cv_func_$wx_func=yes
35528 else
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35531
35532 eval wx_cv_func_$wx_func=no
35533 fi
35534
35535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35536 conftest$ac_exeext conftest.$ac_ext
35537
35538 fi
35539 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35540 { echo "$as_me:$LINENO: result: $ac_res" >&5
35541 echo "${ECHO_T}$ac_res" >&6; }
35542
35543 if eval test \$wx_cv_func_$wx_func = yes
35544 then
35545 cat >>confdefs.h <<_ACEOF
35546 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35547 _ACEOF
35548
35549
35550 else
35551 :
35552
35553 fi
35554 done
35555
35556
35557 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35558 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565 #include <wchar.h>
35566 int
35567 main ()
35568 {
35569 &_vsnwprintf;
35570 ;
35571 return 0;
35572 }
35573 _ACEOF
35574 rm -f conftest.$ac_objext
35575 if { (ac_try="$ac_compile"
35576 case "(($ac_try" in
35577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35578 *) ac_try_echo=$ac_try;;
35579 esac
35580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35581 (eval "$ac_compile") 2>conftest.er1
35582 ac_status=$?
35583 grep -v '^ *+' conftest.er1 >conftest.err
35584 rm -f conftest.er1
35585 cat conftest.err >&5
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && {
35588 test -z "$ac_c_werror_flag" ||
35589 test ! -s conftest.err
35590 } && test -s conftest.$ac_objext; then
35591 { echo "$as_me:$LINENO: result: yes" >&5
35592 echo "${ECHO_T}yes" >&6; }
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE__VSNWPRINTF 1
35595 _ACEOF
35596
35597 else
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35600
35601 { echo "$as_me:$LINENO: result: no" >&5
35602 echo "${ECHO_T}no" >&6; }
35603 fi
35604
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35606 fi
35607
35608 if test "$wxUSE_FILE" = "yes"; then
35609
35610 for wx_func in fsync
35611 do
35612 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35613 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35614 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35615 echo $ECHO_N "(cached) $ECHO_C" >&6
35616 else
35617
35618 cat >conftest.$ac_ext <<_ACEOF
35619
35620 /* confdefs.h. */
35621 _ACEOF
35622 cat confdefs.h >>conftest.$ac_ext
35623 cat >>conftest.$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35625
35626
35627 $ac_includes_default
35628
35629 int
35630 main ()
35631 {
35632
35633 #ifndef $wx_func
35634 &$wx_func;
35635 #endif
35636
35637
35638 ;
35639 return 0;
35640 }
35641
35642 _ACEOF
35643 rm -f conftest.$ac_objext conftest$ac_exeext
35644 if { (ac_try="$ac_link"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35647 *) ac_try_echo=$ac_try;;
35648 esac
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_link") 2>conftest.er1
35651 ac_status=$?
35652 grep -v '^ *+' conftest.er1 >conftest.err
35653 rm -f conftest.er1
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest$ac_exeext &&
35660 $as_test_x conftest$ac_exeext; then
35661 eval wx_cv_func_$wx_func=yes
35662 else
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35665
35666 eval wx_cv_func_$wx_func=no
35667 fi
35668
35669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35670 conftest$ac_exeext conftest.$ac_ext
35671
35672 fi
35673 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35674 { echo "$as_me:$LINENO: result: $ac_res" >&5
35675 echo "${ECHO_T}$ac_res" >&6; }
35676
35677 if eval test \$wx_cv_func_$wx_func = yes
35678 then
35679 cat >>confdefs.h <<_ACEOF
35680 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35681 _ACEOF
35682
35683
35684 else
35685 :
35686
35687 fi
35688 done
35689
35690 fi
35691
35692 ac_ext=cpp
35693 ac_cpp='$CXXCPP $CPPFLAGS'
35694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697
35698
35699 for wx_func in round
35700 do
35701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35704 echo $ECHO_N "(cached) $ECHO_C" >&6
35705 else
35706
35707 cat >conftest.$ac_ext <<_ACEOF
35708
35709 /* confdefs.h. */
35710 _ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35714
35715 #include <math.h>
35716 $ac_includes_default
35717
35718 int
35719 main ()
35720 {
35721
35722 #ifndef $wx_func
35723 &$wx_func;
35724 #endif
35725
35726
35727 ;
35728 return 0;
35729 }
35730
35731 _ACEOF
35732 rm -f conftest.$ac_objext conftest$ac_exeext
35733 if { (ac_try="$ac_link"
35734 case "(($ac_try" in
35735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35736 *) ac_try_echo=$ac_try;;
35737 esac
35738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35739 (eval "$ac_link") 2>conftest.er1
35740 ac_status=$?
35741 grep -v '^ *+' conftest.er1 >conftest.err
35742 rm -f conftest.er1
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } && {
35746 test -z "$ac_cxx_werror_flag" ||
35747 test ! -s conftest.err
35748 } && test -s conftest$ac_exeext &&
35749 $as_test_x conftest$ac_exeext; then
35750 eval wx_cv_func_$wx_func=yes
35751 else
35752 echo "$as_me: failed program was:" >&5
35753 sed 's/^/| /' conftest.$ac_ext >&5
35754
35755 eval wx_cv_func_$wx_func=no
35756 fi
35757
35758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35759 conftest$ac_exeext conftest.$ac_ext
35760
35761 fi
35762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35763 { echo "$as_me:$LINENO: result: $ac_res" >&5
35764 echo "${ECHO_T}$ac_res" >&6; }
35765
35766 if eval test \$wx_cv_func_$wx_func = yes
35767 then
35768 cat >>confdefs.h <<_ACEOF
35769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35770 _ACEOF
35771
35772
35773 else
35774 :
35775
35776 fi
35777 done
35778
35779 ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784
35785
35786 if test "$TOOLKIT" != "MSW"; then
35787
35788 if test "$wxUSE_LIBICONV" != "no" ; then
35789
35790
35791
35792 # Check whether --with-libiconv-prefix was given.
35793 if test "${with_libiconv_prefix+set}" = set; then
35794 withval=$with_libiconv_prefix;
35795 for dir in `echo "$withval" | tr : ' '`; do
35796 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35797 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35798 done
35799
35800 fi
35801
35802
35803 { echo "$as_me:$LINENO: checking for iconv" >&5
35804 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35805 if test "${am_cv_func_iconv+set}" = set; then
35806 echo $ECHO_N "(cached) $ECHO_C" >&6
35807 else
35808
35809 am_cv_func_iconv="no, consider installing GNU libiconv"
35810 am_cv_lib_iconv=no
35811 cat >conftest.$ac_ext <<_ACEOF
35812 /* confdefs.h. */
35813 _ACEOF
35814 cat confdefs.h >>conftest.$ac_ext
35815 cat >>conftest.$ac_ext <<_ACEOF
35816 /* end confdefs.h. */
35817 #include <stdlib.h>
35818 #include <iconv.h>
35819 int
35820 main ()
35821 {
35822 iconv_t cd = iconv_open("","");
35823 iconv(cd,NULL,NULL,NULL,NULL);
35824 iconv_close(cd);
35825 ;
35826 return 0;
35827 }
35828 _ACEOF
35829 rm -f conftest.$ac_objext conftest$ac_exeext
35830 if { (ac_try="$ac_link"
35831 case "(($ac_try" in
35832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35833 *) ac_try_echo=$ac_try;;
35834 esac
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_link") 2>conftest.er1
35837 ac_status=$?
35838 grep -v '^ *+' conftest.er1 >conftest.err
35839 rm -f conftest.er1
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest$ac_exeext &&
35846 $as_test_x conftest$ac_exeext; then
35847 am_cv_func_iconv=yes
35848 else
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.$ac_ext >&5
35851
35852
35853 fi
35854
35855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35856 conftest$ac_exeext conftest.$ac_ext
35857 if test "$am_cv_func_iconv" != yes; then
35858 am_save_LIBS="$LIBS"
35859 LIBS="$LIBS -liconv"
35860 cat >conftest.$ac_ext <<_ACEOF
35861 /* confdefs.h. */
35862 _ACEOF
35863 cat confdefs.h >>conftest.$ac_ext
35864 cat >>conftest.$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35866 #include <stdlib.h>
35867 #include <iconv.h>
35868 int
35869 main ()
35870 {
35871 iconv_t cd = iconv_open("","");
35872 iconv(cd,NULL,NULL,NULL,NULL);
35873 iconv_close(cd);
35874 ;
35875 return 0;
35876 }
35877 _ACEOF
35878 rm -f conftest.$ac_objext conftest$ac_exeext
35879 if { (ac_try="$ac_link"
35880 case "(($ac_try" in
35881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35882 *) ac_try_echo=$ac_try;;
35883 esac
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_link") 2>conftest.er1
35886 ac_status=$?
35887 grep -v '^ *+' conftest.er1 >conftest.err
35888 rm -f conftest.er1
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } && {
35892 test -z "$ac_c_werror_flag" ||
35893 test ! -s conftest.err
35894 } && test -s conftest$ac_exeext &&
35895 $as_test_x conftest$ac_exeext; then
35896 am_cv_lib_iconv=yes
35897 am_cv_func_iconv=yes
35898 else
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35901
35902
35903 fi
35904
35905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35906 conftest$ac_exeext conftest.$ac_ext
35907 LIBS="$am_save_LIBS"
35908 fi
35909
35910 fi
35911 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35912 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35913 if test "$am_cv_func_iconv" = yes; then
35914
35915 cat >>confdefs.h <<\_ACEOF
35916 #define HAVE_ICONV 1
35917 _ACEOF
35918
35919 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35920 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35921 if test "${wx_cv_func_iconv_const+set}" = set; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 else
35924 cat >conftest.$ac_ext <<_ACEOF
35925 /* confdefs.h. */
35926 _ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35930
35931 #include <stdlib.h>
35932 #include <iconv.h>
35933 extern
35934 #ifdef __cplusplus
35935 "C"
35936 #endif
35937 #if defined(__STDC__) || defined(__cplusplus)
35938 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35939 #else
35940 size_t iconv();
35941 #endif
35942
35943 int
35944 main ()
35945 {
35946
35947 ;
35948 return 0;
35949 }
35950 _ACEOF
35951 rm -f conftest.$ac_objext
35952 if { (ac_try="$ac_compile"
35953 case "(($ac_try" in
35954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35955 *) ac_try_echo=$ac_try;;
35956 esac
35957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35958 (eval "$ac_compile") 2>conftest.er1
35959 ac_status=$?
35960 grep -v '^ *+' conftest.er1 >conftest.err
35961 rm -f conftest.er1
35962 cat conftest.err >&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } && {
35965 test -z "$ac_c_werror_flag" ||
35966 test ! -s conftest.err
35967 } && test -s conftest.$ac_objext; then
35968 wx_cv_func_iconv_const="no"
35969 else
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.$ac_ext >&5
35972
35973 wx_cv_func_iconv_const="yes"
35974
35975 fi
35976
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35978
35979 fi
35980 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35981 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35982
35983 iconv_const=
35984 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35985 iconv_const="const"
35986 fi
35987
35988
35989 cat >>confdefs.h <<_ACEOF
35990 #define ICONV_CONST $iconv_const
35991 _ACEOF
35992
35993 fi
35994 LIBICONV=
35995 if test "$am_cv_lib_iconv" = yes; then
35996 LIBICONV="-liconv"
35997 fi
35998
35999
36000 LIBS="$LIBICONV $LIBS"
36001 fi
36002
36003 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36004
36005 for ac_func in sigaction
36006 do
36007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36012 else
36013 cat >conftest.$ac_ext <<_ACEOF
36014 /* confdefs.h. */
36015 _ACEOF
36016 cat confdefs.h >>conftest.$ac_ext
36017 cat >>conftest.$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36021 #define $ac_func innocuous_$ac_func
36022
36023 /* System header to define __stub macros and hopefully few prototypes,
36024 which can conflict with char $ac_func (); below.
36025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36026 <limits.h> exists even on freestanding compilers. */
36027
36028 #ifdef __STDC__
36029 # include <limits.h>
36030 #else
36031 # include <assert.h>
36032 #endif
36033
36034 #undef $ac_func
36035
36036 /* Override any GCC internal prototype to avoid an error.
36037 Use char because int might match the return type of a GCC
36038 builtin and then its argument prototype would still apply. */
36039 #ifdef __cplusplus
36040 extern "C"
36041 #endif
36042 char $ac_func ();
36043 /* The GNU C library defines this for functions which it implements
36044 to always fail with ENOSYS. Some functions are actually named
36045 something starting with __ and the normal name is an alias. */
36046 #if defined __stub_$ac_func || defined __stub___$ac_func
36047 choke me
36048 #endif
36049
36050 int
36051 main ()
36052 {
36053 return $ac_func ();
36054 ;
36055 return 0;
36056 }
36057 _ACEOF
36058 rm -f conftest.$ac_objext conftest$ac_exeext
36059 if { (ac_try="$ac_link"
36060 case "(($ac_try" in
36061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36062 *) ac_try_echo=$ac_try;;
36063 esac
36064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36065 (eval "$ac_link") 2>conftest.er1
36066 ac_status=$?
36067 grep -v '^ *+' conftest.er1 >conftest.err
36068 rm -f conftest.er1
36069 cat conftest.err >&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } && {
36072 test -z "$ac_c_werror_flag" ||
36073 test ! -s conftest.err
36074 } && test -s conftest$ac_exeext &&
36075 $as_test_x conftest$ac_exeext; then
36076 eval "$as_ac_var=yes"
36077 else
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36080
36081 eval "$as_ac_var=no"
36082 fi
36083
36084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36085 conftest$ac_exeext conftest.$ac_ext
36086 fi
36087 ac_res=`eval echo '${'$as_ac_var'}'`
36088 { echo "$as_me:$LINENO: result: $ac_res" >&5
36089 echo "${ECHO_T}$ac_res" >&6; }
36090 if test `eval echo '${'$as_ac_var'}'` = yes; then
36091 cat >>confdefs.h <<_ACEOF
36092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36093 _ACEOF
36094
36095 fi
36096 done
36097
36098
36099 if test "$ac_cv_func_sigaction" = "no"; then
36100 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36101 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36102 wxUSE_ON_FATAL_EXCEPTION=no
36103 fi
36104
36105 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36106 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36107 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36108 if test "${wx_cv_type_sa_handler+set}" = set; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36110 else
36111
36112 ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117
36118 cat >conftest.$ac_ext <<_ACEOF
36119 /* confdefs.h. */
36120 _ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124 #include <signal.h>
36125 int
36126 main ()
36127 {
36128
36129 extern void testSigHandler(int);
36130
36131 struct sigaction sa;
36132 sa.sa_handler = testSigHandler;
36133
36134 ;
36135 return 0;
36136 }
36137 _ACEOF
36138 rm -f conftest.$ac_objext
36139 if { (ac_try="$ac_compile"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36142 *) ac_try_echo=$ac_try;;
36143 esac
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_compile") 2>conftest.er1
36146 ac_status=$?
36147 grep -v '^ *+' conftest.er1 >conftest.err
36148 rm -f conftest.er1
36149 cat conftest.err >&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_cxx_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest.$ac_objext; then
36155
36156 wx_cv_type_sa_handler=int
36157
36158 else
36159 echo "$as_me: failed program was:" >&5
36160 sed 's/^/| /' conftest.$ac_ext >&5
36161
36162
36163 wx_cv_type_sa_handler=void
36164
36165 fi
36166
36167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36168 ac_ext=c
36169 ac_cpp='$CPP $CPPFLAGS'
36170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36173
36174
36175 fi
36176 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36177 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36178
36179 cat >>confdefs.h <<_ACEOF
36180 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36181 _ACEOF
36182
36183 fi
36184 fi
36185
36186 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36187 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36188 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36189 if test "${wx_cv_func_backtrace+set}" = set; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 else
36192
36193 ac_ext=cpp
36194 ac_cpp='$CXXCPP $CPPFLAGS'
36195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36198
36199 cat >conftest.$ac_ext <<_ACEOF
36200 /* confdefs.h. */
36201 _ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <execinfo.h>
36206 int
36207 main ()
36208 {
36209
36210 void *trace[1];
36211 char **messages;
36212
36213 backtrace(trace, 1);
36214 messages = backtrace_symbols(trace, 1);
36215
36216 ;
36217 return 0;
36218 }
36219 _ACEOF
36220 rm -f conftest.$ac_objext
36221 if { (ac_try="$ac_compile"
36222 case "(($ac_try" in
36223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36224 *) ac_try_echo=$ac_try;;
36225 esac
36226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36227 (eval "$ac_compile") 2>conftest.er1
36228 ac_status=$?
36229 grep -v '^ *+' conftest.er1 >conftest.err
36230 rm -f conftest.er1
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } && {
36234 test -z "$ac_cxx_werror_flag" ||
36235 test ! -s conftest.err
36236 } && test -s conftest.$ac_objext; then
36237 wx_cv_func_backtrace=yes
36238 else
36239 echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.$ac_ext >&5
36241
36242 wx_cv_func_backtrace=no
36243
36244 fi
36245
36246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36247 ac_ext=c
36248 ac_cpp='$CPP $CPPFLAGS'
36249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36252
36253
36254
36255 fi
36256 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36257 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36258
36259
36260 if test "$wx_cv_func_backtrace" = "no"; then
36261 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36262 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36263 wxUSE_STACKWALKER=no
36264 else
36265 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36266 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36267 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270
36271 ac_ext=cpp
36272 ac_cpp='$CXXCPP $CPPFLAGS'
36273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36276
36277 cat >conftest.$ac_ext <<_ACEOF
36278 /* confdefs.h. */
36279 _ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36283 #include <cxxabi.h>
36284 int
36285 main ()
36286 {
36287
36288 int rc;
36289 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36290
36291 ;
36292 return 0;
36293 }
36294 _ACEOF
36295 rm -f conftest.$ac_objext conftest$ac_exeext
36296 if { (ac_try="$ac_link"
36297 case "(($ac_try" in
36298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36299 *) ac_try_echo=$ac_try;;
36300 esac
36301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36302 (eval "$ac_link") 2>conftest.er1
36303 ac_status=$?
36304 grep -v '^ *+' conftest.er1 >conftest.err
36305 rm -f conftest.er1
36306 cat conftest.err >&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); } && {
36309 test -z "$ac_cxx_werror_flag" ||
36310 test ! -s conftest.err
36311 } && test -s conftest$ac_exeext &&
36312 $as_test_x conftest$ac_exeext; then
36313 wx_cv_func_cxa_demangle=yes
36314 else
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.$ac_ext >&5
36317
36318 wx_cv_func_cxa_demangle=no
36319
36320 fi
36321
36322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36323 conftest$ac_exeext conftest.$ac_ext
36324 ac_ext=c
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36329
36330
36331
36332 fi
36333 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36334 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36335
36336 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36337 cat >>confdefs.h <<\_ACEOF
36338 #define HAVE_CXA_DEMANGLE 1
36339 _ACEOF
36340
36341 fi
36342 fi
36343 fi
36344
36345 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36346 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36347 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36348 wxUSE_STACKWALKER=no
36349 fi
36350
36351
36352
36353
36354 for ac_func in mkstemp mktemp
36355 do
36356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36361 else
36362 cat >conftest.$ac_ext <<_ACEOF
36363 /* confdefs.h. */
36364 _ACEOF
36365 cat confdefs.h >>conftest.$ac_ext
36366 cat >>conftest.$ac_ext <<_ACEOF
36367 /* end confdefs.h. */
36368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36370 #define $ac_func innocuous_$ac_func
36371
36372 /* System header to define __stub macros and hopefully few prototypes,
36373 which can conflict with char $ac_func (); below.
36374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36375 <limits.h> exists even on freestanding compilers. */
36376
36377 #ifdef __STDC__
36378 # include <limits.h>
36379 #else
36380 # include <assert.h>
36381 #endif
36382
36383 #undef $ac_func
36384
36385 /* Override any GCC internal prototype to avoid an error.
36386 Use char because int might match the return type of a GCC
36387 builtin and then its argument prototype would still apply. */
36388 #ifdef __cplusplus
36389 extern "C"
36390 #endif
36391 char $ac_func ();
36392 /* The GNU C library defines this for functions which it implements
36393 to always fail with ENOSYS. Some functions are actually named
36394 something starting with __ and the normal name is an alias. */
36395 #if defined __stub_$ac_func || defined __stub___$ac_func
36396 choke me
36397 #endif
36398
36399 int
36400 main ()
36401 {
36402 return $ac_func ();
36403 ;
36404 return 0;
36405 }
36406 _ACEOF
36407 rm -f conftest.$ac_objext conftest$ac_exeext
36408 if { (ac_try="$ac_link"
36409 case "(($ac_try" in
36410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36412 esac
36413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_link") 2>conftest.er1
36415 ac_status=$?
36416 grep -v '^ *+' conftest.er1 >conftest.err
36417 rm -f conftest.er1
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest$ac_exeext &&
36424 $as_test_x conftest$ac_exeext; then
36425 eval "$as_ac_var=yes"
36426 else
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36429
36430 eval "$as_ac_var=no"
36431 fi
36432
36433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36434 conftest$ac_exeext conftest.$ac_ext
36435 fi
36436 ac_res=`eval echo '${'$as_ac_var'}'`
36437 { echo "$as_me:$LINENO: result: $ac_res" >&5
36438 echo "${ECHO_T}$ac_res" >&6; }
36439 if test `eval echo '${'$as_ac_var'}'` = yes; then
36440 cat >>confdefs.h <<_ACEOF
36441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36442 _ACEOF
36443 break
36444 fi
36445 done
36446
36447
36448 { echo "$as_me:$LINENO: checking for statfs" >&5
36449 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36450 if test "${wx_cv_func_statfs+set}" = set; then
36451 echo $ECHO_N "(cached) $ECHO_C" >&6
36452 else
36453 cat >conftest.$ac_ext <<_ACEOF
36454 /* confdefs.h. */
36455 _ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459
36460 #if defined(__BSD__)
36461 #include <sys/param.h>
36462 #include <sys/mount.h>
36463 #else
36464 #include <sys/vfs.h>
36465 #endif
36466
36467 int
36468 main ()
36469 {
36470
36471 long l;
36472 struct statfs fs;
36473 statfs("/", &fs);
36474 l = fs.f_bsize;
36475 l += fs.f_blocks;
36476 l += fs.f_bavail;
36477
36478 ;
36479 return 0;
36480 }
36481 _ACEOF
36482 rm -f conftest.$ac_objext
36483 if { (ac_try="$ac_compile"
36484 case "(($ac_try" in
36485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36486 *) ac_try_echo=$ac_try;;
36487 esac
36488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36489 (eval "$ac_compile") 2>conftest.er1
36490 ac_status=$?
36491 grep -v '^ *+' conftest.er1 >conftest.err
36492 rm -f conftest.er1
36493 cat conftest.err >&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); } && {
36496 test -z "$ac_c_werror_flag" ||
36497 test ! -s conftest.err
36498 } && test -s conftest.$ac_objext; then
36499 wx_cv_func_statfs=yes
36500 else
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36503
36504 wx_cv_func_statfs=no
36505
36506 fi
36507
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36509
36510 fi
36511 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36512 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36513
36514 if test "$wx_cv_func_statfs" = "yes"; then
36515 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36516 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36517 if test "${wx_cv_func_statfs_decl+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 else
36520 ac_ext=cpp
36521 ac_cpp='$CXXCPP $CPPFLAGS'
36522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36525
36526 cat >conftest.$ac_ext <<_ACEOF
36527 /* confdefs.h. */
36528 _ACEOF
36529 cat confdefs.h >>conftest.$ac_ext
36530 cat >>conftest.$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36532
36533 #if defined(__BSD__)
36534 #include <sys/param.h>
36535 #include <sys/mount.h>
36536 #else
36537 #include <sys/vfs.h>
36538 #endif
36539
36540 int
36541 main ()
36542 {
36543
36544 struct statfs fs;
36545 statfs("", &fs);
36546
36547 ;
36548 return 0;
36549 }
36550 _ACEOF
36551 rm -f conftest.$ac_objext
36552 if { (ac_try="$ac_compile"
36553 case "(($ac_try" in
36554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36555 *) ac_try_echo=$ac_try;;
36556 esac
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_compile") 2>conftest.er1
36559 ac_status=$?
36560 grep -v '^ *+' conftest.er1 >conftest.err
36561 rm -f conftest.er1
36562 cat conftest.err >&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_cxx_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest.$ac_objext; then
36568 wx_cv_func_statfs_decl=yes
36569 else
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.$ac_ext >&5
36572
36573 wx_cv_func_statfs_decl=no
36574
36575 fi
36576
36577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36578 ac_ext=c
36579 ac_cpp='$CPP $CPPFLAGS'
36580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583
36584
36585 fi
36586 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36587 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36588
36589 if test "$wx_cv_func_statfs_decl" = "yes"; then
36590 cat >>confdefs.h <<\_ACEOF
36591 #define HAVE_STATFS_DECL 1
36592 _ACEOF
36593
36594 fi
36595
36596 wx_cv_type_statvfs_t="struct statfs"
36597 cat >>confdefs.h <<\_ACEOF
36598 #define HAVE_STATFS 1
36599 _ACEOF
36600
36601 else
36602 { echo "$as_me:$LINENO: checking for statvfs" >&5
36603 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_statvfs+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607 cat >conftest.$ac_ext <<_ACEOF
36608 /* confdefs.h. */
36609 _ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36613
36614 #include <stddef.h>
36615 #include <sys/statvfs.h>
36616
36617 int
36618 main ()
36619 {
36620
36621 statvfs("/", NULL);
36622
36623 ;
36624 return 0;
36625 }
36626 _ACEOF
36627 rm -f conftest.$ac_objext
36628 if { (ac_try="$ac_compile"
36629 case "(($ac_try" in
36630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36631 *) ac_try_echo=$ac_try;;
36632 esac
36633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36634 (eval "$ac_compile") 2>conftest.er1
36635 ac_status=$?
36636 grep -v '^ *+' conftest.er1 >conftest.err
36637 rm -f conftest.er1
36638 cat conftest.err >&5
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); } && {
36641 test -z "$ac_c_werror_flag" ||
36642 test ! -s conftest.err
36643 } && test -s conftest.$ac_objext; then
36644 wx_cv_func_statvfs=yes
36645 else
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36648
36649 wx_cv_func_statvfs=no
36650
36651 fi
36652
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36654
36655 fi
36656 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36657 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36658
36659 if test "$wx_cv_func_statvfs" = "yes"; then
36660 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36661 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36662 if test "${wx_cv_type_statvfs_t+set}" = set; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36664 else
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h. */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677
36678 #include <sys/statvfs.h>
36679
36680 int
36681 main ()
36682 {
36683
36684 long l;
36685 statvfs_t fs;
36686 statvfs("/", &fs);
36687 l = fs.f_bsize;
36688 l += fs.f_blocks;
36689 l += fs.f_bavail;
36690
36691 ;
36692 return 0;
36693 }
36694 _ACEOF
36695 rm -f conftest.$ac_objext
36696 if { (ac_try="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36700 esac
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36703 ac_status=$?
36704 grep -v '^ *+' conftest.er1 >conftest.err
36705 rm -f conftest.er1
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_cxx_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.$ac_objext; then
36712 wx_cv_type_statvfs_t=statvfs_t
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717
36718 cat >conftest.$ac_ext <<_ACEOF
36719 /* confdefs.h. */
36720 _ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724
36725 #include <sys/statvfs.h>
36726
36727 int
36728 main ()
36729 {
36730
36731 long l;
36732 struct statvfs fs;
36733 statvfs("/", &fs);
36734 l = fs.f_bsize;
36735 l += fs.f_blocks;
36736 l += fs.f_bavail;
36737
36738 ;
36739 return 0;
36740 }
36741 _ACEOF
36742 rm -f conftest.$ac_objext
36743 if { (ac_try="$ac_compile"
36744 case "(($ac_try" in
36745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36746 *) ac_try_echo=$ac_try;;
36747 esac
36748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36749 (eval "$ac_compile") 2>conftest.er1
36750 ac_status=$?
36751 grep -v '^ *+' conftest.er1 >conftest.err
36752 rm -f conftest.er1
36753 cat conftest.err >&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } && {
36756 test -z "$ac_cxx_werror_flag" ||
36757 test ! -s conftest.err
36758 } && test -s conftest.$ac_objext; then
36759 wx_cv_type_statvfs_t="struct statvfs"
36760 else
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.$ac_ext >&5
36763
36764 wx_cv_type_statvfs_t="unknown"
36765
36766 fi
36767
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769
36770
36771 fi
36772
36773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36774 ac_ext=c
36775 ac_cpp='$CPP $CPPFLAGS'
36776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779
36780
36781 fi
36782 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36783 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36784
36785 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36786 cat >>confdefs.h <<\_ACEOF
36787 #define HAVE_STATVFS 1
36788 _ACEOF
36789
36790 fi
36791 else
36792 wx_cv_type_statvfs_t="unknown"
36793 fi
36794 fi
36795
36796 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36797 cat >>confdefs.h <<_ACEOF
36798 #define WX_STATFS_T $wx_cv_type_statvfs_t
36799 _ACEOF
36800
36801 else
36802 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36803 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36804 fi
36805
36806 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36807
36808
36809 for ac_func in fcntl flock
36810 do
36811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36815 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 else
36817 cat >conftest.$ac_ext <<_ACEOF
36818 /* confdefs.h. */
36819 _ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36825 #define $ac_func innocuous_$ac_func
36826
36827 /* System header to define __stub macros and hopefully few prototypes,
36828 which can conflict with char $ac_func (); below.
36829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830 <limits.h> exists even on freestanding compilers. */
36831
36832 #ifdef __STDC__
36833 # include <limits.h>
36834 #else
36835 # include <assert.h>
36836 #endif
36837
36838 #undef $ac_func
36839
36840 /* Override any GCC internal prototype to avoid an error.
36841 Use char because int might match the return type of a GCC
36842 builtin and then its argument prototype would still apply. */
36843 #ifdef __cplusplus
36844 extern "C"
36845 #endif
36846 char $ac_func ();
36847 /* The GNU C library defines this for functions which it implements
36848 to always fail with ENOSYS. Some functions are actually named
36849 something starting with __ and the normal name is an alias. */
36850 #if defined __stub_$ac_func || defined __stub___$ac_func
36851 choke me
36852 #endif
36853
36854 int
36855 main ()
36856 {
36857 return $ac_func ();
36858 ;
36859 return 0;
36860 }
36861 _ACEOF
36862 rm -f conftest.$ac_objext conftest$ac_exeext
36863 if { (ac_try="$ac_link"
36864 case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36867 esac
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_link") 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest$ac_exeext &&
36879 $as_test_x conftest$ac_exeext; then
36880 eval "$as_ac_var=yes"
36881 else
36882 echo "$as_me: failed program was:" >&5
36883 sed 's/^/| /' conftest.$ac_ext >&5
36884
36885 eval "$as_ac_var=no"
36886 fi
36887
36888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36889 conftest$ac_exeext conftest.$ac_ext
36890 fi
36891 ac_res=`eval echo '${'$as_ac_var'}'`
36892 { echo "$as_me:$LINENO: result: $ac_res" >&5
36893 echo "${ECHO_T}$ac_res" >&6; }
36894 if test `eval echo '${'$as_ac_var'}'` = yes; then
36895 cat >>confdefs.h <<_ACEOF
36896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36897 _ACEOF
36898 break
36899 fi
36900 done
36901
36902
36903 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36904 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36905 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36906 wxUSE_SNGLINST_CHECKER=no
36907 fi
36908 fi
36909
36910
36911
36912 for ac_func in setenv putenv
36913 do
36914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36919 else
36920 cat >conftest.$ac_ext <<_ACEOF
36921 /* confdefs.h. */
36922 _ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36928 #define $ac_func innocuous_$ac_func
36929
36930 /* System header to define __stub macros and hopefully few prototypes,
36931 which can conflict with char $ac_func (); below.
36932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36933 <limits.h> exists even on freestanding compilers. */
36934
36935 #ifdef __STDC__
36936 # include <limits.h>
36937 #else
36938 # include <assert.h>
36939 #endif
36940
36941 #undef $ac_func
36942
36943 /* Override any GCC internal prototype to avoid an error.
36944 Use char because int might match the return type of a GCC
36945 builtin and then its argument prototype would still apply. */
36946 #ifdef __cplusplus
36947 extern "C"
36948 #endif
36949 char $ac_func ();
36950 /* The GNU C library defines this for functions which it implements
36951 to always fail with ENOSYS. Some functions are actually named
36952 something starting with __ and the normal name is an alias. */
36953 #if defined __stub_$ac_func || defined __stub___$ac_func
36954 choke me
36955 #endif
36956
36957 int
36958 main ()
36959 {
36960 return $ac_func ();
36961 ;
36962 return 0;
36963 }
36964 _ACEOF
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36970 esac
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 eval "$as_ac_var=yes"
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 eval "$as_ac_var=no"
36989 fi
36990
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36993 fi
36994 ac_res=`eval echo '${'$as_ac_var'}'`
36995 { echo "$as_me:$LINENO: result: $ac_res" >&5
36996 echo "${ECHO_T}$ac_res" >&6; }
36997 if test `eval echo '${'$as_ac_var'}'` = yes; then
36998 cat >>confdefs.h <<_ACEOF
36999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37000 _ACEOF
37001 break
37002 fi
37003 done
37004
37005 if test "$ac_cv_func_setenv" = "yes"; then
37006
37007 for ac_func in unsetenv
37008 do
37009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37014 else
37015 cat >conftest.$ac_ext <<_ACEOF
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37023 #define $ac_func innocuous_$ac_func
37024
37025 /* System header to define __stub macros and hopefully few prototypes,
37026 which can conflict with char $ac_func (); below.
37027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37028 <limits.h> exists even on freestanding compilers. */
37029
37030 #ifdef __STDC__
37031 # include <limits.h>
37032 #else
37033 # include <assert.h>
37034 #endif
37035
37036 #undef $ac_func
37037
37038 /* Override any GCC internal prototype to avoid an error.
37039 Use char because int might match the return type of a GCC
37040 builtin and then its argument prototype would still apply. */
37041 #ifdef __cplusplus
37042 extern "C"
37043 #endif
37044 char $ac_func ();
37045 /* The GNU C library defines this for functions which it implements
37046 to always fail with ENOSYS. Some functions are actually named
37047 something starting with __ and the normal name is an alias. */
37048 #if defined __stub_$ac_func || defined __stub___$ac_func
37049 choke me
37050 #endif
37051
37052 int
37053 main ()
37054 {
37055 return $ac_func ();
37056 ;
37057 return 0;
37058 }
37059 _ACEOF
37060 rm -f conftest.$ac_objext conftest$ac_exeext
37061 if { (ac_try="$ac_link"
37062 case "(($ac_try" in
37063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37064 *) ac_try_echo=$ac_try;;
37065 esac
37066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37067 (eval "$ac_link") 2>conftest.er1
37068 ac_status=$?
37069 grep -v '^ *+' conftest.er1 >conftest.err
37070 rm -f conftest.er1
37071 cat conftest.err >&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); } && {
37074 test -z "$ac_c_werror_flag" ||
37075 test ! -s conftest.err
37076 } && test -s conftest$ac_exeext &&
37077 $as_test_x conftest$ac_exeext; then
37078 eval "$as_ac_var=yes"
37079 else
37080 echo "$as_me: failed program was:" >&5
37081 sed 's/^/| /' conftest.$ac_ext >&5
37082
37083 eval "$as_ac_var=no"
37084 fi
37085
37086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37087 conftest$ac_exeext conftest.$ac_ext
37088 fi
37089 ac_res=`eval echo '${'$as_ac_var'}'`
37090 { echo "$as_me:$LINENO: result: $ac_res" >&5
37091 echo "${ECHO_T}$ac_res" >&6; }
37092 if test `eval echo '${'$as_ac_var'}'` = yes; then
37093 cat >>confdefs.h <<_ACEOF
37094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37095 _ACEOF
37096
37097 fi
37098 done
37099
37100 fi
37101
37102 HAVE_SOME_SLEEP_FUNC=0
37103 if test "$USE_BEOS" = 1; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE_SLEEP 1
37106 _ACEOF
37107
37108 HAVE_SOME_SLEEP_FUNC=1
37109 fi
37110
37111 if test "$USE_DARWIN" = 1; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_USLEEP 1
37114 _ACEOF
37115
37116 HAVE_SOME_SLEEP_FUNC=1
37117 fi
37118
37119 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37120 POSIX4_LINK=
37121
37122 for ac_func in nanosleep
37123 do
37124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 else
37130 cat >conftest.$ac_ext <<_ACEOF
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define $ac_func innocuous_$ac_func
37139
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char $ac_func (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37144
37145 #ifdef __STDC__
37146 # include <limits.h>
37147 #else
37148 # include <assert.h>
37149 #endif
37150
37151 #undef $ac_func
37152
37153 /* Override any GCC internal prototype to avoid an error.
37154 Use char because int might match the return type of a GCC
37155 builtin and then its argument prototype would still apply. */
37156 #ifdef __cplusplus
37157 extern "C"
37158 #endif
37159 char $ac_func ();
37160 /* The GNU C library defines this for functions which it implements
37161 to always fail with ENOSYS. Some functions are actually named
37162 something starting with __ and the normal name is an alias. */
37163 #if defined __stub_$ac_func || defined __stub___$ac_func
37164 choke me
37165 #endif
37166
37167 int
37168 main ()
37169 {
37170 return $ac_func ();
37171 ;
37172 return 0;
37173 }
37174 _ACEOF
37175 rm -f conftest.$ac_objext conftest$ac_exeext
37176 if { (ac_try="$ac_link"
37177 case "(($ac_try" in
37178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37179 *) ac_try_echo=$ac_try;;
37180 esac
37181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37182 (eval "$ac_link") 2>conftest.er1
37183 ac_status=$?
37184 grep -v '^ *+' conftest.er1 >conftest.err
37185 rm -f conftest.er1
37186 cat conftest.err >&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); } && {
37189 test -z "$ac_c_werror_flag" ||
37190 test ! -s conftest.err
37191 } && test -s conftest$ac_exeext &&
37192 $as_test_x conftest$ac_exeext; then
37193 eval "$as_ac_var=yes"
37194 else
37195 echo "$as_me: failed program was:" >&5
37196 sed 's/^/| /' conftest.$ac_ext >&5
37197
37198 eval "$as_ac_var=no"
37199 fi
37200
37201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37202 conftest$ac_exeext conftest.$ac_ext
37203 fi
37204 ac_res=`eval echo '${'$as_ac_var'}'`
37205 { echo "$as_me:$LINENO: result: $ac_res" >&5
37206 echo "${ECHO_T}$ac_res" >&6; }
37207 if test `eval echo '${'$as_ac_var'}'` = yes; then
37208 cat >>confdefs.h <<_ACEOF
37209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37210 _ACEOF
37211 cat >>confdefs.h <<\_ACEOF
37212 #define HAVE_NANOSLEEP 1
37213 _ACEOF
37214
37215 else
37216
37217 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37218 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37219 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 ac_check_lib_save_LIBS=$LIBS
37223 LIBS="-lposix4 $LIBS"
37224 cat >conftest.$ac_ext <<_ACEOF
37225 /* confdefs.h. */
37226 _ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37230
37231 /* Override any GCC internal prototype to avoid an error.
37232 Use char because int might match the return type of a GCC
37233 builtin and then its argument prototype would still apply. */
37234 #ifdef __cplusplus
37235 extern "C"
37236 #endif
37237 char nanosleep ();
37238 int
37239 main ()
37240 {
37241 return nanosleep ();
37242 ;
37243 return 0;
37244 }
37245 _ACEOF
37246 rm -f conftest.$ac_objext conftest$ac_exeext
37247 if { (ac_try="$ac_link"
37248 case "(($ac_try" in
37249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37250 *) ac_try_echo=$ac_try;;
37251 esac
37252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37253 (eval "$ac_link") 2>conftest.er1
37254 ac_status=$?
37255 grep -v '^ *+' conftest.er1 >conftest.err
37256 rm -f conftest.er1
37257 cat conftest.err >&5
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); } && {
37260 test -z "$ac_c_werror_flag" ||
37261 test ! -s conftest.err
37262 } && test -s conftest$ac_exeext &&
37263 $as_test_x conftest$ac_exeext; then
37264 ac_cv_lib_posix4_nanosleep=yes
37265 else
37266 echo "$as_me: failed program was:" >&5
37267 sed 's/^/| /' conftest.$ac_ext >&5
37268
37269 ac_cv_lib_posix4_nanosleep=no
37270 fi
37271
37272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37273 conftest$ac_exeext conftest.$ac_ext
37274 LIBS=$ac_check_lib_save_LIBS
37275 fi
37276 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37277 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37278 if test $ac_cv_lib_posix4_nanosleep = yes; then
37279
37280 cat >>confdefs.h <<\_ACEOF
37281 #define HAVE_NANOSLEEP 1
37282 _ACEOF
37283
37284 POSIX4_LINK=" -lposix4"
37285
37286 else
37287
37288
37289 for wx_func in usleep
37290 do
37291 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37292 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37293 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 else
37296
37297 cat >conftest.$ac_ext <<_ACEOF
37298
37299 /* confdefs.h. */
37300 _ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37304
37305
37306 $ac_includes_default
37307
37308 int
37309 main ()
37310 {
37311
37312 #ifndef $wx_func
37313 &$wx_func;
37314 #endif
37315
37316
37317 ;
37318 return 0;
37319 }
37320
37321 _ACEOF
37322 rm -f conftest.$ac_objext conftest$ac_exeext
37323 if { (ac_try="$ac_link"
37324 case "(($ac_try" in
37325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37326 *) ac_try_echo=$ac_try;;
37327 esac
37328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37329 (eval "$ac_link") 2>conftest.er1
37330 ac_status=$?
37331 grep -v '^ *+' conftest.er1 >conftest.err
37332 rm -f conftest.er1
37333 cat conftest.err >&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); } && {
37336 test -z "$ac_c_werror_flag" ||
37337 test ! -s conftest.err
37338 } && test -s conftest$ac_exeext &&
37339 $as_test_x conftest$ac_exeext; then
37340 eval wx_cv_func_$wx_func=yes
37341 else
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37344
37345 eval wx_cv_func_$wx_func=no
37346 fi
37347
37348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37349 conftest$ac_exeext conftest.$ac_ext
37350
37351 fi
37352 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37353 { echo "$as_me:$LINENO: result: $ac_res" >&5
37354 echo "${ECHO_T}$ac_res" >&6; }
37355
37356 if eval test \$wx_cv_func_$wx_func = yes
37357 then
37358 cat >>confdefs.h <<_ACEOF
37359 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37360 _ACEOF
37361
37362
37363 else
37364 :
37365 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37366 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37367
37368 fi
37369 done
37370
37371
37372
37373 fi
37374
37375
37376
37377 fi
37378 done
37379
37380 fi
37381
37382
37383 for wx_func in uname
37384 do
37385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 else
37390
37391 cat >conftest.$ac_ext <<_ACEOF
37392
37393 /* confdefs.h. */
37394 _ACEOF
37395 cat confdefs.h >>conftest.$ac_ext
37396 cat >>conftest.$ac_ext <<_ACEOF
37397 /* end confdefs.h. */
37398
37399 #include <sys/utsname.h>
37400 $ac_includes_default
37401
37402 int
37403 main ()
37404 {
37405
37406 #ifndef $wx_func
37407 &$wx_func;
37408 #endif
37409
37410
37411 ;
37412 return 0;
37413 }
37414
37415 _ACEOF
37416 rm -f conftest.$ac_objext conftest$ac_exeext
37417 if { (ac_try="$ac_link"
37418 case "(($ac_try" in
37419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37420 *) ac_try_echo=$ac_try;;
37421 esac
37422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37423 (eval "$ac_link") 2>conftest.er1
37424 ac_status=$?
37425 grep -v '^ *+' conftest.er1 >conftest.err
37426 rm -f conftest.er1
37427 cat conftest.err >&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } && {
37430 test -z "$ac_c_werror_flag" ||
37431 test ! -s conftest.err
37432 } && test -s conftest$ac_exeext &&
37433 $as_test_x conftest$ac_exeext; then
37434 eval wx_cv_func_$wx_func=yes
37435 else
37436 echo "$as_me: failed program was:" >&5
37437 sed 's/^/| /' conftest.$ac_ext >&5
37438
37439 eval wx_cv_func_$wx_func=no
37440 fi
37441
37442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37443 conftest$ac_exeext conftest.$ac_ext
37444
37445 fi
37446 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37447 { echo "$as_me:$LINENO: result: $ac_res" >&5
37448 echo "${ECHO_T}$ac_res" >&6; }
37449
37450 if eval test \$wx_cv_func_$wx_func = yes
37451 then
37452 cat >>confdefs.h <<_ACEOF
37453 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37454 _ACEOF
37455
37456
37457 else
37458 :
37459
37460 fi
37461 done
37462
37463 if test "$wx_cv_func_uname" != yes; then
37464
37465 for wx_func in gethostname
37466 do
37467 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37468 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37469 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37470 echo $ECHO_N "(cached) $ECHO_C" >&6
37471 else
37472
37473 cat >conftest.$ac_ext <<_ACEOF
37474
37475 /* confdefs.h. */
37476 _ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h. */
37480
37481
37482 $ac_includes_default
37483
37484 int
37485 main ()
37486 {
37487
37488 #ifndef $wx_func
37489 &$wx_func;
37490 #endif
37491
37492
37493 ;
37494 return 0;
37495 }
37496
37497 _ACEOF
37498 rm -f conftest.$ac_objext conftest$ac_exeext
37499 if { (ac_try="$ac_link"
37500 case "(($ac_try" in
37501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37502 *) ac_try_echo=$ac_try;;
37503 esac
37504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37505 (eval "$ac_link") 2>conftest.er1
37506 ac_status=$?
37507 grep -v '^ *+' conftest.er1 >conftest.err
37508 rm -f conftest.er1
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } && {
37512 test -z "$ac_c_werror_flag" ||
37513 test ! -s conftest.err
37514 } && test -s conftest$ac_exeext &&
37515 $as_test_x conftest$ac_exeext; then
37516 eval wx_cv_func_$wx_func=yes
37517 else
37518 echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.$ac_ext >&5
37520
37521 eval wx_cv_func_$wx_func=no
37522 fi
37523
37524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37525 conftest$ac_exeext conftest.$ac_ext
37526
37527 fi
37528 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37529 { echo "$as_me:$LINENO: result: $ac_res" >&5
37530 echo "${ECHO_T}$ac_res" >&6; }
37531
37532 if eval test \$wx_cv_func_$wx_func = yes
37533 then
37534 cat >>confdefs.h <<_ACEOF
37535 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37536 _ACEOF
37537
37538
37539 else
37540 :
37541
37542 fi
37543 done
37544
37545 fi
37546
37547
37548 for wx_func in strtok_r
37549 do
37550 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37551 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37552 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37553 echo $ECHO_N "(cached) $ECHO_C" >&6
37554 else
37555
37556 cat >conftest.$ac_ext <<_ACEOF
37557
37558 /* confdefs.h. */
37559 _ACEOF
37560 cat confdefs.h >>conftest.$ac_ext
37561 cat >>conftest.$ac_ext <<_ACEOF
37562 /* end confdefs.h. */
37563
37564 #define _REENTRANT
37565 $ac_includes_default
37566
37567 int
37568 main ()
37569 {
37570
37571 #ifndef $wx_func
37572 &$wx_func;
37573 #endif
37574
37575
37576 ;
37577 return 0;
37578 }
37579
37580 _ACEOF
37581 rm -f conftest.$ac_objext conftest$ac_exeext
37582 if { (ac_try="$ac_link"
37583 case "(($ac_try" in
37584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37585 *) ac_try_echo=$ac_try;;
37586 esac
37587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37588 (eval "$ac_link") 2>conftest.er1
37589 ac_status=$?
37590 grep -v '^ *+' conftest.er1 >conftest.err
37591 rm -f conftest.er1
37592 cat conftest.err >&5
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); } && {
37595 test -z "$ac_c_werror_flag" ||
37596 test ! -s conftest.err
37597 } && test -s conftest$ac_exeext &&
37598 $as_test_x conftest$ac_exeext; then
37599 eval wx_cv_func_$wx_func=yes
37600 else
37601 echo "$as_me: failed program was:" >&5
37602 sed 's/^/| /' conftest.$ac_ext >&5
37603
37604 eval wx_cv_func_$wx_func=no
37605 fi
37606
37607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37608 conftest$ac_exeext conftest.$ac_ext
37609
37610 fi
37611 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37612 { echo "$as_me:$LINENO: result: $ac_res" >&5
37613 echo "${ECHO_T}$ac_res" >&6; }
37614
37615 if eval test \$wx_cv_func_$wx_func = yes
37616 then
37617 cat >>confdefs.h <<_ACEOF
37618 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37619 _ACEOF
37620
37621
37622 else
37623 :
37624
37625 fi
37626 done
37627
37628
37629 INET_LINK=
37630
37631 for ac_func in inet_addr
37632 do
37633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37637 echo $ECHO_N "(cached) $ECHO_C" >&6
37638 else
37639 cat >conftest.$ac_ext <<_ACEOF
37640 /* confdefs.h. */
37641 _ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37647 #define $ac_func innocuous_$ac_func
37648
37649 /* System header to define __stub macros and hopefully few prototypes,
37650 which can conflict with char $ac_func (); below.
37651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37652 <limits.h> exists even on freestanding compilers. */
37653
37654 #ifdef __STDC__
37655 # include <limits.h>
37656 #else
37657 # include <assert.h>
37658 #endif
37659
37660 #undef $ac_func
37661
37662 /* Override any GCC internal prototype to avoid an error.
37663 Use char because int might match the return type of a GCC
37664 builtin and then its argument prototype would still apply. */
37665 #ifdef __cplusplus
37666 extern "C"
37667 #endif
37668 char $ac_func ();
37669 /* The GNU C library defines this for functions which it implements
37670 to always fail with ENOSYS. Some functions are actually named
37671 something starting with __ and the normal name is an alias. */
37672 #if defined __stub_$ac_func || defined __stub___$ac_func
37673 choke me
37674 #endif
37675
37676 int
37677 main ()
37678 {
37679 return $ac_func ();
37680 ;
37681 return 0;
37682 }
37683 _ACEOF
37684 rm -f conftest.$ac_objext conftest$ac_exeext
37685 if { (ac_try="$ac_link"
37686 case "(($ac_try" in
37687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37688 *) ac_try_echo=$ac_try;;
37689 esac
37690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37691 (eval "$ac_link") 2>conftest.er1
37692 ac_status=$?
37693 grep -v '^ *+' conftest.er1 >conftest.err
37694 rm -f conftest.er1
37695 cat conftest.err >&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } && {
37698 test -z "$ac_c_werror_flag" ||
37699 test ! -s conftest.err
37700 } && test -s conftest$ac_exeext &&
37701 $as_test_x conftest$ac_exeext; then
37702 eval "$as_ac_var=yes"
37703 else
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 eval "$as_ac_var=no"
37708 fi
37709
37710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37711 conftest$ac_exeext conftest.$ac_ext
37712 fi
37713 ac_res=`eval echo '${'$as_ac_var'}'`
37714 { echo "$as_me:$LINENO: result: $ac_res" >&5
37715 echo "${ECHO_T}$ac_res" >&6; }
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h <<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37719 _ACEOF
37720 cat >>confdefs.h <<\_ACEOF
37721 #define HAVE_INET_ADDR 1
37722 _ACEOF
37723
37724 else
37725
37726 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37727 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37728 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37730 else
37731 ac_check_lib_save_LIBS=$LIBS
37732 LIBS="-lnsl $LIBS"
37733 cat >conftest.$ac_ext <<_ACEOF
37734 /* confdefs.h. */
37735 _ACEOF
37736 cat confdefs.h >>conftest.$ac_ext
37737 cat >>conftest.$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37739
37740 /* Override any GCC internal prototype to avoid an error.
37741 Use char because int might match the return type of a GCC
37742 builtin and then its argument prototype would still apply. */
37743 #ifdef __cplusplus
37744 extern "C"
37745 #endif
37746 char inet_addr ();
37747 int
37748 main ()
37749 {
37750 return inet_addr ();
37751 ;
37752 return 0;
37753 }
37754 _ACEOF
37755 rm -f conftest.$ac_objext conftest$ac_exeext
37756 if { (ac_try="$ac_link"
37757 case "(($ac_try" in
37758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37759 *) ac_try_echo=$ac_try;;
37760 esac
37761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37762 (eval "$ac_link") 2>conftest.er1
37763 ac_status=$?
37764 grep -v '^ *+' conftest.er1 >conftest.err
37765 rm -f conftest.er1
37766 cat conftest.err >&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); } && {
37769 test -z "$ac_c_werror_flag" ||
37770 test ! -s conftest.err
37771 } && test -s conftest$ac_exeext &&
37772 $as_test_x conftest$ac_exeext; then
37773 ac_cv_lib_nsl_inet_addr=yes
37774 else
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37777
37778 ac_cv_lib_nsl_inet_addr=no
37779 fi
37780
37781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37782 conftest$ac_exeext conftest.$ac_ext
37783 LIBS=$ac_check_lib_save_LIBS
37784 fi
37785 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37786 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37787 if test $ac_cv_lib_nsl_inet_addr = yes; then
37788 INET_LINK="nsl"
37789 else
37790
37791 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37792 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37793 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 else
37796 ac_check_lib_save_LIBS=$LIBS
37797 LIBS="-lresolv $LIBS"
37798 cat >conftest.$ac_ext <<_ACEOF
37799 /* confdefs.h. */
37800 _ACEOF
37801 cat confdefs.h >>conftest.$ac_ext
37802 cat >>conftest.$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37804
37805 /* Override any GCC internal prototype to avoid an error.
37806 Use char because int might match the return type of a GCC
37807 builtin and then its argument prototype would still apply. */
37808 #ifdef __cplusplus
37809 extern "C"
37810 #endif
37811 char inet_addr ();
37812 int
37813 main ()
37814 {
37815 return inet_addr ();
37816 ;
37817 return 0;
37818 }
37819 _ACEOF
37820 rm -f conftest.$ac_objext conftest$ac_exeext
37821 if { (ac_try="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37824 *) ac_try_echo=$ac_try;;
37825 esac
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37828 ac_status=$?
37829 grep -v '^ *+' conftest.er1 >conftest.err
37830 rm -f conftest.er1
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest$ac_exeext &&
37837 $as_test_x conftest$ac_exeext; then
37838 ac_cv_lib_resolv_inet_addr=yes
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 ac_cv_lib_resolv_inet_addr=no
37844 fi
37845
37846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37847 conftest$ac_exeext conftest.$ac_ext
37848 LIBS=$ac_check_lib_save_LIBS
37849 fi
37850 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37851 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37852 if test $ac_cv_lib_resolv_inet_addr = yes; then
37853 INET_LINK="resolv"
37854 else
37855
37856 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37857 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37858 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 else
37861 ac_check_lib_save_LIBS=$LIBS
37862 LIBS="-lsocket $LIBS"
37863 cat >conftest.$ac_ext <<_ACEOF
37864 /* confdefs.h. */
37865 _ACEOF
37866 cat confdefs.h >>conftest.$ac_ext
37867 cat >>conftest.$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37869
37870 /* Override any GCC internal prototype to avoid an error.
37871 Use char because int might match the return type of a GCC
37872 builtin and then its argument prototype would still apply. */
37873 #ifdef __cplusplus
37874 extern "C"
37875 #endif
37876 char inet_addr ();
37877 int
37878 main ()
37879 {
37880 return inet_addr ();
37881 ;
37882 return 0;
37883 }
37884 _ACEOF
37885 rm -f conftest.$ac_objext conftest$ac_exeext
37886 if { (ac_try="$ac_link"
37887 case "(($ac_try" in
37888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37889 *) ac_try_echo=$ac_try;;
37890 esac
37891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37892 (eval "$ac_link") 2>conftest.er1
37893 ac_status=$?
37894 grep -v '^ *+' conftest.er1 >conftest.err
37895 rm -f conftest.er1
37896 cat conftest.err >&5
37897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37898 (exit $ac_status); } && {
37899 test -z "$ac_c_werror_flag" ||
37900 test ! -s conftest.err
37901 } && test -s conftest$ac_exeext &&
37902 $as_test_x conftest$ac_exeext; then
37903 ac_cv_lib_socket_inet_addr=yes
37904 else
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37907
37908 ac_cv_lib_socket_inet_addr=no
37909 fi
37910
37911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37912 conftest$ac_exeext conftest.$ac_ext
37913 LIBS=$ac_check_lib_save_LIBS
37914 fi
37915 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37916 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37917 if test $ac_cv_lib_socket_inet_addr = yes; then
37918 INET_LINK="socket"
37919
37920 fi
37921
37922
37923
37924 fi
37925
37926
37927
37928 fi
37929
37930
37931
37932 fi
37933 done
37934
37935
37936
37937 for ac_func in inet_aton
37938 do
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37971 #ifdef __cplusplus
37972 extern "C"
37973 #endif
37974 char $ac_func ();
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37979 choke me
37980 #endif
37981
37982 int
37983 main ()
37984 {
37985 return $ac_func ();
37986 ;
37987 return 0;
37988 }
37989 _ACEOF
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37995 esac
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37998 ac_status=$?
37999 grep -v '^ *+' conftest.er1 >conftest.err
38000 rm -f conftest.er1
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 eval "$as_ac_var=yes"
38009 else
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 eval "$as_ac_var=no"
38014 fi
38015
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38018 fi
38019 ac_res=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h <<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38025 _ACEOF
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_INET_ATON 1
38028 _ACEOF
38029
38030 else
38031
38032 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38033 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38034 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38035 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 else
38038 ac_check_lib_save_LIBS=$LIBS
38039 LIBS="-l$INET_LINK $LIBS"
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046
38047 /* Override any GCC internal prototype to avoid an error.
38048 Use char because int might match the return type of a GCC
38049 builtin and then its argument prototype would still apply. */
38050 #ifdef __cplusplus
38051 extern "C"
38052 #endif
38053 char inet_aton ();
38054 int
38055 main ()
38056 {
38057 return inet_aton ();
38058 ;
38059 return 0;
38060 }
38061 _ACEOF
38062 rm -f conftest.$ac_objext conftest$ac_exeext
38063 if { (ac_try="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38067 esac
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38070 ac_status=$?
38071 grep -v '^ *+' conftest.er1 >conftest.err
38072 rm -f conftest.er1
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 eval "$as_ac_Lib=yes"
38081 else
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38084
38085 eval "$as_ac_Lib=no"
38086 fi
38087
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38090 LIBS=$ac_check_lib_save_LIBS
38091 fi
38092 ac_res=`eval echo '${'$as_ac_Lib'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38095 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_INET_ATON 1
38098 _ACEOF
38099
38100 fi
38101
38102
38103 fi
38104 done
38105
38106
38107 if test "x$INET_LINK" != "x"; then
38108 cat >>confdefs.h <<\_ACEOF
38109 #define HAVE_INET_ADDR 1
38110 _ACEOF
38111
38112 INET_LINK=" -l$INET_LINK"
38113 fi
38114
38115
38116 for wx_func in fdopen
38117 do
38118 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38119 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38120 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 else
38123
38124 cat >conftest.$ac_ext <<_ACEOF
38125
38126 /* confdefs.h. */
38127 _ACEOF
38128 cat confdefs.h >>conftest.$ac_ext
38129 cat >>conftest.$ac_ext <<_ACEOF
38130 /* end confdefs.h. */
38131
38132
38133 $ac_includes_default
38134
38135 int
38136 main ()
38137 {
38138
38139 #ifndef $wx_func
38140 &$wx_func;
38141 #endif
38142
38143
38144 ;
38145 return 0;
38146 }
38147
38148 _ACEOF
38149 rm -f conftest.$ac_objext conftest$ac_exeext
38150 if { (ac_try="$ac_link"
38151 case "(($ac_try" in
38152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38153 *) ac_try_echo=$ac_try;;
38154 esac
38155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_link") 2>conftest.er1
38157 ac_status=$?
38158 grep -v '^ *+' conftest.er1 >conftest.err
38159 rm -f conftest.er1
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest$ac_exeext &&
38166 $as_test_x conftest$ac_exeext; then
38167 eval wx_cv_func_$wx_func=yes
38168 else
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.$ac_ext >&5
38171
38172 eval wx_cv_func_$wx_func=no
38173 fi
38174
38175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38176 conftest$ac_exeext conftest.$ac_ext
38177
38178 fi
38179 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38180 { echo "$as_me:$LINENO: result: $ac_res" >&5
38181 echo "${ECHO_T}$ac_res" >&6; }
38182
38183 if eval test \$wx_cv_func_$wx_func = yes
38184 then
38185 cat >>confdefs.h <<_ACEOF
38186 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38187 _ACEOF
38188
38189
38190 else
38191 :
38192
38193 fi
38194 done
38195
38196
38197 if test "$wxUSE_TARSTREAM" = "yes"; then
38198
38199 for wx_func in sysconf
38200 do
38201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 else
38206
38207 cat >conftest.$ac_ext <<_ACEOF
38208
38209 /* confdefs.h. */
38210 _ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38214
38215
38216 $ac_includes_default
38217
38218 int
38219 main ()
38220 {
38221
38222 #ifndef $wx_func
38223 &$wx_func;
38224 #endif
38225
38226
38227 ;
38228 return 0;
38229 }
38230
38231 _ACEOF
38232 rm -f conftest.$ac_objext conftest$ac_exeext
38233 if { (ac_try="$ac_link"
38234 case "(($ac_try" in
38235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38236 *) ac_try_echo=$ac_try;;
38237 esac
38238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38239 (eval "$ac_link") 2>conftest.er1
38240 ac_status=$?
38241 grep -v '^ *+' conftest.er1 >conftest.err
38242 rm -f conftest.er1
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } && {
38246 test -z "$ac_c_werror_flag" ||
38247 test ! -s conftest.err
38248 } && test -s conftest$ac_exeext &&
38249 $as_test_x conftest$ac_exeext; then
38250 eval wx_cv_func_$wx_func=yes
38251 else
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38254
38255 eval wx_cv_func_$wx_func=no
38256 fi
38257
38258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38259 conftest$ac_exeext conftest.$ac_ext
38260
38261 fi
38262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38265
38266 if eval test \$wx_cv_func_$wx_func = yes
38267 then
38268 cat >>confdefs.h <<_ACEOF
38269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38270 _ACEOF
38271
38272
38273 else
38274 :
38275
38276 fi
38277 done
38278
38279
38280
38281 for wx_func in getpwuid_r
38282 do
38283 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38284 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38285 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38287 else
38288
38289 cat >conftest.$ac_ext <<_ACEOF
38290
38291 /* confdefs.h. */
38292 _ACEOF
38293 cat confdefs.h >>conftest.$ac_ext
38294 cat >>conftest.$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38296
38297
38298 #define _REENTRANT
38299 #include <pwd.h>
38300
38301 $ac_includes_default
38302
38303 int
38304 main ()
38305 {
38306
38307 #ifndef $wx_func
38308 &$wx_func;
38309 #endif
38310
38311 struct passwd pw, *ppw;
38312 char buf[1024];
38313 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38314
38315
38316 ;
38317 return 0;
38318 }
38319
38320 _ACEOF
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38326 esac
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval wx_cv_func_$wx_func=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 eval wx_cv_func_$wx_func=no
38345 fi
38346
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38349
38350 fi
38351 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38352 { echo "$as_me:$LINENO: result: $ac_res" >&5
38353 echo "${ECHO_T}$ac_res" >&6; }
38354
38355 if eval test \$wx_cv_func_$wx_func = yes
38356 then
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38359 _ACEOF
38360
38361
38362 else
38363 :
38364
38365 fi
38366 done
38367
38368
38369
38370 for wx_func in getgrgid_r
38371 do
38372 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38373 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38374 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 else
38377
38378 cat >conftest.$ac_ext <<_ACEOF
38379
38380 /* confdefs.h. */
38381 _ACEOF
38382 cat confdefs.h >>conftest.$ac_ext
38383 cat >>conftest.$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38385
38386
38387 #define _REENTRANT
38388 #include <grp.h>
38389
38390 $ac_includes_default
38391
38392 int
38393 main ()
38394 {
38395
38396 #ifndef $wx_func
38397 &$wx_func;
38398 #endif
38399
38400 struct group grp, *pgrp;
38401 char buf[1024];
38402 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38403
38404
38405 ;
38406 return 0;
38407 }
38408
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (ac_try="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38415 esac
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38418 ac_status=$?
38419 grep -v '^ *+' conftest.er1 >conftest.err
38420 rm -f conftest.er1
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 eval wx_cv_func_$wx_func=yes
38429 else
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38432
38433 eval wx_cv_func_$wx_func=no
38434 fi
38435
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38438
38439 fi
38440 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38441 { echo "$as_me:$LINENO: result: $ac_res" >&5
38442 echo "${ECHO_T}$ac_res" >&6; }
38443
38444 if eval test \$wx_cv_func_$wx_func = yes
38445 then
38446 cat >>confdefs.h <<_ACEOF
38447 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38448 _ACEOF
38449
38450
38451 else
38452 :
38453
38454 fi
38455 done
38456
38457 fi
38458
38459 fi
38460
38461
38462
38463 cat >confcache <<\_ACEOF
38464 # This file is a shell script that caches the results of configure
38465 # tests run on this system so they can be shared between configure
38466 # scripts and configure runs, see configure's option --config-cache.
38467 # It is not useful on other systems. If it contains results you don't
38468 # want to keep, you may remove or edit it.
38469 #
38470 # config.status only pays attention to the cache file if you give it
38471 # the --recheck option to rerun configure.
38472 #
38473 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38474 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38475 # following values.
38476
38477 _ACEOF
38478
38479 # The following way of writing the cache mishandles newlines in values,
38480 # but we know of no workaround that is simple, portable, and efficient.
38481 # So, we kill variables containing newlines.
38482 # Ultrix sh set writes to stderr and can't be redirected directly,
38483 # and sets the high bit in the cache file unless we assign to the vars.
38484 (
38485 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38486 eval ac_val=\$$ac_var
38487 case $ac_val in #(
38488 *${as_nl}*)
38489 case $ac_var in #(
38490 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38491 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38492 esac
38493 case $ac_var in #(
38494 _ | IFS | as_nl) ;; #(
38495 *) $as_unset $ac_var ;;
38496 esac ;;
38497 esac
38498 done
38499
38500 (set) 2>&1 |
38501 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38502 *${as_nl}ac_space=\ *)
38503 # `set' does not quote correctly, so add quotes (double-quote
38504 # substitution turns \\\\ into \\, and sed turns \\ into \).
38505 sed -n \
38506 "s/'/'\\\\''/g;
38507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38508 ;; #(
38509 *)
38510 # `set' quotes correctly as required by POSIX, so do not add quotes.
38511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38512 ;;
38513 esac |
38514 sort
38515 ) |
38516 sed '
38517 /^ac_cv_env_/b end
38518 t clear
38519 :clear
38520 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38521 t end
38522 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38523 :end' >>confcache
38524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38525 if test -w "$cache_file"; then
38526 test "x$cache_file" != "x/dev/null" &&
38527 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38528 echo "$as_me: updating cache $cache_file" >&6;}
38529 cat confcache >$cache_file
38530 else
38531 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38532 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38533 fi
38534 fi
38535 rm -f confcache
38536
38537
38538 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38539
38540
38541 THREADS_LINK=
38542 THREADS_CFLAGS=
38543
38544 if test "$wxUSE_THREADS" = "yes" ; then
38545 if test "$USE_BEOS" = 1; then
38546 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38547 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38548 wxUSE_THREADS="no"
38549 fi
38550 fi
38551
38552 if test "$wxUSE_THREADS" = "yes" ; then
38553
38554
38555 THREAD_OPTS="-pthread"
38556 if test "x$SUNCXX" = xyes; then
38557 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38558 fi
38559
38560 case "${host}" in
38561 *-*-solaris2* | *-*-sunos4* )
38562 if test "x$GCC" = "xyes"; then
38563 THREAD_OPTS="-pthreads $THREAD_OPTS"
38564 fi
38565 ;;
38566 *-*-freebsd*)
38567 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38568 ;;
38569 *-*-darwin* | *-*-cygwin* )
38570 THREAD_OPTS=""
38571 ;;
38572 *-*-aix*)
38573 THREAD_OPTS="pthreads"
38574 ;;
38575 *-hp-hpux* )
38576 if test "x$GCC" = "xyes"; then
38577 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38578 THREAD_OPTS=""
38579 else
38580 THREAD_OPTS="-mt"
38581 fi
38582 ;;
38583
38584 *-*-irix* )
38585 if test "x$GCC" = "xyes"; then
38586 THREAD_OPTS=""
38587 fi
38588 ;;
38589
38590 *-*-*UnixWare*)
38591 if test "x$GCC" != "xyes"; then
38592 THREAD_OPTS="-Ethread"
38593 fi
38594 ;;
38595 esac
38596
38597 THREAD_OPTS="$THREAD_OPTS pthread none"
38598
38599 THREADS_OK=no
38600 for flag in $THREAD_OPTS; do
38601 case $flag in
38602 none)
38603 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38604 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38605 ;;
38606
38607 -*)
38608 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38609 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38610 THREADS_CFLAGS="$flag"
38611 ;;
38612
38613 *)
38614 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38615 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38616 THREADS_LINK="-l$flag"
38617 ;;
38618 esac
38619
38620 save_LIBS="$LIBS"
38621 save_CFLAGS="$CFLAGS"
38622 LIBS="$THREADS_LINK $LIBS"
38623 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38624
38625 cat >conftest.$ac_ext <<_ACEOF
38626 /* confdefs.h. */
38627 _ACEOF
38628 cat confdefs.h >>conftest.$ac_ext
38629 cat >>conftest.$ac_ext <<_ACEOF
38630 /* end confdefs.h. */
38631 #include <pthread.h>
38632 int
38633 main ()
38634 {
38635 pthread_create(0,0,0,0);
38636 ;
38637 return 0;
38638 }
38639 _ACEOF
38640 rm -f conftest.$ac_objext conftest$ac_exeext
38641 if { (ac_try="$ac_link"
38642 case "(($ac_try" in
38643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38644 *) ac_try_echo=$ac_try;;
38645 esac
38646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38647 (eval "$ac_link") 2>conftest.er1
38648 ac_status=$?
38649 grep -v '^ *+' conftest.er1 >conftest.err
38650 rm -f conftest.er1
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } && {
38654 test -z "$ac_c_werror_flag" ||
38655 test ! -s conftest.err
38656 } && test -s conftest$ac_exeext &&
38657 $as_test_x conftest$ac_exeext; then
38658 THREADS_OK=yes
38659 else
38660 echo "$as_me: failed program was:" >&5
38661 sed 's/^/| /' conftest.$ac_ext >&5
38662
38663
38664 fi
38665
38666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38667 conftest$ac_exeext conftest.$ac_ext
38668
38669 LIBS="$save_LIBS"
38670 CFLAGS="$save_CFLAGS"
38671
38672 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38673 echo "${ECHO_T}$THREADS_OK" >&6; }
38674 if test "x$THREADS_OK" = "xyes"; then
38675 break;
38676 fi
38677
38678 THREADS_LINK=""
38679 THREADS_CFLAGS=""
38680 done
38681
38682 if test "x$THREADS_OK" != "xyes"; then
38683 wxUSE_THREADS=no
38684 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38685 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38686 else
38687 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38688 LIBS="$THREADS_LINK $LIBS"
38689
38690 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38691 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38692 flag=no
38693 case "${host}" in
38694 *-aix*)
38695 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38696 flag="-D_THREAD_SAFE"
38697 ;;
38698 *-freebsd*)
38699 flag="-D_THREAD_SAFE"
38700 ;;
38701 *-hp-hpux* )
38702 flag="-D_REENTRANT"
38703 if test "x$GCC" != "xyes"; then
38704 flag="$flag -D_RWSTD_MULTI_THREAD"
38705 fi
38706 ;;
38707 *solaris* | alpha*-osf*)
38708 flag="-D_REENTRANT"
38709 ;;
38710 esac
38711 { echo "$as_me:$LINENO: result: ${flag}" >&5
38712 echo "${ECHO_T}${flag}" >&6; }
38713 if test "x$flag" != xno; then
38714 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38715 fi
38716
38717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38718 fi
38719 fi
38720
38721 if test "$wxUSE_THREADS" = "yes" ; then
38722
38723 for ac_func in thr_setconcurrency
38724 do
38725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 else
38731 cat >conftest.$ac_ext <<_ACEOF
38732 /* confdefs.h. */
38733 _ACEOF
38734 cat confdefs.h >>conftest.$ac_ext
38735 cat >>conftest.$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38739 #define $ac_func innocuous_$ac_func
38740
38741 /* System header to define __stub macros and hopefully few prototypes,
38742 which can conflict with char $ac_func (); below.
38743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38744 <limits.h> exists even on freestanding compilers. */
38745
38746 #ifdef __STDC__
38747 # include <limits.h>
38748 #else
38749 # include <assert.h>
38750 #endif
38751
38752 #undef $ac_func
38753
38754 /* Override any GCC internal prototype to avoid an error.
38755 Use char because int might match the return type of a GCC
38756 builtin and then its argument prototype would still apply. */
38757 #ifdef __cplusplus
38758 extern "C"
38759 #endif
38760 char $ac_func ();
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined __stub_$ac_func || defined __stub___$ac_func
38765 choke me
38766 #endif
38767
38768 int
38769 main ()
38770 {
38771 return $ac_func ();
38772 ;
38773 return 0;
38774 }
38775 _ACEOF
38776 rm -f conftest.$ac_objext conftest$ac_exeext
38777 if { (ac_try="$ac_link"
38778 case "(($ac_try" in
38779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38780 *) ac_try_echo=$ac_try;;
38781 esac
38782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38783 (eval "$ac_link") 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } && {
38790 test -z "$ac_c_werror_flag" ||
38791 test ! -s conftest.err
38792 } && test -s conftest$ac_exeext &&
38793 $as_test_x conftest$ac_exeext; then
38794 eval "$as_ac_var=yes"
38795 else
38796 echo "$as_me: failed program was:" >&5
38797 sed 's/^/| /' conftest.$ac_ext >&5
38798
38799 eval "$as_ac_var=no"
38800 fi
38801
38802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38803 conftest$ac_exeext conftest.$ac_ext
38804 fi
38805 ac_res=`eval echo '${'$as_ac_var'}'`
38806 { echo "$as_me:$LINENO: result: $ac_res" >&5
38807 echo "${ECHO_T}$ac_res" >&6; }
38808 if test `eval echo '${'$as_ac_var'}'` = yes; then
38809 cat >>confdefs.h <<_ACEOF
38810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38811 _ACEOF
38812
38813 fi
38814 done
38815
38816
38817 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38818 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38819 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38821 else
38822
38823 ac_ext=cpp
38824 ac_cpp='$CXXCPP $CPPFLAGS'
38825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38828
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <pthread.h>
38836 void ThreadCleanupFunc(void *p);
38837
38838 int
38839 main ()
38840 {
38841
38842 void *p;
38843 pthread_cleanup_push(ThreadCleanupFunc, p);
38844 pthread_cleanup_pop(0);
38845
38846 ;
38847 return 0;
38848 }
38849 _ACEOF
38850 rm -f conftest.$ac_objext
38851 if { (ac_try="$ac_compile"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38854 *) ac_try_echo=$ac_try;;
38855 esac
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_compile") 2>conftest.er1
38858 ac_status=$?
38859 grep -v '^ *+' conftest.er1 >conftest.err
38860 rm -f conftest.er1
38861 cat conftest.err >&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_cxx_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest.$ac_objext; then
38867
38868 wx_cv_func_pthread_cleanup=yes
38869
38870 else
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.$ac_ext >&5
38873
38874
38875 wx_cv_func_pthread_cleanup=no
38876
38877
38878 fi
38879
38880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38881 ac_ext=c
38882 ac_cpp='$CPP $CPPFLAGS'
38883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38886
38887
38888 fi
38889 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38890 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38891 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38892 cat >>confdefs.h <<\_ACEOF
38893 #define wxHAVE_PTHREAD_CLEANUP 1
38894 _ACEOF
38895
38896 fi
38897
38898
38899 for ac_header in sched.h
38900 do
38901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38905 echo $ECHO_N "(cached) $ECHO_C" >&6
38906 else
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 $ac_includes_default
38914
38915 #include <$ac_header>
38916 _ACEOF
38917 rm -f conftest.$ac_objext
38918 if { (ac_try="$ac_compile"
38919 case "(($ac_try" in
38920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38921 *) ac_try_echo=$ac_try;;
38922 esac
38923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38924 (eval "$ac_compile") 2>conftest.er1
38925 ac_status=$?
38926 grep -v '^ *+' conftest.er1 >conftest.err
38927 rm -f conftest.er1
38928 cat conftest.err >&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); } && {
38931 test -z "$ac_c_werror_flag" ||
38932 test ! -s conftest.err
38933 } && test -s conftest.$ac_objext; then
38934 eval "$as_ac_Header=yes"
38935 else
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38938
38939 eval "$as_ac_Header=no"
38940 fi
38941
38942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38943 fi
38944 ac_res=`eval echo '${'$as_ac_Header'}'`
38945 { echo "$as_me:$LINENO: result: $ac_res" >&5
38946 echo "${ECHO_T}$ac_res" >&6; }
38947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38948 cat >>confdefs.h <<_ACEOF
38949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38950 _ACEOF
38951
38952 fi
38953
38954 done
38955
38956 if test "$ac_cv_header_sched_h" = "yes"; then
38957 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38958 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38959 if test "${ac_cv_func_sched_yield+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38961 else
38962 cat >conftest.$ac_ext <<_ACEOF
38963 /* confdefs.h. */
38964 _ACEOF
38965 cat confdefs.h >>conftest.$ac_ext
38966 cat >>conftest.$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38970 #define sched_yield innocuous_sched_yield
38971
38972 /* System header to define __stub macros and hopefully few prototypes,
38973 which can conflict with char sched_yield (); below.
38974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38975 <limits.h> exists even on freestanding compilers. */
38976
38977 #ifdef __STDC__
38978 # include <limits.h>
38979 #else
38980 # include <assert.h>
38981 #endif
38982
38983 #undef sched_yield
38984
38985 /* Override any GCC internal prototype to avoid an error.
38986 Use char because int might match the return type of a GCC
38987 builtin and then its argument prototype would still apply. */
38988 #ifdef __cplusplus
38989 extern "C"
38990 #endif
38991 char sched_yield ();
38992 /* The GNU C library defines this for functions which it implements
38993 to always fail with ENOSYS. Some functions are actually named
38994 something starting with __ and the normal name is an alias. */
38995 #if defined __stub_sched_yield || defined __stub___sched_yield
38996 choke me
38997 #endif
38998
38999 int
39000 main ()
39001 {
39002 return sched_yield ();
39003 ;
39004 return 0;
39005 }
39006 _ACEOF
39007 rm -f conftest.$ac_objext conftest$ac_exeext
39008 if { (ac_try="$ac_link"
39009 case "(($ac_try" in
39010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39011 *) ac_try_echo=$ac_try;;
39012 esac
39013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39014 (eval "$ac_link") 2>conftest.er1
39015 ac_status=$?
39016 grep -v '^ *+' conftest.er1 >conftest.err
39017 rm -f conftest.er1
39018 cat conftest.err >&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } && {
39021 test -z "$ac_c_werror_flag" ||
39022 test ! -s conftest.err
39023 } && test -s conftest$ac_exeext &&
39024 $as_test_x conftest$ac_exeext; then
39025 ac_cv_func_sched_yield=yes
39026 else
39027 echo "$as_me: failed program was:" >&5
39028 sed 's/^/| /' conftest.$ac_ext >&5
39029
39030 ac_cv_func_sched_yield=no
39031 fi
39032
39033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39034 conftest$ac_exeext conftest.$ac_ext
39035 fi
39036 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39037 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39038 if test $ac_cv_func_sched_yield = yes; then
39039 cat >>confdefs.h <<\_ACEOF
39040 #define HAVE_SCHED_YIELD 1
39041 _ACEOF
39042
39043 else
39044
39045 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39046 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39047 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050 ac_check_lib_save_LIBS=$LIBS
39051 LIBS="-lposix4 $LIBS"
39052 cat >conftest.$ac_ext <<_ACEOF
39053 /* confdefs.h. */
39054 _ACEOF
39055 cat confdefs.h >>conftest.$ac_ext
39056 cat >>conftest.$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39058
39059 /* Override any GCC internal prototype to avoid an error.
39060 Use char because int might match the return type of a GCC
39061 builtin and then its argument prototype would still apply. */
39062 #ifdef __cplusplus
39063 extern "C"
39064 #endif
39065 char sched_yield ();
39066 int
39067 main ()
39068 {
39069 return sched_yield ();
39070 ;
39071 return 0;
39072 }
39073 _ACEOF
39074 rm -f conftest.$ac_objext conftest$ac_exeext
39075 if { (ac_try="$ac_link"
39076 case "(($ac_try" in
39077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39078 *) ac_try_echo=$ac_try;;
39079 esac
39080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39081 (eval "$ac_link") 2>conftest.er1
39082 ac_status=$?
39083 grep -v '^ *+' conftest.er1 >conftest.err
39084 rm -f conftest.er1
39085 cat conftest.err >&5
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); } && {
39088 test -z "$ac_c_werror_flag" ||
39089 test ! -s conftest.err
39090 } && test -s conftest$ac_exeext &&
39091 $as_test_x conftest$ac_exeext; then
39092 ac_cv_lib_posix4_sched_yield=yes
39093 else
39094 echo "$as_me: failed program was:" >&5
39095 sed 's/^/| /' conftest.$ac_ext >&5
39096
39097 ac_cv_lib_posix4_sched_yield=no
39098 fi
39099
39100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39101 conftest$ac_exeext conftest.$ac_ext
39102 LIBS=$ac_check_lib_save_LIBS
39103 fi
39104 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39105 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39106 if test $ac_cv_lib_posix4_sched_yield = yes; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define HAVE_SCHED_YIELD 1
39109 _ACEOF
39110 POSIX4_LINK=" -lposix4"
39111 else
39112 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39113 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39114
39115 fi
39116
39117
39118
39119 fi
39120
39121 fi
39122
39123 HAVE_PRIOR_FUNCS=0
39124 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39125 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39126 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39128 else
39129 cat >conftest.$ac_ext <<_ACEOF
39130 /* confdefs.h. */
39131 _ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39137 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39138
39139 /* System header to define __stub macros and hopefully few prototypes,
39140 which can conflict with char pthread_attr_getschedpolicy (); below.
39141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39142 <limits.h> exists even on freestanding compilers. */
39143
39144 #ifdef __STDC__
39145 # include <limits.h>
39146 #else
39147 # include <assert.h>
39148 #endif
39149
39150 #undef pthread_attr_getschedpolicy
39151
39152 /* Override any GCC internal prototype to avoid an error.
39153 Use char because int might match the return type of a GCC
39154 builtin and then its argument prototype would still apply. */
39155 #ifdef __cplusplus
39156 extern "C"
39157 #endif
39158 char pthread_attr_getschedpolicy ();
39159 /* The GNU C library defines this for functions which it implements
39160 to always fail with ENOSYS. Some functions are actually named
39161 something starting with __ and the normal name is an alias. */
39162 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39163 choke me
39164 #endif
39165
39166 int
39167 main ()
39168 {
39169 return pthread_attr_getschedpolicy ();
39170 ;
39171 return 0;
39172 }
39173 _ACEOF
39174 rm -f conftest.$ac_objext conftest$ac_exeext
39175 if { (ac_try="$ac_link"
39176 case "(($ac_try" in
39177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39178 *) ac_try_echo=$ac_try;;
39179 esac
39180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39181 (eval "$ac_link") 2>conftest.er1
39182 ac_status=$?
39183 grep -v '^ *+' conftest.er1 >conftest.err
39184 rm -f conftest.er1
39185 cat conftest.err >&5
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); } && {
39188 test -z "$ac_c_werror_flag" ||
39189 test ! -s conftest.err
39190 } && test -s conftest$ac_exeext &&
39191 $as_test_x conftest$ac_exeext; then
39192 ac_cv_func_pthread_attr_getschedpolicy=yes
39193 else
39194 echo "$as_me: failed program was:" >&5
39195 sed 's/^/| /' conftest.$ac_ext >&5
39196
39197 ac_cv_func_pthread_attr_getschedpolicy=no
39198 fi
39199
39200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39201 conftest$ac_exeext conftest.$ac_ext
39202 fi
39203 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39204 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39205 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39206 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39207 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39208 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39209 echo $ECHO_N "(cached) $ECHO_C" >&6
39210 else
39211 cat >conftest.$ac_ext <<_ACEOF
39212 /* confdefs.h. */
39213 _ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39217 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39219 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39220
39221 /* System header to define __stub macros and hopefully few prototypes,
39222 which can conflict with char pthread_attr_setschedparam (); below.
39223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39224 <limits.h> exists even on freestanding compilers. */
39225
39226 #ifdef __STDC__
39227 # include <limits.h>
39228 #else
39229 # include <assert.h>
39230 #endif
39231
39232 #undef pthread_attr_setschedparam
39233
39234 /* Override any GCC internal prototype to avoid an error.
39235 Use char because int might match the return type of a GCC
39236 builtin and then its argument prototype would still apply. */
39237 #ifdef __cplusplus
39238 extern "C"
39239 #endif
39240 char pthread_attr_setschedparam ();
39241 /* The GNU C library defines this for functions which it implements
39242 to always fail with ENOSYS. Some functions are actually named
39243 something starting with __ and the normal name is an alias. */
39244 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39245 choke me
39246 #endif
39247
39248 int
39249 main ()
39250 {
39251 return pthread_attr_setschedparam ();
39252 ;
39253 return 0;
39254 }
39255 _ACEOF
39256 rm -f conftest.$ac_objext conftest$ac_exeext
39257 if { (ac_try="$ac_link"
39258 case "(($ac_try" in
39259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39260 *) ac_try_echo=$ac_try;;
39261 esac
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_link") 2>conftest.er1
39264 ac_status=$?
39265 grep -v '^ *+' conftest.er1 >conftest.err
39266 rm -f conftest.er1
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_c_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest$ac_exeext &&
39273 $as_test_x conftest$ac_exeext; then
39274 ac_cv_func_pthread_attr_setschedparam=yes
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 ac_cv_func_pthread_attr_setschedparam=no
39280 fi
39281
39282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39283 conftest$ac_exeext conftest.$ac_ext
39284 fi
39285 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39286 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39287 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39288 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39289 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39290 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 cat >conftest.$ac_ext <<_ACEOF
39294 /* confdefs.h. */
39295 _ACEOF
39296 cat confdefs.h >>conftest.$ac_ext
39297 cat >>conftest.$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39299 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39301 #define sched_get_priority_max innocuous_sched_get_priority_max
39302
39303 /* System header to define __stub macros and hopefully few prototypes,
39304 which can conflict with char sched_get_priority_max (); below.
39305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39306 <limits.h> exists even on freestanding compilers. */
39307
39308 #ifdef __STDC__
39309 # include <limits.h>
39310 #else
39311 # include <assert.h>
39312 #endif
39313
39314 #undef sched_get_priority_max
39315
39316 /* Override any GCC internal prototype to avoid an error.
39317 Use char because int might match the return type of a GCC
39318 builtin and then its argument prototype would still apply. */
39319 #ifdef __cplusplus
39320 extern "C"
39321 #endif
39322 char sched_get_priority_max ();
39323 /* The GNU C library defines this for functions which it implements
39324 to always fail with ENOSYS. Some functions are actually named
39325 something starting with __ and the normal name is an alias. */
39326 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39327 choke me
39328 #endif
39329
39330 int
39331 main ()
39332 {
39333 return sched_get_priority_max ();
39334 ;
39335 return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext conftest$ac_exeext
39339 if { (ac_try="$ac_link"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39343 esac
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_link") 2>conftest.er1
39346 ac_status=$?
39347 grep -v '^ *+' conftest.er1 >conftest.err
39348 rm -f conftest.er1
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_c_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest$ac_exeext &&
39355 $as_test_x conftest$ac_exeext; then
39356 ac_cv_func_sched_get_priority_max=yes
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 ac_cv_func_sched_get_priority_max=no
39362 fi
39363
39364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39365 conftest$ac_exeext conftest.$ac_ext
39366 fi
39367 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39368 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39369 if test $ac_cv_func_sched_get_priority_max = yes; then
39370 HAVE_PRIOR_FUNCS=1
39371 else
39372 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39373 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39374 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 ac_check_lib_save_LIBS=$LIBS
39378 LIBS="-lposix4 $LIBS"
39379 cat >conftest.$ac_ext <<_ACEOF
39380 /* confdefs.h. */
39381 _ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39389 #ifdef __cplusplus
39390 extern "C"
39391 #endif
39392 char sched_get_priority_max ();
39393 int
39394 main ()
39395 {
39396 return sched_get_priority_max ();
39397 ;
39398 return 0;
39399 }
39400 _ACEOF
39401 rm -f conftest.$ac_objext conftest$ac_exeext
39402 if { (ac_try="$ac_link"
39403 case "(($ac_try" in
39404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39405 *) ac_try_echo=$ac_try;;
39406 esac
39407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39408 (eval "$ac_link") 2>conftest.er1
39409 ac_status=$?
39410 grep -v '^ *+' conftest.er1 >conftest.err
39411 rm -f conftest.er1
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } && {
39415 test -z "$ac_c_werror_flag" ||
39416 test ! -s conftest.err
39417 } && test -s conftest$ac_exeext &&
39418 $as_test_x conftest$ac_exeext; then
39419 ac_cv_lib_posix4_sched_get_priority_max=yes
39420 else
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39423
39424 ac_cv_lib_posix4_sched_get_priority_max=no
39425 fi
39426
39427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39428 conftest$ac_exeext conftest.$ac_ext
39429 LIBS=$ac_check_lib_save_LIBS
39430 fi
39431 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39432 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39433 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39434
39435 HAVE_PRIOR_FUNCS=1
39436 POSIX4_LINK=" -lposix4"
39437
39438 fi
39439
39440
39441 fi
39442
39443
39444 fi
39445
39446
39447 fi
39448
39449
39450 if test "$HAVE_PRIOR_FUNCS" = 1; then
39451 cat >>confdefs.h <<\_ACEOF
39452 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39453 _ACEOF
39454
39455 else
39456 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39457 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39458 fi
39459
39460 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39461 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39462 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39464 else
39465 cat >conftest.$ac_ext <<_ACEOF
39466 /* confdefs.h. */
39467 _ACEOF
39468 cat confdefs.h >>conftest.$ac_ext
39469 cat >>conftest.$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39471 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39473 #define pthread_cancel innocuous_pthread_cancel
39474
39475 /* System header to define __stub macros and hopefully few prototypes,
39476 which can conflict with char pthread_cancel (); below.
39477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39478 <limits.h> exists even on freestanding compilers. */
39479
39480 #ifdef __STDC__
39481 # include <limits.h>
39482 #else
39483 # include <assert.h>
39484 #endif
39485
39486 #undef pthread_cancel
39487
39488 /* Override any GCC internal prototype to avoid an error.
39489 Use char because int might match the return type of a GCC
39490 builtin and then its argument prototype would still apply. */
39491 #ifdef __cplusplus
39492 extern "C"
39493 #endif
39494 char pthread_cancel ();
39495 /* The GNU C library defines this for functions which it implements
39496 to always fail with ENOSYS. Some functions are actually named
39497 something starting with __ and the normal name is an alias. */
39498 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39499 choke me
39500 #endif
39501
39502 int
39503 main ()
39504 {
39505 return pthread_cancel ();
39506 ;
39507 return 0;
39508 }
39509 _ACEOF
39510 rm -f conftest.$ac_objext conftest$ac_exeext
39511 if { (ac_try="$ac_link"
39512 case "(($ac_try" in
39513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39514 *) ac_try_echo=$ac_try;;
39515 esac
39516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39517 (eval "$ac_link") 2>conftest.er1
39518 ac_status=$?
39519 grep -v '^ *+' conftest.er1 >conftest.err
39520 rm -f conftest.er1
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } && {
39524 test -z "$ac_c_werror_flag" ||
39525 test ! -s conftest.err
39526 } && test -s conftest$ac_exeext &&
39527 $as_test_x conftest$ac_exeext; then
39528 ac_cv_func_pthread_cancel=yes
39529 else
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39532
39533 ac_cv_func_pthread_cancel=no
39534 fi
39535
39536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39537 conftest$ac_exeext conftest.$ac_ext
39538 fi
39539 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39540 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39541 if test $ac_cv_func_pthread_cancel = yes; then
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_PTHREAD_CANCEL 1
39544 _ACEOF
39545
39546 else
39547 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39548 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39549 fi
39550
39551
39552 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39553 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39554 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39556 else
39557 cat >conftest.$ac_ext <<_ACEOF
39558 /* confdefs.h. */
39559 _ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39566
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char pthread_mutex_timedlock (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39571
39572 #ifdef __STDC__
39573 # include <limits.h>
39574 #else
39575 # include <assert.h>
39576 #endif
39577
39578 #undef pthread_mutex_timedlock
39579
39580 /* Override any GCC internal prototype to avoid an error.
39581 Use char because int might match the return type of a GCC
39582 builtin and then its argument prototype would still apply. */
39583 #ifdef __cplusplus
39584 extern "C"
39585 #endif
39586 char pthread_mutex_timedlock ();
39587 /* The GNU C library defines this for functions which it implements
39588 to always fail with ENOSYS. Some functions are actually named
39589 something starting with __ and the normal name is an alias. */
39590 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39591 choke me
39592 #endif
39593
39594 int
39595 main ()
39596 {
39597 return pthread_mutex_timedlock ();
39598 ;
39599 return 0;
39600 }
39601 _ACEOF
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (ac_try="$ac_link"
39604 case "(($ac_try" in
39605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39606 *) ac_try_echo=$ac_try;;
39607 esac
39608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39609 (eval "$ac_link") 2>conftest.er1
39610 ac_status=$?
39611 grep -v '^ *+' conftest.er1 >conftest.err
39612 rm -f conftest.er1
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } && {
39616 test -z "$ac_c_werror_flag" ||
39617 test ! -s conftest.err
39618 } && test -s conftest$ac_exeext &&
39619 $as_test_x conftest$ac_exeext; then
39620 ac_cv_func_pthread_mutex_timedlock=yes
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39624
39625 ac_cv_func_pthread_mutex_timedlock=no
39626 fi
39627
39628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39629 conftest$ac_exeext conftest.$ac_ext
39630 fi
39631 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39632 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39633 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39634 cat >>confdefs.h <<\_ACEOF
39635 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39636 _ACEOF
39637
39638 else
39639 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39640 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39641 fi
39642
39643
39644 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39645 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 else
39649 cat >conftest.$ac_ext <<_ACEOF
39650 /* confdefs.h. */
39651 _ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39658
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char pthread_attr_setstacksize (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39663
39664 #ifdef __STDC__
39665 # include <limits.h>
39666 #else
39667 # include <assert.h>
39668 #endif
39669
39670 #undef pthread_attr_setstacksize
39671
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39675 #ifdef __cplusplus
39676 extern "C"
39677 #endif
39678 char pthread_attr_setstacksize ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39683 choke me
39684 #endif
39685
39686 int
39687 main ()
39688 {
39689 return pthread_attr_setstacksize ();
39690 ;
39691 return 0;
39692 }
39693 _ACEOF
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39699 esac
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_pthread_attr_setstacksize=yes
39713 else
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39716
39717 ac_cv_func_pthread_attr_setstacksize=no
39718 fi
39719
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39722 fi
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39724 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39725 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39728 _ACEOF
39729
39730 fi
39731
39732
39733
39734 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39735 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39736 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39738 else
39739
39740 cat >conftest.$ac_ext <<_ACEOF
39741 /* confdefs.h. */
39742 _ACEOF
39743 cat confdefs.h >>conftest.$ac_ext
39744 cat >>conftest.$ac_ext <<_ACEOF
39745 /* end confdefs.h. */
39746 #include <pthread.h>
39747 int
39748 main ()
39749 {
39750
39751 pthread_mutexattr_t attr;
39752 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39753
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 rm -f conftest.$ac_objext
39759 if { (ac_try="$ac_compile"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39763 esac
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_compile") 2>conftest.er1
39766 ac_status=$?
39767 grep -v '^ *+' conftest.er1 >conftest.err
39768 rm -f conftest.er1
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest.$ac_objext; then
39775 wx_cv_type_pthread_mutexattr_t=yes
39776 else
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39779
39780 wx_cv_type_pthread_mutexattr_t=no
39781
39782 fi
39783
39784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39785
39786 fi
39787 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39788 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39789
39790 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39791 cat >>confdefs.h <<\_ACEOF
39792 #define HAVE_PTHREAD_MUTEXATTR_T 1
39793 _ACEOF
39794
39795
39796 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39797 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39798 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39800 else
39801
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 #include <pthread.h>
39809 int
39810 main ()
39811 {
39812
39813 pthread_mutexattr_t attr;
39814 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39815
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39825 esac
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39828 ac_status=$?
39829 grep -v '^ *+' conftest.er1 >conftest.err
39830 rm -f conftest.er1
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 wx_cv_func_pthread_mutexattr_settype_decl=yes
39838 else
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842 wx_cv_func_pthread_mutexattr_settype_decl=no
39843
39844 fi
39845
39846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39847
39848 fi
39849 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39850 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39851 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39854 _ACEOF
39855
39856 fi
39857 else
39858 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39859 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39860 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39862 else
39863
39864 cat >conftest.$ac_ext <<_ACEOF
39865 /* confdefs.h. */
39866 _ACEOF
39867 cat confdefs.h >>conftest.$ac_ext
39868 cat >>conftest.$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 #include <pthread.h>
39871 int
39872 main ()
39873 {
39874
39875 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39876
39877 ;
39878 return 0;
39879 }
39880 _ACEOF
39881 rm -f conftest.$ac_objext
39882 if { (ac_try="$ac_compile"
39883 case "(($ac_try" in
39884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39885 *) ac_try_echo=$ac_try;;
39886 esac
39887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39888 (eval "$ac_compile") 2>conftest.er1
39889 ac_status=$?
39890 grep -v '^ *+' conftest.er1 >conftest.err
39891 rm -f conftest.er1
39892 cat conftest.err >&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); } && {
39895 test -z "$ac_c_werror_flag" ||
39896 test ! -s conftest.err
39897 } && test -s conftest.$ac_objext; then
39898
39899 wx_cv_type_pthread_rec_mutex_init=yes
39900
39901 else
39902 echo "$as_me: failed program was:" >&5
39903 sed 's/^/| /' conftest.$ac_ext >&5
39904
39905
39906 wx_cv_type_pthread_rec_mutex_init=no
39907
39908
39909 fi
39910
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912
39913 fi
39914 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39915 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39916 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39917 cat >>confdefs.h <<\_ACEOF
39918 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39919 _ACEOF
39920
39921 else
39922 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39923 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39924 fi
39925 fi
39926
39927 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
39928 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
39929 if test "${wx_cv_cc___thread+set}" = set; then
39930 echo $ECHO_N "(cached) $ECHO_C" >&6
39931 else
39932
39933 cat >conftest.$ac_ext <<_ACEOF
39934 /* confdefs.h. */
39935 _ACEOF
39936 cat confdefs.h >>conftest.$ac_ext
39937 cat >>conftest.$ac_ext <<_ACEOF
39938 /* end confdefs.h. */
39939 #include <pthread.h>
39940 int
39941 main ()
39942 {
39943
39944 static __thread int n = 0;
39945 static __thread int *p = 0;
39946
39947 ;
39948 return 0;
39949 }
39950 _ACEOF
39951 rm -f conftest.$ac_objext
39952 if { (ac_try="$ac_compile"
39953 case "(($ac_try" in
39954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39955 *) ac_try_echo=$ac_try;;
39956 esac
39957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39958 (eval "$ac_compile") 2>conftest.er1
39959 ac_status=$?
39960 grep -v '^ *+' conftest.er1 >conftest.err
39961 rm -f conftest.er1
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } && {
39965 test -z "$ac_c_werror_flag" ||
39966 test ! -s conftest.err
39967 } && test -s conftest.$ac_objext; then
39968 wx_cv_cc___thread=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 wx_cv_cc___thread=no
39974
39975 fi
39976
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978
39979 fi
39980 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
39981 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
39982
39983 if test "$wx_cv_cc___thread" = "yes"; then
39984 cat >>confdefs.h <<\_ACEOF
39985 #define HAVE___THREAD_KEYWORD 1
39986 _ACEOF
39987
39988 fi
39989 fi
39990
39991 else
39992 if test "$wxUSE_THREADS" = "yes" ; then
39993 case "${host}" in
39994 x86_64-*-mingw32* )
39995 ;;
39996 *-*-mingw32* )
39997 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39998 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39999 if test "${wx_cv_cflags_mthread+set}" = set; then
40000 echo $ECHO_N "(cached) $ECHO_C" >&6
40001 else
40002
40003 CFLAGS_OLD="$CFLAGS"
40004 CFLAGS="-mthreads $CFLAGS"
40005 cat >conftest.$ac_ext <<_ACEOF
40006 /* confdefs.h. */
40007 _ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011
40012 int
40013 main ()
40014 {
40015
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 rm -f conftest.$ac_objext
40021 if { (ac_try="$ac_compile"
40022 case "(($ac_try" in
40023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40024 *) ac_try_echo=$ac_try;;
40025 esac
40026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40027 (eval "$ac_compile") 2>conftest.er1
40028 ac_status=$?
40029 grep -v '^ *+' conftest.er1 >conftest.err
40030 rm -f conftest.er1
40031 cat conftest.err >&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } && {
40034 test -z "$ac_c_werror_flag" ||
40035 test ! -s conftest.err
40036 } && test -s conftest.$ac_objext; then
40037 wx_cv_cflags_mthread=yes
40038 else
40039 echo "$as_me: failed program was:" >&5
40040 sed 's/^/| /' conftest.$ac_ext >&5
40041
40042 wx_cv_cflags_mthread=no
40043
40044 fi
40045
40046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40047
40048
40049 fi
40050 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40051 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40052
40053 if test "$wx_cv_cflags_mthread" = "yes"; then
40054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40055 LDFLAGS="$LDFLAGS -mthreads"
40056 else
40057 CFLAGS="$CFLAGS_OLD"
40058 fi
40059 ;;
40060 *-pc-os2*emx )
40061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40062 LDFLAGS="$LDFLAGS -Zmt"
40063 ;;
40064 esac
40065 fi
40066 fi
40067
40068 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40069 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40070 if test "${ac_cv_func_localtime_r+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40073 cat >conftest.$ac_ext <<_ACEOF
40074 /* confdefs.h. */
40075 _ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define localtime_r innocuous_localtime_r
40082
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char localtime_r (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40087
40088 #ifdef __STDC__
40089 # include <limits.h>
40090 #else
40091 # include <assert.h>
40092 #endif
40093
40094 #undef localtime_r
40095
40096 /* Override any GCC internal prototype to avoid an error.
40097 Use char because int might match the return type of a GCC
40098 builtin and then its argument prototype would still apply. */
40099 #ifdef __cplusplus
40100 extern "C"
40101 #endif
40102 char localtime_r ();
40103 /* The GNU C library defines this for functions which it implements
40104 to always fail with ENOSYS. Some functions are actually named
40105 something starting with __ and the normal name is an alias. */
40106 #if defined __stub_localtime_r || defined __stub___localtime_r
40107 choke me
40108 #endif
40109
40110 int
40111 main ()
40112 {
40113 return localtime_r ();
40114 ;
40115 return 0;
40116 }
40117 _ACEOF
40118 rm -f conftest.$ac_objext conftest$ac_exeext
40119 if { (ac_try="$ac_link"
40120 case "(($ac_try" in
40121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40122 *) ac_try_echo=$ac_try;;
40123 esac
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_link") 2>conftest.er1
40126 ac_status=$?
40127 grep -v '^ *+' conftest.er1 >conftest.err
40128 rm -f conftest.er1
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest$ac_exeext &&
40135 $as_test_x conftest$ac_exeext; then
40136 ac_cv_func_localtime_r=yes
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141 ac_cv_func_localtime_r=no
40142 fi
40143
40144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40145 conftest$ac_exeext conftest.$ac_ext
40146 fi
40147 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40148 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40149 if test $ac_cv_func_localtime_r = yes; then
40150 cat >>confdefs.h <<\_ACEOF
40151 #define HAVE_LOCALTIME_R 1
40152 _ACEOF
40153
40154 fi
40155
40156 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40157 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40158 if test "${ac_cv_func_gmtime_r+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40160 else
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40169 #define gmtime_r innocuous_gmtime_r
40170
40171 /* System header to define __stub macros and hopefully few prototypes,
40172 which can conflict with char gmtime_r (); below.
40173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40174 <limits.h> exists even on freestanding compilers. */
40175
40176 #ifdef __STDC__
40177 # include <limits.h>
40178 #else
40179 # include <assert.h>
40180 #endif
40181
40182 #undef gmtime_r
40183
40184 /* Override any GCC internal prototype to avoid an error.
40185 Use char because int might match the return type of a GCC
40186 builtin and then its argument prototype would still apply. */
40187 #ifdef __cplusplus
40188 extern "C"
40189 #endif
40190 char gmtime_r ();
40191 /* The GNU C library defines this for functions which it implements
40192 to always fail with ENOSYS. Some functions are actually named
40193 something starting with __ and the normal name is an alias. */
40194 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40195 choke me
40196 #endif
40197
40198 int
40199 main ()
40200 {
40201 return gmtime_r ();
40202 ;
40203 return 0;
40204 }
40205 _ACEOF
40206 rm -f conftest.$ac_objext conftest$ac_exeext
40207 if { (ac_try="$ac_link"
40208 case "(($ac_try" in
40209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40210 *) ac_try_echo=$ac_try;;
40211 esac
40212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40213 (eval "$ac_link") 2>conftest.er1
40214 ac_status=$?
40215 grep -v '^ *+' conftest.er1 >conftest.err
40216 rm -f conftest.er1
40217 cat conftest.err >&5
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } && {
40220 test -z "$ac_c_werror_flag" ||
40221 test ! -s conftest.err
40222 } && test -s conftest$ac_exeext &&
40223 $as_test_x conftest$ac_exeext; then
40224 ac_cv_func_gmtime_r=yes
40225 else
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.$ac_ext >&5
40228
40229 ac_cv_func_gmtime_r=no
40230 fi
40231
40232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40233 conftest$ac_exeext conftest.$ac_ext
40234 fi
40235 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40236 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40237 if test $ac_cv_func_gmtime_r = yes; then
40238 cat >>confdefs.h <<\_ACEOF
40239 #define HAVE_GMTIME_R 1
40240 _ACEOF
40241
40242 fi
40243
40244
40245
40246
40247 ac_ext=c
40248 ac_cpp='$CPP $CPPFLAGS'
40249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40252
40253 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40254 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40255
40256 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40257 echo $ECHO_N "(cached) $ECHO_C" >&6
40258 else
40259
40260
40261 ################################################################
40262
40263 ac_cv_func_which_gethostbyname_r=unknown
40264
40265 #
40266 # ONE ARGUMENT (sanity check)
40267 #
40268
40269 # This should fail, as there is no variant of gethostbyname_r() that takes
40270 # a single argument. If it actually compiles, then we can assume that
40271 # netdb.h is not declaring the function, and the compiler is thereby
40272 # assuming an implicit prototype. In which case, we're out of luck.
40273 #
40274 cat >conftest.$ac_ext <<_ACEOF
40275 /* confdefs.h. */
40276 _ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 #include <netdb.h>
40281 int
40282 main ()
40283 {
40284
40285 char *name = "www.gnu.org";
40286 (void)gethostbyname_r(name) /* ; */
40287
40288 ;
40289 return 0;
40290 }
40291 _ACEOF
40292 rm -f conftest.$ac_objext
40293 if { (ac_try="$ac_compile"
40294 case "(($ac_try" in
40295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40296 *) ac_try_echo=$ac_try;;
40297 esac
40298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40299 (eval "$ac_compile") 2>conftest.er1
40300 ac_status=$?
40301 grep -v '^ *+' conftest.er1 >conftest.err
40302 rm -f conftest.er1
40303 cat conftest.err >&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); } && {
40306 test -z "$ac_c_werror_flag" ||
40307 test ! -s conftest.err
40308 } && test -s conftest.$ac_objext; then
40309 ac_cv_func_which_gethostbyname_r=no
40310 else
40311 echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40313
40314
40315 fi
40316
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40318
40319 #
40320 # SIX ARGUMENTS
40321 # (e.g. Linux)
40322 #
40323
40324 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40325
40326 cat >conftest.$ac_ext <<_ACEOF
40327 /* confdefs.h. */
40328 _ACEOF
40329 cat confdefs.h >>conftest.$ac_ext
40330 cat >>conftest.$ac_ext <<_ACEOF
40331 /* end confdefs.h. */
40332 #include <netdb.h>
40333 int
40334 main ()
40335 {
40336
40337 char *name = "www.gnu.org";
40338 struct hostent ret, *retp;
40339 char buf[1024];
40340 int buflen = 1024;
40341 int my_h_errno;
40342 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40343
40344 ;
40345 return 0;
40346 }
40347 _ACEOF
40348 rm -f conftest.$ac_objext
40349 if { (ac_try="$ac_compile"
40350 case "(($ac_try" in
40351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40352 *) ac_try_echo=$ac_try;;
40353 esac
40354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40355 (eval "$ac_compile") 2>conftest.er1
40356 ac_status=$?
40357 grep -v '^ *+' conftest.er1 >conftest.err
40358 rm -f conftest.er1
40359 cat conftest.err >&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } && {
40362 test -z "$ac_c_werror_flag" ||
40363 test ! -s conftest.err
40364 } && test -s conftest.$ac_objext; then
40365 ac_cv_func_which_gethostbyname_r=six
40366 else
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40369
40370
40371 fi
40372
40373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40374
40375 fi
40376
40377 #
40378 # FIVE ARGUMENTS
40379 # (e.g. Solaris)
40380 #
40381
40382 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40383
40384 cat >conftest.$ac_ext <<_ACEOF
40385 /* confdefs.h. */
40386 _ACEOF
40387 cat confdefs.h >>conftest.$ac_ext
40388 cat >>conftest.$ac_ext <<_ACEOF
40389 /* end confdefs.h. */
40390 #include <netdb.h>
40391 int
40392 main ()
40393 {
40394
40395 char *name = "www.gnu.org";
40396 struct hostent ret;
40397 char buf[1024];
40398 int buflen = 1024;
40399 int my_h_errno;
40400 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40401
40402 ;
40403 return 0;
40404 }
40405 _ACEOF
40406 rm -f conftest.$ac_objext
40407 if { (ac_try="$ac_compile"
40408 case "(($ac_try" in
40409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40410 *) ac_try_echo=$ac_try;;
40411 esac
40412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40413 (eval "$ac_compile") 2>conftest.er1
40414 ac_status=$?
40415 grep -v '^ *+' conftest.er1 >conftest.err
40416 rm -f conftest.er1
40417 cat conftest.err >&5
40418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40419 (exit $ac_status); } && {
40420 test -z "$ac_c_werror_flag" ||
40421 test ! -s conftest.err
40422 } && test -s conftest.$ac_objext; then
40423 ac_cv_func_which_gethostbyname_r=five
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428
40429 fi
40430
40431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40432
40433 fi
40434
40435 #
40436 # THREE ARGUMENTS
40437 # (e.g. AIX, HP-UX, Tru64)
40438 #
40439
40440 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40441
40442 cat >conftest.$ac_ext <<_ACEOF
40443 /* confdefs.h. */
40444 _ACEOF
40445 cat confdefs.h >>conftest.$ac_ext
40446 cat >>conftest.$ac_ext <<_ACEOF
40447 /* end confdefs.h. */
40448 #include <netdb.h>
40449 int
40450 main ()
40451 {
40452
40453 char *name = "www.gnu.org";
40454 struct hostent ret;
40455 struct hostent_data data;
40456 (void)gethostbyname_r(name, &ret, &data) /* ; */
40457
40458 ;
40459 return 0;
40460 }
40461 _ACEOF
40462 rm -f conftest.$ac_objext
40463 if { (ac_try="$ac_compile"
40464 case "(($ac_try" in
40465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40466 *) ac_try_echo=$ac_try;;
40467 esac
40468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40469 (eval "$ac_compile") 2>conftest.er1
40470 ac_status=$?
40471 grep -v '^ *+' conftest.er1 >conftest.err
40472 rm -f conftest.er1
40473 cat conftest.err >&5
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); } && {
40476 test -z "$ac_c_werror_flag" ||
40477 test ! -s conftest.err
40478 } && test -s conftest.$ac_objext; then
40479 ac_cv_func_which_gethostbyname_r=three
40480 else
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.$ac_ext >&5
40483
40484
40485 fi
40486
40487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40488
40489 fi
40490
40491 ################################################################
40492
40493
40494 fi
40495
40496 case "$ac_cv_func_which_gethostbyname_r" in
40497 three)
40498 { echo "$as_me:$LINENO: result: three" >&5
40499 echo "${ECHO_T}three" >&6; }
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40502 _ACEOF
40503
40504 ;;
40505
40506 five)
40507 { echo "$as_me:$LINENO: result: five" >&5
40508 echo "${ECHO_T}five" >&6; }
40509 cat >>confdefs.h <<\_ACEOF
40510 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40511 _ACEOF
40512
40513 ;;
40514
40515 six)
40516 { echo "$as_me:$LINENO: result: six" >&5
40517 echo "${ECHO_T}six" >&6; }
40518 cat >>confdefs.h <<\_ACEOF
40519 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40520 _ACEOF
40521
40522 ;;
40523
40524 no)
40525 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40526 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40527 ;;
40528
40529 unknown)
40530 { echo "$as_me:$LINENO: result: can't tell" >&5
40531 echo "${ECHO_T}can't tell" >&6; }
40532 ;;
40533
40534 *)
40535 { { echo "$as_me:$LINENO: error: internal error" >&5
40536 echo "$as_me: error: internal error" >&2;}
40537 { (exit 1); exit 1; }; }
40538 ;;
40539 esac
40540
40541 ac_ext=c
40542 ac_cpp='$CPP $CPPFLAGS'
40543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40546
40547
40548
40549 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40550 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40551 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40552 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40553 if test "${ac_cv_func_gethostbyname+set}" = set; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 else
40556 cat >conftest.$ac_ext <<_ACEOF
40557 /* confdefs.h. */
40558 _ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40564 #define gethostbyname innocuous_gethostbyname
40565
40566 /* System header to define __stub macros and hopefully few prototypes,
40567 which can conflict with char gethostbyname (); below.
40568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40569 <limits.h> exists even on freestanding compilers. */
40570
40571 #ifdef __STDC__
40572 # include <limits.h>
40573 #else
40574 # include <assert.h>
40575 #endif
40576
40577 #undef gethostbyname
40578
40579 /* Override any GCC internal prototype to avoid an error.
40580 Use char because int might match the return type of a GCC
40581 builtin and then its argument prototype would still apply. */
40582 #ifdef __cplusplus
40583 extern "C"
40584 #endif
40585 char gethostbyname ();
40586 /* The GNU C library defines this for functions which it implements
40587 to always fail with ENOSYS. Some functions are actually named
40588 something starting with __ and the normal name is an alias. */
40589 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40590 choke me
40591 #endif
40592
40593 int
40594 main ()
40595 {
40596 return gethostbyname ();
40597 ;
40598 return 0;
40599 }
40600 _ACEOF
40601 rm -f conftest.$ac_objext conftest$ac_exeext
40602 if { (ac_try="$ac_link"
40603 case "(($ac_try" in
40604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40605 *) ac_try_echo=$ac_try;;
40606 esac
40607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40608 (eval "$ac_link") 2>conftest.er1
40609 ac_status=$?
40610 grep -v '^ *+' conftest.er1 >conftest.err
40611 rm -f conftest.er1
40612 cat conftest.err >&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } && {
40615 test -z "$ac_c_werror_flag" ||
40616 test ! -s conftest.err
40617 } && test -s conftest$ac_exeext &&
40618 $as_test_x conftest$ac_exeext; then
40619 ac_cv_func_gethostbyname=yes
40620 else
40621 echo "$as_me: failed program was:" >&5
40622 sed 's/^/| /' conftest.$ac_ext >&5
40623
40624 ac_cv_func_gethostbyname=no
40625 fi
40626
40627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40628 conftest$ac_exeext conftest.$ac_ext
40629 fi
40630 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40631 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40632 if test $ac_cv_func_gethostbyname = yes; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define HAVE_GETHOSTBYNAME 1
40635 _ACEOF
40636
40637 fi
40638
40639 fi
40640
40641 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40642 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40643 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40644 echo $ECHO_N "(cached) $ECHO_C" >&6
40645 else
40646
40647 ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653
40654 cat >conftest.$ac_ext <<_ACEOF
40655 /* confdefs.h. */
40656 _ACEOF
40657 cat confdefs.h >>conftest.$ac_ext
40658 cat >>conftest.$ac_ext <<_ACEOF
40659 /* end confdefs.h. */
40660 #include <netdb.h>
40661 int
40662 main ()
40663 {
40664
40665 char *name;
40666 char *proto;
40667 struct servent *se, *res;
40668 char buffer[2048];
40669 int buflen = 2048;
40670 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
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_cxx_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest.$ac_objext; then
40693 ac_cv_func_which_getservbyname_r=six
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40697
40698
40699 cat >conftest.$ac_ext <<_ACEOF
40700 /* confdefs.h. */
40701 _ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h. */
40705 #include <netdb.h>
40706 int
40707 main ()
40708 {
40709
40710 char *name;
40711 char *proto;
40712 struct servent *se;
40713 char buffer[2048];
40714 int buflen = 2048;
40715 (void) getservbyname_r(name, proto, se, buffer, buflen)
40716
40717 ;
40718 return 0;
40719 }
40720 _ACEOF
40721 rm -f conftest.$ac_objext
40722 if { (ac_try="$ac_compile"
40723 case "(($ac_try" in
40724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40725 *) ac_try_echo=$ac_try;;
40726 esac
40727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40728 (eval "$ac_compile") 2>conftest.er1
40729 ac_status=$?
40730 grep -v '^ *+' conftest.er1 >conftest.err
40731 rm -f conftest.er1
40732 cat conftest.err >&5
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); } && {
40735 test -z "$ac_cxx_werror_flag" ||
40736 test ! -s conftest.err
40737 } && test -s conftest.$ac_objext; then
40738 ac_cv_func_which_getservbyname_r=five
40739 else
40740 echo "$as_me: failed program was:" >&5
40741 sed 's/^/| /' conftest.$ac_ext >&5
40742
40743
40744 cat >conftest.$ac_ext <<_ACEOF
40745 /* confdefs.h. */
40746 _ACEOF
40747 cat confdefs.h >>conftest.$ac_ext
40748 cat >>conftest.$ac_ext <<_ACEOF
40749 /* end confdefs.h. */
40750 #include <netdb.h>
40751 int
40752 main ()
40753 {
40754
40755 char *name;
40756 char *proto;
40757 struct servent *se;
40758 struct servent_data data;
40759 (void) getservbyname_r(name, proto, se, &data);
40760
40761 ;
40762 return 0;
40763 }
40764 _ACEOF
40765 rm -f conftest.$ac_objext
40766 if { (ac_try="$ac_compile"
40767 case "(($ac_try" in
40768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40769 *) ac_try_echo=$ac_try;;
40770 esac
40771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40772 (eval "$ac_compile") 2>conftest.er1
40773 ac_status=$?
40774 grep -v '^ *+' conftest.er1 >conftest.err
40775 rm -f conftest.er1
40776 cat conftest.err >&5
40777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778 (exit $ac_status); } && {
40779 test -z "$ac_cxx_werror_flag" ||
40780 test ! -s conftest.err
40781 } && test -s conftest.$ac_objext; then
40782 ac_cv_func_which_getservbyname_r=four
40783 else
40784 echo "$as_me: failed program was:" >&5
40785 sed 's/^/| /' conftest.$ac_ext >&5
40786
40787 ac_cv_func_which_getservbyname_r=no
40788
40789 fi
40790
40791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40792
40793
40794 fi
40795
40796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40797
40798
40799 fi
40800
40801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40802 ac_ext=c
40803 ac_cpp='$CPP $CPPFLAGS'
40804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40807
40808
40809
40810 fi
40811 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40812 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40813
40814 if test $ac_cv_func_which_getservbyname_r = six; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40817 _ACEOF
40818
40819 elif test $ac_cv_func_which_getservbyname_r = five; then
40820 cat >>confdefs.h <<\_ACEOF
40821 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40822 _ACEOF
40823
40824 elif test $ac_cv_func_which_getservbyname_r = four; then
40825 cat >>confdefs.h <<\_ACEOF
40826 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40827 _ACEOF
40828
40829 fi
40830
40831
40832 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40833 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40834
40835 for ac_func in getservbyname
40836 do
40837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40840 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40842 else
40843 cat >conftest.$ac_ext <<_ACEOF
40844 /* confdefs.h. */
40845 _ACEOF
40846 cat confdefs.h >>conftest.$ac_ext
40847 cat >>conftest.$ac_ext <<_ACEOF
40848 /* end confdefs.h. */
40849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40851 #define $ac_func innocuous_$ac_func
40852
40853 /* System header to define __stub macros and hopefully few prototypes,
40854 which can conflict with char $ac_func (); below.
40855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40856 <limits.h> exists even on freestanding compilers. */
40857
40858 #ifdef __STDC__
40859 # include <limits.h>
40860 #else
40861 # include <assert.h>
40862 #endif
40863
40864 #undef $ac_func
40865
40866 /* Override any GCC internal prototype to avoid an error.
40867 Use char because int might match the return type of a GCC
40868 builtin and then its argument prototype would still apply. */
40869 #ifdef __cplusplus
40870 extern "C"
40871 #endif
40872 char $ac_func ();
40873 /* The GNU C library defines this for functions which it implements
40874 to always fail with ENOSYS. Some functions are actually named
40875 something starting with __ and the normal name is an alias. */
40876 #if defined __stub_$ac_func || defined __stub___$ac_func
40877 choke me
40878 #endif
40879
40880 int
40881 main ()
40882 {
40883 return $ac_func ();
40884 ;
40885 return 0;
40886 }
40887 _ACEOF
40888 rm -f conftest.$ac_objext conftest$ac_exeext
40889 if { (ac_try="$ac_link"
40890 case "(($ac_try" in
40891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40892 *) ac_try_echo=$ac_try;;
40893 esac
40894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40895 (eval "$ac_link") 2>conftest.er1
40896 ac_status=$?
40897 grep -v '^ *+' conftest.er1 >conftest.err
40898 rm -f conftest.er1
40899 cat conftest.err >&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); } && {
40902 test -z "$ac_c_werror_flag" ||
40903 test ! -s conftest.err
40904 } && test -s conftest$ac_exeext &&
40905 $as_test_x conftest$ac_exeext; then
40906 eval "$as_ac_var=yes"
40907 else
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40910
40911 eval "$as_ac_var=no"
40912 fi
40913
40914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40915 conftest$ac_exeext conftest.$ac_ext
40916 fi
40917 ac_res=`eval echo '${'$as_ac_var'}'`
40918 { echo "$as_me:$LINENO: result: $ac_res" >&5
40919 echo "${ECHO_T}$ac_res" >&6; }
40920 if test `eval echo '${'$as_ac_var'}'` = yes; then
40921 cat >>confdefs.h <<_ACEOF
40922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40923 _ACEOF
40924 cat >>confdefs.h <<\_ACEOF
40925 #define HAVE_GETSERVBYNAME 1
40926 _ACEOF
40927
40928 fi
40929 done
40930
40931 fi
40932
40933 if test "$wxUSE_THREADS" = "yes"; then
40934 cat >>confdefs.h <<\_ACEOF
40935 #define wxUSE_THREADS 1
40936 _ACEOF
40937
40938
40939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40940 else
40941 if test "$wx_cv_func_strtok_r" = "yes"; then
40942 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40943 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40944 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40945 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40946 { echo "$as_me:$LINENO: result: yes" >&5
40947 echo "${ECHO_T}yes" >&6; }
40948 else
40949 { echo "$as_me:$LINENO: result: no" >&5
40950 echo "${ECHO_T}no" >&6; }
40951 fi
40952 fi
40953 fi
40954
40955 if test "$WXGTK2" = 1 ; then
40956 cat >>confdefs.h <<_ACEOF
40957 #define __WXGTK20__ $WXGTK2
40958 _ACEOF
40959
40960 WXGTK12=1
40961 fi
40962
40963 if test "$WXGTK12" = 1 ; then
40964 cat >>confdefs.h <<_ACEOF
40965 #define __WXGTK12__ $WXGTK12
40966 _ACEOF
40967
40968 fi
40969
40970 if test "$WXGTK127" = 1 ; then
40971 cat >>confdefs.h <<_ACEOF
40972 #define __WXGTK127__ $WXGTK127
40973 _ACEOF
40974
40975 fi
40976
40977 if test "$WXGPE" = 1 ; then
40978 cat >>confdefs.h <<_ACEOF
40979 #define __WXGPE__ $WXGPE
40980 _ACEOF
40981
40982 fi
40983
40984 DEBUG_CFLAGS=
40985 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40986 DEBUG_CFLAGS="-g"
40987 fi
40988
40989 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40990 wxUSE_DEBUG_INFO=yes
40991 if test "$GCC" = yes; then
40992 DEBUG_CFLAGS="-ggdb"
40993 fi
40994 fi
40995
40996 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40997 cat >>confdefs.h <<\_ACEOF
40998 #define WXDEBUG 1
40999 _ACEOF
41000
41001 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41002 else
41003 if test "$wxUSE_GTK" = 1 ; then
41004 if test "x$wxGTK_VERSION" = "x1" ; then
41005 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41006 fi
41007 fi
41008 fi
41009
41010 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41011 cat >>confdefs.h <<\_ACEOF
41012 #define wxUSE_MEMORY_TRACING 1
41013 _ACEOF
41014
41015 cat >>confdefs.h <<\_ACEOF
41016 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41017 _ACEOF
41018
41019 cat >>confdefs.h <<\_ACEOF
41020 #define wxUSE_DEBUG_NEW_ALWAYS 1
41021 _ACEOF
41022
41023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41024 fi
41025
41026 if test "$wxUSE_DMALLOC" = "yes" ; then
41027 DMALLOC_LIBS="-ldmallocthcxx"
41028 fi
41029
41030 PROFILE_FLAGS=
41031 if test "$wxUSE_PROFILE" = "yes" ; then
41032 PROFILE_FLAGS=" -pg"
41033 fi
41034
41035 if test "$GCC" = "yes" ; then
41036 if test "$wxUSE_NO_RTTI" = "yes" ; then
41037 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41038 fi
41039 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41040 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41041 fi
41042 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41043 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41044 fi
41045
41046 case "${host}" in
41047 powerpc*-*-aix* )
41048 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41049 ;;
41050 *-hppa* )
41051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41052 ;;
41053 esac
41054 fi
41055
41056 OPTIMISE_CFLAGS=
41057 if test "$wxUSE_OPTIMISE" = "no" ; then
41058 if test "$GCC" = yes ; then
41059 OPTIMISE_CFLAGS="-O0"
41060 fi
41061 else
41062 if test "$GCC" = yes ; then
41063 case "${host}" in
41064 *-pc-os2_emx | *-pc-os2-emx )
41065 OPTIMISE_CFLAGS="-O2"
41066 ;;
41067 *)
41068 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41069 ;;
41070 esac
41071 else
41072 OPTIMISE_CFLAGS="-O"
41073 fi
41074 fi
41075
41076
41077 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41078 cat >>confdefs.h <<\_ACEOF
41079 #define WXWIN_COMPATIBILITY_2_6 1
41080 _ACEOF
41081
41082
41083 WXWIN_COMPATIBILITY_2_8="yes"
41084 fi
41085
41086 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41087 cat >>confdefs.h <<\_ACEOF
41088 #define WXWIN_COMPATIBILITY_2_8 1
41089 _ACEOF
41090
41091 fi
41092
41093
41094 if test "$wxUSE_GUI" = "yes"; then
41095 cat >>confdefs.h <<\_ACEOF
41096 #define wxUSE_GUI 1
41097 _ACEOF
41098
41099
41100 fi
41101
41102
41103 if test "$wxUSE_UNIX" = "yes"; then
41104 cat >>confdefs.h <<\_ACEOF
41105 #define wxUSE_UNIX 1
41106 _ACEOF
41107
41108 fi
41109
41110
41111 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41112
41113 HAVE_DL_FUNCS=0
41114 HAVE_SHL_FUNCS=0
41115 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41116 if test "$USE_DOS" = 1; then
41117 HAVE_DL_FUNCS=0
41118 else
41119
41120 for ac_func in dlopen
41121 do
41122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41126 echo $ECHO_N "(cached) $ECHO_C" >&6
41127 else
41128 cat >conftest.$ac_ext <<_ACEOF
41129 /* confdefs.h. */
41130 _ACEOF
41131 cat confdefs.h >>conftest.$ac_ext
41132 cat >>conftest.$ac_ext <<_ACEOF
41133 /* end confdefs.h. */
41134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41136 #define $ac_func innocuous_$ac_func
41137
41138 /* System header to define __stub macros and hopefully few prototypes,
41139 which can conflict with char $ac_func (); below.
41140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41141 <limits.h> exists even on freestanding compilers. */
41142
41143 #ifdef __STDC__
41144 # include <limits.h>
41145 #else
41146 # include <assert.h>
41147 #endif
41148
41149 #undef $ac_func
41150
41151 /* Override any GCC internal prototype to avoid an error.
41152 Use char because int might match the return type of a GCC
41153 builtin and then its argument prototype would still apply. */
41154 #ifdef __cplusplus
41155 extern "C"
41156 #endif
41157 char $ac_func ();
41158 /* The GNU C library defines this for functions which it implements
41159 to always fail with ENOSYS. Some functions are actually named
41160 something starting with __ and the normal name is an alias. */
41161 #if defined __stub_$ac_func || defined __stub___$ac_func
41162 choke me
41163 #endif
41164
41165 int
41166 main ()
41167 {
41168 return $ac_func ();
41169 ;
41170 return 0;
41171 }
41172 _ACEOF
41173 rm -f conftest.$ac_objext conftest$ac_exeext
41174 if { (ac_try="$ac_link"
41175 case "(($ac_try" in
41176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41177 *) ac_try_echo=$ac_try;;
41178 esac
41179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41180 (eval "$ac_link") 2>conftest.er1
41181 ac_status=$?
41182 grep -v '^ *+' conftest.er1 >conftest.err
41183 rm -f conftest.er1
41184 cat conftest.err >&5
41185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41186 (exit $ac_status); } && {
41187 test -z "$ac_c_werror_flag" ||
41188 test ! -s conftest.err
41189 } && test -s conftest$ac_exeext &&
41190 $as_test_x conftest$ac_exeext; then
41191 eval "$as_ac_var=yes"
41192 else
41193 echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.$ac_ext >&5
41195
41196 eval "$as_ac_var=no"
41197 fi
41198
41199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41200 conftest$ac_exeext conftest.$ac_ext
41201 fi
41202 ac_res=`eval echo '${'$as_ac_var'}'`
41203 { echo "$as_me:$LINENO: result: $ac_res" >&5
41204 echo "${ECHO_T}$ac_res" >&6; }
41205 if test `eval echo '${'$as_ac_var'}'` = yes; then
41206 cat >>confdefs.h <<_ACEOF
41207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41208 _ACEOF
41209
41210 cat >>confdefs.h <<\_ACEOF
41211 #define HAVE_DLOPEN 1
41212 _ACEOF
41213
41214 HAVE_DL_FUNCS=1
41215
41216 else
41217
41218 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41219 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41220 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41222 else
41223 ac_check_lib_save_LIBS=$LIBS
41224 LIBS="-ldl $LIBS"
41225 cat >conftest.$ac_ext <<_ACEOF
41226 /* confdefs.h. */
41227 _ACEOF
41228 cat confdefs.h >>conftest.$ac_ext
41229 cat >>conftest.$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231
41232 /* Override any GCC internal prototype to avoid an error.
41233 Use char because int might match the return type of a GCC
41234 builtin and then its argument prototype would still apply. */
41235 #ifdef __cplusplus
41236 extern "C"
41237 #endif
41238 char dlopen ();
41239 int
41240 main ()
41241 {
41242 return dlopen ();
41243 ;
41244 return 0;
41245 }
41246 _ACEOF
41247 rm -f conftest.$ac_objext conftest$ac_exeext
41248 if { (ac_try="$ac_link"
41249 case "(($ac_try" in
41250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41252 esac
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_link") 2>conftest.er1
41255 ac_status=$?
41256 grep -v '^ *+' conftest.er1 >conftest.err
41257 rm -f conftest.er1
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest$ac_exeext &&
41264 $as_test_x conftest$ac_exeext; then
41265 ac_cv_lib_dl_dlopen=yes
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 ac_cv_lib_dl_dlopen=no
41271 fi
41272
41273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41274 conftest$ac_exeext conftest.$ac_ext
41275 LIBS=$ac_check_lib_save_LIBS
41276 fi
41277 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41278 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41279 if test $ac_cv_lib_dl_dlopen = yes; then
41280
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_DLOPEN 1
41283 _ACEOF
41284
41285 HAVE_DL_FUNCS=1
41286 DL_LINK=" -ldl$DL_LINK"
41287
41288 else
41289
41290
41291 for ac_func in shl_load
41292 do
41293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41298 else
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41308
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41313
41314 #ifdef __STDC__
41315 # include <limits.h>
41316 #else
41317 # include <assert.h>
41318 #endif
41319
41320 #undef $ac_func
41321
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41325 #ifdef __cplusplus
41326 extern "C"
41327 #endif
41328 char $ac_func ();
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41333 choke me
41334 #endif
41335
41336 int
41337 main ()
41338 {
41339 return $ac_func ();
41340 ;
41341 return 0;
41342 }
41343 _ACEOF
41344 rm -f conftest.$ac_objext conftest$ac_exeext
41345 if { (ac_try="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41348 *) ac_try_echo=$ac_try;;
41349 esac
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41352 ac_status=$?
41353 grep -v '^ *+' conftest.er1 >conftest.err
41354 rm -f conftest.er1
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } && {
41358 test -z "$ac_c_werror_flag" ||
41359 test ! -s conftest.err
41360 } && test -s conftest$ac_exeext &&
41361 $as_test_x conftest$ac_exeext; then
41362 eval "$as_ac_var=yes"
41363 else
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41366
41367 eval "$as_ac_var=no"
41368 fi
41369
41370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41371 conftest$ac_exeext conftest.$ac_ext
41372 fi
41373 ac_res=`eval echo '${'$as_ac_var'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41376 if test `eval echo '${'$as_ac_var'}'` = yes; then
41377 cat >>confdefs.h <<_ACEOF
41378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41379 _ACEOF
41380
41381 cat >>confdefs.h <<\_ACEOF
41382 #define HAVE_SHL_LOAD 1
41383 _ACEOF
41384
41385 HAVE_SHL_FUNCS=1
41386
41387 else
41388
41389 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41390 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41391 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41392 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 else
41394 ac_check_lib_save_LIBS=$LIBS
41395 LIBS="-lshl_load $LIBS"
41396 cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h. */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402
41403 /* Override any GCC internal prototype to avoid an error.
41404 Use char because int might match the return type of a GCC
41405 builtin and then its argument prototype would still apply. */
41406 #ifdef __cplusplus
41407 extern "C"
41408 #endif
41409 char dld ();
41410 int
41411 main ()
41412 {
41413 return dld ();
41414 ;
41415 return 0;
41416 }
41417 _ACEOF
41418 rm -f conftest.$ac_objext conftest$ac_exeext
41419 if { (ac_try="$ac_link"
41420 case "(($ac_try" in
41421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41422 *) ac_try_echo=$ac_try;;
41423 esac
41424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41425 (eval "$ac_link") 2>conftest.er1
41426 ac_status=$?
41427 grep -v '^ *+' conftest.er1 >conftest.err
41428 rm -f conftest.er1
41429 cat conftest.err >&5
41430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431 (exit $ac_status); } && {
41432 test -z "$ac_c_werror_flag" ||
41433 test ! -s conftest.err
41434 } && test -s conftest$ac_exeext &&
41435 $as_test_x conftest$ac_exeext; then
41436 ac_cv_lib_shl_load_dld=yes
41437 else
41438 echo "$as_me: failed program was:" >&5
41439 sed 's/^/| /' conftest.$ac_ext >&5
41440
41441 ac_cv_lib_shl_load_dld=no
41442 fi
41443
41444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41445 conftest$ac_exeext conftest.$ac_ext
41446 LIBS=$ac_check_lib_save_LIBS
41447 fi
41448 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41449 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41450 if test $ac_cv_lib_shl_load_dld = yes; then
41451
41452 HAVE_SHL_FUNCS=1
41453 DL_LINK=" -ldld$DL_LINK"
41454
41455 fi
41456
41457
41458 fi
41459 done
41460
41461
41462 fi
41463
41464
41465 fi
41466 done
41467
41468
41469 if test "$HAVE_DL_FUNCS" = 1; then
41470
41471 for ac_func in dlerror
41472 do
41473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479 cat >conftest.$ac_ext <<_ACEOF
41480 /* confdefs.h. */
41481 _ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41487 #define $ac_func innocuous_$ac_func
41488
41489 /* System header to define __stub macros and hopefully few prototypes,
41490 which can conflict with char $ac_func (); below.
41491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41492 <limits.h> exists even on freestanding compilers. */
41493
41494 #ifdef __STDC__
41495 # include <limits.h>
41496 #else
41497 # include <assert.h>
41498 #endif
41499
41500 #undef $ac_func
41501
41502 /* Override any GCC internal prototype to avoid an error.
41503 Use char because int might match the return type of a GCC
41504 builtin and then its argument prototype would still apply. */
41505 #ifdef __cplusplus
41506 extern "C"
41507 #endif
41508 char $ac_func ();
41509 /* The GNU C library defines this for functions which it implements
41510 to always fail with ENOSYS. Some functions are actually named
41511 something starting with __ and the normal name is an alias. */
41512 #if defined __stub_$ac_func || defined __stub___$ac_func
41513 choke me
41514 #endif
41515
41516 int
41517 main ()
41518 {
41519 return $ac_func ();
41520 ;
41521 return 0;
41522 }
41523 _ACEOF
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (ac_try="$ac_link"
41526 case "(($ac_try" in
41527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41528 *) ac_try_echo=$ac_try;;
41529 esac
41530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41531 (eval "$ac_link") 2>conftest.er1
41532 ac_status=$?
41533 grep -v '^ *+' conftest.er1 >conftest.err
41534 rm -f conftest.er1
41535 cat conftest.err >&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } && {
41538 test -z "$ac_c_werror_flag" ||
41539 test ! -s conftest.err
41540 } && test -s conftest$ac_exeext &&
41541 $as_test_x conftest$ac_exeext; then
41542 eval "$as_ac_var=yes"
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41546
41547 eval "$as_ac_var=no"
41548 fi
41549
41550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41551 conftest$ac_exeext conftest.$ac_ext
41552 fi
41553 ac_res=`eval echo '${'$as_ac_var'}'`
41554 { echo "$as_me:$LINENO: result: $ac_res" >&5
41555 echo "${ECHO_T}$ac_res" >&6; }
41556 if test `eval echo '${'$as_ac_var'}'` = yes; then
41557 cat >>confdefs.h <<_ACEOF
41558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41559 _ACEOF
41560 cat >>confdefs.h <<\_ACEOF
41561 #define HAVE_DLERROR 1
41562 _ACEOF
41563
41564 else
41565
41566 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41567 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41568 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41569 echo $ECHO_N "(cached) $ECHO_C" >&6
41570 else
41571 ac_check_lib_save_LIBS=$LIBS
41572 LIBS="-ldl $LIBS"
41573 cat >conftest.$ac_ext <<_ACEOF
41574 /* confdefs.h. */
41575 _ACEOF
41576 cat confdefs.h >>conftest.$ac_ext
41577 cat >>conftest.$ac_ext <<_ACEOF
41578 /* end confdefs.h. */
41579
41580 /* Override any GCC internal prototype to avoid an error.
41581 Use char because int might match the return type of a GCC
41582 builtin and then its argument prototype would still apply. */
41583 #ifdef __cplusplus
41584 extern "C"
41585 #endif
41586 char dlerror ();
41587 int
41588 main ()
41589 {
41590 return dlerror ();
41591 ;
41592 return 0;
41593 }
41594 _ACEOF
41595 rm -f conftest.$ac_objext conftest$ac_exeext
41596 if { (ac_try="$ac_link"
41597 case "(($ac_try" in
41598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41599 *) ac_try_echo=$ac_try;;
41600 esac
41601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41602 (eval "$ac_link") 2>conftest.er1
41603 ac_status=$?
41604 grep -v '^ *+' conftest.er1 >conftest.err
41605 rm -f conftest.er1
41606 cat conftest.err >&5
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); } && {
41609 test -z "$ac_c_werror_flag" ||
41610 test ! -s conftest.err
41611 } && test -s conftest$ac_exeext &&
41612 $as_test_x conftest$ac_exeext; then
41613 ac_cv_lib_dl_dlerror=yes
41614 else
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41617
41618 ac_cv_lib_dl_dlerror=no
41619 fi
41620
41621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41622 conftest$ac_exeext conftest.$ac_ext
41623 LIBS=$ac_check_lib_save_LIBS
41624 fi
41625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41626 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41627 if test $ac_cv_lib_dl_dlerror = yes; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define HAVE_DLERROR 1
41630 _ACEOF
41631
41632 fi
41633
41634
41635
41636 fi
41637 done
41638
41639 fi
41640 fi
41641
41642 if test "$USE_DARWIN" = 1; then
41643 HAVE_DL_FUNCS=1
41644 fi
41645
41646 if test "$HAVE_DL_FUNCS" = 0; then
41647 if test "$HAVE_SHL_FUNCS" = 0; then
41648 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41649 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41650 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41651 wxUSE_DYNAMIC_LOADER=no
41652 wxUSE_DYNLIB_CLASS=no
41653 else
41654 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41655 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41656 fi
41657 fi
41658 fi
41659 fi
41660 fi
41661
41662 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41663 cat >>confdefs.h <<\_ACEOF
41664 #define wxUSE_DYNAMIC_LOADER 1
41665 _ACEOF
41666
41667 fi
41668 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41669 cat >>confdefs.h <<\_ACEOF
41670 #define wxUSE_DYNLIB_CLASS 1
41671 _ACEOF
41672
41673 fi
41674
41675
41676
41677 if test "$wxUSE_PLUGINS" = "yes" ; then
41678 if test "$wxUSE_SHARED" = "no" ; then
41679 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41680 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41681 wxUSE_PLUGINS=no
41682 fi
41683 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41684 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41685 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41686 wxUSE_PLUGINS=no
41687 fi
41688 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41689 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41690 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41691 wxUSE_PLUGINS=no
41692 fi
41693 if test "$wxUSE_PLUGINS" = "yes" ; then
41694 cat >>confdefs.h <<\_ACEOF
41695 #define wxUSE_PLUGINS 1
41696 _ACEOF
41697
41698 fi
41699 fi
41700
41701
41702 if test "$wxUSE_STL" = "yes"; then
41703 cat >>confdefs.h <<\_ACEOF
41704 #define wxUSE_STL 1
41705 _ACEOF
41706
41707 fi
41708
41709 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_EXTENDED_RTTI 1
41712 _ACEOF
41713
41714 fi
41715
41716 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxUSE_APPLE_IEEE 1
41719 _ACEOF
41720
41721 fi
41722
41723 if test "$wxUSE_TIMER" = "yes"; then
41724 cat >>confdefs.h <<\_ACEOF
41725 #define wxUSE_TIMER 1
41726 _ACEOF
41727
41728 fi
41729
41730 if test "$USE_UNIX" = 1 ; then
41731 if test "$wxUSE_MGL" != 1; then
41732 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41733 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41734 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41736 else
41737
41738 cat >conftest.$ac_ext <<_ACEOF
41739 /* confdefs.h. */
41740 _ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41744
41745 #include <sys/ioctl.h>
41746 #include <sys/soundcard.h>
41747
41748 int
41749 main ()
41750 {
41751
41752 ioctl(0, SNDCTL_DSP_SPEED, 0);
41753
41754 ;
41755 return 0;
41756 }
41757 _ACEOF
41758 rm -f conftest.$ac_objext conftest$ac_exeext
41759 if { (ac_try="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41763 esac
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>conftest.er1
41766 ac_status=$?
41767 grep -v '^ *+' conftest.er1 >conftest.err
41768 rm -f conftest.er1
41769 cat conftest.err >&5
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); } && {
41772 test -z "$ac_c_werror_flag" ||
41773 test ! -s conftest.err
41774 } && test -s conftest$ac_exeext &&
41775 $as_test_x conftest$ac_exeext; then
41776 ac_cv_header_sys_soundcard=yes
41777 else
41778 echo "$as_me: failed program was:" >&5
41779 sed 's/^/| /' conftest.$ac_ext >&5
41780
41781
41782 saveLibs="$LIBS"
41783 LIBS="$saveLibs -lossaudio"
41784 cat >conftest.$ac_ext <<_ACEOF
41785 /* confdefs.h. */
41786 _ACEOF
41787 cat confdefs.h >>conftest.$ac_ext
41788 cat >>conftest.$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41790
41791 #include <sys/ioctl.h>
41792 #include <sys/soundcard.h>
41793
41794 int
41795 main ()
41796 {
41797
41798 ioctl(0, SNDCTL_DSP_SPEED, 0);
41799
41800 ;
41801 return 0;
41802 }
41803 _ACEOF
41804 rm -f conftest.$ac_objext conftest$ac_exeext
41805 if { (ac_try="$ac_link"
41806 case "(($ac_try" in
41807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41808 *) ac_try_echo=$ac_try;;
41809 esac
41810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41811 (eval "$ac_link") 2>conftest.er1
41812 ac_status=$?
41813 grep -v '^ *+' conftest.er1 >conftest.err
41814 rm -f conftest.er1
41815 cat conftest.err >&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); } && {
41818 test -z "$ac_c_werror_flag" ||
41819 test ! -s conftest.err
41820 } && test -s conftest$ac_exeext &&
41821 $as_test_x conftest$ac_exeext; then
41822 ac_cv_header_sys_soundcard=yes
41823 else
41824 echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41826
41827
41828 LIBS="$saveLibs"
41829 ac_cv_header_sys_soundcard=no
41830
41831
41832 fi
41833
41834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41835 conftest$ac_exeext conftest.$ac_ext
41836
41837
41838 fi
41839
41840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41841 conftest$ac_exeext conftest.$ac_ext
41842
41843 fi
41844 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41845 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41846 fi
41847
41848 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41849 cat >>confdefs.h <<\_ACEOF
41850 #define HAVE_SYS_SOUNDCARD_H 1
41851 _ACEOF
41852
41853 fi
41854 fi
41855
41856 WITH_PLUGIN_SDL=0
41857 if test "$wxUSE_SOUND" = "yes"; then
41858 if test "$USE_UNIX" = 1 ; then
41859 if test "$wxUSE_LIBSDL" != "no"; then
41860
41861 # Check whether --with-sdl-prefix was given.
41862 if test "${with_sdl_prefix+set}" = set; then
41863 withval=$with_sdl_prefix; sdl_prefix="$withval"
41864 else
41865 sdl_prefix=""
41866 fi
41867
41868
41869 # Check whether --with-sdl-exec-prefix was given.
41870 if test "${with_sdl_exec_prefix+set}" = set; then
41871 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41872 else
41873 sdl_exec_prefix=""
41874 fi
41875
41876 # Check whether --enable-sdltest was given.
41877 if test "${enable_sdltest+set}" = set; then
41878 enableval=$enable_sdltest;
41879 else
41880 enable_sdltest=yes
41881 fi
41882
41883
41884 if test x$sdl_exec_prefix != x ; then
41885 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41886 if test x${SDL_CONFIG+set} != xset ; then
41887 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41888 fi
41889 fi
41890 if test x$sdl_prefix != x ; then
41891 sdl_args="$sdl_args --prefix=$sdl_prefix"
41892 if test x${SDL_CONFIG+set} != xset ; then
41893 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41894 fi
41895 fi
41896
41897 if test "x$prefix" != xNONE; then
41898 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41899 fi
41900 # Extract the first word of "sdl-config", so it can be a program name with args.
41901 set dummy sdl-config; ac_word=$2
41902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41904 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41905 echo $ECHO_N "(cached) $ECHO_C" >&6
41906 else
41907 case $SDL_CONFIG in
41908 [\\/]* | ?:[\\/]*)
41909 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41910 ;;
41911 *)
41912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41913 for as_dir in $PATH
41914 do
41915 IFS=$as_save_IFS
41916 test -z "$as_dir" && as_dir=.
41917 for ac_exec_ext in '' $ac_executable_extensions; do
41918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41919 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41921 break 2
41922 fi
41923 done
41924 done
41925 IFS=$as_save_IFS
41926
41927 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41928 ;;
41929 esac
41930 fi
41931 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41932 if test -n "$SDL_CONFIG"; then
41933 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41934 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41935 else
41936 { echo "$as_me:$LINENO: result: no" >&5
41937 echo "${ECHO_T}no" >&6; }
41938 fi
41939
41940
41941 min_sdl_version=1.2.0
41942 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41943 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41944 no_sdl=""
41945 if test "$SDL_CONFIG" = "no" ; then
41946 no_sdl=yes
41947 else
41948 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41949 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41950
41951 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41953 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41955 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41957 if test "x$enable_sdltest" = "xyes" ; then
41958 ac_save_CFLAGS="$CFLAGS"
41959 ac_save_CXXFLAGS="$CXXFLAGS"
41960 ac_save_LIBS="$LIBS"
41961 CFLAGS="$CFLAGS $SDL_CFLAGS"
41962 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41963 LIBS="$LIBS $SDL_LIBS"
41964 rm -f conf.sdltest
41965 if test "$cross_compiling" = yes; then
41966 echo $ac_n "cross compiling; assumed OK... $ac_c"
41967 else
41968 cat >conftest.$ac_ext <<_ACEOF
41969 /* confdefs.h. */
41970 _ACEOF
41971 cat confdefs.h >>conftest.$ac_ext
41972 cat >>conftest.$ac_ext <<_ACEOF
41973 /* end confdefs.h. */
41974
41975 #include <stdio.h>
41976 #include <stdlib.h>
41977 #include <string.h>
41978 #include "SDL.h"
41979
41980 char*
41981 my_strdup (char *str)
41982 {
41983 char *new_str;
41984
41985 if (str)
41986 {
41987 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41988 strcpy (new_str, str);
41989 }
41990 else
41991 new_str = NULL;
41992
41993 return new_str;
41994 }
41995
41996 int main (int argc, char *argv[])
41997 {
41998 int major, minor, micro;
41999 char *tmp_version;
42000
42001 /* This hangs on some systems (?)
42002 system ("touch conf.sdltest");
42003 */
42004 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42005
42006 /* HP/UX 9 (%@#!) writes to sscanf strings */
42007 tmp_version = my_strdup("$min_sdl_version");
42008 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42009 printf("%s, bad version string\n", "$min_sdl_version");
42010 exit(1);
42011 }
42012
42013 if (($sdl_major_version > major) ||
42014 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42015 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42016 {
42017 return 0;
42018 }
42019 else
42020 {
42021 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42022 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42023 printf("*** best to upgrade to the required version.\n");
42024 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42025 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42026 printf("*** config.cache before re-running configure\n");
42027 return 1;
42028 }
42029 }
42030
42031
42032 _ACEOF
42033 rm -f conftest$ac_exeext
42034 if { (ac_try="$ac_link"
42035 case "(($ac_try" in
42036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42037 *) ac_try_echo=$ac_try;;
42038 esac
42039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42040 (eval "$ac_link") 2>&5
42041 ac_status=$?
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42044 { (case "(($ac_try" in
42045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42046 *) ac_try_echo=$ac_try;;
42047 esac
42048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42049 (eval "$ac_try") 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 :
42054 else
42055 echo "$as_me: program exited with status $ac_status" >&5
42056 echo "$as_me: failed program was:" >&5
42057 sed 's/^/| /' conftest.$ac_ext >&5
42058
42059 ( exit $ac_status )
42060 no_sdl=yes
42061 fi
42062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42063 fi
42064
42065
42066 CFLAGS="$ac_save_CFLAGS"
42067 CXXFLAGS="$ac_save_CXXFLAGS"
42068 LIBS="$ac_save_LIBS"
42069 fi
42070 fi
42071 if test "x$no_sdl" = x ; then
42072 { echo "$as_me:$LINENO: result: yes" >&5
42073 echo "${ECHO_T}yes" >&6; }
42074
42075 EXTRALIBS_SDL="$SDL_LIBS"
42076 CFLAGS="$SDL_CFLAGS $CFLAGS"
42077 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42078 cat >>confdefs.h <<\_ACEOF
42079 #define wxUSE_LIBSDL 1
42080 _ACEOF
42081
42082
42083 else
42084 { echo "$as_me:$LINENO: result: no" >&5
42085 echo "${ECHO_T}no" >&6; }
42086 if test "$SDL_CONFIG" = "no" ; then
42087 echo "*** The sdl-config script installed by SDL could not be found"
42088 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42089 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42090 echo "*** full path to sdl-config."
42091 else
42092 if test -f conf.sdltest ; then
42093 :
42094 else
42095 echo "*** Could not run SDL test program, checking why..."
42096 CFLAGS="$CFLAGS $SDL_CFLAGS"
42097 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42098 LIBS="$LIBS $SDL_LIBS"
42099 cat >conftest.$ac_ext <<_ACEOF
42100 /* confdefs.h. */
42101 _ACEOF
42102 cat confdefs.h >>conftest.$ac_ext
42103 cat >>conftest.$ac_ext <<_ACEOF
42104 /* end confdefs.h. */
42105
42106 #include <stdio.h>
42107 #include "SDL.h"
42108
42109 int main(int argc, char *argv[])
42110 { return 0; }
42111 #undef main
42112 #define main K_and_R_C_main
42113
42114 int
42115 main ()
42116 {
42117 return 0;
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42127 esac
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42130 ac_status=$?
42131 grep -v '^ *+' conftest.er1 >conftest.err
42132 rm -f conftest.er1
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 echo "*** The test program compiled, but did not run. This usually means"
42141 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42142 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42143 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42144 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42145 echo "*** is required on your system"
42146 echo "***"
42147 echo "*** If you have an old version installed, it is best to remove it, although"
42148 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42149 else
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.$ac_ext >&5
42152
42153 echo "*** The test program failed to compile or link. See the file config.log for the"
42154 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42155 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42156 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42157 fi
42158
42159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42160 conftest$ac_exeext conftest.$ac_ext
42161 CFLAGS="$ac_save_CFLAGS"
42162 CXXFLAGS="$ac_save_CXXFLAGS"
42163 LIBS="$ac_save_LIBS"
42164 fi
42165 fi
42166 SDL_CFLAGS=""
42167 SDL_LIBS=""
42168 wxUSE_LIBSDL="no"
42169 fi
42170
42171
42172 rm -f conf.sdltest
42173
42174 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42175 WITH_PLUGIN_SDL=1
42176 fi
42177 fi
42178 else
42179 if test "$wxUSE_MGL" = 1; then
42180 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42181 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42182 wxUSE_SOUND="no"
42183 fi
42184 fi
42185 fi
42186
42187 if test "$wxUSE_SOUND" = "yes"; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_SOUND 1
42190 _ACEOF
42191
42192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42193 fi
42194
42195 if test "$WXGTK2" = 1; then
42196
42197
42198 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42199 if test -n "$ac_tool_prefix"; then
42200 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42201 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42204 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207 case $PKG_CONFIG in
42208 [\\/]* | ?:[\\/]*)
42209 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42210 ;;
42211 *)
42212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42213 for as_dir in $PATH
42214 do
42215 IFS=$as_save_IFS
42216 test -z "$as_dir" && as_dir=.
42217 for ac_exec_ext in '' $ac_executable_extensions; do
42218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42219 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42221 break 2
42222 fi
42223 done
42224 done
42225 IFS=$as_save_IFS
42226
42227 ;;
42228 esac
42229 fi
42230 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42231 if test -n "$PKG_CONFIG"; then
42232 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42233 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42234 else
42235 { echo "$as_me:$LINENO: result: no" >&5
42236 echo "${ECHO_T}no" >&6; }
42237 fi
42238
42239
42240 fi
42241 if test -z "$ac_cv_path_PKG_CONFIG"; then
42242 ac_pt_PKG_CONFIG=$PKG_CONFIG
42243 # Extract the first word of "pkg-config", so it can be a program name with args.
42244 set dummy pkg-config; ac_word=$2
42245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42247 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42248 echo $ECHO_N "(cached) $ECHO_C" >&6
42249 else
42250 case $ac_pt_PKG_CONFIG in
42251 [\\/]* | ?:[\\/]*)
42252 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42253 ;;
42254 *)
42255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42256 for as_dir in $PATH
42257 do
42258 IFS=$as_save_IFS
42259 test -z "$as_dir" && as_dir=.
42260 for ac_exec_ext in '' $ac_executable_extensions; do
42261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42262 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42264 break 2
42265 fi
42266 done
42267 done
42268 IFS=$as_save_IFS
42269
42270 ;;
42271 esac
42272 fi
42273 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42274 if test -n "$ac_pt_PKG_CONFIG"; then
42275 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42276 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42277 else
42278 { echo "$as_me:$LINENO: result: no" >&5
42279 echo "${ECHO_T}no" >&6; }
42280 fi
42281
42282 if test "x$ac_pt_PKG_CONFIG" = x; then
42283 PKG_CONFIG=""
42284 else
42285 case $cross_compiling:$ac_tool_warned in
42286 yes:)
42287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42288 whose name does not start with the host triplet. If you think this
42289 configuration is useful to you, please write to autoconf@gnu.org." >&5
42290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42291 whose name does not start with the host triplet. If you think this
42292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42293 ac_tool_warned=yes ;;
42294 esac
42295 PKG_CONFIG=$ac_pt_PKG_CONFIG
42296 fi
42297 else
42298 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42299 fi
42300
42301 fi
42302 if test -n "$PKG_CONFIG"; then
42303 _pkg_min_version=0.9.0
42304 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42305 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42306 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42307 { echo "$as_me:$LINENO: result: yes" >&5
42308 echo "${ECHO_T}yes" >&6; }
42309 else
42310 { echo "$as_me:$LINENO: result: no" >&5
42311 echo "${ECHO_T}no" >&6; }
42312 PKG_CONFIG=""
42313 fi
42314
42315 fi
42316
42317 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42318
42319 if test "$wxUSE_GTKPRINT" = "yes" ; then
42320
42321
42322 pkg_failed=no
42323 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42324 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42325
42326 if test -n "$PKG_CONFIG"; then
42327 if test -n "$GTKPRINT_CFLAGS"; then
42328 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42329 else
42330 if test -n "$PKG_CONFIG" && \
42331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42332 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42333 ac_status=$?
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); }; then
42336 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42337 else
42338 pkg_failed=yes
42339 fi
42340 fi
42341 else
42342 pkg_failed=untried
42343 fi
42344 if test -n "$PKG_CONFIG"; then
42345 if test -n "$GTKPRINT_LIBS"; then
42346 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42347 else
42348 if test -n "$PKG_CONFIG" && \
42349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42350 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42351 ac_status=$?
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); }; then
42354 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42355 else
42356 pkg_failed=yes
42357 fi
42358 fi
42359 else
42360 pkg_failed=untried
42361 fi
42362
42363
42364
42365 if test $pkg_failed = yes; then
42366
42367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42368 _pkg_short_errors_supported=yes
42369 else
42370 _pkg_short_errors_supported=no
42371 fi
42372 if test $_pkg_short_errors_supported = yes; then
42373 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42374 else
42375 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42376 fi
42377 # Put the nasty error message in config.log where it belongs
42378 echo "$GTKPRINT_PKG_ERRORS" >&5
42379
42380
42381 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42382 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42383 wxUSE_GTKPRINT="no"
42384
42385
42386 elif test $pkg_failed = untried; then
42387
42388 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42389 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42390 wxUSE_GTKPRINT="no"
42391
42392
42393 else
42394 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42395 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42396 { echo "$as_me:$LINENO: result: yes" >&5
42397 echo "${ECHO_T}yes" >&6; }
42398
42399 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42400 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_GTKPRINT 1
42403 _ACEOF
42404
42405
42406 fi
42407 fi
42408
42409 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42410
42411
42412 pkg_failed=no
42413 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42414 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42415
42416 if test -n "$PKG_CONFIG"; then
42417 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42418 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42419 else
42420 if test -n "$PKG_CONFIG" && \
42421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42422 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42423 ac_status=$?
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; then
42426 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42427 else
42428 pkg_failed=yes
42429 fi
42430 fi
42431 else
42432 pkg_failed=untried
42433 fi
42434 if test -n "$PKG_CONFIG"; then
42435 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42436 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42437 else
42438 if test -n "$PKG_CONFIG" && \
42439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42440 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42441 ac_status=$?
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); }; then
42444 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42445 else
42446 pkg_failed=yes
42447 fi
42448 fi
42449 else
42450 pkg_failed=untried
42451 fi
42452
42453
42454
42455 if test $pkg_failed = yes; then
42456
42457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42458 _pkg_short_errors_supported=yes
42459 else
42460 _pkg_short_errors_supported=no
42461 fi
42462 if test $_pkg_short_errors_supported = yes; then
42463 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42464 else
42465 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42466 fi
42467 # Put the nasty error message in config.log where it belongs
42468 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42469
42470
42471 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42472 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42473 wxUSE_LIBGNOMEPRINT="no"
42474
42475
42476 elif test $pkg_failed = untried; then
42477
42478 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42479 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42480 wxUSE_LIBGNOMEPRINT="no"
42481
42482
42483 else
42484 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42485 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42486 { echo "$as_me:$LINENO: result: yes" >&5
42487 echo "${ECHO_T}yes" >&6; }
42488
42489 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42490 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42491 cat >>confdefs.h <<\_ACEOF
42492 #define wxUSE_LIBGNOMEPRINT 1
42493 _ACEOF
42494
42495
42496 fi
42497 fi
42498 fi
42499
42500 if test "$wxUSE_MIMETYPE" = "yes" ; then
42501 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42502
42503
42504 pkg_failed=no
42505 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42506 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42507
42508 if test -n "$PKG_CONFIG"; then
42509 if test -n "$GNOMEVFS_CFLAGS"; then
42510 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42511 else
42512 if test -n "$PKG_CONFIG" && \
42513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42514 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42515 ac_status=$?
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); }; then
42518 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42519 else
42520 pkg_failed=yes
42521 fi
42522 fi
42523 else
42524 pkg_failed=untried
42525 fi
42526 if test -n "$PKG_CONFIG"; then
42527 if test -n "$GNOMEVFS_LIBS"; then
42528 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42529 else
42530 if test -n "$PKG_CONFIG" && \
42531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42532 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42533 ac_status=$?
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; then
42536 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42537 else
42538 pkg_failed=yes
42539 fi
42540 fi
42541 else
42542 pkg_failed=untried
42543 fi
42544
42545
42546
42547 if test $pkg_failed = yes; then
42548
42549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42550 _pkg_short_errors_supported=yes
42551 else
42552 _pkg_short_errors_supported=no
42553 fi
42554 if test $_pkg_short_errors_supported = yes; then
42555 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42556 else
42557 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42558 fi
42559 # Put the nasty error message in config.log where it belongs
42560 echo "$GNOMEVFS_PKG_ERRORS" >&5
42561
42562
42563 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42564 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42565 wxUSE_LIBGNOMEVFS="no"
42566
42567
42568 elif test $pkg_failed = untried; then
42569
42570 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42571 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42572 wxUSE_LIBGNOMEVFS="no"
42573
42574
42575 else
42576 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42577 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42578 { echo "$as_me:$LINENO: result: yes" >&5
42579 echo "${ECHO_T}yes" >&6; }
42580
42581 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42582 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42583 cat >>confdefs.h <<\_ACEOF
42584 #define wxUSE_LIBGNOMEVFS 1
42585 _ACEOF
42586
42587
42588 fi
42589 fi
42590 fi
42591
42592 if test "$wxUSE_LIBHILDON" = "yes" ; then
42593
42594 pkg_failed=no
42595 { echo "$as_me:$LINENO: checking for HILDON" >&5
42596 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42597
42598 if test -n "$PKG_CONFIG"; then
42599 if test -n "$HILDON_CFLAGS"; then
42600 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42601 else
42602 if test -n "$PKG_CONFIG" && \
42603 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42604 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42605 ac_status=$?
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); }; then
42608 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42609 else
42610 pkg_failed=yes
42611 fi
42612 fi
42613 else
42614 pkg_failed=untried
42615 fi
42616 if test -n "$PKG_CONFIG"; then
42617 if test -n "$HILDON_LIBS"; then
42618 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42619 else
42620 if test -n "$PKG_CONFIG" && \
42621 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42622 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42623 ac_status=$?
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; then
42626 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42627 else
42628 pkg_failed=yes
42629 fi
42630 fi
42631 else
42632 pkg_failed=untried
42633 fi
42634
42635
42636
42637 if test $pkg_failed = yes; then
42638
42639 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42640 _pkg_short_errors_supported=yes
42641 else
42642 _pkg_short_errors_supported=no
42643 fi
42644 if test $_pkg_short_errors_supported = yes; then
42645 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42646 else
42647 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42648 fi
42649 # Put the nasty error message in config.log where it belongs
42650 echo "$HILDON_PKG_ERRORS" >&5
42651
42652
42653 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42654 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42655 wxUSE_LIBHILDON="no"
42656
42657
42658 elif test $pkg_failed = untried; then
42659
42660 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42661 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42662 wxUSE_LIBHILDON="no"
42663
42664
42665 else
42666 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42667 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42668 { echo "$as_me:$LINENO: result: yes" >&5
42669 echo "${ECHO_T}yes" >&6; }
42670
42671 EXTRALIBS_HILDON="$HILDON_LIBS"
42672 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42673 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42674 cat >>confdefs.h <<\_ACEOF
42675 #define wxUSE_LIBHILDON 1
42676 _ACEOF
42677
42678
42679 fi
42680 fi
42681 fi
42682
42683 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define wxUSE_CMDLINE_PARSER 1
42686 _ACEOF
42687
42688 fi
42689
42690 if test "$wxUSE_STOPWATCH" = "yes"; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_STOPWATCH 1
42693 _ACEOF
42694
42695 fi
42696
42697 if test "$wxUSE_DATETIME" = "yes"; then
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_DATETIME 1
42700 _ACEOF
42701
42702 fi
42703
42704 if test "$wxUSE_FILE" = "yes"; then
42705 cat >>confdefs.h <<\_ACEOF
42706 #define wxUSE_FILE 1
42707 _ACEOF
42708
42709 fi
42710
42711 if test "$wxUSE_FFILE" = "yes"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define wxUSE_FFILE 1
42714 _ACEOF
42715
42716 fi
42717
42718 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42719 if test "$wxUSE_STREAMS" != yes; then
42720 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42721 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42722 wxUSE_ARCHIVE_STREAMS=no
42723 else
42724 cat >>confdefs.h <<\_ACEOF
42725 #define wxUSE_ARCHIVE_STREAMS 1
42726 _ACEOF
42727
42728 fi
42729 fi
42730
42731 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42732 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42733 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42734 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42735 elif test "$wxUSE_ZLIB" = "no"; then
42736 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42737 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42738 else
42739 cat >>confdefs.h <<\_ACEOF
42740 #define wxUSE_ZIPSTREAM 1
42741 _ACEOF
42742
42743 fi
42744 fi
42745
42746 if test "$wxUSE_TARSTREAM" = "yes"; then
42747 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42748 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42749 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42750 else
42751 cat >>confdefs.h <<\_ACEOF
42752 #define wxUSE_TARSTREAM 1
42753 _ACEOF
42754
42755 fi
42756 fi
42757
42758 if test "$wxUSE_FILESYSTEM" = "yes"; then
42759 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42760 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42761 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42762 wxUSE_FILESYSTEM=no
42763 else
42764 cat >>confdefs.h <<\_ACEOF
42765 #define wxUSE_FILESYSTEM 1
42766 _ACEOF
42767
42768 fi
42769 fi
42770
42771 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42772 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42773 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42774 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42775 else
42776 cat >>confdefs.h <<\_ACEOF
42777 #define wxUSE_FS_ARCHIVE 1
42778 _ACEOF
42779
42780 fi
42781 fi
42782
42783 if test "$wxUSE_FS_ZIP" = "yes"; then
42784 if test "$wxUSE_FS_ARCHIVE" != yes; then
42785 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42786 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42787 else
42788 cat >>confdefs.h <<\_ACEOF
42789 #define wxUSE_FS_ZIP 1
42790 _ACEOF
42791
42792 fi
42793 fi
42794
42795 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42796 if test "$USE_UNIX" != 1; then
42797 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42798 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42799 wxUSE_ON_FATAL_EXCEPTION=no
42800 else
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_ON_FATAL_EXCEPTION 1
42803 _ACEOF
42804
42805 fi
42806 fi
42807
42808 if test "$wxUSE_STACKWALKER" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define wxUSE_STACKWALKER 1
42811 _ACEOF
42812
42813 fi
42814
42815 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42816 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42817 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42818 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42819 wxUSE_DEBUGREPORT=no
42820 else
42821 cat >>confdefs.h <<\_ACEOF
42822 #define wxUSE_DEBUGREPORT 1
42823 _ACEOF
42824
42825 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42827 fi
42828 fi
42829 fi
42830
42831 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42832 cat >>confdefs.h <<\_ACEOF
42833 #define wxUSE_SNGLINST_CHECKER 1
42834 _ACEOF
42835
42836 fi
42837
42838 if test "$wxUSE_BUSYINFO" = "yes"; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_BUSYINFO 1
42841 _ACEOF
42842
42843 fi
42844
42845 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42846 cat >>confdefs.h <<\_ACEOF
42847 #define wxUSE_STD_IOSTREAM 1
42848 _ACEOF
42849
42850 fi
42851
42852 if test "$wxUSE_STD_STRING" = "yes"; then
42853 cat >>confdefs.h <<\_ACEOF
42854 #define wxUSE_STD_STRING 1
42855 _ACEOF
42856
42857 fi
42858
42859 if test "$wxUSE_STDPATHS" = "yes"; then
42860 cat >>confdefs.h <<\_ACEOF
42861 #define wxUSE_STDPATHS 1
42862 _ACEOF
42863
42864 fi
42865
42866 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42867 cat >>confdefs.h <<\_ACEOF
42868 #define wxUSE_TEXTBUFFER 1
42869 _ACEOF
42870
42871 fi
42872
42873 if test "$wxUSE_TEXTFILE" = "yes"; then
42874 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42875 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42876 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42877 else
42878 cat >>confdefs.h <<\_ACEOF
42879 #define wxUSE_TEXTFILE 1
42880 _ACEOF
42881
42882 fi
42883 fi
42884
42885 if test "$wxUSE_CONFIG" = "yes" ; then
42886 if test "$wxUSE_TEXTFILE" != "yes"; then
42887 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42888 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42889 else
42890 cat >>confdefs.h <<\_ACEOF
42891 #define wxUSE_CONFIG 1
42892 _ACEOF
42893
42894 cat >>confdefs.h <<\_ACEOF
42895 #define wxUSE_CONFIG_NATIVE 1
42896 _ACEOF
42897
42898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42899 fi
42900 fi
42901
42902 if test "$wxUSE_INTL" = "yes" ; then
42903 if test "$wxUSE_FILE" != "yes"; then
42904 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42905 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42906 else
42907 cat >>confdefs.h <<\_ACEOF
42908 #define wxUSE_INTL 1
42909 _ACEOF
42910
42911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42912 GUIDIST="$GUIDIST INTL_DIST"
42913 fi
42914 fi
42915
42916 if test "$wxUSE_XLOCALE" == "yes" ; then
42917 cat >>confdefs.h <<\_ACEOF
42918 #define wxUSE_XLOCALE 1
42919 _ACEOF
42920
42921 { echo "$as_me:$LINENO: checking for locale_t" >&5
42922 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
42923 if test "${ac_cv_type_locale_t+set}" = set; then
42924 echo $ECHO_N "(cached) $ECHO_C" >&6
42925 else
42926 cat >conftest.$ac_ext <<_ACEOF
42927 /* confdefs.h. */
42928 _ACEOF
42929 cat confdefs.h >>conftest.$ac_ext
42930 cat >>conftest.$ac_ext <<_ACEOF
42931 /* end confdefs.h. */
42932 #include <xlocale.h>
42933 #include <locale.h>
42934
42935 typedef locale_t ac__type_new_;
42936 int
42937 main ()
42938 {
42939 if ((ac__type_new_ *) 0)
42940 return 0;
42941 if (sizeof (ac__type_new_))
42942 return 0;
42943 ;
42944 return 0;
42945 }
42946 _ACEOF
42947 rm -f conftest.$ac_objext
42948 if { (ac_try="$ac_compile"
42949 case "(($ac_try" in
42950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42951 *) ac_try_echo=$ac_try;;
42952 esac
42953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42954 (eval "$ac_compile") 2>conftest.er1
42955 ac_status=$?
42956 grep -v '^ *+' conftest.er1 >conftest.err
42957 rm -f conftest.er1
42958 cat conftest.err >&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } && {
42961 test -z "$ac_c_werror_flag" ||
42962 test ! -s conftest.err
42963 } && test -s conftest.$ac_objext; then
42964 ac_cv_type_locale_t=yes
42965 else
42966 echo "$as_me: failed program was:" >&5
42967 sed 's/^/| /' conftest.$ac_ext >&5
42968
42969 ac_cv_type_locale_t=no
42970 fi
42971
42972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42973 fi
42974 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
42975 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
42976 if test $ac_cv_type_locale_t = yes; then
42977
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_LOCALE_T 1
42980 _ACEOF
42981
42982
42983 fi
42984
42985 fi
42986
42987 if test "$wxUSE_LOG" = "yes"; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define wxUSE_LOG 1
42990 _ACEOF
42991
42992
42993 if test "$wxUSE_LOGGUI" = "yes"; then
42994 cat >>confdefs.h <<\_ACEOF
42995 #define wxUSE_LOGGUI 1
42996 _ACEOF
42997
42998 fi
42999
43000 if test "$wxUSE_LOGWINDOW" = "yes"; then
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_LOGWINDOW 1
43003 _ACEOF
43004
43005 fi
43006
43007 if test "$wxUSE_LOGDIALOG" = "yes"; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define wxUSE_LOG_DIALOG 1
43010 _ACEOF
43011
43012 fi
43013
43014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43015 fi
43016
43017 if test "$wxUSE_LONGLONG" = "yes"; then
43018 cat >>confdefs.h <<\_ACEOF
43019 #define wxUSE_LONGLONG 1
43020 _ACEOF
43021
43022 fi
43023
43024 if test "$wxUSE_GEOMETRY" = "yes"; then
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_GEOMETRY 1
43027 _ACEOF
43028
43029 fi
43030
43031 if test "$wxUSE_BASE64" = "yes"; then
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_BASE64 1
43034 _ACEOF
43035
43036 fi
43037
43038 if test "$wxUSE_STREAMS" = "yes" ; then
43039 cat >>confdefs.h <<\_ACEOF
43040 #define wxUSE_STREAMS 1
43041 _ACEOF
43042
43043 fi
43044
43045 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43046 cat >>confdefs.h <<\_ACEOF
43047 #define wxUSE_PRINTF_POS_PARAMS 1
43048 _ACEOF
43049
43050 fi
43051
43052 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_OBJC_UNIQUIFYING 1
43055 _ACEOF
43056
43057 fi
43058
43059
43060 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43061 cat >>confdefs.h <<\_ACEOF
43062 #define wxUSE_CONSOLE_EVENTLOOP 1
43063 _ACEOF
43064
43065
43066 if test "$wxUSE_UNIX" = "yes"; then
43067 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43068 cat >>confdefs.h <<\_ACEOF
43069 #define wxUSE_SELECT_DISPATCHER 1
43070 _ACEOF
43071
43072 fi
43073
43074 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43075
43076 for ac_header in sys/epoll.h
43077 do
43078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43082 echo $ECHO_N "(cached) $ECHO_C" >&6
43083 else
43084 cat >conftest.$ac_ext <<_ACEOF
43085 /* confdefs.h. */
43086 _ACEOF
43087 cat confdefs.h >>conftest.$ac_ext
43088 cat >>conftest.$ac_ext <<_ACEOF
43089 /* end confdefs.h. */
43090 $ac_includes_default
43091
43092 #include <$ac_header>
43093 _ACEOF
43094 rm -f conftest.$ac_objext
43095 if { (ac_try="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43098 *) ac_try_echo=$ac_try;;
43099 esac
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43102 ac_status=$?
43103 grep -v '^ *+' conftest.er1 >conftest.err
43104 rm -f conftest.er1
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_c_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.$ac_objext; then
43111 eval "$as_ac_Header=yes"
43112 else
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43115
43116 eval "$as_ac_Header=no"
43117 fi
43118
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43120 fi
43121 ac_res=`eval echo '${'$as_ac_Header'}'`
43122 { echo "$as_me:$LINENO: result: $ac_res" >&5
43123 echo "${ECHO_T}$ac_res" >&6; }
43124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43125 cat >>confdefs.h <<_ACEOF
43126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43127 _ACEOF
43128
43129 fi
43130
43131 done
43132
43133 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43134 cat >>confdefs.h <<\_ACEOF
43135 #define wxUSE_EPOLL_DISPATCHER 1
43136 _ACEOF
43137
43138 else
43139 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43140 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43141 fi
43142 fi
43143 fi
43144 fi
43145
43146
43147
43148
43149 for ac_func in gettimeofday ftime
43150 do
43151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43155 echo $ECHO_N "(cached) $ECHO_C" >&6
43156 else
43157 cat >conftest.$ac_ext <<_ACEOF
43158 /* confdefs.h. */
43159 _ACEOF
43160 cat confdefs.h >>conftest.$ac_ext
43161 cat >>conftest.$ac_ext <<_ACEOF
43162 /* end confdefs.h. */
43163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43165 #define $ac_func innocuous_$ac_func
43166
43167 /* System header to define __stub macros and hopefully few prototypes,
43168 which can conflict with char $ac_func (); below.
43169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43170 <limits.h> exists even on freestanding compilers. */
43171
43172 #ifdef __STDC__
43173 # include <limits.h>
43174 #else
43175 # include <assert.h>
43176 #endif
43177
43178 #undef $ac_func
43179
43180 /* Override any GCC internal prototype to avoid an error.
43181 Use char because int might match the return type of a GCC
43182 builtin and then its argument prototype would still apply. */
43183 #ifdef __cplusplus
43184 extern "C"
43185 #endif
43186 char $ac_func ();
43187 /* The GNU C library defines this for functions which it implements
43188 to always fail with ENOSYS. Some functions are actually named
43189 something starting with __ and the normal name is an alias. */
43190 #if defined __stub_$ac_func || defined __stub___$ac_func
43191 choke me
43192 #endif
43193
43194 int
43195 main ()
43196 {
43197 return $ac_func ();
43198 ;
43199 return 0;
43200 }
43201 _ACEOF
43202 rm -f conftest.$ac_objext conftest$ac_exeext
43203 if { (ac_try="$ac_link"
43204 case "(($ac_try" in
43205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43206 *) ac_try_echo=$ac_try;;
43207 esac
43208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43209 (eval "$ac_link") 2>conftest.er1
43210 ac_status=$?
43211 grep -v '^ *+' conftest.er1 >conftest.err
43212 rm -f conftest.er1
43213 cat conftest.err >&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); } && {
43216 test -z "$ac_c_werror_flag" ||
43217 test ! -s conftest.err
43218 } && test -s conftest$ac_exeext &&
43219 $as_test_x conftest$ac_exeext; then
43220 eval "$as_ac_var=yes"
43221 else
43222 echo "$as_me: failed program was:" >&5
43223 sed 's/^/| /' conftest.$ac_ext >&5
43224
43225 eval "$as_ac_var=no"
43226 fi
43227
43228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43229 conftest$ac_exeext conftest.$ac_ext
43230 fi
43231 ac_res=`eval echo '${'$as_ac_var'}'`
43232 { echo "$as_me:$LINENO: result: $ac_res" >&5
43233 echo "${ECHO_T}$ac_res" >&6; }
43234 if test `eval echo '${'$as_ac_var'}'` = yes; then
43235 cat >>confdefs.h <<_ACEOF
43236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43237 _ACEOF
43238 break
43239 fi
43240 done
43241
43242
43243 if test "$ac_cv_func_gettimeofday" = "yes"; then
43244 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43245 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43246 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 else
43249
43250 cat >conftest.$ac_ext <<_ACEOF
43251 /* confdefs.h. */
43252 _ACEOF
43253 cat confdefs.h >>conftest.$ac_ext
43254 cat >>conftest.$ac_ext <<_ACEOF
43255 /* end confdefs.h. */
43256
43257 #include <sys/time.h>
43258 #include <unistd.h>
43259
43260 int
43261 main ()
43262 {
43263
43264 struct timeval tv;
43265 gettimeofday(&tv, NULL);
43266
43267 ;
43268 return 0;
43269 }
43270 _ACEOF
43271 rm -f conftest.$ac_objext
43272 if { (ac_try="$ac_compile"
43273 case "(($ac_try" in
43274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43275 *) ac_try_echo=$ac_try;;
43276 esac
43277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43278 (eval "$ac_compile") 2>conftest.er1
43279 ac_status=$?
43280 grep -v '^ *+' conftest.er1 >conftest.err
43281 rm -f conftest.er1
43282 cat conftest.err >&5
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); } && {
43285 test -z "$ac_c_werror_flag" ||
43286 test ! -s conftest.err
43287 } && test -s conftest.$ac_objext; then
43288 wx_cv_func_gettimeofday_has_2_args=yes
43289 else
43290 echo "$as_me: failed program was:" >&5
43291 sed 's/^/| /' conftest.$ac_ext >&5
43292
43293 cat >conftest.$ac_ext <<_ACEOF
43294 /* confdefs.h. */
43295 _ACEOF
43296 cat confdefs.h >>conftest.$ac_ext
43297 cat >>conftest.$ac_ext <<_ACEOF
43298 /* end confdefs.h. */
43299
43300 #include <sys/time.h>
43301 #include <unistd.h>
43302
43303 int
43304 main ()
43305 {
43306
43307 struct timeval tv;
43308 gettimeofday(&tv);
43309
43310 ;
43311 return 0;
43312 }
43313 _ACEOF
43314 rm -f conftest.$ac_objext
43315 if { (ac_try="$ac_compile"
43316 case "(($ac_try" in
43317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43318 *) ac_try_echo=$ac_try;;
43319 esac
43320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43321 (eval "$ac_compile") 2>conftest.er1
43322 ac_status=$?
43323 grep -v '^ *+' conftest.er1 >conftest.err
43324 rm -f conftest.er1
43325 cat conftest.err >&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } && {
43328 test -z "$ac_c_werror_flag" ||
43329 test ! -s conftest.err
43330 } && test -s conftest.$ac_objext; then
43331 wx_cv_func_gettimeofday_has_2_args=no
43332 else
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.$ac_ext >&5
43335
43336
43337 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43338 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43339 wx_cv_func_gettimeofday_has_2_args=unknown
43340
43341
43342 fi
43343
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43345
43346 fi
43347
43348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349
43350 fi
43351 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43352 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43353
43354 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define WX_GETTIMEOFDAY_NO_TZ 1
43357 _ACEOF
43358
43359 fi
43360 fi
43361
43362 if test "$wxUSE_DATETIME" = "yes"; then
43363 { echo "$as_me:$LINENO: checking for strptime" >&5
43364 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43365 if test "${ac_cv_func_strptime+set}" = set; then
43366 echo $ECHO_N "(cached) $ECHO_C" >&6
43367 else
43368 cat >conftest.$ac_ext <<_ACEOF
43369 /* confdefs.h. */
43370 _ACEOF
43371 cat confdefs.h >>conftest.$ac_ext
43372 cat >>conftest.$ac_ext <<_ACEOF
43373 /* end confdefs.h. */
43374 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43376 #define strptime innocuous_strptime
43377
43378 /* System header to define __stub macros and hopefully few prototypes,
43379 which can conflict with char strptime (); below.
43380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43381 <limits.h> exists even on freestanding compilers. */
43382
43383 #ifdef __STDC__
43384 # include <limits.h>
43385 #else
43386 # include <assert.h>
43387 #endif
43388
43389 #undef strptime
43390
43391 /* Override any GCC internal prototype to avoid an error.
43392 Use char because int might match the return type of a GCC
43393 builtin and then its argument prototype would still apply. */
43394 #ifdef __cplusplus
43395 extern "C"
43396 #endif
43397 char strptime ();
43398 /* The GNU C library defines this for functions which it implements
43399 to always fail with ENOSYS. Some functions are actually named
43400 something starting with __ and the normal name is an alias. */
43401 #if defined __stub_strptime || defined __stub___strptime
43402 choke me
43403 #endif
43404
43405 int
43406 main ()
43407 {
43408 return strptime ();
43409 ;
43410 return 0;
43411 }
43412 _ACEOF
43413 rm -f conftest.$ac_objext conftest$ac_exeext
43414 if { (ac_try="$ac_link"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43417 *) ac_try_echo=$ac_try;;
43418 esac
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_link") 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_c_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest$ac_exeext &&
43430 $as_test_x conftest$ac_exeext; then
43431 ac_cv_func_strptime=yes
43432 else
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43435
43436 ac_cv_func_strptime=no
43437 fi
43438
43439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43440 conftest$ac_exeext conftest.$ac_ext
43441 fi
43442 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43443 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43444
43445 if test "$ac_cv_func_strptime" = "yes"; then
43446 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43447 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43448 if test "${wx_cv_func_strptime_decl+set}" = set; then
43449 echo $ECHO_N "(cached) $ECHO_C" >&6
43450 else
43451
43452 ac_ext=cpp
43453 ac_cpp='$CXXCPP $CPPFLAGS'
43454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43457
43458 cat >conftest.$ac_ext <<_ACEOF
43459 /* confdefs.h. */
43460 _ACEOF
43461 cat confdefs.h >>conftest.$ac_ext
43462 cat >>conftest.$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464
43465 #include <time.h>
43466
43467 int
43468 main ()
43469 {
43470
43471 struct tm t;
43472 strptime("foo", "bar", &t);
43473
43474 ;
43475 return 0;
43476 }
43477 _ACEOF
43478 rm -f conftest.$ac_objext
43479 if { (ac_try="$ac_compile"
43480 case "(($ac_try" in
43481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43482 *) ac_try_echo=$ac_try;;
43483 esac
43484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43485 (eval "$ac_compile") 2>conftest.er1
43486 ac_status=$?
43487 grep -v '^ *+' conftest.er1 >conftest.err
43488 rm -f conftest.er1
43489 cat conftest.err >&5
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); } && {
43492 test -z "$ac_cxx_werror_flag" ||
43493 test ! -s conftest.err
43494 } && test -s conftest.$ac_objext; then
43495 wx_cv_func_strptime_decl=yes
43496 else
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43499
43500 wx_cv_func_strptime_decl=no
43501
43502 fi
43503
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43505 ac_ext=c
43506 ac_cpp='$CPP $CPPFLAGS'
43507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43510
43511
43512
43513 fi
43514 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43515 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43516 fi
43517 if test "$wx_cv_func_strptime_decl" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define HAVE_STRPTIME_DECL 1
43520 _ACEOF
43521
43522 else
43523 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43524 fi
43525 if test "$ac_cv_func_strptime" = "yes"; then
43526 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43527 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43528 if test "${wx_cv_func_strptime_ok+set}" = set; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 else
43531 if test "$cross_compiling" = yes; then
43532 wx_cv_func_strptime_ok=no
43533
43534 else
43535 cat >conftest.$ac_ext <<_ACEOF
43536
43537 #include <stdlib.h>
43538 #include <time.h>
43539 #include "confdefs.h"
43540
43541 $wx_strptime_decl
43542
43543 int main()
43544 {
43545 struct tm t;
43546 return !!strptime("", "%x", &t);
43547 }
43548
43549 _ACEOF
43550 rm -f conftest$ac_exeext
43551 if { (ac_try="$ac_link"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43554 *) ac_try_echo=$ac_try;;
43555 esac
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_link") 2>&5
43558 ac_status=$?
43559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43561 { (case "(($ac_try" in
43562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43563 *) ac_try_echo=$ac_try;;
43564 esac
43565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43566 (eval "$ac_try") 2>&5
43567 ac_status=$?
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); }; }; then
43570 wx_cv_func_strptime_ok=yes
43571 else
43572 echo "$as_me: program exited with status $ac_status" >&5
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43575
43576 ( exit $ac_status )
43577 wx_cv_func_strptime_ok=no
43578 fi
43579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43580 fi
43581
43582
43583
43584 fi
43585 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43586 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43587
43588 if test "$wx_cv_func_strptime_ok" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define HAVE_STRPTIME 1
43591 _ACEOF
43592
43593 fi
43594 fi
43595
43596 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43597 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43598 if test "${wx_cv_var_timezone+set}" = set; then
43599 echo $ECHO_N "(cached) $ECHO_C" >&6
43600 else
43601
43602 ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607
43608 cat >conftest.$ac_ext <<_ACEOF
43609 /* confdefs.h. */
43610 _ACEOF
43611 cat confdefs.h >>conftest.$ac_ext
43612 cat >>conftest.$ac_ext <<_ACEOF
43613 /* end confdefs.h. */
43614
43615 #include <time.h>
43616
43617 int
43618 main ()
43619 {
43620
43621 int tz;
43622 tz = timezone;
43623
43624 ;
43625 return 0;
43626 }
43627 _ACEOF
43628 rm -f conftest.$ac_objext
43629 if { (ac_try="$ac_compile"
43630 case "(($ac_try" in
43631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43632 *) ac_try_echo=$ac_try;;
43633 esac
43634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43635 (eval "$ac_compile") 2>conftest.er1
43636 ac_status=$?
43637 grep -v '^ *+' conftest.er1 >conftest.err
43638 rm -f conftest.er1
43639 cat conftest.err >&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } && {
43642 test -z "$ac_cxx_werror_flag" ||
43643 test ! -s conftest.err
43644 } && test -s conftest.$ac_objext; then
43645
43646 wx_cv_var_timezone=timezone
43647
43648 else
43649 echo "$as_me: failed program was:" >&5
43650 sed 's/^/| /' conftest.$ac_ext >&5
43651
43652
43653 cat >conftest.$ac_ext <<_ACEOF
43654 /* confdefs.h. */
43655 _ACEOF
43656 cat confdefs.h >>conftest.$ac_ext
43657 cat >>conftest.$ac_ext <<_ACEOF
43658 /* end confdefs.h. */
43659
43660 #include <time.h>
43661
43662 int
43663 main ()
43664 {
43665
43666 int tz;
43667 tz = _timezone;
43668
43669 ;
43670 return 0;
43671 }
43672 _ACEOF
43673 rm -f conftest.$ac_objext
43674 if { (ac_try="$ac_compile"
43675 case "(($ac_try" in
43676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43677 *) ac_try_echo=$ac_try;;
43678 esac
43679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43680 (eval "$ac_compile") 2>conftest.er1
43681 ac_status=$?
43682 grep -v '^ *+' conftest.er1 >conftest.err
43683 rm -f conftest.er1
43684 cat conftest.err >&5
43685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686 (exit $ac_status); } && {
43687 test -z "$ac_cxx_werror_flag" ||
43688 test ! -s conftest.err
43689 } && test -s conftest.$ac_objext; then
43690
43691 wx_cv_var_timezone=_timezone
43692
43693 else
43694 echo "$as_me: failed program was:" >&5
43695 sed 's/^/| /' conftest.$ac_ext >&5
43696
43697
43698 cat >conftest.$ac_ext <<_ACEOF
43699 /* confdefs.h. */
43700 _ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43704
43705 #include <time.h>
43706
43707 int
43708 main ()
43709 {
43710
43711 int tz;
43712 tz = __timezone;
43713
43714 ;
43715 return 0;
43716 }
43717 _ACEOF
43718 rm -f conftest.$ac_objext
43719 if { (ac_try="$ac_compile"
43720 case "(($ac_try" in
43721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43722 *) ac_try_echo=$ac_try;;
43723 esac
43724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43725 (eval "$ac_compile") 2>conftest.er1
43726 ac_status=$?
43727 grep -v '^ *+' conftest.er1 >conftest.err
43728 rm -f conftest.er1
43729 cat conftest.err >&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } && {
43732 test -z "$ac_cxx_werror_flag" ||
43733 test ! -s conftest.err
43734 } && test -s conftest.$ac_objext; then
43735
43736 wx_cv_var_timezone=__timezone
43737
43738 else
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43741
43742
43743 if test "$USE_DOS" = 0 ; then
43744 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43745 echo "$as_me: WARNING: no timezone variable" >&2;}
43746 fi
43747
43748
43749 fi
43750
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43752
43753
43754 fi
43755
43756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43757
43758
43759 fi
43760
43761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43762 ac_ext=c
43763 ac_cpp='$CPP $CPPFLAGS'
43764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43767
43768
43769
43770 fi
43771 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43772 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43773
43774 if test "x$wx_cv_var_timezone" != x ; then
43775 cat >>confdefs.h <<_ACEOF
43776 #define WX_TIMEZONE $wx_cv_var_timezone
43777 _ACEOF
43778
43779 fi
43780
43781
43782 for ac_func in localtime
43783 do
43784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43787 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43788 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 else
43790 cat >conftest.$ac_ext <<_ACEOF
43791 /* confdefs.h. */
43792 _ACEOF
43793 cat confdefs.h >>conftest.$ac_ext
43794 cat >>conftest.$ac_ext <<_ACEOF
43795 /* end confdefs.h. */
43796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43798 #define $ac_func innocuous_$ac_func
43799
43800 /* System header to define __stub macros and hopefully few prototypes,
43801 which can conflict with char $ac_func (); below.
43802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43803 <limits.h> exists even on freestanding compilers. */
43804
43805 #ifdef __STDC__
43806 # include <limits.h>
43807 #else
43808 # include <assert.h>
43809 #endif
43810
43811 #undef $ac_func
43812
43813 /* Override any GCC internal prototype to avoid an error.
43814 Use char because int might match the return type of a GCC
43815 builtin and then its argument prototype would still apply. */
43816 #ifdef __cplusplus
43817 extern "C"
43818 #endif
43819 char $ac_func ();
43820 /* The GNU C library defines this for functions which it implements
43821 to always fail with ENOSYS. Some functions are actually named
43822 something starting with __ and the normal name is an alias. */
43823 #if defined __stub_$ac_func || defined __stub___$ac_func
43824 choke me
43825 #endif
43826
43827 int
43828 main ()
43829 {
43830 return $ac_func ();
43831 ;
43832 return 0;
43833 }
43834 _ACEOF
43835 rm -f conftest.$ac_objext conftest$ac_exeext
43836 if { (ac_try="$ac_link"
43837 case "(($ac_try" in
43838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43839 *) ac_try_echo=$ac_try;;
43840 esac
43841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43842 (eval "$ac_link") 2>conftest.er1
43843 ac_status=$?
43844 grep -v '^ *+' conftest.er1 >conftest.err
43845 rm -f conftest.er1
43846 cat conftest.err >&5
43847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848 (exit $ac_status); } && {
43849 test -z "$ac_c_werror_flag" ||
43850 test ! -s conftest.err
43851 } && test -s conftest$ac_exeext &&
43852 $as_test_x conftest$ac_exeext; then
43853 eval "$as_ac_var=yes"
43854 else
43855 echo "$as_me: failed program was:" >&5
43856 sed 's/^/| /' conftest.$ac_ext >&5
43857
43858 eval "$as_ac_var=no"
43859 fi
43860
43861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43862 conftest$ac_exeext conftest.$ac_ext
43863 fi
43864 ac_res=`eval echo '${'$as_ac_var'}'`
43865 { echo "$as_me:$LINENO: result: $ac_res" >&5
43866 echo "${ECHO_T}$ac_res" >&6; }
43867 if test `eval echo '${'$as_ac_var'}'` = yes; then
43868 cat >>confdefs.h <<_ACEOF
43869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43870 _ACEOF
43871
43872 fi
43873 done
43874
43875
43876 if test "$ac_cv_func_localtime" = "yes"; then
43877 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43878 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43879 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43880 echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882
43883 cat >conftest.$ac_ext <<_ACEOF
43884 /* confdefs.h. */
43885 _ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43889
43890 #include <time.h>
43891
43892 int
43893 main ()
43894 {
43895
43896 struct tm tm;
43897 tm.tm_gmtoff++;
43898
43899 ;
43900 return 0;
43901 }
43902 _ACEOF
43903 rm -f conftest.$ac_objext
43904 if { (ac_try="$ac_compile"
43905 case "(($ac_try" in
43906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43907 *) ac_try_echo=$ac_try;;
43908 esac
43909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43910 (eval "$ac_compile") 2>conftest.er1
43911 ac_status=$?
43912 grep -v '^ *+' conftest.er1 >conftest.err
43913 rm -f conftest.er1
43914 cat conftest.err >&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } && {
43917 test -z "$ac_c_werror_flag" ||
43918 test ! -s conftest.err
43919 } && test -s conftest.$ac_objext; then
43920
43921 wx_cv_struct_tm_has_gmtoff=yes
43922
43923 else
43924 echo "$as_me: failed program was:" >&5
43925 sed 's/^/| /' conftest.$ac_ext >&5
43926
43927 wx_cv_struct_tm_has_gmtoff=no
43928
43929 fi
43930
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43932
43933 fi
43934 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43935 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43936 fi
43937
43938 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define WX_GMTOFF_IN_TM 1
43941 _ACEOF
43942
43943 fi
43944
43945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43946 fi
43947
43948
43949 if test "$wxUSE_SOCKETS" = "yes"; then
43950 if test "$wxUSE_MGL" = 1; then
43951 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43952 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43953 wxUSE_SOCKETS="no"
43954 fi
43955 fi
43956
43957 if test "$wxUSE_SOCKETS" = "yes"; then
43958 if test "$TOOLKIT" != "MSW"; then
43959 { echo "$as_me:$LINENO: checking for socket" >&5
43960 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43961 if test "${ac_cv_func_socket+set}" = set; then
43962 echo $ECHO_N "(cached) $ECHO_C" >&6
43963 else
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h. */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43972 #define socket innocuous_socket
43973
43974 /* System header to define __stub macros and hopefully few prototypes,
43975 which can conflict with char socket (); below.
43976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43977 <limits.h> exists even on freestanding compilers. */
43978
43979 #ifdef __STDC__
43980 # include <limits.h>
43981 #else
43982 # include <assert.h>
43983 #endif
43984
43985 #undef socket
43986
43987 /* Override any GCC internal prototype to avoid an error.
43988 Use char because int might match the return type of a GCC
43989 builtin and then its argument prototype would still apply. */
43990 #ifdef __cplusplus
43991 extern "C"
43992 #endif
43993 char socket ();
43994 /* The GNU C library defines this for functions which it implements
43995 to always fail with ENOSYS. Some functions are actually named
43996 something starting with __ and the normal name is an alias. */
43997 #if defined __stub_socket || defined __stub___socket
43998 choke me
43999 #endif
44000
44001 int
44002 main ()
44003 {
44004 return socket ();
44005 ;
44006 return 0;
44007 }
44008 _ACEOF
44009 rm -f conftest.$ac_objext conftest$ac_exeext
44010 if { (ac_try="$ac_link"
44011 case "(($ac_try" in
44012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44013 *) ac_try_echo=$ac_try;;
44014 esac
44015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44016 (eval "$ac_link") 2>conftest.er1
44017 ac_status=$?
44018 grep -v '^ *+' conftest.er1 >conftest.err
44019 rm -f conftest.er1
44020 cat conftest.err >&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } && {
44023 test -z "$ac_c_werror_flag" ||
44024 test ! -s conftest.err
44025 } && test -s conftest$ac_exeext &&
44026 $as_test_x conftest$ac_exeext; then
44027 ac_cv_func_socket=yes
44028 else
44029 echo "$as_me: failed program was:" >&5
44030 sed 's/^/| /' conftest.$ac_ext >&5
44031
44032 ac_cv_func_socket=no
44033 fi
44034
44035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44036 conftest$ac_exeext conftest.$ac_ext
44037 fi
44038 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44039 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44040 if test $ac_cv_func_socket = yes; then
44041 :
44042 else
44043
44044 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44045 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44046 if test "${ac_cv_lib_socket_socket+set}" = set; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44048 else
44049 ac_check_lib_save_LIBS=$LIBS
44050 LIBS="-lsocket $LIBS"
44051 cat >conftest.$ac_ext <<_ACEOF
44052 /* confdefs.h. */
44053 _ACEOF
44054 cat confdefs.h >>conftest.$ac_ext
44055 cat >>conftest.$ac_ext <<_ACEOF
44056 /* end confdefs.h. */
44057
44058 /* Override any GCC internal prototype to avoid an error.
44059 Use char because int might match the return type of a GCC
44060 builtin and then its argument prototype would still apply. */
44061 #ifdef __cplusplus
44062 extern "C"
44063 #endif
44064 char socket ();
44065 int
44066 main ()
44067 {
44068 return socket ();
44069 ;
44070 return 0;
44071 }
44072 _ACEOF
44073 rm -f conftest.$ac_objext conftest$ac_exeext
44074 if { (ac_try="$ac_link"
44075 case "(($ac_try" in
44076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44077 *) ac_try_echo=$ac_try;;
44078 esac
44079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44080 (eval "$ac_link") 2>conftest.er1
44081 ac_status=$?
44082 grep -v '^ *+' conftest.er1 >conftest.err
44083 rm -f conftest.er1
44084 cat conftest.err >&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } && {
44087 test -z "$ac_c_werror_flag" ||
44088 test ! -s conftest.err
44089 } && test -s conftest$ac_exeext &&
44090 $as_test_x conftest$ac_exeext; then
44091 ac_cv_lib_socket_socket=yes
44092 else
44093 echo "$as_me: failed program was:" >&5
44094 sed 's/^/| /' conftest.$ac_ext >&5
44095
44096 ac_cv_lib_socket_socket=no
44097 fi
44098
44099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44100 conftest$ac_exeext conftest.$ac_ext
44101 LIBS=$ac_check_lib_save_LIBS
44102 fi
44103 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44104 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44105 if test $ac_cv_lib_socket_socket = yes; then
44106 if test "$INET_LINK" != " -lsocket"; then
44107 INET_LINK="$INET_LINK -lsocket"
44108 fi
44109 else
44110
44111 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44112 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44113 wxUSE_SOCKETS=no
44114
44115
44116 fi
44117
44118
44119
44120 fi
44121
44122 fi
44123 fi
44124
44125 if test "$wxUSE_SOCKETS" = "yes" ; then
44126 if test "$TOOLKIT" != "MSW"; then
44127 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44128 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44129 if test "${wx_cv_type_getsockname3+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44131 else
44132
44133 ac_ext=cpp
44134 ac_cpp='$CXXCPP $CPPFLAGS'
44135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44138
44139 cat >conftest.$ac_ext <<_ACEOF
44140 /* confdefs.h. */
44141 _ACEOF
44142 cat confdefs.h >>conftest.$ac_ext
44143 cat >>conftest.$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44145
44146 #include <sys/types.h>
44147 #include <sys/socket.h>
44148
44149 int
44150 main ()
44151 {
44152
44153 socklen_t len;
44154 getsockname(0, 0, &len);
44155
44156 ;
44157 return 0;
44158 }
44159 _ACEOF
44160 rm -f conftest.$ac_objext
44161 if { (ac_try="$ac_compile"
44162 case "(($ac_try" in
44163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44164 *) ac_try_echo=$ac_try;;
44165 esac
44166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44167 (eval "$ac_compile") 2>conftest.er1
44168 ac_status=$?
44169 grep -v '^ *+' conftest.er1 >conftest.err
44170 rm -f conftest.er1
44171 cat conftest.err >&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } && {
44174 test -z "$ac_cxx_werror_flag" ||
44175 test ! -s conftest.err
44176 } && test -s conftest.$ac_objext; then
44177 wx_cv_type_getsockname3=socklen_t
44178 else
44179 echo "$as_me: failed program was:" >&5
44180 sed 's/^/| /' conftest.$ac_ext >&5
44181
44182
44183 CFLAGS_OLD="$CFLAGS"
44184 if test "$GCC" = yes ; then
44185 CFLAGS="-Werror $CFLAGS"
44186 fi
44187
44188 cat >conftest.$ac_ext <<_ACEOF
44189 /* confdefs.h. */
44190 _ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44194
44195 #include <sys/types.h>
44196 #include <sys/socket.h>
44197
44198 int
44199 main ()
44200 {
44201
44202 size_t len;
44203 getsockname(0, 0, &len);
44204
44205 ;
44206 return 0;
44207 }
44208 _ACEOF
44209 rm -f conftest.$ac_objext
44210 if { (ac_try="$ac_compile"
44211 case "(($ac_try" in
44212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44213 *) ac_try_echo=$ac_try;;
44214 esac
44215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44216 (eval "$ac_compile") 2>conftest.er1
44217 ac_status=$?
44218 grep -v '^ *+' conftest.er1 >conftest.err
44219 rm -f conftest.er1
44220 cat conftest.err >&5
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); } && {
44223 test -z "$ac_cxx_werror_flag" ||
44224 test ! -s conftest.err
44225 } && test -s conftest.$ac_objext; then
44226 wx_cv_type_getsockname3=size_t
44227 else
44228 echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.$ac_ext >&5
44230
44231 cat >conftest.$ac_ext <<_ACEOF
44232 /* confdefs.h. */
44233 _ACEOF
44234 cat confdefs.h >>conftest.$ac_ext
44235 cat >>conftest.$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237
44238 #include <sys/types.h>
44239 #include <sys/socket.h>
44240
44241 int
44242 main ()
44243 {
44244
44245 int len;
44246 getsockname(0, 0, &len);
44247
44248 ;
44249 return 0;
44250 }
44251 _ACEOF
44252 rm -f conftest.$ac_objext
44253 if { (ac_try="$ac_compile"
44254 case "(($ac_try" in
44255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44256 *) ac_try_echo=$ac_try;;
44257 esac
44258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44259 (eval "$ac_compile") 2>conftest.er1
44260 ac_status=$?
44261 grep -v '^ *+' conftest.er1 >conftest.err
44262 rm -f conftest.er1
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } && {
44266 test -z "$ac_cxx_werror_flag" ||
44267 test ! -s conftest.err
44268 } && test -s conftest.$ac_objext; then
44269 wx_cv_type_getsockname3=int
44270 else
44271 echo "$as_me: failed program was:" >&5
44272 sed 's/^/| /' conftest.$ac_ext >&5
44273
44274 wx_cv_type_getsockname3=unknown
44275
44276 fi
44277
44278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44279
44280 fi
44281
44282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44283
44284 CFLAGS="$CFLAGS_OLD"
44285
44286
44287 fi
44288
44289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44290 ac_ext=c
44291 ac_cpp='$CPP $CPPFLAGS'
44292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44295
44296
44297 fi
44298 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44299 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44300
44301 if test "$wx_cv_type_getsockname3" = "unknown"; then
44302 wxUSE_SOCKETS=no
44303 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44304 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44305 else
44306 cat >>confdefs.h <<_ACEOF
44307 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44308 _ACEOF
44309
44310 fi
44311 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44312 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44313 if test "${wx_cv_type_getsockopt5+set}" = set; then
44314 echo $ECHO_N "(cached) $ECHO_C" >&6
44315 else
44316
44317 ac_ext=cpp
44318 ac_cpp='$CXXCPP $CPPFLAGS'
44319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44322
44323 cat >conftest.$ac_ext <<_ACEOF
44324 /* confdefs.h. */
44325 _ACEOF
44326 cat confdefs.h >>conftest.$ac_ext
44327 cat >>conftest.$ac_ext <<_ACEOF
44328 /* end confdefs.h. */
44329
44330 #include <sys/types.h>
44331 #include <sys/socket.h>
44332
44333 int
44334 main ()
44335 {
44336
44337 socklen_t len;
44338 getsockopt(0, 0, 0, 0, &len);
44339
44340 ;
44341 return 0;
44342 }
44343 _ACEOF
44344 rm -f conftest.$ac_objext
44345 if { (ac_try="$ac_compile"
44346 case "(($ac_try" in
44347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44348 *) ac_try_echo=$ac_try;;
44349 esac
44350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44351 (eval "$ac_compile") 2>conftest.er1
44352 ac_status=$?
44353 grep -v '^ *+' conftest.er1 >conftest.err
44354 rm -f conftest.er1
44355 cat conftest.err >&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } && {
44358 test -z "$ac_cxx_werror_flag" ||
44359 test ! -s conftest.err
44360 } && test -s conftest.$ac_objext; then
44361 wx_cv_type_getsockopt5=socklen_t
44362 else
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.$ac_ext >&5
44365
44366
44367 cat >conftest.$ac_ext <<_ACEOF
44368 /* confdefs.h. */
44369 _ACEOF
44370 cat confdefs.h >>conftest.$ac_ext
44371 cat >>conftest.$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44373
44374 #include <sys/types.h>
44375 #include <sys/socket.h>
44376
44377 int
44378 main ()
44379 {
44380
44381 size_t len;
44382 getsockopt(0, 0, 0, 0, &len);
44383
44384 ;
44385 return 0;
44386 }
44387 _ACEOF
44388 rm -f conftest.$ac_objext
44389 if { (ac_try="$ac_compile"
44390 case "(($ac_try" in
44391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44392 *) ac_try_echo=$ac_try;;
44393 esac
44394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44395 (eval "$ac_compile") 2>conftest.er1
44396 ac_status=$?
44397 grep -v '^ *+' conftest.er1 >conftest.err
44398 rm -f conftest.er1
44399 cat conftest.err >&5
44400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44401 (exit $ac_status); } && {
44402 test -z "$ac_cxx_werror_flag" ||
44403 test ! -s conftest.err
44404 } && test -s conftest.$ac_objext; then
44405 wx_cv_type_getsockopt5=size_t
44406 else
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.$ac_ext >&5
44409
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416
44417 #include <sys/types.h>
44418 #include <sys/socket.h>
44419
44420 int
44421 main ()
44422 {
44423
44424 int len;
44425 getsockopt(0, 0, 0, 0, &len);
44426
44427 ;
44428 return 0;
44429 }
44430 _ACEOF
44431 rm -f conftest.$ac_objext
44432 if { (ac_try="$ac_compile"
44433 case "(($ac_try" in
44434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44435 *) ac_try_echo=$ac_try;;
44436 esac
44437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44438 (eval "$ac_compile") 2>conftest.er1
44439 ac_status=$?
44440 grep -v '^ *+' conftest.er1 >conftest.err
44441 rm -f conftest.er1
44442 cat conftest.err >&5
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); } && {
44445 test -z "$ac_cxx_werror_flag" ||
44446 test ! -s conftest.err
44447 } && test -s conftest.$ac_objext; then
44448 wx_cv_type_getsockopt5=int
44449 else
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.$ac_ext >&5
44452
44453 wx_cv_type_getsockopt5=unknown
44454
44455 fi
44456
44457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44458
44459 fi
44460
44461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44462
44463
44464 fi
44465
44466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44467 ac_ext=c
44468 ac_cpp='$CPP $CPPFLAGS'
44469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472
44473
44474 fi
44475 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44476 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44477
44478 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44479 wxUSE_SOCKETS=no
44480 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44481 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44482 else
44483 cat >>confdefs.h <<_ACEOF
44484 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44485 _ACEOF
44486
44487 fi
44488 fi
44489 fi
44490
44491 if test "$wxUSE_SOCKETS" = "yes" ; then
44492 if test "$wxUSE_IPV6" = "yes"; then
44493 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44494 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44495 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44496 echo $ECHO_N "(cached) $ECHO_C" >&6
44497 else
44498
44499 cat >conftest.$ac_ext <<_ACEOF
44500 /* confdefs.h. */
44501 _ACEOF
44502 cat confdefs.h >>conftest.$ac_ext
44503 cat >>conftest.$ac_ext <<_ACEOF
44504 /* end confdefs.h. */
44505
44506 #include <sys/types.h>
44507 #include <sys/socket.h>
44508 #include <netinet/in.h>
44509
44510 int
44511 main ()
44512 {
44513
44514 struct sockaddr_in6 sa6;
44515
44516 ;
44517 return 0;
44518 }
44519 _ACEOF
44520 rm -f conftest.$ac_objext
44521 if { (ac_try="$ac_compile"
44522 case "(($ac_try" in
44523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44524 *) ac_try_echo=$ac_try;;
44525 esac
44526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44527 (eval "$ac_compile") 2>conftest.er1
44528 ac_status=$?
44529 grep -v '^ *+' conftest.er1 >conftest.err
44530 rm -f conftest.er1
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } && {
44534 test -z "$ac_c_werror_flag" ||
44535 test ! -s conftest.err
44536 } && test -s conftest.$ac_objext; then
44537 wx_cv_type_sockaddr_in6=yes
44538 else
44539 echo "$as_me: failed program was:" >&5
44540 sed 's/^/| /' conftest.$ac_ext >&5
44541
44542 wx_cv_type_sockaddr_in6=no
44543
44544 fi
44545
44546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44547
44548
44549 fi
44550 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44551 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44552
44553 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_IPV6 1
44556 _ACEOF
44557
44558 else
44559 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44560 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44561 fi
44562 fi
44563
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_SOCKETS 1
44566 _ACEOF
44567
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44569 fi
44570
44571 if test "$wxUSE_PROTOCOL" = "yes"; then
44572 if test "$wxUSE_SOCKETS" != "yes"; then
44573 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44574 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44575 wxUSE_PROTOCOL=no
44576 fi
44577 fi
44578
44579 if test "$wxUSE_PROTOCOL" = "yes"; then
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_PROTOCOL 1
44582 _ACEOF
44583
44584
44585 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44586 cat >>confdefs.h <<\_ACEOF
44587 #define wxUSE_PROTOCOL_HTTP 1
44588 _ACEOF
44589
44590 fi
44591 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_PROTOCOL_FTP 1
44594 _ACEOF
44595
44596 fi
44597 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_PROTOCOL_FILE 1
44600 _ACEOF
44601
44602 fi
44603 else
44604 if test "$wxUSE_FS_INET" = "yes"; then
44605 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44606 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44607 wxUSE_FS_INET="no"
44608 fi
44609 fi
44610
44611 if test "$wxUSE_URL" = "yes"; then
44612 if test "$wxUSE_PROTOCOL" != "yes"; then
44613 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44614 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44615 wxUSE_URL=no
44616 fi
44617 if test "$wxUSE_URL" = "yes"; then
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_URL 1
44620 _ACEOF
44621
44622 fi
44623 fi
44624
44625 if test "$wxUSE_VARIANT" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_VARIANT 1
44628 _ACEOF
44629
44630 fi
44631
44632 if test "$wxUSE_FS_INET" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_FS_INET 1
44635 _ACEOF
44636
44637 fi
44638
44639
44640 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44641 wxUSE_JOYSTICK=no
44642
44643 if test "$TOOLKIT" = "MSW"; then
44644 wxUSE_JOYSTICK=yes
44645
44646 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44647 if test "$USE_DARWIN" = 1; then
44648 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44649 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44650 ac_ext=cpp
44651 ac_cpp='$CXXCPP $CPPFLAGS'
44652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44655
44656 cat >conftest.$ac_ext <<_ACEOF
44657 /* confdefs.h. */
44658 _ACEOF
44659 cat confdefs.h >>conftest.$ac_ext
44660 cat >>conftest.$ac_ext <<_ACEOF
44661 /* end confdefs.h. */
44662 #include <IOKit/hid/IOHIDLib.h>
44663 int
44664 main ()
44665 {
44666 IOHIDQueueInterface *qi = NULL;
44667 IOHIDCallbackFunction cb = NULL;
44668 qi->setEventCallout(NULL, cb, NULL, NULL);
44669 ;
44670 return 0;
44671 }
44672 _ACEOF
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44678 esac
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 wxUSE_JOYSTICK=yes
44691
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 ac_ext=c
44701 ac_cpp='$CPP $CPPFLAGS'
44702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44705
44706 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44707 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44708 fi
44709
44710 else
44711 if test "$wxUSE_MGL" != 1; then
44712
44713 for ac_header in linux/joystick.h
44714 do
44715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44719 echo $ECHO_N "(cached) $ECHO_C" >&6
44720 else
44721 cat >conftest.$ac_ext <<_ACEOF
44722 /* confdefs.h. */
44723 _ACEOF
44724 cat confdefs.h >>conftest.$ac_ext
44725 cat >>conftest.$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727 $ac_includes_default
44728
44729 #include <$ac_header>
44730 _ACEOF
44731 rm -f conftest.$ac_objext
44732 if { (ac_try="$ac_compile"
44733 case "(($ac_try" in
44734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44735 *) ac_try_echo=$ac_try;;
44736 esac
44737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44738 (eval "$ac_compile") 2>conftest.er1
44739 ac_status=$?
44740 grep -v '^ *+' conftest.er1 >conftest.err
44741 rm -f conftest.er1
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } && {
44745 test -z "$ac_c_werror_flag" ||
44746 test ! -s conftest.err
44747 } && test -s conftest.$ac_objext; then
44748 eval "$as_ac_Header=yes"
44749 else
44750 echo "$as_me: failed program was:" >&5
44751 sed 's/^/| /' conftest.$ac_ext >&5
44752
44753 eval "$as_ac_Header=no"
44754 fi
44755
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44757 fi
44758 ac_res=`eval echo '${'$as_ac_Header'}'`
44759 { echo "$as_me:$LINENO: result: $ac_res" >&5
44760 echo "${ECHO_T}$ac_res" >&6; }
44761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44762 cat >>confdefs.h <<_ACEOF
44763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44764 _ACEOF
44765 wxUSE_JOYSTICK=yes
44766 fi
44767
44768 done
44769
44770 fi
44771 fi
44772
44773 if test "$wxUSE_JOYSTICK" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_JOYSTICK 1
44776 _ACEOF
44777
44778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44779 else
44780 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44781 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44782 fi
44783 fi
44784
44785
44786
44787 if test "$wxUSE_FONTENUM" = "yes" ; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_FONTENUM 1
44790 _ACEOF
44791
44792 fi
44793
44794 if test "$wxUSE_FONTMAP" = "yes" ; then
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_FONTMAP 1
44797 _ACEOF
44798
44799 fi
44800
44801 if test "$wxUSE_UNICODE" = "yes" ; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_UNICODE 1
44804 _ACEOF
44805
44806
44807 if test "$USE_WIN32" != 1; then
44808 wxUSE_UNICODE_MSLU=no
44809 fi
44810
44811 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44812 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44813 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44814 if test "${ac_cv_lib_unicows_main+set}" = set; then
44815 echo $ECHO_N "(cached) $ECHO_C" >&6
44816 else
44817 ac_check_lib_save_LIBS=$LIBS
44818 LIBS="-lunicows $LIBS"
44819 cat >conftest.$ac_ext <<_ACEOF
44820 /* confdefs.h. */
44821 _ACEOF
44822 cat confdefs.h >>conftest.$ac_ext
44823 cat >>conftest.$ac_ext <<_ACEOF
44824 /* end confdefs.h. */
44825
44826
44827 int
44828 main ()
44829 {
44830 return main ();
44831 ;
44832 return 0;
44833 }
44834 _ACEOF
44835 rm -f conftest.$ac_objext conftest$ac_exeext
44836 if { (ac_try="$ac_link"
44837 case "(($ac_try" in
44838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44839 *) ac_try_echo=$ac_try;;
44840 esac
44841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44842 (eval "$ac_link") 2>conftest.er1
44843 ac_status=$?
44844 grep -v '^ *+' conftest.er1 >conftest.err
44845 rm -f conftest.er1
44846 cat conftest.err >&5
44847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44848 (exit $ac_status); } && {
44849 test -z "$ac_c_werror_flag" ||
44850 test ! -s conftest.err
44851 } && test -s conftest$ac_exeext &&
44852 $as_test_x conftest$ac_exeext; then
44853 ac_cv_lib_unicows_main=yes
44854 else
44855 echo "$as_me: failed program was:" >&5
44856 sed 's/^/| /' conftest.$ac_ext >&5
44857
44858 ac_cv_lib_unicows_main=no
44859 fi
44860
44861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44862 conftest$ac_exeext conftest.$ac_ext
44863 LIBS=$ac_check_lib_save_LIBS
44864 fi
44865 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44866 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44867 if test $ac_cv_lib_unicows_main = yes; then
44868
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_UNICODE_MSLU 1
44871 _ACEOF
44872
44873
44874 else
44875
44876 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44877 Applications will only run on Windows NT/2000/XP!" >&5
44878 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44879 Applications will only run on Windows NT/2000/XP!" >&2;}
44880 wxUSE_UNICODE_MSLU=no
44881
44882 fi
44883
44884 fi
44885 fi
44886
44887 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_UNICODE_UTF8 1
44890 _ACEOF
44891
44892
44893 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_UTF8_LOCALE_ONLY 1
44896 _ACEOF
44897
44898 fi
44899 fi
44900
44901
44902 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44903 cat >>confdefs.h <<\_ACEOF
44904 #define wxUSE_CONSTRAINTS 1
44905 _ACEOF
44906
44907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44908 fi
44909
44910 if test "$wxUSE_MDI" = "yes"; then
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_MDI 1
44913 _ACEOF
44914
44915
44916 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_MDI_ARCHITECTURE 1
44919 _ACEOF
44920
44921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44922 fi
44923 fi
44924
44925 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44928 _ACEOF
44929
44930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44931 fi
44932
44933 if test "$wxUSE_HELP" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_HELP 1
44936 _ACEOF
44937
44938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44939
44940 if test "$wxUSE_MSW" = 1; then
44941 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_MS_HTML_HELP 1
44944 _ACEOF
44945
44946 fi
44947 fi
44948
44949 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44950 if test "$wxUSE_HTML" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_WXHTML_HELP 1
44953 _ACEOF
44954
44955 else
44956 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44957 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44958 wxUSE_WXHTML_HELP=no
44959 fi
44960 fi
44961 fi
44962
44963 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44964 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44965 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44966 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44967 else
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_PRINTING_ARCHITECTURE 1
44970 _ACEOF
44971
44972 fi
44973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44974 fi
44975
44976 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_POSTSCRIPT 1
44979 _ACEOF
44980
44981 fi
44982
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44985 _ACEOF
44986
44987
44988 if test "$wxUSE_SVG" = "yes"; then
44989 cat >>confdefs.h <<\_ACEOF
44990 #define wxUSE_SVG 1
44991 _ACEOF
44992
44993 fi
44994
44995
44996 if test "$wxUSE_METAFILE" = "yes"; then
44997 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44998 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44999 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45000 wxUSE_METAFILE=no
45001 fi
45002 fi
45003
45004
45005 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45006 -o "$wxUSE_CLIPBOARD" = "yes" \
45007 -o "$wxUSE_OLE" = "yes" \
45008 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45009 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45010 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45011 if test "${ac_cv_header_ole2_h+set}" = set; then
45012 echo $ECHO_N "(cached) $ECHO_C" >&6
45013 else
45014 cat >conftest.$ac_ext <<_ACEOF
45015 /* confdefs.h. */
45016 _ACEOF
45017 cat confdefs.h >>conftest.$ac_ext
45018 cat >>conftest.$ac_ext <<_ACEOF
45019 /* end confdefs.h. */
45020
45021
45022 #include <ole2.h>
45023 _ACEOF
45024 rm -f conftest.$ac_objext
45025 if { (ac_try="$ac_compile"
45026 case "(($ac_try" in
45027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45028 *) ac_try_echo=$ac_try;;
45029 esac
45030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45031 (eval "$ac_compile") 2>conftest.er1
45032 ac_status=$?
45033 grep -v '^ *+' conftest.er1 >conftest.err
45034 rm -f conftest.er1
45035 cat conftest.err >&5
45036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45037 (exit $ac_status); } && {
45038 test -z "$ac_c_werror_flag" ||
45039 test ! -s conftest.err
45040 } && test -s conftest.$ac_objext; then
45041 ac_cv_header_ole2_h=yes
45042 else
45043 echo "$as_me: failed program was:" >&5
45044 sed 's/^/| /' conftest.$ac_ext >&5
45045
45046 ac_cv_header_ole2_h=no
45047 fi
45048
45049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45050 fi
45051 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45052 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45053
45054
45055
45056 if test "$ac_cv_header_ole2_h" = "yes" ; then
45057 if test "$GCC" = yes ; then
45058 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45059 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45060 cat >conftest.$ac_ext <<_ACEOF
45061 /* confdefs.h. */
45062 _ACEOF
45063 cat confdefs.h >>conftest.$ac_ext
45064 cat >>conftest.$ac_ext <<_ACEOF
45065 /* end confdefs.h. */
45066 #include <windows.h>
45067 #include <ole2.h>
45068 int
45069 main ()
45070 {
45071
45072 ;
45073 return 0;
45074 }
45075 _ACEOF
45076 rm -f conftest.$ac_objext
45077 if { (ac_try="$ac_compile"
45078 case "(($ac_try" in
45079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45080 *) ac_try_echo=$ac_try;;
45081 esac
45082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45083 (eval "$ac_compile") 2>conftest.er1
45084 ac_status=$?
45085 grep -v '^ *+' conftest.er1 >conftest.err
45086 rm -f conftest.er1
45087 cat conftest.err >&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); } && {
45090 test -z "$ac_c_werror_flag" ||
45091 test ! -s conftest.err
45092 } && test -s conftest.$ac_objext; then
45093 { echo "$as_me:$LINENO: result: no" >&5
45094 echo "${ECHO_T}no" >&6; }
45095 else
45096 echo "$as_me: failed program was:" >&5
45097 sed 's/^/| /' conftest.$ac_ext >&5
45098
45099 { echo "$as_me:$LINENO: result: yes" >&5
45100 echo "${ECHO_T}yes" >&6; }
45101 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45102 fi
45103
45104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45105 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45106 if test "$wxUSE_OLE" = "yes" ; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define wxUSE_OLE 1
45109 _ACEOF
45110
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_OLE_AUTOMATION 1
45113 _ACEOF
45114
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_ACTIVEX 1
45117 _ACEOF
45118
45119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45120 fi
45121 fi
45122
45123 if test "$wxUSE_DATAOBJ" = "yes" ; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_DATAOBJ 1
45126 _ACEOF
45127
45128 fi
45129 else
45130 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45131 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45132
45133 wxUSE_CLIPBOARD=no
45134 wxUSE_DRAG_AND_DROP=no
45135 wxUSE_DATAOBJ=no
45136 wxUSE_OLE=no
45137 fi
45138
45139 if test "$wxUSE_METAFILE" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_METAFILE 1
45142 _ACEOF
45143
45144
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_ENH_METAFILE 1
45147 _ACEOF
45148
45149 fi
45150 fi
45151
45152 if test "$wxUSE_IPC" = "yes"; then
45153 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45154 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45155 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45156 wxUSE_IPC=no
45157 fi
45158
45159 if test "$wxUSE_IPC" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_IPC 1
45162 _ACEOF
45163
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45165 fi
45166 fi
45167
45168 if test "$wxUSE_DATAOBJ" = "yes"; then
45169 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45170 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45171 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45172 wxUSE_DATAOBJ=no
45173 else
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_DATAOBJ 1
45176 _ACEOF
45177
45178 fi
45179 else
45180 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45181 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45182 wxUSE_CLIPBOARD=no
45183 wxUSE_DRAG_AND_DROP=no
45184 fi
45185
45186 if test "$wxUSE_CLIPBOARD" = "yes"; then
45187 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45188 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45189 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45190 wxUSE_CLIPBOARD=no
45191 fi
45192
45193 if test "$wxUSE_CLIPBOARD" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_CLIPBOARD 1
45196 _ACEOF
45197
45198 fi
45199 fi
45200
45201 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45202 if test "$wxUSE_GTK" = 1; then
45203 if test "$WXGTK12" != 1; then
45204 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45205 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45206 wxUSE_DRAG_AND_DROP=no
45207 fi
45208 fi
45209
45210 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45211 "$wxUSE_DFB" = 1; then
45212 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45213 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45214 wxUSE_DRAG_AND_DROP=no
45215 fi
45216
45217 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45218 cat >>confdefs.h <<\_ACEOF
45219 #define wxUSE_DRAG_AND_DROP 1
45220 _ACEOF
45221
45222 fi
45223
45224 fi
45225
45226 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45228 fi
45229
45230 if test "$wxUSE_SPLINES" = "yes" ; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_SPLINES 1
45233 _ACEOF
45234
45235 fi
45236
45237 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_MOUSEWHEEL 1
45240 _ACEOF
45241
45242 fi
45243
45244
45245 USES_CONTROLS=0
45246 if test "$wxUSE_CONTROLS" = "yes"; then
45247 USES_CONTROLS=1
45248 fi
45249
45250 if test "$wxUSE_ACCEL" = "yes"; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_ACCEL 1
45253 _ACEOF
45254
45255 USES_CONTROLS=1
45256 fi
45257
45258 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_ANIMATIONCTRL 1
45261 _ACEOF
45262
45263 USES_CONTROLS=1
45264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45265 fi
45266
45267 if test "$wxUSE_BUTTON" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_BUTTON 1
45270 _ACEOF
45271
45272 USES_CONTROLS=1
45273 fi
45274
45275 if test "$wxUSE_BMPBUTTON" = "yes"; then
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_BMPBUTTON 1
45278 _ACEOF
45279
45280 USES_CONTROLS=1
45281 fi
45282
45283 if test "$wxUSE_CALCTRL" = "yes"; then
45284 cat >>confdefs.h <<\_ACEOF
45285 #define wxUSE_CALENDARCTRL 1
45286 _ACEOF
45287
45288 USES_CONTROLS=1
45289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45290 fi
45291
45292 if test "$wxUSE_CARET" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_CARET 1
45295 _ACEOF
45296
45297 USES_CONTROLS=1
45298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45299 fi
45300
45301 if test "$wxUSE_COLLPANE" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_COLLPANE 1
45304 _ACEOF
45305
45306 USES_CONTROLS=1
45307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45308 fi
45309
45310 if test "$wxUSE_COMBOBOX" = "yes"; then
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_COMBOBOX 1
45313 _ACEOF
45314
45315 USES_CONTROLS=1
45316 fi
45317
45318 if test "$wxUSE_COMBOCTRL" = "yes"; then
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_COMBOCTRL 1
45321 _ACEOF
45322
45323 USES_CONTROLS=1
45324 fi
45325
45326 if test "$wxUSE_CHOICE" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_CHOICE 1
45329 _ACEOF
45330
45331 USES_CONTROLS=1
45332 fi
45333
45334 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_CHOICEBOOK 1
45337 _ACEOF
45338
45339 USES_CONTROLS=1
45340 fi
45341
45342 if test "$wxUSE_CHECKBOX" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_CHECKBOX 1
45345 _ACEOF
45346
45347 USES_CONTROLS=1
45348 fi
45349
45350 if test "$wxUSE_CHECKLST" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_CHECKLISTBOX 1
45353 _ACEOF
45354
45355 USES_CONTROLS=1
45356 fi
45357
45358 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_COLOURPICKERCTRL 1
45361 _ACEOF
45362
45363 USES_CONTROLS=1
45364 fi
45365
45366 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_DATEPICKCTRL 1
45369 _ACEOF
45370
45371 USES_CONTROLS=1
45372 fi
45373
45374 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_DIRPICKERCTRL 1
45377 _ACEOF
45378
45379 USES_CONTROLS=1
45380 fi
45381
45382 if test "$wxUSE_FILECTRL" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_FILECTRL 1
45385 _ACEOF
45386
45387 USES_CONTROLS=1
45388 fi
45389
45390 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_FILEPICKERCTRL 1
45393 _ACEOF
45394
45395 USES_CONTROLS=1
45396 fi
45397
45398 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_FONTPICKERCTRL 1
45401 _ACEOF
45402
45403 USES_CONTROLS=1
45404 fi
45405
45406 if test "$wxUSE_DISPLAY" = "yes"; then
45407 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45408 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45409 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45410 wxUSE_DISPLAY=no
45411 else
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_DISPLAY 1
45414 _ACEOF
45415
45416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45417 fi
45418 fi
45419
45420 if test "$wxUSE_DETECT_SM" = "yes"; then
45421 cat >>confdefs.h <<\_ACEOF
45422 #define wxUSE_DETECT_SM 1
45423 _ACEOF
45424
45425 fi
45426
45427 if test "$wxUSE_GAUGE" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_GAUGE 1
45430 _ACEOF
45431
45432 USES_CONTROLS=1
45433 fi
45434
45435 if test "$wxUSE_GRID" = "yes"; then
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_GRID 1
45438 _ACEOF
45439
45440 USES_CONTROLS=1
45441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45442 fi
45443
45444 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45445 cat >>confdefs.h <<\_ACEOF
45446 #define wxUSE_HYPERLINKCTRL 1
45447 _ACEOF
45448
45449 USES_CONTROLS=1
45450 fi
45451
45452 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_BITMAPCOMBOBOX 1
45455 _ACEOF
45456
45457 USES_CONTROLS=1
45458 fi
45459
45460 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_DATAVIEWCTRL 1
45463 _ACEOF
45464
45465 USES_CONTROLS=1
45466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45467 fi
45468
45469 if test "$wxUSE_IMAGLIST" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_IMAGLIST 1
45472 _ACEOF
45473
45474 fi
45475
45476 if test "$wxUSE_LISTBOOK" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_LISTBOOK 1
45479 _ACEOF
45480
45481 USES_CONTROLS=1
45482 fi
45483
45484 if test "$wxUSE_LISTBOX" = "yes"; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_LISTBOX 1
45487 _ACEOF
45488
45489 USES_CONTROLS=1
45490 fi
45491
45492 if test "$wxUSE_LISTCTRL" = "yes"; then
45493 if test "$wxUSE_IMAGLIST" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_LISTCTRL 1
45496 _ACEOF
45497
45498 USES_CONTROLS=1
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45500 else
45501 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45502 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45503 fi
45504 fi
45505
45506 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_EDITABLELISTBOX 1
45509 _ACEOF
45510
45511 USES_CONTROLS=1
45512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45513 fi
45514
45515 if test "$wxUSE_NOTEBOOK" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_NOTEBOOK 1
45518 _ACEOF
45519
45520 USES_CONTROLS=1
45521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45522 fi
45523
45524 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_NOTIFICATION_MESSAGE 1
45527 _ACEOF
45528
45529 fi
45530
45531 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_ODCOMBOBOX 1
45534 _ACEOF
45535
45536 USES_CONTROLS=1
45537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45538 fi
45539
45540 if test "$wxUSE_RADIOBOX" = "yes"; then
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_RADIOBOX 1
45543 _ACEOF
45544
45545 USES_CONTROLS=1
45546 fi
45547
45548 if test "$wxUSE_RADIOBTN" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_RADIOBTN 1
45551 _ACEOF
45552
45553 USES_CONTROLS=1
45554 fi
45555
45556 if test "$wxUSE_SASH" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_SASH 1
45559 _ACEOF
45560
45561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45562 fi
45563
45564 if test "$wxUSE_SCROLLBAR" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_SCROLLBAR 1
45567 _ACEOF
45568
45569 USES_CONTROLS=1
45570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45571 fi
45572
45573 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_SEARCHCTRL 1
45576 _ACEOF
45577
45578 USES_CONTROLS=1
45579 fi
45580
45581 if test "$wxUSE_SLIDER" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_SLIDER 1
45584 _ACEOF
45585
45586 USES_CONTROLS=1
45587 fi
45588
45589 if test "$wxUSE_SPINBTN" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_SPINBTN 1
45592 _ACEOF
45593
45594 USES_CONTROLS=1
45595 fi
45596
45597 if test "$wxUSE_SPINCTRL" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_SPINCTRL 1
45600 _ACEOF
45601
45602 USES_CONTROLS=1
45603 fi
45604
45605 if test "$wxUSE_SPLITTER" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_SPLITTER 1
45608 _ACEOF
45609
45610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45611 fi
45612
45613 if test "$wxUSE_STATBMP" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_STATBMP 1
45616 _ACEOF
45617
45618 USES_CONTROLS=1
45619 fi
45620
45621 if test "$wxUSE_STATBOX" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_STATBOX 1
45624 _ACEOF
45625
45626 USES_CONTROLS=1
45627 fi
45628
45629 if test "$wxUSE_STATTEXT" = "yes"; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_STATTEXT 1
45632 _ACEOF
45633
45634 USES_CONTROLS=1
45635 fi
45636
45637 if test "$wxUSE_STATLINE" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_STATLINE 1
45640 _ACEOF
45641
45642 USES_CONTROLS=1
45643 fi
45644
45645 if test "$wxUSE_STATUSBAR" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_NATIVE_STATUSBAR 1
45648 _ACEOF
45649
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_STATUSBAR 1
45652 _ACEOF
45653
45654 USES_CONTROLS=1
45655
45656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45657 fi
45658
45659 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_TAB_DIALOG 1
45662 _ACEOF
45663
45664 fi
45665
45666 if test "$wxUSE_TEXTCTRL" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_TEXTCTRL 1
45669 _ACEOF
45670
45671 USES_CONTROLS=1
45672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45673
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_RICHEDIT 1
45676 _ACEOF
45677
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_RICHEDIT2 1
45680 _ACEOF
45681
45682 fi
45683
45684 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45685 if test "$wxUSE_COCOA" = 1 ; then
45686 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45687 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45688 wxUSE_TOGGLEBTN=no
45689 fi
45690
45691 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_TOGGLEBTN 1
45694 _ACEOF
45695
45696 USES_CONTROLS=1
45697 fi
45698 fi
45699
45700 if test "$wxUSE_TOOLBAR" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_TOOLBAR 1
45703 _ACEOF
45704
45705 USES_CONTROLS=1
45706
45707 if test "$wxUSE_UNIVERSAL" = "yes"; then
45708 wxUSE_TOOLBAR_NATIVE="no"
45709 else
45710 wxUSE_TOOLBAR_NATIVE="yes"
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_TOOLBAR_NATIVE 1
45713 _ACEOF
45714
45715 fi
45716
45717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45718 fi
45719
45720 if test "$wxUSE_TOOLTIPS" = "yes"; then
45721 if test "$wxUSE_MOTIF" = 1; then
45722 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45723 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45724 else
45725 if test "$wxUSE_UNIVERSAL" = "yes"; then
45726 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45727 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45728 else
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_TOOLTIPS 1
45731 _ACEOF
45732
45733 fi
45734 fi
45735 fi
45736
45737 if test "$wxUSE_TREEBOOK" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_TREEBOOK 1
45740 _ACEOF
45741
45742 USES_CONTROLS=1
45743 fi
45744
45745 if test "$wxUSE_TOOLBOOK" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_TOOLBOOK 1
45748 _ACEOF
45749
45750 USES_CONTROLS=1
45751 fi
45752
45753 if test "$wxUSE_TREECTRL" = "yes"; then
45754 if test "$wxUSE_IMAGLIST" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_TREECTRL 1
45757 _ACEOF
45758
45759 USES_CONTROLS=1
45760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45761 else
45762 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45763 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45764 fi
45765 fi
45766
45767 if test "$wxUSE_POPUPWIN" = "yes"; then
45768 if test "$wxUSE_COCOA" = 1 ; then
45769 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45770 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45771 else
45772 if test "$wxUSE_PM" = 1; then
45773 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45774 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45775 else
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_POPUPWIN 1
45778 _ACEOF
45779
45780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45781
45782 USES_CONTROLS=1
45783 fi
45784 fi
45785 fi
45786
45787 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45788 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45789 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45790 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45791 else
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_DIALUP_MANAGER 1
45794 _ACEOF
45795
45796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45797 fi
45798 fi
45799
45800 if test "$wxUSE_TIPWINDOW" = "yes"; then
45801 if test "$wxUSE_PM" = 1; then
45802 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45803 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45804 else
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_TIPWINDOW 1
45807 _ACEOF
45808
45809 fi
45810 fi
45811
45812 if test "$USES_CONTROLS" = 1; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_CONTROLS 1
45815 _ACEOF
45816
45817 fi
45818
45819
45820 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_ACCESSIBILITY 1
45823 _ACEOF
45824
45825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45826 fi
45827
45828 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_DRAGIMAGE 1
45831 _ACEOF
45832
45833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45834 fi
45835
45836 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45837 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45838 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45839 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45840 else
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_EXCEPTIONS 1
45843 _ACEOF
45844
45845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45846 fi
45847 fi
45848
45849 USE_HTML=0
45850 if test "$wxUSE_HTML" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_HTML 1
45853 _ACEOF
45854
45855 USE_HTML=1
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45857 fi
45858 if test "$wxUSE_WEBKIT" = "yes"; then
45859 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45860 old_CPPFLAGS="$CPPFLAGS"
45861 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45862 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45863 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45864 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 else
45867 cat >conftest.$ac_ext <<_ACEOF
45868 /* confdefs.h. */
45869 _ACEOF
45870 cat confdefs.h >>conftest.$ac_ext
45871 cat >>conftest.$ac_ext <<_ACEOF
45872 /* end confdefs.h. */
45873
45874 #include <Carbon/Carbon.h>
45875 #include <WebKit/WebKit.h>
45876
45877
45878 #include <WebKit/HIWebView.h>
45879 _ACEOF
45880 rm -f conftest.$ac_objext
45881 if { (ac_try="$ac_compile"
45882 case "(($ac_try" in
45883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45884 *) ac_try_echo=$ac_try;;
45885 esac
45886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45887 (eval "$ac_compile") 2>conftest.er1
45888 ac_status=$?
45889 grep -v '^ *+' conftest.er1 >conftest.err
45890 rm -f conftest.er1
45891 cat conftest.err >&5
45892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45893 (exit $ac_status); } && {
45894 test -z "$ac_c_werror_flag" ||
45895 test ! -s conftest.err
45896 } && test -s conftest.$ac_objext; then
45897 ac_cv_header_WebKit_HIWebView_h=yes
45898 else
45899 echo "$as_me: failed program was:" >&5
45900 sed 's/^/| /' conftest.$ac_ext >&5
45901
45902 ac_cv_header_WebKit_HIWebView_h=no
45903 fi
45904
45905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45906 fi
45907 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45908 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45909 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45910
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_WEBKIT 1
45913 _ACEOF
45914
45915 WEBKIT_LINK="-framework WebKit"
45916
45917 else
45918
45919 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45920 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45921 wxUSE_WEBKIT=no
45922
45923 fi
45924
45925
45926 CPPFLAGS="$old_CPPFLAGS"
45927 elif test "$wxUSE_COCOA" = 1; then
45928 cat >>confdefs.h <<\_ACEOF
45929 #define wxUSE_WEBKIT 1
45930 _ACEOF
45931
45932 else
45933 wxUSE_WEBKIT=no
45934 fi
45935 if test "$wxUSE_WEBKIT" = "yes"; then
45936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45937 fi
45938 fi
45939
45940 USE_XRC=0
45941 if test "$wxUSE_XRC" = "yes"; then
45942 if test "$wxUSE_XML" != "yes"; then
45943 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45944 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45945 wxUSE_XRC=no
45946 else
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_XRC 1
45949 _ACEOF
45950
45951 USE_XRC=1
45952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45953 fi
45954 fi
45955
45956 USE_AUI=0
45957 if test "$wxUSE_AUI" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_AUI 1
45960 _ACEOF
45961
45962 USE_AUI=1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45964 fi
45965
45966 USE_PROPGRID=0
45967 if test "$wxUSE_PROPGRID" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_PROPGRID 1
45970 _ACEOF
45971
45972 USE_PROPGRID=1
45973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
45974 fi
45975
45976 USE_STC=0
45977 if test "$wxUSE_STC" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_STC 1
45980 _ACEOF
45981
45982 USE_STC=1
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45984 fi
45985
45986 if test "$wxUSE_MENUS" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_MENUS 1
45989 _ACEOF
45990
45991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45992 fi
45993
45994 if test "$wxUSE_METAFILE" = "yes"; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_METAFILE 1
45997 _ACEOF
45998
45999 fi
46000
46001 if test "$wxUSE_MIMETYPE" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_MIMETYPE 1
46004 _ACEOF
46005
46006 fi
46007
46008 if test "$wxUSE_MINIFRAME" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_MINIFRAME 1
46011 _ACEOF
46012
46013 fi
46014
46015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_SYSTEM_OPTIONS 1
46018 _ACEOF
46019
46020 fi
46021
46022 if test "$wxUSE_TASKBARICON" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_TASKBARICON 1
46025 _ACEOF
46026
46027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46028 fi
46029
46030
46031 if test "$wxUSE_VALIDATORS" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_VALIDATORS 1
46034 _ACEOF
46035
46036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46037 fi
46038
46039 if test "$wxUSE_PALETTE" = "yes" ; then
46040 if test "$wxUSE_DFB" = 1; then
46041 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46042 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46043 wxUSE_PALETTE=no
46044 else
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_PALETTE 1
46047 _ACEOF
46048
46049 fi
46050 fi
46051
46052 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46053 LIBS=" -lunicows $LIBS"
46054 fi
46055
46056 USE_RICHTEXT=0
46057 if test "$wxUSE_RICHTEXT" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_RICHTEXT 1
46060 _ACEOF
46061
46062 USE_RICHTEXT=1
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46064 fi
46065
46066
46067 if test "$wxUSE_IMAGE" = "yes" ; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_IMAGE 1
46070 _ACEOF
46071
46072
46073 if test "$wxUSE_GIF" = "yes" ; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_GIF 1
46076 _ACEOF
46077
46078 fi
46079
46080 if test "$wxUSE_PCX" = "yes" ; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_PCX 1
46083 _ACEOF
46084
46085 fi
46086
46087 if test "$wxUSE_TGA" = "yes" ; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_TGA 1
46090 _ACEOF
46091
46092 fi
46093
46094 if test "$wxUSE_IFF" = "yes" ; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_IFF 1
46097 _ACEOF
46098
46099 fi
46100
46101 if test "$wxUSE_PNM" = "yes" ; then
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_PNM 1
46104 _ACEOF
46105
46106 fi
46107
46108 if test "$wxUSE_XPM" = "yes" ; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_XPM 1
46111 _ACEOF
46112
46113 fi
46114
46115 if test "$wxUSE_ICO_CUR" = "yes" ; then
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_ICO_CUR 1
46118 _ACEOF
46119
46120 fi
46121 fi
46122
46123
46124 if test "$wxUSE_ABOUTDLG" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_ABOUTDLG 1
46127 _ACEOF
46128
46129 fi
46130
46131 if test "$wxUSE_CHOICEDLG" = "yes"; then
46132 cat >>confdefs.h <<\_ACEOF
46133 #define wxUSE_CHOICEDLG 1
46134 _ACEOF
46135
46136 fi
46137
46138 if test "$wxUSE_COLOURDLG" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_COLOURDLG 1
46141 _ACEOF
46142
46143 fi
46144
46145 if test "$wxUSE_FILEDLG" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_FILEDLG 1
46148 _ACEOF
46149
46150 fi
46151
46152 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46153 cat >>confdefs.h <<\_ACEOF
46154 #define wxUSE_FINDREPLDLG 1
46155 _ACEOF
46156
46157 fi
46158
46159 if test "$wxUSE_FONTDLG" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define wxUSE_FONTDLG 1
46162 _ACEOF
46163
46164 fi
46165
46166 if test "$wxUSE_DIRDLG" = "yes"; then
46167 if test "$wxUSE_TREECTRL" != "yes"; then
46168 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46169 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46170 else
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_DIRDLG 1
46173 _ACEOF
46174
46175 fi
46176 fi
46177
46178 if test "$wxUSE_MSGDLG" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_MSGDLG 1
46181 _ACEOF
46182
46183 fi
46184
46185 if test "$wxUSE_NUMBERDLG" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_NUMBERDLG 1
46188 _ACEOF
46189
46190 fi
46191
46192 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46193 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46194 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46195 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46196 else
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_PROGRESSDLG 1
46199 _ACEOF
46200
46201 fi
46202 fi
46203
46204 if test "$wxUSE_SPLASH" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_SPLASH 1
46207 _ACEOF
46208
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46210 fi
46211
46212 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46213 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46214 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46215 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46216 else
46217 cat >>confdefs.h <<\_ACEOF
46218 #define wxUSE_STARTUP_TIPS 1
46219 _ACEOF
46220
46221 fi
46222 fi
46223
46224 if test "$wxUSE_TEXTDLG" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_TEXTDLG 1
46227 _ACEOF
46228
46229 fi
46230
46231 if test "$wxUSE_WIZARDDLG" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_WIZARDDLG 1
46234 _ACEOF
46235
46236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46237 fi
46238
46239
46240 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46241 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_OWNER_DRAWN 1
46244 _ACEOF
46245
46246 fi
46247 fi
46248
46249
46250 if test "$wxUSE_MSW" = 1 ; then
46251
46252 if test "$wxUSE_DC_CACHEING" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_DC_CACHEING 1
46255 _ACEOF
46256
46257 fi
46258
46259 if test "$wxUSE_DIB" = "yes"; then
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_WXDIB 1
46262 _ACEOF
46263
46264 fi
46265
46266 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46269 _ACEOF
46270
46271 fi
46272
46273 if test "$wxUSE_UXTHEME" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_UXTHEME 1
46276 _ACEOF
46277
46278 fi
46279
46280 fi
46281
46282 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_AUTOID_MANAGEMENT 1
46285 _ACEOF
46286
46287 fi
46288
46289 if test "$USE_WIN32" = 1 ; then
46290 if test "$wxUSE_INICONF" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_INICONF 1
46293 _ACEOF
46294
46295 fi
46296
46297 if test "$wxUSE_REGKEY" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_REGKEY 1
46300 _ACEOF
46301
46302 fi
46303 fi
46304
46305
46306 if test "$wxUSE_MAC" = 1; then
46307 wxUSE_GRAPHICS_CONTEXT="yes"
46308 fi
46309
46310 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46311 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_GRAPHICS_CONTEXT 1
46314 _ACEOF
46315
46316 elif test "$wxUSE_GTK" != 1; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_GRAPHICS_CONTEXT 1
46319 _ACEOF
46320
46321 else
46322
46323 pkg_failed=no
46324 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46325 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46326
46327 if test -n "$PKG_CONFIG"; then
46328 if test -n "$CAIRO_CFLAGS"; then
46329 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46330 else
46331 if test -n "$PKG_CONFIG" && \
46332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46333 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46334 ac_status=$?
46335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46336 (exit $ac_status); }; then
46337 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46338 else
46339 pkg_failed=yes
46340 fi
46341 fi
46342 else
46343 pkg_failed=untried
46344 fi
46345 if test -n "$PKG_CONFIG"; then
46346 if test -n "$CAIRO_LIBS"; then
46347 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46348 else
46349 if test -n "$PKG_CONFIG" && \
46350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46351 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46352 ac_status=$?
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); }; then
46355 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46356 else
46357 pkg_failed=yes
46358 fi
46359 fi
46360 else
46361 pkg_failed=untried
46362 fi
46363
46364
46365
46366 if test $pkg_failed = yes; then
46367
46368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46369 _pkg_short_errors_supported=yes
46370 else
46371 _pkg_short_errors_supported=no
46372 fi
46373 if test $_pkg_short_errors_supported = yes; then
46374 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46375 else
46376 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46377 fi
46378 # Put the nasty error message in config.log where it belongs
46379 echo "$CAIRO_PKG_ERRORS" >&5
46380
46381 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46382 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46383
46384 elif test $pkg_failed = untried; then
46385 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46386 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46387
46388 else
46389 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46390 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46391 { echo "$as_me:$LINENO: result: yes" >&5
46392 echo "${ECHO_T}yes" >&6; }
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_GRAPHICS_CONTEXT 1
46395 _ACEOF
46396
46397 fi
46398 fi
46399 fi
46400
46401
46402 USE_MEDIA=0
46403
46404 if test "$wxUSE_MEDIACTRL" = "yes"; then
46405 USE_MEDIA=1
46406
46407 if test "$wxUSE_GTK" = 1; then
46408 wxUSE_GSTREAMER="no"
46409
46410 GST_VERSION_MAJOR=0
46411 GST_VERSION_MINOR=10
46412 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46413
46414 if test "$wxUSE_GSTREAMER8" = "no"; then
46415
46416 pkg_failed=no
46417 { echo "$as_me:$LINENO: checking for GST" >&5
46418 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46419
46420 if test -n "$PKG_CONFIG"; then
46421 if test -n "$GST_CFLAGS"; then
46422 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46423 else
46424 if test -n "$PKG_CONFIG" && \
46425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46426 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46427 ac_status=$?
46428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46429 (exit $ac_status); }; then
46430 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46431 else
46432 pkg_failed=yes
46433 fi
46434 fi
46435 else
46436 pkg_failed=untried
46437 fi
46438 if test -n "$PKG_CONFIG"; then
46439 if test -n "$GST_LIBS"; then
46440 pkg_cv_GST_LIBS="$GST_LIBS"
46441 else
46442 if test -n "$PKG_CONFIG" && \
46443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46444 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46445 ac_status=$?
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); }; then
46448 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46449 else
46450 pkg_failed=yes
46451 fi
46452 fi
46453 else
46454 pkg_failed=untried
46455 fi
46456
46457
46458
46459 if test $pkg_failed = yes; then
46460
46461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46462 _pkg_short_errors_supported=yes
46463 else
46464 _pkg_short_errors_supported=no
46465 fi
46466 if test $_pkg_short_errors_supported = yes; then
46467 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46468 else
46469 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46470 fi
46471 # Put the nasty error message in config.log where it belongs
46472 echo "$GST_PKG_ERRORS" >&5
46473
46474
46475 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46476 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46477 GST_VERSION_MINOR=8
46478
46479
46480 elif test $pkg_failed = untried; then
46481
46482 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46483 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46484 GST_VERSION_MINOR=8
46485
46486
46487 else
46488 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46489 GST_LIBS=$pkg_cv_GST_LIBS
46490 { echo "$as_me:$LINENO: result: yes" >&5
46491 echo "${ECHO_T}yes" >&6; }
46492
46493 wxUSE_GSTREAMER="yes"
46494 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46495
46496 fi
46497 else
46498 GST_VERSION_MINOR=8
46499 fi
46500
46501 if test $GST_VERSION_MINOR = "8"; then
46502 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46503
46504 pkg_failed=no
46505 { echo "$as_me:$LINENO: checking for GST" >&5
46506 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46507
46508 if test -n "$PKG_CONFIG"; then
46509 if test -n "$GST_CFLAGS"; then
46510 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46511 else
46512 if test -n "$PKG_CONFIG" && \
46513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46514 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46515 ac_status=$?
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); }; then
46518 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46519 else
46520 pkg_failed=yes
46521 fi
46522 fi
46523 else
46524 pkg_failed=untried
46525 fi
46526 if test -n "$PKG_CONFIG"; then
46527 if test -n "$GST_LIBS"; then
46528 pkg_cv_GST_LIBS="$GST_LIBS"
46529 else
46530 if test -n "$PKG_CONFIG" && \
46531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46532 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46533 ac_status=$?
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 (exit $ac_status); }; then
46536 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46537 else
46538 pkg_failed=yes
46539 fi
46540 fi
46541 else
46542 pkg_failed=untried
46543 fi
46544
46545
46546
46547 if test $pkg_failed = yes; then
46548
46549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46550 _pkg_short_errors_supported=yes
46551 else
46552 _pkg_short_errors_supported=no
46553 fi
46554 if test $_pkg_short_errors_supported = yes; then
46555 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46556 else
46557 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46558 fi
46559 # Put the nasty error message in config.log where it belongs
46560 echo "$GST_PKG_ERRORS" >&5
46561
46562
46563 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46564 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46565
46566 elif test $pkg_failed = untried; then
46567
46568 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46569 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46570
46571 else
46572 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46573 GST_LIBS=$pkg_cv_GST_LIBS
46574 { echo "$as_me:$LINENO: result: yes" >&5
46575 echo "${ECHO_T}yes" >&6; }
46576 wxUSE_GSTREAMER="yes"
46577 fi
46578 fi
46579
46580
46581 if test "$wxUSE_GSTREAMER" = "yes"; then
46582 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46583 EXTRALIBS_MEDIA="$GST_LIBS"
46584
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_GSTREAMER 1
46587 _ACEOF
46588
46589 else
46590 USE_MEDIA=0
46591 fi
46592 fi
46593
46594 if test $USE_MEDIA = 1; then
46595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_MEDIACTRL 1
46598 _ACEOF
46599
46600 fi
46601 fi
46602
46603
46604 if test "$cross_compiling" = "yes"; then
46605 OSINFO="\"$host\""
46606 else
46607 OSINFO=`uname -s -r -m`
46608 OSINFO="\"$OSINFO\""
46609 fi
46610
46611 cat >>confdefs.h <<_ACEOF
46612 #define WXWIN_OS_DESCRIPTION $OSINFO
46613 _ACEOF
46614
46615
46616
46617 if test "x$prefix" != "xNONE"; then
46618 wxPREFIX=$prefix
46619 else
46620 wxPREFIX=$ac_default_prefix
46621 fi
46622
46623 cat >>confdefs.h <<_ACEOF
46624 #define wxINSTALL_PREFIX "$wxPREFIX"
46625 _ACEOF
46626
46627
46628
46629
46630 STD_BASE_LIBS="base"
46631 STD_GUI_LIBS=""
46632 BUILT_WX_LIBS="base"
46633 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46634
46635 if test "$wxUSE_SOCKETS" = "yes" ; then
46636 STD_BASE_LIBS="net $STD_BASE_LIBS"
46637 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46638 fi
46639 if test "$wxUSE_XML" = "yes" ; then
46640 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46641 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46642 fi
46643
46644 if test "$wxUSE_GUI" = "yes"; then
46645 STD_GUI_LIBS="adv core"
46646 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46647
46648 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46649 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46650 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46651 fi
46652 if test "$wxUSE_HTML" = "yes" ; then
46653 STD_GUI_LIBS="html $STD_GUI_LIBS"
46654 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46655 fi
46656 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46657 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46658 fi
46659 if test "$wxUSE_OPENGL" = "yes" ; then
46660 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46661 fi
46662 if test "$wxUSE_AUI" = "yes" ; then
46663 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46664 fi
46665 if test "$wxUSE_PROPGRID" = "yes" ; then
46666 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46667 fi
46668 if test "$wxUSE_STC" = "yes" ; then
46669 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46670 fi
46671 if test "$wxUSE_XRC" = "yes" ; then
46672 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46673 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46674 fi
46675 fi
46676
46677
46678
46679
46680
46681
46682
46683
46684 if test "$wxUSE_MAC" = 1 ; then
46685 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46686 if test "$USE_DARWIN" = 1; then
46687 LDFLAGS="$LDFLAGS -framework QuickTime"
46688 fi
46689 fi
46690 if test "$USE_DARWIN" = 1; then
46691 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
46692 fi
46693 fi
46694 if test "$wxUSE_COCOA" = 1 ; then
46695 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46696 if test "$wxUSE_MEDIACTRL" = "yes"; then
46697 LDFLAGS="$LDFLAGS -framework QuickTime"
46698 fi
46699 fi
46700 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46701 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46702 fi
46703
46704 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46705
46706 if test "$wxUSE_GUI" = "yes"; then
46707
46708
46709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46710 erase event exec font image minimal mobile \
46711 mobile/wxedit mobile/styles render \
46712 shaped svg taborder vscroll widgets"
46713
46714 if test "$wxUSE_MONOLITHIC" != "yes"; then
46715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46716 fi
46717 if test "$TOOLKIT" = "MSW"; then
46718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46719 if test "$wxUSE_UNIVERSAL" != "yes"; then
46720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46721 fi
46722 fi
46723 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46725 fi
46726 else
46727 SAMPLES_SUBDIRS="console"
46728 if test "$wxUSE_SOCKETS" = "yes" ; then
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46730 fi
46731 if test "$wxUSE_IPC" = "yes" ; then
46732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46733 fi
46734 fi
46735
46736
46737 if test "x$INTELCC" = "xyes" ; then
46738 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46739 elif test "$GCC" = yes ; then
46740 CWARNINGS="-Wall -Wundef"
46741 fi
46742
46743 if test "x$INTELCXX" = "xyes" ; then
46744 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46745 elif test "$GXX" = yes ; then
46746 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46747 fi
46748
46749
46750 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46751 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46752
46753
46754 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46755 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46756 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46757 $CPPFLAGS `
46758
46759 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46760 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46761 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46762 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46763 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46764
46765 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46766
46767
46768 if test "x$MWCC" = "xyes"; then
46769
46770 CC="$CC -cwd source -I-"
46771 CXX="$CXX -cwd source -I-"
46772 fi
46773
46774
46775 LIBS=`echo $LIBS`
46776 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46777 EXTRALIBS_XML="$EXPAT_LINK"
46778 EXTRALIBS_HTML="$MSPACK_LINK"
46779 EXTRALIBS_MEDIA="$GST_LIBS"
46780 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46781 if test "$wxUSE_GUI" = "yes"; then
46782 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46783 fi
46784 if test "$wxUSE_OPENGL" = "yes"; then
46785 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46786 fi
46787
46788 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46789
46790 WXCONFIG_LIBS="$LIBS"
46791
46792 if test "$wxUSE_REGEX" = "builtin" ; then
46793 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46794 fi
46795 if test "$wxUSE_EXPAT" = "builtin" ; then
46796 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46797 fi
46798 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46799 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46800 fi
46801 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46802 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46803 fi
46804 if test "$wxUSE_LIBPNG" = "builtin" ; then
46805 wxconfig_3rdparty="png $wxconfig_3rdparty"
46806 fi
46807 if test "$wxUSE_ZLIB" = "builtin" ; then
46808 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46809 fi
46810
46811 for i in $wxconfig_3rdparty ; do
46812 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46813 done
46814
46815
46816 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46817 WXUNIV=1
46818
46819 case "$wxUNIV_THEMES" in
46820 ''|all)
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_ALL_THEMES 1
46823 _ACEOF
46824
46825 ;;
46826
46827 *)
46828 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46829 cat >>confdefs.h <<_ACEOF
46830 #define wxUSE_THEME_$t 1
46831 _ACEOF
46832
46833 done
46834 esac
46835 else
46836 WXUNIV=0
46837 fi
46838
46839
46840
46841
46842
46843
46844
46845
46846 if test $wxUSE_MONOLITHIC = "yes" ; then
46847 MONOLITHIC=1
46848 else
46849 MONOLITHIC=0
46850 fi
46851
46852 if test $wxUSE_PLUGINS = "yes" ; then
46853 USE_PLUGINS=1
46854 else
46855 USE_PLUGINS=0
46856 fi
46857
46858 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46859 USE_QA=1
46860 else
46861 USE_QA=0
46862 fi
46863
46864 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46865 OFFICIAL_BUILD=1
46866 else
46867 OFFICIAL_BUILD=0
46868 fi
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897 TOOLKIT_LOWERCASE=xxx
46898 if test "$TOOLKIT" = "MAC"; then
46899 TOOLKIT_LOWERCASE=osx
46900 fi
46901 if test "$TOOLKIT" = "OSX_CARBON"; then
46902 TOOLKIT_LOWERCASE=osx
46903 fi
46904 if test "$TOOLKIT" = "OSX_COCOA"; then
46905 TOOLKIT_LOWERCASE=osx
46906 fi
46907 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
46908 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46909 fi
46910
46911
46912
46913
46914
46915
46916
46917
46918 case "$TOOLKIT" in
46919 GTK)
46920 TOOLKIT_DESC="GTK+"
46921 if test "$WXGTK2" = 1; then
46922 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46923 if test "$wxUSE_GTKPRINT" = "yes" ; then
46924 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46925 fi
46926 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46927 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46928 fi
46929 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46930 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46931 fi
46932 if test "$wxUSE_LIBHILDON" = "yes"; then
46933 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46934 fi
46935
46936 if test "$TOOLKIT_EXTRA" != ""; then
46937 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46938 fi
46939 fi
46940 ;;
46941
46942 ?*)
46943 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46944 ;;
46945
46946 *)
46947 TOOLKIT_DESC="base only"
46948 ;;
46949 esac
46950
46951 if test "$wxUSE_WINE" = "yes"; then
46952 BAKEFILE_FORCE_PLATFORM=win32
46953 fi
46954
46955 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46956 then
46957 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46958 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46959 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46961 else
46962
46963 echo '#include <stdio.h>
46964 const wchar_t test_var[] = L"awidetest";' > conftest.h
46965
46966 echo '#include "conftest.h"
46967 int main()
46968 {
46969 printf("%ls", test_var);
46970 return 0;
46971 }' > conftest.cpp
46972
46973 wx_cv_gcc_pch_bug="pch not supported"
46974
46975 if $CXX conftest.h >/dev/null 2>&1
46976 then
46977 wx_cv_gcc_pch_bug=
46978
46979 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46980 then
46981 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46982 grep awidetest >/dev/null
46983 then
46984 wx_cv_gcc_pch_bug=no
46985 else
46986 wx_cv_gcc_pch_bug=yes
46987 fi
46988 fi
46989 fi
46990
46991 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46992
46993 fi
46994 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46995 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46996
46997 if test "$wx_cv_gcc_pch_bug" = yes; then
46998 bk_use_pch=no
46999 fi
47000 fi
47001
47002
47003
47004
47005
47006
47007
47008 if test "x$BAKEFILE_HOST" = "x"; then
47009 if test "x${host}" = "x" ; then
47010 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47011 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47012 { (exit 1); exit 1; }; }
47013 fi
47014
47015 BAKEFILE_HOST="${host}"
47016 fi
47017
47018 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47019
47020 if test -n "$ac_tool_prefix"; then
47021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47022 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47025 if test "${ac_cv_prog_RANLIB+set}" = set; then
47026 echo $ECHO_N "(cached) $ECHO_C" >&6
47027 else
47028 if test -n "$RANLIB"; then
47029 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47030 else
47031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47032 for as_dir in $PATH
47033 do
47034 IFS=$as_save_IFS
47035 test -z "$as_dir" && as_dir=.
47036 for ac_exec_ext in '' $ac_executable_extensions; do
47037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47038 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47040 break 2
47041 fi
47042 done
47043 done
47044 IFS=$as_save_IFS
47045
47046 fi
47047 fi
47048 RANLIB=$ac_cv_prog_RANLIB
47049 if test -n "$RANLIB"; then
47050 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47051 echo "${ECHO_T}$RANLIB" >&6; }
47052 else
47053 { echo "$as_me:$LINENO: result: no" >&5
47054 echo "${ECHO_T}no" >&6; }
47055 fi
47056
47057
47058 fi
47059 if test -z "$ac_cv_prog_RANLIB"; then
47060 ac_ct_RANLIB=$RANLIB
47061 # Extract the first word of "ranlib", so it can be a program name with args.
47062 set dummy ranlib; ac_word=$2
47063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47065 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47066 echo $ECHO_N "(cached) $ECHO_C" >&6
47067 else
47068 if test -n "$ac_ct_RANLIB"; then
47069 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47070 else
47071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47072 for as_dir in $PATH
47073 do
47074 IFS=$as_save_IFS
47075 test -z "$as_dir" && as_dir=.
47076 for ac_exec_ext in '' $ac_executable_extensions; do
47077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47078 ac_cv_prog_ac_ct_RANLIB="ranlib"
47079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47080 break 2
47081 fi
47082 done
47083 done
47084 IFS=$as_save_IFS
47085
47086 fi
47087 fi
47088 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47089 if test -n "$ac_ct_RANLIB"; then
47090 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47091 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47092 else
47093 { echo "$as_me:$LINENO: result: no" >&5
47094 echo "${ECHO_T}no" >&6; }
47095 fi
47096
47097 if test "x$ac_ct_RANLIB" = x; then
47098 RANLIB=":"
47099 else
47100 case $cross_compiling:$ac_tool_warned in
47101 yes:)
47102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47103 whose name does not start with the host triplet. If you think this
47104 configuration is useful to you, please write to autoconf@gnu.org." >&5
47105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47106 whose name does not start with the host triplet. If you think this
47107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47108 ac_tool_warned=yes ;;
47109 esac
47110 RANLIB=$ac_ct_RANLIB
47111 fi
47112 else
47113 RANLIB="$ac_cv_prog_RANLIB"
47114 fi
47115
47116 # Find a good install program. We prefer a C program (faster),
47117 # so one script is as good as another. But avoid the broken or
47118 # incompatible versions:
47119 # SysV /etc/install, /usr/sbin/install
47120 # SunOS /usr/etc/install
47121 # IRIX /sbin/install
47122 # AIX /bin/install
47123 # AmigaOS /C/install, which installs bootblocks on floppy discs
47124 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47125 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47126 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47127 # OS/2's system install, which has a completely different semantic
47128 # ./install, which can be erroneously created by make from ./install.sh.
47129 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47130 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47131 if test -z "$INSTALL"; then
47132 if test "${ac_cv_path_install+set}" = set; then
47133 echo $ECHO_N "(cached) $ECHO_C" >&6
47134 else
47135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47136 for as_dir in $PATH
47137 do
47138 IFS=$as_save_IFS
47139 test -z "$as_dir" && as_dir=.
47140 # Account for people who put trailing slashes in PATH elements.
47141 case $as_dir/ in
47142 ./ | .// | /cC/* | \
47143 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47144 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47145 /usr/ucb/* ) ;;
47146 *)
47147 # OSF1 and SCO ODT 3.0 have their own names for install.
47148 # Don't use installbsd from OSF since it installs stuff as root
47149 # by default.
47150 for ac_prog in ginstall scoinst install; do
47151 for ac_exec_ext in '' $ac_executable_extensions; do
47152 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47153 if test $ac_prog = install &&
47154 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47155 # AIX install. It has an incompatible calling convention.
47156 :
47157 elif test $ac_prog = install &&
47158 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47159 # program-specific install script used by HP pwplus--don't use.
47160 :
47161 else
47162 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47163 break 3
47164 fi
47165 fi
47166 done
47167 done
47168 ;;
47169 esac
47170 done
47171 IFS=$as_save_IFS
47172
47173
47174 fi
47175 if test "${ac_cv_path_install+set}" = set; then
47176 INSTALL=$ac_cv_path_install
47177 else
47178 # As a last resort, use the slow shell script. Don't cache a
47179 # value for INSTALL within a source directory, because that will
47180 # break other packages using the cache if that directory is
47181 # removed, or if the value is a relative name.
47182 INSTALL=$ac_install_sh
47183 fi
47184 fi
47185 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47186 echo "${ECHO_T}$INSTALL" >&6; }
47187
47188 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47189 # It thinks the first close brace ends the variable substitution.
47190 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47191
47192 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47193
47194 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47195
47196 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47197 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47198 LN_S=$as_ln_s
47199 if test "$LN_S" = "ln -s"; then
47200 { echo "$as_me:$LINENO: result: yes" >&5
47201 echo "${ECHO_T}yes" >&6; }
47202 else
47203 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47204 echo "${ECHO_T}no, using $LN_S" >&6; }
47205 fi
47206
47207
47208 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47209 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47210 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47211 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47212 echo $ECHO_N "(cached) $ECHO_C" >&6
47213 else
47214 cat >conftest.make <<\_ACEOF
47215 SHELL = /bin/sh
47216 all:
47217 @echo '@@@%%%=$(MAKE)=@@@%%%'
47218 _ACEOF
47219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47220 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47221 *@@@%%%=?*=@@@%%%*)
47222 eval ac_cv_prog_make_${ac_make}_set=yes;;
47223 *)
47224 eval ac_cv_prog_make_${ac_make}_set=no;;
47225 esac
47226 rm -f conftest.make
47227 fi
47228 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47229 { echo "$as_me:$LINENO: result: yes" >&5
47230 echo "${ECHO_T}yes" >&6; }
47231 SET_MAKE=
47232 else
47233 { echo "$as_me:$LINENO: result: no" >&5
47234 echo "${ECHO_T}no" >&6; }
47235 SET_MAKE="MAKE=${MAKE-make}"
47236 fi
47237
47238
47239
47240 if test "x$SUNCXX" = "xyes"; then
47241 AR=$CXX
47242 AROPTIONS="-xar -o"
47243
47244 elif test "x$SGICC" = "xyes"; then
47245 AR=$CXX
47246 AROPTIONS="-ar -o"
47247
47248 else
47249 if test -n "$ac_tool_prefix"; then
47250 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47251 set dummy ${ac_tool_prefix}ar; ac_word=$2
47252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47254 if test "${ac_cv_prog_AR+set}" = set; then
47255 echo $ECHO_N "(cached) $ECHO_C" >&6
47256 else
47257 if test -n "$AR"; then
47258 ac_cv_prog_AR="$AR" # Let the user override the test.
47259 else
47260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47261 for as_dir in $PATH
47262 do
47263 IFS=$as_save_IFS
47264 test -z "$as_dir" && as_dir=.
47265 for ac_exec_ext in '' $ac_executable_extensions; do
47266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47267 ac_cv_prog_AR="${ac_tool_prefix}ar"
47268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47269 break 2
47270 fi
47271 done
47272 done
47273 IFS=$as_save_IFS
47274
47275 fi
47276 fi
47277 AR=$ac_cv_prog_AR
47278 if test -n "$AR"; then
47279 { echo "$as_me:$LINENO: result: $AR" >&5
47280 echo "${ECHO_T}$AR" >&6; }
47281 else
47282 { echo "$as_me:$LINENO: result: no" >&5
47283 echo "${ECHO_T}no" >&6; }
47284 fi
47285
47286
47287 fi
47288 if test -z "$ac_cv_prog_AR"; then
47289 ac_ct_AR=$AR
47290 # Extract the first word of "ar", so it can be a program name with args.
47291 set dummy ar; ac_word=$2
47292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47295 echo $ECHO_N "(cached) $ECHO_C" >&6
47296 else
47297 if test -n "$ac_ct_AR"; then
47298 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47299 else
47300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47301 for as_dir in $PATH
47302 do
47303 IFS=$as_save_IFS
47304 test -z "$as_dir" && as_dir=.
47305 for ac_exec_ext in '' $ac_executable_extensions; do
47306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47307 ac_cv_prog_ac_ct_AR="ar"
47308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47309 break 2
47310 fi
47311 done
47312 done
47313 IFS=$as_save_IFS
47314
47315 fi
47316 fi
47317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47318 if test -n "$ac_ct_AR"; then
47319 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47320 echo "${ECHO_T}$ac_ct_AR" >&6; }
47321 else
47322 { echo "$as_me:$LINENO: result: no" >&5
47323 echo "${ECHO_T}no" >&6; }
47324 fi
47325
47326 if test "x$ac_ct_AR" = x; then
47327 AR="ar"
47328 else
47329 case $cross_compiling:$ac_tool_warned in
47330 yes:)
47331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47332 whose name does not start with the host triplet. If you think this
47333 configuration is useful to you, please write to autoconf@gnu.org." >&5
47334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47335 whose name does not start with the host triplet. If you think this
47336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47337 ac_tool_warned=yes ;;
47338 esac
47339 AR=$ac_ct_AR
47340 fi
47341 else
47342 AR="$ac_cv_prog_AR"
47343 fi
47344
47345 AROPTIONS=rcu
47346 fi
47347
47348
47349 if test -n "$ac_tool_prefix"; then
47350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47351 set dummy ${ac_tool_prefix}strip; ac_word=$2
47352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47354 if test "${ac_cv_prog_STRIP+set}" = set; then
47355 echo $ECHO_N "(cached) $ECHO_C" >&6
47356 else
47357 if test -n "$STRIP"; then
47358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47359 else
47360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47361 for as_dir in $PATH
47362 do
47363 IFS=$as_save_IFS
47364 test -z "$as_dir" && as_dir=.
47365 for ac_exec_ext in '' $ac_executable_extensions; do
47366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47369 break 2
47370 fi
47371 done
47372 done
47373 IFS=$as_save_IFS
47374
47375 fi
47376 fi
47377 STRIP=$ac_cv_prog_STRIP
47378 if test -n "$STRIP"; then
47379 { echo "$as_me:$LINENO: result: $STRIP" >&5
47380 echo "${ECHO_T}$STRIP" >&6; }
47381 else
47382 { echo "$as_me:$LINENO: result: no" >&5
47383 echo "${ECHO_T}no" >&6; }
47384 fi
47385
47386
47387 fi
47388 if test -z "$ac_cv_prog_STRIP"; then
47389 ac_ct_STRIP=$STRIP
47390 # Extract the first word of "strip", so it can be a program name with args.
47391 set dummy strip; ac_word=$2
47392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47394 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47395 echo $ECHO_N "(cached) $ECHO_C" >&6
47396 else
47397 if test -n "$ac_ct_STRIP"; then
47398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47399 else
47400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47401 for as_dir in $PATH
47402 do
47403 IFS=$as_save_IFS
47404 test -z "$as_dir" && as_dir=.
47405 for ac_exec_ext in '' $ac_executable_extensions; do
47406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47407 ac_cv_prog_ac_ct_STRIP="strip"
47408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47409 break 2
47410 fi
47411 done
47412 done
47413 IFS=$as_save_IFS
47414
47415 fi
47416 fi
47417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47418 if test -n "$ac_ct_STRIP"; then
47419 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47420 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47421 else
47422 { echo "$as_me:$LINENO: result: no" >&5
47423 echo "${ECHO_T}no" >&6; }
47424 fi
47425
47426 if test "x$ac_ct_STRIP" = x; then
47427 STRIP=":"
47428 else
47429 case $cross_compiling:$ac_tool_warned in
47430 yes:)
47431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47432 whose name does not start with the host triplet. If you think this
47433 configuration is useful to you, please write to autoconf@gnu.org." >&5
47434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47435 whose name does not start with the host triplet. If you think this
47436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47437 ac_tool_warned=yes ;;
47438 esac
47439 STRIP=$ac_ct_STRIP
47440 fi
47441 else
47442 STRIP="$ac_cv_prog_STRIP"
47443 fi
47444
47445 if test -n "$ac_tool_prefix"; then
47446 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47447 set dummy ${ac_tool_prefix}nm; 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_NM+set}" = set; then
47451 echo $ECHO_N "(cached) $ECHO_C" >&6
47452 else
47453 if test -n "$NM"; then
47454 ac_cv_prog_NM="$NM" # 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_NM="${ac_tool_prefix}nm"
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 NM=$ac_cv_prog_NM
47474 if test -n "$NM"; then
47475 { echo "$as_me:$LINENO: result: $NM" >&5
47476 echo "${ECHO_T}$NM" >&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_NM"; then
47485 ac_ct_NM=$NM
47486 # Extract the first word of "nm", so it can be a program name with args.
47487 set dummy nm; 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_NM+set}" = set; then
47491 echo $ECHO_N "(cached) $ECHO_C" >&6
47492 else
47493 if test -n "$ac_ct_NM"; then
47494 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # 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_NM="nm"
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_NM=$ac_cv_prog_ac_ct_NM
47514 if test -n "$ac_ct_NM"; then
47515 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47516 echo "${ECHO_T}$ac_ct_NM" >&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_NM" = x; then
47523 NM=":"
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 NM=$ac_ct_NM
47536 fi
47537 else
47538 NM="$ac_cv_prog_NM"
47539 fi
47540
47541
47542 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47543 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47544 INSTALL_TEST_DIR=acbftest$$
47545 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47546 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47547 rmdir $INSTALL_TEST_DIR
47548 INSTALL_DIR='$(INSTALL) -d'
47549 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47550 echo "${ECHO_T}$INSTALL -d" >&6; }
47551 else
47552 INSTALL_DIR="mkdir -p"
47553 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47554 echo "${ECHO_T}mkdir -p" >&6; }
47555 fi
47556
47557
47558 LDFLAGS_GUI=
47559 case ${BAKEFILE_HOST} in
47560 *-*-cygwin* | *-*-mingw32* )
47561 LDFLAGS_GUI="-mwindows"
47562 esac
47563
47564
47565 fi
47566
47567 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47568 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47569 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47570 echo $ECHO_N "(cached) $ECHO_C" >&6
47571 else
47572
47573 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47574 egrep -s GNU > /dev/null); then
47575 bakefile_cv_prog_makeisgnu="yes"
47576 else
47577 bakefile_cv_prog_makeisgnu="no"
47578 fi
47579
47580 fi
47581 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47582 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47583
47584 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47585 IF_GNU_MAKE=""
47586 else
47587 IF_GNU_MAKE="#"
47588 fi
47589
47590
47591
47592 PLATFORM_UNIX=0
47593 PLATFORM_WIN32=0
47594 PLATFORM_MSDOS=0
47595 PLATFORM_MAC=0
47596 PLATFORM_MACOS=0
47597 PLATFORM_MACOSX=0
47598 PLATFORM_OS2=0
47599 PLATFORM_BEOS=0
47600
47601 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47602 case "${BAKEFILE_HOST}" in
47603 *-*-mingw32* )
47604 PLATFORM_WIN32=1
47605 ;;
47606 *-pc-msdosdjgpp )
47607 PLATFORM_MSDOS=1
47608 ;;
47609 *-pc-os2_emx | *-pc-os2-emx )
47610 PLATFORM_OS2=1
47611 ;;
47612 *-*-darwin* )
47613 PLATFORM_MAC=1
47614 PLATFORM_MACOSX=1
47615 ;;
47616 *-*-beos* )
47617 PLATFORM_BEOS=1
47618 ;;
47619 powerpc-apple-macos* )
47620 PLATFORM_MAC=1
47621 PLATFORM_MACOS=1
47622 ;;
47623 * )
47624 PLATFORM_UNIX=1
47625 ;;
47626 esac
47627 else
47628 case "$BAKEFILE_FORCE_PLATFORM" in
47629 win32 )
47630 PLATFORM_WIN32=1
47631 ;;
47632 msdos )
47633 PLATFORM_MSDOS=1
47634 ;;
47635 os2 )
47636 PLATFORM_OS2=1
47637 ;;
47638 darwin )
47639 PLATFORM_MAC=1
47640 PLATFORM_MACOSX=1
47641 ;;
47642 unix )
47643 PLATFORM_UNIX=1
47644 ;;
47645 beos )
47646 PLATFORM_BEOS=1
47647 ;;
47648 * )
47649 ;;
47650 esac
47651 fi
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663 # Check whether --enable-omf was given.
47664 if test "${enable_omf+set}" = set; then
47665 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47666 fi
47667
47668
47669 case "${BAKEFILE_HOST}" in
47670 *-*-darwin* )
47671 if test "x$GCC" = "xyes"; then
47672 CFLAGS="$CFLAGS -fno-common"
47673 CXXFLAGS="$CXXFLAGS -fno-common"
47674 fi
47675 if test "x$XLCC" = "xyes"; then
47676 CFLAGS="$CFLAGS -qnocommon"
47677 CXXFLAGS="$CXXFLAGS -qnocommon"
47678 fi
47679 ;;
47680
47681 *-pc-os2_emx | *-pc-os2-emx )
47682 if test "x$bk_os2_use_omf" = "xyes" ; then
47683 AR=emxomfar
47684 RANLIB=:
47685 LDFLAGS="-Zomf $LDFLAGS"
47686 CFLAGS="-Zomf $CFLAGS"
47687 CXXFLAGS="-Zomf $CXXFLAGS"
47688 OS2_LIBEXT="lib"
47689 else
47690 OS2_LIBEXT="a"
47691 fi
47692 ;;
47693
47694 i*86-*-beos* )
47695 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47696 ;;
47697 esac
47698
47699
47700 SO_SUFFIX="so"
47701 SO_SUFFIX_MODULE="so"
47702 EXEEXT=""
47703 LIBPREFIX="lib"
47704 LIBEXT=".a"
47705 DLLPREFIX="lib"
47706 DLLPREFIX_MODULE=""
47707 DLLIMP_SUFFIX=""
47708 dlldir="$libdir"
47709
47710 case "${BAKEFILE_HOST}" in
47711 *-hp-hpux* )
47712 SO_SUFFIX="sl"
47713 SO_SUFFIX_MODULE="sl"
47714 ;;
47715 *-*-aix* )
47716 SO_SUFFIX="a"
47717 SO_SUFFIX_MODULE="a"
47718 ;;
47719 *-*-cygwin* )
47720 SO_SUFFIX="dll"
47721 SO_SUFFIX_MODULE="dll"
47722 DLLIMP_SUFFIX="dll.a"
47723 EXEEXT=".exe"
47724 DLLPREFIX="cyg"
47725 dlldir="$bindir"
47726 ;;
47727 *-*-mingw32* )
47728 SO_SUFFIX="dll"
47729 SO_SUFFIX_MODULE="dll"
47730 DLLIMP_SUFFIX="dll.a"
47731 EXEEXT=".exe"
47732 DLLPREFIX=""
47733 dlldir="$bindir"
47734 ;;
47735 *-pc-msdosdjgpp )
47736 EXEEXT=".exe"
47737 DLLPREFIX=""
47738 dlldir="$bindir"
47739 ;;
47740 *-pc-os2_emx | *-pc-os2-emx )
47741 SO_SUFFIX="dll"
47742 SO_SUFFIX_MODULE="dll"
47743 DLLIMP_SUFFIX=$OS2_LIBEXT
47744 EXEEXT=".exe"
47745 DLLPREFIX=""
47746 LIBPREFIX=""
47747 LIBEXT=".$OS2_LIBEXT"
47748 dlldir="$bindir"
47749 ;;
47750 *-*-darwin* )
47751 SO_SUFFIX="dylib"
47752 SO_SUFFIX_MODULE="bundle"
47753 ;;
47754 esac
47755
47756 if test "x$DLLIMP_SUFFIX" = "x" ; then
47757 DLLIMP_SUFFIX="$SO_SUFFIX"
47758 fi
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771 PIC_FLAG=""
47772 if test "x$GCC" = "xyes"; then
47773 PIC_FLAG="-fPIC"
47774 fi
47775
47776 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47777 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47778 WINDOWS_IMPLIB=0
47779
47780 case "${BAKEFILE_HOST}" in
47781 *-hp-hpux* )
47782 if test "x$GCC" != "xyes"; then
47783 LDFLAGS="$LDFLAGS -L/usr/lib"
47784
47785 SHARED_LD_CC="${CC} -b -o"
47786 SHARED_LD_CXX="${CXX} -b -o"
47787 PIC_FLAG="+Z"
47788 fi
47789 ;;
47790
47791 *-*-linux* )
47792 if test "$INTELCC" = "yes"; then
47793 PIC_FLAG="-KPIC"
47794 elif test "x$SUNCXX" = "xyes"; then
47795 SHARED_LD_CC="${CC} -G -o"
47796 SHARED_LD_CXX="${CXX} -G -o"
47797 PIC_FLAG="-KPIC"
47798 fi
47799 ;;
47800
47801 *-*-solaris2* )
47802 if test "x$SUNCXX" = xyes ; then
47803 SHARED_LD_CC="${CC} -G -o"
47804 SHARED_LD_CXX="${CXX} -G -o"
47805 PIC_FLAG="-KPIC"
47806 fi
47807 ;;
47808
47809 *-*-darwin* )
47810
47811 D='$'
47812 cat <<EOF >shared-ld-sh
47813 #!/bin/sh
47814 #-----------------------------------------------------------------------------
47815 #-- Name: distrib/mac/shared-ld-sh
47816 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47817 #-- Author: Gilles Depeyrot
47818 #-- Copyright: (c) 2002 Gilles Depeyrot
47819 #-- Licence: any use permitted
47820 #-----------------------------------------------------------------------------
47821
47822 verbose=0
47823 args=""
47824 objects=""
47825 linking_flag="-dynamiclib"
47826 ldargs="-r -keep_private_externs -nostdlib"
47827
47828 if test "x${D}CXX" = "x"; then
47829 CXX="c++"
47830 fi
47831
47832 while test ${D}# -gt 0; do
47833 case ${D}1 in
47834
47835 -v)
47836 verbose=1
47837 ;;
47838
47839 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47840 # collect these options and values
47841 args="${D}{args} ${D}1 ${D}2"
47842 shift
47843 ;;
47844
47845 -arch|-isysroot)
47846 # collect these options and values
47847 ldargs="${D}{ldargs} ${D}1 ${D}2"
47848 shift
47849 ;;
47850
47851 -s|-Wl,*)
47852 # collect these load args
47853 ldargs="${D}{ldargs} ${D}1"
47854 ;;
47855
47856 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47857 # collect these options
47858 args="${D}{args} ${D}1"
47859 ;;
47860
47861 -dynamiclib|-bundle)
47862 linking_flag="${D}1"
47863 ;;
47864
47865 -*)
47866 echo "shared-ld: unhandled option '${D}1'"
47867 exit 1
47868 ;;
47869
47870 *.o | *.a | *.dylib)
47871 # collect object files
47872 objects="${D}{objects} ${D}1"
47873 ;;
47874
47875 *)
47876 echo "shared-ld: unhandled argument '${D}1'"
47877 exit 1
47878 ;;
47879
47880 esac
47881 shift
47882 done
47883
47884 status=0
47885
47886 #
47887 # Link one module containing all the others
47888 #
47889 if test ${D}{verbose} = 1; then
47890 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47891 fi
47892 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47893 status=${D}?
47894
47895 #
47896 # Link the shared library from the single module created, but only if the
47897 # previous command didn't fail:
47898 #
47899 if test ${D}{status} = 0; then
47900 if test ${D}{verbose} = 1; then
47901 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47902 fi
47903 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47904 status=${D}?
47905 fi
47906
47907 #
47908 # Remove intermediate module
47909 #
47910 rm -f master.${D}${D}.o
47911
47912 exit ${D}status
47913 EOF
47914
47915 chmod +x shared-ld-sh
47916
47917 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47918 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47919
47920
47921 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47922 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47923 if test "${bakefile_cv_gcc31+set}" = set; then
47924 echo $ECHO_N "(cached) $ECHO_C" >&6
47925 else
47926
47927 cat >conftest.$ac_ext <<_ACEOF
47928 /* confdefs.h. */
47929 _ACEOF
47930 cat confdefs.h >>conftest.$ac_ext
47931 cat >>conftest.$ac_ext <<_ACEOF
47932 /* end confdefs.h. */
47933
47934 int
47935 main ()
47936 {
47937
47938 #if (__GNUC__ < 3) || \
47939 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47940 This is old gcc
47941 #endif
47942
47943 ;
47944 return 0;
47945 }
47946 _ACEOF
47947 rm -f conftest.$ac_objext
47948 if { (ac_try="$ac_compile"
47949 case "(($ac_try" in
47950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47951 *) ac_try_echo=$ac_try;;
47952 esac
47953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47954 (eval "$ac_compile") 2>conftest.er1
47955 ac_status=$?
47956 grep -v '^ *+' conftest.er1 >conftest.err
47957 rm -f conftest.er1
47958 cat conftest.err >&5
47959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47960 (exit $ac_status); } && {
47961 test -z "$ac_c_werror_flag" ||
47962 test ! -s conftest.err
47963 } && test -s conftest.$ac_objext; then
47964
47965 bakefile_cv_gcc31=yes
47966
47967 else
47968 echo "$as_me: failed program was:" >&5
47969 sed 's/^/| /' conftest.$ac_ext >&5
47970
47971
47972 bakefile_cv_gcc31=no
47973
47974
47975 fi
47976
47977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47978
47979 fi
47980 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47981 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47982 if test "$bakefile_cv_gcc31" = "no"; then
47983 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47984 SHARED_LD_CXX="$SHARED_LD_CC"
47985 else
47986 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47987 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47988 fi
47989
47990 if test "x$GCC" == "xyes"; then
47991 PIC_FLAG="-dynamic -fPIC"
47992 fi
47993 if test "x$XLCC" = "xyes"; then
47994 PIC_FLAG="-dynamic -DPIC"
47995 fi
47996 ;;
47997
47998 *-*-aix* )
47999 if test "x$GCC" = "xyes"; then
48000 PIC_FLAG=""
48001
48002 case "${BAKEFILE_HOST}" in
48003 *-*-aix5* )
48004 LD_EXPFULL="-Wl,-bexpfull"
48005 ;;
48006 esac
48007
48008 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48009 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48010 else
48011 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48012 set dummy makeC++SharedLib; ac_word=$2
48013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48015 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48017 else
48018 if test -n "$AIX_CXX_LD"; then
48019 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48020 else
48021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48022 for as_dir in $PATH
48023 do
48024 IFS=$as_save_IFS
48025 test -z "$as_dir" && as_dir=.
48026 for ac_exec_ext in '' $ac_executable_extensions; do
48027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48028 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48030 break 2
48031 fi
48032 done
48033 done
48034 IFS=$as_save_IFS
48035
48036 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48037 fi
48038 fi
48039 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48040 if test -n "$AIX_CXX_LD"; then
48041 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48042 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48043 else
48044 { echo "$as_me:$LINENO: result: no" >&5
48045 echo "${ECHO_T}no" >&6; }
48046 fi
48047
48048
48049 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48050 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48051 fi
48052 ;;
48053
48054 *-*-beos* )
48055 SHARED_LD_CC="${LD} -nostart -o"
48056 SHARED_LD_CXX="${LD} -nostart -o"
48057 ;;
48058
48059 *-*-irix* )
48060 if test "x$GCC" != "xyes"; then
48061 PIC_FLAG="-KPIC"
48062 fi
48063 ;;
48064
48065 *-*-cygwin* | *-*-mingw32* )
48066 PIC_FLAG=""
48067 SHARED_LD_CC="\$(CC) -shared -o"
48068 SHARED_LD_CXX="\$(CXX) -shared -o"
48069 WINDOWS_IMPLIB=1
48070 ;;
48071
48072 *-pc-os2_emx | *-pc-os2-emx )
48073 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48074 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48075 PIC_FLAG=""
48076
48077 D='$'
48078 cat <<EOF >dllar.sh
48079 #!/bin/sh
48080 #
48081 # dllar - a tool to build both a .dll and an .a file
48082 # from a set of object (.o) files for EMX/OS2.
48083 #
48084 # Written by Andrew Zabolotny, bit@freya.etu.ru
48085 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48086 #
48087 # This script will accept a set of files on the command line.
48088 # All the public symbols from the .o files will be exported into
48089 # a .DEF file, then linker will be run (through gcc) against them to
48090 # build a shared library consisting of all given .o files. All libraries
48091 # (.a) will be first decompressed into component .o files then act as
48092 # described above. You can optionally give a description (-d "description")
48093 # which will be put into .DLL. To see the list of accepted options (as well
48094 # as command-line format) simply run this program without options. The .DLL
48095 # is built to be imported by name (there is no guarantee that new versions
48096 # of the library you build will have same ordinals for same symbols).
48097 #
48098 # dllar is free software; you can redistribute it and/or modify
48099 # it under the terms of the GNU General Public License as published by
48100 # the Free Software Foundation; either version 2, or (at your option)
48101 # any later version.
48102 #
48103 # dllar is distributed in the hope that it will be useful,
48104 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48105 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48106 # GNU General Public License for more details.
48107 #
48108 # You should have received a copy of the GNU General Public License
48109 # along with dllar; see the file COPYING. If not, write to the Free
48110 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48111 # 02111-1307, USA.
48112
48113 # To successfuly run this program you will need:
48114 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48115 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48116 # - gcc
48117 # (used to build the .dll)
48118 # - emxexp
48119 # (used to create .def file from .o files)
48120 # - emximp
48121 # (used to create .a file from .def file)
48122 # - GNU text utilites (cat, sort, uniq)
48123 # used to process emxexp output
48124 # - GNU file utilities (mv, rm)
48125 # - GNU sed
48126 # - lxlite (optional, see flag below)
48127 # (used for general .dll cleanup)
48128 #
48129
48130 flag_USE_LXLITE=1;
48131
48132 #
48133 # helper functions
48134 # basnam, variant of basename, which does _not_ remove the path, _iff_
48135 # second argument (suffix to remove) is given
48136 basnam(){
48137 case ${D}# in
48138 1)
48139 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48140 ;;
48141 2)
48142 echo ${D}1 | sed 's/'${D}2'${D}//'
48143 ;;
48144 *)
48145 echo "error in basnam ${D}*"
48146 exit 8
48147 ;;
48148 esac
48149 }
48150
48151 # Cleanup temporary files and output
48152 CleanUp() {
48153 cd ${D}curDir
48154 for i in ${D}inputFiles ; do
48155 case ${D}i in
48156 *!)
48157 rm -rf \`basnam ${D}i !\`
48158 ;;
48159 *)
48160 ;;
48161 esac
48162 done
48163
48164 # Kill result in case of failure as there is just to many stupid make/nmake
48165 # things out there which doesn't do this.
48166 if [ ${D}# -eq 0 ]; then
48167 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48168 fi
48169 }
48170
48171 # Print usage and exit script with rc=1.
48172 PrintHelp() {
48173 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48174 echo ' [-name-mangler-script script.sh]'
48175 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48176 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48177 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48178 echo ' [*.o] [*.a]'
48179 echo '*> "output_file" should have no extension.'
48180 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48181 echo ' The import library name is derived from this and is set to "name".a,'
48182 echo ' unless overridden by -import'
48183 echo '*> "importlib_name" should have no extension.'
48184 echo ' If it has the .o, or .a extension, it is automatically removed.'
48185 echo ' This name is used as the import library name and may be longer and'
48186 echo ' more descriptive than the DLL name which has to follow the old '
48187 echo ' 8.3 convention of FAT.'
48188 echo '*> "script.sh may be given to override the output_file name by a'
48189 echo ' different name. It is mainly useful if the regular make process'
48190 echo ' of some package does not take into account OS/2 restriction of'
48191 echo ' DLL name lengths. It takes the importlib name as input and is'
48192 echo ' supposed to procude a shorter name as output. The script should'
48193 echo ' expect to get importlib_name without extension and should produce'
48194 echo ' a (max.) 8 letter name without extension.'
48195 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48196 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48197 echo ' These flags will be put at the start of GCC command line.'
48198 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48199 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48200 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48201 echo ' If the last character of a symbol is "*", all symbols beginning'
48202 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48203 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48204 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48205 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48206 echo ' C runtime DLLs.'
48207 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48208 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48209 echo ' unchanged to GCC at the end of command line.'
48210 echo '*> If you create a DLL from a library and you do not specify -o,'
48211 echo ' the basename for DLL and import library will be set to library name,'
48212 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48213 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48214 echo ' library will be renamed into gcc_s.a.'
48215 echo '--------'
48216 echo 'Example:'
48217 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48218 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48219 CleanUp
48220 exit 1
48221 }
48222
48223 # Execute a command.
48224 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48225 # @Uses Whatever CleanUp() uses.
48226 doCommand() {
48227 echo "${D}*"
48228 eval ${D}*
48229 rcCmd=${D}?
48230
48231 if [ ${D}rcCmd -ne 0 ]; then
48232 echo "command failed, exit code="${D}rcCmd
48233 CleanUp
48234 exit ${D}rcCmd
48235 fi
48236 }
48237
48238 # main routine
48239 # setup globals
48240 cmdLine=${D}*
48241 outFile=""
48242 outimpFile=""
48243 inputFiles=""
48244 renameScript=""
48245 description=""
48246 CC=gcc.exe
48247 CFLAGS="-s -Zcrtdll"
48248 EXTRA_CFLAGS=""
48249 EXPORT_BY_ORDINALS=0
48250 exclude_symbols=""
48251 library_flags=""
48252 curDir=\`pwd\`
48253 curDirS=curDir
48254 case ${D}curDirS in
48255 */)
48256 ;;
48257 *)
48258 curDirS=${D}{curDirS}"/"
48259 ;;
48260 esac
48261 # Parse commandline
48262 libsToLink=0
48263 omfLinking=0
48264 while [ ${D}1 ]; do
48265 case ${D}1 in
48266 -ord*)
48267 EXPORT_BY_ORDINALS=1;
48268 ;;
48269 -o*)
48270 shift
48271 outFile=${D}1
48272 ;;
48273 -i*)
48274 shift
48275 outimpFile=${D}1
48276 ;;
48277 -name-mangler-script)
48278 shift
48279 renameScript=${D}1
48280 ;;
48281 -d*)
48282 shift
48283 description=${D}1
48284 ;;
48285 -f*)
48286 shift
48287 CFLAGS=${D}1
48288 ;;
48289 -c*)
48290 shift
48291 CC=${D}1
48292 ;;
48293 -h*)
48294 PrintHelp
48295 ;;
48296 -ex*)
48297 shift
48298 exclude_symbols=${D}{exclude_symbols}${D}1" "
48299 ;;
48300 -libf*)
48301 shift
48302 library_flags=${D}{library_flags}${D}1" "
48303 ;;
48304 -nocrt*)
48305 CFLAGS="-s"
48306 ;;
48307 -nolxl*)
48308 flag_USE_LXLITE=0
48309 ;;
48310 -* | /*)
48311 case ${D}1 in
48312 -L* | -l*)
48313 libsToLink=1
48314 ;;
48315 -Zomf)
48316 omfLinking=1
48317 ;;
48318 *)
48319 ;;
48320 esac
48321 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48322 ;;
48323 *.dll)
48324 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48325 if [ ${D}omfLinking -eq 1 ]; then
48326 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48327 else
48328 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48329 fi
48330 ;;
48331 *)
48332 found=0;
48333 if [ ${D}libsToLink -ne 0 ]; then
48334 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48335 else
48336 for file in ${D}1 ; do
48337 if [ -f ${D}file ]; then
48338 inputFiles="${D}{inputFiles} ${D}file"
48339 found=1
48340 fi
48341 done
48342 if [ ${D}found -eq 0 ]; then
48343 echo "ERROR: No file(s) found: "${D}1
48344 exit 8
48345 fi
48346 fi
48347 ;;
48348 esac
48349 shift
48350 done # iterate cmdline words
48351
48352 #
48353 if [ -z "${D}inputFiles" ]; then
48354 echo "dllar: no input files"
48355 PrintHelp
48356 fi
48357
48358 # Now extract all .o files from .a files
48359 newInputFiles=""
48360 for file in ${D}inputFiles ; do
48361 case ${D}file in
48362 *.a | *.lib)
48363 case ${D}file in
48364 *.a)
48365 suffix=".a"
48366 AR="ar"
48367 ;;
48368 *.lib)
48369 suffix=".lib"
48370 AR="emxomfar"
48371 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48372 ;;
48373 *)
48374 ;;
48375 esac
48376 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48377 mkdir ${D}dirname
48378 if [ ${D}? -ne 0 ]; then
48379 echo "Failed to create subdirectory ./${D}dirname"
48380 CleanUp
48381 exit 8;
48382 fi
48383 # Append '!' to indicate archive
48384 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48385 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48386 cd ${D}curDir
48387 found=0;
48388 for subfile in ${D}dirname/*.o* ; do
48389 if [ -f ${D}subfile ]; then
48390 found=1
48391 if [ -s ${D}subfile ]; then
48392 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48393 newInputFiles="${D}newInputFiles ${D}subfile"
48394 fi
48395 fi
48396 done
48397 if [ ${D}found -eq 0 ]; then
48398 echo "WARNING: there are no files in archive \\'${D}file\\'"
48399 fi
48400 ;;
48401 *)
48402 newInputFiles="${D}{newInputFiles} ${D}file"
48403 ;;
48404 esac
48405 done
48406 inputFiles="${D}newInputFiles"
48407
48408 # Output filename(s).
48409 do_backup=0;
48410 if [ -z ${D}outFile ]; then
48411 do_backup=1;
48412 set outFile ${D}inputFiles; outFile=${D}2
48413 fi
48414
48415 # If it is an archive, remove the '!' and the '_%' suffixes
48416 case ${D}outFile in
48417 *_%!)
48418 outFile=\`basnam ${D}outFile _%!\`
48419 ;;
48420 *)
48421 ;;
48422 esac
48423 case ${D}outFile in
48424 *.dll)
48425 outFile=\`basnam ${D}outFile .dll\`
48426 ;;
48427 *.DLL)
48428 outFile=\`basnam ${D}outFile .DLL\`
48429 ;;
48430 *.o)
48431 outFile=\`basnam ${D}outFile .o\`
48432 ;;
48433 *.obj)
48434 outFile=\`basnam ${D}outFile .obj\`
48435 ;;
48436 *.a)
48437 outFile=\`basnam ${D}outFile .a\`
48438 ;;
48439 *.lib)
48440 outFile=\`basnam ${D}outFile .lib\`
48441 ;;
48442 *)
48443 ;;
48444 esac
48445 case ${D}outimpFile in
48446 *.a)
48447 outimpFile=\`basnam ${D}outimpFile .a\`
48448 ;;
48449 *.lib)
48450 outimpFile=\`basnam ${D}outimpFile .lib\`
48451 ;;
48452 *)
48453 ;;
48454 esac
48455 if [ -z ${D}outimpFile ]; then
48456 outimpFile=${D}outFile
48457 fi
48458 defFile="${D}{outFile}.def"
48459 arcFile="${D}{outimpFile}.a"
48460 arcFile2="${D}{outimpFile}.lib"
48461
48462 #create ${D}dllFile as something matching 8.3 restrictions,
48463 if [ -z ${D}renameScript ] ; then
48464 dllFile="${D}outFile"
48465 else
48466 dllFile=\`${D}renameScript ${D}outimpFile\`
48467 fi
48468
48469 if [ ${D}do_backup -ne 0 ] ; then
48470 if [ -f ${D}arcFile ] ; then
48471 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48472 fi
48473 if [ -f ${D}arcFile2 ] ; then
48474 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48475 fi
48476 fi
48477
48478 # Extract public symbols from all the object files.
48479 tmpdefFile=${D}{defFile}_%
48480 rm -f ${D}tmpdefFile
48481 for file in ${D}inputFiles ; do
48482 case ${D}file in
48483 *!)
48484 ;;
48485 *)
48486 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48487 ;;
48488 esac
48489 done
48490
48491 # Create the def file.
48492 rm -f ${D}defFile
48493 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48494 dllFile="${D}{dllFile}.dll"
48495 if [ ! -z ${D}description ]; then
48496 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48497 fi
48498 echo "EXPORTS" >> ${D}defFile
48499
48500 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48501 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48502
48503 # Checks if the export is ok or not.
48504 for word in ${D}exclude_symbols; do
48505 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48506 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48507 done
48508
48509
48510 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48511 sed "=" < ${D}tmpdefFile | \\
48512 sed '
48513 N
48514 : loop
48515 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48516 t loop
48517 ' > ${D}{tmpdefFile}%
48518 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48519 else
48520 rm -f ${D}{tmpdefFile}%
48521 fi
48522 cat ${D}tmpdefFile >> ${D}defFile
48523 rm -f ${D}tmpdefFile
48524
48525 # Do linking, create implib, and apply lxlite.
48526 gccCmdl="";
48527 for file in ${D}inputFiles ; do
48528 case ${D}file in
48529 *!)
48530 ;;
48531 *)
48532 gccCmdl="${D}gccCmdl ${D}file"
48533 ;;
48534 esac
48535 done
48536 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48537 touch "${D}{outFile}.dll"
48538
48539 doCommand "emximp -o ${D}arcFile ${D}defFile"
48540 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48541 add_flags="";
48542 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48543 add_flags="-ynd"
48544 fi
48545 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48546 fi
48547 doCommand "emxomf -s -l ${D}arcFile"
48548
48549 # Successful exit.
48550 CleanUp 1
48551 exit 0
48552 EOF
48553
48554 chmod +x dllar.sh
48555 ;;
48556
48557 powerpc-apple-macos* | \
48558 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48559 *-*-mirbsd* | \
48560 *-*-sunos4* | \
48561 *-*-osf* | \
48562 *-*-dgux5* | \
48563 *-*-sysv5* | \
48564 *-pc-msdosdjgpp )
48565 ;;
48566
48567 *)
48568 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48569 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48570 { (exit 1); exit 1; }; }
48571 esac
48572
48573 if test "x$PIC_FLAG" != "x" ; then
48574 PIC_FLAG="$PIC_FLAG -DPIC"
48575 fi
48576
48577 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48578 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48579 fi
48580 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48581 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48582 fi
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592 USE_SOVERSION=0
48593 USE_SOVERLINUX=0
48594 USE_SOVERSOLARIS=0
48595 USE_SOVERCYGWIN=0
48596 USE_SOSYMLINKS=0
48597 USE_MACVERSION=0
48598 SONAME_FLAG=
48599
48600 case "${BAKEFILE_HOST}" in
48601 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48602 *-*-k*bsd*-gnu | *-*-mirbsd* )
48603 if test "x$SUNCXX" = "xyes"; then
48604 SONAME_FLAG="-h "
48605 else
48606 SONAME_FLAG="-Wl,-soname,"
48607 fi
48608 USE_SOVERSION=1
48609 USE_SOVERLINUX=1
48610 USE_SOSYMLINKS=1
48611 ;;
48612
48613 *-*-solaris2* )
48614 SONAME_FLAG="-h "
48615 USE_SOVERSION=1
48616 USE_SOVERSOLARIS=1
48617 USE_SOSYMLINKS=1
48618 ;;
48619
48620 *-*-darwin* )
48621 USE_MACVERSION=1
48622 USE_SOVERSION=1
48623 USE_SOSYMLINKS=1
48624 ;;
48625
48626 *-*-cygwin* )
48627 USE_SOVERSION=1
48628 USE_SOVERCYGWIN=1
48629 ;;
48630 esac
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641 # Check whether --enable-dependency-tracking was given.
48642 if test "${enable_dependency_tracking+set}" = set; then
48643 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48644 fi
48645
48646
48647 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48648 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48649
48650 BK_DEPS=""
48651 if test "x$bk_use_trackdeps" = "xno" ; then
48652 DEPS_TRACKING=0
48653 { echo "$as_me:$LINENO: result: disabled" >&5
48654 echo "${ECHO_T}disabled" >&6; }
48655 else
48656 DEPS_TRACKING=1
48657
48658 if test "x$GCC" = "xyes"; then
48659 DEPSMODE=gcc
48660 case "${BAKEFILE_HOST}" in
48661 *-*-darwin* )
48662 DEPSFLAG="-no-cpp-precomp -MMD"
48663 ;;
48664 * )
48665 DEPSFLAG="-MMD"
48666 ;;
48667 esac
48668 { echo "$as_me:$LINENO: result: gcc" >&5
48669 echo "${ECHO_T}gcc" >&6; }
48670 elif test "x$MWCC" = "xyes"; then
48671 DEPSMODE=mwcc
48672 DEPSFLAG="-MM"
48673 { echo "$as_me:$LINENO: result: mwcc" >&5
48674 echo "${ECHO_T}mwcc" >&6; }
48675 elif test "x$SUNCC" = "xyes"; then
48676 DEPSMODE=unixcc
48677 DEPSFLAG="-xM1"
48678 { echo "$as_me:$LINENO: result: Sun cc" >&5
48679 echo "${ECHO_T}Sun cc" >&6; }
48680 elif test "x$SGICC" = "xyes"; then
48681 DEPSMODE=unixcc
48682 DEPSFLAG="-M"
48683 { echo "$as_me:$LINENO: result: SGI cc" >&5
48684 echo "${ECHO_T}SGI cc" >&6; }
48685 elif test "x$HPCC" = "xyes"; then
48686 DEPSMODE=unixcc
48687 DEPSFLAG="+make"
48688 { echo "$as_me:$LINENO: result: HP cc" >&5
48689 echo "${ECHO_T}HP cc" >&6; }
48690 elif test "x$COMPAQCC" = "xyes"; then
48691 DEPSMODE=gcc
48692 DEPSFLAG="-MD"
48693 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48694 echo "${ECHO_T}Compaq cc" >&6; }
48695 else
48696 DEPS_TRACKING=0
48697 { echo "$as_me:$LINENO: result: none" >&5
48698 echo "${ECHO_T}none" >&6; }
48699 fi
48700
48701 if test $DEPS_TRACKING = 1 ; then
48702
48703 D='$'
48704 cat <<EOF >bk-deps
48705 #!/bin/sh
48706
48707 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48708 # script. It is used to track C/C++ files dependencies in portable way.
48709 #
48710 # Permission is given to use this file in any way.
48711
48712 DEPSMODE=${DEPSMODE}
48713 DEPSFLAG="${DEPSFLAG}"
48714 DEPSDIRBASE=.deps
48715
48716 if test ${D}DEPSMODE = gcc ; then
48717 ${D}* ${D}{DEPSFLAG}
48718 status=${D}?
48719
48720 # determine location of created files:
48721 while test ${D}# -gt 0; do
48722 case "${D}1" in
48723 -o )
48724 shift
48725 objfile=${D}1
48726 ;;
48727 -* )
48728 ;;
48729 * )
48730 srcfile=${D}1
48731 ;;
48732 esac
48733 shift
48734 done
48735 objfilebase=\`basename ${D}objfile\`
48736 builddir=\`dirname ${D}objfile\`
48737 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48738 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48739 depsdir=${D}builddir/${D}DEPSDIRBASE
48740 mkdir -p ${D}depsdir
48741
48742 # if the compiler failed, we're done:
48743 if test ${D}{status} != 0 ; then
48744 rm -f ${D}depfile
48745 exit ${D}{status}
48746 fi
48747
48748 # move created file to the location we want it in:
48749 if test -f ${D}depfile ; then
48750 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48751 rm -f ${D}depfile
48752 else
48753 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48754 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
48755 if test ! -f ${D}depfile ; then
48756 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48757 depfile="${D}objfile.d"
48758 fi
48759 if test -f ${D}depfile ; then
48760 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
48761 rm -f ${D}depfile
48762 fi
48763 fi
48764 exit 0
48765
48766 elif test ${D}DEPSMODE = mwcc ; then
48767 ${D}* || exit ${D}?
48768 # Run mwcc again with -MM and redirect into the dep file we want
48769 # NOTE: We can't use shift here because we need ${D}* to be valid
48770 prevarg=
48771 for arg in ${D}* ; do
48772 if test "${D}prevarg" = "-o"; then
48773 objfile=${D}arg
48774 else
48775 case "${D}arg" in
48776 -* )
48777 ;;
48778 * )
48779 srcfile=${D}arg
48780 ;;
48781 esac
48782 fi
48783 prevarg="${D}arg"
48784 done
48785
48786 objfilebase=\`basename ${D}objfile\`
48787 builddir=\`dirname ${D}objfile\`
48788 depsdir=${D}builddir/${D}DEPSDIRBASE
48789 mkdir -p ${D}depsdir
48790
48791 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
48792 exit 0
48793
48794 elif test ${D}DEPSMODE = unixcc; then
48795 ${D}* || exit ${D}?
48796 # Run compiler again with deps flag and redirect into the dep file.
48797 # It doesn't work if the '-o FILE' option is used, but without it the
48798 # dependency file will contain the wrong name for the object. So it is
48799 # removed from the command line, and the dep file is fixed with sed.
48800 cmd=""
48801 while test ${D}# -gt 0; do
48802 case "${D}1" in
48803 -o )
48804 shift
48805 objfile=${D}1
48806 ;;
48807 * )
48808 eval arg${D}#=\\${D}1
48809 cmd="${D}cmd \\${D}arg${D}#"
48810 ;;
48811 esac
48812 shift
48813 done
48814
48815 objfilebase=\`basename ${D}objfile\`
48816 builddir=\`dirname ${D}objfile\`
48817 depsdir=${D}builddir/${D}DEPSDIRBASE
48818 mkdir -p ${D}depsdir
48819
48820 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfilebase}.d
48821 exit 0
48822
48823 else
48824 ${D}*
48825 exit ${D}?
48826 fi
48827 EOF
48828
48829 chmod +x bk-deps
48830 BK_DEPS="`pwd`/bk-deps"
48831 fi
48832 fi
48833
48834
48835
48836
48837
48838 case ${BAKEFILE_HOST} in
48839 *-*-cygwin* | *-*-mingw32* )
48840 if test -n "$ac_tool_prefix"; then
48841 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48842 set dummy ${ac_tool_prefix}windres; ac_word=$2
48843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48845 if test "${ac_cv_prog_WINDRES+set}" = set; then
48846 echo $ECHO_N "(cached) $ECHO_C" >&6
48847 else
48848 if test -n "$WINDRES"; then
48849 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48850 else
48851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48852 for as_dir in $PATH
48853 do
48854 IFS=$as_save_IFS
48855 test -z "$as_dir" && as_dir=.
48856 for ac_exec_ext in '' $ac_executable_extensions; do
48857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48858 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48860 break 2
48861 fi
48862 done
48863 done
48864 IFS=$as_save_IFS
48865
48866 fi
48867 fi
48868 WINDRES=$ac_cv_prog_WINDRES
48869 if test -n "$WINDRES"; then
48870 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48871 echo "${ECHO_T}$WINDRES" >&6; }
48872 else
48873 { echo "$as_me:$LINENO: result: no" >&5
48874 echo "${ECHO_T}no" >&6; }
48875 fi
48876
48877
48878 fi
48879 if test -z "$ac_cv_prog_WINDRES"; then
48880 ac_ct_WINDRES=$WINDRES
48881 # Extract the first word of "windres", so it can be a program name with args.
48882 set dummy windres; ac_word=$2
48883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48885 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48886 echo $ECHO_N "(cached) $ECHO_C" >&6
48887 else
48888 if test -n "$ac_ct_WINDRES"; then
48889 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48890 else
48891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48892 for as_dir in $PATH
48893 do
48894 IFS=$as_save_IFS
48895 test -z "$as_dir" && as_dir=.
48896 for ac_exec_ext in '' $ac_executable_extensions; do
48897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48898 ac_cv_prog_ac_ct_WINDRES="windres"
48899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48900 break 2
48901 fi
48902 done
48903 done
48904 IFS=$as_save_IFS
48905
48906 fi
48907 fi
48908 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48909 if test -n "$ac_ct_WINDRES"; then
48910 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48911 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48912 else
48913 { echo "$as_me:$LINENO: result: no" >&5
48914 echo "${ECHO_T}no" >&6; }
48915 fi
48916
48917 if test "x$ac_ct_WINDRES" = x; then
48918 WINDRES=""
48919 else
48920 case $cross_compiling:$ac_tool_warned in
48921 yes:)
48922 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48923 whose name does not start with the host triplet. If you think this
48924 configuration is useful to you, please write to autoconf@gnu.org." >&5
48925 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48926 whose name does not start with the host triplet. If you think this
48927 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48928 ac_tool_warned=yes ;;
48929 esac
48930 WINDRES=$ac_ct_WINDRES
48931 fi
48932 else
48933 WINDRES="$ac_cv_prog_WINDRES"
48934 fi
48935
48936 ;;
48937
48938 *-*-darwin* | powerpc-apple-macos* )
48939 # Extract the first word of "Rez", so it can be a program name with args.
48940 set dummy Rez; ac_word=$2
48941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48943 if test "${ac_cv_prog_REZ+set}" = set; then
48944 echo $ECHO_N "(cached) $ECHO_C" >&6
48945 else
48946 if test -n "$REZ"; then
48947 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48948 else
48949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48950 for as_dir in $PATH
48951 do
48952 IFS=$as_save_IFS
48953 test -z "$as_dir" && as_dir=.
48954 for ac_exec_ext in '' $ac_executable_extensions; do
48955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48956 ac_cv_prog_REZ="Rez"
48957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48958 break 2
48959 fi
48960 done
48961 done
48962 IFS=$as_save_IFS
48963
48964 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48965 fi
48966 fi
48967 REZ=$ac_cv_prog_REZ
48968 if test -n "$REZ"; then
48969 { echo "$as_me:$LINENO: result: $REZ" >&5
48970 echo "${ECHO_T}$REZ" >&6; }
48971 else
48972 { echo "$as_me:$LINENO: result: no" >&5
48973 echo "${ECHO_T}no" >&6; }
48974 fi
48975
48976
48977 # Extract the first word of "SetFile", so it can be a program name with args.
48978 set dummy SetFile; ac_word=$2
48979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48981 if test "${ac_cv_prog_SETFILE+set}" = set; then
48982 echo $ECHO_N "(cached) $ECHO_C" >&6
48983 else
48984 if test -n "$SETFILE"; then
48985 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48986 else
48987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48988 for as_dir in $PATH
48989 do
48990 IFS=$as_save_IFS
48991 test -z "$as_dir" && as_dir=.
48992 for ac_exec_ext in '' $ac_executable_extensions; do
48993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48994 ac_cv_prog_SETFILE="SetFile"
48995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48996 break 2
48997 fi
48998 done
48999 done
49000 IFS=$as_save_IFS
49001
49002 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49003 fi
49004 fi
49005 SETFILE=$ac_cv_prog_SETFILE
49006 if test -n "$SETFILE"; then
49007 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49008 echo "${ECHO_T}$SETFILE" >&6; }
49009 else
49010 { echo "$as_me:$LINENO: result: no" >&5
49011 echo "${ECHO_T}no" >&6; }
49012 fi
49013
49014
49015 ;;
49016 esac
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49027
49028
49029 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49030
49031
49032
49033 # Check whether --enable-precomp-headers was given.
49034 if test "${enable_precomp_headers+set}" = set; then
49035 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49036 fi
49037
49038
49039 GCC_PCH=0
49040 ICC_PCH=0
49041 USE_PCH=0
49042 BK_MAKE_PCH=""
49043
49044 case ${BAKEFILE_HOST} in
49045 *-*-cygwin* )
49046 bk_use_pch="no"
49047 ;;
49048 esac
49049
49050 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49051 if test "x$GCC" = "xyes"; then
49052 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49053 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49054 cat >conftest.$ac_ext <<_ACEOF
49055 /* confdefs.h. */
49056 _ACEOF
49057 cat confdefs.h >>conftest.$ac_ext
49058 cat >>conftest.$ac_ext <<_ACEOF
49059 /* end confdefs.h. */
49060
49061 int
49062 main ()
49063 {
49064
49065 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49066 There is no PCH support
49067 #endif
49068 #if (__GNUC__ < 3)
49069 There is no PCH support
49070 #endif
49071 #if (__GNUC__ == 3) && \
49072 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49073 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49074 ( defined(__INTEL_COMPILER) )
49075 There is no PCH support
49076 #endif
49077
49078 ;
49079 return 0;
49080 }
49081 _ACEOF
49082 rm -f conftest.$ac_objext
49083 if { (ac_try="$ac_compile"
49084 case "(($ac_try" in
49085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49086 *) ac_try_echo=$ac_try;;
49087 esac
49088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49089 (eval "$ac_compile") 2>conftest.er1
49090 ac_status=$?
49091 grep -v '^ *+' conftest.er1 >conftest.err
49092 rm -f conftest.er1
49093 cat conftest.err >&5
49094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095 (exit $ac_status); } && {
49096 test -z "$ac_c_werror_flag" ||
49097 test ! -s conftest.err
49098 } && test -s conftest.$ac_objext; then
49099
49100 { echo "$as_me:$LINENO: result: yes" >&5
49101 echo "${ECHO_T}yes" >&6; }
49102 GCC_PCH=1
49103
49104 else
49105 echo "$as_me: failed program was:" >&5
49106 sed 's/^/| /' conftest.$ac_ext >&5
49107
49108
49109 cat >conftest.$ac_ext <<_ACEOF
49110 /* confdefs.h. */
49111 _ACEOF
49112 cat confdefs.h >>conftest.$ac_ext
49113 cat >>conftest.$ac_ext <<_ACEOF
49114 /* end confdefs.h. */
49115
49116 int
49117 main ()
49118 {
49119
49120 #if !defined(__INTEL_COMPILER) || \
49121 (__INTEL_COMPILER < 800)
49122 There is no PCH support
49123 #endif
49124
49125 ;
49126 return 0;
49127 }
49128 _ACEOF
49129 rm -f conftest.$ac_objext
49130 if { (ac_try="$ac_compile"
49131 case "(($ac_try" in
49132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49133 *) ac_try_echo=$ac_try;;
49134 esac
49135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49136 (eval "$ac_compile") 2>conftest.er1
49137 ac_status=$?
49138 grep -v '^ *+' conftest.er1 >conftest.err
49139 rm -f conftest.er1
49140 cat conftest.err >&5
49141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49142 (exit $ac_status); } && {
49143 test -z "$ac_c_werror_flag" ||
49144 test ! -s conftest.err
49145 } && test -s conftest.$ac_objext; then
49146
49147 { echo "$as_me:$LINENO: result: yes" >&5
49148 echo "${ECHO_T}yes" >&6; }
49149 ICC_PCH=1
49150
49151 else
49152 echo "$as_me: failed program was:" >&5
49153 sed 's/^/| /' conftest.$ac_ext >&5
49154
49155
49156 { echo "$as_me:$LINENO: result: no" >&5
49157 echo "${ECHO_T}no" >&6; }
49158
49159 fi
49160
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162
49163 fi
49164
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49167 USE_PCH=1
49168
49169 D='$'
49170 cat <<EOF >bk-make-pch
49171 #!/bin/sh
49172
49173 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49174 # script. It is used to generated precompiled headers.
49175 #
49176 # Permission is given to use this file in any way.
49177
49178 outfile="${D}{1}"
49179 header="${D}{2}"
49180 shift
49181 shift
49182
49183 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49184
49185 compiler=""
49186 headerfile=""
49187
49188 while test ${D}{#} -gt 0; do
49189 add_to_cmdline=1
49190 case "${D}{1}" in
49191 -I* )
49192 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49193 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49194 headerfile="${D}{incdir}/${D}{header}"
49195 fi
49196 ;;
49197 -use-pch|-use_pch )
49198 shift
49199 add_to_cmdline=0
49200 ;;
49201 esac
49202 if test ${D}add_to_cmdline = 1 ; then
49203 compiler="${D}{compiler} ${D}{1}"
49204 fi
49205 shift
49206 done
49207
49208 if test "x${D}{headerfile}" = "x" ; then
49209 echo "error: can't find header ${D}{header} in include paths" >&2
49210 else
49211 if test -f ${D}{outfile} ; then
49212 rm -f ${D}{outfile}
49213 else
49214 mkdir -p \`dirname ${D}{outfile}\`
49215 fi
49216 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49217 mkdir -p ${D}{builddir}/.deps
49218 if test "x${GCC_PCH}" = "x1" ; then
49219 # can do this because gcc is >= 3.4:
49220 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49221 elif test "x${ICC_PCH}" = "x1" ; then
49222 filename=pch_gen-${D}${D}
49223 file=${D}{filename}.c
49224 dfile=${D}{filename}.d
49225 cat > ${D}file <<EOT
49226 #include "${D}header"
49227 EOT
49228 # using -MF icc complains about differing command lines in creation/use
49229 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49230 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49231 rm -f ${D}file ${D}dfile ${D}{filename}.o
49232 fi
49233 exit ${D}{?}
49234 fi
49235 EOF
49236
49237 chmod +x bk-make-pch
49238 BK_MAKE_PCH="`pwd`/bk-make-pch"
49239 fi
49240 fi
49241 fi
49242
49243
49244
49245
49246
49247 COND_BUILD_DEBUG="#"
49248 if test "x$BUILD" = "xdebug" ; then
49249 COND_BUILD_DEBUG=""
49250 fi
49251
49252 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49253 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49254 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49255 fi
49256
49257 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49258 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49259 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49260 fi
49261
49262 COND_BUILD_DEBUG_UNICODE_0="#"
49263 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49264 COND_BUILD_DEBUG_UNICODE_0=""
49265 fi
49266
49267 COND_BUILD_DEBUG_UNICODE_1="#"
49268 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49269 COND_BUILD_DEBUG_UNICODE_1=""
49270 fi
49271
49272 COND_BUILD_RELEASE="#"
49273 if test "x$BUILD" = "xrelease" ; then
49274 COND_BUILD_RELEASE=""
49275 fi
49276
49277 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49278 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49279 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49280 fi
49281
49282 COND_BUILD_RELEASE_UNICODE_0="#"
49283 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49284 COND_BUILD_RELEASE_UNICODE_0=""
49285 fi
49286
49287 COND_BUILD_RELEASE_UNICODE_1="#"
49288 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49289 COND_BUILD_RELEASE_UNICODE_1=""
49290 fi
49291
49292 COND_BUILD_debug="#"
49293 if test "x$BUILD" = "xdebug" ; then
49294 COND_BUILD_debug=""
49295 fi
49296
49297 COND_BUILD_debug_DEBUG_FLAG_default="#"
49298 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49299 COND_BUILD_debug_DEBUG_FLAG_default=""
49300 fi
49301
49302 COND_BUILD_debug_DEBUG_INFO_default="#"
49303 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49304 COND_BUILD_debug_DEBUG_INFO_default=""
49305 fi
49306
49307 COND_BUILD_debug_UNICODE_0="#"
49308 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49309 COND_BUILD_debug_UNICODE_0=""
49310 fi
49311
49312 COND_BUILD_debug_UNICODE_1="#"
49313 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49314 COND_BUILD_debug_UNICODE_1=""
49315 fi
49316
49317 COND_BUILD_release="#"
49318 if test "x$BUILD" = "xrelease" ; then
49319 COND_BUILD_release=""
49320 fi
49321
49322 COND_BUILD_release_DEBUG_INFO_default="#"
49323 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49324 COND_BUILD_release_DEBUG_INFO_default=""
49325 fi
49326
49327 COND_BUILD_release_UNICODE_0="#"
49328 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49329 COND_BUILD_release_UNICODE_0=""
49330 fi
49331
49332 COND_BUILD_release_UNICODE_1="#"
49333 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49334 COND_BUILD_release_UNICODE_1=""
49335 fi
49336
49337 COND_DEBUG_FLAG_1="#"
49338 if test "x$DEBUG_FLAG" = "x1" ; then
49339 COND_DEBUG_FLAG_1=""
49340 fi
49341
49342 COND_DEBUG_INFO_0="#"
49343 if test "x$DEBUG_INFO" = "x0" ; then
49344 COND_DEBUG_INFO_0=""
49345 fi
49346
49347 COND_DEBUG_INFO_1="#"
49348 if test "x$DEBUG_INFO" = "x1" ; then
49349 COND_DEBUG_INFO_1=""
49350 fi
49351
49352 COND_DEPS_TRACKING_0="#"
49353 if test "x$DEPS_TRACKING" = "x0" ; then
49354 COND_DEPS_TRACKING_0=""
49355 fi
49356
49357 COND_DEPS_TRACKING_1="#"
49358 if test "x$DEPS_TRACKING" = "x1" ; then
49359 COND_DEPS_TRACKING_1=""
49360 fi
49361
49362 COND_GCC_PCH_1="#"
49363 if test "x$GCC_PCH" = "x1" ; then
49364 COND_GCC_PCH_1=""
49365 fi
49366
49367 COND_ICC_PCH_1="#"
49368 if test "x$ICC_PCH" = "x1" ; then
49369 COND_ICC_PCH_1=""
49370 fi
49371
49372 COND_MONOLITHIC_0="#"
49373 if test "x$MONOLITHIC" = "x0" ; then
49374 COND_MONOLITHIC_0=""
49375 fi
49376
49377 COND_MONOLITHIC_0_SHARED_0="#"
49378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49379 COND_MONOLITHIC_0_SHARED_0=""
49380 fi
49381
49382 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49384 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49385 fi
49386
49387 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49390 fi
49391
49392 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49393 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49394 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49395 fi
49396
49397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49398 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49400 fi
49401
49402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49403 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49405 fi
49406
49407 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49408 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49409 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49410 fi
49411
49412 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49413 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49414 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49415 fi
49416
49417 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49418 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49419 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49420 fi
49421
49422 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49423 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49424 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49425 fi
49426
49427 COND_MONOLITHIC_0_SHARED_1="#"
49428 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49429 COND_MONOLITHIC_0_SHARED_1=""
49430 fi
49431
49432 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49433 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49434 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49435 fi
49436
49437 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49439 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49440 fi
49441
49442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49445 fi
49446
49447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49450 fi
49451
49452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49455 fi
49456
49457 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49459 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49460 fi
49461
49462 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49464 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49465 fi
49466
49467 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49469 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49470 fi
49471
49472 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49473 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49474 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49475 fi
49476
49477 COND_MONOLITHIC_0_USE_AUI_1="#"
49478 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49479 COND_MONOLITHIC_0_USE_AUI_1=""
49480 fi
49481
49482 COND_MONOLITHIC_0_USE_GUI_1="#"
49483 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49484 COND_MONOLITHIC_0_USE_GUI_1=""
49485 fi
49486
49487 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49488 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49489 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49490 fi
49491
49492 COND_MONOLITHIC_0_USE_HTML_1="#"
49493 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49494 COND_MONOLITHIC_0_USE_HTML_1=""
49495 fi
49496
49497 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49498 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49499 COND_MONOLITHIC_0_USE_MEDIA_1=""
49500 fi
49501
49502 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49503 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49504 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49505 fi
49506
49507 COND_MONOLITHIC_0_USE_QA_1="#"
49508 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49509 COND_MONOLITHIC_0_USE_QA_1=""
49510 fi
49511
49512 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49513 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49514 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49515 fi
49516
49517 COND_MONOLITHIC_0_USE_STC_1="#"
49518 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49519 COND_MONOLITHIC_0_USE_STC_1=""
49520 fi
49521
49522 COND_MONOLITHIC_0_USE_XRC_1="#"
49523 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49524 COND_MONOLITHIC_0_USE_XRC_1=""
49525 fi
49526
49527 COND_MONOLITHIC_1="#"
49528 if test "x$MONOLITHIC" = "x1" ; then
49529 COND_MONOLITHIC_1=""
49530 fi
49531
49532 COND_MONOLITHIC_1_SHARED_0="#"
49533 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49534 COND_MONOLITHIC_1_SHARED_0=""
49535 fi
49536
49537 COND_MONOLITHIC_1_SHARED_1="#"
49538 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49539 COND_MONOLITHIC_1_SHARED_1=""
49540 fi
49541
49542 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49543 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49544 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49545 fi
49546
49547 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49548 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49549 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49550 fi
49551
49552 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49553 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49554 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49555 fi
49556
49557 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49558 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49559 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49560 fi
49561
49562 COND_PLATFORM_MACOSX_1="#"
49563 if test "x$PLATFORM_MACOSX" = "x1" ; then
49564 COND_PLATFORM_MACOSX_1=""
49565 fi
49566
49567 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49568 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49569 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49570 fi
49571
49572 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49573 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49574 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49575 fi
49576
49577 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49578 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49579 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49580 fi
49581
49582 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49583 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49584 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49585 fi
49586
49587 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49589 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49590 fi
49591
49592 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49594 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49595 fi
49596
49597 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49599 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49600 fi
49601
49602 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49604 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49605 fi
49606
49607 COND_PLATFORM_MACOS_1="#"
49608 if test "x$PLATFORM_MACOS" = "x1" ; then
49609 COND_PLATFORM_MACOS_1=""
49610 fi
49611
49612 COND_PLATFORM_MAC_0="#"
49613 if test "x$PLATFORM_MAC" = "x0" ; then
49614 COND_PLATFORM_MAC_0=""
49615 fi
49616
49617 COND_PLATFORM_MAC_1="#"
49618 if test "x$PLATFORM_MAC" = "x1" ; then
49619 COND_PLATFORM_MAC_1=""
49620 fi
49621
49622 COND_PLATFORM_MSDOS_0="#"
49623 if test "x$PLATFORM_MSDOS" = "x0" ; then
49624 COND_PLATFORM_MSDOS_0=""
49625 fi
49626
49627 COND_PLATFORM_MSDOS_1="#"
49628 if test "x$PLATFORM_MSDOS" = "x1" ; then
49629 COND_PLATFORM_MSDOS_1=""
49630 fi
49631
49632 COND_PLATFORM_OS2_1="#"
49633 if test "x$PLATFORM_OS2" = "x1" ; then
49634 COND_PLATFORM_OS2_1=""
49635 fi
49636
49637 COND_PLATFORM_UNIX_0="#"
49638 if test "x$PLATFORM_UNIX" = "x0" ; then
49639 COND_PLATFORM_UNIX_0=""
49640 fi
49641
49642 COND_PLATFORM_UNIX_1="#"
49643 if test "x$PLATFORM_UNIX" = "x1" ; then
49644 COND_PLATFORM_UNIX_1=""
49645 fi
49646
49647 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49648 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49649 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49650 fi
49651
49652 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49653 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49654 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49655 fi
49656
49657 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49658 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49659 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49660 fi
49661
49662 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49663 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49664 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49665 fi
49666
49667 COND_PLATFORM_WIN32_0="#"
49668 if test "x$PLATFORM_WIN32" = "x0" ; then
49669 COND_PLATFORM_WIN32_0=""
49670 fi
49671
49672 COND_PLATFORM_WIN32_1="#"
49673 if test "x$PLATFORM_WIN32" = "x1" ; then
49674 COND_PLATFORM_WIN32_1=""
49675 fi
49676
49677 COND_SHARED_0="#"
49678 if test "x$SHARED" = "x0" ; then
49679 COND_SHARED_0=""
49680 fi
49681
49682 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49683 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49684 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49685 fi
49686
49687 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49688 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49689 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49690 fi
49691
49692 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49693 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49694 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49695 fi
49696
49697 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49698 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49699 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49700 fi
49701
49702 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
49703 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49704 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
49705 fi
49706
49707 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
49708 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49709 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
49710 fi
49711
49712 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
49713 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49714 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
49715 fi
49716
49717 COND_SHARED_0_USE_STC_1="#"
49718 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49719 COND_SHARED_0_USE_STC_1=""
49720 fi
49721
49722 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
49723 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49724 COND_SHARED_0_wxUSE_EXPAT_builtin=""
49725 fi
49726
49727 COND_SHARED_0_wxUSE_REGEX_builtin="#"
49728 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49729 COND_SHARED_0_wxUSE_REGEX_builtin=""
49730 fi
49731
49732 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
49733 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49734 COND_SHARED_0_wxUSE_ZLIB_builtin=""
49735 fi
49736
49737 COND_SHARED_1="#"
49738 if test "x$SHARED" = "x1" ; then
49739 COND_SHARED_1=""
49740 fi
49741
49742 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49743 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49744 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49745 fi
49746
49747 COND_TOOLKIT_="#"
49748 if test "x$TOOLKIT" = "x" ; then
49749 COND_TOOLKIT_=""
49750 fi
49751
49752 COND_TOOLKIT_COCOA="#"
49753 if test "x$TOOLKIT" = "xCOCOA" ; then
49754 COND_TOOLKIT_COCOA=""
49755 fi
49756
49757 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49758 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49759 COND_TOOLKIT_COCOA_USE_GUI_1=""
49760 fi
49761
49762 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49763 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49764 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49765 fi
49766
49767 COND_TOOLKIT_DFB="#"
49768 if test "x$TOOLKIT" = "xDFB" ; then
49769 COND_TOOLKIT_DFB=""
49770 fi
49771
49772 COND_TOOLKIT_DFB_USE_GUI_1="#"
49773 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49774 COND_TOOLKIT_DFB_USE_GUI_1=""
49775 fi
49776
49777 COND_TOOLKIT_GTK="#"
49778 if test "x$TOOLKIT" = "xGTK" ; then
49779 COND_TOOLKIT_GTK=""
49780 fi
49781
49782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49783 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49784 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49785 fi
49786
49787 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49788 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49790 fi
49791
49792 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49793 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49795 fi
49796
49797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49800 fi
49801
49802 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49804 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49805 fi
49806
49807 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49810 fi
49811
49812 COND_TOOLKIT_GTK_USE_GUI_1="#"
49813 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49814 COND_TOOLKIT_GTK_USE_GUI_1=""
49815 fi
49816
49817 COND_TOOLKIT_MAC="#"
49818 if test "x$TOOLKIT" = "xMAC" ; then
49819 COND_TOOLKIT_MAC=""
49820 fi
49821
49822 COND_TOOLKIT_MGL="#"
49823 if test "x$TOOLKIT" = "xMGL" ; then
49824 COND_TOOLKIT_MGL=""
49825 fi
49826
49827 COND_TOOLKIT_MGL_USE_GUI_1="#"
49828 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49829 COND_TOOLKIT_MGL_USE_GUI_1=""
49830 fi
49831
49832 COND_TOOLKIT_MOTIF="#"
49833 if test "x$TOOLKIT" = "xMOTIF" ; then
49834 COND_TOOLKIT_MOTIF=""
49835 fi
49836
49837 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49838 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49839 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49840 fi
49841
49842 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49843 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49844 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49845 fi
49846
49847 COND_TOOLKIT_MSW="#"
49848 if test "x$TOOLKIT" = "xMSW" ; then
49849 COND_TOOLKIT_MSW=""
49850 fi
49851
49852 COND_TOOLKIT_MSW_USE_GUI_1="#"
49853 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49854 COND_TOOLKIT_MSW_USE_GUI_1=""
49855 fi
49856
49857 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49858 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49859 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49860 fi
49861
49862 COND_TOOLKIT_MSW_WXUNIV_0="#"
49863 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49864 COND_TOOLKIT_MSW_WXUNIV_0=""
49865 fi
49866
49867 COND_TOOLKIT_OSX_CARBON="#"
49868 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
49869 COND_TOOLKIT_OSX_CARBON=""
49870 fi
49871
49872 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49873 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49874 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49875 fi
49876
49877 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49878 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49879 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49880 fi
49881
49882 COND_TOOLKIT_OSX_COCOA="#"
49883 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
49884 COND_TOOLKIT_OSX_COCOA=""
49885 fi
49886
49887 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49888 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49889 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49890 fi
49891
49892 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49893 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49894 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49895 fi
49896
49897 COND_TOOLKIT_OSX_IPHONE="#"
49898 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
49899 COND_TOOLKIT_OSX_IPHONE=""
49900 fi
49901
49902 COND_TOOLKIT_PM="#"
49903 if test "x$TOOLKIT" = "xPM" ; then
49904 COND_TOOLKIT_PM=""
49905 fi
49906
49907 COND_TOOLKIT_PM_USE_GUI_1="#"
49908 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49909 COND_TOOLKIT_PM_USE_GUI_1=""
49910 fi
49911
49912 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49913 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49914 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49915 fi
49916
49917 COND_TOOLKIT_WINCE="#"
49918 if test "x$TOOLKIT" = "xWINCE" ; then
49919 COND_TOOLKIT_WINCE=""
49920 fi
49921
49922 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49923 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49924 COND_TOOLKIT_WINCE_USE_GUI_1=""
49925 fi
49926
49927 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49928 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49930 fi
49931
49932 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49933 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49934 COND_TOOLKIT_WINCE_WXUNIV_0=""
49935 fi
49936
49937 COND_TOOLKIT_X11="#"
49938 if test "x$TOOLKIT" = "xX11" ; then
49939 COND_TOOLKIT_X11=""
49940 fi
49941
49942 COND_TOOLKIT_X11_USE_GUI_1="#"
49943 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49944 COND_TOOLKIT_X11_USE_GUI_1=""
49945 fi
49946
49947 COND_UNICODE_1="#"
49948 if test "x$UNICODE" = "x1" ; then
49949 COND_UNICODE_1=""
49950 fi
49951
49952 COND_USE_EXCEPTIONS_0="#"
49953 if test "x$USE_EXCEPTIONS" = "x0" ; then
49954 COND_USE_EXCEPTIONS_0=""
49955 fi
49956
49957 COND_USE_EXCEPTIONS_1="#"
49958 if test "x$USE_EXCEPTIONS" = "x1" ; then
49959 COND_USE_EXCEPTIONS_1=""
49960 fi
49961
49962 COND_USE_GUI_0="#"
49963 if test "x$USE_GUI" = "x0" ; then
49964 COND_USE_GUI_0=""
49965 fi
49966
49967 COND_USE_GUI_1="#"
49968 if test "x$USE_GUI" = "x1" ; then
49969 COND_USE_GUI_1=""
49970 fi
49971
49972 COND_USE_GUI_1_USE_OPENGL_1="#"
49973 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49974 COND_USE_GUI_1_USE_OPENGL_1=""
49975 fi
49976
49977 COND_USE_GUI_1_WXUNIV_0="#"
49978 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49979 COND_USE_GUI_1_WXUNIV_0=""
49980 fi
49981
49982 COND_USE_GUI_1_WXUNIV_1="#"
49983 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49984 COND_USE_GUI_1_WXUNIV_1=""
49985 fi
49986
49987 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49988 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49989 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49990 fi
49991
49992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49993 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49994 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49995 fi
49996
49997 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49998 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49999 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50000 fi
50001
50002 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50003 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50004 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50005 fi
50006
50007 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50008 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50009 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50010 fi
50011
50012 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50013 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50014 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50015 fi
50016
50017 COND_USE_OPENGL_1="#"
50018 if test "x$USE_OPENGL" = "x1" ; then
50019 COND_USE_OPENGL_1=""
50020 fi
50021
50022 COND_USE_PCH_1="#"
50023 if test "x$USE_PCH" = "x1" ; then
50024 COND_USE_PCH_1=""
50025 fi
50026
50027 COND_USE_PLUGINS_0="#"
50028 if test "x$USE_PLUGINS" = "x0" ; then
50029 COND_USE_PLUGINS_0=""
50030 fi
50031
50032 COND_USE_RTTI_0="#"
50033 if test "x$USE_RTTI" = "x0" ; then
50034 COND_USE_RTTI_0=""
50035 fi
50036
50037 COND_USE_RTTI_1="#"
50038 if test "x$USE_RTTI" = "x1" ; then
50039 COND_USE_RTTI_1=""
50040 fi
50041
50042 COND_USE_SOSYMLINKS_1="#"
50043 if test "x$USE_SOSYMLINKS" = "x1" ; then
50044 COND_USE_SOSYMLINKS_1=""
50045 fi
50046
50047 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50048 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50049 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50050 fi
50051
50052 COND_USE_SOVERLINUX_1="#"
50053 if test "x$USE_SOVERLINUX" = "x1" ; then
50054 COND_USE_SOVERLINUX_1=""
50055 fi
50056
50057 COND_USE_SOVERSION_0="#"
50058 if test "x$USE_SOVERSION" = "x0" ; then
50059 COND_USE_SOVERSION_0=""
50060 fi
50061
50062 COND_USE_SOVERSOLARIS_1="#"
50063 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50064 COND_USE_SOVERSOLARIS_1=""
50065 fi
50066
50067 COND_USE_STC_1="#"
50068 if test "x$USE_STC" = "x1" ; then
50069 COND_USE_STC_1=""
50070 fi
50071
50072 COND_USE_THREADS_0="#"
50073 if test "x$USE_THREADS" = "x0" ; then
50074 COND_USE_THREADS_0=""
50075 fi
50076
50077 COND_USE_THREADS_1="#"
50078 if test "x$USE_THREADS" = "x1" ; then
50079 COND_USE_THREADS_1=""
50080 fi
50081
50082 COND_USE_XRC_1="#"
50083 if test "x$USE_XRC" = "x1" ; then
50084 COND_USE_XRC_1=""
50085 fi
50086
50087 COND_WINDOWS_IMPLIB_1="#"
50088 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50089 COND_WINDOWS_IMPLIB_1=""
50090 fi
50091
50092 COND_WITH_PLUGIN_SDL_1="#"
50093 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50094 COND_WITH_PLUGIN_SDL_1=""
50095 fi
50096
50097 COND_WXUNIV_0="#"
50098 if test "x$WXUNIV" = "x0" ; then
50099 COND_WXUNIV_0=""
50100 fi
50101
50102 COND_WXUNIV_1="#"
50103 if test "x$WXUNIV" = "x1" ; then
50104 COND_WXUNIV_1=""
50105 fi
50106
50107 COND_WXUSE_EXPAT_BUILTIN="#"
50108 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50109 COND_WXUSE_EXPAT_BUILTIN=""
50110 fi
50111
50112 COND_WXUSE_LIBJPEG_BUILTIN="#"
50113 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50114 COND_WXUSE_LIBJPEG_BUILTIN=""
50115 fi
50116
50117 COND_WXUSE_LIBPNG_BUILTIN="#"
50118 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50119 COND_WXUSE_LIBPNG_BUILTIN=""
50120 fi
50121
50122 COND_WXUSE_LIBTIFF_BUILTIN="#"
50123 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50124 COND_WXUSE_LIBTIFF_BUILTIN=""
50125 fi
50126
50127 COND_WXUSE_REGEX_BUILTIN="#"
50128 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50129 COND_WXUSE_REGEX_BUILTIN=""
50130 fi
50131
50132 COND_WXUSE_ZLIB_BUILTIN="#"
50133 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50134 COND_WXUSE_ZLIB_BUILTIN=""
50135 fi
50136
50137 COND_wxUSE_EXPAT_builtin="#"
50138 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50139 COND_wxUSE_EXPAT_builtin=""
50140 fi
50141
50142 COND_wxUSE_LIBJPEG_builtin="#"
50143 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50144 COND_wxUSE_LIBJPEG_builtin=""
50145 fi
50146
50147 COND_wxUSE_LIBPNG_builtin="#"
50148 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50149 COND_wxUSE_LIBPNG_builtin=""
50150 fi
50151
50152 COND_wxUSE_LIBTIFF_builtin="#"
50153 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50154 COND_wxUSE_LIBTIFF_builtin=""
50155 fi
50156
50157 COND_wxUSE_REGEX_builtin="#"
50158 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50159 COND_wxUSE_REGEX_builtin=""
50160 fi
50161
50162 COND_wxUSE_ZLIB_builtin="#"
50163 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50164 COND_wxUSE_ZLIB_builtin=""
50165 fi
50166
50167
50168
50169 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50170 { { 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
50171 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;}
50172 { (exit 1); exit 1; }; }
50173 fi
50174
50175 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50176 { { 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
50177 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;}
50178 { (exit 1); exit 1; }; }
50179 fi
50180
50181
50182 case ${INSTALL} in
50183 /* ) # Absolute
50184 ;;
50185 ?:* ) # Drive letter, considered as absolute.
50186 ;;
50187 *)
50188 INSTALL=`pwd`/${INSTALL} ;;
50189 esac
50190
50191 if test "$wxUSE_GUI" = "yes"; then
50192
50193 if test "$wxUSE_MSW" = 1 ; then
50194 if test "x$WINDRES" = "x"; then
50195 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50196 echo "$as_me: error: Required windres program not found" >&2;}
50197 { (exit 1); exit 1; }; }
50198 fi
50199
50200 RESCOMP="$WINDRES"
50201 fi
50202
50203 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50204 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50205 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50206
50207 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50208
50209 # Extract the first word of "DeRez", so it can be a program name with args.
50210 set dummy DeRez; ac_word=$2
50211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50213 if test "${ac_cv_prog_DEREZ+set}" = set; then
50214 echo $ECHO_N "(cached) $ECHO_C" >&6
50215 else
50216 if test -n "$DEREZ"; then
50217 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50218 else
50219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50220 for as_dir in $PATH
50221 do
50222 IFS=$as_save_IFS
50223 test -z "$as_dir" && as_dir=.
50224 for ac_exec_ext in '' $ac_executable_extensions; do
50225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50226 ac_cv_prog_DEREZ="DeRez"
50227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50228 break 2
50229 fi
50230 done
50231 done
50232 IFS=$as_save_IFS
50233
50234 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50235 fi
50236 fi
50237 DEREZ=$ac_cv_prog_DEREZ
50238 if test -n "$DEREZ"; then
50239 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50240 echo "${ECHO_T}$DEREZ" >&6; }
50241 else
50242 { echo "$as_me:$LINENO: result: no" >&5
50243 echo "${ECHO_T}no" >&6; }
50244 fi
50245
50246
50247
50248 MACSETFILE="\$(SETFILE)"
50249
50250 if test "$wxUSE_OSX_CARBON" = 1; then
50251 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50252 RESCOMP="$REZ"
50253 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50254 else
50255 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50256 RESCOMP="cat /dev/null \| $REZ"
50257 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50258 fi
50259
50260 else
50261 MACSETFILE="@true"
50262
50263 if test "$wxUSE_PM" = 1; then
50264 RESCOMP="emxbind"
50265 WXCONFIG_RESFLAGS="-ep"
50266
50267 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50268 else
50269 POSTLINK_COMMAND="@true"
50270 fi
50271 fi
50272
50273 fi
50274
50275
50276 if test $GCC_PCH = 1
50277 then
50278 if test "$wx_cv_gcc_pch_bug" = yes; then
50279 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50280 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50281 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50282 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50283 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50284 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50285 fi
50286
50287 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50288 # the headers that benefit from precompilation are mostly C++ headers.
50289 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50290 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50291 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50292 fi
50293
50294
50295 if test "$wxUSE_MAC" = 1 ; then
50296 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50297 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50298 mv temp bk-deps
50299 chmod +x bk-deps
50300 fi
50301 fi
50302
50303 if test "$wxUSE_SHARED" = "yes"; then
50304 case "${host}" in
50305 *-pc-os2_emx | *-pc-os2-emx )
50306 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50307 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50308 cp -p ${srcdir}/src/os2/dllnames.sh .
50309 cp -p ${srcdir}/src/os2/dllar.sh .
50310 ;;
50311 esac
50312 fi
50313 if test "$wxUSE_OMF" = "yes"; then
50314 case "${host}" in
50315 *-pc-os2_emx | *-pc-os2-emx )
50316 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50317 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50318 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50319 ;;
50320 esac
50321 fi
50322
50323 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50324
50325
50326 case "${host}" in
50327 *-*-solaris2* )
50328 if test "$GCC" = yes; then
50329 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50330 LIBS=`echo $LIBS | sed 's/-mt//'`
50331 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50332 fi
50333 ;;
50334
50335 *-*-linux* )
50336 if test "x$SUNCXX" = xyes; then
50337 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50338 LIBS=`echo $LIBS | sed 's/-pthread//'`
50339 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50340 fi
50341 ;;
50342 esac
50343
50344 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50345 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50346 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50347 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50348
50349 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50411 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50412 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50413 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50414 echo $ECHO_N "(cached) $ECHO_C" >&6
50415 else
50416 cat >conftest.make <<\_ACEOF
50417 SHELL = /bin/sh
50418 all:
50419 @echo '@@@%%%=$(MAKE)=@@@%%%'
50420 _ACEOF
50421 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50422 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50423 *@@@%%%=?*=@@@%%%*)
50424 eval ac_cv_prog_make_${ac_make}_set=yes;;
50425 *)
50426 eval ac_cv_prog_make_${ac_make}_set=no;;
50427 esac
50428 rm -f conftest.make
50429 fi
50430 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50431 { echo "$as_me:$LINENO: result: yes" >&5
50432 echo "${ECHO_T}yes" >&6; }
50433 SET_MAKE=
50434 else
50435 { echo "$as_me:$LINENO: result: no" >&5
50436 echo "${ECHO_T}no" >&6; }
50437 SET_MAKE="MAKE=${MAKE-make}"
50438 fi
50439
50440
50441
50442 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50443
50444
50445 if test "$USE_WIN32" = 1; then
50446 ac_config_commands="$ac_config_commands
50447 rcdefs.h
50448 "
50449
50450 fi
50451
50452 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50453
50454
50455 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50456
50457
50458 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50459
50460
50461 if test "$wx_cv_version_script" = "yes"; then
50462 ac_config_files="$ac_config_files version-script"
50463
50464 fi
50465 ac_config_files="$ac_config_files Makefile"
50466
50467
50468 ac_config_commands="$ac_config_commands wx-config"
50469
50470
50471
50472 if test "$wxWITH_SUBDIRS" != "no"; then
50473 if test "$wxUSE_GUI" = "yes"; then
50474 SUBDIRS="samples demos utils"
50475 else
50476 SUBDIRS="samples utils"
50477 fi
50478
50479
50480
50481 # Check whether --with-cppunit-prefix was given.
50482 if test "${with_cppunit_prefix+set}" = set; then
50483 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50484 else
50485 cppunit_config_prefix=""
50486 fi
50487
50488
50489 # Check whether --with-cppunit-exec-prefix was given.
50490 if test "${with_cppunit_exec_prefix+set}" = set; then
50491 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50492 else
50493 cppunit_config_exec_prefix=""
50494 fi
50495
50496
50497 if test x$cppunit_config_exec_prefix != x ; then
50498 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50499 if test x${CPPUNIT_CONFIG+set} != xset ; then
50500 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50501 fi
50502 fi
50503 if test x$cppunit_config_prefix != x ; then
50504 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50505 if test x${CPPUNIT_CONFIG+set} != xset ; then
50506 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50507 fi
50508 fi
50509
50510 # Extract the first word of "cppunit-config", so it can be a program name with args.
50511 set dummy cppunit-config; ac_word=$2
50512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50514 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50515 echo $ECHO_N "(cached) $ECHO_C" >&6
50516 else
50517 case $CPPUNIT_CONFIG in
50518 [\\/]* | ?:[\\/]*)
50519 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50520 ;;
50521 *)
50522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50523 for as_dir in $PATH
50524 do
50525 IFS=$as_save_IFS
50526 test -z "$as_dir" && as_dir=.
50527 for ac_exec_ext in '' $ac_executable_extensions; do
50528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50529 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50531 break 2
50532 fi
50533 done
50534 done
50535 IFS=$as_save_IFS
50536
50537 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50538 ;;
50539 esac
50540 fi
50541 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50542 if test -n "$CPPUNIT_CONFIG"; then
50543 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50544 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50545 else
50546 { echo "$as_me:$LINENO: result: no" >&5
50547 echo "${ECHO_T}no" >&6; }
50548 fi
50549
50550
50551 cppunit_version_min=1.8.0
50552
50553 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50554 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50555 no_cppunit=""
50556 if test "$CPPUNIT_CONFIG" = "no" ; then
50557 { echo "$as_me:$LINENO: result: no" >&5
50558 echo "${ECHO_T}no" >&6; }
50559 no_cppunit=yes
50560 else
50561 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50562 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50563 cppunit_version=`$CPPUNIT_CONFIG --version`
50564
50565 cppunit_major_version=`echo $cppunit_version | \
50566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50567 cppunit_minor_version=`echo $cppunit_version | \
50568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50569 cppunit_micro_version=`echo $cppunit_version | \
50570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50571
50572 cppunit_major_min=`echo $cppunit_version_min | \
50573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50574 cppunit_minor_min=`echo $cppunit_version_min | \
50575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50576 cppunit_micro_min=`echo $cppunit_version_min | \
50577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50578
50579 cppunit_version_proper=`expr \
50580 $cppunit_major_version \> $cppunit_major_min \| \
50581 $cppunit_major_version \= $cppunit_major_min \& \
50582 $cppunit_minor_version \> $cppunit_minor_min \| \
50583 $cppunit_major_version \= $cppunit_major_min \& \
50584 $cppunit_minor_version \= $cppunit_minor_min \& \
50585 $cppunit_micro_version \>= $cppunit_micro_min `
50586
50587 if test "$cppunit_version_proper" = "1" ; then
50588 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50589 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50590 else
50591 { echo "$as_me:$LINENO: result: no" >&5
50592 echo "${ECHO_T}no" >&6; }
50593 no_cppunit=yes
50594 fi
50595 fi
50596
50597 if test "x$no_cppunit" = x ; then
50598 SUBDIRS="$SUBDIRS tests"
50599 else
50600 CPPUNIT_CFLAGS=""
50601 CPPUNIT_LIBS=""
50602 :
50603 fi
50604
50605
50606
50607
50608
50609 for subdir in $SUBDIRS; do
50610 if test -d ${srcdir}/${subdir} ; then
50611 if test "$wxUSE_GUI" = "yes"; then
50612 if test ${subdir} = "samples"; then
50613 makefiles="samples/Makefile.in $makefiles"
50614 for sample in $SAMPLES_SUBDIRS; do
50615 if test -d $srcdir/samples/$sample; then
50616 makefiles="samples/$sample/Makefile.in $makefiles"
50617 fi
50618 done
50619 else
50620 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50621 eval "disabled=\$$disabled_var"
50622 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50623 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50624 fi
50625 else
50626 if test ${subdir} = "samples"; then
50627 makefiles="samples/Makefile.in $makefiles"
50628 for sample in `echo $SAMPLES_SUBDIRS`; do
50629 if test -d $srcdir/samples/$sample; then
50630 makefiles="samples/$sample/Makefile.in $makefiles"
50631 fi
50632 done
50633 elif test ${subdir} = "utils"; then
50634 makefiles=""
50635 for util in ifacecheck ; do
50636 if test -d $srcdir/utils/$util ; then
50637 makefiles="utils/$util/src/Makefile.in \
50638 $makefiles"
50639 fi
50640 done
50641 else
50642 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50643 fi
50644 fi
50645
50646 for mkin in $makefiles ; do
50647 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50648 ac_config_files="$ac_config_files $mk"
50649
50650 done
50651 fi
50652 done
50653 fi
50654 cat >confcache <<\_ACEOF
50655 # This file is a shell script that caches the results of configure
50656 # tests run on this system so they can be shared between configure
50657 # scripts and configure runs, see configure's option --config-cache.
50658 # It is not useful on other systems. If it contains results you don't
50659 # want to keep, you may remove or edit it.
50660 #
50661 # config.status only pays attention to the cache file if you give it
50662 # the --recheck option to rerun configure.
50663 #
50664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50666 # following values.
50667
50668 _ACEOF
50669
50670 # The following way of writing the cache mishandles newlines in values,
50671 # but we know of no workaround that is simple, portable, and efficient.
50672 # So, we kill variables containing newlines.
50673 # Ultrix sh set writes to stderr and can't be redirected directly,
50674 # and sets the high bit in the cache file unless we assign to the vars.
50675 (
50676 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50677 eval ac_val=\$$ac_var
50678 case $ac_val in #(
50679 *${as_nl}*)
50680 case $ac_var in #(
50681 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50682 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50683 esac
50684 case $ac_var in #(
50685 _ | IFS | as_nl) ;; #(
50686 *) $as_unset $ac_var ;;
50687 esac ;;
50688 esac
50689 done
50690
50691 (set) 2>&1 |
50692 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50693 *${as_nl}ac_space=\ *)
50694 # `set' does not quote correctly, so add quotes (double-quote
50695 # substitution turns \\\\ into \\, and sed turns \\ into \).
50696 sed -n \
50697 "s/'/'\\\\''/g;
50698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50699 ;; #(
50700 *)
50701 # `set' quotes correctly as required by POSIX, so do not add quotes.
50702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50703 ;;
50704 esac |
50705 sort
50706 ) |
50707 sed '
50708 /^ac_cv_env_/b end
50709 t clear
50710 :clear
50711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50712 t end
50713 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50714 :end' >>confcache
50715 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50716 if test -w "$cache_file"; then
50717 test "x$cache_file" != "x/dev/null" &&
50718 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50719 echo "$as_me: updating cache $cache_file" >&6;}
50720 cat confcache >$cache_file
50721 else
50722 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50723 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50724 fi
50725 fi
50726 rm -f confcache
50727
50728 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50729 # Let make expand exec_prefix.
50730 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50731
50732 DEFS=-DHAVE_CONFIG_H
50733
50734 ac_libobjs=
50735 ac_ltlibobjs=
50736 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50737 # 1. Remove the extension, and $U if already installed.
50738 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50739 ac_i=`echo "$ac_i" | sed "$ac_script"`
50740 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50741 # will be set to the directory where LIBOBJS objects are built.
50742 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50743 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50744 done
50745 LIBOBJS=$ac_libobjs
50746
50747 LTLIBOBJS=$ac_ltlibobjs
50748
50749
50750
50751 : ${CONFIG_STATUS=./config.status}
50752 ac_clean_files_save=$ac_clean_files
50753 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50754 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50755 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50756 cat >$CONFIG_STATUS <<_ACEOF
50757 #! $SHELL
50758 # Generated by $as_me.
50759 # Run this file to recreate the current configuration.
50760 # Compiler output produced by configure, useful for debugging
50761 # configure, is in config.log if it exists.
50762
50763 debug=false
50764 ac_cs_recheck=false
50765 ac_cs_silent=false
50766 SHELL=\${CONFIG_SHELL-$SHELL}
50767 _ACEOF
50768
50769 cat >>$CONFIG_STATUS <<\_ACEOF
50770 ## --------------------- ##
50771 ## M4sh Initialization. ##
50772 ## --------------------- ##
50773
50774 # Be more Bourne compatible
50775 DUALCASE=1; export DUALCASE # for MKS sh
50776 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50777 emulate sh
50778 NULLCMD=:
50779 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50780 # is contrary to our usage. Disable this feature.
50781 alias -g '${1+"$@"}'='"$@"'
50782 setopt NO_GLOB_SUBST
50783 else
50784 case `(set -o) 2>/dev/null` in
50785 *posix*) set -o posix ;;
50786 esac
50787
50788 fi
50789
50790
50791
50792
50793 # PATH needs CR
50794 # Avoid depending upon Character Ranges.
50795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50798 as_cr_digits='0123456789'
50799 as_cr_alnum=$as_cr_Letters$as_cr_digits
50800
50801 # The user is always right.
50802 if test "${PATH_SEPARATOR+set}" != set; then
50803 echo "#! /bin/sh" >conf$$.sh
50804 echo "exit 0" >>conf$$.sh
50805 chmod +x conf$$.sh
50806 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50807 PATH_SEPARATOR=';'
50808 else
50809 PATH_SEPARATOR=:
50810 fi
50811 rm -f conf$$.sh
50812 fi
50813
50814 # Support unset when possible.
50815 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50816 as_unset=unset
50817 else
50818 as_unset=false
50819 fi
50820
50821
50822 # IFS
50823 # We need space, tab and new line, in precisely that order. Quoting is
50824 # there to prevent editors from complaining about space-tab.
50825 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50826 # splitting by setting IFS to empty value.)
50827 as_nl='
50828 '
50829 IFS=" "" $as_nl"
50830
50831 # Find who we are. Look in the path if we contain no directory separator.
50832 case $0 in
50833 *[\\/]* ) as_myself=$0 ;;
50834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50835 for as_dir in $PATH
50836 do
50837 IFS=$as_save_IFS
50838 test -z "$as_dir" && as_dir=.
50839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50840 done
50841 IFS=$as_save_IFS
50842
50843 ;;
50844 esac
50845 # We did not find ourselves, most probably we were run as `sh COMMAND'
50846 # in which case we are not to be found in the path.
50847 if test "x$as_myself" = x; then
50848 as_myself=$0
50849 fi
50850 if test ! -f "$as_myself"; then
50851 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50852 { (exit 1); exit 1; }
50853 fi
50854
50855 # Work around bugs in pre-3.0 UWIN ksh.
50856 for as_var in ENV MAIL MAILPATH
50857 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50858 done
50859 PS1='$ '
50860 PS2='> '
50861 PS4='+ '
50862
50863 # NLS nuisances.
50864 for as_var in \
50865 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50866 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50867 LC_TELEPHONE LC_TIME
50868 do
50869 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50870 eval $as_var=C; export $as_var
50871 else
50872 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50873 fi
50874 done
50875
50876 # Required to use basename.
50877 if expr a : '\(a\)' >/dev/null 2>&1 &&
50878 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50879 as_expr=expr
50880 else
50881 as_expr=false
50882 fi
50883
50884 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50885 as_basename=basename
50886 else
50887 as_basename=false
50888 fi
50889
50890
50891 # Name of the executable.
50892 as_me=`$as_basename -- "$0" ||
50893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50894 X"$0" : 'X\(//\)$' \| \
50895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50896 echo X/"$0" |
50897 sed '/^.*\/\([^/][^/]*\)\/*$/{
50898 s//\1/
50899 q
50900 }
50901 /^X\/\(\/\/\)$/{
50902 s//\1/
50903 q
50904 }
50905 /^X\/\(\/\).*/{
50906 s//\1/
50907 q
50908 }
50909 s/.*/./; q'`
50910
50911 # CDPATH.
50912 $as_unset CDPATH
50913
50914
50915
50916 as_lineno_1=$LINENO
50917 as_lineno_2=$LINENO
50918 test "x$as_lineno_1" != "x$as_lineno_2" &&
50919 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50920
50921 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50922 # uniformly replaced by the line number. The first 'sed' inserts a
50923 # line-number line after each line using $LINENO; the second 'sed'
50924 # does the real work. The second script uses 'N' to pair each
50925 # line-number line with the line containing $LINENO, and appends
50926 # trailing '-' during substitution so that $LINENO is not a special
50927 # case at line end.
50928 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50929 # scripts with optimization help from Paolo Bonzini. Blame Lee
50930 # E. McMahon (1931-1989) for sed's syntax. :-)
50931 sed -n '
50932 p
50933 /[$]LINENO/=
50934 ' <$as_myself |
50935 sed '
50936 s/[$]LINENO.*/&-/
50937 t lineno
50938 b
50939 :lineno
50940 N
50941 :loop
50942 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50943 t loop
50944 s/-\n.*//
50945 ' >$as_me.lineno &&
50946 chmod +x "$as_me.lineno" ||
50947 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50948 { (exit 1); exit 1; }; }
50949
50950 # Don't try to exec as it changes $[0], causing all sort of problems
50951 # (the dirname of $[0] is not the place where we might find the
50952 # original and so on. Autoconf is especially sensitive to this).
50953 . "./$as_me.lineno"
50954 # Exit status is that of the last command.
50955 exit
50956 }
50957
50958
50959 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50960 as_dirname=dirname
50961 else
50962 as_dirname=false
50963 fi
50964
50965 ECHO_C= ECHO_N= ECHO_T=
50966 case `echo -n x` in
50967 -n*)
50968 case `echo 'x\c'` in
50969 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50970 *) ECHO_C='\c';;
50971 esac;;
50972 *)
50973 ECHO_N='-n';;
50974 esac
50975
50976 if expr a : '\(a\)' >/dev/null 2>&1 &&
50977 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50978 as_expr=expr
50979 else
50980 as_expr=false
50981 fi
50982
50983 rm -f conf$$ conf$$.exe conf$$.file
50984 if test -d conf$$.dir; then
50985 rm -f conf$$.dir/conf$$.file
50986 else
50987 rm -f conf$$.dir
50988 mkdir conf$$.dir
50989 fi
50990 echo >conf$$.file
50991 if ln -s conf$$.file conf$$ 2>/dev/null; then
50992 as_ln_s='ln -s'
50993 # ... but there are two gotchas:
50994 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50995 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50996 # In both cases, we have to default to `cp -p'.
50997 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50998 as_ln_s='cp -p'
50999 elif ln conf$$.file conf$$ 2>/dev/null; then
51000 as_ln_s=ln
51001 else
51002 as_ln_s='cp -p'
51003 fi
51004 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51005 rmdir conf$$.dir 2>/dev/null
51006
51007 if mkdir -p . 2>/dev/null; then
51008 as_mkdir_p=:
51009 else
51010 test -d ./-p && rmdir ./-p
51011 as_mkdir_p=false
51012 fi
51013
51014 if test -x / >/dev/null 2>&1; then
51015 as_test_x='test -x'
51016 else
51017 if ls -dL / >/dev/null 2>&1; then
51018 as_ls_L_option=L
51019 else
51020 as_ls_L_option=
51021 fi
51022 as_test_x='
51023 eval sh -c '\''
51024 if test -d "$1"; then
51025 test -d "$1/.";
51026 else
51027 case $1 in
51028 -*)set "./$1";;
51029 esac;
51030 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51031 ???[sx]*):;;*)false;;esac;fi
51032 '\'' sh
51033 '
51034 fi
51035 as_executable_p=$as_test_x
51036
51037 # Sed expression to map a string onto a valid CPP name.
51038 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51039
51040 # Sed expression to map a string onto a valid variable name.
51041 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51042
51043
51044 exec 6>&1
51045
51046 # Save the log message, to keep $[0] and so on meaningful, and to
51047 # report actual input values of CONFIG_FILES etc. instead of their
51048 # values after options handling.
51049 ac_log="
51050 This file was extended by wxWidgets $as_me 2.9.0, which was
51051 generated by GNU Autoconf 2.61. Invocation command line was
51052
51053 CONFIG_FILES = $CONFIG_FILES
51054 CONFIG_HEADERS = $CONFIG_HEADERS
51055 CONFIG_LINKS = $CONFIG_LINKS
51056 CONFIG_COMMANDS = $CONFIG_COMMANDS
51057 $ $0 $@
51058
51059 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51060 "
51061
51062 _ACEOF
51063
51064 cat >>$CONFIG_STATUS <<_ACEOF
51065 # Files that config.status was made for.
51066 config_files="$ac_config_files"
51067 config_headers="$ac_config_headers"
51068 config_commands="$ac_config_commands"
51069
51070 _ACEOF
51071
51072 cat >>$CONFIG_STATUS <<\_ACEOF
51073 ac_cs_usage="\
51074 \`$as_me' instantiates files from templates according to the
51075 current configuration.
51076
51077 Usage: $0 [OPTIONS] [FILE]...
51078
51079 -h, --help print this help, then exit
51080 -V, --version print version number and configuration settings, then exit
51081 -q, --quiet do not print progress messages
51082 -d, --debug don't remove temporary files
51083 --recheck update $as_me by reconfiguring in the same conditions
51084 --file=FILE[:TEMPLATE]
51085 instantiate the configuration file FILE
51086 --header=FILE[:TEMPLATE]
51087 instantiate the configuration header FILE
51088
51089 Configuration files:
51090 $config_files
51091
51092 Configuration headers:
51093 $config_headers
51094
51095 Configuration commands:
51096 $config_commands
51097
51098 Report bugs to <bug-autoconf@gnu.org>."
51099
51100 _ACEOF
51101 cat >>$CONFIG_STATUS <<_ACEOF
51102 ac_cs_version="\\
51103 wxWidgets config.status 2.9.0
51104 configured by $0, generated by GNU Autoconf 2.61,
51105 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51106
51107 Copyright (C) 2006 Free Software Foundation, Inc.
51108 This config.status script is free software; the Free Software Foundation
51109 gives unlimited permission to copy, distribute and modify it."
51110
51111 ac_pwd='$ac_pwd'
51112 srcdir='$srcdir'
51113 INSTALL='$INSTALL'
51114 _ACEOF
51115
51116 cat >>$CONFIG_STATUS <<\_ACEOF
51117 # If no file are specified by the user, then we need to provide default
51118 # value. By we need to know if files were specified by the user.
51119 ac_need_defaults=:
51120 while test $# != 0
51121 do
51122 case $1 in
51123 --*=*)
51124 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51125 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51126 ac_shift=:
51127 ;;
51128 *)
51129 ac_option=$1
51130 ac_optarg=$2
51131 ac_shift=shift
51132 ;;
51133 esac
51134
51135 case $ac_option in
51136 # Handling of the options.
51137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51138 ac_cs_recheck=: ;;
51139 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51140 echo "$ac_cs_version"; exit ;;
51141 --debug | --debu | --deb | --de | --d | -d )
51142 debug=: ;;
51143 --file | --fil | --fi | --f )
51144 $ac_shift
51145 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51146 ac_need_defaults=false;;
51147 --header | --heade | --head | --hea )
51148 $ac_shift
51149 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51150 ac_need_defaults=false;;
51151 --he | --h)
51152 # Conflict between --help and --header
51153 { echo "$as_me: error: ambiguous option: $1
51154 Try \`$0 --help' for more information." >&2
51155 { (exit 1); exit 1; }; };;
51156 --help | --hel | -h )
51157 echo "$ac_cs_usage"; exit ;;
51158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51159 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51160 ac_cs_silent=: ;;
51161
51162 # This is an error.
51163 -*) { echo "$as_me: error: unrecognized option: $1
51164 Try \`$0 --help' for more information." >&2
51165 { (exit 1); exit 1; }; } ;;
51166
51167 *) ac_config_targets="$ac_config_targets $1"
51168 ac_need_defaults=false ;;
51169
51170 esac
51171 shift
51172 done
51173
51174 ac_configure_extra_args=
51175
51176 if $ac_cs_silent; then
51177 exec 6>/dev/null
51178 ac_configure_extra_args="$ac_configure_extra_args --silent"
51179 fi
51180
51181 _ACEOF
51182 cat >>$CONFIG_STATUS <<_ACEOF
51183 if \$ac_cs_recheck; then
51184 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51185 CONFIG_SHELL=$SHELL
51186 export CONFIG_SHELL
51187 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51188 fi
51189
51190 _ACEOF
51191 cat >>$CONFIG_STATUS <<\_ACEOF
51192 exec 5>>config.log
51193 {
51194 echo
51195 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51196 ## Running $as_me. ##
51197 _ASBOX
51198 echo "$ac_log"
51199 } >&5
51200
51201 _ACEOF
51202 cat >>$CONFIG_STATUS <<_ACEOF
51203 #
51204 # INIT-COMMANDS
51205 #
51206
51207 CPP="$CPP"
51208 infile="$srcdir/include/wx/msw/genrcdefs.h"
51209 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51210
51211
51212 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51213 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51214 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51215 LN_S="${LN_S}"
51216
51217
51218 _ACEOF
51219
51220 cat >>$CONFIG_STATUS <<\_ACEOF
51221
51222 # Handling of arguments.
51223 for ac_config_target in $ac_config_targets
51224 do
51225 case $ac_config_target in
51226 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51227 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51228 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51229 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51230 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51231 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51232 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51233 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51234 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51235
51236 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51237 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51238 { (exit 1); exit 1; }; };;
51239 esac
51240 done
51241
51242
51243 # If the user did not use the arguments to specify the items to instantiate,
51244 # then the envvar interface is used. Set only those that are not.
51245 # We use the long form for the default assignment because of an extremely
51246 # bizarre bug on SunOS 4.1.3.
51247 if $ac_need_defaults; then
51248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51250 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51251 fi
51252
51253 # Have a temporary directory for convenience. Make it in the build tree
51254 # simply because there is no reason against having it here, and in addition,
51255 # creating and moving files from /tmp can sometimes cause problems.
51256 # Hook for its removal unless debugging.
51257 # Note that there is a small window in which the directory will not be cleaned:
51258 # after its creation but before its name has been assigned to `$tmp'.
51259 $debug ||
51260 {
51261 tmp=
51262 trap 'exit_status=$?
51263 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51264 ' 0
51265 trap '{ (exit 1); exit 1; }' 1 2 13 15
51266 }
51267 # Create a (secure) tmp directory for tmp files.
51268
51269 {
51270 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51271 test -n "$tmp" && test -d "$tmp"
51272 } ||
51273 {
51274 tmp=./conf$$-$RANDOM
51275 (umask 077 && mkdir "$tmp")
51276 } ||
51277 {
51278 echo "$me: cannot create a temporary directory in ." >&2
51279 { (exit 1); exit 1; }
51280 }
51281
51282 #
51283 # Set up the sed scripts for CONFIG_FILES section.
51284 #
51285
51286 # No need to generate the scripts if there are no CONFIG_FILES.
51287 # This happens for instance when ./config.status config.h
51288 if test -n "$CONFIG_FILES"; then
51289
51290 _ACEOF
51291
51292
51293
51294 ac_delim='%!_!# '
51295 for ac_last_try in false false false false false :; do
51296 cat >conf$$subs.sed <<_ACEOF
51297 SHELL!$SHELL$ac_delim
51298 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51299 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51300 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51301 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51302 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51303 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51304 exec_prefix!$exec_prefix$ac_delim
51305 prefix!$prefix$ac_delim
51306 program_transform_name!$program_transform_name$ac_delim
51307 bindir!$bindir$ac_delim
51308 sbindir!$sbindir$ac_delim
51309 libexecdir!$libexecdir$ac_delim
51310 datarootdir!$datarootdir$ac_delim
51311 datadir!$datadir$ac_delim
51312 sysconfdir!$sysconfdir$ac_delim
51313 sharedstatedir!$sharedstatedir$ac_delim
51314 localstatedir!$localstatedir$ac_delim
51315 includedir!$includedir$ac_delim
51316 oldincludedir!$oldincludedir$ac_delim
51317 docdir!$docdir$ac_delim
51318 infodir!$infodir$ac_delim
51319 htmldir!$htmldir$ac_delim
51320 dvidir!$dvidir$ac_delim
51321 pdfdir!$pdfdir$ac_delim
51322 psdir!$psdir$ac_delim
51323 libdir!$libdir$ac_delim
51324 localedir!$localedir$ac_delim
51325 mandir!$mandir$ac_delim
51326 DEFS!$DEFS$ac_delim
51327 ECHO_C!$ECHO_C$ac_delim
51328 ECHO_N!$ECHO_N$ac_delim
51329 ECHO_T!$ECHO_T$ac_delim
51330 LIBS!$LIBS$ac_delim
51331 build_alias!$build_alias$ac_delim
51332 host_alias!$host_alias$ac_delim
51333 target_alias!$target_alias$ac_delim
51334 build!$build$ac_delim
51335 build_cpu!$build_cpu$ac_delim
51336 build_vendor!$build_vendor$ac_delim
51337 build_os!$build_os$ac_delim
51338 host!$host$ac_delim
51339 host_cpu!$host_cpu$ac_delim
51340 host_vendor!$host_vendor$ac_delim
51341 host_os!$host_os$ac_delim
51342 target!$target$ac_delim
51343 target_cpu!$target_cpu$ac_delim
51344 target_vendor!$target_vendor$ac_delim
51345 target_os!$target_os$ac_delim
51346 wx_top_builddir!$wx_top_builddir$ac_delim
51347 CC!$CC$ac_delim
51348 CFLAGS!$CFLAGS$ac_delim
51349 LDFLAGS!$LDFLAGS$ac_delim
51350 CPPFLAGS!$CPPFLAGS$ac_delim
51351 ac_ct_CC!$ac_ct_CC$ac_delim
51352 EXEEXT!$EXEEXT$ac_delim
51353 OBJEXT!$OBJEXT$ac_delim
51354 CPP!$CPP$ac_delim
51355 GREP!$GREP$ac_delim
51356 EGREP!$EGREP$ac_delim
51357 CXX!$CXX$ac_delim
51358 CXXFLAGS!$CXXFLAGS$ac_delim
51359 ac_ct_CXX!$ac_ct_CXX$ac_delim
51360 AR!$AR$ac_delim
51361 subdirs!$subdirs$ac_delim
51362 PKG_CONFIG!$PKG_CONFIG$ac_delim
51363 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51364 GTK_LIBS!$GTK_LIBS$ac_delim
51365 GTK_CONFIG!$GTK_CONFIG$ac_delim
51366 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51367 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51368 XMKMF!$XMKMF$ac_delim
51369 X_CFLAGS!$X_CFLAGS$ac_delim
51370 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51371 X_LIBS!$X_LIBS$ac_delim
51372 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51373 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51374 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51375 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51376 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51377 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51378 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51379 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51380 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51381 LIBICONV!$LIBICONV$ac_delim
51382 SDL_CONFIG!$SDL_CONFIG$ac_delim
51383 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51384 SDL_LIBS!$SDL_LIBS$ac_delim
51385 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51386 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51387 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51388 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51389 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51390 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51391 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51392 HILDON_LIBS!$HILDON_LIBS$ac_delim
51393 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51394 _ACEOF
51395
51396 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51397 break
51398 elif $ac_last_try; then
51399 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51400 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51401 { (exit 1); exit 1; }; }
51402 else
51403 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51404 fi
51405 done
51406
51407 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51408 if test -n "$ac_eof"; then
51409 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51410 ac_eof=`expr $ac_eof + 1`
51411 fi
51412
51413 cat >>$CONFIG_STATUS <<_ACEOF
51414 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51416 _ACEOF
51417 sed '
51418 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51419 s/^/s,@/; s/!/@,|#_!!_#|/
51420 :n
51421 t n
51422 s/'"$ac_delim"'$/,g/; t
51423 s/$/\\/; p
51424 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51425 ' >>$CONFIG_STATUS <conf$$subs.sed
51426 rm -f conf$$subs.sed
51427 cat >>$CONFIG_STATUS <<_ACEOF
51428 CEOF$ac_eof
51429 _ACEOF
51430
51431
51432 ac_delim='%!_!# '
51433 for ac_last_try in false false false false false :; do
51434 cat >conf$$subs.sed <<_ACEOF
51435 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51436 GST_CFLAGS!$GST_CFLAGS$ac_delim
51437 GST_LIBS!$GST_LIBS$ac_delim
51438 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51439 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51440 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51441 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51442 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51443 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51444 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51445 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51446 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51447 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51448 VENDOR!$VENDOR$ac_delim
51449 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51450 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51451 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51452 WXUNIV!$WXUNIV$ac_delim
51453 MONOLITHIC!$MONOLITHIC$ac_delim
51454 USE_PLUGINS!$USE_PLUGINS$ac_delim
51455 CXXWARNINGS!$CXXWARNINGS$ac_delim
51456 EXTRALIBS!$EXTRALIBS$ac_delim
51457 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51458 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51459 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51460 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51461 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51462 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51463 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51464 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51465 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51466 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51467 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51468 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51469 UNICODE!$UNICODE$ac_delim
51470 BUILD!$BUILD$ac_delim
51471 DEBUG_INFO!$DEBUG_INFO$ac_delim
51472 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51473 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51474 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51475 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51476 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51477 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51478 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51479 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51480 RANLIB!$RANLIB$ac_delim
51481 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51482 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51483 INSTALL_DATA!$INSTALL_DATA$ac_delim
51484 LN_S!$LN_S$ac_delim
51485 SET_MAKE!$SET_MAKE$ac_delim
51486 MAKE_SET!$MAKE_SET$ac_delim
51487 AROPTIONS!$AROPTIONS$ac_delim
51488 STRIP!$STRIP$ac_delim
51489 NM!$NM$ac_delim
51490 INSTALL_DIR!$INSTALL_DIR$ac_delim
51491 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51492 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51493 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51494 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51495 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51496 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51497 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51498 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51499 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51500 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51501 SO_SUFFIX!$SO_SUFFIX$ac_delim
51502 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51503 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51504 LIBPREFIX!$LIBPREFIX$ac_delim
51505 LIBEXT!$LIBEXT$ac_delim
51506 DLLPREFIX!$DLLPREFIX$ac_delim
51507 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51508 dlldir!$dlldir$ac_delim
51509 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51510 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51511 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51512 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51513 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51514 PIC_FLAG!$PIC_FLAG$ac_delim
51515 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51516 USE_SOVERSION!$USE_SOVERSION$ac_delim
51517 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51518 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51519 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51520 USE_MACVERSION!$USE_MACVERSION$ac_delim
51521 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51522 SONAME_FLAG!$SONAME_FLAG$ac_delim
51523 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51524 BK_DEPS!$BK_DEPS$ac_delim
51525 WINDRES!$WINDRES$ac_delim
51526 REZ!$REZ$ac_delim
51527 SETFILE!$SETFILE$ac_delim
51528 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51529 GCC_PCH!$GCC_PCH$ac_delim
51530 ICC_PCH!$ICC_PCH$ac_delim
51531 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51532 _ACEOF
51533
51534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51535 break
51536 elif $ac_last_try; then
51537 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51538 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51539 { (exit 1); exit 1; }; }
51540 else
51541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51542 fi
51543 done
51544
51545 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51546 if test -n "$ac_eof"; then
51547 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51548 ac_eof=`expr $ac_eof + 1`
51549 fi
51550
51551 cat >>$CONFIG_STATUS <<_ACEOF
51552 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51554 _ACEOF
51555 sed '
51556 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51557 s/^/s,@/; s/!/@,|#_!!_#|/
51558 :n
51559 t n
51560 s/'"$ac_delim"'$/,g/; t
51561 s/$/\\/; p
51562 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51563 ' >>$CONFIG_STATUS <conf$$subs.sed
51564 rm -f conf$$subs.sed
51565 cat >>$CONFIG_STATUS <<_ACEOF
51566 CEOF$ac_eof
51567 _ACEOF
51568
51569
51570 ac_delim='%!_!# '
51571 for ac_last_try in false false false false false :; do
51572 cat >conf$$subs.sed <<_ACEOF
51573 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51574 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51575 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51576 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51577 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51578 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51579 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51580 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51581 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51582 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51583 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51584 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51585 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51586 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51587 COND_BUILD_release!$COND_BUILD_release$ac_delim
51588 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51589 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51590 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51591 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51592 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51593 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51594 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51595 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51596 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51597 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51598 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51599 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51600 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51601 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51602 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51603 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51604 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51605 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51606 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51607 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51608 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51609 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51610 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51611 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51612 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51613 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51614 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51615 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51616 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51617 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51618 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51619 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51620 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51621 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51622 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51623 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51624 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51625 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51626 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51627 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51628 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51629 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51630 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51631 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51632 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51633 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51634 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51635 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51636 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51637 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51639 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51641 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51642 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51643 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51644 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51645 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51646 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51647 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51648 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51649 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51650 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51651 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51652 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51653 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51654 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51655 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51656 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51657 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51658 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51659 COND_SHARED_0!$COND_SHARED_0$ac_delim
51660 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51661 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51662 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51663 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51664 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51665 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51666 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51667 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51668 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51669 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51670 _ACEOF
51671
51672 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51673 break
51674 elif $ac_last_try; then
51675 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51676 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51677 { (exit 1); exit 1; }; }
51678 else
51679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51680 fi
51681 done
51682
51683 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51684 if test -n "$ac_eof"; then
51685 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51686 ac_eof=`expr $ac_eof + 1`
51687 fi
51688
51689 cat >>$CONFIG_STATUS <<_ACEOF
51690 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51692 _ACEOF
51693 sed '
51694 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51695 s/^/s,@/; s/!/@,|#_!!_#|/
51696 :n
51697 t n
51698 s/'"$ac_delim"'$/,g/; t
51699 s/$/\\/; p
51700 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51701 ' >>$CONFIG_STATUS <conf$$subs.sed
51702 rm -f conf$$subs.sed
51703 cat >>$CONFIG_STATUS <<_ACEOF
51704 CEOF$ac_eof
51705 _ACEOF
51706
51707
51708 ac_delim='%!_!# '
51709 for ac_last_try in false false false false false :; do
51710 cat >conf$$subs.sed <<_ACEOF
51711 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51712 COND_SHARED_1!$COND_SHARED_1$ac_delim
51713 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51714 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51715 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51716 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51717 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51718 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51719 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51720 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51722 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51724 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51725 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51726 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51727 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51728 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51729 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51730 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51731 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51732 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51734 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51735 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51736 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51737 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51738 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51739 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51740 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51741 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51742 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51743 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51744 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51745 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51746 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51747 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51748 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51749 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51750 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51751 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51752 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51753 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51754 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51755 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51756 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51757 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51758 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51759 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51760 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51761 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51762 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51763 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51764 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51765 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51766 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51767 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51768 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51769 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51770 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51771 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51772 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51773 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51774 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51775 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51776 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51777 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51778 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51779 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51780 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51781 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51782 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51783 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51784 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51785 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51786 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51787 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51788 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51789 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51790 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51791 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51792 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
51793 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
51794 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
51795 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
51796 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
51797 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
51798 DEREZ!$DEREZ$ac_delim
51799 SHARED!$SHARED$ac_delim
51800 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51801 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51802 USE_GUI!$USE_GUI$ac_delim
51803 AFMINSTALL!$AFMINSTALL$ac_delim
51804 WIN32INSTALL!$WIN32INSTALL$ac_delim
51805 TOOLKIT!$TOOLKIT$ac_delim
51806 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51807 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51808 _ACEOF
51809
51810 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51811 break
51812 elif $ac_last_try; then
51813 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51814 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51815 { (exit 1); exit 1; }; }
51816 else
51817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51818 fi
51819 done
51820
51821 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51822 if test -n "$ac_eof"; then
51823 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51824 ac_eof=`expr $ac_eof + 1`
51825 fi
51826
51827 cat >>$CONFIG_STATUS <<_ACEOF
51828 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51830 _ACEOF
51831 sed '
51832 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51833 s/^/s,@/; s/!/@,|#_!!_#|/
51834 :n
51835 t n
51836 s/'"$ac_delim"'$/,g/; t
51837 s/$/\\/; p
51838 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51839 ' >>$CONFIG_STATUS <conf$$subs.sed
51840 rm -f conf$$subs.sed
51841 cat >>$CONFIG_STATUS <<_ACEOF
51842 CEOF$ac_eof
51843 _ACEOF
51844
51845
51846 ac_delim='%!_!# '
51847 for ac_last_try in false false false false false :; do
51848 cat >conf$$subs.sed <<_ACEOF
51849 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51850 cross_compiling!$cross_compiling$ac_delim
51851 WIDGET_SET!$WIDGET_SET$ac_delim
51852 WX_RELEASE!$WX_RELEASE$ac_delim
51853 WX_VERSION!$WX_VERSION$ac_delim
51854 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51855 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51856 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51857 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51858 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51859 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51860 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51861 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51862 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51863 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51864 GUIDIST!$GUIDIST$ac_delim
51865 DISTDIR!$DISTDIR$ac_delim
51866 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51867 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51868 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51869 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51870 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51871 RESCOMP!$RESCOMP$ac_delim
51872 RESFLAGS!$RESFLAGS$ac_delim
51873 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51874 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51875 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51876 LIBWXMACRES!$LIBWXMACRES$ac_delim
51877 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51878 MACSETFILE!$MACSETFILE$ac_delim
51879 GCC!$GCC$ac_delim
51880 DLLTOOL!$DLLTOOL$ac_delim
51881 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51882 LIBOBJS!$LIBOBJS$ac_delim
51883 LTLIBOBJS!$LTLIBOBJS$ac_delim
51884 _ACEOF
51885
51886 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
51887 break
51888 elif $ac_last_try; then
51889 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51890 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51891 { (exit 1); exit 1; }; }
51892 else
51893 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51894 fi
51895 done
51896
51897 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51898 if test -n "$ac_eof"; then
51899 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51900 ac_eof=`expr $ac_eof + 1`
51901 fi
51902
51903 cat >>$CONFIG_STATUS <<_ACEOF
51904 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51906 _ACEOF
51907 sed '
51908 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51909 s/^/s,@/; s/!/@,|#_!!_#|/
51910 :n
51911 t n
51912 s/'"$ac_delim"'$/,g/; t
51913 s/$/\\/; p
51914 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51915 ' >>$CONFIG_STATUS <conf$$subs.sed
51916 rm -f conf$$subs.sed
51917 cat >>$CONFIG_STATUS <<_ACEOF
51918 :end
51919 s/|#_!!_#|//g
51920 CEOF$ac_eof
51921 _ACEOF
51922
51923
51924 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51925 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51926 # trailing colons and then remove the whole line if VPATH becomes empty
51927 # (actually we leave an empty line to preserve line numbers).
51928 if test "x$srcdir" = x.; then
51929 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51930 s/:*\$(srcdir):*/:/
51931 s/:*\${srcdir}:*/:/
51932 s/:*@srcdir@:*/:/
51933 s/^\([^=]*=[ ]*\):*/\1/
51934 s/:*$//
51935 s/^[^=]*=[ ]*$//
51936 }'
51937 fi
51938
51939 cat >>$CONFIG_STATUS <<\_ACEOF
51940 fi # test -n "$CONFIG_FILES"
51941
51942
51943 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51944 do
51945 case $ac_tag in
51946 :[FHLC]) ac_mode=$ac_tag; continue;;
51947 esac
51948 case $ac_mode$ac_tag in
51949 :[FHL]*:*);;
51950 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51951 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51952 { (exit 1); exit 1; }; };;
51953 :[FH]-) ac_tag=-:-;;
51954 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51955 esac
51956 ac_save_IFS=$IFS
51957 IFS=:
51958 set x $ac_tag
51959 IFS=$ac_save_IFS
51960 shift
51961 ac_file=$1
51962 shift
51963
51964 case $ac_mode in
51965 :L) ac_source=$1;;
51966 :[FH])
51967 ac_file_inputs=
51968 for ac_f
51969 do
51970 case $ac_f in
51971 -) ac_f="$tmp/stdin";;
51972 *) # Look for the file first in the build tree, then in the source tree
51973 # (if the path is not absolute). The absolute path cannot be DOS-style,
51974 # because $ac_f cannot contain `:'.
51975 test -f "$ac_f" ||
51976 case $ac_f in
51977 [\\/$]*) false;;
51978 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51979 esac ||
51980 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51981 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51982 { (exit 1); exit 1; }; };;
51983 esac
51984 ac_file_inputs="$ac_file_inputs $ac_f"
51985 done
51986
51987 # Let's still pretend it is `configure' which instantiates (i.e., don't
51988 # use $as_me), people would be surprised to read:
51989 # /* config.h. Generated by config.status. */
51990 configure_input="Generated from "`IFS=:
51991 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51992 if test x"$ac_file" != x-; then
51993 configure_input="$ac_file. $configure_input"
51994 { echo "$as_me:$LINENO: creating $ac_file" >&5
51995 echo "$as_me: creating $ac_file" >&6;}
51996 fi
51997
51998 case $ac_tag in
51999 *:-:* | *:-) cat >"$tmp/stdin";;
52000 esac
52001 ;;
52002 esac
52003
52004 ac_dir=`$as_dirname -- "$ac_file" ||
52005 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52006 X"$ac_file" : 'X\(//\)[^/]' \| \
52007 X"$ac_file" : 'X\(//\)$' \| \
52008 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52009 echo X"$ac_file" |
52010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52011 s//\1/
52012 q
52013 }
52014 /^X\(\/\/\)[^/].*/{
52015 s//\1/
52016 q
52017 }
52018 /^X\(\/\/\)$/{
52019 s//\1/
52020 q
52021 }
52022 /^X\(\/\).*/{
52023 s//\1/
52024 q
52025 }
52026 s/.*/./; q'`
52027 { as_dir="$ac_dir"
52028 case $as_dir in #(
52029 -*) as_dir=./$as_dir;;
52030 esac
52031 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52032 as_dirs=
52033 while :; do
52034 case $as_dir in #(
52035 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52036 *) as_qdir=$as_dir;;
52037 esac
52038 as_dirs="'$as_qdir' $as_dirs"
52039 as_dir=`$as_dirname -- "$as_dir" ||
52040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52041 X"$as_dir" : 'X\(//\)[^/]' \| \
52042 X"$as_dir" : 'X\(//\)$' \| \
52043 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52044 echo X"$as_dir" |
52045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52046 s//\1/
52047 q
52048 }
52049 /^X\(\/\/\)[^/].*/{
52050 s//\1/
52051 q
52052 }
52053 /^X\(\/\/\)$/{
52054 s//\1/
52055 q
52056 }
52057 /^X\(\/\).*/{
52058 s//\1/
52059 q
52060 }
52061 s/.*/./; q'`
52062 test -d "$as_dir" && break
52063 done
52064 test -z "$as_dirs" || eval "mkdir $as_dirs"
52065 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52066 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52067 { (exit 1); exit 1; }; }; }
52068 ac_builddir=.
52069
52070 case "$ac_dir" in
52071 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52072 *)
52073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52074 # A ".." for each directory in $ac_dir_suffix.
52075 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52076 case $ac_top_builddir_sub in
52077 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52078 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52079 esac ;;
52080 esac
52081 ac_abs_top_builddir=$ac_pwd
52082 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52083 # for backward compatibility:
52084 ac_top_builddir=$ac_top_build_prefix
52085
52086 case $srcdir in
52087 .) # We are building in place.
52088 ac_srcdir=.
52089 ac_top_srcdir=$ac_top_builddir_sub
52090 ac_abs_top_srcdir=$ac_pwd ;;
52091 [\\/]* | ?:[\\/]* ) # Absolute name.
52092 ac_srcdir=$srcdir$ac_dir_suffix;
52093 ac_top_srcdir=$srcdir
52094 ac_abs_top_srcdir=$srcdir ;;
52095 *) # Relative name.
52096 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52097 ac_top_srcdir=$ac_top_build_prefix$srcdir
52098 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52099 esac
52100 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52101
52102
52103 case $ac_mode in
52104 :F)
52105 #
52106 # CONFIG_FILE
52107 #
52108
52109 case $INSTALL in
52110 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52111 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52112 esac
52113 _ACEOF
52114
52115 cat >>$CONFIG_STATUS <<\_ACEOF
52116 # If the template does not know about datarootdir, expand it.
52117 # FIXME: This hack should be removed a few years after 2.60.
52118 ac_datarootdir_hack=; ac_datarootdir_seen=
52119
52120 case `sed -n '/datarootdir/ {
52121 p
52122 q
52123 }
52124 /@datadir@/p
52125 /@docdir@/p
52126 /@infodir@/p
52127 /@localedir@/p
52128 /@mandir@/p
52129 ' $ac_file_inputs` in
52130 *datarootdir*) ac_datarootdir_seen=yes;;
52131 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52132 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52133 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52134 _ACEOF
52135 cat >>$CONFIG_STATUS <<_ACEOF
52136 ac_datarootdir_hack='
52137 s&@datadir@&$datadir&g
52138 s&@docdir@&$docdir&g
52139 s&@infodir@&$infodir&g
52140 s&@localedir@&$localedir&g
52141 s&@mandir@&$mandir&g
52142 s&\\\${datarootdir}&$datarootdir&g' ;;
52143 esac
52144 _ACEOF
52145
52146 # Neutralize VPATH when `$srcdir' = `.'.
52147 # Shell code in configure.ac might set extrasub.
52148 # FIXME: do we really want to maintain this feature?
52149 cat >>$CONFIG_STATUS <<_ACEOF
52150 sed "$ac_vpsub
52151 $extrasub
52152 _ACEOF
52153 cat >>$CONFIG_STATUS <<\_ACEOF
52154 :t
52155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52156 s&@configure_input@&$configure_input&;t t
52157 s&@top_builddir@&$ac_top_builddir_sub&;t t
52158 s&@srcdir@&$ac_srcdir&;t t
52159 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52160 s&@top_srcdir@&$ac_top_srcdir&;t t
52161 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52162 s&@builddir@&$ac_builddir&;t t
52163 s&@abs_builddir@&$ac_abs_builddir&;t t
52164 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52165 s&@INSTALL@&$ac_INSTALL&;t t
52166 $ac_datarootdir_hack
52167 " $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
52168
52169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52170 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52171 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52172 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52173 which seems to be undefined. Please make sure it is defined." >&5
52174 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52175 which seems to be undefined. Please make sure it is defined." >&2;}
52176
52177 rm -f "$tmp/stdin"
52178 case $ac_file in
52179 -) cat "$tmp/out"; rm -f "$tmp/out";;
52180 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52181 esac
52182 ;;
52183 :H)
52184 #
52185 # CONFIG_HEADER
52186 #
52187 _ACEOF
52188
52189 # Transform confdefs.h into a sed script `conftest.defines', that
52190 # substitutes the proper values into config.h.in to produce config.h.
52191 rm -f conftest.defines conftest.tail
52192 # First, append a space to every undef/define line, to ease matching.
52193 echo 's/$/ /' >conftest.defines
52194 # Then, protect against being on the right side of a sed subst, or in
52195 # an unquoted here document, in config.status. If some macros were
52196 # called several times there might be several #defines for the same
52197 # symbol, which is useless. But do not sort them, since the last
52198 # AC_DEFINE must be honored.
52199 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52200 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52201 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52202 # PARAMS is the parameter list in the macro definition--in most cases, it's
52203 # just an empty string.
52204 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52205 ac_dB='\\)[ (].*,\\1define\\2'
52206 ac_dC=' '
52207 ac_dD=' ,'
52208
52209 uniq confdefs.h |
52210 sed -n '
52211 t rset
52212 :rset
52213 s/^[ ]*#[ ]*define[ ][ ]*//
52214 t ok
52215 d
52216 :ok
52217 s/[\\&,]/\\&/g
52218 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52219 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52220 ' >>conftest.defines
52221
52222 # Remove the space that was appended to ease matching.
52223 # Then replace #undef with comments. This is necessary, for
52224 # example, in the case of _POSIX_SOURCE, which is predefined and required
52225 # on some systems where configure will not decide to define it.
52226 # (The regexp can be short, since the line contains either #define or #undef.)
52227 echo 's/ $//
52228 s,^[ #]*u.*,/* & */,' >>conftest.defines
52229
52230 # Break up conftest.defines:
52231 ac_max_sed_lines=50
52232
52233 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52234 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52235 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52236 # et cetera.
52237 ac_in='$ac_file_inputs'
52238 ac_out='"$tmp/out1"'
52239 ac_nxt='"$tmp/out2"'
52240
52241 while :
52242 do
52243 # Write a here document:
52244 cat >>$CONFIG_STATUS <<_ACEOF
52245 # First, check the format of the line:
52246 cat >"\$tmp/defines.sed" <<\\CEOF
52247 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52248 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52249 b
52250 :def
52251 _ACEOF
52252 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52253 echo 'CEOF
52254 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52255 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52256 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52257 grep . conftest.tail >/dev/null || break
52258 rm -f conftest.defines
52259 mv conftest.tail conftest.defines
52260 done
52261 rm -f conftest.defines conftest.tail
52262
52263 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52264 cat >>$CONFIG_STATUS <<\_ACEOF
52265 if test x"$ac_file" != x-; then
52266 echo "/* $configure_input */" >"$tmp/config.h"
52267 cat "$ac_result" >>"$tmp/config.h"
52268 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52269 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52270 echo "$as_me: $ac_file is unchanged" >&6;}
52271 else
52272 rm -f $ac_file
52273 mv "$tmp/config.h" $ac_file
52274 fi
52275 else
52276 echo "/* $configure_input */"
52277 cat "$ac_result"
52278 fi
52279 rm -f "$tmp/out12"
52280 ;;
52281
52282 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52283 echo "$as_me: executing $ac_file commands" >&6;}
52284 ;;
52285 esac
52286
52287
52288 case $ac_file$ac_mode in
52289 "rcdefs.h":C)
52290 mkdir -p $outdir &&
52291 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52292 ;;
52293 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52294 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52295 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52296 "wx-config":C) rm -f wx-config
52297 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52298 ;;
52299
52300 esac
52301 done # for ac_tag
52302
52303
52304 { (exit 0); exit 0; }
52305 _ACEOF
52306 chmod +x $CONFIG_STATUS
52307 ac_clean_files=$ac_clean_files_save
52308
52309
52310 # configure is writing to config.log, and then calls config.status.
52311 # config.status does its own redirection, appending to config.log.
52312 # Unfortunately, on DOS this fails, as config.log is still kept open
52313 # by configure, so config.status won't be able to write to it; its
52314 # output is simply discarded. So we exec the FD to /dev/null,
52315 # effectively closing config.log, so it can be properly (re)opened and
52316 # appended to by config.status. When coming back to configure, we
52317 # need to make the FD available again.
52318 if test "$no_create" != yes; then
52319 ac_cs_success=:
52320 ac_config_status_args=
52321 test "$silent" = yes &&
52322 ac_config_status_args="$ac_config_status_args --quiet"
52323 exec 5>/dev/null
52324 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52325 exec 5>>config.log
52326 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52327 # would make configure fail if this is the last instruction.
52328 $ac_cs_success || { (exit 1); exit 1; }
52329 fi
52330
52331 #
52332 # CONFIG_SUBDIRS section.
52333 #
52334 if test "$no_recursion" != yes; then
52335
52336 # Remove --cache-file and --srcdir arguments so they do not pile up.
52337 ac_sub_configure_args=
52338 ac_prev=
52339 eval "set x $ac_configure_args"
52340 shift
52341 for ac_arg
52342 do
52343 if test -n "$ac_prev"; then
52344 ac_prev=
52345 continue
52346 fi
52347 case $ac_arg in
52348 -cache-file | --cache-file | --cache-fil | --cache-fi \
52349 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52350 ac_prev=cache_file ;;
52351 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52352 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52353 | --c=*)
52354 ;;
52355 --config-cache | -C)
52356 ;;
52357 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52358 ac_prev=srcdir ;;
52359 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52360 ;;
52361 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52362 ac_prev=prefix ;;
52363 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52364 ;;
52365 *)
52366 case $ac_arg in
52367 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52368 esac
52369 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52370 esac
52371 done
52372
52373 # Always prepend --prefix to ensure using the same prefix
52374 # in subdir configurations.
52375 ac_arg="--prefix=$prefix"
52376 case $ac_arg in
52377 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52378 esac
52379 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52380
52381 # Pass --silent
52382 if test "$silent" = yes; then
52383 ac_sub_configure_args="--silent $ac_sub_configure_args"
52384 fi
52385
52386 ac_popdir=`pwd`
52387 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52388
52389 # Do not complain, so a configure script can configure whichever
52390 # parts of a large source tree are present.
52391 test -d "$srcdir/$ac_dir" || continue
52392
52393 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52394 echo "$as_me:$LINENO: $ac_msg" >&5
52395 echo "$ac_msg" >&6
52396 { as_dir="$ac_dir"
52397 case $as_dir in #(
52398 -*) as_dir=./$as_dir;;
52399 esac
52400 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52401 as_dirs=
52402 while :; do
52403 case $as_dir in #(
52404 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52405 *) as_qdir=$as_dir;;
52406 esac
52407 as_dirs="'$as_qdir' $as_dirs"
52408 as_dir=`$as_dirname -- "$as_dir" ||
52409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52410 X"$as_dir" : 'X\(//\)[^/]' \| \
52411 X"$as_dir" : 'X\(//\)$' \| \
52412 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52413 echo X"$as_dir" |
52414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52415 s//\1/
52416 q
52417 }
52418 /^X\(\/\/\)[^/].*/{
52419 s//\1/
52420 q
52421 }
52422 /^X\(\/\/\)$/{
52423 s//\1/
52424 q
52425 }
52426 /^X\(\/\).*/{
52427 s//\1/
52428 q
52429 }
52430 s/.*/./; q'`
52431 test -d "$as_dir" && break
52432 done
52433 test -z "$as_dirs" || eval "mkdir $as_dirs"
52434 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52435 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52436 { (exit 1); exit 1; }; }; }
52437 ac_builddir=.
52438
52439 case "$ac_dir" in
52440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52441 *)
52442 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52443 # A ".." for each directory in $ac_dir_suffix.
52444 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52445 case $ac_top_builddir_sub in
52446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52448 esac ;;
52449 esac
52450 ac_abs_top_builddir=$ac_pwd
52451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52452 # for backward compatibility:
52453 ac_top_builddir=$ac_top_build_prefix
52454
52455 case $srcdir in
52456 .) # We are building in place.
52457 ac_srcdir=.
52458 ac_top_srcdir=$ac_top_builddir_sub
52459 ac_abs_top_srcdir=$ac_pwd ;;
52460 [\\/]* | ?:[\\/]* ) # Absolute name.
52461 ac_srcdir=$srcdir$ac_dir_suffix;
52462 ac_top_srcdir=$srcdir
52463 ac_abs_top_srcdir=$srcdir ;;
52464 *) # Relative name.
52465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52466 ac_top_srcdir=$ac_top_build_prefix$srcdir
52467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52468 esac
52469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52470
52471
52472 cd "$ac_dir"
52473
52474 # Check for guested configure; otherwise get Cygnus style configure.
52475 if test -f "$ac_srcdir/configure.gnu"; then
52476 ac_sub_configure=$ac_srcdir/configure.gnu
52477 elif test -f "$ac_srcdir/configure"; then
52478 ac_sub_configure=$ac_srcdir/configure
52479 elif test -f "$ac_srcdir/configure.in"; then
52480 # This should be Cygnus configure.
52481 ac_sub_configure=$ac_aux_dir/configure
52482 else
52483 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52484 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52485 ac_sub_configure=
52486 fi
52487
52488 # The recursion is here.
52489 if test -n "$ac_sub_configure"; then
52490 # Make the cache file name correct relative to the subdirectory.
52491 case $cache_file in
52492 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52493 *) # Relative name.
52494 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52495 esac
52496
52497 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52498 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52499 # The eval makes quoting arguments work.
52500 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52501 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52502 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52503 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52504 { (exit 1); exit 1; }; }
52505 fi
52506
52507 cd "$ac_popdir"
52508 done
52509 fi
52510
52511
52512 echo
52513 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52514 echo ""
52515 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52516 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52517
52518 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52519 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52520 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52521 if test "$wxUSE_UNICODE" = "yes"; then
52522 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52523 echo " (using UTF-8)"
52524 else
52525 echo " (using wchar_t)"
52526 fi
52527 else
52528 echo
52529 fi
52530
52531 echo " What level of wxWidgets compatibility should be enabled?"
52532 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52533 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52534
52535 echo " Which libraries should wxWidgets use?"
52536 echo " STL ${wxUSE_STL}"
52537 echo " jpeg ${wxUSE_LIBJPEG-none}"
52538 echo " png ${wxUSE_LIBPNG-none}"
52539 echo " regex ${wxUSE_REGEX}"
52540 echo " tiff ${wxUSE_LIBTIFF-none}"
52541 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52542 echo " xpm ${wxUSE_LIBXPM-none}"
52543 fi
52544 echo " zlib ${wxUSE_ZLIB}"
52545 echo " expat ${wxUSE_EXPAT}"
52546 echo " libmspack ${wxUSE_LIBMSPACK}"
52547 echo " sdl ${wxUSE_LIBSDL}"
52548
52549 echo ""
52550