]> git.saurik.com Git - wxWidgets.git/blob - configure
09bb7cd7056e95025f63f81bdac4bfb538fb0e66
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50061 2007-11-18 20:53:33Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GTKPRINT
745 EXTRALIBS_GNOMEPRINT
746 EXTRALIBS_GNOMEVFS
747 EXTRALIBS_HILDON
748 UNICODE
749 BUILD
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 SAMPLES_RPATH_FLAG
755 SAMPLES_RPATH_POSTLINK
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 GCC_PCH
808 ICC_PCH
809 BK_MAKE_PCH
810 COND_BUILD_DEBUG
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_INFO_0
821 COND_DEBUG_INFO_1
822 COND_DEPS_TRACKING_0
823 COND_DEPS_TRACKING_1
824 COND_GCC_PCH_1
825 COND_ICC_PCH_1
826 COND_MONOLITHIC_0
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
854 COND_MONOLITHIC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MAC_1
873 COND_PLATFORM_MSDOS_1
874 COND_PLATFORM_OS2_1
875 COND_PLATFORM_UNIX_0
876 COND_PLATFORM_UNIX_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
883 COND_SHARED_0
884 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
885 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
888 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
891 COND_SHARED_0_USE_STC_1
892 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
893 COND_SHARED_0_WXUSE_REGEX_BUILTIN
894 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
895 COND_SHARED_1
896 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
897 COND_TOOLKIT_
898 COND_TOOLKIT_COCOA
899 COND_TOOLKIT_COCOA_USE_GUI_1
900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
901 COND_TOOLKIT_DFB
902 COND_TOOLKIT_DFB_USE_GUI_1
903 COND_TOOLKIT_GTK
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_USE_GUI_1
912 COND_TOOLKIT_MAC
913 COND_TOOLKIT_MAC_USE_GUI_1
914 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MGL
916 COND_TOOLKIT_MGL_USE_GUI_1
917 COND_TOOLKIT_MOTIF
918 COND_TOOLKIT_MOTIF_USE_GUI_1
919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MSW
921 COND_TOOLKIT_MSW_USE_GUI_1
922 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW_WXUNIV_0
924 COND_TOOLKIT_PM
925 COND_TOOLKIT_PM_USE_GUI_1
926 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_WINCE
928 COND_TOOLKIT_WINCE_USE_GUI_1
929 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE_WXUNIV_0
931 COND_TOOLKIT_X11
932 COND_TOOLKIT_X11_USE_GUI_1
933 COND_UNICODE_1
934 COND_USE_EXCEPTIONS_0
935 COND_USE_EXCEPTIONS_1
936 COND_USE_GUI_0
937 COND_USE_GUI_1
938 COND_USE_GUI_1_USE_OPENGL_1
939 COND_USE_GUI_1_WXUNIV_0
940 COND_USE_GUI_1_WXUNIV_1
941 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
942 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
944 COND_USE_PCH_1
945 COND_USE_PLUGINS_0
946 COND_USE_RTTI_0
947 COND_USE_RTTI_1
948 COND_USE_SOSYMLINKS_1
949 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
950 COND_USE_SOVERLINUX_1
951 COND_USE_SOVERSION_0
952 COND_USE_SOVERSOLARIS_1
953 COND_USE_STC_1
954 COND_USE_THREADS_0
955 COND_USE_THREADS_1
956 COND_USE_XRC_1
957 COND_WINDOWS_IMPLIB_1
958 COND_WITH_PLUGIN_SDL_1
959 COND_WXUNIV_0
960 COND_WXUNIV_1
961 COND_WXUSE_EXPAT_BUILTIN
962 COND_WXUSE_LIBJPEG_BUILTIN
963 COND_WXUSE_LIBPNG_BUILTIN
964 COND_WXUSE_LIBTIFF_BUILTIN
965 COND_WXUSE_REGEX_BUILTIN
966 COND_WXUSE_ZLIB_BUILTIN
967 DEREZ
968 SHARED
969 WX_LIBRARY_BASENAME_NOGUI
970 WX_LIBRARY_BASENAME_GUI
971 USE_GUI
972 AFMINSTALL
973 WIN32INSTALL
974 TOOLKIT
975 TOOLKIT_DIR
976 TOOLCHAIN_NAME
977 TOOLCHAIN_FULLNAME
978 cross_compiling
979 WIDGET_SET
980 WX_RELEASE
981 WX_VERSION
982 WX_SUBVERSION
983 WX_CHARTYPE
984 WX_DEBUGTYPE
985 WXCONFIG_CPPFLAGS
986 WXCONFIG_CFLAGS
987 WXCONFIG_CXXFLAGS
988 WXCONFIG_LIBS
989 WXCONFIG_RPATH
990 WXCONFIG_LDFLAGS_GUI
991 WXCONFIG_RESFLAGS
992 GUIDIST
993 DISTDIR
994 SAMPLES_SUBDIRS
995 LDFLAGS_GL
996 OPENGL_LIBS
997 DMALLOC_LIBS
998 WX_VERSION_TAG
999 RESCOMP
1000 RESFLAGS
1001 RESPROGRAMOBJ
1002 WX_RESOURCES_MACOSX_ASCII
1003 WX_RESOURCES_MACOSX_DATA
1004 LIBWXMACRES
1005 POSTLINK_COMMAND
1006 MACSETFILE
1007 GCC
1008 DLLTOOL
1009 CPPUNIT_CONFIG
1010 LIBOBJS
1011 LTLIBOBJS'
1012 ac_subst_files=''
1013 ac_precious_vars='build_alias
1014 host_alias
1015 target_alias
1016 CC
1017 CFLAGS
1018 LDFLAGS
1019 LIBS
1020 CPPFLAGS
1021 CPP
1022 CXX
1023 CXXFLAGS
1024 CCC
1025 PKG_CONFIG
1026 DIRECTFB_CFLAGS
1027 DIRECTFB_LIBS
1028 XMKMF
1029 PANGOX_CFLAGS
1030 PANGOX_LIBS
1031 PANGOFT2_CFLAGS
1032 PANGOFT2_LIBS
1033 PANGOXFT_CFLAGS
1034 PANGOXFT_LIBS
1035 GTKPRINT_CFLAGS
1036 GTKPRINT_LIBS
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1039 GNOMEVFS_CFLAGS
1040 GNOMEVFS_LIBS
1041 HILDON_CFLAGS
1042 HILDON_LIBS
1043 CAIRO_CFLAGS
1044 CAIRO_LIBS
1045 GST_CFLAGS
1046 GST_LIBS'
1047 ac_subdirs_all='src/tiff
1048 src/expat'
1049
1050 # Initialize some variables set by options.
1051 ac_init_help=
1052 ac_init_version=false
1053 # The variables have the same names as the options, with
1054 # dashes changed to underlines.
1055 cache_file=/dev/null
1056 exec_prefix=NONE
1057 no_create=
1058 no_recursion=
1059 prefix=NONE
1060 program_prefix=NONE
1061 program_suffix=NONE
1062 program_transform_name=s,x,x,
1063 silent=
1064 site=
1065 srcdir=
1066 verbose=
1067 x_includes=NONE
1068 x_libraries=NONE
1069
1070 # Installation directory options.
1071 # These are left unexpanded so users can "make install exec_prefix=/foo"
1072 # and all the variables that are supposed to be based on exec_prefix
1073 # by default will actually change.
1074 # Use braces instead of parens because sh, perl, etc. also accept them.
1075 # (The list follows the same order as the GNU Coding Standards.)
1076 bindir='${exec_prefix}/bin'
1077 sbindir='${exec_prefix}/sbin'
1078 libexecdir='${exec_prefix}/libexec'
1079 datarootdir='${prefix}/share'
1080 datadir='${datarootdir}'
1081 sysconfdir='${prefix}/etc'
1082 sharedstatedir='${prefix}/com'
1083 localstatedir='${prefix}/var'
1084 includedir='${prefix}/include'
1085 oldincludedir='/usr/include'
1086 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1087 infodir='${datarootdir}/info'
1088 htmldir='${docdir}'
1089 dvidir='${docdir}'
1090 pdfdir='${docdir}'
1091 psdir='${docdir}'
1092 libdir='${exec_prefix}/lib'
1093 localedir='${datarootdir}/locale'
1094 mandir='${datarootdir}/man'
1095
1096 ac_prev=
1097 ac_dashdash=
1098 for ac_option
1099 do
1100 # If the previous option needs an argument, assign it.
1101 if test -n "$ac_prev"; then
1102 eval $ac_prev=\$ac_option
1103 ac_prev=
1104 continue
1105 fi
1106
1107 case $ac_option in
1108 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1109 *) ac_optarg=yes ;;
1110 esac
1111
1112 # Accept the important Cygnus configure options, so we can diagnose typos.
1113
1114 case $ac_dashdash$ac_option in
1115 --)
1116 ac_dashdash=yes ;;
1117
1118 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119 ac_prev=bindir ;;
1120 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121 bindir=$ac_optarg ;;
1122
1123 -build | --build | --buil | --bui | --bu)
1124 ac_prev=build_alias ;;
1125 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126 build_alias=$ac_optarg ;;
1127
1128 -cache-file | --cache-file | --cache-fil | --cache-fi \
1129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130 ac_prev=cache_file ;;
1131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133 cache_file=$ac_optarg ;;
1134
1135 --config-cache | -C)
1136 cache_file=config.cache ;;
1137
1138 -datadir | --datadir | --datadi | --datad)
1139 ac_prev=datadir ;;
1140 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141 datadir=$ac_optarg ;;
1142
1143 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144 | --dataroo | --dataro | --datar)
1145 ac_prev=datarootdir ;;
1146 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148 datarootdir=$ac_optarg ;;
1149
1150 -disable-* | --disable-*)
1151 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1155 { (exit 1); exit 1; }; }
1156 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1157 eval enable_$ac_feature=no ;;
1158
1159 -docdir | --docdir | --docdi | --doc | --do)
1160 ac_prev=docdir ;;
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir=$ac_optarg ;;
1163
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1165 ac_prev=dvidir ;;
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir=$ac_optarg ;;
1168
1169 -enable-* | --enable-*)
1170 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1176 eval enable_$ac_feature=\$ac_optarg ;;
1177
1178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1180 | --exec | --exe | --ex)
1181 ac_prev=exec_prefix ;;
1182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1184 | --exec=* | --exe=* | --ex=*)
1185 exec_prefix=$ac_optarg ;;
1186
1187 -gas | --gas | --ga | --g)
1188 # Obsolete; use --with-gas.
1189 with_gas=yes ;;
1190
1191 -help | --help | --hel | --he | -h)
1192 ac_init_help=long ;;
1193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1194 ac_init_help=recursive ;;
1195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1196 ac_init_help=short ;;
1197
1198 -host | --host | --hos | --ho)
1199 ac_prev=host_alias ;;
1200 -host=* | --host=* | --hos=* | --ho=*)
1201 host_alias=$ac_optarg ;;
1202
1203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1204 ac_prev=htmldir ;;
1205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1206 | --ht=*)
1207 htmldir=$ac_optarg ;;
1208
1209 -includedir | --includedir | --includedi | --included | --include \
1210 | --includ | --inclu | --incl | --inc)
1211 ac_prev=includedir ;;
1212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1213 | --includ=* | --inclu=* | --incl=* | --inc=*)
1214 includedir=$ac_optarg ;;
1215
1216 -infodir | --infodir | --infodi | --infod | --info | --inf)
1217 ac_prev=infodir ;;
1218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1219 infodir=$ac_optarg ;;
1220
1221 -libdir | --libdir | --libdi | --libd)
1222 ac_prev=libdir ;;
1223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1224 libdir=$ac_optarg ;;
1225
1226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1227 | --libexe | --libex | --libe)
1228 ac_prev=libexecdir ;;
1229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1230 | --libexe=* | --libex=* | --libe=*)
1231 libexecdir=$ac_optarg ;;
1232
1233 -localedir | --localedir | --localedi | --localed | --locale)
1234 ac_prev=localedir ;;
1235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1236 localedir=$ac_optarg ;;
1237
1238 -localstatedir | --localstatedir | --localstatedi | --localstated \
1239 | --localstate | --localstat | --localsta | --localst | --locals)
1240 ac_prev=localstatedir ;;
1241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1243 localstatedir=$ac_optarg ;;
1244
1245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1246 ac_prev=mandir ;;
1247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1248 mandir=$ac_optarg ;;
1249
1250 -nfp | --nfp | --nf)
1251 # Obsolete; use --without-fp.
1252 with_fp=no ;;
1253
1254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1255 | --no-cr | --no-c | -n)
1256 no_create=yes ;;
1257
1258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1260 no_recursion=yes ;;
1261
1262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1264 | --oldin | --oldi | --old | --ol | --o)
1265 ac_prev=oldincludedir ;;
1266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1269 oldincludedir=$ac_optarg ;;
1270
1271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1272 ac_prev=prefix ;;
1273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1274 prefix=$ac_optarg ;;
1275
1276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1277 | --program-pre | --program-pr | --program-p)
1278 ac_prev=program_prefix ;;
1279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1281 program_prefix=$ac_optarg ;;
1282
1283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1284 | --program-suf | --program-su | --program-s)
1285 ac_prev=program_suffix ;;
1286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1288 program_suffix=$ac_optarg ;;
1289
1290 -program-transform-name | --program-transform-name \
1291 | --program-transform-nam | --program-transform-na \
1292 | --program-transform-n | --program-transform- \
1293 | --program-transform | --program-transfor \
1294 | --program-transfo | --program-transf \
1295 | --program-trans | --program-tran \
1296 | --progr-tra | --program-tr | --program-t)
1297 ac_prev=program_transform_name ;;
1298 -program-transform-name=* | --program-transform-name=* \
1299 | --program-transform-nam=* | --program-transform-na=* \
1300 | --program-transform-n=* | --program-transform-=* \
1301 | --program-transform=* | --program-transfor=* \
1302 | --program-transfo=* | --program-transf=* \
1303 | --program-trans=* | --program-tran=* \
1304 | --progr-tra=* | --program-tr=* | --program-t=*)
1305 program_transform_name=$ac_optarg ;;
1306
1307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1308 ac_prev=pdfdir ;;
1309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1310 pdfdir=$ac_optarg ;;
1311
1312 -psdir | --psdir | --psdi | --psd | --ps)
1313 ac_prev=psdir ;;
1314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1315 psdir=$ac_optarg ;;
1316
1317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1318 | -silent | --silent | --silen | --sile | --sil)
1319 silent=yes ;;
1320
1321 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1322 ac_prev=sbindir ;;
1323 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1324 | --sbi=* | --sb=*)
1325 sbindir=$ac_optarg ;;
1326
1327 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1328 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1329 | --sharedst | --shareds | --shared | --share | --shar \
1330 | --sha | --sh)
1331 ac_prev=sharedstatedir ;;
1332 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1333 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1334 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1335 | --sha=* | --sh=*)
1336 sharedstatedir=$ac_optarg ;;
1337
1338 -site | --site | --sit)
1339 ac_prev=site ;;
1340 -site=* | --site=* | --sit=*)
1341 site=$ac_optarg ;;
1342
1343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1344 ac_prev=srcdir ;;
1345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1346 srcdir=$ac_optarg ;;
1347
1348 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1349 | --syscon | --sysco | --sysc | --sys | --sy)
1350 ac_prev=sysconfdir ;;
1351 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1352 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1353 sysconfdir=$ac_optarg ;;
1354
1355 -target | --target | --targe | --targ | --tar | --ta | --t)
1356 ac_prev=target_alias ;;
1357 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1358 target_alias=$ac_optarg ;;
1359
1360 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1361 verbose=yes ;;
1362
1363 -version | --version | --versio | --versi | --vers | -V)
1364 ac_init_version=: ;;
1365
1366 -with-* | --with-*)
1367 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=\$ac_optarg ;;
1374
1375 -without-* | --without-*)
1376 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=no ;;
1383
1384 --x)
1385 # Obsolete; use --with-x.
1386 with_x=yes ;;
1387
1388 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1389 | --x-incl | --x-inc | --x-in | --x-i)
1390 ac_prev=x_includes ;;
1391 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1392 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1393 x_includes=$ac_optarg ;;
1394
1395 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1396 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1397 ac_prev=x_libraries ;;
1398 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1399 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1400 x_libraries=$ac_optarg ;;
1401
1402 -*) { echo "$as_me: error: unrecognized option: $ac_option
1403 Try \`$0 --help' for more information." >&2
1404 { (exit 1); exit 1; }; }
1405 ;;
1406
1407 *=*)
1408 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1411 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1412 { (exit 1); exit 1; }; }
1413 eval $ac_envvar=\$ac_optarg
1414 export $ac_envvar ;;
1415
1416 *)
1417 # FIXME: should be removed in autoconf 3.0.
1418 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1419 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1420 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1421 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1422 ;;
1423
1424 esac
1425 done
1426
1427 if test -n "$ac_prev"; then
1428 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1429 { echo "$as_me: error: missing argument to $ac_option" >&2
1430 { (exit 1); exit 1; }; }
1431 fi
1432
1433 # Be sure to have absolute directory names.
1434 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1435 datadir sysconfdir sharedstatedir localstatedir includedir \
1436 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1437 libdir localedir mandir
1438 do
1439 eval ac_val=\$$ac_var
1440 case $ac_val in
1441 [\\/$]* | ?:[\\/]* ) continue;;
1442 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1443 esac
1444 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1445 { (exit 1); exit 1; }; }
1446 done
1447
1448 # There might be people who depend on the old broken behavior: `$host'
1449 # used to hold the argument of --host etc.
1450 # FIXME: To remove some day.
1451 build=$build_alias
1452 host=$host_alias
1453 target=$target_alias
1454
1455 # FIXME: To remove some day.
1456 if test "x$host_alias" != x; then
1457 if test "x$build_alias" = x; then
1458 cross_compiling=maybe
1459 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1460 If a cross compiler is detected then cross compile mode will be used." >&2
1461 elif test "x$build_alias" != "x$host_alias"; then
1462 cross_compiling=yes
1463 fi
1464 fi
1465
1466 ac_tool_prefix=
1467 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1468
1469 test "$silent" = yes && exec 6>/dev/null
1470
1471
1472 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1473 ac_ls_di=`ls -di .` &&
1474 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1475 { echo "$as_me: error: Working directory cannot be determined" >&2
1476 { (exit 1); exit 1; }; }
1477 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1478 { echo "$as_me: error: pwd does not report name of working directory" >&2
1479 { (exit 1); exit 1; }; }
1480
1481
1482 # Find the source files, if location was not specified.
1483 if test -z "$srcdir"; then
1484 ac_srcdir_defaulted=yes
1485 # Try the directory containing this script, then the parent directory.
1486 ac_confdir=`$as_dirname -- "$0" ||
1487 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1488 X"$0" : 'X\(//\)[^/]' \| \
1489 X"$0" : 'X\(//\)$' \| \
1490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1491 echo X"$0" |
1492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1493 s//\1/
1494 q
1495 }
1496 /^X\(\/\/\)[^/].*/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)$/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\).*/{
1505 s//\1/
1506 q
1507 }
1508 s/.*/./; q'`
1509 srcdir=$ac_confdir
1510 if test ! -r "$srcdir/$ac_unique_file"; then
1511 srcdir=..
1512 fi
1513 else
1514 ac_srcdir_defaulted=no
1515 fi
1516 if test ! -r "$srcdir/$ac_unique_file"; then
1517 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1518 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1519 { (exit 1); exit 1; }; }
1520 fi
1521 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1522 ac_abs_confdir=`(
1523 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1524 { (exit 1); exit 1; }; }
1525 pwd)`
1526 # When building in place, set srcdir=.
1527 if test "$ac_abs_confdir" = "$ac_pwd"; then
1528 srcdir=.
1529 fi
1530 # Remove unnecessary trailing slashes from srcdir.
1531 # Double slashes in file names in object file debugging info
1532 # mess up M-x gdb in Emacs.
1533 case $srcdir in
1534 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1535 esac
1536 for ac_var in $ac_precious_vars; do
1537 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1538 eval ac_env_${ac_var}_value=\$${ac_var}
1539 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1540 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1541 done
1542
1543 #
1544 # Report the --help message.
1545 #
1546 if test "$ac_init_help" = "long"; then
1547 # Omit some internal or obsolete options to make the list less imposing.
1548 # This message is too long to be a string in the A/UX 3.1 sh.
1549 cat <<_ACEOF
1550 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1551
1552 Usage: $0 [OPTION]... [VAR=VALUE]...
1553
1554 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1555 VAR=VALUE. See below for descriptions of some of the useful variables.
1556
1557 Defaults for the options are specified in brackets.
1558
1559 Configuration:
1560 -h, --help display this help and exit
1561 --help=short display options specific to this package
1562 --help=recursive display the short help of all the included packages
1563 -V, --version display version information and exit
1564 -q, --quiet, --silent do not print \`checking...' messages
1565 --cache-file=FILE cache test results in FILE [disabled]
1566 -C, --config-cache alias for \`--cache-file=config.cache'
1567 -n, --no-create do not create output files
1568 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1569
1570 Installation directories:
1571 --prefix=PREFIX install architecture-independent files in PREFIX
1572 [$ac_default_prefix]
1573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1574 [PREFIX]
1575
1576 By default, \`make install' will install all the files in
1577 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1578 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1579 for instance \`--prefix=\$HOME'.
1580
1581 For better control, use the options below.
1582
1583 Fine tuning of the installation directories:
1584 --bindir=DIR user executables [EPREFIX/bin]
1585 --sbindir=DIR system admin executables [EPREFIX/sbin]
1586 --libexecdir=DIR program executables [EPREFIX/libexec]
1587 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1588 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1589 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1590 --libdir=DIR object code libraries [EPREFIX/lib]
1591 --includedir=DIR C header files [PREFIX/include]
1592 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1593 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1594 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1595 --infodir=DIR info documentation [DATAROOTDIR/info]
1596 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1597 --mandir=DIR man documentation [DATAROOTDIR/man]
1598 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1599 --htmldir=DIR html documentation [DOCDIR]
1600 --dvidir=DIR dvi documentation [DOCDIR]
1601 --pdfdir=DIR pdf documentation [DOCDIR]
1602 --psdir=DIR ps documentation [DOCDIR]
1603 _ACEOF
1604
1605 cat <<\_ACEOF
1606
1607 X features:
1608 --x-includes=DIR X include files are in DIR
1609 --x-libraries=DIR X library files are in DIR
1610
1611 System types:
1612 --build=BUILD configure for building on BUILD [guessed]
1613 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1614 --target=TARGET configure for building compilers for TARGET [HOST]
1615 _ACEOF
1616 fi
1617
1618 if test -n "$ac_init_help"; then
1619 case $ac_init_help in
1620 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1621 esac
1622 cat <<\_ACEOF
1623
1624 Optional Features:
1625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1627 --disable-gui don't build GUI parts of the library
1628 --enable-monolithic build wxWidgets as single library
1629 --enable-plugins build parts of wxWidgets as loadable components
1630 --enable-official_build official build of wxWidgets (win32 DLL only)
1631 --enable-vendor=VENDOR vendor name (win32 DLL only)
1632 --disable-all-features disable all optional features to build minimal library
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --disable-shared create static library instead of shared
1638 --disable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-std_iostreams use standard C++ stream classes
1642 --enable-std_string use standard C++ string classes
1643 --disable-unicode compile without Unicode support
1644 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1645 --enable-utf8 use UTF-8 representation for strings (Unix only)
1646 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1647 --enable-extended_rtti use extended RTTI (XTI)
1648 --enable-omf use OMF object format
1649 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1650 --enable-debug_info create code with debugging information
1651 --enable-debug_gdb create code with extra GDB debugging information
1652 --enable-debug_cntxt use wxDebugContext
1653 --enable-mem_tracing create code with memory tracing
1654 --enable-profile create code with profiling information
1655 --enable-no_rtti create code without RTTI information
1656 --enable-no_exceptions create code without C++ exceptions handling
1657 --enable-permissive compile code disregarding strict ANSI
1658 --enable-no_deps create code without dependency information
1659 --disable-vararg_macros don't use vararg macros, even if they are supported
1660 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1661 --enable-compat26 enable wxWidgets 2.6 compatibility
1662 --disable-compat28 disable wxWidgets 2.8 compatibility
1663 --disable-rpath disable use of rpath for uninstalled builds
1664 --enable-objc_uniquifying enable Objective-C class name uniquifying
1665 --disable-visibility disable use of ELF symbols visibility even if supported
1666 --enable-intl use internationalization system
1667 --enable-config use wxConfig (and derived) classes
1668 --enable-protocols use wxProtocol and derived classes
1669 --enable-ftp use wxFTP (requires wxProtocol
1670 --enable-http use wxHTTP (requires wxProtocol
1671 --enable-fileproto use wxFileProto class (requires wxProtocol
1672 --enable-sockets use socket/network classes
1673 --enable-ipv6 enable IPv6 support in wxSocket
1674 --enable-ole use OLE classes (Win32 only)
1675 --enable-dataobj use data object classes
1676 --enable-ipc use interprocess communication (wxSocket etc.)
1677 --enable-baseevtloop use event loop in console programs too
1678 --enable-epollloop use wxEpollDispatcher class (Linux only)
1679 --enable-selectloop use wxSelectDispatcher class
1680 --enable-apple_ieee use the Apple IEEE codec
1681 --enable-arcstream use wxArchive streams
1682 --enable-base64 use base64 encoding/decoding functions
1683 --enable-backtrace use wxStackWalker class for getting backtraces
1684 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1685 --enable-cmdline use wxCmdLineParser class
1686 --enable-datetime use wxDateTime class
1687 --enable-debugreport use wxDebugReport class
1688 --enable-dialupman use dialup network classes
1689 --enable-dynlib use wxLibrary class for DLL loading
1690 --enable-dynamicloader use (new) wxDynamicLibrary class
1691 --enable-exceptions build exception-safe library
1692 --enable-ffile use wxFFile class
1693 --enable-file use wxFile class
1694 --enable-filesystem use virtual file systems classes
1695 --enable-fontenum use wxFontEnumerator class
1696 --enable-fontmap use font encodings conversion classes
1697 --enable-fs_archive use virtual archive filesystems
1698 --enable-fs_inet use virtual HTTP/FTP filesystems
1699 --enable-fs_zip now replaced by fs_archive
1700 --enable-geometry use geometry class
1701 --enable-log use logging system
1702 --enable-longlong use wxLongLong class
1703 --enable-mimetype use wxMimeTypesManager
1704 --enable-snglinst use wxSingleInstanceChecker class
1705 --enable-stdpaths use wxStandardPaths class
1706 --enable-stopwatch use wxStopWatch class
1707 --enable-streams use wxStream etc classes
1708 --enable-sysoptions use wxSystemOptions
1709 --enable-tarstream use wxTar streams
1710 --enable-textbuf use wxTextBuffer class
1711 --enable-textfile use wxTextFile class
1712 --enable-timer use wxTimer class
1713 --enable-sound use wxSound class
1714 --enable-mediactrl use wxMediaCtrl class
1715 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1716 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1717 --enable-zipstream use wxZip streams
1718 --enable-url use wxURL class
1719 --enable-variant use wxVariant class
1720 --enable-protocol use wxProtocol class
1721 --enable-protocol-http HTTP support in wxProtocol
1722 --enable-protocol-ftp FTP support in wxProtocol
1723 --enable-protocol-file FILE support in wxProtocol
1724 --enable-threads use threads
1725 --enable-iniconf use wxIniConfig (Win32 only)
1726 --enable-regkey use wxRegKey class (Win32 only)
1727 --enable-docview use document view architecture
1728 --enable-help use help subsystem
1729 --enable-mshtmlhelp use MS HTML Help (win32)
1730 --enable-html use wxHTML sub-library
1731 --enable-htmlhelp use wxHTML-based help
1732 --enable-xrc use XRC resources sub-library
1733 --enable-aui use AUI docking library
1734 --enable-stc use wxStyledTextCtrl library
1735 --enable-constraints use layout-constraints system
1736 --enable-printarch use printing architecture
1737 --enable-mdi use multiple document interface architecture
1738 --enable-mdidoc use docview architecture with MDI
1739 --enable-loggui use standard GUI logger
1740 --enable-logwin use wxLogWindow
1741 --enable-logdialog use wxLogDialog
1742 --enable-webkit use wxWebKitCtrl (Mac)
1743 --enable-richtext use wxRichTextCtrl
1744 --enable-graphics_ctx use graphics context 2D drawing API
1745 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1746 --enable-svg use wxSVGFileDC device context
1747 --enable-clipboard use wxClipboard class
1748 --enable-dnd use Drag'n'Drop classes
1749 --enable-metafile use win32 metafiles
1750 --disable-controls disable compilation of all standard controls
1751 --enable-accel use accelerators
1752 --enable-animatectrl use wxAnimationCtrl class
1753 --enable-button use wxButton class
1754 --enable-bmpbutton use wxBitmapButton class
1755 --enable-bmpcombobox use wxBitmapComboBox class
1756 --enable-calendar use wxCalendarCtrl class
1757 --enable-caret use wxCaret class
1758 --enable-checkbox use wxCheckBox class
1759 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1760 --enable-choice use wxChoice class
1761 --enable-choicebook use wxChoicebook class
1762 --enable-collpane use wxCollapsiblePane class
1763 --enable-colourpicker use wxColourPickerCtrl class
1764 --enable-combobox use wxComboBox class
1765 --enable-comboctrl use wxComboCtrl class
1766 --enable-datepick use wxDatePickerCtrl class
1767 --enable-dirpicker use wxDirPickerCtrl class
1768 --enable-display use wxDisplay class
1769 --enable-detect_sm use code to detect X11 session manager
1770 --enable-editablebox use wxEditableListBox class
1771 --enable-filepicker use wxFilePickerCtrl class
1772 --enable-filectrl use wxFileCtrl class
1773 --enable-fontpicker use wxFontPickerCtrl class
1774 --enable-gauge use wxGauge class
1775 --enable-grid use wxGrid class
1776 --enable-dataviewctrl use wxDataViewCtrl class
1777 --enable-hyperlink use wxHyperlinkCtrl class
1778 --enable-imaglist use wxImageList class
1779 --enable-listbook use wxListbook class
1780 --enable-listbox use wxListBox class
1781 --enable-listctrl use wxListCtrl class
1782 --enable-notebook use wxNotebook class
1783 --enable-odcombobox use wxOwnerDrawnComboBox class
1784 --enable-radiobox use wxRadioBox class
1785 --enable-radiobtn use wxRadioButton class
1786 --enable-sash use wxSashWindow class
1787 --enable-scrollbar use wxScrollBar class and scrollable windows
1788 --enable-searchctrl use wxSearchCtrl class
1789 --enable-slider use wxSlider class
1790 --enable-spinbtn use wxSpinButton class
1791 --enable-spinctrl use wxSpinCtrl class
1792 --enable-splitter use wxSplitterWindow class
1793 --enable-statbmp use wxStaticBitmap class
1794 --enable-statbox use wxStaticBox class
1795 --enable-statline use wxStaticLine class
1796 --enable-stattext use wxStaticText class
1797 --enable-statusbar use wxStatusBar class
1798 --enable-tabdialog use wxTabControl class
1799 --enable-taskbaricon use wxTaskBarIcon class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile (Win32 only)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-palette use wxPalette class
1836 --enable-image use wxImage class
1837 --enable-gif use gif images (GIF file format)
1838 --enable-pcx use pcx images (PCX file format)
1839 --enable-tga use tga images (TGA file format)
1840 --enable-iff use iff images (IFF file format)
1841 --enable-pnm use pnm images (PNM file format)
1842 --enable-xpm use xpm images (XPM file format)
1843 --enable-icocur use Windows ICO and CUR formats
1844 --enable-dccache cache temporary wxDC objects (Win32 only)
1845 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1846 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1847 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1848 --enable-wxdib use wxDIB class (Win32 only)
1849 --disable-largefile omit support for large files
1850 --disable-gtktest do not try to compile and run a test GTK+ program
1851 --disable-gtktest Do not try to compile and run a test GTK program
1852 --disable-sdltest Do not try to compile and run a test SDL program
1853 --enable-omf use OMF object format (OS/2)
1854 --disable-dependency-tracking
1855 don't use dependency tracking even if the compiler
1856 can
1857 --disable-precomp-headers
1858 don't use precompiled headers even if compiler can
1859
1860 Optional Packages:
1861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1863 --without-subdirs don't generate makefiles for samples/demos/...
1864 --with-flavour=NAME specify a name to identify this build
1865 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1866 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1867 --with-motif use Motif/Lesstif
1868 --with-mac use Mac OS X
1869 --with-cocoa use Cocoa
1870 --with-wine use Wine
1871 --with-msw use MS-Windows
1872 --with-pm use OS/2 Presentation Manager
1873 --with-mgl use SciTech MGL
1874 --with-directfb use DirectFB
1875 --with-microwin use MicroWindows
1876 --with-x11 use X11
1877 --with-libpng use libpng (PNG image format)
1878 --with-libjpeg use libjpeg (JPEG file format)
1879 --with-libtiff use libtiff (TIFF file format)
1880 --with-libxpm use libxpm (XPM file format)
1881 --with-libmspack use libmspack (CHM help files loading)
1882 --without-gtkprint don't use GTK printing support
1883 --without-gnomeprint don't use GNOME printing libraries
1884 --with-gnomevfs use GNOME VFS for associating MIME types
1885 --with-hildon use Hildon framework for Nokia 770
1886 --with-opengl use OpenGL (or Mesa)
1887 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1888 --with-sdl use SDL for audio on Unix
1889 --with-regex enable support for wxRegEx class
1890 --with-zlib use zlib for LZW compression
1891 --with-expat enable XML support using expat parser
1892 --with-macosx-sdk=PATH use an OS X SDK at PATH
1893 --with-macosx-version-min=VER build binaries which require at least this OS X version
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1902
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1911 CPP C preprocessor
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1915 DIRECTFB_CFLAGS
1916 C compiler flags for DIRECTFB, overriding pkg-config
1917 DIRECTFB_LIBS
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1920 PANGOX_CFLAGS
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1923 PANGOFT2_CFLAGS
1924 C compiler flags for PANGOFT2, overriding pkg-config
1925 PANGOFT2_LIBS
1926 linker flags for PANGOFT2, overriding pkg-config
1927 PANGOXFT_CFLAGS
1928 C compiler flags for PANGOXFT, overriding pkg-config
1929 PANGOXFT_LIBS
1930 linker flags for PANGOXFT, overriding pkg-config
1931 GTKPRINT_CFLAGS
1932 C compiler flags for GTKPRINT, overriding pkg-config
1933 GTKPRINT_LIBS
1934 linker flags for GTKPRINT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 GNOMEVFS_CFLAGS
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1941 GNOMEVFS_LIBS
1942 linker flags for GNOMEVFS, overriding pkg-config
1943 HILDON_CFLAGS
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1946 CAIRO_CFLAGS
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1951
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1954
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1956 _ACEOF
1957 ac_status=$?
1958 fi
1959
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1964 ac_builddir=.
1965
1966 case "$ac_dir" in
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1968 *)
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1975 esac ;;
1976 esac
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1981
1982 case $srcdir in
1983 .) # We are building in place.
1984 ac_srcdir=.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1991 *) # Relative name.
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1995 esac
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1997
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2001 echo &&
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2006 else
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2008 fi || ac_status=$?
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2010 done
2011 fi
2012
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2015 cat <<\_ACEOF
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2018
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2023 _ACEOF
2024 exit
2025 fi
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2029
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2032
2033 $ $0 $@
2034
2035 _ACEOF
2036 exec 5>>config.log
2037 {
2038 cat <<_ASUNAME
2039 ## --------- ##
2040 ## Platform. ##
2041 ## --------- ##
2042
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2048
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2051
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059
2060 _ASUNAME
2061
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2064 do
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2068 done
2069 IFS=$as_save_IFS
2070
2071 } >&5
2072
2073 cat >&5 <<_ACEOF
2074
2075
2076 ## ----------- ##
2077 ## Core tests. ##
2078 ## ----------- ##
2079
2080 _ACEOF
2081
2082
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_configure_args=
2089 ac_configure_args0=
2090 ac_configure_args1=
2091 ac_must_keep_next=false
2092 for ac_pass in 1 2
2093 do
2094 for ac_arg
2095 do
2096 case $ac_arg in
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 continue ;;
2101 *\'*)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 esac
2104 case $ac_pass in
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2106 2)
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2110 else
2111 case $ac_arg in
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 esac
2119 ;;
2120 -* ) ac_must_keep_next=true ;;
2121 esac
2122 fi
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2124 ;;
2125 esac
2126 done
2127 done
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2130
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2138 {
2139 echo
2140
2141 cat <<\_ASBOX
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2145 _ASBOX
2146 echo
2147 # The following way of writing the cache mishandles newlines in values,
2148 (
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in #(
2152 *${as_nl}*)
2153 case $ac_var in #(
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2156 esac
2157 case $ac_var in #(
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2160 esac ;;
2161 esac
2162 done
2163 (set) 2>&1 |
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2166 sed -n \
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2169 ;; #(
2170 *)
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ;;
2173 esac |
2174 sort
2175 )
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2182 _ASBOX
2183 echo
2184 for ac_var in $ac_subst_vars
2185 do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 esac
2190 echo "$ac_var='\''$ac_val'\''"
2191 done | sort
2192 echo
2193
2194 if test -n "$ac_subst_files"; then
2195 cat <<\_ASBOX
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2199 _ASBOX
2200 echo
2201 for ac_var in $ac_subst_files
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 echo "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210 fi
2211
2212 if test -s confdefs.h; then
2213 cat <<\_ASBOX
2214 ## ----------- ##
2215 ## confdefs.h. ##
2216 ## ----------- ##
2217 _ASBOX
2218 echo
2219 cat confdefs.h
2220 echo
2221 fi
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2225 } >&5
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 exit $exit_status
2229 ' 0
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 done
2233 ac_signal=0
2234
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2237
2238 # Predefined preprocessor variables.
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 _ACEOF
2263
2264
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2271 else
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2274 fi
2275 shift
2276 for ac_site_file
2277 do
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2282 . "$ac_site_file"
2283 fi
2284 done
2285
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2292 case $cache_file in
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2295 esac
2296 fi
2297 else
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2300 >$cache_file
2301 fi
2302
2303 # Check that the precious variables saved in the cache have kept the same
2304 # value.
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2312 set,)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,set)
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2320 ,);;
2321 *)
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2330 fi;;
2331 esac
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2334 case $ac_new_val in
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2337 esac
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 esac
2342 fi
2343 done
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2350 fi
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376 ac_ext=c
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2381
2382
2383
2384
2385
2386 ac_aux_dir=
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2391 break
2392 elif test -f "$ac_dir/install.sh"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2395 break
2396 elif test -f "$ac_dir/shtool"; then
2397 ac_aux_dir=$ac_dir
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 break
2400 fi
2401 done
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2406 fi
2407
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2415
2416
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2422
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439
2440 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2444 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2448 esac
2449 build=$ac_cv_build
2450 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_build
2452 shift
2453 build_cpu=$1
2454 build_vendor=$2
2455 shift; shift
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2458 build_os=$*
2459 IFS=$ac_save_IFS
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2461
2462
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2470 else
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475 fi
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2480 case $ac_cv_host in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 host=$ac_cv_host
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_host
2489 shift
2490 host_cpu=$1
2491 host_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 host_os=$*
2496 IFS=$ac_save_IFS
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2507 else
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_target
2526 shift
2527 target_cpu=$1
2528 target_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 target_os=$*
2533 IFS=$ac_save_IFS
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2535
2536
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2541 NONENONEs,x,x, &&
2542 program_prefix=${target_alias}-
2543
2544
2545
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2548 wx_release_number=0
2549 wx_subrelease_number=0
2550
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2554
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2556
2557
2558 wx_top_builddir="`pwd`"
2559
2560
2561
2562
2563 USE_UNIX=1
2564 USE_OS2=0
2565 USE_WIN32=0
2566 USE_DOS=0
2567 USE_BEOS=0
2568 USE_MAC=0
2569
2570 USE_AIX=
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2572 USE_GNU= USE_HPUX=
2573 USE_LINUX=
2574 USE_NETBSD=
2575 USE_OPENBSD=
2576 USE_OSF= USE_SGI=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2578 USE_ULTRIX=
2579 USE_UNIXWARE=
2580
2581 USE_ALPHA=
2582
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2584
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2586
2587 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_GTK=0
2589 DEFAULT_wxUSE_MAC=0
2590 DEFAULT_wxUSE_MGL=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2593 DEFAULT_wxUSE_MSW=0
2594 DEFAULT_wxUSE_PM=0
2595 DEFAULT_wxUSE_X11=0
2596 DEFAULT_wxUSE_DFB=0
2597
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2608
2609 PROGRAM_EXT=
2610 SO_SUFFIX=so
2611 SAMPLES_RPATH_FLAG=
2612 SAMPLES_RPATH_POSTLINK=
2613
2614 DEFAULT_STD_FLAG=yes
2615
2616 case "${host}" in
2617 *-hp-hpux* )
2618 USE_HPUX=1
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2621 SO_SUFFIX=sl
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __HPUX__ 1
2624 _ACEOF
2625
2626
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 ;;
2629 *-*-linux* )
2630 USE_LINUX=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __LINUX__ 1
2633 _ACEOF
2634
2635 TMP=`uname -m`
2636 if test "x$TMP" = "xalpha"; then
2637 USE_ALPHA=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __ALPHA__ 1
2640 _ACEOF
2641
2642 fi
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2644 ;;
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2646 USE_GNU=1
2647 TMP=`uname -m`
2648 if test "x$TMP" = "xalpha"; then
2649 USE_ALPHA=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __ALPHA__ 1
2652 _ACEOF
2653
2654 fi
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2656 ;;
2657 *-*-irix5* | *-*-irix6* )
2658 USE_SGI=1
2659 USE_SVR4=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SGI__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SVR4__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 ;;
2670 *-*-solaris2* )
2671 USE_SUN=1
2672 USE_SOLARIS=1
2673 USE_SVR4=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SVR4__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2688 ;;
2689 *-*-sunos4* )
2690 USE_SUN=1
2691 USE_SUNOS=1
2692 USE_BSD=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUN__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUNOS__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __BSD__ 1
2703 _ACEOF
2704
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2706 ;;
2707 *-*-freebsd*)
2708 USE_BSD=1
2709 USE_FREEBSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __BSD__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2719 ;;
2720 *-*-openbsd*|*-*-mirbsd*)
2721 USE_BSD=1
2722 USE_OPENBSD=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2725 _ACEOF
2726
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __BSD__ 1
2729 _ACEOF
2730
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2732 ;;
2733 *-*-netbsd*)
2734 USE_BSD=1
2735 USE_NETBSD=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2748 ;;
2749 *-*-osf* )
2750 USE_ALPHA=1
2751 USE_OSF=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __ALPHA__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __OSF__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2762 ;;
2763 *-*-dgux5* )
2764 USE_ALPHA=1
2765 USE_SVR4=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __ALPHA__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SVR4__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 ;;
2776 *-*-sysv5* )
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789 *-*-aix* )
2790 USE_AIX=1
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 SO_SUFFIX=a
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __AIX__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SYSV__ 1
2800 _ACEOF
2801
2802 cat >>confdefs.h <<\_ACEOF
2803 #define __SVR4__ 1
2804 _ACEOF
2805
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2807 ;;
2808
2809 *-*-*UnixWare*)
2810 USE_SYSV=1
2811 USE_SVR4=1
2812 USE_UNIXWARE=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2815 _ACEOF
2816
2817 ;;
2818
2819 *-*-cygwin* | *-*-mingw32* )
2820 SO_SUFFIX=dll
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2823 ;;
2824
2825 *-pc-msdosdjgpp )
2826 USE_UNIX=0
2827 USE_DOS=1
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __DOS__ 1
2830 _ACEOF
2831
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2834 ;;
2835
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __EMX__ 1
2839 _ACEOF
2840
2841 USE_OS2=1
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __OS2__ 1
2844 _ACEOF
2845
2846 PROGRAM_EXT=".exe"
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2848 CXX=gcc
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2852 ac_save_IFS="$IFS"
2853 IFS='\\'
2854 ac_TEMP_PATH=
2855 for ac_dir in $PATH; do
2856 IFS=$ac_save_IFS
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2859 else
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2861 fi
2862 done
2863 export PATH="$ac_TEMP_PATH"
2864 unset ac_TEMP_PATH
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-darwin* )
2869 USE_BSD=1
2870 USE_DARWIN=1
2871 SO_SUFFIX=dylib
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BSD__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2882 _ACEOF
2883
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2885 DEFAULT_STD_FLAG=no
2886 ;;
2887 powerpc-apple-macos* )
2888 USE_UNIX=0
2889 ac_cv_c_bigendian=yes
2890 SO_SUFFIX=shlib
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915 DEFAULT_wxUSE_ALL_FEATURES=yes
2916
2917 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2918 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2919
2920 DEFAULT_wxUSE_DMALLOC=no
2921 DEFAULT_wxUSE_LIBGNOMEVFS=no
2922 DEFAULT_wxUSE_LIBHILDON=no
2923 DEFAULT_wxUSE_LIBMSPACK=no
2924 DEFAULT_wxUSE_LIBSDL=no
2925 DEFAULT_wxUSE_OPENGL=no
2926
2927 DEFAULT_wxUSE_ACCESSIBILITY=no
2928 DEFAULT_wxUSE_DATAVIEWCTRL=no
2929 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2930 DEFAULT_wxUSE_IPV6=no
2931 DEFAULT_wxUSE_MEDIACTRL=no
2932 DEFAULT_wxUSE_TAB_DIALOG=no
2933 DEFAULT_wxUSE_GSTREAMER8=no
2934
2935 DEFAULT_wxUSE_UNICODE_UTF8=auto
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2937
2938 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2939
2940 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2941
2942 DEFAULT_wxUSE_GTK2=yes
2943
2944 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2945
2946
2947
2948
2949
2950 enablestring=disable
2951 defaultval=
2952 if test -z "$defaultval"; then
2953 if test x"$enablestring" = xdisable; then
2954 defaultval=yes
2955 else
2956 defaultval=no
2957 fi
2958 fi
2959
2960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2961 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2962 # Check whether --enable-gui was given.
2963 if test "${enable_gui+set}" = set; then
2964 enableval=$enable_gui;
2965 if test "$enableval" = yes; then
2966 wx_cv_use_gui='wxUSE_GUI=yes'
2967 else
2968 wx_cv_use_gui='wxUSE_GUI=no'
2969 fi
2970
2971 else
2972
2973 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2974
2975 fi
2976
2977
2978 eval "$wx_cv_use_gui"
2979
2980 if test x"$enablestring" = xdisable; then
2981 if test $wxUSE_GUI = yes; then
2982 result=no
2983 else
2984 result=yes
2985 fi
2986 else
2987 result=$wxUSE_GUI
2988 fi
2989
2990 { echo "$as_me:$LINENO: result: $result" >&5
2991 echo "${ECHO_T}$result" >&6; }
2992
2993
2994 enablestring=
2995 defaultval=
2996 if test -z "$defaultval"; then
2997 if test x"$enablestring" = xdisable; then
2998 defaultval=yes
2999 else
3000 defaultval=no
3001 fi
3002 fi
3003
3004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3005 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3006 # Check whether --enable-monolithic was given.
3007 if test "${enable_monolithic+set}" = set; then
3008 enableval=$enable_monolithic;
3009 if test "$enableval" = yes; then
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3011 else
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3013 fi
3014
3015 else
3016
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3018
3019 fi
3020
3021
3022 eval "$wx_cv_use_monolithic"
3023
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_MONOLITHIC = yes; then
3026 result=no
3027 else
3028 result=yes
3029 fi
3030 else
3031 result=$wxUSE_MONOLITHIC
3032 fi
3033
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3036
3037
3038 enablestring=
3039 defaultval=
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3042 defaultval=yes
3043 else
3044 defaultval=no
3045 fi
3046 fi
3047
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3050 # Check whether --enable-plugins was given.
3051 if test "${enable_plugins+set}" = set; then
3052 enableval=$enable_plugins;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3055 else
3056 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3057 fi
3058
3059 else
3060
3061 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3062
3063 fi
3064
3065
3066 eval "$wx_cv_use_plugins"
3067
3068 if test x"$enablestring" = xdisable; then
3069 if test $wxUSE_PLUGINS = yes; then
3070 result=no
3071 else
3072 result=yes
3073 fi
3074 else
3075 result=$wxUSE_PLUGINS
3076 fi
3077
3078 { echo "$as_me:$LINENO: result: $result" >&5
3079 echo "${ECHO_T}$result" >&6; }
3080
3081
3082 withstring=without
3083 defaultval=$wxUSE_ALL_FEATURES
3084 if test -z "$defaultval"; then
3085 if test x"$withstring" = xwithout; then
3086 defaultval=yes
3087 else
3088 defaultval=no
3089 fi
3090 fi
3091 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3093
3094 # Check whether --with-subdirs was given.
3095 if test "${with_subdirs+set}" = set; then
3096 withval=$with_subdirs;
3097 if test "$withval" = yes; then
3098 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3099 else
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3101 fi
3102
3103 else
3104
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3106
3107 fi
3108
3109
3110 eval "$wx_cv_use_subdirs"
3111
3112 if test x"$withstring" = xwithout; then
3113 if test $wxWITH_SUBDIRS = yes; then
3114 result=no
3115 else
3116 result=yes
3117 fi
3118 else
3119 result=$wxWITH_SUBDIRS
3120 fi
3121
3122 { echo "$as_me:$LINENO: result: $result" >&5
3123 echo "${ECHO_T}$result" >&6; }
3124
3125
3126 # Check whether --with-flavour was given.
3127 if test "${with_flavour+set}" = set; then
3128 withval=$with_flavour; WX_FLAVOUR="$withval"
3129 fi
3130
3131
3132 enablestring=
3133 defaultval=
3134 if test -z "$defaultval"; then
3135 if test x"$enablestring" = xdisable; then
3136 defaultval=yes
3137 else
3138 defaultval=no
3139 fi
3140 fi
3141
3142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3143 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3144 # Check whether --enable-official_build was given.
3145 if test "${enable_official_build+set}" = set; then
3146 enableval=$enable_official_build;
3147 if test "$enableval" = yes; then
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3149 else
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3151 fi
3152
3153 else
3154
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3156
3157 fi
3158
3159
3160 eval "$wx_cv_use_official_build"
3161
3162 if test x"$enablestring" = xdisable; then
3163 if test $wxUSE_OFFICIAL_BUILD = yes; then
3164 result=no
3165 else
3166 result=yes
3167 fi
3168 else
3169 result=$wxUSE_OFFICIAL_BUILD
3170 fi
3171
3172 { echo "$as_me:$LINENO: result: $result" >&5
3173 echo "${ECHO_T}$result" >&6; }
3174
3175 # Check whether --enable-vendor was given.
3176 if test "${enable_vendor+set}" = set; then
3177 enableval=$enable_vendor; VENDOR="$enableval"
3178 fi
3179
3180 if test "x$VENDOR" = "x"; then
3181 VENDOR="custom"
3182 fi
3183
3184
3185 enablestring=disable
3186 defaultval=
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3189 defaultval=yes
3190 else
3191 defaultval=no
3192 fi
3193 fi
3194
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3197 # Check whether --enable-all-features was given.
3198 if test "${enable_all_features+set}" = set; then
3199 enableval=$enable_all_features;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3202 else
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3204 fi
3205
3206 else
3207
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$wx_cv_use_all_features"
3214
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_ALL_FEATURES = yes; then
3217 result=no
3218 else
3219 result=yes
3220 fi
3221 else
3222 result=$wxUSE_ALL_FEATURES
3223 fi
3224
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3227
3228
3229
3230 if test "$wxUSE_GUI" = "yes"; then
3231
3232
3233 enablestring=
3234 defaultval=
3235 if test -z "$defaultval"; then
3236 if test x"$enablestring" = xdisable; then
3237 defaultval=yes
3238 else
3239 defaultval=no
3240 fi
3241 fi
3242
3243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3244 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3245 # Check whether --enable-universal was given.
3246 if test "${enable_universal+set}" = set; then
3247 enableval=$enable_universal;
3248 if test "$enableval" = yes; then
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3250 else
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3252 fi
3253
3254 else
3255
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3257
3258 fi
3259
3260
3261 eval "$wx_cv_use_universal"
3262
3263 if test x"$enablestring" = xdisable; then
3264 if test $wxUSE_UNIVERSAL = yes; then
3265 result=no
3266 else
3267 result=yes
3268 fi
3269 else
3270 result=$wxUSE_UNIVERSAL
3271 fi
3272
3273 { echo "$as_me:$LINENO: result: $result" >&5
3274 echo "${ECHO_T}$result" >&6; }
3275
3276 if test "$wxUSE_UNIVERSAL" = "yes"; then
3277
3278 # Check whether --with-themes was given.
3279 if test "${with_themes+set}" = set; then
3280 withval=$with_themes; wxUNIV_THEMES="$withval"
3281 fi
3282
3283 fi
3284
3285
3286 # Check whether --with-gtk was given.
3287 if test "${with_gtk+set}" = set; then
3288 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 fi
3290
3291
3292 # Check whether --with-motif was given.
3293 if test "${with_motif+set}" = set; then
3294 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-mac was given.
3299 if test "${with_mac+set}" = set; then
3300 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-cocoa was given.
3305 if test "${with_cocoa+set}" = set; then
3306 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-wine was given.
3311 if test "${with_wine+set}" = set; then
3312 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3313 fi
3314
3315
3316 # Check whether --with-msw was given.
3317 if test "${with_msw+set}" = set; then
3318 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-pm was given.
3323 if test "${with_pm+set}" = set; then
3324 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-mgl was given.
3329 if test "${with_mgl+set}" = set; then
3330 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-directfb was given.
3335 if test "${with_directfb+set}" = set; then
3336 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-microwin was given.
3341 if test "${with_microwin+set}" = set; then
3342 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-x11 was given.
3347 if test "${with_x11+set}" = set; then
3348 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 enablestring=
3353 defaultval=
3354 if test -z "$defaultval"; then
3355 if test x"$enablestring" = xdisable; then
3356 defaultval=yes
3357 else
3358 defaultval=no
3359 fi
3360 fi
3361
3362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3363 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3364 # Check whether --enable-nanox was given.
3365 if test "${enable_nanox+set}" = set; then
3366 enableval=$enable_nanox;
3367 if test "$enableval" = yes; then
3368 wx_cv_use_nanox='wxUSE_NANOX=yes'
3369 else
3370 wx_cv_use_nanox='wxUSE_NANOX=no'
3371 fi
3372
3373 else
3374
3375 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3376
3377 fi
3378
3379
3380 eval "$wx_cv_use_nanox"
3381
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_NANOX = yes; then
3384 result=no
3385 else
3386 result=yes
3387 fi
3388 else
3389 result=$wxUSE_NANOX
3390 fi
3391
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3394
3395
3396 # Check whether --enable-gtk2 was given.
3397 if test "${enable_gtk2+set}" = set; then
3398 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
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}-gpe" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3414 # Check whether --enable-gpe was given.
3415 if test "${enable_gpe+set}" = set; then
3416 enableval=$enable_gpe;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_gpe='wxUSE_GPE=yes'
3419 else
3420 wx_cv_use_gpe='wxUSE_GPE=no'
3421 fi
3422
3423 else
3424
3425 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3426
3427 fi
3428
3429
3430 eval "$wx_cv_use_gpe"
3431
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_GPE = yes; then
3434 result=no
3435 else
3436 result=yes
3437 fi
3438 else
3439 result=$wxUSE_GPE
3440 fi
3441
3442 { echo "$as_me:$LINENO: result: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3444
3445
3446
3447
3448 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3449 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3450
3451 # Check whether --with-libpng was given.
3452 if test "${with_libpng+set}" = set; then
3453 withval=$with_libpng;
3454 if test "$withval" = yes; then
3455 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3456 elif test "$withval" = no; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3458 elif test "$withval" = sys; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3460 elif test "$withval" = builtin; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3462 else
3463 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3464 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3465 { (exit 1); exit 1; }; }
3466 fi
3467
3468 else
3469
3470 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3471
3472 fi
3473
3474
3475 eval "$wx_cv_use_libpng"
3476
3477 if test "$wxUSE_LIBPNG" = yes; then
3478 { echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6; }
3480 elif test "$wxUSE_LIBPNG" = no; then
3481 { echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6; }
3483 elif test "$wxUSE_LIBPNG" = sys; then
3484 { echo "$as_me:$LINENO: result: system version" >&5
3485 echo "${ECHO_T}system version" >&6; }
3486 elif test "$wxUSE_LIBPNG" = builtin; then
3487 { echo "$as_me:$LINENO: result: builtin version" >&5
3488 echo "${ECHO_T}builtin version" >&6; }
3489 else
3490 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3491 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3492 { (exit 1); exit 1; }; }
3493 fi
3494
3495
3496 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3497 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3498
3499 # Check whether --with-libjpeg was given.
3500 if test "${with_libjpeg+set}" = set; then
3501 withval=$with_libjpeg;
3502 if test "$withval" = yes; then
3503 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3504 elif test "$withval" = no; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3506 elif test "$withval" = sys; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3508 elif test "$withval" = builtin; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3510 else
3511 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3512 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3513 { (exit 1); exit 1; }; }
3514 fi
3515
3516 else
3517
3518 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3519
3520 fi
3521
3522
3523 eval "$wx_cv_use_libjpeg"
3524
3525 if test "$wxUSE_LIBJPEG" = yes; then
3526 { echo "$as_me:$LINENO: result: yes" >&5
3527 echo "${ECHO_T}yes" >&6; }
3528 elif test "$wxUSE_LIBJPEG" = no; then
3529 { echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6; }
3531 elif test "$wxUSE_LIBJPEG" = sys; then
3532 { echo "$as_me:$LINENO: result: system version" >&5
3533 echo "${ECHO_T}system version" >&6; }
3534 elif test "$wxUSE_LIBJPEG" = builtin; then
3535 { echo "$as_me:$LINENO: result: builtin version" >&5
3536 echo "${ECHO_T}builtin version" >&6; }
3537 else
3538 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3539 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3540 { (exit 1); exit 1; }; }
3541 fi
3542
3543
3544 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3545 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3546
3547 # Check whether --with-libtiff was given.
3548 if test "${with_libtiff+set}" = set; then
3549 withval=$with_libtiff;
3550 if test "$withval" = yes; then
3551 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3552 elif test "$withval" = no; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3554 elif test "$withval" = sys; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3556 elif test "$withval" = builtin; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3558 else
3559 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3560 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3561 { (exit 1); exit 1; }; }
3562 fi
3563
3564 else
3565
3566 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3567
3568 fi
3569
3570
3571 eval "$wx_cv_use_libtiff"
3572
3573 if test "$wxUSE_LIBTIFF" = yes; then
3574 { echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6; }
3576 elif test "$wxUSE_LIBTIFF" = no; then
3577 { echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6; }
3579 elif test "$wxUSE_LIBTIFF" = sys; then
3580 { echo "$as_me:$LINENO: result: system version" >&5
3581 echo "${ECHO_T}system version" >&6; }
3582 elif test "$wxUSE_LIBTIFF" = builtin; then
3583 { echo "$as_me:$LINENO: result: builtin version" >&5
3584 echo "${ECHO_T}builtin version" >&6; }
3585 else
3586 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3587 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3588 { (exit 1); exit 1; }; }
3589 fi
3590
3591
3592 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3593 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3594
3595 # Check whether --with-libxpm was given.
3596 if test "${with_libxpm+set}" = set; then
3597 withval=$with_libxpm;
3598 if test "$withval" = yes; then
3599 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3600 elif test "$withval" = no; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3602 elif test "$withval" = sys; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3604 elif test "$withval" = builtin; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612 else
3613
3614 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3615
3616 fi
3617
3618
3619 eval "$wx_cv_use_libxpm"
3620
3621 if test "$wxUSE_LIBXPM" = yes; then
3622 { echo "$as_me:$LINENO: result: yes" >&5
3623 echo "${ECHO_T}yes" >&6; }
3624 elif test "$wxUSE_LIBXPM" = no; then
3625 { echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6; }
3627 elif test "$wxUSE_LIBXPM" = sys; then
3628 { echo "$as_me:$LINENO: result: system version" >&5
3629 echo "${ECHO_T}system version" >&6; }
3630 elif test "$wxUSE_LIBXPM" = builtin; then
3631 { echo "$as_me:$LINENO: result: builtin version" >&5
3632 echo "${ECHO_T}builtin version" >&6; }
3633 else
3634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3635 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3636 { (exit 1); exit 1; }; }
3637 fi
3638
3639
3640 withstring=
3641 defaultval=$wxUSE_ALL_FEATURES
3642 if test -z "$defaultval"; then
3643 if test x"$withstring" = xwithout; then
3644 defaultval=yes
3645 else
3646 defaultval=no
3647 fi
3648 fi
3649 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3650 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3651
3652 # Check whether --with-libmspack was given.
3653 if test "${with_libmspack+set}" = set; then
3654 withval=$with_libmspack;
3655 if test "$withval" = yes; then
3656 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3657 else
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3659 fi
3660
3661 else
3662
3663 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libmspack"
3669
3670 if test x"$withstring" = xwithout; then
3671 if test $wxUSE_LIBMSPACK = yes; then
3672 result=no
3673 else
3674 result=yes
3675 fi
3676 else
3677 result=$wxUSE_LIBMSPACK
3678 fi
3679
3680 { echo "$as_me:$LINENO: result: $result" >&5
3681 echo "${ECHO_T}$result" >&6; }
3682
3683
3684 withstring=without
3685 defaultval=$wxUSE_ALL_FEATURES
3686 if test -z "$defaultval"; then
3687 if test x"$withstring" = xwithout; then
3688 defaultval=yes
3689 else
3690 defaultval=no
3691 fi
3692 fi
3693 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3694 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3695
3696 # Check whether --with-gtkprint was given.
3697 if test "${with_gtkprint+set}" = set; then
3698 withval=$with_gtkprint;
3699 if test "$withval" = yes; then
3700 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3701 else
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3703 fi
3704
3705 else
3706
3707 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3708
3709 fi
3710
3711
3712 eval "$wx_cv_use_gtkprint"
3713
3714 if test x"$withstring" = xwithout; then
3715 if test $wxUSE_GTKPRINT = yes; then
3716 result=no
3717 else
3718 result=yes
3719 fi
3720 else
3721 result=$wxUSE_GTKPRINT
3722 fi
3723
3724 { echo "$as_me:$LINENO: result: $result" >&5
3725 echo "${ECHO_T}$result" >&6; }
3726
3727
3728 withstring=without
3729 defaultval=$wxUSE_ALL_FEATURES
3730 if test -z "$defaultval"; then
3731 if test x"$withstring" = xwithout; then
3732 defaultval=yes
3733 else
3734 defaultval=no
3735 fi
3736 fi
3737 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3738 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3739
3740 # Check whether --with-gnomeprint was given.
3741 if test "${with_gnomeprint+set}" = set; then
3742 withval=$with_gnomeprint;
3743 if test "$withval" = yes; then
3744 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3745 else
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3747 fi
3748
3749 else
3750
3751 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3752
3753 fi
3754
3755
3756 eval "$wx_cv_use_gnomeprint"
3757
3758 if test x"$withstring" = xwithout; then
3759 if test $wxUSE_LIBGNOMEPRINT = yes; then
3760 result=no
3761 else
3762 result=yes
3763 fi
3764 else
3765 result=$wxUSE_LIBGNOMEPRINT
3766 fi
3767
3768 { echo "$as_me:$LINENO: result: $result" >&5
3769 echo "${ECHO_T}$result" >&6; }
3770
3771
3772 withstring=
3773 defaultval=$wxUSE_ALL_FEATURES
3774 if test -z "$defaultval"; then
3775 if test x"$withstring" = xwithout; then
3776 defaultval=yes
3777 else
3778 defaultval=no
3779 fi
3780 fi
3781 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3782 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3783
3784 # Check whether --with-gnomevfs was given.
3785 if test "${with_gnomevfs+set}" = set; then
3786 withval=$with_gnomevfs;
3787 if test "$withval" = yes; then
3788 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3789 else
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3791 fi
3792
3793 else
3794
3795 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3796
3797 fi
3798
3799
3800 eval "$wx_cv_use_gnomevfs"
3801
3802 if test x"$withstring" = xwithout; then
3803 if test $wxUSE_LIBGNOMEVFS = yes; then
3804 result=no
3805 else
3806 result=yes
3807 fi
3808 else
3809 result=$wxUSE_LIBGNOMEVFS
3810 fi
3811
3812 { echo "$as_me:$LINENO: result: $result" >&5
3813 echo "${ECHO_T}$result" >&6; }
3814
3815
3816 withstring=
3817 defaultval=$wxUSE_ALL_FEATURES
3818 if test -z "$defaultval"; then
3819 if test x"$withstring" = xwithout; then
3820 defaultval=yes
3821 else
3822 defaultval=no
3823 fi
3824 fi
3825 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3826 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3827
3828 # Check whether --with-hildon was given.
3829 if test "${with_hildon+set}" = set; then
3830 withval=$with_hildon;
3831 if test "$withval" = yes; then
3832 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3833 else
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3835 fi
3836
3837 else
3838
3839 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3840
3841 fi
3842
3843
3844 eval "$wx_cv_use_hildon"
3845
3846 if test x"$withstring" = xwithout; then
3847 if test $wxUSE_LIBHILDON = yes; then
3848 result=no
3849 else
3850 result=yes
3851 fi
3852 else
3853 result=$wxUSE_LIBHILDON
3854 fi
3855
3856 { echo "$as_me:$LINENO: result: $result" >&5
3857 echo "${ECHO_T}$result" >&6; }
3858
3859
3860 withstring=
3861 defaultval=$wxUSE_ALL_FEATURES
3862 if test -z "$defaultval"; then
3863 if test x"$withstring" = xwithout; then
3864 defaultval=yes
3865 else
3866 defaultval=no
3867 fi
3868 fi
3869 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3870 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3871
3872 # Check whether --with-opengl was given.
3873 if test "${with_opengl+set}" = set; then
3874 withval=$with_opengl;
3875 if test "$withval" = yes; then
3876 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3877 else
3878 wx_cv_use_opengl='wxUSE_OPENGL=no'
3879 fi
3880
3881 else
3882
3883 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3884
3885 fi
3886
3887
3888 eval "$wx_cv_use_opengl"
3889
3890 if test x"$withstring" = xwithout; then
3891 if test $wxUSE_OPENGL = yes; then
3892 result=no
3893 else
3894 result=yes
3895 fi
3896 else
3897 result=$wxUSE_OPENGL
3898 fi
3899
3900 { echo "$as_me:$LINENO: result: $result" >&5
3901 echo "${ECHO_T}$result" >&6; }
3902
3903
3904 fi
3905
3906
3907 withstring=
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3911 defaultval=yes
3912 else
3913 defaultval=no
3914 fi
3915 fi
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3918
3919 # Check whether --with-dmalloc was given.
3920 if test "${with_dmalloc+set}" = set; then
3921 withval=$with_dmalloc;
3922 if test "$withval" = yes; then
3923 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3924 else
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3926 fi
3927
3928 else
3929
3930 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3931
3932 fi
3933
3934
3935 eval "$wx_cv_use_dmalloc"
3936
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_DMALLOC = yes; then
3939 result=no
3940 else
3941 result=yes
3942 fi
3943 else
3944 result=$wxUSE_DMALLOC
3945 fi
3946
3947 { echo "$as_me:$LINENO: result: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3949
3950
3951 withstring=
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3955 defaultval=yes
3956 else
3957 defaultval=no
3958 fi
3959 fi
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3962
3963 # Check whether --with-sdl was given.
3964 if test "${with_sdl+set}" = set; then
3965 withval=$with_sdl;
3966 if test "$withval" = yes; then
3967 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3968 else
3969 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3970 fi
3971
3972 else
3973
3974 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3975
3976 fi
3977
3978
3979 eval "$wx_cv_use_sdl"
3980
3981 if test x"$withstring" = xwithout; then
3982 if test $wxUSE_LIBSDL = yes; then
3983 result=no
3984 else
3985 result=yes
3986 fi
3987 else
3988 result=$wxUSE_LIBSDL
3989 fi
3990
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3993
3994
3995 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3996 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3997
3998 # Check whether --with-regex was given.
3999 if test "${with_regex+set}" = set; then
4000 withval=$with_regex;
4001 if test "$withval" = yes; then
4002 wx_cv_use_regex='wxUSE_REGEX=yes'
4003 elif test "$withval" = no; then
4004 wx_cv_use_regex='wxUSE_REGEX=no'
4005 elif test "$withval" = sys; then
4006 wx_cv_use_regex='wxUSE_REGEX=sys'
4007 elif test "$withval" = builtin; then
4008 wx_cv_use_regex='wxUSE_REGEX=builtin'
4009 else
4010 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4011 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4012 { (exit 1); exit 1; }; }
4013 fi
4014
4015 else
4016
4017 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4018
4019 fi
4020
4021
4022 eval "$wx_cv_use_regex"
4023
4024 if test "$wxUSE_REGEX" = yes; then
4025 { echo "$as_me:$LINENO: result: yes" >&5
4026 echo "${ECHO_T}yes" >&6; }
4027 elif test "$wxUSE_REGEX" = no; then
4028 { echo "$as_me:$LINENO: result: no" >&5
4029 echo "${ECHO_T}no" >&6; }
4030 elif test "$wxUSE_REGEX" = sys; then
4031 { echo "$as_me:$LINENO: result: system version" >&5
4032 echo "${ECHO_T}system version" >&6; }
4033 elif test "$wxUSE_REGEX" = builtin; then
4034 { echo "$as_me:$LINENO: result: builtin version" >&5
4035 echo "${ECHO_T}builtin version" >&6; }
4036 else
4037 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4038 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4039 { (exit 1); exit 1; }; }
4040 fi
4041
4042
4043 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4044 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4045
4046 # Check whether --with-zlib was given.
4047 if test "${with_zlib+set}" = set; then
4048 withval=$with_zlib;
4049 if test "$withval" = yes; then
4050 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4051 elif test "$withval" = no; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=no'
4053 elif test "$withval" = sys; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4055 elif test "$withval" = builtin; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4057 else
4058 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4059 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4060 { (exit 1); exit 1; }; }
4061 fi
4062
4063 else
4064
4065 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4066
4067 fi
4068
4069
4070 eval "$wx_cv_use_zlib"
4071
4072 if test "$wxUSE_ZLIB" = yes; then
4073 { echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6; }
4075 elif test "$wxUSE_ZLIB" = no; then
4076 { echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6; }
4078 elif test "$wxUSE_ZLIB" = sys; then
4079 { echo "$as_me:$LINENO: result: system version" >&5
4080 echo "${ECHO_T}system version" >&6; }
4081 elif test "$wxUSE_ZLIB" = builtin; then
4082 { echo "$as_me:$LINENO: result: builtin version" >&5
4083 echo "${ECHO_T}builtin version" >&6; }
4084 else
4085 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4086 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4087 { (exit 1); exit 1; }; }
4088 fi
4089
4090
4091 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4092 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4093
4094 # Check whether --with-expat was given.
4095 if test "${with_expat+set}" = set; then
4096 withval=$with_expat;
4097 if test "$withval" = yes; then
4098 wx_cv_use_expat='wxUSE_EXPAT=yes'
4099 elif test "$withval" = no; then
4100 wx_cv_use_expat='wxUSE_EXPAT=no'
4101 elif test "$withval" = sys; then
4102 wx_cv_use_expat='wxUSE_EXPAT=sys'
4103 elif test "$withval" = builtin; then
4104 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4105 else
4106 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4107 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4108 { (exit 1); exit 1; }; }
4109 fi
4110
4111 else
4112
4113 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4114
4115 fi
4116
4117
4118 eval "$wx_cv_use_expat"
4119
4120 if test "$wxUSE_EXPAT" = yes; then
4121 { echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6; }
4123 elif test "$wxUSE_EXPAT" = no; then
4124 { echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6; }
4126 elif test "$wxUSE_EXPAT" = sys; then
4127 { echo "$as_me:$LINENO: result: system version" >&5
4128 echo "${ECHO_T}system version" >&6; }
4129 elif test "$wxUSE_EXPAT" = builtin; then
4130 { echo "$as_me:$LINENO: result: builtin version" >&5
4131 echo "${ECHO_T}builtin version" >&6; }
4132 else
4133 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4134 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4135 { (exit 1); exit 1; }; }
4136 fi
4137
4138
4139 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4140 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4141
4142 # Check whether --with-macosx-sdk was given.
4143 if test "${with_macosx_sdk+set}" = set; then
4144 withval=$with_macosx_sdk;
4145 wxUSE_MACOSX_SDK=$withval
4146 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4147
4148 fi
4149
4150 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4151 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4152
4153 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4154 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4155
4156 # Check whether --with-macosx-version-min was given.
4157 if test "${with_macosx_version_min+set}" = set; then
4158 withval=$with_macosx_version_min;
4159 wxUSE_MACOSX_VERSION_MIN=$withval
4160 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4161
4162 fi
4163
4164 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4165 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4166
4167
4168
4169 enablestring=disable
4170 defaultval=
4171 if test -z "$defaultval"; then
4172 if test x"$enablestring" = xdisable; then
4173 defaultval=yes
4174 else
4175 defaultval=no
4176 fi
4177 fi
4178
4179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4181 # Check whether --enable-shared was given.
4182 if test "${enable_shared+set}" = set; then
4183 enableval=$enable_shared;
4184 if test "$enableval" = yes; then
4185 wx_cv_use_shared='wxUSE_SHARED=yes'
4186 else
4187 wx_cv_use_shared='wxUSE_SHARED=no'
4188 fi
4189
4190 else
4191
4192 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_shared"
4198
4199 if test x"$enablestring" = xdisable; then
4200 if test $wxUSE_SHARED = yes; then
4201 result=no
4202 else
4203 result=yes
4204 fi
4205 else
4206 result=$wxUSE_SHARED
4207 fi
4208
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4211
4212
4213 enablestring=disable
4214 defaultval=
4215 if test -z "$defaultval"; then
4216 if test x"$enablestring" = xdisable; then
4217 defaultval=yes
4218 else
4219 defaultval=no
4220 fi
4221 fi
4222
4223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4225 # Check whether --enable-optimise was given.
4226 if test "${enable_optimise+set}" = set; then
4227 enableval=$enable_optimise;
4228 if test "$enableval" = yes; then
4229 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4230 else
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4232 fi
4233
4234 else
4235
4236 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_optimise"
4242
4243 if test x"$enablestring" = xdisable; then
4244 if test $wxUSE_OPTIMISE = yes; then
4245 result=no
4246 else
4247 result=yes
4248 fi
4249 else
4250 result=$wxUSE_OPTIMISE
4251 fi
4252
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4255
4256
4257 enablestring=
4258 defaultval=
4259 if test -z "$defaultval"; then
4260 if test x"$enablestring" = xdisable; then
4261 defaultval=yes
4262 else
4263 defaultval=no
4264 fi
4265 fi
4266
4267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4269 # Check whether --enable-debug was given.
4270 if test "${enable_debug+set}" = set; then
4271 enableval=$enable_debug;
4272 if test "$enableval" = yes; then
4273 wx_cv_use_debug='wxUSE_DEBUG=yes'
4274 else
4275 wx_cv_use_debug='wxUSE_DEBUG=no'
4276 fi
4277
4278 else
4279
4280 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4281
4282 fi
4283
4284
4285 eval "$wx_cv_use_debug"
4286
4287 if test x"$enablestring" = xdisable; then
4288 if test $wxUSE_DEBUG = yes; then
4289 result=no
4290 else
4291 result=yes
4292 fi
4293 else
4294 result=$wxUSE_DEBUG
4295 fi
4296
4297 { echo "$as_me:$LINENO: result: $result" >&5
4298 echo "${ECHO_T}$result" >&6; }
4299
4300
4301 enablestring=
4302 defaultval=
4303 if test -z "$defaultval"; then
4304 if test x"$enablestring" = xdisable; then
4305 defaultval=yes
4306 else
4307 defaultval=no
4308 fi
4309 fi
4310
4311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4313 # Check whether --enable-stl was given.
4314 if test "${enable_stl+set}" = set; then
4315 enableval=$enable_stl;
4316 if test "$enableval" = yes; then
4317 wx_cv_use_stl='wxUSE_STL=yes'
4318 else
4319 wx_cv_use_stl='wxUSE_STL=no'
4320 fi
4321
4322 else
4323
4324 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4325
4326 fi
4327
4328
4329 eval "$wx_cv_use_stl"
4330
4331 if test x"$enablestring" = xdisable; then
4332 if test $wxUSE_STL = yes; then
4333 result=no
4334 else
4335 result=yes
4336 fi
4337 else
4338 result=$wxUSE_STL
4339 fi
4340
4341 { echo "$as_me:$LINENO: result: $result" >&5
4342 echo "${ECHO_T}$result" >&6; }
4343
4344
4345 enablestring=
4346 defaultval=
4347 if test -z "$defaultval"; then
4348 if test x"$enablestring" = xdisable; then
4349 defaultval=yes
4350 else
4351 defaultval=no
4352 fi
4353 fi
4354
4355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4356 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4357 # Check whether --enable-std_iostreams was given.
4358 if test "${enable_std_iostreams+set}" = set; then
4359 enableval=$enable_std_iostreams;
4360 if test "$enableval" = yes; then
4361 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4362 else
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4364 fi
4365
4366 else
4367
4368 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4369
4370 fi
4371
4372
4373 eval "$wx_cv_use_std_iostreams"
4374
4375 if test x"$enablestring" = xdisable; then
4376 if test $wxUSE_STD_IOSTREAM = yes; then
4377 result=no
4378 else
4379 result=yes
4380 fi
4381 else
4382 result=$wxUSE_STD_IOSTREAM
4383 fi
4384
4385 { echo "$as_me:$LINENO: result: $result" >&5
4386 echo "${ECHO_T}$result" >&6; }
4387
4388
4389 enablestring=
4390 defaultval=
4391 if test -z "$defaultval"; then
4392 if test x"$enablestring" = xdisable; then
4393 defaultval=yes
4394 else
4395 defaultval=no
4396 fi
4397 fi
4398
4399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4400 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4401 # Check whether --enable-std_string was given.
4402 if test "${enable_std_string+set}" = set; then
4403 enableval=$enable_std_string;
4404 if test "$enableval" = yes; then
4405 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4406 else
4407 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4408 fi
4409
4410 else
4411
4412 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4413
4414 fi
4415
4416
4417 eval "$wx_cv_use_std_string"
4418
4419 if test x"$enablestring" = xdisable; then
4420 if test $wxUSE_STD_STRING = yes; then
4421 result=no
4422 else
4423 result=yes
4424 fi
4425 else
4426 result=$wxUSE_STD_STRING
4427 fi
4428
4429 { echo "$as_me:$LINENO: result: $result" >&5
4430 echo "${ECHO_T}$result" >&6; }
4431
4432
4433 enablestring=disable
4434 defaultval=
4435 if test -z "$defaultval"; then
4436 if test x"$enablestring" = xdisable; then
4437 defaultval=yes
4438 else
4439 defaultval=no
4440 fi
4441 fi
4442
4443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4445 # Check whether --enable-unicode was given.
4446 if test "${enable_unicode+set}" = set; then
4447 enableval=$enable_unicode;
4448 if test "$enableval" = yes; then
4449 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4450 else
4451 wx_cv_use_unicode='wxUSE_UNICODE=no'
4452 fi
4453
4454 else
4455
4456 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4457
4458 fi
4459
4460
4461 eval "$wx_cv_use_unicode"
4462
4463 if test x"$enablestring" = xdisable; then
4464 if test $wxUSE_UNICODE = yes; then
4465 result=no
4466 else
4467 result=yes
4468 fi
4469 else
4470 result=$wxUSE_UNICODE
4471 fi
4472
4473 { echo "$as_me:$LINENO: result: $result" >&5
4474 echo "${ECHO_T}$result" >&6; }
4475
4476
4477 enablestring=
4478 defaultval=
4479 if test -z "$defaultval"; then
4480 if test x"$enablestring" = xdisable; then
4481 defaultval=yes
4482 else
4483 defaultval=no
4484 fi
4485 fi
4486
4487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4489 # Check whether --enable-mslu was given.
4490 if test "${enable_mslu+set}" = set; then
4491 enableval=$enable_mslu;
4492 if test "$enableval" = yes; then
4493 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4494 else
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4496 fi
4497
4498 else
4499
4500 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4501
4502 fi
4503
4504
4505 eval "$wx_cv_use_mslu"
4506
4507 if test x"$enablestring" = xdisable; then
4508 if test $wxUSE_UNICODE_MSLU = yes; then
4509 result=no
4510 else
4511 result=yes
4512 fi
4513 else
4514 result=$wxUSE_UNICODE_MSLU
4515 fi
4516
4517 { echo "$as_me:$LINENO: result: $result" >&5
4518 echo "${ECHO_T}$result" >&6; }
4519
4520
4521 enablestring=
4522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4524 # Check whether --enable-utf8 was given.
4525 if test "${enable_utf8+set}" = set; then
4526 enableval=$enable_utf8;
4527 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4528
4529 else
4530
4531 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4532
4533 fi
4534
4535
4536 eval "$wx_cv_use_utf8"
4537
4538 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4539 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4540
4541
4542 enablestring=
4543 defaultval=
4544 if test -z "$defaultval"; then
4545 if test x"$enablestring" = xdisable; then
4546 defaultval=yes
4547 else
4548 defaultval=no
4549 fi
4550 fi
4551
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4554 # Check whether --enable-utf8only was given.
4555 if test "${enable_utf8only+set}" = set; then
4556 enableval=$enable_utf8only;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4559 else
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4561 fi
4562
4563 else
4564
4565 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4566
4567 fi
4568
4569
4570 eval "$wx_cv_use_utf8only"
4571
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4574 result=no
4575 else
4576 result=yes
4577 fi
4578 else
4579 result=$wxUSE_UNICODE_UTF8_LOCALE
4580 fi
4581
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4584
4585
4586 enablestring=
4587 defaultval=
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4590 defaultval=yes
4591 else
4592 defaultval=no
4593 fi
4594 fi
4595
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4598 # Check whether --enable-extended_rtti was given.
4599 if test "${enable_extended_rtti+set}" = set; then
4600 enableval=$enable_extended_rtti;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4603 else
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4605 fi
4606
4607 else
4608
4609 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4610
4611 fi
4612
4613
4614 eval "$wx_cv_use_extended_rtti"
4615
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_EXTENDED_RTTI = yes; then
4618 result=no
4619 else
4620 result=yes
4621 fi
4622 else
4623 result=$wxUSE_EXTENDED_RTTI
4624 fi
4625
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4628
4629 if test "$USE_OS2" = 1; then
4630 DEFAULT_wxUSE_OMF=no
4631
4632 enablestring=
4633 defaultval=
4634 if test -z "$defaultval"; then
4635 if test x"$enablestring" = xdisable; then
4636 defaultval=yes
4637 else
4638 defaultval=no
4639 fi
4640 fi
4641
4642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4644 # Check whether --enable-omf was given.
4645 if test "${enable_omf+set}" = set; then
4646 enableval=$enable_omf;
4647 if test "$enableval" = yes; then
4648 wx_cv_use_omf='wxUSE_OMF=yes'
4649 else
4650 wx_cv_use_omf='wxUSE_OMF=no'
4651 fi
4652
4653 else
4654
4655 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4656
4657 fi
4658
4659
4660 eval "$wx_cv_use_omf"
4661
4662 if test x"$enablestring" = xdisable; then
4663 if test $wxUSE_OMF = yes; then
4664 result=no
4665 else
4666 result=yes
4667 fi
4668 else
4669 result=$wxUSE_OMF
4670 fi
4671
4672 { echo "$as_me:$LINENO: result: $result" >&5
4673 echo "${ECHO_T}$result" >&6; }
4674
4675 fi
4676
4677 if test "$wxUSE_DEBUG" = "yes"; then
4678 DEFAULT_wxUSE_DEBUG_FLAG=yes
4679 DEFAULT_wxUSE_DEBUG_INFO=yes
4680 BUILD=debug
4681 elif test "$wxUSE_DEBUG" = "no"; then
4682 DEFAULT_wxUSE_DEBUG_FLAG=no
4683 DEFAULT_wxUSE_DEBUG_INFO=no
4684 BUILD=release
4685 fi
4686
4687
4688 enablestring=
4689 defaultval=
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4692 defaultval=yes
4693 else
4694 defaultval=no
4695 fi
4696 fi
4697
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4700 # Check whether --enable-debug_flag was given.
4701 if test "${enable_debug_flag+set}" = set; then
4702 enableval=$enable_debug_flag;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4705 else
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4707 fi
4708
4709 else
4710
4711 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_debug_flag"
4717
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_DEBUG_FLAG = yes; then
4720 result=no
4721 else
4722 result=yes
4723 fi
4724 else
4725 result=$wxUSE_DEBUG_FLAG
4726 fi
4727
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4730
4731
4732 enablestring=
4733 defaultval=
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4736 defaultval=yes
4737 else
4738 defaultval=no
4739 fi
4740 fi
4741
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4744 # Check whether --enable-debug_info was given.
4745 if test "${enable_debug_info+set}" = set; then
4746 enableval=$enable_debug_info;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4749 else
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_debug_info"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_DEBUG_INFO = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_DEBUG_INFO
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775
4776 enablestring=
4777 defaultval=
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4780 defaultval=yes
4781 else
4782 defaultval=no
4783 fi
4784 fi
4785
4786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4788 # Check whether --enable-debug_gdb was given.
4789 if test "${enable_debug_gdb+set}" = set; then
4790 enableval=$enable_debug_gdb;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4793 else
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4795 fi
4796
4797 else
4798
4799 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4800
4801 fi
4802
4803
4804 eval "$wx_cv_use_debug_gdb"
4805
4806 if test x"$enablestring" = xdisable; then
4807 if test $wxUSE_DEBUG_GDB = yes; then
4808 result=no
4809 else
4810 result=yes
4811 fi
4812 else
4813 result=$wxUSE_DEBUG_GDB
4814 fi
4815
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4818
4819
4820 enablestring=
4821 defaultval=
4822 if test -z "$defaultval"; then
4823 if test x"$enablestring" = xdisable; then
4824 defaultval=yes
4825 else
4826 defaultval=no
4827 fi
4828 fi
4829
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4832 # Check whether --enable-debug_cntxt was given.
4833 if test "${enable_debug_cntxt+set}" = set; then
4834 enableval=$enable_debug_cntxt;
4835 if test "$enableval" = yes; then
4836 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4837 else
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4839 fi
4840
4841 else
4842
4843 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4844
4845 fi
4846
4847
4848 eval "$wx_cv_use_debug_cntxt"
4849
4850 if test x"$enablestring" = xdisable; then
4851 if test $wxUSE_DEBUG_CONTEXT = yes; then
4852 result=no
4853 else
4854 result=yes
4855 fi
4856 else
4857 result=$wxUSE_DEBUG_CONTEXT
4858 fi
4859
4860 { echo "$as_me:$LINENO: result: $result" >&5
4861 echo "${ECHO_T}$result" >&6; }
4862
4863
4864 enablestring=
4865 defaultval=
4866 if test -z "$defaultval"; then
4867 if test x"$enablestring" = xdisable; then
4868 defaultval=yes
4869 else
4870 defaultval=no
4871 fi
4872 fi
4873
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4876 # Check whether --enable-mem_tracing was given.
4877 if test "${enable_mem_tracing+set}" = set; then
4878 enableval=$enable_mem_tracing;
4879 if test "$enableval" = yes; then
4880 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4881 else
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4883 fi
4884
4885 else
4886
4887 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4888
4889 fi
4890
4891
4892 eval "$wx_cv_use_mem_tracing"
4893
4894 if test x"$enablestring" = xdisable; then
4895 if test $wxUSE_MEM_TRACING = yes; then
4896 result=no
4897 else
4898 result=yes
4899 fi
4900 else
4901 result=$wxUSE_MEM_TRACING
4902 fi
4903
4904 { echo "$as_me:$LINENO: result: $result" >&5
4905 echo "${ECHO_T}$result" >&6; }
4906
4907
4908 enablestring=
4909 defaultval=
4910 if test -z "$defaultval"; then
4911 if test x"$enablestring" = xdisable; then
4912 defaultval=yes
4913 else
4914 defaultval=no
4915 fi
4916 fi
4917
4918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4920 # Check whether --enable-profile was given.
4921 if test "${enable_profile+set}" = set; then
4922 enableval=$enable_profile;
4923 if test "$enableval" = yes; then
4924 wx_cv_use_profile='wxUSE_PROFILE=yes'
4925 else
4926 wx_cv_use_profile='wxUSE_PROFILE=no'
4927 fi
4928
4929 else
4930
4931 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4932
4933 fi
4934
4935
4936 eval "$wx_cv_use_profile"
4937
4938 if test x"$enablestring" = xdisable; then
4939 if test $wxUSE_PROFILE = yes; then
4940 result=no
4941 else
4942 result=yes
4943 fi
4944 else
4945 result=$wxUSE_PROFILE
4946 fi
4947
4948 { echo "$as_me:$LINENO: result: $result" >&5
4949 echo "${ECHO_T}$result" >&6; }
4950
4951
4952 enablestring=
4953 defaultval=
4954 if test -z "$defaultval"; then
4955 if test x"$enablestring" = xdisable; then
4956 defaultval=yes
4957 else
4958 defaultval=no
4959 fi
4960 fi
4961
4962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4963 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4964 # Check whether --enable-no_rtti was given.
4965 if test "${enable_no_rtti+set}" = set; then
4966 enableval=$enable_no_rtti;
4967 if test "$enableval" = yes; then
4968 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4969 else
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4971 fi
4972
4973 else
4974
4975 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4976
4977 fi
4978
4979
4980 eval "$wx_cv_use_no_rtti"
4981
4982 if test x"$enablestring" = xdisable; then
4983 if test $wxUSE_NO_RTTI = yes; then
4984 result=no
4985 else
4986 result=yes
4987 fi
4988 else
4989 result=$wxUSE_NO_RTTI
4990 fi
4991
4992 { echo "$as_me:$LINENO: result: $result" >&5
4993 echo "${ECHO_T}$result" >&6; }
4994
4995
4996 enablestring=
4997 defaultval=
4998 if test -z "$defaultval"; then
4999 if test x"$enablestring" = xdisable; then
5000 defaultval=yes
5001 else
5002 defaultval=no
5003 fi
5004 fi
5005
5006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5008 # Check whether --enable-no_exceptions was given.
5009 if test "${enable_no_exceptions+set}" = set; then
5010 enableval=$enable_no_exceptions;
5011 if test "$enableval" = yes; then
5012 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5013 else
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5015 fi
5016
5017 else
5018
5019 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5020
5021 fi
5022
5023
5024 eval "$wx_cv_use_no_exceptions"
5025
5026 if test x"$enablestring" = xdisable; then
5027 if test $wxUSE_NO_EXCEPTIONS = yes; then
5028 result=no
5029 else
5030 result=yes
5031 fi
5032 else
5033 result=$wxUSE_NO_EXCEPTIONS
5034 fi
5035
5036 { echo "$as_me:$LINENO: result: $result" >&5
5037 echo "${ECHO_T}$result" >&6; }
5038
5039
5040 enablestring=
5041 defaultval=
5042 if test -z "$defaultval"; then
5043 if test x"$enablestring" = xdisable; then
5044 defaultval=yes
5045 else
5046 defaultval=no
5047 fi
5048 fi
5049
5050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5052 # Check whether --enable-permissive was given.
5053 if test "${enable_permissive+set}" = set; then
5054 enableval=$enable_permissive;
5055 if test "$enableval" = yes; then
5056 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5057 else
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5059 fi
5060
5061 else
5062
5063 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5064
5065 fi
5066
5067
5068 eval "$wx_cv_use_permissive"
5069
5070 if test x"$enablestring" = xdisable; then
5071 if test $wxUSE_PERMISSIVE = yes; then
5072 result=no
5073 else
5074 result=yes
5075 fi
5076 else
5077 result=$wxUSE_PERMISSIVE
5078 fi
5079
5080 { echo "$as_me:$LINENO: result: $result" >&5
5081 echo "${ECHO_T}$result" >&6; }
5082
5083
5084 enablestring=
5085 defaultval=
5086 if test -z "$defaultval"; then
5087 if test x"$enablestring" = xdisable; then
5088 defaultval=yes
5089 else
5090 defaultval=no
5091 fi
5092 fi
5093
5094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5096 # Check whether --enable-no_deps was given.
5097 if test "${enable_no_deps+set}" = set; then
5098 enableval=$enable_no_deps;
5099 if test "$enableval" = yes; then
5100 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5101 else
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5103 fi
5104
5105 else
5106
5107 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5108
5109 fi
5110
5111
5112 eval "$wx_cv_use_no_deps"
5113
5114 if test x"$enablestring" = xdisable; then
5115 if test $wxUSE_NO_DEPS = yes; then
5116 result=no
5117 else
5118 result=yes
5119 fi
5120 else
5121 result=$wxUSE_NO_DEPS
5122 fi
5123
5124 { echo "$as_me:$LINENO: result: $result" >&5
5125 echo "${ECHO_T}$result" >&6; }
5126
5127
5128 enablestring=disable
5129 defaultval=
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5132 defaultval=yes
5133 else
5134 defaultval=no
5135 fi
5136 fi
5137
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5140 # Check whether --enable-vararg_macros was given.
5141 if test "${enable_vararg_macros+set}" = set; then
5142 enableval=$enable_vararg_macros;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5145 else
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5147 fi
5148
5149 else
5150
5151 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5152
5153 fi
5154
5155
5156 eval "$wx_cv_use_vararg_macros"
5157
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_VARARG_MACROS = yes; then
5160 result=no
5161 else
5162 result=yes
5163 fi
5164 else
5165 result=$wxUSE_VARARG_MACROS
5166 fi
5167
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5170
5171
5172 enablestring=
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5175 # Check whether --enable-universal_binary was given.
5176 if test "${enable_universal_binary+set}" = set; then
5177 enableval=$enable_universal_binary;
5178 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5179
5180 else
5181
5182 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5183
5184 fi
5185
5186
5187 eval "$wx_cv_use_universal_binary"
5188
5189 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5190 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5191
5192
5193
5194 enablestring=
5195 defaultval=
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5198 defaultval=yes
5199 else
5200 defaultval=no
5201 fi
5202 fi
5203
5204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5206 # Check whether --enable-compat26 was given.
5207 if test "${enable_compat26+set}" = set; then
5208 enableval=$enable_compat26;
5209 if test "$enableval" = yes; then
5210 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5211 else
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5213 fi
5214
5215 else
5216
5217 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5218
5219 fi
5220
5221
5222 eval "$wx_cv_use_compat26"
5223
5224 if test x"$enablestring" = xdisable; then
5225 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5226 result=no
5227 else
5228 result=yes
5229 fi
5230 else
5231 result=$WXWIN_COMPATIBILITY_2_6
5232 fi
5233
5234 { echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6; }
5236
5237
5238 enablestring=disable
5239 defaultval=
5240 if test -z "$defaultval"; then
5241 if test x"$enablestring" = xdisable; then
5242 defaultval=yes
5243 else
5244 defaultval=no
5245 fi
5246 fi
5247
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5250 # Check whether --enable-compat28 was given.
5251 if test "${enable_compat28+set}" = set; then
5252 enableval=$enable_compat28;
5253 if test "$enableval" = yes; then
5254 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5255 else
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5257 fi
5258
5259 else
5260
5261 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5262
5263 fi
5264
5265
5266 eval "$wx_cv_use_compat28"
5267
5268 if test x"$enablestring" = xdisable; then
5269 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5270 result=no
5271 else
5272 result=yes
5273 fi
5274 else
5275 result=$WXWIN_COMPATIBILITY_2_8
5276 fi
5277
5278 { echo "$as_me:$LINENO: result: $result" >&5
5279 echo "${ECHO_T}$result" >&6; }
5280
5281
5282
5283 enablestring=disable
5284 defaultval=
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5287 defaultval=yes
5288 else
5289 defaultval=no
5290 fi
5291 fi
5292
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5295 # Check whether --enable-rpath was given.
5296 if test "${enable_rpath+set}" = set; then
5297 enableval=$enable_rpath;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_rpath='wxUSE_RPATH=yes'
5300 else
5301 wx_cv_use_rpath='wxUSE_RPATH=no'
5302 fi
5303
5304 else
5305
5306 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5307
5308 fi
5309
5310
5311 eval "$wx_cv_use_rpath"
5312
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_RPATH = yes; then
5315 result=no
5316 else
5317 result=yes
5318 fi
5319 else
5320 result=$wxUSE_RPATH
5321 fi
5322
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5325
5326
5327
5328 enablestring=
5329 defaultval=
5330 if test -z "$defaultval"; then
5331 if test x"$enablestring" = xdisable; then
5332 defaultval=yes
5333 else
5334 defaultval=no
5335 fi
5336 fi
5337
5338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5340 # Check whether --enable-objc_uniquifying was given.
5341 if test "${enable_objc_uniquifying+set}" = set; then
5342 enableval=$enable_objc_uniquifying;
5343 if test "$enableval" = yes; then
5344 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5345 else
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5347 fi
5348
5349 else
5350
5351 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5352
5353 fi
5354
5355
5356 eval "$wx_cv_use_objc_uniquifying"
5357
5358 if test x"$enablestring" = xdisable; then
5359 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5360 result=no
5361 else
5362 result=yes
5363 fi
5364 else
5365 result=$wxUSE_OBJC_UNIQUIFYING
5366 fi
5367
5368 { echo "$as_me:$LINENO: result: $result" >&5
5369 echo "${ECHO_T}$result" >&6; }
5370
5371
5372
5373 enablestring=disable
5374 defaultval=
5375 if test -z "$defaultval"; then
5376 if test x"$enablestring" = xdisable; then
5377 defaultval=yes
5378 else
5379 defaultval=no
5380 fi
5381 fi
5382
5383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5385 # Check whether --enable-visibility was given.
5386 if test "${enable_visibility+set}" = set; then
5387 enableval=$enable_visibility;
5388 if test "$enableval" = yes; then
5389 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5390 else
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5392 fi
5393
5394 else
5395
5396 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5397
5398 fi
5399
5400
5401 eval "$wx_cv_use_visibility"
5402
5403 if test x"$enablestring" = xdisable; then
5404 if test $wxUSE_VISIBILITY = yes; then
5405 result=no
5406 else
5407 result=yes
5408 fi
5409 else
5410 result=$wxUSE_VISIBILITY
5411 fi
5412
5413 { echo "$as_me:$LINENO: result: $result" >&5
5414 echo "${ECHO_T}$result" >&6; }
5415
5416
5417
5418
5419 enablestring=
5420 defaultval=$wxUSE_ALL_FEATURES
5421 if test -z "$defaultval"; then
5422 if test x"$enablestring" = xdisable; then
5423 defaultval=yes
5424 else
5425 defaultval=no
5426 fi
5427 fi
5428
5429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5431 # Check whether --enable-intl was given.
5432 if test "${enable_intl+set}" = set; then
5433 enableval=$enable_intl;
5434 if test "$enableval" = yes; then
5435 wx_cv_use_intl='wxUSE_INTL=yes'
5436 else
5437 wx_cv_use_intl='wxUSE_INTL=no'
5438 fi
5439
5440 else
5441
5442 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5443
5444 fi
5445
5446
5447 eval "$wx_cv_use_intl"
5448
5449 if test x"$enablestring" = xdisable; then
5450 if test $wxUSE_INTL = yes; then
5451 result=no
5452 else
5453 result=yes
5454 fi
5455 else
5456 result=$wxUSE_INTL
5457 fi
5458
5459 { echo "$as_me:$LINENO: result: $result" >&5
5460 echo "${ECHO_T}$result" >&6; }
5461
5462
5463 enablestring=
5464 defaultval=$wxUSE_ALL_FEATURES
5465 if test -z "$defaultval"; then
5466 if test x"$enablestring" = xdisable; then
5467 defaultval=yes
5468 else
5469 defaultval=no
5470 fi
5471 fi
5472
5473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5475 # Check whether --enable-config was given.
5476 if test "${enable_config+set}" = set; then
5477 enableval=$enable_config;
5478 if test "$enableval" = yes; then
5479 wx_cv_use_config='wxUSE_CONFIG=yes'
5480 else
5481 wx_cv_use_config='wxUSE_CONFIG=no'
5482 fi
5483
5484 else
5485
5486 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5487
5488 fi
5489
5490
5491 eval "$wx_cv_use_config"
5492
5493 if test x"$enablestring" = xdisable; then
5494 if test $wxUSE_CONFIG = yes; then
5495 result=no
5496 else
5497 result=yes
5498 fi
5499 else
5500 result=$wxUSE_CONFIG
5501 fi
5502
5503 { echo "$as_me:$LINENO: result: $result" >&5
5504 echo "${ECHO_T}$result" >&6; }
5505
5506
5507
5508 enablestring=
5509 defaultval=$wxUSE_ALL_FEATURES
5510 if test -z "$defaultval"; then
5511 if test x"$enablestring" = xdisable; then
5512 defaultval=yes
5513 else
5514 defaultval=no
5515 fi
5516 fi
5517
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5520 # Check whether --enable-protocols was given.
5521 if test "${enable_protocols+set}" = set; then
5522 enableval=$enable_protocols;
5523 if test "$enableval" = yes; then
5524 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5525 else
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5527 fi
5528
5529 else
5530
5531 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5532
5533 fi
5534
5535
5536 eval "$wx_cv_use_protocols"
5537
5538 if test x"$enablestring" = xdisable; then
5539 if test $wxUSE_PROTOCOL = yes; then
5540 result=no
5541 else
5542 result=yes
5543 fi
5544 else
5545 result=$wxUSE_PROTOCOL
5546 fi
5547
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5550
5551
5552 enablestring=
5553 defaultval=$wxUSE_ALL_FEATURES
5554 if test -z "$defaultval"; then
5555 if test x"$enablestring" = xdisable; then
5556 defaultval=yes
5557 else
5558 defaultval=no
5559 fi
5560 fi
5561
5562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5564 # Check whether --enable-ftp was given.
5565 if test "${enable_ftp+set}" = set; then
5566 enableval=$enable_ftp;
5567 if test "$enableval" = yes; then
5568 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5569 else
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5571 fi
5572
5573 else
5574
5575 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5576
5577 fi
5578
5579
5580 eval "$wx_cv_use_ftp"
5581
5582 if test x"$enablestring" = xdisable; then
5583 if test $wxUSE_PROTOCOL_FTP = yes; then
5584 result=no
5585 else
5586 result=yes
5587 fi
5588 else
5589 result=$wxUSE_PROTOCOL_FTP
5590 fi
5591
5592 { echo "$as_me:$LINENO: result: $result" >&5
5593 echo "${ECHO_T}$result" >&6; }
5594
5595
5596 enablestring=
5597 defaultval=$wxUSE_ALL_FEATURES
5598 if test -z "$defaultval"; then
5599 if test x"$enablestring" = xdisable; then
5600 defaultval=yes
5601 else
5602 defaultval=no
5603 fi
5604 fi
5605
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5608 # Check whether --enable-http was given.
5609 if test "${enable_http+set}" = set; then
5610 enableval=$enable_http;
5611 if test "$enableval" = yes; then
5612 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5613 else
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5615 fi
5616
5617 else
5618
5619 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5620
5621 fi
5622
5623
5624 eval "$wx_cv_use_http"
5625
5626 if test x"$enablestring" = xdisable; then
5627 if test $wxUSE_PROTOCOL_HTTP = yes; then
5628 result=no
5629 else
5630 result=yes
5631 fi
5632 else
5633 result=$wxUSE_PROTOCOL_HTTP
5634 fi
5635
5636 { echo "$as_me:$LINENO: result: $result" >&5
5637 echo "${ECHO_T}$result" >&6; }
5638
5639
5640 enablestring=
5641 defaultval=$wxUSE_ALL_FEATURES
5642 if test -z "$defaultval"; then
5643 if test x"$enablestring" = xdisable; then
5644 defaultval=yes
5645 else
5646 defaultval=no
5647 fi
5648 fi
5649
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5652 # Check whether --enable-fileproto was given.
5653 if test "${enable_fileproto+set}" = set; then
5654 enableval=$enable_fileproto;
5655 if test "$enableval" = yes; then
5656 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5657 else
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5659 fi
5660
5661 else
5662
5663 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5664
5665 fi
5666
5667
5668 eval "$wx_cv_use_fileproto"
5669
5670 if test x"$enablestring" = xdisable; then
5671 if test $wxUSE_PROTOCOL_FILE = yes; then
5672 result=no
5673 else
5674 result=yes
5675 fi
5676 else
5677 result=$wxUSE_PROTOCOL_FILE
5678 fi
5679
5680 { echo "$as_me:$LINENO: result: $result" >&5
5681 echo "${ECHO_T}$result" >&6; }
5682
5683
5684 enablestring=
5685 defaultval=$wxUSE_ALL_FEATURES
5686 if test -z "$defaultval"; then
5687 if test x"$enablestring" = xdisable; then
5688 defaultval=yes
5689 else
5690 defaultval=no
5691 fi
5692 fi
5693
5694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5695 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5696 # Check whether --enable-sockets was given.
5697 if test "${enable_sockets+set}" = set; then
5698 enableval=$enable_sockets;
5699 if test "$enableval" = yes; then
5700 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5701 else
5702 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5703 fi
5704
5705 else
5706
5707 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5708
5709 fi
5710
5711
5712 eval "$wx_cv_use_sockets"
5713
5714 if test x"$enablestring" = xdisable; then
5715 if test $wxUSE_SOCKETS = yes; then
5716 result=no
5717 else
5718 result=yes
5719 fi
5720 else
5721 result=$wxUSE_SOCKETS
5722 fi
5723
5724 { echo "$as_me:$LINENO: result: $result" >&5
5725 echo "${ECHO_T}$result" >&6; }
5726
5727
5728 enablestring=
5729 defaultval=$wxUSE_ALL_FEATURES
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5732 defaultval=yes
5733 else
5734 defaultval=no
5735 fi
5736 fi
5737
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5740 # Check whether --enable-ipv6 was given.
5741 if test "${enable_ipv6+set}" = set; then
5742 enableval=$enable_ipv6;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5745 else
5746 wx_cv_use_ipv6='wxUSE_IPV6=no'
5747 fi
5748
5749 else
5750
5751 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5752
5753 fi
5754
5755
5756 eval "$wx_cv_use_ipv6"
5757
5758 if test x"$enablestring" = xdisable; then
5759 if test $wxUSE_IPV6 = yes; then
5760 result=no
5761 else
5762 result=yes
5763 fi
5764 else
5765 result=$wxUSE_IPV6
5766 fi
5767
5768 { echo "$as_me:$LINENO: result: $result" >&5
5769 echo "${ECHO_T}$result" >&6; }
5770
5771
5772 enablestring=
5773 defaultval=$wxUSE_ALL_FEATURES
5774 if test -z "$defaultval"; then
5775 if test x"$enablestring" = xdisable; then
5776 defaultval=yes
5777 else
5778 defaultval=no
5779 fi
5780 fi
5781
5782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5784 # Check whether --enable-ole was given.
5785 if test "${enable_ole+set}" = set; then
5786 enableval=$enable_ole;
5787 if test "$enableval" = yes; then
5788 wx_cv_use_ole='wxUSE_OLE=yes'
5789 else
5790 wx_cv_use_ole='wxUSE_OLE=no'
5791 fi
5792
5793 else
5794
5795 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5796
5797 fi
5798
5799
5800 eval "$wx_cv_use_ole"
5801
5802 if test x"$enablestring" = xdisable; then
5803 if test $wxUSE_OLE = yes; then
5804 result=no
5805 else
5806 result=yes
5807 fi
5808 else
5809 result=$wxUSE_OLE
5810 fi
5811
5812 { echo "$as_me:$LINENO: result: $result" >&5
5813 echo "${ECHO_T}$result" >&6; }
5814
5815
5816 enablestring=
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5820 defaultval=yes
5821 else
5822 defaultval=no
5823 fi
5824 fi
5825
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5828 # Check whether --enable-dataobj was given.
5829 if test "${enable_dataobj+set}" = set; then
5830 enableval=$enable_dataobj;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5833 else
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5835 fi
5836
5837 else
5838
5839 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5840
5841 fi
5842
5843
5844 eval "$wx_cv_use_dataobj"
5845
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_DATAOBJ = yes; then
5848 result=no
5849 else
5850 result=yes
5851 fi
5852 else
5853 result=$wxUSE_DATAOBJ
5854 fi
5855
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5858
5859
5860
5861 enablestring=
5862 defaultval=$wxUSE_ALL_FEATURES
5863 if test -z "$defaultval"; then
5864 if test x"$enablestring" = xdisable; then
5865 defaultval=yes
5866 else
5867 defaultval=no
5868 fi
5869 fi
5870
5871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5873 # Check whether --enable-ipc was given.
5874 if test "${enable_ipc+set}" = set; then
5875 enableval=$enable_ipc;
5876 if test "$enableval" = yes; then
5877 wx_cv_use_ipc='wxUSE_IPC=yes'
5878 else
5879 wx_cv_use_ipc='wxUSE_IPC=no'
5880 fi
5881
5882 else
5883
5884 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5885
5886 fi
5887
5888
5889 eval "$wx_cv_use_ipc"
5890
5891 if test x"$enablestring" = xdisable; then
5892 if test $wxUSE_IPC = yes; then
5893 result=no
5894 else
5895 result=yes
5896 fi
5897 else
5898 result=$wxUSE_IPC
5899 fi
5900
5901 { echo "$as_me:$LINENO: result: $result" >&5
5902 echo "${ECHO_T}$result" >&6; }
5903
5904
5905
5906 enablestring=
5907 defaultval=$wxUSE_ALL_FEATURES
5908 if test -z "$defaultval"; then
5909 if test x"$enablestring" = xdisable; then
5910 defaultval=yes
5911 else
5912 defaultval=no
5913 fi
5914 fi
5915
5916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5917 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5918 # Check whether --enable-baseevtloop was given.
5919 if test "${enable_baseevtloop+set}" = set; then
5920 enableval=$enable_baseevtloop;
5921 if test "$enableval" = yes; then
5922 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5923 else
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5925 fi
5926
5927 else
5928
5929 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5930
5931 fi
5932
5933
5934 eval "$wx_cv_use_baseevtloop"
5935
5936 if test x"$enablestring" = xdisable; then
5937 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5938 result=no
5939 else
5940 result=yes
5941 fi
5942 else
5943 result=$wxUSE_CONSOLE_EVENTLOOP
5944 fi
5945
5946 { echo "$as_me:$LINENO: result: $result" >&5
5947 echo "${ECHO_T}$result" >&6; }
5948
5949
5950 enablestring=
5951 defaultval=$wxUSE_ALL_FEATURES
5952 if test -z "$defaultval"; then
5953 if test x"$enablestring" = xdisable; then
5954 defaultval=yes
5955 else
5956 defaultval=no
5957 fi
5958 fi
5959
5960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5962 # Check whether --enable-epollloop was given.
5963 if test "${enable_epollloop+set}" = set; then
5964 enableval=$enable_epollloop;
5965 if test "$enableval" = yes; then
5966 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5967 else
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5969 fi
5970
5971 else
5972
5973 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5974
5975 fi
5976
5977
5978 eval "$wx_cv_use_epollloop"
5979
5980 if test x"$enablestring" = xdisable; then
5981 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5982 result=no
5983 else
5984 result=yes
5985 fi
5986 else
5987 result=$wxUSE_EPOLL_DISPATCHER
5988 fi
5989
5990 { echo "$as_me:$LINENO: result: $result" >&5
5991 echo "${ECHO_T}$result" >&6; }
5992
5993
5994 enablestring=
5995 defaultval=$wxUSE_ALL_FEATURES
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
5998 defaultval=yes
5999 else
6000 defaultval=no
6001 fi
6002 fi
6003
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6006 # Check whether --enable-selectloop was given.
6007 if test "${enable_selectloop+set}" = set; then
6008 enableval=$enable_selectloop;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6011 else
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6013 fi
6014
6015 else
6016
6017 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6018
6019 fi
6020
6021
6022 eval "$wx_cv_use_selectloop"
6023
6024 if test x"$enablestring" = xdisable; then
6025 if test $wxUSE_SELECT_DISPATCHER = yes; then
6026 result=no
6027 else
6028 result=yes
6029 fi
6030 else
6031 result=$wxUSE_SELECT_DISPATCHER
6032 fi
6033
6034 { echo "$as_me:$LINENO: result: $result" >&5
6035 echo "${ECHO_T}$result" >&6; }
6036
6037
6038
6039 enablestring=
6040 defaultval=$wxUSE_ALL_FEATURES
6041 if test -z "$defaultval"; then
6042 if test x"$enablestring" = xdisable; then
6043 defaultval=yes
6044 else
6045 defaultval=no
6046 fi
6047 fi
6048
6049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6051 # Check whether --enable-apple_ieee was given.
6052 if test "${enable_apple_ieee+set}" = set; then
6053 enableval=$enable_apple_ieee;
6054 if test "$enableval" = yes; then
6055 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6056 else
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6058 fi
6059
6060 else
6061
6062 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6063
6064 fi
6065
6066
6067 eval "$wx_cv_use_apple_ieee"
6068
6069 if test x"$enablestring" = xdisable; then
6070 if test $wxUSE_APPLE_IEEE = yes; then
6071 result=no
6072 else
6073 result=yes
6074 fi
6075 else
6076 result=$wxUSE_APPLE_IEEE
6077 fi
6078
6079 { echo "$as_me:$LINENO: result: $result" >&5
6080 echo "${ECHO_T}$result" >&6; }
6081
6082
6083 enablestring=
6084 defaultval=$wxUSE_ALL_FEATURES
6085 if test -z "$defaultval"; then
6086 if test x"$enablestring" = xdisable; then
6087 defaultval=yes
6088 else
6089 defaultval=no
6090 fi
6091 fi
6092
6093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6095 # Check whether --enable-arcstream was given.
6096 if test "${enable_arcstream+set}" = set; then
6097 enableval=$enable_arcstream;
6098 if test "$enableval" = yes; then
6099 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6100 else
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6102 fi
6103
6104 else
6105
6106 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6107
6108 fi
6109
6110
6111 eval "$wx_cv_use_arcstream"
6112
6113 if test x"$enablestring" = xdisable; then
6114 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6115 result=no
6116 else
6117 result=yes
6118 fi
6119 else
6120 result=$wxUSE_ARCHIVE_STREAMS
6121 fi
6122
6123 { echo "$as_me:$LINENO: result: $result" >&5
6124 echo "${ECHO_T}$result" >&6; }
6125
6126
6127 enablestring=
6128 defaultval=$wxUSE_ALL_FEATURES
6129 if test -z "$defaultval"; then
6130 if test x"$enablestring" = xdisable; then
6131 defaultval=yes
6132 else
6133 defaultval=no
6134 fi
6135 fi
6136
6137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6139 # Check whether --enable-base64 was given.
6140 if test "${enable_base64+set}" = set; then
6141 enableval=$enable_base64;
6142 if test "$enableval" = yes; then
6143 wx_cv_use_base64='wxUSE_BASE64=yes'
6144 else
6145 wx_cv_use_base64='wxUSE_BASE64=no'
6146 fi
6147
6148 else
6149
6150 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6151
6152 fi
6153
6154
6155 eval "$wx_cv_use_base64"
6156
6157 if test x"$enablestring" = xdisable; then
6158 if test $wxUSE_BASE64 = yes; then
6159 result=no
6160 else
6161 result=yes
6162 fi
6163 else
6164 result=$wxUSE_BASE64
6165 fi
6166
6167 { echo "$as_me:$LINENO: result: $result" >&5
6168 echo "${ECHO_T}$result" >&6; }
6169
6170
6171 enablestring=
6172 defaultval=$wxUSE_ALL_FEATURES
6173 if test -z "$defaultval"; then
6174 if test x"$enablestring" = xdisable; then
6175 defaultval=yes
6176 else
6177 defaultval=no
6178 fi
6179 fi
6180
6181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6182 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6183 # Check whether --enable-backtrace was given.
6184 if test "${enable_backtrace+set}" = set; then
6185 enableval=$enable_backtrace;
6186 if test "$enableval" = yes; then
6187 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6188 else
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6190 fi
6191
6192 else
6193
6194 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6195
6196 fi
6197
6198
6199 eval "$wx_cv_use_backtrace"
6200
6201 if test x"$enablestring" = xdisable; then
6202 if test $wxUSE_STACKWALKER = yes; then
6203 result=no
6204 else
6205 result=yes
6206 fi
6207 else
6208 result=$wxUSE_STACKWALKER
6209 fi
6210
6211 { echo "$as_me:$LINENO: result: $result" >&5
6212 echo "${ECHO_T}$result" >&6; }
6213
6214
6215 enablestring=
6216 defaultval=$wxUSE_ALL_FEATURES
6217 if test -z "$defaultval"; then
6218 if test x"$enablestring" = xdisable; then
6219 defaultval=yes
6220 else
6221 defaultval=no
6222 fi
6223 fi
6224
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6227 # Check whether --enable-catch_segvs was given.
6228 if test "${enable_catch_segvs+set}" = set; then
6229 enableval=$enable_catch_segvs;
6230 if test "$enableval" = yes; then
6231 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6232 else
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6234 fi
6235
6236 else
6237
6238 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6239
6240 fi
6241
6242
6243 eval "$wx_cv_use_catch_segvs"
6244
6245 if test x"$enablestring" = xdisable; then
6246 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6247 result=no
6248 else
6249 result=yes
6250 fi
6251 else
6252 result=$wxUSE_ON_FATAL_EXCEPTION
6253 fi
6254
6255 { echo "$as_me:$LINENO: result: $result" >&5
6256 echo "${ECHO_T}$result" >&6; }
6257
6258
6259 enablestring=
6260 defaultval=$wxUSE_ALL_FEATURES
6261 if test -z "$defaultval"; then
6262 if test x"$enablestring" = xdisable; then
6263 defaultval=yes
6264 else
6265 defaultval=no
6266 fi
6267 fi
6268
6269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6271 # Check whether --enable-cmdline was given.
6272 if test "${enable_cmdline+set}" = set; then
6273 enableval=$enable_cmdline;
6274 if test "$enableval" = yes; then
6275 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6276 else
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6278 fi
6279
6280 else
6281
6282 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6283
6284 fi
6285
6286
6287 eval "$wx_cv_use_cmdline"
6288
6289 if test x"$enablestring" = xdisable; then
6290 if test $wxUSE_CMDLINE_PARSER = yes; then
6291 result=no
6292 else
6293 result=yes
6294 fi
6295 else
6296 result=$wxUSE_CMDLINE_PARSER
6297 fi
6298
6299 { echo "$as_me:$LINENO: result: $result" >&5
6300 echo "${ECHO_T}$result" >&6; }
6301
6302
6303 enablestring=
6304 defaultval=$wxUSE_ALL_FEATURES
6305 if test -z "$defaultval"; then
6306 if test x"$enablestring" = xdisable; then
6307 defaultval=yes
6308 else
6309 defaultval=no
6310 fi
6311 fi
6312
6313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6315 # Check whether --enable-datetime was given.
6316 if test "${enable_datetime+set}" = set; then
6317 enableval=$enable_datetime;
6318 if test "$enableval" = yes; then
6319 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6320 else
6321 wx_cv_use_datetime='wxUSE_DATETIME=no'
6322 fi
6323
6324 else
6325
6326 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6327
6328 fi
6329
6330
6331 eval "$wx_cv_use_datetime"
6332
6333 if test x"$enablestring" = xdisable; then
6334 if test $wxUSE_DATETIME = yes; then
6335 result=no
6336 else
6337 result=yes
6338 fi
6339 else
6340 result=$wxUSE_DATETIME
6341 fi
6342
6343 { echo "$as_me:$LINENO: result: $result" >&5
6344 echo "${ECHO_T}$result" >&6; }
6345
6346
6347 enablestring=
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6351 defaultval=yes
6352 else
6353 defaultval=no
6354 fi
6355 fi
6356
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6359 # Check whether --enable-debugreport was given.
6360 if test "${enable_debugreport+set}" = set; then
6361 enableval=$enable_debugreport;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6364 else
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6366 fi
6367
6368 else
6369
6370 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6371
6372 fi
6373
6374
6375 eval "$wx_cv_use_debugreport"
6376
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_DEBUGREPORT = yes; then
6379 result=no
6380 else
6381 result=yes
6382 fi
6383 else
6384 result=$wxUSE_DEBUGREPORT
6385 fi
6386
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6389
6390
6391 enablestring=
6392 defaultval=$wxUSE_ALL_FEATURES
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6395 defaultval=yes
6396 else
6397 defaultval=no
6398 fi
6399 fi
6400
6401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6403 # Check whether --enable-dialupman was given.
6404 if test "${enable_dialupman+set}" = set; then
6405 enableval=$enable_dialupman;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6408 else
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6410 fi
6411
6412 else
6413
6414 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6415
6416 fi
6417
6418
6419 eval "$wx_cv_use_dialupman"
6420
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_DIALUP_MANAGER = yes; then
6423 result=no
6424 else
6425 result=yes
6426 fi
6427 else
6428 result=$wxUSE_DIALUP_MANAGER
6429 fi
6430
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6433
6434
6435 enablestring=
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6439 defaultval=yes
6440 else
6441 defaultval=no
6442 fi
6443 fi
6444
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6447 # Check whether --enable-dynlib was given.
6448 if test "${enable_dynlib+set}" = set; then
6449 enableval=$enable_dynlib;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6452 else
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6454 fi
6455
6456 else
6457
6458 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6459
6460 fi
6461
6462
6463 eval "$wx_cv_use_dynlib"
6464
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_DYNLIB_CLASS = yes; then
6467 result=no
6468 else
6469 result=yes
6470 fi
6471 else
6472 result=$wxUSE_DYNLIB_CLASS
6473 fi
6474
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6477
6478
6479 enablestring=
6480 defaultval=$wxUSE_ALL_FEATURES
6481 if test -z "$defaultval"; then
6482 if test x"$enablestring" = xdisable; then
6483 defaultval=yes
6484 else
6485 defaultval=no
6486 fi
6487 fi
6488
6489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6491 # Check whether --enable-dynamicloader was given.
6492 if test "${enable_dynamicloader+set}" = set; then
6493 enableval=$enable_dynamicloader;
6494 if test "$enableval" = yes; then
6495 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6496 else
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6498 fi
6499
6500 else
6501
6502 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6503
6504 fi
6505
6506
6507 eval "$wx_cv_use_dynamicloader"
6508
6509 if test x"$enablestring" = xdisable; then
6510 if test $wxUSE_DYNAMIC_LOADER = yes; then
6511 result=no
6512 else
6513 result=yes
6514 fi
6515 else
6516 result=$wxUSE_DYNAMIC_LOADER
6517 fi
6518
6519 { echo "$as_me:$LINENO: result: $result" >&5
6520 echo "${ECHO_T}$result" >&6; }
6521
6522
6523 enablestring=
6524 defaultval=$wxUSE_ALL_FEATURES
6525 if test -z "$defaultval"; then
6526 if test x"$enablestring" = xdisable; then
6527 defaultval=yes
6528 else
6529 defaultval=no
6530 fi
6531 fi
6532
6533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6534 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6535 # Check whether --enable-exceptions was given.
6536 if test "${enable_exceptions+set}" = set; then
6537 enableval=$enable_exceptions;
6538 if test "$enableval" = yes; then
6539 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6540 else
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6542 fi
6543
6544 else
6545
6546 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6547
6548 fi
6549
6550
6551 eval "$wx_cv_use_exceptions"
6552
6553 if test x"$enablestring" = xdisable; then
6554 if test $wxUSE_EXCEPTIONS = yes; then
6555 result=no
6556 else
6557 result=yes
6558 fi
6559 else
6560 result=$wxUSE_EXCEPTIONS
6561 fi
6562
6563 { echo "$as_me:$LINENO: result: $result" >&5
6564 echo "${ECHO_T}$result" >&6; }
6565
6566
6567 enablestring=
6568 defaultval=$wxUSE_ALL_FEATURES
6569 if test -z "$defaultval"; then
6570 if test x"$enablestring" = xdisable; then
6571 defaultval=yes
6572 else
6573 defaultval=no
6574 fi
6575 fi
6576
6577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6579 # Check whether --enable-ffile was given.
6580 if test "${enable_ffile+set}" = set; then
6581 enableval=$enable_ffile;
6582 if test "$enableval" = yes; then
6583 wx_cv_use_ffile='wxUSE_FFILE=yes'
6584 else
6585 wx_cv_use_ffile='wxUSE_FFILE=no'
6586 fi
6587
6588 else
6589
6590 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_ffile"
6596
6597 if test x"$enablestring" = xdisable; then
6598 if test $wxUSE_FFILE = yes; then
6599 result=no
6600 else
6601 result=yes
6602 fi
6603 else
6604 result=$wxUSE_FFILE
6605 fi
6606
6607 { echo "$as_me:$LINENO: result: $result" >&5
6608 echo "${ECHO_T}$result" >&6; }
6609
6610
6611 enablestring=
6612 defaultval=$wxUSE_ALL_FEATURES
6613 if test -z "$defaultval"; then
6614 if test x"$enablestring" = xdisable; then
6615 defaultval=yes
6616 else
6617 defaultval=no
6618 fi
6619 fi
6620
6621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6623 # Check whether --enable-file was given.
6624 if test "${enable_file+set}" = set; then
6625 enableval=$enable_file;
6626 if test "$enableval" = yes; then
6627 wx_cv_use_file='wxUSE_FILE=yes'
6628 else
6629 wx_cv_use_file='wxUSE_FILE=no'
6630 fi
6631
6632 else
6633
6634 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6635
6636 fi
6637
6638
6639 eval "$wx_cv_use_file"
6640
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_FILE = yes; then
6643 result=no
6644 else
6645 result=yes
6646 fi
6647 else
6648 result=$wxUSE_FILE
6649 fi
6650
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6653
6654
6655 enablestring=
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6659 defaultval=yes
6660 else
6661 defaultval=no
6662 fi
6663 fi
6664
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6667 # Check whether --enable-filesystem was given.
6668 if test "${enable_filesystem+set}" = set; then
6669 enableval=$enable_filesystem;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6672 else
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6674 fi
6675
6676 else
6677
6678 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6679
6680 fi
6681
6682
6683 eval "$wx_cv_use_filesystem"
6684
6685 if test x"$enablestring" = xdisable; then
6686 if test $wxUSE_FILESYSTEM = yes; then
6687 result=no
6688 else
6689 result=yes
6690 fi
6691 else
6692 result=$wxUSE_FILESYSTEM
6693 fi
6694
6695 { echo "$as_me:$LINENO: result: $result" >&5
6696 echo "${ECHO_T}$result" >&6; }
6697
6698
6699 enablestring=
6700 defaultval=$wxUSE_ALL_FEATURES
6701 if test -z "$defaultval"; then
6702 if test x"$enablestring" = xdisable; then
6703 defaultval=yes
6704 else
6705 defaultval=no
6706 fi
6707 fi
6708
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6711 # Check whether --enable-fontenum was given.
6712 if test "${enable_fontenum+set}" = set; then
6713 enableval=$enable_fontenum;
6714 if test "$enableval" = yes; then
6715 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6716 else
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6718 fi
6719
6720 else
6721
6722 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6723
6724 fi
6725
6726
6727 eval "$wx_cv_use_fontenum"
6728
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_FONTENUM = yes; then
6731 result=no
6732 else
6733 result=yes
6734 fi
6735 else
6736 result=$wxUSE_FONTENUM
6737 fi
6738
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6741
6742
6743 enablestring=
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6747 defaultval=yes
6748 else
6749 defaultval=no
6750 fi
6751 fi
6752
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6755 # Check whether --enable-fontmap was given.
6756 if test "${enable_fontmap+set}" = set; then
6757 enableval=$enable_fontmap;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6760 else
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6762 fi
6763
6764 else
6765
6766 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6767
6768 fi
6769
6770
6771 eval "$wx_cv_use_fontmap"
6772
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_FONTMAP = yes; then
6775 result=no
6776 else
6777 result=yes
6778 fi
6779 else
6780 result=$wxUSE_FONTMAP
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6785
6786
6787 enablestring=
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6791 defaultval=yes
6792 else
6793 defaultval=no
6794 fi
6795 fi
6796
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6799 # Check whether --enable-fs_archive was given.
6800 if test "${enable_fs_archive+set}" = set; then
6801 enableval=$enable_fs_archive;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6804 else
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6806 fi
6807
6808 else
6809
6810 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6811
6812 fi
6813
6814
6815 eval "$wx_cv_use_fs_archive"
6816
6817 if test x"$enablestring" = xdisable; then
6818 if test $wxUSE_FS_ARCHIVE = yes; then
6819 result=no
6820 else
6821 result=yes
6822 fi
6823 else
6824 result=$wxUSE_FS_ARCHIVE
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $result" >&5
6828 echo "${ECHO_T}$result" >&6; }
6829
6830
6831 enablestring=
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6835 defaultval=yes
6836 else
6837 defaultval=no
6838 fi
6839 fi
6840
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6843 # Check whether --enable-fs_inet was given.
6844 if test "${enable_fs_inet+set}" = set; then
6845 enableval=$enable_fs_inet;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6848 else
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6850 fi
6851
6852 else
6853
6854 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6855
6856 fi
6857
6858
6859 eval "$wx_cv_use_fs_inet"
6860
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_FS_INET = yes; then
6863 result=no
6864 else
6865 result=yes
6866 fi
6867 else
6868 result=$wxUSE_FS_INET
6869 fi
6870
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6873
6874
6875 enablestring=
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6879 defaultval=yes
6880 else
6881 defaultval=no
6882 fi
6883 fi
6884
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6887 # Check whether --enable-fs_zip was given.
6888 if test "${enable_fs_zip+set}" = set; then
6889 enableval=$enable_fs_zip;
6890 if test "$enableval" = yes; then
6891 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6892 else
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6894 fi
6895
6896 else
6897
6898 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6899
6900 fi
6901
6902
6903 eval "$wx_cv_use_fs_zip"
6904
6905 if test x"$enablestring" = xdisable; then
6906 if test $wxUSE_FS_ZIP = yes; then
6907 result=no
6908 else
6909 result=yes
6910 fi
6911 else
6912 result=$wxUSE_FS_ZIP
6913 fi
6914
6915 { echo "$as_me:$LINENO: result: $result" >&5
6916 echo "${ECHO_T}$result" >&6; }
6917
6918
6919 enablestring=
6920 defaultval=$wxUSE_ALL_FEATURES
6921 if test -z "$defaultval"; then
6922 if test x"$enablestring" = xdisable; then
6923 defaultval=yes
6924 else
6925 defaultval=no
6926 fi
6927 fi
6928
6929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6931 # Check whether --enable-geometry was given.
6932 if test "${enable_geometry+set}" = set; then
6933 enableval=$enable_geometry;
6934 if test "$enableval" = yes; then
6935 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6936 else
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6938 fi
6939
6940 else
6941
6942 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6943
6944 fi
6945
6946
6947 eval "$wx_cv_use_geometry"
6948
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_GEOMETRY = yes; then
6951 result=no
6952 else
6953 result=yes
6954 fi
6955 else
6956 result=$wxUSE_GEOMETRY
6957 fi
6958
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6961
6962
6963 enablestring=
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6975 # Check whether --enable-log was given.
6976 if test "${enable_log+set}" = set; then
6977 enableval=$enable_log;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_log='wxUSE_LOG=yes'
6980 else
6981 wx_cv_use_log='wxUSE_LOG=no'
6982 fi
6983
6984 else
6985
6986 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6987
6988 fi
6989
6990
6991 eval "$wx_cv_use_log"
6992
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_LOG = yes; then
6995 result=no
6996 else
6997 result=yes
6998 fi
6999 else
7000 result=$wxUSE_LOG
7001 fi
7002
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7005
7006
7007 enablestring=
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7011 defaultval=yes
7012 else
7013 defaultval=no
7014 fi
7015 fi
7016
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7019 # Check whether --enable-longlong was given.
7020 if test "${enable_longlong+set}" = set; then
7021 enableval=$enable_longlong;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7024 else
7025 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7026 fi
7027
7028 else
7029
7030 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7031
7032 fi
7033
7034
7035 eval "$wx_cv_use_longlong"
7036
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_LONGLONG = yes; then
7039 result=no
7040 else
7041 result=yes
7042 fi
7043 else
7044 result=$wxUSE_LONGLONG
7045 fi
7046
7047 { echo "$as_me:$LINENO: result: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7049
7050
7051 enablestring=
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7055 defaultval=yes
7056 else
7057 defaultval=no
7058 fi
7059 fi
7060
7061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7063 # Check whether --enable-mimetype was given.
7064 if test "${enable_mimetype+set}" = set; then
7065 enableval=$enable_mimetype;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7068 else
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7070 fi
7071
7072 else
7073
7074 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7075
7076 fi
7077
7078
7079 eval "$wx_cv_use_mimetype"
7080
7081 if test x"$enablestring" = xdisable; then
7082 if test $wxUSE_MIMETYPE = yes; then
7083 result=no
7084 else
7085 result=yes
7086 fi
7087 else
7088 result=$wxUSE_MIMETYPE
7089 fi
7090
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7093
7094
7095 enablestring=
7096 defaultval=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x"$enablestring" = xdisable; then
7099 defaultval=yes
7100 else
7101 defaultval=no
7102 fi
7103 fi
7104
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7107 # Check whether --enable-snglinst was given.
7108 if test "${enable_snglinst+set}" = set; then
7109 enableval=$enable_snglinst;
7110 if test "$enableval" = yes; then
7111 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7112 else
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7114 fi
7115
7116 else
7117
7118 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7119
7120 fi
7121
7122
7123 eval "$wx_cv_use_snglinst"
7124
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_SNGLINST_CHECKER = yes; then
7127 result=no
7128 else
7129 result=yes
7130 fi
7131 else
7132 result=$wxUSE_SNGLINST_CHECKER
7133 fi
7134
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7137
7138
7139 enablestring=
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7143 defaultval=yes
7144 else
7145 defaultval=no
7146 fi
7147 fi
7148
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7151 # Check whether --enable-stdpaths was given.
7152 if test "${enable_stdpaths+set}" = set; then
7153 enableval=$enable_stdpaths;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7156 else
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7158 fi
7159
7160 else
7161
7162 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7163
7164 fi
7165
7166
7167 eval "$wx_cv_use_stdpaths"
7168
7169 if test x"$enablestring" = xdisable; then
7170 if test $wxUSE_STDPATHS = yes; then
7171 result=no
7172 else
7173 result=yes
7174 fi
7175 else
7176 result=$wxUSE_STDPATHS
7177 fi
7178
7179 { echo "$as_me:$LINENO: result: $result" >&5
7180 echo "${ECHO_T}$result" >&6; }
7181
7182
7183 enablestring=
7184 defaultval=$wxUSE_ALL_FEATURES
7185 if test -z "$defaultval"; then
7186 if test x"$enablestring" = xdisable; then
7187 defaultval=yes
7188 else
7189 defaultval=no
7190 fi
7191 fi
7192
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7195 # Check whether --enable-stopwatch was given.
7196 if test "${enable_stopwatch+set}" = set; then
7197 enableval=$enable_stopwatch;
7198 if test "$enableval" = yes; then
7199 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7200 else
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7202 fi
7203
7204 else
7205
7206 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7207
7208 fi
7209
7210
7211 eval "$wx_cv_use_stopwatch"
7212
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_STOPWATCH = yes; then
7215 result=no
7216 else
7217 result=yes
7218 fi
7219 else
7220 result=$wxUSE_STOPWATCH
7221 fi
7222
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7225
7226
7227 enablestring=
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7231 defaultval=yes
7232 else
7233 defaultval=no
7234 fi
7235 fi
7236
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7239 # Check whether --enable-streams was given.
7240 if test "${enable_streams+set}" = set; then
7241 enableval=$enable_streams;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_streams='wxUSE_STREAMS=yes'
7244 else
7245 wx_cv_use_streams='wxUSE_STREAMS=no'
7246 fi
7247
7248 else
7249
7250 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7251
7252 fi
7253
7254
7255 eval "$wx_cv_use_streams"
7256
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_STREAMS = yes; then
7259 result=no
7260 else
7261 result=yes
7262 fi
7263 else
7264 result=$wxUSE_STREAMS
7265 fi
7266
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7269
7270
7271 enablestring=
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7275 defaultval=yes
7276 else
7277 defaultval=no
7278 fi
7279 fi
7280
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7283 # Check whether --enable-system_options was given.
7284 if test "${enable_system_options+set}" = set; then
7285 enableval=$enable_system_options;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7288 else
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7290 fi
7291
7292 else
7293
7294 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7295
7296 fi
7297
7298
7299 eval "$wx_cv_use_system_options"
7300
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7303 result=no
7304 else
7305 result=yes
7306 fi
7307 else
7308 result=$wxUSE_SYSTEM_OPTIONS
7309 fi
7310
7311 { echo "$as_me:$LINENO: result: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7313
7314
7315 enablestring=
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7319 defaultval=yes
7320 else
7321 defaultval=no
7322 fi
7323 fi
7324
7325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7326 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7327 # Check whether --enable-tarstream was given.
7328 if test "${enable_tarstream+set}" = set; then
7329 enableval=$enable_tarstream;
7330 if test "$enableval" = yes; then
7331 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7332 else
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7334 fi
7335
7336 else
7337
7338 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7339
7340 fi
7341
7342
7343 eval "$wx_cv_use_tarstream"
7344
7345 if test x"$enablestring" = xdisable; then
7346 if test $wxUSE_TARSTREAM = yes; then
7347 result=no
7348 else
7349 result=yes
7350 fi
7351 else
7352 result=$wxUSE_TARSTREAM
7353 fi
7354
7355 { echo "$as_me:$LINENO: result: $result" >&5
7356 echo "${ECHO_T}$result" >&6; }
7357
7358
7359 enablestring=
7360 defaultval=$wxUSE_ALL_FEATURES
7361 if test -z "$defaultval"; then
7362 if test x"$enablestring" = xdisable; then
7363 defaultval=yes
7364 else
7365 defaultval=no
7366 fi
7367 fi
7368
7369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7370 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7371 # Check whether --enable-textbuf was given.
7372 if test "${enable_textbuf+set}" = set; then
7373 enableval=$enable_textbuf;
7374 if test "$enableval" = yes; then
7375 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7376 else
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7378 fi
7379
7380 else
7381
7382 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7383
7384 fi
7385
7386
7387 eval "$wx_cv_use_textbuf"
7388
7389 if test x"$enablestring" = xdisable; then
7390 if test $wxUSE_TEXTBUFFER = yes; then
7391 result=no
7392 else
7393 result=yes
7394 fi
7395 else
7396 result=$wxUSE_TEXTBUFFER
7397 fi
7398
7399 { echo "$as_me:$LINENO: result: $result" >&5
7400 echo "${ECHO_T}$result" >&6; }
7401
7402
7403 enablestring=
7404 defaultval=$wxUSE_ALL_FEATURES
7405 if test -z "$defaultval"; then
7406 if test x"$enablestring" = xdisable; then
7407 defaultval=yes
7408 else
7409 defaultval=no
7410 fi
7411 fi
7412
7413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7415 # Check whether --enable-textfile was given.
7416 if test "${enable_textfile+set}" = set; then
7417 enableval=$enable_textfile;
7418 if test "$enableval" = yes; then
7419 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7420 else
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7422 fi
7423
7424 else
7425
7426 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7427
7428 fi
7429
7430
7431 eval "$wx_cv_use_textfile"
7432
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_TEXTFILE = yes; then
7435 result=no
7436 else
7437 result=yes
7438 fi
7439 else
7440 result=$wxUSE_TEXTFILE
7441 fi
7442
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7445
7446
7447 enablestring=
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7451 defaultval=yes
7452 else
7453 defaultval=no
7454 fi
7455 fi
7456
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7459 # Check whether --enable-timer was given.
7460 if test "${enable_timer+set}" = set; then
7461 enableval=$enable_timer;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_timer='wxUSE_TIMER=yes'
7464 else
7465 wx_cv_use_timer='wxUSE_TIMER=no'
7466 fi
7467
7468 else
7469
7470 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7471
7472 fi
7473
7474
7475 eval "$wx_cv_use_timer"
7476
7477 if test x"$enablestring" = xdisable; then
7478 if test $wxUSE_TIMER = yes; then
7479 result=no
7480 else
7481 result=yes
7482 fi
7483 else
7484 result=$wxUSE_TIMER
7485 fi
7486
7487 { echo "$as_me:$LINENO: result: $result" >&5
7488 echo "${ECHO_T}$result" >&6; }
7489
7490
7491 enablestring=
7492 defaultval=$wxUSE_ALL_FEATURES
7493 if test -z "$defaultval"; then
7494 if test x"$enablestring" = xdisable; then
7495 defaultval=yes
7496 else
7497 defaultval=no
7498 fi
7499 fi
7500
7501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7503 # Check whether --enable-sound was given.
7504 if test "${enable_sound+set}" = set; then
7505 enableval=$enable_sound;
7506 if test "$enableval" = yes; then
7507 wx_cv_use_sound='wxUSE_SOUND=yes'
7508 else
7509 wx_cv_use_sound='wxUSE_SOUND=no'
7510 fi
7511
7512 else
7513
7514 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7515
7516 fi
7517
7518
7519 eval "$wx_cv_use_sound"
7520
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_SOUND = yes; then
7523 result=no
7524 else
7525 result=yes
7526 fi
7527 else
7528 result=$wxUSE_SOUND
7529 fi
7530
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7533
7534
7535 enablestring=
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7539 defaultval=yes
7540 else
7541 defaultval=no
7542 fi
7543 fi
7544
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7547 # Check whether --enable-mediactrl was given.
7548 if test "${enable_mediactrl+set}" = set; then
7549 enableval=$enable_mediactrl;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7552 else
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7554 fi
7555
7556 else
7557
7558 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7559
7560 fi
7561
7562
7563 eval "$wx_cv_use_mediactrl"
7564
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_MEDIACTRL = yes; then
7567 result=no
7568 else
7569 result=yes
7570 fi
7571 else
7572 result=$wxUSE_MEDIACTRL
7573 fi
7574
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7577
7578
7579 enablestring=
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7583 defaultval=yes
7584 else
7585 defaultval=no
7586 fi
7587 fi
7588
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7591 # Check whether --enable-gstreamer8 was given.
7592 if test "${enable_gstreamer8+set}" = set; then
7593 enableval=$enable_gstreamer8;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7596 else
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7598 fi
7599
7600 else
7601
7602 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7603
7604 fi
7605
7606
7607 eval "$wx_cv_use_gstreamer8"
7608
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_GSTREAMER8 = yes; then
7611 result=no
7612 else
7613 result=yes
7614 fi
7615 else
7616 result=$wxUSE_GSTREAMER8
7617 fi
7618
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7621
7622
7623 enablestring=
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7627 defaultval=yes
7628 else
7629 defaultval=no
7630 fi
7631 fi
7632
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7635 # Check whether --enable-printfposparam was given.
7636 if test "${enable_printfposparam+set}" = set; then
7637 enableval=$enable_printfposparam;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7640 else
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7642 fi
7643
7644 else
7645
7646 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7647
7648 fi
7649
7650
7651 eval "$wx_cv_use_printfposparam"
7652
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7655 result=no
7656 else
7657 result=yes
7658 fi
7659 else
7660 result=$wxUSE_PRINTF_POS_PARAMS
7661 fi
7662
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7665
7666
7667 enablestring=
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7671 defaultval=yes
7672 else
7673 defaultval=no
7674 fi
7675 fi
7676
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7679 # Check whether --enable-zipstream was given.
7680 if test "${enable_zipstream+set}" = set; then
7681 enableval=$enable_zipstream;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7684 else
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7686 fi
7687
7688 else
7689
7690 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7691
7692 fi
7693
7694
7695 eval "$wx_cv_use_zipstream"
7696
7697 if test x"$enablestring" = xdisable; then
7698 if test $wxUSE_ZIPSTREAM = yes; then
7699 result=no
7700 else
7701 result=yes
7702 fi
7703 else
7704 result=$wxUSE_ZIPSTREAM
7705 fi
7706
7707 { echo "$as_me:$LINENO: result: $result" >&5
7708 echo "${ECHO_T}$result" >&6; }
7709
7710
7711
7712 enablestring=
7713 defaultval=$wxUSE_ALL_FEATURES
7714 if test -z "$defaultval"; then
7715 if test x"$enablestring" = xdisable; then
7716 defaultval=yes
7717 else
7718 defaultval=no
7719 fi
7720 fi
7721
7722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7723 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7724 # Check whether --enable-url was given.
7725 if test "${enable_url+set}" = set; then
7726 enableval=$enable_url;
7727 if test "$enableval" = yes; then
7728 wx_cv_use_url='wxUSE_URL=yes'
7729 else
7730 wx_cv_use_url='wxUSE_URL=no'
7731 fi
7732
7733 else
7734
7735 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7736
7737 fi
7738
7739
7740 eval "$wx_cv_use_url"
7741
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_URL = yes; then
7744 result=no
7745 else
7746 result=yes
7747 fi
7748 else
7749 result=$wxUSE_URL
7750 fi
7751
7752 { echo "$as_me:$LINENO: result: $result" >&5
7753 echo "${ECHO_T}$result" >&6; }
7754
7755
7756 enablestring=
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7760 defaultval=yes
7761 else
7762 defaultval=no
7763 fi
7764 fi
7765
7766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7768 # Check whether --enable-variant was given.
7769 if test "${enable_variant+set}" = set; then
7770 enableval=$enable_variant;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_variant='wxUSE_VARIANT=yes'
7773 else
7774 wx_cv_use_variant='wxUSE_VARIANT=no'
7775 fi
7776
7777 else
7778
7779 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7780
7781 fi
7782
7783
7784 eval "$wx_cv_use_variant"
7785
7786 if test x"$enablestring" = xdisable; then
7787 if test $wxUSE_VARIANT = yes; then
7788 result=no
7789 else
7790 result=yes
7791 fi
7792 else
7793 result=$wxUSE_VARIANT
7794 fi
7795
7796 { echo "$as_me:$LINENO: result: $result" >&5
7797 echo "${ECHO_T}$result" >&6; }
7798
7799
7800 enablestring=
7801 defaultval=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x"$enablestring" = xdisable; then
7804 defaultval=yes
7805 else
7806 defaultval=no
7807 fi
7808 fi
7809
7810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7811 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7812 # Check whether --enable-protocol was given.
7813 if test "${enable_protocol+set}" = set; then
7814 enableval=$enable_protocol;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7817 else
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7819 fi
7820
7821 else
7822
7823 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7824
7825 fi
7826
7827
7828 eval "$wx_cv_use_protocol"
7829
7830 if test x"$enablestring" = xdisable; then
7831 if test $wxUSE_PROTOCOL = yes; then
7832 result=no
7833 else
7834 result=yes
7835 fi
7836 else
7837 result=$wxUSE_PROTOCOL
7838 fi
7839
7840 { echo "$as_me:$LINENO: result: $result" >&5
7841 echo "${ECHO_T}$result" >&6; }
7842
7843
7844 enablestring=
7845 defaultval=$wxUSE_ALL_FEATURES
7846 if test -z "$defaultval"; then
7847 if test x"$enablestring" = xdisable; then
7848 defaultval=yes
7849 else
7850 defaultval=no
7851 fi
7852 fi
7853
7854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7856 # Check whether --enable-protocol_http was given.
7857 if test "${enable_protocol_http+set}" = set; then
7858 enableval=$enable_protocol_http;
7859 if test "$enableval" = yes; then
7860 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7861 else
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7863 fi
7864
7865 else
7866
7867 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7868
7869 fi
7870
7871
7872 eval "$wx_cv_use_protocol_http"
7873
7874 if test x"$enablestring" = xdisable; then
7875 if test $wxUSE_PROTOCOL_HTTP = yes; then
7876 result=no
7877 else
7878 result=yes
7879 fi
7880 else
7881 result=$wxUSE_PROTOCOL_HTTP
7882 fi
7883
7884 { echo "$as_me:$LINENO: result: $result" >&5
7885 echo "${ECHO_T}$result" >&6; }
7886
7887
7888 enablestring=
7889 defaultval=$wxUSE_ALL_FEATURES
7890 if test -z "$defaultval"; then
7891 if test x"$enablestring" = xdisable; then
7892 defaultval=yes
7893 else
7894 defaultval=no
7895 fi
7896 fi
7897
7898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7900 # Check whether --enable-protocol_ftp was given.
7901 if test "${enable_protocol_ftp+set}" = set; then
7902 enableval=$enable_protocol_ftp;
7903 if test "$enableval" = yes; then
7904 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7905 else
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7907 fi
7908
7909 else
7910
7911 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7912
7913 fi
7914
7915
7916 eval "$wx_cv_use_protocol_ftp"
7917
7918 if test x"$enablestring" = xdisable; then
7919 if test $wxUSE_PROTOCOL_FTP = yes; then
7920 result=no
7921 else
7922 result=yes
7923 fi
7924 else
7925 result=$wxUSE_PROTOCOL_FTP
7926 fi
7927
7928 { echo "$as_me:$LINENO: result: $result" >&5
7929 echo "${ECHO_T}$result" >&6; }
7930
7931
7932 enablestring=
7933 defaultval=$wxUSE_ALL_FEATURES
7934 if test -z "$defaultval"; then
7935 if test x"$enablestring" = xdisable; then
7936 defaultval=yes
7937 else
7938 defaultval=no
7939 fi
7940 fi
7941
7942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7943 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7944 # Check whether --enable-protocol_file was given.
7945 if test "${enable_protocol_file+set}" = set; then
7946 enableval=$enable_protocol_file;
7947 if test "$enableval" = yes; then
7948 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7949 else
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7951 fi
7952
7953 else
7954
7955 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7956
7957 fi
7958
7959
7960 eval "$wx_cv_use_protocol_file"
7961
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_PROTOCOL_FILE = yes; then
7964 result=no
7965 else
7966 result=yes
7967 fi
7968 else
7969 result=$wxUSE_PROTOCOL_FILE
7970 fi
7971
7972 { echo "$as_me:$LINENO: result: $result" >&5
7973 echo "${ECHO_T}$result" >&6; }
7974
7975
7976
7977 enablestring=
7978 defaultval=$wxUSE_ALL_FEATURES
7979 if test -z "$defaultval"; then
7980 if test x"$enablestring" = xdisable; then
7981 defaultval=yes
7982 else
7983 defaultval=no
7984 fi
7985 fi
7986
7987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7989 # Check whether --enable-threads was given.
7990 if test "${enable_threads+set}" = set; then
7991 enableval=$enable_threads;
7992 if test "$enableval" = yes; then
7993 wx_cv_use_threads='wxUSE_THREADS=yes'
7994 else
7995 wx_cv_use_threads='wxUSE_THREADS=no'
7996 fi
7997
7998 else
7999
8000 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8001
8002 fi
8003
8004
8005 eval "$wx_cv_use_threads"
8006
8007 if test x"$enablestring" = xdisable; then
8008 if test $wxUSE_THREADS = yes; then
8009 result=no
8010 else
8011 result=yes
8012 fi
8013 else
8014 result=$wxUSE_THREADS
8015 fi
8016
8017 { echo "$as_me:$LINENO: result: $result" >&5
8018 echo "${ECHO_T}$result" >&6; }
8019
8020
8021
8022 enablestring=
8023 defaultval=
8024 if test -z "$defaultval"; then
8025 if test x"$enablestring" = xdisable; then
8026 defaultval=yes
8027 else
8028 defaultval=no
8029 fi
8030 fi
8031
8032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8034 # Check whether --enable-iniconf was given.
8035 if test "${enable_iniconf+set}" = set; then
8036 enableval=$enable_iniconf;
8037 if test "$enableval" = yes; then
8038 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8039 else
8040 wx_cv_use_iniconf='wxUSE_INICONF=no'
8041 fi
8042
8043 else
8044
8045 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8046
8047 fi
8048
8049
8050 eval "$wx_cv_use_iniconf"
8051
8052 if test x"$enablestring" = xdisable; then
8053 if test $wxUSE_INICONF = yes; then
8054 result=no
8055 else
8056 result=yes
8057 fi
8058 else
8059 result=$wxUSE_INICONF
8060 fi
8061
8062 { echo "$as_me:$LINENO: result: $result" >&5
8063 echo "${ECHO_T}$result" >&6; }
8064
8065
8066 enablestring=
8067 defaultval=$wxUSE_ALL_FEATURES
8068 if test -z "$defaultval"; then
8069 if test x"$enablestring" = xdisable; then
8070 defaultval=yes
8071 else
8072 defaultval=no
8073 fi
8074 fi
8075
8076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8078 # Check whether --enable-regkey was given.
8079 if test "${enable_regkey+set}" = set; then
8080 enableval=$enable_regkey;
8081 if test "$enableval" = yes; then
8082 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8083 else
8084 wx_cv_use_regkey='wxUSE_REGKEY=no'
8085 fi
8086
8087 else
8088
8089 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8090
8091 fi
8092
8093
8094 eval "$wx_cv_use_regkey"
8095
8096 if test x"$enablestring" = xdisable; then
8097 if test $wxUSE_REGKEY = yes; then
8098 result=no
8099 else
8100 result=yes
8101 fi
8102 else
8103 result=$wxUSE_REGKEY
8104 fi
8105
8106 { echo "$as_me:$LINENO: result: $result" >&5
8107 echo "${ECHO_T}$result" >&6; }
8108
8109
8110 if test "$wxUSE_GUI" = "yes"; then
8111
8112
8113
8114 enablestring=
8115 defaultval=$wxUSE_ALL_FEATURES
8116 if test -z "$defaultval"; then
8117 if test x"$enablestring" = xdisable; then
8118 defaultval=yes
8119 else
8120 defaultval=no
8121 fi
8122 fi
8123
8124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8126 # Check whether --enable-docview was given.
8127 if test "${enable_docview+set}" = set; then
8128 enableval=$enable_docview;
8129 if test "$enableval" = yes; then
8130 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8131 else
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8133 fi
8134
8135 else
8136
8137 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8138
8139 fi
8140
8141
8142 eval "$wx_cv_use_docview"
8143
8144 if test x"$enablestring" = xdisable; then
8145 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8146 result=no
8147 else
8148 result=yes
8149 fi
8150 else
8151 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8152 fi
8153
8154 { echo "$as_me:$LINENO: result: $result" >&5
8155 echo "${ECHO_T}$result" >&6; }
8156
8157
8158 enablestring=
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8162 defaultval=yes
8163 else
8164 defaultval=no
8165 fi
8166 fi
8167
8168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8170 # Check whether --enable-help was given.
8171 if test "${enable_help+set}" = set; then
8172 enableval=$enable_help;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_help='wxUSE_HELP=yes'
8175 else
8176 wx_cv_use_help='wxUSE_HELP=no'
8177 fi
8178
8179 else
8180
8181 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8182
8183 fi
8184
8185
8186 eval "$wx_cv_use_help"
8187
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_HELP = yes; then
8190 result=no
8191 else
8192 result=yes
8193 fi
8194 else
8195 result=$wxUSE_HELP
8196 fi
8197
8198 { echo "$as_me:$LINENO: result: $result" >&5
8199 echo "${ECHO_T}$result" >&6; }
8200
8201
8202 enablestring=
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8206 defaultval=yes
8207 else
8208 defaultval=no
8209 fi
8210 fi
8211
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8214 # Check whether --enable-mshtmlhelp was given.
8215 if test "${enable_mshtmlhelp+set}" = set; then
8216 enableval=$enable_mshtmlhelp;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8219 else
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8221 fi
8222
8223 else
8224
8225 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8226
8227 fi
8228
8229
8230 eval "$wx_cv_use_mshtmlhelp"
8231
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_MS_HTML_HELP = yes; then
8234 result=no
8235 else
8236 result=yes
8237 fi
8238 else
8239 result=$wxUSE_MS_HTML_HELP
8240 fi
8241
8242 { echo "$as_me:$LINENO: result: $result" >&5
8243 echo "${ECHO_T}$result" >&6; }
8244
8245
8246 enablestring=
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8250 defaultval=yes
8251 else
8252 defaultval=no
8253 fi
8254 fi
8255
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8258 # Check whether --enable-html was given.
8259 if test "${enable_html+set}" = set; then
8260 enableval=$enable_html;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_html='wxUSE_HTML=yes'
8263 else
8264 wx_cv_use_html='wxUSE_HTML=no'
8265 fi
8266
8267 else
8268
8269 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8270
8271 fi
8272
8273
8274 eval "$wx_cv_use_html"
8275
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_HTML = yes; then
8278 result=no
8279 else
8280 result=yes
8281 fi
8282 else
8283 result=$wxUSE_HTML
8284 fi
8285
8286 { echo "$as_me:$LINENO: result: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8288
8289
8290 enablestring=
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8294 defaultval=yes
8295 else
8296 defaultval=no
8297 fi
8298 fi
8299
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8302 # Check whether --enable-htmlhelp was given.
8303 if test "${enable_htmlhelp+set}" = set; then
8304 enableval=$enable_htmlhelp;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8307 else
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8309 fi
8310
8311 else
8312
8313 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8314
8315 fi
8316
8317
8318 eval "$wx_cv_use_htmlhelp"
8319
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_WXHTML_HELP = yes; then
8322 result=no
8323 else
8324 result=yes
8325 fi
8326 else
8327 result=$wxUSE_WXHTML_HELP
8328 fi
8329
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8332
8333
8334 enablestring=
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8338 defaultval=yes
8339 else
8340 defaultval=no
8341 fi
8342 fi
8343
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8346 # Check whether --enable-xrc was given.
8347 if test "${enable_xrc+set}" = set; then
8348 enableval=$enable_xrc;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_xrc='wxUSE_XRC=yes'
8351 else
8352 wx_cv_use_xrc='wxUSE_XRC=no'
8353 fi
8354
8355 else
8356
8357 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8358
8359 fi
8360
8361
8362 eval "$wx_cv_use_xrc"
8363
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_XRC = yes; then
8366 result=no
8367 else
8368 result=yes
8369 fi
8370 else
8371 result=$wxUSE_XRC
8372 fi
8373
8374 { echo "$as_me:$LINENO: result: $result" >&5
8375 echo "${ECHO_T}$result" >&6; }
8376
8377
8378 enablestring=
8379 defaultval=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x"$enablestring" = xdisable; then
8382 defaultval=yes
8383 else
8384 defaultval=no
8385 fi
8386 fi
8387
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8390 # Check whether --enable-aui was given.
8391 if test "${enable_aui+set}" = set; then
8392 enableval=$enable_aui;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_aui='wxUSE_AUI=yes'
8395 else
8396 wx_cv_use_aui='wxUSE_AUI=no'
8397 fi
8398
8399 else
8400
8401 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8402
8403 fi
8404
8405
8406 eval "$wx_cv_use_aui"
8407
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_AUI = yes; then
8410 result=no
8411 else
8412 result=yes
8413 fi
8414 else
8415 result=$wxUSE_AUI
8416 fi
8417
8418 { echo "$as_me:$LINENO: result: $result" >&5
8419 echo "${ECHO_T}$result" >&6; }
8420
8421
8422 enablestring=
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8426 defaultval=yes
8427 else
8428 defaultval=no
8429 fi
8430 fi
8431
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8434 # Check whether --enable-stc was given.
8435 if test "${enable_stc+set}" = set; then
8436 enableval=$enable_stc;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_stc='wxUSE_STC=yes'
8439 else
8440 wx_cv_use_stc='wxUSE_STC=no'
8441 fi
8442
8443 else
8444
8445 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8446
8447 fi
8448
8449
8450 eval "$wx_cv_use_stc"
8451
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_STC = yes; then
8454 result=no
8455 else
8456 result=yes
8457 fi
8458 else
8459 result=$wxUSE_STC
8460 fi
8461
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8464
8465
8466 enablestring=
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8470 defaultval=yes
8471 else
8472 defaultval=no
8473 fi
8474 fi
8475
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8478 # Check whether --enable-constraints was given.
8479 if test "${enable_constraints+set}" = set; then
8480 enableval=$enable_constraints;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8483 else
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8485 fi
8486
8487 else
8488
8489 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_constraints"
8495
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_CONSTRAINTS = yes; then
8498 result=no
8499 else
8500 result=yes
8501 fi
8502 else
8503 result=$wxUSE_CONSTRAINTS
8504 fi
8505
8506 { echo "$as_me:$LINENO: result: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8508
8509
8510 enablestring=
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8514 defaultval=yes
8515 else
8516 defaultval=no
8517 fi
8518 fi
8519
8520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8521 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8522 # Check whether --enable-printarch was given.
8523 if test "${enable_printarch+set}" = set; then
8524 enableval=$enable_printarch;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8527 else
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8529 fi
8530
8531 else
8532
8533 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8534
8535 fi
8536
8537
8538 eval "$wx_cv_use_printarch"
8539
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8542 result=no
8543 else
8544 result=yes
8545 fi
8546 else
8547 result=$wxUSE_PRINTING_ARCHITECTURE
8548 fi
8549
8550 { echo "$as_me:$LINENO: result: $result" >&5
8551 echo "${ECHO_T}$result" >&6; }
8552
8553
8554 enablestring=
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8558 defaultval=yes
8559 else
8560 defaultval=no
8561 fi
8562 fi
8563
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8566 # Check whether --enable-mdi was given.
8567 if test "${enable_mdi+set}" = set; then
8568 enableval=$enable_mdi;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_mdi='wxUSE_MDI=yes'
8571 else
8572 wx_cv_use_mdi='wxUSE_MDI=no'
8573 fi
8574
8575 else
8576
8577 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8578
8579 fi
8580
8581
8582 eval "$wx_cv_use_mdi"
8583
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_MDI = yes; then
8586 result=no
8587 else
8588 result=yes
8589 fi
8590 else
8591 result=$wxUSE_MDI
8592 fi
8593
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8596
8597
8598 enablestring=
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8602 defaultval=yes
8603 else
8604 defaultval=no
8605 fi
8606 fi
8607
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8610 # Check whether --enable-mdidoc was given.
8611 if test "${enable_mdidoc+set}" = set; then
8612 enableval=$enable_mdidoc;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8615 else
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8617 fi
8618
8619 else
8620
8621 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8622
8623 fi
8624
8625
8626 eval "$wx_cv_use_mdidoc"
8627
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8630 result=no
8631 else
8632 result=yes
8633 fi
8634 else
8635 result=$wxUSE_MDI_ARCHITECTURE
8636 fi
8637
8638 { echo "$as_me:$LINENO: result: $result" >&5
8639 echo "${ECHO_T}$result" >&6; }
8640
8641
8642 enablestring=
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8646 defaultval=yes
8647 else
8648 defaultval=no
8649 fi
8650 fi
8651
8652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8654 # Check whether --enable-loggui was given.
8655 if test "${enable_loggui+set}" = set; then
8656 enableval=$enable_loggui;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8659 else
8660 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8661 fi
8662
8663 else
8664
8665 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_loggui"
8671
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_LOGGUI = yes; then
8674 result=no
8675 else
8676 result=yes
8677 fi
8678 else
8679 result=$wxUSE_LOGGUI
8680 fi
8681
8682 { echo "$as_me:$LINENO: result: $result" >&5
8683 echo "${ECHO_T}$result" >&6; }
8684
8685
8686 enablestring=
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8690 defaultval=yes
8691 else
8692 defaultval=no
8693 fi
8694 fi
8695
8696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8698 # Check whether --enable-logwin was given.
8699 if test "${enable_logwin+set}" = set; then
8700 enableval=$enable_logwin;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8703 else
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8705 fi
8706
8707 else
8708
8709 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$wx_cv_use_logwin"
8715
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_LOGWINDOW = yes; then
8718 result=no
8719 else
8720 result=yes
8721 fi
8722 else
8723 result=$wxUSE_LOGWINDOW
8724 fi
8725
8726 { echo "$as_me:$LINENO: result: $result" >&5
8727 echo "${ECHO_T}$result" >&6; }
8728
8729
8730 enablestring=
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8734 defaultval=yes
8735 else
8736 defaultval=no
8737 fi
8738 fi
8739
8740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8742 # Check whether --enable-logdialog was given.
8743 if test "${enable_logdialog+set}" = set; then
8744 enableval=$enable_logdialog;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8747 else
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8749 fi
8750
8751 else
8752
8753 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8754
8755 fi
8756
8757
8758 eval "$wx_cv_use_logdialog"
8759
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_LOGDIALOG = yes; then
8762 result=no
8763 else
8764 result=yes
8765 fi
8766 else
8767 result=$wxUSE_LOGDIALOG
8768 fi
8769
8770 { echo "$as_me:$LINENO: result: $result" >&5
8771 echo "${ECHO_T}$result" >&6; }
8772
8773
8774 enablestring=
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8778 defaultval=yes
8779 else
8780 defaultval=no
8781 fi
8782 fi
8783
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8786 # Check whether --enable-webkit was given.
8787 if test "${enable_webkit+set}" = set; then
8788 enableval=$enable_webkit;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8791 else
8792 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8793 fi
8794
8795 else
8796
8797 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8798
8799 fi
8800
8801
8802 eval "$wx_cv_use_webkit"
8803
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_WEBKIT = yes; then
8806 result=no
8807 else
8808 result=yes
8809 fi
8810 else
8811 result=$wxUSE_WEBKIT
8812 fi
8813
8814 { echo "$as_me:$LINENO: result: $result" >&5
8815 echo "${ECHO_T}$result" >&6; }
8816
8817
8818 enablestring=
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8822 defaultval=yes
8823 else
8824 defaultval=no
8825 fi
8826 fi
8827
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8830 # Check whether --enable-richtext was given.
8831 if test "${enable_richtext+set}" = set; then
8832 enableval=$enable_richtext;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8835 else
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8837 fi
8838
8839 else
8840
8841 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8842
8843 fi
8844
8845
8846 eval "$wx_cv_use_richtext"
8847
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_RICHTEXT = yes; then
8850 result=no
8851 else
8852 result=yes
8853 fi
8854 else
8855 result=$wxUSE_RICHTEXT
8856 fi
8857
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8860
8861
8862 enablestring=
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8866 defaultval=yes
8867 else
8868 defaultval=no
8869 fi
8870 fi
8871
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8874 # Check whether --enable-graphics_ctx was given.
8875 if test "${enable_graphics_ctx+set}" = set; then
8876 enableval=$enable_graphics_ctx;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8879 else
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8881 fi
8882
8883 else
8884
8885 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8886
8887 fi
8888
8889
8890 eval "$wx_cv_use_graphics_ctx"
8891
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8894 result=no
8895 else
8896 result=yes
8897 fi
8898 else
8899 result=$wxUSE_GRAPHICS_CONTEXT
8900 fi
8901
8902 { echo "$as_me:$LINENO: result: $result" >&5
8903 echo "${ECHO_T}$result" >&6; }
8904
8905
8906 enablestring=
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8910 defaultval=yes
8911 else
8912 defaultval=no
8913 fi
8914 fi
8915
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8918 # Check whether --enable-postscript was given.
8919 if test "${enable_postscript+set}" = set; then
8920 enableval=$enable_postscript;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8923 else
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8925 fi
8926
8927 else
8928
8929 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8930
8931 fi
8932
8933
8934 eval "$wx_cv_use_postscript"
8935
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_POSTSCRIPT = yes; then
8938 result=no
8939 else
8940 result=yes
8941 fi
8942 else
8943 result=$wxUSE_POSTSCRIPT
8944 fi
8945
8946 { echo "$as_me:$LINENO: result: $result" >&5
8947 echo "${ECHO_T}$result" >&6; }
8948
8949
8950 enablestring=
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8954 defaultval=yes
8955 else
8956 defaultval=no
8957 fi
8958 fi
8959
8960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8962 # Check whether --enable-svg was given.
8963 if test "${enable_svg+set}" = set; then
8964 enableval=$enable_svg;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_svg='wxUSE_SVG=yes'
8967 else
8968 wx_cv_use_svg='wxUSE_SVG=no'
8969 fi
8970
8971 else
8972
8973 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8974
8975 fi
8976
8977
8978 eval "$wx_cv_use_svg"
8979
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_SVG = yes; then
8982 result=no
8983 else
8984 result=yes
8985 fi
8986 else
8987 result=$wxUSE_SVG
8988 fi
8989
8990 { echo "$as_me:$LINENO: result: $result" >&5
8991 echo "${ECHO_T}$result" >&6; }
8992
8993
8994
8995
8996 enablestring=
8997 defaultval=$wxUSE_ALL_FEATURES
8998 if test -z "$defaultval"; then
8999 if test x"$enablestring" = xdisable; then
9000 defaultval=yes
9001 else
9002 defaultval=no
9003 fi
9004 fi
9005
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9008 # Check whether --enable-clipboard was given.
9009 if test "${enable_clipboard+set}" = set; then
9010 enableval=$enable_clipboard;
9011 if test "$enableval" = yes; then
9012 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9013 else
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9015 fi
9016
9017 else
9018
9019 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9020
9021 fi
9022
9023
9024 eval "$wx_cv_use_clipboard"
9025
9026 if test x"$enablestring" = xdisable; then
9027 if test $wxUSE_CLIPBOARD = yes; then
9028 result=no
9029 else
9030 result=yes
9031 fi
9032 else
9033 result=$wxUSE_CLIPBOARD
9034 fi
9035
9036 { echo "$as_me:$LINENO: result: $result" >&5
9037 echo "${ECHO_T}$result" >&6; }
9038
9039
9040 enablestring=
9041 defaultval=$wxUSE_ALL_FEATURES
9042 if test -z "$defaultval"; then
9043 if test x"$enablestring" = xdisable; then
9044 defaultval=yes
9045 else
9046 defaultval=no
9047 fi
9048 fi
9049
9050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9051 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9052 # Check whether --enable-dnd was given.
9053 if test "${enable_dnd+set}" = set; then
9054 enableval=$enable_dnd;
9055 if test "$enableval" = yes; then
9056 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9057 else
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9059 fi
9060
9061 else
9062
9063 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9064
9065 fi
9066
9067
9068 eval "$wx_cv_use_dnd"
9069
9070 if test x"$enablestring" = xdisable; then
9071 if test $wxUSE_DRAG_AND_DROP = yes; then
9072 result=no
9073 else
9074 result=yes
9075 fi
9076 else
9077 result=$wxUSE_DRAG_AND_DROP
9078 fi
9079
9080 { echo "$as_me:$LINENO: result: $result" >&5
9081 echo "${ECHO_T}$result" >&6; }
9082
9083
9084 enablestring=
9085 defaultval=$wxUSE_ALL_FEATURES
9086 if test -z "$defaultval"; then
9087 if test x"$enablestring" = xdisable; then
9088 defaultval=yes
9089 else
9090 defaultval=no
9091 fi
9092 fi
9093
9094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9095 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9096 # Check whether --enable-metafile was given.
9097 if test "${enable_metafile+set}" = set; then
9098 enableval=$enable_metafile;
9099 if test "$enableval" = yes; then
9100 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9101 else
9102 wx_cv_use_metafile='wxUSE_METAFILE=no'
9103 fi
9104
9105 else
9106
9107 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9108
9109 fi
9110
9111
9112 eval "$wx_cv_use_metafile"
9113
9114 if test x"$enablestring" = xdisable; then
9115 if test $wxUSE_METAFILE = yes; then
9116 result=no
9117 else
9118 result=yes
9119 fi
9120 else
9121 result=$wxUSE_METAFILE
9122 fi
9123
9124 { echo "$as_me:$LINENO: result: $result" >&5
9125 echo "${ECHO_T}$result" >&6; }
9126
9127
9128
9129 DEFAULT_wxUSE_CONTROLS=none
9130
9131 enablestring=disable
9132 defaultval=
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9135 defaultval=yes
9136 else
9137 defaultval=no
9138 fi
9139 fi
9140
9141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9143 # Check whether --enable-controls was given.
9144 if test "${enable_controls+set}" = set; then
9145 enableval=$enable_controls;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9148 else
9149 wx_cv_use_controls='wxUSE_CONTROLS=no'
9150 fi
9151
9152 else
9153
9154 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9155
9156 fi
9157
9158
9159 eval "$wx_cv_use_controls"
9160
9161 if test x"$enablestring" = xdisable; then
9162 if test $wxUSE_CONTROLS = yes; then
9163 result=no
9164 else
9165 result=yes
9166 fi
9167 else
9168 result=$wxUSE_CONTROLS
9169 fi
9170
9171 { echo "$as_me:$LINENO: result: $result" >&5
9172 echo "${ECHO_T}$result" >&6; }
9173
9174
9175 if test "$wxUSE_CONTROLS" = "yes"; then
9176 DEFAULT_wxUSE_ACCEL=yes
9177 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9178 DEFAULT_wxUSE_BMPBUTTON=yes
9179 DEFAULT_wxUSE_BUTTON=yes
9180 DEFAULT_wxUSE_CALCTRL=yes
9181 DEFAULT_wxUSE_CARET=yes
9182 DEFAULT_wxUSE_COMBOBOX=yes
9183 DEFAULT_wxUSE_CHECKBOX=yes
9184 DEFAULT_wxUSE_CHECKLISTBOX=yes
9185 DEFAULT_wxUSE_CHOICE=yes
9186 DEFAULT_wxUSE_CHOICEBOOK=yes
9187 DEFAULT_wxUSE_COLLPANE=yes
9188 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9189 DEFAULT_wxUSE_COMBOBOX=yes
9190 DEFAULT_wxUSE_DATEPICKCTRL=yes
9191 DEFAULT_wxUSE_DISPLAY=yes
9192 DEFAULT_wxUSE_DETECT_SM=yes
9193 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9194 DEFAULT_wxUSE_FILECTRL=yes
9195 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9196 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9197 DEFAULT_wxUSE_GAUGE=yes
9198 DEFAULT_wxUSE_GRID=yes
9199 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9200 DEFAULT_wxUSE_DATAVIEWCTRL=no
9201 DEFAULT_wxUSE_IMAGLIST=yes
9202 DEFAULT_wxUSE_LISTBOOK=yes
9203 DEFAULT_wxUSE_LISTBOX=yes
9204 DEFAULT_wxUSE_LISTCTRL=yes
9205 DEFAULT_wxUSE_NOTEBOOK=yes
9206 DEFAULT_wxUSE_RADIOBOX=yes
9207 DEFAULT_wxUSE_RADIOBTN=yes
9208 DEFAULT_wxUSE_SASH=yes
9209 DEFAULT_wxUSE_SCROLLBAR=yes
9210 DEFAULT_wxUSE_SEARCHCTRL=yes
9211 DEFAULT_wxUSE_SLIDER=yes
9212 DEFAULT_wxUSE_SPINBTN=yes
9213 DEFAULT_wxUSE_SPINCTRL=yes
9214 DEFAULT_wxUSE_SPLITTER=yes
9215 DEFAULT_wxUSE_STATBMP=yes
9216 DEFAULT_wxUSE_STATBOX=yes
9217 DEFAULT_wxUSE_STATLINE=yes
9218 DEFAULT_wxUSE_STATUSBAR=yes
9219 DEFAULT_wxUSE_TAB_DIALOG=yes
9220 DEFAULT_wxUSE_TOGGLEBTN=yes
9221 DEFAULT_wxUSE_TOOLBAR=yes
9222 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9223 DEFAULT_wxUSE_TOOLTIPS=yes
9224 DEFAULT_wxUSE_TREEBOOK=yes
9225 DEFAULT_wxUSE_TOOLBOOK=yes
9226 DEFAULT_wxUSE_TREECTRL=yes
9227 DEFAULT_wxUSE_POPUPWIN=yes
9228 DEFAULT_wxUSE_TIPWINDOW=yes
9229 elif test "$wxUSE_CONTROLS" = "no"; then
9230 DEFAULT_wxUSE_ACCEL=no
9231 DEFAULT_wxUSE_ANIMATIONCTRL=no
9232 DEFAULT_wxUSE_BMPBUTTON=no
9233 DEFAULT_wxUSE_BUTTON=no
9234 DEFAULT_wxUSE_CALCTRL=no
9235 DEFAULT_wxUSE_CARET=no
9236 DEFAULT_wxUSE_COLLPANE=no
9237 DEFAULT_wxUSE_COMBOBOX=no
9238 DEFAULT_wxUSE_CHECKBOX=no
9239 DEFAULT_wxUSE_CHECKLISTBOX=no
9240 DEFAULT_wxUSE_CHOICE=no
9241 DEFAULT_wxUSE_CHOICEBOOK=no
9242 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9243 DEFAULT_wxUSE_COMBOBOX=no
9244 DEFAULT_wxUSE_DATEPICKCTRL=no
9245 DEFAULT_wxUSE_DISPLAY=no
9246 DEFAULT_wxUSE_DETECT_SM=no
9247 DEFAULT_wxUSE_DIRPICKERCTRL=no
9248 DEFAULT_wxUSE_FILECTRL=no
9249 DEFAULT_wxUSE_FILEPICKERCTRL=no
9250 DEFAULT_wxUSE_FONTPICKERCTRL=no
9251 DEFAULT_wxUSE_GAUGE=no
9252 DEFAULT_wxUSE_GRID=no
9253 DEFAULT_wxUSE_HYPERLINKCTRL=no
9254 DEFAULT_wxUSE_DATAVIEWCTRL=no
9255 DEFAULT_wxUSE_IMAGLIST=no
9256 DEFAULT_wxUSE_LISTBOOK=no
9257 DEFAULT_wxUSE_LISTBOX=no
9258 DEFAULT_wxUSE_LISTCTRL=no
9259 DEFAULT_wxUSE_NOTEBOOK=no
9260 DEFAULT_wxUSE_RADIOBOX=no
9261 DEFAULT_wxUSE_RADIOBTN=no
9262 DEFAULT_wxUSE_SASH=no
9263 DEFAULT_wxUSE_SCROLLBAR=no
9264 DEFAULT_wxUSE_SEARCHCTRL=no
9265 DEFAULT_wxUSE_SLIDER=no
9266 DEFAULT_wxUSE_SPINBTN=no
9267 DEFAULT_wxUSE_SPINCTRL=no
9268 DEFAULT_wxUSE_SPLITTER=no
9269 DEFAULT_wxUSE_STATBMP=no
9270 DEFAULT_wxUSE_STATBOX=no
9271 DEFAULT_wxUSE_STATLINE=no
9272 DEFAULT_wxUSE_STATUSBAR=no
9273 DEFAULT_wxUSE_TAB_DIALOG=no
9274 DEFAULT_wxUSE_TOGGLEBTN=no
9275 DEFAULT_wxUSE_TOOLBAR=no
9276 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9277 DEFAULT_wxUSE_TOOLTIPS=no
9278 DEFAULT_wxUSE_TREEBOOK=no
9279 DEFAULT_wxUSE_TOOLBOOK=no
9280 DEFAULT_wxUSE_TREECTRL=no
9281 DEFAULT_wxUSE_POPUPWIN=no
9282 DEFAULT_wxUSE_TIPWINDOW=no
9283 fi
9284
9285
9286 enablestring=
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9290 defaultval=yes
9291 else
9292 defaultval=no
9293 fi
9294 fi
9295
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9298 # Check whether --enable-accel was given.
9299 if test "${enable_accel+set}" = set; then
9300 enableval=$enable_accel;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_accel='wxUSE_ACCEL=yes'
9303 else
9304 wx_cv_use_accel='wxUSE_ACCEL=no'
9305 fi
9306
9307 else
9308
9309 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9310
9311 fi
9312
9313
9314 eval "$wx_cv_use_accel"
9315
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_ACCEL = yes; then
9318 result=no
9319 else
9320 result=yes
9321 fi
9322 else
9323 result=$wxUSE_ACCEL
9324 fi
9325
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9328
9329
9330 enablestring=
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9334 defaultval=yes
9335 else
9336 defaultval=no
9337 fi
9338 fi
9339
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9342 # Check whether --enable-animatectrl was given.
9343 if test "${enable_animatectrl+set}" = set; then
9344 enableval=$enable_animatectrl;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9347 else
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9349 fi
9350
9351 else
9352
9353 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9354
9355 fi
9356
9357
9358 eval "$wx_cv_use_animatectrl"
9359
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_ANIMATIONCTRL = yes; then
9362 result=no
9363 else
9364 result=yes
9365 fi
9366 else
9367 result=$wxUSE_ANIMATIONCTRL
9368 fi
9369
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9372
9373
9374 enablestring=
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9386 # Check whether --enable-button was given.
9387 if test "${enable_button+set}" = set; then
9388 enableval=$enable_button;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_button='wxUSE_BUTTON=yes'
9391 else
9392 wx_cv_use_button='wxUSE_BUTTON=no'
9393 fi
9394
9395 else
9396
9397 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9398
9399 fi
9400
9401
9402 eval "$wx_cv_use_button"
9403
9404 if test x"$enablestring" = xdisable; then
9405 if test $wxUSE_BUTTON = yes; then
9406 result=no
9407 else
9408 result=yes
9409 fi
9410 else
9411 result=$wxUSE_BUTTON
9412 fi
9413
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9416
9417
9418 enablestring=
9419 defaultval=$wxUSE_ALL_FEATURES
9420 if test -z "$defaultval"; then
9421 if test x"$enablestring" = xdisable; then
9422 defaultval=yes
9423 else
9424 defaultval=no
9425 fi
9426 fi
9427
9428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9430 # Check whether --enable-bmpbutton was given.
9431 if test "${enable_bmpbutton+set}" = set; then
9432 enableval=$enable_bmpbutton;
9433 if test "$enableval" = yes; then
9434 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9435 else
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9437 fi
9438
9439 else
9440
9441 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9442
9443 fi
9444
9445
9446 eval "$wx_cv_use_bmpbutton"
9447
9448 if test x"$enablestring" = xdisable; then
9449 if test $wxUSE_BMPBUTTON = yes; then
9450 result=no
9451 else
9452 result=yes
9453 fi
9454 else
9455 result=$wxUSE_BMPBUTTON
9456 fi
9457
9458 { echo "$as_me:$LINENO: result: $result" >&5
9459 echo "${ECHO_T}$result" >&6; }
9460
9461
9462 enablestring=
9463 defaultval=$wxUSE_ALL_FEATURES
9464 if test -z "$defaultval"; then
9465 if test x"$enablestring" = xdisable; then
9466 defaultval=yes
9467 else
9468 defaultval=no
9469 fi
9470 fi
9471
9472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9474 # Check whether --enable-bmpcombobox was given.
9475 if test "${enable_bmpcombobox+set}" = set; then
9476 enableval=$enable_bmpcombobox;
9477 if test "$enableval" = yes; then
9478 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9479 else
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9481 fi
9482
9483 else
9484
9485 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9486
9487 fi
9488
9489
9490 eval "$wx_cv_use_bmpcombobox"
9491
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9494 result=no
9495 else
9496 result=yes
9497 fi
9498 else
9499 result=$wxUSE_BITMAPCOMBOBOX
9500 fi
9501
9502 { echo "$as_me:$LINENO: result: $result" >&5
9503 echo "${ECHO_T}$result" >&6; }
9504
9505
9506 enablestring=
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9510 defaultval=yes
9511 else
9512 defaultval=no
9513 fi
9514 fi
9515
9516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9518 # Check whether --enable-calendar was given.
9519 if test "${enable_calendar+set}" = set; then
9520 enableval=$enable_calendar;
9521 if test "$enableval" = yes; then
9522 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9523 else
9524 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9525 fi
9526
9527 else
9528
9529 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9530
9531 fi
9532
9533
9534 eval "$wx_cv_use_calendar"
9535
9536 if test x"$enablestring" = xdisable; then
9537 if test $wxUSE_CALCTRL = yes; then
9538 result=no
9539 else
9540 result=yes
9541 fi
9542 else
9543 result=$wxUSE_CALCTRL
9544 fi
9545
9546 { echo "$as_me:$LINENO: result: $result" >&5
9547 echo "${ECHO_T}$result" >&6; }
9548
9549
9550 enablestring=
9551 defaultval=$wxUSE_ALL_FEATURES
9552 if test -z "$defaultval"; then
9553 if test x"$enablestring" = xdisable; then
9554 defaultval=yes
9555 else
9556 defaultval=no
9557 fi
9558 fi
9559
9560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9562 # Check whether --enable-caret was given.
9563 if test "${enable_caret+set}" = set; then
9564 enableval=$enable_caret;
9565 if test "$enableval" = yes; then
9566 wx_cv_use_caret='wxUSE_CARET=yes'
9567 else
9568 wx_cv_use_caret='wxUSE_CARET=no'
9569 fi
9570
9571 else
9572
9573 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9574
9575 fi
9576
9577
9578 eval "$wx_cv_use_caret"
9579
9580 if test x"$enablestring" = xdisable; then
9581 if test $wxUSE_CARET = yes; then
9582 result=no
9583 else
9584 result=yes
9585 fi
9586 else
9587 result=$wxUSE_CARET
9588 fi
9589
9590 { echo "$as_me:$LINENO: result: $result" >&5
9591 echo "${ECHO_T}$result" >&6; }
9592
9593
9594 enablestring=
9595 defaultval=$wxUSE_ALL_FEATURES
9596 if test -z "$defaultval"; then
9597 if test x"$enablestring" = xdisable; then
9598 defaultval=yes
9599 else
9600 defaultval=no
9601 fi
9602 fi
9603
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9606 # Check whether --enable-checkbox was given.
9607 if test "${enable_checkbox+set}" = set; then
9608 enableval=$enable_checkbox;
9609 if test "$enableval" = yes; then
9610 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9611 else
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9613 fi
9614
9615 else
9616
9617 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9618
9619 fi
9620
9621
9622 eval "$wx_cv_use_checkbox"
9623
9624 if test x"$enablestring" = xdisable; then
9625 if test $wxUSE_CHECKBOX = yes; then
9626 result=no
9627 else
9628 result=yes
9629 fi
9630 else
9631 result=$wxUSE_CHECKBOX
9632 fi
9633
9634 { echo "$as_me:$LINENO: result: $result" >&5
9635 echo "${ECHO_T}$result" >&6; }
9636
9637
9638 enablestring=
9639 defaultval=$wxUSE_ALL_FEATURES
9640 if test -z "$defaultval"; then
9641 if test x"$enablestring" = xdisable; then
9642 defaultval=yes
9643 else
9644 defaultval=no
9645 fi
9646 fi
9647
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9650 # Check whether --enable-checklst was given.
9651 if test "${enable_checklst+set}" = set; then
9652 enableval=$enable_checklst;
9653 if test "$enableval" = yes; then
9654 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9655 else
9656 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9657 fi
9658
9659 else
9660
9661 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9662
9663 fi
9664
9665
9666 eval "$wx_cv_use_checklst"
9667
9668 if test x"$enablestring" = xdisable; then
9669 if test $wxUSE_CHECKLST = yes; then
9670 result=no
9671 else
9672 result=yes
9673 fi
9674 else
9675 result=$wxUSE_CHECKLST
9676 fi
9677
9678 { echo "$as_me:$LINENO: result: $result" >&5
9679 echo "${ECHO_T}$result" >&6; }
9680
9681
9682 enablestring=
9683 defaultval=$wxUSE_ALL_FEATURES
9684 if test -z "$defaultval"; then
9685 if test x"$enablestring" = xdisable; then
9686 defaultval=yes
9687 else
9688 defaultval=no
9689 fi
9690 fi
9691
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9694 # Check whether --enable-choice was given.
9695 if test "${enable_choice+set}" = set; then
9696 enableval=$enable_choice;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_choice='wxUSE_CHOICE=yes'
9699 else
9700 wx_cv_use_choice='wxUSE_CHOICE=no'
9701 fi
9702
9703 else
9704
9705 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9706
9707 fi
9708
9709
9710 eval "$wx_cv_use_choice"
9711
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_CHOICE = yes; then
9714 result=no
9715 else
9716 result=yes
9717 fi
9718 else
9719 result=$wxUSE_CHOICE
9720 fi
9721
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9724
9725
9726 enablestring=
9727 defaultval=$wxUSE_ALL_FEATURES
9728 if test -z "$defaultval"; then
9729 if test x"$enablestring" = xdisable; then
9730 defaultval=yes
9731 else
9732 defaultval=no
9733 fi
9734 fi
9735
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9738 # Check whether --enable-choicebook was given.
9739 if test "${enable_choicebook+set}" = set; then
9740 enableval=$enable_choicebook;
9741 if test "$enableval" = yes; then
9742 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9743 else
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9745 fi
9746
9747 else
9748
9749 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9750
9751 fi
9752
9753
9754 eval "$wx_cv_use_choicebook"
9755
9756 if test x"$enablestring" = xdisable; then
9757 if test $wxUSE_CHOICEBOOK = yes; then
9758 result=no
9759 else
9760 result=yes
9761 fi
9762 else
9763 result=$wxUSE_CHOICEBOOK
9764 fi
9765
9766 { echo "$as_me:$LINENO: result: $result" >&5
9767 echo "${ECHO_T}$result" >&6; }
9768
9769
9770 enablestring=
9771 defaultval=$wxUSE_ALL_FEATURES
9772 if test -z "$defaultval"; then
9773 if test x"$enablestring" = xdisable; then
9774 defaultval=yes
9775 else
9776 defaultval=no
9777 fi
9778 fi
9779
9780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9782 # Check whether --enable-collpane was given.
9783 if test "${enable_collpane+set}" = set; then
9784 enableval=$enable_collpane;
9785 if test "$enableval" = yes; then
9786 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9787 else
9788 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9789 fi
9790
9791 else
9792
9793 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9794
9795 fi
9796
9797
9798 eval "$wx_cv_use_collpane"
9799
9800 if test x"$enablestring" = xdisable; then
9801 if test $wxUSE_COLLPANE = yes; then
9802 result=no
9803 else
9804 result=yes
9805 fi
9806 else
9807 result=$wxUSE_COLLPANE
9808 fi
9809
9810 { echo "$as_me:$LINENO: result: $result" >&5
9811 echo "${ECHO_T}$result" >&6; }
9812
9813
9814 enablestring=
9815 defaultval=$wxUSE_ALL_FEATURES
9816 if test -z "$defaultval"; then
9817 if test x"$enablestring" = xdisable; then
9818 defaultval=yes
9819 else
9820 defaultval=no
9821 fi
9822 fi
9823
9824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9826 # Check whether --enable-colourpicker was given.
9827 if test "${enable_colourpicker+set}" = set; then
9828 enableval=$enable_colourpicker;
9829 if test "$enableval" = yes; then
9830 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9831 else
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9833 fi
9834
9835 else
9836
9837 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9838
9839 fi
9840
9841
9842 eval "$wx_cv_use_colourpicker"
9843
9844 if test x"$enablestring" = xdisable; then
9845 if test $wxUSE_COLOURPICKERCTRL = yes; then
9846 result=no
9847 else
9848 result=yes
9849 fi
9850 else
9851 result=$wxUSE_COLOURPICKERCTRL
9852 fi
9853
9854 { echo "$as_me:$LINENO: result: $result" >&5
9855 echo "${ECHO_T}$result" >&6; }
9856
9857
9858 enablestring=
9859 defaultval=$wxUSE_ALL_FEATURES
9860 if test -z "$defaultval"; then
9861 if test x"$enablestring" = xdisable; then
9862 defaultval=yes
9863 else
9864 defaultval=no
9865 fi
9866 fi
9867
9868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9870 # Check whether --enable-combobox was given.
9871 if test "${enable_combobox+set}" = set; then
9872 enableval=$enable_combobox;
9873 if test "$enableval" = yes; then
9874 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9875 else
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9877 fi
9878
9879 else
9880
9881 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9882
9883 fi
9884
9885
9886 eval "$wx_cv_use_combobox"
9887
9888 if test x"$enablestring" = xdisable; then
9889 if test $wxUSE_COMBOBOX = yes; then
9890 result=no
9891 else
9892 result=yes
9893 fi
9894 else
9895 result=$wxUSE_COMBOBOX
9896 fi
9897
9898 { echo "$as_me:$LINENO: result: $result" >&5
9899 echo "${ECHO_T}$result" >&6; }
9900
9901
9902 enablestring=
9903 defaultval=$wxUSE_ALL_FEATURES
9904 if test -z "$defaultval"; then
9905 if test x"$enablestring" = xdisable; then
9906 defaultval=yes
9907 else
9908 defaultval=no
9909 fi
9910 fi
9911
9912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9913 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9914 # Check whether --enable-comboctrl was given.
9915 if test "${enable_comboctrl+set}" = set; then
9916 enableval=$enable_comboctrl;
9917 if test "$enableval" = yes; then
9918 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9919 else
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9921 fi
9922
9923 else
9924
9925 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9926
9927 fi
9928
9929
9930 eval "$wx_cv_use_comboctrl"
9931
9932 if test x"$enablestring" = xdisable; then
9933 if test $wxUSE_COMBOCTRL = yes; then
9934 result=no
9935 else
9936 result=yes
9937 fi
9938 else
9939 result=$wxUSE_COMBOCTRL
9940 fi
9941
9942 { echo "$as_me:$LINENO: result: $result" >&5
9943 echo "${ECHO_T}$result" >&6; }
9944
9945
9946 enablestring=
9947 defaultval=$wxUSE_ALL_FEATURES
9948 if test -z "$defaultval"; then
9949 if test x"$enablestring" = xdisable; then
9950 defaultval=yes
9951 else
9952 defaultval=no
9953 fi
9954 fi
9955
9956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9957 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9958 # Check whether --enable-datepick was given.
9959 if test "${enable_datepick+set}" = set; then
9960 enableval=$enable_datepick;
9961 if test "$enableval" = yes; then
9962 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9963 else
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9965 fi
9966
9967 else
9968
9969 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9970
9971 fi
9972
9973
9974 eval "$wx_cv_use_datepick"
9975
9976 if test x"$enablestring" = xdisable; then
9977 if test $wxUSE_DATEPICKCTRL = yes; then
9978 result=no
9979 else
9980 result=yes
9981 fi
9982 else
9983 result=$wxUSE_DATEPICKCTRL
9984 fi
9985
9986 { echo "$as_me:$LINENO: result: $result" >&5
9987 echo "${ECHO_T}$result" >&6; }
9988
9989
9990 enablestring=
9991 defaultval=$wxUSE_ALL_FEATURES
9992 if test -z "$defaultval"; then
9993 if test x"$enablestring" = xdisable; then
9994 defaultval=yes
9995 else
9996 defaultval=no
9997 fi
9998 fi
9999
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10002 # Check whether --enable-dirpicker was given.
10003 if test "${enable_dirpicker+set}" = set; then
10004 enableval=$enable_dirpicker;
10005 if test "$enableval" = yes; then
10006 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10007 else
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10009 fi
10010
10011 else
10012
10013 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10014
10015 fi
10016
10017
10018 eval "$wx_cv_use_dirpicker"
10019
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_DIRPICKERCTRL = yes; then
10022 result=no
10023 else
10024 result=yes
10025 fi
10026 else
10027 result=$wxUSE_DIRPICKERCTRL
10028 fi
10029
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10032
10033
10034 enablestring=
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z "$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10038 defaultval=yes
10039 else
10040 defaultval=no
10041 fi
10042 fi
10043
10044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10046 # Check whether --enable-display was given.
10047 if test "${enable_display+set}" = set; then
10048 enableval=$enable_display;
10049 if test "$enableval" = yes; then
10050 wx_cv_use_display='wxUSE_DISPLAY=yes'
10051 else
10052 wx_cv_use_display='wxUSE_DISPLAY=no'
10053 fi
10054
10055 else
10056
10057 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10058
10059 fi
10060
10061
10062 eval "$wx_cv_use_display"
10063
10064 if test x"$enablestring" = xdisable; then
10065 if test $wxUSE_DISPLAY = yes; then
10066 result=no
10067 else
10068 result=yes
10069 fi
10070 else
10071 result=$wxUSE_DISPLAY
10072 fi
10073
10074 { echo "$as_me:$LINENO: result: $result" >&5
10075 echo "${ECHO_T}$result" >&6; }
10076
10077
10078 enablestring=
10079 defaultval=$wxUSE_ALL_FEATURES
10080 if test -z "$defaultval"; then
10081 if test x"$enablestring" = xdisable; then
10082 defaultval=yes
10083 else
10084 defaultval=no
10085 fi
10086 fi
10087
10088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10089 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10090 # Check whether --enable-detect_sm was given.
10091 if test "${enable_detect_sm+set}" = set; then
10092 enableval=$enable_detect_sm;
10093 if test "$enableval" = yes; then
10094 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10095 else
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10097 fi
10098
10099 else
10100
10101 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10102
10103 fi
10104
10105
10106 eval "$wx_cv_use_detect_sm"
10107
10108 if test x"$enablestring" = xdisable; then
10109 if test $wxUSE_DETECT_SM = yes; then
10110 result=no
10111 else
10112 result=yes
10113 fi
10114 else
10115 result=$wxUSE_DETECT_SM
10116 fi
10117
10118 { echo "$as_me:$LINENO: result: $result" >&5
10119 echo "${ECHO_T}$result" >&6; }
10120
10121
10122 enablestring=
10123 defaultval=$wxUSE_ALL_FEATURES
10124 if test -z "$defaultval"; then
10125 if test x"$enablestring" = xdisable; then
10126 defaultval=yes
10127 else
10128 defaultval=no
10129 fi
10130 fi
10131
10132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10134 # Check whether --enable-editablebox was given.
10135 if test "${enable_editablebox+set}" = set; then
10136 enableval=$enable_editablebox;
10137 if test "$enableval" = yes; then
10138 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10139 else
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10141 fi
10142
10143 else
10144
10145 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10146
10147 fi
10148
10149
10150 eval "$wx_cv_use_editablebox"
10151
10152 if test x"$enablestring" = xdisable; then
10153 if test $wxUSE_EDITABLELISTBOX = yes; then
10154 result=no
10155 else
10156 result=yes
10157 fi
10158 else
10159 result=$wxUSE_EDITABLELISTBOX
10160 fi
10161
10162 { echo "$as_me:$LINENO: result: $result" >&5
10163 echo "${ECHO_T}$result" >&6; }
10164
10165
10166 enablestring=
10167 defaultval=$wxUSE_ALL_FEATURES
10168 if test -z "$defaultval"; then
10169 if test x"$enablestring" = xdisable; then
10170 defaultval=yes
10171 else
10172 defaultval=no
10173 fi
10174 fi
10175
10176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10178 # Check whether --enable-filepicker was given.
10179 if test "${enable_filepicker+set}" = set; then
10180 enableval=$enable_filepicker;
10181 if test "$enableval" = yes; then
10182 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10183 else
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10185 fi
10186
10187 else
10188
10189 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10190
10191 fi
10192
10193
10194 eval "$wx_cv_use_filepicker"
10195
10196 if test x"$enablestring" = xdisable; then
10197 if test $wxUSE_FILEPICKERCTRL = yes; then
10198 result=no
10199 else
10200 result=yes
10201 fi
10202 else
10203 result=$wxUSE_FILEPICKERCTRL
10204 fi
10205
10206 { echo "$as_me:$LINENO: result: $result" >&5
10207 echo "${ECHO_T}$result" >&6; }
10208
10209
10210 enablestring=
10211 defaultval=$wxUSE_ALL_FEATURES
10212 if test -z "$defaultval"; then
10213 if test x"$enablestring" = xdisable; then
10214 defaultval=yes
10215 else
10216 defaultval=no
10217 fi
10218 fi
10219
10220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10221 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10222 # Check whether --enable-filectrl was given.
10223 if test "${enable_filectrl+set}" = set; then
10224 enableval=$enable_filectrl;
10225 if test "$enableval" = yes; then
10226 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10227 else
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10229 fi
10230
10231 else
10232
10233 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10234
10235 fi
10236
10237
10238 eval "$wx_cv_use_filectrl"
10239
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_FILECTRL = yes; then
10242 result=no
10243 else
10244 result=yes
10245 fi
10246 else
10247 result=$wxUSE_FILECTRL
10248 fi
10249
10250 { echo "$as_me:$LINENO: result: $result" >&5
10251 echo "${ECHO_T}$result" >&6; }
10252
10253
10254 enablestring=
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z "$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10258 defaultval=yes
10259 else
10260 defaultval=no
10261 fi
10262 fi
10263
10264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10265 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10266 # Check whether --enable-fontpicker was given.
10267 if test "${enable_fontpicker+set}" = set; then
10268 enableval=$enable_fontpicker;
10269 if test "$enableval" = yes; then
10270 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10271 else
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10273 fi
10274
10275 else
10276
10277 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10278
10279 fi
10280
10281
10282 eval "$wx_cv_use_fontpicker"
10283
10284 if test x"$enablestring" = xdisable; then
10285 if test $wxUSE_FONTPICKERCTRL = yes; then
10286 result=no
10287 else
10288 result=yes
10289 fi
10290 else
10291 result=$wxUSE_FONTPICKERCTRL
10292 fi
10293
10294 { echo "$as_me:$LINENO: result: $result" >&5
10295 echo "${ECHO_T}$result" >&6; }
10296
10297
10298 enablestring=
10299 defaultval=$wxUSE_ALL_FEATURES
10300 if test -z "$defaultval"; then
10301 if test x"$enablestring" = xdisable; then
10302 defaultval=yes
10303 else
10304 defaultval=no
10305 fi
10306 fi
10307
10308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10310 # Check whether --enable-gauge was given.
10311 if test "${enable_gauge+set}" = set; then
10312 enableval=$enable_gauge;
10313 if test "$enableval" = yes; then
10314 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10315 else
10316 wx_cv_use_gauge='wxUSE_GAUGE=no'
10317 fi
10318
10319 else
10320
10321 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10322
10323 fi
10324
10325
10326 eval "$wx_cv_use_gauge"
10327
10328 if test x"$enablestring" = xdisable; then
10329 if test $wxUSE_GAUGE = yes; then
10330 result=no
10331 else
10332 result=yes
10333 fi
10334 else
10335 result=$wxUSE_GAUGE
10336 fi
10337
10338 { echo "$as_me:$LINENO: result: $result" >&5
10339 echo "${ECHO_T}$result" >&6; }
10340
10341
10342 enablestring=
10343 defaultval=$wxUSE_ALL_FEATURES
10344 if test -z "$defaultval"; then
10345 if test x"$enablestring" = xdisable; then
10346 defaultval=yes
10347 else
10348 defaultval=no
10349 fi
10350 fi
10351
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10354 # Check whether --enable-grid was given.
10355 if test "${enable_grid+set}" = set; then
10356 enableval=$enable_grid;
10357 if test "$enableval" = yes; then
10358 wx_cv_use_grid='wxUSE_GRID=yes'
10359 else
10360 wx_cv_use_grid='wxUSE_GRID=no'
10361 fi
10362
10363 else
10364
10365 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10366
10367 fi
10368
10369
10370 eval "$wx_cv_use_grid"
10371
10372 if test x"$enablestring" = xdisable; then
10373 if test $wxUSE_GRID = yes; then
10374 result=no
10375 else
10376 result=yes
10377 fi
10378 else
10379 result=$wxUSE_GRID
10380 fi
10381
10382 { echo "$as_me:$LINENO: result: $result" >&5
10383 echo "${ECHO_T}$result" >&6; }
10384
10385
10386 enablestring=
10387 defaultval=$wxUSE_ALL_FEATURES
10388 if test -z "$defaultval"; then
10389 if test x"$enablestring" = xdisable; then
10390 defaultval=yes
10391 else
10392 defaultval=no
10393 fi
10394 fi
10395
10396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10397 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10398 # Check whether --enable-dataviewctrl was given.
10399 if test "${enable_dataviewctrl+set}" = set; then
10400 enableval=$enable_dataviewctrl;
10401 if test "$enableval" = yes; then
10402 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10403 else
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10405 fi
10406
10407 else
10408
10409 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10410
10411 fi
10412
10413
10414 eval "$wx_cv_use_dataviewctrl"
10415
10416 if test x"$enablestring" = xdisable; then
10417 if test $wxUSE_DATAVIEWCTRL = yes; then
10418 result=no
10419 else
10420 result=yes
10421 fi
10422 else
10423 result=$wxUSE_DATAVIEWCTRL
10424 fi
10425
10426 { echo "$as_me:$LINENO: result: $result" >&5
10427 echo "${ECHO_T}$result" >&6; }
10428
10429
10430 enablestring=
10431 defaultval=$wxUSE_ALL_FEATURES
10432 if test -z "$defaultval"; then
10433 if test x"$enablestring" = xdisable; then
10434 defaultval=yes
10435 else
10436 defaultval=no
10437 fi
10438 fi
10439
10440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10442 # Check whether --enable-hyperlink was given.
10443 if test "${enable_hyperlink+set}" = set; then
10444 enableval=$enable_hyperlink;
10445 if test "$enableval" = yes; then
10446 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10447 else
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10449 fi
10450
10451 else
10452
10453 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10454
10455 fi
10456
10457
10458 eval "$wx_cv_use_hyperlink"
10459
10460 if test x"$enablestring" = xdisable; then
10461 if test $wxUSE_HYPERLINKCTRL = yes; then
10462 result=no
10463 else
10464 result=yes
10465 fi
10466 else
10467 result=$wxUSE_HYPERLINKCTRL
10468 fi
10469
10470 { echo "$as_me:$LINENO: result: $result" >&5
10471 echo "${ECHO_T}$result" >&6; }
10472
10473
10474 enablestring=
10475 defaultval=$wxUSE_ALL_FEATURES
10476 if test -z "$defaultval"; then
10477 if test x"$enablestring" = xdisable; then
10478 defaultval=yes
10479 else
10480 defaultval=no
10481 fi
10482 fi
10483
10484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10486 # Check whether --enable-imaglist was given.
10487 if test "${enable_imaglist+set}" = set; then
10488 enableval=$enable_imaglist;
10489 if test "$enableval" = yes; then
10490 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10491 else
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10493 fi
10494
10495 else
10496
10497 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10498
10499 fi
10500
10501
10502 eval "$wx_cv_use_imaglist"
10503
10504 if test x"$enablestring" = xdisable; then
10505 if test $wxUSE_IMAGLIST = yes; then
10506 result=no
10507 else
10508 result=yes
10509 fi
10510 else
10511 result=$wxUSE_IMAGLIST
10512 fi
10513
10514 { echo "$as_me:$LINENO: result: $result" >&5
10515 echo "${ECHO_T}$result" >&6; }
10516
10517
10518 enablestring=
10519 defaultval=$wxUSE_ALL_FEATURES
10520 if test -z "$defaultval"; then
10521 if test x"$enablestring" = xdisable; then
10522 defaultval=yes
10523 else
10524 defaultval=no
10525 fi
10526 fi
10527
10528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10529 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10530 # Check whether --enable-listbook was given.
10531 if test "${enable_listbook+set}" = set; then
10532 enableval=$enable_listbook;
10533 if test "$enableval" = yes; then
10534 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10535 else
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10537 fi
10538
10539 else
10540
10541 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10542
10543 fi
10544
10545
10546 eval "$wx_cv_use_listbook"
10547
10548 if test x"$enablestring" = xdisable; then
10549 if test $wxUSE_LISTBOOK = yes; then
10550 result=no
10551 else
10552 result=yes
10553 fi
10554 else
10555 result=$wxUSE_LISTBOOK
10556 fi
10557
10558 { echo "$as_me:$LINENO: result: $result" >&5
10559 echo "${ECHO_T}$result" >&6; }
10560
10561
10562 enablestring=
10563 defaultval=$wxUSE_ALL_FEATURES
10564 if test -z "$defaultval"; then
10565 if test x"$enablestring" = xdisable; then
10566 defaultval=yes
10567 else
10568 defaultval=no
10569 fi
10570 fi
10571
10572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10573 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10574 # Check whether --enable-listbox was given.
10575 if test "${enable_listbox+set}" = set; then
10576 enableval=$enable_listbox;
10577 if test "$enableval" = yes; then
10578 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10579 else
10580 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10581 fi
10582
10583 else
10584
10585 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10586
10587 fi
10588
10589
10590 eval "$wx_cv_use_listbox"
10591
10592 if test x"$enablestring" = xdisable; then
10593 if test $wxUSE_LISTBOX = yes; then
10594 result=no
10595 else
10596 result=yes
10597 fi
10598 else
10599 result=$wxUSE_LISTBOX
10600 fi
10601
10602 { echo "$as_me:$LINENO: result: $result" >&5
10603 echo "${ECHO_T}$result" >&6; }
10604
10605
10606 enablestring=
10607 defaultval=$wxUSE_ALL_FEATURES
10608 if test -z "$defaultval"; then
10609 if test x"$enablestring" = xdisable; then
10610 defaultval=yes
10611 else
10612 defaultval=no
10613 fi
10614 fi
10615
10616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10618 # Check whether --enable-listctrl was given.
10619 if test "${enable_listctrl+set}" = set; then
10620 enableval=$enable_listctrl;
10621 if test "$enableval" = yes; then
10622 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10623 else
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10625 fi
10626
10627 else
10628
10629 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10630
10631 fi
10632
10633
10634 eval "$wx_cv_use_listctrl"
10635
10636 if test x"$enablestring" = xdisable; then
10637 if test $wxUSE_LISTCTRL = yes; then
10638 result=no
10639 else
10640 result=yes
10641 fi
10642 else
10643 result=$wxUSE_LISTCTRL
10644 fi
10645
10646 { echo "$as_me:$LINENO: result: $result" >&5
10647 echo "${ECHO_T}$result" >&6; }
10648
10649
10650 enablestring=
10651 defaultval=$wxUSE_ALL_FEATURES
10652 if test -z "$defaultval"; then
10653 if test x"$enablestring" = xdisable; then
10654 defaultval=yes
10655 else
10656 defaultval=no
10657 fi
10658 fi
10659
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10662 # Check whether --enable-notebook was given.
10663 if test "${enable_notebook+set}" = set; then
10664 enableval=$enable_notebook;
10665 if test "$enableval" = yes; then
10666 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10667 else
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10669 fi
10670
10671 else
10672
10673 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10674
10675 fi
10676
10677
10678 eval "$wx_cv_use_notebook"
10679
10680 if test x"$enablestring" = xdisable; then
10681 if test $wxUSE_NOTEBOOK = yes; then
10682 result=no
10683 else
10684 result=yes
10685 fi
10686 else
10687 result=$wxUSE_NOTEBOOK
10688 fi
10689
10690 { echo "$as_me:$LINENO: result: $result" >&5
10691 echo "${ECHO_T}$result" >&6; }
10692
10693
10694 enablestring=
10695 defaultval=$wxUSE_ALL_FEATURES
10696 if test -z "$defaultval"; then
10697 if test x"$enablestring" = xdisable; then
10698 defaultval=yes
10699 else
10700 defaultval=no
10701 fi
10702 fi
10703
10704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10706 # Check whether --enable-odcombobox was given.
10707 if test "${enable_odcombobox+set}" = set; then
10708 enableval=$enable_odcombobox;
10709 if test "$enableval" = yes; then
10710 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10711 else
10712 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10713 fi
10714
10715 else
10716
10717 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10718
10719 fi
10720
10721
10722 eval "$wx_cv_use_odcombobox"
10723
10724 if test x"$enablestring" = xdisable; then
10725 if test $wxUSE_ODCOMBOBOX = yes; then
10726 result=no
10727 else
10728 result=yes
10729 fi
10730 else
10731 result=$wxUSE_ODCOMBOBOX
10732 fi
10733
10734 { echo "$as_me:$LINENO: result: $result" >&5
10735 echo "${ECHO_T}$result" >&6; }
10736
10737
10738 enablestring=
10739 defaultval=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x"$enablestring" = xdisable; then
10742 defaultval=yes
10743 else
10744 defaultval=no
10745 fi
10746 fi
10747
10748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10750 # Check whether --enable-radiobox was given.
10751 if test "${enable_radiobox+set}" = set; then
10752 enableval=$enable_radiobox;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10755 else
10756 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10757 fi
10758
10759 else
10760
10761 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10762
10763 fi
10764
10765
10766 eval "$wx_cv_use_radiobox"
10767
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_RADIOBOX = yes; then
10770 result=no
10771 else
10772 result=yes
10773 fi
10774 else
10775 result=$wxUSE_RADIOBOX
10776 fi
10777
10778 { echo "$as_me:$LINENO: result: $result" >&5
10779 echo "${ECHO_T}$result" >&6; }
10780
10781
10782 enablestring=
10783 defaultval=$wxUSE_ALL_FEATURES
10784 if test -z "$defaultval"; then
10785 if test x"$enablestring" = xdisable; then
10786 defaultval=yes
10787 else
10788 defaultval=no
10789 fi
10790 fi
10791
10792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10794 # Check whether --enable-radiobtn was given.
10795 if test "${enable_radiobtn+set}" = set; then
10796 enableval=$enable_radiobtn;
10797 if test "$enableval" = yes; then
10798 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10799 else
10800 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10801 fi
10802
10803 else
10804
10805 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10806
10807 fi
10808
10809
10810 eval "$wx_cv_use_radiobtn"
10811
10812 if test x"$enablestring" = xdisable; then
10813 if test $wxUSE_RADIOBTN = yes; then
10814 result=no
10815 else
10816 result=yes
10817 fi
10818 else
10819 result=$wxUSE_RADIOBTN
10820 fi
10821
10822 { echo "$as_me:$LINENO: result: $result" >&5
10823 echo "${ECHO_T}$result" >&6; }
10824
10825
10826 enablestring=
10827 defaultval=$wxUSE_ALL_FEATURES
10828 if test -z "$defaultval"; then
10829 if test x"$enablestring" = xdisable; then
10830 defaultval=yes
10831 else
10832 defaultval=no
10833 fi
10834 fi
10835
10836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10837 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10838 # Check whether --enable-sash was given.
10839 if test "${enable_sash+set}" = set; then
10840 enableval=$enable_sash;
10841 if test "$enableval" = yes; then
10842 wx_cv_use_sash='wxUSE_SASH=yes'
10843 else
10844 wx_cv_use_sash='wxUSE_SASH=no'
10845 fi
10846
10847 else
10848
10849 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10850
10851 fi
10852
10853
10854 eval "$wx_cv_use_sash"
10855
10856 if test x"$enablestring" = xdisable; then
10857 if test $wxUSE_SASH = yes; then
10858 result=no
10859 else
10860 result=yes
10861 fi
10862 else
10863 result=$wxUSE_SASH
10864 fi
10865
10866 { echo "$as_me:$LINENO: result: $result" >&5
10867 echo "${ECHO_T}$result" >&6; }
10868
10869
10870 enablestring=
10871 defaultval=$wxUSE_ALL_FEATURES
10872 if test -z "$defaultval"; then
10873 if test x"$enablestring" = xdisable; then
10874 defaultval=yes
10875 else
10876 defaultval=no
10877 fi
10878 fi
10879
10880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10881 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10882 # Check whether --enable-scrollbar was given.
10883 if test "${enable_scrollbar+set}" = set; then
10884 enableval=$enable_scrollbar;
10885 if test "$enableval" = yes; then
10886 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10887 else
10888 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10889 fi
10890
10891 else
10892
10893 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10894
10895 fi
10896
10897
10898 eval "$wx_cv_use_scrollbar"
10899
10900 if test x"$enablestring" = xdisable; then
10901 if test $wxUSE_SCROLLBAR = yes; then
10902 result=no
10903 else
10904 result=yes
10905 fi
10906 else
10907 result=$wxUSE_SCROLLBAR
10908 fi
10909
10910 { echo "$as_me:$LINENO: result: $result" >&5
10911 echo "${ECHO_T}$result" >&6; }
10912
10913
10914 enablestring=
10915 defaultval=$wxUSE_ALL_FEATURES
10916 if test -z "$defaultval"; then
10917 if test x"$enablestring" = xdisable; then
10918 defaultval=yes
10919 else
10920 defaultval=no
10921 fi
10922 fi
10923
10924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10925 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10926 # Check whether --enable-searchctrl was given.
10927 if test "${enable_searchctrl+set}" = set; then
10928 enableval=$enable_searchctrl;
10929 if test "$enableval" = yes; then
10930 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10931 else
10932 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10933 fi
10934
10935 else
10936
10937 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10938
10939 fi
10940
10941
10942 eval "$wx_cv_use_searchctrl"
10943
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_SEARCHCTRL = yes; then
10946 result=no
10947 else
10948 result=yes
10949 fi
10950 else
10951 result=$wxUSE_SEARCHCTRL
10952 fi
10953
10954 { echo "$as_me:$LINENO: result: $result" >&5
10955 echo "${ECHO_T}$result" >&6; }
10956
10957
10958 enablestring=
10959 defaultval=$wxUSE_ALL_FEATURES
10960 if test -z "$defaultval"; then
10961 if test x"$enablestring" = xdisable; then
10962 defaultval=yes
10963 else
10964 defaultval=no
10965 fi
10966 fi
10967
10968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10969 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10970 # Check whether --enable-slider was given.
10971 if test "${enable_slider+set}" = set; then
10972 enableval=$enable_slider;
10973 if test "$enableval" = yes; then
10974 wx_cv_use_slider='wxUSE_SLIDER=yes'
10975 else
10976 wx_cv_use_slider='wxUSE_SLIDER=no'
10977 fi
10978
10979 else
10980
10981 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
10982
10983 fi
10984
10985
10986 eval "$wx_cv_use_slider"
10987
10988 if test x"$enablestring" = xdisable; then
10989 if test $wxUSE_SLIDER = yes; then
10990 result=no
10991 else
10992 result=yes
10993 fi
10994 else
10995 result=$wxUSE_SLIDER
10996 fi
10997
10998 { echo "$as_me:$LINENO: result: $result" >&5
10999 echo "${ECHO_T}$result" >&6; }
11000
11001
11002 enablestring=
11003 defaultval=$wxUSE_ALL_FEATURES
11004 if test -z "$defaultval"; then
11005 if test x"$enablestring" = xdisable; then
11006 defaultval=yes
11007 else
11008 defaultval=no
11009 fi
11010 fi
11011
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11014 # Check whether --enable-spinbtn was given.
11015 if test "${enable_spinbtn+set}" = set; then
11016 enableval=$enable_spinbtn;
11017 if test "$enableval" = yes; then
11018 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11019 else
11020 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11021 fi
11022
11023 else
11024
11025 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11026
11027 fi
11028
11029
11030 eval "$wx_cv_use_spinbtn"
11031
11032 if test x"$enablestring" = xdisable; then
11033 if test $wxUSE_SPINBTN = yes; then
11034 result=no
11035 else
11036 result=yes
11037 fi
11038 else
11039 result=$wxUSE_SPINBTN
11040 fi
11041
11042 { echo "$as_me:$LINENO: result: $result" >&5
11043 echo "${ECHO_T}$result" >&6; }
11044
11045
11046 enablestring=
11047 defaultval=$wxUSE_ALL_FEATURES
11048 if test -z "$defaultval"; then
11049 if test x"$enablestring" = xdisable; then
11050 defaultval=yes
11051 else
11052 defaultval=no
11053 fi
11054 fi
11055
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11058 # Check whether --enable-spinctrl was given.
11059 if test "${enable_spinctrl+set}" = set; then
11060 enableval=$enable_spinctrl;
11061 if test "$enableval" = yes; then
11062 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11063 else
11064 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11065 fi
11066
11067 else
11068
11069 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11070
11071 fi
11072
11073
11074 eval "$wx_cv_use_spinctrl"
11075
11076 if test x"$enablestring" = xdisable; then
11077 if test $wxUSE_SPINCTRL = yes; then
11078 result=no
11079 else
11080 result=yes
11081 fi
11082 else
11083 result=$wxUSE_SPINCTRL
11084 fi
11085
11086 { echo "$as_me:$LINENO: result: $result" >&5
11087 echo "${ECHO_T}$result" >&6; }
11088
11089
11090 enablestring=
11091 defaultval=$wxUSE_ALL_FEATURES
11092 if test -z "$defaultval"; then
11093 if test x"$enablestring" = xdisable; then
11094 defaultval=yes
11095 else
11096 defaultval=no
11097 fi
11098 fi
11099
11100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11101 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11102 # Check whether --enable-splitter was given.
11103 if test "${enable_splitter+set}" = set; then
11104 enableval=$enable_splitter;
11105 if test "$enableval" = yes; then
11106 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11107 else
11108 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11109 fi
11110
11111 else
11112
11113 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11114
11115 fi
11116
11117
11118 eval "$wx_cv_use_splitter"
11119
11120 if test x"$enablestring" = xdisable; then
11121 if test $wxUSE_SPLITTER = yes; then
11122 result=no
11123 else
11124 result=yes
11125 fi
11126 else
11127 result=$wxUSE_SPLITTER
11128 fi
11129
11130 { echo "$as_me:$LINENO: result: $result" >&5
11131 echo "${ECHO_T}$result" >&6; }
11132
11133
11134 enablestring=
11135 defaultval=$wxUSE_ALL_FEATURES
11136 if test -z "$defaultval"; then
11137 if test x"$enablestring" = xdisable; then
11138 defaultval=yes
11139 else
11140 defaultval=no
11141 fi
11142 fi
11143
11144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11146 # Check whether --enable-statbmp was given.
11147 if test "${enable_statbmp+set}" = set; then
11148 enableval=$enable_statbmp;
11149 if test "$enableval" = yes; then
11150 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11151 else
11152 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11153 fi
11154
11155 else
11156
11157 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11158
11159 fi
11160
11161
11162 eval "$wx_cv_use_statbmp"
11163
11164 if test x"$enablestring" = xdisable; then
11165 if test $wxUSE_STATBMP = yes; then
11166 result=no
11167 else
11168 result=yes
11169 fi
11170 else
11171 result=$wxUSE_STATBMP
11172 fi
11173
11174 { echo "$as_me:$LINENO: result: $result" >&5
11175 echo "${ECHO_T}$result" >&6; }
11176
11177
11178 enablestring=
11179 defaultval=$wxUSE_ALL_FEATURES
11180 if test -z "$defaultval"; then
11181 if test x"$enablestring" = xdisable; then
11182 defaultval=yes
11183 else
11184 defaultval=no
11185 fi
11186 fi
11187
11188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11190 # Check whether --enable-statbox was given.
11191 if test "${enable_statbox+set}" = set; then
11192 enableval=$enable_statbox;
11193 if test "$enableval" = yes; then
11194 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11195 else
11196 wx_cv_use_statbox='wxUSE_STATBOX=no'
11197 fi
11198
11199 else
11200
11201 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11202
11203 fi
11204
11205
11206 eval "$wx_cv_use_statbox"
11207
11208 if test x"$enablestring" = xdisable; then
11209 if test $wxUSE_STATBOX = yes; then
11210 result=no
11211 else
11212 result=yes
11213 fi
11214 else
11215 result=$wxUSE_STATBOX
11216 fi
11217
11218 { echo "$as_me:$LINENO: result: $result" >&5
11219 echo "${ECHO_T}$result" >&6; }
11220
11221
11222 enablestring=
11223 defaultval=$wxUSE_ALL_FEATURES
11224 if test -z "$defaultval"; then
11225 if test x"$enablestring" = xdisable; then
11226 defaultval=yes
11227 else
11228 defaultval=no
11229 fi
11230 fi
11231
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11234 # Check whether --enable-statline was given.
11235 if test "${enable_statline+set}" = set; then
11236 enableval=$enable_statline;
11237 if test "$enableval" = yes; then
11238 wx_cv_use_statline='wxUSE_STATLINE=yes'
11239 else
11240 wx_cv_use_statline='wxUSE_STATLINE=no'
11241 fi
11242
11243 else
11244
11245 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11246
11247 fi
11248
11249
11250 eval "$wx_cv_use_statline"
11251
11252 if test x"$enablestring" = xdisable; then
11253 if test $wxUSE_STATLINE = yes; then
11254 result=no
11255 else
11256 result=yes
11257 fi
11258 else
11259 result=$wxUSE_STATLINE
11260 fi
11261
11262 { echo "$as_me:$LINENO: result: $result" >&5
11263 echo "${ECHO_T}$result" >&6; }
11264
11265
11266 enablestring=
11267 defaultval=$wxUSE_ALL_FEATURES
11268 if test -z "$defaultval"; then
11269 if test x"$enablestring" = xdisable; then
11270 defaultval=yes
11271 else
11272 defaultval=no
11273 fi
11274 fi
11275
11276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11278 # Check whether --enable-stattext was given.
11279 if test "${enable_stattext+set}" = set; then
11280 enableval=$enable_stattext;
11281 if test "$enableval" = yes; then
11282 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11283 else
11284 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11285 fi
11286
11287 else
11288
11289 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11290
11291 fi
11292
11293
11294 eval "$wx_cv_use_stattext"
11295
11296 if test x"$enablestring" = xdisable; then
11297 if test $wxUSE_STATTEXT = yes; then
11298 result=no
11299 else
11300 result=yes
11301 fi
11302 else
11303 result=$wxUSE_STATTEXT
11304 fi
11305
11306 { echo "$as_me:$LINENO: result: $result" >&5
11307 echo "${ECHO_T}$result" >&6; }
11308
11309
11310 enablestring=
11311 defaultval=$wxUSE_ALL_FEATURES
11312 if test -z "$defaultval"; then
11313 if test x"$enablestring" = xdisable; then
11314 defaultval=yes
11315 else
11316 defaultval=no
11317 fi
11318 fi
11319
11320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11321 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11322 # Check whether --enable-statusbar was given.
11323 if test "${enable_statusbar+set}" = set; then
11324 enableval=$enable_statusbar;
11325 if test "$enableval" = yes; then
11326 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11327 else
11328 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11329 fi
11330
11331 else
11332
11333 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11334
11335 fi
11336
11337
11338 eval "$wx_cv_use_statusbar"
11339
11340 if test x"$enablestring" = xdisable; then
11341 if test $wxUSE_STATUSBAR = yes; then
11342 result=no
11343 else
11344 result=yes
11345 fi
11346 else
11347 result=$wxUSE_STATUSBAR
11348 fi
11349
11350 { echo "$as_me:$LINENO: result: $result" >&5
11351 echo "${ECHO_T}$result" >&6; }
11352
11353
11354 enablestring=
11355 defaultval=$wxUSE_ALL_FEATURES
11356 if test -z "$defaultval"; then
11357 if test x"$enablestring" = xdisable; then
11358 defaultval=yes
11359 else
11360 defaultval=no
11361 fi
11362 fi
11363
11364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11366 # Check whether --enable-tabdialog was given.
11367 if test "${enable_tabdialog+set}" = set; then
11368 enableval=$enable_tabdialog;
11369 if test "$enableval" = yes; then
11370 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11371 else
11372 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11373 fi
11374
11375 else
11376
11377 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11378
11379 fi
11380
11381
11382 eval "$wx_cv_use_tabdialog"
11383
11384 if test x"$enablestring" = xdisable; then
11385 if test $wxUSE_TAB_DIALOG = yes; then
11386 result=no
11387 else
11388 result=yes
11389 fi
11390 else
11391 result=$wxUSE_TAB_DIALOG
11392 fi
11393
11394 { echo "$as_me:$LINENO: result: $result" >&5
11395 echo "${ECHO_T}$result" >&6; }
11396
11397
11398 enablestring=
11399 defaultval=$wxUSE_ALL_FEATURES
11400 if test -z "$defaultval"; then
11401 if test x"$enablestring" = xdisable; then
11402 defaultval=yes
11403 else
11404 defaultval=no
11405 fi
11406 fi
11407
11408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11410 # Check whether --enable-taskbaricon was given.
11411 if test "${enable_taskbaricon+set}" = set; then
11412 enableval=$enable_taskbaricon;
11413 if test "$enableval" = yes; then
11414 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11415 else
11416 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11417 fi
11418
11419 else
11420
11421 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11422
11423 fi
11424
11425
11426 eval "$wx_cv_use_taskbaricon"
11427
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_TASKBARICON = yes; then
11430 result=no
11431 else
11432 result=yes
11433 fi
11434 else
11435 result=$wxUSE_TASKBARICON
11436 fi
11437
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11440
11441
11442 enablestring=
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11446 defaultval=yes
11447 else
11448 defaultval=no
11449 fi
11450 fi
11451
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11454 # Check whether --enable-textctrl was given.
11455 if test "${enable_textctrl+set}" = set; then
11456 enableval=$enable_textctrl;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11459 else
11460 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11461 fi
11462
11463 else
11464
11465 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11466
11467 fi
11468
11469
11470 eval "$wx_cv_use_textctrl"
11471
11472 if test x"$enablestring" = xdisable; then
11473 if test $wxUSE_TEXTCTRL = yes; then
11474 result=no
11475 else
11476 result=yes
11477 fi
11478 else
11479 result=$wxUSE_TEXTCTRL
11480 fi
11481
11482 { echo "$as_me:$LINENO: result: $result" >&5
11483 echo "${ECHO_T}$result" >&6; }
11484
11485
11486 enablestring=
11487 defaultval=$wxUSE_ALL_FEATURES
11488 if test -z "$defaultval"; then
11489 if test x"$enablestring" = xdisable; then
11490 defaultval=yes
11491 else
11492 defaultval=no
11493 fi
11494 fi
11495
11496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11498 # Check whether --enable-togglebtn was given.
11499 if test "${enable_togglebtn+set}" = set; then
11500 enableval=$enable_togglebtn;
11501 if test "$enableval" = yes; then
11502 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11503 else
11504 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11505 fi
11506
11507 else
11508
11509 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11510
11511 fi
11512
11513
11514 eval "$wx_cv_use_togglebtn"
11515
11516 if test x"$enablestring" = xdisable; then
11517 if test $wxUSE_TOGGLEBTN = yes; then
11518 result=no
11519 else
11520 result=yes
11521 fi
11522 else
11523 result=$wxUSE_TOGGLEBTN
11524 fi
11525
11526 { echo "$as_me:$LINENO: result: $result" >&5
11527 echo "${ECHO_T}$result" >&6; }
11528
11529
11530 enablestring=
11531 defaultval=$wxUSE_ALL_FEATURES
11532 if test -z "$defaultval"; then
11533 if test x"$enablestring" = xdisable; then
11534 defaultval=yes
11535 else
11536 defaultval=no
11537 fi
11538 fi
11539
11540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11541 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11542 # Check whether --enable-toolbar was given.
11543 if test "${enable_toolbar+set}" = set; then
11544 enableval=$enable_toolbar;
11545 if test "$enableval" = yes; then
11546 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11547 else
11548 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11549 fi
11550
11551 else
11552
11553 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11554
11555 fi
11556
11557
11558 eval "$wx_cv_use_toolbar"
11559
11560 if test x"$enablestring" = xdisable; then
11561 if test $wxUSE_TOOLBAR = yes; then
11562 result=no
11563 else
11564 result=yes
11565 fi
11566 else
11567 result=$wxUSE_TOOLBAR
11568 fi
11569
11570 { echo "$as_me:$LINENO: result: $result" >&5
11571 echo "${ECHO_T}$result" >&6; }
11572
11573
11574 enablestring=
11575 defaultval=$wxUSE_ALL_FEATURES
11576 if test -z "$defaultval"; then
11577 if test x"$enablestring" = xdisable; then
11578 defaultval=yes
11579 else
11580 defaultval=no
11581 fi
11582 fi
11583
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11586 # Check whether --enable-tbarnative was given.
11587 if test "${enable_tbarnative+set}" = set; then
11588 enableval=$enable_tbarnative;
11589 if test "$enableval" = yes; then
11590 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11591 else
11592 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11593 fi
11594
11595 else
11596
11597 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11598
11599 fi
11600
11601
11602 eval "$wx_cv_use_tbarnative"
11603
11604 if test x"$enablestring" = xdisable; then
11605 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11606 result=no
11607 else
11608 result=yes
11609 fi
11610 else
11611 result=$wxUSE_TOOLBAR_NATIVE
11612 fi
11613
11614 { echo "$as_me:$LINENO: result: $result" >&5
11615 echo "${ECHO_T}$result" >&6; }
11616
11617
11618 enablestring=
11619 defaultval=$wxUSE_ALL_FEATURES
11620 if test -z "$defaultval"; then
11621 if test x"$enablestring" = xdisable; then
11622 defaultval=yes
11623 else
11624 defaultval=no
11625 fi
11626 fi
11627
11628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11629 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11630 # Check whether --enable-treebook was given.
11631 if test "${enable_treebook+set}" = set; then
11632 enableval=$enable_treebook;
11633 if test "$enableval" = yes; then
11634 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11635 else
11636 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11637 fi
11638
11639 else
11640
11641 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11642
11643 fi
11644
11645
11646 eval "$wx_cv_use_treebook"
11647
11648 if test x"$enablestring" = xdisable; then
11649 if test $wxUSE_TREEBOOK = yes; then
11650 result=no
11651 else
11652 result=yes
11653 fi
11654 else
11655 result=$wxUSE_TREEBOOK
11656 fi
11657
11658 { echo "$as_me:$LINENO: result: $result" >&5
11659 echo "${ECHO_T}$result" >&6; }
11660
11661
11662 enablestring=
11663 defaultval=$wxUSE_ALL_FEATURES
11664 if test -z "$defaultval"; then
11665 if test x"$enablestring" = xdisable; then
11666 defaultval=yes
11667 else
11668 defaultval=no
11669 fi
11670 fi
11671
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11674 # Check whether --enable-toolbook was given.
11675 if test "${enable_toolbook+set}" = set; then
11676 enableval=$enable_toolbook;
11677 if test "$enableval" = yes; then
11678 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11679 else
11680 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11681 fi
11682
11683 else
11684
11685 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11686
11687 fi
11688
11689
11690 eval "$wx_cv_use_toolbook"
11691
11692 if test x"$enablestring" = xdisable; then
11693 if test $wxUSE_TOOLBOOK = yes; then
11694 result=no
11695 else
11696 result=yes
11697 fi
11698 else
11699 result=$wxUSE_TOOLBOOK
11700 fi
11701
11702 { echo "$as_me:$LINENO: result: $result" >&5
11703 echo "${ECHO_T}$result" >&6; }
11704
11705
11706 enablestring=
11707 defaultval=$wxUSE_ALL_FEATURES
11708 if test -z "$defaultval"; then
11709 if test x"$enablestring" = xdisable; then
11710 defaultval=yes
11711 else
11712 defaultval=no
11713 fi
11714 fi
11715
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11718 # Check whether --enable-treectrl was given.
11719 if test "${enable_treectrl+set}" = set; then
11720 enableval=$enable_treectrl;
11721 if test "$enableval" = yes; then
11722 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11723 else
11724 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11725 fi
11726
11727 else
11728
11729 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11730
11731 fi
11732
11733
11734 eval "$wx_cv_use_treectrl"
11735
11736 if test x"$enablestring" = xdisable; then
11737 if test $wxUSE_TREECTRL = yes; then
11738 result=no
11739 else
11740 result=yes
11741 fi
11742 else
11743 result=$wxUSE_TREECTRL
11744 fi
11745
11746 { echo "$as_me:$LINENO: result: $result" >&5
11747 echo "${ECHO_T}$result" >&6; }
11748
11749
11750 enablestring=
11751 defaultval=$wxUSE_ALL_FEATURES
11752 if test -z "$defaultval"; then
11753 if test x"$enablestring" = xdisable; then
11754 defaultval=yes
11755 else
11756 defaultval=no
11757 fi
11758 fi
11759
11760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11761 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11762 # Check whether --enable-tipwindow was given.
11763 if test "${enable_tipwindow+set}" = set; then
11764 enableval=$enable_tipwindow;
11765 if test "$enableval" = yes; then
11766 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11767 else
11768 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11769 fi
11770
11771 else
11772
11773 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11774
11775 fi
11776
11777
11778 eval "$wx_cv_use_tipwindow"
11779
11780 if test x"$enablestring" = xdisable; then
11781 if test $wxUSE_TIPWINDOW = yes; then
11782 result=no
11783 else
11784 result=yes
11785 fi
11786 else
11787 result=$wxUSE_TIPWINDOW
11788 fi
11789
11790 { echo "$as_me:$LINENO: result: $result" >&5
11791 echo "${ECHO_T}$result" >&6; }
11792
11793
11794 enablestring=
11795 defaultval=$wxUSE_ALL_FEATURES
11796 if test -z "$defaultval"; then
11797 if test x"$enablestring" = xdisable; then
11798 defaultval=yes
11799 else
11800 defaultval=no
11801 fi
11802 fi
11803
11804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11805 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11806 # Check whether --enable-popupwin was given.
11807 if test "${enable_popupwin+set}" = set; then
11808 enableval=$enable_popupwin;
11809 if test "$enableval" = yes; then
11810 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11811 else
11812 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11813 fi
11814
11815 else
11816
11817 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11818
11819 fi
11820
11821
11822 eval "$wx_cv_use_popupwin"
11823
11824 if test x"$enablestring" = xdisable; then
11825 if test $wxUSE_POPUPWIN = yes; then
11826 result=no
11827 else
11828 result=yes
11829 fi
11830 else
11831 result=$wxUSE_POPUPWIN
11832 fi
11833
11834 { echo "$as_me:$LINENO: result: $result" >&5
11835 echo "${ECHO_T}$result" >&6; }
11836
11837
11838
11839
11840 enablestring=
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11844 defaultval=yes
11845 else
11846 defaultval=no
11847 fi
11848 fi
11849
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11852 # Check whether --enable-commondlg was given.
11853 if test "${enable_commondlg+set}" = set; then
11854 enableval=$enable_commondlg;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11857 else
11858 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11859 fi
11860
11861 else
11862
11863 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11864
11865 fi
11866
11867
11868 eval "$wx_cv_use_commondlg"
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_COMMONDLGS = yes; then
11872 result=no
11873 else
11874 result=yes
11875 fi
11876 else
11877 result=$wxUSE_COMMONDLGS
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
11884 enablestring=
11885 defaultval=$wxUSE_ALL_FEATURES
11886 if test -z "$defaultval"; then
11887 if test x"$enablestring" = xdisable; then
11888 defaultval=yes
11889 else
11890 defaultval=no
11891 fi
11892 fi
11893
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11896 # Check whether --enable-aboutdlg was given.
11897 if test "${enable_aboutdlg+set}" = set; then
11898 enableval=$enable_aboutdlg;
11899 if test "$enableval" = yes; then
11900 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11901 else
11902 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11903 fi
11904
11905 else
11906
11907 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11908
11909 fi
11910
11911
11912 eval "$wx_cv_use_aboutdlg"
11913
11914 if test x"$enablestring" = xdisable; then
11915 if test $wxUSE_ABOUTDLG = yes; then
11916 result=no
11917 else
11918 result=yes
11919 fi
11920 else
11921 result=$wxUSE_ABOUTDLG
11922 fi
11923
11924 { echo "$as_me:$LINENO: result: $result" >&5
11925 echo "${ECHO_T}$result" >&6; }
11926
11927
11928 enablestring=
11929 defaultval=$wxUSE_ALL_FEATURES
11930 if test -z "$defaultval"; then
11931 if test x"$enablestring" = xdisable; then
11932 defaultval=yes
11933 else
11934 defaultval=no
11935 fi
11936 fi
11937
11938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11939 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11940 # Check whether --enable-choicedlg was given.
11941 if test "${enable_choicedlg+set}" = set; then
11942 enableval=$enable_choicedlg;
11943 if test "$enableval" = yes; then
11944 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11945 else
11946 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11947 fi
11948
11949 else
11950
11951 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11952
11953 fi
11954
11955
11956 eval "$wx_cv_use_choicedlg"
11957
11958 if test x"$enablestring" = xdisable; then
11959 if test $wxUSE_CHOICEDLG = yes; then
11960 result=no
11961 else
11962 result=yes
11963 fi
11964 else
11965 result=$wxUSE_CHOICEDLG
11966 fi
11967
11968 { echo "$as_me:$LINENO: result: $result" >&5
11969 echo "${ECHO_T}$result" >&6; }
11970
11971
11972 enablestring=
11973 defaultval=$wxUSE_ALL_FEATURES
11974 if test -z "$defaultval"; then
11975 if test x"$enablestring" = xdisable; then
11976 defaultval=yes
11977 else
11978 defaultval=no
11979 fi
11980 fi
11981
11982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11983 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11984 # Check whether --enable-coldlg was given.
11985 if test "${enable_coldlg+set}" = set; then
11986 enableval=$enable_coldlg;
11987 if test "$enableval" = yes; then
11988 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11989 else
11990 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
11991 fi
11992
11993 else
11994
11995 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
11996
11997 fi
11998
11999
12000 eval "$wx_cv_use_coldlg"
12001
12002 if test x"$enablestring" = xdisable; then
12003 if test $wxUSE_COLOURDLG = yes; then
12004 result=no
12005 else
12006 result=yes
12007 fi
12008 else
12009 result=$wxUSE_COLOURDLG
12010 fi
12011
12012 { echo "$as_me:$LINENO: result: $result" >&5
12013 echo "${ECHO_T}$result" >&6; }
12014
12015
12016 enablestring=
12017 defaultval=$wxUSE_ALL_FEATURES
12018 if test -z "$defaultval"; then
12019 if test x"$enablestring" = xdisable; then
12020 defaultval=yes
12021 else
12022 defaultval=no
12023 fi
12024 fi
12025
12026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12027 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12028 # Check whether --enable-filedlg was given.
12029 if test "${enable_filedlg+set}" = set; then
12030 enableval=$enable_filedlg;
12031 if test "$enableval" = yes; then
12032 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12033 else
12034 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12035 fi
12036
12037 else
12038
12039 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12040
12041 fi
12042
12043
12044 eval "$wx_cv_use_filedlg"
12045
12046 if test x"$enablestring" = xdisable; then
12047 if test $wxUSE_FILEDLG = yes; then
12048 result=no
12049 else
12050 result=yes
12051 fi
12052 else
12053 result=$wxUSE_FILEDLG
12054 fi
12055
12056 { echo "$as_me:$LINENO: result: $result" >&5
12057 echo "${ECHO_T}$result" >&6; }
12058
12059
12060 enablestring=
12061 defaultval=$wxUSE_ALL_FEATURES
12062 if test -z "$defaultval"; then
12063 if test x"$enablestring" = xdisable; then
12064 defaultval=yes
12065 else
12066 defaultval=no
12067 fi
12068 fi
12069
12070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12071 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12072 # Check whether --enable-finddlg was given.
12073 if test "${enable_finddlg+set}" = set; then
12074 enableval=$enable_finddlg;
12075 if test "$enableval" = yes; then
12076 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12077 else
12078 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12079 fi
12080
12081 else
12082
12083 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12084
12085 fi
12086
12087
12088 eval "$wx_cv_use_finddlg"
12089
12090 if test x"$enablestring" = xdisable; then
12091 if test $wxUSE_FINDREPLDLG = yes; then
12092 result=no
12093 else
12094 result=yes
12095 fi
12096 else
12097 result=$wxUSE_FINDREPLDLG
12098 fi
12099
12100 { echo "$as_me:$LINENO: result: $result" >&5
12101 echo "${ECHO_T}$result" >&6; }
12102
12103
12104 enablestring=
12105 defaultval=$wxUSE_ALL_FEATURES
12106 if test -z "$defaultval"; then
12107 if test x"$enablestring" = xdisable; then
12108 defaultval=yes
12109 else
12110 defaultval=no
12111 fi
12112 fi
12113
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12116 # Check whether --enable-fontdlg was given.
12117 if test "${enable_fontdlg+set}" = set; then
12118 enableval=$enable_fontdlg;
12119 if test "$enableval" = yes; then
12120 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12121 else
12122 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12123 fi
12124
12125 else
12126
12127 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12128
12129 fi
12130
12131
12132 eval "$wx_cv_use_fontdlg"
12133
12134 if test x"$enablestring" = xdisable; then
12135 if test $wxUSE_FONTDLG = yes; then
12136 result=no
12137 else
12138 result=yes
12139 fi
12140 else
12141 result=$wxUSE_FONTDLG
12142 fi
12143
12144 { echo "$as_me:$LINENO: result: $result" >&5
12145 echo "${ECHO_T}$result" >&6; }
12146
12147
12148 enablestring=
12149 defaultval=$wxUSE_ALL_FEATURES
12150 if test -z "$defaultval"; then
12151 if test x"$enablestring" = xdisable; then
12152 defaultval=yes
12153 else
12154 defaultval=no
12155 fi
12156 fi
12157
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12160 # Check whether --enable-dirdlg was given.
12161 if test "${enable_dirdlg+set}" = set; then
12162 enableval=$enable_dirdlg;
12163 if test "$enableval" = yes; then
12164 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12165 else
12166 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12167 fi
12168
12169 else
12170
12171 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12172
12173 fi
12174
12175
12176 eval "$wx_cv_use_dirdlg"
12177
12178 if test x"$enablestring" = xdisable; then
12179 if test $wxUSE_DIRDLG = yes; then
12180 result=no
12181 else
12182 result=yes
12183 fi
12184 else
12185 result=$wxUSE_DIRDLG
12186 fi
12187
12188 { echo "$as_me:$LINENO: result: $result" >&5
12189 echo "${ECHO_T}$result" >&6; }
12190
12191
12192 enablestring=
12193 defaultval=$wxUSE_ALL_FEATURES
12194 if test -z "$defaultval"; then
12195 if test x"$enablestring" = xdisable; then
12196 defaultval=yes
12197 else
12198 defaultval=no
12199 fi
12200 fi
12201
12202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12203 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12204 # Check whether --enable-msgdlg was given.
12205 if test "${enable_msgdlg+set}" = set; then
12206 enableval=$enable_msgdlg;
12207 if test "$enableval" = yes; then
12208 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12209 else
12210 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12211 fi
12212
12213 else
12214
12215 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12216
12217 fi
12218
12219
12220 eval "$wx_cv_use_msgdlg"
12221
12222 if test x"$enablestring" = xdisable; then
12223 if test $wxUSE_MSGDLG = yes; then
12224 result=no
12225 else
12226 result=yes
12227 fi
12228 else
12229 result=$wxUSE_MSGDLG
12230 fi
12231
12232 { echo "$as_me:$LINENO: result: $result" >&5
12233 echo "${ECHO_T}$result" >&6; }
12234
12235
12236 enablestring=
12237 defaultval=$wxUSE_ALL_FEATURES
12238 if test -z "$defaultval"; then
12239 if test x"$enablestring" = xdisable; then
12240 defaultval=yes
12241 else
12242 defaultval=no
12243 fi
12244 fi
12245
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12248 # Check whether --enable-numberdlg was given.
12249 if test "${enable_numberdlg+set}" = set; then
12250 enableval=$enable_numberdlg;
12251 if test "$enableval" = yes; then
12252 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12253 else
12254 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12255 fi
12256
12257 else
12258
12259 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12260
12261 fi
12262
12263
12264 eval "$wx_cv_use_numberdlg"
12265
12266 if test x"$enablestring" = xdisable; then
12267 if test $wxUSE_NUMBERDLG = yes; then
12268 result=no
12269 else
12270 result=yes
12271 fi
12272 else
12273 result=$wxUSE_NUMBERDLG
12274 fi
12275
12276 { echo "$as_me:$LINENO: result: $result" >&5
12277 echo "${ECHO_T}$result" >&6; }
12278
12279
12280 enablestring=
12281 defaultval=$wxUSE_ALL_FEATURES
12282 if test -z "$defaultval"; then
12283 if test x"$enablestring" = xdisable; then
12284 defaultval=yes
12285 else
12286 defaultval=no
12287 fi
12288 fi
12289
12290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12291 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12292 # Check whether --enable-splash was given.
12293 if test "${enable_splash+set}" = set; then
12294 enableval=$enable_splash;
12295 if test "$enableval" = yes; then
12296 wx_cv_use_splash='wxUSE_SPLASH=yes'
12297 else
12298 wx_cv_use_splash='wxUSE_SPLASH=no'
12299 fi
12300
12301 else
12302
12303 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12304
12305 fi
12306
12307
12308 eval "$wx_cv_use_splash"
12309
12310 if test x"$enablestring" = xdisable; then
12311 if test $wxUSE_SPLASH = yes; then
12312 result=no
12313 else
12314 result=yes
12315 fi
12316 else
12317 result=$wxUSE_SPLASH
12318 fi
12319
12320 { echo "$as_me:$LINENO: result: $result" >&5
12321 echo "${ECHO_T}$result" >&6; }
12322
12323
12324 enablestring=
12325 defaultval=$wxUSE_ALL_FEATURES
12326 if test -z "$defaultval"; then
12327 if test x"$enablestring" = xdisable; then
12328 defaultval=yes
12329 else
12330 defaultval=no
12331 fi
12332 fi
12333
12334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12335 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12336 # Check whether --enable-textdlg was given.
12337 if test "${enable_textdlg+set}" = set; then
12338 enableval=$enable_textdlg;
12339 if test "$enableval" = yes; then
12340 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12341 else
12342 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12343 fi
12344
12345 else
12346
12347 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12348
12349 fi
12350
12351
12352 eval "$wx_cv_use_textdlg"
12353
12354 if test x"$enablestring" = xdisable; then
12355 if test $wxUSE_TEXTDLG = yes; then
12356 result=no
12357 else
12358 result=yes
12359 fi
12360 else
12361 result=$wxUSE_TEXTDLG
12362 fi
12363
12364 { echo "$as_me:$LINENO: result: $result" >&5
12365 echo "${ECHO_T}$result" >&6; }
12366
12367
12368 enablestring=
12369 defaultval=$wxUSE_ALL_FEATURES
12370 if test -z "$defaultval"; then
12371 if test x"$enablestring" = xdisable; then
12372 defaultval=yes
12373 else
12374 defaultval=no
12375 fi
12376 fi
12377
12378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12379 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12380 # Check whether --enable-tipdlg was given.
12381 if test "${enable_tipdlg+set}" = set; then
12382 enableval=$enable_tipdlg;
12383 if test "$enableval" = yes; then
12384 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12385 else
12386 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12387 fi
12388
12389 else
12390
12391 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12392
12393 fi
12394
12395
12396 eval "$wx_cv_use_tipdlg"
12397
12398 if test x"$enablestring" = xdisable; then
12399 if test $wxUSE_STARTUP_TIPS = yes; then
12400 result=no
12401 else
12402 result=yes
12403 fi
12404 else
12405 result=$wxUSE_STARTUP_TIPS
12406 fi
12407
12408 { echo "$as_me:$LINENO: result: $result" >&5
12409 echo "${ECHO_T}$result" >&6; }
12410
12411
12412 enablestring=
12413 defaultval=$wxUSE_ALL_FEATURES
12414 if test -z "$defaultval"; then
12415 if test x"$enablestring" = xdisable; then
12416 defaultval=yes
12417 else
12418 defaultval=no
12419 fi
12420 fi
12421
12422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12423 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12424 # Check whether --enable-progressdlg was given.
12425 if test "${enable_progressdlg+set}" = set; then
12426 enableval=$enable_progressdlg;
12427 if test "$enableval" = yes; then
12428 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12429 else
12430 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12431 fi
12432
12433 else
12434
12435 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12436
12437 fi
12438
12439
12440 eval "$wx_cv_use_progressdlg"
12441
12442 if test x"$enablestring" = xdisable; then
12443 if test $wxUSE_PROGRESSDLG = yes; then
12444 result=no
12445 else
12446 result=yes
12447 fi
12448 else
12449 result=$wxUSE_PROGRESSDLG
12450 fi
12451
12452 { echo "$as_me:$LINENO: result: $result" >&5
12453 echo "${ECHO_T}$result" >&6; }
12454
12455
12456 enablestring=
12457 defaultval=$wxUSE_ALL_FEATURES
12458 if test -z "$defaultval"; then
12459 if test x"$enablestring" = xdisable; then
12460 defaultval=yes
12461 else
12462 defaultval=no
12463 fi
12464 fi
12465
12466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12467 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12468 # Check whether --enable-wizarddlg was given.
12469 if test "${enable_wizarddlg+set}" = set; then
12470 enableval=$enable_wizarddlg;
12471 if test "$enableval" = yes; then
12472 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12473 else
12474 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12475 fi
12476
12477 else
12478
12479 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12480
12481 fi
12482
12483
12484 eval "$wx_cv_use_wizarddlg"
12485
12486 if test x"$enablestring" = xdisable; then
12487 if test $wxUSE_WIZARDDLG = yes; then
12488 result=no
12489 else
12490 result=yes
12491 fi
12492 else
12493 result=$wxUSE_WIZARDDLG
12494 fi
12495
12496 { echo "$as_me:$LINENO: result: $result" >&5
12497 echo "${ECHO_T}$result" >&6; }
12498
12499
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12514 # Check whether --enable-menus was given.
12515 if test "${enable_menus+set}" = set; then
12516 enableval=$enable_menus;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_menus='wxUSE_MENUS=yes'
12519 else
12520 wx_cv_use_menus='wxUSE_MENUS=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_menus"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_MENUS = yes; then
12534 result=no
12535 else
12536 result=yes
12537 fi
12538 else
12539 result=$wxUSE_MENUS
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546 enablestring=
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12550 defaultval=yes
12551 else
12552 defaultval=no
12553 fi
12554 fi
12555
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12558 # Check whether --enable-miniframe was given.
12559 if test "${enable_miniframe+set}" = set; then
12560 enableval=$enable_miniframe;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12563 else
12564 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12565 fi
12566
12567 else
12568
12569 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12570
12571 fi
12572
12573
12574 eval "$wx_cv_use_miniframe"
12575
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_MINIFRAME = yes; then
12578 result=no
12579 else
12580 result=yes
12581 fi
12582 else
12583 result=$wxUSE_MINIFRAME
12584 fi
12585
12586 { echo "$as_me:$LINENO: result: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12588
12589
12590 enablestring=
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12594 defaultval=yes
12595 else
12596 defaultval=no
12597 fi
12598 fi
12599
12600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12601 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12602 # Check whether --enable-tooltips was given.
12603 if test "${enable_tooltips+set}" = set; then
12604 enableval=$enable_tooltips;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12607 else
12608 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12609 fi
12610
12611 else
12612
12613 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12614
12615 fi
12616
12617
12618 eval "$wx_cv_use_tooltips"
12619
12620 if test x"$enablestring" = xdisable; then
12621 if test $wxUSE_TOOLTIPS = yes; then
12622 result=no
12623 else
12624 result=yes
12625 fi
12626 else
12627 result=$wxUSE_TOOLTIPS
12628 fi
12629
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12632
12633
12634 enablestring=
12635 defaultval=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x"$enablestring" = xdisable; then
12638 defaultval=yes
12639 else
12640 defaultval=no
12641 fi
12642 fi
12643
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12646 # Check whether --enable-splines was given.
12647 if test "${enable_splines+set}" = set; then
12648 enableval=$enable_splines;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_splines='wxUSE_SPLINES=yes'
12651 else
12652 wx_cv_use_splines='wxUSE_SPLINES=no'
12653 fi
12654
12655 else
12656
12657 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12658
12659 fi
12660
12661
12662 eval "$wx_cv_use_splines"
12663
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_SPLINES = yes; then
12666 result=no
12667 else
12668 result=yes
12669 fi
12670 else
12671 result=$wxUSE_SPLINES
12672 fi
12673
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12676
12677
12678 enablestring=
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12682 defaultval=yes
12683 else
12684 defaultval=no
12685 fi
12686 fi
12687
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12690 # Check whether --enable-mousewheel was given.
12691 if test "${enable_mousewheel+set}" = set; then
12692 enableval=$enable_mousewheel;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12695 else
12696 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12697 fi
12698
12699 else
12700
12701 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12702
12703 fi
12704
12705
12706 eval "$wx_cv_use_mousewheel"
12707
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_MOUSEWHEEL = yes; then
12710 result=no
12711 else
12712 result=yes
12713 fi
12714 else
12715 result=$wxUSE_MOUSEWHEEL
12716 fi
12717
12718 { echo "$as_me:$LINENO: result: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12720
12721
12722 enablestring=
12723 defaultval=$wxUSE_ALL_FEATURES
12724 if test -z "$defaultval"; then
12725 if test x"$enablestring" = xdisable; then
12726 defaultval=yes
12727 else
12728 defaultval=no
12729 fi
12730 fi
12731
12732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12733 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12734 # Check whether --enable-validators was given.
12735 if test "${enable_validators+set}" = set; then
12736 enableval=$enable_validators;
12737 if test "$enableval" = yes; then
12738 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12739 else
12740 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12741 fi
12742
12743 else
12744
12745 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12746
12747 fi
12748
12749
12750 eval "$wx_cv_use_validators"
12751
12752 if test x"$enablestring" = xdisable; then
12753 if test $wxUSE_VALIDATORS = yes; then
12754 result=no
12755 else
12756 result=yes
12757 fi
12758 else
12759 result=$wxUSE_VALIDATORS
12760 fi
12761
12762 { echo "$as_me:$LINENO: result: $result" >&5
12763 echo "${ECHO_T}$result" >&6; }
12764
12765
12766 enablestring=
12767 defaultval=$wxUSE_ALL_FEATURES
12768 if test -z "$defaultval"; then
12769 if test x"$enablestring" = xdisable; then
12770 defaultval=yes
12771 else
12772 defaultval=no
12773 fi
12774 fi
12775
12776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12777 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12778 # Check whether --enable-busyinfo was given.
12779 if test "${enable_busyinfo+set}" = set; then
12780 enableval=$enable_busyinfo;
12781 if test "$enableval" = yes; then
12782 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12783 else
12784 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12785 fi
12786
12787 else
12788
12789 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12790
12791 fi
12792
12793
12794 eval "$wx_cv_use_busyinfo"
12795
12796 if test x"$enablestring" = xdisable; then
12797 if test $wxUSE_BUSYINFO = yes; then
12798 result=no
12799 else
12800 result=yes
12801 fi
12802 else
12803 result=$wxUSE_BUSYINFO
12804 fi
12805
12806 { echo "$as_me:$LINENO: result: $result" >&5
12807 echo "${ECHO_T}$result" >&6; }
12808
12809
12810 enablestring=
12811 defaultval=$wxUSE_ALL_FEATURES
12812 if test -z "$defaultval"; then
12813 if test x"$enablestring" = xdisable; then
12814 defaultval=yes
12815 else
12816 defaultval=no
12817 fi
12818 fi
12819
12820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12821 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12822 # Check whether --enable-joystick was given.
12823 if test "${enable_joystick+set}" = set; then
12824 enableval=$enable_joystick;
12825 if test "$enableval" = yes; then
12826 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12827 else
12828 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12829 fi
12830
12831 else
12832
12833 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12834
12835 fi
12836
12837
12838 eval "$wx_cv_use_joystick"
12839
12840 if test x"$enablestring" = xdisable; then
12841 if test $wxUSE_JOYSTICK = yes; then
12842 result=no
12843 else
12844 result=yes
12845 fi
12846 else
12847 result=$wxUSE_JOYSTICK
12848 fi
12849
12850 { echo "$as_me:$LINENO: result: $result" >&5
12851 echo "${ECHO_T}$result" >&6; }
12852
12853
12854 enablestring=
12855 defaultval=$wxUSE_ALL_FEATURES
12856 if test -z "$defaultval"; then
12857 if test x"$enablestring" = xdisable; then
12858 defaultval=yes
12859 else
12860 defaultval=no
12861 fi
12862 fi
12863
12864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12865 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12866 # Check whether --enable-metafile was given.
12867 if test "${enable_metafile+set}" = set; then
12868 enableval=$enable_metafile;
12869 if test "$enableval" = yes; then
12870 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12871 else
12872 wx_cv_use_metafile='wxUSE_METAFILE=no'
12873 fi
12874
12875 else
12876
12877 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12878
12879 fi
12880
12881
12882 eval "$wx_cv_use_metafile"
12883
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_METAFILE = yes; then
12886 result=no
12887 else
12888 result=yes
12889 fi
12890 else
12891 result=$wxUSE_METAFILE
12892 fi
12893
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12896
12897
12898 enablestring=
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12902 defaultval=yes
12903 else
12904 defaultval=no
12905 fi
12906 fi
12907
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12910 # Check whether --enable-dragimage was given.
12911 if test "${enable_dragimage+set}" = set; then
12912 enableval=$enable_dragimage;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12915 else
12916 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12917 fi
12918
12919 else
12920
12921 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12922
12923 fi
12924
12925
12926 eval "$wx_cv_use_dragimage"
12927
12928 if test x"$enablestring" = xdisable; then
12929 if test $wxUSE_DRAGIMAGE = yes; then
12930 result=no
12931 else
12932 result=yes
12933 fi
12934 else
12935 result=$wxUSE_DRAGIMAGE
12936 fi
12937
12938 { echo "$as_me:$LINENO: result: $result" >&5
12939 echo "${ECHO_T}$result" >&6; }
12940
12941
12942 enablestring=
12943 defaultval=$wxUSE_ALL_FEATURES
12944 if test -z "$defaultval"; then
12945 if test x"$enablestring" = xdisable; then
12946 defaultval=yes
12947 else
12948 defaultval=no
12949 fi
12950 fi
12951
12952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12953 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12954 # Check whether --enable-accessibility was given.
12955 if test "${enable_accessibility+set}" = set; then
12956 enableval=$enable_accessibility;
12957 if test "$enableval" = yes; then
12958 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12959 else
12960 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12961 fi
12962
12963 else
12964
12965 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
12966
12967 fi
12968
12969
12970 eval "$wx_cv_use_accessibility"
12971
12972 if test x"$enablestring" = xdisable; then
12973 if test $wxUSE_ACCESSIBILITY = yes; then
12974 result=no
12975 else
12976 result=yes
12977 fi
12978 else
12979 result=$wxUSE_ACCESSIBILITY
12980 fi
12981
12982 { echo "$as_me:$LINENO: result: $result" >&5
12983 echo "${ECHO_T}$result" >&6; }
12984
12985
12986
12987
12988 enablestring=
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12992 defaultval=yes
12993 else
12994 defaultval=no
12995 fi
12996 fi
12997
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13000 # Check whether --enable-palette was given.
13001 if test "${enable_palette+set}" = set; then
13002 enableval=$enable_palette;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_palette='wxUSE_PALETTE=yes'
13005 else
13006 wx_cv_use_palette='wxUSE_PALETTE=no'
13007 fi
13008
13009 else
13010
13011 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_palette"
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_PALETTE = yes; then
13020 result=no
13021 else
13022 result=yes
13023 fi
13024 else
13025 result=$wxUSE_PALETTE
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032 enablestring=
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13036 defaultval=yes
13037 else
13038 defaultval=no
13039 fi
13040 fi
13041
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13044 # Check whether --enable-image was given.
13045 if test "${enable_image+set}" = set; then
13046 enableval=$enable_image;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_image='wxUSE_IMAGE=yes'
13049 else
13050 wx_cv_use_image='wxUSE_IMAGE=no'
13051 fi
13052
13053 else
13054
13055 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13056
13057 fi
13058
13059
13060 eval "$wx_cv_use_image"
13061
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_IMAGE = yes; then
13064 result=no
13065 else
13066 result=yes
13067 fi
13068 else
13069 result=$wxUSE_IMAGE
13070 fi
13071
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13074
13075
13076 enablestring=
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13080 defaultval=yes
13081 else
13082 defaultval=no
13083 fi
13084 fi
13085
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13088 # Check whether --enable-gif was given.
13089 if test "${enable_gif+set}" = set; then
13090 enableval=$enable_gif;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_gif='wxUSE_GIF=yes'
13093 else
13094 wx_cv_use_gif='wxUSE_GIF=no'
13095 fi
13096
13097 else
13098
13099 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13100
13101 fi
13102
13103
13104 eval "$wx_cv_use_gif"
13105
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_GIF = yes; then
13108 result=no
13109 else
13110 result=yes
13111 fi
13112 else
13113 result=$wxUSE_GIF
13114 fi
13115
13116 { echo "$as_me:$LINENO: result: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13118
13119
13120 enablestring=
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13124 defaultval=yes
13125 else
13126 defaultval=no
13127 fi
13128 fi
13129
13130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13131 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13132 # Check whether --enable-pcx was given.
13133 if test "${enable_pcx+set}" = set; then
13134 enableval=$enable_pcx;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_pcx='wxUSE_PCX=yes'
13137 else
13138 wx_cv_use_pcx='wxUSE_PCX=no'
13139 fi
13140
13141 else
13142
13143 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13144
13145 fi
13146
13147
13148 eval "$wx_cv_use_pcx"
13149
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_PCX = yes; then
13152 result=no
13153 else
13154 result=yes
13155 fi
13156 else
13157 result=$wxUSE_PCX
13158 fi
13159
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13162
13163
13164 enablestring=
13165 defaultval=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x"$enablestring" = xdisable; then
13168 defaultval=yes
13169 else
13170 defaultval=no
13171 fi
13172 fi
13173
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13176 # Check whether --enable-tga was given.
13177 if test "${enable_tga+set}" = set; then
13178 enableval=$enable_tga;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_tga='wxUSE_TGA=yes'
13181 else
13182 wx_cv_use_tga='wxUSE_TGA=no'
13183 fi
13184
13185 else
13186
13187 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13188
13189 fi
13190
13191
13192 eval "$wx_cv_use_tga"
13193
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_TGA = yes; then
13196 result=no
13197 else
13198 result=yes
13199 fi
13200 else
13201 result=$wxUSE_TGA
13202 fi
13203
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13206
13207
13208 enablestring=
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13212 defaultval=yes
13213 else
13214 defaultval=no
13215 fi
13216 fi
13217
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13220 # Check whether --enable-iff was given.
13221 if test "${enable_iff+set}" = set; then
13222 enableval=$enable_iff;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_iff='wxUSE_IFF=yes'
13225 else
13226 wx_cv_use_iff='wxUSE_IFF=no'
13227 fi
13228
13229 else
13230
13231 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13232
13233 fi
13234
13235
13236 eval "$wx_cv_use_iff"
13237
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_IFF = yes; then
13240 result=no
13241 else
13242 result=yes
13243 fi
13244 else
13245 result=$wxUSE_IFF
13246 fi
13247
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13250
13251
13252 enablestring=
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13256 defaultval=yes
13257 else
13258 defaultval=no
13259 fi
13260 fi
13261
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13264 # Check whether --enable-pnm was given.
13265 if test "${enable_pnm+set}" = set; then
13266 enableval=$enable_pnm;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_pnm='wxUSE_PNM=yes'
13269 else
13270 wx_cv_use_pnm='wxUSE_PNM=no'
13271 fi
13272
13273 else
13274
13275 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13276
13277 fi
13278
13279
13280 eval "$wx_cv_use_pnm"
13281
13282 if test x"$enablestring" = xdisable; then
13283 if test $wxUSE_PNM = yes; then
13284 result=no
13285 else
13286 result=yes
13287 fi
13288 else
13289 result=$wxUSE_PNM
13290 fi
13291
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13294
13295
13296 enablestring=
13297 defaultval=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x"$enablestring" = xdisable; then
13300 defaultval=yes
13301 else
13302 defaultval=no
13303 fi
13304 fi
13305
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13308 # Check whether --enable-xpm was given.
13309 if test "${enable_xpm+set}" = set; then
13310 enableval=$enable_xpm;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_xpm='wxUSE_XPM=yes'
13313 else
13314 wx_cv_use_xpm='wxUSE_XPM=no'
13315 fi
13316
13317 else
13318
13319 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13320
13321 fi
13322
13323
13324 eval "$wx_cv_use_xpm"
13325
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_XPM = yes; then
13328 result=no
13329 else
13330 result=yes
13331 fi
13332 else
13333 result=$wxUSE_XPM
13334 fi
13335
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13338
13339
13340 enablestring=
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13344 defaultval=yes
13345 else
13346 defaultval=no
13347 fi
13348 fi
13349
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13352 # Check whether --enable-ico_cur was given.
13353 if test "${enable_ico_cur+set}" = set; then
13354 enableval=$enable_ico_cur;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13357 else
13358 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13359 fi
13360
13361 else
13362
13363 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13364
13365 fi
13366
13367
13368 eval "$wx_cv_use_ico_cur"
13369
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_ICO_CUR = yes; then
13372 result=no
13373 else
13374 result=yes
13375 fi
13376 else
13377 result=$wxUSE_ICO_CUR
13378 fi
13379
13380 { echo "$as_me:$LINENO: result: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13382
13383
13384
13385
13386 enablestring=
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13390 defaultval=yes
13391 else
13392 defaultval=no
13393 fi
13394 fi
13395
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13398 # Check whether --enable-dccache was given.
13399 if test "${enable_dccache+set}" = set; then
13400 enableval=$enable_dccache;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13403 else
13404 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_dccache"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_DC_CACHEING = yes; then
13418 result=no
13419 else
13420 result=yes
13421 fi
13422 else
13423 result=$wxUSE_DC_CACHEING
13424 fi
13425
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13428
13429
13430 enablestring=
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13434 defaultval=yes
13435 else
13436 defaultval=no
13437 fi
13438 fi
13439
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13442 # Check whether --enable-ps-in-msw was given.
13443 if test "${enable_ps_in_msw+set}" = set; then
13444 enableval=$enable_ps_in_msw;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13447 else
13448 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13449 fi
13450
13451 else
13452
13453 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13454
13455 fi
13456
13457
13458 eval "$wx_cv_use_ps_in_msw"
13459
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13462 result=no
13463 else
13464 result=yes
13465 fi
13466 else
13467 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13468 fi
13469
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13472
13473
13474 enablestring=
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13478 defaultval=yes
13479 else
13480 defaultval=no
13481 fi
13482 fi
13483
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13486 # Check whether --enable-ownerdrawn was given.
13487 if test "${enable_ownerdrawn+set}" = set; then
13488 enableval=$enable_ownerdrawn;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13491 else
13492 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13493 fi
13494
13495 else
13496
13497 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13498
13499 fi
13500
13501
13502 eval "$wx_cv_use_ownerdrawn"
13503
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_OWNER_DRAWN = yes; then
13506 result=no
13507 else
13508 result=yes
13509 fi
13510 else
13511 result=$wxUSE_OWNER_DRAWN
13512 fi
13513
13514 { echo "$as_me:$LINENO: result: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13516
13517
13518 enablestring=
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13522 defaultval=yes
13523 else
13524 defaultval=no
13525 fi
13526 fi
13527
13528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13529 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13530 # Check whether --enable-uxtheme was given.
13531 if test "${enable_uxtheme+set}" = set; then
13532 enableval=$enable_uxtheme;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13535 else
13536 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13537 fi
13538
13539 else
13540
13541 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13542
13543 fi
13544
13545
13546 eval "$wx_cv_use_uxtheme"
13547
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_UXTHEME = yes; then
13550 result=no
13551 else
13552 result=yes
13553 fi
13554 else
13555 result=$wxUSE_UXTHEME
13556 fi
13557
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13560
13561
13562 enablestring=
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13566 defaultval=yes
13567 else
13568 defaultval=no
13569 fi
13570 fi
13571
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13574 # Check whether --enable-wxdib was given.
13575 if test "${enable_wxdib+set}" = set; then
13576 enableval=$enable_wxdib;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_wxdib='wxUSE_DIB=yes'
13579 else
13580 wx_cv_use_wxdib='wxUSE_DIB=no'
13581 fi
13582
13583 else
13584
13585 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13586
13587 fi
13588
13589
13590 eval "$wx_cv_use_wxdib"
13591
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_DIB = yes; then
13594 result=no
13595 else
13596 result=yes
13597 fi
13598 else
13599 result=$wxUSE_DIB
13600 fi
13601
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13604
13605
13606 fi
13607
13608
13609 { echo "$as_me:$LINENO: checking for toolkit" >&5
13610 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13611
13612 # In Wine, we need to default to MSW, not GTK or MOTIF
13613 if test "$wxUSE_WINE" = "yes"; then
13614 DEFAULT_DEFAULT_wxUSE_GTK=0
13615 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13616 DEFAULT_DEFAULT_wxUSE_MSW=1
13617 wxUSE_SHARED=no
13618 CC=${CC:-winegcc}
13619 CXX=${CXX:-wineg++}
13620 fi
13621
13622
13623 if test "$wxUSE_GUI" = "yes"; then
13624
13625 if test "$USE_BEOS" = 1; then
13626 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13627 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13628 { (exit 1); exit 1; }; }
13629 fi
13630
13631 if test "$TOOLKIT_GIVEN" = 1; then
13632 for toolkit in $ALL_TOOLKITS; do
13633 var=wxUSE_$toolkit
13634 eval "value=\$${var}"
13635 if test "x$value" = "xno"; then
13636 eval "$var=0"
13637 elif test "x$value" != "x"; then
13638 eval "$var=1"
13639 fi
13640
13641 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13642 eval "wx${toolkit}_VERSION=$value"
13643 fi
13644 done
13645 else
13646 for toolkit in $ALL_TOOLKITS; do
13647 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13648 eval "wxUSE_$toolkit=\$${var}"
13649 done
13650 fi
13651
13652 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13653 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13654 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13655
13656 case "${host}" in
13657 *-pc-os2_emx | *-pc-os2-emx )
13658 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13659 esac
13660
13661 case "$NUM_TOOLKITS" in
13662 1)
13663 ;;
13664 0)
13665 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13666 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13667 { (exit 1); exit 1; }; }
13668 ;;
13669 *)
13670 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13671 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13672 { (exit 1); exit 1; }; }
13673 esac
13674
13675 # to be removed when --disable-gtk2 isn't needed
13676 if test "x$wxUSE_GTK2" = "xyes"; then
13677 wxGTK_VERSION=2
13678 elif test "x$wxUSE_GTK2" = "xno"; then
13679 wxGTK_VERSION=1
13680 fi
13681
13682 for toolkit in $ALL_TOOLKITS; do
13683 var=wxUSE_$toolkit
13684 eval "value=\$${var}"
13685 if test "$value" = 1; then
13686 toolkit_echo=`echo $toolkit | tr A-Z a-z`
13687 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13688 echo "${ECHO_T}$toolkit_echo" >&6; }
13689 fi
13690 done
13691 else
13692 if test "x$host_alias" != "x"; then
13693 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13694 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13695 else
13696 { echo "$as_me:$LINENO: result: base only" >&5
13697 echo "${ECHO_T}base only" >&6; }
13698 fi
13699 fi
13700
13701
13702 cat >confcache <<\_ACEOF
13703 # This file is a shell script that caches the results of configure
13704 # tests run on this system so they can be shared between configure
13705 # scripts and configure runs, see configure's option --config-cache.
13706 # It is not useful on other systems. If it contains results you don't
13707 # want to keep, you may remove or edit it.
13708 #
13709 # config.status only pays attention to the cache file if you give it
13710 # the --recheck option to rerun configure.
13711 #
13712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13714 # following values.
13715
13716 _ACEOF
13717
13718 # The following way of writing the cache mishandles newlines in values,
13719 # but we know of no workaround that is simple, portable, and efficient.
13720 # So, we kill variables containing newlines.
13721 # Ultrix sh set writes to stderr and can't be redirected directly,
13722 # and sets the high bit in the cache file unless we assign to the vars.
13723 (
13724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13725 eval ac_val=\$$ac_var
13726 case $ac_val in #(
13727 *${as_nl}*)
13728 case $ac_var in #(
13729 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13730 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13731 esac
13732 case $ac_var in #(
13733 _ | IFS | as_nl) ;; #(
13734 *) $as_unset $ac_var ;;
13735 esac ;;
13736 esac
13737 done
13738
13739 (set) 2>&1 |
13740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13741 *${as_nl}ac_space=\ *)
13742 # `set' does not quote correctly, so add quotes (double-quote
13743 # substitution turns \\\\ into \\, and sed turns \\ into \).
13744 sed -n \
13745 "s/'/'\\\\''/g;
13746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13747 ;; #(
13748 *)
13749 # `set' quotes correctly as required by POSIX, so do not add quotes.
13750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13751 ;;
13752 esac |
13753 sort
13754 ) |
13755 sed '
13756 /^ac_cv_env_/b end
13757 t clear
13758 :clear
13759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13760 t end
13761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13762 :end' >>confcache
13763 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13764 if test -w "$cache_file"; then
13765 test "x$cache_file" != "x/dev/null" &&
13766 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13767 echo "$as_me: updating cache $cache_file" >&6;}
13768 cat confcache >$cache_file
13769 else
13770 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13771 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13772 fi
13773 fi
13774 rm -f confcache
13775
13776 CFLAGS=${CFLAGS:=}
13777
13778
13779
13780 ac_ext=c
13781 ac_cpp='$CPP $CPPFLAGS'
13782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13785 if test -n "$ac_tool_prefix"; then
13786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13787 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13790 if test "${ac_cv_prog_CC+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else
13793 if test -n "$CC"; then
13794 ac_cv_prog_CC="$CC" # Let the user override the test.
13795 else
13796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13797 for as_dir in $PATH
13798 do
13799 IFS=$as_save_IFS
13800 test -z "$as_dir" && as_dir=.
13801 for ac_exec_ext in '' $ac_executable_extensions; do
13802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13803 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13805 break 2
13806 fi
13807 done
13808 done
13809 IFS=$as_save_IFS
13810
13811 fi
13812 fi
13813 CC=$ac_cv_prog_CC
13814 if test -n "$CC"; then
13815 { echo "$as_me:$LINENO: result: $CC" >&5
13816 echo "${ECHO_T}$CC" >&6; }
13817 else
13818 { echo "$as_me:$LINENO: result: no" >&5
13819 echo "${ECHO_T}no" >&6; }
13820 fi
13821
13822
13823 fi
13824 if test -z "$ac_cv_prog_CC"; then
13825 ac_ct_CC=$CC
13826 # Extract the first word of "gcc", so it can be a program name with args.
13827 set dummy gcc; ac_word=$2
13828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 if test -n "$ac_ct_CC"; then
13834 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13835 else
13836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in $PATH
13838 do
13839 IFS=$as_save_IFS
13840 test -z "$as_dir" && as_dir=.
13841 for ac_exec_ext in '' $ac_executable_extensions; do
13842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13843 ac_cv_prog_ac_ct_CC="gcc"
13844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13845 break 2
13846 fi
13847 done
13848 done
13849 IFS=$as_save_IFS
13850
13851 fi
13852 fi
13853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13854 if test -n "$ac_ct_CC"; then
13855 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13856 echo "${ECHO_T}$ac_ct_CC" >&6; }
13857 else
13858 { echo "$as_me:$LINENO: result: no" >&5
13859 echo "${ECHO_T}no" >&6; }
13860 fi
13861
13862 if test "x$ac_ct_CC" = x; then
13863 CC=""
13864 else
13865 case $cross_compiling:$ac_tool_warned in
13866 yes:)
13867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13868 whose name does not start with the host triplet. If you think this
13869 configuration is useful to you, please write to autoconf@gnu.org." >&5
13870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13871 whose name does not start with the host triplet. If you think this
13872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13873 ac_tool_warned=yes ;;
13874 esac
13875 CC=$ac_ct_CC
13876 fi
13877 else
13878 CC="$ac_cv_prog_CC"
13879 fi
13880
13881 if test -z "$CC"; then
13882 if test -n "$ac_tool_prefix"; then
13883 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13884 set dummy ${ac_tool_prefix}cc; ac_word=$2
13885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13887 if test "${ac_cv_prog_CC+set}" = set; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13889 else
13890 if test -n "$CC"; then
13891 ac_cv_prog_CC="$CC" # Let the user override the test.
13892 else
13893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13894 for as_dir in $PATH
13895 do
13896 IFS=$as_save_IFS
13897 test -z "$as_dir" && as_dir=.
13898 for ac_exec_ext in '' $ac_executable_extensions; do
13899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13900 ac_cv_prog_CC="${ac_tool_prefix}cc"
13901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13902 break 2
13903 fi
13904 done
13905 done
13906 IFS=$as_save_IFS
13907
13908 fi
13909 fi
13910 CC=$ac_cv_prog_CC
13911 if test -n "$CC"; then
13912 { echo "$as_me:$LINENO: result: $CC" >&5
13913 echo "${ECHO_T}$CC" >&6; }
13914 else
13915 { echo "$as_me:$LINENO: result: no" >&5
13916 echo "${ECHO_T}no" >&6; }
13917 fi
13918
13919
13920 fi
13921 fi
13922 if test -z "$CC"; then
13923 # Extract the first word of "cc", so it can be a program name with args.
13924 set dummy cc; ac_word=$2
13925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13927 if test "${ac_cv_prog_CC+set}" = set; then
13928 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 else
13930 if test -n "$CC"; then
13931 ac_cv_prog_CC="$CC" # Let the user override the test.
13932 else
13933 ac_prog_rejected=no
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13936 do
13937 IFS=$as_save_IFS
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13942 ac_prog_rejected=yes
13943 continue
13944 fi
13945 ac_cv_prog_CC="cc"
13946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13947 break 2
13948 fi
13949 done
13950 done
13951 IFS=$as_save_IFS
13952
13953 if test $ac_prog_rejected = yes; then
13954 # We found a bogon in the path, so make sure we never use it.
13955 set dummy $ac_cv_prog_CC
13956 shift
13957 if test $# != 0; then
13958 # We chose a different compiler from the bogus one.
13959 # However, it has the same basename, so the bogon will be chosen
13960 # first if we set CC to just the basename; use the full file name.
13961 shift
13962 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13963 fi
13964 fi
13965 fi
13966 fi
13967 CC=$ac_cv_prog_CC
13968 if test -n "$CC"; then
13969 { echo "$as_me:$LINENO: result: $CC" >&5
13970 echo "${ECHO_T}$CC" >&6; }
13971 else
13972 { echo "$as_me:$LINENO: result: no" >&5
13973 echo "${ECHO_T}no" >&6; }
13974 fi
13975
13976
13977 fi
13978 if test -z "$CC"; then
13979 if test -n "$ac_tool_prefix"; then
13980 for ac_prog in cl.exe
13981 do
13982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13986 if test "${ac_cv_prog_CC+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 if test -n "$CC"; then
13990 ac_cv_prog_CC="$CC" # Let the user override the test.
13991 else
13992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13993 for as_dir in $PATH
13994 do
13995 IFS=$as_save_IFS
13996 test -z "$as_dir" && as_dir=.
13997 for ac_exec_ext in '' $ac_executable_extensions; do
13998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13999 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14001 break 2
14002 fi
14003 done
14004 done
14005 IFS=$as_save_IFS
14006
14007 fi
14008 fi
14009 CC=$ac_cv_prog_CC
14010 if test -n "$CC"; then
14011 { echo "$as_me:$LINENO: result: $CC" >&5
14012 echo "${ECHO_T}$CC" >&6; }
14013 else
14014 { echo "$as_me:$LINENO: result: no" >&5
14015 echo "${ECHO_T}no" >&6; }
14016 fi
14017
14018
14019 test -n "$CC" && break
14020 done
14021 fi
14022 if test -z "$CC"; then
14023 ac_ct_CC=$CC
14024 for ac_prog in cl.exe
14025 do
14026 # Extract the first word of "$ac_prog", so it can be a program name with args.
14027 set dummy $ac_prog; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 if test -n "$ac_ct_CC"; then
14034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14035 else
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14038 do
14039 IFS=$as_save_IFS
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14043 ac_cv_prog_ac_ct_CC="$ac_prog"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 break 2
14046 fi
14047 done
14048 done
14049 IFS=$as_save_IFS
14050
14051 fi
14052 fi
14053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14054 if test -n "$ac_ct_CC"; then
14055 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14056 echo "${ECHO_T}$ac_ct_CC" >&6; }
14057 else
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14060 fi
14061
14062
14063 test -n "$ac_ct_CC" && break
14064 done
14065
14066 if test "x$ac_ct_CC" = x; then
14067 CC=""
14068 else
14069 case $cross_compiling:$ac_tool_warned in
14070 yes:)
14071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14072 whose name does not start with the host triplet. If you think this
14073 configuration is useful to you, please write to autoconf@gnu.org." >&5
14074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14075 whose name does not start with the host triplet. If you think this
14076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14077 ac_tool_warned=yes ;;
14078 esac
14079 CC=$ac_ct_CC
14080 fi
14081 fi
14082
14083 fi
14084
14085
14086 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14087 See \`config.log' for more details." >&5
14088 echo "$as_me: error: no acceptable C compiler found in \$PATH
14089 See \`config.log' for more details." >&2;}
14090 { (exit 1); exit 1; }; }
14091
14092 # Provide some information about the compiler.
14093 echo "$as_me:$LINENO: checking for C compiler version" >&5
14094 ac_compiler=`set X $ac_compile; echo $2`
14095 { (ac_try="$ac_compiler --version >&5"
14096 case "(($ac_try" in
14097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14098 *) ac_try_echo=$ac_try;;
14099 esac
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_compiler --version >&5") 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14105 { (ac_try="$ac_compiler -v >&5"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14109 esac
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compiler -v >&5") 2>&5
14112 ac_status=$?
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }
14115 { (ac_try="$ac_compiler -V >&5"
14116 case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14119 esac
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_compiler -V >&5") 2>&5
14122 ac_status=$?
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }
14125
14126 cat >conftest.$ac_ext <<_ACEOF
14127 /* confdefs.h. */
14128 _ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132
14133 int
14134 main ()
14135 {
14136
14137 ;
14138 return 0;
14139 }
14140 _ACEOF
14141 ac_clean_files_save=$ac_clean_files
14142 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14143 # Try to create an executable without -o first, disregard a.out.
14144 # It will help us diagnose broken compilers, and finding out an intuition
14145 # of exeext.
14146 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14147 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14148 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14149 #
14150 # List of possible output files, starting from the most likely.
14151 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14152 # only as a last resort. b.out is created by i960 compilers.
14153 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14154 #
14155 # The IRIX 6 linker writes into existing files which may not be
14156 # executable, retaining their permissions. Remove them first so a
14157 # subsequent execution test works.
14158 ac_rmfiles=
14159 for ac_file in $ac_files
14160 do
14161 case $ac_file in
14162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14163 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14164 esac
14165 done
14166 rm -f $ac_rmfiles
14167
14168 if { (ac_try="$ac_link_default"
14169 case "(($ac_try" in
14170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14171 *) ac_try_echo=$ac_try;;
14172 esac
14173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14174 (eval "$ac_link_default") 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; then
14178 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14179 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14180 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14181 # so that the user can short-circuit this test for compilers unknown to
14182 # Autoconf.
14183 for ac_file in $ac_files ''
14184 do
14185 test -f "$ac_file" || continue
14186 case $ac_file in
14187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14188 ;;
14189 [ab].out )
14190 # We found the default executable, but exeext='' is most
14191 # certainly right.
14192 break;;
14193 *.* )
14194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14195 then :; else
14196 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14197 fi
14198 # We set ac_cv_exeext here because the later test for it is not
14199 # safe: cross compilers may not add the suffix if given an `-o'
14200 # argument, so we may need to know it at that point already.
14201 # Even if this section looks crufty: it has the advantage of
14202 # actually working.
14203 break;;
14204 * )
14205 break;;
14206 esac
14207 done
14208 test "$ac_cv_exeext" = no && ac_cv_exeext=
14209
14210 else
14211 ac_file=''
14212 fi
14213
14214 { echo "$as_me:$LINENO: result: $ac_file" >&5
14215 echo "${ECHO_T}$ac_file" >&6; }
14216 if test -z "$ac_file"; then
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.$ac_ext >&5
14219
14220 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14221 See \`config.log' for more details." >&5
14222 echo "$as_me: error: C compiler cannot create executables
14223 See \`config.log' for more details." >&2;}
14224 { (exit 77); exit 77; }; }
14225 fi
14226
14227 ac_exeext=$ac_cv_exeext
14228
14229 # Check that the compiler produces executables we can run. If not, either
14230 # the compiler is broken, or we cross compile.
14231 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14234 # If not cross compiling, check that we can run a simple program.
14235 if test "$cross_compiling" != yes; then
14236 if { ac_try='./$ac_file'
14237 { (case "(($ac_try" in
14238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14239 *) ac_try_echo=$ac_try;;
14240 esac
14241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14242 (eval "$ac_try") 2>&5
14243 ac_status=$?
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14246 cross_compiling=no
14247 else
14248 if test "$cross_compiling" = maybe; then
14249 cross_compiling=yes
14250 else
14251 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14252 If you meant to cross compile, use \`--host'.
14253 See \`config.log' for more details." >&5
14254 echo "$as_me: error: cannot run C compiled programs.
14255 If you meant to cross compile, use \`--host'.
14256 See \`config.log' for more details." >&2;}
14257 { (exit 1); exit 1; }; }
14258 fi
14259 fi
14260 fi
14261 { echo "$as_me:$LINENO: result: yes" >&5
14262 echo "${ECHO_T}yes" >&6; }
14263
14264 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14265 ac_clean_files=$ac_clean_files_save
14266 # Check that the compiler produces executables we can run. If not, either
14267 # the compiler is broken, or we cross compile.
14268 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14269 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14270 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14271 echo "${ECHO_T}$cross_compiling" >&6; }
14272
14273 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14274 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14275 if { (ac_try="$ac_link"
14276 case "(($ac_try" in
14277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278 *) ac_try_echo=$ac_try;;
14279 esac
14280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14281 (eval "$ac_link") 2>&5
14282 ac_status=$?
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; then
14285 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14286 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14287 # work properly (i.e., refer to `conftest.exe'), while it won't with
14288 # `rm'.
14289 for ac_file in conftest.exe conftest conftest.*; do
14290 test -f "$ac_file" || continue
14291 case $ac_file in
14292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14293 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14294 break;;
14295 * ) break;;
14296 esac
14297 done
14298 else
14299 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14300 See \`config.log' for more details." >&5
14301 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14304 fi
14305
14306 rm -f conftest$ac_cv_exeext
14307 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14308 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14309
14310 rm -f conftest.$ac_ext
14311 EXEEXT=$ac_cv_exeext
14312 ac_exeext=$EXEEXT
14313 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14314 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14315 if test "${ac_cv_objext+set}" = set; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 else
14318 cat >conftest.$ac_ext <<_ACEOF
14319 /* confdefs.h. */
14320 _ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14324
14325 int
14326 main ()
14327 {
14328
14329 ;
14330 return 0;
14331 }
14332 _ACEOF
14333 rm -f conftest.o conftest.obj
14334 if { (ac_try="$ac_compile"
14335 case "(($ac_try" in
14336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14337 *) ac_try_echo=$ac_try;;
14338 esac
14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14340 (eval "$ac_compile") 2>&5
14341 ac_status=$?
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; then
14344 for ac_file in conftest.o conftest.obj conftest.*; do
14345 test -f "$ac_file" || continue;
14346 case $ac_file in
14347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14348 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14349 break;;
14350 esac
14351 done
14352 else
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.$ac_ext >&5
14355
14356 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14357 See \`config.log' for more details." >&5
14358 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14361 fi
14362
14363 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14364 fi
14365 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14366 echo "${ECHO_T}$ac_cv_objext" >&6; }
14367 OBJEXT=$ac_cv_objext
14368 ac_objext=$OBJEXT
14369 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14370 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14371 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 else
14374 cat >conftest.$ac_ext <<_ACEOF
14375 /* confdefs.h. */
14376 _ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14380
14381 int
14382 main ()
14383 {
14384 #ifndef __GNUC__
14385 choke me
14386 #endif
14387
14388 ;
14389 return 0;
14390 }
14391 _ACEOF
14392 rm -f conftest.$ac_objext
14393 if { (ac_try="$ac_compile"
14394 case "(($ac_try" in
14395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14396 *) ac_try_echo=$ac_try;;
14397 esac
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_compile") 2>conftest.er1
14400 ac_status=$?
14401 grep -v '^ *+' conftest.er1 >conftest.err
14402 rm -f conftest.er1
14403 cat conftest.err >&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } && {
14406 test -z "$ac_c_werror_flag" ||
14407 test ! -s conftest.err
14408 } && test -s conftest.$ac_objext; then
14409 ac_compiler_gnu=yes
14410 else
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14413
14414 ac_compiler_gnu=no
14415 fi
14416
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14418 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14419
14420 fi
14421 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14422 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14423 GCC=`test $ac_compiler_gnu = yes && echo yes`
14424 ac_test_CFLAGS=${CFLAGS+set}
14425 ac_save_CFLAGS=$CFLAGS
14426 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14427 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14428 if test "${ac_cv_prog_cc_g+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 else
14431 ac_save_c_werror_flag=$ac_c_werror_flag
14432 ac_c_werror_flag=yes
14433 ac_cv_prog_cc_g=no
14434 CFLAGS="-g"
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441
14442 int
14443 main ()
14444 {
14445
14446 ;
14447 return 0;
14448 }
14449 _ACEOF
14450 rm -f conftest.$ac_objext
14451 if { (ac_try="$ac_compile"
14452 case "(($ac_try" in
14453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14454 *) ac_try_echo=$ac_try;;
14455 esac
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_compile") 2>conftest.er1
14458 ac_status=$?
14459 grep -v '^ *+' conftest.er1 >conftest.err
14460 rm -f conftest.er1
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } && {
14464 test -z "$ac_c_werror_flag" ||
14465 test ! -s conftest.err
14466 } && test -s conftest.$ac_objext; then
14467 ac_cv_prog_cc_g=yes
14468 else
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.$ac_ext >&5
14471
14472 CFLAGS=""
14473 cat >conftest.$ac_ext <<_ACEOF
14474 /* confdefs.h. */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479
14480 int
14481 main ()
14482 {
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14493 esac
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 :
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14509
14510 ac_c_werror_flag=$ac_save_c_werror_flag
14511 CFLAGS="-g"
14512 cat >conftest.$ac_ext <<_ACEOF
14513 /* confdefs.h. */
14514 _ACEOF
14515 cat confdefs.h >>conftest.$ac_ext
14516 cat >>conftest.$ac_ext <<_ACEOF
14517 /* end confdefs.h. */
14518
14519 int
14520 main ()
14521 {
14522
14523 ;
14524 return 0;
14525 }
14526 _ACEOF
14527 rm -f conftest.$ac_objext
14528 if { (ac_try="$ac_compile"
14529 case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14532 esac
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_compile") 2>conftest.er1
14535 ac_status=$?
14536 grep -v '^ *+' conftest.er1 >conftest.err
14537 rm -f conftest.er1
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } && {
14541 test -z "$ac_c_werror_flag" ||
14542 test ! -s conftest.err
14543 } && test -s conftest.$ac_objext; then
14544 ac_cv_prog_cc_g=yes
14545 else
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14548
14549
14550 fi
14551
14552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14553 fi
14554
14555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14556 fi
14557
14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559 ac_c_werror_flag=$ac_save_c_werror_flag
14560 fi
14561 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14562 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14563 if test "$ac_test_CFLAGS" = set; then
14564 CFLAGS=$ac_save_CFLAGS
14565 elif test $ac_cv_prog_cc_g = yes; then
14566 if test "$GCC" = yes; then
14567 CFLAGS="-g -O2"
14568 else
14569 CFLAGS="-g"
14570 fi
14571 else
14572 if test "$GCC" = yes; then
14573 CFLAGS="-O2"
14574 else
14575 CFLAGS=
14576 fi
14577 fi
14578 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14579 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14580 if test "${ac_cv_prog_cc_c89+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14582 else
14583 ac_cv_prog_cc_c89=no
14584 ac_save_CC=$CC
14585 cat >conftest.$ac_ext <<_ACEOF
14586 /* confdefs.h. */
14587 _ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591 #include <stdarg.h>
14592 #include <stdio.h>
14593 #include <sys/types.h>
14594 #include <sys/stat.h>
14595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14596 struct buf { int x; };
14597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14598 static char *e (p, i)
14599 char **p;
14600 int i;
14601 {
14602 return p[i];
14603 }
14604 static char *f (char * (*g) (char **, int), char **p, ...)
14605 {
14606 char *s;
14607 va_list v;
14608 va_start (v,p);
14609 s = g (p, va_arg (v,int));
14610 va_end (v);
14611 return s;
14612 }
14613
14614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14615 function prototypes and stuff, but not '\xHH' hex character constants.
14616 These don't provoke an error unfortunately, instead are silently treated
14617 as 'x'. The following induces an error, until -std is added to get
14618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14619 array size at least. It's necessary to write '\x00'==0 to get something
14620 that's true only with -std. */
14621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14622
14623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14624 inside strings and character constants. */
14625 #define FOO(x) 'x'
14626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14627
14628 int test (int i, double x);
14629 struct s1 {int (*f) (int a);};
14630 struct s2 {int (*f) (double a);};
14631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14632 int argc;
14633 char **argv;
14634 int
14635 main ()
14636 {
14637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14644 do
14645 CC="$ac_save_CC $ac_arg"
14646 rm -f conftest.$ac_objext
14647 if { (ac_try="$ac_compile"
14648 case "(($ac_try" in
14649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14650 *) ac_try_echo=$ac_try;;
14651 esac
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14653 (eval "$ac_compile") 2>conftest.er1
14654 ac_status=$?
14655 grep -v '^ *+' conftest.er1 >conftest.err
14656 rm -f conftest.er1
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } && {
14660 test -z "$ac_c_werror_flag" ||
14661 test ! -s conftest.err
14662 } && test -s conftest.$ac_objext; then
14663 ac_cv_prog_cc_c89=$ac_arg
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668
14669 fi
14670
14671 rm -f core conftest.err conftest.$ac_objext
14672 test "x$ac_cv_prog_cc_c89" != "xno" && break
14673 done
14674 rm -f conftest.$ac_ext
14675 CC=$ac_save_CC
14676
14677 fi
14678 # AC_CACHE_VAL
14679 case "x$ac_cv_prog_cc_c89" in
14680 x)
14681 { echo "$as_me:$LINENO: result: none needed" >&5
14682 echo "${ECHO_T}none needed" >&6; } ;;
14683 xno)
14684 { echo "$as_me:$LINENO: result: unsupported" >&5
14685 echo "${ECHO_T}unsupported" >&6; } ;;
14686 *)
14687 CC="$CC $ac_cv_prog_cc_c89"
14688 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14689 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14690 esac
14691
14692
14693 ac_ext=c
14694 ac_cpp='$CPP $CPPFLAGS'
14695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698
14699
14700
14701
14702 ac_ext=c
14703 ac_cpp='$CPP $CPPFLAGS'
14704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14707
14708 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14709 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14710 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 else
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719
14720 int
14721 main ()
14722 {
14723
14724 #ifndef __INTEL_COMPILER
14725 choke me
14726 #endif
14727
14728 ;
14729 return 0;
14730 }
14731 _ACEOF
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14737 esac
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14749 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14753
14754 bakefile_cv_c_compiler___INTEL_COMPILER=no
14755
14756 fi
14757
14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759
14760
14761 fi
14762 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14763 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14764 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14765 :; INTELCC=yes
14766 else
14767 :;
14768 fi
14769 ac_ext=c
14770 ac_cpp='$CPP $CPPFLAGS'
14771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14774
14775
14776
14777
14778 if test "x$GCC" != "xyes"; then
14779 if test "xCC" = "xC"; then
14780 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14781 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14782 if test "${bakefile_cv_c_exto+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 cat >conftest.$ac_ext <<_ACEOF
14786 /* confdefs.h. */
14787 _ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791
14792 int
14793 main ()
14794 {
14795
14796 ;
14797 return 0;
14798 }
14799 _ACEOF
14800 rm -f conftest.$ac_objext conftest.$ac_ext.o
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; then
14806 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14807 case $ac_file in
14808 conftest.$ac_ext.o)
14809 bakefile_cv_c_exto="-ext o"
14810 ;;
14811 *)
14812 ;;
14813 esac
14814 done
14815 else
14816 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14817 See \`config.log' for more details." >&5
14818 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14819 See \`config.log' for more details." >&2;}
14820 { (exit 1); exit 1; }; }
14821
14822 fi
14823
14824 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14825
14826 fi
14827 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14828 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14829 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14830 if test "c" = "c"; then
14831 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14832 fi
14833 if test "c" = "cxx"; then
14834 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14835 fi
14836 fi
14837
14838 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14839 unset ac_cv_prog_cc_g
14840 ac_test_CFLAGS=${CFLAGS+set}
14841 ac_save_CFLAGS=$CFLAGS
14842 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14843 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14844 if test "${ac_cv_prog_cc_g+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 ac_save_c_werror_flag=$ac_c_werror_flag
14848 ac_c_werror_flag=yes
14849 ac_cv_prog_cc_g=no
14850 CFLAGS="-g"
14851 cat >conftest.$ac_ext <<_ACEOF
14852 /* confdefs.h. */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857
14858 int
14859 main ()
14860 {
14861
14862 ;
14863 return 0;
14864 }
14865 _ACEOF
14866 rm -f conftest.$ac_objext
14867 if { (ac_try="$ac_compile"
14868 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14871 esac
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_compile") 2>conftest.er1
14874 ac_status=$?
14875 grep -v '^ *+' conftest.er1 >conftest.err
14876 rm -f conftest.er1
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest.$ac_objext; then
14883 ac_cv_prog_cc_g=yes
14884 else
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14887
14888 CFLAGS=""
14889 cat >conftest.$ac_ext <<_ACEOF
14890 /* confdefs.h. */
14891 _ACEOF
14892 cat confdefs.h >>conftest.$ac_ext
14893 cat >>conftest.$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14895
14896 int
14897 main ()
14898 {
14899
14900 ;
14901 return 0;
14902 }
14903 _ACEOF
14904 rm -f conftest.$ac_objext
14905 if { (ac_try="$ac_compile"
14906 case "(($ac_try" in
14907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14908 *) ac_try_echo=$ac_try;;
14909 esac
14910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14911 (eval "$ac_compile") 2>conftest.er1
14912 ac_status=$?
14913 grep -v '^ *+' conftest.er1 >conftest.err
14914 rm -f conftest.er1
14915 cat conftest.err >&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } && {
14918 test -z "$ac_c_werror_flag" ||
14919 test ! -s conftest.err
14920 } && test -s conftest.$ac_objext; then
14921 :
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14925
14926 ac_c_werror_flag=$ac_save_c_werror_flag
14927 CFLAGS="-g"
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934
14935 int
14936 main ()
14937 {
14938
14939 ;
14940 return 0;
14941 }
14942 _ACEOF
14943 rm -f conftest.$ac_objext
14944 if { (ac_try="$ac_compile"
14945 case "(($ac_try" in
14946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14947 *) ac_try_echo=$ac_try;;
14948 esac
14949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14950 (eval "$ac_compile") 2>conftest.er1
14951 ac_status=$?
14952 grep -v '^ *+' conftest.er1 >conftest.err
14953 rm -f conftest.er1
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest.$ac_objext; then
14960 ac_cv_prog_cc_g=yes
14961 else
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14964
14965
14966 fi
14967
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 fi
14970
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 fi
14973
14974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 ac_c_werror_flag=$ac_save_c_werror_flag
14976 fi
14977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14978 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14979 if test "$ac_test_CFLAGS" = set; then
14980 CFLAGS=$ac_save_CFLAGS
14981 elif test $ac_cv_prog_cc_g = yes; then
14982 if test "$GCC" = yes; then
14983 CFLAGS="-g -O2"
14984 else
14985 CFLAGS="-g"
14986 fi
14987 else
14988 if test "$GCC" = yes; then
14989 CFLAGS="-O2"
14990 else
14991 CFLAGS=
14992 fi
14993 fi
14994 fi
14995 fi
14996
14997 case `uname -s` in
14998 AIX*)
14999
15000
15001 ac_ext=c
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15006
15007 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15008 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15009 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018
15019 int
15020 main ()
15021 {
15022
15023 #ifndef __xlC__
15024 choke me
15025 #endif
15026
15027 ;
15028 return 0;
15029 }
15030 _ACEOF
15031 rm -f conftest.$ac_objext
15032 if { (ac_try="$ac_compile"
15033 case "(($ac_try" in
15034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15035 *) ac_try_echo=$ac_try;;
15036 esac
15037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15038 (eval "$ac_compile") 2>conftest.er1
15039 ac_status=$?
15040 grep -v '^ *+' conftest.er1 >conftest.err
15041 rm -f conftest.er1
15042 cat conftest.err >&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } && {
15045 test -z "$ac_c_werror_flag" ||
15046 test ! -s conftest.err
15047 } && test -s conftest.$ac_objext; then
15048 bakefile_cv_c_compiler___xlC__=yes
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15052
15053 bakefile_cv_c_compiler___xlC__=no
15054
15055 fi
15056
15057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15058
15059
15060 fi
15061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15062 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15063 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15064 :; XLCC=yes
15065 else
15066 :;
15067 fi
15068 ac_ext=c
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15073
15074
15075
15076 ;;
15077
15078 Darwin)
15079
15080
15081 ac_ext=c
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086
15087 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15088 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15089 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098
15099 int
15100 main ()
15101 {
15102
15103 #ifndef __MWERKS__
15104 choke me
15105 #endif
15106
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15119 ac_status=$?
15120 grep -v '^ *+' conftest.er1 >conftest.err
15121 rm -f conftest.er1
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15128 bakefile_cv_c_compiler___MWERKS__=yes
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15132
15133 bakefile_cv_c_compiler___MWERKS__=no
15134
15135 fi
15136
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138
15139
15140 fi
15141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15142 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15143 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15144 :; MWCC=yes
15145 else
15146 :;
15147 fi
15148 ac_ext=c
15149 ac_cpp='$CPP $CPPFLAGS'
15150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15153
15154
15155
15156
15157
15158 ac_ext=c
15159 ac_cpp='$CPP $CPPFLAGS'
15160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15163
15164 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15165 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15166 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 else
15169 cat >conftest.$ac_ext <<_ACEOF
15170 /* confdefs.h. */
15171 _ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15175
15176 int
15177 main ()
15178 {
15179
15180 #ifndef __xlC__
15181 choke me
15182 #endif
15183
15184 ;
15185 return 0;
15186 }
15187 _ACEOF
15188 rm -f conftest.$ac_objext
15189 if { (ac_try="$ac_compile"
15190 case "(($ac_try" in
15191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15192 *) ac_try_echo=$ac_try;;
15193 esac
15194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15195 (eval "$ac_compile") 2>conftest.er1
15196 ac_status=$?
15197 grep -v '^ *+' conftest.er1 >conftest.err
15198 rm -f conftest.er1
15199 cat conftest.err >&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); } && {
15202 test -z "$ac_c_werror_flag" ||
15203 test ! -s conftest.err
15204 } && test -s conftest.$ac_objext; then
15205 bakefile_cv_c_compiler___xlC__=yes
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15209
15210 bakefile_cv_c_compiler___xlC__=no
15211
15212 fi
15213
15214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15215
15216
15217 fi
15218 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15219 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15220 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15221 :; XLCC=yes
15222 else
15223 :;
15224 fi
15225 ac_ext=c
15226 ac_cpp='$CPP $CPPFLAGS'
15227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15230
15231
15232
15233 ;;
15234
15235 IRIX*)
15236
15237
15238 ac_ext=c
15239 ac_cpp='$CPP $CPPFLAGS'
15240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15243
15244 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15245 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15246 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 else
15249 cat >conftest.$ac_ext <<_ACEOF
15250 /* confdefs.h. */
15251 _ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15255
15256 int
15257 main ()
15258 {
15259
15260 #ifndef _SGI_COMPILER_VERSION
15261 choke me
15262 #endif
15263
15264 ;
15265 return 0;
15266 }
15267 _ACEOF
15268 rm -f conftest.$ac_objext
15269 if { (ac_try="$ac_compile"
15270 case "(($ac_try" in
15271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15272 *) ac_try_echo=$ac_try;;
15273 esac
15274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15275 (eval "$ac_compile") 2>conftest.er1
15276 ac_status=$?
15277 grep -v '^ *+' conftest.er1 >conftest.err
15278 rm -f conftest.er1
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } && {
15282 test -z "$ac_c_werror_flag" ||
15283 test ! -s conftest.err
15284 } && test -s conftest.$ac_objext; then
15285 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15286 else
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.$ac_ext >&5
15289
15290 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15291
15292 fi
15293
15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15295
15296
15297 fi
15298 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15299 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15300 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15301 :; SGICC=yes
15302 else
15303 :;
15304 fi
15305 ac_ext=c
15306 ac_cpp='$CPP $CPPFLAGS'
15307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15310
15311
15312
15313 ;;
15314
15315 Linux*)
15316
15317
15318 ac_ext=c
15319 ac_cpp='$CPP $CPPFLAGS'
15320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15323
15324 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15325 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15326 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 else
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335
15336 int
15337 main ()
15338 {
15339
15340 #ifndef __SUNPRO_C
15341 choke me
15342 #endif
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 bakefile_cv_c_compiler___SUNPRO_C=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370 bakefile_cv_c_compiler___SUNPRO_C=no
15371
15372 fi
15373
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375
15376
15377 fi
15378 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15379 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15380 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15381 :; SUNCC=yes
15382 else
15383 :;
15384 fi
15385 ac_ext=c
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15390
15391
15392
15393 ;;
15394
15395 HP-UX*)
15396
15397
15398 ac_ext=c
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15403
15404 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 else
15409 cat >conftest.$ac_ext <<_ACEOF
15410 /* confdefs.h. */
15411 _ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15415
15416 int
15417 main ()
15418 {
15419
15420 #ifndef __HP_cc
15421 choke me
15422 #endif
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 bakefile_cv_c_compiler___HP_cc=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450 bakefile_cv_c_compiler___HP_cc=no
15451
15452 fi
15453
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15455
15456
15457 fi
15458 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15460 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15461 :; HPCC=yes
15462 else
15463 :;
15464 fi
15465 ac_ext=c
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15470
15471
15472
15473 ;;
15474
15475 OSF1)
15476
15477
15478 ac_ext=c
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15483
15484 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 cat >conftest.$ac_ext <<_ACEOF
15490 /* confdefs.h. */
15491 _ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495
15496 int
15497 main ()
15498 {
15499
15500 #ifndef __DECC
15501 choke me
15502 #endif
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15513 esac
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15516 ac_status=$?
15517 grep -v '^ *+' conftest.er1 >conftest.err
15518 rm -f conftest.er1
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 bakefile_cv_c_compiler___DECC=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 bakefile_cv_c_compiler___DECC=no
15531
15532 fi
15533
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535
15536
15537 fi
15538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15540 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15541 :; COMPAQCC=yes
15542 else
15543 :;
15544 fi
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551
15552
15553 ;;
15554
15555 SunOS)
15556
15557
15558 ac_ext=c
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15563
15564 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15565 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 #ifndef __SUNPRO_C
15581 choke me
15582 #endif
15583
15584 ;
15585 return 0;
15586 }
15587 _ACEOF
15588 rm -f conftest.$ac_objext
15589 if { (ac_try="$ac_compile"
15590 case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15593 esac
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_compile") 2>conftest.er1
15596 ac_status=$?
15597 grep -v '^ *+' conftest.er1 >conftest.err
15598 rm -f conftest.er1
15599 cat conftest.err >&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && {
15602 test -z "$ac_c_werror_flag" ||
15603 test ! -s conftest.err
15604 } && test -s conftest.$ac_objext; then
15605 bakefile_cv_c_compiler___SUNPRO_C=yes
15606 else
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15609
15610 bakefile_cv_c_compiler___SUNPRO_C=no
15611
15612 fi
15613
15614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615
15616
15617 fi
15618 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15619 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15620 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15621 :; SUNCC=yes
15622 else
15623 :;
15624 fi
15625 ac_ext=c
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630
15631
15632
15633 ;;
15634 esac
15635 fi
15636
15637
15638
15639 ac_ext=c
15640 ac_cpp='$CPP $CPPFLAGS'
15641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15645 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15646 # On Suns, sometimes $CPP names a directory.
15647 if test -n "$CPP" && test -d "$CPP"; then
15648 CPP=
15649 fi
15650 if test -z "$CPP"; then
15651 if test "${ac_cv_prog_CPP+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 else
15654 # Double quotes because CPP needs to be expanded
15655 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15656 do
15657 ac_preproc_ok=false
15658 for ac_c_preproc_warn_flag in '' yes
15659 do
15660 # Use a header file that comes with gcc, so configuring glibc
15661 # with a fresh cross-compiler works.
15662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15663 # <limits.h> exists even on freestanding compilers.
15664 # On the NeXT, cc -E runs the code through the compiler's parser,
15665 # not just through cpp. "Syntax error" is here to catch this case.
15666 cat >conftest.$ac_ext <<_ACEOF
15667 /* confdefs.h. */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 #ifdef __STDC__
15673 # include <limits.h>
15674 #else
15675 # include <assert.h>
15676 #endif
15677 Syntax error
15678 _ACEOF
15679 if { (ac_try="$ac_cpp conftest.$ac_ext"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15683 esac
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } >/dev/null && {
15692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15693 test ! -s conftest.err
15694 }; then
15695 :
15696 else
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15699
15700 # Broken: fails on valid input.
15701 continue
15702 fi
15703
15704 rm -f conftest.err conftest.$ac_ext
15705
15706 # OK, works on sane cases. Now check whether nonexistent headers
15707 # can be detected and how.
15708 cat >conftest.$ac_ext <<_ACEOF
15709 /* confdefs.h. */
15710 _ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 #include <ac_nonexistent.h>
15715 _ACEOF
15716 if { (ac_try="$ac_cpp conftest.$ac_ext"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } >/dev/null && {
15729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 }; then
15732 # Broken: success on invalid input.
15733 continue
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 # Passes both tests.
15739 ac_preproc_ok=:
15740 break
15741 fi
15742
15743 rm -f conftest.err conftest.$ac_ext
15744
15745 done
15746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15747 rm -f conftest.err conftest.$ac_ext
15748 if $ac_preproc_ok; then
15749 break
15750 fi
15751
15752 done
15753 ac_cv_prog_CPP=$CPP
15754
15755 fi
15756 CPP=$ac_cv_prog_CPP
15757 else
15758 ac_cv_prog_CPP=$CPP
15759 fi
15760 { echo "$as_me:$LINENO: result: $CPP" >&5
15761 echo "${ECHO_T}$CPP" >&6; }
15762 ac_preproc_ok=false
15763 for ac_c_preproc_warn_flag in '' yes
15764 do
15765 # Use a header file that comes with gcc, so configuring glibc
15766 # with a fresh cross-compiler works.
15767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15768 # <limits.h> exists even on freestanding compilers.
15769 # On the NeXT, cc -E runs the code through the compiler's parser,
15770 # not just through cpp. "Syntax error" is here to catch this case.
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 #ifdef __STDC__
15778 # include <limits.h>
15779 #else
15780 # include <assert.h>
15781 #endif
15782 Syntax error
15783 _ACEOF
15784 if { (ac_try="$ac_cpp conftest.$ac_ext"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788 esac
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15791 ac_status=$?
15792 grep -v '^ *+' conftest.er1 >conftest.err
15793 rm -f conftest.er1
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } >/dev/null && {
15797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 }; then
15800 :
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 # Broken: fails on valid input.
15806 continue
15807 fi
15808
15809 rm -f conftest.err conftest.$ac_ext
15810
15811 # OK, works on sane cases. Now check whether nonexistent headers
15812 # can be detected and how.
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 #include <ac_nonexistent.h>
15820 _ACEOF
15821 if { (ac_try="$ac_cpp conftest.$ac_ext"
15822 case "(($ac_try" in
15823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15824 *) ac_try_echo=$ac_try;;
15825 esac
15826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15828 ac_status=$?
15829 grep -v '^ *+' conftest.er1 >conftest.err
15830 rm -f conftest.er1
15831 cat conftest.err >&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } >/dev/null && {
15834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15835 test ! -s conftest.err
15836 }; then
15837 # Broken: success on invalid input.
15838 continue
15839 else
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15842
15843 # Passes both tests.
15844 ac_preproc_ok=:
15845 break
15846 fi
15847
15848 rm -f conftest.err conftest.$ac_ext
15849
15850 done
15851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15852 rm -f conftest.err conftest.$ac_ext
15853 if $ac_preproc_ok; then
15854 :
15855 else
15856 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; }
15861 fi
15862
15863 ac_ext=c
15864 ac_cpp='$CPP $CPPFLAGS'
15865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15868
15869
15870 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15871 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15872 if test "${ac_cv_path_GREP+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 else
15875 # Extract the first word of "grep ggrep" to use in msg output
15876 if test -z "$GREP"; then
15877 set dummy grep ggrep; ac_prog_name=$2
15878 if test "${ac_cv_path_GREP+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 else
15881 ac_path_GREP_found=false
15882 # Loop through the user's path and test for each of PROGNAME-LIST
15883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15884 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15885 do
15886 IFS=$as_save_IFS
15887 test -z "$as_dir" && as_dir=.
15888 for ac_prog in grep ggrep; do
15889 for ac_exec_ext in '' $ac_executable_extensions; do
15890 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15891 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15892 # Check for GNU ac_path_GREP and select it if it is found.
15893 # Check for GNU $ac_path_GREP
15894 case `"$ac_path_GREP" --version 2>&1` in
15895 *GNU*)
15896 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15897 *)
15898 ac_count=0
15899 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15900 while :
15901 do
15902 cat "conftest.in" "conftest.in" >"conftest.tmp"
15903 mv "conftest.tmp" "conftest.in"
15904 cp "conftest.in" "conftest.nl"
15905 echo 'GREP' >> "conftest.nl"
15906 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15907 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15908 ac_count=`expr $ac_count + 1`
15909 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15910 # Best one so far, save it but keep looking for a better one
15911 ac_cv_path_GREP="$ac_path_GREP"
15912 ac_path_GREP_max=$ac_count
15913 fi
15914 # 10*(2^10) chars as input seems more than enough
15915 test $ac_count -gt 10 && break
15916 done
15917 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15918 esac
15919
15920
15921 $ac_path_GREP_found && break 3
15922 done
15923 done
15924
15925 done
15926 IFS=$as_save_IFS
15927
15928
15929 fi
15930
15931 GREP="$ac_cv_path_GREP"
15932 if test -z "$GREP"; then
15933 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15934 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15935 { (exit 1); exit 1; }; }
15936 fi
15937
15938 else
15939 ac_cv_path_GREP=$GREP
15940 fi
15941
15942
15943 fi
15944 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15945 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15946 GREP="$ac_cv_path_GREP"
15947
15948
15949 { echo "$as_me:$LINENO: checking for egrep" >&5
15950 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15951 if test "${ac_cv_path_EGREP+set}" = set; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15953 else
15954 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15955 then ac_cv_path_EGREP="$GREP -E"
15956 else
15957 # Extract the first word of "egrep" to use in msg output
15958 if test -z "$EGREP"; then
15959 set dummy egrep; ac_prog_name=$2
15960 if test "${ac_cv_path_EGREP+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 else
15963 ac_path_EGREP_found=false
15964 # Loop through the user's path and test for each of PROGNAME-LIST
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15967 do
15968 IFS=$as_save_IFS
15969 test -z "$as_dir" && as_dir=.
15970 for ac_prog in egrep; do
15971 for ac_exec_ext in '' $ac_executable_extensions; do
15972 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15973 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15974 # Check for GNU ac_path_EGREP and select it if it is found.
15975 # Check for GNU $ac_path_EGREP
15976 case `"$ac_path_EGREP" --version 2>&1` in
15977 *GNU*)
15978 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15979 *)
15980 ac_count=0
15981 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15982 while :
15983 do
15984 cat "conftest.in" "conftest.in" >"conftest.tmp"
15985 mv "conftest.tmp" "conftest.in"
15986 cp "conftest.in" "conftest.nl"
15987 echo 'EGREP' >> "conftest.nl"
15988 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15990 ac_count=`expr $ac_count + 1`
15991 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15992 # Best one so far, save it but keep looking for a better one
15993 ac_cv_path_EGREP="$ac_path_EGREP"
15994 ac_path_EGREP_max=$ac_count
15995 fi
15996 # 10*(2^10) chars as input seems more than enough
15997 test $ac_count -gt 10 && break
15998 done
15999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16000 esac
16001
16002
16003 $ac_path_EGREP_found && break 3
16004 done
16005 done
16006
16007 done
16008 IFS=$as_save_IFS
16009
16010
16011 fi
16012
16013 EGREP="$ac_cv_path_EGREP"
16014 if test -z "$EGREP"; then
16015 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16016 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16017 { (exit 1); exit 1; }; }
16018 fi
16019
16020 else
16021 ac_cv_path_EGREP=$EGREP
16022 fi
16023
16024
16025 fi
16026 fi
16027 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16028 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16029 EGREP="$ac_cv_path_EGREP"
16030
16031
16032 if test $ac_cv_c_compiler_gnu = yes; then
16033 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16034 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16035 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 else
16038 ac_pattern="Autoconf.*'x'"
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045 #include <sgtty.h>
16046 Autoconf TIOCGETP
16047 _ACEOF
16048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16049 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16050 ac_cv_prog_gcc_traditional=yes
16051 else
16052 ac_cv_prog_gcc_traditional=no
16053 fi
16054 rm -f conftest*
16055
16056
16057 if test $ac_cv_prog_gcc_traditional = no; then
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #include <termio.h>
16065 Autoconf TCGETA
16066 _ACEOF
16067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16068 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16069 ac_cv_prog_gcc_traditional=yes
16070 fi
16071 rm -f conftest*
16072
16073 fi
16074 fi
16075 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16076 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16077 if test $ac_cv_prog_gcc_traditional = yes; then
16078 CC="$CC -traditional"
16079 fi
16080 fi
16081
16082
16083 CXXFLAGS=${CXXFLAGS:=}
16084
16085
16086
16087 ac_ext=cpp
16088 ac_cpp='$CXXCPP $CPPFLAGS'
16089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16092 if test -z "$CXX"; then
16093 if test -n "$CCC"; then
16094 CXX=$CCC
16095 else
16096 if test -n "$ac_tool_prefix"; then
16097 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16098 do
16099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16103 if test "${ac_cv_prog_CXX+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 if test -n "$CXX"; then
16107 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16108 else
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16111 do
16112 IFS=$as_save_IFS
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16116 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16118 break 2
16119 fi
16120 done
16121 done
16122 IFS=$as_save_IFS
16123
16124 fi
16125 fi
16126 CXX=$ac_cv_prog_CXX
16127 if test -n "$CXX"; then
16128 { echo "$as_me:$LINENO: result: $CXX" >&5
16129 echo "${ECHO_T}$CXX" >&6; }
16130 else
16131 { echo "$as_me:$LINENO: result: no" >&5
16132 echo "${ECHO_T}no" >&6; }
16133 fi
16134
16135
16136 test -n "$CXX" && break
16137 done
16138 fi
16139 if test -z "$CXX"; then
16140 ac_ct_CXX=$CXX
16141 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16142 do
16143 # Extract the first word of "$ac_prog", so it can be a program name with args.
16144 set dummy $ac_prog; ac_word=$2
16145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16147 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 else
16150 if test -n "$ac_ct_CXX"; then
16151 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16152 else
16153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16154 for as_dir in $PATH
16155 do
16156 IFS=$as_save_IFS
16157 test -z "$as_dir" && as_dir=.
16158 for ac_exec_ext in '' $ac_executable_extensions; do
16159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16160 ac_cv_prog_ac_ct_CXX="$ac_prog"
16161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16162 break 2
16163 fi
16164 done
16165 done
16166 IFS=$as_save_IFS
16167
16168 fi
16169 fi
16170 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16171 if test -n "$ac_ct_CXX"; then
16172 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16173 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16174 else
16175 { echo "$as_me:$LINENO: result: no" >&5
16176 echo "${ECHO_T}no" >&6; }
16177 fi
16178
16179
16180 test -n "$ac_ct_CXX" && break
16181 done
16182
16183 if test "x$ac_ct_CXX" = x; then
16184 CXX="g++"
16185 else
16186 case $cross_compiling:$ac_tool_warned in
16187 yes:)
16188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16189 whose name does not start with the host triplet. If you think this
16190 configuration is useful to you, please write to autoconf@gnu.org." >&5
16191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16192 whose name does not start with the host triplet. If you think this
16193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16194 ac_tool_warned=yes ;;
16195 esac
16196 CXX=$ac_ct_CXX
16197 fi
16198 fi
16199
16200 fi
16201 fi
16202 # Provide some information about the compiler.
16203 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16204 ac_compiler=`set X $ac_compile; echo $2`
16205 { (ac_try="$ac_compiler --version >&5"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16209 esac
16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compiler --version >&5") 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }
16215 { (ac_try="$ac_compiler -v >&5"
16216 case "(($ac_try" in
16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;;
16219 esac
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16221 (eval "$ac_compiler -v >&5") 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }
16225 { (ac_try="$ac_compiler -V >&5"
16226 case "(($ac_try" in
16227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16229 esac
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_compiler -V >&5") 2>&5
16232 ac_status=$?
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }
16235
16236 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16237 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16238 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 cat >conftest.$ac_ext <<_ACEOF
16242 /* confdefs.h. */
16243 _ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247
16248 int
16249 main ()
16250 {
16251 #ifndef __GNUC__
16252 choke me
16253 #endif
16254
16255 ;
16256 return 0;
16257 }
16258 _ACEOF
16259 rm -f conftest.$ac_objext
16260 if { (ac_try="$ac_compile"
16261 case "(($ac_try" in
16262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16263 *) ac_try_echo=$ac_try;;
16264 esac
16265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16266 (eval "$ac_compile") 2>conftest.er1
16267 ac_status=$?
16268 grep -v '^ *+' conftest.er1 >conftest.err
16269 rm -f conftest.er1
16270 cat conftest.err >&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } && {
16273 test -z "$ac_cxx_werror_flag" ||
16274 test ! -s conftest.err
16275 } && test -s conftest.$ac_objext; then
16276 ac_compiler_gnu=yes
16277 else
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16280
16281 ac_compiler_gnu=no
16282 fi
16283
16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16285 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16286
16287 fi
16288 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16289 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16290 GXX=`test $ac_compiler_gnu = yes && echo yes`
16291 ac_test_CXXFLAGS=${CXXFLAGS+set}
16292 ac_save_CXXFLAGS=$CXXFLAGS
16293 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16294 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16295 if test "${ac_cv_prog_cxx_g+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 else
16298 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16299 ac_cxx_werror_flag=yes
16300 ac_cv_prog_cxx_g=no
16301 CXXFLAGS="-g"
16302 cat >conftest.$ac_ext <<_ACEOF
16303 /* confdefs.h. */
16304 _ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308
16309 int
16310 main ()
16311 {
16312
16313 ;
16314 return 0;
16315 }
16316 _ACEOF
16317 rm -f conftest.$ac_objext
16318 if { (ac_try="$ac_compile"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16322 esac
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compile") 2>conftest.er1
16325 ac_status=$?
16326 grep -v '^ *+' conftest.er1 >conftest.err
16327 rm -f conftest.er1
16328 cat conftest.err >&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } && {
16331 test -z "$ac_cxx_werror_flag" ||
16332 test ! -s conftest.err
16333 } && test -s conftest.$ac_objext; then
16334 ac_cv_prog_cxx_g=yes
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 CXXFLAGS=""
16340 cat >conftest.$ac_ext <<_ACEOF
16341 /* confdefs.h. */
16342 _ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16346
16347 int
16348 main ()
16349 {
16350
16351 ;
16352 return 0;
16353 }
16354 _ACEOF
16355 rm -f conftest.$ac_objext
16356 if { (ac_try="$ac_compile"
16357 case "(($ac_try" in
16358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16359 *) ac_try_echo=$ac_try;;
16360 esac
16361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16362 (eval "$ac_compile") 2>conftest.er1
16363 ac_status=$?
16364 grep -v '^ *+' conftest.er1 >conftest.err
16365 rm -f conftest.er1
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } && {
16369 test -z "$ac_cxx_werror_flag" ||
16370 test ! -s conftest.err
16371 } && test -s conftest.$ac_objext; then
16372 :
16373 else
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16376
16377 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16378 CXXFLAGS="-g"
16379 cat >conftest.$ac_ext <<_ACEOF
16380 /* confdefs.h. */
16381 _ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385
16386 int
16387 main ()
16388 {
16389
16390 ;
16391 return 0;
16392 }
16393 _ACEOF
16394 rm -f conftest.$ac_objext
16395 if { (ac_try="$ac_compile"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16399 esac
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_compile") 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } && {
16408 test -z "$ac_cxx_werror_flag" ||
16409 test ! -s conftest.err
16410 } && test -s conftest.$ac_objext; then
16411 ac_cv_prog_cxx_g=yes
16412 else
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.$ac_ext >&5
16415
16416
16417 fi
16418
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16420 fi
16421
16422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 fi
16424
16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16427 fi
16428 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16430 if test "$ac_test_CXXFLAGS" = set; then
16431 CXXFLAGS=$ac_save_CXXFLAGS
16432 elif test $ac_cv_prog_cxx_g = yes; then
16433 if test "$GXX" = yes; then
16434 CXXFLAGS="-g -O2"
16435 else
16436 CXXFLAGS="-g"
16437 fi
16438 else
16439 if test "$GXX" = yes; then
16440 CXXFLAGS="-O2"
16441 else
16442 CXXFLAGS=
16443 fi
16444 fi
16445 ac_ext=c
16446 ac_cpp='$CPP $CPPFLAGS'
16447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16450
16451
16452
16453
16454 ac_ext=cpp
16455 ac_cpp='$CXXCPP $CPPFLAGS'
16456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16459
16460 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16461 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16462 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471
16472 int
16473 main ()
16474 {
16475
16476 #ifndef __INTEL_COMPILER
16477 choke me
16478 #endif
16479
16480 ;
16481 return 0;
16482 }
16483 _ACEOF
16484 rm -f conftest.$ac_objext
16485 if { (ac_try="$ac_compile"
16486 case "(($ac_try" in
16487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16488 *) ac_try_echo=$ac_try;;
16489 esac
16490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16491 (eval "$ac_compile") 2>conftest.er1
16492 ac_status=$?
16493 grep -v '^ *+' conftest.er1 >conftest.err
16494 rm -f conftest.er1
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_cxx_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest.$ac_objext; then
16501 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16502 else
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16505
16506 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16507
16508 fi
16509
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511
16512
16513 fi
16514 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16515 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16516 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16517 :; INTELCXX=yes
16518 else
16519 :;
16520 fi
16521 ac_ext=c
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16526
16527
16528
16529
16530 if test "x$GCXX" != "xyes"; then
16531 if test "xCXX" = "xC"; then
16532 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16533 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16534 if test "${bakefile_cv_c_exto+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 else
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543
16544 int
16545 main ()
16546 {
16547
16548 ;
16549 return 0;
16550 }
16551 _ACEOF
16552 rm -f conftest.$ac_objext conftest.$ac_ext.o
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; then
16558 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16559 case $ac_file in
16560 conftest.$ac_ext.o)
16561 bakefile_cv_c_exto="-ext o"
16562 ;;
16563 *)
16564 ;;
16565 esac
16566 done
16567 else
16568 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; }
16573
16574 fi
16575
16576 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16577
16578 fi
16579 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16580 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16581 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16582 if test "c" = "c"; then
16583 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16584 fi
16585 if test "c" = "cxx"; then
16586 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16587 fi
16588 fi
16589
16590 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16591 unset ac_cv_prog_cc_g
16592 ac_test_CFLAGS=${CFLAGS+set}
16593 ac_save_CFLAGS=$CFLAGS
16594 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16595 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_cc_g+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 ac_save_c_werror_flag=$ac_c_werror_flag
16600 ac_c_werror_flag=yes
16601 ac_cv_prog_cc_g=no
16602 CFLAGS="-g"
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609
16610 int
16611 main ()
16612 {
16613
16614 ;
16615 return 0;
16616 }
16617 _ACEOF
16618 rm -f conftest.$ac_objext
16619 if { (ac_try="$ac_compile"
16620 case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16623 esac
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compile") 2>conftest.er1
16626 ac_status=$?
16627 grep -v '^ *+' conftest.er1 >conftest.err
16628 rm -f conftest.er1
16629 cat conftest.err >&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } && {
16632 test -z "$ac_c_werror_flag" ||
16633 test ! -s conftest.err
16634 } && test -s conftest.$ac_objext; then
16635 ac_cv_prog_cc_g=yes
16636 else
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.$ac_ext >&5
16639
16640 CFLAGS=""
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647
16648 int
16649 main ()
16650 {
16651
16652 ;
16653 return 0;
16654 }
16655 _ACEOF
16656 rm -f conftest.$ac_objext
16657 if { (ac_try="$ac_compile"
16658 case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16661 esac
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_compile") 2>conftest.er1
16664 ac_status=$?
16665 grep -v '^ *+' conftest.er1 >conftest.err
16666 rm -f conftest.er1
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } && {
16670 test -z "$ac_c_werror_flag" ||
16671 test ! -s conftest.err
16672 } && test -s conftest.$ac_objext; then
16673 :
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 ac_c_werror_flag=$ac_save_c_werror_flag
16679 CFLAGS="-g"
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h. */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686
16687 int
16688 main ()
16689 {
16690
16691 ;
16692 return 0;
16693 }
16694 _ACEOF
16695 rm -f conftest.$ac_objext
16696 if { (ac_try="$ac_compile"
16697 case "(($ac_try" in
16698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16700 esac
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_compile") 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && {
16709 test -z "$ac_c_werror_flag" ||
16710 test ! -s conftest.err
16711 } && test -s conftest.$ac_objext; then
16712 ac_cv_prog_cc_g=yes
16713 else
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16716
16717
16718 fi
16719
16720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16721 fi
16722
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724 fi
16725
16726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 ac_c_werror_flag=$ac_save_c_werror_flag
16728 fi
16729 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16730 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16731 if test "$ac_test_CFLAGS" = set; then
16732 CFLAGS=$ac_save_CFLAGS
16733 elif test $ac_cv_prog_cc_g = yes; then
16734 if test "$GCC" = yes; then
16735 CFLAGS="-g -O2"
16736 else
16737 CFLAGS="-g"
16738 fi
16739 else
16740 if test "$GCC" = yes; then
16741 CFLAGS="-O2"
16742 else
16743 CFLAGS=
16744 fi
16745 fi
16746 fi
16747 fi
16748
16749 case `uname -s` in
16750 AIX*)
16751
16752
16753 ac_ext=cpp
16754 ac_cpp='$CXXCPP $CPPFLAGS'
16755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16758
16759 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16760 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16761 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770
16771 int
16772 main ()
16773 {
16774
16775 #ifndef __xlC__
16776 choke me
16777 #endif
16778
16779 ;
16780 return 0;
16781 }
16782 _ACEOF
16783 rm -f conftest.$ac_objext
16784 if { (ac_try="$ac_compile"
16785 case "(($ac_try" in
16786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787 *) ac_try_echo=$ac_try;;
16788 esac
16789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790 (eval "$ac_compile") 2>conftest.er1
16791 ac_status=$?
16792 grep -v '^ *+' conftest.er1 >conftest.err
16793 rm -f conftest.er1
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } && {
16797 test -z "$ac_cxx_werror_flag" ||
16798 test ! -s conftest.err
16799 } && test -s conftest.$ac_objext; then
16800 bakefile_cv_cxx_compiler___xlC__=yes
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16804
16805 bakefile_cv_cxx_compiler___xlC__=no
16806
16807 fi
16808
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810
16811
16812 fi
16813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16815 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16816 :; XLCXX=yes
16817 else
16818 :;
16819 fi
16820 ac_ext=c
16821 ac_cpp='$CPP $CPPFLAGS'
16822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16825
16826
16827
16828 ;;
16829
16830 Darwin)
16831
16832
16833 ac_ext=cpp
16834 ac_cpp='$CXXCPP $CPPFLAGS'
16835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16838
16839 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16840 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16841 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 else
16844 cat >conftest.$ac_ext <<_ACEOF
16845 /* confdefs.h. */
16846 _ACEOF
16847 cat confdefs.h >>conftest.$ac_ext
16848 cat >>conftest.$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16850
16851 int
16852 main ()
16853 {
16854
16855 #ifndef __MWERKS__
16856 choke me
16857 #endif
16858
16859 ;
16860 return 0;
16861 }
16862 _ACEOF
16863 rm -f conftest.$ac_objext
16864 if { (ac_try="$ac_compile"
16865 case "(($ac_try" in
16866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16867 *) ac_try_echo=$ac_try;;
16868 esac
16869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16870 (eval "$ac_compile") 2>conftest.er1
16871 ac_status=$?
16872 grep -v '^ *+' conftest.er1 >conftest.err
16873 rm -f conftest.er1
16874 cat conftest.err >&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } && {
16877 test -z "$ac_cxx_werror_flag" ||
16878 test ! -s conftest.err
16879 } && test -s conftest.$ac_objext; then
16880 bakefile_cv_cxx_compiler___MWERKS__=yes
16881 else
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16884
16885 bakefile_cv_cxx_compiler___MWERKS__=no
16886
16887 fi
16888
16889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16890
16891
16892 fi
16893 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16894 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16895 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16896 :; MWCXX=yes
16897 else
16898 :;
16899 fi
16900 ac_ext=c
16901 ac_cpp='$CPP $CPPFLAGS'
16902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16905
16906
16907
16908
16909
16910 ac_ext=cpp
16911 ac_cpp='$CXXCPP $CPPFLAGS'
16912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16915
16916 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16917 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16918 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 cat >conftest.$ac_ext <<_ACEOF
16922 /* confdefs.h. */
16923 _ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927
16928 int
16929 main ()
16930 {
16931
16932 #ifndef __xlC__
16933 choke me
16934 #endif
16935
16936 ;
16937 return 0;
16938 }
16939 _ACEOF
16940 rm -f conftest.$ac_objext
16941 if { (ac_try="$ac_compile"
16942 case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16945 esac
16946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947 (eval "$ac_compile") 2>conftest.er1
16948 ac_status=$?
16949 grep -v '^ *+' conftest.er1 >conftest.err
16950 rm -f conftest.er1
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } && {
16954 test -z "$ac_cxx_werror_flag" ||
16955 test ! -s conftest.err
16956 } && test -s conftest.$ac_objext; then
16957 bakefile_cv_cxx_compiler___xlC__=yes
16958 else
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16961
16962 bakefile_cv_cxx_compiler___xlC__=no
16963
16964 fi
16965
16966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967
16968
16969 fi
16970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16972 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16973 :; XLCXX=yes
16974 else
16975 :;
16976 fi
16977 ac_ext=c
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16982
16983
16984
16985 ;;
16986
16987 IRIX*)
16988
16989
16990 ac_ext=cpp
16991 ac_cpp='$CXXCPP $CPPFLAGS'
16992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16995
16996 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16997 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16998 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 else
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007
17008 int
17009 main ()
17010 {
17011
17012 #ifndef _SGI_COMPILER_VERSION
17013 choke me
17014 #endif
17015
17016 ;
17017 return 0;
17018 }
17019 _ACEOF
17020 rm -f conftest.$ac_objext
17021 if { (ac_try="$ac_compile"
17022 case "(($ac_try" in
17023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17024 *) ac_try_echo=$ac_try;;
17025 esac
17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17027 (eval "$ac_compile") 2>conftest.er1
17028 ac_status=$?
17029 grep -v '^ *+' conftest.er1 >conftest.err
17030 rm -f conftest.er1
17031 cat conftest.err >&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && {
17034 test -z "$ac_cxx_werror_flag" ||
17035 test ! -s conftest.err
17036 } && test -s conftest.$ac_objext; then
17037 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17041
17042 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17043
17044 fi
17045
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047
17048
17049 fi
17050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17051 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17052 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17053 :; SGICXX=yes
17054 else
17055 :;
17056 fi
17057 ac_ext=c
17058 ac_cpp='$CPP $CPPFLAGS'
17059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17062
17063
17064
17065 ;;
17066
17067 Linux*)
17068
17069
17070 ac_ext=cpp
17071 ac_cpp='$CXXCPP $CPPFLAGS'
17072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17075
17076 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17077 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17078 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 else
17081 cat >conftest.$ac_ext <<_ACEOF
17082 /* confdefs.h. */
17083 _ACEOF
17084 cat confdefs.h >>conftest.$ac_ext
17085 cat >>conftest.$ac_ext <<_ACEOF
17086 /* end confdefs.h. */
17087
17088 int
17089 main ()
17090 {
17091
17092 #ifndef __SUNPRO_CC
17093 choke me
17094 #endif
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (ac_try="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105 esac
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_cxx_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17121
17122 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17123
17124 fi
17125
17126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17127
17128
17129 fi
17130 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17131 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17132 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17133 :; SUNCXX=yes
17134 else
17135 :;
17136 fi
17137 ac_ext=c
17138 ac_cpp='$CPP $CPPFLAGS'
17139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17142
17143
17144
17145 ;;
17146
17147 HP-UX*)
17148
17149
17150 ac_ext=cpp
17151 ac_cpp='$CXXCPP $CPPFLAGS'
17152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17155
17156 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17157 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17158 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167
17168 int
17169 main ()
17170 {
17171
17172 #ifndef __HP_aCC
17173 choke me
17174 #endif
17175
17176 ;
17177 return 0;
17178 }
17179 _ACEOF
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_cxx_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 bakefile_cv_cxx_compiler___HP_aCC=yes
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 bakefile_cv_cxx_compiler___HP_aCC=no
17203
17204 fi
17205
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207
17208
17209 fi
17210 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17211 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17212 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17213 :; HPCXX=yes
17214 else
17215 :;
17216 fi
17217 ac_ext=c
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222
17223
17224
17225 ;;
17226
17227 OSF1)
17228
17229
17230 ac_ext=cpp
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17235
17236 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17237 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17238 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17240 else
17241 cat >conftest.$ac_ext <<_ACEOF
17242 /* confdefs.h. */
17243 _ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247
17248 int
17249 main ()
17250 {
17251
17252 #ifndef __DECCXX
17253 choke me
17254 #endif
17255
17256 ;
17257 return 0;
17258 }
17259 _ACEOF
17260 rm -f conftest.$ac_objext
17261 if { (ac_try="$ac_compile"
17262 case "(($ac_try" in
17263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17264 *) ac_try_echo=$ac_try;;
17265 esac
17266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17267 (eval "$ac_compile") 2>conftest.er1
17268 ac_status=$?
17269 grep -v '^ *+' conftest.er1 >conftest.err
17270 rm -f conftest.er1
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } && {
17274 test -z "$ac_cxx_werror_flag" ||
17275 test ! -s conftest.err
17276 } && test -s conftest.$ac_objext; then
17277 bakefile_cv_cxx_compiler___DECCXX=yes
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 bakefile_cv_cxx_compiler___DECCXX=no
17283
17284 fi
17285
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287
17288
17289 fi
17290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17291 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17292 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17293 :; COMPAQCXX=yes
17294 else
17295 :;
17296 fi
17297 ac_ext=c
17298 ac_cpp='$CPP $CPPFLAGS'
17299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302
17303
17304
17305 ;;
17306
17307 SunOS)
17308
17309
17310 ac_ext=cpp
17311 ac_cpp='$CXXCPP $CPPFLAGS'
17312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17315
17316 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17317 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17318 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327
17328 int
17329 main ()
17330 {
17331
17332 #ifndef __SUNPRO_CC
17333 choke me
17334 #endif
17335
17336 ;
17337 return 0;
17338 }
17339 _ACEOF
17340 rm -f conftest.$ac_objext
17341 if { (ac_try="$ac_compile"
17342 case "(($ac_try" in
17343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 *) ac_try_echo=$ac_try;;
17345 esac
17346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17347 (eval "$ac_compile") 2>conftest.er1
17348 ac_status=$?
17349 grep -v '^ *+' conftest.er1 >conftest.err
17350 rm -f conftest.er1
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } && {
17354 test -z "$ac_cxx_werror_flag" ||
17355 test ! -s conftest.err
17356 } && test -s conftest.$ac_objext; then
17357 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17358 else
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17361
17362 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17363
17364 fi
17365
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17367
17368
17369 fi
17370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17371 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17372 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17373 :; SUNCXX=yes
17374 else
17375 :;
17376 fi
17377 ac_ext=c
17378 ac_cpp='$CPP $CPPFLAGS'
17379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17382
17383
17384
17385 ;;
17386 esac
17387 fi
17388
17389
17390
17391 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17392 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17393 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17394 { (exit 1); exit 1; }; }
17395 fi
17396
17397 if test "x$SUNCXX" != xyes; then
17398 if test -n "$ac_tool_prefix"; then
17399 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17400 set dummy ${ac_tool_prefix}ar; ac_word=$2
17401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17403 if test "${ac_cv_prog_AR+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 else
17406 if test -n "$AR"; then
17407 ac_cv_prog_AR="$AR" # Let the user override the test.
17408 else
17409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17410 for as_dir in $PATH
17411 do
17412 IFS=$as_save_IFS
17413 test -z "$as_dir" && as_dir=.
17414 for ac_exec_ext in '' $ac_executable_extensions; do
17415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17416 ac_cv_prog_AR="${ac_tool_prefix}ar"
17417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17418 break 2
17419 fi
17420 done
17421 done
17422 IFS=$as_save_IFS
17423
17424 fi
17425 fi
17426 AR=$ac_cv_prog_AR
17427 if test -n "$AR"; then
17428 { echo "$as_me:$LINENO: result: $AR" >&5
17429 echo "${ECHO_T}$AR" >&6; }
17430 else
17431 { echo "$as_me:$LINENO: result: no" >&5
17432 echo "${ECHO_T}no" >&6; }
17433 fi
17434
17435
17436 fi
17437 if test -z "$ac_cv_prog_AR"; then
17438 ac_ct_AR=$AR
17439 # Extract the first word of "ar", so it can be a program name with args.
17440 set dummy ar; ac_word=$2
17441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 else
17446 if test -n "$ac_ct_AR"; then
17447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17448 else
17449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17450 for as_dir in $PATH
17451 do
17452 IFS=$as_save_IFS
17453 test -z "$as_dir" && as_dir=.
17454 for ac_exec_ext in '' $ac_executable_extensions; do
17455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17456 ac_cv_prog_ac_ct_AR="ar"
17457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17458 break 2
17459 fi
17460 done
17461 done
17462 IFS=$as_save_IFS
17463
17464 fi
17465 fi
17466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17467 if test -n "$ac_ct_AR"; then
17468 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17469 echo "${ECHO_T}$ac_ct_AR" >&6; }
17470 else
17471 { echo "$as_me:$LINENO: result: no" >&5
17472 echo "${ECHO_T}no" >&6; }
17473 fi
17474
17475 if test "x$ac_ct_AR" = x; then
17476 AR=""
17477 else
17478 case $cross_compiling:$ac_tool_warned in
17479 yes:)
17480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17481 whose name does not start with the host triplet. If you think this
17482 configuration is useful to you, please write to autoconf@gnu.org." >&5
17483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17484 whose name does not start with the host triplet. If you think this
17485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17486 ac_tool_warned=yes ;;
17487 esac
17488 AR=$ac_ct_AR
17489 fi
17490 else
17491 AR="$ac_cv_prog_AR"
17492 fi
17493
17494 if test "x$AR" = "x" ; then
17495 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17496 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17498 fi
17499 fi
17500
17501 retest_macosx_linking=no
17502
17503 #if test "$wxUSE_MAC" = 1; then
17504 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17505 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17506 # Implicitly turn on the new --with-macosx-sdk using the default
17507 # SDK which provides the behavior this option has always had.
17508 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17509 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17510 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17511 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17512 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17513 wxUSE_MACOSX_SDK=yes
17514 fi
17515 else
17516 # Complain to user if he specified an argument to --enable-universal_binary
17517 # and also 1) specified --with-macosx-sdk using the default (yes) or
17518 # 2) specified --with-macosx-sdk using a path or 3) specified
17519 # --without-macosx-sdk (no).
17520 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17521 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17522 See \`config.log' for more details." >&5
17523 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17524 See \`config.log' for more details." >&2;}
17525 { (exit 1); exit 1; }; }
17526 else
17527 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17528 # special-case the empty string because the below test simply
17529 # converts "no" to the empty string anyway.
17530 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17531 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17532 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17533 fi
17534 fi
17535 OSX_UNIV_OPTS="-arch ppc -arch i386"
17536 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17537 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17538 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17539 retest_macosx_linking=yes
17540
17541 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17542 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17543 bk_use_pch=no
17544 fi
17545 #fi
17546
17547 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17548 wxUSE_MACOSX_SDK=
17549 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17550 # TODO: Search for most recent SDK and use it.
17551 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17552 fi
17553
17554
17555 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17556 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17557 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17558 if ! test -d "$wxUSE_MACOSX_SDK"; then
17559 { { echo "$as_me:$LINENO: error: not found
17560 See \`config.log' for more details." >&5
17561 echo "$as_me: error: not found
17562 See \`config.log' for more details." >&2;}
17563 { (exit 1); exit 1; }; }
17564 else
17565 { echo "$as_me:$LINENO: result: exists" >&5
17566 echo "${ECHO_T}exists" >&6; }
17567 fi
17568 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17569 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17570 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17571 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17572 retest_macosx_linking=yes
17573 fi
17574
17575 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17576 wxUSE_MACOSX_VERSION_MIN=
17577 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17578 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17579 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17580 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17581
17582 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/'`
17583
17584 # If that failed, try again with the new key
17585 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17586
17587 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/'`
17588
17589 fi
17590
17591 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17592 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17593 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17594 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17595 else
17596 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17597 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17598 wxUSE_MACOSX_VERSION_MIN=
17599 fi
17600 else
17601 wxUSE_MACOSX_VERSION_MIN=
17602 fi
17603 fi
17604
17605 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17606 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17607 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17608 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17609 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17610 retest_macosx_linking=yes
17611 fi
17612
17613 if test "x$retest_macosx_linking" = "xyes"; then
17614 ac_ext=c
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619
17620 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17621 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628
17629 int
17630 main ()
17631 {
17632
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext conftest$ac_exeext
17638 if { (ac_try="$ac_link"
17639 case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17642 esac
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_link") 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } && {
17651 test -z "$ac_c_werror_flag" ||
17652 test ! -s conftest.err
17653 } && test -s conftest$ac_exeext &&
17654 $as_test_x conftest$ac_exeext; then
17655 { echo "$as_me:$LINENO: result: yes" >&5
17656 echo "${ECHO_T}yes" >&6; }
17657 else
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.$ac_ext >&5
17660
17661 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17662 See \`config.log' for more details." >&5
17663 echo "$as_me: error: no. Try a different SDK
17664 See \`config.log' for more details." >&2;}
17665 { (exit 1); exit 1; }; }; exit 1
17666 fi
17667
17668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17669 conftest$ac_exeext conftest.$ac_ext
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 ac_ext=cpp
17678 ac_cpp='$CXXCPP $CPPFLAGS'
17679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17682
17683 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17684 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17685 cat >conftest.$ac_ext <<_ACEOF
17686 /* confdefs.h. */
17687 _ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691
17692 int
17693 main ()
17694 {
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext conftest$ac_exeext
17701 if { (ac_try="$ac_link"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17705 esac
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_link") 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_cxx_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest$ac_exeext &&
17717 $as_test_x conftest$ac_exeext; then
17718 { echo "$as_me:$LINENO: result: yes" >&5
17719 echo "${ECHO_T}yes" >&6; }
17720 else
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17725 See \`config.log' for more details." >&5
17726 echo "$as_me: error: no. Try a different SDK
17727 See \`config.log' for more details." >&2;}
17728 { (exit 1); exit 1; }; }; exit 1
17729 fi
17730
17731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17732 conftest$ac_exeext conftest.$ac_ext
17733 ac_ext=c
17734 ac_cpp='$CPP $CPPFLAGS'
17735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17738
17739 fi
17740
17741
17742 case "${host}" in
17743
17744 *-*-darwin* )
17745 INSTALL_PROGRAM="cp -fp"
17746 INSTALL_DATA="cp -fp"
17747 ;;
17748 *)
17749 ;;
17750 esac
17751
17752
17753 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17754 CXXFLAGS="-qunique $CXXFLAGS"
17755 fi
17756
17757 case "${host}" in
17758 powerpc-*-darwin* )
17759 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17760 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767
17768 int
17769 main ()
17770 {
17771 #ifndef __POWERPC__
17772 choke me for lack of PowerPC
17773 #endif
17774
17775 ;
17776 return 0;
17777 }
17778 _ACEOF
17779 rm -f conftest.$ac_objext
17780 if { (ac_try="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17784 esac
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17787 ac_status=$?
17788 grep -v '^ *+' conftest.er1 >conftest.err
17789 rm -f conftest.er1
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_c_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 { echo "$as_me:$LINENO: result: yes" >&5
17797 echo "${ECHO_T}yes" >&6; }
17798 else
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17801
17802 { echo "$as_me:$LINENO: result: no" >&5
17803 echo "${ECHO_T}no" >&6; }
17804 cat >>confdefs.h <<\_ACEOF
17805 #define __POWERPC__ 1
17806 _ACEOF
17807
17808
17809 fi
17810
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 ;;
17813 esac
17814
17815 case "${host}" in
17816 *-*-darwin* )
17817 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17818 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 #include <CoreFoundation/CFBase.h>
17826
17827 int
17828 main ()
17829 {
17830
17831 ;
17832 return 0;
17833 }
17834 _ACEOF
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.$ac_objext; then
17852 { echo "$as_me:$LINENO: result: yes" >&5
17853 echo "${ECHO_T}yes" >&6; }
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 { echo "$as_me:$LINENO: result: no" >&5
17859 echo "${ECHO_T}no" >&6; }
17860 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17861 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17862 cat >conftest.$ac_ext <<_ACEOF
17863 /* confdefs.h. */
17864 _ACEOF
17865 cat confdefs.h >>conftest.$ac_ext
17866 cat >>conftest.$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 #define __CF_USE_FRAMEWORK_INCLUDES__
17869 #include <CoreFoundation/CFBase.h>
17870
17871 int
17872 main ()
17873 {
17874
17875 ;
17876 return 0;
17877 }
17878 _ACEOF
17879 rm -f conftest.$ac_objext
17880 if { (ac_try="$ac_compile"
17881 case "(($ac_try" in
17882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17883 *) ac_try_echo=$ac_try;;
17884 esac
17885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval "$ac_compile") 2>conftest.er1
17887 ac_status=$?
17888 grep -v '^ *+' conftest.er1 >conftest.err
17889 rm -f conftest.er1
17890 cat conftest.err >&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } && {
17893 test -z "$ac_c_werror_flag" ||
17894 test ! -s conftest.err
17895 } && test -s conftest.$ac_objext; then
17896 { echo "$as_me:$LINENO: result: yes" >&5
17897 echo "${ECHO_T}yes" >&6; }
17898 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17899 else
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17902
17903 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17904 See \`config.log' for more details." >&5
17905 echo "$as_me: error: no. CoreFoundation not available.
17906 See \`config.log' for more details." >&2;}
17907 { (exit 1); exit 1; }; }
17908
17909 fi
17910
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912
17913
17914 fi
17915
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 ;;
17918 esac
17919
17920 wants_win32=0
17921 doesnt_want_win32=0
17922 case "${host}" in
17923 *-*-cygwin*)
17924 if test "$wxUSE_MSW" = 1 ; then
17925 wants_win32=1
17926 else
17927 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17928 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17929 if test "${wx_cv_nocygwin+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932
17933 cat >conftest.$ac_ext <<_ACEOF
17934 /* confdefs.h. */
17935 _ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939
17940 int
17941 main ()
17942 {
17943
17944 #ifdef __MINGW32__
17945 choke me
17946 #endif
17947
17948 ;
17949 return 0;
17950 }
17951 _ACEOF
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 wx_cv_nocygwin=no
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 wx_cv_nocygwin=yes
17975
17976 fi
17977
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979
17980
17981 fi
17982 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17983 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17984
17985 if test "$wx_cv_nocygwin" = "yes"; then
17986 wants_win32=1
17987 else
17988 doesnt_want_win32=1
17989 fi
17990 fi
17991 if test "$wants_win32" = 1 ; then
17992 BAKEFILE_FORCE_PLATFORM=win32
17993 fi
17994 ;;
17995 *-*-mingw*)
17996 wants_win32=1
17997 ;;
17998 esac
17999
18000 if test "$wxUSE_WINE" = "yes"; then
18001 wants_win32=1
18002 LDFLAGS_GUI="-mwindows"
18003 fi
18004
18005 if test "$wants_win32" = 1 ; then
18006 USE_UNIX=0
18007 USE_WIN32=1
18008 cat >>confdefs.h <<\_ACEOF
18009 #define __WIN32__ 1
18010 _ACEOF
18011
18012 cat >>confdefs.h <<\_ACEOF
18013 #define __WIN95__ 1
18014 _ACEOF
18015
18016 cat >>confdefs.h <<\_ACEOF
18017 #define __WINDOWS__ 1
18018 _ACEOF
18019
18020 cat >>confdefs.h <<\_ACEOF
18021 #define __GNUWIN32__ 1
18022 _ACEOF
18023
18024 cat >>confdefs.h <<\_ACEOF
18025 #define STRICT 1
18026 _ACEOF
18027
18028 fi
18029 if test "$doesnt_want_win32" = 1 ; then
18030 USE_UNIX=1
18031 USE_WIN32=0
18032 fi
18033
18034 if test "$USE_UNIX" = 1 ; then
18035 wxUSE_UNIX=yes
18036 cat >>confdefs.h <<\_ACEOF
18037 #define __UNIX__ 1
18038 _ACEOF
18039
18040 fi
18041
18042 case "${host}" in
18043 *-pc-os2_emx | *-pc-os2-emx )
18044 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18045 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18046 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18047 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18048 echo $ECHO_N "(cached) $ECHO_C" >&6
18049 else
18050 ac_check_lib_save_LIBS=$LIBS
18051 LIBS="-lcExt $LIBS"
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058
18059 /* Override any GCC internal prototype to avoid an error.
18060 Use char because int might match the return type of a GCC
18061 builtin and then its argument prototype would still apply. */
18062 #ifdef __cplusplus
18063 extern "C"
18064 #endif
18065 char drand48 ();
18066 int
18067 main ()
18068 {
18069 return drand48 ();
18070 ;
18071 return 0;
18072 }
18073 _ACEOF
18074 rm -f conftest.$ac_objext conftest$ac_exeext
18075 if { (ac_try="$ac_link"
18076 case "(($ac_try" in
18077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18078 *) ac_try_echo=$ac_try;;
18079 esac
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18081 (eval "$ac_link") 2>conftest.er1
18082 ac_status=$?
18083 grep -v '^ *+' conftest.er1 >conftest.err
18084 rm -f conftest.er1
18085 cat conftest.err >&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest$ac_exeext &&
18091 $as_test_x conftest$ac_exeext; then
18092 ac_cv_lib_cExt_drand48=yes
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18096
18097 ac_cv_lib_cExt_drand48=no
18098 fi
18099
18100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18101 conftest$ac_exeext conftest.$ac_ext
18102 LIBS=$ac_check_lib_save_LIBS
18103 fi
18104 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18105 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18106 if test $ac_cv_lib_cExt_drand48 = yes; then
18107 LIBS="$LIBS -lcExt"
18108 fi
18109
18110 else
18111 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18112 fi
18113 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18114 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18115 if test "${wx_cv_gccversion+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18117 else
18118
18119 if test "$cross_compiling" = yes; then
18120 wx_cv_gccversion="EMX2"
18121
18122 else
18123 cat >conftest.$ac_ext <<_ACEOF
18124 /* confdefs.h. */
18125 _ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129
18130 #include <stdio.h>
18131
18132 int main()
18133 {
18134 FILE *f=fopen("conftestval", "w");
18135 if (!f) exit(1);
18136 fprintf(f,
18137 #if (__GNUC__ < 3)
18138 "EMX2"
18139 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18140 "EMX3"
18141 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18142 "Innotek5"
18143 #else
18144 "Innotek6"
18145 #endif
18146 );
18147 exit(0);
18148 }
18149
18150 _ACEOF
18151 rm -f conftest$ac_exeext
18152 if { (ac_try="$ac_link"
18153 case "(($ac_try" in
18154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18155 *) ac_try_echo=$ac_try;;
18156 esac
18157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18158 (eval "$ac_link") 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18162 { (case "(($ac_try" in
18163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18165 esac
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_try") 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 wx_cv_gccversion=`cat conftestval`
18172 else
18173 echo "$as_me: program exited with status $ac_status" >&5
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 ( exit $ac_status )
18178 wx_cv_gccversion="EMX2"
18179 fi
18180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18181 fi
18182
18183
18184
18185 fi
18186 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18187 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18188 if test "$wx_cv_gccversion" = "EMX2"; then
18189 LIBS="$LIBS -lstdcpp"
18190 LDFLAGS="$LDFLAGS -Zsysv-signals"
18191 else
18192 if test "$wx_cv_gccversion" = "EMX3"; then
18193 LIBS="$LIBS -lstdcxx -lgcc"
18194 LDFLAGS="$LDFLAGS -Zsysv-signals"
18195 else
18196 LIBS="$LIBS -lstdc++"
18197 fi
18198 fi
18199 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18200 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18201 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18202 wxUSE_OMF=yes
18203 enable_omf=yes
18204 fi
18205 ;;
18206 *)
18207
18208 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18209 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18210 if test "${ac_cv_string_strcasecmp+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213
18214 cat >conftest.$ac_ext <<_ACEOF
18215 /* confdefs.h. */
18216 _ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220
18221 #include <string.h>
18222
18223 int
18224 main ()
18225 {
18226
18227 strcasecmp("foo", "bar");
18228
18229 ;
18230 return 0;
18231 }
18232 _ACEOF
18233 rm -f conftest.$ac_objext conftest$ac_exeext
18234 if { (ac_try="$ac_link"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_link") 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest$ac_exeext &&
18250 $as_test_x conftest$ac_exeext; then
18251 ac_cv_string_strcasecmp=yes
18252 else
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18255
18256 ac_cv_string_strcasecmp=no
18257
18258 fi
18259
18260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18261 conftest$ac_exeext conftest.$ac_ext
18262
18263 fi
18264 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18265 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18266
18267 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18268 cat >>confdefs.h <<\_ACEOF
18269 #define HAVE_STRCASECMP_IN_STRING_H 1
18270 _ACEOF
18271
18272 else
18273 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18274 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18275 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18277 else
18278
18279 cat >conftest.$ac_ext <<_ACEOF
18280 /* confdefs.h. */
18281 _ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285
18286 #include <strings.h>
18287
18288 int
18289 main ()
18290 {
18291
18292 strcasecmp("foo", "bar");
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 rm -f conftest.$ac_objext conftest$ac_exeext
18299 if { (ac_try="$ac_link"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18303 esac
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_link") 2>conftest.er1
18306 ac_status=$?
18307 grep -v '^ *+' conftest.er1 >conftest.err
18308 rm -f conftest.er1
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && {
18312 test -z "$ac_c_werror_flag" ||
18313 test ! -s conftest.err
18314 } && test -s conftest$ac_exeext &&
18315 $as_test_x conftest$ac_exeext; then
18316 ac_cv_strings_strcasecmp=yes
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18320
18321 ac_cv_strings_strcasecmp=no
18322
18323 fi
18324
18325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18326 conftest$ac_exeext conftest.$ac_ext
18327
18328 fi
18329 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18330 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18331
18332 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18333 cat >>confdefs.h <<\_ACEOF
18334 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18335 _ACEOF
18336
18337 else
18338 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18339 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18340 { (exit 1); exit 1; }; }
18341 fi
18342 fi
18343
18344 ;;
18345 esac
18346
18347
18348 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18349 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18350 if test "${ac_cv_header_stdc+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <stdlib.h>
18360 #include <stdarg.h>
18361 #include <string.h>
18362 #include <float.h>
18363
18364 int
18365 main ()
18366 {
18367
18368 ;
18369 return 0;
18370 }
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18376 *) ac_try_echo=$ac_try;;
18377 esac
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18380 ac_status=$?
18381 grep -v '^ *+' conftest.er1 >conftest.err
18382 rm -f conftest.er1
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.$ac_objext; then
18389 ac_cv_header_stdc=yes
18390 else
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18393
18394 ac_cv_header_stdc=no
18395 fi
18396
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398
18399 if test $ac_cv_header_stdc = yes; then
18400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 #include <string.h>
18408
18409 _ACEOF
18410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18411 $EGREP "memchr" >/dev/null 2>&1; then
18412 :
18413 else
18414 ac_cv_header_stdc=no
18415 fi
18416 rm -f conftest*
18417
18418 fi
18419
18420 if test $ac_cv_header_stdc = yes; then
18421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18422 cat >conftest.$ac_ext <<_ACEOF
18423 /* confdefs.h. */
18424 _ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18428 #include <stdlib.h>
18429
18430 _ACEOF
18431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18432 $EGREP "free" >/dev/null 2>&1; then
18433 :
18434 else
18435 ac_cv_header_stdc=no
18436 fi
18437 rm -f conftest*
18438
18439 fi
18440
18441 if test $ac_cv_header_stdc = yes; then
18442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18443 if test "$cross_compiling" = yes; then
18444 :
18445 else
18446 cat >conftest.$ac_ext <<_ACEOF
18447 /* confdefs.h. */
18448 _ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 #include <ctype.h>
18453 #include <stdlib.h>
18454 #if ((' ' & 0x0FF) == 0x020)
18455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18457 #else
18458 # define ISLOWER(c) \
18459 (('a' <= (c) && (c) <= 'i') \
18460 || ('j' <= (c) && (c) <= 'r') \
18461 || ('s' <= (c) && (c) <= 'z'))
18462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18463 #endif
18464
18465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18466 int
18467 main ()
18468 {
18469 int i;
18470 for (i = 0; i < 256; i++)
18471 if (XOR (islower (i), ISLOWER (i))
18472 || toupper (i) != TOUPPER (i))
18473 return 2;
18474 return 0;
18475 }
18476 _ACEOF
18477 rm -f conftest$ac_exeext
18478 if { (ac_try="$ac_link"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18482 esac
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_link") 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18488 { (case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491 esac
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_try") 2>&5
18494 ac_status=$?
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; }; then
18497 :
18498 else
18499 echo "$as_me: program exited with status $ac_status" >&5
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 ( exit $ac_status )
18504 ac_cv_header_stdc=no
18505 fi
18506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18507 fi
18508
18509
18510 fi
18511 fi
18512 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18513 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18514 if test $ac_cv_header_stdc = yes; then
18515
18516 cat >>confdefs.h <<\_ACEOF
18517 #define STDC_HEADERS 1
18518 _ACEOF
18519
18520 fi
18521
18522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18533 inttypes.h stdint.h unistd.h
18534 do
18535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18548
18549 #include <$ac_header>
18550 _ACEOF
18551 rm -f conftest.$ac_objext
18552 if { (ac_try="$ac_compile"
18553 case "(($ac_try" in
18554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18555 *) ac_try_echo=$ac_try;;
18556 esac
18557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18558 (eval "$ac_compile") 2>conftest.er1
18559 ac_status=$?
18560 grep -v '^ *+' conftest.er1 >conftest.err
18561 rm -f conftest.er1
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } && {
18565 test -z "$ac_c_werror_flag" ||
18566 test ! -s conftest.err
18567 } && test -s conftest.$ac_objext; then
18568 eval "$as_ac_Header=yes"
18569 else
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18572
18573 eval "$as_ac_Header=no"
18574 fi
18575
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577 fi
18578 ac_res=`eval echo '${'$as_ac_Header'}'`
18579 { echo "$as_me:$LINENO: result: $ac_res" >&5
18580 echo "${ECHO_T}$ac_res" >&6; }
18581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18584 _ACEOF
18585
18586 fi
18587
18588 done
18589
18590
18591
18592
18593 for ac_header in langinfo.h wchar.h
18594 do
18595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 else
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18608
18609 #include <$ac_header>
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (ac_try="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18616 esac
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18619 ac_status=$?
18620 grep -v '^ *+' conftest.er1 >conftest.err
18621 rm -f conftest.er1
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 eval "$as_ac_Header=yes"
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 eval "$as_ac_Header=no"
18634 fi
18635
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 fi
18638 ac_res=`eval echo '${'$as_ac_Header'}'`
18639 { echo "$as_me:$LINENO: result: $ac_res" >&5
18640 echo "${ECHO_T}$ac_res" >&6; }
18641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18644 _ACEOF
18645
18646 fi
18647
18648 done
18649
18650
18651 if test "$ac_cv_header_wchar_h" != "yes"; then
18652
18653 for ac_header in wcstr.h
18654 do
18655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 $ac_includes_default
18668
18669 #include <$ac_header>
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (ac_try="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18676 esac
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18679 ac_status=$?
18680 grep -v '^ *+' conftest.er1 >conftest.err
18681 rm -f conftest.er1
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 eval "$as_ac_Header=yes"
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18692
18693 eval "$as_ac_Header=no"
18694 fi
18695
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 fi
18698 ac_res=`eval echo '${'$as_ac_Header'}'`
18699 { echo "$as_me:$LINENO: result: $ac_res" >&5
18700 echo "${ECHO_T}$ac_res" >&6; }
18701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18702 cat >>confdefs.h <<_ACEOF
18703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18704 _ACEOF
18705
18706 fi
18707
18708 done
18709
18710 fi
18711
18712 case "${host}" in
18713 *-pc-os2_emx | *-pc-os2-emx )
18714 if test $ac_cv_header_langinfo_h = "yes" \
18715 -a \( "$wx_cv_gccversion" = "EMX2" \
18716 -o "$wx_cv_gccversion" = "EMX3" \
18717 -o "$wx_cv_gccversion" = "Innotek5" \); then
18718 LIBS="$LIBS -lintl"
18719 fi
18720 ;;
18721 esac
18722
18723 if test "$USE_UNIX" = 1 ; then
18724
18725 for ac_header in sys/select.h
18726 do
18727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 else
18733 cat >conftest.$ac_ext <<_ACEOF
18734 /* confdefs.h. */
18735 _ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739 $ac_includes_default
18740
18741 #include <$ac_header>
18742 _ACEOF
18743 rm -f conftest.$ac_objext
18744 if { (ac_try="$ac_compile"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18748 esac
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_compile") 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } && {
18757 test -z "$ac_c_werror_flag" ||
18758 test ! -s conftest.err
18759 } && test -s conftest.$ac_objext; then
18760 eval "$as_ac_Header=yes"
18761 else
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18764
18765 eval "$as_ac_Header=no"
18766 fi
18767
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18769 fi
18770 ac_res=`eval echo '${'$as_ac_Header'}'`
18771 { echo "$as_me:$LINENO: result: $ac_res" >&5
18772 echo "${ECHO_T}$ac_res" >&6; }
18773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18774 cat >>confdefs.h <<_ACEOF
18775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18776 _ACEOF
18777
18778 fi
18779
18780 done
18781
18782 fi
18783
18784
18785 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18786 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18787 if test "${ac_cv_c_const+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 else
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796
18797 int
18798 main ()
18799 {
18800 /* FIXME: Include the comments suggested by Paul. */
18801 #ifndef __cplusplus
18802 /* Ultrix mips cc rejects this. */
18803 typedef int charset[2];
18804 const charset cs;
18805 /* SunOS 4.1.1 cc rejects this. */
18806 char const *const *pcpcc;
18807 char **ppc;
18808 /* NEC SVR4.0.2 mips cc rejects this. */
18809 struct point {int x, y;};
18810 static struct point const zero = {0,0};
18811 /* AIX XL C 1.02.0.0 rejects this.
18812 It does not let you subtract one const X* pointer from another in
18813 an arm of an if-expression whose if-part is not a constant
18814 expression */
18815 const char *g = "string";
18816 pcpcc = &g + (g ? g-g : 0);
18817 /* HPUX 7.0 cc rejects these. */
18818 ++pcpcc;
18819 ppc = (char**) pcpcc;
18820 pcpcc = (char const *const *) ppc;
18821 { /* SCO 3.2v4 cc rejects this. */
18822 char *t;
18823 char const *s = 0 ? (char *) 0 : (char const *) 0;
18824
18825 *t++ = 0;
18826 if (s) return 0;
18827 }
18828 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18829 int x[] = {25, 17};
18830 const int *foo = &x[0];
18831 ++foo;
18832 }
18833 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18834 typedef const int *iptr;
18835 iptr p = 0;
18836 ++p;
18837 }
18838 { /* AIX XL C 1.02.0.0 rejects this saying
18839 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18840 struct s { int j; const int *ap[3]; };
18841 struct s *b; b->j = 5;
18842 }
18843 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18844 const int foo = 10;
18845 if (!foo) return 0;
18846 }
18847 return !cs[0] && !zero.x;
18848 #endif
18849
18850 ;
18851 return 0;
18852 }
18853 _ACEOF
18854 rm -f conftest.$ac_objext
18855 if { (ac_try="$ac_compile"
18856 case "(($ac_try" in
18857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18858 *) ac_try_echo=$ac_try;;
18859 esac
18860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18861 (eval "$ac_compile") 2>conftest.er1
18862 ac_status=$?
18863 grep -v '^ *+' conftest.er1 >conftest.err
18864 rm -f conftest.er1
18865 cat conftest.err >&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } && {
18868 test -z "$ac_c_werror_flag" ||
18869 test ! -s conftest.err
18870 } && test -s conftest.$ac_objext; then
18871 ac_cv_c_const=yes
18872 else
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18875
18876 ac_cv_c_const=no
18877 fi
18878
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880 fi
18881 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18882 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18883 if test $ac_cv_c_const = no; then
18884
18885 cat >>confdefs.h <<\_ACEOF
18886 #define const
18887 _ACEOF
18888
18889 fi
18890
18891 { echo "$as_me:$LINENO: checking for inline" >&5
18892 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18893 if test "${ac_cv_c_inline+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 else
18896 ac_cv_c_inline=no
18897 for ac_kw in inline __inline__ __inline; do
18898 cat >conftest.$ac_ext <<_ACEOF
18899 /* confdefs.h. */
18900 _ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904 #ifndef __cplusplus
18905 typedef int foo_t;
18906 static $ac_kw foo_t static_foo () {return 0; }
18907 $ac_kw foo_t foo () {return 0; }
18908 #endif
18909
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 ac_cv_c_inline=$ac_kw
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18932
18933
18934 fi
18935
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 test "$ac_cv_c_inline" != no && break
18938 done
18939
18940 fi
18941 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18942 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18943
18944
18945 case $ac_cv_c_inline in
18946 inline | yes) ;;
18947 *)
18948 case $ac_cv_c_inline in
18949 no) ac_val=;;
18950 *) ac_val=$ac_cv_c_inline;;
18951 esac
18952 cat >>confdefs.h <<_ACEOF
18953 #ifndef __cplusplus
18954 #define inline $ac_val
18955 #endif
18956 _ACEOF
18957 ;;
18958 esac
18959
18960
18961 { echo "$as_me:$LINENO: checking for short" >&5
18962 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18963 if test "${ac_cv_type_short+set}" = set; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 else
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973 typedef short ac__type_new_;
18974 int
18975 main ()
18976 {
18977 if ((ac__type_new_ *) 0)
18978 return 0;
18979 if (sizeof (ac__type_new_))
18980 return 0;
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 rm -f conftest.$ac_objext
18986 if { (ac_try="$ac_compile"
18987 case "(($ac_try" in
18988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18989 *) ac_try_echo=$ac_try;;
18990 esac
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_compile") 2>conftest.er1
18993 ac_status=$?
18994 grep -v '^ *+' conftest.er1 >conftest.err
18995 rm -f conftest.er1
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } && {
18999 test -z "$ac_c_werror_flag" ||
19000 test ! -s conftest.err
19001 } && test -s conftest.$ac_objext; then
19002 ac_cv_type_short=yes
19003 else
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 ac_cv_type_short=no
19008 fi
19009
19010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011 fi
19012 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19013 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19014
19015 # The cast to long int works around a bug in the HP C Compiler
19016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19018 # This bug is HP SR number 8606223364.
19019 { echo "$as_me:$LINENO: checking size of short" >&5
19020 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19021 if test "${ac_cv_sizeof_short+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 else
19024 if test "$cross_compiling" = yes; then
19025 # Depending upon the size, compute the lo and hi bounds.
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19033 typedef short ac__type_sizeof_;
19034 int
19035 main ()
19036 {
19037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19038 test_array [0] = 0
19039
19040 ;
19041 return 0;
19042 }
19043 _ACEOF
19044 rm -f conftest.$ac_objext
19045 if { (ac_try="$ac_compile"
19046 case "(($ac_try" in
19047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19048 *) ac_try_echo=$ac_try;;
19049 esac
19050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19051 (eval "$ac_compile") 2>conftest.er1
19052 ac_status=$?
19053 grep -v '^ *+' conftest.er1 >conftest.err
19054 rm -f conftest.er1
19055 cat conftest.err >&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } && {
19058 test -z "$ac_c_werror_flag" ||
19059 test ! -s conftest.err
19060 } && test -s conftest.$ac_objext; then
19061 ac_lo=0 ac_mid=0
19062 while :; do
19063 cat >conftest.$ac_ext <<_ACEOF
19064 /* confdefs.h. */
19065 _ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 $ac_includes_default
19070 typedef short ac__type_sizeof_;
19071 int
19072 main ()
19073 {
19074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19075 test_array [0] = 0
19076
19077 ;
19078 return 0;
19079 }
19080 _ACEOF
19081 rm -f conftest.$ac_objext
19082 if { (ac_try="$ac_compile"
19083 case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19086 esac
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_compile") 2>conftest.er1
19089 ac_status=$?
19090 grep -v '^ *+' conftest.er1 >conftest.err
19091 rm -f conftest.er1
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && {
19095 test -z "$ac_c_werror_flag" ||
19096 test ! -s conftest.err
19097 } && test -s conftest.$ac_objext; then
19098 ac_hi=$ac_mid; break
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_lo=`expr $ac_mid + 1`
19104 if test $ac_lo -le $ac_mid; then
19105 ac_lo= ac_hi=
19106 break
19107 fi
19108 ac_mid=`expr 2 '*' $ac_mid + 1`
19109 fi
19110
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19112 done
19113 else
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19116
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 typedef short ac__type_sizeof_;
19125 int
19126 main ()
19127 {
19128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19129 test_array [0] = 0
19130
19131 ;
19132 return 0;
19133 }
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19152 ac_hi=-1 ac_mid=-1
19153 while :; do
19154 cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h. */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160 $ac_includes_default
19161 typedef short ac__type_sizeof_;
19162 int
19163 main ()
19164 {
19165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19166 test_array [0] = 0
19167
19168 ;
19169 return 0;
19170 }
19171 _ACEOF
19172 rm -f conftest.$ac_objext
19173 if { (ac_try="$ac_compile"
19174 case "(($ac_try" in
19175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19176 *) ac_try_echo=$ac_try;;
19177 esac
19178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19179 (eval "$ac_compile") 2>conftest.er1
19180 ac_status=$?
19181 grep -v '^ *+' conftest.er1 >conftest.err
19182 rm -f conftest.er1
19183 cat conftest.err >&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } && {
19186 test -z "$ac_c_werror_flag" ||
19187 test ! -s conftest.err
19188 } && test -s conftest.$ac_objext; then
19189 ac_lo=$ac_mid; break
19190 else
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19193
19194 ac_hi=`expr '(' $ac_mid ')' - 1`
19195 if test $ac_mid -le $ac_hi; then
19196 ac_lo= ac_hi=
19197 break
19198 fi
19199 ac_mid=`expr 2 '*' $ac_mid`
19200 fi
19201
19202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19203 done
19204 else
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19207
19208 ac_lo= ac_hi=
19209 fi
19210
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19212 fi
19213
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 # Binary search between lo and hi bounds.
19216 while test "x$ac_lo" != "x$ac_hi"; do
19217 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19218 cat >conftest.$ac_ext <<_ACEOF
19219 /* confdefs.h. */
19220 _ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225 typedef short ac__type_sizeof_;
19226 int
19227 main ()
19228 {
19229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19230 test_array [0] = 0
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19241 esac
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19244 ac_status=$?
19245 grep -v '^ *+' conftest.er1 >conftest.err
19246 rm -f conftest.er1
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_c_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 ac_hi=$ac_mid
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 ac_lo=`expr '(' $ac_mid ')' + 1`
19259 fi
19260
19261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 done
19263 case $ac_lo in
19264 ?*) ac_cv_sizeof_short=$ac_lo;;
19265 '') if test "$ac_cv_type_short" = yes; then
19266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19267 See \`config.log' for more details." >&5
19268 echo "$as_me: error: cannot compute sizeof (short)
19269 See \`config.log' for more details." >&2;}
19270 { (exit 77); exit 77; }; }
19271 else
19272 ac_cv_sizeof_short=0
19273 fi ;;
19274 esac
19275 else
19276 cat >conftest.$ac_ext <<_ACEOF
19277 /* confdefs.h. */
19278 _ACEOF
19279 cat confdefs.h >>conftest.$ac_ext
19280 cat >>conftest.$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 $ac_includes_default
19283 typedef short ac__type_sizeof_;
19284 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19285 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19286 #include <stdio.h>
19287 #include <stdlib.h>
19288 int
19289 main ()
19290 {
19291
19292 FILE *f = fopen ("conftest.val", "w");
19293 if (! f)
19294 return 1;
19295 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19296 {
19297 long int i = longval ();
19298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19299 return 1;
19300 fprintf (f, "%ld\n", i);
19301 }
19302 else
19303 {
19304 unsigned long int i = ulongval ();
19305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19306 return 1;
19307 fprintf (f, "%lu\n", i);
19308 }
19309 return ferror (f) || fclose (f) != 0;
19310
19311 ;
19312 return 0;
19313 }
19314 _ACEOF
19315 rm -f conftest$ac_exeext
19316 if { (ac_try="$ac_link"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_link") 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19326 { (case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;;
19329 esac
19330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_try") 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_cv_sizeof_short=`cat conftest.val`
19336 else
19337 echo "$as_me: program exited with status $ac_status" >&5
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19340
19341 ( exit $ac_status )
19342 if test "$ac_cv_type_short" = yes; then
19343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19344 See \`config.log' for more details." >&5
19345 echo "$as_me: error: cannot compute sizeof (short)
19346 See \`config.log' for more details." >&2;}
19347 { (exit 77); exit 77; }; }
19348 else
19349 ac_cv_sizeof_short=0
19350 fi
19351 fi
19352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19353 fi
19354 rm -f conftest.val
19355 fi
19356 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19357 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19358
19359
19360
19361 cat >>confdefs.h <<_ACEOF
19362 #define SIZEOF_SHORT $ac_cv_sizeof_short
19363 _ACEOF
19364
19365
19366 { echo "$as_me:$LINENO: checking for void *" >&5
19367 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19368 if test "${ac_cv_type_void_p+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 else
19371 cat >conftest.$ac_ext <<_ACEOF
19372 /* confdefs.h. */
19373 _ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19378 typedef void * ac__type_new_;
19379 int
19380 main ()
19381 {
19382 if ((ac__type_new_ *) 0)
19383 return 0;
19384 if (sizeof (ac__type_new_))
19385 return 0;
19386 ;
19387 return 0;
19388 }
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_type_void_p=yes
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 ac_cv_type_void_p=no
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416 fi
19417 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19418 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19419
19420 # The cast to long int works around a bug in the HP C Compiler
19421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19423 # This bug is HP SR number 8606223364.
19424 { echo "$as_me:$LINENO: checking size of void *" >&5
19425 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19426 if test "${ac_cv_sizeof_void_p+set}" = set; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19428 else
19429 if test "$cross_compiling" = yes; then
19430 # Depending upon the size, compute the lo and hi bounds.
19431 cat >conftest.$ac_ext <<_ACEOF
19432 /* confdefs.h. */
19433 _ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 $ac_includes_default
19438 typedef void * ac__type_sizeof_;
19439 int
19440 main ()
19441 {
19442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19443 test_array [0] = 0
19444
19445 ;
19446 return 0;
19447 }
19448 _ACEOF
19449 rm -f conftest.$ac_objext
19450 if { (ac_try="$ac_compile"
19451 case "(($ac_try" in
19452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19453 *) ac_try_echo=$ac_try;;
19454 esac
19455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19456 (eval "$ac_compile") 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } && {
19463 test -z "$ac_c_werror_flag" ||
19464 test ! -s conftest.err
19465 } && test -s conftest.$ac_objext; then
19466 ac_lo=0 ac_mid=0
19467 while :; do
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 $ac_includes_default
19475 typedef void * ac__type_sizeof_;
19476 int
19477 main ()
19478 {
19479 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19480 test_array [0] = 0
19481
19482 ;
19483 return 0;
19484 }
19485 _ACEOF
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19491 esac
19492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_compile") 2>conftest.er1
19494 ac_status=$?
19495 grep -v '^ *+' conftest.er1 >conftest.err
19496 rm -f conftest.er1
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } && {
19500 test -z "$ac_c_werror_flag" ||
19501 test ! -s conftest.err
19502 } && test -s conftest.$ac_objext; then
19503 ac_hi=$ac_mid; break
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_lo=`expr $ac_mid + 1`
19509 if test $ac_lo -le $ac_mid; then
19510 ac_lo= ac_hi=
19511 break
19512 fi
19513 ac_mid=`expr 2 '*' $ac_mid + 1`
19514 fi
19515
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517 done
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 $ac_includes_default
19529 typedef void * ac__type_sizeof_;
19530 int
19531 main ()
19532 {
19533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19534 test_array [0] = 0
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (ac_try="$ac_compile"
19542 case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19545 esac
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_compile") 2>conftest.er1
19548 ac_status=$?
19549 grep -v '^ *+' conftest.er1 >conftest.err
19550 rm -f conftest.er1
19551 cat conftest.err >&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && {
19554 test -z "$ac_c_werror_flag" ||
19555 test ! -s conftest.err
19556 } && test -s conftest.$ac_objext; then
19557 ac_hi=-1 ac_mid=-1
19558 while :; do
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19566 typedef void * ac__type_sizeof_;
19567 int
19568 main ()
19569 {
19570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19571 test_array [0] = 0
19572
19573 ;
19574 return 0;
19575 }
19576 _ACEOF
19577 rm -f conftest.$ac_objext
19578 if { (ac_try="$ac_compile"
19579 case "(($ac_try" in
19580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19581 *) ac_try_echo=$ac_try;;
19582 esac
19583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19584 (eval "$ac_compile") 2>conftest.er1
19585 ac_status=$?
19586 grep -v '^ *+' conftest.er1 >conftest.err
19587 rm -f conftest.er1
19588 cat conftest.err >&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); } && {
19591 test -z "$ac_c_werror_flag" ||
19592 test ! -s conftest.err
19593 } && test -s conftest.$ac_objext; then
19594 ac_lo=$ac_mid; break
19595 else
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 ac_hi=`expr '(' $ac_mid ')' - 1`
19600 if test $ac_mid -le $ac_hi; then
19601 ac_lo= ac_hi=
19602 break
19603 fi
19604 ac_mid=`expr 2 '*' $ac_mid`
19605 fi
19606
19607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19608 done
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_lo= ac_hi=
19614 fi
19615
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19617 fi
19618
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 # Binary search between lo and hi bounds.
19621 while test "x$ac_lo" != "x$ac_hi"; do
19622 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19631 int
19632 main ()
19633 {
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19635 test_array [0] = 0
19636
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19645 *) ac_try_echo=$ac_try;;
19646 esac
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.$ac_objext; then
19658 ac_hi=$ac_mid
19659 else
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663 ac_lo=`expr '(' $ac_mid ')' + 1`
19664 fi
19665
19666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19667 done
19668 case $ac_lo in
19669 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19670 '') if test "$ac_cv_type_void_p" = yes; then
19671 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19672 See \`config.log' for more details." >&5
19673 echo "$as_me: error: cannot compute sizeof (void *)
19674 See \`config.log' for more details." >&2;}
19675 { (exit 77); exit 77; }; }
19676 else
19677 ac_cv_sizeof_void_p=0
19678 fi ;;
19679 esac
19680 else
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 $ac_includes_default
19688 typedef void * ac__type_sizeof_;
19689 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19690 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19691 #include <stdio.h>
19692 #include <stdlib.h>
19693 int
19694 main ()
19695 {
19696
19697 FILE *f = fopen ("conftest.val", "w");
19698 if (! f)
19699 return 1;
19700 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19701 {
19702 long int i = longval ();
19703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19704 return 1;
19705 fprintf (f, "%ld\n", i);
19706 }
19707 else
19708 {
19709 unsigned long int i = ulongval ();
19710 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19711 return 1;
19712 fprintf (f, "%lu\n", i);
19713 }
19714 return ferror (f) || fclose (f) != 0;
19715
19716 ;
19717 return 0;
19718 }
19719 _ACEOF
19720 rm -f conftest$ac_exeext
19721 if { (ac_try="$ac_link"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19725 esac
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_link") 2>&5
19728 ac_status=$?
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19731 { (case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_try") 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_cv_sizeof_void_p=`cat conftest.val`
19741 else
19742 echo "$as_me: program exited with status $ac_status" >&5
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.$ac_ext >&5
19745
19746 ( exit $ac_status )
19747 if test "$ac_cv_type_void_p" = yes; then
19748 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19749 See \`config.log' for more details." >&5
19750 echo "$as_me: error: cannot compute sizeof (void *)
19751 See \`config.log' for more details." >&2;}
19752 { (exit 77); exit 77; }; }
19753 else
19754 ac_cv_sizeof_void_p=0
19755 fi
19756 fi
19757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19758 fi
19759 rm -f conftest.val
19760 fi
19761 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19762 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19763
19764
19765
19766 cat >>confdefs.h <<_ACEOF
19767 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19768 _ACEOF
19769
19770
19771 { echo "$as_me:$LINENO: checking for int" >&5
19772 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19773 if test "${ac_cv_type_int+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19783 typedef int ac__type_new_;
19784 int
19785 main ()
19786 {
19787 if ((ac__type_new_ *) 0)
19788 return 0;
19789 if (sizeof (ac__type_new_))
19790 return 0;
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19812 ac_cv_type_int=yes
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 ac_cv_type_int=no
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 fi
19822 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19823 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19824
19825 # The cast to long int works around a bug in the HP C Compiler
19826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19828 # This bug is HP SR number 8606223364.
19829 { echo "$as_me:$LINENO: checking size of int" >&5
19830 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19831 if test "${ac_cv_sizeof_int+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 if test "$cross_compiling" = yes; then
19835 # Depending upon the size, compute the lo and hi bounds.
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19843 typedef int ac__type_sizeof_;
19844 int
19845 main ()
19846 {
19847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19848 test_array [0] = 0
19849
19850 ;
19851 return 0;
19852 }
19853 _ACEOF
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19859 esac
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19871 ac_lo=0 ac_mid=0
19872 while :; do
19873 cat >conftest.$ac_ext <<_ACEOF
19874 /* confdefs.h. */
19875 _ACEOF
19876 cat confdefs.h >>conftest.$ac_ext
19877 cat >>conftest.$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19880 typedef int ac__type_sizeof_;
19881 int
19882 main ()
19883 {
19884 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19885 test_array [0] = 0
19886
19887 ;
19888 return 0;
19889 }
19890 _ACEOF
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19896 esac
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19899 ac_status=$?
19900 grep -v '^ *+' conftest.er1 >conftest.err
19901 rm -f conftest.er1
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 ac_hi=$ac_mid; break
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ac_lo=`expr $ac_mid + 1`
19914 if test $ac_lo -le $ac_mid; then
19915 ac_lo= ac_hi=
19916 break
19917 fi
19918 ac_mid=`expr 2 '*' $ac_mid + 1`
19919 fi
19920
19921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 done
19923 else
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19926
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19934 typedef int ac__type_sizeof_;
19935 int
19936 main ()
19937 {
19938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19939 test_array [0] = 0
19940
19941 ;
19942 return 0;
19943 }
19944 _ACEOF
19945 rm -f conftest.$ac_objext
19946 if { (ac_try="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19950 esac
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19953 ac_status=$?
19954 grep -v '^ *+' conftest.er1 >conftest.err
19955 rm -f conftest.er1
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && {
19959 test -z "$ac_c_werror_flag" ||
19960 test ! -s conftest.err
19961 } && test -s conftest.$ac_objext; then
19962 ac_hi=-1 ac_mid=-1
19963 while :; do
19964 cat >conftest.$ac_ext <<_ACEOF
19965 /* confdefs.h. */
19966 _ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970 $ac_includes_default
19971 typedef int ac__type_sizeof_;
19972 int
19973 main ()
19974 {
19975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19976 test_array [0] = 0
19977
19978 ;
19979 return 0;
19980 }
19981 _ACEOF
19982 rm -f conftest.$ac_objext
19983 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19987 esac
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_compile") 2>conftest.er1
19990 ac_status=$?
19991 grep -v '^ *+' conftest.er1 >conftest.err
19992 rm -f conftest.er1
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest.$ac_objext; then
19999 ac_lo=$ac_mid; break
20000 else
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.$ac_ext >&5
20003
20004 ac_hi=`expr '(' $ac_mid ')' - 1`
20005 if test $ac_mid -le $ac_hi; then
20006 ac_lo= ac_hi=
20007 break
20008 fi
20009 ac_mid=`expr 2 '*' $ac_mid`
20010 fi
20011
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20013 done
20014 else
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20017
20018 ac_lo= ac_hi=
20019 fi
20020
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 fi
20023
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 # Binary search between lo and hi bounds.
20026 while test "x$ac_lo" != "x$ac_hi"; do
20027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20028 cat >conftest.$ac_ext <<_ACEOF
20029 /* confdefs.h. */
20030 _ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 $ac_includes_default
20035 typedef int ac__type_sizeof_;
20036 int
20037 main ()
20038 {
20039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20040 test_array [0] = 0
20041
20042 ;
20043 return 0;
20044 }
20045 _ACEOF
20046 rm -f conftest.$ac_objext
20047 if { (ac_try="$ac_compile"
20048 case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20050 *) ac_try_echo=$ac_try;;
20051 esac
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_compile") 2>conftest.er1
20054 ac_status=$?
20055 grep -v '^ *+' conftest.er1 >conftest.err
20056 rm -f conftest.er1
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } && {
20060 test -z "$ac_c_werror_flag" ||
20061 test ! -s conftest.err
20062 } && test -s conftest.$ac_objext; then
20063 ac_hi=$ac_mid
20064 else
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20067
20068 ac_lo=`expr '(' $ac_mid ')' + 1`
20069 fi
20070
20071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20072 done
20073 case $ac_lo in
20074 ?*) ac_cv_sizeof_int=$ac_lo;;
20075 '') if test "$ac_cv_type_int" = yes; then
20076 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20077 See \`config.log' for more details." >&5
20078 echo "$as_me: error: cannot compute sizeof (int)
20079 See \`config.log' for more details." >&2;}
20080 { (exit 77); exit 77; }; }
20081 else
20082 ac_cv_sizeof_int=0
20083 fi ;;
20084 esac
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 typedef int ac__type_sizeof_;
20094 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20095 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20096 #include <stdio.h>
20097 #include <stdlib.h>
20098 int
20099 main ()
20100 {
20101
20102 FILE *f = fopen ("conftest.val", "w");
20103 if (! f)
20104 return 1;
20105 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20106 {
20107 long int i = longval ();
20108 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20109 return 1;
20110 fprintf (f, "%ld\n", i);
20111 }
20112 else
20113 {
20114 unsigned long int i = ulongval ();
20115 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20116 return 1;
20117 fprintf (f, "%lu\n", i);
20118 }
20119 return ferror (f) || fclose (f) != 0;
20120
20121 ;
20122 return 0;
20123 }
20124 _ACEOF
20125 rm -f conftest$ac_exeext
20126 if { (ac_try="$ac_link"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20130 esac
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_link") 2>&5
20133 ac_status=$?
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20136 { (case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20139 esac
20140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20141 (eval "$ac_try") 2>&5
20142 ac_status=$?
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_sizeof_int=`cat conftest.val`
20146 else
20147 echo "$as_me: program exited with status $ac_status" >&5
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20150
20151 ( exit $ac_status )
20152 if test "$ac_cv_type_int" = yes; then
20153 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20154 See \`config.log' for more details." >&5
20155 echo "$as_me: error: cannot compute sizeof (int)
20156 See \`config.log' for more details." >&2;}
20157 { (exit 77); exit 77; }; }
20158 else
20159 ac_cv_sizeof_int=0
20160 fi
20161 fi
20162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20163 fi
20164 rm -f conftest.val
20165 fi
20166 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20167 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20168
20169
20170
20171 cat >>confdefs.h <<_ACEOF
20172 #define SIZEOF_INT $ac_cv_sizeof_int
20173 _ACEOF
20174
20175
20176 { echo "$as_me:$LINENO: checking for long" >&5
20177 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20178 if test "${ac_cv_type_long+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20180 else
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h. */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 $ac_includes_default
20188 typedef long ac__type_new_;
20189 int
20190 main ()
20191 {
20192 if ((ac__type_new_ *) 0)
20193 return 0;
20194 if (sizeof (ac__type_new_))
20195 return 0;
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 ac_cv_type_long=yes
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_cv_type_long=no
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 fi
20227 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20228 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20229
20230 # The cast to long int works around a bug in the HP C Compiler
20231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20233 # This bug is HP SR number 8606223364.
20234 { echo "$as_me:$LINENO: checking size of long" >&5
20235 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20236 if test "${ac_cv_sizeof_long+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239 if test "$cross_compiling" = yes; then
20240 # Depending upon the size, compute the lo and hi bounds.
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20248 typedef long ac__type_sizeof_;
20249 int
20250 main ()
20251 {
20252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20253 test_array [0] = 0
20254
20255 ;
20256 return 0;
20257 }
20258 _ACEOF
20259 rm -f conftest.$ac_objext
20260 if { (ac_try="$ac_compile"
20261 case "(($ac_try" in
20262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20263 *) ac_try_echo=$ac_try;;
20264 esac
20265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20266 (eval "$ac_compile") 2>conftest.er1
20267 ac_status=$?
20268 grep -v '^ *+' conftest.er1 >conftest.err
20269 rm -f conftest.er1
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } && {
20273 test -z "$ac_c_werror_flag" ||
20274 test ! -s conftest.err
20275 } && test -s conftest.$ac_objext; then
20276 ac_lo=0 ac_mid=0
20277 while :; do
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 typedef long ac__type_sizeof_;
20286 int
20287 main ()
20288 {
20289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20290 test_array [0] = 0
20291
20292 ;
20293 return 0;
20294 }
20295 _ACEOF
20296 rm -f conftest.$ac_objext
20297 if { (ac_try="$ac_compile"
20298 case "(($ac_try" in
20299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20300 *) ac_try_echo=$ac_try;;
20301 esac
20302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20303 (eval "$ac_compile") 2>conftest.er1
20304 ac_status=$?
20305 grep -v '^ *+' conftest.er1 >conftest.err
20306 rm -f conftest.er1
20307 cat conftest.err >&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } && {
20310 test -z "$ac_c_werror_flag" ||
20311 test ! -s conftest.err
20312 } && test -s conftest.$ac_objext; then
20313 ac_hi=$ac_mid; break
20314 else
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_lo=`expr $ac_mid + 1`
20319 if test $ac_lo -le $ac_mid; then
20320 ac_lo= ac_hi=
20321 break
20322 fi
20323 ac_mid=`expr 2 '*' $ac_mid + 1`
20324 fi
20325
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 done
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef long ac__type_sizeof_;
20340 int
20341 main ()
20342 {
20343 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20344 test_array [0] = 0
20345
20346 ;
20347 return 0;
20348 }
20349 _ACEOF
20350 rm -f conftest.$ac_objext
20351 if { (ac_try="$ac_compile"
20352 case "(($ac_try" in
20353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20354 *) ac_try_echo=$ac_try;;
20355 esac
20356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20357 (eval "$ac_compile") 2>conftest.er1
20358 ac_status=$?
20359 grep -v '^ *+' conftest.er1 >conftest.err
20360 rm -f conftest.er1
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } && {
20364 test -z "$ac_c_werror_flag" ||
20365 test ! -s conftest.err
20366 } && test -s conftest.$ac_objext; then
20367 ac_hi=-1 ac_mid=-1
20368 while :; do
20369 cat >conftest.$ac_ext <<_ACEOF
20370 /* confdefs.h. */
20371 _ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 $ac_includes_default
20376 typedef long ac__type_sizeof_;
20377 int
20378 main ()
20379 {
20380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20381 test_array [0] = 0
20382
20383 ;
20384 return 0;
20385 }
20386 _ACEOF
20387 rm -f conftest.$ac_objext
20388 if { (ac_try="$ac_compile"
20389 case "(($ac_try" in
20390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20391 *) ac_try_echo=$ac_try;;
20392 esac
20393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394 (eval "$ac_compile") 2>conftest.er1
20395 ac_status=$?
20396 grep -v '^ *+' conftest.er1 >conftest.err
20397 rm -f conftest.er1
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } && {
20401 test -z "$ac_c_werror_flag" ||
20402 test ! -s conftest.err
20403 } && test -s conftest.$ac_objext; then
20404 ac_lo=$ac_mid; break
20405 else
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20408
20409 ac_hi=`expr '(' $ac_mid ')' - 1`
20410 if test $ac_mid -le $ac_hi; then
20411 ac_lo= ac_hi=
20412 break
20413 fi
20414 ac_mid=`expr 2 '*' $ac_mid`
20415 fi
20416
20417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20418 done
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20422
20423 ac_lo= ac_hi=
20424 fi
20425
20426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20427 fi
20428
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 # Binary search between lo and hi bounds.
20431 while test "x$ac_lo" != "x$ac_hi"; do
20432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 typedef long ac__type_sizeof_;
20441 int
20442 main ()
20443 {
20444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20445 test_array [0] = 0
20446
20447 ;
20448 return 0;
20449 }
20450 _ACEOF
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20456 esac
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.$ac_objext; then
20468 ac_hi=$ac_mid
20469 else
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20472
20473 ac_lo=`expr '(' $ac_mid ')' + 1`
20474 fi
20475
20476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 done
20478 case $ac_lo in
20479 ?*) ac_cv_sizeof_long=$ac_lo;;
20480 '') if test "$ac_cv_type_long" = yes; then
20481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: cannot compute sizeof (long)
20484 See \`config.log' for more details." >&2;}
20485 { (exit 77); exit 77; }; }
20486 else
20487 ac_cv_sizeof_long=0
20488 fi ;;
20489 esac
20490 else
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef long ac__type_sizeof_;
20499 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20500 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20501 #include <stdio.h>
20502 #include <stdlib.h>
20503 int
20504 main ()
20505 {
20506
20507 FILE *f = fopen ("conftest.val", "w");
20508 if (! f)
20509 return 1;
20510 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20511 {
20512 long int i = longval ();
20513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20514 return 1;
20515 fprintf (f, "%ld\n", i);
20516 }
20517 else
20518 {
20519 unsigned long int i = ulongval ();
20520 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20521 return 1;
20522 fprintf (f, "%lu\n", i);
20523 }
20524 return ferror (f) || fclose (f) != 0;
20525
20526 ;
20527 return 0;
20528 }
20529 _ACEOF
20530 rm -f conftest$ac_exeext
20531 if { (ac_try="$ac_link"
20532 case "(($ac_try" in
20533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20534 *) ac_try_echo=$ac_try;;
20535 esac
20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_link") 2>&5
20538 ac_status=$?
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20541 { (case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20544 esac
20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_try") 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_sizeof_long=`cat conftest.val`
20551 else
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.$ac_ext >&5
20555
20556 ( exit $ac_status )
20557 if test "$ac_cv_type_long" = yes; then
20558 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20559 See \`config.log' for more details." >&5
20560 echo "$as_me: error: cannot compute sizeof (long)
20561 See \`config.log' for more details." >&2;}
20562 { (exit 77); exit 77; }; }
20563 else
20564 ac_cv_sizeof_long=0
20565 fi
20566 fi
20567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20568 fi
20569 rm -f conftest.val
20570 fi
20571 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20572 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20573
20574
20575
20576 cat >>confdefs.h <<_ACEOF
20577 #define SIZEOF_LONG $ac_cv_sizeof_long
20578 _ACEOF
20579
20580
20581 { echo "$as_me:$LINENO: checking for size_t" >&5
20582 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20583 if test "${ac_cv_type_size_t+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 cat >conftest.$ac_ext <<_ACEOF
20587 /* confdefs.h. */
20588 _ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 $ac_includes_default
20593 typedef size_t ac__type_new_;
20594 int
20595 main ()
20596 {
20597 if ((ac__type_new_ *) 0)
20598 return 0;
20599 if (sizeof (ac__type_new_))
20600 return 0;
20601 ;
20602 return 0;
20603 }
20604 _ACEOF
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20610 esac
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20613 ac_status=$?
20614 grep -v '^ *+' conftest.er1 >conftest.err
20615 rm -f conftest.er1
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20622 ac_cv_type_size_t=yes
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ac_cv_type_size_t=no
20628 fi
20629
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20631 fi
20632 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20633 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20634
20635 # The cast to long int works around a bug in the HP C Compiler
20636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20638 # This bug is HP SR number 8606223364.
20639 { echo "$as_me:$LINENO: checking size of size_t" >&5
20640 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20641 if test "${ac_cv_sizeof_size_t+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 else
20644 if test "$cross_compiling" = yes; then
20645 # Depending upon the size, compute the lo and hi bounds.
20646 cat >conftest.$ac_ext <<_ACEOF
20647 /* confdefs.h. */
20648 _ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 $ac_includes_default
20653 typedef size_t ac__type_sizeof_;
20654 int
20655 main ()
20656 {
20657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20658 test_array [0] = 0
20659
20660 ;
20661 return 0;
20662 }
20663 _ACEOF
20664 rm -f conftest.$ac_objext
20665 if { (ac_try="$ac_compile"
20666 case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20669 esac
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_compile") 2>conftest.er1
20672 ac_status=$?
20673 grep -v '^ *+' conftest.er1 >conftest.err
20674 rm -f conftest.er1
20675 cat conftest.err >&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } && {
20678 test -z "$ac_c_werror_flag" ||
20679 test ! -s conftest.err
20680 } && test -s conftest.$ac_objext; then
20681 ac_lo=0 ac_mid=0
20682 while :; do
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 $ac_includes_default
20690 typedef size_t ac__type_sizeof_;
20691 int
20692 main ()
20693 {
20694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20695 test_array [0] = 0
20696
20697 ;
20698 return 0;
20699 }
20700 _ACEOF
20701 rm -f conftest.$ac_objext
20702 if { (ac_try="$ac_compile"
20703 case "(($ac_try" in
20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20705 *) ac_try_echo=$ac_try;;
20706 esac
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_compile") 2>conftest.er1
20709 ac_status=$?
20710 grep -v '^ *+' conftest.er1 >conftest.err
20711 rm -f conftest.er1
20712 cat conftest.err >&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err
20717 } && test -s conftest.$ac_objext; then
20718 ac_hi=$ac_mid; break
20719 else
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20722
20723 ac_lo=`expr $ac_mid + 1`
20724 if test $ac_lo -le $ac_mid; then
20725 ac_lo= ac_hi=
20726 break
20727 fi
20728 ac_mid=`expr 2 '*' $ac_mid + 1`
20729 fi
20730
20731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20732 done
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 typedef size_t ac__type_sizeof_;
20745 int
20746 main ()
20747 {
20748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20749 test_array [0] = 0
20750
20751 ;
20752 return 0;
20753 }
20754 _ACEOF
20755 rm -f conftest.$ac_objext
20756 if { (ac_try="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20760 esac
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20763 ac_status=$?
20764 grep -v '^ *+' conftest.er1 >conftest.err
20765 rm -f conftest.er1
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20772 ac_hi=-1 ac_mid=-1
20773 while :; do
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h. */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20780 $ac_includes_default
20781 typedef size_t ac__type_sizeof_;
20782 int
20783 main ()
20784 {
20785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20786 test_array [0] = 0
20787
20788 ;
20789 return 0;
20790 }
20791 _ACEOF
20792 rm -f conftest.$ac_objext
20793 if { (ac_try="$ac_compile"
20794 case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20797 esac
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_compile") 2>conftest.er1
20800 ac_status=$?
20801 grep -v '^ *+' conftest.er1 >conftest.err
20802 rm -f conftest.er1
20803 cat conftest.err >&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } && {
20806 test -z "$ac_c_werror_flag" ||
20807 test ! -s conftest.err
20808 } && test -s conftest.$ac_objext; then
20809 ac_lo=$ac_mid; break
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 ac_hi=`expr '(' $ac_mid ')' - 1`
20815 if test $ac_mid -le $ac_hi; then
20816 ac_lo= ac_hi=
20817 break
20818 fi
20819 ac_mid=`expr 2 '*' $ac_mid`
20820 fi
20821
20822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 done
20824 else
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20827
20828 ac_lo= ac_hi=
20829 fi
20830
20831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20832 fi
20833
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 # Binary search between lo and hi bounds.
20836 while test "x$ac_lo" != "x$ac_hi"; do
20837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef size_t ac__type_sizeof_;
20846 int
20847 main ()
20848 {
20849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20850 test_array [0] = 0
20851
20852 ;
20853 return 0;
20854 }
20855 _ACEOF
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20861 esac
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20864 ac_status=$?
20865 grep -v '^ *+' conftest.er1 >conftest.err
20866 rm -f conftest.er1
20867 cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.$ac_objext; then
20873 ac_hi=$ac_mid
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20877
20878 ac_lo=`expr '(' $ac_mid ')' + 1`
20879 fi
20880
20881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20882 done
20883 case $ac_lo in
20884 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20885 '') if test "$ac_cv_type_size_t" = yes; then
20886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20887 See \`config.log' for more details." >&5
20888 echo "$as_me: error: cannot compute sizeof (size_t)
20889 See \`config.log' for more details." >&2;}
20890 { (exit 77); exit 77; }; }
20891 else
20892 ac_cv_sizeof_size_t=0
20893 fi ;;
20894 esac
20895 else
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef size_t ac__type_sizeof_;
20904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20906 #include <stdio.h>
20907 #include <stdlib.h>
20908 int
20909 main ()
20910 {
20911
20912 FILE *f = fopen ("conftest.val", "w");
20913 if (! f)
20914 return 1;
20915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20916 {
20917 long int i = longval ();
20918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20919 return 1;
20920 fprintf (f, "%ld\n", i);
20921 }
20922 else
20923 {
20924 unsigned long int i = ulongval ();
20925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20926 return 1;
20927 fprintf (f, "%lu\n", i);
20928 }
20929 return ferror (f) || fclose (f) != 0;
20930
20931 ;
20932 return 0;
20933 }
20934 _ACEOF
20935 rm -f conftest$ac_exeext
20936 if { (ac_try="$ac_link"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20940 esac
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_link") 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20946 { (case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20949 esac
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_try") 2>&5
20952 ac_status=$?
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 ac_cv_sizeof_size_t=`cat conftest.val`
20956 else
20957 echo "$as_me: program exited with status $ac_status" >&5
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20960
20961 ( exit $ac_status )
20962 if test "$ac_cv_type_size_t" = yes; then
20963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20964 See \`config.log' for more details." >&5
20965 echo "$as_me: error: cannot compute sizeof (size_t)
20966 See \`config.log' for more details." >&2;}
20967 { (exit 77); exit 77; }; }
20968 else
20969 ac_cv_sizeof_size_t=0
20970 fi
20971 fi
20972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20973 fi
20974 rm -f conftest.val
20975 fi
20976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20977 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20978
20979
20980
20981 cat >>confdefs.h <<_ACEOF
20982 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20983 _ACEOF
20984
20985
20986
20987 case "${host}" in
20988 arm-*-linux* )
20989 { echo "$as_me:$LINENO: checking for long long" >&5
20990 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20991 if test "${ac_cv_type_long_long+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20993 else
20994 cat >conftest.$ac_ext <<_ACEOF
20995 /* confdefs.h. */
20996 _ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 $ac_includes_default
21001 typedef long long ac__type_new_;
21002 int
21003 main ()
21004 {
21005 if ((ac__type_new_ *) 0)
21006 return 0;
21007 if (sizeof (ac__type_new_))
21008 return 0;
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 rm -f conftest.$ac_objext
21014 if { (ac_try="$ac_compile"
21015 case "(($ac_try" in
21016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21017 *) ac_try_echo=$ac_try;;
21018 esac
21019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21020 (eval "$ac_compile") 2>conftest.er1
21021 ac_status=$?
21022 grep -v '^ *+' conftest.er1 >conftest.err
21023 rm -f conftest.er1
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } && {
21027 test -z "$ac_c_werror_flag" ||
21028 test ! -s conftest.err
21029 } && test -s conftest.$ac_objext; then
21030 ac_cv_type_long_long=yes
21031 else
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 ac_cv_type_long_long=no
21036 fi
21037
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21039 fi
21040 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21041 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21042
21043 # The cast to long int works around a bug in the HP C Compiler
21044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21046 # This bug is HP SR number 8606223364.
21047 { echo "$as_me:$LINENO: checking size of long long" >&5
21048 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21049 if test "${ac_cv_sizeof_long_long+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test "$cross_compiling" = yes; then
21053 # Depending upon the size, compute the lo and hi bounds.
21054 cat >conftest.$ac_ext <<_ACEOF
21055 /* confdefs.h. */
21056 _ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 $ac_includes_default
21061 typedef long long ac__type_sizeof_;
21062 int
21063 main ()
21064 {
21065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21066 test_array [0] = 0
21067
21068 ;
21069 return 0;
21070 }
21071 _ACEOF
21072 rm -f conftest.$ac_objext
21073 if { (ac_try="$ac_compile"
21074 case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21077 esac
21078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_compile") 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } && {
21086 test -z "$ac_c_werror_flag" ||
21087 test ! -s conftest.err
21088 } && test -s conftest.$ac_objext; then
21089 ac_lo=0 ac_mid=0
21090 while :; do
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098 typedef long long ac__type_sizeof_;
21099 int
21100 main ()
21101 {
21102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21103 test_array [0] = 0
21104
21105 ;
21106 return 0;
21107 }
21108 _ACEOF
21109 rm -f conftest.$ac_objext
21110 if { (ac_try="$ac_compile"
21111 case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21114 esac
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_compile") 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } && {
21123 test -z "$ac_c_werror_flag" ||
21124 test ! -s conftest.err
21125 } && test -s conftest.$ac_objext; then
21126 ac_hi=$ac_mid; break
21127 else
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21130
21131 ac_lo=`expr $ac_mid + 1`
21132 if test $ac_lo -le $ac_mid; then
21133 ac_lo= ac_hi=
21134 break
21135 fi
21136 ac_mid=`expr 2 '*' $ac_mid + 1`
21137 fi
21138
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 done
21141 else
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21144
21145 cat >conftest.$ac_ext <<_ACEOF
21146 /* confdefs.h. */
21147 _ACEOF
21148 cat confdefs.h >>conftest.$ac_ext
21149 cat >>conftest.$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21151 $ac_includes_default
21152 typedef long long ac__type_sizeof_;
21153 int
21154 main ()
21155 {
21156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21157 test_array [0] = 0
21158
21159 ;
21160 return 0;
21161 }
21162 _ACEOF
21163 rm -f conftest.$ac_objext
21164 if { (ac_try="$ac_compile"
21165 case "(($ac_try" in
21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21167 *) ac_try_echo=$ac_try;;
21168 esac
21169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21170 (eval "$ac_compile") 2>conftest.er1
21171 ac_status=$?
21172 grep -v '^ *+' conftest.er1 >conftest.err
21173 rm -f conftest.er1
21174 cat conftest.err >&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } && {
21177 test -z "$ac_c_werror_flag" ||
21178 test ! -s conftest.err
21179 } && test -s conftest.$ac_objext; then
21180 ac_hi=-1 ac_mid=-1
21181 while :; do
21182 cat >conftest.$ac_ext <<_ACEOF
21183 /* confdefs.h. */
21184 _ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21189 typedef long long ac__type_sizeof_;
21190 int
21191 main ()
21192 {
21193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21194 test_array [0] = 0
21195
21196 ;
21197 return 0;
21198 }
21199 _ACEOF
21200 rm -f conftest.$ac_objext
21201 if { (ac_try="$ac_compile"
21202 case "(($ac_try" in
21203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21204 *) ac_try_echo=$ac_try;;
21205 esac
21206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21207 (eval "$ac_compile") 2>conftest.er1
21208 ac_status=$?
21209 grep -v '^ *+' conftest.er1 >conftest.err
21210 rm -f conftest.er1
21211 cat conftest.err >&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); } && {
21214 test -z "$ac_c_werror_flag" ||
21215 test ! -s conftest.err
21216 } && test -s conftest.$ac_objext; then
21217 ac_lo=$ac_mid; break
21218 else
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21221
21222 ac_hi=`expr '(' $ac_mid ')' - 1`
21223 if test $ac_mid -le $ac_hi; then
21224 ac_lo= ac_hi=
21225 break
21226 fi
21227 ac_mid=`expr 2 '*' $ac_mid`
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 done
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ac_lo= ac_hi=
21237 fi
21238
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240 fi
21241
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 # Binary search between lo and hi bounds.
21244 while test "x$ac_lo" != "x$ac_hi"; do
21245 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21254 int
21255 main ()
21256 {
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 test_array [0] = 0
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_hi=$ac_mid
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_lo=`expr '(' $ac_mid ')' + 1`
21287 fi
21288
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 done
21291 case $ac_lo in
21292 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21293 '') if test "$ac_cv_type_long_long" = yes; then
21294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21295 See \`config.log' for more details." >&5
21296 echo "$as_me: error: cannot compute sizeof (long long)
21297 See \`config.log' for more details." >&2;}
21298 { (exit 77); exit 77; }; }
21299 else
21300 ac_cv_sizeof_long_long=0
21301 fi ;;
21302 esac
21303 else
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h. */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 $ac_includes_default
21311 typedef long long ac__type_sizeof_;
21312 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21313 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21314 #include <stdio.h>
21315 #include <stdlib.h>
21316 int
21317 main ()
21318 {
21319
21320 FILE *f = fopen ("conftest.val", "w");
21321 if (! f)
21322 return 1;
21323 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21324 {
21325 long int i = longval ();
21326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21327 return 1;
21328 fprintf (f, "%ld\n", i);
21329 }
21330 else
21331 {
21332 unsigned long int i = ulongval ();
21333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21334 return 1;
21335 fprintf (f, "%lu\n", i);
21336 }
21337 return ferror (f) || fclose (f) != 0;
21338
21339 ;
21340 return 0;
21341 }
21342 _ACEOF
21343 rm -f conftest$ac_exeext
21344 if { (ac_try="$ac_link"
21345 case "(($ac_try" in
21346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21347 *) ac_try_echo=$ac_try;;
21348 esac
21349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21350 (eval "$ac_link") 2>&5
21351 ac_status=$?
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21354 { (case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356 *) ac_try_echo=$ac_try;;
21357 esac
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_try") 2>&5
21360 ac_status=$?
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_sizeof_long_long=`cat conftest.val`
21364 else
21365 echo "$as_me: program exited with status $ac_status" >&5
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21368
21369 ( exit $ac_status )
21370 if test "$ac_cv_type_long_long" = yes; then
21371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21372 See \`config.log' for more details." >&5
21373 echo "$as_me: error: cannot compute sizeof (long long)
21374 See \`config.log' for more details." >&2;}
21375 { (exit 77); exit 77; }; }
21376 else
21377 ac_cv_sizeof_long_long=0
21378 fi
21379 fi
21380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21381 fi
21382 rm -f conftest.val
21383 fi
21384 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21385 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21386
21387
21388
21389 cat >>confdefs.h <<_ACEOF
21390 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21391 _ACEOF
21392
21393
21394 ;;
21395 *-hp-hpux* )
21396 { echo "$as_me:$LINENO: checking for long long" >&5
21397 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21398 if test "${ac_cv_type_long_long+set}" = set; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21400 else
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_new_;
21409 int
21410 main ()
21411 {
21412 if ((ac__type_new_ *) 0)
21413 return 0;
21414 if (sizeof (ac__type_new_))
21415 return 0;
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext
21421 if { (ac_try="$ac_compile"
21422 case "(($ac_try" in
21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424 *) ac_try_echo=$ac_try;;
21425 esac
21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21427 (eval "$ac_compile") 2>conftest.er1
21428 ac_status=$?
21429 grep -v '^ *+' conftest.er1 >conftest.err
21430 rm -f conftest.er1
21431 cat conftest.err >&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } && {
21434 test -z "$ac_c_werror_flag" ||
21435 test ! -s conftest.err
21436 } && test -s conftest.$ac_objext; then
21437 ac_cv_type_long_long=yes
21438 else
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.$ac_ext >&5
21441
21442 ac_cv_type_long_long=no
21443 fi
21444
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 fi
21447 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21448 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21449
21450 # The cast to long int works around a bug in the HP C Compiler
21451 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21452 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21453 # This bug is HP SR number 8606223364.
21454 { echo "$as_me:$LINENO: checking size of long long" >&5
21455 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21456 if test "${ac_cv_sizeof_long_long+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 else
21459 if test "$cross_compiling" = yes; then
21460 # Depending upon the size, compute the lo and hi bounds.
21461 cat >conftest.$ac_ext <<_ACEOF
21462 /* confdefs.h. */
21463 _ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21468 typedef long long ac__type_sizeof_;
21469 int
21470 main ()
21471 {
21472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21473 test_array [0] = 0
21474
21475 ;
21476 return 0;
21477 }
21478 _ACEOF
21479 rm -f conftest.$ac_objext
21480 if { (ac_try="$ac_compile"
21481 case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21484 esac
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_compile") 2>conftest.er1
21487 ac_status=$?
21488 grep -v '^ *+' conftest.er1 >conftest.err
21489 rm -f conftest.er1
21490 cat conftest.err >&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } && {
21493 test -z "$ac_c_werror_flag" ||
21494 test ! -s conftest.err
21495 } && test -s conftest.$ac_objext; then
21496 ac_lo=0 ac_mid=0
21497 while :; do
21498 cat >conftest.$ac_ext <<_ACEOF
21499 /* confdefs.h. */
21500 _ACEOF
21501 cat confdefs.h >>conftest.$ac_ext
21502 cat >>conftest.$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 $ac_includes_default
21505 typedef long long ac__type_sizeof_;
21506 int
21507 main ()
21508 {
21509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21510 test_array [0] = 0
21511
21512 ;
21513 return 0;
21514 }
21515 _ACEOF
21516 rm -f conftest.$ac_objext
21517 if { (ac_try="$ac_compile"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21521 esac
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_compile") 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } && {
21530 test -z "$ac_c_werror_flag" ||
21531 test ! -s conftest.err
21532 } && test -s conftest.$ac_objext; then
21533 ac_hi=$ac_mid; break
21534 else
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21537
21538 ac_lo=`expr $ac_mid + 1`
21539 if test $ac_lo -le $ac_mid; then
21540 ac_lo= ac_hi=
21541 break
21542 fi
21543 ac_mid=`expr 2 '*' $ac_mid + 1`
21544 fi
21545
21546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21547 done
21548 else
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.$ac_ext >&5
21551
21552 cat >conftest.$ac_ext <<_ACEOF
21553 /* confdefs.h. */
21554 _ACEOF
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 $ac_includes_default
21559 typedef long long ac__type_sizeof_;
21560 int
21561 main ()
21562 {
21563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21564 test_array [0] = 0
21565
21566 ;
21567 return 0;
21568 }
21569 _ACEOF
21570 rm -f conftest.$ac_objext
21571 if { (ac_try="$ac_compile"
21572 case "(($ac_try" in
21573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21575 esac
21576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577 (eval "$ac_compile") 2>conftest.er1
21578 ac_status=$?
21579 grep -v '^ *+' conftest.er1 >conftest.err
21580 rm -f conftest.er1
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } && {
21584 test -z "$ac_c_werror_flag" ||
21585 test ! -s conftest.err
21586 } && test -s conftest.$ac_objext; then
21587 ac_hi=-1 ac_mid=-1
21588 while :; do
21589 cat >conftest.$ac_ext <<_ACEOF
21590 /* confdefs.h. */
21591 _ACEOF
21592 cat confdefs.h >>conftest.$ac_ext
21593 cat >>conftest.$ac_ext <<_ACEOF
21594 /* end confdefs.h. */
21595 $ac_includes_default
21596 typedef long long ac__type_sizeof_;
21597 int
21598 main ()
21599 {
21600 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21601 test_array [0] = 0
21602
21603 ;
21604 return 0;
21605 }
21606 _ACEOF
21607 rm -f conftest.$ac_objext
21608 if { (ac_try="$ac_compile"
21609 case "(($ac_try" in
21610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611 *) ac_try_echo=$ac_try;;
21612 esac
21613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614 (eval "$ac_compile") 2>conftest.er1
21615 ac_status=$?
21616 grep -v '^ *+' conftest.er1 >conftest.err
21617 rm -f conftest.er1
21618 cat conftest.err >&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } && {
21621 test -z "$ac_c_werror_flag" ||
21622 test ! -s conftest.err
21623 } && test -s conftest.$ac_objext; then
21624 ac_lo=$ac_mid; break
21625 else
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21628
21629 ac_hi=`expr '(' $ac_mid ')' - 1`
21630 if test $ac_mid -le $ac_hi; then
21631 ac_lo= ac_hi=
21632 break
21633 fi
21634 ac_mid=`expr 2 '*' $ac_mid`
21635 fi
21636
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 done
21639 else
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21642
21643 ac_lo= ac_hi=
21644 fi
21645
21646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647 fi
21648
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 # Binary search between lo and hi bounds.
21651 while test "x$ac_lo" != "x$ac_hi"; do
21652 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h. */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 $ac_includes_default
21660 typedef long long ac__type_sizeof_;
21661 int
21662 main ()
21663 {
21664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21665 test_array [0] = 0
21666
21667 ;
21668 return 0;
21669 }
21670 _ACEOF
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21676 esac
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21679 ac_status=$?
21680 grep -v '^ *+' conftest.er1 >conftest.err
21681 rm -f conftest.er1
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.$ac_objext; then
21688 ac_hi=$ac_mid
21689 else
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.$ac_ext >&5
21692
21693 ac_lo=`expr '(' $ac_mid ')' + 1`
21694 fi
21695
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697 done
21698 case $ac_lo in
21699 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21700 '') if test "$ac_cv_type_long_long" = yes; then
21701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21702 See \`config.log' for more details." >&5
21703 echo "$as_me: error: cannot compute sizeof (long long)
21704 See \`config.log' for more details." >&2;}
21705 { (exit 77); exit 77; }; }
21706 else
21707 ac_cv_sizeof_long_long=0
21708 fi ;;
21709 esac
21710 else
21711 cat >conftest.$ac_ext <<_ACEOF
21712 /* confdefs.h. */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 $ac_includes_default
21718 typedef long long ac__type_sizeof_;
21719 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21720 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21721 #include <stdio.h>
21722 #include <stdlib.h>
21723 int
21724 main ()
21725 {
21726
21727 FILE *f = fopen ("conftest.val", "w");
21728 if (! f)
21729 return 1;
21730 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21731 {
21732 long int i = longval ();
21733 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21734 return 1;
21735 fprintf (f, "%ld\n", i);
21736 }
21737 else
21738 {
21739 unsigned long int i = ulongval ();
21740 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21741 return 1;
21742 fprintf (f, "%lu\n", i);
21743 }
21744 return ferror (f) || fclose (f) != 0;
21745
21746 ;
21747 return 0;
21748 }
21749 _ACEOF
21750 rm -f conftest$ac_exeext
21751 if { (ac_try="$ac_link"
21752 case "(($ac_try" in
21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754 *) ac_try_echo=$ac_try;;
21755 esac
21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757 (eval "$ac_link") 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21761 { (case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_try") 2>&5
21767 ac_status=$?
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_cv_sizeof_long_long=`cat conftest.val`
21771 else
21772 echo "$as_me: program exited with status $ac_status" >&5
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 ( exit $ac_status )
21777 if test "$ac_cv_type_long_long" = yes; then
21778 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21779 See \`config.log' for more details." >&5
21780 echo "$as_me: error: cannot compute sizeof (long long)
21781 See \`config.log' for more details." >&2;}
21782 { (exit 77); exit 77; }; }
21783 else
21784 ac_cv_sizeof_long_long=0
21785 fi
21786 fi
21787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21788 fi
21789 rm -f conftest.val
21790 fi
21791 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21792 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21793
21794
21795
21796 cat >>confdefs.h <<_ACEOF
21797 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21798 _ACEOF
21799
21800
21801 if test "$ac_cv_sizeof_long_long" != 0; then
21802 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21803 fi
21804 ;;
21805 * )
21806 { echo "$as_me:$LINENO: checking for long long" >&5
21807 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21808 if test "${ac_cv_type_long_long+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 else
21811 cat >conftest.$ac_ext <<_ACEOF
21812 /* confdefs.h. */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 $ac_includes_default
21818 typedef long long ac__type_new_;
21819 int
21820 main ()
21821 {
21822 if ((ac__type_new_ *) 0)
21823 return 0;
21824 if (sizeof (ac__type_new_))
21825 return 0;
21826 ;
21827 return 0;
21828 }
21829 _ACEOF
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21835 esac
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_cv_type_long_long=yes
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_cv_type_long_long=no
21853 fi
21854
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 fi
21857 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21858 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21859
21860 # The cast to long int works around a bug in the HP C Compiler
21861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21863 # This bug is HP SR number 8606223364.
21864 { echo "$as_me:$LINENO: checking size of long long" >&5
21865 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21866 if test "${ac_cv_sizeof_long_long+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21869 if test "$cross_compiling" = yes; then
21870 # Depending upon the size, compute the lo and hi bounds.
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 typedef long long ac__type_sizeof_;
21879 int
21880 main ()
21881 {
21882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21883 test_array [0] = 0
21884
21885 ;
21886 return 0;
21887 }
21888 _ACEOF
21889 rm -f conftest.$ac_objext
21890 if { (ac_try="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21893 *) ac_try_echo=$ac_try;;
21894 esac
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } && {
21903 test -z "$ac_c_werror_flag" ||
21904 test ! -s conftest.err
21905 } && test -s conftest.$ac_objext; then
21906 ac_lo=0 ac_mid=0
21907 while :; do
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 $ac_includes_default
21915 typedef long long ac__type_sizeof_;
21916 int
21917 main ()
21918 {
21919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21920 test_array [0] = 0
21921
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest.$ac_objext; then
21943 ac_hi=$ac_mid; break
21944 else
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21947
21948 ac_lo=`expr $ac_mid + 1`
21949 if test $ac_lo -le $ac_mid; then
21950 ac_lo= ac_hi=
21951 break
21952 fi
21953 ac_mid=`expr 2 '*' $ac_mid + 1`
21954 fi
21955
21956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21957 done
21958 else
21959 echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21961
21962 cat >conftest.$ac_ext <<_ACEOF
21963 /* confdefs.h. */
21964 _ACEOF
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 typedef long long ac__type_sizeof_;
21970 int
21971 main ()
21972 {
21973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21974 test_array [0] = 0
21975
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (ac_try="$ac_compile"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_compile") 2>conftest.er1
21988 ac_status=$?
21989 grep -v '^ *+' conftest.er1 >conftest.err
21990 rm -f conftest.er1
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err
21996 } && test -s conftest.$ac_objext; then
21997 ac_hi=-1 ac_mid=-1
21998 while :; do
21999 cat >conftest.$ac_ext <<_ACEOF
22000 /* confdefs.h. */
22001 _ACEOF
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22006 typedef long long ac__type_sizeof_;
22007 int
22008 main ()
22009 {
22010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22011 test_array [0] = 0
22012
22013 ;
22014 return 0;
22015 }
22016 _ACEOF
22017 rm -f conftest.$ac_objext
22018 if { (ac_try="$ac_compile"
22019 case "(($ac_try" in
22020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021 *) ac_try_echo=$ac_try;;
22022 esac
22023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024 (eval "$ac_compile") 2>conftest.er1
22025 ac_status=$?
22026 grep -v '^ *+' conftest.er1 >conftest.err
22027 rm -f conftest.er1
22028 cat conftest.err >&5
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && {
22031 test -z "$ac_c_werror_flag" ||
22032 test ! -s conftest.err
22033 } && test -s conftest.$ac_objext; then
22034 ac_lo=$ac_mid; break
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 ac_hi=`expr '(' $ac_mid ')' - 1`
22040 if test $ac_mid -le $ac_hi; then
22041 ac_lo= ac_hi=
22042 break
22043 fi
22044 ac_mid=`expr 2 '*' $ac_mid`
22045 fi
22046
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22048 done
22049 else
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22052
22053 ac_lo= ac_hi=
22054 fi
22055
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 fi
22058
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 # Binary search between lo and hi bounds.
22061 while test "x$ac_lo" != "x$ac_hi"; do
22062 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22063 cat >conftest.$ac_ext <<_ACEOF
22064 /* confdefs.h. */
22065 _ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef long long ac__type_sizeof_;
22071 int
22072 main ()
22073 {
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22075 test_array [0] = 0
22076
22077 ;
22078 return 0;
22079 }
22080 _ACEOF
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22085 *) ac_try_echo=$ac_try;;
22086 esac
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22089 ac_status=$?
22090 grep -v '^ *+' conftest.er1 >conftest.err
22091 rm -f conftest.er1
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.$ac_objext; then
22098 ac_hi=$ac_mid
22099 else
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22102
22103 ac_lo=`expr '(' $ac_mid ')' + 1`
22104 fi
22105
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107 done
22108 case $ac_lo in
22109 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22110 '') if test "$ac_cv_type_long_long" = yes; then
22111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22112 See \`config.log' for more details." >&5
22113 echo "$as_me: error: cannot compute sizeof (long long)
22114 See \`config.log' for more details." >&2;}
22115 { (exit 77); exit 77; }; }
22116 else
22117 ac_cv_sizeof_long_long=0
22118 fi ;;
22119 esac
22120 else
22121 cat >conftest.$ac_ext <<_ACEOF
22122 /* confdefs.h. */
22123 _ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef long long ac__type_sizeof_;
22129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22131 #include <stdio.h>
22132 #include <stdlib.h>
22133 int
22134 main ()
22135 {
22136
22137 FILE *f = fopen ("conftest.val", "w");
22138 if (! f)
22139 return 1;
22140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22141 {
22142 long int i = longval ();
22143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22144 return 1;
22145 fprintf (f, "%ld\n", i);
22146 }
22147 else
22148 {
22149 unsigned long int i = ulongval ();
22150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22151 return 1;
22152 fprintf (f, "%lu\n", i);
22153 }
22154 return ferror (f) || fclose (f) != 0;
22155
22156 ;
22157 return 0;
22158 }
22159 _ACEOF
22160 rm -f conftest$ac_exeext
22161 if { (ac_try="$ac_link"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_link") 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_sizeof_long_long=`cat conftest.val`
22181 else
22182 echo "$as_me: program exited with status $ac_status" >&5
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 ( exit $ac_status )
22187 if test "$ac_cv_type_long_long" = yes; then
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (long long)
22191 See \`config.log' for more details." >&2;}
22192 { (exit 77); exit 77; }; }
22193 else
22194 ac_cv_sizeof_long_long=0
22195 fi
22196 fi
22197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22198 fi
22199 rm -f conftest.val
22200 fi
22201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22202 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22203
22204
22205
22206 cat >>confdefs.h <<_ACEOF
22207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22208 _ACEOF
22209
22210
22211 esac
22212
22213 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22214 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22215 if test "${ac_cv_type_wchar_t+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 else
22218 cat >conftest.$ac_ext <<_ACEOF
22219 /* confdefs.h. */
22220 _ACEOF
22221 cat confdefs.h >>conftest.$ac_ext
22222 cat >>conftest.$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224
22225 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22226 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22227 # error "fake wchar_t"
22228 #endif
22229 #ifdef HAVE_WCHAR_H
22230 # ifdef __CYGWIN__
22231 # include <stddef.h>
22232 # endif
22233 # include <wchar.h>
22234 #endif
22235 #ifdef HAVE_STDLIB_H
22236 # include <stdlib.h>
22237 #endif
22238 #include <stdio.h>
22239
22240
22241
22242 typedef wchar_t ac__type_new_;
22243 int
22244 main ()
22245 {
22246 if ((ac__type_new_ *) 0)
22247 return 0;
22248 if (sizeof (ac__type_new_))
22249 return 0;
22250 ;
22251 return 0;
22252 }
22253 _ACEOF
22254 rm -f conftest.$ac_objext
22255 if { (ac_try="$ac_compile"
22256 case "(($ac_try" in
22257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22258 *) ac_try_echo=$ac_try;;
22259 esac
22260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22261 (eval "$ac_compile") 2>conftest.er1
22262 ac_status=$?
22263 grep -v '^ *+' conftest.er1 >conftest.err
22264 rm -f conftest.er1
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } && {
22268 test -z "$ac_c_werror_flag" ||
22269 test ! -s conftest.err
22270 } && test -s conftest.$ac_objext; then
22271 ac_cv_type_wchar_t=yes
22272 else
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.$ac_ext >&5
22275
22276 ac_cv_type_wchar_t=no
22277 fi
22278
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22280 fi
22281 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22282 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22283
22284 # The cast to long int works around a bug in the HP C Compiler
22285 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22286 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22287 # This bug is HP SR number 8606223364.
22288 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22289 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22290 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293 if test "$cross_compiling" = yes; then
22294 # Depending upon the size, compute the lo and hi bounds.
22295 cat >conftest.$ac_ext <<_ACEOF
22296 /* confdefs.h. */
22297 _ACEOF
22298 cat confdefs.h >>conftest.$ac_ext
22299 cat >>conftest.$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22301
22302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22304 # error "fake wchar_t"
22305 #endif
22306 #ifdef HAVE_WCHAR_H
22307 # ifdef __CYGWIN__
22308 # include <stddef.h>
22309 # endif
22310 # include <wchar.h>
22311 #endif
22312 #ifdef HAVE_STDLIB_H
22313 # include <stdlib.h>
22314 #endif
22315 #include <stdio.h>
22316
22317
22318
22319 typedef wchar_t ac__type_sizeof_;
22320 int
22321 main ()
22322 {
22323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22324 test_array [0] = 0
22325
22326 ;
22327 return 0;
22328 }
22329 _ACEOF
22330 rm -f conftest.$ac_objext
22331 if { (ac_try="$ac_compile"
22332 case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22335 esac
22336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22337 (eval "$ac_compile") 2>conftest.er1
22338 ac_status=$?
22339 grep -v '^ *+' conftest.er1 >conftest.err
22340 rm -f conftest.er1
22341 cat conftest.err >&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } && {
22344 test -z "$ac_c_werror_flag" ||
22345 test ! -s conftest.err
22346 } && test -s conftest.$ac_objext; then
22347 ac_lo=0 ac_mid=0
22348 while :; do
22349 cat >conftest.$ac_ext <<_ACEOF
22350 /* confdefs.h. */
22351 _ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h. */
22355
22356 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22357 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22358 # error "fake wchar_t"
22359 #endif
22360 #ifdef HAVE_WCHAR_H
22361 # ifdef __CYGWIN__
22362 # include <stddef.h>
22363 # endif
22364 # include <wchar.h>
22365 #endif
22366 #ifdef HAVE_STDLIB_H
22367 # include <stdlib.h>
22368 #endif
22369 #include <stdio.h>
22370
22371
22372
22373 typedef wchar_t ac__type_sizeof_;
22374 int
22375 main ()
22376 {
22377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22378 test_array [0] = 0
22379
22380 ;
22381 return 0;
22382 }
22383 _ACEOF
22384 rm -f conftest.$ac_objext
22385 if { (ac_try="$ac_compile"
22386 case "(($ac_try" in
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22389 esac
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22391 (eval "$ac_compile") 2>conftest.er1
22392 ac_status=$?
22393 grep -v '^ *+' conftest.er1 >conftest.err
22394 rm -f conftest.er1
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } && {
22398 test -z "$ac_c_werror_flag" ||
22399 test ! -s conftest.err
22400 } && test -s conftest.$ac_objext; then
22401 ac_hi=$ac_mid; break
22402 else
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22405
22406 ac_lo=`expr $ac_mid + 1`
22407 if test $ac_lo -le $ac_mid; then
22408 ac_lo= ac_hi=
22409 break
22410 fi
22411 ac_mid=`expr 2 '*' $ac_mid + 1`
22412 fi
22413
22414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22415 done
22416 else
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22419
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426
22427 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22428 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22429 # error "fake wchar_t"
22430 #endif
22431 #ifdef HAVE_WCHAR_H
22432 # ifdef __CYGWIN__
22433 # include <stddef.h>
22434 # endif
22435 # include <wchar.h>
22436 #endif
22437 #ifdef HAVE_STDLIB_H
22438 # include <stdlib.h>
22439 #endif
22440 #include <stdio.h>
22441
22442
22443
22444 typedef wchar_t ac__type_sizeof_;
22445 int
22446 main ()
22447 {
22448 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22449 test_array [0] = 0
22450
22451 ;
22452 return 0;
22453 }
22454 _ACEOF
22455 rm -f conftest.$ac_objext
22456 if { (ac_try="$ac_compile"
22457 case "(($ac_try" in
22458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22459 *) ac_try_echo=$ac_try;;
22460 esac
22461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22462 (eval "$ac_compile") 2>conftest.er1
22463 ac_status=$?
22464 grep -v '^ *+' conftest.er1 >conftest.err
22465 rm -f conftest.er1
22466 cat conftest.err >&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } && {
22469 test -z "$ac_c_werror_flag" ||
22470 test ! -s conftest.err
22471 } && test -s conftest.$ac_objext; then
22472 ac_hi=-1 ac_mid=-1
22473 while :; do
22474 cat >conftest.$ac_ext <<_ACEOF
22475 /* confdefs.h. */
22476 _ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480
22481 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22482 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22483 # error "fake wchar_t"
22484 #endif
22485 #ifdef HAVE_WCHAR_H
22486 # ifdef __CYGWIN__
22487 # include <stddef.h>
22488 # endif
22489 # include <wchar.h>
22490 #endif
22491 #ifdef HAVE_STDLIB_H
22492 # include <stdlib.h>
22493 #endif
22494 #include <stdio.h>
22495
22496
22497
22498 typedef wchar_t ac__type_sizeof_;
22499 int
22500 main ()
22501 {
22502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22503 test_array [0] = 0
22504
22505 ;
22506 return 0;
22507 }
22508 _ACEOF
22509 rm -f conftest.$ac_objext
22510 if { (ac_try="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22513 *) ac_try_echo=$ac_try;;
22514 esac
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && {
22523 test -z "$ac_c_werror_flag" ||
22524 test ! -s conftest.err
22525 } && test -s conftest.$ac_objext; then
22526 ac_lo=$ac_mid; break
22527 else
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22530
22531 ac_hi=`expr '(' $ac_mid ')' - 1`
22532 if test $ac_mid -le $ac_hi; then
22533 ac_lo= ac_hi=
22534 break
22535 fi
22536 ac_mid=`expr 2 '*' $ac_mid`
22537 fi
22538
22539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22540 done
22541 else
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22544
22545 ac_lo= ac_hi=
22546 fi
22547
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22549 fi
22550
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 # Binary search between lo and hi bounds.
22553 while test "x$ac_lo" != "x$ac_hi"; do
22554 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22555 cat >conftest.$ac_ext <<_ACEOF
22556 /* confdefs.h. */
22557 _ACEOF
22558 cat confdefs.h >>conftest.$ac_ext
22559 cat >>conftest.$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22561
22562 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22563 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22564 # error "fake wchar_t"
22565 #endif
22566 #ifdef HAVE_WCHAR_H
22567 # ifdef __CYGWIN__
22568 # include <stddef.h>
22569 # endif
22570 # include <wchar.h>
22571 #endif
22572 #ifdef HAVE_STDLIB_H
22573 # include <stdlib.h>
22574 #endif
22575 #include <stdio.h>
22576
22577
22578
22579 typedef wchar_t ac__type_sizeof_;
22580 int
22581 main ()
22582 {
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22584 test_array [0] = 0
22585
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22595 esac
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22607 ac_hi=$ac_mid
22608 else
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 ac_lo=`expr '(' $ac_mid ')' + 1`
22613 fi
22614
22615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 done
22617 case $ac_lo in
22618 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22619 '') if test "$ac_cv_type_wchar_t" = yes; then
22620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22621 See \`config.log' for more details." >&5
22622 echo "$as_me: error: cannot compute sizeof (wchar_t)
22623 See \`config.log' for more details." >&2;}
22624 { (exit 77); exit 77; }; }
22625 else
22626 ac_cv_sizeof_wchar_t=0
22627 fi ;;
22628 esac
22629 else
22630 cat >conftest.$ac_ext <<_ACEOF
22631 /* confdefs.h. */
22632 _ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636
22637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22639 # error "fake wchar_t"
22640 #endif
22641 #ifdef HAVE_WCHAR_H
22642 # ifdef __CYGWIN__
22643 # include <stddef.h>
22644 # endif
22645 # include <wchar.h>
22646 #endif
22647 #ifdef HAVE_STDLIB_H
22648 # include <stdlib.h>
22649 #endif
22650 #include <stdio.h>
22651
22652
22653
22654 typedef wchar_t ac__type_sizeof_;
22655 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22656 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22657 #include <stdio.h>
22658 #include <stdlib.h>
22659 int
22660 main ()
22661 {
22662
22663 FILE *f = fopen ("conftest.val", "w");
22664 if (! f)
22665 return 1;
22666 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22667 {
22668 long int i = longval ();
22669 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22670 return 1;
22671 fprintf (f, "%ld\n", i);
22672 }
22673 else
22674 {
22675 unsigned long int i = ulongval ();
22676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22677 return 1;
22678 fprintf (f, "%lu\n", i);
22679 }
22680 return ferror (f) || fclose (f) != 0;
22681
22682 ;
22683 return 0;
22684 }
22685 _ACEOF
22686 rm -f conftest$ac_exeext
22687 if { (ac_try="$ac_link"
22688 case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;;
22691 esac
22692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22693 (eval "$ac_link") 2>&5
22694 ac_status=$?
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22697 { (case "(($ac_try" in
22698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22699 *) ac_try_echo=$ac_try;;
22700 esac
22701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22702 (eval "$ac_try") 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_sizeof_wchar_t=`cat conftest.val`
22707 else
22708 echo "$as_me: program exited with status $ac_status" >&5
22709 echo "$as_me: failed program was:" >&5
22710 sed 's/^/| /' conftest.$ac_ext >&5
22711
22712 ( exit $ac_status )
22713 if test "$ac_cv_type_wchar_t" = yes; then
22714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22715 See \`config.log' for more details." >&5
22716 echo "$as_me: error: cannot compute sizeof (wchar_t)
22717 See \`config.log' for more details." >&2;}
22718 { (exit 77); exit 77; }; }
22719 else
22720 ac_cv_sizeof_wchar_t=0
22721 fi
22722 fi
22723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22724 fi
22725 rm -f conftest.val
22726 fi
22727 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22728 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22729
22730
22731
22732 cat >>confdefs.h <<_ACEOF
22733 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22734 _ACEOF
22735
22736
22737 if test "$ac_cv_sizeof_wchar_t" != 0; then
22738 wxUSE_WCHAR_T=yes
22739 else
22740 wxUSE_WCHAR_T=no
22741 fi
22742
22743 { echo "$as_me:$LINENO: checking for va_copy" >&5
22744 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22745 if test "${wx_cv_func_va_copy+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 else
22748
22749 ac_ext=cpp
22750 ac_cpp='$CXXCPP $CPPFLAGS'
22751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22754
22755 cat >conftest.$ac_ext <<_ACEOF
22756
22757 #include <stdarg.h>
22758 void foo(char *f, ...)
22759 {
22760 va_list ap1, ap2;
22761 va_start(ap1, f);
22762 va_copy(ap2, ap1);
22763 va_end(ap2);
22764 va_end(ap1);
22765 }
22766 int main()
22767 {
22768 foo("hi", 17);
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest.$ac_objext conftest$ac_exeext
22773 if { (ac_try="$ac_link"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_link") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_cxx_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest$ac_exeext &&
22789 $as_test_x conftest$ac_exeext; then
22790 wx_cv_func_va_copy=yes
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 wx_cv_func_va_copy=no
22796
22797 fi
22798
22799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22800 conftest$ac_exeext conftest.$ac_ext
22801 ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806
22807
22808
22809 fi
22810 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22811 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22812
22813 if test $wx_cv_func_va_copy = "yes"; then
22814 cat >>confdefs.h <<\_ACEOF
22815 #define HAVE_VA_COPY 1
22816 _ACEOF
22817
22818 else
22819 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22820 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22821 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22822 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 else
22824
22825 if test "$cross_compiling" = yes; then
22826 wx_cv_type_va_list_lvalue=yes
22827
22828 else
22829 cat >conftest.$ac_ext <<_ACEOF
22830
22831 #include <stdarg.h>
22832 int foo(char *f, ...)
22833 {
22834 va_list ap1, ap2;
22835 va_start(ap1, f);
22836 ap2 = ap1;
22837 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22838 return 1;
22839 va_end(ap2);
22840 va_end(ap1);
22841 return 0;
22842 }
22843 int main()
22844 {
22845 return foo("hi", 17);
22846 }
22847 _ACEOF
22848 rm -f conftest$ac_exeext
22849 if { (ac_try="$ac_link"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22853 esac
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_link") 2>&5
22856 ac_status=$?
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22859 { (case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22862 esac
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_try") 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 wx_cv_type_va_list_lvalue=yes
22869 else
22870 echo "$as_me: program exited with status $ac_status" >&5
22871 echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22873
22874 ( exit $ac_status )
22875 wx_cv_type_va_list_lvalue=no
22876 fi
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22878 fi
22879
22880
22881
22882
22883 fi
22884 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22885 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22886
22887 if test $wx_cv_type_va_list_lvalue != "yes"; then
22888 cat >>confdefs.h <<\_ACEOF
22889 #define VA_LIST_IS_ARRAY 1
22890 _ACEOF
22891
22892 fi
22893 fi
22894
22895 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22896
22897 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22898 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22899 if test "${wx_cv_have_variadic_macros+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 else
22902
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915
22916 #include <stdio.h>
22917 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22918
22919 int
22920 main ()
22921 {
22922
22923 test("%s %d %p", "test", 1, 0);
22924
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22935 esac
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_cxx_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 wx_cv_have_variadic_macros=yes
22948 else
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22951
22952 wx_cv_have_variadic_macros=no
22953
22954 fi
22955
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22957 ac_ext=c
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22962
22963
22964
22965 fi
22966 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22967 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22968
22969 if test $wx_cv_have_variadic_macros = "yes"; then
22970 cat >>confdefs.h <<\_ACEOF
22971 #define HAVE_VARIADIC_MACROS 1
22972 _ACEOF
22973
22974 fi
22975
22976 fi
22977 # Check whether --enable-largefile was given.
22978 if test "${enable_largefile+set}" = set; then
22979 enableval=$enable_largefile;
22980 fi
22981
22982 if test "$enable_largefile" != no; then
22983 wx_largefile=no
22984
22985 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22986 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22987 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 else
22990
22991 cat >conftest.$ac_ext <<_ACEOF
22992 /* confdefs.h. */
22993 _ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997 #define _FILE_OFFSET_BITS 64
22998 #include <sys/types.h>
22999 int
23000 main ()
23001 {
23002 typedef struct {
23003 unsigned int field: sizeof(off_t) == 8;
23004 } wxlf;
23005
23006 ;
23007 return 0;
23008 }
23009 _ACEOF
23010 rm -f conftest.$ac_objext
23011 if { (ac_try="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23015 esac
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23018 ac_status=$?
23019 grep -v '^ *+' conftest.er1 >conftest.err
23020 rm -f conftest.er1
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23027 ac_cv_sys_file_offset_bits=64
23028 else
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23031
23032 ac_cv_sys_file_offset_bits=no
23033 fi
23034
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036
23037
23038 fi
23039 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23040 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23041
23042 if test "$ac_cv_sys_file_offset_bits" != no; then
23043 wx_largefile=yes
23044 cat >>confdefs.h <<_ACEOF
23045 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23046 _ACEOF
23047
23048 fi
23049
23050 if test "x$wx_largefile" != "xyes"; then
23051
23052 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23053 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23054 if test "${ac_cv_sys_large_files+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 else
23057
23058 cat >conftest.$ac_ext <<_ACEOF
23059 /* confdefs.h. */
23060 _ACEOF
23061 cat confdefs.h >>conftest.$ac_ext
23062 cat >>conftest.$ac_ext <<_ACEOF
23063 /* end confdefs.h. */
23064 #define _LARGE_FILES 1
23065 #include <sys/types.h>
23066 int
23067 main ()
23068 {
23069 typedef struct {
23070 unsigned int field: sizeof(off_t) == 8;
23071 } wxlf;
23072
23073 ;
23074 return 0;
23075 }
23076 _ACEOF
23077 rm -f conftest.$ac_objext
23078 if { (ac_try="$ac_compile"
23079 case "(($ac_try" in
23080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23082 esac
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_compile") 2>conftest.er1
23085 ac_status=$?
23086 grep -v '^ *+' conftest.er1 >conftest.err
23087 rm -f conftest.er1
23088 cat conftest.err >&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } && {
23091 test -z "$ac_c_werror_flag" ||
23092 test ! -s conftest.err
23093 } && test -s conftest.$ac_objext; then
23094 ac_cv_sys_large_files=1
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
23099 ac_cv_sys_large_files=no
23100 fi
23101
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103
23104
23105 fi
23106 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23107 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23108
23109 if test "$ac_cv_sys_large_files" != no; then
23110 wx_largefile=yes
23111 cat >>confdefs.h <<_ACEOF
23112 #define _LARGE_FILES $ac_cv_sys_large_files
23113 _ACEOF
23114
23115 fi
23116
23117 fi
23118
23119 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23120 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23121 if test "x$wx_largefile" = "xyes"; then
23122 cat >>confdefs.h <<\_ACEOF
23123 #define HAVE_LARGEFILE_SUPPORT 1
23124 _ACEOF
23125
23126 fi
23127 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23128 echo "${ECHO_T}$wx_largefile" >&6; }
23129 fi
23130
23131
23132 if test "x$wx_largefile" = "xyes"; then
23133 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23134 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23135
23136 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23137 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23138 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23139 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 else
23142
23143 ac_ext=cpp
23144 ac_cpp='$CXXCPP $CPPFLAGS'
23145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23148
23149 cat >conftest.$ac_ext <<_ACEOF
23150 /* confdefs.h. */
23151 _ACEOF
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23155
23156 int
23157 main ()
23158 {
23159
23160 #ifndef __STDC_EXT__
23161 choke me
23162 #endif
23163
23164 ;
23165 return 0;
23166 }
23167 _ACEOF
23168 rm -f conftest.$ac_objext
23169 if { (ac_try="$ac_compile"
23170 case "(($ac_try" in
23171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23172 *) ac_try_echo=$ac_try;;
23173 esac
23174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23175 (eval "$ac_compile") 2>conftest.er1
23176 ac_status=$?
23177 grep -v '^ *+' conftest.er1 >conftest.err
23178 rm -f conftest.er1
23179 cat conftest.err >&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); } && {
23182 test -z "$ac_cxx_werror_flag" ||
23183 test ! -s conftest.err
23184 } && test -s conftest.$ac_objext; then
23185 wx_cv_STDC_EXT_required=no
23186 else
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23189
23190 wx_cv_STDC_EXT_required=yes
23191
23192 fi
23193
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195 ac_ext=c
23196 ac_cpp='$CPP $CPPFLAGS'
23197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23200
23201
23202
23203 fi
23204 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23205 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23206 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23207 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23208 fi
23209 fi
23210 else
23211 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23212 fi
23213 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23214 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23215 if test "${ac_cv_sys_largefile_source+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23217 else
23218 while :; do
23219 cat >conftest.$ac_ext <<_ACEOF
23220 /* confdefs.h. */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225 #include <sys/types.h> /* for off_t */
23226 #include <stdio.h>
23227 int
23228 main ()
23229 {
23230 int (*fp) (FILE *, off_t, int) = fseeko;
23231 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23232 ;
23233 return 0;
23234 }
23235 _ACEOF
23236 rm -f conftest.$ac_objext conftest$ac_exeext
23237 if { (ac_try="$ac_link"
23238 case "(($ac_try" in
23239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23240 *) ac_try_echo=$ac_try;;
23241 esac
23242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23243 (eval "$ac_link") 2>conftest.er1
23244 ac_status=$?
23245 grep -v '^ *+' conftest.er1 >conftest.err
23246 rm -f conftest.er1
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } && {
23250 test -z "$ac_c_werror_flag" ||
23251 test ! -s conftest.err
23252 } && test -s conftest$ac_exeext &&
23253 $as_test_x conftest$ac_exeext; then
23254 ac_cv_sys_largefile_source=no; break
23255 else
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23258
23259
23260 fi
23261
23262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23263 conftest$ac_exeext conftest.$ac_ext
23264 cat >conftest.$ac_ext <<_ACEOF
23265 /* confdefs.h. */
23266 _ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270 #define _LARGEFILE_SOURCE 1
23271 #include <sys/types.h> /* for off_t */
23272 #include <stdio.h>
23273 int
23274 main ()
23275 {
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=1; break
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305
23306 fi
23307
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 ac_cv_sys_largefile_source=unknown
23311 break
23312 done
23313 fi
23314 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23315 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23316 case $ac_cv_sys_largefile_source in #(
23317 no | unknown) ;;
23318 *)
23319 cat >>confdefs.h <<_ACEOF
23320 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23321 _ACEOF
23322 ;;
23323 esac
23324 rm -f conftest*
23325
23326 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23327 # in glibc 2.1.3, but that breaks too many other things.
23328 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23329 if test $ac_cv_sys_largefile_source != unknown; then
23330
23331 cat >>confdefs.h <<\_ACEOF
23332 #define HAVE_FSEEKO 1
23333 _ACEOF
23334
23335 fi
23336
23337 if test "$ac_cv_sys_largefile_source" != no; then
23338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23339 fi
23340 fi
23341
23342 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23343 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23344 if test "${ac_cv_c_bigendian+set}" = set; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 else
23347 ac_cv_c_bigendian=unknown
23348 # See if sys/param.h defines the BYTE_ORDER macro.
23349 cat >conftest.$ac_ext <<_ACEOF
23350 /* confdefs.h. */
23351 _ACEOF
23352 cat confdefs.h >>conftest.$ac_ext
23353 cat >>conftest.$ac_ext <<_ACEOF
23354 /* end confdefs.h. */
23355 #include <sys/types.h>
23356 #include <sys/param.h>
23357 int
23358 main ()
23359 {
23360
23361 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23362 bogus endian macros
23363 #endif
23364 ;
23365 return 0;
23366 }
23367 _ACEOF
23368 rm -f conftest.$ac_objext
23369 if { (ac_try="$ac_compile"
23370 case "(($ac_try" in
23371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23372 *) ac_try_echo=$ac_try;;
23373 esac
23374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23375 (eval "$ac_compile") 2>conftest.er1
23376 ac_status=$?
23377 grep -v '^ *+' conftest.er1 >conftest.err
23378 rm -f conftest.er1
23379 cat conftest.err >&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } && {
23382 test -z "$ac_c_werror_flag" ||
23383 test ! -s conftest.err
23384 } && test -s conftest.$ac_objext; then
23385 # It does; now see whether it defined to BIG_ENDIAN or not.
23386 cat >conftest.$ac_ext <<_ACEOF
23387 /* confdefs.h. */
23388 _ACEOF
23389 cat confdefs.h >>conftest.$ac_ext
23390 cat >>conftest.$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23392 #include <sys/types.h>
23393 #include <sys/param.h>
23394 int
23395 main ()
23396 {
23397
23398 #if BYTE_ORDER != BIG_ENDIAN
23399 not big endian
23400 #endif
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23422 ac_cv_c_bigendian=yes
23423 else
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23426
23427 ac_cv_c_bigendian=no
23428 fi
23429
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 else
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23434
23435
23436 fi
23437
23438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23439 if test $ac_cv_c_bigendian = unknown; then
23440 if test "$cross_compiling" = yes; then
23441 ac_cv_c_bigendian=unknown
23442 else
23443 cat >conftest.$ac_ext <<_ACEOF
23444 /* confdefs.h. */
23445 _ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23449 main () {
23450 /* Are we little or big endian? From Harbison&Steele. */
23451 union
23452 {
23453 long l;
23454 char c[sizeof (long)];
23455 } u;
23456 u.l = 1;
23457 exit (u.c[sizeof (long) - 1] == 1);
23458 }
23459 _ACEOF
23460 rm -f conftest$ac_exeext
23461 if { (ac_try="$ac_link"
23462 case "(($ac_try" in
23463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23464 *) ac_try_echo=$ac_try;;
23465 esac
23466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23467 (eval "$ac_link") 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23471 { (case "(($ac_try" in
23472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23473 *) ac_try_echo=$ac_try;;
23474 esac
23475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23476 (eval "$ac_try") 2>&5
23477 ac_status=$?
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 ac_cv_c_bigendian=no
23481 else
23482 echo "$as_me: program exited with status $ac_status" >&5
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23485
23486 ( exit $ac_status )
23487 ac_cv_c_bigendian=yes
23488 fi
23489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23490 fi
23491
23492
23493 fi
23494 fi
23495 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23496 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23497 if test $ac_cv_c_bigendian = unknown; then
23498 { 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
23499 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;}
23500 fi
23501 if test $ac_cv_c_bigendian = yes; then
23502 cat >>confdefs.h <<\_ACEOF
23503 #define WORDS_BIGENDIAN 1
23504 _ACEOF
23505
23506 fi
23507
23508
23509
23510
23511 ac_ext=cpp
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23516
23517
23518
23519 for ac_header in iostream
23520 do
23521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527 cat >conftest.$ac_ext <<_ACEOF
23528 /* confdefs.h. */
23529 _ACEOF
23530 cat confdefs.h >>conftest.$ac_ext
23531 cat >>conftest.$ac_ext <<_ACEOF
23532 /* end confdefs.h. */
23533
23534
23535 #include <$ac_header>
23536 _ACEOF
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23542 esac
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23545 ac_status=$?
23546 grep -v '^ *+' conftest.er1 >conftest.err
23547 rm -f conftest.er1
23548 cat conftest.err >&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } && {
23551 test -z "$ac_cxx_werror_flag" ||
23552 test ! -s conftest.err
23553 } && test -s conftest.$ac_objext; then
23554 eval "$as_ac_Header=yes"
23555 else
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23558
23559 eval "$as_ac_Header=no"
23560 fi
23561
23562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23563 fi
23564 ac_res=`eval echo '${'$as_ac_Header'}'`
23565 { echo "$as_me:$LINENO: result: $ac_res" >&5
23566 echo "${ECHO_T}$ac_res" >&6; }
23567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23568 cat >>confdefs.h <<_ACEOF
23569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23570 _ACEOF
23571
23572 fi
23573
23574 done
23575
23576
23577 if test "$ac_cv_header_iostream" = "yes" ; then
23578 :
23579 else
23580 cat >>confdefs.h <<\_ACEOF
23581 #define wxUSE_IOSTREAMH 1
23582 _ACEOF
23583
23584 fi
23585
23586 ac_ext=c
23587 ac_cpp='$CPP $CPPFLAGS'
23588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23591
23592
23593
23594
23595 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23596 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23597 if test "${wx_cv_cpp_bool+set}" = set; then
23598 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 else
23600
23601
23602 ac_ext=cpp
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23607
23608
23609 cat >conftest.$ac_ext <<_ACEOF
23610 /* confdefs.h. */
23611 _ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615
23616
23617 int
23618 main ()
23619 {
23620
23621 bool b = true;
23622
23623 return 0;
23624
23625 ;
23626 return 0;
23627 }
23628 _ACEOF
23629 rm -f conftest.$ac_objext
23630 if { (ac_try="$ac_compile"
23631 case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23634 esac
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_compile") 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } && {
23643 test -z "$ac_cxx_werror_flag" ||
23644 test ! -s conftest.err
23645 } && test -s conftest.$ac_objext; then
23646
23647 wx_cv_cpp_bool=yes
23648
23649 else
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653
23654 wx_cv_cpp_bool=no
23655
23656
23657 fi
23658
23659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23660
23661 ac_ext=c
23662 ac_cpp='$CPP $CPPFLAGS'
23663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23666
23667
23668 fi
23669 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23670 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23671
23672 if test "$wx_cv_cpp_bool" = "yes"; then
23673 cat >>confdefs.h <<\_ACEOF
23674 #define HAVE_BOOL 1
23675 _ACEOF
23676
23677 fi
23678
23679
23680
23681 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23682 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23683 if test "${wx_cv_explicit+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686
23687
23688 ac_ext=cpp
23689 ac_cpp='$CXXCPP $CPPFLAGS'
23690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23693
23694
23695 cat >conftest.$ac_ext <<_ACEOF
23696 /* confdefs.h. */
23697 _ACEOF
23698 cat confdefs.h >>conftest.$ac_ext
23699 cat >>conftest.$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23701
23702 class Foo { public: explicit Foo(int) {} };
23703
23704 int
23705 main ()
23706 {
23707
23708 return 0;
23709
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738
23739 class Foo { public: explicit Foo(int) {} };
23740 static void TakeFoo(const Foo& foo) { }
23741
23742 int
23743 main ()
23744 {
23745
23746 TakeFoo(17);
23747 return 0;
23748
23749 ;
23750 return 0;
23751 }
23752 _ACEOF
23753 rm -f conftest.$ac_objext
23754 if { (ac_try="$ac_compile"
23755 case "(($ac_try" in
23756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23757 *) ac_try_echo=$ac_try;;
23758 esac
23759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23760 (eval "$ac_compile") 2>conftest.er1
23761 ac_status=$?
23762 grep -v '^ *+' conftest.er1 >conftest.err
23763 rm -f conftest.er1
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } && {
23767 test -z "$ac_cxx_werror_flag" ||
23768 test ! -s conftest.err
23769 } && test -s conftest.$ac_objext; then
23770 wx_cv_explicit=no
23771 else
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.$ac_ext >&5
23774
23775 wx_cv_explicit=yes
23776
23777 fi
23778
23779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780
23781 else
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23784
23785 wx_cv_explicit=no
23786
23787 fi
23788
23789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23790
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796
23797
23798 fi
23799 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23800 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23801
23802 if test "$wx_cv_explicit" = "yes"; then
23803 cat >>confdefs.h <<\_ACEOF
23804 #define HAVE_EXPLICIT 1
23805 _ACEOF
23806
23807 fi
23808
23809
23810 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23811 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23812 if test "${ac_cv_cxx_const_cast+set}" = set; then
23813 echo $ECHO_N "(cached) $ECHO_C" >&6
23814 else
23815
23816 ac_ext=cpp
23817 ac_cpp='$CXXCPP $CPPFLAGS'
23818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23821
23822 cat >conftest.$ac_ext <<_ACEOF
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828
23829 int
23830 main ()
23831 {
23832 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23833 ;
23834 return 0;
23835 }
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 ac_cv_cxx_const_cast=yes
23855 else
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 ac_cv_cxx_const_cast=no
23860 fi
23861
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868
23869
23870 fi
23871 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23872 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23873 if test "$ac_cv_cxx_const_cast" = yes; then
23874
23875 cat >>confdefs.h <<\_ACEOF
23876 #define HAVE_CONST_CAST
23877 _ACEOF
23878
23879 fi
23880
23881 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23882 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23883 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 else
23886
23887 ac_ext=cpp
23888 ac_cpp='$CXXCPP $CPPFLAGS'
23889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23892
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #include <typeinfo>
23900 class Base { public : Base () {} virtual void f () = 0;};
23901 class Derived : public Base { public : Derived () {} virtual void f () {} };
23902 class Unrelated { public : Unrelated () {} };
23903 int g (Unrelated&) { return 0; }
23904 int
23905 main ()
23906 {
23907
23908 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23909 ;
23910 return 0;
23911 }
23912 _ACEOF
23913 rm -f conftest.$ac_objext
23914 if { (ac_try="$ac_compile"
23915 case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23918 esac
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_compile") 2>conftest.er1
23921 ac_status=$?
23922 grep -v '^ *+' conftest.er1 >conftest.err
23923 rm -f conftest.er1
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); } && {
23927 test -z "$ac_cxx_werror_flag" ||
23928 test ! -s conftest.err
23929 } && test -s conftest.$ac_objext; then
23930 ac_cv_cxx_reinterpret_cast=yes
23931 else
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23934
23935 ac_cv_cxx_reinterpret_cast=no
23936 fi
23937
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 ac_ext=c
23940 ac_cpp='$CPP $CPPFLAGS'
23941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944
23945
23946 fi
23947 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23948 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23949 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23950
23951 cat >>confdefs.h <<\_ACEOF
23952 #define HAVE_REINTERPRET_CAST
23953 _ACEOF
23954
23955 fi
23956
23957 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23958 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23959 if test "${ac_cv_cxx_static_cast+set}" = set; then
23960 echo $ECHO_N "(cached) $ECHO_C" >&6
23961 else
23962
23963 ac_ext=cpp
23964 ac_cpp='$CXXCPP $CPPFLAGS'
23965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968
23969 cat >conftest.$ac_ext <<_ACEOF
23970 /* confdefs.h. */
23971 _ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 #include <typeinfo>
23976 class Base { public : Base () {} virtual void f () = 0; };
23977 class Derived : public Base { public : Derived () {} virtual void f () {} };
23978 int g (Derived&) { return 0; }
23979 int
23980 main ()
23981 {
23982
23983 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23984 ;
23985 return 0;
23986 }
23987 _ACEOF
23988 rm -f conftest.$ac_objext
23989 if { (ac_try="$ac_compile"
23990 case "(($ac_try" in
23991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23992 *) ac_try_echo=$ac_try;;
23993 esac
23994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23995 (eval "$ac_compile") 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } && {
24002 test -z "$ac_cxx_werror_flag" ||
24003 test ! -s conftest.err
24004 } && test -s conftest.$ac_objext; then
24005 ac_cv_cxx_static_cast=yes
24006 else
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24009
24010 ac_cv_cxx_static_cast=no
24011 fi
24012
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 ac_ext=c
24015 ac_cpp='$CPP $CPPFLAGS'
24016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019
24020
24021 fi
24022 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24023 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24024 if test "$ac_cv_cxx_static_cast" = yes; then
24025
24026 cat >>confdefs.h <<\_ACEOF
24027 #define HAVE_STATIC_CAST
24028 _ACEOF
24029
24030 fi
24031
24032
24033 if test "x$SUNCXX" = xyes; then
24034 CXXFLAGS="-features=tmplife $CXXFLAGS"
24035 fi
24036
24037 if test "x$SUNCC" = xyes; then
24038 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24039 fi
24040
24041 if test "x$SGICC" = "xyes"; then
24042 CFLAGS="-woff 3970 $CFLAGS"
24043 fi
24044 if test "x$SGICXX" = "xyes"; then
24045 CXXFLAGS="-woff 3970 $CXXFLAGS"
24046 fi
24047
24048 if test "x$HPCC" = "xyes"; then
24049 CFLAGS="+W 2011,2450 $CFLAGS"
24050 fi
24051 if test "x$HPCXX" = "xyes"; then
24052 CXXFLAGS="+W 2340 $CXXFLAGS"
24053 fi
24054
24055 if test "x$COMPAQCXX" = "xyes"; then
24056 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24057 fi
24058
24059 ac_ext=cpp
24060 ac_cpp='$CXXCPP $CPPFLAGS'
24061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24064
24065
24066 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24067 if test "$wxUSE_UNICODE" = "yes"; then
24068 std_string="std::wstring"
24069 char_type="wchar_t"
24070 else
24071 std_string="std::string"
24072 char_type="char"
24073 fi
24074
24075 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24076 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24077 if test "${wx_cv_class_stdstring+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24079 else
24080
24081 cat >conftest.$ac_ext <<_ACEOF
24082 /* confdefs.h. */
24083 _ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24087 #include <string>
24088 int
24089 main ()
24090 {
24091 $std_string foo;
24092 ;
24093 return 0;
24094 }
24095 _ACEOF
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24104 ac_status=$?
24105 grep -v '^ *+' conftest.er1 >conftest.err
24106 rm -f conftest.er1
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_cxx_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 wx_cv_class_stdstring=yes
24114 else
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24117
24118 wx_cv_class_stdstring=no
24119
24120 fi
24121
24122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123
24124
24125 fi
24126 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24127 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24128
24129 if test "$wx_cv_class_stdstring" = yes; then
24130 if test "$wxUSE_UNICODE" = "yes"; then
24131 cat >>confdefs.h <<\_ACEOF
24132 #define HAVE_STD_WSTRING 1
24133 _ACEOF
24134
24135 fi
24136 else
24137 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24138 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24139 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24141 else
24142
24143 cat >conftest.$ac_ext <<_ACEOF
24144 /* confdefs.h. */
24145 _ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24149
24150 #ifdef HAVE_WCHAR_H
24151 # ifdef __CYGWIN__
24152 # include <stddef.h>
24153 # endif
24154 # include <wchar.h>
24155 #endif
24156 #ifdef HAVE_STDLIB_H
24157 # include <stdlib.h>
24158 #endif
24159 #include <stdio.h>
24160 #include <string>
24161
24162 int
24163 main ()
24164 {
24165 std::basic_string<$char_type> foo;
24166 const $char_type* dummy = foo.c_str();
24167 ;
24168 return 0;
24169 }
24170 _ACEOF
24171 rm -f conftest.$ac_objext
24172 if { (ac_try="$ac_compile"
24173 case "(($ac_try" in
24174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24175 *) ac_try_echo=$ac_try;;
24176 esac
24177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24178 (eval "$ac_compile") 2>conftest.er1
24179 ac_status=$?
24180 grep -v '^ *+' conftest.er1 >conftest.err
24181 rm -f conftest.er1
24182 cat conftest.err >&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } && {
24185 test -z "$ac_cxx_werror_flag" ||
24186 test ! -s conftest.err
24187 } && test -s conftest.$ac_objext; then
24188 wx_cv_class_stdbasicstring=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24192
24193 wx_cv_class_stdbasicstring=no
24194
24195 fi
24196
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198
24199
24200 fi
24201 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24202 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24203
24204 if test "$wx_cv_class_stdbasicstring" != yes; then
24205 if test "$wxUSE_STL" = "yes"; then
24206 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24207 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24208 { (exit 1); exit 1; }; }
24209 elif test "$wxUSE_STD_STRING" = "yes"; then
24210 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24211 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24212 { (exit 1); exit 1; }; }
24213 else
24214 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24215 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24216 wxUSE_STD_STRING=no
24217 fi
24218 fi
24219 fi
24220 fi
24221
24222 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24223 { echo "$as_me:$LINENO: checking for std::istream" >&5
24224 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24225 if test "${ac_cv_type_std__istream+set}" = set; then
24226 echo $ECHO_N "(cached) $ECHO_C" >&6
24227 else
24228 cat >conftest.$ac_ext <<_ACEOF
24229 /* confdefs.h. */
24230 _ACEOF
24231 cat confdefs.h >>conftest.$ac_ext
24232 cat >>conftest.$ac_ext <<_ACEOF
24233 /* end confdefs.h. */
24234 #include <iostream>
24235
24236 typedef std::istream ac__type_new_;
24237 int
24238 main ()
24239 {
24240 if ((ac__type_new_ *) 0)
24241 return 0;
24242 if (sizeof (ac__type_new_))
24243 return 0;
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest.$ac_objext
24249 if { (ac_try="$ac_compile"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24253 esac
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_compile") 2>conftest.er1
24256 ac_status=$?
24257 grep -v '^ *+' conftest.er1 >conftest.err
24258 rm -f conftest.er1
24259 cat conftest.err >&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } && {
24262 test -z "$ac_cxx_werror_flag" ||
24263 test ! -s conftest.err
24264 } && test -s conftest.$ac_objext; then
24265 ac_cv_type_std__istream=yes
24266 else
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24269
24270 ac_cv_type_std__istream=no
24271 fi
24272
24273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24274 fi
24275 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24276 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24277 if test $ac_cv_type_std__istream = yes; then
24278
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE_STD__ISTREAM 1
24281 _ACEOF
24282
24283
24284 else
24285 wxUSE_STD_IOSTREAM=no
24286 fi
24287 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24288 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24289 if test "${ac_cv_type_std__ostream+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h. */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 #include <iostream>
24299
24300 typedef std::ostream ac__type_new_;
24301 int
24302 main ()
24303 {
24304 if ((ac__type_new_ *) 0)
24305 return 0;
24306 if (sizeof (ac__type_new_))
24307 return 0;
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (ac_try="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24317 esac
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24320 ac_status=$?
24321 grep -v '^ *+' conftest.er1 >conftest.err
24322 rm -f conftest.er1
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_cxx_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24329 ac_cv_type_std__ostream=yes
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334 ac_cv_type_std__ostream=no
24335 fi
24336
24337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24338 fi
24339 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24340 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24341 if test $ac_cv_type_std__ostream = yes; then
24342
24343 cat >>confdefs.h <<_ACEOF
24344 #define HAVE_STD__OSTREAM 1
24345 _ACEOF
24346
24347
24348 else
24349 wxUSE_STD_IOSTREAM=no
24350 fi
24351
24352
24353 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24354 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24355 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24356 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24357 { (exit 1); exit 1; }; }
24358 else
24359 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24360 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24361 fi
24362 fi
24363 fi
24364
24365 if test "$wxUSE_STL" = "yes"; then
24366 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24367 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24368 if test "${wx_cv_lib_stl+set}" = set; then
24369 echo $ECHO_N "(cached) $ECHO_C" >&6
24370 else
24371 cat >conftest.$ac_ext <<_ACEOF
24372 /* confdefs.h. */
24373 _ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377 #include <string>
24378 #include <functional>
24379 #include <algorithm>
24380 #include <vector>
24381 #include <list>
24382 int
24383 main ()
24384 {
24385 std::vector<int> moo;
24386 std::list<int> foo;
24387 std::vector<int>::iterator it =
24388 std::find_if(moo.begin(), moo.end(),
24389 std::bind2nd(std::less<int>(), 3));
24390 ;
24391 return 0;
24392 }
24393 _ACEOF
24394 rm -f conftest.$ac_objext
24395 if { (ac_try="$ac_compile"
24396 case "(($ac_try" in
24397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24398 *) ac_try_echo=$ac_try;;
24399 esac
24400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24401 (eval "$ac_compile") 2>conftest.er1
24402 ac_status=$?
24403 grep -v '^ *+' conftest.er1 >conftest.err
24404 rm -f conftest.er1
24405 cat conftest.err >&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } && {
24408 test -z "$ac_cxx_werror_flag" ||
24409 test ! -s conftest.err
24410 } && test -s conftest.$ac_objext; then
24411 wx_cv_lib_stl=yes
24412 else
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.$ac_ext >&5
24415
24416 wx_cv_lib_stl=no
24417
24418 fi
24419
24420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24421
24422 fi
24423 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24424 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24425
24426 if test "$wx_cv_lib_stl" != yes; then
24427 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24428 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24429 { (exit 1); exit 1; }; }
24430 fi
24431
24432 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24433 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24434 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 else
24437 cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h. */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 #include <string>
24444 int
24445 main ()
24446 {
24447 std::string foo, bar;
24448 foo.compare(bar);
24449 foo.compare(1, 1, bar);
24450 foo.compare(1, 1, bar, 1, 1);
24451 foo.compare("");
24452 foo.compare(1, 1, "");
24453 foo.compare(1, 1, "", 2);
24454 ;
24455 return 0;
24456 }
24457 _ACEOF
24458 rm -f conftest.$ac_objext
24459 if { (ac_try="$ac_compile"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24463 esac
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_compile") 2>conftest.er1
24466 ac_status=$?
24467 grep -v '^ *+' conftest.er1 >conftest.err
24468 rm -f conftest.er1
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_cxx_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest.$ac_objext; then
24475 wx_cv_func_stdstring_compare=yes
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24479
24480 wx_cv_func_stdstring_compare=no
24481
24482 fi
24483
24484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24485
24486 fi
24487 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24488 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24489
24490 if test "$wx_cv_func_stdstring_compare" = yes; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_STD_STRING_COMPARE 1
24493 _ACEOF
24494
24495 fi
24496
24497 { echo "$as_me:$LINENO: checking for hash_map" >&5
24498 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24499 if test "${ac_cv_header_hash_map+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508
24509
24510
24511 #include <hash_map>
24512 _ACEOF
24513 rm -f conftest.$ac_objext
24514 if { (ac_try="$ac_compile"
24515 case "(($ac_try" in
24516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24517 *) ac_try_echo=$ac_try;;
24518 esac
24519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24520 (eval "$ac_compile") 2>conftest.er1
24521 ac_status=$?
24522 grep -v '^ *+' conftest.er1 >conftest.err
24523 rm -f conftest.er1
24524 cat conftest.err >&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); } && {
24527 test -z "$ac_cxx_werror_flag" ||
24528 test ! -s conftest.err
24529 } && test -s conftest.$ac_objext; then
24530 ac_cv_header_hash_map=yes
24531 else
24532 echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.$ac_ext >&5
24534
24535 ac_cv_header_hash_map=no
24536 fi
24537
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 fi
24540 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24541 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24542 if test $ac_cv_header_hash_map = yes; then
24543 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24544 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24545 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24547 else
24548 cat >conftest.$ac_ext <<_ACEOF
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554 #include <hash_map>
24555 #include <hash_set>
24556 int
24557 main ()
24558 {
24559 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24560 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24561 ;
24562 return 0;
24563 }
24564 _ACEOF
24565 rm -f conftest.$ac_objext
24566 if { (ac_try="$ac_compile"
24567 case "(($ac_try" in
24568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24569 *) ac_try_echo=$ac_try;;
24570 esac
24571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24572 (eval "$ac_compile") 2>conftest.er1
24573 ac_status=$?
24574 grep -v '^ *+' conftest.er1 >conftest.err
24575 rm -f conftest.er1
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } && {
24579 test -z "$ac_cxx_werror_flag" ||
24580 test ! -s conftest.err
24581 } && test -s conftest.$ac_objext; then
24582 wx_cv_class_stdhashmapset=yes
24583 else
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.$ac_ext >&5
24586
24587 wx_cv_class_stdhashmapset=no
24588 fi
24589
24590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24591
24592
24593 fi
24594 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24595 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24596 fi
24597
24598
24599
24600 if test "$wx_cv_class_stdhashmapset" = yes; then
24601 cat >>confdefs.h <<\_ACEOF
24602 #define HAVE_HASH_MAP 1
24603 _ACEOF
24604
24605 cat >>confdefs.h <<\_ACEOF
24606 #define HAVE_STD_HASH_MAP 1
24607 _ACEOF
24608
24609 fi
24610
24611 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24612 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24613 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616 cat >conftest.$ac_ext <<_ACEOF
24617 /* confdefs.h. */
24618 _ACEOF
24619 cat confdefs.h >>conftest.$ac_ext
24620 cat >>conftest.$ac_ext <<_ACEOF
24621 /* end confdefs.h. */
24622
24623
24624
24625 #include <ext/hash_map>
24626 _ACEOF
24627 rm -f conftest.$ac_objext
24628 if { (ac_try="$ac_compile"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24632 esac
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_compile") 2>conftest.er1
24635 ac_status=$?
24636 grep -v '^ *+' conftest.er1 >conftest.err
24637 rm -f conftest.er1
24638 cat conftest.err >&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); } && {
24641 test -z "$ac_cxx_werror_flag" ||
24642 test ! -s conftest.err
24643 } && test -s conftest.$ac_objext; then
24644 ac_cv_header_ext_hash_map=yes
24645 else
24646 echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.$ac_ext >&5
24648
24649 ac_cv_header_ext_hash_map=no
24650 fi
24651
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 fi
24654 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24655 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24656 if test $ac_cv_header_ext_hash_map = yes; then
24657 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24658 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24659 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 cat >conftest.$ac_ext <<_ACEOF
24663 /* confdefs.h. */
24664 _ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668 #include <ext/hash_map>
24669 #include <ext/hash_set>
24670 int
24671 main ()
24672 {
24673 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24674 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24675 ;
24676 return 0;
24677 }
24678 _ACEOF
24679 rm -f conftest.$ac_objext
24680 if { (ac_try="$ac_compile"
24681 case "(($ac_try" in
24682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24683 *) ac_try_echo=$ac_try;;
24684 esac
24685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24686 (eval "$ac_compile") 2>conftest.er1
24687 ac_status=$?
24688 grep -v '^ *+' conftest.er1 >conftest.err
24689 rm -f conftest.er1
24690 cat conftest.err >&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && {
24693 test -z "$ac_cxx_werror_flag" ||
24694 test ! -s conftest.err
24695 } && test -s conftest.$ac_objext; then
24696 wx_cv_class_gnuhashmapset=yes
24697 else
24698 echo "$as_me: failed program was:" >&5
24699 sed 's/^/| /' conftest.$ac_ext >&5
24700
24701 wx_cv_class_gnuhashmapset=no
24702 fi
24703
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705
24706
24707 fi
24708 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24709 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24710 fi
24711
24712
24713
24714 if test "$wx_cv_class_gnuhashmapset" = yes; then
24715 cat >>confdefs.h <<\_ACEOF
24716 #define HAVE_EXT_HASH_MAP 1
24717 _ACEOF
24718
24719 cat >>confdefs.h <<\_ACEOF
24720 #define HAVE_GNU_CXX_HASH_MAP 1
24721 _ACEOF
24722
24723 fi
24724 fi
24725
24726
24727
24728 if test -n "$GCC"; then
24729 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24730 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24731 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734
24735 cat >conftest.$ac_ext <<_ACEOF
24736 /* confdefs.h. */
24737 _ACEOF
24738 cat confdefs.h >>conftest.$ac_ext
24739 cat >>conftest.$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24741
24742 int
24743 main ()
24744 {
24745
24746 int value=0;
24747 __sync_fetch_and_add(&value, 1);
24748 __sync_sub_and_fetch(&value, 1);
24749
24750 ;
24751 return 0;
24752 }
24753 _ACEOF
24754 rm -f conftest.$ac_objext
24755 if { (ac_try="$ac_compile"
24756 case "(($ac_try" in
24757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24758 *) ac_try_echo=$ac_try;;
24759 esac
24760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24761 (eval "$ac_compile") 2>conftest.er1
24762 ac_status=$?
24763 grep -v '^ *+' conftest.er1 >conftest.err
24764 rm -f conftest.er1
24765 cat conftest.err >&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } && {
24768 test -z "$ac_cxx_werror_flag" ||
24769 test ! -s conftest.err
24770 } && test -s conftest.$ac_objext; then
24771 wx_cv_cc_gcc_atomic_builtins=yes
24772 else
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.$ac_ext >&5
24775
24776 wx_cv_cc_gcc_atomic_builtins=no
24777 fi
24778
24779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24780
24781 fi
24782
24783 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24784 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24785 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24786 cat >>confdefs.h <<\_ACEOF
24787 #define HAVE_GCC_ATOMIC_BUILTINS 1
24788 _ACEOF
24789
24790 fi
24791 fi
24792
24793
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799
24800
24801
24802 SEARCH_INCLUDE="\
24803 /usr/local/include \
24804 \
24805 /usr/Motif-2.1/include \
24806 /usr/Motif-1.2/include \
24807 /usr/include/Motif1.2 \
24808 \
24809 /usr/dt/include \
24810 /usr/openwin/include \
24811 \
24812 /usr/include/Xm \
24813 \
24814 /usr/X11R6/include \
24815 /usr/X11R6.4/include \
24816 /usr/X11R5/include \
24817 /usr/X11R4/include \
24818 \
24819 /usr/include/X11R6 \
24820 /usr/include/X11R5 \
24821 /usr/include/X11R4 \
24822 \
24823 /usr/local/X11R6/include \
24824 /usr/local/X11R5/include \
24825 /usr/local/X11R4/include \
24826 \
24827 /usr/local/include/X11R6 \
24828 /usr/local/include/X11R5 \
24829 /usr/local/include/X11R4 \
24830 \
24831 /usr/X11/include \
24832 /usr/include/X11 \
24833 /usr/local/X11/include \
24834 /usr/local/include/X11 \
24835 \
24836 /usr/XFree86/include/X11 \
24837 /usr/pkg/include \
24838 \
24839 /usr/openwin/share/include"
24840
24841 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24842 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24843
24844 case "${host}" in
24845 *-*-irix6* )
24846 if test "${wx_cv_std_libpath+set}" = set; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 else
24849
24850 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24851 for e in a so sl dylib dll.a; do
24852 libc="$d/libc.$e"
24853 if test -f $libc; then
24854 save_LIBS="$LIBS"
24855 LIBS="$libc"
24856 cat >conftest.$ac_ext <<_ACEOF
24857 int main() { return 0; }
24858 _ACEOF
24859 rm -f conftest.$ac_objext conftest$ac_exeext
24860 if { (ac_try="$ac_link"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_link") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_c_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest$ac_exeext &&
24876 $as_test_x conftest$ac_exeext; then
24877 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24878 else
24879 echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24881
24882
24883 fi
24884
24885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext
24887 LIBS="$save_LIBS"
24888 if test "x$wx_cv_std_libpath" != "x"; then
24889 break 2
24890 fi
24891 fi
24892 done
24893 done
24894 if test "x$wx_cv_std_libpath" = "x"; then
24895 wx_cv_std_libpath="lib"
24896 fi
24897
24898
24899 fi
24900
24901 ;;
24902
24903 *-*-solaris2* )
24904 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24905 wx_cv_std_libpath="lib/64"
24906 else
24907 wx_cv_std_libpath="lib"
24908 fi
24909 ;;
24910
24911 *-*-linux* )
24912 if test "$ac_cv_sizeof_void_p" = 8 -a \
24913 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24914 wx_cv_std_libpath="lib64"
24915 else
24916 wx_cv_std_libpath="lib"
24917 fi
24918 ;;
24919
24920 *)
24921 wx_cv_std_libpath="lib";
24922 ;;
24923 esac
24924
24925 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24926 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24927
24928 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24929
24930 if test "$build" != "$host" -a "$GCC" = yes; then
24931 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24932 cross_root=`dirname $cross_root`
24933 cross_root=`dirname $cross_root`
24934
24935 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24936 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24937 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24938
24939 if test -z "$PKG_CONFIG_PATH"; then
24940 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24941 export PKG_CONFIG_PATH
24942 fi
24943
24944 if test -z "$x_includes" -o "$x_includes" = NONE; then
24945
24946 ac_find_includes=
24947 for ac_dir in $SEARCH_INCLUDE /usr/include;
24948 do
24949 if test -f "$ac_dir/X11/Intrinsic.h"; then
24950 ac_find_includes=$ac_dir
24951 break
24952 fi
24953 done
24954
24955 x_includes=$ac_find_includes
24956 fi
24957 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24958
24959 ac_find_libraries=
24960 for ac_dir in $SEARCH_LIB;
24961 do
24962 for ac_extension in a so sl dylib dll.a; do
24963 if test -f "$ac_dir/libXt.$ac_extension"; then
24964 ac_find_libraries=$ac_dir
24965 break 2
24966 fi
24967 done
24968 done
24969
24970 x_libraries=$ac_find_libraries
24971 fi
24972 fi
24973 fi
24974
24975
24976 cat >confcache <<\_ACEOF
24977 # This file is a shell script that caches the results of configure
24978 # tests run on this system so they can be shared between configure
24979 # scripts and configure runs, see configure's option --config-cache.
24980 # It is not useful on other systems. If it contains results you don't
24981 # want to keep, you may remove or edit it.
24982 #
24983 # config.status only pays attention to the cache file if you give it
24984 # the --recheck option to rerun configure.
24985 #
24986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24988 # following values.
24989
24990 _ACEOF
24991
24992 # The following way of writing the cache mishandles newlines in values,
24993 # but we know of no workaround that is simple, portable, and efficient.
24994 # So, we kill variables containing newlines.
24995 # Ultrix sh set writes to stderr and can't be redirected directly,
24996 # and sets the high bit in the cache file unless we assign to the vars.
24997 (
24998 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24999 eval ac_val=\$$ac_var
25000 case $ac_val in #(
25001 *${as_nl}*)
25002 case $ac_var in #(
25003 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25004 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25005 esac
25006 case $ac_var in #(
25007 _ | IFS | as_nl) ;; #(
25008 *) $as_unset $ac_var ;;
25009 esac ;;
25010 esac
25011 done
25012
25013 (set) 2>&1 |
25014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25015 *${as_nl}ac_space=\ *)
25016 # `set' does not quote correctly, so add quotes (double-quote
25017 # substitution turns \\\\ into \\, and sed turns \\ into \).
25018 sed -n \
25019 "s/'/'\\\\''/g;
25020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25021 ;; #(
25022 *)
25023 # `set' quotes correctly as required by POSIX, so do not add quotes.
25024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25025 ;;
25026 esac |
25027 sort
25028 ) |
25029 sed '
25030 /^ac_cv_env_/b end
25031 t clear
25032 :clear
25033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25034 t end
25035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25036 :end' >>confcache
25037 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25038 if test -w "$cache_file"; then
25039 test "x$cache_file" != "x/dev/null" &&
25040 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25041 echo "$as_me: updating cache $cache_file" >&6;}
25042 cat confcache >$cache_file
25043 else
25044 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25045 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25046 fi
25047 fi
25048 rm -f confcache
25049
25050 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25051 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25052 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25053 if test "${wx_cv_lib_glibc21+set}" = set; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 else
25056
25057 cat >conftest.$ac_ext <<_ACEOF
25058 /* confdefs.h. */
25059 _ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25063 #include <features.h>
25064 int
25065 main ()
25066 {
25067
25068 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25069 not glibc 2.1
25070 #endif
25071
25072 ;
25073 return 0;
25074 }
25075 _ACEOF
25076 rm -f conftest.$ac_objext
25077 if { (ac_try="$ac_compile"
25078 case "(($ac_try" in
25079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25080 *) ac_try_echo=$ac_try;;
25081 esac
25082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25083 (eval "$ac_compile") 2>conftest.er1
25084 ac_status=$?
25085 grep -v '^ *+' conftest.er1 >conftest.err
25086 rm -f conftest.er1
25087 cat conftest.err >&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } && {
25090 test -z "$ac_c_werror_flag" ||
25091 test ! -s conftest.err
25092 } && test -s conftest.$ac_objext; then
25093
25094 wx_cv_lib_glibc21=yes
25095
25096 else
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25099
25100
25101 wx_cv_lib_glibc21=no
25102
25103
25104 fi
25105
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25107
25108 fi
25109 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25110 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25111 if test "$wx_cv_lib_glibc21" = "yes"; then
25112 cat >>confdefs.h <<\_ACEOF
25113 #define wxHAVE_GLIBC2 1
25114 _ACEOF
25115
25116 fi
25117 fi
25118
25119 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25120 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define _GNU_SOURCE 1
25123 _ACEOF
25124
25125 fi
25126 fi
25127
25128 have_cos=0
25129 have_floor=0
25130
25131 for ac_func in cos
25132 do
25133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25134 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25136 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 else
25139 cat >conftest.$ac_ext <<_ACEOF
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25147 #define $ac_func innocuous_$ac_func
25148
25149 /* System header to define __stub macros and hopefully few prototypes,
25150 which can conflict with char $ac_func (); below.
25151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25152 <limits.h> exists even on freestanding compilers. */
25153
25154 #ifdef __STDC__
25155 # include <limits.h>
25156 #else
25157 # include <assert.h>
25158 #endif
25159
25160 #undef $ac_func
25161
25162 /* Override any GCC internal prototype to avoid an error.
25163 Use char because int might match the return type of a GCC
25164 builtin and then its argument prototype would still apply. */
25165 #ifdef __cplusplus
25166 extern "C"
25167 #endif
25168 char $ac_func ();
25169 /* The GNU C library defines this for functions which it implements
25170 to always fail with ENOSYS. Some functions are actually named
25171 something starting with __ and the normal name is an alias. */
25172 #if defined __stub_$ac_func || defined __stub___$ac_func
25173 choke me
25174 #endif
25175
25176 int
25177 main ()
25178 {
25179 return $ac_func ();
25180 ;
25181 return 0;
25182 }
25183 _ACEOF
25184 rm -f conftest.$ac_objext conftest$ac_exeext
25185 if { (ac_try="$ac_link"
25186 case "(($ac_try" in
25187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25188 *) ac_try_echo=$ac_try;;
25189 esac
25190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25191 (eval "$ac_link") 2>conftest.er1
25192 ac_status=$?
25193 grep -v '^ *+' conftest.er1 >conftest.err
25194 rm -f conftest.er1
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } && {
25198 test -z "$ac_c_werror_flag" ||
25199 test ! -s conftest.err
25200 } && test -s conftest$ac_exeext &&
25201 $as_test_x conftest$ac_exeext; then
25202 eval "$as_ac_var=yes"
25203 else
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25206
25207 eval "$as_ac_var=no"
25208 fi
25209
25210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25211 conftest$ac_exeext conftest.$ac_ext
25212 fi
25213 ac_res=`eval echo '${'$as_ac_var'}'`
25214 { echo "$as_me:$LINENO: result: $ac_res" >&5
25215 echo "${ECHO_T}$ac_res" >&6; }
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h <<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25219 _ACEOF
25220 have_cos=1
25221 fi
25222 done
25223
25224
25225 for ac_func in floor
25226 do
25227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25242
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25247
25248 #ifdef __STDC__
25249 # include <limits.h>
25250 #else
25251 # include <assert.h>
25252 #endif
25253
25254 #undef $ac_func
25255
25256 /* Override any GCC internal prototype to avoid an error.
25257 Use char because int might match the return type of a GCC
25258 builtin and then its argument prototype would still apply. */
25259 #ifdef __cplusplus
25260 extern "C"
25261 #endif
25262 char $ac_func ();
25263 /* The GNU C library defines this for functions which it implements
25264 to always fail with ENOSYS. Some functions are actually named
25265 something starting with __ and the normal name is an alias. */
25266 #if defined __stub_$ac_func || defined __stub___$ac_func
25267 choke me
25268 #endif
25269
25270 int
25271 main ()
25272 {
25273 return $ac_func ();
25274 ;
25275 return 0;
25276 }
25277 _ACEOF
25278 rm -f conftest.$ac_objext conftest$ac_exeext
25279 if { (ac_try="$ac_link"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25283 esac
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_link") 2>conftest.er1
25286 ac_status=$?
25287 grep -v '^ *+' conftest.er1 >conftest.err
25288 rm -f conftest.er1
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest$ac_exeext &&
25295 $as_test_x conftest$ac_exeext; then
25296 eval "$as_ac_var=yes"
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 eval "$as_ac_var=no"
25302 fi
25303
25304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25305 conftest$ac_exeext conftest.$ac_ext
25306 fi
25307 ac_res=`eval echo '${'$as_ac_var'}'`
25308 { echo "$as_me:$LINENO: result: $ac_res" >&5
25309 echo "${ECHO_T}$ac_res" >&6; }
25310 if test `eval echo '${'$as_ac_var'}'` = yes; then
25311 cat >>confdefs.h <<_ACEOF
25312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25313 _ACEOF
25314 have_floor=1
25315 fi
25316 done
25317
25318 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25319 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25320 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25321 { echo "$as_me:$LINENO: result: yes" >&5
25322 echo "${ECHO_T}yes" >&6; }
25323 else
25324 { echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6; }
25326 LIBS="$LIBS -lm"
25327 # use different functions to avoid configure caching
25328 have_sin=0
25329 have_ceil=0
25330
25331 for ac_func in sin
25332 do
25333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25338 else
25339 cat >conftest.$ac_ext <<_ACEOF
25340 /* confdefs.h. */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h. */
25345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25347 #define $ac_func innocuous_$ac_func
25348
25349 /* System header to define __stub macros and hopefully few prototypes,
25350 which can conflict with char $ac_func (); below.
25351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25352 <limits.h> exists even on freestanding compilers. */
25353
25354 #ifdef __STDC__
25355 # include <limits.h>
25356 #else
25357 # include <assert.h>
25358 #endif
25359
25360 #undef $ac_func
25361
25362 /* Override any GCC internal prototype to avoid an error.
25363 Use char because int might match the return type of a GCC
25364 builtin and then its argument prototype would still apply. */
25365 #ifdef __cplusplus
25366 extern "C"
25367 #endif
25368 char $ac_func ();
25369 /* The GNU C library defines this for functions which it implements
25370 to always fail with ENOSYS. Some functions are actually named
25371 something starting with __ and the normal name is an alias. */
25372 #if defined __stub_$ac_func || defined __stub___$ac_func
25373 choke me
25374 #endif
25375
25376 int
25377 main ()
25378 {
25379 return $ac_func ();
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 rm -f conftest.$ac_objext conftest$ac_exeext
25385 if { (ac_try="$ac_link"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25389 esac
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_link") 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_c_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest$ac_exeext &&
25401 $as_test_x conftest$ac_exeext; then
25402 eval "$as_ac_var=yes"
25403 else
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25406
25407 eval "$as_ac_var=no"
25408 fi
25409
25410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25411 conftest$ac_exeext conftest.$ac_ext
25412 fi
25413 ac_res=`eval echo '${'$as_ac_var'}'`
25414 { echo "$as_me:$LINENO: result: $ac_res" >&5
25415 echo "${ECHO_T}$ac_res" >&6; }
25416 if test `eval echo '${'$as_ac_var'}'` = yes; then
25417 cat >>confdefs.h <<_ACEOF
25418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25419 _ACEOF
25420 have_sin=1
25421 fi
25422 done
25423
25424
25425 for ac_func in ceil
25426 do
25427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 else
25433 cat >conftest.$ac_ext <<_ACEOF
25434 /* confdefs.h. */
25435 _ACEOF
25436 cat confdefs.h >>conftest.$ac_ext
25437 cat >>conftest.$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25441 #define $ac_func innocuous_$ac_func
25442
25443 /* System header to define __stub macros and hopefully few prototypes,
25444 which can conflict with char $ac_func (); below.
25445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25446 <limits.h> exists even on freestanding compilers. */
25447
25448 #ifdef __STDC__
25449 # include <limits.h>
25450 #else
25451 # include <assert.h>
25452 #endif
25453
25454 #undef $ac_func
25455
25456 /* Override any GCC internal prototype to avoid an error.
25457 Use char because int might match the return type of a GCC
25458 builtin and then its argument prototype would still apply. */
25459 #ifdef __cplusplus
25460 extern "C"
25461 #endif
25462 char $ac_func ();
25463 /* The GNU C library defines this for functions which it implements
25464 to always fail with ENOSYS. Some functions are actually named
25465 something starting with __ and the normal name is an alias. */
25466 #if defined __stub_$ac_func || defined __stub___$ac_func
25467 choke me
25468 #endif
25469
25470 int
25471 main ()
25472 {
25473 return $ac_func ();
25474 ;
25475 return 0;
25476 }
25477 _ACEOF
25478 rm -f conftest.$ac_objext conftest$ac_exeext
25479 if { (ac_try="$ac_link"
25480 case "(($ac_try" in
25481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25482 *) ac_try_echo=$ac_try;;
25483 esac
25484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25485 (eval "$ac_link") 2>conftest.er1
25486 ac_status=$?
25487 grep -v '^ *+' conftest.er1 >conftest.err
25488 rm -f conftest.er1
25489 cat conftest.err >&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } && {
25492 test -z "$ac_c_werror_flag" ||
25493 test ! -s conftest.err
25494 } && test -s conftest$ac_exeext &&
25495 $as_test_x conftest$ac_exeext; then
25496 eval "$as_ac_var=yes"
25497 else
25498 echo "$as_me: failed program was:" >&5
25499 sed 's/^/| /' conftest.$ac_ext >&5
25500
25501 eval "$as_ac_var=no"
25502 fi
25503
25504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25505 conftest$ac_exeext conftest.$ac_ext
25506 fi
25507 ac_res=`eval echo '${'$as_ac_var'}'`
25508 { echo "$as_me:$LINENO: result: $ac_res" >&5
25509 echo "${ECHO_T}$ac_res" >&6; }
25510 if test `eval echo '${'$as_ac_var'}'` = yes; then
25511 cat >>confdefs.h <<_ACEOF
25512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25513 _ACEOF
25514 have_ceil=1
25515 fi
25516 done
25517
25518 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25519 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25520 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25521 { echo "$as_me:$LINENO: result: yes" >&5
25522 echo "${ECHO_T}yes" >&6; }
25523 else
25524 { echo "$as_me:$LINENO: result: no" >&5
25525 echo "${ECHO_T}no" >&6; }
25526 # not sure we should warn the user, crash, etc.
25527 fi
25528 fi
25529
25530 ac_ext=cpp
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25535
25536 if test "wxUSE_UNICODE" = "yes"; then
25537
25538 for wx_func in wcstoull
25539 do
25540 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25541 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25542 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 else
25545
25546 cat >conftest.$ac_ext <<_ACEOF
25547
25548 /* confdefs.h. */
25549 _ACEOF
25550 cat confdefs.h >>conftest.$ac_ext
25551 cat >>conftest.$ac_ext <<_ACEOF
25552 /* end confdefs.h. */
25553
25554
25555 $ac_includes_default
25556
25557 int
25558 main ()
25559 {
25560
25561 #ifndef $wx_func
25562 &$wx_func;
25563 #endif
25564
25565
25566 ;
25567 return 0;
25568 }
25569
25570 _ACEOF
25571 rm -f conftest.$ac_objext conftest$ac_exeext
25572 if { (ac_try="$ac_link"
25573 case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25576 esac
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_link") 2>conftest.er1
25579 ac_status=$?
25580 grep -v '^ *+' conftest.er1 >conftest.err
25581 rm -f conftest.er1
25582 cat conftest.err >&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } && {
25585 test -z "$ac_cxx_werror_flag" ||
25586 test ! -s conftest.err
25587 } && test -s conftest$ac_exeext &&
25588 $as_test_x conftest$ac_exeext; then
25589 eval wx_cv_func_$wx_func=yes
25590 else
25591 echo "$as_me: failed program was:" >&5
25592 sed 's/^/| /' conftest.$ac_ext >&5
25593
25594 eval wx_cv_func_$wx_func=no
25595 fi
25596
25597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25598 conftest$ac_exeext conftest.$ac_ext
25599
25600 fi
25601 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25602 { echo "$as_me:$LINENO: result: $ac_res" >&5
25603 echo "${ECHO_T}$ac_res" >&6; }
25604
25605 if eval test \$wx_cv_func_$wx_func = yes
25606 then
25607 cat >>confdefs.h <<_ACEOF
25608 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25609 _ACEOF
25610
25611
25612 else
25613 :
25614
25615 fi
25616 done
25617
25618 else
25619
25620 for wx_func in strtoull
25621 do
25622 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25623 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25624 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 else
25627
25628 cat >conftest.$ac_ext <<_ACEOF
25629
25630 /* confdefs.h. */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635
25636
25637 $ac_includes_default
25638
25639 int
25640 main ()
25641 {
25642
25643 #ifndef $wx_func
25644 &$wx_func;
25645 #endif
25646
25647
25648 ;
25649 return 0;
25650 }
25651
25652 _ACEOF
25653 rm -f conftest.$ac_objext conftest$ac_exeext
25654 if { (ac_try="$ac_link"
25655 case "(($ac_try" in
25656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25657 *) ac_try_echo=$ac_try;;
25658 esac
25659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25660 (eval "$ac_link") 2>conftest.er1
25661 ac_status=$?
25662 grep -v '^ *+' conftest.er1 >conftest.err
25663 rm -f conftest.er1
25664 cat conftest.err >&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } && {
25667 test -z "$ac_cxx_werror_flag" ||
25668 test ! -s conftest.err
25669 } && test -s conftest$ac_exeext &&
25670 $as_test_x conftest$ac_exeext; then
25671 eval wx_cv_func_$wx_func=yes
25672 else
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25675
25676 eval wx_cv_func_$wx_func=no
25677 fi
25678
25679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25680 conftest$ac_exeext conftest.$ac_ext
25681
25682 fi
25683 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25684 { echo "$as_me:$LINENO: result: $ac_res" >&5
25685 echo "${ECHO_T}$ac_res" >&6; }
25686
25687 if eval test \$wx_cv_func_$wx_func = yes
25688 then
25689 cat >>confdefs.h <<_ACEOF
25690 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25691 _ACEOF
25692
25693
25694 else
25695 :
25696
25697 fi
25698 done
25699
25700 fi
25701 ac_ext=c
25702 ac_cpp='$CPP $CPPFLAGS'
25703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25706
25707
25708
25709
25710 if test "$wxUSE_REGEX" != "no"; then
25711 cat >>confdefs.h <<\_ACEOF
25712 #define wxUSE_REGEX 1
25713 _ACEOF
25714
25715
25716 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25717 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25718 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25719 wxUSE_REGEX=builtin
25720 fi
25721
25722 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25723 { echo "$as_me:$LINENO: checking for regex.h" >&5
25724 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25725 if test "${ac_cv_header_regex_h+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 else
25728 cat >conftest.$ac_ext <<_ACEOF
25729 /* confdefs.h. */
25730 _ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25734
25735
25736 #include <regex.h>
25737 _ACEOF
25738 rm -f conftest.$ac_objext
25739 if { (ac_try="$ac_compile"
25740 case "(($ac_try" in
25741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25742 *) ac_try_echo=$ac_try;;
25743 esac
25744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25745 (eval "$ac_compile") 2>conftest.er1
25746 ac_status=$?
25747 grep -v '^ *+' conftest.er1 >conftest.err
25748 rm -f conftest.er1
25749 cat conftest.err >&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } && {
25752 test -z "$ac_c_werror_flag" ||
25753 test ! -s conftest.err
25754 } && test -s conftest.$ac_objext; then
25755 ac_cv_header_regex_h=yes
25756 else
25757 echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.$ac_ext >&5
25759
25760 ac_cv_header_regex_h=no
25761 fi
25762
25763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 fi
25765 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25766 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25767 if test $ac_cv_header_regex_h = yes; then
25768
25769
25770 for ac_func in regcomp re_search
25771 do
25772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778 cat >conftest.$ac_ext <<_ACEOF
25779 /* confdefs.h. */
25780 _ACEOF
25781 cat confdefs.h >>conftest.$ac_ext
25782 cat >>conftest.$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25786 #define $ac_func innocuous_$ac_func
25787
25788 /* System header to define __stub macros and hopefully few prototypes,
25789 which can conflict with char $ac_func (); below.
25790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25791 <limits.h> exists even on freestanding compilers. */
25792
25793 #ifdef __STDC__
25794 # include <limits.h>
25795 #else
25796 # include <assert.h>
25797 #endif
25798
25799 #undef $ac_func
25800
25801 /* Override any GCC internal prototype to avoid an error.
25802 Use char because int might match the return type of a GCC
25803 builtin and then its argument prototype would still apply. */
25804 #ifdef __cplusplus
25805 extern "C"
25806 #endif
25807 char $ac_func ();
25808 /* The GNU C library defines this for functions which it implements
25809 to always fail with ENOSYS. Some functions are actually named
25810 something starting with __ and the normal name is an alias. */
25811 #if defined __stub_$ac_func || defined __stub___$ac_func
25812 choke me
25813 #endif
25814
25815 int
25816 main ()
25817 {
25818 return $ac_func ();
25819 ;
25820 return 0;
25821 }
25822 _ACEOF
25823 rm -f conftest.$ac_objext conftest$ac_exeext
25824 if { (ac_try="$ac_link"
25825 case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25828 esac
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_link") 2>conftest.er1
25831 ac_status=$?
25832 grep -v '^ *+' conftest.er1 >conftest.err
25833 rm -f conftest.er1
25834 cat conftest.err >&5
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); } && {
25837 test -z "$ac_c_werror_flag" ||
25838 test ! -s conftest.err
25839 } && test -s conftest$ac_exeext &&
25840 $as_test_x conftest$ac_exeext; then
25841 eval "$as_ac_var=yes"
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 eval "$as_ac_var=no"
25847 fi
25848
25849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25850 conftest$ac_exeext conftest.$ac_ext
25851 fi
25852 ac_res=`eval echo '${'$as_ac_var'}'`
25853 { echo "$as_me:$LINENO: result: $ac_res" >&5
25854 echo "${ECHO_T}$ac_res" >&6; }
25855 if test `eval echo '${'$as_ac_var'}'` = yes; then
25856 cat >>confdefs.h <<_ACEOF
25857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25858 _ACEOF
25859
25860 fi
25861 done
25862
25863 fi
25864
25865
25866
25867 if test "x$ac_cv_func_regcomp" != "xyes"; then
25868 if test "$wxUSE_REGEX" = "sys" ; then
25869 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25870 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25871 { (exit 1); exit 1; }; }
25872 else
25873 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25874 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25875 wxUSE_REGEX=builtin
25876 fi
25877 else
25878 wxUSE_REGEX=sys
25879 cat >>confdefs.h <<\_ACEOF
25880 #define WX_NO_REGEX_ADVANCED 1
25881 _ACEOF
25882
25883 fi
25884 fi
25885 fi
25886
25887
25888 ZLIB_LINK=
25889 if test "$wxUSE_ZLIB" != "no" ; then
25890 cat >>confdefs.h <<\_ACEOF
25891 #define wxUSE_ZLIB 1
25892 _ACEOF
25893
25894
25895 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25896 if test "$USE_DARWIN" = 1; then
25897 system_zlib_h_ok="yes"
25898 else
25899 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25900 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25901 if test "${ac_cv_header_zlib_h+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 if test "$cross_compiling" = yes; then
25905 unset ac_cv_header_zlib_h
25906
25907 else
25908 cat >conftest.$ac_ext <<_ACEOF
25909 /* confdefs.h. */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914
25915 #include <zlib.h>
25916 #include <stdio.h>
25917
25918 int main()
25919 {
25920 FILE *f=fopen("conftestval", "w");
25921 if (!f) exit(1);
25922 fprintf(f, "%s",
25923 ZLIB_VERSION[0] == '1' &&
25924 (ZLIB_VERSION[2] > '1' ||
25925 (ZLIB_VERSION[2] == '1' &&
25926 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25927 exit(0);
25928 }
25929
25930 _ACEOF
25931 rm -f conftest$ac_exeext
25932 if { (ac_try="$ac_link"
25933 case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25936 esac
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_link") 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25942 { (case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25945 esac
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_try") 2>&5
25948 ac_status=$?
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; }; then
25951 ac_cv_header_zlib_h=`cat conftestval`
25952 else
25953 echo "$as_me: program exited with status $ac_status" >&5
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25956
25957 ( exit $ac_status )
25958 ac_cv_header_zlib_h=no
25959 fi
25960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25961 fi
25962
25963
25964
25965 fi
25966 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25967 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25968 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25969 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25970 if test "${ac_cv_header_zlib_h+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 else
25973 cat >conftest.$ac_ext <<_ACEOF
25974 /* confdefs.h. */
25975 _ACEOF
25976 cat confdefs.h >>conftest.$ac_ext
25977 cat >>conftest.$ac_ext <<_ACEOF
25978 /* end confdefs.h. */
25979
25980
25981 #include <zlib.h>
25982 _ACEOF
25983 rm -f conftest.$ac_objext
25984 if { (ac_try="$ac_compile"
25985 case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25988 esac
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_compile") 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest.$ac_objext; then
26000 ac_cv_header_zlib_h=yes
26001 else
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26004
26005 ac_cv_header_zlib_h=no
26006 fi
26007
26008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26009 fi
26010 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26011 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26012
26013
26014
26015 system_zlib_h_ok=$ac_cv_header_zlib_h
26016 fi
26017
26018 if test "$system_zlib_h_ok" = "yes"; then
26019 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26020 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26021 if test "${ac_cv_lib_z_deflate+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024 ac_check_lib_save_LIBS=$LIBS
26025 LIBS="-lz $LIBS"
26026 cat >conftest.$ac_ext <<_ACEOF
26027 /* confdefs.h. */
26028 _ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26032
26033 /* Override any GCC internal prototype to avoid an error.
26034 Use char because int might match the return type of a GCC
26035 builtin and then its argument prototype would still apply. */
26036 #ifdef __cplusplus
26037 extern "C"
26038 #endif
26039 char deflate ();
26040 int
26041 main ()
26042 {
26043 return deflate ();
26044 ;
26045 return 0;
26046 }
26047 _ACEOF
26048 rm -f conftest.$ac_objext conftest$ac_exeext
26049 if { (ac_try="$ac_link"
26050 case "(($ac_try" in
26051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26053 esac
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_link") 2>conftest.er1
26056 ac_status=$?
26057 grep -v '^ *+' conftest.er1 >conftest.err
26058 rm -f conftest.er1
26059 cat conftest.err >&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } && {
26062 test -z "$ac_c_werror_flag" ||
26063 test ! -s conftest.err
26064 } && test -s conftest$ac_exeext &&
26065 $as_test_x conftest$ac_exeext; then
26066 ac_cv_lib_z_deflate=yes
26067 else
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.$ac_ext >&5
26070
26071 ac_cv_lib_z_deflate=no
26072 fi
26073
26074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26075 conftest$ac_exeext conftest.$ac_ext
26076 LIBS=$ac_check_lib_save_LIBS
26077 fi
26078 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26079 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26080 if test $ac_cv_lib_z_deflate = yes; then
26081 ZLIB_LINK=" -lz"
26082 fi
26083
26084 fi
26085
26086 if test "x$ZLIB_LINK" = "x" ; then
26087 if test "$wxUSE_ZLIB" = "sys" ; then
26088 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26089 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26090 { (exit 1); exit 1; }; }
26091 else
26092 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26093 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26094 wxUSE_ZLIB=builtin
26095 fi
26096 else
26097 wxUSE_ZLIB=sys
26098 fi
26099 fi
26100 fi
26101
26102
26103 PNG_LINK=
26104 if test "$wxUSE_LIBPNG" != "no" ; then
26105 cat >>confdefs.h <<\_ACEOF
26106 #define wxUSE_LIBPNG 1
26107 _ACEOF
26108
26109
26110 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26111 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26112 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26113 wxUSE_LIBPNG=sys
26114 fi
26115
26116 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26117 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26118 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26119 wxUSE_LIBPNG=builtin
26120 fi
26121
26122 if test "$wxUSE_MGL" != 1 ; then
26123 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26124 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26125 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26126 if test "${ac_cv_header_png_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26128 else
26129 if test "$cross_compiling" = yes; then
26130 unset ac_cv_header_png_h
26131
26132 else
26133 cat >conftest.$ac_ext <<_ACEOF
26134 /* confdefs.h. */
26135 _ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139
26140 #include <png.h>
26141 #include <stdio.h>
26142
26143 int main()
26144 {
26145 FILE *f=fopen("conftestval", "w");
26146 if (!f) exit(1);
26147 fprintf(f, "%s",
26148 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26149 exit(0);
26150 }
26151
26152 _ACEOF
26153 rm -f conftest$ac_exeext
26154 if { (ac_try="$ac_link"
26155 case "(($ac_try" in
26156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26157 *) ac_try_echo=$ac_try;;
26158 esac
26159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26160 (eval "$ac_link") 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26164 { (case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26167 esac
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_try") 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 ac_cv_header_png_h=`cat conftestval`
26174 else
26175 echo "$as_me: program exited with status $ac_status" >&5
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26178
26179 ( exit $ac_status )
26180 ac_cv_header_png_h=no
26181 fi
26182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26183 fi
26184
26185
26186
26187 fi
26188 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26189 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26190 { echo "$as_me:$LINENO: checking for png.h" >&5
26191 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26192 if test "${ac_cv_header_png_h+set}" = set; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 else
26195 cat >conftest.$ac_ext <<_ACEOF
26196 /* confdefs.h. */
26197 _ACEOF
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201
26202
26203 #include <png.h>
26204 _ACEOF
26205 rm -f conftest.$ac_objext
26206 if { (ac_try="$ac_compile"
26207 case "(($ac_try" in
26208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26209 *) ac_try_echo=$ac_try;;
26210 esac
26211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26212 (eval "$ac_compile") 2>conftest.er1
26213 ac_status=$?
26214 grep -v '^ *+' conftest.er1 >conftest.err
26215 rm -f conftest.er1
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } && {
26219 test -z "$ac_c_werror_flag" ||
26220 test ! -s conftest.err
26221 } && test -s conftest.$ac_objext; then
26222 ac_cv_header_png_h=yes
26223 else
26224 echo "$as_me: failed program was:" >&5
26225 sed 's/^/| /' conftest.$ac_ext >&5
26226
26227 ac_cv_header_png_h=no
26228 fi
26229
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26231 fi
26232 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26233 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26234
26235
26236
26237 if test "$ac_cv_header_png_h" = "yes"; then
26238 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26239 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26240 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 else
26243 ac_check_lib_save_LIBS=$LIBS
26244 LIBS="-lpng -lz -lm $LIBS"
26245 cat >conftest.$ac_ext <<_ACEOF
26246 /* confdefs.h. */
26247 _ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251
26252 /* Override any GCC internal prototype to avoid an error.
26253 Use char because int might match the return type of a GCC
26254 builtin and then its argument prototype would still apply. */
26255 #ifdef __cplusplus
26256 extern "C"
26257 #endif
26258 char png_check_sig ();
26259 int
26260 main ()
26261 {
26262 return png_check_sig ();
26263 ;
26264 return 0;
26265 }
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (ac_try="$ac_link"
26269 case "(($ac_try" in
26270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26271 *) ac_try_echo=$ac_try;;
26272 esac
26273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26274 (eval "$ac_link") 2>conftest.er1
26275 ac_status=$?
26276 grep -v '^ *+' conftest.er1 >conftest.err
26277 rm -f conftest.er1
26278 cat conftest.err >&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } && {
26281 test -z "$ac_c_werror_flag" ||
26282 test ! -s conftest.err
26283 } && test -s conftest$ac_exeext &&
26284 $as_test_x conftest$ac_exeext; then
26285 ac_cv_lib_png_png_check_sig=yes
26286 else
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290 ac_cv_lib_png_png_check_sig=no
26291 fi
26292
26293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26294 conftest$ac_exeext conftest.$ac_ext
26295 LIBS=$ac_check_lib_save_LIBS
26296 fi
26297 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26298 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26299 if test $ac_cv_lib_png_png_check_sig = yes; then
26300 PNG_LINK=" -lpng -lz"
26301 fi
26302
26303 fi
26304
26305 if test "x$PNG_LINK" = "x" ; then
26306 if test "$wxUSE_LIBPNG" = "sys" ; then
26307 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26308 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26309 { (exit 1); exit 1; }; }
26310 else
26311 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26312 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26313 wxUSE_LIBPNG=builtin
26314 fi
26315 else
26316 wxUSE_LIBPNG=sys
26317 fi
26318 fi
26319 fi
26320 fi
26321
26322
26323 JPEG_LINK=
26324 if test "$wxUSE_LIBJPEG" != "no" ; then
26325 cat >>confdefs.h <<\_ACEOF
26326 #define wxUSE_LIBJPEG 1
26327 _ACEOF
26328
26329
26330 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26331 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26332 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26333 wxUSE_LIBJPEG=sys
26334 fi
26335
26336 if test "$wxUSE_MGL" != 1 ; then
26337 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26338 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26339 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26340 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26341 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 else
26343 cat >conftest.$ac_ext <<_ACEOF
26344 /* confdefs.h. */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26349
26350 #undef HAVE_STDLIB_H
26351 #include <stdio.h>
26352 #include <jpeglib.h>
26353
26354 int
26355 main ()
26356 {
26357
26358
26359 ;
26360 return 0;
26361 }
26362 _ACEOF
26363 rm -f conftest.$ac_objext
26364 if { (ac_try="$ac_compile"
26365 case "(($ac_try" in
26366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367 *) ac_try_echo=$ac_try;;
26368 esac
26369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370 (eval "$ac_compile") 2>conftest.er1
26371 ac_status=$?
26372 grep -v '^ *+' conftest.er1 >conftest.err
26373 rm -f conftest.er1
26374 cat conftest.err >&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && {
26377 test -z "$ac_c_werror_flag" ||
26378 test ! -s conftest.err
26379 } && test -s conftest.$ac_objext; then
26380 ac_cv_header_jpeglib_h=yes
26381 else
26382 echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26384
26385 ac_cv_header_jpeglib_h=no
26386
26387 fi
26388
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390
26391 fi
26392
26393 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26394 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26395
26396 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26397 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26398 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26399 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 else
26402 ac_check_lib_save_LIBS=$LIBS
26403 LIBS="-ljpeg $LIBS"
26404 cat >conftest.$ac_ext <<_ACEOF
26405 /* confdefs.h. */
26406 _ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26410
26411 /* Override any GCC internal prototype to avoid an error.
26412 Use char because int might match the return type of a GCC
26413 builtin and then its argument prototype would still apply. */
26414 #ifdef __cplusplus
26415 extern "C"
26416 #endif
26417 char jpeg_read_header ();
26418 int
26419 main ()
26420 {
26421 return jpeg_read_header ();
26422 ;
26423 return 0;
26424 }
26425 _ACEOF
26426 rm -f conftest.$ac_objext conftest$ac_exeext
26427 if { (ac_try="$ac_link"
26428 case "(($ac_try" in
26429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26430 *) ac_try_echo=$ac_try;;
26431 esac
26432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26433 (eval "$ac_link") 2>conftest.er1
26434 ac_status=$?
26435 grep -v '^ *+' conftest.er1 >conftest.err
26436 rm -f conftest.er1
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } && {
26440 test -z "$ac_c_werror_flag" ||
26441 test ! -s conftest.err
26442 } && test -s conftest$ac_exeext &&
26443 $as_test_x conftest$ac_exeext; then
26444 ac_cv_lib_jpeg_jpeg_read_header=yes
26445 else
26446 echo "$as_me: failed program was:" >&5
26447 sed 's/^/| /' conftest.$ac_ext >&5
26448
26449 ac_cv_lib_jpeg_jpeg_read_header=no
26450 fi
26451
26452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26453 conftest$ac_exeext conftest.$ac_ext
26454 LIBS=$ac_check_lib_save_LIBS
26455 fi
26456 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26457 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26458 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26459 JPEG_LINK=" -ljpeg"
26460 fi
26461
26462 fi
26463
26464 if test "x$JPEG_LINK" = "x" ; then
26465 if test "$wxUSE_LIBJPEG" = "sys" ; then
26466 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26467 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26468 { (exit 1); exit 1; }; }
26469 else
26470 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26471 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26472 wxUSE_LIBJPEG=builtin
26473 fi
26474 else
26475 wxUSE_LIBJPEG=sys
26476
26477 if test "$wxUSE_MSW" = 1; then
26478 { echo "$as_me:$LINENO: checking for boolean" >&5
26479 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26480 if test "${ac_cv_type_boolean+set}" = set; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 else
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 #include <windows.h>
26490
26491 typedef boolean ac__type_new_;
26492 int
26493 main ()
26494 {
26495 if ((ac__type_new_ *) 0)
26496 return 0;
26497 if (sizeof (ac__type_new_))
26498 return 0;
26499 ;
26500 return 0;
26501 }
26502 _ACEOF
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 ac_cv_type_boolean=yes
26521 else
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26524
26525 ac_cv_type_boolean=no
26526 fi
26527
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529 fi
26530 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26531 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26532 if test $ac_cv_type_boolean = yes; then
26533
26534 cat >>confdefs.h <<_ACEOF
26535 #define HAVE_BOOLEAN 1
26536 _ACEOF
26537
26538
26539 { echo "$as_me:$LINENO: checking for boolean" >&5
26540 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26541 if test "${ac_cv_type_boolean+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 else
26544 cat >conftest.$ac_ext <<_ACEOF
26545 /* confdefs.h. */
26546 _ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26550
26551 #undef HAVE_BOOLEAN
26552 #include <stdio.h>
26553 #include <jpeglib.h>
26554
26555
26556 typedef boolean ac__type_new_;
26557 int
26558 main ()
26559 {
26560 if ((ac__type_new_ *) 0)
26561 return 0;
26562 if (sizeof (ac__type_new_))
26563 return 0;
26564 ;
26565 return 0;
26566 }
26567 _ACEOF
26568 rm -f conftest.$ac_objext
26569 if { (ac_try="$ac_compile"
26570 case "(($ac_try" in
26571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26573 esac
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_compile") 2>conftest.er1
26576 ac_status=$?
26577 grep -v '^ *+' conftest.er1 >conftest.err
26578 rm -f conftest.er1
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest.$ac_objext; then
26585 ac_cv_type_boolean=yes
26586 else
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26589
26590 ac_cv_type_boolean=no
26591 fi
26592
26593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26594 fi
26595 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26596 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26597
26598 # The cast to long int works around a bug in the HP C Compiler
26599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26601 # This bug is HP SR number 8606223364.
26602 { echo "$as_me:$LINENO: checking size of boolean" >&5
26603 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26604 if test "${ac_cv_sizeof_boolean+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 else
26607 if test "$cross_compiling" = yes; then
26608 # Depending upon the size, compute the lo and hi bounds.
26609 cat >conftest.$ac_ext <<_ACEOF
26610 /* confdefs.h. */
26611 _ACEOF
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615
26616 #undef HAVE_BOOLEAN
26617 #include <stdio.h>
26618 #include <jpeglib.h>
26619
26620
26621 typedef boolean ac__type_sizeof_;
26622 int
26623 main ()
26624 {
26625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26626 test_array [0] = 0
26627
26628 ;
26629 return 0;
26630 }
26631 _ACEOF
26632 rm -f conftest.$ac_objext
26633 if { (ac_try="$ac_compile"
26634 case "(($ac_try" in
26635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26636 *) ac_try_echo=$ac_try;;
26637 esac
26638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26639 (eval "$ac_compile") 2>conftest.er1
26640 ac_status=$?
26641 grep -v '^ *+' conftest.er1 >conftest.err
26642 rm -f conftest.er1
26643 cat conftest.err >&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } && {
26646 test -z "$ac_c_werror_flag" ||
26647 test ! -s conftest.err
26648 } && test -s conftest.$ac_objext; then
26649 ac_lo=0 ac_mid=0
26650 while :; do
26651 cat >conftest.$ac_ext <<_ACEOF
26652 /* confdefs.h. */
26653 _ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657
26658 #undef HAVE_BOOLEAN
26659 #include <stdio.h>
26660 #include <jpeglib.h>
26661
26662
26663 typedef boolean ac__type_sizeof_;
26664 int
26665 main ()
26666 {
26667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26668 test_array [0] = 0
26669
26670 ;
26671 return 0;
26672 }
26673 _ACEOF
26674 rm -f conftest.$ac_objext
26675 if { (ac_try="$ac_compile"
26676 case "(($ac_try" in
26677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26678 *) ac_try_echo=$ac_try;;
26679 esac
26680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26681 (eval "$ac_compile") 2>conftest.er1
26682 ac_status=$?
26683 grep -v '^ *+' conftest.er1 >conftest.err
26684 rm -f conftest.er1
26685 cat conftest.err >&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } && {
26688 test -z "$ac_c_werror_flag" ||
26689 test ! -s conftest.err
26690 } && test -s conftest.$ac_objext; then
26691 ac_hi=$ac_mid; break
26692 else
26693 echo "$as_me: failed program was:" >&5
26694 sed 's/^/| /' conftest.$ac_ext >&5
26695
26696 ac_lo=`expr $ac_mid + 1`
26697 if test $ac_lo -le $ac_mid; then
26698 ac_lo= ac_hi=
26699 break
26700 fi
26701 ac_mid=`expr 2 '*' $ac_mid + 1`
26702 fi
26703
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 done
26706 else
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26709
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716
26717 #undef HAVE_BOOLEAN
26718 #include <stdio.h>
26719 #include <jpeglib.h>
26720
26721
26722 typedef boolean ac__type_sizeof_;
26723 int
26724 main ()
26725 {
26726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26727 test_array [0] = 0
26728
26729 ;
26730 return 0;
26731 }
26732 _ACEOF
26733 rm -f conftest.$ac_objext
26734 if { (ac_try="$ac_compile"
26735 case "(($ac_try" in
26736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26737 *) ac_try_echo=$ac_try;;
26738 esac
26739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26740 (eval "$ac_compile") 2>conftest.er1
26741 ac_status=$?
26742 grep -v '^ *+' conftest.er1 >conftest.err
26743 rm -f conftest.er1
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } && {
26747 test -z "$ac_c_werror_flag" ||
26748 test ! -s conftest.err
26749 } && test -s conftest.$ac_objext; then
26750 ac_hi=-1 ac_mid=-1
26751 while :; do
26752 cat >conftest.$ac_ext <<_ACEOF
26753 /* confdefs.h. */
26754 _ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758
26759 #undef HAVE_BOOLEAN
26760 #include <stdio.h>
26761 #include <jpeglib.h>
26762
26763
26764 typedef boolean ac__type_sizeof_;
26765 int
26766 main ()
26767 {
26768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26769 test_array [0] = 0
26770
26771 ;
26772 return 0;
26773 }
26774 _ACEOF
26775 rm -f conftest.$ac_objext
26776 if { (ac_try="$ac_compile"
26777 case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26780 esac
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_compile") 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } && {
26789 test -z "$ac_c_werror_flag" ||
26790 test ! -s conftest.err
26791 } && test -s conftest.$ac_objext; then
26792 ac_lo=$ac_mid; break
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_hi=`expr '(' $ac_mid ')' - 1`
26798 if test $ac_mid -le $ac_hi; then
26799 ac_lo= ac_hi=
26800 break
26801 fi
26802 ac_mid=`expr 2 '*' $ac_mid`
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26806 done
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811 ac_lo= ac_hi=
26812 fi
26813
26814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26815 fi
26816
26817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818 # Binary search between lo and hi bounds.
26819 while test "x$ac_lo" != "x$ac_hi"; do
26820 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26821 cat >conftest.$ac_ext <<_ACEOF
26822 /* confdefs.h. */
26823 _ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26827
26828 #undef HAVE_BOOLEAN
26829 #include <stdio.h>
26830 #include <jpeglib.h>
26831
26832
26833 typedef boolean ac__type_sizeof_;
26834 int
26835 main ()
26836 {
26837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26838 test_array [0] = 0
26839
26840 ;
26841 return 0;
26842 }
26843 _ACEOF
26844 rm -f conftest.$ac_objext
26845 if { (ac_try="$ac_compile"
26846 case "(($ac_try" in
26847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26848 *) ac_try_echo=$ac_try;;
26849 esac
26850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26851 (eval "$ac_compile") 2>conftest.er1
26852 ac_status=$?
26853 grep -v '^ *+' conftest.er1 >conftest.err
26854 rm -f conftest.er1
26855 cat conftest.err >&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } && {
26858 test -z "$ac_c_werror_flag" ||
26859 test ! -s conftest.err
26860 } && test -s conftest.$ac_objext; then
26861 ac_hi=$ac_mid
26862 else
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26865
26866 ac_lo=`expr '(' $ac_mid ')' + 1`
26867 fi
26868
26869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26870 done
26871 case $ac_lo in
26872 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26873 '') if test "$ac_cv_type_boolean" = yes; then
26874 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26875 See \`config.log' for more details." >&5
26876 echo "$as_me: error: cannot compute sizeof (boolean)
26877 See \`config.log' for more details." >&2;}
26878 { (exit 77); exit 77; }; }
26879 else
26880 ac_cv_sizeof_boolean=0
26881 fi ;;
26882 esac
26883 else
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890
26891 #undef HAVE_BOOLEAN
26892 #include <stdio.h>
26893 #include <jpeglib.h>
26894
26895
26896 typedef boolean ac__type_sizeof_;
26897 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26898 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26899 #include <stdio.h>
26900 #include <stdlib.h>
26901 int
26902 main ()
26903 {
26904
26905 FILE *f = fopen ("conftest.val", "w");
26906 if (! f)
26907 return 1;
26908 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26909 {
26910 long int i = longval ();
26911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26912 return 1;
26913 fprintf (f, "%ld\n", i);
26914 }
26915 else
26916 {
26917 unsigned long int i = ulongval ();
26918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26919 return 1;
26920 fprintf (f, "%lu\n", i);
26921 }
26922 return ferror (f) || fclose (f) != 0;
26923
26924 ;
26925 return 0;
26926 }
26927 _ACEOF
26928 rm -f conftest$ac_exeext
26929 if { (ac_try="$ac_link"
26930 case "(($ac_try" in
26931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26932 *) ac_try_echo=$ac_try;;
26933 esac
26934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26935 (eval "$ac_link") 2>&5
26936 ac_status=$?
26937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26939 { (case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26942 esac
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_try") 2>&5
26945 ac_status=$?
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; }; then
26948 ac_cv_sizeof_boolean=`cat conftest.val`
26949 else
26950 echo "$as_me: program exited with status $ac_status" >&5
26951 echo "$as_me: failed program was:" >&5
26952 sed 's/^/| /' conftest.$ac_ext >&5
26953
26954 ( exit $ac_status )
26955 if test "$ac_cv_type_boolean" = yes; then
26956 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26957 See \`config.log' for more details." >&5
26958 echo "$as_me: error: cannot compute sizeof (boolean)
26959 See \`config.log' for more details." >&2;}
26960 { (exit 77); exit 77; }; }
26961 else
26962 ac_cv_sizeof_boolean=0
26963 fi
26964 fi
26965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26966 fi
26967 rm -f conftest.val
26968 fi
26969 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26970 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26971
26972
26973
26974 cat >>confdefs.h <<_ACEOF
26975 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26976 _ACEOF
26977
26978
26979 cat >>confdefs.h <<_ACEOF
26980 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26981 _ACEOF
26982
26983
26984 fi
26985
26986 fi
26987 fi
26988 fi
26989 fi
26990 fi
26991
26992
26993 TIFF_LINK=
26994 TIFF_PREREQ_LINKS=-lm
26995 if test "$wxUSE_LIBTIFF" != "no" ; then
26996 cat >>confdefs.h <<\_ACEOF
26997 #define wxUSE_LIBTIFF 1
26998 _ACEOF
26999
27000
27001 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27002 if test "$wxUSE_LIBJPEG" = "sys"; then
27003 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27004 fi
27005 if test "$wxUSE_ZLIB" = "sys"; then
27006 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27007 fi
27008 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27009 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27010 if test "${ac_cv_header_tiffio_h+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 else
27013 cat >conftest.$ac_ext <<_ACEOF
27014 /* confdefs.h. */
27015 _ACEOF
27016 cat confdefs.h >>conftest.$ac_ext
27017 cat >>conftest.$ac_ext <<_ACEOF
27018 /* end confdefs.h. */
27019
27020
27021
27022 #include <tiffio.h>
27023 _ACEOF
27024 rm -f conftest.$ac_objext
27025 if { (ac_try="$ac_compile"
27026 case "(($ac_try" in
27027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27028 *) ac_try_echo=$ac_try;;
27029 esac
27030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27031 (eval "$ac_compile") 2>conftest.er1
27032 ac_status=$?
27033 grep -v '^ *+' conftest.er1 >conftest.err
27034 rm -f conftest.er1
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } && {
27038 test -z "$ac_c_werror_flag" ||
27039 test ! -s conftest.err
27040 } && test -s conftest.$ac_objext; then
27041 ac_cv_header_tiffio_h=yes
27042 else
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27045
27046 ac_cv_header_tiffio_h=no
27047 fi
27048
27049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27050 fi
27051 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27052 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27053 if test $ac_cv_header_tiffio_h = yes; then
27054
27055 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27056 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27057 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 else
27060 ac_check_lib_save_LIBS=$LIBS
27061 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27062 cat >conftest.$ac_ext <<_ACEOF
27063 /* confdefs.h. */
27064 _ACEOF
27065 cat confdefs.h >>conftest.$ac_ext
27066 cat >>conftest.$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27068
27069 /* Override any GCC internal prototype to avoid an error.
27070 Use char because int might match the return type of a GCC
27071 builtin and then its argument prototype would still apply. */
27072 #ifdef __cplusplus
27073 extern "C"
27074 #endif
27075 char TIFFError ();
27076 int
27077 main ()
27078 {
27079 return TIFFError ();
27080 ;
27081 return 0;
27082 }
27083 _ACEOF
27084 rm -f conftest.$ac_objext conftest$ac_exeext
27085 if { (ac_try="$ac_link"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27089 esac
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_link") 2>conftest.er1
27092 ac_status=$?
27093 grep -v '^ *+' conftest.er1 >conftest.err
27094 rm -f conftest.er1
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest$ac_exeext &&
27101 $as_test_x conftest$ac_exeext; then
27102 ac_cv_lib_tiff_TIFFError=yes
27103 else
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27106
27107 ac_cv_lib_tiff_TIFFError=no
27108 fi
27109
27110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27111 conftest$ac_exeext conftest.$ac_ext
27112 LIBS=$ac_check_lib_save_LIBS
27113 fi
27114 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27115 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27116 if test $ac_cv_lib_tiff_TIFFError = yes; then
27117 TIFF_LINK=" -ltiff"
27118 fi
27119
27120
27121 fi
27122
27123
27124
27125 if test "x$TIFF_LINK" = "x" ; then
27126 if test "$wxUSE_LIBTIFF" = "sys" ; then
27127 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27128 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27129 { (exit 1); exit 1; }; }
27130 else
27131 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27132 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27133 wxUSE_LIBTIFF=builtin
27134 fi
27135 else
27136 wxUSE_LIBTIFF=sys
27137 fi
27138 fi
27139 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27140 if test "$wxUSE_LIBJPEG" = "no"; then
27141 ac_configure_args="$ac_configure_args --disable-jpeg"
27142 fi
27143 subdirs="$subdirs src/tiff"
27144
27145 fi
27146 fi
27147
27148
27149 if test "$wxUSE_WCHAR_T" != "yes"; then
27150 if test "$wxUSE_EXPAT" != "no"; then
27151 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27152 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27153 wxUSE_EXPAT=no
27154 fi
27155 if test "$wxUSE_XML" != "no"; then
27156 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27157 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27158 wxUSE_XML=no
27159 fi
27160 fi
27161
27162 if test "$wxUSE_EXPAT" != "no"; then
27163 wxUSE_XML=yes
27164 cat >>confdefs.h <<\_ACEOF
27165 #define wxUSE_EXPAT 1
27166 _ACEOF
27167
27168 cat >>confdefs.h <<\_ACEOF
27169 #define wxUSE_XML 1
27170 _ACEOF
27171
27172
27173 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27174 { echo "$as_me:$LINENO: checking for expat.h" >&5
27175 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27176 if test "${ac_cv_header_expat_h+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 cat >conftest.$ac_ext <<_ACEOF
27180 /* confdefs.h. */
27181 _ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185
27186
27187 #include <expat.h>
27188 _ACEOF
27189 rm -f conftest.$ac_objext
27190 if { (ac_try="$ac_compile"
27191 case "(($ac_try" in
27192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27193 *) ac_try_echo=$ac_try;;
27194 esac
27195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27196 (eval "$ac_compile") 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } && {
27203 test -z "$ac_c_werror_flag" ||
27204 test ! -s conftest.err
27205 } && test -s conftest.$ac_objext; then
27206 ac_cv_header_expat_h=yes
27207 else
27208 echo "$as_me: failed program was:" >&5
27209 sed 's/^/| /' conftest.$ac_ext >&5
27210
27211 ac_cv_header_expat_h=no
27212 fi
27213
27214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27215 fi
27216 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27217 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27218 if test $ac_cv_header_expat_h = yes; then
27219 found_expat_h=1
27220 fi
27221
27222
27223 if test "x$found_expat_h" = "x1"; then
27224 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27225 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27226 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 else
27229
27230 ac_ext=cpp
27231 ac_cpp='$CXXCPP $CPPFLAGS'
27232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27235
27236 cat >conftest.$ac_ext <<_ACEOF
27237 /* confdefs.h. */
27238 _ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27242 #include <expat.h>
27243 int
27244 main ()
27245 {
27246
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27256 esac
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_cxx_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.$ac_objext; then
27268 wx_cv_expat_is_not_broken=yes
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 wx_cv_expat_is_not_broken=no
27274
27275 fi
27276
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27278 ac_ext=c
27279 ac_cpp='$CPP $CPPFLAGS'
27280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27283
27284
27285
27286 fi
27287 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27288 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27289 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27290 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27291 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27292 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 else
27295 ac_check_lib_save_LIBS=$LIBS
27296 LIBS="-lexpat $LIBS"
27297 cat >conftest.$ac_ext <<_ACEOF
27298 /* confdefs.h. */
27299 _ACEOF
27300 cat confdefs.h >>conftest.$ac_ext
27301 cat >>conftest.$ac_ext <<_ACEOF
27302 /* end confdefs.h. */
27303
27304 /* Override any GCC internal prototype to avoid an error.
27305 Use char because int might match the return type of a GCC
27306 builtin and then its argument prototype would still apply. */
27307 #ifdef __cplusplus
27308 extern "C"
27309 #endif
27310 char XML_ParserCreate ();
27311 int
27312 main ()
27313 {
27314 return XML_ParserCreate ();
27315 ;
27316 return 0;
27317 }
27318 _ACEOF
27319 rm -f conftest.$ac_objext conftest$ac_exeext
27320 if { (ac_try="$ac_link"
27321 case "(($ac_try" in
27322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27323 *) ac_try_echo=$ac_try;;
27324 esac
27325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27326 (eval "$ac_link") 2>conftest.er1
27327 ac_status=$?
27328 grep -v '^ *+' conftest.er1 >conftest.err
27329 rm -f conftest.er1
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } && {
27333 test -z "$ac_c_werror_flag" ||
27334 test ! -s conftest.err
27335 } && test -s conftest$ac_exeext &&
27336 $as_test_x conftest$ac_exeext; then
27337 ac_cv_lib_expat_XML_ParserCreate=yes
27338 else
27339 echo "$as_me: failed program was:" >&5
27340 sed 's/^/| /' conftest.$ac_ext >&5
27341
27342 ac_cv_lib_expat_XML_ParserCreate=no
27343 fi
27344
27345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27346 conftest$ac_exeext conftest.$ac_ext
27347 LIBS=$ac_check_lib_save_LIBS
27348 fi
27349 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27350 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27351 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27352 EXPAT_LINK=" -lexpat"
27353 fi
27354
27355 fi
27356 fi
27357 if test "x$EXPAT_LINK" = "x" ; then
27358 if test "$wxUSE_EXPAT" = "sys" ; then
27359 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27360 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27361 { (exit 1); exit 1; }; }
27362 else
27363 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27364 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27365 wxUSE_EXPAT=builtin
27366 fi
27367 else
27368 wxUSE_EXPAT=sys
27369 fi
27370 fi
27371 if test "$wxUSE_EXPAT" = "builtin" ; then
27372 subdirs="$subdirs src/expat"
27373
27374 fi
27375 fi
27376
27377
27378
27379 if test "$wxUSE_LIBMSPACK" != "no"; then
27380 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27381 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27382 if test "${ac_cv_header_mspack_h+set}" = set; then
27383 echo $ECHO_N "(cached) $ECHO_C" >&6
27384 else
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391
27392
27393 #include <mspack.h>
27394 _ACEOF
27395 rm -f conftest.$ac_objext
27396 if { (ac_try="$ac_compile"
27397 case "(($ac_try" in
27398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27399 *) ac_try_echo=$ac_try;;
27400 esac
27401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27402 (eval "$ac_compile") 2>conftest.er1
27403 ac_status=$?
27404 grep -v '^ *+' conftest.er1 >conftest.err
27405 rm -f conftest.er1
27406 cat conftest.err >&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } && {
27409 test -z "$ac_c_werror_flag" ||
27410 test ! -s conftest.err
27411 } && test -s conftest.$ac_objext; then
27412 ac_cv_header_mspack_h=yes
27413 else
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27416
27417 ac_cv_header_mspack_h=no
27418 fi
27419
27420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27421 fi
27422 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27423 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27424 if test $ac_cv_header_mspack_h = yes; then
27425 found_mspack_h=1
27426 fi
27427
27428
27429 if test "x$found_mspack_h" = "x1"; then
27430 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27431 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27432 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 else
27435 ac_check_lib_save_LIBS=$LIBS
27436 LIBS="-lmspack $LIBS"
27437 cat >conftest.$ac_ext <<_ACEOF
27438 /* confdefs.h. */
27439 _ACEOF
27440 cat confdefs.h >>conftest.$ac_ext
27441 cat >>conftest.$ac_ext <<_ACEOF
27442 /* end confdefs.h. */
27443
27444 /* Override any GCC internal prototype to avoid an error.
27445 Use char because int might match the return type of a GCC
27446 builtin and then its argument prototype would still apply. */
27447 #ifdef __cplusplus
27448 extern "C"
27449 #endif
27450 char mspack_create_chm_decompressor ();
27451 int
27452 main ()
27453 {
27454 return mspack_create_chm_decompressor ();
27455 ;
27456 return 0;
27457 }
27458 _ACEOF
27459 rm -f conftest.$ac_objext conftest$ac_exeext
27460 if { (ac_try="$ac_link"
27461 case "(($ac_try" in
27462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27464 esac
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_link") 2>conftest.er1
27467 ac_status=$?
27468 grep -v '^ *+' conftest.er1 >conftest.err
27469 rm -f conftest.er1
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_c_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest$ac_exeext &&
27476 $as_test_x conftest$ac_exeext; then
27477 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27483 fi
27484
27485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27488 fi
27489 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27490 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27491 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27492 MSPACK_LINK=" -lmspack"
27493 fi
27494
27495 fi
27496 if test "x$MSPACK_LINK" = "x" ; then
27497 wxUSE_LIBMSPACK=no
27498 fi
27499 fi
27500
27501 if test "$wxUSE_LIBMSPACK" != "no"; then
27502 cat >>confdefs.h <<\_ACEOF
27503 #define wxUSE_LIBMSPACK 1
27504 _ACEOF
27505
27506 fi
27507
27508
27509
27510 AFMINSTALL=
27511 WIN32INSTALL=
27512
27513 TOOLKIT=
27514 TOOLKIT_INCLUDE=
27515 WIDGET_SET=
27516
27517 if test "$USE_WIN32" = 1 ; then
27518
27519 for ac_header in w32api.h
27520 do
27521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27525 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 else
27527 cat >conftest.$ac_ext <<_ACEOF
27528 /* confdefs.h. */
27529 _ACEOF
27530 cat confdefs.h >>conftest.$ac_ext
27531 cat >>conftest.$ac_ext <<_ACEOF
27532 /* end confdefs.h. */
27533
27534
27535 #include <$ac_header>
27536 _ACEOF
27537 rm -f conftest.$ac_objext
27538 if { (ac_try="$ac_compile"
27539 case "(($ac_try" in
27540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27541 *) ac_try_echo=$ac_try;;
27542 esac
27543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27544 (eval "$ac_compile") 2>conftest.er1
27545 ac_status=$?
27546 grep -v '^ *+' conftest.er1 >conftest.err
27547 rm -f conftest.er1
27548 cat conftest.err >&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } && {
27551 test -z "$ac_c_werror_flag" ||
27552 test ! -s conftest.err
27553 } && test -s conftest.$ac_objext; then
27554 eval "$as_ac_Header=yes"
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 eval "$as_ac_Header=no"
27560 fi
27561
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27563 fi
27564 ac_res=`eval echo '${'$as_ac_Header'}'`
27565 { echo "$as_me:$LINENO: result: $ac_res" >&5
27566 echo "${ECHO_T}$ac_res" >&6; }
27567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27568 cat >>confdefs.h <<_ACEOF
27569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27570 _ACEOF
27571
27572 fi
27573
27574 done
27575
27576 { echo "$as_me:$LINENO: checking for windows.h" >&5
27577 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27578 if test "${ac_cv_header_windows_h+set}" = set; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27580 else
27581 cat >conftest.$ac_ext <<_ACEOF
27582 /* confdefs.h. */
27583 _ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27587
27588
27589 #include <windows.h>
27590 _ACEOF
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27596 esac
27597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27599 ac_status=$?
27600 grep -v '^ *+' conftest.er1 >conftest.err
27601 rm -f conftest.er1
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_windows_h=yes
27609 else
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27612
27613 ac_cv_header_windows_h=no
27614 fi
27615
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617 fi
27618 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27620 if test $ac_cv_header_windows_h = yes; then
27621 :
27622 else
27623
27624 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27625 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27626 { (exit 1); exit 1; }; }
27627
27628 fi
27629
27630
27631
27632 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27633
27634 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27635 LIBS="$LIBS -loleacc"
27636 fi
27637
27638 case "${host}" in
27639 *-*-cygwin* )
27640 LIBS="$LIBS -lkernel32 -luser32"
27641 esac
27642
27643 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27644 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27645
27646 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27647
27648 WIN32INSTALL=win32install
27649
27650 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27651 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27652 if test "${ac_cv_header_pbt_h+set}" = set; then
27653 echo $ECHO_N "(cached) $ECHO_C" >&6
27654 else
27655 cat >conftest.$ac_ext <<_ACEOF
27656 /* confdefs.h. */
27657 _ACEOF
27658 cat confdefs.h >>conftest.$ac_ext
27659 cat >>conftest.$ac_ext <<_ACEOF
27660 /* end confdefs.h. */
27661
27662
27663 #include <pbt.h>
27664 _ACEOF
27665 rm -f conftest.$ac_objext
27666 if { (ac_try="$ac_compile"
27667 case "(($ac_try" in
27668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27669 *) ac_try_echo=$ac_try;;
27670 esac
27671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27672 (eval "$ac_compile") 2>conftest.er1
27673 ac_status=$?
27674 grep -v '^ *+' conftest.er1 >conftest.err
27675 rm -f conftest.er1
27676 cat conftest.err >&5
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } && {
27679 test -z "$ac_c_werror_flag" ||
27680 test ! -s conftest.err
27681 } && test -s conftest.$ac_objext; then
27682 ac_cv_header_pbt_h=yes
27683 else
27684 echo "$as_me: failed program was:" >&5
27685 sed 's/^/| /' conftest.$ac_ext >&5
27686
27687 ac_cv_header_pbt_h=no
27688 fi
27689
27690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27691 fi
27692 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27693 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27694 if test $ac_cv_header_pbt_h = yes; then
27695 :
27696 else
27697 cat >>confdefs.h <<\_ACEOF
27698 #define NEED_PBT_H 1
27699 _ACEOF
27700
27701 fi
27702
27703
27704 fi
27705
27706 if test "$wxUSE_GUI" = "yes"; then
27707 USE_GUI=1
27708
27709 GUI_TK_LIBRARY=
27710
27711 WXGTK12=
27712 WXGTK127=
27713 WXGTK2=
27714 WXGPE=
27715
27716 if test "$wxUSE_COCOA" = 1 ; then
27717 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27718 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27719 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27720 wxUSE_PRINTING_ARCHITECTURE=no
27721 fi
27722 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27723 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27724 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27725 wxUSE_DRAG_AND_DROP=no
27726 fi
27727 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27728 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27729 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27730 wxUSE_DRAGIMAGE=no
27731 fi
27732 fi
27733
27734 if test "$wxUSE_MSW" = 1 ; then
27735 TOOLKIT=MSW
27736 GUIDIST=MSW_DIST
27737
27738 case "${host}" in
27739 *-*-mingw32* )
27740 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27741 esac
27742 fi
27743
27744 if test "$wxUSE_GTK" = 1; then
27745 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27746 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27747
27748 gtk_version_cached=1
27749 if test "${wx_cv_lib_gtk+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 else
27752
27753 gtk_version_cached=0
27754 { echo "$as_me:$LINENO: result: " >&5
27755 echo "${ECHO_T}" >&6; }
27756
27757 GTK_MODULES=
27758 if test "$wxUSE_THREADS" = "yes"; then
27759 GTK_MODULES=gthread
27760 fi
27761
27762 wx_cv_lib_gtk=
27763 if test "x$wxGTK_VERSION" != "x1"
27764 then
27765 case "${host}" in
27766 *-*-solaris2* )
27767 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27768 enable_gtktest=no
27769 fi
27770 esac
27771
27772 # Check whether --enable-gtktest was given.
27773 if test "${enable_gtktest+set}" = set; then
27774 enableval=$enable_gtktest;
27775 else
27776 enable_gtktest=yes
27777 fi
27778
27779
27780 pkg_config_args=gtk+-2.0
27781 for module in . $GTK_MODULES
27782 do
27783 case "$module" in
27784 gthread)
27785 pkg_config_args="$pkg_config_args gthread-2.0"
27786 ;;
27787 esac
27788 done
27789
27790 no_gtk=""
27791
27792 # Extract the first word of "pkg-config", so it can be a program name with args.
27793 set dummy pkg-config; ac_word=$2
27794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27799 case $PKG_CONFIG in
27800 [\\/]* | ?:[\\/]*)
27801 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27802 ;;
27803 *)
27804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27805 for as_dir in $PATH
27806 do
27807 IFS=$as_save_IFS
27808 test -z "$as_dir" && as_dir=.
27809 for ac_exec_ext in '' $ac_executable_extensions; do
27810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27811 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27813 break 2
27814 fi
27815 done
27816 done
27817 IFS=$as_save_IFS
27818
27819 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27820 ;;
27821 esac
27822 fi
27823 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27824 if test -n "$PKG_CONFIG"; then
27825 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27826 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27827 else
27828 { echo "$as_me:$LINENO: result: no" >&5
27829 echo "${ECHO_T}no" >&6; }
27830 fi
27831
27832
27833
27834 if test x$PKG_CONFIG != xno ; then
27835 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27836 :
27837 else
27838 echo "*** pkg-config too old; version 0.7 or better required."
27839 no_gtk=yes
27840 PKG_CONFIG=no
27841 fi
27842 else
27843 no_gtk=yes
27844 fi
27845
27846 min_gtk_version=2.4.0
27847 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27848 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27849
27850 if test x$PKG_CONFIG != xno ; then
27851 ## don't try to run the test against uninstalled libtool libs
27852 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27853 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27854 enable_gtktest=no
27855 fi
27856
27857 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27858 :
27859 else
27860 no_gtk=yes
27861 fi
27862 fi
27863
27864 if test x"$no_gtk" = x ; then
27865 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27866 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27867 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27868 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27869 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27871 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27873 if test "x$enable_gtktest" = "xyes" ; then
27874 ac_save_CFLAGS="$CFLAGS"
27875 ac_save_LIBS="$LIBS"
27876 CFLAGS="$CFLAGS $GTK_CFLAGS"
27877 LIBS="$GTK_LIBS $LIBS"
27878 rm -f conf.gtktest
27879 if test "$cross_compiling" = yes; then
27880 echo $ac_n "cross compiling; assumed OK... $ac_c"
27881 else
27882 cat >conftest.$ac_ext <<_ACEOF
27883 /* confdefs.h. */
27884 _ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27888
27889 #include <gtk/gtk.h>
27890 #include <stdio.h>
27891 #include <stdlib.h>
27892
27893 int
27894 main ()
27895 {
27896 int major, minor, micro;
27897 char *tmp_version;
27898
27899 system ("touch conf.gtktest");
27900
27901 /* HP/UX 9 (%@#!) writes to sscanf strings */
27902 tmp_version = g_strdup("$min_gtk_version");
27903 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27904 printf("%s, bad version string\n", "$min_gtk_version");
27905 exit(1);
27906 }
27907
27908 if ((gtk_major_version != $gtk_config_major_version) ||
27909 (gtk_minor_version != $gtk_config_minor_version) ||
27910 (gtk_micro_version != $gtk_config_micro_version))
27911 {
27912 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27913 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27914 gtk_major_version, gtk_minor_version, gtk_micro_version);
27915 printf ("*** was found! If pkg-config was correct, then it is best\n");
27916 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27917 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27918 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27919 printf("*** required on your system.\n");
27920 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27921 printf("*** to point to the correct configuration files\n");
27922 }
27923 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27924 (gtk_minor_version != GTK_MINOR_VERSION) ||
27925 (gtk_micro_version != GTK_MICRO_VERSION))
27926 {
27927 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27928 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27929 printf("*** library (version %d.%d.%d)\n",
27930 gtk_major_version, gtk_minor_version, gtk_micro_version);
27931 }
27932 else
27933 {
27934 if ((gtk_major_version > major) ||
27935 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27936 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27937 {
27938 return 0;
27939 }
27940 else
27941 {
27942 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27943 gtk_major_version, gtk_minor_version, gtk_micro_version);
27944 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27945 major, minor, micro);
27946 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27947 printf("***\n");
27948 printf("*** If you have already installed a sufficiently new version, this error\n");
27949 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27950 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27951 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27952 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27953 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27954 printf("*** so that the correct libraries are found at run-time))\n");
27955 }
27956 }
27957 return 1;
27958 }
27959
27960 _ACEOF
27961 rm -f conftest$ac_exeext
27962 if { (ac_try="$ac_link"
27963 case "(($ac_try" in
27964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27966 esac
27967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_link") 2>&5
27969 ac_status=$?
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27972 { (case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27975 esac
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_try") 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 :
27982 else
27983 echo "$as_me: program exited with status $ac_status" >&5
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27986
27987 ( exit $ac_status )
27988 no_gtk=yes
27989 fi
27990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27991 fi
27992
27993
27994 CFLAGS="$ac_save_CFLAGS"
27995 LIBS="$ac_save_LIBS"
27996 fi
27997 fi
27998 if test "x$no_gtk" = x ; then
27999 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28000 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28001 wx_cv_lib_gtk=2.0
28002 else
28003 { echo "$as_me:$LINENO: result: no" >&5
28004 echo "${ECHO_T}no" >&6; }
28005 if test "$PKG_CONFIG" = "no" ; then
28006 echo "*** A new enough version of pkg-config was not found."
28007 echo "*** See http://pkgconfig.sourceforge.net"
28008 else
28009 if test -f conf.gtktest ; then
28010 :
28011 else
28012 echo "*** Could not run GTK+ test program, checking why..."
28013 ac_save_CFLAGS="$CFLAGS"
28014 ac_save_LIBS="$LIBS"
28015 CFLAGS="$CFLAGS $GTK_CFLAGS"
28016 LIBS="$LIBS $GTK_LIBS"
28017 cat >conftest.$ac_ext <<_ACEOF
28018 /* confdefs.h. */
28019 _ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023
28024 #include <gtk/gtk.h>
28025 #include <stdio.h>
28026
28027 int
28028 main ()
28029 {
28030 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28031 ;
28032 return 0;
28033 }
28034 _ACEOF
28035 rm -f conftest.$ac_objext conftest$ac_exeext
28036 if { (ac_try="$ac_link"
28037 case "(($ac_try" in
28038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28039 *) ac_try_echo=$ac_try;;
28040 esac
28041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28042 (eval "$ac_link") 2>conftest.er1
28043 ac_status=$?
28044 grep -v '^ *+' conftest.er1 >conftest.err
28045 rm -f conftest.er1
28046 cat conftest.err >&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); } && {
28049 test -z "$ac_c_werror_flag" ||
28050 test ! -s conftest.err
28051 } && test -s conftest$ac_exeext &&
28052 $as_test_x conftest$ac_exeext; then
28053 echo "*** The test program compiled, but did not run. This usually means"
28054 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28055 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28056 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28057 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28058 echo "*** is required on your system"
28059 echo "***"
28060 echo "*** If you have an old version installed, it is best to remove it, although"
28061 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28062 else
28063 echo "$as_me: failed program was:" >&5
28064 sed 's/^/| /' conftest.$ac_ext >&5
28065
28066 echo "*** The test program failed to compile or link. See the file config.log for the"
28067 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28068 fi
28069
28070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28071 conftest$ac_exeext conftest.$ac_ext
28072 CFLAGS="$ac_save_CFLAGS"
28073 LIBS="$ac_save_LIBS"
28074 fi
28075 fi
28076 GTK_CFLAGS=""
28077 GTK_LIBS=""
28078 :
28079 fi
28080
28081
28082 rm -f conf.gtktest
28083
28084
28085 case "${host}" in
28086 *-*-solaris2* )
28087 if test "$wxUSE_SHARED" != "yes"; then
28088 GTK_LIBS="$GTK_LIBS -lX11"
28089 fi
28090 esac
28091 fi
28092
28093 if test -z "$wx_cv_lib_gtk"; then
28094 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28095
28096 # Check whether --with-gtk-prefix was given.
28097 if test "${with_gtk_prefix+set}" = set; then
28098 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28099 else
28100 gtk_config_prefix=""
28101 fi
28102
28103
28104 # Check whether --with-gtk-exec-prefix was given.
28105 if test "${with_gtk_exec_prefix+set}" = set; then
28106 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28107 else
28108 gtk_config_exec_prefix=""
28109 fi
28110
28111 # Check whether --enable-gtktest was given.
28112 if test "${enable_gtktest+set}" = set; then
28113 enableval=$enable_gtktest;
28114 else
28115 enable_gtktest=yes
28116 fi
28117
28118
28119 for module in . $GTK_MODULES
28120 do
28121 case "$module" in
28122 gthread)
28123 gtk_config_args="$gtk_config_args gthread"
28124 ;;
28125 esac
28126 done
28127
28128 if test x$gtk_config_exec_prefix != x ; then
28129 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28130 if test x${GTK_CONFIG+set} != xset ; then
28131 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28132 fi
28133 fi
28134 if test x$gtk_config_prefix != x ; then
28135 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28136 if test x${GTK_CONFIG+set} != xset ; then
28137 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28138 fi
28139 fi
28140
28141 # Extract the first word of "gtk-config", so it can be a program name with args.
28142 set dummy gtk-config; ac_word=$2
28143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28145 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 case $GTK_CONFIG in
28149 [\\/]* | ?:[\\/]*)
28150 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28151 ;;
28152 *)
28153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28154 for as_dir in $PATH
28155 do
28156 IFS=$as_save_IFS
28157 test -z "$as_dir" && as_dir=.
28158 for ac_exec_ext in '' $ac_executable_extensions; do
28159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28160 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28162 break 2
28163 fi
28164 done
28165 done
28166 IFS=$as_save_IFS
28167
28168 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28169 ;;
28170 esac
28171 fi
28172 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28173 if test -n "$GTK_CONFIG"; then
28174 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28175 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28176 else
28177 { echo "$as_me:$LINENO: result: no" >&5
28178 echo "${ECHO_T}no" >&6; }
28179 fi
28180
28181
28182 min_gtk_version=1.2.7
28183 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28184 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28185 no_gtk=""
28186 if test "$GTK_CONFIG" = "no" ; then
28187 no_gtk=yes
28188 else
28189 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28190 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28191 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28193 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28195 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28197 if test "x$enable_gtktest" = "xyes" ; then
28198 ac_save_CFLAGS="$CFLAGS"
28199 ac_save_LIBS="$LIBS"
28200 CFLAGS="$CFLAGS $GTK_CFLAGS"
28201 LIBS="$GTK_LIBS $LIBS"
28202 rm -f conf.gtktest
28203 if test "$cross_compiling" = yes; then
28204 echo $ac_n "cross compiling; assumed OK... $ac_c"
28205 else
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212
28213 #include <gtk/gtk.h>
28214 #include <stdio.h>
28215 #include <stdlib.h>
28216
28217 int
28218 main ()
28219 {
28220 int major, minor, micro;
28221 char *tmp_version;
28222
28223 system ("touch conf.gtktest");
28224
28225 /* HP/UX 9 (%@#!) writes to sscanf strings */
28226 tmp_version = g_strdup("$min_gtk_version");
28227 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28228 printf("%s, bad version string\n", "$min_gtk_version");
28229 exit(1);
28230 }
28231
28232 if ((gtk_major_version != $gtk_config_major_version) ||
28233 (gtk_minor_version != $gtk_config_minor_version) ||
28234 (gtk_micro_version != $gtk_config_micro_version))
28235 {
28236 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28237 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28238 gtk_major_version, gtk_minor_version, gtk_micro_version);
28239 printf ("*** was found! If gtk-config was correct, then it is best\n");
28240 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28241 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28242 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28243 printf("*** required on your system.\n");
28244 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28245 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28246 printf("*** before re-running configure\n");
28247 }
28248 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28249 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28250 (gtk_minor_version != GTK_MINOR_VERSION) ||
28251 (gtk_micro_version != GTK_MICRO_VERSION))
28252 {
28253 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28254 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28255 printf("*** library (version %d.%d.%d)\n",
28256 gtk_major_version, gtk_minor_version, gtk_micro_version);
28257 }
28258 #endif /* defined (GTK_MAJOR_VERSION) ... */
28259 else
28260 {
28261 if ((gtk_major_version > major) ||
28262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28264 {
28265 return 0;
28266 }
28267 else
28268 {
28269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28270 gtk_major_version, gtk_minor_version, gtk_micro_version);
28271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28272 major, minor, micro);
28273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28274 printf("***\n");
28275 printf("*** If you have already installed a sufficiently new version, this error\n");
28276 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28278 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28279 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28281 printf("*** so that the correct libraries are found at run-time))\n");
28282 }
28283 }
28284 return 1;
28285 }
28286
28287 _ACEOF
28288 rm -f conftest$ac_exeext
28289 if { (ac_try="$ac_link"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28293 esac
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_link") 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28299 { (case "(($ac_try" in
28300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28301 *) ac_try_echo=$ac_try;;
28302 esac
28303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28304 (eval "$ac_try") 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28308 :
28309 else
28310 echo "$as_me: program exited with status $ac_status" >&5
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ( exit $ac_status )
28315 no_gtk=yes
28316 fi
28317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28318 fi
28319
28320
28321 CFLAGS="$ac_save_CFLAGS"
28322 LIBS="$ac_save_LIBS"
28323 fi
28324 fi
28325 if test "x$no_gtk" = x ; then
28326 { echo "$as_me:$LINENO: result: yes" >&5
28327 echo "${ECHO_T}yes" >&6; }
28328 wx_cv_lib_gtk=1.2.7
28329 else
28330 { echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6; }
28332 if test "$GTK_CONFIG" = "no" ; then
28333 echo "*** The gtk-config script installed by GTK could not be found"
28334 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28335 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28336 echo "*** full path to gtk-config."
28337 else
28338 if test -f conf.gtktest ; then
28339 :
28340 else
28341 echo "*** Could not run GTK test program, checking why..."
28342 CFLAGS="$CFLAGS $GTK_CFLAGS"
28343 LIBS="$LIBS $GTK_LIBS"
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350
28351 #include <gtk/gtk.h>
28352 #include <stdio.h>
28353
28354 int
28355 main ()
28356 {
28357 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28358 ;
28359 return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (ac_try="$ac_link"
28364 case "(($ac_try" in
28365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28366 *) ac_try_echo=$ac_try;;
28367 esac
28368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28369 (eval "$ac_link") 2>conftest.er1
28370 ac_status=$?
28371 grep -v '^ *+' conftest.er1 >conftest.err
28372 rm -f conftest.er1
28373 cat conftest.err >&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } && {
28376 test -z "$ac_c_werror_flag" ||
28377 test ! -s conftest.err
28378 } && test -s conftest$ac_exeext &&
28379 $as_test_x conftest$ac_exeext; then
28380 echo "*** The test program compiled, but did not run. This usually means"
28381 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28382 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28383 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28384 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28385 echo "*** is required on your system"
28386 echo "***"
28387 echo "*** If you have an old version installed, it is best to remove it, although"
28388 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28389 echo "***"
28390 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28391 echo "*** came with the system with the command"
28392 echo "***"
28393 echo "*** rpm --erase --nodeps gtk gtk-devel"
28394 else
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.$ac_ext >&5
28397
28398 echo "*** The test program failed to compile or link. See the file config.log for the"
28399 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28400 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28401 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28402 fi
28403
28404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28405 conftest$ac_exeext conftest.$ac_ext
28406 CFLAGS="$ac_save_CFLAGS"
28407 LIBS="$ac_save_LIBS"
28408 fi
28409 fi
28410 GTK_CFLAGS=""
28411 GTK_LIBS=""
28412 :
28413 fi
28414
28415
28416 rm -f conf.gtktest
28417
28418
28419 if test -z "$wx_cv_lib_gtk"; then
28420
28421 # Check whether --with-gtk-prefix was given.
28422 if test "${with_gtk_prefix+set}" = set; then
28423 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28424 else
28425 gtk_config_prefix=""
28426 fi
28427
28428
28429 # Check whether --with-gtk-exec-prefix was given.
28430 if test "${with_gtk_exec_prefix+set}" = set; then
28431 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28432 else
28433 gtk_config_exec_prefix=""
28434 fi
28435
28436 # Check whether --enable-gtktest was given.
28437 if test "${enable_gtktest+set}" = set; then
28438 enableval=$enable_gtktest;
28439 else
28440 enable_gtktest=yes
28441 fi
28442
28443
28444 for module in . $GTK_MODULES
28445 do
28446 case "$module" in
28447 gthread)
28448 gtk_config_args="$gtk_config_args gthread"
28449 ;;
28450 esac
28451 done
28452
28453 if test x$gtk_config_exec_prefix != x ; then
28454 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28455 if test x${GTK_CONFIG+set} != xset ; then
28456 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28457 fi
28458 fi
28459 if test x$gtk_config_prefix != x ; then
28460 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28461 if test x${GTK_CONFIG+set} != xset ; then
28462 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28463 fi
28464 fi
28465
28466 # Extract the first word of "gtk-config", so it can be a program name with args.
28467 set dummy gtk-config; ac_word=$2
28468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28471 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 else
28473 case $GTK_CONFIG in
28474 [\\/]* | ?:[\\/]*)
28475 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28476 ;;
28477 *)
28478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28479 for as_dir in $PATH
28480 do
28481 IFS=$as_save_IFS
28482 test -z "$as_dir" && as_dir=.
28483 for ac_exec_ext in '' $ac_executable_extensions; do
28484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28485 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28487 break 2
28488 fi
28489 done
28490 done
28491 IFS=$as_save_IFS
28492
28493 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28494 ;;
28495 esac
28496 fi
28497 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28498 if test -n "$GTK_CONFIG"; then
28499 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28500 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28501 else
28502 { echo "$as_me:$LINENO: result: no" >&5
28503 echo "${ECHO_T}no" >&6; }
28504 fi
28505
28506
28507 min_gtk_version=1.2.3
28508 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28509 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28510 no_gtk=""
28511 if test "$GTK_CONFIG" = "no" ; then
28512 no_gtk=yes
28513 else
28514 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28515 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28516 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28518 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28520 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28522 if test "x$enable_gtktest" = "xyes" ; then
28523 ac_save_CFLAGS="$CFLAGS"
28524 ac_save_LIBS="$LIBS"
28525 CFLAGS="$CFLAGS $GTK_CFLAGS"
28526 LIBS="$GTK_LIBS $LIBS"
28527 rm -f conf.gtktest
28528 if test "$cross_compiling" = yes; then
28529 echo $ac_n "cross compiling; assumed OK... $ac_c"
28530 else
28531 cat >conftest.$ac_ext <<_ACEOF
28532 /* confdefs.h. */
28533 _ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28537
28538 #include <gtk/gtk.h>
28539 #include <stdio.h>
28540 #include <stdlib.h>
28541
28542 int
28543 main ()
28544 {
28545 int major, minor, micro;
28546 char *tmp_version;
28547
28548 system ("touch conf.gtktest");
28549
28550 /* HP/UX 9 (%@#!) writes to sscanf strings */
28551 tmp_version = g_strdup("$min_gtk_version");
28552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28553 printf("%s, bad version string\n", "$min_gtk_version");
28554 exit(1);
28555 }
28556
28557 if ((gtk_major_version != $gtk_config_major_version) ||
28558 (gtk_minor_version != $gtk_config_minor_version) ||
28559 (gtk_micro_version != $gtk_config_micro_version))
28560 {
28561 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28562 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28563 gtk_major_version, gtk_minor_version, gtk_micro_version);
28564 printf ("*** was found! If gtk-config was correct, then it is best\n");
28565 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28566 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28567 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28568 printf("*** required on your system.\n");
28569 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28570 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28571 printf("*** before re-running configure\n");
28572 }
28573 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28574 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28575 (gtk_minor_version != GTK_MINOR_VERSION) ||
28576 (gtk_micro_version != GTK_MICRO_VERSION))
28577 {
28578 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28579 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28580 printf("*** library (version %d.%d.%d)\n",
28581 gtk_major_version, gtk_minor_version, gtk_micro_version);
28582 }
28583 #endif /* defined (GTK_MAJOR_VERSION) ... */
28584 else
28585 {
28586 if ((gtk_major_version > major) ||
28587 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28588 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28589 {
28590 return 0;
28591 }
28592 else
28593 {
28594 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28595 gtk_major_version, gtk_minor_version, gtk_micro_version);
28596 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28597 major, minor, micro);
28598 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28599 printf("***\n");
28600 printf("*** If you have already installed a sufficiently new version, this error\n");
28601 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28602 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28603 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28604 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28605 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28606 printf("*** so that the correct libraries are found at run-time))\n");
28607 }
28608 }
28609 return 1;
28610 }
28611
28612 _ACEOF
28613 rm -f conftest$ac_exeext
28614 if { (ac_try="$ac_link"
28615 case "(($ac_try" in
28616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28617 *) ac_try_echo=$ac_try;;
28618 esac
28619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28620 (eval "$ac_link") 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28624 { (case "(($ac_try" in
28625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28626 *) ac_try_echo=$ac_try;;
28627 esac
28628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28629 (eval "$ac_try") 2>&5
28630 ac_status=$?
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; }; then
28633 :
28634 else
28635 echo "$as_me: program exited with status $ac_status" >&5
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.$ac_ext >&5
28638
28639 ( exit $ac_status )
28640 no_gtk=yes
28641 fi
28642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28643 fi
28644
28645
28646 CFLAGS="$ac_save_CFLAGS"
28647 LIBS="$ac_save_LIBS"
28648 fi
28649 fi
28650 if test "x$no_gtk" = x ; then
28651 { echo "$as_me:$LINENO: result: yes" >&5
28652 echo "${ECHO_T}yes" >&6; }
28653 wx_cv_lib_gtk=1.2.3
28654 else
28655 { echo "$as_me:$LINENO: result: no" >&5
28656 echo "${ECHO_T}no" >&6; }
28657 if test "$GTK_CONFIG" = "no" ; then
28658 echo "*** The gtk-config script installed by GTK could not be found"
28659 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28660 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28661 echo "*** full path to gtk-config."
28662 else
28663 if test -f conf.gtktest ; then
28664 :
28665 else
28666 echo "*** Could not run GTK test program, checking why..."
28667 CFLAGS="$CFLAGS $GTK_CFLAGS"
28668 LIBS="$LIBS $GTK_LIBS"
28669 cat >conftest.$ac_ext <<_ACEOF
28670 /* confdefs.h. */
28671 _ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28675
28676 #include <gtk/gtk.h>
28677 #include <stdio.h>
28678
28679 int
28680 main ()
28681 {
28682 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28683 ;
28684 return 0;
28685 }
28686 _ACEOF
28687 rm -f conftest.$ac_objext conftest$ac_exeext
28688 if { (ac_try="$ac_link"
28689 case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28692 esac
28693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_link") 2>conftest.er1
28695 ac_status=$?
28696 grep -v '^ *+' conftest.er1 >conftest.err
28697 rm -f conftest.er1
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } && {
28701 test -z "$ac_c_werror_flag" ||
28702 test ! -s conftest.err
28703 } && test -s conftest$ac_exeext &&
28704 $as_test_x conftest$ac_exeext; then
28705 echo "*** The test program compiled, but did not run. This usually means"
28706 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28707 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28708 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28709 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28710 echo "*** is required on your system"
28711 echo "***"
28712 echo "*** If you have an old version installed, it is best to remove it, although"
28713 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28714 echo "***"
28715 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28716 echo "*** came with the system with the command"
28717 echo "***"
28718 echo "*** rpm --erase --nodeps gtk gtk-devel"
28719 else
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28722
28723 echo "*** The test program failed to compile or link. See the file config.log for the"
28724 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28725 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28726 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28727 fi
28728
28729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28730 conftest$ac_exeext conftest.$ac_ext
28731 CFLAGS="$ac_save_CFLAGS"
28732 LIBS="$ac_save_LIBS"
28733 fi
28734 fi
28735 GTK_CFLAGS=""
28736 GTK_LIBS=""
28737 :
28738 fi
28739
28740
28741 rm -f conf.gtktest
28742
28743 fi
28744 fi
28745 fi
28746
28747 if test -z "$wx_cv_lib_gtk"; then
28748 wx_cv_lib_gtk=none
28749 else
28750 wx_cv_cflags_gtk=$GTK_CFLAGS
28751 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28752 fi
28753
28754
28755 fi
28756
28757
28758 if test "$gtk_version_cached" = 1; then
28759 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28760 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28761 fi
28762
28763 case "$wx_cv_lib_gtk" in
28764 2.0) WXGTK2=1
28765 TOOLKIT_VERSION=2
28766 ;;
28767 1.2.7) WXGTK127=1
28768 WXGTK12=1
28769 ;;
28770 1.2.3) WXGTK12=1
28771 ;;
28772 *) { { echo "$as_me:$LINENO: error:
28773 The development files for GTK+ were not found. For GTK+ 2, please
28774 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28775 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28776 and that the version is 1.2.3 or above. Also check that the
28777 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28778 --libs' are in the LD_LIBRARY_PATH or equivalent.
28779 " >&5
28780 echo "$as_me: error:
28781 The development files for GTK+ were not found. For GTK+ 2, please
28782 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28783 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28784 and that the version is 1.2.3 or above. Also check that the
28785 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28786 --libs' are in the LD_LIBRARY_PATH or equivalent.
28787 " >&2;}
28788 { (exit 1); exit 1; }; }
28789 ;;
28790 esac
28791
28792 if test "$WXGTK2" = 1; then
28793 save_CFLAGS="$CFLAGS"
28794 save_LIBS="$LIBS"
28795 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28796 LIBS="$LIBS $wx_cv_libs_gtk"
28797
28798 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28799 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28800 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28801 echo $ECHO_N "(cached) $ECHO_C" >&6
28802 else
28803 cat >conftest.$ac_ext <<_ACEOF
28804 /* confdefs.h. */
28805 _ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 #include <gtk/gtk.h>
28810
28811 int
28812 main ()
28813 {
28814 #ifndef gtk_icon_size_lookup
28815 (void) gtk_icon_size_lookup;
28816 #endif
28817
28818 ;
28819 return 0;
28820 }
28821 _ACEOF
28822 rm -f conftest.$ac_objext
28823 if { (ac_try="$ac_compile"
28824 case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28827 esac
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_compile") 2>conftest.er1
28830 ac_status=$?
28831 grep -v '^ *+' conftest.er1 >conftest.err
28832 rm -f conftest.er1
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } && {
28836 test -z "$ac_c_werror_flag" ||
28837 test ! -s conftest.err
28838 } && test -s conftest.$ac_objext; then
28839 ac_cv_have_decl_gtk_icon_size_lookup=yes
28840 else
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28843
28844 ac_cv_have_decl_gtk_icon_size_lookup=no
28845 fi
28846
28847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28848 fi
28849 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28850 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28851 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28852
28853 cat >>confdefs.h <<_ACEOF
28854 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28855 _ACEOF
28856
28857
28858 else
28859 cat >>confdefs.h <<_ACEOF
28860 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28861 _ACEOF
28862
28863 cat >>confdefs.h <<\_ACEOF
28864 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28865 _ACEOF
28866
28867 fi
28868
28869
28870
28871
28872 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28873 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28874 cat >conftest.$ac_ext <<_ACEOF
28875 /* confdefs.h. */
28876 _ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880
28881 #include <gtk/gtk.h>
28882
28883 int
28884 main ()
28885 {
28886
28887 #if !GTK_CHECK_VERSION(2,10,0)
28888 Not GTK+ 2.10
28889 #endif
28890
28891 ;
28892 return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext
28896 if { (ac_try="$ac_compile"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_compile") 2>conftest.er1
28903 ac_status=$?
28904 grep -v '^ *+' conftest.er1 >conftest.err
28905 rm -f conftest.er1
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest.$ac_objext; then
28912
28913 cat >>confdefs.h <<\_ACEOF
28914 #define __WXGTK210__ 1
28915 _ACEOF
28916
28917 cat >>confdefs.h <<\_ACEOF
28918 #define __WXGTK26__ 1
28919 _ACEOF
28920
28921 { echo "$as_me:$LINENO: result: yes" >&5
28922 echo "${ECHO_T}yes" >&6; }
28923 ac_wxgtk210=1
28924
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929
28930 { echo "$as_me:$LINENO: result: no" >&5
28931 echo "${ECHO_T}no" >&6; }
28932 ac_wxgtk210=0
28933
28934 fi
28935
28936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28937
28938 if test "$ac_wxgtk210" = 0; then
28939 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28940 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28941 cat >conftest.$ac_ext <<_ACEOF
28942 /* confdefs.h. */
28943 _ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28947
28948 #include <gtk/gtk.h>
28949
28950 int
28951 main ()
28952 {
28953
28954 #if !GTK_CHECK_VERSION(2,6,0)
28955 Not GTK+ 2.6
28956 #endif
28957
28958 ;
28959 return 0;
28960 }
28961 _ACEOF
28962 rm -f conftest.$ac_objext
28963 if { (ac_try="$ac_compile"
28964 case "(($ac_try" in
28965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28966 *) ac_try_echo=$ac_try;;
28967 esac
28968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28969 (eval "$ac_compile") 2>conftest.er1
28970 ac_status=$?
28971 grep -v '^ *+' conftest.er1 >conftest.err
28972 rm -f conftest.er1
28973 cat conftest.err >&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } && {
28976 test -z "$ac_c_werror_flag" ||
28977 test ! -s conftest.err
28978 } && test -s conftest.$ac_objext; then
28979
28980 cat >>confdefs.h <<\_ACEOF
28981 #define __WXGTK26__ 1
28982 _ACEOF
28983
28984 { echo "$as_me:$LINENO: result: yes" >&5
28985 echo "${ECHO_T}yes" >&6; }
28986 ac_wxgtk26=1
28987
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28991
28992
28993 { echo "$as_me:$LINENO: result: no" >&5
28994 echo "${ECHO_T}no" >&6; }
28995 ac_wxgtk26=0
28996
28997 fi
28998
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29000 fi
29001
29002 CFLAGS="$save_CFLAGS"
29003 LIBS="$save_LIBS"
29004 else
29005 if test "$wxUSE_UNICODE" = "yes"; then
29006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29008 wxUSE_UNICODE=no
29009 fi
29010
29011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29015 else
29016 ac_check_lib_save_LIBS=$LIBS
29017 LIBS="-lgdk $LIBS"
29018 cat >conftest.$ac_ext <<_ACEOF
29019 /* confdefs.h. */
29020 _ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024
29025 /* Override any GCC internal prototype to avoid an error.
29026 Use char because int might match the return type of a GCC
29027 builtin and then its argument prototype would still apply. */
29028 #ifdef __cplusplus
29029 extern "C"
29030 #endif
29031 char gdk_im_open ();
29032 int
29033 main ()
29034 {
29035 return gdk_im_open ();
29036 ;
29037 return 0;
29038 }
29039 _ACEOF
29040 rm -f conftest.$ac_objext conftest$ac_exeext
29041 if { (ac_try="$ac_link"
29042 case "(($ac_try" in
29043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29044 *) ac_try_echo=$ac_try;;
29045 esac
29046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29047 (eval "$ac_link") 2>conftest.er1
29048 ac_status=$?
29049 grep -v '^ *+' conftest.er1 >conftest.err
29050 rm -f conftest.er1
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } && {
29054 test -z "$ac_c_werror_flag" ||
29055 test ! -s conftest.err
29056 } && test -s conftest$ac_exeext &&
29057 $as_test_x conftest$ac_exeext; then
29058 ac_cv_lib_gdk_gdk_im_open=yes
29059 else
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.$ac_ext >&5
29062
29063 ac_cv_lib_gdk_gdk_im_open=no
29064 fi
29065
29066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29067 conftest$ac_exeext conftest.$ac_ext
29068 LIBS=$ac_check_lib_save_LIBS
29069 fi
29070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29073 cat >>confdefs.h <<\_ACEOF
29074 #define HAVE_XIM 1
29075 _ACEOF
29076
29077 fi
29078
29079
29080 if test "$USE_DARWIN" != 1; then
29081
29082 for ac_func in poll
29083 do
29084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 cat >conftest.$ac_ext <<_ACEOF
29091 /* confdefs.h. */
29092 _ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29098 #define $ac_func innocuous_$ac_func
29099
29100 /* System header to define __stub macros and hopefully few prototypes,
29101 which can conflict with char $ac_func (); below.
29102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29103 <limits.h> exists even on freestanding compilers. */
29104
29105 #ifdef __STDC__
29106 # include <limits.h>
29107 #else
29108 # include <assert.h>
29109 #endif
29110
29111 #undef $ac_func
29112
29113 /* Override any GCC internal prototype to avoid an error.
29114 Use char because int might match the return type of a GCC
29115 builtin and then its argument prototype would still apply. */
29116 #ifdef __cplusplus
29117 extern "C"
29118 #endif
29119 char $ac_func ();
29120 /* The GNU C library defines this for functions which it implements
29121 to always fail with ENOSYS. Some functions are actually named
29122 something starting with __ and the normal name is an alias. */
29123 #if defined __stub_$ac_func || defined __stub___$ac_func
29124 choke me
29125 #endif
29126
29127 int
29128 main ()
29129 {
29130 return $ac_func ();
29131 ;
29132 return 0;
29133 }
29134 _ACEOF
29135 rm -f conftest.$ac_objext conftest$ac_exeext
29136 if { (ac_try="$ac_link"
29137 case "(($ac_try" in
29138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29139 *) ac_try_echo=$ac_try;;
29140 esac
29141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29142 (eval "$ac_link") 2>conftest.er1
29143 ac_status=$?
29144 grep -v '^ *+' conftest.er1 >conftest.err
29145 rm -f conftest.er1
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } && {
29149 test -z "$ac_c_werror_flag" ||
29150 test ! -s conftest.err
29151 } && test -s conftest$ac_exeext &&
29152 $as_test_x conftest$ac_exeext; then
29153 eval "$as_ac_var=yes"
29154 else
29155 echo "$as_me: failed program was:" >&5
29156 sed 's/^/| /' conftest.$ac_ext >&5
29157
29158 eval "$as_ac_var=no"
29159 fi
29160
29161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29162 conftest$ac_exeext conftest.$ac_ext
29163 fi
29164 ac_res=`eval echo '${'$as_ac_var'}'`
29165 { echo "$as_me:$LINENO: result: $ac_res" >&5
29166 echo "${ECHO_T}$ac_res" >&6; }
29167 if test `eval echo '${'$as_ac_var'}'` = yes; then
29168 cat >>confdefs.h <<_ACEOF
29169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29170 _ACEOF
29171
29172 fi
29173 done
29174
29175 fi
29176 fi
29177
29178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29180
29181 AFMINSTALL=afminstall
29182 TOOLKIT=GTK
29183 GUIDIST=GTK_DIST
29184
29185 if test "$wxUSE_GPE" = "yes"; then
29186 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29187 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29188
29189 ac_find_libraries=
29190 for ac_dir in $SEARCH_LIB;
29191 do
29192 for ac_extension in a so sl dylib dll.a; do
29193 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29194 ac_find_libraries=$ac_dir
29195 break 2
29196 fi
29197 done
29198 done
29199
29200 if test "$ac_find_libraries" != "" ; then
29201
29202 if test "$ac_find_libraries" = "default location"; then
29203 ac_path_to_link=""
29204 else
29205 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29206 result=$?
29207 if test $result = 0; then
29208 ac_path_to_link=""
29209 else
29210 ac_path_to_link=" -L$ac_find_libraries"
29211 fi
29212 fi
29213
29214 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29215 WXGPE=1
29216 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29217 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29218 else
29219 { echo "$as_me:$LINENO: result: not found" >&5
29220 echo "${ECHO_T}not found" >&6; }
29221 fi
29222
29223 fi
29224 fi
29225
29226 if test "$wxUSE_MGL" = 1; then
29227 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29228 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29229 if test "x$MGL_ROOT" = x ; then
29230 { echo "$as_me:$LINENO: result: not found" >&5
29231 echo "${ECHO_T}not found" >&6; }
29232 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29233 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29234 { (exit 1); exit 1; }; }
29235 else
29236 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29237 echo "${ECHO_T}$MGL_ROOT" >&6; }
29238 fi
29239
29240 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29241 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29242 case "${host}" in
29243 *-*-linux* )
29244 if test "x$wxUSE_SHARED" = xyes ; then
29245 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29246 else
29247 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29248 fi
29249 ;;
29250 *-pc-msdosdjgpp )
29251 mgl_os_candidates="dos32/dj2"
29252 ;;
29253 *)
29254 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29255 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29256 { (exit 1); exit 1; }; }
29257 esac
29258
29259 mgl_lib_type=""
29260 mgl_os=""
29261
29262 for mgl_os_i in $mgl_os_candidates ; do
29263 if test "x$mgl_os" = x ; then
29264 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29265 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29266 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29267 mgl_lib_type=debug
29268 mgl_os=$mgl_os_i
29269 fi
29270 fi
29271 if test "x$mgl_lib_type" = x ; then
29272 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29273 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29274 mgl_lib_type=release
29275 mgl_os=$mgl_os_i
29276 fi
29277 fi
29278 fi
29279 done
29280
29281 if test "x$mgl_os" = x ; then
29282 { echo "$as_me:$LINENO: result: not found" >&5
29283 echo "${ECHO_T}not found" >&6; }
29284 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29285 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29286 { (exit 1); exit 1; }; }
29287 fi
29288 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29289 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29290
29291 wxUSE_UNIVERSAL="yes"
29292
29293 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29294 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29295
29296 AFMINSTALL=afminstall
29297 TOOLKIT=MGL
29298 GUIDIST=MGL_DIST
29299 fi
29300
29301 if test "$wxUSE_DFB" = 1; then
29302
29303
29304 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29305 if test -n "$ac_tool_prefix"; then
29306 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29307 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29311 echo $ECHO_N "(cached) $ECHO_C" >&6
29312 else
29313 case $PKG_CONFIG in
29314 [\\/]* | ?:[\\/]*)
29315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29316 ;;
29317 *)
29318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29319 for as_dir in $PATH
29320 do
29321 IFS=$as_save_IFS
29322 test -z "$as_dir" && as_dir=.
29323 for ac_exec_ext in '' $ac_executable_extensions; do
29324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29327 break 2
29328 fi
29329 done
29330 done
29331 IFS=$as_save_IFS
29332
29333 ;;
29334 esac
29335 fi
29336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29337 if test -n "$PKG_CONFIG"; then
29338 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29339 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29340 else
29341 { echo "$as_me:$LINENO: result: no" >&5
29342 echo "${ECHO_T}no" >&6; }
29343 fi
29344
29345
29346 fi
29347 if test -z "$ac_cv_path_PKG_CONFIG"; then
29348 ac_pt_PKG_CONFIG=$PKG_CONFIG
29349 # Extract the first word of "pkg-config", so it can be a program name with args.
29350 set dummy pkg-config; ac_word=$2
29351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29353 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29354 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29356 case $ac_pt_PKG_CONFIG in
29357 [\\/]* | ?:[\\/]*)
29358 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29359 ;;
29360 *)
29361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29362 for as_dir in $PATH
29363 do
29364 IFS=$as_save_IFS
29365 test -z "$as_dir" && as_dir=.
29366 for ac_exec_ext in '' $ac_executable_extensions; do
29367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29368 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29370 break 2
29371 fi
29372 done
29373 done
29374 IFS=$as_save_IFS
29375
29376 ;;
29377 esac
29378 fi
29379 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29380 if test -n "$ac_pt_PKG_CONFIG"; then
29381 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29382 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29383 else
29384 { echo "$as_me:$LINENO: result: no" >&5
29385 echo "${ECHO_T}no" >&6; }
29386 fi
29387
29388 if test "x$ac_pt_PKG_CONFIG" = x; then
29389 PKG_CONFIG=""
29390 else
29391 case $cross_compiling:$ac_tool_warned in
29392 yes:)
29393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29394 whose name does not start with the host triplet. If you think this
29395 configuration is useful to you, please write to autoconf@gnu.org." >&5
29396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29397 whose name does not start with the host triplet. If you think this
29398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29399 ac_tool_warned=yes ;;
29400 esac
29401 PKG_CONFIG=$ac_pt_PKG_CONFIG
29402 fi
29403 else
29404 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29405 fi
29406
29407 fi
29408 if test -n "$PKG_CONFIG"; then
29409 _pkg_min_version=0.9.0
29410 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29411 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29412 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29413 { echo "$as_me:$LINENO: result: yes" >&5
29414 echo "${ECHO_T}yes" >&6; }
29415 else
29416 { echo "$as_me:$LINENO: result: no" >&5
29417 echo "${ECHO_T}no" >&6; }
29418 PKG_CONFIG=""
29419 fi
29420
29421 fi
29422
29423
29424 pkg_failed=no
29425 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29426 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29427
29428 if test -n "$PKG_CONFIG"; then
29429 if test -n "$DIRECTFB_CFLAGS"; then
29430 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29431 else
29432 if test -n "$PKG_CONFIG" && \
29433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29434 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29435 ac_status=$?
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; then
29438 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29439 else
29440 pkg_failed=yes
29441 fi
29442 fi
29443 else
29444 pkg_failed=untried
29445 fi
29446 if test -n "$PKG_CONFIG"; then
29447 if test -n "$DIRECTFB_LIBS"; then
29448 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29449 else
29450 if test -n "$PKG_CONFIG" && \
29451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29452 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29453 ac_status=$?
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; then
29456 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29457 else
29458 pkg_failed=yes
29459 fi
29460 fi
29461 else
29462 pkg_failed=untried
29463 fi
29464
29465
29466
29467 if test $pkg_failed = yes; then
29468
29469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29470 _pkg_short_errors_supported=yes
29471 else
29472 _pkg_short_errors_supported=no
29473 fi
29474 if test $_pkg_short_errors_supported = yes; then
29475 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29476 else
29477 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29478 fi
29479 # Put the nasty error message in config.log where it belongs
29480 echo "$DIRECTFB_PKG_ERRORS" >&5
29481
29482
29483 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29484 echo "$as_me: error: DirectFB not found." >&2;}
29485 { (exit 1); exit 1; }; }
29486
29487
29488 elif test $pkg_failed = untried; then
29489
29490 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29491 echo "$as_me: error: DirectFB not found." >&2;}
29492 { (exit 1); exit 1; }; }
29493
29494
29495 else
29496 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29497 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29498 { echo "$as_me:$LINENO: result: yes" >&5
29499 echo "${ECHO_T}yes" >&6; }
29500
29501 wxUSE_UNIVERSAL="yes"
29502 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29503 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29504 TOOLKIT=DFB
29505 GUIDIST=DFB_DIST
29506
29507 fi
29508 fi
29509
29510 if test "$wxUSE_MICROWIN" = 1; then
29511 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29512 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29513 if test "x$MICROWINDOWS" = x ; then
29514 { echo "$as_me:$LINENO: result: not found" >&5
29515 echo "${ECHO_T}not found" >&6; }
29516 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29517 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29518 { (exit 1); exit 1; }; }
29519 else
29520 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29521 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29522 fi
29523
29524 if test -f $MICROWINDOWS/lib/libmwin.a; then
29525 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29526 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29527 else
29528 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29529 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29530 { (exit 1); exit 1; }; }
29531 fi
29532
29533 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29534 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29535
29536 wxUSE_UNIVERSAL="yes"
29537
29538 AFMINSTALL=afminstall
29539 TOOLKIT=MICROWIN
29540 GUIDIST=MICROWIN_DIST
29541
29542 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29543 fi
29544
29545 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29546 { echo "$as_me:$LINENO: checking for X" >&5
29547 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29548
29549
29550 # Check whether --with-x was given.
29551 if test "${with_x+set}" = set; then
29552 withval=$with_x;
29553 fi
29554
29555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29556 if test "x$with_x" = xno; then
29557 # The user explicitly disabled X.
29558 have_x=disabled
29559 else
29560 case $x_includes,$x_libraries in #(
29561 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29562 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29563 { (exit 1); exit 1; }; };; #(
29564 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29566 else
29567 # One or both of the vars are not set, and there is no cached value.
29568 ac_x_includes=no ac_x_libraries=no
29569 rm -f -r conftest.dir
29570 if mkdir conftest.dir; then
29571 cd conftest.dir
29572 cat >Imakefile <<'_ACEOF'
29573 incroot:
29574 @echo incroot='${INCROOT}'
29575 usrlibdir:
29576 @echo usrlibdir='${USRLIBDIR}'
29577 libdir:
29578 @echo libdir='${LIBDIR}'
29579 _ACEOF
29580 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29582 for ac_var in incroot usrlibdir libdir; do
29583 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29584 done
29585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29586 for ac_extension in a so sl; do
29587 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29588 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29589 ac_im_usrlibdir=$ac_im_libdir; break
29590 fi
29591 done
29592 # Screen out bogus values from the imake configuration. They are
29593 # bogus both because they are the default anyway, and because
29594 # using them would break gcc on systems where it needs fixed includes.
29595 case $ac_im_incroot in
29596 /usr/include) ac_x_includes= ;;
29597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29598 esac
29599 case $ac_im_usrlibdir in
29600 /usr/lib | /lib) ;;
29601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29602 esac
29603 fi
29604 cd ..
29605 rm -f -r conftest.dir
29606 fi
29607
29608 # Standard set of common directories for X headers.
29609 # Check X11 before X11Rn because it is often a symlink to the current release.
29610 ac_x_header_dirs='
29611 /usr/X11/include
29612 /usr/X11R6/include
29613 /usr/X11R5/include
29614 /usr/X11R4/include
29615
29616 /usr/include/X11
29617 /usr/include/X11R6
29618 /usr/include/X11R5
29619 /usr/include/X11R4
29620
29621 /usr/local/X11/include
29622 /usr/local/X11R6/include
29623 /usr/local/X11R5/include
29624 /usr/local/X11R4/include
29625
29626 /usr/local/include/X11
29627 /usr/local/include/X11R6
29628 /usr/local/include/X11R5
29629 /usr/local/include/X11R4
29630
29631 /usr/X386/include
29632 /usr/x386/include
29633 /usr/XFree86/include/X11
29634
29635 /usr/include
29636 /usr/local/include
29637 /usr/unsupported/include
29638 /usr/athena/include
29639 /usr/local/x11r5/include
29640 /usr/lpp/Xamples/include
29641
29642 /usr/openwin/include
29643 /usr/openwin/share/include'
29644
29645 if test "$ac_x_includes" = no; then
29646 # Guess where to find include files, by looking for Xlib.h.
29647 # First, try using that file with no special directory specified.
29648 cat >conftest.$ac_ext <<_ACEOF
29649 /* confdefs.h. */
29650 _ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 #include <X11/Xlib.h>
29655 _ACEOF
29656 if { (ac_try="$ac_cpp conftest.$ac_ext"
29657 case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29660 esac
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29663 ac_status=$?
29664 grep -v '^ *+' conftest.er1 >conftest.err
29665 rm -f conftest.er1
29666 cat conftest.err >&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); } >/dev/null && {
29669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29670 test ! -s conftest.err
29671 }; then
29672 # We can compile using X headers with no special include directory.
29673 ac_x_includes=
29674 else
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29677
29678 for ac_dir in $ac_x_header_dirs; do
29679 if test -r "$ac_dir/X11/Xlib.h"; then
29680 ac_x_includes=$ac_dir
29681 break
29682 fi
29683 done
29684 fi
29685
29686 rm -f conftest.err conftest.$ac_ext
29687 fi # $ac_x_includes = no
29688
29689 if test "$ac_x_libraries" = no; then
29690 # Check for the libraries.
29691 # See if we find them without any special options.
29692 # Don't add to $LIBS permanently.
29693 ac_save_LIBS=$LIBS
29694 LIBS="-lX11 $LIBS"
29695 cat >conftest.$ac_ext <<_ACEOF
29696 /* confdefs.h. */
29697 _ACEOF
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 #include <X11/Xlib.h>
29702 int
29703 main ()
29704 {
29705 XrmInitialize ()
29706 ;
29707 return 0;
29708 }
29709 _ACEOF
29710 rm -f conftest.$ac_objext conftest$ac_exeext
29711 if { (ac_try="$ac_link"
29712 case "(($ac_try" in
29713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29714 *) ac_try_echo=$ac_try;;
29715 esac
29716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29717 (eval "$ac_link") 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } && {
29724 test -z "$ac_c_werror_flag" ||
29725 test ! -s conftest.err
29726 } && test -s conftest$ac_exeext &&
29727 $as_test_x conftest$ac_exeext; then
29728 LIBS=$ac_save_LIBS
29729 # We can link X programs with no special library path.
29730 ac_x_libraries=
29731 else
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29734
29735 LIBS=$ac_save_LIBS
29736 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29737 do
29738 # Don't even attempt the hair of trying to link an X program!
29739 for ac_extension in a so sl; do
29740 if test -r "$ac_dir/libX11.$ac_extension"; then
29741 ac_x_libraries=$ac_dir
29742 break 2
29743 fi
29744 done
29745 done
29746 fi
29747
29748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29749 conftest$ac_exeext conftest.$ac_ext
29750 fi # $ac_x_libraries = no
29751
29752 case $ac_x_includes,$ac_x_libraries in #(
29753 no,* | *,no | *\'*)
29754 # Didn't find X, or a directory has "'" in its name.
29755 ac_cv_have_x="have_x=no";; #(
29756 *)
29757 # Record where we found X for the cache.
29758 ac_cv_have_x="have_x=yes\
29759 ac_x_includes='$ac_x_includes'\
29760 ac_x_libraries='$ac_x_libraries'"
29761 esac
29762 fi
29763 ;; #(
29764 *) have_x=yes;;
29765 esac
29766 eval "$ac_cv_have_x"
29767 fi # $with_x != no
29768
29769 if test "$have_x" != yes; then
29770 { echo "$as_me:$LINENO: result: $have_x" >&5
29771 echo "${ECHO_T}$have_x" >&6; }
29772 no_x=yes
29773 else
29774 # If each of the values was on the command line, it overrides each guess.
29775 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29776 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29777 # Update the cache value to reflect the command line values.
29778 ac_cv_have_x="have_x=yes\
29779 ac_x_includes='$x_includes'\
29780 ac_x_libraries='$x_libraries'"
29781 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29782 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29783 fi
29784
29785 if test "$no_x" = yes; then
29786 # Not all programs may use this symbol, but it does not hurt to define it.
29787
29788 cat >>confdefs.h <<\_ACEOF
29789 #define X_DISPLAY_MISSING 1
29790 _ACEOF
29791
29792 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29793 else
29794 if test -n "$x_includes"; then
29795 X_CFLAGS="$X_CFLAGS -I$x_includes"
29796 fi
29797
29798 # It would also be nice to do this for all -L options, not just this one.
29799 if test -n "$x_libraries"; then
29800 X_LIBS="$X_LIBS -L$x_libraries"
29801 # For Solaris; some versions of Sun CC require a space after -R and
29802 # others require no space. Words are not sufficient . . . .
29803 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29805 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29806 ac_xsave_c_werror_flag=$ac_c_werror_flag
29807 ac_c_werror_flag=yes
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
29815 int
29816 main ()
29817 {
29818
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 { echo "$as_me:$LINENO: result: no" >&5
29842 echo "${ECHO_T}no" >&6; }
29843 X_LIBS="$X_LIBS -R$x_libraries"
29844 else
29845 echo "$as_me: failed program was:" >&5
29846 sed 's/^/| /' conftest.$ac_ext >&5
29847
29848 LIBS="$ac_xsave_LIBS -R $x_libraries"
29849 cat >conftest.$ac_ext <<_ACEOF
29850 /* confdefs.h. */
29851 _ACEOF
29852 cat confdefs.h >>conftest.$ac_ext
29853 cat >>conftest.$ac_ext <<_ACEOF
29854 /* end confdefs.h. */
29855
29856 int
29857 main ()
29858 {
29859
29860 ;
29861 return 0;
29862 }
29863 _ACEOF
29864 rm -f conftest.$ac_objext conftest$ac_exeext
29865 if { (ac_try="$ac_link"
29866 case "(($ac_try" in
29867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29868 *) ac_try_echo=$ac_try;;
29869 esac
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_link") 2>conftest.er1
29872 ac_status=$?
29873 grep -v '^ *+' conftest.er1 >conftest.err
29874 rm -f conftest.er1
29875 cat conftest.err >&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } && {
29878 test -z "$ac_c_werror_flag" ||
29879 test ! -s conftest.err
29880 } && test -s conftest$ac_exeext &&
29881 $as_test_x conftest$ac_exeext; then
29882 { echo "$as_me:$LINENO: result: yes" >&5
29883 echo "${ECHO_T}yes" >&6; }
29884 X_LIBS="$X_LIBS -R $x_libraries"
29885 else
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29888
29889 { echo "$as_me:$LINENO: result: neither works" >&5
29890 echo "${ECHO_T}neither works" >&6; }
29891 fi
29892
29893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29894 conftest$ac_exeext conftest.$ac_ext
29895 fi
29896
29897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29898 conftest$ac_exeext conftest.$ac_ext
29899 ac_c_werror_flag=$ac_xsave_c_werror_flag
29900 LIBS=$ac_xsave_LIBS
29901 fi
29902
29903 # Check for system-dependent libraries X programs must link with.
29904 # Do this before checking for the system-independent R6 libraries
29905 # (-lICE), since we may need -lsocket or whatever for X linking.
29906
29907 if test "$ISC" = yes; then
29908 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29909 else
29910 # Martyn Johnson says this is needed for Ultrix, if the X
29911 # libraries were built with DECnet support. And Karl Berry says
29912 # the Alpha needs dnet_stub (dnet does not exist).
29913 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29914 cat >conftest.$ac_ext <<_ACEOF
29915 /* confdefs.h. */
29916 _ACEOF
29917 cat confdefs.h >>conftest.$ac_ext
29918 cat >>conftest.$ac_ext <<_ACEOF
29919 /* end confdefs.h. */
29920
29921 /* Override any GCC internal prototype to avoid an error.
29922 Use char because int might match the return type of a GCC
29923 builtin and then its argument prototype would still apply. */
29924 #ifdef __cplusplus
29925 extern "C"
29926 #endif
29927 char XOpenDisplay ();
29928 int
29929 main ()
29930 {
29931 return XOpenDisplay ();
29932 ;
29933 return 0;
29934 }
29935 _ACEOF
29936 rm -f conftest.$ac_objext conftest$ac_exeext
29937 if { (ac_try="$ac_link"
29938 case "(($ac_try" in
29939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 *) ac_try_echo=$ac_try;;
29941 esac
29942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 (eval "$ac_link") 2>conftest.er1
29944 ac_status=$?
29945 grep -v '^ *+' conftest.er1 >conftest.err
29946 rm -f conftest.er1
29947 cat conftest.err >&5
29948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949 (exit $ac_status); } && {
29950 test -z "$ac_c_werror_flag" ||
29951 test ! -s conftest.err
29952 } && test -s conftest$ac_exeext &&
29953 $as_test_x conftest$ac_exeext; then
29954 :
29955 else
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.$ac_ext >&5
29958
29959 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29960 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29961 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29963 else
29964 ac_check_lib_save_LIBS=$LIBS
29965 LIBS="-ldnet $LIBS"
29966 cat >conftest.$ac_ext <<_ACEOF
29967 /* confdefs.h. */
29968 _ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972
29973 /* Override any GCC internal prototype to avoid an error.
29974 Use char because int might match the return type of a GCC
29975 builtin and then its argument prototype would still apply. */
29976 #ifdef __cplusplus
29977 extern "C"
29978 #endif
29979 char dnet_ntoa ();
29980 int
29981 main ()
29982 {
29983 return dnet_ntoa ();
29984 ;
29985 return 0;
29986 }
29987 _ACEOF
29988 rm -f conftest.$ac_objext conftest$ac_exeext
29989 if { (ac_try="$ac_link"
29990 case "(($ac_try" in
29991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29992 *) ac_try_echo=$ac_try;;
29993 esac
29994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29995 (eval "$ac_link") 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } && {
30002 test -z "$ac_c_werror_flag" ||
30003 test ! -s conftest.err
30004 } && test -s conftest$ac_exeext &&
30005 $as_test_x conftest$ac_exeext; then
30006 ac_cv_lib_dnet_dnet_ntoa=yes
30007 else
30008 echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30010
30011 ac_cv_lib_dnet_dnet_ntoa=no
30012 fi
30013
30014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30015 conftest$ac_exeext conftest.$ac_ext
30016 LIBS=$ac_check_lib_save_LIBS
30017 fi
30018 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30019 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30020 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30021 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30022 fi
30023
30024 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30025 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30026 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30027 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30030 ac_check_lib_save_LIBS=$LIBS
30031 LIBS="-ldnet_stub $LIBS"
30032 cat >conftest.$ac_ext <<_ACEOF
30033 /* confdefs.h. */
30034 _ACEOF
30035 cat confdefs.h >>conftest.$ac_ext
30036 cat >>conftest.$ac_ext <<_ACEOF
30037 /* end confdefs.h. */
30038
30039 /* Override any GCC internal prototype to avoid an error.
30040 Use char because int might match the return type of a GCC
30041 builtin and then its argument prototype would still apply. */
30042 #ifdef __cplusplus
30043 extern "C"
30044 #endif
30045 char dnet_ntoa ();
30046 int
30047 main ()
30048 {
30049 return dnet_ntoa ();
30050 ;
30051 return 0;
30052 }
30053 _ACEOF
30054 rm -f conftest.$ac_objext conftest$ac_exeext
30055 if { (ac_try="$ac_link"
30056 case "(($ac_try" in
30057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30058 *) ac_try_echo=$ac_try;;
30059 esac
30060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30061 (eval "$ac_link") 2>conftest.er1
30062 ac_status=$?
30063 grep -v '^ *+' conftest.er1 >conftest.err
30064 rm -f conftest.er1
30065 cat conftest.err >&5
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); } && {
30068 test -z "$ac_c_werror_flag" ||
30069 test ! -s conftest.err
30070 } && test -s conftest$ac_exeext &&
30071 $as_test_x conftest$ac_exeext; then
30072 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30073 else
30074 echo "$as_me: failed program was:" >&5
30075 sed 's/^/| /' conftest.$ac_ext >&5
30076
30077 ac_cv_lib_dnet_stub_dnet_ntoa=no
30078 fi
30079
30080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30081 conftest$ac_exeext conftest.$ac_ext
30082 LIBS=$ac_check_lib_save_LIBS
30083 fi
30084 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30085 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30086 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30087 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30088 fi
30089
30090 fi
30091 fi
30092
30093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30094 conftest$ac_exeext conftest.$ac_ext
30095 LIBS="$ac_xsave_LIBS"
30096
30097 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30098 # to get the SysV transport functions.
30099 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30100 # needs -lnsl.
30101 # The nsl library prevents programs from opening the X display
30102 # on Irix 5.2, according to T.E. Dickey.
30103 # The functions gethostbyname, getservbyname, and inet_addr are
30104 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30107 if test "${ac_cv_func_gethostbyname+set}" = set; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 else
30110 cat >conftest.$ac_ext <<_ACEOF
30111 /* confdefs.h. */
30112 _ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30118 #define gethostbyname innocuous_gethostbyname
30119
30120 /* System header to define __stub macros and hopefully few prototypes,
30121 which can conflict with char gethostbyname (); below.
30122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30123 <limits.h> exists even on freestanding compilers. */
30124
30125 #ifdef __STDC__
30126 # include <limits.h>
30127 #else
30128 # include <assert.h>
30129 #endif
30130
30131 #undef gethostbyname
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 gethostbyname ();
30140 /* The GNU C library defines this for functions which it implements
30141 to always fail with ENOSYS. Some functions are actually named
30142 something starting with __ and the normal name is an alias. */
30143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30144 choke me
30145 #endif
30146
30147 int
30148 main ()
30149 {
30150 return gethostbyname ();
30151 ;
30152 return 0;
30153 }
30154 _ACEOF
30155 rm -f conftest.$ac_objext conftest$ac_exeext
30156 if { (ac_try="$ac_link"
30157 case "(($ac_try" in
30158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30159 *) ac_try_echo=$ac_try;;
30160 esac
30161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 (eval "$ac_link") 2>conftest.er1
30163 ac_status=$?
30164 grep -v '^ *+' conftest.er1 >conftest.err
30165 rm -f conftest.er1
30166 cat conftest.err >&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); } && {
30169 test -z "$ac_c_werror_flag" ||
30170 test ! -s conftest.err
30171 } && test -s conftest$ac_exeext &&
30172 $as_test_x conftest$ac_exeext; then
30173 ac_cv_func_gethostbyname=yes
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30177
30178 ac_cv_func_gethostbyname=no
30179 fi
30180
30181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30182 conftest$ac_exeext conftest.$ac_ext
30183 fi
30184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30186
30187 if test $ac_cv_func_gethostbyname = no; then
30188 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30189 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30190 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30191 echo $ECHO_N "(cached) $ECHO_C" >&6
30192 else
30193 ac_check_lib_save_LIBS=$LIBS
30194 LIBS="-lnsl $LIBS"
30195 cat >conftest.$ac_ext <<_ACEOF
30196 /* confdefs.h. */
30197 _ACEOF
30198 cat confdefs.h >>conftest.$ac_ext
30199 cat >>conftest.$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201
30202 /* Override any GCC internal prototype to avoid an error.
30203 Use char because int might match the return type of a GCC
30204 builtin and then its argument prototype would still apply. */
30205 #ifdef __cplusplus
30206 extern "C"
30207 #endif
30208 char gethostbyname ();
30209 int
30210 main ()
30211 {
30212 return gethostbyname ();
30213 ;
30214 return 0;
30215 }
30216 _ACEOF
30217 rm -f conftest.$ac_objext conftest$ac_exeext
30218 if { (ac_try="$ac_link"
30219 case "(($ac_try" in
30220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30221 *) ac_try_echo=$ac_try;;
30222 esac
30223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30224 (eval "$ac_link") 2>conftest.er1
30225 ac_status=$?
30226 grep -v '^ *+' conftest.er1 >conftest.err
30227 rm -f conftest.er1
30228 cat conftest.err >&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } && {
30231 test -z "$ac_c_werror_flag" ||
30232 test ! -s conftest.err
30233 } && test -s conftest$ac_exeext &&
30234 $as_test_x conftest$ac_exeext; then
30235 ac_cv_lib_nsl_gethostbyname=yes
30236 else
30237 echo "$as_me: failed program was:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30239
30240 ac_cv_lib_nsl_gethostbyname=no
30241 fi
30242
30243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30244 conftest$ac_exeext conftest.$ac_ext
30245 LIBS=$ac_check_lib_save_LIBS
30246 fi
30247 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30248 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30249 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30251 fi
30252
30253 if test $ac_cv_lib_nsl_gethostbyname = no; then
30254 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30255 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30256 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30257 echo $ECHO_N "(cached) $ECHO_C" >&6
30258 else
30259 ac_check_lib_save_LIBS=$LIBS
30260 LIBS="-lbsd $LIBS"
30261 cat >conftest.$ac_ext <<_ACEOF
30262 /* confdefs.h. */
30263 _ACEOF
30264 cat confdefs.h >>conftest.$ac_ext
30265 cat >>conftest.$ac_ext <<_ACEOF
30266 /* end confdefs.h. */
30267
30268 /* Override any GCC internal prototype to avoid an error.
30269 Use char because int might match the return type of a GCC
30270 builtin and then its argument prototype would still apply. */
30271 #ifdef __cplusplus
30272 extern "C"
30273 #endif
30274 char gethostbyname ();
30275 int
30276 main ()
30277 {
30278 return gethostbyname ();
30279 ;
30280 return 0;
30281 }
30282 _ACEOF
30283 rm -f conftest.$ac_objext conftest$ac_exeext
30284 if { (ac_try="$ac_link"
30285 case "(($ac_try" in
30286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30287 *) ac_try_echo=$ac_try;;
30288 esac
30289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30290 (eval "$ac_link") 2>conftest.er1
30291 ac_status=$?
30292 grep -v '^ *+' conftest.er1 >conftest.err
30293 rm -f conftest.er1
30294 cat conftest.err >&5
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } && {
30297 test -z "$ac_c_werror_flag" ||
30298 test ! -s conftest.err
30299 } && test -s conftest$ac_exeext &&
30300 $as_test_x conftest$ac_exeext; then
30301 ac_cv_lib_bsd_gethostbyname=yes
30302 else
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.$ac_ext >&5
30305
30306 ac_cv_lib_bsd_gethostbyname=no
30307 fi
30308
30309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30310 conftest$ac_exeext conftest.$ac_ext
30311 LIBS=$ac_check_lib_save_LIBS
30312 fi
30313 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30314 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30315 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30317 fi
30318
30319 fi
30320 fi
30321
30322 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30323 # socket/setsockopt and other routines are undefined under SCO ODT
30324 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30325 # on later versions), says Simon Leinen: it contains gethostby*
30326 # variants that don't use the name server (or something). -lsocket
30327 # must be given before -lnsl if both are needed. We assume that
30328 # if connect needs -lnsl, so does gethostbyname.
30329 { echo "$as_me:$LINENO: checking for connect" >&5
30330 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30331 if test "${ac_cv_func_connect+set}" = set; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30333 else
30334 cat >conftest.$ac_ext <<_ACEOF
30335 /* confdefs.h. */
30336 _ACEOF
30337 cat confdefs.h >>conftest.$ac_ext
30338 cat >>conftest.$ac_ext <<_ACEOF
30339 /* end confdefs.h. */
30340 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30342 #define connect innocuous_connect
30343
30344 /* System header to define __stub macros and hopefully few prototypes,
30345 which can conflict with char connect (); below.
30346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30347 <limits.h> exists even on freestanding compilers. */
30348
30349 #ifdef __STDC__
30350 # include <limits.h>
30351 #else
30352 # include <assert.h>
30353 #endif
30354
30355 #undef connect
30356
30357 /* Override any GCC internal prototype to avoid an error.
30358 Use char because int might match the return type of a GCC
30359 builtin and then its argument prototype would still apply. */
30360 #ifdef __cplusplus
30361 extern "C"
30362 #endif
30363 char connect ();
30364 /* The GNU C library defines this for functions which it implements
30365 to always fail with ENOSYS. Some functions are actually named
30366 something starting with __ and the normal name is an alias. */
30367 #if defined __stub_connect || defined __stub___connect
30368 choke me
30369 #endif
30370
30371 int
30372 main ()
30373 {
30374 return connect ();
30375 ;
30376 return 0;
30377 }
30378 _ACEOF
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (ac_try="$ac_link"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30384 esac
30385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_link") 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest$ac_exeext &&
30396 $as_test_x conftest$ac_exeext; then
30397 ac_cv_func_connect=yes
30398 else
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30401
30402 ac_cv_func_connect=no
30403 fi
30404
30405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30406 conftest$ac_exeext conftest.$ac_ext
30407 fi
30408 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30409 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30410
30411 if test $ac_cv_func_connect = no; then
30412 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30413 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30414 if test "${ac_cv_lib_socket_connect+set}" = set; then
30415 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 else
30417 ac_check_lib_save_LIBS=$LIBS
30418 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30419 cat >conftest.$ac_ext <<_ACEOF
30420 /* confdefs.h. */
30421 _ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30429 #ifdef __cplusplus
30430 extern "C"
30431 #endif
30432 char connect ();
30433 int
30434 main ()
30435 {
30436 return connect ();
30437 ;
30438 return 0;
30439 }
30440 _ACEOF
30441 rm -f conftest.$ac_objext conftest$ac_exeext
30442 if { (ac_try="$ac_link"
30443 case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30446 esac
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_link") 2>conftest.er1
30449 ac_status=$?
30450 grep -v '^ *+' conftest.er1 >conftest.err
30451 rm -f conftest.er1
30452 cat conftest.err >&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } && {
30455 test -z "$ac_c_werror_flag" ||
30456 test ! -s conftest.err
30457 } && test -s conftest$ac_exeext &&
30458 $as_test_x conftest$ac_exeext; then
30459 ac_cv_lib_socket_connect=yes
30460 else
30461 echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30463
30464 ac_cv_lib_socket_connect=no
30465 fi
30466
30467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30468 conftest$ac_exeext conftest.$ac_ext
30469 LIBS=$ac_check_lib_save_LIBS
30470 fi
30471 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30472 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30473 if test $ac_cv_lib_socket_connect = yes; then
30474 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30475 fi
30476
30477 fi
30478
30479 # Guillermo Gomez says -lposix is necessary on A/UX.
30480 { echo "$as_me:$LINENO: checking for remove" >&5
30481 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30482 if test "${ac_cv_func_remove+set}" = set; then
30483 echo $ECHO_N "(cached) $ECHO_C" >&6
30484 else
30485 cat >conftest.$ac_ext <<_ACEOF
30486 /* confdefs.h. */
30487 _ACEOF
30488 cat confdefs.h >>conftest.$ac_ext
30489 cat >>conftest.$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30493 #define remove innocuous_remove
30494
30495 /* System header to define __stub macros and hopefully few prototypes,
30496 which can conflict with char remove (); below.
30497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30498 <limits.h> exists even on freestanding compilers. */
30499
30500 #ifdef __STDC__
30501 # include <limits.h>
30502 #else
30503 # include <assert.h>
30504 #endif
30505
30506 #undef remove
30507
30508 /* Override any GCC internal prototype to avoid an error.
30509 Use char because int might match the return type of a GCC
30510 builtin and then its argument prototype would still apply. */
30511 #ifdef __cplusplus
30512 extern "C"
30513 #endif
30514 char remove ();
30515 /* The GNU C library defines this for functions which it implements
30516 to always fail with ENOSYS. Some functions are actually named
30517 something starting with __ and the normal name is an alias. */
30518 #if defined __stub_remove || defined __stub___remove
30519 choke me
30520 #endif
30521
30522 int
30523 main ()
30524 {
30525 return remove ();
30526 ;
30527 return 0;
30528 }
30529 _ACEOF
30530 rm -f conftest.$ac_objext conftest$ac_exeext
30531 if { (ac_try="$ac_link"
30532 case "(($ac_try" in
30533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30534 *) ac_try_echo=$ac_try;;
30535 esac
30536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30537 (eval "$ac_link") 2>conftest.er1
30538 ac_status=$?
30539 grep -v '^ *+' conftest.er1 >conftest.err
30540 rm -f conftest.er1
30541 cat conftest.err >&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); } && {
30544 test -z "$ac_c_werror_flag" ||
30545 test ! -s conftest.err
30546 } && test -s conftest$ac_exeext &&
30547 $as_test_x conftest$ac_exeext; then
30548 ac_cv_func_remove=yes
30549 else
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30552
30553 ac_cv_func_remove=no
30554 fi
30555
30556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30557 conftest$ac_exeext conftest.$ac_ext
30558 fi
30559 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30560 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30561
30562 if test $ac_cv_func_remove = no; then
30563 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30564 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30565 if test "${ac_cv_lib_posix_remove+set}" = set; then
30566 echo $ECHO_N "(cached) $ECHO_C" >&6
30567 else
30568 ac_check_lib_save_LIBS=$LIBS
30569 LIBS="-lposix $LIBS"
30570 cat >conftest.$ac_ext <<_ACEOF
30571 /* confdefs.h. */
30572 _ACEOF
30573 cat confdefs.h >>conftest.$ac_ext
30574 cat >>conftest.$ac_ext <<_ACEOF
30575 /* end confdefs.h. */
30576
30577 /* Override any GCC internal prototype to avoid an error.
30578 Use char because int might match the return type of a GCC
30579 builtin and then its argument prototype would still apply. */
30580 #ifdef __cplusplus
30581 extern "C"
30582 #endif
30583 char remove ();
30584 int
30585 main ()
30586 {
30587 return remove ();
30588 ;
30589 return 0;
30590 }
30591 _ACEOF
30592 rm -f conftest.$ac_objext conftest$ac_exeext
30593 if { (ac_try="$ac_link"
30594 case "(($ac_try" in
30595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30596 *) ac_try_echo=$ac_try;;
30597 esac
30598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30599 (eval "$ac_link") 2>conftest.er1
30600 ac_status=$?
30601 grep -v '^ *+' conftest.er1 >conftest.err
30602 rm -f conftest.er1
30603 cat conftest.err >&5
30604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30605 (exit $ac_status); } && {
30606 test -z "$ac_c_werror_flag" ||
30607 test ! -s conftest.err
30608 } && test -s conftest$ac_exeext &&
30609 $as_test_x conftest$ac_exeext; then
30610 ac_cv_lib_posix_remove=yes
30611 else
30612 echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.$ac_ext >&5
30614
30615 ac_cv_lib_posix_remove=no
30616 fi
30617
30618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30619 conftest$ac_exeext conftest.$ac_ext
30620 LIBS=$ac_check_lib_save_LIBS
30621 fi
30622 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30623 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30624 if test $ac_cv_lib_posix_remove = yes; then
30625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30626 fi
30627
30628 fi
30629
30630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30631 { echo "$as_me:$LINENO: checking for shmat" >&5
30632 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30633 if test "${ac_cv_func_shmat+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636 cat >conftest.$ac_ext <<_ACEOF
30637 /* confdefs.h. */
30638 _ACEOF
30639 cat confdefs.h >>conftest.$ac_ext
30640 cat >>conftest.$ac_ext <<_ACEOF
30641 /* end confdefs.h. */
30642 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30644 #define shmat innocuous_shmat
30645
30646 /* System header to define __stub macros and hopefully few prototypes,
30647 which can conflict with char shmat (); below.
30648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30649 <limits.h> exists even on freestanding compilers. */
30650
30651 #ifdef __STDC__
30652 # include <limits.h>
30653 #else
30654 # include <assert.h>
30655 #endif
30656
30657 #undef shmat
30658
30659 /* Override any GCC internal prototype to avoid an error.
30660 Use char because int might match the return type of a GCC
30661 builtin and then its argument prototype would still apply. */
30662 #ifdef __cplusplus
30663 extern "C"
30664 #endif
30665 char shmat ();
30666 /* The GNU C library defines this for functions which it implements
30667 to always fail with ENOSYS. Some functions are actually named
30668 something starting with __ and the normal name is an alias. */
30669 #if defined __stub_shmat || defined __stub___shmat
30670 choke me
30671 #endif
30672
30673 int
30674 main ()
30675 {
30676 return shmat ();
30677 ;
30678 return 0;
30679 }
30680 _ACEOF
30681 rm -f conftest.$ac_objext conftest$ac_exeext
30682 if { (ac_try="$ac_link"
30683 case "(($ac_try" in
30684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30685 *) ac_try_echo=$ac_try;;
30686 esac
30687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30688 (eval "$ac_link") 2>conftest.er1
30689 ac_status=$?
30690 grep -v '^ *+' conftest.er1 >conftest.err
30691 rm -f conftest.er1
30692 cat conftest.err >&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); } && {
30695 test -z "$ac_c_werror_flag" ||
30696 test ! -s conftest.err
30697 } && test -s conftest$ac_exeext &&
30698 $as_test_x conftest$ac_exeext; then
30699 ac_cv_func_shmat=yes
30700 else
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.$ac_ext >&5
30703
30704 ac_cv_func_shmat=no
30705 fi
30706
30707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30708 conftest$ac_exeext conftest.$ac_ext
30709 fi
30710 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30711 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30712
30713 if test $ac_cv_func_shmat = no; then
30714 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30715 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30716 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30717 echo $ECHO_N "(cached) $ECHO_C" >&6
30718 else
30719 ac_check_lib_save_LIBS=$LIBS
30720 LIBS="-lipc $LIBS"
30721 cat >conftest.$ac_ext <<_ACEOF
30722 /* confdefs.h. */
30723 _ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30727
30728 /* Override any GCC internal prototype to avoid an error.
30729 Use char because int might match the return type of a GCC
30730 builtin and then its argument prototype would still apply. */
30731 #ifdef __cplusplus
30732 extern "C"
30733 #endif
30734 char shmat ();
30735 int
30736 main ()
30737 {
30738 return shmat ();
30739 ;
30740 return 0;
30741 }
30742 _ACEOF
30743 rm -f conftest.$ac_objext conftest$ac_exeext
30744 if { (ac_try="$ac_link"
30745 case "(($ac_try" in
30746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30747 *) ac_try_echo=$ac_try;;
30748 esac
30749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30750 (eval "$ac_link") 2>conftest.er1
30751 ac_status=$?
30752 grep -v '^ *+' conftest.er1 >conftest.err
30753 rm -f conftest.er1
30754 cat conftest.err >&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } && {
30757 test -z "$ac_c_werror_flag" ||
30758 test ! -s conftest.err
30759 } && test -s conftest$ac_exeext &&
30760 $as_test_x conftest$ac_exeext; then
30761 ac_cv_lib_ipc_shmat=yes
30762 else
30763 echo "$as_me: failed program was:" >&5
30764 sed 's/^/| /' conftest.$ac_ext >&5
30765
30766 ac_cv_lib_ipc_shmat=no
30767 fi
30768
30769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30770 conftest$ac_exeext conftest.$ac_ext
30771 LIBS=$ac_check_lib_save_LIBS
30772 fi
30773 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30774 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30775 if test $ac_cv_lib_ipc_shmat = yes; then
30776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30777 fi
30778
30779 fi
30780 fi
30781
30782 # Check for libraries that X11R6 Xt/Xaw programs need.
30783 ac_save_LDFLAGS=$LDFLAGS
30784 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30785 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30786 # check for ICE first), but we must link in the order -lSM -lICE or
30787 # we get undefined symbols. So assume we have SM if we have ICE.
30788 # These have to be linked with before -lX11, unlike the other
30789 # libraries we check for below, so use a different variable.
30790 # John Interrante, Karl Berry
30791 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30792 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30793 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 else
30796 ac_check_lib_save_LIBS=$LIBS
30797 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30798 cat >conftest.$ac_ext <<_ACEOF
30799 /* confdefs.h. */
30800 _ACEOF
30801 cat confdefs.h >>conftest.$ac_ext
30802 cat >>conftest.$ac_ext <<_ACEOF
30803 /* end confdefs.h. */
30804
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30808 #ifdef __cplusplus
30809 extern "C"
30810 #endif
30811 char IceConnectionNumber ();
30812 int
30813 main ()
30814 {
30815 return IceConnectionNumber ();
30816 ;
30817 return 0;
30818 }
30819 _ACEOF
30820 rm -f conftest.$ac_objext conftest$ac_exeext
30821 if { (ac_try="$ac_link"
30822 case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30825 esac
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_link") 2>conftest.er1
30828 ac_status=$?
30829 grep -v '^ *+' conftest.er1 >conftest.err
30830 rm -f conftest.er1
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } && {
30834 test -z "$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30836 } && test -s conftest$ac_exeext &&
30837 $as_test_x conftest$ac_exeext; then
30838 ac_cv_lib_ICE_IceConnectionNumber=yes
30839 else
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30842
30843 ac_cv_lib_ICE_IceConnectionNumber=no
30844 fi
30845
30846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30847 conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30849 fi
30850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30851 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30852 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30853 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30854 fi
30855
30856 LDFLAGS=$ac_save_LDFLAGS
30857
30858 fi
30859
30860
30861 if test "$no_x" = "yes"; then
30862 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30863 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30864 { (exit 1); exit 1; }; }
30865 fi
30866
30867 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30868 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30869 AFMINSTALL=afminstall
30870 COMPILED_X_PROGRAM=0
30871
30872 fi
30873
30874 if test "$wxUSE_X11" = 1; then
30875 if test "$wxUSE_NANOX" = "yes"; then
30876 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30877 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30878 if test "x$MICROWIN" = x ; then
30879 { echo "$as_me:$LINENO: result: not found" >&5
30880 echo "${ECHO_T}not found" >&6; }
30881 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30882 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30883 { (exit 1); exit 1; }; }
30884 else
30885 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30886 echo "${ECHO_T}$MICROWIN" >&6; }
30887 cat >>confdefs.h <<\_ACEOF
30888 #define wxUSE_NANOX 1
30889 _ACEOF
30890
30891 fi
30892 fi
30893
30894 if test "$wxUSE_UNICODE" = "yes"; then
30895
30896
30897 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30898 if test -n "$ac_tool_prefix"; then
30899 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30900 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30903 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30904 echo $ECHO_N "(cached) $ECHO_C" >&6
30905 else
30906 case $PKG_CONFIG in
30907 [\\/]* | ?:[\\/]*)
30908 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30909 ;;
30910 *)
30911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30912 for as_dir in $PATH
30913 do
30914 IFS=$as_save_IFS
30915 test -z "$as_dir" && as_dir=.
30916 for ac_exec_ext in '' $ac_executable_extensions; do
30917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30918 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30920 break 2
30921 fi
30922 done
30923 done
30924 IFS=$as_save_IFS
30925
30926 ;;
30927 esac
30928 fi
30929 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30930 if test -n "$PKG_CONFIG"; then
30931 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30932 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30933 else
30934 { echo "$as_me:$LINENO: result: no" >&5
30935 echo "${ECHO_T}no" >&6; }
30936 fi
30937
30938
30939 fi
30940 if test -z "$ac_cv_path_PKG_CONFIG"; then
30941 ac_pt_PKG_CONFIG=$PKG_CONFIG
30942 # Extract the first word of "pkg-config", so it can be a program name with args.
30943 set dummy pkg-config; ac_word=$2
30944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30946 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30948 else
30949 case $ac_pt_PKG_CONFIG in
30950 [\\/]* | ?:[\\/]*)
30951 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30952 ;;
30953 *)
30954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30955 for as_dir in $PATH
30956 do
30957 IFS=$as_save_IFS
30958 test -z "$as_dir" && as_dir=.
30959 for ac_exec_ext in '' $ac_executable_extensions; do
30960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30961 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30963 break 2
30964 fi
30965 done
30966 done
30967 IFS=$as_save_IFS
30968
30969 ;;
30970 esac
30971 fi
30972 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30973 if test -n "$ac_pt_PKG_CONFIG"; then
30974 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30975 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30976 else
30977 { echo "$as_me:$LINENO: result: no" >&5
30978 echo "${ECHO_T}no" >&6; }
30979 fi
30980
30981 if test "x$ac_pt_PKG_CONFIG" = x; then
30982 PKG_CONFIG=""
30983 else
30984 case $cross_compiling:$ac_tool_warned in
30985 yes:)
30986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30987 whose name does not start with the host triplet. If you think this
30988 configuration is useful to you, please write to autoconf@gnu.org." >&5
30989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30990 whose name does not start with the host triplet. If you think this
30991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30992 ac_tool_warned=yes ;;
30993 esac
30994 PKG_CONFIG=$ac_pt_PKG_CONFIG
30995 fi
30996 else
30997 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30998 fi
30999
31000 fi
31001 if test -n "$PKG_CONFIG"; then
31002 _pkg_min_version=0.9.0
31003 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31004 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31005 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31006 { echo "$as_me:$LINENO: result: yes" >&5
31007 echo "${ECHO_T}yes" >&6; }
31008 else
31009 { echo "$as_me:$LINENO: result: no" >&5
31010 echo "${ECHO_T}no" >&6; }
31011 PKG_CONFIG=""
31012 fi
31013
31014 fi
31015
31016
31017 pkg_failed=no
31018 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31019 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31020
31021 if test -n "$PKG_CONFIG"; then
31022 if test -n "$PANGOX_CFLAGS"; then
31023 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31024 else
31025 if test -n "$PKG_CONFIG" && \
31026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31027 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31028 ac_status=$?
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; then
31031 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31032 else
31033 pkg_failed=yes
31034 fi
31035 fi
31036 else
31037 pkg_failed=untried
31038 fi
31039 if test -n "$PKG_CONFIG"; then
31040 if test -n "$PANGOX_LIBS"; then
31041 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31042 else
31043 if test -n "$PKG_CONFIG" && \
31044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31045 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; then
31049 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31050 else
31051 pkg_failed=yes
31052 fi
31053 fi
31054 else
31055 pkg_failed=untried
31056 fi
31057
31058
31059
31060 if test $pkg_failed = yes; then
31061
31062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31063 _pkg_short_errors_supported=yes
31064 else
31065 _pkg_short_errors_supported=no
31066 fi
31067 if test $_pkg_short_errors_supported = yes; then
31068 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31069 else
31070 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31071 fi
31072 # Put the nasty error message in config.log where it belongs
31073 echo "$PANGOX_PKG_ERRORS" >&5
31074
31075
31076 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31077 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31078 { (exit 1); exit 1; }; }
31079
31080
31081 elif test $pkg_failed = untried; then
31082
31083 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31084 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31085 { (exit 1); exit 1; }; }
31086
31087
31088 else
31089 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31090 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31091 { echo "$as_me:$LINENO: result: yes" >&5
31092 echo "${ECHO_T}yes" >&6; }
31093
31094 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31095 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31097
31098 fi
31099
31100 pkg_failed=no
31101 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31102 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31103
31104 if test -n "$PKG_CONFIG"; then
31105 if test -n "$PANGOFT2_CFLAGS"; then
31106 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31107 else
31108 if test -n "$PKG_CONFIG" && \
31109 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31110 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; then
31114 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31115 else
31116 pkg_failed=yes
31117 fi
31118 fi
31119 else
31120 pkg_failed=untried
31121 fi
31122 if test -n "$PKG_CONFIG"; then
31123 if test -n "$PANGOFT2_LIBS"; then
31124 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31125 else
31126 if test -n "$PKG_CONFIG" && \
31127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31128 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31129 ac_status=$?
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); }; then
31132 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31133 else
31134 pkg_failed=yes
31135 fi
31136 fi
31137 else
31138 pkg_failed=untried
31139 fi
31140
31141
31142
31143 if test $pkg_failed = yes; then
31144
31145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31146 _pkg_short_errors_supported=yes
31147 else
31148 _pkg_short_errors_supported=no
31149 fi
31150 if test $_pkg_short_errors_supported = yes; then
31151 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31152 else
31153 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31154 fi
31155 # Put the nasty error message in config.log where it belongs
31156 echo "$PANGOFT2_PKG_ERRORS" >&5
31157
31158
31159 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31160 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31161 wxUSE_PRINTING_ARCHITECTURE="no"
31162
31163
31164 elif test $pkg_failed = untried; then
31165
31166 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31167 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31168 wxUSE_PRINTING_ARCHITECTURE="no"
31169
31170
31171 else
31172 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31173 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31174 { echo "$as_me:$LINENO: result: yes" >&5
31175 echo "${ECHO_T}yes" >&6; }
31176
31177 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31178 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31180
31181 fi
31182
31183 pkg_failed=no
31184 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31185 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31186
31187 if test -n "$PKG_CONFIG"; then
31188 if test -n "$PANGOXFT_CFLAGS"; then
31189 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31190 else
31191 if test -n "$PKG_CONFIG" && \
31192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31193 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; then
31197 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31198 else
31199 pkg_failed=yes
31200 fi
31201 fi
31202 else
31203 pkg_failed=untried
31204 fi
31205 if test -n "$PKG_CONFIG"; then
31206 if test -n "$PANGOXFT_LIBS"; then
31207 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31208 else
31209 if test -n "$PKG_CONFIG" && \
31210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31211 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; then
31215 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31216 else
31217 pkg_failed=yes
31218 fi
31219 fi
31220 else
31221 pkg_failed=untried
31222 fi
31223
31224
31225
31226 if test $pkg_failed = yes; then
31227
31228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31229 _pkg_short_errors_supported=yes
31230 else
31231 _pkg_short_errors_supported=no
31232 fi
31233 if test $_pkg_short_errors_supported = yes; then
31234 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31235 else
31236 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31237 fi
31238 # Put the nasty error message in config.log where it belongs
31239 echo "$PANGOXFT_PKG_ERRORS" >&5
31240
31241
31242 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31243 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31244
31245
31246 elif test $pkg_failed = untried; then
31247
31248 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31249 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31250
31251
31252 else
31253 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31254 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31255 { echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6; }
31257
31258 cat >>confdefs.h <<\_ACEOF
31259 #define HAVE_PANGO_XFT 1
31260 _ACEOF
31261
31262 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31263 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31265
31266 fi
31267 save_LIBS="$LIBS"
31268 LIBS="$LIBS $PANGOX_LIBS"
31269
31270 for ac_func in pango_font_family_is_monospace
31271 do
31272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 else
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h. */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31286 #define $ac_func innocuous_$ac_func
31287
31288 /* System header to define __stub macros and hopefully few prototypes,
31289 which can conflict with char $ac_func (); below.
31290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291 <limits.h> exists even on freestanding compilers. */
31292
31293 #ifdef __STDC__
31294 # include <limits.h>
31295 #else
31296 # include <assert.h>
31297 #endif
31298
31299 #undef $ac_func
31300
31301 /* Override any GCC internal prototype to avoid an error.
31302 Use char because int might match the return type of a GCC
31303 builtin and then its argument prototype would still apply. */
31304 #ifdef __cplusplus
31305 extern "C"
31306 #endif
31307 char $ac_func ();
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 #if defined __stub_$ac_func || defined __stub___$ac_func
31312 choke me
31313 #endif
31314
31315 int
31316 main ()
31317 {
31318 return $ac_func ();
31319 ;
31320 return 0;
31321 }
31322 _ACEOF
31323 rm -f conftest.$ac_objext conftest$ac_exeext
31324 if { (ac_try="$ac_link"
31325 case "(($ac_try" in
31326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31328 esac
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_link") 2>conftest.er1
31331 ac_status=$?
31332 grep -v '^ *+' conftest.er1 >conftest.err
31333 rm -f conftest.er1
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest$ac_exeext &&
31340 $as_test_x conftest$ac_exeext; then
31341 eval "$as_ac_var=yes"
31342 else
31343 echo "$as_me: failed program was:" >&5
31344 sed 's/^/| /' conftest.$ac_ext >&5
31345
31346 eval "$as_ac_var=no"
31347 fi
31348
31349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31350 conftest$ac_exeext conftest.$ac_ext
31351 fi
31352 ac_res=`eval echo '${'$as_ac_var'}'`
31353 { echo "$as_me:$LINENO: result: $ac_res" >&5
31354 echo "${ECHO_T}$ac_res" >&6; }
31355 if test `eval echo '${'$as_ac_var'}'` = yes; then
31356 cat >>confdefs.h <<_ACEOF
31357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31358 _ACEOF
31359
31360 fi
31361 done
31362
31363 LIBS="$save_LIBS"
31364 fi
31365
31366 wxUSE_UNIVERSAL="yes"
31367
31368 if test "$wxUSE_NANOX" = "yes"; then
31369 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31370 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"
31371 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31372 else
31373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31374 fi
31375
31376 TOOLKIT=X11
31377 GUIDIST=X11_DIST
31378 fi
31379
31380 if test "$wxUSE_MOTIF" = 1; then
31381 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31382 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31383
31384 ac_find_includes=
31385 for ac_dir in $SEARCH_INCLUDE /usr/include;
31386 do
31387 if test -f "$ac_dir/Xm/Xm.h"; then
31388 ac_find_includes=$ac_dir
31389 break
31390 fi
31391 done
31392
31393 if test "$ac_find_includes" != "" ; then
31394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31396
31397 if test "x$ac_find_includes" = "x/usr/include"; then
31398 ac_path_to_include=""
31399 else
31400 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31401 result=$?
31402 if test $result = 0; then
31403 ac_path_to_include=""
31404 else
31405 ac_path_to_include=" -I$ac_find_includes"
31406 fi
31407 fi
31408
31409 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31410 else
31411 save_CFLAGS=$CFLAGS
31412 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31413
31414 cat >conftest.$ac_ext <<_ACEOF
31415 /* confdefs.h. */
31416 _ACEOF
31417 cat confdefs.h >>conftest.$ac_ext
31418 cat >>conftest.$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31420
31421 #include <Xm/Xm.h>
31422
31423 int
31424 main ()
31425 {
31426
31427 int version;
31428 version = xmUseVersion;
31429
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 rm -f conftest.$ac_objext
31435 if { (ac_try="$ac_compile"
31436 case "(($ac_try" in
31437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31438 *) ac_try_echo=$ac_try;;
31439 esac
31440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31441 (eval "$ac_compile") 2>conftest.er1
31442 ac_status=$?
31443 grep -v '^ *+' conftest.er1 >conftest.err
31444 rm -f conftest.er1
31445 cat conftest.err >&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } && {
31448 test -z "$ac_c_werror_flag" ||
31449 test ! -s conftest.err
31450 } && test -s conftest.$ac_objext; then
31451
31452 { echo "$as_me:$LINENO: result: found in default search path" >&5
31453 echo "${ECHO_T}found in default search path" >&6; }
31454 COMPILED_X_PROGRAM=1
31455
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31459
31460
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31463 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31464 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31465 { (exit 1); exit 1; }; }
31466
31467
31468 fi
31469
31470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31471
31472 CFLAGS=$save_CFLAGS
31473 fi
31474
31475
31476 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31477 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31478
31479 ac_find_libraries=
31480 for ac_dir in $SEARCH_LIB;
31481 do
31482 for ac_extension in a so sl dylib dll.a; do
31483 if test -f "$ac_dir/libXm.$ac_extension"; then
31484 ac_find_libraries=$ac_dir
31485 break 2
31486 fi
31487 done
31488 done
31489
31490
31491 if test "x$ac_find_libraries" != "x" ; then
31492 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31493 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31494
31495
31496 if test "$ac_find_libraries" = "default location"; then
31497 ac_path_to_link=""
31498 else
31499 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31500 result=$?
31501 if test $result = 0; then
31502 ac_path_to_link=""
31503 else
31504 ac_path_to_link=" -L$ac_find_libraries"
31505 fi
31506 fi
31507
31508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31509 else
31510 save_CFLAGS=$CFLAGS
31511 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31512 save_LIBS="$LIBS"
31513 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31514
31515 cat >conftest.$ac_ext <<_ACEOF
31516 /* confdefs.h. */
31517 _ACEOF
31518 cat confdefs.h >>conftest.$ac_ext
31519 cat >>conftest.$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521
31522 #include <Xm/Xm.h>
31523
31524 int
31525 main ()
31526 {
31527
31528 int version;
31529 version = xmUseVersion;
31530
31531 ;
31532 return 0;
31533 }
31534 _ACEOF
31535 rm -f conftest.$ac_objext conftest$ac_exeext
31536 if { (ac_try="$ac_link"
31537 case "(($ac_try" in
31538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31539 *) ac_try_echo=$ac_try;;
31540 esac
31541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31542 (eval "$ac_link") 2>conftest.er1
31543 ac_status=$?
31544 grep -v '^ *+' conftest.er1 >conftest.err
31545 rm -f conftest.er1
31546 cat conftest.err >&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } && {
31549 test -z "$ac_c_werror_flag" ||
31550 test ! -s conftest.err
31551 } && test -s conftest$ac_exeext &&
31552 $as_test_x conftest$ac_exeext; then
31553
31554 { echo "$as_me:$LINENO: result: found in default search path" >&5
31555 echo "${ECHO_T}found in default search path" >&6; }
31556 COMPILED_X_PROGRAM=1
31557
31558 else
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31561
31562
31563 { echo "$as_me:$LINENO: result: no" >&5
31564 echo "${ECHO_T}no" >&6; }
31565 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31566 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31567 { (exit 1); exit 1; }; }
31568
31569
31570 fi
31571
31572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31573 conftest$ac_exeext conftest.$ac_ext
31574
31575 CFLAGS=$save_CFLAGS
31576 LIBS="$save_LIBS"
31577 fi
31578
31579 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31580 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31581 libp_link=""
31582 libsm_ice_link=""
31583 libs_found=0
31584 for libp in "" " -lXp"; do
31585 if test "$libs_found" = 0; then
31586 for libsm_ice in "" " -lSM -lICE"; do
31587 if test "$libs_found" = 0; then
31588 save_LIBS="$LIBS"
31589 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31590 save_CFLAGS=$CFLAGS
31591 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31592
31593 cat >conftest.$ac_ext <<_ACEOF
31594 /* confdefs.h. */
31595 _ACEOF
31596 cat confdefs.h >>conftest.$ac_ext
31597 cat >>conftest.$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31599
31600 #include <Xm/Xm.h>
31601 #include <Xm/List.h>
31602
31603 int
31604 main ()
31605 {
31606
31607 XmString string = NULL;
31608 Widget w = NULL;
31609 int position = 0;
31610 XmListAddItem(w, string, position);
31611
31612 ;
31613 return 0;
31614 }
31615 _ACEOF
31616 rm -f conftest.$ac_objext conftest$ac_exeext
31617 if { (ac_try="$ac_link"
31618 case "(($ac_try" in
31619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31621 esac
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_link") 2>conftest.er1
31624 ac_status=$?
31625 grep -v '^ *+' conftest.er1 >conftest.err
31626 rm -f conftest.er1
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } && {
31630 test -z "$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31632 } && test -s conftest$ac_exeext &&
31633 $as_test_x conftest$ac_exeext; then
31634
31635 libp_link="$libp"
31636 libsm_ice_link="$libsm_ice"
31637 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31638 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31639 libs_found=1
31640
31641 else
31642 echo "$as_me: failed program was:" >&5
31643 sed 's/^/| /' conftest.$ac_ext >&5
31644
31645
31646
31647 fi
31648
31649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31650 conftest$ac_exeext conftest.$ac_ext
31651
31652 LIBS="$save_LIBS"
31653 CFLAGS=$save_CFLAGS
31654 fi
31655 done
31656 fi
31657 done
31658
31659 if test "$libs_found" = 0; then
31660 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31661 echo "${ECHO_T}can't find the right libraries" >&6; }
31662 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31663 echo "$as_me: error: can't link a simple motif program" >&2;}
31664 { (exit 1); exit 1; }; }
31665 fi
31666
31667 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31668 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31669 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672 ac_check_lib_save_LIBS=$LIBS
31673 LIBS="-lSgm $LIBS"
31674 cat >conftest.$ac_ext <<_ACEOF
31675 /* confdefs.h. */
31676 _ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31680
31681 /* Override any GCC internal prototype to avoid an error.
31682 Use char because int might match the return type of a GCC
31683 builtin and then its argument prototype would still apply. */
31684 #ifdef __cplusplus
31685 extern "C"
31686 #endif
31687 char SgCreateList ();
31688 int
31689 main ()
31690 {
31691 return SgCreateList ();
31692 ;
31693 return 0;
31694 }
31695 _ACEOF
31696 rm -f conftest.$ac_objext conftest$ac_exeext
31697 if { (ac_try="$ac_link"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31701 esac
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_link") 2>conftest.er1
31704 ac_status=$?
31705 grep -v '^ *+' conftest.er1 >conftest.err
31706 rm -f conftest.er1
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest$ac_exeext &&
31713 $as_test_x conftest$ac_exeext; then
31714 ac_cv_lib_Sgm_SgCreateList=yes
31715 else
31716 echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31718
31719 ac_cv_lib_Sgm_SgCreateList=no
31720 fi
31721
31722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31723 conftest$ac_exeext conftest.$ac_ext
31724 LIBS=$ac_check_lib_save_LIBS
31725 fi
31726 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31727 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31728 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31729 libsgm_link=" -lSgm"
31730 fi
31731
31732
31733 save_CFLAGS=$CFLAGS
31734 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31735
31736 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31737 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31738 if test "${wx_cv_lib_motif2+set}" = set; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31740 else
31741 cat >conftest.$ac_ext <<_ACEOF
31742 /* confdefs.h. */
31743 _ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31747
31748 #include <Xm/Xm.h>
31749
31750 int
31751 main ()
31752 {
31753
31754 #if XmVersion < 2000
31755 Not Motif 2
31756 #endif
31757
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 rm -f conftest.$ac_objext
31763 if { (ac_try="$ac_compile"
31764 case "(($ac_try" in
31765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31766 *) ac_try_echo=$ac_try;;
31767 esac
31768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31769 (eval "$ac_compile") 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } && {
31776 test -z "$ac_c_werror_flag" ||
31777 test ! -s conftest.err
31778 } && test -s conftest.$ac_objext; then
31779 wx_cv_lib_motif2="yes"
31780 else
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.$ac_ext >&5
31783
31784 wx_cv_lib_motif2="no"
31785 fi
31786
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 fi
31789 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31790 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31791 if test "$wx_cv_lib_motif2" = "yes"; then
31792 cat >>confdefs.h <<\_ACEOF
31793 #define __WXMOTIF20__ 1
31794 _ACEOF
31795
31796 else
31797 cat >>confdefs.h <<\_ACEOF
31798 #define __WXMOTIF20__ 0
31799 _ACEOF
31800
31801 fi
31802
31803 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31804 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31805 if test "${wx_cv_lib_lesstif+set}" = set; then
31806 echo $ECHO_N "(cached) $ECHO_C" >&6
31807 else
31808 cat >conftest.$ac_ext <<_ACEOF
31809 /* confdefs.h. */
31810 _ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31814
31815 #include <Xm/Xm.h>
31816
31817 int
31818 main ()
31819 {
31820
31821 #if !defined(LesstifVersion) || LesstifVersion <= 0
31822 Not Lesstif
31823 #endif
31824
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext
31830 if { (ac_try="$ac_compile"
31831 case "(($ac_try" in
31832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31833 *) ac_try_echo=$ac_try;;
31834 esac
31835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31836 (eval "$ac_compile") 2>conftest.er1
31837 ac_status=$?
31838 grep -v '^ *+' conftest.er1 >conftest.err
31839 rm -f conftest.er1
31840 cat conftest.err >&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } && {
31843 test -z "$ac_c_werror_flag" ||
31844 test ! -s conftest.err
31845 } && test -s conftest.$ac_objext; then
31846 wx_cv_lib_lesstif="yes"
31847 else
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.$ac_ext >&5
31850
31851 wx_cv_lib_lesstif="no"
31852 fi
31853
31854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31855
31856 fi
31857 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31858 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31859 if test "$wx_cv_lib_lesstif" = "yes"; then
31860 cat >>confdefs.h <<\_ACEOF
31861 #define __WXLESSTIF__ 1
31862 _ACEOF
31863
31864 else
31865 cat >>confdefs.h <<\_ACEOF
31866 #define __WXLESSTIF__ 0
31867 _ACEOF
31868
31869 fi
31870
31871 CFLAGS=$save_CFLAGS
31872
31873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31874 TOOLKIT=MOTIF
31875 GUIDIST=MOTIF_DIST
31876 fi
31877
31878 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31879 if test "$wxUSE_LIBXPM" = "sys"; then
31880 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31881 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31882
31883 ac_find_libraries=
31884 for ac_dir in $SEARCH_LIB;
31885 do
31886 for ac_extension in a so sl dylib dll.a; do
31887 if test -f "$ac_dir/libXpm.$ac_extension"; then
31888 ac_find_libraries=$ac_dir
31889 break 2
31890 fi
31891 done
31892 done
31893
31894 if test "$ac_find_libraries" != "" ; then
31895
31896 if test "$ac_find_libraries" = "default location"; then
31897 ac_path_to_link=""
31898 else
31899 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31900 result=$?
31901 if test $result = 0; then
31902 ac_path_to_link=""
31903 else
31904 ac_path_to_link=" -L$ac_find_libraries"
31905 fi
31906 fi
31907
31908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31909 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31910 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31911
31912 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31913 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31914 if test "${wx_cv_x11_xpm_h+set}" = set; then
31915 echo $ECHO_N "(cached) $ECHO_C" >&6
31916 else
31917
31918 save_CFLAGS=$CFLAGS
31919 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31920
31921 cat >conftest.$ac_ext <<_ACEOF
31922 /* confdefs.h. */
31923 _ACEOF
31924 cat confdefs.h >>conftest.$ac_ext
31925 cat >>conftest.$ac_ext <<_ACEOF
31926 /* end confdefs.h. */
31927
31928 #include <X11/xpm.h>
31929
31930 int
31931 main ()
31932 {
31933
31934 int version;
31935 version = XpmLibraryVersion();
31936
31937 ;
31938 return 0;
31939 }
31940 _ACEOF
31941 rm -f conftest.$ac_objext
31942 if { (ac_try="$ac_compile"
31943 case "(($ac_try" in
31944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31945 *) ac_try_echo=$ac_try;;
31946 esac
31947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31948 (eval "$ac_compile") 2>conftest.er1
31949 ac_status=$?
31950 grep -v '^ *+' conftest.er1 >conftest.err
31951 rm -f conftest.er1
31952 cat conftest.err >&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); } && {
31955 test -z "$ac_c_werror_flag" ||
31956 test ! -s conftest.err
31957 } && test -s conftest.$ac_objext; then
31958 wx_cv_x11_xpm_h=yes
31959 else
31960 echo "$as_me: failed program was:" >&5
31961 sed 's/^/| /' conftest.$ac_ext >&5
31962
31963 wx_cv_x11_xpm_h=no
31964
31965 fi
31966
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31968
31969 CFLAGS=$save_CFLAGS
31970
31971
31972 fi
31973 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31975
31976 if test $wx_cv_x11_xpm_h = "yes"; then
31977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31978 cat >>confdefs.h <<\_ACEOF
31979 #define wxHAVE_LIB_XPM 1
31980 _ACEOF
31981
31982 else
31983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31985 fi
31986 fi
31987
31988 fi
31989
31990 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
31998 /* confdefs.h. */
31999 _ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003
32004 /* Override any GCC internal prototype to avoid an error.
32005 Use char because int might match the return type of a GCC
32006 builtin and then its argument prototype would still apply. */
32007 #ifdef __cplusplus
32008 extern "C"
32009 #endif
32010 char XShapeQueryExtension ();
32011 int
32012 main ()
32013 {
32014 return XShapeQueryExtension ();
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (ac_try="$ac_link"
32021 case "(($ac_try" in
32022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32023 *) ac_try_echo=$ac_try;;
32024 esac
32025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32026 (eval "$ac_link") 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext &&
32036 $as_test_x conftest$ac_exeext; then
32037 ac_cv_lib_Xext_XShapeQueryExtension=yes
32038 else
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32041
32042 ac_cv_lib_Xext_XShapeQueryExtension=no
32043 fi
32044
32045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32046 conftest$ac_exeext conftest.$ac_ext
32047 LIBS=$ac_check_lib_save_LIBS
32048 fi
32049 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32050 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32051 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32052
32053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32054 wxHAVE_XEXT_LIB=1
32055
32056 fi
32057
32058
32059 if test "$wxHAVE_XEXT_LIB" = 1; then
32060 save_CFLAGS="$CFLAGS"
32061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32062
32063 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32064 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32065 cat >conftest.$ac_ext <<_ACEOF
32066 /* confdefs.h. */
32067 _ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32071
32072 #include <X11/Xlib.h>
32073 #include <X11/extensions/shape.h>
32074
32075 int
32076 main ()
32077 {
32078
32079 int dummy1, dummy2;
32080 XShapeQueryExtension((Display*)NULL,
32081 (int*)NULL, (int*)NULL);
32082
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext
32088 if { (ac_try="$ac_compile"
32089 case "(($ac_try" in
32090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32091 *) ac_try_echo=$ac_try;;
32092 esac
32093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32094 (eval "$ac_compile") 2>conftest.er1
32095 ac_status=$?
32096 grep -v '^ *+' conftest.er1 >conftest.err
32097 rm -f conftest.er1
32098 cat conftest.err >&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); } && {
32101 test -z "$ac_c_werror_flag" ||
32102 test ! -s conftest.err
32103 } && test -s conftest.$ac_objext; then
32104
32105 cat >>confdefs.h <<\_ACEOF
32106 #define HAVE_XSHAPE 1
32107 _ACEOF
32108
32109 { echo "$as_me:$LINENO: result: found" >&5
32110 echo "${ECHO_T}found" >&6; }
32111
32112 else
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32115
32116
32117 { echo "$as_me:$LINENO: result: not found" >&5
32118 echo "${ECHO_T}not found" >&6; }
32119
32120 fi
32121
32122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32123 CFLAGS="$save_CFLAGS"
32124
32125 fi
32126 fi
32127
32128 if test "$wxUSE_MAC" = 1; then
32129 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32130 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32131 if test "$GCC" = yes; then
32132 { echo "$as_me:$LINENO: result: gcc" >&5
32133 echo "${ECHO_T}gcc" >&6; }
32134 CPPFLAGS_PASCAL="-fpascal-strings"
32135 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32136 { echo "$as_me:$LINENO: result: xlc" >&5
32137 echo "${ECHO_T}xlc" >&6; }
32138 CPPFLAGS_PASCAL="-qmacpstr"
32139 else
32140 { echo "$as_me:$LINENO: result: none" >&5
32141 echo "${ECHO_T}none" >&6; }
32142 fi
32143
32144 if test "x$wxUSE_UNIX" = "xyes"; then
32145 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32146 else
32147 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32148 fi
32149
32150 TOOLKIT=MAC
32151 GUIDIST=MACX_DIST
32152 WXBASEPORT="_carbon"
32153 fi
32154
32155 if test "$wxUSE_COCOA" = 1; then
32156 TOOLKIT=COCOA
32157 GUIDIST=COCOA_DIST
32158 fi
32159
32160 if test "$wxUSE_PM" = 1; then
32161 TOOLKIT=PM
32162 GUIDIST=PM_DIST
32163 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32164 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32165 if test "${wx_cv_spbcdata+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175
32176 #define INCL_PM
32177 #include <os2.h>
32178
32179 int
32180 main ()
32181 {
32182
32183 SPBCDATA test;
32184
32185 ;
32186 return 0;
32187 }
32188 _ACEOF
32189 rm -f conftest.$ac_objext
32190 if { (ac_try="$ac_compile"
32191 case "(($ac_try" in
32192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32193 *) ac_try_echo=$ac_try;;
32194 esac
32195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32196 (eval "$ac_compile") 2>conftest.er1
32197 ac_status=$?
32198 grep -v '^ *+' conftest.er1 >conftest.err
32199 rm -f conftest.er1
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } && {
32203 test -z "$ac_c_werror_flag" ||
32204 test ! -s conftest.err
32205 } && test -s conftest.$ac_objext; then
32206 wx_cv_spbcdata=yes
32207 else
32208 echo "$as_me: failed program was:" >&5
32209 sed 's/^/| /' conftest.$ac_ext >&5
32210
32211 wx_cv_spbcdata=no
32212
32213 fi
32214
32215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32216
32217
32218 fi
32219 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32220 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32221
32222 if test $wx_cv_spbcdata = "yes"; then
32223 cat >>confdefs.h <<\_ACEOF
32224 #define HAVE_SPBCDATA 1
32225 _ACEOF
32226
32227 fi
32228 fi
32229
32230 if test "$TOOLKIT" = "PM" ; then
32231 TOOLKIT_DIR="os2"
32232 else
32233 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
32234 fi
32235
32236 if test "$wxUSE_UNIVERSAL" = "yes"; then
32237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32238 WIDGET_SET=univ
32239 fi
32240
32241 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32242 DISTDIR="wx\$(TOOLKIT)"
32243 else
32244 USE_GUI=0
32245
32246 TOOLKIT_DIR="base"
32247
32248 if test "$USE_WIN32" = 1 ; then
32249 TOOLKIT="MSW"
32250 fi
32251
32252 GUIDIST="BASE_DIST"
32253 DISTDIR="wxBase"
32254 fi
32255
32256
32257
32258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32259 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32260 wxUSE_UNICODE_UTF8=yes
32261 elif test "$USE_OS2" = 1 ; then
32262 wxUSE_UNICODE_UTF8=yes
32263 else
32264 wxUSE_UNICODE_UTF8=no
32265 fi
32266 fi
32267
32268
32269 if test "$wxUSE_GUI" = "yes"; then
32270 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32271
32272 for ac_header in X11/Xlib.h
32273 do
32274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32279 else
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286
32287
32288 #include <$ac_header>
32289 _ACEOF
32290 rm -f conftest.$ac_objext
32291 if { (ac_try="$ac_compile"
32292 case "(($ac_try" in
32293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32294 *) ac_try_echo=$ac_try;;
32295 esac
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_compile") 2>conftest.er1
32298 ac_status=$?
32299 grep -v '^ *+' conftest.er1 >conftest.err
32300 rm -f conftest.er1
32301 cat conftest.err >&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } && {
32304 test -z "$ac_c_werror_flag" ||
32305 test ! -s conftest.err
32306 } && test -s conftest.$ac_objext; then
32307 eval "$as_ac_Header=yes"
32308 else
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32311
32312 eval "$as_ac_Header=no"
32313 fi
32314
32315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32316 fi
32317 ac_res=`eval echo '${'$as_ac_Header'}'`
32318 { echo "$as_me:$LINENO: result: $ac_res" >&5
32319 echo "${ECHO_T}$ac_res" >&6; }
32320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32321 cat >>confdefs.h <<_ACEOF
32322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32323 _ACEOF
32324
32325 fi
32326
32327 done
32328
32329
32330 for ac_header in X11/XKBlib.h
32331 do
32332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32337 else
32338 cat >conftest.$ac_ext <<_ACEOF
32339 /* confdefs.h. */
32340 _ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32344
32345 #if HAVE_X11_XLIB_H
32346 #include <X11/Xlib.h>
32347 #endif
32348
32349
32350 #include <$ac_header>
32351 _ACEOF
32352 rm -f conftest.$ac_objext
32353 if { (ac_try="$ac_compile"
32354 case "(($ac_try" in
32355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32356 *) ac_try_echo=$ac_try;;
32357 esac
32358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32359 (eval "$ac_compile") 2>conftest.er1
32360 ac_status=$?
32361 grep -v '^ *+' conftest.er1 >conftest.err
32362 rm -f conftest.er1
32363 cat conftest.err >&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); } && {
32366 test -z "$ac_c_werror_flag" ||
32367 test ! -s conftest.err
32368 } && test -s conftest.$ac_objext; then
32369 eval "$as_ac_Header=yes"
32370 else
32371 echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32373
32374 eval "$as_ac_Header=no"
32375 fi
32376
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 fi
32379 ac_res=`eval echo '${'$as_ac_Header'}'`
32380 { echo "$as_me:$LINENO: result: $ac_res" >&5
32381 echo "${ECHO_T}$ac_res" >&6; }
32382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32383 cat >>confdefs.h <<_ACEOF
32384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32385 _ACEOF
32386
32387 fi
32388
32389 done
32390
32391 fi
32392 fi
32393
32394
32395
32396 if test "$wxUSE_DISPLAY" = "yes"; then
32397 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32398 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32399 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32400
32401 ac_find_libraries=
32402 for ac_dir in $SEARCH_LIB;
32403 do
32404 for ac_extension in a so sl dylib dll.a; do
32405 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32406 ac_find_libraries=$ac_dir
32407 break 2
32408 fi
32409 done
32410 done
32411
32412 if test "$ac_find_libraries" != "" ; then
32413
32414 if test "$ac_find_libraries" = "default location"; then
32415 ac_path_to_link=""
32416 else
32417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32418 result=$?
32419 if test $result = 0; then
32420 ac_path_to_link=""
32421 else
32422 ac_path_to_link=" -L$ac_find_libraries"
32423 fi
32424 fi
32425
32426 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32427 LDFLAGS="$LDFLAGS $ac_path_to_link"
32428 fi
32429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32430 { echo "$as_me:$LINENO: result: yes" >&5
32431 echo "${ECHO_T}yes" >&6; }
32432
32433 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32434 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32435
32436 ac_find_libraries=
32437 for ac_dir in $SEARCH_LIB;
32438 do
32439 for ac_extension in a so sl dylib dll.a; do
32440 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32441 ac_find_libraries=$ac_dir
32442 break 2
32443 fi
32444 done
32445 done
32446
32447 if test "$ac_find_libraries" != "" ; then
32448 { echo "$as_me:$LINENO: result: yes" >&5
32449 echo "${ECHO_T}yes" >&6; }
32450
32451 for ac_header in X11/extensions/xf86vmode.h
32452 do
32453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459 cat >conftest.$ac_ext <<_ACEOF
32460 /* confdefs.h. */
32461 _ACEOF
32462 cat confdefs.h >>conftest.$ac_ext
32463 cat >>conftest.$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465
32466 #if HAVE_X11_XLIB_H
32467 #include <X11/Xlib.h>
32468 #endif
32469
32470
32471 #include <$ac_header>
32472 _ACEOF
32473 rm -f conftest.$ac_objext
32474 if { (ac_try="$ac_compile"
32475 case "(($ac_try" in
32476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32477 *) ac_try_echo=$ac_try;;
32478 esac
32479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32480 (eval "$ac_compile") 2>conftest.er1
32481 ac_status=$?
32482 grep -v '^ *+' conftest.er1 >conftest.err
32483 rm -f conftest.er1
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } && {
32487 test -z "$ac_c_werror_flag" ||
32488 test ! -s conftest.err
32489 } && test -s conftest.$ac_objext; then
32490 eval "$as_ac_Header=yes"
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495 eval "$as_ac_Header=no"
32496 fi
32497
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499 fi
32500 ac_res=`eval echo '${'$as_ac_Header'}'`
32501 { echo "$as_me:$LINENO: result: $ac_res" >&5
32502 echo "${ECHO_T}$ac_res" >&6; }
32503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32504 cat >>confdefs.h <<_ACEOF
32505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32506 _ACEOF
32507
32508 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32509
32510 fi
32511
32512 done
32513
32514 else
32515 { echo "$as_me:$LINENO: result: no" >&5
32516 echo "${ECHO_T}no" >&6; }
32517 fi
32518
32519 else
32520 { echo "$as_me:$LINENO: result: no" >&5
32521 echo "${ECHO_T}no" >&6; }
32522 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32523 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32524 wxUSE_DISPLAY="no"
32525 fi
32526 elif test "$wxUSE_MSW" = 1; then
32527 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32528 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32529 if test "${ac_cv_header_ddraw_h+set}" = set; then
32530 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 else
32532 cat >conftest.$ac_ext <<_ACEOF
32533 /* confdefs.h. */
32534 _ACEOF
32535 cat confdefs.h >>conftest.$ac_ext
32536 cat >>conftest.$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538 #include <windows.h>
32539
32540 #include <ddraw.h>
32541 _ACEOF
32542 rm -f conftest.$ac_objext
32543 if { (ac_try="$ac_compile"
32544 case "(($ac_try" in
32545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32546 *) ac_try_echo=$ac_try;;
32547 esac
32548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32549 (eval "$ac_compile") 2>conftest.er1
32550 ac_status=$?
32551 grep -v '^ *+' conftest.er1 >conftest.err
32552 rm -f conftest.er1
32553 cat conftest.err >&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } && {
32556 test -z "$ac_c_werror_flag" ||
32557 test ! -s conftest.err
32558 } && test -s conftest.$ac_objext; then
32559 ac_cv_header_ddraw_h=yes
32560 else
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.$ac_ext >&5
32563
32564 ac_cv_header_ddraw_h=no
32565 fi
32566
32567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32568 fi
32569 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32570 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32571
32572
32573 fi
32574 fi
32575
32576 if test "$wxUSE_DETECT_SM" = "yes"; then
32577 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32578 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32579 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32580
32581 ac_find_libraries=
32582 for ac_dir in $SEARCH_LIB;
32583 do
32584 for ac_extension in a so sl dylib dll.a; do
32585 if test -f "$ac_dir/libSM.$ac_extension"; then
32586 ac_find_libraries=$ac_dir
32587 break 2
32588 fi
32589 done
32590 done
32591
32592 if test "$ac_find_libraries" != "" ; then
32593
32594 if test "$ac_find_libraries" = "default location"; then
32595 ac_path_to_link=""
32596 else
32597 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32598 result=$?
32599 if test $result = 0; then
32600 ac_path_to_link=""
32601 else
32602 ac_path_to_link=" -L$ac_find_libraries"
32603 fi
32604 fi
32605
32606 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32607 LDFLAGS="$LDFLAGS $ac_path_to_link"
32608 fi
32609 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32610 { echo "$as_me:$LINENO: result: yes" >&5
32611 echo "${ECHO_T}yes" >&6; }
32612 else
32613 { echo "$as_me:$LINENO: result: no" >&5
32614 echo "${ECHO_T}no" >&6; }
32615 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32616 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32617 wxUSE_DETECT_SM="no"
32618 fi
32619 else
32620 wxUSE_DETECT_SM="no"
32621 fi
32622 fi
32623
32624
32625
32626 USE_OPENGL=0
32627 if test "$wxUSE_OPENGL" = "yes"; then
32628 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32629 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32630 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32631 wxUSE_OPENGL="no"
32632 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32633 OPENGL_LIBS="-framework OpenGL -framework AGL"
32634 elif test "$wxUSE_MSW" = 1; then
32635 OPENGL_LIBS="-lopengl32 -lglu32"
32636 else
32637 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32638 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32639
32640 ac_find_includes=
32641 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32642 do
32643 if test -f "$ac_dir/GL/gl.h"; then
32644 ac_find_includes=$ac_dir
32645 break
32646 fi
32647 done
32648
32649 if test "$ac_find_includes" != "" ; then
32650 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32651 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32652
32653 if test "x$ac_find_includes" = "x/usr/include"; then
32654 ac_path_to_include=""
32655 else
32656 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32657 result=$?
32658 if test $result = 0; then
32659 ac_path_to_include=""
32660 else
32661 ac_path_to_include=" -I$ac_find_includes"
32662 fi
32663 fi
32664
32665 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32666 else
32667 { echo "$as_me:$LINENO: result: not found" >&5
32668 echo "${ECHO_T}not found" >&6; }
32669 fi
32670
32671 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32672 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32673 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 else
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h. */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682
32683
32684 #include <GL/gl.h>
32685 _ACEOF
32686 rm -f conftest.$ac_objext
32687 if { (ac_try="$ac_compile"
32688 case "(($ac_try" in
32689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32690 *) ac_try_echo=$ac_try;;
32691 esac
32692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32693 (eval "$ac_compile") 2>conftest.er1
32694 ac_status=$?
32695 grep -v '^ *+' conftest.er1 >conftest.err
32696 rm -f conftest.er1
32697 cat conftest.err >&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); } && {
32700 test -z "$ac_c_werror_flag" ||
32701 test ! -s conftest.err
32702 } && test -s conftest.$ac_objext; then
32703 ac_cv_header_GL_gl_h=yes
32704 else
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.$ac_ext >&5
32707
32708 ac_cv_header_GL_gl_h=no
32709 fi
32710
32711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32712 fi
32713 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32714 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32715 if test $ac_cv_header_GL_gl_h = yes; then
32716
32717 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32718 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32719 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32721 else
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728
32729
32730 #include <GL/glu.h>
32731 _ACEOF
32732 rm -f conftest.$ac_objext
32733 if { (ac_try="$ac_compile"
32734 case "(($ac_try" in
32735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32736 *) ac_try_echo=$ac_try;;
32737 esac
32738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32739 (eval "$ac_compile") 2>conftest.er1
32740 ac_status=$?
32741 grep -v '^ *+' conftest.er1 >conftest.err
32742 rm -f conftest.er1
32743 cat conftest.err >&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } && {
32746 test -z "$ac_c_werror_flag" ||
32747 test ! -s conftest.err
32748 } && test -s conftest.$ac_objext; then
32749 ac_cv_header_GL_glu_h=yes
32750 else
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 ac_cv_header_GL_glu_h=no
32755 fi
32756
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 fi
32759 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32760 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32761 if test $ac_cv_header_GL_glu_h = yes; then
32762
32763 found_gl=0
32764
32765 { echo "$as_me:$LINENO: checking for -lGL" >&5
32766 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32767
32768 ac_find_libraries=
32769 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32770 do
32771 for ac_extension in a so sl dylib dll.a; do
32772 if test -f "$ac_dir/libGL.$ac_extension"; then
32773 ac_find_libraries=$ac_dir
32774 break 2
32775 fi
32776 done
32777 done
32778
32779 if test "$ac_find_libraries" != "" ; then
32780 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32781 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32782
32783
32784 if test "$ac_find_libraries" = "default location"; then
32785 ac_path_to_link=""
32786 else
32787 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32788 result=$?
32789 if test $result = 0; then
32790 ac_path_to_link=""
32791 else
32792 ac_path_to_link=" -L$ac_find_libraries"
32793 fi
32794 fi
32795
32796 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32797 LDFLAGS_GL="$ac_path_to_link"
32798 fi
32799
32800 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32801 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32802
32803 ac_find_libraries=
32804 for ac_dir in $SEARCH_LIB;
32805 do
32806 for ac_extension in a so sl dylib dll.a; do
32807 if test -f "$ac_dir/libGLU.$ac_extension"; then
32808 ac_find_libraries=$ac_dir
32809 break 2
32810 fi
32811 done
32812 done
32813
32814 if test "$ac_find_libraries" != "" ; then
32815
32816 if test "$ac_find_libraries" = "default location"; then
32817 ac_path_to_link=""
32818 else
32819 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32820 result=$?
32821 if test $result = 0; then
32822 ac_path_to_link=""
32823 else
32824 ac_path_to_link=" -L$ac_find_libraries"
32825 fi
32826 fi
32827
32828 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32829 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32830 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32831 fi
32832
32833 found_gl=1
32834 OPENGL_LIBS="-lGL -lGLU"
32835 { echo "$as_me:$LINENO: result: yes" >&5
32836 echo "${ECHO_T}yes" >&6; }
32837 else
32838 { echo "$as_me:$LINENO: result: no" >&5
32839 echo "${ECHO_T}no" >&6; }
32840 fi
32841 else
32842 { echo "$as_me:$LINENO: result: no" >&5
32843 echo "${ECHO_T}no" >&6; }
32844 fi
32845
32846 if test "$found_gl" != 1; then
32847 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32848 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32849
32850 ac_find_libraries=
32851 for ac_dir in $SEARCH_LIB;
32852 do
32853 for ac_extension in a so sl dylib dll.a; do
32854 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32855 ac_find_libraries=$ac_dir
32856 break 2
32857 fi
32858 done
32859 done
32860
32861 if test "$ac_find_libraries" != "" ; then
32862
32863 if test "$ac_find_libraries" = "default location"; then
32864 ac_path_to_link=""
32865 else
32866 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32867 result=$?
32868 if test $result = 0; then
32869 ac_path_to_link=""
32870 else
32871 ac_path_to_link=" -L$ac_find_libraries"
32872 fi
32873 fi
32874
32875 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32876 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32877 { echo "$as_me:$LINENO: result: yes" >&5
32878 echo "${ECHO_T}yes" >&6; }
32879 else
32880 { echo "$as_me:$LINENO: result: no" >&5
32881 echo "${ECHO_T}no" >&6; }
32882 fi
32883 fi
32884
32885 fi
32886
32887
32888
32889 fi
32890
32891
32892
32893 if test "x$OPENGL_LIBS" = "x"; then
32894 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32895 echo "$as_me: error: OpenGL libraries not available" >&2;}
32896 { (exit 1); exit 1; }; }
32897 fi
32898 fi
32899
32900 if test "$wxUSE_OPENGL" = "yes"; then
32901 USE_OPENGL=1
32902 cat >>confdefs.h <<\_ACEOF
32903 #define wxUSE_OPENGL 1
32904 _ACEOF
32905
32906 cat >>confdefs.h <<\_ACEOF
32907 #define wxUSE_GLCANVAS 1
32908 _ACEOF
32909
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32911 fi
32912 fi
32913
32914
32915 if test -n "$TOOLKIT" ; then
32916 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32917 fi
32918
32919
32920
32921 if test "$wxUSE_SHARED" = "yes"; then
32922 case "${host}" in
32923 *-pc-msdosdjgpp )
32924 wxUSE_SHARED=no
32925 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32926 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32927 ;;
32928 esac
32929 fi
32930
32931 if test "$wxUSE_SHARED" = "yes"; then
32932
32933
32934 case "${host}" in
32935 *-*-cygwin* | *-*-mingw* )
32936 wx_cv_version_script=no
32937 ;;
32938
32939 *)
32940 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32941 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32942 if test "${wx_cv_version_script+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945
32946 echo "VER_1 { *; };" >conftest.sym
32947 echo "int main() { return 0; }" >conftest.cpp
32948
32949 if { ac_try='
32950 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32951 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } ; then
32957 if test -s conftest.stderr ; then
32958 wx_cv_version_script=no
32959 else
32960 wx_cv_version_script=yes
32961 fi
32962 else
32963 wx_cv_version_script=no
32964 fi
32965
32966 if test $wx_cv_version_script = yes
32967 then
32968 echo "struct B { virtual ~B() { } }; \
32969 struct D : public B { }; \
32970 void F() { D d; }" > conftest.cpp
32971
32972 if { ac_try='
32973 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32974 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try='
32981 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32982 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32985 ac_status=$?
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; }
32988 then
32989 if { ac_try='
32990 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32991 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }
32997 then
32998 wx_cv_version_script=yes
32999 else
33000 wx_cv_version_script=no
33001 fi
33002 fi
33003 fi
33004
33005 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33006 rm -f conftest1.output conftest2.output conftest3.output
33007
33008 fi
33009 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33010 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33011
33012 if test $wx_cv_version_script = yes ; then
33013 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33014 fi
33015 ;;
33016 esac
33017
33018
33019 if test "$wxUSE_VISIBILITY" != "no"; then
33020
33021
33022 if test -n "$GCC"; then
33023 CFLAGS_VISIBILITY="-fvisibility=hidden"
33024 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33025 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33026 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33027 if test "${wx_cv_cc_visibility+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030
33031 wx_save_CXXFLAGS="$CXXFLAGS"
33032 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33033 ac_ext=cpp
33034 ac_cpp='$CXXCPP $CPPFLAGS'
33035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33038
33039 cat >conftest.$ac_ext <<_ACEOF
33040 /* confdefs.h. */
33041 _ACEOF
33042 cat confdefs.h >>conftest.$ac_ext
33043 cat >>conftest.$ac_ext <<_ACEOF
33044 /* end confdefs.h. */
33045
33046 /* we need gcc >= 4.0, older versions with visibility support
33047 didn't have class visibility: */
33048 #if defined(__GNUC__) && __GNUC__ < 4
33049 error this gcc is too old;
33050 #endif
33051
33052 /* visibility only makes sense for ELF shared libs: */
33053 #if !defined(__ELF__) && !defined(__APPLE__)
33054 error this platform has no visibility;
33055 #endif
33056
33057 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33058 extern __attribute__((__visibility__("default"))) int exportedvar;
33059 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33060 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33061 class __attribute__((__visibility__("default"))) Foo {
33062 Foo() {}
33063 };
33064
33065 int
33066 main ()
33067 {
33068
33069 ;
33070 return 0;
33071 }
33072 _ACEOF
33073 rm -f conftest.$ac_objext
33074 if { (ac_try="$ac_compile"
33075 case "(($ac_try" in
33076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33077 *) ac_try_echo=$ac_try;;
33078 esac
33079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33080 (eval "$ac_compile") 2>conftest.er1
33081 ac_status=$?
33082 grep -v '^ *+' conftest.er1 >conftest.err
33083 rm -f conftest.er1
33084 cat conftest.err >&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); } && {
33087 test -z "$ac_cxx_werror_flag" ||
33088 test ! -s conftest.err
33089 } && test -s conftest.$ac_objext; then
33090 wx_cv_cc_visibility=yes
33091 else
33092 echo "$as_me: failed program was:" >&5
33093 sed 's/^/| /' conftest.$ac_ext >&5
33094
33095 wx_cv_cc_visibility=no
33096 fi
33097
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33104
33105 CXXFLAGS="$wx_save_CXXFLAGS"
33106 fi
33107
33108 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33109 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33110 if test $wx_cv_cc_visibility = yes; then
33111 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33112 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33113 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33115 else
33116
33117 wx_save_CXXFLAGS="$CXXFLAGS"
33118 wx_save_LDFLAGS="$LDFLAGS"
33119 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33120 LDFLAGS="$LDFLAGS -shared -fPIC"
33121 ac_ext=cpp
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33126
33127 cat >conftest.$ac_ext <<_ACEOF
33128 /* confdefs.h. */
33129 _ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133
33134 #include <string>
33135
33136 int
33137 main ()
33138 {
33139
33140 std::string s("hello");
33141 return s.length();
33142
33143 ;
33144 return 0;
33145 }
33146 _ACEOF
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (ac_try="$ac_link"
33149 case "(($ac_try" in
33150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33152 esac
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_link") 2>conftest.er1
33155 ac_status=$?
33156 grep -v '^ *+' conftest.er1 >conftest.err
33157 rm -f conftest.er1
33158 cat conftest.err >&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } && {
33161 test -z "$ac_cxx_werror_flag" ||
33162 test ! -s conftest.err
33163 } && test -s conftest$ac_exeext &&
33164 $as_test_x conftest$ac_exeext; then
33165 wx_cv_cc_broken_libstdcxx_visibility=no
33166 else
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.$ac_ext >&5
33169
33170 wx_cv_cc_broken_libstdcxx_visibility=yes
33171 fi
33172
33173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33174 conftest$ac_exeext conftest.$ac_ext
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33180
33181 CXXFLAGS="$wx_save_CXXFLAGS"
33182 LDFLAGS="$wx_save_LDFLAGS"
33183 fi
33184
33185 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33186 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33187
33188 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33189 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33190 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33191 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 else
33194
33195 ac_ext=cpp
33196 ac_cpp='$CXXCPP $CPPFLAGS'
33197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33200
33201 cat >conftest.$ac_ext <<_ACEOF
33202 /* confdefs.h. */
33203 _ACEOF
33204 cat confdefs.h >>conftest.$ac_ext
33205 cat >>conftest.$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33207
33208 #pragma GCC visibility push(default)
33209 #include <string>
33210 #pragma GCC visibility pop
33211
33212 int
33213 main ()
33214 {
33215
33216 std::string s("hello");
33217 return s.length();
33218
33219 ;
33220 return 0;
33221 }
33222 _ACEOF
33223 rm -f conftest.$ac_objext conftest$ac_exeext
33224 if { (ac_try="$ac_link"
33225 case "(($ac_try" in
33226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33227 *) ac_try_echo=$ac_try;;
33228 esac
33229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33230 (eval "$ac_link") 2>conftest.er1
33231 ac_status=$?
33232 grep -v '^ *+' conftest.er1 >conftest.err
33233 rm -f conftest.er1
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } && {
33237 test -z "$ac_cxx_werror_flag" ||
33238 test ! -s conftest.err
33239 } && test -s conftest$ac_exeext &&
33240 $as_test_x conftest$ac_exeext; then
33241 wx_cv_cc_visibility_workaround=no
33242 else
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.$ac_ext >&5
33245
33246 wx_cv_cc_visibility_workaround=yes
33247 fi
33248
33249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33250 conftest$ac_exeext conftest.$ac_ext
33251 ac_ext=c
33252 ac_cpp='$CPP $CPPFLAGS'
33253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33256
33257
33258 fi
33259
33260 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33261 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33262
33263 if test $wx_cv_cc_visibility_workaround = no; then
33264 wx_cv_cc_visibility=no
33265 fi
33266 fi
33267 fi
33268
33269 if test $wx_cv_cc_visibility = yes; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define HAVE_VISIBILITY 1
33272 _ACEOF
33273
33274 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33275 cat >>confdefs.h <<\_ACEOF
33276 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33277 _ACEOF
33278
33279 fi
33280 else
33281 CFLAGS_VISIBILITY=""
33282 CXXFLAGS_VISIBILITY=""
33283 fi
33284
33285
33286 fi
33287
33288 fi
33289
33290 if test "x$SUNCXX" = xyes; then
33291 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33292 WXCONFIG_RPATH="-R\$libdir"
33293 else
33294 case "${host}" in
33295 *-*-linux* | *-*-gnu* )
33296 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33297 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33298 ;;
33299
33300 *-*-solaris2* )
33301
33302 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33303
33304 saveLdflags="$LDFLAGS"
33305 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33306 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33307 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33308 cat >conftest.$ac_ext <<_ACEOF
33309 /* confdefs.h. */
33310 _ACEOF
33311 cat confdefs.h >>conftest.$ac_ext
33312 cat >>conftest.$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33314
33315 int
33316 main ()
33317 {
33318
33319 ;
33320 return 0;
33321 }
33322 _ACEOF
33323 rm -f conftest.$ac_objext conftest$ac_exeext
33324 if { (ac_try="$ac_link"
33325 case "(($ac_try" in
33326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33327 *) ac_try_echo=$ac_try;;
33328 esac
33329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33330 (eval "$ac_link") 2>conftest.er1
33331 ac_status=$?
33332 grep -v '^ *+' conftest.er1 >conftest.err
33333 rm -f conftest.er1
33334 cat conftest.err >&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } && {
33337 test -z "$ac_c_werror_flag" ||
33338 test ! -s conftest.err
33339 } && test -s conftest$ac_exeext &&
33340 $as_test_x conftest$ac_exeext; then
33341
33342 { echo "$as_me:$LINENO: result: yes" >&5
33343 echo "${ECHO_T}yes" >&6; }
33344 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33345 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33346
33347 else
33348 echo "$as_me: failed program was:" >&5
33349 sed 's/^/| /' conftest.$ac_ext >&5
33350
33351
33352 { echo "$as_me:$LINENO: result: no" >&5
33353 echo "${ECHO_T}no" >&6; }
33354 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33355 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33356 LDFLAGS="$saveLdflags -Wl,-R,/"
33357 cat >conftest.$ac_ext <<_ACEOF
33358 /* confdefs.h. */
33359 _ACEOF
33360 cat confdefs.h >>conftest.$ac_ext
33361 cat >>conftest.$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33363
33364 int
33365 main ()
33366 {
33367
33368 ;
33369 return 0;
33370 }
33371 _ACEOF
33372 rm -f conftest.$ac_objext conftest$ac_exeext
33373 if { (ac_try="$ac_link"
33374 case "(($ac_try" in
33375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33376 *) ac_try_echo=$ac_try;;
33377 esac
33378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33379 (eval "$ac_link") 2>conftest.er1
33380 ac_status=$?
33381 grep -v '^ *+' conftest.er1 >conftest.err
33382 rm -f conftest.er1
33383 cat conftest.err >&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } && {
33386 test -z "$ac_c_werror_flag" ||
33387 test ! -s conftest.err
33388 } && test -s conftest$ac_exeext &&
33389 $as_test_x conftest$ac_exeext; then
33390
33391 { echo "$as_me:$LINENO: result: yes" >&5
33392 echo "${ECHO_T}yes" >&6; }
33393 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33394 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33395
33396 else
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33399
33400
33401 { echo "$as_me:$LINENO: result: no" >&5
33402 echo "${ECHO_T}no" >&6; }
33403
33404 fi
33405
33406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33407 conftest$ac_exeext conftest.$ac_ext
33408
33409 fi
33410
33411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33412 conftest$ac_exeext conftest.$ac_ext
33413 LDFLAGS="$saveLdflags"
33414 ;;
33415
33416 *-*-darwin* )
33417 install_name_tool=`which install_name_tool`
33418 if test "$install_name_tool" -a -x "$install_name_tool"; then
33419 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33420 cat <<EOF >change-install-names
33421 #!/bin/sh
33422 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33423 inst_cmd="install_name_tool "
33424 for i in \${libnames} ; do
33425 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33426 done
33427 \${inst_cmd} \${3}
33428 EOF
33429 chmod +x change-install-names
33430 fi
33431 ;;
33432
33433 *-*-cygwin* | *-*-mingw32* )
33434 ;;
33435
33436 *-*-hpux* )
33437 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33438 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33439 ;;
33440
33441 esac
33442 fi
33443
33444 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33445
33446 if test $wxUSE_RPATH = "no"; then
33447 SAMPLES_RPATH_FLAG=''
33448 SAMPLES_RPATH_POSTLINK=''
33449 WXCONFIG_RPATH=''
33450 fi
33451
33452 SHARED=1
33453
33454 else
33455
33456 config_linkage_component="-static"
33457 SHARED=0
33458
33459 fi
33460
33461
33462 UNICODE=0
33463 lib_unicode_suffix=
33464 WX_CHARTYPE="ansi"
33465 if test "$wxUSE_UNICODE" = "yes"; then
33466 lib_unicode_suffix=u
33467 WX_CHARTYPE="unicode"
33468 UNICODE=1
33469 fi
33470
33471 lib_debug_suffix=
33472 WX_DEBUGTYPE="release"
33473 DEBUG_FLAG=0
33474 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33475 lib_debug_suffix=d
33476 WX_DEBUGTYPE="debug"
33477 DEBUG_FLAG=1
33478 fi
33479
33480 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33481 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33482
33483 DEBUG_INFO=0
33484 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33485 DEBUG_INFO=1
33486 fi
33487
33488 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33489
33490 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33491
33492 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33493
33494 if test "$cross_compiling" = "yes"; then
33495 HOST_SUFFIX="-$host_alias"
33496 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33497 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33498 fi
33499
33500 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33501 if test "${TOOLKIT_DIR}" = "os2"; then
33502 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33503 else
33504 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33505 fi
33506
33507
33508
33509 if test "$wxUSE_COCOA" = 1; then
33510
33511 ac_ext=c
33512 ac_cpp='$CPP $CPPFLAGS'
33513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33516
33517 ac_ext=m
33518
33519 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33520 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33521 cat >conftest.$ac_ext <<_ACEOF
33522 /* confdefs.h. */
33523 _ACEOF
33524 cat confdefs.h >>conftest.$ac_ext
33525 cat >>conftest.$ac_ext <<_ACEOF
33526 /* end confdefs.h. */
33527 #include <AppKit/NSEvent.h>
33528 #include <CoreFoundation/CoreFoundation.h>
33529
33530 int
33531 main ()
33532 {
33533
33534 ;
33535 return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33543 esac
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33546 ac_status=$?
33547 grep -v '^ *+' conftest.er1 >conftest.err
33548 rm -f conftest.er1
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_c_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.$ac_objext; then
33555 { echo "$as_me:$LINENO: result: no" >&5
33556 echo "${ECHO_T}no" >&6; }
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561 { echo "$as_me:$LINENO: result: yes" >&5
33562 echo "${ECHO_T}yes" >&6; }
33563 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33564 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33565 cat >conftest.$ac_ext <<_ACEOF
33566 /* confdefs.h. */
33567 _ACEOF
33568 cat confdefs.h >>conftest.$ac_ext
33569 cat >>conftest.$ac_ext <<_ACEOF
33570 /* end confdefs.h. */
33571 #define __Point__ 1
33572 #include <AppKit/NSEvent.h>
33573 #include <CoreFoundation/CoreFoundation.h>
33574
33575 int
33576 main ()
33577 {
33578
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 rm -f conftest.$ac_objext
33584 if { (ac_try="$ac_compile"
33585 case "(($ac_try" in
33586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33587 *) ac_try_echo=$ac_try;;
33588 esac
33589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33590 (eval "$ac_compile") 2>conftest.er1
33591 ac_status=$?
33592 grep -v '^ *+' conftest.er1 >conftest.err
33593 rm -f conftest.er1
33594 cat conftest.err >&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } && {
33597 test -z "$ac_c_werror_flag" ||
33598 test ! -s conftest.err
33599 } && test -s conftest.$ac_objext; then
33600 { echo "$as_me:$LINENO: result: yes" >&5
33601 echo "${ECHO_T}yes" >&6; }
33602 cat >>confdefs.h <<\_ACEOF
33603 #define __Point__ 1
33604 _ACEOF
33605
33606
33607 else
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33610
33611 { { echo "$as_me:$LINENO: error: no
33612 See \`config.log' for more details." >&5
33613 echo "$as_me: error: no
33614 See \`config.log' for more details." >&2;}
33615 { (exit 1); exit 1; }; }
33616
33617 fi
33618
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620
33621 fi
33622
33623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33624 ac_ext=c
33625 ac_cpp='$CPP $CPPFLAGS'
33626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33629
33630 fi
33631
33632
33633 { echo "$as_me:$LINENO: checking for mode_t" >&5
33634 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33635 if test "${ac_cv_type_mode_t+set}" = set; then
33636 echo $ECHO_N "(cached) $ECHO_C" >&6
33637 else
33638 cat >conftest.$ac_ext <<_ACEOF
33639 /* confdefs.h. */
33640 _ACEOF
33641 cat confdefs.h >>conftest.$ac_ext
33642 cat >>conftest.$ac_ext <<_ACEOF
33643 /* end confdefs.h. */
33644 $ac_includes_default
33645 typedef mode_t ac__type_new_;
33646 int
33647 main ()
33648 {
33649 if ((ac__type_new_ *) 0)
33650 return 0;
33651 if (sizeof (ac__type_new_))
33652 return 0;
33653 ;
33654 return 0;
33655 }
33656 _ACEOF
33657 rm -f conftest.$ac_objext
33658 if { (ac_try="$ac_compile"
33659 case "(($ac_try" in
33660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33661 *) ac_try_echo=$ac_try;;
33662 esac
33663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33664 (eval "$ac_compile") 2>conftest.er1
33665 ac_status=$?
33666 grep -v '^ *+' conftest.er1 >conftest.err
33667 rm -f conftest.er1
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } && {
33671 test -z "$ac_c_werror_flag" ||
33672 test ! -s conftest.err
33673 } && test -s conftest.$ac_objext; then
33674 ac_cv_type_mode_t=yes
33675 else
33676 echo "$as_me: failed program was:" >&5
33677 sed 's/^/| /' conftest.$ac_ext >&5
33678
33679 ac_cv_type_mode_t=no
33680 fi
33681
33682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33683 fi
33684 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33685 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33686 if test $ac_cv_type_mode_t = yes; then
33687 :
33688 else
33689
33690 cat >>confdefs.h <<_ACEOF
33691 #define mode_t int
33692 _ACEOF
33693
33694 fi
33695
33696 { echo "$as_me:$LINENO: checking for off_t" >&5
33697 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33698 if test "${ac_cv_type_off_t+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701 cat >conftest.$ac_ext <<_ACEOF
33702 /* confdefs.h. */
33703 _ACEOF
33704 cat confdefs.h >>conftest.$ac_ext
33705 cat >>conftest.$ac_ext <<_ACEOF
33706 /* end confdefs.h. */
33707 $ac_includes_default
33708 typedef off_t ac__type_new_;
33709 int
33710 main ()
33711 {
33712 if ((ac__type_new_ *) 0)
33713 return 0;
33714 if (sizeof (ac__type_new_))
33715 return 0;
33716 ;
33717 return 0;
33718 }
33719 _ACEOF
33720 rm -f conftest.$ac_objext
33721 if { (ac_try="$ac_compile"
33722 case "(($ac_try" in
33723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33724 *) ac_try_echo=$ac_try;;
33725 esac
33726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33727 (eval "$ac_compile") 2>conftest.er1
33728 ac_status=$?
33729 grep -v '^ *+' conftest.er1 >conftest.err
33730 rm -f conftest.er1
33731 cat conftest.err >&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); } && {
33734 test -z "$ac_c_werror_flag" ||
33735 test ! -s conftest.err
33736 } && test -s conftest.$ac_objext; then
33737 ac_cv_type_off_t=yes
33738 else
33739 echo "$as_me: failed program was:" >&5
33740 sed 's/^/| /' conftest.$ac_ext >&5
33741
33742 ac_cv_type_off_t=no
33743 fi
33744
33745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33746 fi
33747 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33748 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33749 if test $ac_cv_type_off_t = yes; then
33750 :
33751 else
33752
33753 cat >>confdefs.h <<_ACEOF
33754 #define off_t long int
33755 _ACEOF
33756
33757 fi
33758
33759 { echo "$as_me:$LINENO: checking for pid_t" >&5
33760 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33761 if test "${ac_cv_type_pid_t+set}" = set; then
33762 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 else
33764 cat >conftest.$ac_ext <<_ACEOF
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 $ac_includes_default
33771 typedef pid_t ac__type_new_;
33772 int
33773 main ()
33774 {
33775 if ((ac__type_new_ *) 0)
33776 return 0;
33777 if (sizeof (ac__type_new_))
33778 return 0;
33779 ;
33780 return 0;
33781 }
33782 _ACEOF
33783 rm -f conftest.$ac_objext
33784 if { (ac_try="$ac_compile"
33785 case "(($ac_try" in
33786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33787 *) ac_try_echo=$ac_try;;
33788 esac
33789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33790 (eval "$ac_compile") 2>conftest.er1
33791 ac_status=$?
33792 grep -v '^ *+' conftest.er1 >conftest.err
33793 rm -f conftest.er1
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } && {
33797 test -z "$ac_c_werror_flag" ||
33798 test ! -s conftest.err
33799 } && test -s conftest.$ac_objext; then
33800 ac_cv_type_pid_t=yes
33801 else
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33804
33805 ac_cv_type_pid_t=no
33806 fi
33807
33808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33809 fi
33810 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33811 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33812 if test $ac_cv_type_pid_t = yes; then
33813 :
33814 else
33815
33816 cat >>confdefs.h <<_ACEOF
33817 #define pid_t int
33818 _ACEOF
33819
33820 fi
33821
33822 { echo "$as_me:$LINENO: checking for size_t" >&5
33823 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33824 if test "${ac_cv_type_size_t+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 $ac_includes_default
33834 typedef size_t ac__type_new_;
33835 int
33836 main ()
33837 {
33838 if ((ac__type_new_ *) 0)
33839 return 0;
33840 if (sizeof (ac__type_new_))
33841 return 0;
33842 ;
33843 return 0;
33844 }
33845 _ACEOF
33846 rm -f conftest.$ac_objext
33847 if { (ac_try="$ac_compile"
33848 case "(($ac_try" in
33849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33850 *) ac_try_echo=$ac_try;;
33851 esac
33852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33853 (eval "$ac_compile") 2>conftest.er1
33854 ac_status=$?
33855 grep -v '^ *+' conftest.er1 >conftest.err
33856 rm -f conftest.er1
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } && {
33860 test -z "$ac_c_werror_flag" ||
33861 test ! -s conftest.err
33862 } && test -s conftest.$ac_objext; then
33863 ac_cv_type_size_t=yes
33864 else
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.$ac_ext >&5
33867
33868 ac_cv_type_size_t=no
33869 fi
33870
33871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33872 fi
33873 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33874 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33875 if test $ac_cv_type_size_t = yes; then
33876 :
33877 else
33878
33879 cat >>confdefs.h <<_ACEOF
33880 #define size_t unsigned int
33881 _ACEOF
33882
33883 fi
33884
33885 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33886 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33887 if test "${ac_cv_type_uid_t+set}" = set; then
33888 echo $ECHO_N "(cached) $ECHO_C" >&6
33889 else
33890 cat >conftest.$ac_ext <<_ACEOF
33891 /* confdefs.h. */
33892 _ACEOF
33893 cat confdefs.h >>conftest.$ac_ext
33894 cat >>conftest.$ac_ext <<_ACEOF
33895 /* end confdefs.h. */
33896 #include <sys/types.h>
33897
33898 _ACEOF
33899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33900 $EGREP "uid_t" >/dev/null 2>&1; then
33901 ac_cv_type_uid_t=yes
33902 else
33903 ac_cv_type_uid_t=no
33904 fi
33905 rm -f conftest*
33906
33907 fi
33908 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33909 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33910 if test $ac_cv_type_uid_t = no; then
33911
33912 cat >>confdefs.h <<\_ACEOF
33913 #define uid_t int
33914 _ACEOF
33915
33916
33917 cat >>confdefs.h <<\_ACEOF
33918 #define gid_t int
33919 _ACEOF
33920
33921 fi
33922
33923
33924 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33925 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33926 if test "${ac_cv_type_ssize_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 ssize_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_ssize_t=yes
33966 else
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33969
33970 ac_cv_type_ssize_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_ssize_t" >&5
33976 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33977 if test $ac_cv_type_ssize_t = yes; then
33978
33979 cat >>confdefs.h <<_ACEOF
33980 #define HAVE_SSIZE_T 1
33981 _ACEOF
33982
33983
33984 fi
33985
33986
33987 ac_ext=cpp
33988 ac_cpp='$CXXCPP $CPPFLAGS'
33989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33992 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33993 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33994 if test "${wx_cv_size_t_is_uint+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997
33998 cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h. */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <stddef.h>
34005 int
34006 main ()
34007 {
34008
34009 return 0; }
34010
34011 struct Foo { void foo(size_t); void foo(unsigned int); };
34012
34013 int bar() {
34014
34015 ;
34016 return 0;
34017 }
34018 _ACEOF
34019 rm -f conftest.$ac_objext
34020 if { (ac_try="$ac_compile"
34021 case "(($ac_try" in
34022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34023 *) ac_try_echo=$ac_try;;
34024 esac
34025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34026 (eval "$ac_compile") 2>conftest.er1
34027 ac_status=$?
34028 grep -v '^ *+' conftest.er1 >conftest.err
34029 rm -f conftest.er1
34030 cat conftest.err >&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && {
34033 test -z "$ac_cxx_werror_flag" ||
34034 test ! -s conftest.err
34035 } && test -s conftest.$ac_objext; then
34036 wx_cv_size_t_is_uint=no
34037 else
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34040
34041 wx_cv_size_t_is_uint=yes
34042
34043 fi
34044
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046
34047
34048 fi
34049 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34050 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34051
34052 if test "$wx_cv_size_t_is_uint" = "yes"; then
34053 cat >>confdefs.h <<\_ACEOF
34054 #define wxSIZE_T_IS_UINT 1
34055 _ACEOF
34056
34057 else
34058 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34059 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34060 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34063 cat >conftest.$ac_ext <<_ACEOF
34064 /* confdefs.h. */
34065 _ACEOF
34066 cat confdefs.h >>conftest.$ac_ext
34067 cat >>conftest.$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34069 #include <stddef.h>
34070 int
34071 main ()
34072 {
34073
34074 return 0; }
34075
34076 struct Foo { void foo(size_t); void foo(unsigned long); };
34077
34078 int bar() {
34079
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext
34085 if { (ac_try="$ac_compile"
34086 case "(($ac_try" in
34087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34088 *) ac_try_echo=$ac_try;;
34089 esac
34090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34091 (eval "$ac_compile") 2>conftest.er1
34092 ac_status=$?
34093 grep -v '^ *+' conftest.er1 >conftest.err
34094 rm -f conftest.er1
34095 cat conftest.err >&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } && {
34098 test -z "$ac_cxx_werror_flag" ||
34099 test ! -s conftest.err
34100 } && test -s conftest.$ac_objext; then
34101 wx_cv_size_t_is_ulong=no
34102 else
34103 echo "$as_me: failed program was:" >&5
34104 sed 's/^/| /' conftest.$ac_ext >&5
34105
34106 wx_cv_size_t_is_ulong=yes
34107
34108 fi
34109
34110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34111
34112 fi
34113 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34114 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34115
34116 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34117 cat >>confdefs.h <<\_ACEOF
34118 #define wxSIZE_T_IS_ULONG 1
34119 _ACEOF
34120
34121 fi
34122 fi
34123
34124 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34125 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34126 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 else
34129 cat >conftest.$ac_ext <<_ACEOF
34130 /* confdefs.h. */
34131 _ACEOF
34132 cat confdefs.h >>conftest.$ac_ext
34133 cat >>conftest.$ac_ext <<_ACEOF
34134 /* end confdefs.h. */
34135 #include <wchar.h>
34136 int
34137 main ()
34138 {
34139
34140 return 0; }
34141
34142 struct Foo { void foo(wchar_t);
34143 void foo(unsigned short);
34144 void foo(unsigned int);
34145 void foo(unsigned long); };
34146
34147 int bar() {
34148
34149 ;
34150 return 0;
34151 }
34152 _ACEOF
34153 rm -f conftest.$ac_objext
34154 if { (ac_try="$ac_compile"
34155 case "(($ac_try" in
34156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34157 *) ac_try_echo=$ac_try;;
34158 esac
34159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34160 (eval "$ac_compile") 2>conftest.er1
34161 ac_status=$?
34162 grep -v '^ *+' conftest.er1 >conftest.err
34163 rm -f conftest.er1
34164 cat conftest.err >&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } && {
34167 test -z "$ac_cxx_werror_flag" ||
34168 test ! -s conftest.err
34169 } && test -s conftest.$ac_objext; then
34170 wx_cv_wchar_t_is_separate_type=yes
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34174
34175 wx_cv_wchar_t_is_separate_type=no
34176
34177 fi
34178
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180
34181 fi
34182 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34183 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34184
34185 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34186 cat >>confdefs.h <<\_ACEOF
34187 #define wxWCHAR_T_IS_REAL_TYPE 1
34188 _ACEOF
34189
34190 else
34191 cat >>confdefs.h <<\_ACEOF
34192 #define wxWCHAR_T_IS_REAL_TYPE 0
34193 _ACEOF
34194
34195 fi
34196
34197 ac_ext=c
34198 ac_cpp='$CPP $CPPFLAGS'
34199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34202
34203
34204 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34205 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34206 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34207 echo $ECHO_N "(cached) $ECHO_C" >&6
34208 else
34209
34210 cat >conftest.$ac_ext <<_ACEOF
34211 /* confdefs.h. */
34212 _ACEOF
34213 cat confdefs.h >>conftest.$ac_ext
34214 cat >>conftest.$ac_ext <<_ACEOF
34215 /* end confdefs.h. */
34216 #include <pwd.h>
34217 int
34218 main ()
34219 {
34220
34221 char *p;
34222 struct passwd *pw;
34223 p = pw->pw_gecos;
34224
34225 ;
34226 return 0;
34227 }
34228 _ACEOF
34229 rm -f conftest.$ac_objext
34230 if { (ac_try="$ac_compile"
34231 case "(($ac_try" in
34232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34233 *) ac_try_echo=$ac_try;;
34234 esac
34235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34236 (eval "$ac_compile") 2>conftest.er1
34237 ac_status=$?
34238 grep -v '^ *+' conftest.er1 >conftest.err
34239 rm -f conftest.er1
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } && {
34243 test -z "$ac_c_werror_flag" ||
34244 test ! -s conftest.err
34245 } && test -s conftest.$ac_objext; then
34246
34247 wx_cv_struct_pw_gecos=yes
34248
34249 else
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34252
34253
34254 wx_cv_struct_pw_gecos=no
34255
34256
34257 fi
34258
34259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34260
34261
34262 fi
34263 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34264 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34265
34266 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34267 cat >>confdefs.h <<\_ACEOF
34268 #define HAVE_PW_GECOS 1
34269 _ACEOF
34270
34271 fi
34272
34273
34274 if test "$wxUSE_WCHAR_T" = "yes"; then
34275 cat >>confdefs.h <<\_ACEOF
34276 #define wxUSE_WCHAR_T 1
34277 _ACEOF
34278
34279
34280 WCSLEN_FOUND=0
34281 WCHAR_LINK=
34282
34283 for ac_func in wcslen
34284 do
34285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34289 echo $ECHO_N "(cached) $ECHO_C" >&6
34290 else
34291 cat >conftest.$ac_ext <<_ACEOF
34292 /* confdefs.h. */
34293 _ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34299 #define $ac_func innocuous_$ac_func
34300
34301 /* System header to define __stub macros and hopefully few prototypes,
34302 which can conflict with char $ac_func (); below.
34303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34304 <limits.h> exists even on freestanding compilers. */
34305
34306 #ifdef __STDC__
34307 # include <limits.h>
34308 #else
34309 # include <assert.h>
34310 #endif
34311
34312 #undef $ac_func
34313
34314 /* Override any GCC internal prototype to avoid an error.
34315 Use char because int might match the return type of a GCC
34316 builtin and then its argument prototype would still apply. */
34317 #ifdef __cplusplus
34318 extern "C"
34319 #endif
34320 char $ac_func ();
34321 /* The GNU C library defines this for functions which it implements
34322 to always fail with ENOSYS. Some functions are actually named
34323 something starting with __ and the normal name is an alias. */
34324 #if defined __stub_$ac_func || defined __stub___$ac_func
34325 choke me
34326 #endif
34327
34328 int
34329 main ()
34330 {
34331 return $ac_func ();
34332 ;
34333 return 0;
34334 }
34335 _ACEOF
34336 rm -f conftest.$ac_objext conftest$ac_exeext
34337 if { (ac_try="$ac_link"
34338 case "(($ac_try" in
34339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34340 *) ac_try_echo=$ac_try;;
34341 esac
34342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34343 (eval "$ac_link") 2>conftest.er1
34344 ac_status=$?
34345 grep -v '^ *+' conftest.er1 >conftest.err
34346 rm -f conftest.er1
34347 cat conftest.err >&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); } && {
34350 test -z "$ac_c_werror_flag" ||
34351 test ! -s conftest.err
34352 } && test -s conftest$ac_exeext &&
34353 $as_test_x conftest$ac_exeext; then
34354 eval "$as_ac_var=yes"
34355 else
34356 echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34358
34359 eval "$as_ac_var=no"
34360 fi
34361
34362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34363 conftest$ac_exeext conftest.$ac_ext
34364 fi
34365 ac_res=`eval echo '${'$as_ac_var'}'`
34366 { echo "$as_me:$LINENO: result: $ac_res" >&5
34367 echo "${ECHO_T}$ac_res" >&6; }
34368 if test `eval echo '${'$as_ac_var'}'` = yes; then
34369 cat >>confdefs.h <<_ACEOF
34370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34371 _ACEOF
34372 WCSLEN_FOUND=1
34373 fi
34374 done
34375
34376
34377 if test "$WCSLEN_FOUND" = 0; then
34378 if test "$TOOLKIT" = "MSW"; then
34379 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34380 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34381 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 else
34384 ac_check_lib_save_LIBS=$LIBS
34385 LIBS="-lmsvcrt $LIBS"
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393 /* Override any GCC internal prototype to avoid an error.
34394 Use char because int might match the return type of a GCC
34395 builtin and then its argument prototype would still apply. */
34396 #ifdef __cplusplus
34397 extern "C"
34398 #endif
34399 char wcslen ();
34400 int
34401 main ()
34402 {
34403 return wcslen ();
34404 ;
34405 return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (ac_try="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34413 esac
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>conftest.er1
34416 ac_status=$?
34417 grep -v '^ *+' conftest.er1 >conftest.err
34418 rm -f conftest.er1
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest$ac_exeext &&
34425 $as_test_x conftest$ac_exeext; then
34426 ac_cv_lib_msvcrt_wcslen=yes
34427 else
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34430
34431 ac_cv_lib_msvcrt_wcslen=no
34432 fi
34433
34434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34435 conftest$ac_exeext conftest.$ac_ext
34436 LIBS=$ac_check_lib_save_LIBS
34437 fi
34438 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34439 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34440 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34441 WCHAR_OK=1
34442 fi
34443
34444 else
34445 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34446 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34447 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34448 echo $ECHO_N "(cached) $ECHO_C" >&6
34449 else
34450 ac_check_lib_save_LIBS=$LIBS
34451 LIBS="-lw $LIBS"
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458
34459 /* Override any GCC internal prototype to avoid an error.
34460 Use char because int might match the return type of a GCC
34461 builtin and then its argument prototype would still apply. */
34462 #ifdef __cplusplus
34463 extern "C"
34464 #endif
34465 char wcslen ();
34466 int
34467 main ()
34468 {
34469 return wcslen ();
34470 ;
34471 return 0;
34472 }
34473 _ACEOF
34474 rm -f conftest.$ac_objext conftest$ac_exeext
34475 if { (ac_try="$ac_link"
34476 case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34478 *) ac_try_echo=$ac_try;;
34479 esac
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_link") 2>conftest.er1
34482 ac_status=$?
34483 grep -v '^ *+' conftest.er1 >conftest.err
34484 rm -f conftest.er1
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } && {
34488 test -z "$ac_c_werror_flag" ||
34489 test ! -s conftest.err
34490 } && test -s conftest$ac_exeext &&
34491 $as_test_x conftest$ac_exeext; then
34492 ac_cv_lib_w_wcslen=yes
34493 else
34494 echo "$as_me: failed program was:" >&5
34495 sed 's/^/| /' conftest.$ac_ext >&5
34496
34497 ac_cv_lib_w_wcslen=no
34498 fi
34499
34500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34501 conftest$ac_exeext conftest.$ac_ext
34502 LIBS=$ac_check_lib_save_LIBS
34503 fi
34504 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34505 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34506 if test $ac_cv_lib_w_wcslen = yes; then
34507
34508 WCHAR_LINK=" -lw"
34509 WCSLEN_FOUND=1
34510
34511 fi
34512
34513 fi
34514 fi
34515
34516 if test "$WCSLEN_FOUND" = 1; then
34517 cat >>confdefs.h <<\_ACEOF
34518 #define HAVE_WCSLEN 1
34519 _ACEOF
34520
34521 fi
34522
34523
34524 for ac_func in wcsdup
34525 do
34526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 else
34532 cat >conftest.$ac_ext <<_ACEOF
34533 /* confdefs.h. */
34534 _ACEOF
34535 cat confdefs.h >>conftest.$ac_ext
34536 cat >>conftest.$ac_ext <<_ACEOF
34537 /* end confdefs.h. */
34538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34540 #define $ac_func innocuous_$ac_func
34541
34542 /* System header to define __stub macros and hopefully few prototypes,
34543 which can conflict with char $ac_func (); below.
34544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34545 <limits.h> exists even on freestanding compilers. */
34546
34547 #ifdef __STDC__
34548 # include <limits.h>
34549 #else
34550 # include <assert.h>
34551 #endif
34552
34553 #undef $ac_func
34554
34555 /* Override any GCC internal prototype to avoid an error.
34556 Use char because int might match the return type of a GCC
34557 builtin and then its argument prototype would still apply. */
34558 #ifdef __cplusplus
34559 extern "C"
34560 #endif
34561 char $ac_func ();
34562 /* The GNU C library defines this for functions which it implements
34563 to always fail with ENOSYS. Some functions are actually named
34564 something starting with __ and the normal name is an alias. */
34565 #if defined __stub_$ac_func || defined __stub___$ac_func
34566 choke me
34567 #endif
34568
34569 int
34570 main ()
34571 {
34572 return $ac_func ();
34573 ;
34574 return 0;
34575 }
34576 _ACEOF
34577 rm -f conftest.$ac_objext conftest$ac_exeext
34578 if { (ac_try="$ac_link"
34579 case "(($ac_try" in
34580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34581 *) ac_try_echo=$ac_try;;
34582 esac
34583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34584 (eval "$ac_link") 2>conftest.er1
34585 ac_status=$?
34586 grep -v '^ *+' conftest.er1 >conftest.err
34587 rm -f conftest.er1
34588 cat conftest.err >&5
34589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34590 (exit $ac_status); } && {
34591 test -z "$ac_c_werror_flag" ||
34592 test ! -s conftest.err
34593 } && test -s conftest$ac_exeext &&
34594 $as_test_x conftest$ac_exeext; then
34595 eval "$as_ac_var=yes"
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34599
34600 eval "$as_ac_var=no"
34601 fi
34602
34603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34604 conftest$ac_exeext conftest.$ac_ext
34605 fi
34606 ac_res=`eval echo '${'$as_ac_var'}'`
34607 { echo "$as_me:$LINENO: result: $ac_res" >&5
34608 echo "${ECHO_T}$ac_res" >&6; }
34609 if test `eval echo '${'$as_ac_var'}'` = yes; then
34610 cat >>confdefs.h <<_ACEOF
34611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34612 _ACEOF
34613
34614 fi
34615 done
34616
34617
34618 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34619 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34620 fi
34621
34622 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34623 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34624 if test "${ac_cv_type_mbstate_t+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 #include <wchar.h>
34634
34635 typedef mbstate_t ac__type_new_;
34636 int
34637 main ()
34638 {
34639 if ((ac__type_new_ *) 0)
34640 return 0;
34641 if (sizeof (ac__type_new_))
34642 return 0;
34643 ;
34644 return 0;
34645 }
34646 _ACEOF
34647 rm -f conftest.$ac_objext
34648 if { (ac_try="$ac_compile"
34649 case "(($ac_try" in
34650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34651 *) ac_try_echo=$ac_try;;
34652 esac
34653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34654 (eval "$ac_compile") 2>conftest.er1
34655 ac_status=$?
34656 grep -v '^ *+' conftest.er1 >conftest.err
34657 rm -f conftest.er1
34658 cat conftest.err >&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } && {
34661 test -z "$ac_c_werror_flag" ||
34662 test ! -s conftest.err
34663 } && test -s conftest.$ac_objext; then
34664 ac_cv_type_mbstate_t=yes
34665 else
34666 echo "$as_me: failed program was:" >&5
34667 sed 's/^/| /' conftest.$ac_ext >&5
34668
34669 ac_cv_type_mbstate_t=no
34670 fi
34671
34672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34673 fi
34674 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34675 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34676 if test $ac_cv_type_mbstate_t = yes; then
34677
34678 cat >>confdefs.h <<_ACEOF
34679 #define HAVE_MBSTATE_T 1
34680 _ACEOF
34681
34682
34683 for ac_func in wcsrtombs
34684 do
34685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 else
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34699 #define $ac_func innocuous_$ac_func
34700
34701 /* System header to define __stub macros and hopefully few prototypes,
34702 which can conflict with char $ac_func (); below.
34703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34704 <limits.h> exists even on freestanding compilers. */
34705
34706 #ifdef __STDC__
34707 # include <limits.h>
34708 #else
34709 # include <assert.h>
34710 #endif
34711
34712 #undef $ac_func
34713
34714 /* Override any GCC internal prototype to avoid an error.
34715 Use char because int might match the return type of a GCC
34716 builtin and then its argument prototype would still apply. */
34717 #ifdef __cplusplus
34718 extern "C"
34719 #endif
34720 char $ac_func ();
34721 /* The GNU C library defines this for functions which it implements
34722 to always fail with ENOSYS. Some functions are actually named
34723 something starting with __ and the normal name is an alias. */
34724 #if defined __stub_$ac_func || defined __stub___$ac_func
34725 choke me
34726 #endif
34727
34728 int
34729 main ()
34730 {
34731 return $ac_func ();
34732 ;
34733 return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext conftest$ac_exeext
34737 if { (ac_try="$ac_link"
34738 case "(($ac_try" in
34739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34740 *) ac_try_echo=$ac_try;;
34741 esac
34742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34743 (eval "$ac_link") 2>conftest.er1
34744 ac_status=$?
34745 grep -v '^ *+' conftest.er1 >conftest.err
34746 rm -f conftest.er1
34747 cat conftest.err >&5
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); } && {
34750 test -z "$ac_c_werror_flag" ||
34751 test ! -s conftest.err
34752 } && test -s conftest$ac_exeext &&
34753 $as_test_x conftest$ac_exeext; then
34754 eval "$as_ac_var=yes"
34755 else
34756 echo "$as_me: failed program was:" >&5
34757 sed 's/^/| /' conftest.$ac_ext >&5
34758
34759 eval "$as_ac_var=no"
34760 fi
34761
34762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34763 conftest$ac_exeext conftest.$ac_ext
34764 fi
34765 ac_res=`eval echo '${'$as_ac_var'}'`
34766 { echo "$as_me:$LINENO: result: $ac_res" >&5
34767 echo "${ECHO_T}$ac_res" >&6; }
34768 if test `eval echo '${'$as_ac_var'}'` = yes; then
34769 cat >>confdefs.h <<_ACEOF
34770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34771 _ACEOF
34772
34773 fi
34774 done
34775
34776 fi
34777
34778 else
34779 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34780 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34781 fi
34782
34783
34784
34785 for ac_func in snprintf vsnprintf
34786 do
34787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34788 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 else
34793 cat >conftest.$ac_ext <<_ACEOF
34794 /* confdefs.h. */
34795 _ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define $ac_func innocuous_$ac_func
34802
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char $ac_func (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34807
34808 #ifdef __STDC__
34809 # include <limits.h>
34810 #else
34811 # include <assert.h>
34812 #endif
34813
34814 #undef $ac_func
34815
34816 /* Override any GCC internal prototype to avoid an error.
34817 Use char because int might match the return type of a GCC
34818 builtin and then its argument prototype would still apply. */
34819 #ifdef __cplusplus
34820 extern "C"
34821 #endif
34822 char $ac_func ();
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined __stub_$ac_func || defined __stub___$ac_func
34827 choke me
34828 #endif
34829
34830 int
34831 main ()
34832 {
34833 return $ac_func ();
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (ac_try="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34843 esac
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34846 ac_status=$?
34847 grep -v '^ *+' conftest.er1 >conftest.err
34848 rm -f conftest.er1
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } && {
34852 test -z "$ac_c_werror_flag" ||
34853 test ! -s conftest.err
34854 } && test -s conftest$ac_exeext &&
34855 $as_test_x conftest$ac_exeext; then
34856 eval "$as_ac_var=yes"
34857 else
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34860
34861 eval "$as_ac_var=no"
34862 fi
34863
34864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34865 conftest$ac_exeext conftest.$ac_ext
34866 fi
34867 ac_res=`eval echo '${'$as_ac_var'}'`
34868 { echo "$as_me:$LINENO: result: $ac_res" >&5
34869 echo "${ECHO_T}$ac_res" >&6; }
34870 if test `eval echo '${'$as_ac_var'}'` = yes; then
34871 cat >>confdefs.h <<_ACEOF
34872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34873 _ACEOF
34874
34875 fi
34876 done
34877
34878
34879 if test "$ac_cv_func_vsnprintf" = "yes"; then
34880 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34881 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34882 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 else
34885
34886 cat >conftest.$ac_ext <<_ACEOF
34887 /* confdefs.h. */
34888 _ACEOF
34889 cat confdefs.h >>conftest.$ac_ext
34890 cat >>conftest.$ac_ext <<_ACEOF
34891 /* end confdefs.h. */
34892
34893 #include <stdio.h>
34894 #include <stdarg.h>
34895 #ifdef __MSL__
34896 #if __MSL__ >= 0x6000
34897 namespace std {}
34898 using namespace std;
34899 #endif
34900 #endif
34901
34902 int
34903 main ()
34904 {
34905
34906 char *buf;
34907 va_list ap;
34908 vsnprintf(buf, 10u, "%s", ap);
34909
34910 ;
34911 return 0;
34912 }
34913 _ACEOF
34914 rm -f conftest.$ac_objext
34915 if { (ac_try="$ac_compile"
34916 case "(($ac_try" in
34917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34918 *) ac_try_echo=$ac_try;;
34919 esac
34920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34921 (eval "$ac_compile") 2>conftest.er1
34922 ac_status=$?
34923 grep -v '^ *+' conftest.er1 >conftest.err
34924 rm -f conftest.er1
34925 cat conftest.err >&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } && {
34928 test -z "$ac_c_werror_flag" ||
34929 test ! -s conftest.err
34930 } && test -s conftest.$ac_objext; then
34931 wx_cv_func_vsnprintf_decl=yes
34932 else
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34935
34936 wx_cv_func_vsnprintf_decl=no
34937
34938 fi
34939
34940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34941
34942
34943 fi
34944 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34945 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34946
34947 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define HAVE_VSNPRINTF_DECL 1
34950 _ACEOF
34951
34952
34953 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34954 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34955 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34956 echo $ECHO_N "(cached) $ECHO_C" >&6
34957 else
34958
34959 cat >conftest.$ac_ext <<_ACEOF
34960 /* confdefs.h. */
34961 _ACEOF
34962 cat confdefs.h >>conftest.$ac_ext
34963 cat >>conftest.$ac_ext <<_ACEOF
34964 /* end confdefs.h. */
34965
34966 #include <stdio.h>
34967 #include <stdarg.h>
34968 #ifdef __MSL__
34969 #if __MSL__ >= 0x6000
34970 namespace std {}
34971 using namespace std;
34972 #endif
34973 #endif
34974
34975 int
34976 main ()
34977 {
34978
34979 char *buf;
34980 va_list ap;
34981 const char *fmt = "%s";
34982 vsnprintf(buf, 10u, fmt, ap);
34983
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 rm -f conftest.$ac_objext
34989 if { (ac_try="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34992 *) ac_try_echo=$ac_try;;
34993 esac
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.$ac_objext; then
35005 wx_cv_func_broken_vsnprintf_decl=no
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35009
35010 wx_cv_func_broken_vsnprintf_decl=yes
35011
35012 fi
35013
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015
35016
35017 fi
35018 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35019 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35020
35021 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35022 cat >>confdefs.h <<\_ACEOF
35023 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35024 _ACEOF
35025
35026 fi
35027 fi
35028 fi
35029
35030 if test "$ac_cv_func_snprintf" = "yes"; then
35031 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35032 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35033 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 else
35036
35037 cat >conftest.$ac_ext <<_ACEOF
35038 /* confdefs.h. */
35039 _ACEOF
35040 cat confdefs.h >>conftest.$ac_ext
35041 cat >>conftest.$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35043
35044 #include <stdio.h>
35045 #include <stdarg.h>
35046 #ifdef __MSL__
35047 #if __MSL__ >= 0x6000
35048 namespace std {}
35049 using namespace std;
35050 #endif
35051 #endif
35052
35053 int
35054 main ()
35055 {
35056
35057 char *buf;
35058 snprintf(buf, 10u, "%s", "wx");
35059
35060 ;
35061 return 0;
35062 }
35063 _ACEOF
35064 rm -f conftest.$ac_objext
35065 if { (ac_try="$ac_compile"
35066 case "(($ac_try" in
35067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35068 *) ac_try_echo=$ac_try;;
35069 esac
35070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35071 (eval "$ac_compile") 2>conftest.er1
35072 ac_status=$?
35073 grep -v '^ *+' conftest.er1 >conftest.err
35074 rm -f conftest.er1
35075 cat conftest.err >&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); } && {
35078 test -z "$ac_c_werror_flag" ||
35079 test ! -s conftest.err
35080 } && test -s conftest.$ac_objext; then
35081 wx_cv_func_snprintf_decl=yes
35082 else
35083 echo "$as_me: failed program was:" >&5
35084 sed 's/^/| /' conftest.$ac_ext >&5
35085
35086 wx_cv_func_snprintf_decl=no
35087
35088 fi
35089
35090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35091
35092
35093 fi
35094 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35095 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35096
35097 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35098 cat >>confdefs.h <<\_ACEOF
35099 #define HAVE_SNPRINTF_DECL 1
35100 _ACEOF
35101
35102 fi
35103
35104 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35105
35106 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35107 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35108 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35109 echo $ECHO_N "(cached) $ECHO_C" >&6
35110 else
35111
35112 if test "$cross_compiling" = yes; then
35113
35114 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35115 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35116 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35117 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35118 wx_cv_func_snprintf_pos_params=no
35119
35120
35121 else
35122 cat >conftest.$ac_ext <<_ACEOF
35123 /* confdefs.h. */
35124 _ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35128
35129 #include <stdio.h>
35130
35131 int main (void)
35132 {
35133 char buffer[128];
35134 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35135 if (strcmp ("2 3 1", buffer) == 0)
35136 exit (0);
35137 exit (1);
35138 }
35139
35140 _ACEOF
35141 rm -f conftest$ac_exeext
35142 if { (ac_try="$ac_link"
35143 case "(($ac_try" in
35144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35145 *) ac_try_echo=$ac_try;;
35146 esac
35147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35148 (eval "$ac_link") 2>&5
35149 ac_status=$?
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35152 { (case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35155 esac
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_try") 2>&5
35158 ac_status=$?
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; }; then
35161 wx_cv_func_snprintf_pos_params=no
35162 else
35163 echo "$as_me: program exited with status $ac_status" >&5
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35166
35167 ( exit $ac_status )
35168 wx_cv_func_snprintf_pos_params=yes
35169 fi
35170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35171 fi
35172
35173
35174
35175
35176 fi
35177 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35178 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35179
35180 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35181 cat >>confdefs.h <<\_ACEOF
35182 #define HAVE_UNIX98_PRINTF 1
35183 _ACEOF
35184
35185 fi
35186 fi
35187 fi
35188
35189 if test "$wxUSE_UNICODE" = yes; then
35190
35191 wchar_headers="#include <stdio.h>
35192 #include <wchar.h>"
35193 case "${host}" in
35194 *-*-solaris2* )
35195
35196 for ac_header in widec.h
35197 do
35198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 else
35204 cat >conftest.$ac_ext <<_ACEOF
35205 /* confdefs.h. */
35206 _ACEOF
35207 cat confdefs.h >>conftest.$ac_ext
35208 cat >>conftest.$ac_ext <<_ACEOF
35209 /* end confdefs.h. */
35210 $ac_includes_default
35211
35212 #include <$ac_header>
35213 _ACEOF
35214 rm -f conftest.$ac_objext
35215 if { (ac_try="$ac_compile"
35216 case "(($ac_try" in
35217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35219 esac
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_compile") 2>conftest.er1
35222 ac_status=$?
35223 grep -v '^ *+' conftest.er1 >conftest.err
35224 rm -f conftest.er1
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest.$ac_objext; then
35231 eval "$as_ac_Header=yes"
35232 else
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35235
35236 eval "$as_ac_Header=no"
35237 fi
35238
35239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35240 fi
35241 ac_res=`eval echo '${'$as_ac_Header'}'`
35242 { echo "$as_me:$LINENO: result: $ac_res" >&5
35243 echo "${ECHO_T}$ac_res" >&6; }
35244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35245 cat >>confdefs.h <<_ACEOF
35246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35247 _ACEOF
35248
35249 fi
35250
35251 done
35252
35253 if test "$ac_cv_header_widec_h" = "yes"; then
35254 wchar_headers="$wchar_headers
35255 #include <widec.h>"
35256 fi
35257 esac
35258
35259
35260 for wx_func in putws fputws wprintf vswprintf
35261 do
35262 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35263 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35264 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35265 echo $ECHO_N "(cached) $ECHO_C" >&6
35266 else
35267
35268 cat >conftest.$ac_ext <<_ACEOF
35269
35270 /* confdefs.h. */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35275
35276 $wchar_headers
35277 $ac_includes_default
35278
35279 int
35280 main ()
35281 {
35282
35283 #ifndef $wx_func
35284 &$wx_func;
35285 #endif
35286
35287
35288 ;
35289 return 0;
35290 }
35291
35292 _ACEOF
35293 rm -f conftest.$ac_objext conftest$ac_exeext
35294 if { (ac_try="$ac_link"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_link") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest$ac_exeext &&
35310 $as_test_x conftest$ac_exeext; then
35311 eval wx_cv_func_$wx_func=yes
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35315
35316 eval wx_cv_func_$wx_func=no
35317 fi
35318
35319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35320 conftest$ac_exeext conftest.$ac_ext
35321
35322 fi
35323 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35324 { echo "$as_me:$LINENO: result: $ac_res" >&5
35325 echo "${ECHO_T}$ac_res" >&6; }
35326
35327 if eval test \$wx_cv_func_$wx_func = yes
35328 then
35329 cat >>confdefs.h <<_ACEOF
35330 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35331 _ACEOF
35332
35333
35334 else
35335 :
35336
35337 fi
35338 done
35339
35340
35341 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35342 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35343 cat >conftest.$ac_ext <<_ACEOF
35344 /* confdefs.h. */
35345 _ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349 #include <wchar.h>
35350 int
35351 main ()
35352 {
35353 &_vsnwprintf;
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_c_werror_flag" ||
35373 test ! -s conftest.err
35374 } && test -s conftest.$ac_objext; then
35375 { echo "$as_me:$LINENO: result: yes" >&5
35376 echo "${ECHO_T}yes" >&6; }
35377 cat >>confdefs.h <<\_ACEOF
35378 #define HAVE__VSNWPRINTF 1
35379 _ACEOF
35380
35381 else
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35384
35385 { echo "$as_me:$LINENO: result: no" >&5
35386 echo "${ECHO_T}no" >&6; }
35387 fi
35388
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35390 fi
35391
35392 if test "$wxUSE_FILE" = "yes"; then
35393
35394 for wx_func in fsync
35395 do
35396 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35397 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35398 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 else
35401
35402 cat >conftest.$ac_ext <<_ACEOF
35403
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409
35410
35411 $ac_includes_default
35412
35413 int
35414 main ()
35415 {
35416
35417 #ifndef $wx_func
35418 &$wx_func;
35419 #endif
35420
35421
35422 ;
35423 return 0;
35424 }
35425
35426 _ACEOF
35427 rm -f conftest.$ac_objext conftest$ac_exeext
35428 if { (ac_try="$ac_link"
35429 case "(($ac_try" in
35430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35431 *) ac_try_echo=$ac_try;;
35432 esac
35433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35434 (eval "$ac_link") 2>conftest.er1
35435 ac_status=$?
35436 grep -v '^ *+' conftest.er1 >conftest.err
35437 rm -f conftest.er1
35438 cat conftest.err >&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } && {
35441 test -z "$ac_c_werror_flag" ||
35442 test ! -s conftest.err
35443 } && test -s conftest$ac_exeext &&
35444 $as_test_x conftest$ac_exeext; then
35445 eval wx_cv_func_$wx_func=yes
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 eval wx_cv_func_$wx_func=no
35451 fi
35452
35453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35454 conftest$ac_exeext conftest.$ac_ext
35455
35456 fi
35457 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35458 { echo "$as_me:$LINENO: result: $ac_res" >&5
35459 echo "${ECHO_T}$ac_res" >&6; }
35460
35461 if eval test \$wx_cv_func_$wx_func = yes
35462 then
35463 cat >>confdefs.h <<_ACEOF
35464 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35465 _ACEOF
35466
35467
35468 else
35469 :
35470
35471 fi
35472 done
35473
35474 fi
35475
35476 ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482
35483 for wx_func in round
35484 do
35485 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35486 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35487 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 else
35490
35491 cat >conftest.$ac_ext <<_ACEOF
35492
35493 /* confdefs.h. */
35494 _ACEOF
35495 cat confdefs.h >>conftest.$ac_ext
35496 cat >>conftest.$ac_ext <<_ACEOF
35497 /* end confdefs.h. */
35498
35499 #include <math.h>
35500 $ac_includes_default
35501
35502 int
35503 main ()
35504 {
35505
35506 #ifndef $wx_func
35507 &$wx_func;
35508 #endif
35509
35510
35511 ;
35512 return 0;
35513 }
35514
35515 _ACEOF
35516 rm -f conftest.$ac_objext conftest$ac_exeext
35517 if { (ac_try="$ac_link"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35520 *) ac_try_echo=$ac_try;;
35521 esac
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_link") 2>conftest.er1
35524 ac_status=$?
35525 grep -v '^ *+' conftest.er1 >conftest.err
35526 rm -f conftest.er1
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_cxx_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest$ac_exeext &&
35533 $as_test_x conftest$ac_exeext; then
35534 eval wx_cv_func_$wx_func=yes
35535 else
35536 echo "$as_me: failed program was:" >&5
35537 sed 's/^/| /' conftest.$ac_ext >&5
35538
35539 eval wx_cv_func_$wx_func=no
35540 fi
35541
35542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35543 conftest$ac_exeext conftest.$ac_ext
35544
35545 fi
35546 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35547 { echo "$as_me:$LINENO: result: $ac_res" >&5
35548 echo "${ECHO_T}$ac_res" >&6; }
35549
35550 if eval test \$wx_cv_func_$wx_func = yes
35551 then
35552 cat >>confdefs.h <<_ACEOF
35553 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35554 _ACEOF
35555
35556
35557 else
35558 :
35559
35560 fi
35561 done
35562
35563 ac_ext=c
35564 ac_cpp='$CPP $CPPFLAGS'
35565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35568
35569
35570 if test "$TOOLKIT" != "MSW"; then
35571
35572
35573
35574
35575
35576 # Check whether --with-libiconv-prefix was given.
35577 if test "${with_libiconv_prefix+set}" = set; then
35578 withval=$with_libiconv_prefix;
35579 for dir in `echo "$withval" | tr : ' '`; do
35580 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35581 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35582 done
35583
35584 fi
35585
35586
35587 { echo "$as_me:$LINENO: checking for iconv" >&5
35588 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35589 if test "${am_cv_func_iconv+set}" = set; then
35590 echo $ECHO_N "(cached) $ECHO_C" >&6
35591 else
35592
35593 am_cv_func_iconv="no, consider installing GNU libiconv"
35594 am_cv_lib_iconv=no
35595 cat >conftest.$ac_ext <<_ACEOF
35596 /* confdefs.h. */
35597 _ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601 #include <stdlib.h>
35602 #include <iconv.h>
35603 int
35604 main ()
35605 {
35606 iconv_t cd = iconv_open("","");
35607 iconv(cd,NULL,NULL,NULL,NULL);
35608 iconv_close(cd);
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 rm -f conftest.$ac_objext conftest$ac_exeext
35614 if { (ac_try="$ac_link"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35618 esac
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_link") 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest$ac_exeext &&
35630 $as_test_x conftest$ac_exeext; then
35631 am_cv_func_iconv=yes
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636
35637 fi
35638
35639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35640 conftest$ac_exeext conftest.$ac_ext
35641 if test "$am_cv_func_iconv" != yes; then
35642 am_save_LIBS="$LIBS"
35643 LIBS="$LIBS -liconv"
35644 cat >conftest.$ac_ext <<_ACEOF
35645 /* confdefs.h. */
35646 _ACEOF
35647 cat confdefs.h >>conftest.$ac_ext
35648 cat >>conftest.$ac_ext <<_ACEOF
35649 /* end confdefs.h. */
35650 #include <stdlib.h>
35651 #include <iconv.h>
35652 int
35653 main ()
35654 {
35655 iconv_t cd = iconv_open("","");
35656 iconv(cd,NULL,NULL,NULL,NULL);
35657 iconv_close(cd);
35658 ;
35659 return 0;
35660 }
35661 _ACEOF
35662 rm -f conftest.$ac_objext conftest$ac_exeext
35663 if { (ac_try="$ac_link"
35664 case "(($ac_try" in
35665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35666 *) ac_try_echo=$ac_try;;
35667 esac
35668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35669 (eval "$ac_link") 2>conftest.er1
35670 ac_status=$?
35671 grep -v '^ *+' conftest.er1 >conftest.err
35672 rm -f conftest.er1
35673 cat conftest.err >&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); } && {
35676 test -z "$ac_c_werror_flag" ||
35677 test ! -s conftest.err
35678 } && test -s conftest$ac_exeext &&
35679 $as_test_x conftest$ac_exeext; then
35680 am_cv_lib_iconv=yes
35681 am_cv_func_iconv=yes
35682 else
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35685
35686
35687 fi
35688
35689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35690 conftest$ac_exeext conftest.$ac_ext
35691 LIBS="$am_save_LIBS"
35692 fi
35693
35694 fi
35695 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35696 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35697 if test "$am_cv_func_iconv" = yes; then
35698
35699 cat >>confdefs.h <<\_ACEOF
35700 #define HAVE_ICONV 1
35701 _ACEOF
35702
35703 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35704 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35705 if test "${wx_cv_func_iconv_const+set}" = set; then
35706 echo $ECHO_N "(cached) $ECHO_C" >&6
35707 else
35708 cat >conftest.$ac_ext <<_ACEOF
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 <stdlib.h>
35716 #include <iconv.h>
35717 extern
35718 #ifdef __cplusplus
35719 "C"
35720 #endif
35721 #if defined(__STDC__) || defined(__cplusplus)
35722 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35723 #else
35724 size_t iconv();
35725 #endif
35726
35727 int
35728 main ()
35729 {
35730
35731 ;
35732 return 0;
35733 }
35734 _ACEOF
35735 rm -f conftest.$ac_objext
35736 if { (ac_try="$ac_compile"
35737 case "(($ac_try" in
35738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35739 *) ac_try_echo=$ac_try;;
35740 esac
35741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35742 (eval "$ac_compile") 2>conftest.er1
35743 ac_status=$?
35744 grep -v '^ *+' conftest.er1 >conftest.err
35745 rm -f conftest.er1
35746 cat conftest.err >&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); } && {
35749 test -z "$ac_c_werror_flag" ||
35750 test ! -s conftest.err
35751 } && test -s conftest.$ac_objext; then
35752 wx_cv_func_iconv_const="no"
35753 else
35754 echo "$as_me: failed program was:" >&5
35755 sed 's/^/| /' conftest.$ac_ext >&5
35756
35757 wx_cv_func_iconv_const="yes"
35758
35759 fi
35760
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35762
35763 fi
35764 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35765 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35766
35767 iconv_const=
35768 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35769 iconv_const="const"
35770 fi
35771
35772
35773 cat >>confdefs.h <<_ACEOF
35774 #define ICONV_CONST $iconv_const
35775 _ACEOF
35776
35777 fi
35778 LIBICONV=
35779 if test "$am_cv_lib_iconv" = yes; then
35780 LIBICONV="-liconv"
35781 fi
35782
35783
35784 LIBS="$LIBICONV $LIBS"
35785
35786 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35787
35788 for ac_func in sigaction
35789 do
35790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35795 else
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35804 #define $ac_func innocuous_$ac_func
35805
35806 /* System header to define __stub macros and hopefully few prototypes,
35807 which can conflict with char $ac_func (); below.
35808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35809 <limits.h> exists even on freestanding compilers. */
35810
35811 #ifdef __STDC__
35812 # include <limits.h>
35813 #else
35814 # include <assert.h>
35815 #endif
35816
35817 #undef $ac_func
35818
35819 /* Override any GCC internal prototype to avoid an error.
35820 Use char because int might match the return type of a GCC
35821 builtin and then its argument prototype would still apply. */
35822 #ifdef __cplusplus
35823 extern "C"
35824 #endif
35825 char $ac_func ();
35826 /* The GNU C library defines this for functions which it implements
35827 to always fail with ENOSYS. Some functions are actually named
35828 something starting with __ and the normal name is an alias. */
35829 #if defined __stub_$ac_func || defined __stub___$ac_func
35830 choke me
35831 #endif
35832
35833 int
35834 main ()
35835 {
35836 return $ac_func ();
35837 ;
35838 return 0;
35839 }
35840 _ACEOF
35841 rm -f conftest.$ac_objext conftest$ac_exeext
35842 if { (ac_try="$ac_link"
35843 case "(($ac_try" in
35844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35845 *) ac_try_echo=$ac_try;;
35846 esac
35847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35848 (eval "$ac_link") 2>conftest.er1
35849 ac_status=$?
35850 grep -v '^ *+' conftest.er1 >conftest.err
35851 rm -f conftest.er1
35852 cat conftest.err >&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } && {
35855 test -z "$ac_c_werror_flag" ||
35856 test ! -s conftest.err
35857 } && test -s conftest$ac_exeext &&
35858 $as_test_x conftest$ac_exeext; then
35859 eval "$as_ac_var=yes"
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 eval "$as_ac_var=no"
35865 fi
35866
35867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35868 conftest$ac_exeext conftest.$ac_ext
35869 fi
35870 ac_res=`eval echo '${'$as_ac_var'}'`
35871 { echo "$as_me:$LINENO: result: $ac_res" >&5
35872 echo "${ECHO_T}$ac_res" >&6; }
35873 if test `eval echo '${'$as_ac_var'}'` = yes; then
35874 cat >>confdefs.h <<_ACEOF
35875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35876 _ACEOF
35877
35878 fi
35879 done
35880
35881
35882 if test "$ac_cv_func_sigaction" = "no"; then
35883 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35884 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35885 wxUSE_ON_FATAL_EXCEPTION=no
35886 fi
35887
35888 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35889 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35890 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35891 if test "${wx_cv_type_sa_handler+set}" = set; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 else
35894
35895 ac_ext=cpp
35896 ac_cpp='$CXXCPP $CPPFLAGS'
35897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35900
35901 cat >conftest.$ac_ext <<_ACEOF
35902 /* confdefs.h. */
35903 _ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 #include <signal.h>
35908 int
35909 main ()
35910 {
35911
35912 extern void testSigHandler(int);
35913
35914 struct sigaction sa;
35915 sa.sa_handler = testSigHandler;
35916
35917 ;
35918 return 0;
35919 }
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (ac_try="$ac_compile"
35923 case "(($ac_try" in
35924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35925 *) ac_try_echo=$ac_try;;
35926 esac
35927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35928 (eval "$ac_compile") 2>conftest.er1
35929 ac_status=$?
35930 grep -v '^ *+' conftest.er1 >conftest.err
35931 rm -f conftest.er1
35932 cat conftest.err >&5
35933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934 (exit $ac_status); } && {
35935 test -z "$ac_cxx_werror_flag" ||
35936 test ! -s conftest.err
35937 } && test -s conftest.$ac_objext; then
35938
35939 wx_cv_type_sa_handler=int
35940
35941 else
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.$ac_ext >&5
35944
35945
35946 wx_cv_type_sa_handler=void
35947
35948 fi
35949
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35956
35957
35958 fi
35959 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35960 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35961
35962 cat >>confdefs.h <<_ACEOF
35963 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35964 _ACEOF
35965
35966 fi
35967 fi
35968
35969 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35970 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35971 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35972 if test "${wx_cv_func_backtrace+set}" = set; then
35973 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 else
35975
35976 ac_ext=cpp
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988 #include <execinfo.h>
35989 int
35990 main ()
35991 {
35992
35993 void *trace[1];
35994 char **messages;
35995
35996 backtrace(trace, 1);
35997 messages = backtrace_symbols(trace, 1);
35998
35999 ;
36000 return 0;
36001 }
36002 _ACEOF
36003 rm -f conftest.$ac_objext
36004 if { (ac_try="$ac_compile"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36008 esac
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_compile") 2>conftest.er1
36011 ac_status=$?
36012 grep -v '^ *+' conftest.er1 >conftest.err
36013 rm -f conftest.er1
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest.$ac_objext; then
36020 wx_cv_func_backtrace=yes
36021 else
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36024
36025 wx_cv_func_backtrace=no
36026
36027 fi
36028
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36030 ac_ext=c
36031 ac_cpp='$CPP $CPPFLAGS'
36032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36035
36036
36037
36038 fi
36039 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36040 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36041
36042
36043 if test "$wx_cv_func_backtrace" = "no"; then
36044 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36045 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36046 wxUSE_STACKWALKER=no
36047 else
36048 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36049 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36050 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36051 echo $ECHO_N "(cached) $ECHO_C" >&6
36052 else
36053
36054 ac_ext=cpp
36055 ac_cpp='$CXXCPP $CPPFLAGS'
36056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <cxxabi.h>
36067 int
36068 main ()
36069 {
36070
36071 int rc;
36072 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36073
36074 ;
36075 return 0;
36076 }
36077 _ACEOF
36078 rm -f conftest.$ac_objext conftest$ac_exeext
36079 if { (ac_try="$ac_link"
36080 case "(($ac_try" in
36081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36082 *) ac_try_echo=$ac_try;;
36083 esac
36084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36085 (eval "$ac_link") 2>conftest.er1
36086 ac_status=$?
36087 grep -v '^ *+' conftest.er1 >conftest.err
36088 rm -f conftest.er1
36089 cat conftest.err >&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } && {
36092 test -z "$ac_cxx_werror_flag" ||
36093 test ! -s conftest.err
36094 } && test -s conftest$ac_exeext &&
36095 $as_test_x conftest$ac_exeext; then
36096 wx_cv_func_cxa_demangle=yes
36097 else
36098 echo "$as_me: failed program was:" >&5
36099 sed 's/^/| /' conftest.$ac_ext >&5
36100
36101 wx_cv_func_cxa_demangle=no
36102
36103 fi
36104
36105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36106 conftest$ac_exeext conftest.$ac_ext
36107 ac_ext=c
36108 ac_cpp='$CPP $CPPFLAGS'
36109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112
36113
36114
36115 fi
36116 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36117 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36118
36119 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36120 cat >>confdefs.h <<\_ACEOF
36121 #define HAVE_CXA_DEMANGLE 1
36122 _ACEOF
36123
36124 fi
36125 fi
36126 fi
36127
36128 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36129 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36130 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36131 wxUSE_STACKWALKER=no
36132 fi
36133
36134
36135
36136
36137 for ac_func in mkstemp mktemp
36138 do
36139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 else
36145 cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h. */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36153 #define $ac_func innocuous_$ac_func
36154
36155 /* System header to define __stub macros and hopefully few prototypes,
36156 which can conflict with char $ac_func (); below.
36157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36158 <limits.h> exists even on freestanding compilers. */
36159
36160 #ifdef __STDC__
36161 # include <limits.h>
36162 #else
36163 # include <assert.h>
36164 #endif
36165
36166 #undef $ac_func
36167
36168 /* Override any GCC internal prototype to avoid an error.
36169 Use char because int might match the return type of a GCC
36170 builtin and then its argument prototype would still apply. */
36171 #ifdef __cplusplus
36172 extern "C"
36173 #endif
36174 char $ac_func ();
36175 /* The GNU C library defines this for functions which it implements
36176 to always fail with ENOSYS. Some functions are actually named
36177 something starting with __ and the normal name is an alias. */
36178 #if defined __stub_$ac_func || defined __stub___$ac_func
36179 choke me
36180 #endif
36181
36182 int
36183 main ()
36184 {
36185 return $ac_func ();
36186 ;
36187 return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (ac_try="$ac_link"
36192 case "(($ac_try" in
36193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36195 esac
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_link") 2>conftest.er1
36198 ac_status=$?
36199 grep -v '^ *+' conftest.er1 >conftest.err
36200 rm -f conftest.er1
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_c_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest$ac_exeext &&
36207 $as_test_x conftest$ac_exeext; then
36208 eval "$as_ac_var=yes"
36209 else
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36212
36213 eval "$as_ac_var=no"
36214 fi
36215
36216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36217 conftest$ac_exeext conftest.$ac_ext
36218 fi
36219 ac_res=`eval echo '${'$as_ac_var'}'`
36220 { echo "$as_me:$LINENO: result: $ac_res" >&5
36221 echo "${ECHO_T}$ac_res" >&6; }
36222 if test `eval echo '${'$as_ac_var'}'` = yes; then
36223 cat >>confdefs.h <<_ACEOF
36224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36225 _ACEOF
36226 break
36227 fi
36228 done
36229
36230
36231 { echo "$as_me:$LINENO: checking for statfs" >&5
36232 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36233 if test "${wx_cv_func_statfs+set}" = set; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 else
36236 cat >conftest.$ac_ext <<_ACEOF
36237 /* confdefs.h. */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242
36243 #if defined(__BSD__)
36244 #include <sys/param.h>
36245 #include <sys/mount.h>
36246 #else
36247 #include <sys/vfs.h>
36248 #endif
36249
36250 int
36251 main ()
36252 {
36253
36254 long l;
36255 struct statfs fs;
36256 statfs("/", &fs);
36257 l = fs.f_bsize;
36258 l += fs.f_blocks;
36259 l += fs.f_bavail;
36260
36261 ;
36262 return 0;
36263 }
36264 _ACEOF
36265 rm -f conftest.$ac_objext
36266 if { (ac_try="$ac_compile"
36267 case "(($ac_try" in
36268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36269 *) ac_try_echo=$ac_try;;
36270 esac
36271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36272 (eval "$ac_compile") 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } && {
36279 test -z "$ac_c_werror_flag" ||
36280 test ! -s conftest.err
36281 } && test -s conftest.$ac_objext; then
36282 wx_cv_func_statfs=yes
36283 else
36284 echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.$ac_ext >&5
36286
36287 wx_cv_func_statfs=no
36288
36289 fi
36290
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292
36293 fi
36294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36295 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36296
36297 if test "$wx_cv_func_statfs" = "yes"; then
36298 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36299 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36300 if test "${wx_cv_func_statfs_decl+set}" = set; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 else
36303 ac_ext=cpp
36304 ac_cpp='$CXXCPP $CPPFLAGS'
36305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308
36309 cat >conftest.$ac_ext <<_ACEOF
36310 /* confdefs.h. */
36311 _ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315
36316 #if defined(__BSD__)
36317 #include <sys/param.h>
36318 #include <sys/mount.h>
36319 #else
36320 #include <sys/vfs.h>
36321 #endif
36322
36323 int
36324 main ()
36325 {
36326
36327 struct statfs fs;
36328 statfs("", &fs);
36329
36330 ;
36331 return 0;
36332 }
36333 _ACEOF
36334 rm -f conftest.$ac_objext
36335 if { (ac_try="$ac_compile"
36336 case "(($ac_try" in
36337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36338 *) ac_try_echo=$ac_try;;
36339 esac
36340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36341 (eval "$ac_compile") 2>conftest.er1
36342 ac_status=$?
36343 grep -v '^ *+' conftest.er1 >conftest.err
36344 rm -f conftest.er1
36345 cat conftest.err >&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } && {
36348 test -z "$ac_cxx_werror_flag" ||
36349 test ! -s conftest.err
36350 } && test -s conftest.$ac_objext; then
36351 wx_cv_func_statfs_decl=yes
36352 else
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36355
36356 wx_cv_func_statfs_decl=no
36357
36358 fi
36359
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
36367
36368 fi
36369 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36370 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36371
36372 if test "$wx_cv_func_statfs_decl" = "yes"; then
36373 cat >>confdefs.h <<\_ACEOF
36374 #define HAVE_STATFS_DECL 1
36375 _ACEOF
36376
36377 fi
36378
36379 wx_cv_type_statvfs_t="struct statfs"
36380 cat >>confdefs.h <<\_ACEOF
36381 #define HAVE_STATFS 1
36382 _ACEOF
36383
36384 else
36385 { echo "$as_me:$LINENO: checking for statvfs" >&5
36386 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36387 if test "${wx_cv_func_statvfs+set}" = set; then
36388 echo $ECHO_N "(cached) $ECHO_C" >&6
36389 else
36390 cat >conftest.$ac_ext <<_ACEOF
36391 /* confdefs.h. */
36392 _ACEOF
36393 cat confdefs.h >>conftest.$ac_ext
36394 cat >>conftest.$ac_ext <<_ACEOF
36395 /* end confdefs.h. */
36396
36397 #include <stddef.h>
36398 #include <sys/statvfs.h>
36399
36400 int
36401 main ()
36402 {
36403
36404 statvfs("/", NULL);
36405
36406 ;
36407 return 0;
36408 }
36409 _ACEOF
36410 rm -f conftest.$ac_objext
36411 if { (ac_try="$ac_compile"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36415 esac
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_compile") 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest.$ac_objext; then
36427 wx_cv_func_statvfs=yes
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 wx_cv_func_statvfs=no
36433
36434 fi
36435
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437
36438 fi
36439 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36440 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36441
36442 if test "$wx_cv_func_statvfs" = "yes"; then
36443 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36444 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36445 if test "${wx_cv_type_statvfs_t+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448 ac_ext=cpp
36449 ac_cpp='$CXXCPP $CPPFLAGS'
36450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460
36461 #include <sys/statvfs.h>
36462
36463 int
36464 main ()
36465 {
36466
36467 long l;
36468 statvfs_t fs;
36469 statvfs("/", &fs);
36470 l = fs.f_bsize;
36471 l += fs.f_blocks;
36472 l += fs.f_bavail;
36473
36474 ;
36475 return 0;
36476 }
36477 _ACEOF
36478 rm -f conftest.$ac_objext
36479 if { (ac_try="$ac_compile"
36480 case "(($ac_try" in
36481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36482 *) ac_try_echo=$ac_try;;
36483 esac
36484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36485 (eval "$ac_compile") 2>conftest.er1
36486 ac_status=$?
36487 grep -v '^ *+' conftest.er1 >conftest.err
36488 rm -f conftest.er1
36489 cat conftest.err >&5
36490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36491 (exit $ac_status); } && {
36492 test -z "$ac_cxx_werror_flag" ||
36493 test ! -s conftest.err
36494 } && test -s conftest.$ac_objext; then
36495 wx_cv_type_statvfs_t=statvfs_t
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36499
36500
36501 cat >conftest.$ac_ext <<_ACEOF
36502 /* confdefs.h. */
36503 _ACEOF
36504 cat confdefs.h >>conftest.$ac_ext
36505 cat >>conftest.$ac_ext <<_ACEOF
36506 /* end confdefs.h. */
36507
36508 #include <sys/statvfs.h>
36509
36510 int
36511 main ()
36512 {
36513
36514 long l;
36515 struct statvfs fs;
36516 statvfs("/", &fs);
36517 l = fs.f_bsize;
36518 l += fs.f_blocks;
36519 l += fs.f_bavail;
36520
36521 ;
36522 return 0;
36523 }
36524 _ACEOF
36525 rm -f conftest.$ac_objext
36526 if { (ac_try="$ac_compile"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36530 esac
36531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36532 (eval "$ac_compile") 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } && {
36539 test -z "$ac_cxx_werror_flag" ||
36540 test ! -s conftest.err
36541 } && test -s conftest.$ac_objext; then
36542 wx_cv_type_statvfs_t="struct statvfs"
36543 else
36544 echo "$as_me: failed program was:" >&5
36545 sed 's/^/| /' conftest.$ac_ext >&5
36546
36547 wx_cv_type_statvfs_t="unknown"
36548
36549 fi
36550
36551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36552
36553
36554 fi
36555
36556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_ext=c
36558 ac_cpp='$CPP $CPPFLAGS'
36559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562
36563
36564 fi
36565 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36566 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36567
36568 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36569 cat >>confdefs.h <<\_ACEOF
36570 #define HAVE_STATVFS 1
36571 _ACEOF
36572
36573 fi
36574 else
36575 wx_cv_type_statvfs_t="unknown"
36576 fi
36577 fi
36578
36579 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36580 cat >>confdefs.h <<_ACEOF
36581 #define WX_STATFS_T $wx_cv_type_statvfs_t
36582 _ACEOF
36583
36584 else
36585 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36586 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36587 fi
36588
36589 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36590
36591
36592 for ac_func in fcntl flock
36593 do
36594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 else
36600 cat >conftest.$ac_ext <<_ACEOF
36601 /* confdefs.h. */
36602 _ACEOF
36603 cat confdefs.h >>conftest.$ac_ext
36604 cat >>conftest.$ac_ext <<_ACEOF
36605 /* end confdefs.h. */
36606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36608 #define $ac_func innocuous_$ac_func
36609
36610 /* System header to define __stub macros and hopefully few prototypes,
36611 which can conflict with char $ac_func (); below.
36612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36613 <limits.h> exists even on freestanding compilers. */
36614
36615 #ifdef __STDC__
36616 # include <limits.h>
36617 #else
36618 # include <assert.h>
36619 #endif
36620
36621 #undef $ac_func
36622
36623 /* Override any GCC internal prototype to avoid an error.
36624 Use char because int might match the return type of a GCC
36625 builtin and then its argument prototype would still apply. */
36626 #ifdef __cplusplus
36627 extern "C"
36628 #endif
36629 char $ac_func ();
36630 /* The GNU C library defines this for functions which it implements
36631 to always fail with ENOSYS. Some functions are actually named
36632 something starting with __ and the normal name is an alias. */
36633 #if defined __stub_$ac_func || defined __stub___$ac_func
36634 choke me
36635 #endif
36636
36637 int
36638 main ()
36639 {
36640 return $ac_func ();
36641 ;
36642 return 0;
36643 }
36644 _ACEOF
36645 rm -f conftest.$ac_objext conftest$ac_exeext
36646 if { (ac_try="$ac_link"
36647 case "(($ac_try" in
36648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36649 *) ac_try_echo=$ac_try;;
36650 esac
36651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36652 (eval "$ac_link") 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } && {
36659 test -z "$ac_c_werror_flag" ||
36660 test ! -s conftest.err
36661 } && test -s conftest$ac_exeext &&
36662 $as_test_x conftest$ac_exeext; then
36663 eval "$as_ac_var=yes"
36664 else
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.$ac_ext >&5
36667
36668 eval "$as_ac_var=no"
36669 fi
36670
36671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36672 conftest$ac_exeext conftest.$ac_ext
36673 fi
36674 ac_res=`eval echo '${'$as_ac_var'}'`
36675 { echo "$as_me:$LINENO: result: $ac_res" >&5
36676 echo "${ECHO_T}$ac_res" >&6; }
36677 if test `eval echo '${'$as_ac_var'}'` = yes; then
36678 cat >>confdefs.h <<_ACEOF
36679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36680 _ACEOF
36681 break
36682 fi
36683 done
36684
36685
36686 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36687 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36688 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36689 wxUSE_SNGLINST_CHECKER=no
36690 fi
36691 fi
36692
36693
36694
36695 for ac_func in setenv putenv
36696 do
36697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36703 cat >conftest.$ac_ext <<_ACEOF
36704 /* confdefs.h. */
36705 _ACEOF
36706 cat confdefs.h >>conftest.$ac_ext
36707 cat >>conftest.$ac_ext <<_ACEOF
36708 /* end confdefs.h. */
36709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36711 #define $ac_func innocuous_$ac_func
36712
36713 /* System header to define __stub macros and hopefully few prototypes,
36714 which can conflict with char $ac_func (); below.
36715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36716 <limits.h> exists even on freestanding compilers. */
36717
36718 #ifdef __STDC__
36719 # include <limits.h>
36720 #else
36721 # include <assert.h>
36722 #endif
36723
36724 #undef $ac_func
36725
36726 /* Override any GCC internal prototype to avoid an error.
36727 Use char because int might match the return type of a GCC
36728 builtin and then its argument prototype would still apply. */
36729 #ifdef __cplusplus
36730 extern "C"
36731 #endif
36732 char $ac_func ();
36733 /* The GNU C library defines this for functions which it implements
36734 to always fail with ENOSYS. Some functions are actually named
36735 something starting with __ and the normal name is an alias. */
36736 #if defined __stub_$ac_func || defined __stub___$ac_func
36737 choke me
36738 #endif
36739
36740 int
36741 main ()
36742 {
36743 return $ac_func ();
36744 ;
36745 return 0;
36746 }
36747 _ACEOF
36748 rm -f conftest.$ac_objext conftest$ac_exeext
36749 if { (ac_try="$ac_link"
36750 case "(($ac_try" in
36751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36752 *) ac_try_echo=$ac_try;;
36753 esac
36754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36755 (eval "$ac_link") 2>conftest.er1
36756 ac_status=$?
36757 grep -v '^ *+' conftest.er1 >conftest.err
36758 rm -f conftest.er1
36759 cat conftest.err >&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } && {
36762 test -z "$ac_c_werror_flag" ||
36763 test ! -s conftest.err
36764 } && test -s conftest$ac_exeext &&
36765 $as_test_x conftest$ac_exeext; then
36766 eval "$as_ac_var=yes"
36767 else
36768 echo "$as_me: failed program was:" >&5
36769 sed 's/^/| /' conftest.$ac_ext >&5
36770
36771 eval "$as_ac_var=no"
36772 fi
36773
36774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36775 conftest$ac_exeext conftest.$ac_ext
36776 fi
36777 ac_res=`eval echo '${'$as_ac_var'}'`
36778 { echo "$as_me:$LINENO: result: $ac_res" >&5
36779 echo "${ECHO_T}$ac_res" >&6; }
36780 if test `eval echo '${'$as_ac_var'}'` = yes; then
36781 cat >>confdefs.h <<_ACEOF
36782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36783 _ACEOF
36784 break
36785 fi
36786 done
36787
36788 if test "$ac_cv_func_setenv" = "yes"; then
36789
36790 for ac_func in unsetenv
36791 do
36792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36796 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 else
36798 cat >conftest.$ac_ext <<_ACEOF
36799 /* confdefs.h. */
36800 _ACEOF
36801 cat confdefs.h >>conftest.$ac_ext
36802 cat >>conftest.$ac_ext <<_ACEOF
36803 /* end confdefs.h. */
36804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36806 #define $ac_func innocuous_$ac_func
36807
36808 /* System header to define __stub macros and hopefully few prototypes,
36809 which can conflict with char $ac_func (); below.
36810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36811 <limits.h> exists even on freestanding compilers. */
36812
36813 #ifdef __STDC__
36814 # include <limits.h>
36815 #else
36816 # include <assert.h>
36817 #endif
36818
36819 #undef $ac_func
36820
36821 /* Override any GCC internal prototype to avoid an error.
36822 Use char because int might match the return type of a GCC
36823 builtin and then its argument prototype would still apply. */
36824 #ifdef __cplusplus
36825 extern "C"
36826 #endif
36827 char $ac_func ();
36828 /* The GNU C library defines this for functions which it implements
36829 to always fail with ENOSYS. Some functions are actually named
36830 something starting with __ and the normal name is an alias. */
36831 #if defined __stub_$ac_func || defined __stub___$ac_func
36832 choke me
36833 #endif
36834
36835 int
36836 main ()
36837 {
36838 return $ac_func ();
36839 ;
36840 return 0;
36841 }
36842 _ACEOF
36843 rm -f conftest.$ac_objext conftest$ac_exeext
36844 if { (ac_try="$ac_link"
36845 case "(($ac_try" in
36846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36847 *) ac_try_echo=$ac_try;;
36848 esac
36849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36850 (eval "$ac_link") 2>conftest.er1
36851 ac_status=$?
36852 grep -v '^ *+' conftest.er1 >conftest.err
36853 rm -f conftest.er1
36854 cat conftest.err >&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); } && {
36857 test -z "$ac_c_werror_flag" ||
36858 test ! -s conftest.err
36859 } && test -s conftest$ac_exeext &&
36860 $as_test_x conftest$ac_exeext; then
36861 eval "$as_ac_var=yes"
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36865
36866 eval "$as_ac_var=no"
36867 fi
36868
36869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36870 conftest$ac_exeext conftest.$ac_ext
36871 fi
36872 ac_res=`eval echo '${'$as_ac_var'}'`
36873 { echo "$as_me:$LINENO: result: $ac_res" >&5
36874 echo "${ECHO_T}$ac_res" >&6; }
36875 if test `eval echo '${'$as_ac_var'}'` = yes; then
36876 cat >>confdefs.h <<_ACEOF
36877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36878 _ACEOF
36879
36880 fi
36881 done
36882
36883 fi
36884
36885 HAVE_SOME_SLEEP_FUNC=0
36886 if test "$USE_BEOS" = 1; then
36887 cat >>confdefs.h <<\_ACEOF
36888 #define HAVE_SLEEP 1
36889 _ACEOF
36890
36891 HAVE_SOME_SLEEP_FUNC=1
36892 fi
36893
36894 if test "$USE_DARWIN" = 1; then
36895 cat >>confdefs.h <<\_ACEOF
36896 #define HAVE_USLEEP 1
36897 _ACEOF
36898
36899 HAVE_SOME_SLEEP_FUNC=1
36900 fi
36901
36902 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36903 POSIX4_LINK=
36904
36905 for ac_func in nanosleep
36906 do
36907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36910 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 else
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36921 #define $ac_func innocuous_$ac_func
36922
36923 /* System header to define __stub macros and hopefully few prototypes,
36924 which can conflict with char $ac_func (); below.
36925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36926 <limits.h> exists even on freestanding compilers. */
36927
36928 #ifdef __STDC__
36929 # include <limits.h>
36930 #else
36931 # include <assert.h>
36932 #endif
36933
36934 #undef $ac_func
36935
36936 /* Override any GCC internal prototype to avoid an error.
36937 Use char because int might match the return type of a GCC
36938 builtin and then its argument prototype would still apply. */
36939 #ifdef __cplusplus
36940 extern "C"
36941 #endif
36942 char $ac_func ();
36943 /* The GNU C library defines this for functions which it implements
36944 to always fail with ENOSYS. Some functions are actually named
36945 something starting with __ and the normal name is an alias. */
36946 #if defined __stub_$ac_func || defined __stub___$ac_func
36947 choke me
36948 #endif
36949
36950 int
36951 main ()
36952 {
36953 return $ac_func ();
36954 ;
36955 return 0;
36956 }
36957 _ACEOF
36958 rm -f conftest.$ac_objext conftest$ac_exeext
36959 if { (ac_try="$ac_link"
36960 case "(($ac_try" in
36961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36962 *) ac_try_echo=$ac_try;;
36963 esac
36964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36965 (eval "$ac_link") 2>conftest.er1
36966 ac_status=$?
36967 grep -v '^ *+' conftest.er1 >conftest.err
36968 rm -f conftest.er1
36969 cat conftest.err >&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } && {
36972 test -z "$ac_c_werror_flag" ||
36973 test ! -s conftest.err
36974 } && test -s conftest$ac_exeext &&
36975 $as_test_x conftest$ac_exeext; then
36976 eval "$as_ac_var=yes"
36977 else
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.$ac_ext >&5
36980
36981 eval "$as_ac_var=no"
36982 fi
36983
36984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36985 conftest$ac_exeext conftest.$ac_ext
36986 fi
36987 ac_res=`eval echo '${'$as_ac_var'}'`
36988 { echo "$as_me:$LINENO: result: $ac_res" >&5
36989 echo "${ECHO_T}$ac_res" >&6; }
36990 if test `eval echo '${'$as_ac_var'}'` = yes; then
36991 cat >>confdefs.h <<_ACEOF
36992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36993 _ACEOF
36994 cat >>confdefs.h <<\_ACEOF
36995 #define HAVE_NANOSLEEP 1
36996 _ACEOF
36997
36998 else
36999
37000 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37001 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37002 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 else
37005 ac_check_lib_save_LIBS=$LIBS
37006 LIBS="-lposix4 $LIBS"
37007 cat >conftest.$ac_ext <<_ACEOF
37008 /* confdefs.h. */
37009 _ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37013
37014 /* Override any GCC internal prototype to avoid an error.
37015 Use char because int might match the return type of a GCC
37016 builtin and then its argument prototype would still apply. */
37017 #ifdef __cplusplus
37018 extern "C"
37019 #endif
37020 char nanosleep ();
37021 int
37022 main ()
37023 {
37024 return nanosleep ();
37025 ;
37026 return 0;
37027 }
37028 _ACEOF
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (ac_try="$ac_link"
37031 case "(($ac_try" in
37032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37033 *) ac_try_echo=$ac_try;;
37034 esac
37035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036 (eval "$ac_link") 2>conftest.er1
37037 ac_status=$?
37038 grep -v '^ *+' conftest.er1 >conftest.err
37039 rm -f conftest.er1
37040 cat conftest.err >&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } && {
37043 test -z "$ac_c_werror_flag" ||
37044 test ! -s conftest.err
37045 } && test -s conftest$ac_exeext &&
37046 $as_test_x conftest$ac_exeext; then
37047 ac_cv_lib_posix4_nanosleep=yes
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 ac_cv_lib_posix4_nanosleep=no
37053 fi
37054
37055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37056 conftest$ac_exeext conftest.$ac_ext
37057 LIBS=$ac_check_lib_save_LIBS
37058 fi
37059 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37060 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37061 if test $ac_cv_lib_posix4_nanosleep = yes; then
37062
37063 cat >>confdefs.h <<\_ACEOF
37064 #define HAVE_NANOSLEEP 1
37065 _ACEOF
37066
37067 POSIX4_LINK=" -lposix4"
37068
37069 else
37070
37071
37072 for wx_func in usleep
37073 do
37074 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37075 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37076 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37077 echo $ECHO_N "(cached) $ECHO_C" >&6
37078 else
37079
37080 cat >conftest.$ac_ext <<_ACEOF
37081
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087
37088
37089 $ac_includes_default
37090
37091 int
37092 main ()
37093 {
37094
37095 #ifndef $wx_func
37096 &$wx_func;
37097 #endif
37098
37099
37100 ;
37101 return 0;
37102 }
37103
37104 _ACEOF
37105 rm -f conftest.$ac_objext conftest$ac_exeext
37106 if { (ac_try="$ac_link"
37107 case "(($ac_try" in
37108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37109 *) ac_try_echo=$ac_try;;
37110 esac
37111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37112 (eval "$ac_link") 2>conftest.er1
37113 ac_status=$?
37114 grep -v '^ *+' conftest.er1 >conftest.err
37115 rm -f conftest.er1
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } && {
37119 test -z "$ac_c_werror_flag" ||
37120 test ! -s conftest.err
37121 } && test -s conftest$ac_exeext &&
37122 $as_test_x conftest$ac_exeext; then
37123 eval wx_cv_func_$wx_func=yes
37124 else
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37127
37128 eval wx_cv_func_$wx_func=no
37129 fi
37130
37131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37132 conftest$ac_exeext conftest.$ac_ext
37133
37134 fi
37135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37136 { echo "$as_me:$LINENO: result: $ac_res" >&5
37137 echo "${ECHO_T}$ac_res" >&6; }
37138
37139 if eval test \$wx_cv_func_$wx_func = yes
37140 then
37141 cat >>confdefs.h <<_ACEOF
37142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37143 _ACEOF
37144
37145
37146 else
37147 :
37148 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37149 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37150
37151 fi
37152 done
37153
37154
37155
37156 fi
37157
37158
37159
37160 fi
37161 done
37162
37163 fi
37164
37165
37166 for wx_func in uname
37167 do
37168 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37169 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37170 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 else
37173
37174 cat >conftest.$ac_ext <<_ACEOF
37175
37176 /* confdefs.h. */
37177 _ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37181
37182 #include <sys/utsname.h>
37183 $ac_includes_default
37184
37185 int
37186 main ()
37187 {
37188
37189 #ifndef $wx_func
37190 &$wx_func;
37191 #endif
37192
37193
37194 ;
37195 return 0;
37196 }
37197
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37204 esac
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37207 ac_status=$?
37208 grep -v '^ *+' conftest.er1 >conftest.err
37209 rm -f conftest.er1
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 eval wx_cv_func_$wx_func=yes
37218 else
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 eval wx_cv_func_$wx_func=no
37223 fi
37224
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37227
37228 fi
37229 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37230 { echo "$as_me:$LINENO: result: $ac_res" >&5
37231 echo "${ECHO_T}$ac_res" >&6; }
37232
37233 if eval test \$wx_cv_func_$wx_func = yes
37234 then
37235 cat >>confdefs.h <<_ACEOF
37236 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37237 _ACEOF
37238
37239
37240 else
37241 :
37242
37243 fi
37244 done
37245
37246 if test "$wx_cv_func_uname" != yes; then
37247
37248 for wx_func in gethostname
37249 do
37250 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37251 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37252 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37255
37256 cat >conftest.$ac_ext <<_ACEOF
37257
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263
37264
37265 $ac_includes_default
37266
37267 int
37268 main ()
37269 {
37270
37271 #ifndef $wx_func
37272 &$wx_func;
37273 #endif
37274
37275
37276 ;
37277 return 0;
37278 }
37279
37280 _ACEOF
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37285 *) ac_try_echo=$ac_try;;
37286 esac
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37289 ac_status=$?
37290 grep -v '^ *+' conftest.er1 >conftest.err
37291 rm -f conftest.er1
37292 cat conftest.err >&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest$ac_exeext &&
37298 $as_test_x conftest$ac_exeext; then
37299 eval wx_cv_func_$wx_func=yes
37300 else
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37303
37304 eval wx_cv_func_$wx_func=no
37305 fi
37306
37307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37308 conftest$ac_exeext conftest.$ac_ext
37309
37310 fi
37311 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37312 { echo "$as_me:$LINENO: result: $ac_res" >&5
37313 echo "${ECHO_T}$ac_res" >&6; }
37314
37315 if eval test \$wx_cv_func_$wx_func = yes
37316 then
37317 cat >>confdefs.h <<_ACEOF
37318 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37319 _ACEOF
37320
37321
37322 else
37323 :
37324
37325 fi
37326 done
37327
37328 fi
37329
37330
37331 for wx_func in strtok_r
37332 do
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338
37339 cat >conftest.$ac_ext <<_ACEOF
37340
37341 /* confdefs.h. */
37342 _ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37346
37347 #define _REENTRANT
37348 $ac_includes_default
37349
37350 int
37351 main ()
37352 {
37353
37354 #ifndef $wx_func
37355 &$wx_func;
37356 #endif
37357
37358
37359 ;
37360 return 0;
37361 }
37362
37363 _ACEOF
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (ac_try="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37369 esac
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_c_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 eval wx_cv_func_$wx_func=no
37388 fi
37389
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37392
37393 fi
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37397
37398 if eval test \$wx_cv_func_$wx_func = yes
37399 then
37400 cat >>confdefs.h <<_ACEOF
37401 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37402 _ACEOF
37403
37404
37405 else
37406 :
37407
37408 fi
37409 done
37410
37411
37412 INET_LINK=
37413
37414 for ac_func in inet_addr
37415 do
37416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 else
37422 cat >conftest.$ac_ext <<_ACEOF
37423 /* confdefs.h. */
37424 _ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37430 #define $ac_func innocuous_$ac_func
37431
37432 /* System header to define __stub macros and hopefully few prototypes,
37433 which can conflict with char $ac_func (); below.
37434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37435 <limits.h> exists even on freestanding compilers. */
37436
37437 #ifdef __STDC__
37438 # include <limits.h>
37439 #else
37440 # include <assert.h>
37441 #endif
37442
37443 #undef $ac_func
37444
37445 /* Override any GCC internal prototype to avoid an error.
37446 Use char because int might match the return type of a GCC
37447 builtin and then its argument prototype would still apply. */
37448 #ifdef __cplusplus
37449 extern "C"
37450 #endif
37451 char $ac_func ();
37452 /* The GNU C library defines this for functions which it implements
37453 to always fail with ENOSYS. Some functions are actually named
37454 something starting with __ and the normal name is an alias. */
37455 #if defined __stub_$ac_func || defined __stub___$ac_func
37456 choke me
37457 #endif
37458
37459 int
37460 main ()
37461 {
37462 return $ac_func ();
37463 ;
37464 return 0;
37465 }
37466 _ACEOF
37467 rm -f conftest.$ac_objext conftest$ac_exeext
37468 if { (ac_try="$ac_link"
37469 case "(($ac_try" in
37470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37471 *) ac_try_echo=$ac_try;;
37472 esac
37473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37474 (eval "$ac_link") 2>conftest.er1
37475 ac_status=$?
37476 grep -v '^ *+' conftest.er1 >conftest.err
37477 rm -f conftest.er1
37478 cat conftest.err >&5
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); } && {
37481 test -z "$ac_c_werror_flag" ||
37482 test ! -s conftest.err
37483 } && test -s conftest$ac_exeext &&
37484 $as_test_x conftest$ac_exeext; then
37485 eval "$as_ac_var=yes"
37486 else
37487 echo "$as_me: failed program was:" >&5
37488 sed 's/^/| /' conftest.$ac_ext >&5
37489
37490 eval "$as_ac_var=no"
37491 fi
37492
37493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37494 conftest$ac_exeext conftest.$ac_ext
37495 fi
37496 ac_res=`eval echo '${'$as_ac_var'}'`
37497 { echo "$as_me:$LINENO: result: $ac_res" >&5
37498 echo "${ECHO_T}$ac_res" >&6; }
37499 if test `eval echo '${'$as_ac_var'}'` = yes; then
37500 cat >>confdefs.h <<_ACEOF
37501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37502 _ACEOF
37503 cat >>confdefs.h <<\_ACEOF
37504 #define HAVE_INET_ADDR 1
37505 _ACEOF
37506
37507 else
37508
37509 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37510 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37511 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37512 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 else
37514 ac_check_lib_save_LIBS=$LIBS
37515 LIBS="-lnsl $LIBS"
37516 cat >conftest.$ac_ext <<_ACEOF
37517 /* confdefs.h. */
37518 _ACEOF
37519 cat confdefs.h >>conftest.$ac_ext
37520 cat >>conftest.$ac_ext <<_ACEOF
37521 /* end confdefs.h. */
37522
37523 /* Override any GCC internal prototype to avoid an error.
37524 Use char because int might match the return type of a GCC
37525 builtin and then its argument prototype would still apply. */
37526 #ifdef __cplusplus
37527 extern "C"
37528 #endif
37529 char inet_addr ();
37530 int
37531 main ()
37532 {
37533 return inet_addr ();
37534 ;
37535 return 0;
37536 }
37537 _ACEOF
37538 rm -f conftest.$ac_objext conftest$ac_exeext
37539 if { (ac_try="$ac_link"
37540 case "(($ac_try" in
37541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37542 *) ac_try_echo=$ac_try;;
37543 esac
37544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37545 (eval "$ac_link") 2>conftest.er1
37546 ac_status=$?
37547 grep -v '^ *+' conftest.er1 >conftest.err
37548 rm -f conftest.er1
37549 cat conftest.err >&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } && {
37552 test -z "$ac_c_werror_flag" ||
37553 test ! -s conftest.err
37554 } && test -s conftest$ac_exeext &&
37555 $as_test_x conftest$ac_exeext; then
37556 ac_cv_lib_nsl_inet_addr=yes
37557 else
37558 echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.$ac_ext >&5
37560
37561 ac_cv_lib_nsl_inet_addr=no
37562 fi
37563
37564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37565 conftest$ac_exeext conftest.$ac_ext
37566 LIBS=$ac_check_lib_save_LIBS
37567 fi
37568 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37569 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37570 if test $ac_cv_lib_nsl_inet_addr = yes; then
37571 INET_LINK="nsl"
37572 else
37573
37574 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37575 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37576 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37577 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 else
37579 ac_check_lib_save_LIBS=$LIBS
37580 LIBS="-lresolv $LIBS"
37581 cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h. */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h. */
37587
37588 /* Override any GCC internal prototype to avoid an error.
37589 Use char because int might match the return type of a GCC
37590 builtin and then its argument prototype would still apply. */
37591 #ifdef __cplusplus
37592 extern "C"
37593 #endif
37594 char inet_addr ();
37595 int
37596 main ()
37597 {
37598 return inet_addr ();
37599 ;
37600 return 0;
37601 }
37602 _ACEOF
37603 rm -f conftest.$ac_objext conftest$ac_exeext
37604 if { (ac_try="$ac_link"
37605 case "(($ac_try" in
37606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37607 *) ac_try_echo=$ac_try;;
37608 esac
37609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37610 (eval "$ac_link") 2>conftest.er1
37611 ac_status=$?
37612 grep -v '^ *+' conftest.er1 >conftest.err
37613 rm -f conftest.er1
37614 cat conftest.err >&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); } && {
37617 test -z "$ac_c_werror_flag" ||
37618 test ! -s conftest.err
37619 } && test -s conftest$ac_exeext &&
37620 $as_test_x conftest$ac_exeext; then
37621 ac_cv_lib_resolv_inet_addr=yes
37622 else
37623 echo "$as_me: failed program was:" >&5
37624 sed 's/^/| /' conftest.$ac_ext >&5
37625
37626 ac_cv_lib_resolv_inet_addr=no
37627 fi
37628
37629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37630 conftest$ac_exeext conftest.$ac_ext
37631 LIBS=$ac_check_lib_save_LIBS
37632 fi
37633 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37634 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37635 if test $ac_cv_lib_resolv_inet_addr = yes; then
37636 INET_LINK="resolv"
37637 else
37638
37639 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37640 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37641 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37643 else
37644 ac_check_lib_save_LIBS=$LIBS
37645 LIBS="-lsocket $LIBS"
37646 cat >conftest.$ac_ext <<_ACEOF
37647 /* confdefs.h. */
37648 _ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37652
37653 /* Override any GCC internal prototype to avoid an error.
37654 Use char because int might match the return type of a GCC
37655 builtin and then its argument prototype would still apply. */
37656 #ifdef __cplusplus
37657 extern "C"
37658 #endif
37659 char inet_addr ();
37660 int
37661 main ()
37662 {
37663 return inet_addr ();
37664 ;
37665 return 0;
37666 }
37667 _ACEOF
37668 rm -f conftest.$ac_objext conftest$ac_exeext
37669 if { (ac_try="$ac_link"
37670 case "(($ac_try" in
37671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37672 *) ac_try_echo=$ac_try;;
37673 esac
37674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37675 (eval "$ac_link") 2>conftest.er1
37676 ac_status=$?
37677 grep -v '^ *+' conftest.er1 >conftest.err
37678 rm -f conftest.er1
37679 cat conftest.err >&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } && {
37682 test -z "$ac_c_werror_flag" ||
37683 test ! -s conftest.err
37684 } && test -s conftest$ac_exeext &&
37685 $as_test_x conftest$ac_exeext; then
37686 ac_cv_lib_socket_inet_addr=yes
37687 else
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37690
37691 ac_cv_lib_socket_inet_addr=no
37692 fi
37693
37694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37695 conftest$ac_exeext conftest.$ac_ext
37696 LIBS=$ac_check_lib_save_LIBS
37697 fi
37698 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37699 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37700 if test $ac_cv_lib_socket_inet_addr = yes; then
37701 INET_LINK="socket"
37702
37703 fi
37704
37705
37706
37707 fi
37708
37709
37710
37711 fi
37712
37713
37714
37715 fi
37716 done
37717
37718
37719
37720 for ac_func in inet_aton
37721 do
37722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 else
37728 cat >conftest.$ac_ext <<_ACEOF
37729 /* confdefs.h. */
37730 _ACEOF
37731 cat confdefs.h >>conftest.$ac_ext
37732 cat >>conftest.$ac_ext <<_ACEOF
37733 /* end confdefs.h. */
37734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37736 #define $ac_func innocuous_$ac_func
37737
37738 /* System header to define __stub macros and hopefully few prototypes,
37739 which can conflict with char $ac_func (); below.
37740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37741 <limits.h> exists even on freestanding compilers. */
37742
37743 #ifdef __STDC__
37744 # include <limits.h>
37745 #else
37746 # include <assert.h>
37747 #endif
37748
37749 #undef $ac_func
37750
37751 /* Override any GCC internal prototype to avoid an error.
37752 Use char because int might match the return type of a GCC
37753 builtin and then its argument prototype would still apply. */
37754 #ifdef __cplusplus
37755 extern "C"
37756 #endif
37757 char $ac_func ();
37758 /* The GNU C library defines this for functions which it implements
37759 to always fail with ENOSYS. Some functions are actually named
37760 something starting with __ and the normal name is an alias. */
37761 #if defined __stub_$ac_func || defined __stub___$ac_func
37762 choke me
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768 return $ac_func ();
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (ac_try="$ac_link"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37778 esac
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_link") 2>conftest.er1
37781 ac_status=$?
37782 grep -v '^ *+' conftest.er1 >conftest.err
37783 rm -f conftest.er1
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_c_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest$ac_exeext &&
37790 $as_test_x conftest$ac_exeext; then
37791 eval "$as_ac_var=yes"
37792 else
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37795
37796 eval "$as_ac_var=no"
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37801 fi
37802 ac_res=`eval echo '${'$as_ac_var'}'`
37803 { echo "$as_me:$LINENO: result: $ac_res" >&5
37804 echo "${ECHO_T}$ac_res" >&6; }
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37808 _ACEOF
37809 cat >>confdefs.h <<\_ACEOF
37810 #define HAVE_INET_ATON 1
37811 _ACEOF
37812
37813 else
37814
37815 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37816 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37817 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37818 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 else
37821 ac_check_lib_save_LIBS=$LIBS
37822 LIBS="-l$INET_LINK $LIBS"
37823 cat >conftest.$ac_ext <<_ACEOF
37824 /* confdefs.h. */
37825 _ACEOF
37826 cat confdefs.h >>conftest.$ac_ext
37827 cat >>conftest.$ac_ext <<_ACEOF
37828 /* end confdefs.h. */
37829
37830 /* Override any GCC internal prototype to avoid an error.
37831 Use char because int might match the return type of a GCC
37832 builtin and then its argument prototype would still apply. */
37833 #ifdef __cplusplus
37834 extern "C"
37835 #endif
37836 char inet_aton ();
37837 int
37838 main ()
37839 {
37840 return inet_aton ();
37841 ;
37842 return 0;
37843 }
37844 _ACEOF
37845 rm -f conftest.$ac_objext conftest$ac_exeext
37846 if { (ac_try="$ac_link"
37847 case "(($ac_try" in
37848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37849 *) ac_try_echo=$ac_try;;
37850 esac
37851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37852 (eval "$ac_link") 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && {
37859 test -z "$ac_c_werror_flag" ||
37860 test ! -s conftest.err
37861 } && test -s conftest$ac_exeext &&
37862 $as_test_x conftest$ac_exeext; then
37863 eval "$as_ac_Lib=yes"
37864 else
37865 echo "$as_me: failed program was:" >&5
37866 sed 's/^/| /' conftest.$ac_ext >&5
37867
37868 eval "$as_ac_Lib=no"
37869 fi
37870
37871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37872 conftest$ac_exeext conftest.$ac_ext
37873 LIBS=$ac_check_lib_save_LIBS
37874 fi
37875 ac_res=`eval echo '${'$as_ac_Lib'}'`
37876 { echo "$as_me:$LINENO: result: $ac_res" >&5
37877 echo "${ECHO_T}$ac_res" >&6; }
37878 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37879 cat >>confdefs.h <<\_ACEOF
37880 #define HAVE_INET_ATON 1
37881 _ACEOF
37882
37883 fi
37884
37885
37886 fi
37887 done
37888
37889
37890 if test "x$INET_LINK" != "x"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define HAVE_INET_ADDR 1
37893 _ACEOF
37894
37895 INET_LINK=" -l$INET_LINK"
37896 fi
37897
37898
37899 for wx_func in fdopen
37900 do
37901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 else
37906
37907 cat >conftest.$ac_ext <<_ACEOF
37908
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914
37915
37916 $ac_includes_default
37917
37918 int
37919 main ()
37920 {
37921
37922 #ifndef $wx_func
37923 &$wx_func;
37924 #endif
37925
37926
37927 ;
37928 return 0;
37929 }
37930
37931 _ACEOF
37932 rm -f conftest.$ac_objext conftest$ac_exeext
37933 if { (ac_try="$ac_link"
37934 case "(($ac_try" in
37935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37937 esac
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_link") 2>conftest.er1
37940 ac_status=$?
37941 grep -v '^ *+' conftest.er1 >conftest.err
37942 rm -f conftest.er1
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest$ac_exeext &&
37949 $as_test_x conftest$ac_exeext; then
37950 eval wx_cv_func_$wx_func=yes
37951 else
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37954
37955 eval wx_cv_func_$wx_func=no
37956 fi
37957
37958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37959 conftest$ac_exeext conftest.$ac_ext
37960
37961 fi
37962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37963 { echo "$as_me:$LINENO: result: $ac_res" >&5
37964 echo "${ECHO_T}$ac_res" >&6; }
37965
37966 if eval test \$wx_cv_func_$wx_func = yes
37967 then
37968 cat >>confdefs.h <<_ACEOF
37969 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37970 _ACEOF
37971
37972
37973 else
37974 :
37975
37976 fi
37977 done
37978
37979
37980 if test "$wxUSE_TARSTREAM" = "yes"; then
37981
37982 for wx_func in sysconf
37983 do
37984 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37985 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37986 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989
37990 cat >conftest.$ac_ext <<_ACEOF
37991
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997
37998
37999 $ac_includes_default
38000
38001 int
38002 main ()
38003 {
38004
38005 #ifndef $wx_func
38006 &$wx_func;
38007 #endif
38008
38009
38010 ;
38011 return 0;
38012 }
38013
38014 _ACEOF
38015 rm -f conftest.$ac_objext conftest$ac_exeext
38016 if { (ac_try="$ac_link"
38017 case "(($ac_try" in
38018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38019 *) ac_try_echo=$ac_try;;
38020 esac
38021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38022 (eval "$ac_link") 2>conftest.er1
38023 ac_status=$?
38024 grep -v '^ *+' conftest.er1 >conftest.err
38025 rm -f conftest.er1
38026 cat conftest.err >&5
38027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38028 (exit $ac_status); } && {
38029 test -z "$ac_c_werror_flag" ||
38030 test ! -s conftest.err
38031 } && test -s conftest$ac_exeext &&
38032 $as_test_x conftest$ac_exeext; then
38033 eval wx_cv_func_$wx_func=yes
38034 else
38035 echo "$as_me: failed program was:" >&5
38036 sed 's/^/| /' conftest.$ac_ext >&5
38037
38038 eval wx_cv_func_$wx_func=no
38039 fi
38040
38041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38042 conftest$ac_exeext conftest.$ac_ext
38043
38044 fi
38045 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38046 { echo "$as_me:$LINENO: result: $ac_res" >&5
38047 echo "${ECHO_T}$ac_res" >&6; }
38048
38049 if eval test \$wx_cv_func_$wx_func = yes
38050 then
38051 cat >>confdefs.h <<_ACEOF
38052 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38053 _ACEOF
38054
38055
38056 else
38057 :
38058
38059 fi
38060 done
38061
38062
38063
38064 for wx_func in getpwuid_r
38065 do
38066 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38067 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38068 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38070 else
38071
38072 cat >conftest.$ac_ext <<_ACEOF
38073
38074 /* confdefs.h. */
38075 _ACEOF
38076 cat confdefs.h >>conftest.$ac_ext
38077 cat >>conftest.$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38079
38080
38081 #define _REENTRANT
38082 #include <pwd.h>
38083
38084 $ac_includes_default
38085
38086 int
38087 main ()
38088 {
38089
38090 #ifndef $wx_func
38091 &$wx_func;
38092 #endif
38093
38094 struct passwd pw, *ppw;
38095 char buf[1024];
38096 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38097
38098
38099 ;
38100 return 0;
38101 }
38102
38103 _ACEOF
38104 rm -f conftest.$ac_objext conftest$ac_exeext
38105 if { (ac_try="$ac_link"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38108 *) ac_try_echo=$ac_try;;
38109 esac
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_link") 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest$ac_exeext &&
38121 $as_test_x conftest$ac_exeext; then
38122 eval wx_cv_func_$wx_func=yes
38123 else
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.$ac_ext >&5
38126
38127 eval wx_cv_func_$wx_func=no
38128 fi
38129
38130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38131 conftest$ac_exeext conftest.$ac_ext
38132
38133 fi
38134 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38135 { echo "$as_me:$LINENO: result: $ac_res" >&5
38136 echo "${ECHO_T}$ac_res" >&6; }
38137
38138 if eval test \$wx_cv_func_$wx_func = yes
38139 then
38140 cat >>confdefs.h <<_ACEOF
38141 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38142 _ACEOF
38143
38144
38145 else
38146 :
38147
38148 fi
38149 done
38150
38151
38152
38153 for wx_func in getgrgid_r
38154 do
38155 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38156 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38157 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38158 echo $ECHO_N "(cached) $ECHO_C" >&6
38159 else
38160
38161 cat >conftest.$ac_ext <<_ACEOF
38162
38163 /* confdefs.h. */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38168
38169
38170 #define _REENTRANT
38171 #include <grp.h>
38172
38173 $ac_includes_default
38174
38175 int
38176 main ()
38177 {
38178
38179 #ifndef $wx_func
38180 &$wx_func;
38181 #endif
38182
38183 struct group grp, *pgrp;
38184 char buf[1024];
38185 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38186
38187
38188 ;
38189 return 0;
38190 }
38191
38192 _ACEOF
38193 rm -f conftest.$ac_objext conftest$ac_exeext
38194 if { (ac_try="$ac_link"
38195 case "(($ac_try" in
38196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38197 *) ac_try_echo=$ac_try;;
38198 esac
38199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38200 (eval "$ac_link") 2>conftest.er1
38201 ac_status=$?
38202 grep -v '^ *+' conftest.er1 >conftest.err
38203 rm -f conftest.er1
38204 cat conftest.err >&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } && {
38207 test -z "$ac_c_werror_flag" ||
38208 test ! -s conftest.err
38209 } && test -s conftest$ac_exeext &&
38210 $as_test_x conftest$ac_exeext; then
38211 eval wx_cv_func_$wx_func=yes
38212 else
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.$ac_ext >&5
38215
38216 eval wx_cv_func_$wx_func=no
38217 fi
38218
38219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38220 conftest$ac_exeext conftest.$ac_ext
38221
38222 fi
38223 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38224 { echo "$as_me:$LINENO: result: $ac_res" >&5
38225 echo "${ECHO_T}$ac_res" >&6; }
38226
38227 if eval test \$wx_cv_func_$wx_func = yes
38228 then
38229 cat >>confdefs.h <<_ACEOF
38230 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38231 _ACEOF
38232
38233
38234 else
38235 :
38236
38237 fi
38238 done
38239
38240 fi
38241
38242 fi
38243
38244
38245
38246 cat >confcache <<\_ACEOF
38247 # This file is a shell script that caches the results of configure
38248 # tests run on this system so they can be shared between configure
38249 # scripts and configure runs, see configure's option --config-cache.
38250 # It is not useful on other systems. If it contains results you don't
38251 # want to keep, you may remove or edit it.
38252 #
38253 # config.status only pays attention to the cache file if you give it
38254 # the --recheck option to rerun configure.
38255 #
38256 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38257 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38258 # following values.
38259
38260 _ACEOF
38261
38262 # The following way of writing the cache mishandles newlines in values,
38263 # but we know of no workaround that is simple, portable, and efficient.
38264 # So, we kill variables containing newlines.
38265 # Ultrix sh set writes to stderr and can't be redirected directly,
38266 # and sets the high bit in the cache file unless we assign to the vars.
38267 (
38268 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38269 eval ac_val=\$$ac_var
38270 case $ac_val in #(
38271 *${as_nl}*)
38272 case $ac_var in #(
38273 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38274 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38275 esac
38276 case $ac_var in #(
38277 _ | IFS | as_nl) ;; #(
38278 *) $as_unset $ac_var ;;
38279 esac ;;
38280 esac
38281 done
38282
38283 (set) 2>&1 |
38284 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38285 *${as_nl}ac_space=\ *)
38286 # `set' does not quote correctly, so add quotes (double-quote
38287 # substitution turns \\\\ into \\, and sed turns \\ into \).
38288 sed -n \
38289 "s/'/'\\\\''/g;
38290 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38291 ;; #(
38292 *)
38293 # `set' quotes correctly as required by POSIX, so do not add quotes.
38294 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38295 ;;
38296 esac |
38297 sort
38298 ) |
38299 sed '
38300 /^ac_cv_env_/b end
38301 t clear
38302 :clear
38303 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38304 t end
38305 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38306 :end' >>confcache
38307 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38308 if test -w "$cache_file"; then
38309 test "x$cache_file" != "x/dev/null" &&
38310 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38311 echo "$as_me: updating cache $cache_file" >&6;}
38312 cat confcache >$cache_file
38313 else
38314 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38315 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38316 fi
38317 fi
38318 rm -f confcache
38319
38320
38321 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38322
38323
38324 THREADS_LINK=
38325 THREADS_CFLAGS=
38326
38327 if test "$wxUSE_THREADS" = "yes" ; then
38328 if test "$USE_BEOS" = 1; then
38329 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38330 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38331 wxUSE_THREADS="no"
38332 fi
38333 fi
38334
38335 if test "$wxUSE_THREADS" = "yes" ; then
38336
38337
38338 THREAD_OPTS="-pthread"
38339 if test "x$SUNCXX" = xyes; then
38340 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38341 fi
38342
38343 case "${host}" in
38344 *-*-solaris2* | *-*-sunos4* )
38345 if test "x$GCC" = "xyes"; then
38346 THREAD_OPTS="-pthreads $THREAD_OPTS"
38347 fi
38348 ;;
38349 *-*-freebsd*)
38350 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38351 ;;
38352 *-*-darwin* | *-*-cygwin* )
38353 THREAD_OPTS=""
38354 ;;
38355 *-*-aix*)
38356 THREAD_OPTS="pthreads"
38357 ;;
38358 *-hp-hpux* )
38359 if test "x$GCC" = "xyes"; then
38360 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38361 THREAD_OPTS=""
38362 else
38363 THREAD_OPTS="-mt"
38364 fi
38365 ;;
38366
38367 *-*-irix* )
38368 if test "x$GCC" = "xyes"; then
38369 THREAD_OPTS=""
38370 fi
38371 ;;
38372
38373 *-*-*UnixWare*)
38374 if test "x$GCC" != "xyes"; then
38375 THREAD_OPTS="-Ethread"
38376 fi
38377 ;;
38378 esac
38379
38380 THREAD_OPTS="$THREAD_OPTS pthread none"
38381
38382 THREADS_OK=no
38383 for flag in $THREAD_OPTS; do
38384 case $flag in
38385 none)
38386 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38387 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38388 ;;
38389
38390 -*)
38391 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38392 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38393 THREADS_CFLAGS="$flag"
38394 ;;
38395
38396 *)
38397 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38398 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38399 THREADS_LINK="-l$flag"
38400 ;;
38401 esac
38402
38403 save_LIBS="$LIBS"
38404 save_CFLAGS="$CFLAGS"
38405 LIBS="$THREADS_LINK $LIBS"
38406 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38407
38408 cat >conftest.$ac_ext <<_ACEOF
38409 /* confdefs.h. */
38410 _ACEOF
38411 cat confdefs.h >>conftest.$ac_ext
38412 cat >>conftest.$ac_ext <<_ACEOF
38413 /* end confdefs.h. */
38414 #include <pthread.h>
38415 int
38416 main ()
38417 {
38418 pthread_create(0,0,0,0);
38419 ;
38420 return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38428 esac
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38431 ac_status=$?
38432 grep -v '^ *+' conftest.er1 >conftest.err
38433 rm -f conftest.er1
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 THREADS_OK=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446
38447 fi
38448
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38451
38452 LIBS="$save_LIBS"
38453 CFLAGS="$save_CFLAGS"
38454
38455 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38456 echo "${ECHO_T}$THREADS_OK" >&6; }
38457 if test "x$THREADS_OK" = "xyes"; then
38458 break;
38459 fi
38460
38461 THREADS_LINK=""
38462 THREADS_CFLAGS=""
38463 done
38464
38465 if test "x$THREADS_OK" != "xyes"; then
38466 wxUSE_THREADS=no
38467 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38468 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38469 else
38470 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38471 LIBS="$THREADS_LINK $LIBS"
38472
38473 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38474 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38475 flag=no
38476 case "${host}" in
38477 *-aix*)
38478 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38479 flag="-D_THREAD_SAFE"
38480 ;;
38481 *-freebsd*)
38482 flag="-D_THREAD_SAFE"
38483 ;;
38484 *-hp-hpux* )
38485 flag="-D_REENTRANT"
38486 if test "x$GCC" != "xyes"; then
38487 flag="$flag -D_RWSTD_MULTI_THREAD"
38488 fi
38489 ;;
38490 *solaris* | alpha*-osf*)
38491 flag="-D_REENTRANT"
38492 ;;
38493 esac
38494 { echo "$as_me:$LINENO: result: ${flag}" >&5
38495 echo "${ECHO_T}${flag}" >&6; }
38496 if test "x$flag" != xno; then
38497 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38498 fi
38499
38500 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38501 fi
38502 fi
38503
38504 if test "$wxUSE_THREADS" = "yes" ; then
38505
38506 for ac_func in thr_setconcurrency
38507 do
38508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514 cat >conftest.$ac_ext <<_ACEOF
38515 /* confdefs.h. */
38516 _ACEOF
38517 cat confdefs.h >>conftest.$ac_ext
38518 cat >>conftest.$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38522 #define $ac_func innocuous_$ac_func
38523
38524 /* System header to define __stub macros and hopefully few prototypes,
38525 which can conflict with char $ac_func (); below.
38526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38527 <limits.h> exists even on freestanding compilers. */
38528
38529 #ifdef __STDC__
38530 # include <limits.h>
38531 #else
38532 # include <assert.h>
38533 #endif
38534
38535 #undef $ac_func
38536
38537 /* Override any GCC internal prototype to avoid an error.
38538 Use char because int might match the return type of a GCC
38539 builtin and then its argument prototype would still apply. */
38540 #ifdef __cplusplus
38541 extern "C"
38542 #endif
38543 char $ac_func ();
38544 /* The GNU C library defines this for functions which it implements
38545 to always fail with ENOSYS. Some functions are actually named
38546 something starting with __ and the normal name is an alias. */
38547 #if defined __stub_$ac_func || defined __stub___$ac_func
38548 choke me
38549 #endif
38550
38551 int
38552 main ()
38553 {
38554 return $ac_func ();
38555 ;
38556 return 0;
38557 }
38558 _ACEOF
38559 rm -f conftest.$ac_objext conftest$ac_exeext
38560 if { (ac_try="$ac_link"
38561 case "(($ac_try" in
38562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38563 *) ac_try_echo=$ac_try;;
38564 esac
38565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38566 (eval "$ac_link") 2>conftest.er1
38567 ac_status=$?
38568 grep -v '^ *+' conftest.er1 >conftest.err
38569 rm -f conftest.er1
38570 cat conftest.err >&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); } && {
38573 test -z "$ac_c_werror_flag" ||
38574 test ! -s conftest.err
38575 } && test -s conftest$ac_exeext &&
38576 $as_test_x conftest$ac_exeext; then
38577 eval "$as_ac_var=yes"
38578 else
38579 echo "$as_me: failed program was:" >&5
38580 sed 's/^/| /' conftest.$ac_ext >&5
38581
38582 eval "$as_ac_var=no"
38583 fi
38584
38585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38586 conftest$ac_exeext conftest.$ac_ext
38587 fi
38588 ac_res=`eval echo '${'$as_ac_var'}'`
38589 { echo "$as_me:$LINENO: result: $ac_res" >&5
38590 echo "${ECHO_T}$ac_res" >&6; }
38591 if test `eval echo '${'$as_ac_var'}'` = yes; then
38592 cat >>confdefs.h <<_ACEOF
38593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38594 _ACEOF
38595
38596 fi
38597 done
38598
38599
38600 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38601 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38602 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 else
38605
38606 ac_ext=cpp
38607 ac_cpp='$CXXCPP $CPPFLAGS'
38608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611
38612 cat >conftest.$ac_ext <<_ACEOF
38613 /* confdefs.h. */
38614 _ACEOF
38615 cat confdefs.h >>conftest.$ac_ext
38616 cat >>conftest.$ac_ext <<_ACEOF
38617 /* end confdefs.h. */
38618 #include <pthread.h>
38619 void ThreadCleanupFunc(void *p);
38620
38621 int
38622 main ()
38623 {
38624
38625 void *p;
38626 pthread_cleanup_push(ThreadCleanupFunc, p);
38627 pthread_cleanup_pop(0);
38628
38629 ;
38630 return 0;
38631 }
38632 _ACEOF
38633 rm -f conftest.$ac_objext
38634 if { (ac_try="$ac_compile"
38635 case "(($ac_try" in
38636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38637 *) ac_try_echo=$ac_try;;
38638 esac
38639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38640 (eval "$ac_compile") 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } && {
38647 test -z "$ac_cxx_werror_flag" ||
38648 test ! -s conftest.err
38649 } && test -s conftest.$ac_objext; then
38650
38651 wx_cv_func_pthread_cleanup=yes
38652
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657
38658 wx_cv_func_pthread_cleanup=no
38659
38660
38661 fi
38662
38663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38664 ac_ext=c
38665 ac_cpp='$CPP $CPPFLAGS'
38666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38669
38670
38671 fi
38672 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38673 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38674 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38675 cat >>confdefs.h <<\_ACEOF
38676 #define wxHAVE_PTHREAD_CLEANUP 1
38677 _ACEOF
38678
38679 fi
38680
38681
38682 for ac_header in sched.h
38683 do
38684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690 cat >conftest.$ac_ext <<_ACEOF
38691 /* confdefs.h. */
38692 _ACEOF
38693 cat confdefs.h >>conftest.$ac_ext
38694 cat >>conftest.$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 $ac_includes_default
38697
38698 #include <$ac_header>
38699 _ACEOF
38700 rm -f conftest.$ac_objext
38701 if { (ac_try="$ac_compile"
38702 case "(($ac_try" in
38703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38705 esac
38706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38707 (eval "$ac_compile") 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } && {
38714 test -z "$ac_c_werror_flag" ||
38715 test ! -s conftest.err
38716 } && test -s conftest.$ac_objext; then
38717 eval "$as_ac_Header=yes"
38718 else
38719 echo "$as_me: failed program was:" >&5
38720 sed 's/^/| /' conftest.$ac_ext >&5
38721
38722 eval "$as_ac_Header=no"
38723 fi
38724
38725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38726 fi
38727 ac_res=`eval echo '${'$as_ac_Header'}'`
38728 { echo "$as_me:$LINENO: result: $ac_res" >&5
38729 echo "${ECHO_T}$ac_res" >&6; }
38730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38731 cat >>confdefs.h <<_ACEOF
38732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38733 _ACEOF
38734
38735 fi
38736
38737 done
38738
38739 if test "$ac_cv_header_sched_h" = "yes"; then
38740 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38741 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38742 if test "${ac_cv_func_sched_yield+set}" = set; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 else
38745 cat >conftest.$ac_ext <<_ACEOF
38746 /* confdefs.h. */
38747 _ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38751 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38753 #define sched_yield innocuous_sched_yield
38754
38755 /* System header to define __stub macros and hopefully few prototypes,
38756 which can conflict with char sched_yield (); below.
38757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38758 <limits.h> exists even on freestanding compilers. */
38759
38760 #ifdef __STDC__
38761 # include <limits.h>
38762 #else
38763 # include <assert.h>
38764 #endif
38765
38766 #undef sched_yield
38767
38768 /* Override any GCC internal prototype to avoid an error.
38769 Use char because int might match the return type of a GCC
38770 builtin and then its argument prototype would still apply. */
38771 #ifdef __cplusplus
38772 extern "C"
38773 #endif
38774 char sched_yield ();
38775 /* The GNU C library defines this for functions which it implements
38776 to always fail with ENOSYS. Some functions are actually named
38777 something starting with __ and the normal name is an alias. */
38778 #if defined __stub_sched_yield || defined __stub___sched_yield
38779 choke me
38780 #endif
38781
38782 int
38783 main ()
38784 {
38785 return sched_yield ();
38786 ;
38787 return 0;
38788 }
38789 _ACEOF
38790 rm -f conftest.$ac_objext conftest$ac_exeext
38791 if { (ac_try="$ac_link"
38792 case "(($ac_try" in
38793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38794 *) ac_try_echo=$ac_try;;
38795 esac
38796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38797 (eval "$ac_link") 2>conftest.er1
38798 ac_status=$?
38799 grep -v '^ *+' conftest.er1 >conftest.err
38800 rm -f conftest.er1
38801 cat conftest.err >&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); } && {
38804 test -z "$ac_c_werror_flag" ||
38805 test ! -s conftest.err
38806 } && test -s conftest$ac_exeext &&
38807 $as_test_x conftest$ac_exeext; then
38808 ac_cv_func_sched_yield=yes
38809 else
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38812
38813 ac_cv_func_sched_yield=no
38814 fi
38815
38816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38817 conftest$ac_exeext conftest.$ac_ext
38818 fi
38819 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38820 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38821 if test $ac_cv_func_sched_yield = yes; then
38822 cat >>confdefs.h <<\_ACEOF
38823 #define HAVE_SCHED_YIELD 1
38824 _ACEOF
38825
38826 else
38827
38828 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38829 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38830 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 else
38833 ac_check_lib_save_LIBS=$LIBS
38834 LIBS="-lposix4 $LIBS"
38835 cat >conftest.$ac_ext <<_ACEOF
38836 /* confdefs.h. */
38837 _ACEOF
38838 cat confdefs.h >>conftest.$ac_ext
38839 cat >>conftest.$ac_ext <<_ACEOF
38840 /* end confdefs.h. */
38841
38842 /* Override any GCC internal prototype to avoid an error.
38843 Use char because int might match the return type of a GCC
38844 builtin and then its argument prototype would still apply. */
38845 #ifdef __cplusplus
38846 extern "C"
38847 #endif
38848 char sched_yield ();
38849 int
38850 main ()
38851 {
38852 return sched_yield ();
38853 ;
38854 return 0;
38855 }
38856 _ACEOF
38857 rm -f conftest.$ac_objext conftest$ac_exeext
38858 if { (ac_try="$ac_link"
38859 case "(($ac_try" in
38860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38861 *) ac_try_echo=$ac_try;;
38862 esac
38863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38864 (eval "$ac_link") 2>conftest.er1
38865 ac_status=$?
38866 grep -v '^ *+' conftest.er1 >conftest.err
38867 rm -f conftest.er1
38868 cat conftest.err >&5
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); } && {
38871 test -z "$ac_c_werror_flag" ||
38872 test ! -s conftest.err
38873 } && test -s conftest$ac_exeext &&
38874 $as_test_x conftest$ac_exeext; then
38875 ac_cv_lib_posix4_sched_yield=yes
38876 else
38877 echo "$as_me: failed program was:" >&5
38878 sed 's/^/| /' conftest.$ac_ext >&5
38879
38880 ac_cv_lib_posix4_sched_yield=no
38881 fi
38882
38883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38884 conftest$ac_exeext conftest.$ac_ext
38885 LIBS=$ac_check_lib_save_LIBS
38886 fi
38887 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38888 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38889 if test $ac_cv_lib_posix4_sched_yield = yes; then
38890 cat >>confdefs.h <<\_ACEOF
38891 #define HAVE_SCHED_YIELD 1
38892 _ACEOF
38893 POSIX4_LINK=" -lposix4"
38894 else
38895 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38896 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38897
38898 fi
38899
38900
38901
38902 fi
38903
38904 fi
38905
38906 HAVE_PRIOR_FUNCS=0
38907 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38908 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38909 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38910 echo $ECHO_N "(cached) $ECHO_C" >&6
38911 else
38912 cat >conftest.$ac_ext <<_ACEOF
38913 /* confdefs.h. */
38914 _ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38920 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38921
38922 /* System header to define __stub macros and hopefully few prototypes,
38923 which can conflict with char pthread_attr_getschedpolicy (); below.
38924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38925 <limits.h> exists even on freestanding compilers. */
38926
38927 #ifdef __STDC__
38928 # include <limits.h>
38929 #else
38930 # include <assert.h>
38931 #endif
38932
38933 #undef pthread_attr_getschedpolicy
38934
38935 /* Override any GCC internal prototype to avoid an error.
38936 Use char because int might match the return type of a GCC
38937 builtin and then its argument prototype would still apply. */
38938 #ifdef __cplusplus
38939 extern "C"
38940 #endif
38941 char pthread_attr_getschedpolicy ();
38942 /* The GNU C library defines this for functions which it implements
38943 to always fail with ENOSYS. Some functions are actually named
38944 something starting with __ and the normal name is an alias. */
38945 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38946 choke me
38947 #endif
38948
38949 int
38950 main ()
38951 {
38952 return pthread_attr_getschedpolicy ();
38953 ;
38954 return 0;
38955 }
38956 _ACEOF
38957 rm -f conftest.$ac_objext conftest$ac_exeext
38958 if { (ac_try="$ac_link"
38959 case "(($ac_try" in
38960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38961 *) ac_try_echo=$ac_try;;
38962 esac
38963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38964 (eval "$ac_link") 2>conftest.er1
38965 ac_status=$?
38966 grep -v '^ *+' conftest.er1 >conftest.err
38967 rm -f conftest.er1
38968 cat conftest.err >&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } && {
38971 test -z "$ac_c_werror_flag" ||
38972 test ! -s conftest.err
38973 } && test -s conftest$ac_exeext &&
38974 $as_test_x conftest$ac_exeext; then
38975 ac_cv_func_pthread_attr_getschedpolicy=yes
38976 else
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.$ac_ext >&5
38979
38980 ac_cv_func_pthread_attr_getschedpolicy=no
38981 fi
38982
38983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38984 conftest$ac_exeext conftest.$ac_ext
38985 fi
38986 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38987 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38988 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38989 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38990 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38991 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38992 echo $ECHO_N "(cached) $ECHO_C" >&6
38993 else
38994 cat >conftest.$ac_ext <<_ACEOF
38995 /* confdefs.h. */
38996 _ACEOF
38997 cat confdefs.h >>conftest.$ac_ext
38998 cat >>conftest.$ac_ext <<_ACEOF
38999 /* end confdefs.h. */
39000 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39002 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39003
39004 /* System header to define __stub macros and hopefully few prototypes,
39005 which can conflict with char pthread_attr_setschedparam (); below.
39006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39007 <limits.h> exists even on freestanding compilers. */
39008
39009 #ifdef __STDC__
39010 # include <limits.h>
39011 #else
39012 # include <assert.h>
39013 #endif
39014
39015 #undef pthread_attr_setschedparam
39016
39017 /* Override any GCC internal prototype to avoid an error.
39018 Use char because int might match the return type of a GCC
39019 builtin and then its argument prototype would still apply. */
39020 #ifdef __cplusplus
39021 extern "C"
39022 #endif
39023 char pthread_attr_setschedparam ();
39024 /* The GNU C library defines this for functions which it implements
39025 to always fail with ENOSYS. Some functions are actually named
39026 something starting with __ and the normal name is an alias. */
39027 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39028 choke me
39029 #endif
39030
39031 int
39032 main ()
39033 {
39034 return pthread_attr_setschedparam ();
39035 ;
39036 return 0;
39037 }
39038 _ACEOF
39039 rm -f conftest.$ac_objext conftest$ac_exeext
39040 if { (ac_try="$ac_link"
39041 case "(($ac_try" in
39042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39043 *) ac_try_echo=$ac_try;;
39044 esac
39045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39046 (eval "$ac_link") 2>conftest.er1
39047 ac_status=$?
39048 grep -v '^ *+' conftest.er1 >conftest.err
39049 rm -f conftest.er1
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } && {
39053 test -z "$ac_c_werror_flag" ||
39054 test ! -s conftest.err
39055 } && test -s conftest$ac_exeext &&
39056 $as_test_x conftest$ac_exeext; then
39057 ac_cv_func_pthread_attr_setschedparam=yes
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39061
39062 ac_cv_func_pthread_attr_setschedparam=no
39063 fi
39064
39065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39066 conftest$ac_exeext conftest.$ac_ext
39067 fi
39068 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39069 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39070 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39071 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39072 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39073 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39074 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 else
39076 cat >conftest.$ac_ext <<_ACEOF
39077 /* confdefs.h. */
39078 _ACEOF
39079 cat confdefs.h >>conftest.$ac_ext
39080 cat >>conftest.$ac_ext <<_ACEOF
39081 /* end confdefs.h. */
39082 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39084 #define sched_get_priority_max innocuous_sched_get_priority_max
39085
39086 /* System header to define __stub macros and hopefully few prototypes,
39087 which can conflict with char sched_get_priority_max (); below.
39088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39089 <limits.h> exists even on freestanding compilers. */
39090
39091 #ifdef __STDC__
39092 # include <limits.h>
39093 #else
39094 # include <assert.h>
39095 #endif
39096
39097 #undef sched_get_priority_max
39098
39099 /* Override any GCC internal prototype to avoid an error.
39100 Use char because int might match the return type of a GCC
39101 builtin and then its argument prototype would still apply. */
39102 #ifdef __cplusplus
39103 extern "C"
39104 #endif
39105 char sched_get_priority_max ();
39106 /* The GNU C library defines this for functions which it implements
39107 to always fail with ENOSYS. Some functions are actually named
39108 something starting with __ and the normal name is an alias. */
39109 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39110 choke me
39111 #endif
39112
39113 int
39114 main ()
39115 {
39116 return sched_get_priority_max ();
39117 ;
39118 return 0;
39119 }
39120 _ACEOF
39121 rm -f conftest.$ac_objext conftest$ac_exeext
39122 if { (ac_try="$ac_link"
39123 case "(($ac_try" in
39124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39125 *) ac_try_echo=$ac_try;;
39126 esac
39127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39128 (eval "$ac_link") 2>conftest.er1
39129 ac_status=$?
39130 grep -v '^ *+' conftest.er1 >conftest.err
39131 rm -f conftest.er1
39132 cat conftest.err >&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } && {
39135 test -z "$ac_c_werror_flag" ||
39136 test ! -s conftest.err
39137 } && test -s conftest$ac_exeext &&
39138 $as_test_x conftest$ac_exeext; then
39139 ac_cv_func_sched_get_priority_max=yes
39140 else
39141 echo "$as_me: failed program was:" >&5
39142 sed 's/^/| /' conftest.$ac_ext >&5
39143
39144 ac_cv_func_sched_get_priority_max=no
39145 fi
39146
39147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39148 conftest$ac_exeext conftest.$ac_ext
39149 fi
39150 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39151 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39152 if test $ac_cv_func_sched_get_priority_max = yes; then
39153 HAVE_PRIOR_FUNCS=1
39154 else
39155 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39156 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39157 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39158 echo $ECHO_N "(cached) $ECHO_C" >&6
39159 else
39160 ac_check_lib_save_LIBS=$LIBS
39161 LIBS="-lposix4 $LIBS"
39162 cat >conftest.$ac_ext <<_ACEOF
39163 /* confdefs.h. */
39164 _ACEOF
39165 cat confdefs.h >>conftest.$ac_ext
39166 cat >>conftest.$ac_ext <<_ACEOF
39167 /* end confdefs.h. */
39168
39169 /* Override any GCC internal prototype to avoid an error.
39170 Use char because int might match the return type of a GCC
39171 builtin and then its argument prototype would still apply. */
39172 #ifdef __cplusplus
39173 extern "C"
39174 #endif
39175 char sched_get_priority_max ();
39176 int
39177 main ()
39178 {
39179 return sched_get_priority_max ();
39180 ;
39181 return 0;
39182 }
39183 _ACEOF
39184 rm -f conftest.$ac_objext conftest$ac_exeext
39185 if { (ac_try="$ac_link"
39186 case "(($ac_try" in
39187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39188 *) ac_try_echo=$ac_try;;
39189 esac
39190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39191 (eval "$ac_link") 2>conftest.er1
39192 ac_status=$?
39193 grep -v '^ *+' conftest.er1 >conftest.err
39194 rm -f conftest.er1
39195 cat conftest.err >&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); } && {
39198 test -z "$ac_c_werror_flag" ||
39199 test ! -s conftest.err
39200 } && test -s conftest$ac_exeext &&
39201 $as_test_x conftest$ac_exeext; then
39202 ac_cv_lib_posix4_sched_get_priority_max=yes
39203 else
39204 echo "$as_me: failed program was:" >&5
39205 sed 's/^/| /' conftest.$ac_ext >&5
39206
39207 ac_cv_lib_posix4_sched_get_priority_max=no
39208 fi
39209
39210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39211 conftest$ac_exeext conftest.$ac_ext
39212 LIBS=$ac_check_lib_save_LIBS
39213 fi
39214 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39215 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39216 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39217
39218 HAVE_PRIOR_FUNCS=1
39219 POSIX4_LINK=" -lposix4"
39220
39221 fi
39222
39223
39224 fi
39225
39226
39227 fi
39228
39229
39230 fi
39231
39232
39233 if test "$HAVE_PRIOR_FUNCS" = 1; then
39234 cat >>confdefs.h <<\_ACEOF
39235 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39236 _ACEOF
39237
39238 else
39239 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39240 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39241 fi
39242
39243 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39244 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39245 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39246 echo $ECHO_N "(cached) $ECHO_C" >&6
39247 else
39248 cat >conftest.$ac_ext <<_ACEOF
39249 /* confdefs.h. */
39250 _ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h. */
39254 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39256 #define pthread_cancel innocuous_pthread_cancel
39257
39258 /* System header to define __stub macros and hopefully few prototypes,
39259 which can conflict with char pthread_cancel (); below.
39260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39261 <limits.h> exists even on freestanding compilers. */
39262
39263 #ifdef __STDC__
39264 # include <limits.h>
39265 #else
39266 # include <assert.h>
39267 #endif
39268
39269 #undef pthread_cancel
39270
39271 /* Override any GCC internal prototype to avoid an error.
39272 Use char because int might match the return type of a GCC
39273 builtin and then its argument prototype would still apply. */
39274 #ifdef __cplusplus
39275 extern "C"
39276 #endif
39277 char pthread_cancel ();
39278 /* The GNU C library defines this for functions which it implements
39279 to always fail with ENOSYS. Some functions are actually named
39280 something starting with __ and the normal name is an alias. */
39281 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39282 choke me
39283 #endif
39284
39285 int
39286 main ()
39287 {
39288 return pthread_cancel ();
39289 ;
39290 return 0;
39291 }
39292 _ACEOF
39293 rm -f conftest.$ac_objext conftest$ac_exeext
39294 if { (ac_try="$ac_link"
39295 case "(($ac_try" in
39296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39297 *) ac_try_echo=$ac_try;;
39298 esac
39299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39300 (eval "$ac_link") 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } && {
39307 test -z "$ac_c_werror_flag" ||
39308 test ! -s conftest.err
39309 } && test -s conftest$ac_exeext &&
39310 $as_test_x conftest$ac_exeext; then
39311 ac_cv_func_pthread_cancel=yes
39312 else
39313 echo "$as_me: failed program was:" >&5
39314 sed 's/^/| /' conftest.$ac_ext >&5
39315
39316 ac_cv_func_pthread_cancel=no
39317 fi
39318
39319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39320 conftest$ac_exeext conftest.$ac_ext
39321 fi
39322 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39323 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39324 if test $ac_cv_func_pthread_cancel = yes; then
39325 cat >>confdefs.h <<\_ACEOF
39326 #define HAVE_PTHREAD_CANCEL 1
39327 _ACEOF
39328
39329 else
39330 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39331 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39332 fi
39333
39334
39335 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39336 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39337 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39338 echo $ECHO_N "(cached) $ECHO_C" >&6
39339 else
39340 cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39348 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39349
39350 /* System header to define __stub macros and hopefully few prototypes,
39351 which can conflict with char pthread_mutex_timedlock (); below.
39352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39353 <limits.h> exists even on freestanding compilers. */
39354
39355 #ifdef __STDC__
39356 # include <limits.h>
39357 #else
39358 # include <assert.h>
39359 #endif
39360
39361 #undef pthread_mutex_timedlock
39362
39363 /* Override any GCC internal prototype to avoid an error.
39364 Use char because int might match the return type of a GCC
39365 builtin and then its argument prototype would still apply. */
39366 #ifdef __cplusplus
39367 extern "C"
39368 #endif
39369 char pthread_mutex_timedlock ();
39370 /* The GNU C library defines this for functions which it implements
39371 to always fail with ENOSYS. Some functions are actually named
39372 something starting with __ and the normal name is an alias. */
39373 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39374 choke me
39375 #endif
39376
39377 int
39378 main ()
39379 {
39380 return pthread_mutex_timedlock ();
39381 ;
39382 return 0;
39383 }
39384 _ACEOF
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (ac_try="$ac_link"
39387 case "(($ac_try" in
39388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39389 *) ac_try_echo=$ac_try;;
39390 esac
39391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39392 (eval "$ac_link") 2>conftest.er1
39393 ac_status=$?
39394 grep -v '^ *+' conftest.er1 >conftest.err
39395 rm -f conftest.er1
39396 cat conftest.err >&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); } && {
39399 test -z "$ac_c_werror_flag" ||
39400 test ! -s conftest.err
39401 } && test -s conftest$ac_exeext &&
39402 $as_test_x conftest$ac_exeext; then
39403 ac_cv_func_pthread_mutex_timedlock=yes
39404 else
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39407
39408 ac_cv_func_pthread_mutex_timedlock=no
39409 fi
39410
39411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39412 conftest$ac_exeext conftest.$ac_ext
39413 fi
39414 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39415 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39416 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39419 _ACEOF
39420
39421 else
39422 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39423 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39424 fi
39425
39426
39427 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39428 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39429 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 else
39432 cat >conftest.$ac_ext <<_ACEOF
39433 /* confdefs.h. */
39434 _ACEOF
39435 cat confdefs.h >>conftest.$ac_ext
39436 cat >>conftest.$ac_ext <<_ACEOF
39437 /* end confdefs.h. */
39438 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39440 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39441
39442 /* System header to define __stub macros and hopefully few prototypes,
39443 which can conflict with char pthread_attr_setstacksize (); below.
39444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39445 <limits.h> exists even on freestanding compilers. */
39446
39447 #ifdef __STDC__
39448 # include <limits.h>
39449 #else
39450 # include <assert.h>
39451 #endif
39452
39453 #undef pthread_attr_setstacksize
39454
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39458 #ifdef __cplusplus
39459 extern "C"
39460 #endif
39461 char pthread_attr_setstacksize ();
39462 /* The GNU C library defines this for functions which it implements
39463 to always fail with ENOSYS. Some functions are actually named
39464 something starting with __ and the normal name is an alias. */
39465 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39466 choke me
39467 #endif
39468
39469 int
39470 main ()
39471 {
39472 return pthread_attr_setstacksize ();
39473 ;
39474 return 0;
39475 }
39476 _ACEOF
39477 rm -f conftest.$ac_objext conftest$ac_exeext
39478 if { (ac_try="$ac_link"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39482 esac
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_link") 2>conftest.er1
39485 ac_status=$?
39486 grep -v '^ *+' conftest.er1 >conftest.err
39487 rm -f conftest.er1
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest$ac_exeext &&
39494 $as_test_x conftest$ac_exeext; then
39495 ac_cv_func_pthread_attr_setstacksize=yes
39496 else
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.$ac_ext >&5
39499
39500 ac_cv_func_pthread_attr_setstacksize=no
39501 fi
39502
39503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39504 conftest$ac_exeext conftest.$ac_ext
39505 fi
39506 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39507 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39508 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39509 cat >>confdefs.h <<\_ACEOF
39510 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39511 _ACEOF
39512
39513 fi
39514
39515
39516
39517 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39518 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39519 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39520 echo $ECHO_N "(cached) $ECHO_C" >&6
39521 else
39522
39523 cat >conftest.$ac_ext <<_ACEOF
39524 /* confdefs.h. */
39525 _ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 #include <pthread.h>
39530 int
39531 main ()
39532 {
39533
39534 pthread_mutexattr_t attr;
39535 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39536
39537 ;
39538 return 0;
39539 }
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (ac_try="$ac_compile"
39543 case "(($ac_try" in
39544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39545 *) ac_try_echo=$ac_try;;
39546 esac
39547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39548 (eval "$ac_compile") 2>conftest.er1
39549 ac_status=$?
39550 grep -v '^ *+' conftest.er1 >conftest.err
39551 rm -f conftest.er1
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } && {
39555 test -z "$ac_c_werror_flag" ||
39556 test ! -s conftest.err
39557 } && test -s conftest.$ac_objext; then
39558 wx_cv_type_pthread_mutexattr_t=yes
39559 else
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39562
39563 wx_cv_type_pthread_mutexattr_t=no
39564
39565 fi
39566
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568
39569 fi
39570 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39571 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39572
39573 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define HAVE_PTHREAD_MUTEXATTR_T 1
39576 _ACEOF
39577
39578
39579 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39580 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39581 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 else
39584
39585 cat >conftest.$ac_ext <<_ACEOF
39586 /* confdefs.h. */
39587 _ACEOF
39588 cat confdefs.h >>conftest.$ac_ext
39589 cat >>conftest.$ac_ext <<_ACEOF
39590 /* end confdefs.h. */
39591 #include <pthread.h>
39592 int
39593 main ()
39594 {
39595
39596 pthread_mutexattr_t attr;
39597 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39598
39599 ;
39600 return 0;
39601 }
39602 _ACEOF
39603 rm -f conftest.$ac_objext
39604 if { (ac_try="$ac_compile"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39608 esac
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_compile") 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest.$ac_objext; then
39620 wx_cv_func_pthread_mutexattr_settype_decl=yes
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39624
39625 wx_cv_func_pthread_mutexattr_settype_decl=no
39626
39627 fi
39628
39629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39630
39631 fi
39632 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39633 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39634 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39635 cat >>confdefs.h <<\_ACEOF
39636 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39637 _ACEOF
39638
39639 fi
39640 else
39641 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39642 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39643 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39645 else
39646
39647 cat >conftest.$ac_ext <<_ACEOF
39648 /* confdefs.h. */
39649 _ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 #include <pthread.h>
39654 int
39655 main ()
39656 {
39657
39658 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39659
39660 ;
39661 return 0;
39662 }
39663 _ACEOF
39664 rm -f conftest.$ac_objext
39665 if { (ac_try="$ac_compile"
39666 case "(($ac_try" in
39667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39668 *) ac_try_echo=$ac_try;;
39669 esac
39670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39671 (eval "$ac_compile") 2>conftest.er1
39672 ac_status=$?
39673 grep -v '^ *+' conftest.er1 >conftest.err
39674 rm -f conftest.er1
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } && {
39678 test -z "$ac_c_werror_flag" ||
39679 test ! -s conftest.err
39680 } && test -s conftest.$ac_objext; then
39681
39682 wx_cv_type_pthread_rec_mutex_init=yes
39683
39684 else
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39687
39688
39689 wx_cv_type_pthread_rec_mutex_init=no
39690
39691
39692 fi
39693
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695
39696 fi
39697 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39698 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39699 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39700 cat >>confdefs.h <<\_ACEOF
39701 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39702 _ACEOF
39703
39704 else
39705 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39706 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39707 fi
39708 fi
39709 fi
39710
39711 else
39712 if test "$wxUSE_THREADS" = "yes" ; then
39713 case "${host}" in
39714 *-*-mingw32* )
39715 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39716 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39717 if test "${wx_cv_cflags_mthread+set}" = set; then
39718 echo $ECHO_N "(cached) $ECHO_C" >&6
39719 else
39720
39721 CFLAGS_OLD="$CFLAGS"
39722 CFLAGS="-mthreads $CFLAGS"
39723 cat >conftest.$ac_ext <<_ACEOF
39724 /* confdefs.h. */
39725 _ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729
39730 int
39731 main ()
39732 {
39733
39734 ;
39735 return 0;
39736 }
39737 _ACEOF
39738 rm -f conftest.$ac_objext
39739 if { (ac_try="$ac_compile"
39740 case "(($ac_try" in
39741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39742 *) ac_try_echo=$ac_try;;
39743 esac
39744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39745 (eval "$ac_compile") 2>conftest.er1
39746 ac_status=$?
39747 grep -v '^ *+' conftest.er1 >conftest.err
39748 rm -f conftest.er1
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } && {
39752 test -z "$ac_c_werror_flag" ||
39753 test ! -s conftest.err
39754 } && test -s conftest.$ac_objext; then
39755 wx_cv_cflags_mthread=yes
39756 else
39757 echo "$as_me: failed program was:" >&5
39758 sed 's/^/| /' conftest.$ac_ext >&5
39759
39760 wx_cv_cflags_mthread=no
39761
39762 fi
39763
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765
39766
39767 fi
39768 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39769 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39770
39771 if test "$wx_cv_cflags_mthread" = "yes"; then
39772 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39773 LDFLAGS="$LDFLAGS -mthreads"
39774 else
39775 CFLAGS="$CFLAGS_OLD"
39776 fi
39777 ;;
39778 *-pc-os2*emx )
39779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39780 LDFLAGS="$LDFLAGS -Zmt"
39781 ;;
39782 esac
39783 fi
39784 fi
39785
39786 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39787 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39788 if test "${ac_cv_func_localtime_r+set}" = set; then
39789 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 else
39791 cat >conftest.$ac_ext <<_ACEOF
39792 /* confdefs.h. */
39793 _ACEOF
39794 cat confdefs.h >>conftest.$ac_ext
39795 cat >>conftest.$ac_ext <<_ACEOF
39796 /* end confdefs.h. */
39797 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39799 #define localtime_r innocuous_localtime_r
39800
39801 /* System header to define __stub macros and hopefully few prototypes,
39802 which can conflict with char localtime_r (); below.
39803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39804 <limits.h> exists even on freestanding compilers. */
39805
39806 #ifdef __STDC__
39807 # include <limits.h>
39808 #else
39809 # include <assert.h>
39810 #endif
39811
39812 #undef localtime_r
39813
39814 /* Override any GCC internal prototype to avoid an error.
39815 Use char because int might match the return type of a GCC
39816 builtin and then its argument prototype would still apply. */
39817 #ifdef __cplusplus
39818 extern "C"
39819 #endif
39820 char localtime_r ();
39821 /* The GNU C library defines this for functions which it implements
39822 to always fail with ENOSYS. Some functions are actually named
39823 something starting with __ and the normal name is an alias. */
39824 #if defined __stub_localtime_r || defined __stub___localtime_r
39825 choke me
39826 #endif
39827
39828 int
39829 main ()
39830 {
39831 return localtime_r ();
39832 ;
39833 return 0;
39834 }
39835 _ACEOF
39836 rm -f conftest.$ac_objext conftest$ac_exeext
39837 if { (ac_try="$ac_link"
39838 case "(($ac_try" in
39839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39840 *) ac_try_echo=$ac_try;;
39841 esac
39842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39843 (eval "$ac_link") 2>conftest.er1
39844 ac_status=$?
39845 grep -v '^ *+' conftest.er1 >conftest.err
39846 rm -f conftest.er1
39847 cat conftest.err >&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } && {
39850 test -z "$ac_c_werror_flag" ||
39851 test ! -s conftest.err
39852 } && test -s conftest$ac_exeext &&
39853 $as_test_x conftest$ac_exeext; then
39854 ac_cv_func_localtime_r=yes
39855 else
39856 echo "$as_me: failed program was:" >&5
39857 sed 's/^/| /' conftest.$ac_ext >&5
39858
39859 ac_cv_func_localtime_r=no
39860 fi
39861
39862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39863 conftest$ac_exeext conftest.$ac_ext
39864 fi
39865 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39866 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39867 if test $ac_cv_func_localtime_r = yes; then
39868 cat >>confdefs.h <<\_ACEOF
39869 #define HAVE_LOCALTIME_R 1
39870 _ACEOF
39871
39872 fi
39873
39874 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39875 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39876 if test "${ac_cv_func_gmtime_r+set}" = set; then
39877 echo $ECHO_N "(cached) $ECHO_C" >&6
39878 else
39879 cat >conftest.$ac_ext <<_ACEOF
39880 /* confdefs.h. */
39881 _ACEOF
39882 cat confdefs.h >>conftest.$ac_ext
39883 cat >>conftest.$ac_ext <<_ACEOF
39884 /* end confdefs.h. */
39885 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39887 #define gmtime_r innocuous_gmtime_r
39888
39889 /* System header to define __stub macros and hopefully few prototypes,
39890 which can conflict with char gmtime_r (); below.
39891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39892 <limits.h> exists even on freestanding compilers. */
39893
39894 #ifdef __STDC__
39895 # include <limits.h>
39896 #else
39897 # include <assert.h>
39898 #endif
39899
39900 #undef gmtime_r
39901
39902 /* Override any GCC internal prototype to avoid an error.
39903 Use char because int might match the return type of a GCC
39904 builtin and then its argument prototype would still apply. */
39905 #ifdef __cplusplus
39906 extern "C"
39907 #endif
39908 char gmtime_r ();
39909 /* The GNU C library defines this for functions which it implements
39910 to always fail with ENOSYS. Some functions are actually named
39911 something starting with __ and the normal name is an alias. */
39912 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39913 choke me
39914 #endif
39915
39916 int
39917 main ()
39918 {
39919 return gmtime_r ();
39920 ;
39921 return 0;
39922 }
39923 _ACEOF
39924 rm -f conftest.$ac_objext conftest$ac_exeext
39925 if { (ac_try="$ac_link"
39926 case "(($ac_try" in
39927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39928 *) ac_try_echo=$ac_try;;
39929 esac
39930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39931 (eval "$ac_link") 2>conftest.er1
39932 ac_status=$?
39933 grep -v '^ *+' conftest.er1 >conftest.err
39934 rm -f conftest.er1
39935 cat conftest.err >&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } && {
39938 test -z "$ac_c_werror_flag" ||
39939 test ! -s conftest.err
39940 } && test -s conftest$ac_exeext &&
39941 $as_test_x conftest$ac_exeext; then
39942 ac_cv_func_gmtime_r=yes
39943 else
39944 echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.$ac_ext >&5
39946
39947 ac_cv_func_gmtime_r=no
39948 fi
39949
39950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39951 conftest$ac_exeext conftest.$ac_ext
39952 fi
39953 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39954 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39955 if test $ac_cv_func_gmtime_r = yes; then
39956 cat >>confdefs.h <<\_ACEOF
39957 #define HAVE_GMTIME_R 1
39958 _ACEOF
39959
39960 fi
39961
39962
39963
39964
39965 ac_ext=c
39966 ac_cpp='$CPP $CPPFLAGS'
39967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39970
39971 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39972 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39973
39974 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39976 else
39977
39978
39979 ################################################################
39980
39981 ac_cv_func_which_gethostbyname_r=unknown
39982
39983 #
39984 # ONE ARGUMENT (sanity check)
39985 #
39986
39987 # This should fail, as there is no variant of gethostbyname_r() that takes
39988 # a single argument. If it actually compiles, then we can assume that
39989 # netdb.h is not declaring the function, and the compiler is thereby
39990 # assuming an implicit prototype. In which case, we're out of luck.
39991 #
39992 cat >conftest.$ac_ext <<_ACEOF
39993 /* confdefs.h. */
39994 _ACEOF
39995 cat confdefs.h >>conftest.$ac_ext
39996 cat >>conftest.$ac_ext <<_ACEOF
39997 /* end confdefs.h. */
39998 #include <netdb.h>
39999 int
40000 main ()
40001 {
40002
40003 char *name = "www.gnu.org";
40004 (void)gethostbyname_r(name) /* ; */
40005
40006 ;
40007 return 0;
40008 }
40009 _ACEOF
40010 rm -f conftest.$ac_objext
40011 if { (ac_try="$ac_compile"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40015 esac
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_compile") 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest.$ac_objext; then
40027 ac_cv_func_which_gethostbyname_r=no
40028 else
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40031
40032
40033 fi
40034
40035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40036
40037 #
40038 # SIX ARGUMENTS
40039 # (e.g. Linux)
40040 #
40041
40042 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40043
40044 cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h. */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 #include <netdb.h>
40051 int
40052 main ()
40053 {
40054
40055 char *name = "www.gnu.org";
40056 struct hostent ret, *retp;
40057 char buf[1024];
40058 int buflen = 1024;
40059 int my_h_errno;
40060 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40061
40062 ;
40063 return 0;
40064 }
40065 _ACEOF
40066 rm -f conftest.$ac_objext
40067 if { (ac_try="$ac_compile"
40068 case "(($ac_try" in
40069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40070 *) ac_try_echo=$ac_try;;
40071 esac
40072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40073 (eval "$ac_compile") 2>conftest.er1
40074 ac_status=$?
40075 grep -v '^ *+' conftest.er1 >conftest.err
40076 rm -f conftest.er1
40077 cat conftest.err >&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); } && {
40080 test -z "$ac_c_werror_flag" ||
40081 test ! -s conftest.err
40082 } && test -s conftest.$ac_objext; then
40083 ac_cv_func_which_gethostbyname_r=six
40084 else
40085 echo "$as_me: failed program was:" >&5
40086 sed 's/^/| /' conftest.$ac_ext >&5
40087
40088
40089 fi
40090
40091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40092
40093 fi
40094
40095 #
40096 # FIVE ARGUMENTS
40097 # (e.g. Solaris)
40098 #
40099
40100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40101
40102 cat >conftest.$ac_ext <<_ACEOF
40103 /* confdefs.h. */
40104 _ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40108 #include <netdb.h>
40109 int
40110 main ()
40111 {
40112
40113 char *name = "www.gnu.org";
40114 struct hostent ret;
40115 char buf[1024];
40116 int buflen = 1024;
40117 int my_h_errno;
40118 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40119
40120 ;
40121 return 0;
40122 }
40123 _ACEOF
40124 rm -f conftest.$ac_objext
40125 if { (ac_try="$ac_compile"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40128 *) ac_try_echo=$ac_try;;
40129 esac
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_compile") 2>conftest.er1
40132 ac_status=$?
40133 grep -v '^ *+' conftest.er1 >conftest.err
40134 rm -f conftest.er1
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest.$ac_objext; then
40141 ac_cv_func_which_gethostbyname_r=five
40142 else
40143 echo "$as_me: failed program was:" >&5
40144 sed 's/^/| /' conftest.$ac_ext >&5
40145
40146
40147 fi
40148
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150
40151 fi
40152
40153 #
40154 # THREE ARGUMENTS
40155 # (e.g. AIX, HP-UX, Tru64)
40156 #
40157
40158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40159
40160 cat >conftest.$ac_ext <<_ACEOF
40161 /* confdefs.h. */
40162 _ACEOF
40163 cat confdefs.h >>conftest.$ac_ext
40164 cat >>conftest.$ac_ext <<_ACEOF
40165 /* end confdefs.h. */
40166 #include <netdb.h>
40167 int
40168 main ()
40169 {
40170
40171 char *name = "www.gnu.org";
40172 struct hostent ret;
40173 struct hostent_data data;
40174 (void)gethostbyname_r(name, &ret, &data) /* ; */
40175
40176 ;
40177 return 0;
40178 }
40179 _ACEOF
40180 rm -f conftest.$ac_objext
40181 if { (ac_try="$ac_compile"
40182 case "(($ac_try" in
40183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40184 *) ac_try_echo=$ac_try;;
40185 esac
40186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40187 (eval "$ac_compile") 2>conftest.er1
40188 ac_status=$?
40189 grep -v '^ *+' conftest.er1 >conftest.err
40190 rm -f conftest.er1
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } && {
40194 test -z "$ac_c_werror_flag" ||
40195 test ! -s conftest.err
40196 } && test -s conftest.$ac_objext; then
40197 ac_cv_func_which_gethostbyname_r=three
40198 else
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40201
40202
40203 fi
40204
40205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40206
40207 fi
40208
40209 ################################################################
40210
40211
40212 fi
40213
40214 case "$ac_cv_func_which_gethostbyname_r" in
40215 three)
40216 { echo "$as_me:$LINENO: result: three" >&5
40217 echo "${ECHO_T}three" >&6; }
40218 cat >>confdefs.h <<\_ACEOF
40219 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40220 _ACEOF
40221
40222 ;;
40223
40224 five)
40225 { echo "$as_me:$LINENO: result: five" >&5
40226 echo "${ECHO_T}five" >&6; }
40227 cat >>confdefs.h <<\_ACEOF
40228 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40229 _ACEOF
40230
40231 ;;
40232
40233 six)
40234 { echo "$as_me:$LINENO: result: six" >&5
40235 echo "${ECHO_T}six" >&6; }
40236 cat >>confdefs.h <<\_ACEOF
40237 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40238 _ACEOF
40239
40240 ;;
40241
40242 no)
40243 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40244 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40245 ;;
40246
40247 unknown)
40248 { echo "$as_me:$LINENO: result: can't tell" >&5
40249 echo "${ECHO_T}can't tell" >&6; }
40250 ;;
40251
40252 *)
40253 { { echo "$as_me:$LINENO: error: internal error" >&5
40254 echo "$as_me: error: internal error" >&2;}
40255 { (exit 1); exit 1; }; }
40256 ;;
40257 esac
40258
40259 ac_ext=c
40260 ac_cpp='$CPP $CPPFLAGS'
40261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40264
40265
40266
40267 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40268 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40269 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40270 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40271 if test "${ac_cv_func_gethostbyname+set}" = set; then
40272 echo $ECHO_N "(cached) $ECHO_C" >&6
40273 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40282 #define gethostbyname innocuous_gethostbyname
40283
40284 /* System header to define __stub macros and hopefully few prototypes,
40285 which can conflict with char gethostbyname (); below.
40286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40287 <limits.h> exists even on freestanding compilers. */
40288
40289 #ifdef __STDC__
40290 # include <limits.h>
40291 #else
40292 # include <assert.h>
40293 #endif
40294
40295 #undef gethostbyname
40296
40297 /* Override any GCC internal prototype to avoid an error.
40298 Use char because int might match the return type of a GCC
40299 builtin and then its argument prototype would still apply. */
40300 #ifdef __cplusplus
40301 extern "C"
40302 #endif
40303 char gethostbyname ();
40304 /* The GNU C library defines this for functions which it implements
40305 to always fail with ENOSYS. Some functions are actually named
40306 something starting with __ and the normal name is an alias. */
40307 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40308 choke me
40309 #endif
40310
40311 int
40312 main ()
40313 {
40314 return gethostbyname ();
40315 ;
40316 return 0;
40317 }
40318 _ACEOF
40319 rm -f conftest.$ac_objext conftest$ac_exeext
40320 if { (ac_try="$ac_link"
40321 case "(($ac_try" in
40322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40323 *) ac_try_echo=$ac_try;;
40324 esac
40325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40326 (eval "$ac_link") 2>conftest.er1
40327 ac_status=$?
40328 grep -v '^ *+' conftest.er1 >conftest.err
40329 rm -f conftest.er1
40330 cat conftest.err >&5
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); } && {
40333 test -z "$ac_c_werror_flag" ||
40334 test ! -s conftest.err
40335 } && test -s conftest$ac_exeext &&
40336 $as_test_x conftest$ac_exeext; then
40337 ac_cv_func_gethostbyname=yes
40338 else
40339 echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.$ac_ext >&5
40341
40342 ac_cv_func_gethostbyname=no
40343 fi
40344
40345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40346 conftest$ac_exeext conftest.$ac_ext
40347 fi
40348 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40349 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40350 if test $ac_cv_func_gethostbyname = yes; then
40351 cat >>confdefs.h <<\_ACEOF
40352 #define HAVE_GETHOSTBYNAME 1
40353 _ACEOF
40354
40355 fi
40356
40357 fi
40358
40359 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40360 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40361 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40362 echo $ECHO_N "(cached) $ECHO_C" >&6
40363 else
40364
40365 ac_ext=cpp
40366 ac_cpp='$CXXCPP $CPPFLAGS'
40367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40370
40371
40372 cat >conftest.$ac_ext <<_ACEOF
40373 /* confdefs.h. */
40374 _ACEOF
40375 cat confdefs.h >>conftest.$ac_ext
40376 cat >>conftest.$ac_ext <<_ACEOF
40377 /* end confdefs.h. */
40378 #include <netdb.h>
40379 int
40380 main ()
40381 {
40382
40383 char *name;
40384 char *proto;
40385 struct servent *se, *res;
40386 char buffer[2048];
40387 int buflen = 2048;
40388 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40389
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (ac_try="$ac_compile"
40396 case "(($ac_try" in
40397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40398 *) ac_try_echo=$ac_try;;
40399 esac
40400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40401 (eval "$ac_compile") 2>conftest.er1
40402 ac_status=$?
40403 grep -v '^ *+' conftest.er1 >conftest.err
40404 rm -f conftest.er1
40405 cat conftest.err >&5
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); } && {
40408 test -z "$ac_cxx_werror_flag" ||
40409 test ! -s conftest.err
40410 } && test -s conftest.$ac_objext; then
40411 ac_cv_func_which_getservbyname_r=six
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40415
40416
40417 cat >conftest.$ac_ext <<_ACEOF
40418 /* confdefs.h. */
40419 _ACEOF
40420 cat confdefs.h >>conftest.$ac_ext
40421 cat >>conftest.$ac_ext <<_ACEOF
40422 /* end confdefs.h. */
40423 #include <netdb.h>
40424 int
40425 main ()
40426 {
40427
40428 char *name;
40429 char *proto;
40430 struct servent *se;
40431 char buffer[2048];
40432 int buflen = 2048;
40433 (void) getservbyname_r(name, proto, se, buffer, buflen)
40434
40435 ;
40436 return 0;
40437 }
40438 _ACEOF
40439 rm -f conftest.$ac_objext
40440 if { (ac_try="$ac_compile"
40441 case "(($ac_try" in
40442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40443 *) ac_try_echo=$ac_try;;
40444 esac
40445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40446 (eval "$ac_compile") 2>conftest.er1
40447 ac_status=$?
40448 grep -v '^ *+' conftest.er1 >conftest.err
40449 rm -f conftest.er1
40450 cat conftest.err >&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); } && {
40453 test -z "$ac_cxx_werror_flag" ||
40454 test ! -s conftest.err
40455 } && test -s conftest.$ac_objext; then
40456 ac_cv_func_which_getservbyname_r=five
40457 else
40458 echo "$as_me: failed program was:" >&5
40459 sed 's/^/| /' conftest.$ac_ext >&5
40460
40461
40462 cat >conftest.$ac_ext <<_ACEOF
40463 /* confdefs.h. */
40464 _ACEOF
40465 cat confdefs.h >>conftest.$ac_ext
40466 cat >>conftest.$ac_ext <<_ACEOF
40467 /* end confdefs.h. */
40468 #include <netdb.h>
40469 int
40470 main ()
40471 {
40472
40473 char *name;
40474 char *proto;
40475 struct servent *se;
40476 struct servent_data data;
40477 (void) getservbyname_r(name, proto, se, &data);
40478
40479 ;
40480 return 0;
40481 }
40482 _ACEOF
40483 rm -f conftest.$ac_objext
40484 if { (ac_try="$ac_compile"
40485 case "(($ac_try" in
40486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40487 *) ac_try_echo=$ac_try;;
40488 esac
40489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40490 (eval "$ac_compile") 2>conftest.er1
40491 ac_status=$?
40492 grep -v '^ *+' conftest.er1 >conftest.err
40493 rm -f conftest.er1
40494 cat conftest.err >&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } && {
40497 test -z "$ac_cxx_werror_flag" ||
40498 test ! -s conftest.err
40499 } && test -s conftest.$ac_objext; then
40500 ac_cv_func_which_getservbyname_r=four
40501 else
40502 echo "$as_me: failed program was:" >&5
40503 sed 's/^/| /' conftest.$ac_ext >&5
40504
40505 ac_cv_func_which_getservbyname_r=no
40506
40507 fi
40508
40509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510
40511
40512 fi
40513
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515
40516
40517 fi
40518
40519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526
40527
40528 fi
40529 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40530 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40531
40532 if test $ac_cv_func_which_getservbyname_r = six; then
40533 cat >>confdefs.h <<\_ACEOF
40534 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40535 _ACEOF
40536
40537 elif test $ac_cv_func_which_getservbyname_r = five; then
40538 cat >>confdefs.h <<\_ACEOF
40539 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40540 _ACEOF
40541
40542 elif test $ac_cv_func_which_getservbyname_r = four; then
40543 cat >>confdefs.h <<\_ACEOF
40544 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40545 _ACEOF
40546
40547 fi
40548
40549
40550 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40551 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40552
40553 for ac_func in getservbyname
40554 do
40555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40559 echo $ECHO_N "(cached) $ECHO_C" >&6
40560 else
40561 cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define $ac_func innocuous_$ac_func
40570
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char $ac_func (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40575
40576 #ifdef __STDC__
40577 # include <limits.h>
40578 #else
40579 # include <assert.h>
40580 #endif
40581
40582 #undef $ac_func
40583
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40587 #ifdef __cplusplus
40588 extern "C"
40589 #endif
40590 char $ac_func ();
40591 /* The GNU C library defines this for functions which it implements
40592 to always fail with ENOSYS. Some functions are actually named
40593 something starting with __ and the normal name is an alias. */
40594 #if defined __stub_$ac_func || defined __stub___$ac_func
40595 choke me
40596 #endif
40597
40598 int
40599 main ()
40600 {
40601 return $ac_func ();
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 rm -f conftest.$ac_objext conftest$ac_exeext
40607 if { (ac_try="$ac_link"
40608 case "(($ac_try" in
40609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40611 esac
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_link") 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest$ac_exeext &&
40623 $as_test_x conftest$ac_exeext; then
40624 eval "$as_ac_var=yes"
40625 else
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 eval "$as_ac_var=no"
40630 fi
40631
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40634 fi
40635 ac_res=`eval echo '${'$as_ac_var'}'`
40636 { echo "$as_me:$LINENO: result: $ac_res" >&5
40637 echo "${ECHO_T}$ac_res" >&6; }
40638 if test `eval echo '${'$as_ac_var'}'` = yes; then
40639 cat >>confdefs.h <<_ACEOF
40640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40641 _ACEOF
40642 cat >>confdefs.h <<\_ACEOF
40643 #define HAVE_GETSERVBYNAME 1
40644 _ACEOF
40645
40646 fi
40647 done
40648
40649 fi
40650
40651 if test "$wxUSE_THREADS" = "yes"; then
40652 cat >>confdefs.h <<\_ACEOF
40653 #define wxUSE_THREADS 1
40654 _ACEOF
40655
40656
40657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40658 else
40659 if test "$wx_cv_func_strtok_r" = "yes"; then
40660 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40661 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40662 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40663 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40664 { echo "$as_me:$LINENO: result: yes" >&5
40665 echo "${ECHO_T}yes" >&6; }
40666 else
40667 { echo "$as_me:$LINENO: result: no" >&5
40668 echo "${ECHO_T}no" >&6; }
40669 fi
40670 fi
40671 fi
40672
40673 if test "$WXGTK2" = 1 ; then
40674 cat >>confdefs.h <<_ACEOF
40675 #define __WXGTK20__ $WXGTK2
40676 _ACEOF
40677
40678 WXGTK12=1
40679 fi
40680
40681 if test "$WXGTK12" = 1 ; then
40682 cat >>confdefs.h <<_ACEOF
40683 #define __WXGTK12__ $WXGTK12
40684 _ACEOF
40685
40686 fi
40687
40688 if test "$WXGTK127" = 1 ; then
40689 cat >>confdefs.h <<_ACEOF
40690 #define __WXGTK127__ $WXGTK127
40691 _ACEOF
40692
40693 fi
40694
40695 if test "$WXGPE" = 1 ; then
40696 cat >>confdefs.h <<_ACEOF
40697 #define __WXGPE__ $WXGPE
40698 _ACEOF
40699
40700 fi
40701
40702 DEBUG_CFLAGS=
40703 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40704 DEBUG_CFLAGS="-g"
40705 wxUSE_OPTIMISE=no
40706 fi
40707
40708 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40709 wxUSE_DEBUG_INFO=yes
40710 if test "$GCC" = yes; then
40711 DEBUG_CFLAGS="-ggdb"
40712 fi
40713 fi
40714
40715 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40716 cat >>confdefs.h <<\_ACEOF
40717 #define WXDEBUG 1
40718 _ACEOF
40719
40720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40721 else
40722 if test "$wxUSE_GTK" = 1 ; then
40723 if test "x$wxGTK_VERSION" = "x1" ; then
40724 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40725 fi
40726 fi
40727 fi
40728
40729 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40730 cat >>confdefs.h <<\_ACEOF
40731 #define wxUSE_MEMORY_TRACING 1
40732 _ACEOF
40733
40734 cat >>confdefs.h <<\_ACEOF
40735 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40736 _ACEOF
40737
40738 cat >>confdefs.h <<\_ACEOF
40739 #define wxUSE_DEBUG_NEW_ALWAYS 1
40740 _ACEOF
40741
40742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40743 fi
40744
40745 if test "$wxUSE_DMALLOC" = "yes" ; then
40746 DMALLOC_LIBS="-ldmallocthcxx"
40747 fi
40748
40749 PROFILE_FLAGS=
40750 if test "$wxUSE_PROFILE" = "yes" ; then
40751 PROFILE_FLAGS=" -pg"
40752 fi
40753
40754 if test "$GCC" = "yes" ; then
40755 if test "$wxUSE_NO_RTTI" = "yes" ; then
40756 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40757 fi
40758 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40759 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40760 fi
40761 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40762 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40763 fi
40764
40765 case "${host}" in
40766 powerpc*-*-aix* )
40767 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40768 ;;
40769 *-hppa* )
40770 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40771 ;;
40772 esac
40773 fi
40774
40775 OPTIMISE_CFLAGS=
40776 if test "$wxUSE_OPTIMISE" = "no" ; then
40777 if test "$GCC" = yes ; then
40778 OPTIMISE_CFLAGS="-O0"
40779 fi
40780 else
40781 if test "$GCC" = yes ; then
40782 case "${host}" in
40783 *-pc-os2_emx | *-pc-os2-emx )
40784 OPTIMISE_CFLAGS="-O2"
40785 ;;
40786 *)
40787 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40788 ;;
40789 esac
40790 else
40791 OPTIMISE_CFLAGS="-O"
40792 fi
40793 fi
40794
40795
40796 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40797 cat >>confdefs.h <<\_ACEOF
40798 #define WXWIN_COMPATIBILITY_2_6 1
40799 _ACEOF
40800
40801
40802 WXWIN_COMPATIBILITY_2_8="yes"
40803 fi
40804
40805 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40806 cat >>confdefs.h <<\_ACEOF
40807 #define WXWIN_COMPATIBILITY_2_8 1
40808 _ACEOF
40809
40810 fi
40811
40812
40813 if test "$wxUSE_GUI" = "yes"; then
40814 cat >>confdefs.h <<\_ACEOF
40815 #define wxUSE_GUI 1
40816 _ACEOF
40817
40818
40819 fi
40820
40821
40822 if test "$wxUSE_UNIX" = "yes"; then
40823 cat >>confdefs.h <<\_ACEOF
40824 #define wxUSE_UNIX 1
40825 _ACEOF
40826
40827 fi
40828
40829
40830 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40831
40832 HAVE_DL_FUNCS=0
40833 HAVE_SHL_FUNCS=0
40834 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40835 if test "$USE_DARWIN" = 1; then
40836 HAVE_DL_FUNCS=1
40837 elif test "$USE_DOS" = 1; then
40838 HAVE_DL_FUNCS=0
40839 else
40840
40841 for ac_func in dlopen
40842 do
40843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 else
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40858
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40863
40864 #ifdef __STDC__
40865 # include <limits.h>
40866 #else
40867 # include <assert.h>
40868 #endif
40869
40870 #undef $ac_func
40871
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40875 #ifdef __cplusplus
40876 extern "C"
40877 #endif
40878 char $ac_func ();
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_$ac_func || defined __stub___$ac_func
40883 choke me
40884 #endif
40885
40886 int
40887 main ()
40888 {
40889 return $ac_func ();
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 rm -f conftest.$ac_objext conftest$ac_exeext
40895 if { (ac_try="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40899 esac
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40902 ac_status=$?
40903 grep -v '^ *+' conftest.er1 >conftest.err
40904 rm -f conftest.er1
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 eval "$as_ac_var=yes"
40913 else
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40916
40917 eval "$as_ac_var=no"
40918 fi
40919
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40922 fi
40923 ac_res=`eval echo '${'$as_ac_var'}'`
40924 { echo "$as_me:$LINENO: result: $ac_res" >&5
40925 echo "${ECHO_T}$ac_res" >&6; }
40926 if test `eval echo '${'$as_ac_var'}'` = yes; then
40927 cat >>confdefs.h <<_ACEOF
40928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40929 _ACEOF
40930
40931 cat >>confdefs.h <<\_ACEOF
40932 #define HAVE_DLOPEN 1
40933 _ACEOF
40934
40935 HAVE_DL_FUNCS=1
40936
40937 else
40938
40939 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40940 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40941 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 else
40944 ac_check_lib_save_LIBS=$LIBS
40945 LIBS="-ldl $LIBS"
40946 cat >conftest.$ac_ext <<_ACEOF
40947 /* confdefs.h. */
40948 _ACEOF
40949 cat confdefs.h >>conftest.$ac_ext
40950 cat >>conftest.$ac_ext <<_ACEOF
40951 /* end confdefs.h. */
40952
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40956 #ifdef __cplusplus
40957 extern "C"
40958 #endif
40959 char dlopen ();
40960 int
40961 main ()
40962 {
40963 return dlopen ();
40964 ;
40965 return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (ac_try="$ac_link"
40970 case "(($ac_try" in
40971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40973 esac
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_link") 2>conftest.er1
40976 ac_status=$?
40977 grep -v '^ *+' conftest.er1 >conftest.err
40978 rm -f conftest.er1
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest$ac_exeext &&
40985 $as_test_x conftest$ac_exeext; then
40986 ac_cv_lib_dl_dlopen=yes
40987 else
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40990
40991 ac_cv_lib_dl_dlopen=no
40992 fi
40993
40994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40995 conftest$ac_exeext conftest.$ac_ext
40996 LIBS=$ac_check_lib_save_LIBS
40997 fi
40998 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40999 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41000 if test $ac_cv_lib_dl_dlopen = yes; then
41001
41002 cat >>confdefs.h <<\_ACEOF
41003 #define HAVE_DLOPEN 1
41004 _ACEOF
41005
41006 HAVE_DL_FUNCS=1
41007 DL_LINK=" -ldl$DL_LINK"
41008
41009 else
41010
41011
41012 for ac_func in shl_load
41013 do
41014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41018 echo $ECHO_N "(cached) $ECHO_C" >&6
41019 else
41020 cat >conftest.$ac_ext <<_ACEOF
41021 /* confdefs.h. */
41022 _ACEOF
41023 cat confdefs.h >>conftest.$ac_ext
41024 cat >>conftest.$ac_ext <<_ACEOF
41025 /* end confdefs.h. */
41026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41028 #define $ac_func innocuous_$ac_func
41029
41030 /* System header to define __stub macros and hopefully few prototypes,
41031 which can conflict with char $ac_func (); below.
41032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41033 <limits.h> exists even on freestanding compilers. */
41034
41035 #ifdef __STDC__
41036 # include <limits.h>
41037 #else
41038 # include <assert.h>
41039 #endif
41040
41041 #undef $ac_func
41042
41043 /* Override any GCC internal prototype to avoid an error.
41044 Use char because int might match the return type of a GCC
41045 builtin and then its argument prototype would still apply. */
41046 #ifdef __cplusplus
41047 extern "C"
41048 #endif
41049 char $ac_func ();
41050 /* The GNU C library defines this for functions which it implements
41051 to always fail with ENOSYS. Some functions are actually named
41052 something starting with __ and the normal name is an alias. */
41053 #if defined __stub_$ac_func || defined __stub___$ac_func
41054 choke me
41055 #endif
41056
41057 int
41058 main ()
41059 {
41060 return $ac_func ();
41061 ;
41062 return 0;
41063 }
41064 _ACEOF
41065 rm -f conftest.$ac_objext conftest$ac_exeext
41066 if { (ac_try="$ac_link"
41067 case "(($ac_try" in
41068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41069 *) ac_try_echo=$ac_try;;
41070 esac
41071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41072 (eval "$ac_link") 2>conftest.er1
41073 ac_status=$?
41074 grep -v '^ *+' conftest.er1 >conftest.err
41075 rm -f conftest.er1
41076 cat conftest.err >&5
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); } && {
41079 test -z "$ac_c_werror_flag" ||
41080 test ! -s conftest.err
41081 } && test -s conftest$ac_exeext &&
41082 $as_test_x conftest$ac_exeext; then
41083 eval "$as_ac_var=yes"
41084 else
41085 echo "$as_me: failed program was:" >&5
41086 sed 's/^/| /' conftest.$ac_ext >&5
41087
41088 eval "$as_ac_var=no"
41089 fi
41090
41091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41092 conftest$ac_exeext conftest.$ac_ext
41093 fi
41094 ac_res=`eval echo '${'$as_ac_var'}'`
41095 { echo "$as_me:$LINENO: result: $ac_res" >&5
41096 echo "${ECHO_T}$ac_res" >&6; }
41097 if test `eval echo '${'$as_ac_var'}'` = yes; then
41098 cat >>confdefs.h <<_ACEOF
41099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41100 _ACEOF
41101
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_SHL_LOAD 1
41104 _ACEOF
41105
41106 HAVE_SHL_FUNCS=1
41107
41108 else
41109
41110 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41111 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41112 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 else
41115 ac_check_lib_save_LIBS=$LIBS
41116 LIBS="-lshl_load $LIBS"
41117 cat >conftest.$ac_ext <<_ACEOF
41118 /* confdefs.h. */
41119 _ACEOF
41120 cat confdefs.h >>conftest.$ac_ext
41121 cat >>conftest.$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41123
41124 /* Override any GCC internal prototype to avoid an error.
41125 Use char because int might match the return type of a GCC
41126 builtin and then its argument prototype would still apply. */
41127 #ifdef __cplusplus
41128 extern "C"
41129 #endif
41130 char dld ();
41131 int
41132 main ()
41133 {
41134 return dld ();
41135 ;
41136 return 0;
41137 }
41138 _ACEOF
41139 rm -f conftest.$ac_objext conftest$ac_exeext
41140 if { (ac_try="$ac_link"
41141 case "(($ac_try" in
41142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41143 *) ac_try_echo=$ac_try;;
41144 esac
41145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41146 (eval "$ac_link") 2>conftest.er1
41147 ac_status=$?
41148 grep -v '^ *+' conftest.er1 >conftest.err
41149 rm -f conftest.er1
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } && {
41153 test -z "$ac_c_werror_flag" ||
41154 test ! -s conftest.err
41155 } && test -s conftest$ac_exeext &&
41156 $as_test_x conftest$ac_exeext; then
41157 ac_cv_lib_shl_load_dld=yes
41158 else
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.$ac_ext >&5
41161
41162 ac_cv_lib_shl_load_dld=no
41163 fi
41164
41165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41166 conftest$ac_exeext conftest.$ac_ext
41167 LIBS=$ac_check_lib_save_LIBS
41168 fi
41169 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41170 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41171 if test $ac_cv_lib_shl_load_dld = yes; then
41172
41173 HAVE_SHL_FUNCS=1
41174 DL_LINK=" -ldld$DL_LINK"
41175
41176 fi
41177
41178
41179 fi
41180 done
41181
41182
41183 fi
41184
41185
41186 fi
41187 done
41188
41189
41190 if test "$HAVE_DL_FUNCS" = 1; then
41191
41192 for ac_func in dlerror
41193 do
41194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41195 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41197 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41199 else
41200 cat >conftest.$ac_ext <<_ACEOF
41201 /* confdefs.h. */
41202 _ACEOF
41203 cat confdefs.h >>conftest.$ac_ext
41204 cat >>conftest.$ac_ext <<_ACEOF
41205 /* end confdefs.h. */
41206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41208 #define $ac_func innocuous_$ac_func
41209
41210 /* System header to define __stub macros and hopefully few prototypes,
41211 which can conflict with char $ac_func (); below.
41212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41213 <limits.h> exists even on freestanding compilers. */
41214
41215 #ifdef __STDC__
41216 # include <limits.h>
41217 #else
41218 # include <assert.h>
41219 #endif
41220
41221 #undef $ac_func
41222
41223 /* Override any GCC internal prototype to avoid an error.
41224 Use char because int might match the return type of a GCC
41225 builtin and then its argument prototype would still apply. */
41226 #ifdef __cplusplus
41227 extern "C"
41228 #endif
41229 char $ac_func ();
41230 /* The GNU C library defines this for functions which it implements
41231 to always fail with ENOSYS. Some functions are actually named
41232 something starting with __ and the normal name is an alias. */
41233 #if defined __stub_$ac_func || defined __stub___$ac_func
41234 choke me
41235 #endif
41236
41237 int
41238 main ()
41239 {
41240 return $ac_func ();
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 rm -f conftest.$ac_objext conftest$ac_exeext
41246 if { (ac_try="$ac_link"
41247 case "(($ac_try" in
41248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41250 esac
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_link") 2>conftest.er1
41253 ac_status=$?
41254 grep -v '^ *+' conftest.er1 >conftest.err
41255 rm -f conftest.er1
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_c_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest$ac_exeext &&
41262 $as_test_x conftest$ac_exeext; then
41263 eval "$as_ac_var=yes"
41264 else
41265 echo "$as_me: failed program was:" >&5
41266 sed 's/^/| /' conftest.$ac_ext >&5
41267
41268 eval "$as_ac_var=no"
41269 fi
41270
41271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41272 conftest$ac_exeext conftest.$ac_ext
41273 fi
41274 ac_res=`eval echo '${'$as_ac_var'}'`
41275 { echo "$as_me:$LINENO: result: $ac_res" >&5
41276 echo "${ECHO_T}$ac_res" >&6; }
41277 if test `eval echo '${'$as_ac_var'}'` = yes; then
41278 cat >>confdefs.h <<_ACEOF
41279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41280 _ACEOF
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_DLERROR 1
41283 _ACEOF
41284
41285 else
41286
41287 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41288 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41289 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41291 else
41292 ac_check_lib_save_LIBS=$LIBS
41293 LIBS="-ldl $LIBS"
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300
41301 /* Override any GCC internal prototype to avoid an error.
41302 Use char because int might match the return type of a GCC
41303 builtin and then its argument prototype would still apply. */
41304 #ifdef __cplusplus
41305 extern "C"
41306 #endif
41307 char dlerror ();
41308 int
41309 main ()
41310 {
41311 return dlerror ();
41312 ;
41313 return 0;
41314 }
41315 _ACEOF
41316 rm -f conftest.$ac_objext conftest$ac_exeext
41317 if { (ac_try="$ac_link"
41318 case "(($ac_try" in
41319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41320 *) ac_try_echo=$ac_try;;
41321 esac
41322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41323 (eval "$ac_link") 2>conftest.er1
41324 ac_status=$?
41325 grep -v '^ *+' conftest.er1 >conftest.err
41326 rm -f conftest.er1
41327 cat conftest.err >&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); } && {
41330 test -z "$ac_c_werror_flag" ||
41331 test ! -s conftest.err
41332 } && test -s conftest$ac_exeext &&
41333 $as_test_x conftest$ac_exeext; then
41334 ac_cv_lib_dl_dlerror=yes
41335 else
41336 echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41338
41339 ac_cv_lib_dl_dlerror=no
41340 fi
41341
41342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41343 conftest$ac_exeext conftest.$ac_ext
41344 LIBS=$ac_check_lib_save_LIBS
41345 fi
41346 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41347 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41348 if test $ac_cv_lib_dl_dlerror = yes; then
41349 cat >>confdefs.h <<\_ACEOF
41350 #define HAVE_DLERROR 1
41351 _ACEOF
41352
41353 fi
41354
41355
41356
41357 fi
41358 done
41359
41360 fi
41361 fi
41362
41363 if test "$HAVE_DL_FUNCS" = 0; then
41364 if test "$HAVE_SHL_FUNCS" = 0; then
41365 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41366 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41367 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41368 wxUSE_DYNAMIC_LOADER=no
41369 wxUSE_DYNLIB_CLASS=no
41370 else
41371 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41372 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41373 fi
41374 fi
41375 fi
41376 fi
41377 fi
41378
41379 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41380 cat >>confdefs.h <<\_ACEOF
41381 #define wxUSE_DYNAMIC_LOADER 1
41382 _ACEOF
41383
41384 fi
41385 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41386 cat >>confdefs.h <<\_ACEOF
41387 #define wxUSE_DYNLIB_CLASS 1
41388 _ACEOF
41389
41390 fi
41391
41392
41393
41394 if test "$wxUSE_PLUGINS" = "yes" ; then
41395 if test "$wxUSE_SHARED" = "no" ; then
41396 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41397 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41398 wxUSE_PLUGINS=no
41399 fi
41400 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41401 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41402 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41403 wxUSE_PLUGINS=no
41404 fi
41405 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41406 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41407 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41408 wxUSE_PLUGINS=no
41409 fi
41410 if test "$wxUSE_PLUGINS" = "yes" ; then
41411 cat >>confdefs.h <<\_ACEOF
41412 #define wxUSE_PLUGINS 1
41413 _ACEOF
41414
41415 fi
41416 fi
41417
41418
41419 if test "$wxUSE_STL" = "yes"; then
41420 cat >>confdefs.h <<\_ACEOF
41421 #define wxUSE_STL 1
41422 _ACEOF
41423
41424 fi
41425
41426 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41427 cat >>confdefs.h <<\_ACEOF
41428 #define wxUSE_EXTENDED_RTTI 1
41429 _ACEOF
41430
41431 fi
41432
41433 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41434 cat >>confdefs.h <<\_ACEOF
41435 #define wxUSE_APPLE_IEEE 1
41436 _ACEOF
41437
41438 fi
41439
41440 if test "$wxUSE_TIMER" = "yes"; then
41441 cat >>confdefs.h <<\_ACEOF
41442 #define wxUSE_TIMER 1
41443 _ACEOF
41444
41445 fi
41446
41447 if test "$USE_UNIX" = 1 ; then
41448 if test "$wxUSE_MGL" != 1; then
41449 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41450 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41451 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41452 echo $ECHO_N "(cached) $ECHO_C" >&6
41453 else
41454
41455 cat >conftest.$ac_ext <<_ACEOF
41456 /* confdefs.h. */
41457 _ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41461
41462 #include <sys/ioctl.h>
41463 #include <sys/soundcard.h>
41464
41465 int
41466 main ()
41467 {
41468
41469 ioctl(0, SNDCTL_DSP_SPEED, 0);
41470
41471 ;
41472 return 0;
41473 }
41474 _ACEOF
41475 rm -f conftest.$ac_objext conftest$ac_exeext
41476 if { (ac_try="$ac_link"
41477 case "(($ac_try" in
41478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41479 *) ac_try_echo=$ac_try;;
41480 esac
41481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41482 (eval "$ac_link") 2>conftest.er1
41483 ac_status=$?
41484 grep -v '^ *+' conftest.er1 >conftest.err
41485 rm -f conftest.er1
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } && {
41489 test -z "$ac_c_werror_flag" ||
41490 test ! -s conftest.err
41491 } && test -s conftest$ac_exeext &&
41492 $as_test_x conftest$ac_exeext; then
41493 ac_cv_header_sys_soundcard=yes
41494 else
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.$ac_ext >&5
41497
41498
41499 saveLibs="$LIBS"
41500 LIBS="$saveLibs -lossaudio"
41501 cat >conftest.$ac_ext <<_ACEOF
41502 /* confdefs.h. */
41503 _ACEOF
41504 cat confdefs.h >>conftest.$ac_ext
41505 cat >>conftest.$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41507
41508 #include <sys/ioctl.h>
41509 #include <sys/soundcard.h>
41510
41511 int
41512 main ()
41513 {
41514
41515 ioctl(0, SNDCTL_DSP_SPEED, 0);
41516
41517 ;
41518 return 0;
41519 }
41520 _ACEOF
41521 rm -f conftest.$ac_objext conftest$ac_exeext
41522 if { (ac_try="$ac_link"
41523 case "(($ac_try" in
41524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41525 *) ac_try_echo=$ac_try;;
41526 esac
41527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41528 (eval "$ac_link") 2>conftest.er1
41529 ac_status=$?
41530 grep -v '^ *+' conftest.er1 >conftest.err
41531 rm -f conftest.er1
41532 cat conftest.err >&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } && {
41535 test -z "$ac_c_werror_flag" ||
41536 test ! -s conftest.err
41537 } && test -s conftest$ac_exeext &&
41538 $as_test_x conftest$ac_exeext; then
41539 ac_cv_header_sys_soundcard=yes
41540 else
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41543
41544
41545 LIBS="$saveLibs"
41546 ac_cv_header_sys_soundcard=no
41547
41548
41549 fi
41550
41551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41552 conftest$ac_exeext conftest.$ac_ext
41553
41554
41555 fi
41556
41557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41558 conftest$ac_exeext conftest.$ac_ext
41559
41560 fi
41561 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41562 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41563 fi
41564
41565 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41566 cat >>confdefs.h <<\_ACEOF
41567 #define HAVE_SYS_SOUNDCARD_H 1
41568 _ACEOF
41569
41570 fi
41571 fi
41572
41573 WITH_PLUGIN_SDL=0
41574 if test "$wxUSE_SOUND" = "yes"; then
41575 if test "$USE_UNIX" = 1 ; then
41576 if test "$wxUSE_LIBSDL" != "no"; then
41577
41578 # Check whether --with-sdl-prefix was given.
41579 if test "${with_sdl_prefix+set}" = set; then
41580 withval=$with_sdl_prefix; sdl_prefix="$withval"
41581 else
41582 sdl_prefix=""
41583 fi
41584
41585
41586 # Check whether --with-sdl-exec-prefix was given.
41587 if test "${with_sdl_exec_prefix+set}" = set; then
41588 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41589 else
41590 sdl_exec_prefix=""
41591 fi
41592
41593 # Check whether --enable-sdltest was given.
41594 if test "${enable_sdltest+set}" = set; then
41595 enableval=$enable_sdltest;
41596 else
41597 enable_sdltest=yes
41598 fi
41599
41600
41601 if test x$sdl_exec_prefix != x ; then
41602 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41603 if test x${SDL_CONFIG+set} != xset ; then
41604 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41605 fi
41606 fi
41607 if test x$sdl_prefix != x ; then
41608 sdl_args="$sdl_args --prefix=$sdl_prefix"
41609 if test x${SDL_CONFIG+set} != xset ; then
41610 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41611 fi
41612 fi
41613
41614 if test "x$prefix" != xNONE; then
41615 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41616 fi
41617 # Extract the first word of "sdl-config", so it can be a program name with args.
41618 set dummy sdl-config; ac_word=$2
41619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41621 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41623 else
41624 case $SDL_CONFIG in
41625 [\\/]* | ?:[\\/]*)
41626 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41627 ;;
41628 *)
41629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41630 for as_dir in $PATH
41631 do
41632 IFS=$as_save_IFS
41633 test -z "$as_dir" && as_dir=.
41634 for ac_exec_ext in '' $ac_executable_extensions; do
41635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41636 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41638 break 2
41639 fi
41640 done
41641 done
41642 IFS=$as_save_IFS
41643
41644 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41645 ;;
41646 esac
41647 fi
41648 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41649 if test -n "$SDL_CONFIG"; then
41650 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41651 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41652 else
41653 { echo "$as_me:$LINENO: result: no" >&5
41654 echo "${ECHO_T}no" >&6; }
41655 fi
41656
41657
41658 min_sdl_version=1.2.0
41659 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41660 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41661 no_sdl=""
41662 if test "$SDL_CONFIG" = "no" ; then
41663 no_sdl=yes
41664 else
41665 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41666 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41667
41668 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41670 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41672 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41674 if test "x$enable_sdltest" = "xyes" ; then
41675 ac_save_CFLAGS="$CFLAGS"
41676 ac_save_CXXFLAGS="$CXXFLAGS"
41677 ac_save_LIBS="$LIBS"
41678 CFLAGS="$CFLAGS $SDL_CFLAGS"
41679 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41680 LIBS="$LIBS $SDL_LIBS"
41681 rm -f conf.sdltest
41682 if test "$cross_compiling" = yes; then
41683 echo $ac_n "cross compiling; assumed OK... $ac_c"
41684 else
41685 cat >conftest.$ac_ext <<_ACEOF
41686 /* confdefs.h. */
41687 _ACEOF
41688 cat confdefs.h >>conftest.$ac_ext
41689 cat >>conftest.$ac_ext <<_ACEOF
41690 /* end confdefs.h. */
41691
41692 #include <stdio.h>
41693 #include <stdlib.h>
41694 #include <string.h>
41695 #include "SDL.h"
41696
41697 char*
41698 my_strdup (char *str)
41699 {
41700 char *new_str;
41701
41702 if (str)
41703 {
41704 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41705 strcpy (new_str, str);
41706 }
41707 else
41708 new_str = NULL;
41709
41710 return new_str;
41711 }
41712
41713 int main (int argc, char *argv[])
41714 {
41715 int major, minor, micro;
41716 char *tmp_version;
41717
41718 /* This hangs on some systems (?)
41719 system ("touch conf.sdltest");
41720 */
41721 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41722
41723 /* HP/UX 9 (%@#!) writes to sscanf strings */
41724 tmp_version = my_strdup("$min_sdl_version");
41725 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41726 printf("%s, bad version string\n", "$min_sdl_version");
41727 exit(1);
41728 }
41729
41730 if (($sdl_major_version > major) ||
41731 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41732 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41733 {
41734 return 0;
41735 }
41736 else
41737 {
41738 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41739 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41740 printf("*** best to upgrade to the required version.\n");
41741 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41742 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41743 printf("*** config.cache before re-running configure\n");
41744 return 1;
41745 }
41746 }
41747
41748
41749 _ACEOF
41750 rm -f conftest$ac_exeext
41751 if { (ac_try="$ac_link"
41752 case "(($ac_try" in
41753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41754 *) ac_try_echo=$ac_try;;
41755 esac
41756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41757 (eval "$ac_link") 2>&5
41758 ac_status=$?
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41761 { (case "(($ac_try" in
41762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41763 *) ac_try_echo=$ac_try;;
41764 esac
41765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41766 (eval "$ac_try") 2>&5
41767 ac_status=$?
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); }; }; then
41770 :
41771 else
41772 echo "$as_me: program exited with status $ac_status" >&5
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776 ( exit $ac_status )
41777 no_sdl=yes
41778 fi
41779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41780 fi
41781
41782
41783 CFLAGS="$ac_save_CFLAGS"
41784 CXXFLAGS="$ac_save_CXXFLAGS"
41785 LIBS="$ac_save_LIBS"
41786 fi
41787 fi
41788 if test "x$no_sdl" = x ; then
41789 { echo "$as_me:$LINENO: result: yes" >&5
41790 echo "${ECHO_T}yes" >&6; }
41791
41792 EXTRALIBS_SDL="$SDL_LIBS"
41793 CFLAGS="$SDL_CFLAGS $CFLAGS"
41794 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_LIBSDL 1
41797 _ACEOF
41798
41799
41800 else
41801 { echo "$as_me:$LINENO: result: no" >&5
41802 echo "${ECHO_T}no" >&6; }
41803 if test "$SDL_CONFIG" = "no" ; then
41804 echo "*** The sdl-config script installed by SDL could not be found"
41805 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41806 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41807 echo "*** full path to sdl-config."
41808 else
41809 if test -f conf.sdltest ; then
41810 :
41811 else
41812 echo "*** Could not run SDL test program, checking why..."
41813 CFLAGS="$CFLAGS $SDL_CFLAGS"
41814 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41815 LIBS="$LIBS $SDL_LIBS"
41816 cat >conftest.$ac_ext <<_ACEOF
41817 /* confdefs.h. */
41818 _ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822
41823 #include <stdio.h>
41824 #include "SDL.h"
41825
41826 int main(int argc, char *argv[])
41827 { return 0; }
41828 #undef main
41829 #define main K_and_R_C_main
41830
41831 int
41832 main ()
41833 {
41834 return 0;
41835 ;
41836 return 0;
41837 }
41838 _ACEOF
41839 rm -f conftest.$ac_objext conftest$ac_exeext
41840 if { (ac_try="$ac_link"
41841 case "(($ac_try" in
41842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41844 esac
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_link") 2>conftest.er1
41847 ac_status=$?
41848 grep -v '^ *+' conftest.er1 >conftest.err
41849 rm -f conftest.er1
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } && {
41853 test -z "$ac_c_werror_flag" ||
41854 test ! -s conftest.err
41855 } && test -s conftest$ac_exeext &&
41856 $as_test_x conftest$ac_exeext; then
41857 echo "*** The test program compiled, but did not run. This usually means"
41858 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41859 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41862 echo "*** is required on your system"
41863 echo "***"
41864 echo "*** If you have an old version installed, it is best to remove it, although"
41865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41866 else
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41869
41870 echo "*** The test program failed to compile or link. See the file config.log for the"
41871 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41872 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41873 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41874 fi
41875
41876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41877 conftest$ac_exeext conftest.$ac_ext
41878 CFLAGS="$ac_save_CFLAGS"
41879 CXXFLAGS="$ac_save_CXXFLAGS"
41880 LIBS="$ac_save_LIBS"
41881 fi
41882 fi
41883 SDL_CFLAGS=""
41884 SDL_LIBS=""
41885 wxUSE_LIBSDL="no"
41886 fi
41887
41888
41889 rm -f conf.sdltest
41890
41891 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41892 WITH_PLUGIN_SDL=1
41893 fi
41894 fi
41895 else
41896 if test "$wxUSE_MGL" = 1; then
41897 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41898 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41899 wxUSE_SOUND="no"
41900 fi
41901 fi
41902 fi
41903
41904 if test "$wxUSE_SOUND" = "yes"; then
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_SOUND 1
41907 _ACEOF
41908
41909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41910 fi
41911
41912 if test "$WXGTK2" = 1; then
41913
41914
41915 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41916 if test -n "$ac_tool_prefix"; then
41917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41922 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 else
41924 case $PKG_CONFIG in
41925 [\\/]* | ?:[\\/]*)
41926 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41927 ;;
41928 *)
41929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41930 for as_dir in $PATH
41931 do
41932 IFS=$as_save_IFS
41933 test -z "$as_dir" && as_dir=.
41934 for ac_exec_ext in '' $ac_executable_extensions; do
41935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41936 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41938 break 2
41939 fi
41940 done
41941 done
41942 IFS=$as_save_IFS
41943
41944 ;;
41945 esac
41946 fi
41947 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41948 if test -n "$PKG_CONFIG"; then
41949 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41950 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41951 else
41952 { echo "$as_me:$LINENO: result: no" >&5
41953 echo "${ECHO_T}no" >&6; }
41954 fi
41955
41956
41957 fi
41958 if test -z "$ac_cv_path_PKG_CONFIG"; then
41959 ac_pt_PKG_CONFIG=$PKG_CONFIG
41960 # Extract the first word of "pkg-config", so it can be a program name with args.
41961 set dummy pkg-config; ac_word=$2
41962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41964 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41965 echo $ECHO_N "(cached) $ECHO_C" >&6
41966 else
41967 case $ac_pt_PKG_CONFIG in
41968 [\\/]* | ?:[\\/]*)
41969 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41970 ;;
41971 *)
41972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41973 for as_dir in $PATH
41974 do
41975 IFS=$as_save_IFS
41976 test -z "$as_dir" && as_dir=.
41977 for ac_exec_ext in '' $ac_executable_extensions; do
41978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41979 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41981 break 2
41982 fi
41983 done
41984 done
41985 IFS=$as_save_IFS
41986
41987 ;;
41988 esac
41989 fi
41990 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41991 if test -n "$ac_pt_PKG_CONFIG"; then
41992 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41993 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41994 else
41995 { echo "$as_me:$LINENO: result: no" >&5
41996 echo "${ECHO_T}no" >&6; }
41997 fi
41998
41999 if test "x$ac_pt_PKG_CONFIG" = x; then
42000 PKG_CONFIG=""
42001 else
42002 case $cross_compiling:$ac_tool_warned in
42003 yes:)
42004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42005 whose name does not start with the host triplet. If you think this
42006 configuration is useful to you, please write to autoconf@gnu.org." >&5
42007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42008 whose name does not start with the host triplet. If you think this
42009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42010 ac_tool_warned=yes ;;
42011 esac
42012 PKG_CONFIG=$ac_pt_PKG_CONFIG
42013 fi
42014 else
42015 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42016 fi
42017
42018 fi
42019 if test -n "$PKG_CONFIG"; then
42020 _pkg_min_version=0.9.0
42021 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42022 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42024 { echo "$as_me:$LINENO: result: yes" >&5
42025 echo "${ECHO_T}yes" >&6; }
42026 else
42027 { echo "$as_me:$LINENO: result: no" >&5
42028 echo "${ECHO_T}no" >&6; }
42029 PKG_CONFIG=""
42030 fi
42031
42032 fi
42033
42034 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42035
42036 if test "$wxUSE_GTKPRINT" = "yes" ; then
42037
42038
42039 pkg_failed=no
42040 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42041 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42042
42043 if test -n "$PKG_CONFIG"; then
42044 if test -n "$GTKPRINT_CFLAGS"; then
42045 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42046 else
42047 if test -n "$PKG_CONFIG" && \
42048 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42049 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; then
42053 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42054 else
42055 pkg_failed=yes
42056 fi
42057 fi
42058 else
42059 pkg_failed=untried
42060 fi
42061 if test -n "$PKG_CONFIG"; then
42062 if test -n "$GTKPRINT_LIBS"; then
42063 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42064 else
42065 if test -n "$PKG_CONFIG" && \
42066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42067 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42068 ac_status=$?
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; then
42071 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42072 else
42073 pkg_failed=yes
42074 fi
42075 fi
42076 else
42077 pkg_failed=untried
42078 fi
42079
42080
42081
42082 if test $pkg_failed = yes; then
42083
42084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42085 _pkg_short_errors_supported=yes
42086 else
42087 _pkg_short_errors_supported=no
42088 fi
42089 if test $_pkg_short_errors_supported = yes; then
42090 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42091 else
42092 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42093 fi
42094 # Put the nasty error message in config.log where it belongs
42095 echo "$GTKPRINT_PKG_ERRORS" >&5
42096
42097
42098 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42099 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42100 wxUSE_GTKPRINT="no"
42101
42102
42103 elif test $pkg_failed = untried; then
42104
42105 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42106 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42107 wxUSE_GTKPRINT="no"
42108
42109
42110 else
42111 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42112 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42113 { echo "$as_me:$LINENO: result: yes" >&5
42114 echo "${ECHO_T}yes" >&6; }
42115
42116 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42117 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42118 cat >>confdefs.h <<\_ACEOF
42119 #define wxUSE_GTKPRINT 1
42120 _ACEOF
42121
42122
42123 fi
42124 fi
42125
42126 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42127
42128
42129 pkg_failed=no
42130 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42131 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42132
42133 if test -n "$PKG_CONFIG"; then
42134 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42135 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42136 else
42137 if test -n "$PKG_CONFIG" && \
42138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42139 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42140 ac_status=$?
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); }; then
42143 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42144 else
42145 pkg_failed=yes
42146 fi
42147 fi
42148 else
42149 pkg_failed=untried
42150 fi
42151 if test -n "$PKG_CONFIG"; then
42152 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42153 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42154 else
42155 if test -n "$PKG_CONFIG" && \
42156 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42157 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42158 ac_status=$?
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; then
42161 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42162 else
42163 pkg_failed=yes
42164 fi
42165 fi
42166 else
42167 pkg_failed=untried
42168 fi
42169
42170
42171
42172 if test $pkg_failed = yes; then
42173
42174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42175 _pkg_short_errors_supported=yes
42176 else
42177 _pkg_short_errors_supported=no
42178 fi
42179 if test $_pkg_short_errors_supported = yes; then
42180 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42181 else
42182 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42183 fi
42184 # Put the nasty error message in config.log where it belongs
42185 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42186
42187
42188 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42189 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42190 wxUSE_LIBGNOMEPRINT="no"
42191
42192
42193 elif test $pkg_failed = untried; then
42194
42195 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42196 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42197 wxUSE_LIBGNOMEPRINT="no"
42198
42199
42200 else
42201 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42202 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42203 { echo "$as_me:$LINENO: result: yes" >&5
42204 echo "${ECHO_T}yes" >&6; }
42205
42206 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42207 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42208 cat >>confdefs.h <<\_ACEOF
42209 #define wxUSE_LIBGNOMEPRINT 1
42210 _ACEOF
42211
42212
42213 fi
42214 fi
42215 fi
42216
42217 if test "$wxUSE_MIMETYPE" = "yes" ; then
42218 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42219
42220
42221 pkg_failed=no
42222 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42223 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42224
42225 if test -n "$PKG_CONFIG"; then
42226 if test -n "$GNOMEVFS_CFLAGS"; then
42227 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42228 else
42229 if test -n "$PKG_CONFIG" && \
42230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42231 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42232 ac_status=$?
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; then
42235 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42236 else
42237 pkg_failed=yes
42238 fi
42239 fi
42240 else
42241 pkg_failed=untried
42242 fi
42243 if test -n "$PKG_CONFIG"; then
42244 if test -n "$GNOMEVFS_LIBS"; then
42245 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42246 else
42247 if test -n "$PKG_CONFIG" && \
42248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42249 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42250 ac_status=$?
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; then
42253 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42254 else
42255 pkg_failed=yes
42256 fi
42257 fi
42258 else
42259 pkg_failed=untried
42260 fi
42261
42262
42263
42264 if test $pkg_failed = yes; then
42265
42266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42267 _pkg_short_errors_supported=yes
42268 else
42269 _pkg_short_errors_supported=no
42270 fi
42271 if test $_pkg_short_errors_supported = yes; then
42272 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42273 else
42274 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42275 fi
42276 # Put the nasty error message in config.log where it belongs
42277 echo "$GNOMEVFS_PKG_ERRORS" >&5
42278
42279
42280 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42281 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42282 wxUSE_LIBGNOMEVFS="no"
42283
42284
42285 elif test $pkg_failed = untried; then
42286
42287 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42288 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42289 wxUSE_LIBGNOMEVFS="no"
42290
42291
42292 else
42293 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42294 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42295 { echo "$as_me:$LINENO: result: yes" >&5
42296 echo "${ECHO_T}yes" >&6; }
42297
42298 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42299 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42300 cat >>confdefs.h <<\_ACEOF
42301 #define wxUSE_LIBGNOMEVFS 1
42302 _ACEOF
42303
42304
42305 fi
42306 fi
42307 fi
42308
42309 if test "$wxUSE_LIBHILDON" = "yes" ; then
42310
42311 pkg_failed=no
42312 { echo "$as_me:$LINENO: checking for HILDON" >&5
42313 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42314
42315 if test -n "$PKG_CONFIG"; then
42316 if test -n "$HILDON_CFLAGS"; then
42317 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42318 else
42319 if test -n "$PKG_CONFIG" && \
42320 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42321 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42322 ac_status=$?
42323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324 (exit $ac_status); }; then
42325 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42326 else
42327 pkg_failed=yes
42328 fi
42329 fi
42330 else
42331 pkg_failed=untried
42332 fi
42333 if test -n "$PKG_CONFIG"; then
42334 if test -n "$HILDON_LIBS"; then
42335 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42336 else
42337 if test -n "$PKG_CONFIG" && \
42338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42339 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42340 ac_status=$?
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); }; then
42343 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42344 else
42345 pkg_failed=yes
42346 fi
42347 fi
42348 else
42349 pkg_failed=untried
42350 fi
42351
42352
42353
42354 if test $pkg_failed = yes; then
42355
42356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42357 _pkg_short_errors_supported=yes
42358 else
42359 _pkg_short_errors_supported=no
42360 fi
42361 if test $_pkg_short_errors_supported = yes; then
42362 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42363 else
42364 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42365 fi
42366 # Put the nasty error message in config.log where it belongs
42367 echo "$HILDON_PKG_ERRORS" >&5
42368
42369
42370 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42371 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42372 wxUSE_LIBHILDON="no"
42373
42374
42375 elif test $pkg_failed = untried; then
42376
42377 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42378 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42379 wxUSE_LIBHILDON="no"
42380
42381
42382 else
42383 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42384 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42385 { echo "$as_me:$LINENO: result: yes" >&5
42386 echo "${ECHO_T}yes" >&6; }
42387
42388 EXTRALIBS_HILDON="$HILDON_LIBS"
42389 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42390 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_LIBHILDON 1
42393 _ACEOF
42394
42395
42396 fi
42397 fi
42398 fi
42399
42400 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_CMDLINE_PARSER 1
42403 _ACEOF
42404
42405 fi
42406
42407 if test "$wxUSE_STOPWATCH" = "yes"; then
42408 cat >>confdefs.h <<\_ACEOF
42409 #define wxUSE_STOPWATCH 1
42410 _ACEOF
42411
42412 fi
42413
42414 if test "$wxUSE_DATETIME" = "yes"; then
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_DATETIME 1
42417 _ACEOF
42418
42419 fi
42420
42421 if test "$wxUSE_FILE" = "yes"; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define wxUSE_FILE 1
42424 _ACEOF
42425
42426 fi
42427
42428 if test "$wxUSE_FFILE" = "yes"; then
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_FFILE 1
42431 _ACEOF
42432
42433 fi
42434
42435 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42436 if test "$wxUSE_STREAMS" != yes; then
42437 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42438 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42439 wxUSE_ARCHIVE_STREAMS=no
42440 else
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_ARCHIVE_STREAMS 1
42443 _ACEOF
42444
42445 fi
42446 fi
42447
42448 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42449 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42450 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42451 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42452 elif test "$wxUSE_ZLIB" = "no"; then
42453 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42454 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42455 else
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_ZIPSTREAM 1
42458 _ACEOF
42459
42460 fi
42461 fi
42462
42463 if test "$wxUSE_TARSTREAM" = "yes"; then
42464 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42465 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42466 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42467 else
42468 cat >>confdefs.h <<\_ACEOF
42469 #define wxUSE_TARSTREAM 1
42470 _ACEOF
42471
42472 fi
42473 fi
42474
42475 if test "$wxUSE_FILESYSTEM" = "yes"; then
42476 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42477 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42478 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42479 wxUSE_FILESYSTEM=no
42480 else
42481 cat >>confdefs.h <<\_ACEOF
42482 #define wxUSE_FILESYSTEM 1
42483 _ACEOF
42484
42485 fi
42486 fi
42487
42488 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42489 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42490 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42491 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42492 else
42493 cat >>confdefs.h <<\_ACEOF
42494 #define wxUSE_FS_ARCHIVE 1
42495 _ACEOF
42496
42497 fi
42498 fi
42499
42500 if test "$wxUSE_FS_ZIP" = "yes"; then
42501 if test "$wxUSE_FS_ARCHIVE" != yes; then
42502 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42503 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42504 else
42505 cat >>confdefs.h <<\_ACEOF
42506 #define wxUSE_FS_ZIP 1
42507 _ACEOF
42508
42509 fi
42510 fi
42511
42512 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42513 if test "$USE_UNIX" != 1; then
42514 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42515 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42516 wxUSE_ON_FATAL_EXCEPTION=no
42517 else
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_ON_FATAL_EXCEPTION 1
42520 _ACEOF
42521
42522 fi
42523 fi
42524
42525 if test "$wxUSE_STACKWALKER" = "yes"; then
42526 cat >>confdefs.h <<\_ACEOF
42527 #define wxUSE_STACKWALKER 1
42528 _ACEOF
42529
42530 fi
42531
42532 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42533 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42534 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42535 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42536 wxUSE_DEBUGREPORT=no
42537 else
42538 cat >>confdefs.h <<\_ACEOF
42539 #define wxUSE_DEBUGREPORT 1
42540 _ACEOF
42541
42542 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42544 fi
42545 fi
42546 fi
42547
42548 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42549 cat >>confdefs.h <<\_ACEOF
42550 #define wxUSE_SNGLINST_CHECKER 1
42551 _ACEOF
42552
42553 fi
42554
42555 if test "$wxUSE_BUSYINFO" = "yes"; then
42556 cat >>confdefs.h <<\_ACEOF
42557 #define wxUSE_BUSYINFO 1
42558 _ACEOF
42559
42560 fi
42561
42562 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42563 cat >>confdefs.h <<\_ACEOF
42564 #define wxUSE_STD_IOSTREAM 1
42565 _ACEOF
42566
42567 fi
42568
42569 if test "$wxUSE_STD_STRING" = "yes"; then
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_STD_STRING 1
42572 _ACEOF
42573
42574 fi
42575
42576 if test "$wxUSE_STDPATHS" = "yes"; then
42577 cat >>confdefs.h <<\_ACEOF
42578 #define wxUSE_STDPATHS 1
42579 _ACEOF
42580
42581 fi
42582
42583 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42584 cat >>confdefs.h <<\_ACEOF
42585 #define wxUSE_TEXTBUFFER 1
42586 _ACEOF
42587
42588 fi
42589
42590 if test "$wxUSE_TEXTFILE" = "yes"; then
42591 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42592 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42593 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42594 else
42595 cat >>confdefs.h <<\_ACEOF
42596 #define wxUSE_TEXTFILE 1
42597 _ACEOF
42598
42599 fi
42600 fi
42601
42602 if test "$wxUSE_CONFIG" = "yes" ; then
42603 if test "$wxUSE_TEXTFILE" != "yes"; then
42604 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42605 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42606 else
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_CONFIG 1
42609 _ACEOF
42610
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxUSE_CONFIG_NATIVE 1
42613 _ACEOF
42614
42615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42616 fi
42617 fi
42618
42619 if test "$wxUSE_INTL" = "yes" ; then
42620 if test "$wxUSE_FILE" != "yes"; then
42621 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42622 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42623 else
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_INTL 1
42626 _ACEOF
42627
42628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42629 GUIDIST="$GUIDIST INTL_DIST"
42630 fi
42631 fi
42632
42633 if test "$wxUSE_LOG" = "yes"; then
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_LOG 1
42636 _ACEOF
42637
42638
42639 if test "$wxUSE_LOGGUI" = "yes"; then
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_LOGGUI 1
42642 _ACEOF
42643
42644 fi
42645
42646 if test "$wxUSE_LOGWINDOW" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_LOGWINDOW 1
42649 _ACEOF
42650
42651 fi
42652
42653 if test "$wxUSE_LOGDIALOG" = "yes"; then
42654 cat >>confdefs.h <<\_ACEOF
42655 #define wxUSE_LOG_DIALOG 1
42656 _ACEOF
42657
42658 fi
42659
42660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42661 fi
42662
42663 if test "$wxUSE_LONGLONG" = "yes"; then
42664 cat >>confdefs.h <<\_ACEOF
42665 #define wxUSE_LONGLONG 1
42666 _ACEOF
42667
42668 fi
42669
42670 if test "$wxUSE_GEOMETRY" = "yes"; then
42671 cat >>confdefs.h <<\_ACEOF
42672 #define wxUSE_GEOMETRY 1
42673 _ACEOF
42674
42675 fi
42676
42677 if test "$wxUSE_BASE64" = "yes"; then
42678 cat >>confdefs.h <<\_ACEOF
42679 #define wxUSE_BASE64 1
42680 _ACEOF
42681
42682 fi
42683
42684 if test "$wxUSE_STREAMS" = "yes" ; then
42685 cat >>confdefs.h <<\_ACEOF
42686 #define wxUSE_STREAMS 1
42687 _ACEOF
42688
42689 fi
42690
42691 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42692 cat >>confdefs.h <<\_ACEOF
42693 #define wxUSE_PRINTF_POS_PARAMS 1
42694 _ACEOF
42695
42696 fi
42697
42698 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42699 cat >>confdefs.h <<\_ACEOF
42700 #define wxUSE_OBJC_UNIQUIFYING 1
42701 _ACEOF
42702
42703 fi
42704
42705
42706 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_CONSOLE_EVENTLOOP 1
42709 _ACEOF
42710
42711
42712 if test "$wxUSE_UNIX" = "yes"; then
42713 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42714 cat >>confdefs.h <<\_ACEOF
42715 #define wxUSE_SELECT_DISPATCHER 1
42716 _ACEOF
42717
42718 fi
42719
42720 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42721
42722 for ac_header in sys/epoll.h
42723 do
42724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42728 echo $ECHO_N "(cached) $ECHO_C" >&6
42729 else
42730 cat >conftest.$ac_ext <<_ACEOF
42731 /* confdefs.h. */
42732 _ACEOF
42733 cat confdefs.h >>conftest.$ac_ext
42734 cat >>conftest.$ac_ext <<_ACEOF
42735 /* end confdefs.h. */
42736 $ac_includes_default
42737
42738 #include <$ac_header>
42739 _ACEOF
42740 rm -f conftest.$ac_objext
42741 if { (ac_try="$ac_compile"
42742 case "(($ac_try" in
42743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42744 *) ac_try_echo=$ac_try;;
42745 esac
42746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42747 (eval "$ac_compile") 2>conftest.er1
42748 ac_status=$?
42749 grep -v '^ *+' conftest.er1 >conftest.err
42750 rm -f conftest.er1
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } && {
42754 test -z "$ac_c_werror_flag" ||
42755 test ! -s conftest.err
42756 } && test -s conftest.$ac_objext; then
42757 eval "$as_ac_Header=yes"
42758 else
42759 echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.$ac_ext >&5
42761
42762 eval "$as_ac_Header=no"
42763 fi
42764
42765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42766 fi
42767 ac_res=`eval echo '${'$as_ac_Header'}'`
42768 { echo "$as_me:$LINENO: result: $ac_res" >&5
42769 echo "${ECHO_T}$ac_res" >&6; }
42770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42771 cat >>confdefs.h <<_ACEOF
42772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42773 _ACEOF
42774
42775 fi
42776
42777 done
42778
42779 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define wxUSE_EPOLL_DISPATCHER 1
42782 _ACEOF
42783
42784 else
42785 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42786 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42787 fi
42788 fi
42789 fi
42790 fi
42791
42792
42793
42794
42795 for ac_func in gettimeofday ftime
42796 do
42797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42801 echo $ECHO_N "(cached) $ECHO_C" >&6
42802 else
42803 cat >conftest.$ac_ext <<_ACEOF
42804 /* confdefs.h. */
42805 _ACEOF
42806 cat confdefs.h >>conftest.$ac_ext
42807 cat >>conftest.$ac_ext <<_ACEOF
42808 /* end confdefs.h. */
42809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42811 #define $ac_func innocuous_$ac_func
42812
42813 /* System header to define __stub macros and hopefully few prototypes,
42814 which can conflict with char $ac_func (); below.
42815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42816 <limits.h> exists even on freestanding compilers. */
42817
42818 #ifdef __STDC__
42819 # include <limits.h>
42820 #else
42821 # include <assert.h>
42822 #endif
42823
42824 #undef $ac_func
42825
42826 /* Override any GCC internal prototype to avoid an error.
42827 Use char because int might match the return type of a GCC
42828 builtin and then its argument prototype would still apply. */
42829 #ifdef __cplusplus
42830 extern "C"
42831 #endif
42832 char $ac_func ();
42833 /* The GNU C library defines this for functions which it implements
42834 to always fail with ENOSYS. Some functions are actually named
42835 something starting with __ and the normal name is an alias. */
42836 #if defined __stub_$ac_func || defined __stub___$ac_func
42837 choke me
42838 #endif
42839
42840 int
42841 main ()
42842 {
42843 return $ac_func ();
42844 ;
42845 return 0;
42846 }
42847 _ACEOF
42848 rm -f conftest.$ac_objext conftest$ac_exeext
42849 if { (ac_try="$ac_link"
42850 case "(($ac_try" in
42851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42852 *) ac_try_echo=$ac_try;;
42853 esac
42854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42855 (eval "$ac_link") 2>conftest.er1
42856 ac_status=$?
42857 grep -v '^ *+' conftest.er1 >conftest.err
42858 rm -f conftest.er1
42859 cat conftest.err >&5
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); } && {
42862 test -z "$ac_c_werror_flag" ||
42863 test ! -s conftest.err
42864 } && test -s conftest$ac_exeext &&
42865 $as_test_x conftest$ac_exeext; then
42866 eval "$as_ac_var=yes"
42867 else
42868 echo "$as_me: failed program was:" >&5
42869 sed 's/^/| /' conftest.$ac_ext >&5
42870
42871 eval "$as_ac_var=no"
42872 fi
42873
42874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42875 conftest$ac_exeext conftest.$ac_ext
42876 fi
42877 ac_res=`eval echo '${'$as_ac_var'}'`
42878 { echo "$as_me:$LINENO: result: $ac_res" >&5
42879 echo "${ECHO_T}$ac_res" >&6; }
42880 if test `eval echo '${'$as_ac_var'}'` = yes; then
42881 cat >>confdefs.h <<_ACEOF
42882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42883 _ACEOF
42884 break
42885 fi
42886 done
42887
42888
42889 if test "$ac_cv_func_gettimeofday" = "yes"; then
42890 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42891 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42892 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42894 else
42895
42896 cat >conftest.$ac_ext <<_ACEOF
42897 /* confdefs.h. */
42898 _ACEOF
42899 cat confdefs.h >>conftest.$ac_ext
42900 cat >>conftest.$ac_ext <<_ACEOF
42901 /* end confdefs.h. */
42902
42903 #include <sys/time.h>
42904 #include <unistd.h>
42905
42906 int
42907 main ()
42908 {
42909
42910 struct timeval tv;
42911 gettimeofday(&tv, NULL);
42912
42913 ;
42914 return 0;
42915 }
42916 _ACEOF
42917 rm -f conftest.$ac_objext
42918 if { (ac_try="$ac_compile"
42919 case "(($ac_try" in
42920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42921 *) ac_try_echo=$ac_try;;
42922 esac
42923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42924 (eval "$ac_compile") 2>conftest.er1
42925 ac_status=$?
42926 grep -v '^ *+' conftest.er1 >conftest.err
42927 rm -f conftest.er1
42928 cat conftest.err >&5
42929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930 (exit $ac_status); } && {
42931 test -z "$ac_c_werror_flag" ||
42932 test ! -s conftest.err
42933 } && test -s conftest.$ac_objext; then
42934 wx_cv_func_gettimeofday_has_2_args=yes
42935 else
42936 echo "$as_me: failed program was:" >&5
42937 sed 's/^/| /' conftest.$ac_ext >&5
42938
42939 cat >conftest.$ac_ext <<_ACEOF
42940 /* confdefs.h. */
42941 _ACEOF
42942 cat confdefs.h >>conftest.$ac_ext
42943 cat >>conftest.$ac_ext <<_ACEOF
42944 /* end confdefs.h. */
42945
42946 #include <sys/time.h>
42947 #include <unistd.h>
42948
42949 int
42950 main ()
42951 {
42952
42953 struct timeval tv;
42954 gettimeofday(&tv);
42955
42956 ;
42957 return 0;
42958 }
42959 _ACEOF
42960 rm -f conftest.$ac_objext
42961 if { (ac_try="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42965 esac
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42968 ac_status=$?
42969 grep -v '^ *+' conftest.er1 >conftest.err
42970 rm -f conftest.er1
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 wx_cv_func_gettimeofday_has_2_args=no
42978 else
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42981
42982
42983 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42984 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42985 wx_cv_func_gettimeofday_has_2_args=unknown
42986
42987
42988 fi
42989
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991
42992 fi
42993
42994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42995
42996 fi
42997 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42998 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42999
43000 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43001 cat >>confdefs.h <<\_ACEOF
43002 #define WX_GETTIMEOFDAY_NO_TZ 1
43003 _ACEOF
43004
43005 fi
43006 fi
43007
43008 if test "$wxUSE_DATETIME" = "yes"; then
43009 { echo "$as_me:$LINENO: checking for strptime" >&5
43010 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43011 if test "${ac_cv_func_strptime+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 else
43014 cat >conftest.$ac_ext <<_ACEOF
43015 /* confdefs.h. */
43016 _ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43022 #define strptime innocuous_strptime
43023
43024 /* System header to define __stub macros and hopefully few prototypes,
43025 which can conflict with char strptime (); below.
43026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43027 <limits.h> exists even on freestanding compilers. */
43028
43029 #ifdef __STDC__
43030 # include <limits.h>
43031 #else
43032 # include <assert.h>
43033 #endif
43034
43035 #undef strptime
43036
43037 /* Override any GCC internal prototype to avoid an error.
43038 Use char because int might match the return type of a GCC
43039 builtin and then its argument prototype would still apply. */
43040 #ifdef __cplusplus
43041 extern "C"
43042 #endif
43043 char strptime ();
43044 /* The GNU C library defines this for functions which it implements
43045 to always fail with ENOSYS. Some functions are actually named
43046 something starting with __ and the normal name is an alias. */
43047 #if defined __stub_strptime || defined __stub___strptime
43048 choke me
43049 #endif
43050
43051 int
43052 main ()
43053 {
43054 return strptime ();
43055 ;
43056 return 0;
43057 }
43058 _ACEOF
43059 rm -f conftest.$ac_objext conftest$ac_exeext
43060 if { (ac_try="$ac_link"
43061 case "(($ac_try" in
43062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43063 *) ac_try_echo=$ac_try;;
43064 esac
43065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43066 (eval "$ac_link") 2>conftest.er1
43067 ac_status=$?
43068 grep -v '^ *+' conftest.er1 >conftest.err
43069 rm -f conftest.er1
43070 cat conftest.err >&5
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); } && {
43073 test -z "$ac_c_werror_flag" ||
43074 test ! -s conftest.err
43075 } && test -s conftest$ac_exeext &&
43076 $as_test_x conftest$ac_exeext; then
43077 ac_cv_func_strptime=yes
43078 else
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43081
43082 ac_cv_func_strptime=no
43083 fi
43084
43085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43086 conftest$ac_exeext conftest.$ac_ext
43087 fi
43088 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43089 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43090
43091 if test "$ac_cv_func_strptime" = "yes"; then
43092 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43093 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43094 if test "${wx_cv_func_strptime_decl+set}" = set; then
43095 echo $ECHO_N "(cached) $ECHO_C" >&6
43096 else
43097
43098 ac_ext=cpp
43099 ac_cpp='$CXXCPP $CPPFLAGS'
43100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43103
43104 cat >conftest.$ac_ext <<_ACEOF
43105 /* confdefs.h. */
43106 _ACEOF
43107 cat confdefs.h >>conftest.$ac_ext
43108 cat >>conftest.$ac_ext <<_ACEOF
43109 /* end confdefs.h. */
43110
43111 #include <time.h>
43112
43113 int
43114 main ()
43115 {
43116
43117 struct tm t;
43118 strptime("foo", "bar", &t);
43119
43120 ;
43121 return 0;
43122 }
43123 _ACEOF
43124 rm -f conftest.$ac_objext
43125 if { (ac_try="$ac_compile"
43126 case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128 *) ac_try_echo=$ac_try;;
43129 esac
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_compile") 2>conftest.er1
43132 ac_status=$?
43133 grep -v '^ *+' conftest.er1 >conftest.err
43134 rm -f conftest.er1
43135 cat conftest.err >&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && {
43138 test -z "$ac_cxx_werror_flag" ||
43139 test ! -s conftest.err
43140 } && test -s conftest.$ac_objext; then
43141 wx_cv_func_strptime_decl=yes
43142 else
43143 echo "$as_me: failed program was:" >&5
43144 sed 's/^/| /' conftest.$ac_ext >&5
43145
43146 wx_cv_func_strptime_decl=no
43147
43148 fi
43149
43150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43151 ac_ext=c
43152 ac_cpp='$CPP $CPPFLAGS'
43153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43156
43157
43158
43159 fi
43160 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43161 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43162 fi
43163 if test "$wx_cv_func_strptime_decl" = "yes"; then
43164 cat >>confdefs.h <<\_ACEOF
43165 #define HAVE_STRPTIME_DECL 1
43166 _ACEOF
43167
43168 else
43169 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43170 fi
43171 if test "$ac_cv_func_strptime" = "yes"; then
43172 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43173 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43174 if test "${wx_cv_func_strptime_ok+set}" = set; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43176 else
43177 if test "$cross_compiling" = yes; then
43178 wx_cv_func_strptime_ok=no
43179
43180 else
43181 cat >conftest.$ac_ext <<_ACEOF
43182
43183 #include <stdlib.h>
43184 #include <time.h>
43185 #include "confdefs.h"
43186
43187 $wx_strptime_decl
43188
43189 int main()
43190 {
43191 struct tm t;
43192 return !!strptime("", "%x", &t);
43193 }
43194
43195 _ACEOF
43196 rm -f conftest$ac_exeext
43197 if { (ac_try="$ac_link"
43198 case "(($ac_try" in
43199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43201 esac
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_link") 2>&5
43204 ac_status=$?
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43207 { (case "(($ac_try" in
43208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43209 *) ac_try_echo=$ac_try;;
43210 esac
43211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43212 (eval "$ac_try") 2>&5
43213 ac_status=$?
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; }; then
43216 wx_cv_func_strptime_ok=yes
43217 else
43218 echo "$as_me: program exited with status $ac_status" >&5
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43221
43222 ( exit $ac_status )
43223 wx_cv_func_strptime_ok=no
43224 fi
43225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43226 fi
43227
43228
43229
43230 fi
43231 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43232 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43233
43234 if test "$wx_cv_func_strptime_ok" = "yes"; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define HAVE_STRPTIME 1
43237 _ACEOF
43238
43239 fi
43240 fi
43241
43242 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43243 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43244 if test "${wx_cv_var_timezone+set}" = set; then
43245 echo $ECHO_N "(cached) $ECHO_C" >&6
43246 else
43247
43248 ac_ext=cpp
43249 ac_cpp='$CXXCPP $CPPFLAGS'
43250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43253
43254 cat >conftest.$ac_ext <<_ACEOF
43255 /* confdefs.h. */
43256 _ACEOF
43257 cat confdefs.h >>conftest.$ac_ext
43258 cat >>conftest.$ac_ext <<_ACEOF
43259 /* end confdefs.h. */
43260
43261 #include <time.h>
43262
43263 int
43264 main ()
43265 {
43266
43267 int tz;
43268 tz = timezone;
43269
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 rm -f conftest.$ac_objext
43275 if { (ac_try="$ac_compile"
43276 case "(($ac_try" in
43277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43278 *) ac_try_echo=$ac_try;;
43279 esac
43280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43281 (eval "$ac_compile") 2>conftest.er1
43282 ac_status=$?
43283 grep -v '^ *+' conftest.er1 >conftest.err
43284 rm -f conftest.er1
43285 cat conftest.err >&5
43286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287 (exit $ac_status); } && {
43288 test -z "$ac_cxx_werror_flag" ||
43289 test ! -s conftest.err
43290 } && test -s conftest.$ac_objext; then
43291
43292 wx_cv_var_timezone=timezone
43293
43294 else
43295 echo "$as_me: failed program was:" >&5
43296 sed 's/^/| /' conftest.$ac_ext >&5
43297
43298
43299 cat >conftest.$ac_ext <<_ACEOF
43300 /* confdefs.h. */
43301 _ACEOF
43302 cat confdefs.h >>conftest.$ac_ext
43303 cat >>conftest.$ac_ext <<_ACEOF
43304 /* end confdefs.h. */
43305
43306 #include <time.h>
43307
43308 int
43309 main ()
43310 {
43311
43312 int tz;
43313 tz = _timezone;
43314
43315 ;
43316 return 0;
43317 }
43318 _ACEOF
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43324 esac
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43327 ac_status=$?
43328 grep -v '^ *+' conftest.er1 >conftest.err
43329 rm -f conftest.er1
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336
43337 wx_cv_var_timezone=_timezone
43338
43339 else
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.$ac_ext >&5
43342
43343
43344 cat >conftest.$ac_ext <<_ACEOF
43345 /* confdefs.h. */
43346 _ACEOF
43347 cat confdefs.h >>conftest.$ac_ext
43348 cat >>conftest.$ac_ext <<_ACEOF
43349 /* end confdefs.h. */
43350
43351 #include <time.h>
43352
43353 int
43354 main ()
43355 {
43356
43357 int tz;
43358 tz = __timezone;
43359
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 rm -f conftest.$ac_objext
43365 if { (ac_try="$ac_compile"
43366 case "(($ac_try" in
43367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43368 *) ac_try_echo=$ac_try;;
43369 esac
43370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43371 (eval "$ac_compile") 2>conftest.er1
43372 ac_status=$?
43373 grep -v '^ *+' conftest.er1 >conftest.err
43374 rm -f conftest.er1
43375 cat conftest.err >&5
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); } && {
43378 test -z "$ac_cxx_werror_flag" ||
43379 test ! -s conftest.err
43380 } && test -s conftest.$ac_objext; then
43381
43382 wx_cv_var_timezone=__timezone
43383
43384 else
43385 echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43387
43388
43389 if test "$USE_DOS" = 0 ; then
43390 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43391 echo "$as_me: WARNING: no timezone variable" >&2;}
43392 fi
43393
43394
43395 fi
43396
43397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43398
43399
43400 fi
43401
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403
43404
43405 fi
43406
43407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 ac_ext=c
43409 ac_cpp='$CPP $CPPFLAGS'
43410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43413
43414
43415
43416 fi
43417 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43418 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43419
43420 if test "x$wx_cv_var_timezone" != x ; then
43421 cat >>confdefs.h <<_ACEOF
43422 #define WX_TIMEZONE $wx_cv_var_timezone
43423 _ACEOF
43424
43425 fi
43426
43427
43428 for ac_func in localtime
43429 do
43430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43435 else
43436 cat >conftest.$ac_ext <<_ACEOF
43437 /* confdefs.h. */
43438 _ACEOF
43439 cat confdefs.h >>conftest.$ac_ext
43440 cat >>conftest.$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43444 #define $ac_func innocuous_$ac_func
43445
43446 /* System header to define __stub macros and hopefully few prototypes,
43447 which can conflict with char $ac_func (); below.
43448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43449 <limits.h> exists even on freestanding compilers. */
43450
43451 #ifdef __STDC__
43452 # include <limits.h>
43453 #else
43454 # include <assert.h>
43455 #endif
43456
43457 #undef $ac_func
43458
43459 /* Override any GCC internal prototype to avoid an error.
43460 Use char because int might match the return type of a GCC
43461 builtin and then its argument prototype would still apply. */
43462 #ifdef __cplusplus
43463 extern "C"
43464 #endif
43465 char $ac_func ();
43466 /* The GNU C library defines this for functions which it implements
43467 to always fail with ENOSYS. Some functions are actually named
43468 something starting with __ and the normal name is an alias. */
43469 #if defined __stub_$ac_func || defined __stub___$ac_func
43470 choke me
43471 #endif
43472
43473 int
43474 main ()
43475 {
43476 return $ac_func ();
43477 ;
43478 return 0;
43479 }
43480 _ACEOF
43481 rm -f conftest.$ac_objext conftest$ac_exeext
43482 if { (ac_try="$ac_link"
43483 case "(($ac_try" in
43484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43485 *) ac_try_echo=$ac_try;;
43486 esac
43487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43488 (eval "$ac_link") 2>conftest.er1
43489 ac_status=$?
43490 grep -v '^ *+' conftest.er1 >conftest.err
43491 rm -f conftest.er1
43492 cat conftest.err >&5
43493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43494 (exit $ac_status); } && {
43495 test -z "$ac_c_werror_flag" ||
43496 test ! -s conftest.err
43497 } && test -s conftest$ac_exeext &&
43498 $as_test_x conftest$ac_exeext; then
43499 eval "$as_ac_var=yes"
43500 else
43501 echo "$as_me: failed program was:" >&5
43502 sed 's/^/| /' conftest.$ac_ext >&5
43503
43504 eval "$as_ac_var=no"
43505 fi
43506
43507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43508 conftest$ac_exeext conftest.$ac_ext
43509 fi
43510 ac_res=`eval echo '${'$as_ac_var'}'`
43511 { echo "$as_me:$LINENO: result: $ac_res" >&5
43512 echo "${ECHO_T}$ac_res" >&6; }
43513 if test `eval echo '${'$as_ac_var'}'` = yes; then
43514 cat >>confdefs.h <<_ACEOF
43515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43516 _ACEOF
43517
43518 fi
43519 done
43520
43521
43522 if test "$ac_cv_func_localtime" = "yes"; then
43523 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43524 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43525 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43526 echo $ECHO_N "(cached) $ECHO_C" >&6
43527 else
43528
43529 cat >conftest.$ac_ext <<_ACEOF
43530 /* confdefs.h. */
43531 _ACEOF
43532 cat confdefs.h >>conftest.$ac_ext
43533 cat >>conftest.$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43535
43536 #include <time.h>
43537
43538 int
43539 main ()
43540 {
43541
43542 struct tm tm;
43543 tm.tm_gmtoff++;
43544
43545 ;
43546 return 0;
43547 }
43548 _ACEOF
43549 rm -f conftest.$ac_objext
43550 if { (ac_try="$ac_compile"
43551 case "(($ac_try" in
43552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43553 *) ac_try_echo=$ac_try;;
43554 esac
43555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43556 (eval "$ac_compile") 2>conftest.er1
43557 ac_status=$?
43558 grep -v '^ *+' conftest.er1 >conftest.err
43559 rm -f conftest.er1
43560 cat conftest.err >&5
43561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43562 (exit $ac_status); } && {
43563 test -z "$ac_c_werror_flag" ||
43564 test ! -s conftest.err
43565 } && test -s conftest.$ac_objext; then
43566
43567 wx_cv_struct_tm_has_gmtoff=yes
43568
43569 else
43570 echo "$as_me: failed program was:" >&5
43571 sed 's/^/| /' conftest.$ac_ext >&5
43572
43573 wx_cv_struct_tm_has_gmtoff=no
43574
43575 fi
43576
43577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43578
43579 fi
43580 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43581 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43582 fi
43583
43584 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define WX_GMTOFF_IN_TM 1
43587 _ACEOF
43588
43589 fi
43590
43591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43592 fi
43593
43594
43595 if test "$wxUSE_SOCKETS" = "yes"; then
43596 if test "$wxUSE_MGL" = 1; then
43597 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43598 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43599 wxUSE_SOCKETS="no"
43600 fi
43601 fi
43602
43603 if test "$wxUSE_SOCKETS" = "yes"; then
43604 if test "$TOOLKIT" != "MSW"; then
43605 { echo "$as_me:$LINENO: checking for socket" >&5
43606 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43607 if test "${ac_cv_func_socket+set}" = set; then
43608 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 else
43610 cat >conftest.$ac_ext <<_ACEOF
43611 /* confdefs.h. */
43612 _ACEOF
43613 cat confdefs.h >>conftest.$ac_ext
43614 cat >>conftest.$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43616 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43618 #define socket innocuous_socket
43619
43620 /* System header to define __stub macros and hopefully few prototypes,
43621 which can conflict with char socket (); below.
43622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43623 <limits.h> exists even on freestanding compilers. */
43624
43625 #ifdef __STDC__
43626 # include <limits.h>
43627 #else
43628 # include <assert.h>
43629 #endif
43630
43631 #undef socket
43632
43633 /* Override any GCC internal prototype to avoid an error.
43634 Use char because int might match the return type of a GCC
43635 builtin and then its argument prototype would still apply. */
43636 #ifdef __cplusplus
43637 extern "C"
43638 #endif
43639 char socket ();
43640 /* The GNU C library defines this for functions which it implements
43641 to always fail with ENOSYS. Some functions are actually named
43642 something starting with __ and the normal name is an alias. */
43643 #if defined __stub_socket || defined __stub___socket
43644 choke me
43645 #endif
43646
43647 int
43648 main ()
43649 {
43650 return socket ();
43651 ;
43652 return 0;
43653 }
43654 _ACEOF
43655 rm -f conftest.$ac_objext conftest$ac_exeext
43656 if { (ac_try="$ac_link"
43657 case "(($ac_try" in
43658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43659 *) ac_try_echo=$ac_try;;
43660 esac
43661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43662 (eval "$ac_link") 2>conftest.er1
43663 ac_status=$?
43664 grep -v '^ *+' conftest.er1 >conftest.err
43665 rm -f conftest.er1
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } && {
43669 test -z "$ac_c_werror_flag" ||
43670 test ! -s conftest.err
43671 } && test -s conftest$ac_exeext &&
43672 $as_test_x conftest$ac_exeext; then
43673 ac_cv_func_socket=yes
43674 else
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43677
43678 ac_cv_func_socket=no
43679 fi
43680
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43683 fi
43684 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43685 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43686 if test $ac_cv_func_socket = yes; then
43687 :
43688 else
43689
43690 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43691 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43692 if test "${ac_cv_lib_socket_socket+set}" = set; then
43693 echo $ECHO_N "(cached) $ECHO_C" >&6
43694 else
43695 ac_check_lib_save_LIBS=$LIBS
43696 LIBS="-lsocket $LIBS"
43697 cat >conftest.$ac_ext <<_ACEOF
43698 /* confdefs.h. */
43699 _ACEOF
43700 cat confdefs.h >>conftest.$ac_ext
43701 cat >>conftest.$ac_ext <<_ACEOF
43702 /* end confdefs.h. */
43703
43704 /* Override any GCC internal prototype to avoid an error.
43705 Use char because int might match the return type of a GCC
43706 builtin and then its argument prototype would still apply. */
43707 #ifdef __cplusplus
43708 extern "C"
43709 #endif
43710 char socket ();
43711 int
43712 main ()
43713 {
43714 return socket ();
43715 ;
43716 return 0;
43717 }
43718 _ACEOF
43719 rm -f conftest.$ac_objext conftest$ac_exeext
43720 if { (ac_try="$ac_link"
43721 case "(($ac_try" in
43722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43723 *) ac_try_echo=$ac_try;;
43724 esac
43725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43726 (eval "$ac_link") 2>conftest.er1
43727 ac_status=$?
43728 grep -v '^ *+' conftest.er1 >conftest.err
43729 rm -f conftest.er1
43730 cat conftest.err >&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } && {
43733 test -z "$ac_c_werror_flag" ||
43734 test ! -s conftest.err
43735 } && test -s conftest$ac_exeext &&
43736 $as_test_x conftest$ac_exeext; then
43737 ac_cv_lib_socket_socket=yes
43738 else
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43741
43742 ac_cv_lib_socket_socket=no
43743 fi
43744
43745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43746 conftest$ac_exeext conftest.$ac_ext
43747 LIBS=$ac_check_lib_save_LIBS
43748 fi
43749 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43750 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43751 if test $ac_cv_lib_socket_socket = yes; then
43752 if test "$INET_LINK" != " -lsocket"; then
43753 INET_LINK="$INET_LINK -lsocket"
43754 fi
43755 else
43756
43757 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43758 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43759 wxUSE_SOCKETS=no
43760
43761
43762 fi
43763
43764
43765
43766 fi
43767
43768 fi
43769 fi
43770
43771 if test "$wxUSE_SOCKETS" = "yes" ; then
43772 if test "$TOOLKIT" != "MSW"; then
43773 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43774 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43775 if test "${wx_cv_type_getsockname3+set}" = set; then
43776 echo $ECHO_N "(cached) $ECHO_C" >&6
43777 else
43778
43779 ac_ext=cpp
43780 ac_cpp='$CXXCPP $CPPFLAGS'
43781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43784
43785 cat >conftest.$ac_ext <<_ACEOF
43786 /* confdefs.h. */
43787 _ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791
43792 #include <sys/types.h>
43793 #include <sys/socket.h>
43794
43795 int
43796 main ()
43797 {
43798
43799 socklen_t len;
43800 getsockname(0, 0, &len);
43801
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 rm -f conftest.$ac_objext
43807 if { (ac_try="$ac_compile"
43808 case "(($ac_try" in
43809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43811 esac
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_compile") 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_cxx_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest.$ac_objext; then
43823 wx_cv_type_getsockname3=socklen_t
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43827
43828
43829 CFLAGS_OLD="$CFLAGS"
43830 if test "$GCC" = yes ; then
43831 CFLAGS="-Werror $CFLAGS"
43832 fi
43833
43834 cat >conftest.$ac_ext <<_ACEOF
43835 /* confdefs.h. */
43836 _ACEOF
43837 cat confdefs.h >>conftest.$ac_ext
43838 cat >>conftest.$ac_ext <<_ACEOF
43839 /* end confdefs.h. */
43840
43841 #include <sys/types.h>
43842 #include <sys/socket.h>
43843
43844 int
43845 main ()
43846 {
43847
43848 size_t len;
43849 getsockname(0, 0, &len);
43850
43851 ;
43852 return 0;
43853 }
43854 _ACEOF
43855 rm -f conftest.$ac_objext
43856 if { (ac_try="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43860 esac
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_cxx_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 wx_cv_type_getsockname3=size_t
43873 else
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43876
43877 cat >conftest.$ac_ext <<_ACEOF
43878 /* confdefs.h. */
43879 _ACEOF
43880 cat confdefs.h >>conftest.$ac_ext
43881 cat >>conftest.$ac_ext <<_ACEOF
43882 /* end confdefs.h. */
43883
43884 #include <sys/types.h>
43885 #include <sys/socket.h>
43886
43887 int
43888 main ()
43889 {
43890
43891 int len;
43892 getsockname(0, 0, &len);
43893
43894 ;
43895 return 0;
43896 }
43897 _ACEOF
43898 rm -f conftest.$ac_objext
43899 if { (ac_try="$ac_compile"
43900 case "(($ac_try" in
43901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43902 *) ac_try_echo=$ac_try;;
43903 esac
43904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43905 (eval "$ac_compile") 2>conftest.er1
43906 ac_status=$?
43907 grep -v '^ *+' conftest.er1 >conftest.err
43908 rm -f conftest.er1
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } && {
43912 test -z "$ac_cxx_werror_flag" ||
43913 test ! -s conftest.err
43914 } && test -s conftest.$ac_objext; then
43915 wx_cv_type_getsockname3=int
43916 else
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43919
43920 wx_cv_type_getsockname3=unknown
43921
43922 fi
43923
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43925
43926 fi
43927
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929
43930 CFLAGS="$CFLAGS_OLD"
43931
43932
43933 fi
43934
43935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43936 ac_ext=c
43937 ac_cpp='$CPP $CPPFLAGS'
43938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43941
43942
43943 fi
43944 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43945 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43946
43947 if test "$wx_cv_type_getsockname3" = "unknown"; then
43948 wxUSE_SOCKETS=no
43949 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43950 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43951 else
43952 cat >>confdefs.h <<_ACEOF
43953 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43954 _ACEOF
43955
43956 fi
43957 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43958 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43959 if test "${wx_cv_type_getsockopt5+set}" = set; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43961 else
43962
43963 ac_ext=cpp
43964 ac_cpp='$CXXCPP $CPPFLAGS'
43965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968
43969 cat >conftest.$ac_ext <<_ACEOF
43970 /* confdefs.h. */
43971 _ACEOF
43972 cat confdefs.h >>conftest.$ac_ext
43973 cat >>conftest.$ac_ext <<_ACEOF
43974 /* end confdefs.h. */
43975
43976 #include <sys/types.h>
43977 #include <sys/socket.h>
43978
43979 int
43980 main ()
43981 {
43982
43983 socklen_t len;
43984 getsockopt(0, 0, 0, 0, &len);
43985
43986 ;
43987 return 0;
43988 }
43989 _ACEOF
43990 rm -f conftest.$ac_objext
43991 if { (ac_try="$ac_compile"
43992 case "(($ac_try" in
43993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43995 esac
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_compile") 2>conftest.er1
43998 ac_status=$?
43999 grep -v '^ *+' conftest.er1 >conftest.err
44000 rm -f conftest.er1
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_cxx_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest.$ac_objext; then
44007 wx_cv_type_getsockopt5=socklen_t
44008 else
44009 echo "$as_me: failed program was:" >&5
44010 sed 's/^/| /' conftest.$ac_ext >&5
44011
44012
44013 cat >conftest.$ac_ext <<_ACEOF
44014 /* confdefs.h. */
44015 _ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44019
44020 #include <sys/types.h>
44021 #include <sys/socket.h>
44022
44023 int
44024 main ()
44025 {
44026
44027 size_t len;
44028 getsockopt(0, 0, 0, 0, &len);
44029
44030 ;
44031 return 0;
44032 }
44033 _ACEOF
44034 rm -f conftest.$ac_objext
44035 if { (ac_try="$ac_compile"
44036 case "(($ac_try" in
44037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44038 *) ac_try_echo=$ac_try;;
44039 esac
44040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44041 (eval "$ac_compile") 2>conftest.er1
44042 ac_status=$?
44043 grep -v '^ *+' conftest.er1 >conftest.err
44044 rm -f conftest.er1
44045 cat conftest.err >&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); } && {
44048 test -z "$ac_cxx_werror_flag" ||
44049 test ! -s conftest.err
44050 } && test -s conftest.$ac_objext; then
44051 wx_cv_type_getsockopt5=size_t
44052 else
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.$ac_ext >&5
44055
44056 cat >conftest.$ac_ext <<_ACEOF
44057 /* confdefs.h. */
44058 _ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44062
44063 #include <sys/types.h>
44064 #include <sys/socket.h>
44065
44066 int
44067 main ()
44068 {
44069
44070 int len;
44071 getsockopt(0, 0, 0, 0, &len);
44072
44073 ;
44074 return 0;
44075 }
44076 _ACEOF
44077 rm -f conftest.$ac_objext
44078 if { (ac_try="$ac_compile"
44079 case "(($ac_try" in
44080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44082 esac
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_compile") 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_cxx_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest.$ac_objext; then
44094 wx_cv_type_getsockopt5=int
44095 else
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.$ac_ext >&5
44098
44099 wx_cv_type_getsockopt5=unknown
44100
44101 fi
44102
44103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44104
44105 fi
44106
44107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44108
44109
44110 fi
44111
44112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44113 ac_ext=c
44114 ac_cpp='$CPP $CPPFLAGS'
44115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44118
44119
44120 fi
44121 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44122 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44123
44124 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44125 wxUSE_SOCKETS=no
44126 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44127 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44128 else
44129 cat >>confdefs.h <<_ACEOF
44130 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44131 _ACEOF
44132
44133 fi
44134 fi
44135 fi
44136
44137 if test "$wxUSE_SOCKETS" = "yes" ; then
44138 if test "$wxUSE_IPV6" = "yes"; then
44139 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44140 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44141 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44142 echo $ECHO_N "(cached) $ECHO_C" >&6
44143 else
44144
44145 cat >conftest.$ac_ext <<_ACEOF
44146 /* confdefs.h. */
44147 _ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151
44152 #include <sys/types.h>
44153 #include <sys/socket.h>
44154 #include <netinet/in.h>
44155
44156 int
44157 main ()
44158 {
44159
44160 struct sockaddr_in6 sa6;
44161
44162 ;
44163 return 0;
44164 }
44165 _ACEOF
44166 rm -f conftest.$ac_objext
44167 if { (ac_try="$ac_compile"
44168 case "(($ac_try" in
44169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44170 *) ac_try_echo=$ac_try;;
44171 esac
44172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44173 (eval "$ac_compile") 2>conftest.er1
44174 ac_status=$?
44175 grep -v '^ *+' conftest.er1 >conftest.err
44176 rm -f conftest.er1
44177 cat conftest.err >&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); } && {
44180 test -z "$ac_c_werror_flag" ||
44181 test ! -s conftest.err
44182 } && test -s conftest.$ac_objext; then
44183 wx_cv_type_sockaddr_in6=yes
44184 else
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44187
44188 wx_cv_type_sockaddr_in6=no
44189
44190 fi
44191
44192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44193
44194
44195 fi
44196 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44197 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44198
44199 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_IPV6 1
44202 _ACEOF
44203
44204 else
44205 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44206 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44207 fi
44208 fi
44209
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_SOCKETS 1
44212 _ACEOF
44213
44214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44215 fi
44216
44217 if test "$wxUSE_PROTOCOL" = "yes"; then
44218 if test "$wxUSE_SOCKETS" != "yes"; then
44219 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44220 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44221 wxUSE_PROTOCOL=no
44222 fi
44223 fi
44224
44225 if test "$wxUSE_PROTOCOL" = "yes"; then
44226 cat >>confdefs.h <<\_ACEOF
44227 #define wxUSE_PROTOCOL 1
44228 _ACEOF
44229
44230
44231 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44232 cat >>confdefs.h <<\_ACEOF
44233 #define wxUSE_PROTOCOL_HTTP 1
44234 _ACEOF
44235
44236 fi
44237 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define wxUSE_PROTOCOL_FTP 1
44240 _ACEOF
44241
44242 fi
44243 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_PROTOCOL_FILE 1
44246 _ACEOF
44247
44248 fi
44249 else
44250 if test "$wxUSE_FS_INET" = "yes"; then
44251 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44252 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44253 wxUSE_FS_INET="no"
44254 fi
44255 fi
44256
44257 if test "$wxUSE_URL" = "yes"; then
44258 if test "$wxUSE_PROTOCOL" != "yes"; then
44259 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44260 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44261 wxUSE_URL=no
44262 fi
44263 if test "$wxUSE_URL" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_URL 1
44266 _ACEOF
44267
44268 fi
44269 fi
44270
44271 if test "$wxUSE_VARIANT" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_VARIANT 1
44274 _ACEOF
44275
44276 fi
44277
44278 if test "$wxUSE_FS_INET" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_FS_INET 1
44281 _ACEOF
44282
44283 fi
44284
44285
44286 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44287 wxUSE_JOYSTICK=no
44288
44289 if test "$TOOLKIT" = "MSW"; then
44290 wxUSE_JOYSTICK=yes
44291
44292 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44293 if test "$USE_DARWIN" = 1; then
44294 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44295 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44296 ac_ext=cpp
44297 ac_cpp='$CXXCPP $CPPFLAGS'
44298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301
44302 cat >conftest.$ac_ext <<_ACEOF
44303 /* confdefs.h. */
44304 _ACEOF
44305 cat confdefs.h >>conftest.$ac_ext
44306 cat >>conftest.$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44308 #include <IOKit/hid/IOHIDLib.h>
44309 int
44310 main ()
44311 {
44312 IOHIDQueueInterface *qi = NULL;
44313 IOHIDCallbackFunction cb = NULL;
44314 qi->setEventCallout(NULL, cb, NULL, NULL);
44315 ;
44316 return 0;
44317 }
44318 _ACEOF
44319 rm -f conftest.$ac_objext
44320 if { (ac_try="$ac_compile"
44321 case "(($ac_try" in
44322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44323 *) ac_try_echo=$ac_try;;
44324 esac
44325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44326 (eval "$ac_compile") 2>conftest.er1
44327 ac_status=$?
44328 grep -v '^ *+' conftest.er1 >conftest.err
44329 rm -f conftest.er1
44330 cat conftest.err >&5
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); } && {
44333 test -z "$ac_cxx_werror_flag" ||
44334 test ! -s conftest.err
44335 } && test -s conftest.$ac_objext; then
44336 wxUSE_JOYSTICK=yes
44337
44338 else
44339 echo "$as_me: failed program was:" >&5
44340 sed 's/^/| /' conftest.$ac_ext >&5
44341
44342
44343 fi
44344
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346 ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351
44352 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44353 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44354 fi
44355
44356 else
44357 if test "$wxUSE_MGL" != 1; then
44358
44359 for ac_header in linux/joystick.h
44360 do
44361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44365 echo $ECHO_N "(cached) $ECHO_C" >&6
44366 else
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 $ac_includes_default
44374
44375 #include <$ac_header>
44376 _ACEOF
44377 rm -f conftest.$ac_objext
44378 if { (ac_try="$ac_compile"
44379 case "(($ac_try" in
44380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44381 *) ac_try_echo=$ac_try;;
44382 esac
44383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44384 (eval "$ac_compile") 2>conftest.er1
44385 ac_status=$?
44386 grep -v '^ *+' conftest.er1 >conftest.err
44387 rm -f conftest.er1
44388 cat conftest.err >&5
44389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390 (exit $ac_status); } && {
44391 test -z "$ac_c_werror_flag" ||
44392 test ! -s conftest.err
44393 } && test -s conftest.$ac_objext; then
44394 eval "$as_ac_Header=yes"
44395 else
44396 echo "$as_me: failed program was:" >&5
44397 sed 's/^/| /' conftest.$ac_ext >&5
44398
44399 eval "$as_ac_Header=no"
44400 fi
44401
44402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44403 fi
44404 ac_res=`eval echo '${'$as_ac_Header'}'`
44405 { echo "$as_me:$LINENO: result: $ac_res" >&5
44406 echo "${ECHO_T}$ac_res" >&6; }
44407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44408 cat >>confdefs.h <<_ACEOF
44409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44410 _ACEOF
44411 wxUSE_JOYSTICK=yes
44412 fi
44413
44414 done
44415
44416 fi
44417 fi
44418
44419 if test "$wxUSE_JOYSTICK" = "yes"; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_JOYSTICK 1
44422 _ACEOF
44423
44424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44425 else
44426 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44427 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44428 fi
44429 fi
44430
44431
44432
44433 if test "$wxUSE_FONTENUM" = "yes" ; then
44434 cat >>confdefs.h <<\_ACEOF
44435 #define wxUSE_FONTENUM 1
44436 _ACEOF
44437
44438 fi
44439
44440 if test "$wxUSE_FONTMAP" = "yes" ; then
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_FONTMAP 1
44443 _ACEOF
44444
44445 fi
44446
44447 if test "$wxUSE_UNICODE" = "yes" ; then
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_UNICODE 1
44450 _ACEOF
44451
44452
44453 if test "$USE_WIN32" != 1; then
44454 wxUSE_UNICODE_MSLU=no
44455 fi
44456
44457 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44458 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44459 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44460 if test "${ac_cv_lib_unicows_main+set}" = set; then
44461 echo $ECHO_N "(cached) $ECHO_C" >&6
44462 else
44463 ac_check_lib_save_LIBS=$LIBS
44464 LIBS="-lunicows $LIBS"
44465 cat >conftest.$ac_ext <<_ACEOF
44466 /* confdefs.h. */
44467 _ACEOF
44468 cat confdefs.h >>conftest.$ac_ext
44469 cat >>conftest.$ac_ext <<_ACEOF
44470 /* end confdefs.h. */
44471
44472
44473 int
44474 main ()
44475 {
44476 return main ();
44477 ;
44478 return 0;
44479 }
44480 _ACEOF
44481 rm -f conftest.$ac_objext conftest$ac_exeext
44482 if { (ac_try="$ac_link"
44483 case "(($ac_try" in
44484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44485 *) ac_try_echo=$ac_try;;
44486 esac
44487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44488 (eval "$ac_link") 2>conftest.er1
44489 ac_status=$?
44490 grep -v '^ *+' conftest.er1 >conftest.err
44491 rm -f conftest.er1
44492 cat conftest.err >&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); } && {
44495 test -z "$ac_c_werror_flag" ||
44496 test ! -s conftest.err
44497 } && test -s conftest$ac_exeext &&
44498 $as_test_x conftest$ac_exeext; then
44499 ac_cv_lib_unicows_main=yes
44500 else
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44503
44504 ac_cv_lib_unicows_main=no
44505 fi
44506
44507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44508 conftest$ac_exeext conftest.$ac_ext
44509 LIBS=$ac_check_lib_save_LIBS
44510 fi
44511 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44512 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44513 if test $ac_cv_lib_unicows_main = yes; then
44514
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_UNICODE_MSLU 1
44517 _ACEOF
44518
44519
44520 else
44521
44522 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44523 Applications will only run on Windows NT/2000/XP!" >&5
44524 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44525 Applications will only run on Windows NT/2000/XP!" >&2;}
44526 wxUSE_UNICODE_MSLU=no
44527
44528 fi
44529
44530 fi
44531 fi
44532
44533 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_UNICODE_UTF8 1
44536 _ACEOF
44537
44538
44539 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_UTF8_LOCALE_ONLY 1
44542 _ACEOF
44543
44544 fi
44545 fi
44546
44547
44548 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_CONSTRAINTS 1
44551 _ACEOF
44552
44553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44554 fi
44555
44556 if test "$wxUSE_MDI" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_MDI 1
44559 _ACEOF
44560
44561
44562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_MDI_ARCHITECTURE 1
44565 _ACEOF
44566
44567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44568 fi
44569 fi
44570
44571 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44574 _ACEOF
44575
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44577 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44579 fi
44580 fi
44581
44582 if test "$wxUSE_HELP" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_HELP 1
44585 _ACEOF
44586
44587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44588
44589 if test "$wxUSE_MSW" = 1; then
44590 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_MS_HTML_HELP 1
44593 _ACEOF
44594
44595 fi
44596 fi
44597
44598 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44599 if test "$wxUSE_HTML" = "yes"; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define wxUSE_WXHTML_HELP 1
44602 _ACEOF
44603
44604 else
44605 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44606 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44607 wxUSE_WXHTML_HELP=no
44608 fi
44609 fi
44610 fi
44611
44612 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44613 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44614 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44615 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44616 else
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_PRINTING_ARCHITECTURE 1
44619 _ACEOF
44620
44621 fi
44622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44623 fi
44624
44625 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_POSTSCRIPT 1
44628 _ACEOF
44629
44630 fi
44631
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44634 _ACEOF
44635
44636
44637 if test "$wxUSE_SVG" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_SVG 1
44640 _ACEOF
44641
44642 fi
44643
44644
44645 if test "$wxUSE_METAFILE" = "yes"; then
44646 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44647 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44648 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44649 wxUSE_METAFILE=no
44650 fi
44651 fi
44652
44653
44654 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44655 -o "$wxUSE_CLIPBOARD" = "yes" \
44656 -o "$wxUSE_OLE" = "yes" \
44657 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44658 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44659 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44660 if test "${ac_cv_header_ole2_h+set}" = set; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44662 else
44663 cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h. */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44669
44670
44671 #include <ole2.h>
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_c_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 ac_cv_header_ole2_h=yes
44691 else
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44694
44695 ac_cv_header_ole2_h=no
44696 fi
44697
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 fi
44700 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44701 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44702
44703
44704
44705 if test "$ac_cv_header_ole2_h" = "yes" ; then
44706 if test "$GCC" = yes ; then
44707 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44708 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44709 cat >conftest.$ac_ext <<_ACEOF
44710 /* confdefs.h. */
44711 _ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44715 #include <windows.h>
44716 #include <ole2.h>
44717 int
44718 main ()
44719 {
44720
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (ac_try="$ac_compile"
44727 case "(($ac_try" in
44728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44730 esac
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_compile") 2>conftest.er1
44733 ac_status=$?
44734 grep -v '^ *+' conftest.er1 >conftest.err
44735 rm -f conftest.er1
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_c_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest.$ac_objext; then
44742 { echo "$as_me:$LINENO: result: no" >&5
44743 echo "${ECHO_T}no" >&6; }
44744 else
44745 echo "$as_me: failed program was:" >&5
44746 sed 's/^/| /' conftest.$ac_ext >&5
44747
44748 { echo "$as_me:$LINENO: result: yes" >&5
44749 echo "${ECHO_T}yes" >&6; }
44750 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44751 fi
44752
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44755 if test "$wxUSE_OLE" = "yes" ; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_OLE 1
44758 _ACEOF
44759
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_OLE_AUTOMATION 1
44762 _ACEOF
44763
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_ACTIVEX 1
44766 _ACEOF
44767
44768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44769 fi
44770 fi
44771
44772 if test "$wxUSE_DATAOBJ" = "yes" ; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_DATAOBJ 1
44775 _ACEOF
44776
44777 fi
44778 else
44779 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44780 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44781
44782 wxUSE_CLIPBOARD=no
44783 wxUSE_DRAG_AND_DROP=no
44784 wxUSE_DATAOBJ=no
44785 wxUSE_OLE=no
44786 fi
44787
44788 if test "$wxUSE_METAFILE" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_METAFILE 1
44791 _ACEOF
44792
44793
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_ENH_METAFILE 1
44796 _ACEOF
44797
44798 fi
44799 fi
44800
44801 if test "$wxUSE_IPC" = "yes"; then
44802 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44803 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44804 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44805 wxUSE_IPC=no
44806 fi
44807
44808 if test "$wxUSE_IPC" = "yes"; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_IPC 1
44811 _ACEOF
44812
44813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44814 fi
44815 fi
44816
44817 if test "$wxUSE_DATAOBJ" = "yes"; then
44818 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44819 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44820 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44821 wxUSE_DATAOBJ=no
44822 else
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_DATAOBJ 1
44825 _ACEOF
44826
44827 fi
44828 else
44829 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44830 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44831 wxUSE_CLIPBOARD=no
44832 wxUSE_DRAG_AND_DROP=no
44833 fi
44834
44835 if test "$wxUSE_CLIPBOARD" = "yes"; then
44836 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44837 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44838 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44839 wxUSE_CLIPBOARD=no
44840 fi
44841
44842 if test "$wxUSE_CLIPBOARD" = "yes"; then
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_CLIPBOARD 1
44845 _ACEOF
44846
44847 fi
44848 fi
44849
44850 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44851 if test "$wxUSE_GTK" = 1; then
44852 if test "$WXGTK12" != 1; then
44853 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44854 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44855 wxUSE_DRAG_AND_DROP=no
44856 fi
44857 fi
44858
44859 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44860 "$wxUSE_DFB" = 1; then
44861 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44862 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44863 wxUSE_DRAG_AND_DROP=no
44864 fi
44865
44866 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_DRAG_AND_DROP 1
44869 _ACEOF
44870
44871 fi
44872
44873 fi
44874
44875 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44877 fi
44878
44879 if test "$wxUSE_SPLINES" = "yes" ; then
44880 cat >>confdefs.h <<\_ACEOF
44881 #define wxUSE_SPLINES 1
44882 _ACEOF
44883
44884 fi
44885
44886 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_MOUSEWHEEL 1
44889 _ACEOF
44890
44891 fi
44892
44893
44894 USES_CONTROLS=0
44895 if test "$wxUSE_CONTROLS" = "yes"; then
44896 USES_CONTROLS=1
44897 fi
44898
44899 if test "$wxUSE_ACCEL" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_ACCEL 1
44902 _ACEOF
44903
44904 USES_CONTROLS=1
44905 fi
44906
44907 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_ANIMATIONCTRL 1
44910 _ACEOF
44911
44912 USES_CONTROLS=1
44913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44914 fi
44915
44916 if test "$wxUSE_BUTTON" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_BUTTON 1
44919 _ACEOF
44920
44921 USES_CONTROLS=1
44922 fi
44923
44924 if test "$wxUSE_BMPBUTTON" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_BMPBUTTON 1
44927 _ACEOF
44928
44929 USES_CONTROLS=1
44930 fi
44931
44932 if test "$wxUSE_CALCTRL" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_CALENDARCTRL 1
44935 _ACEOF
44936
44937 USES_CONTROLS=1
44938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44939 fi
44940
44941 if test "$wxUSE_CARET" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_CARET 1
44944 _ACEOF
44945
44946 USES_CONTROLS=1
44947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44948 fi
44949
44950 if test "$wxUSE_COLLPANE" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_COLLPANE 1
44953 _ACEOF
44954
44955 USES_CONTROLS=1
44956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44957 fi
44958
44959 if test "$wxUSE_COMBOBOX" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_COMBOBOX 1
44962 _ACEOF
44963
44964 USES_CONTROLS=1
44965 fi
44966
44967 if test "$wxUSE_COMBOCTRL" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_COMBOCTRL 1
44970 _ACEOF
44971
44972 USES_CONTROLS=1
44973 fi
44974
44975 if test "$wxUSE_CHOICE" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_CHOICE 1
44978 _ACEOF
44979
44980 USES_CONTROLS=1
44981 fi
44982
44983 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_CHOICEBOOK 1
44986 _ACEOF
44987
44988 USES_CONTROLS=1
44989 fi
44990
44991 if test "$wxUSE_CHECKBOX" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_CHECKBOX 1
44994 _ACEOF
44995
44996 USES_CONTROLS=1
44997 fi
44998
44999 if test "$wxUSE_CHECKLST" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_CHECKLISTBOX 1
45002 _ACEOF
45003
45004 USES_CONTROLS=1
45005 fi
45006
45007 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_COLOURPICKERCTRL 1
45010 _ACEOF
45011
45012 USES_CONTROLS=1
45013 fi
45014
45015 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_DATEPICKCTRL 1
45018 _ACEOF
45019
45020 USES_CONTROLS=1
45021 fi
45022
45023 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_DIRPICKERCTRL 1
45026 _ACEOF
45027
45028 USES_CONTROLS=1
45029 fi
45030
45031 if test "$wxUSE_FILECTRL" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_FILECTRL 1
45034 _ACEOF
45035
45036 USES_CONTROLS=1
45037 fi
45038
45039 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_FILEPICKERCTRL 1
45042 _ACEOF
45043
45044 USES_CONTROLS=1
45045 fi
45046
45047 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_FONTPICKERCTRL 1
45050 _ACEOF
45051
45052 USES_CONTROLS=1
45053 fi
45054
45055 if test "$wxUSE_DISPLAY" = "yes"; then
45056 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45057 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45058 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45059 wxUSE_DISPLAY=no
45060 else
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_DISPLAY 1
45063 _ACEOF
45064
45065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45066 fi
45067 fi
45068
45069 if test "$wxUSE_DETECT_SM" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_DETECT_SM 1
45072 _ACEOF
45073
45074 fi
45075
45076 if test "$wxUSE_GAUGE" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_GAUGE 1
45079 _ACEOF
45080
45081 USES_CONTROLS=1
45082 fi
45083
45084 if test "$wxUSE_GRID" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_GRID 1
45087 _ACEOF
45088
45089 USES_CONTROLS=1
45090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45091 fi
45092
45093 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_HYPERLINKCTRL 1
45096 _ACEOF
45097
45098 USES_CONTROLS=1
45099 fi
45100
45101 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_BITMAPCOMBOBOX 1
45104 _ACEOF
45105
45106 USES_CONTROLS=1
45107 fi
45108
45109 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_DATAVIEWCTRL 1
45112 _ACEOF
45113
45114 USES_CONTROLS=1
45115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45116 fi
45117
45118 if test "$wxUSE_IMAGLIST" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_IMAGLIST 1
45121 _ACEOF
45122
45123 fi
45124
45125 if test "$wxUSE_LISTBOOK" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_LISTBOOK 1
45128 _ACEOF
45129
45130 USES_CONTROLS=1
45131 fi
45132
45133 if test "$wxUSE_LISTBOX" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_LISTBOX 1
45136 _ACEOF
45137
45138 USES_CONTROLS=1
45139 fi
45140
45141 if test "$wxUSE_LISTCTRL" = "yes"; then
45142 if test "$wxUSE_IMAGLIST" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_LISTCTRL 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45149 else
45150 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45151 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45152 fi
45153 fi
45154
45155 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_EDITABLELISTBOX 1
45158 _ACEOF
45159
45160 USES_CONTROLS=1
45161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45162 fi
45163
45164 if test "$wxUSE_NOTEBOOK" = "yes"; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_NOTEBOOK 1
45167 _ACEOF
45168
45169 USES_CONTROLS=1
45170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45171 fi
45172
45173 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_ODCOMBOBOX 1
45176 _ACEOF
45177
45178 USES_CONTROLS=1
45179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45180 fi
45181
45182 if test "$wxUSE_RADIOBOX" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_RADIOBOX 1
45185 _ACEOF
45186
45187 USES_CONTROLS=1
45188 fi
45189
45190 if test "$wxUSE_RADIOBTN" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_RADIOBTN 1
45193 _ACEOF
45194
45195 USES_CONTROLS=1
45196 fi
45197
45198 if test "$wxUSE_SASH" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_SASH 1
45201 _ACEOF
45202
45203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45204 fi
45205
45206 if test "$wxUSE_SCROLLBAR" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SCROLLBAR 1
45209 _ACEOF
45210
45211 USES_CONTROLS=1
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45213 fi
45214
45215 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_SEARCHCTRL 1
45218 _ACEOF
45219
45220 USES_CONTROLS=1
45221 fi
45222
45223 if test "$wxUSE_SLIDER" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_SLIDER 1
45226 _ACEOF
45227
45228 USES_CONTROLS=1
45229 fi
45230
45231 if test "$wxUSE_SPINBTN" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_SPINBTN 1
45234 _ACEOF
45235
45236 USES_CONTROLS=1
45237 fi
45238
45239 if test "$wxUSE_SPINCTRL" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_SPINCTRL 1
45242 _ACEOF
45243
45244 USES_CONTROLS=1
45245 fi
45246
45247 if test "$wxUSE_SPLITTER" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_SPLITTER 1
45250 _ACEOF
45251
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45253 fi
45254
45255 if test "$wxUSE_STATBMP" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_STATBMP 1
45258 _ACEOF
45259
45260 USES_CONTROLS=1
45261 fi
45262
45263 if test "$wxUSE_STATBOX" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_STATBOX 1
45266 _ACEOF
45267
45268 USES_CONTROLS=1
45269 fi
45270
45271 if test "$wxUSE_STATTEXT" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_STATTEXT 1
45274 _ACEOF
45275
45276 USES_CONTROLS=1
45277 fi
45278
45279 if test "$wxUSE_STATLINE" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_STATLINE 1
45282 _ACEOF
45283
45284 USES_CONTROLS=1
45285 fi
45286
45287 if test "$wxUSE_STATUSBAR" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_NATIVE_STATUSBAR 1
45290 _ACEOF
45291
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_STATUSBAR 1
45294 _ACEOF
45295
45296 USES_CONTROLS=1
45297
45298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45299 fi
45300
45301 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_TAB_DIALOG 1
45304 _ACEOF
45305
45306 fi
45307
45308 if test "$wxUSE_TEXTCTRL" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_TEXTCTRL 1
45311 _ACEOF
45312
45313 USES_CONTROLS=1
45314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45315 fi
45316
45317 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45318 if test "$wxUSE_COCOA" = 1 ; then
45319 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45320 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45321 wxUSE_TOGGLEBTN=no
45322 fi
45323
45324 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_TOGGLEBTN 1
45327 _ACEOF
45328
45329 USES_CONTROLS=1
45330 fi
45331 fi
45332
45333 if test "$wxUSE_TOOLBAR" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_TOOLBAR 1
45336 _ACEOF
45337
45338 USES_CONTROLS=1
45339
45340 if test "$wxUSE_UNIVERSAL" = "yes"; then
45341 wxUSE_TOOLBAR_NATIVE="no"
45342 else
45343 wxUSE_TOOLBAR_NATIVE="yes"
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_TOOLBAR_NATIVE 1
45346 _ACEOF
45347
45348 fi
45349
45350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45351 fi
45352
45353 if test "$wxUSE_TOOLTIPS" = "yes"; then
45354 if test "$wxUSE_MOTIF" = 1; then
45355 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45356 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45357 else
45358 if test "$wxUSE_UNIVERSAL" = "yes"; then
45359 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45360 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45361 else
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_TOOLTIPS 1
45364 _ACEOF
45365
45366 fi
45367 fi
45368 fi
45369
45370 if test "$wxUSE_TREEBOOK" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_TREEBOOK 1
45373 _ACEOF
45374
45375 USES_CONTROLS=1
45376 fi
45377
45378 if test "$wxUSE_TOOLBOOK" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_TOOLBOOK 1
45381 _ACEOF
45382
45383 USES_CONTROLS=1
45384 fi
45385
45386 if test "$wxUSE_TREECTRL" = "yes"; then
45387 if test "$wxUSE_IMAGLIST" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_TREECTRL 1
45390 _ACEOF
45391
45392 USES_CONTROLS=1
45393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45394 else
45395 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45396 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45397 fi
45398 fi
45399
45400 if test "$wxUSE_POPUPWIN" = "yes"; then
45401 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45402 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45403 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45404 else
45405 if test "$wxUSE_PM" = 1; then
45406 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45407 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45408 else
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_POPUPWIN 1
45411 _ACEOF
45412
45413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45414
45415 USES_CONTROLS=1
45416 fi
45417 fi
45418 fi
45419
45420 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45421 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45422 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45423 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45424 else
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_DIALUP_MANAGER 1
45427 _ACEOF
45428
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45430 fi
45431 fi
45432
45433 if test "$wxUSE_TIPWINDOW" = "yes"; then
45434 if test "$wxUSE_PM" = 1; then
45435 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45436 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45437 else
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_TIPWINDOW 1
45440 _ACEOF
45441
45442 fi
45443 fi
45444
45445 if test "$USES_CONTROLS" = 1; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_CONTROLS 1
45448 _ACEOF
45449
45450 fi
45451
45452
45453 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_ACCESSIBILITY 1
45456 _ACEOF
45457
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45459 fi
45460
45461 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_DRAGIMAGE 1
45464 _ACEOF
45465
45466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45467 fi
45468
45469 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45470 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45471 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45472 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45473 else
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_EXCEPTIONS 1
45476 _ACEOF
45477
45478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45479 fi
45480 fi
45481
45482 USE_HTML=0
45483 if test "$wxUSE_HTML" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_HTML 1
45486 _ACEOF
45487
45488 USE_HTML=1
45489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45490 if test "$wxUSE_MAC" = 1; then
45491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45492 fi
45493 fi
45494 if test "$wxUSE_WEBKIT" = "yes"; then
45495 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45496 old_CPPFLAGS="$CPPFLAGS"
45497 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45498 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45499 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45500 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45501 echo $ECHO_N "(cached) $ECHO_C" >&6
45502 else
45503 cat >conftest.$ac_ext <<_ACEOF
45504 /* confdefs.h. */
45505 _ACEOF
45506 cat confdefs.h >>conftest.$ac_ext
45507 cat >>conftest.$ac_ext <<_ACEOF
45508 /* end confdefs.h. */
45509
45510 #include <Carbon/Carbon.h>
45511 #include <WebKit/WebKit.h>
45512
45513
45514 #include <WebKit/HIWebView.h>
45515 _ACEOF
45516 rm -f conftest.$ac_objext
45517 if { (ac_try="$ac_compile"
45518 case "(($ac_try" in
45519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45520 *) ac_try_echo=$ac_try;;
45521 esac
45522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45523 (eval "$ac_compile") 2>conftest.er1
45524 ac_status=$?
45525 grep -v '^ *+' conftest.er1 >conftest.err
45526 rm -f conftest.er1
45527 cat conftest.err >&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); } && {
45530 test -z "$ac_c_werror_flag" ||
45531 test ! -s conftest.err
45532 } && test -s conftest.$ac_objext; then
45533 ac_cv_header_WebKit_HIWebView_h=yes
45534 else
45535 echo "$as_me: failed program was:" >&5
45536 sed 's/^/| /' conftest.$ac_ext >&5
45537
45538 ac_cv_header_WebKit_HIWebView_h=no
45539 fi
45540
45541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45542 fi
45543 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45544 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45545 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45546
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_WEBKIT 1
45549 _ACEOF
45550
45551 WEBKIT_LINK="-framework WebKit"
45552
45553 else
45554
45555 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45556 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45557 wxUSE_WEBKIT=no
45558
45559 fi
45560
45561
45562 CPPFLAGS="$old_CPPFLAGS"
45563 elif test "$wxUSE_COCOA" = 1; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_WEBKIT 1
45566 _ACEOF
45567
45568 else
45569 wxUSE_WEBKIT=no
45570 fi
45571 fi
45572
45573 USE_XRC=0
45574 if test "$wxUSE_XRC" = "yes"; then
45575 if test "$wxUSE_XML" != "yes"; then
45576 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45577 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45578 wxUSE_XRC=no
45579 else
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_XRC 1
45582 _ACEOF
45583
45584 USE_XRC=1
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45586 fi
45587 fi
45588
45589 USE_AUI=0
45590 if test "$wxUSE_AUI" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_AUI 1
45593 _ACEOF
45594
45595 USE_AUI=1
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45597 fi
45598
45599 USE_STC=0
45600 if test "$wxUSE_STC" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_STC 1
45603 _ACEOF
45604
45605 USE_STC=1
45606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45607 fi
45608
45609 if test "$wxUSE_MENUS" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_MENUS 1
45612 _ACEOF
45613
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45615 fi
45616
45617 if test "$wxUSE_METAFILE" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_METAFILE 1
45620 _ACEOF
45621
45622 fi
45623
45624 if test "$wxUSE_MIMETYPE" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_MIMETYPE 1
45627 _ACEOF
45628
45629 fi
45630
45631 if test "$wxUSE_MINIFRAME" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_MINIFRAME 1
45634 _ACEOF
45635
45636 fi
45637
45638 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_SYSTEM_OPTIONS 1
45641 _ACEOF
45642
45643 fi
45644
45645 if test "$wxUSE_TASKBARICON" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_TASKBARICON 1
45648 _ACEOF
45649
45650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45651 fi
45652
45653
45654 if test "$wxUSE_VALIDATORS" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_VALIDATORS 1
45657 _ACEOF
45658
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45660 fi
45661
45662 if test "$wxUSE_PALETTE" = "yes" ; then
45663 if test "$wxUSE_DFB" = 1; then
45664 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45665 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45666 wxUSE_PALETTE=no
45667 else
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_PALETTE 1
45670 _ACEOF
45671
45672 fi
45673 fi
45674
45675 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45676 LIBS=" -lunicows $LIBS"
45677 fi
45678
45679 USE_RICHTEXT=0
45680 if test "$wxUSE_RICHTEXT" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_RICHTEXT 1
45683 _ACEOF
45684
45685 USE_RICHTEXT=1
45686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45687 fi
45688
45689
45690 if test "$wxUSE_IMAGE" = "yes" ; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_IMAGE 1
45693 _ACEOF
45694
45695
45696 if test "$wxUSE_GIF" = "yes" ; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_GIF 1
45699 _ACEOF
45700
45701 fi
45702
45703 if test "$wxUSE_PCX" = "yes" ; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_PCX 1
45706 _ACEOF
45707
45708 fi
45709
45710 if test "$wxUSE_TGA" = "yes" ; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_TGA 1
45713 _ACEOF
45714
45715 fi
45716
45717 if test "$wxUSE_IFF" = "yes" ; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_IFF 1
45720 _ACEOF
45721
45722 fi
45723
45724 if test "$wxUSE_PNM" = "yes" ; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_PNM 1
45727 _ACEOF
45728
45729 fi
45730
45731 if test "$wxUSE_XPM" = "yes" ; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_XPM 1
45734 _ACEOF
45735
45736 fi
45737
45738 if test "$wxUSE_ICO_CUR" = "yes" ; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_ICO_CUR 1
45741 _ACEOF
45742
45743 fi
45744 fi
45745
45746
45747 if test "$wxUSE_ABOUTDLG" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_ABOUTDLG 1
45750 _ACEOF
45751
45752 fi
45753
45754 if test "$wxUSE_CHOICEDLG" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_CHOICEDLG 1
45757 _ACEOF
45758
45759 fi
45760
45761 if test "$wxUSE_COLOURDLG" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_COLOURDLG 1
45764 _ACEOF
45765
45766 fi
45767
45768 if test "$wxUSE_FILEDLG" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_FILEDLG 1
45771 _ACEOF
45772
45773 fi
45774
45775 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_FINDREPLDLG 1
45778 _ACEOF
45779
45780 fi
45781
45782 if test "$wxUSE_FONTDLG" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_FONTDLG 1
45785 _ACEOF
45786
45787 fi
45788
45789 if test "$wxUSE_DIRDLG" = "yes"; then
45790 if test "$wxUSE_TREECTRL" != "yes"; then
45791 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45792 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45793 else
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_DIRDLG 1
45796 _ACEOF
45797
45798 fi
45799 fi
45800
45801 if test "$wxUSE_MSGDLG" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_MSGDLG 1
45804 _ACEOF
45805
45806 fi
45807
45808 if test "$wxUSE_NUMBERDLG" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_NUMBERDLG 1
45811 _ACEOF
45812
45813 fi
45814
45815 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45816 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45817 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45818 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45819 else
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_PROGRESSDLG 1
45822 _ACEOF
45823
45824 fi
45825 fi
45826
45827 if test "$wxUSE_SPLASH" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_SPLASH 1
45830 _ACEOF
45831
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45833 fi
45834
45835 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45836 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45837 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45838 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45839 else
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_STARTUP_TIPS 1
45842 _ACEOF
45843
45844 fi
45845 fi
45846
45847 if test "$wxUSE_TEXTDLG" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_TEXTDLG 1
45850 _ACEOF
45851
45852 fi
45853
45854 if test "$wxUSE_WIZARDDLG" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_WIZARDDLG 1
45857 _ACEOF
45858
45859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45860 fi
45861
45862
45863 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45864 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_OWNER_DRAWN 1
45867 _ACEOF
45868
45869 fi
45870 fi
45871
45872
45873 if test "$wxUSE_MSW" = 1 ; then
45874
45875 if test "$wxUSE_DC_CACHEING" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_DC_CACHEING 1
45878 _ACEOF
45879
45880 fi
45881
45882 if test "$wxUSE_DIB" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_WXDIB 1
45885 _ACEOF
45886
45887 fi
45888
45889 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45892 _ACEOF
45893
45894 fi
45895
45896 if test "$wxUSE_UXTHEME" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_UXTHEME 1
45899 _ACEOF
45900
45901 fi
45902
45903 fi
45904
45905
45906 if test "$USE_WIN32" = 1 ; then
45907 if test "$wxUSE_INICONF" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_INICONF 1
45910 _ACEOF
45911
45912 fi
45913
45914 if test "$wxUSE_REGKEY" = "yes"; then
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_REGKEY 1
45917 _ACEOF
45918
45919 fi
45920 fi
45921
45922
45923 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45924 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_GRAPHICS_CONTEXT 1
45927 _ACEOF
45928
45929 elif test "$wxUSE_GTK" != 1; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_GRAPHICS_CONTEXT 1
45932 _ACEOF
45933
45934 else
45935
45936 pkg_failed=no
45937 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45938 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45939
45940 if test -n "$PKG_CONFIG"; then
45941 if test -n "$CAIRO_CFLAGS"; then
45942 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45943 else
45944 if test -n "$PKG_CONFIG" && \
45945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45946 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45947 ac_status=$?
45948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45949 (exit $ac_status); }; then
45950 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45951 else
45952 pkg_failed=yes
45953 fi
45954 fi
45955 else
45956 pkg_failed=untried
45957 fi
45958 if test -n "$PKG_CONFIG"; then
45959 if test -n "$CAIRO_LIBS"; then
45960 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45961 else
45962 if test -n "$PKG_CONFIG" && \
45963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45964 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45965 ac_status=$?
45966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45967 (exit $ac_status); }; then
45968 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45969 else
45970 pkg_failed=yes
45971 fi
45972 fi
45973 else
45974 pkg_failed=untried
45975 fi
45976
45977
45978
45979 if test $pkg_failed = yes; then
45980
45981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45982 _pkg_short_errors_supported=yes
45983 else
45984 _pkg_short_errors_supported=no
45985 fi
45986 if test $_pkg_short_errors_supported = yes; then
45987 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45988 else
45989 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45990 fi
45991 # Put the nasty error message in config.log where it belongs
45992 echo "$CAIRO_PKG_ERRORS" >&5
45993
45994 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45995 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45996
45997 elif test $pkg_failed = untried; then
45998 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45999 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46000
46001 else
46002 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46003 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46004 { echo "$as_me:$LINENO: result: yes" >&5
46005 echo "${ECHO_T}yes" >&6; }
46006 cat >>confdefs.h <<\_ACEOF
46007 #define wxUSE_GRAPHICS_CONTEXT 1
46008 _ACEOF
46009
46010 fi
46011 fi
46012 fi
46013
46014
46015 USE_MEDIA=0
46016
46017 if test "$wxUSE_MEDIACTRL" = "yes"; then
46018 USE_MEDIA=1
46019
46020 if test "$wxUSE_GTK" = 1; then
46021 wxUSE_GSTREAMER="no"
46022
46023 GST_VERSION_MAJOR=0
46024 GST_VERSION_MINOR=10
46025 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46026
46027 if test "$wxUSE_GSTREAMER8" = "no"; then
46028
46029 pkg_failed=no
46030 { echo "$as_me:$LINENO: checking for GST" >&5
46031 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46032
46033 if test -n "$PKG_CONFIG"; then
46034 if test -n "$GST_CFLAGS"; then
46035 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46036 else
46037 if test -n "$PKG_CONFIG" && \
46038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46039 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46040 ac_status=$?
46041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46042 (exit $ac_status); }; then
46043 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46044 else
46045 pkg_failed=yes
46046 fi
46047 fi
46048 else
46049 pkg_failed=untried
46050 fi
46051 if test -n "$PKG_CONFIG"; then
46052 if test -n "$GST_LIBS"; then
46053 pkg_cv_GST_LIBS="$GST_LIBS"
46054 else
46055 if test -n "$PKG_CONFIG" && \
46056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46057 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46058 ac_status=$?
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; then
46061 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46062 else
46063 pkg_failed=yes
46064 fi
46065 fi
46066 else
46067 pkg_failed=untried
46068 fi
46069
46070
46071
46072 if test $pkg_failed = yes; then
46073
46074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46075 _pkg_short_errors_supported=yes
46076 else
46077 _pkg_short_errors_supported=no
46078 fi
46079 if test $_pkg_short_errors_supported = yes; then
46080 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46081 else
46082 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46083 fi
46084 # Put the nasty error message in config.log where it belongs
46085 echo "$GST_PKG_ERRORS" >&5
46086
46087
46088 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46089 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46090 GST_VERSION_MINOR=8
46091
46092
46093 elif test $pkg_failed = untried; then
46094
46095 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46096 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46097 GST_VERSION_MINOR=8
46098
46099
46100 else
46101 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46102 GST_LIBS=$pkg_cv_GST_LIBS
46103 { echo "$as_me:$LINENO: result: yes" >&5
46104 echo "${ECHO_T}yes" >&6; }
46105
46106 wxUSE_GSTREAMER="yes"
46107 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46108
46109 fi
46110 else
46111 GST_VERSION_MINOR=8
46112 fi
46113
46114 if test $GST_VERSION_MINOR = "8"; then
46115 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46116
46117 pkg_failed=no
46118 { echo "$as_me:$LINENO: checking for GST" >&5
46119 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46120
46121 if test -n "$PKG_CONFIG"; then
46122 if test -n "$GST_CFLAGS"; then
46123 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46124 else
46125 if test -n "$PKG_CONFIG" && \
46126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46127 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46128 ac_status=$?
46129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46130 (exit $ac_status); }; then
46131 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46132 else
46133 pkg_failed=yes
46134 fi
46135 fi
46136 else
46137 pkg_failed=untried
46138 fi
46139 if test -n "$PKG_CONFIG"; then
46140 if test -n "$GST_LIBS"; then
46141 pkg_cv_GST_LIBS="$GST_LIBS"
46142 else
46143 if test -n "$PKG_CONFIG" && \
46144 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46145 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46146 ac_status=$?
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); }; then
46149 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46150 else
46151 pkg_failed=yes
46152 fi
46153 fi
46154 else
46155 pkg_failed=untried
46156 fi
46157
46158
46159
46160 if test $pkg_failed = yes; then
46161
46162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46163 _pkg_short_errors_supported=yes
46164 else
46165 _pkg_short_errors_supported=no
46166 fi
46167 if test $_pkg_short_errors_supported = yes; then
46168 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46169 else
46170 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46171 fi
46172 # Put the nasty error message in config.log where it belongs
46173 echo "$GST_PKG_ERRORS" >&5
46174
46175
46176 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46177 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46178
46179 elif test $pkg_failed = untried; then
46180
46181 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46182 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46183
46184 else
46185 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46186 GST_LIBS=$pkg_cv_GST_LIBS
46187 { echo "$as_me:$LINENO: result: yes" >&5
46188 echo "${ECHO_T}yes" >&6; }
46189 wxUSE_GSTREAMER="yes"
46190 fi
46191 fi
46192
46193
46194 if test "$wxUSE_GSTREAMER" = "yes"; then
46195 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46196 EXTRALIBS_MEDIA="$GST_LIBS"
46197
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_GSTREAMER 1
46200 _ACEOF
46201
46202 else
46203 USE_MEDIA=0
46204 fi
46205 fi
46206
46207 if test $USE_MEDIA = 1; then
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_MEDIACTRL 1
46211 _ACEOF
46212
46213 fi
46214 fi
46215
46216
46217 if test "$cross_compiling" = "yes"; then
46218 OSINFO="\"$host\""
46219 else
46220 OSINFO=`uname -s -r -m`
46221 OSINFO="\"$OSINFO\""
46222 fi
46223
46224 cat >>confdefs.h <<_ACEOF
46225 #define WXWIN_OS_DESCRIPTION $OSINFO
46226 _ACEOF
46227
46228
46229
46230 if test "x$prefix" != "xNONE"; then
46231 wxPREFIX=$prefix
46232 else
46233 wxPREFIX=$ac_default_prefix
46234 fi
46235
46236 cat >>confdefs.h <<_ACEOF
46237 #define wxINSTALL_PREFIX "$wxPREFIX"
46238 _ACEOF
46239
46240
46241
46242
46243 STD_BASE_LIBS="base"
46244 STD_GUI_LIBS=""
46245 BUILT_WX_LIBS="base"
46246 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46247
46248 if test "$wxUSE_SOCKETS" = "yes" ; then
46249 STD_BASE_LIBS="net $STD_BASE_LIBS"
46250 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46251 fi
46252 if test "$wxUSE_XML" = "yes" ; then
46253 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46254 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46255 fi
46256
46257 if test "$wxUSE_GUI" = "yes"; then
46258 STD_GUI_LIBS="adv core"
46259 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46260
46261 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46262 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46263 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46264 fi
46265 if test "$wxUSE_HTML" = "yes" ; then
46266 STD_GUI_LIBS="html $STD_GUI_LIBS"
46267 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46268 fi
46269 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46270 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46271 fi
46272 if test "$wxUSE_OPENGL" = "yes" ; then
46273 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46274 fi
46275 if test "$wxUSE_AUI" = "yes" ; then
46276 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46277 fi
46278 if test "$wxUSE_STC" = "yes" ; then
46279 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46280 fi
46281 if test "$wxUSE_XRC" = "yes" ; then
46282 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46283 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46284 fi
46285 fi
46286
46287
46288
46289
46290
46291
46292
46293
46294 if test "$wxUSE_MAC" = 1 ; then
46295 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46296 if test "$USE_DARWIN" = 1; then
46297 LDFLAGS="$LDFLAGS -framework QuickTime"
46298 else
46299 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46300 fi
46301 fi
46302 if test "$USE_DARWIN" = 1; then
46303 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46304 else
46305 LDFLAGS="$LDFLAGS -lCarbonLib"
46306 fi
46307 fi
46308 if test "$wxUSE_COCOA" = 1 ; then
46309 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46310 if test "$wxUSE_MEDIACTRL" = "yes"; then
46311 LDFLAGS="$LDFLAGS -framework QuickTime"
46312 fi
46313 fi
46314 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46315 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46316 fi
46317
46318 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46319
46320 if test "$wxUSE_GUI" = "yes"; then
46321
46322
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46324 erase event exec font image minimal mobile \
46325 mobile/wxedit mobile/styles render \
46326 shaped svg taborder vscroll widgets"
46327
46328 if test "$wxUSE_MONOLITHIC" != "yes"; then
46329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46330 fi
46331 if test "$TOOLKIT" = "MSW"; then
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46333 if test "$wxUSE_UNIVERSAL" != "yes"; then
46334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46335 fi
46336 fi
46337 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46339 fi
46340 else
46341 SAMPLES_SUBDIRS="console"
46342 fi
46343
46344
46345 if test "x$INTELCC" = "xyes" ; then
46346 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46347 elif test "$GCC" = yes ; then
46348 CWARNINGS="-Wall -Wundef"
46349 fi
46350
46351 if test "x$INTELCXX" = "xyes" ; then
46352 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46353 elif test "$GXX" = yes ; then
46354 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46355 fi
46356
46357
46358 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46359 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46360
46361
46362 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46363 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46364 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46365 $CPPFLAGS `
46366
46367 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46368 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46369 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46370
46371 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46372
46373
46374 if test "x$MWCC" = "xyes"; then
46375
46376 CC="$CC -cwd source -I-"
46377 CXX="$CXX -cwd source -I-"
46378 fi
46379
46380
46381 LIBS=`echo $LIBS`
46382 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46383 EXTRALIBS_XML="$EXPAT_LINK"
46384 EXTRALIBS_HTML="$MSPACK_LINK"
46385 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46386 if test "$wxUSE_GUI" = "yes"; then
46387 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT $EXTRALIBS_MEDIA`
46388 fi
46389 if test "$wxUSE_OPENGL" = "yes"; then
46390 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46391 fi
46392
46393 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46394
46395 WXCONFIG_LIBS="$LIBS"
46396
46397 if test "$wxUSE_REGEX" = "builtin" ; then
46398 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46399 fi
46400 if test "$wxUSE_EXPAT" = "builtin" ; then
46401 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46402 fi
46403 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46404 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46405 fi
46406 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46407 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46408 fi
46409 if test "$wxUSE_LIBPNG" = "builtin" ; then
46410 wxconfig_3rdparty="png $wxconfig_3rdparty"
46411 fi
46412 if test "$wxUSE_ZLIB" = "builtin" ; then
46413 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46414 fi
46415
46416 for i in $wxconfig_3rdparty ; do
46417 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46418 done
46419
46420
46421 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46422 WXUNIV=1
46423
46424 case "$wxUNIV_THEMES" in
46425 ''|all)
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_ALL_THEMES 1
46428 _ACEOF
46429
46430 ;;
46431
46432 *)
46433 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46434 cat >>confdefs.h <<_ACEOF
46435 #define wxUSE_THEME_$t 1
46436 _ACEOF
46437
46438 done
46439 esac
46440 else
46441 WXUNIV=0
46442 fi
46443
46444
46445
46446
46447
46448
46449
46450
46451 if test $wxUSE_MONOLITHIC = "yes" ; then
46452 MONOLITHIC=1
46453 else
46454 MONOLITHIC=0
46455 fi
46456
46457 if test $wxUSE_PLUGINS = "yes" ; then
46458 USE_PLUGINS=1
46459 else
46460 USE_PLUGINS=0
46461 fi
46462
46463 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46464 USE_QA=1
46465 else
46466 USE_QA=0
46467 fi
46468
46469 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46470 OFFICIAL_BUILD=1
46471 else
46472 OFFICIAL_BUILD=0
46473 fi
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
46501
46502
46503
46504
46505
46506
46507
46508
46509 case "$TOOLKIT" in
46510 GTK)
46511 TOOLKIT_DESC="GTK+"
46512 if test "$WXGTK2" = 1; then
46513 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46514 if test "$wxUSE_GTKPRINT" = "yes" ; then
46515 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46516 fi
46517 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46518 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46519 fi
46520 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46521 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46522 fi
46523 if test "$wxUSE_LIBHILDON" = "yes"; then
46524 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46525 fi
46526
46527 if test "$TOOLKIT_EXTRA" != ""; then
46528 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46529 fi
46530 fi
46531 ;;
46532
46533 ?*)
46534 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46535 ;;
46536
46537 *)
46538 TOOLKIT_DESC="base only"
46539 ;;
46540 esac
46541
46542 if test "$wxUSE_WINE" = "yes"; then
46543 BAKEFILE_FORCE_PLATFORM=win32
46544 fi
46545
46546 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46547 then
46548 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46549 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46550 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46551 echo $ECHO_N "(cached) $ECHO_C" >&6
46552 else
46553
46554 echo '#include <stdio.h>
46555 const wchar_t test_var[] = L"awidetest";' > conftest.h
46556
46557 echo '#include "conftest.h"
46558 int main()
46559 {
46560 printf("%ls", test_var);
46561 return 0;
46562 }' > conftest.cpp
46563
46564 wx_cv_gcc_pch_bug="pch not supported"
46565
46566 if $CXX conftest.h >/dev/null 2>&1
46567 then
46568 wx_cv_gcc_pch_bug=
46569
46570 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46571 then
46572 if tr -dc a-z < conftest$PROGRAM_EXT |
46573 grep awidetest >/dev/null
46574 then
46575 wx_cv_gcc_pch_bug=no
46576 else
46577 wx_cv_gcc_pch_bug=yes
46578 fi
46579 fi
46580 fi
46581
46582 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46583
46584 fi
46585 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46586 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46587
46588 if test "$wx_cv_gcc_pch_bug" = yes; then
46589 bk_use_pch=no
46590 fi
46591 fi
46592
46593
46594
46595
46596 if test "x$BAKEFILE_HOST" = "x"; then
46597 if test "x${host}" = "x" ; then
46598 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46599 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46600 { (exit 1); exit 1; }; }
46601 fi
46602
46603 BAKEFILE_HOST="${host}"
46604 fi
46605
46606 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46607
46608 if test -n "$ac_tool_prefix"; then
46609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46613 if test "${ac_cv_prog_RANLIB+set}" = set; then
46614 echo $ECHO_N "(cached) $ECHO_C" >&6
46615 else
46616 if test -n "$RANLIB"; then
46617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46618 else
46619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46620 for as_dir in $PATH
46621 do
46622 IFS=$as_save_IFS
46623 test -z "$as_dir" && as_dir=.
46624 for ac_exec_ext in '' $ac_executable_extensions; do
46625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46628 break 2
46629 fi
46630 done
46631 done
46632 IFS=$as_save_IFS
46633
46634 fi
46635 fi
46636 RANLIB=$ac_cv_prog_RANLIB
46637 if test -n "$RANLIB"; then
46638 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46639 echo "${ECHO_T}$RANLIB" >&6; }
46640 else
46641 { echo "$as_me:$LINENO: result: no" >&5
46642 echo "${ECHO_T}no" >&6; }
46643 fi
46644
46645
46646 fi
46647 if test -z "$ac_cv_prog_RANLIB"; then
46648 ac_ct_RANLIB=$RANLIB
46649 # Extract the first word of "ranlib", so it can be a program name with args.
46650 set dummy ranlib; ac_word=$2
46651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46654 echo $ECHO_N "(cached) $ECHO_C" >&6
46655 else
46656 if test -n "$ac_ct_RANLIB"; then
46657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46658 else
46659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46660 for as_dir in $PATH
46661 do
46662 IFS=$as_save_IFS
46663 test -z "$as_dir" && as_dir=.
46664 for ac_exec_ext in '' $ac_executable_extensions; do
46665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46666 ac_cv_prog_ac_ct_RANLIB="ranlib"
46667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46668 break 2
46669 fi
46670 done
46671 done
46672 IFS=$as_save_IFS
46673
46674 fi
46675 fi
46676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46677 if test -n "$ac_ct_RANLIB"; then
46678 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46679 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46680 else
46681 { echo "$as_me:$LINENO: result: no" >&5
46682 echo "${ECHO_T}no" >&6; }
46683 fi
46684
46685 if test "x$ac_ct_RANLIB" = x; then
46686 RANLIB=":"
46687 else
46688 case $cross_compiling:$ac_tool_warned in
46689 yes:)
46690 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46691 whose name does not start with the host triplet. If you think this
46692 configuration is useful to you, please write to autoconf@gnu.org." >&5
46693 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46694 whose name does not start with the host triplet. If you think this
46695 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46696 ac_tool_warned=yes ;;
46697 esac
46698 RANLIB=$ac_ct_RANLIB
46699 fi
46700 else
46701 RANLIB="$ac_cv_prog_RANLIB"
46702 fi
46703
46704 # Find a good install program. We prefer a C program (faster),
46705 # so one script is as good as another. But avoid the broken or
46706 # incompatible versions:
46707 # SysV /etc/install, /usr/sbin/install
46708 # SunOS /usr/etc/install
46709 # IRIX /sbin/install
46710 # AIX /bin/install
46711 # AmigaOS /C/install, which installs bootblocks on floppy discs
46712 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46713 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46714 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46715 # OS/2's system install, which has a completely different semantic
46716 # ./install, which can be erroneously created by make from ./install.sh.
46717 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46718 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46719 if test -z "$INSTALL"; then
46720 if test "${ac_cv_path_install+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46724 for as_dir in $PATH
46725 do
46726 IFS=$as_save_IFS
46727 test -z "$as_dir" && as_dir=.
46728 # Account for people who put trailing slashes in PATH elements.
46729 case $as_dir/ in
46730 ./ | .// | /cC/* | \
46731 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46732 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46733 /usr/ucb/* ) ;;
46734 *)
46735 # OSF1 and SCO ODT 3.0 have their own names for install.
46736 # Don't use installbsd from OSF since it installs stuff as root
46737 # by default.
46738 for ac_prog in ginstall scoinst install; do
46739 for ac_exec_ext in '' $ac_executable_extensions; do
46740 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46741 if test $ac_prog = install &&
46742 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46743 # AIX install. It has an incompatible calling convention.
46744 :
46745 elif test $ac_prog = install &&
46746 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46747 # program-specific install script used by HP pwplus--don't use.
46748 :
46749 else
46750 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46751 break 3
46752 fi
46753 fi
46754 done
46755 done
46756 ;;
46757 esac
46758 done
46759 IFS=$as_save_IFS
46760
46761
46762 fi
46763 if test "${ac_cv_path_install+set}" = set; then
46764 INSTALL=$ac_cv_path_install
46765 else
46766 # As a last resort, use the slow shell script. Don't cache a
46767 # value for INSTALL within a source directory, because that will
46768 # break other packages using the cache if that directory is
46769 # removed, or if the value is a relative name.
46770 INSTALL=$ac_install_sh
46771 fi
46772 fi
46773 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46774 echo "${ECHO_T}$INSTALL" >&6; }
46775
46776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46777 # It thinks the first close brace ends the variable substitution.
46778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46779
46780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46781
46782 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46783
46784 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46786 LN_S=$as_ln_s
46787 if test "$LN_S" = "ln -s"; then
46788 { echo "$as_me:$LINENO: result: yes" >&5
46789 echo "${ECHO_T}yes" >&6; }
46790 else
46791 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46792 echo "${ECHO_T}no, using $LN_S" >&6; }
46793 fi
46794
46795
46796 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46798 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46799 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46800 echo $ECHO_N "(cached) $ECHO_C" >&6
46801 else
46802 cat >conftest.make <<\_ACEOF
46803 SHELL = /bin/sh
46804 all:
46805 @echo '@@@%%%=$(MAKE)=@@@%%%'
46806 _ACEOF
46807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46809 *@@@%%%=?*=@@@%%%*)
46810 eval ac_cv_prog_make_${ac_make}_set=yes;;
46811 *)
46812 eval ac_cv_prog_make_${ac_make}_set=no;;
46813 esac
46814 rm -f conftest.make
46815 fi
46816 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46817 { echo "$as_me:$LINENO: result: yes" >&5
46818 echo "${ECHO_T}yes" >&6; }
46819 SET_MAKE=
46820 else
46821 { echo "$as_me:$LINENO: result: no" >&5
46822 echo "${ECHO_T}no" >&6; }
46823 SET_MAKE="MAKE=${MAKE-make}"
46824 fi
46825
46826
46827
46828 if test "x$SUNCXX" = "xyes"; then
46829 AR=$CXX
46830 AROPTIONS="-xar -o"
46831
46832 elif test "x$SGICC" = "xyes"; then
46833 AR=$CXX
46834 AROPTIONS="-ar -o"
46835
46836 else
46837 if test -n "$ac_tool_prefix"; then
46838 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46839 set dummy ${ac_tool_prefix}ar; ac_word=$2
46840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46842 if test "${ac_cv_prog_AR+set}" = set; then
46843 echo $ECHO_N "(cached) $ECHO_C" >&6
46844 else
46845 if test -n "$AR"; then
46846 ac_cv_prog_AR="$AR" # Let the user override the test.
46847 else
46848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46849 for as_dir in $PATH
46850 do
46851 IFS=$as_save_IFS
46852 test -z "$as_dir" && as_dir=.
46853 for ac_exec_ext in '' $ac_executable_extensions; do
46854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46855 ac_cv_prog_AR="${ac_tool_prefix}ar"
46856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46857 break 2
46858 fi
46859 done
46860 done
46861 IFS=$as_save_IFS
46862
46863 fi
46864 fi
46865 AR=$ac_cv_prog_AR
46866 if test -n "$AR"; then
46867 { echo "$as_me:$LINENO: result: $AR" >&5
46868 echo "${ECHO_T}$AR" >&6; }
46869 else
46870 { echo "$as_me:$LINENO: result: no" >&5
46871 echo "${ECHO_T}no" >&6; }
46872 fi
46873
46874
46875 fi
46876 if test -z "$ac_cv_prog_AR"; then
46877 ac_ct_AR=$AR
46878 # Extract the first word of "ar", so it can be a program name with args.
46879 set dummy ar; ac_word=$2
46880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46882 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46883 echo $ECHO_N "(cached) $ECHO_C" >&6
46884 else
46885 if test -n "$ac_ct_AR"; then
46886 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46887 else
46888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46889 for as_dir in $PATH
46890 do
46891 IFS=$as_save_IFS
46892 test -z "$as_dir" && as_dir=.
46893 for ac_exec_ext in '' $ac_executable_extensions; do
46894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46895 ac_cv_prog_ac_ct_AR="ar"
46896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46897 break 2
46898 fi
46899 done
46900 done
46901 IFS=$as_save_IFS
46902
46903 fi
46904 fi
46905 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46906 if test -n "$ac_ct_AR"; then
46907 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46908 echo "${ECHO_T}$ac_ct_AR" >&6; }
46909 else
46910 { echo "$as_me:$LINENO: result: no" >&5
46911 echo "${ECHO_T}no" >&6; }
46912 fi
46913
46914 if test "x$ac_ct_AR" = x; then
46915 AR="ar"
46916 else
46917 case $cross_compiling:$ac_tool_warned in
46918 yes:)
46919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46920 whose name does not start with the host triplet. If you think this
46921 configuration is useful to you, please write to autoconf@gnu.org." >&5
46922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46923 whose name does not start with the host triplet. If you think this
46924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46925 ac_tool_warned=yes ;;
46926 esac
46927 AR=$ac_ct_AR
46928 fi
46929 else
46930 AR="$ac_cv_prog_AR"
46931 fi
46932
46933 AROPTIONS=rcu
46934 fi
46935
46936
46937 if test -n "$ac_tool_prefix"; then
46938 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46939 set dummy ${ac_tool_prefix}strip; ac_word=$2
46940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46942 if test "${ac_cv_prog_STRIP+set}" = set; then
46943 echo $ECHO_N "(cached) $ECHO_C" >&6
46944 else
46945 if test -n "$STRIP"; then
46946 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46947 else
46948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46949 for as_dir in $PATH
46950 do
46951 IFS=$as_save_IFS
46952 test -z "$as_dir" && as_dir=.
46953 for ac_exec_ext in '' $ac_executable_extensions; do
46954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46955 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46957 break 2
46958 fi
46959 done
46960 done
46961 IFS=$as_save_IFS
46962
46963 fi
46964 fi
46965 STRIP=$ac_cv_prog_STRIP
46966 if test -n "$STRIP"; then
46967 { echo "$as_me:$LINENO: result: $STRIP" >&5
46968 echo "${ECHO_T}$STRIP" >&6; }
46969 else
46970 { echo "$as_me:$LINENO: result: no" >&5
46971 echo "${ECHO_T}no" >&6; }
46972 fi
46973
46974
46975 fi
46976 if test -z "$ac_cv_prog_STRIP"; then
46977 ac_ct_STRIP=$STRIP
46978 # Extract the first word of "strip", so it can be a program name with args.
46979 set dummy strip; ac_word=$2
46980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46983 echo $ECHO_N "(cached) $ECHO_C" >&6
46984 else
46985 if test -n "$ac_ct_STRIP"; then
46986 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46987 else
46988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46989 for as_dir in $PATH
46990 do
46991 IFS=$as_save_IFS
46992 test -z "$as_dir" && as_dir=.
46993 for ac_exec_ext in '' $ac_executable_extensions; do
46994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46995 ac_cv_prog_ac_ct_STRIP="strip"
46996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46997 break 2
46998 fi
46999 done
47000 done
47001 IFS=$as_save_IFS
47002
47003 fi
47004 fi
47005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47006 if test -n "$ac_ct_STRIP"; then
47007 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47008 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47009 else
47010 { echo "$as_me:$LINENO: result: no" >&5
47011 echo "${ECHO_T}no" >&6; }
47012 fi
47013
47014 if test "x$ac_ct_STRIP" = x; then
47015 STRIP=":"
47016 else
47017 case $cross_compiling:$ac_tool_warned in
47018 yes:)
47019 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47020 whose name does not start with the host triplet. If you think this
47021 configuration is useful to you, please write to autoconf@gnu.org." >&5
47022 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47023 whose name does not start with the host triplet. If you think this
47024 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47025 ac_tool_warned=yes ;;
47026 esac
47027 STRIP=$ac_ct_STRIP
47028 fi
47029 else
47030 STRIP="$ac_cv_prog_STRIP"
47031 fi
47032
47033 if test -n "$ac_tool_prefix"; then
47034 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47035 set dummy ${ac_tool_prefix}nm; ac_word=$2
47036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47038 if test "${ac_cv_prog_NM+set}" = set; then
47039 echo $ECHO_N "(cached) $ECHO_C" >&6
47040 else
47041 if test -n "$NM"; then
47042 ac_cv_prog_NM="$NM" # Let the user override the test.
47043 else
47044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47045 for as_dir in $PATH
47046 do
47047 IFS=$as_save_IFS
47048 test -z "$as_dir" && as_dir=.
47049 for ac_exec_ext in '' $ac_executable_extensions; do
47050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47051 ac_cv_prog_NM="${ac_tool_prefix}nm"
47052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47053 break 2
47054 fi
47055 done
47056 done
47057 IFS=$as_save_IFS
47058
47059 fi
47060 fi
47061 NM=$ac_cv_prog_NM
47062 if test -n "$NM"; then
47063 { echo "$as_me:$LINENO: result: $NM" >&5
47064 echo "${ECHO_T}$NM" >&6; }
47065 else
47066 { echo "$as_me:$LINENO: result: no" >&5
47067 echo "${ECHO_T}no" >&6; }
47068 fi
47069
47070
47071 fi
47072 if test -z "$ac_cv_prog_NM"; then
47073 ac_ct_NM=$NM
47074 # Extract the first word of "nm", so it can be a program name with args.
47075 set dummy nm; ac_word=$2
47076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47078 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47079 echo $ECHO_N "(cached) $ECHO_C" >&6
47080 else
47081 if test -n "$ac_ct_NM"; then
47082 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47083 else
47084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47085 for as_dir in $PATH
47086 do
47087 IFS=$as_save_IFS
47088 test -z "$as_dir" && as_dir=.
47089 for ac_exec_ext in '' $ac_executable_extensions; do
47090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47091 ac_cv_prog_ac_ct_NM="nm"
47092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47093 break 2
47094 fi
47095 done
47096 done
47097 IFS=$as_save_IFS
47098
47099 fi
47100 fi
47101 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47102 if test -n "$ac_ct_NM"; then
47103 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47104 echo "${ECHO_T}$ac_ct_NM" >&6; }
47105 else
47106 { echo "$as_me:$LINENO: result: no" >&5
47107 echo "${ECHO_T}no" >&6; }
47108 fi
47109
47110 if test "x$ac_ct_NM" = x; then
47111 NM=":"
47112 else
47113 case $cross_compiling:$ac_tool_warned in
47114 yes:)
47115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47116 whose name does not start with the host triplet. If you think this
47117 configuration is useful to you, please write to autoconf@gnu.org." >&5
47118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47119 whose name does not start with the host triplet. If you think this
47120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47121 ac_tool_warned=yes ;;
47122 esac
47123 NM=$ac_ct_NM
47124 fi
47125 else
47126 NM="$ac_cv_prog_NM"
47127 fi
47128
47129
47130 case ${BAKEFILE_HOST} in
47131 *-hp-hpux* )
47132 INSTALL_DIR="mkdir -p"
47133 ;;
47134 * )
47135 INSTALL_DIR='$(INSTALL) -d'
47136 ;;
47137 esac
47138
47139
47140 LDFLAGS_GUI=
47141 case ${BAKEFILE_HOST} in
47142 *-*-cygwin* | *-*-mingw32* )
47143 LDFLAGS_GUI="-mwindows"
47144 esac
47145
47146
47147 fi
47148
47149 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47150 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47151 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47152 echo $ECHO_N "(cached) $ECHO_C" >&6
47153 else
47154
47155 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47156 egrep -s GNU > /dev/null); then
47157 bakefile_cv_prog_makeisgnu="yes"
47158 else
47159 bakefile_cv_prog_makeisgnu="no"
47160 fi
47161
47162 fi
47163 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47164 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47165
47166 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47167 IF_GNU_MAKE=""
47168 else
47169 IF_GNU_MAKE="#"
47170 fi
47171
47172
47173
47174 PLATFORM_UNIX=0
47175 PLATFORM_WIN32=0
47176 PLATFORM_MSDOS=0
47177 PLATFORM_MAC=0
47178 PLATFORM_MACOS=0
47179 PLATFORM_MACOSX=0
47180 PLATFORM_OS2=0
47181 PLATFORM_BEOS=0
47182
47183 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47184 case "${BAKEFILE_HOST}" in
47185 *-*-mingw32* )
47186 PLATFORM_WIN32=1
47187 ;;
47188 *-pc-msdosdjgpp )
47189 PLATFORM_MSDOS=1
47190 ;;
47191 *-pc-os2_emx | *-pc-os2-emx )
47192 PLATFORM_OS2=1
47193 ;;
47194 *-*-darwin* )
47195 PLATFORM_MAC=1
47196 PLATFORM_MACOSX=1
47197 ;;
47198 *-*-beos* )
47199 PLATFORM_BEOS=1
47200 ;;
47201 powerpc-apple-macos* )
47202 PLATFORM_MAC=1
47203 PLATFORM_MACOS=1
47204 ;;
47205 * )
47206 PLATFORM_UNIX=1
47207 ;;
47208 esac
47209 else
47210 case "$BAKEFILE_FORCE_PLATFORM" in
47211 win32 )
47212 PLATFORM_WIN32=1
47213 ;;
47214 msdos )
47215 PLATFORM_MSDOS=1
47216 ;;
47217 os2 )
47218 PLATFORM_OS2=1
47219 ;;
47220 darwin )
47221 PLATFORM_MAC=1
47222 PLATFORM_MACOSX=1
47223 ;;
47224 unix )
47225 PLATFORM_UNIX=1
47226 ;;
47227 beos )
47228 PLATFORM_BEOS=1
47229 ;;
47230 * )
47231 ;;
47232 esac
47233 fi
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245 # Check whether --enable-omf was given.
47246 if test "${enable_omf+set}" = set; then
47247 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47248 fi
47249
47250
47251 case "${BAKEFILE_HOST}" in
47252 *-*-darwin* )
47253 if test "x$GCC" = "xyes"; then
47254 CFLAGS="$CFLAGS -fno-common"
47255 CXXFLAGS="$CXXFLAGS -fno-common"
47256 fi
47257 if test "x$XLCC" = "xyes"; then
47258 CFLAGS="$CFLAGS -qnocommon"
47259 CXXFLAGS="$CXXFLAGS -qnocommon"
47260 fi
47261 ;;
47262
47263 *-pc-os2_emx | *-pc-os2-emx )
47264 if test "x$bk_os2_use_omf" = "xyes" ; then
47265 AR=emxomfar
47266 RANLIB=:
47267 LDFLAGS="-Zomf $LDFLAGS"
47268 CFLAGS="-Zomf $CFLAGS"
47269 CXXFLAGS="-Zomf $CXXFLAGS"
47270 OS2_LIBEXT="lib"
47271 else
47272 OS2_LIBEXT="a"
47273 fi
47274 ;;
47275
47276 i*86-*-beos* )
47277 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47278 ;;
47279 esac
47280
47281
47282 SO_SUFFIX="so"
47283 SO_SUFFIX_MODULE="so"
47284 EXEEXT=""
47285 LIBPREFIX="lib"
47286 LIBEXT=".a"
47287 DLLPREFIX="lib"
47288 DLLPREFIX_MODULE=""
47289 DLLIMP_SUFFIX=""
47290 dlldir="$libdir"
47291
47292 case "${BAKEFILE_HOST}" in
47293 *-hp-hpux* )
47294 SO_SUFFIX="sl"
47295 SO_SUFFIX_MODULE="sl"
47296 ;;
47297 *-*-aix* )
47298 SO_SUFFIX="a"
47299 SO_SUFFIX_MODULE="a"
47300 ;;
47301 *-*-cygwin* )
47302 SO_SUFFIX="dll"
47303 SO_SUFFIX_MODULE="dll"
47304 DLLIMP_SUFFIX="dll.a"
47305 EXEEXT=".exe"
47306 DLLPREFIX="cyg"
47307 dlldir="$bindir"
47308 ;;
47309 *-*-mingw32* )
47310 SO_SUFFIX="dll"
47311 SO_SUFFIX_MODULE="dll"
47312 DLLIMP_SUFFIX="dll.a"
47313 EXEEXT=".exe"
47314 DLLPREFIX=""
47315 dlldir="$bindir"
47316 ;;
47317 *-pc-msdosdjgpp )
47318 EXEEXT=".exe"
47319 DLLPREFIX=""
47320 dlldir="$bindir"
47321 ;;
47322 *-pc-os2_emx | *-pc-os2-emx )
47323 SO_SUFFIX="dll"
47324 SO_SUFFIX_MODULE="dll"
47325 DLLIMP_SUFFIX=$OS2_LIBEXT
47326 EXEEXT=".exe"
47327 DLLPREFIX=""
47328 LIBPREFIX=""
47329 LIBEXT=".$OS2_LIBEXT"
47330 dlldir="$bindir"
47331 ;;
47332 *-*-darwin* )
47333 SO_SUFFIX="dylib"
47334 SO_SUFFIX_MODULE="bundle"
47335 ;;
47336 esac
47337
47338 if test "x$DLLIMP_SUFFIX" = "x" ; then
47339 DLLIMP_SUFFIX="$SO_SUFFIX"
47340 fi
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353 PIC_FLAG=""
47354 if test "x$GCC" = "xyes"; then
47355 PIC_FLAG="-fPIC"
47356 fi
47357
47358 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47359 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47360 WINDOWS_IMPLIB=0
47361
47362 case "${BAKEFILE_HOST}" in
47363 *-hp-hpux* )
47364 if test "x$GCC" != "xyes"; then
47365 LDFLAGS="$LDFLAGS -L/usr/lib"
47366
47367 SHARED_LD_CC="${CC} -b -o"
47368 SHARED_LD_CXX="${CXX} -b -o"
47369 PIC_FLAG="+Z"
47370 fi
47371 ;;
47372
47373 *-*-linux* )
47374 if test "$INTELCC" = "yes"; then
47375 PIC_FLAG="-KPIC"
47376 elif test "x$SUNCXX" = "xyes"; then
47377 SHARED_LD_CC="${CC} -G -o"
47378 SHARED_LD_CXX="${CXX} -G -o"
47379 PIC_FLAG="-KPIC"
47380 fi
47381 ;;
47382
47383 *-*-solaris2* )
47384 if test "x$SUNCXX" = xyes ; then
47385 SHARED_LD_CC="${CC} -G -o"
47386 SHARED_LD_CXX="${CXX} -G -o"
47387 PIC_FLAG="-KPIC"
47388 fi
47389 ;;
47390
47391 *-*-darwin* )
47392
47393 D='$'
47394 cat <<EOF >shared-ld-sh
47395 #!/bin/sh
47396 #-----------------------------------------------------------------------------
47397 #-- Name: distrib/mac/shared-ld-sh
47398 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47399 #-- Author: Gilles Depeyrot
47400 #-- Copyright: (c) 2002 Gilles Depeyrot
47401 #-- Licence: any use permitted
47402 #-----------------------------------------------------------------------------
47403
47404 verbose=0
47405 args=""
47406 objects=""
47407 linking_flag="-dynamiclib"
47408 ldargs="-r -keep_private_externs -nostdlib"
47409
47410 while test ${D}# -gt 0; do
47411 case ${D}1 in
47412
47413 -v)
47414 verbose=1
47415 ;;
47416
47417 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47418 # collect these options and values
47419 args="${D}{args} ${D}1 ${D}2"
47420 shift
47421 ;;
47422
47423 -s|-Wl,*)
47424 # collect these load args
47425 ldargs="${D}{ldargs} ${D}1"
47426 ;;
47427
47428 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47429 # collect these options
47430 args="${D}{args} ${D}1"
47431 ;;
47432
47433 -dynamiclib|-bundle)
47434 linking_flag="${D}1"
47435 ;;
47436
47437 -*)
47438 echo "shared-ld: unhandled option '${D}1'"
47439 exit 1
47440 ;;
47441
47442 *.o | *.a | *.dylib)
47443 # collect object files
47444 objects="${D}{objects} ${D}1"
47445 ;;
47446
47447 *)
47448 echo "shared-ld: unhandled argument '${D}1'"
47449 exit 1
47450 ;;
47451
47452 esac
47453 shift
47454 done
47455
47456 status=0
47457
47458 #
47459 # Link one module containing all the others
47460 #
47461 if test ${D}{verbose} = 1; then
47462 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47463 fi
47464 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47465 status=${D}?
47466
47467 #
47468 # Link the shared library from the single module created, but only if the
47469 # previous command didn't fail:
47470 #
47471 if test ${D}{status} = 0; then
47472 if test ${D}{verbose} = 1; then
47473 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47474 fi
47475 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47476 status=${D}?
47477 fi
47478
47479 #
47480 # Remove intermediate module
47481 #
47482 rm -f master.${D}${D}.o
47483
47484 exit ${D}status
47485 EOF
47486
47487 chmod +x shared-ld-sh
47488
47489 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47490 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47491
47492
47493 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47494 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47495 if test "${bakefile_cv_gcc31+set}" = set; then
47496 echo $ECHO_N "(cached) $ECHO_C" >&6
47497 else
47498
47499 cat >conftest.$ac_ext <<_ACEOF
47500 /* confdefs.h. */
47501 _ACEOF
47502 cat confdefs.h >>conftest.$ac_ext
47503 cat >>conftest.$ac_ext <<_ACEOF
47504 /* end confdefs.h. */
47505
47506 int
47507 main ()
47508 {
47509
47510 #if (__GNUC__ < 3) || \
47511 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47512 This is old gcc
47513 #endif
47514
47515 ;
47516 return 0;
47517 }
47518 _ACEOF
47519 rm -f conftest.$ac_objext
47520 if { (ac_try="$ac_compile"
47521 case "(($ac_try" in
47522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47523 *) ac_try_echo=$ac_try;;
47524 esac
47525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47526 (eval "$ac_compile") 2>conftest.er1
47527 ac_status=$?
47528 grep -v '^ *+' conftest.er1 >conftest.err
47529 rm -f conftest.er1
47530 cat conftest.err >&5
47531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47532 (exit $ac_status); } && {
47533 test -z "$ac_c_werror_flag" ||
47534 test ! -s conftest.err
47535 } && test -s conftest.$ac_objext; then
47536
47537 bakefile_cv_gcc31=yes
47538
47539 else
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47542
47543
47544 bakefile_cv_gcc31=no
47545
47546
47547 fi
47548
47549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47550
47551 fi
47552 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47553 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47554 if test "$bakefile_cv_gcc31" = "no"; then
47555 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47556 SHARED_LD_CXX="$SHARED_LD_CC"
47557 else
47558 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47559 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47560 fi
47561
47562 if test "x$GCC" == "xyes"; then
47563 PIC_FLAG="-dynamic -fPIC"
47564 fi
47565 if test "x$XLCC" = "xyes"; then
47566 PIC_FLAG="-dynamic -DPIC"
47567 fi
47568 ;;
47569
47570 *-*-aix* )
47571 if test "x$GCC" = "xyes"; then
47572 PIC_FLAG=""
47573
47574 case "${BAKEFILE_HOST}" in
47575 *-*-aix5* )
47576 LD_EXPFULL="-Wl,-bexpfull"
47577 ;;
47578 esac
47579
47580 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47581 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47582 else
47583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47584 set dummy makeC++SharedLib; ac_word=$2
47585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47588 echo $ECHO_N "(cached) $ECHO_C" >&6
47589 else
47590 if test -n "$AIX_CXX_LD"; then
47591 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47592 else
47593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47594 for as_dir in $PATH
47595 do
47596 IFS=$as_save_IFS
47597 test -z "$as_dir" && as_dir=.
47598 for ac_exec_ext in '' $ac_executable_extensions; do
47599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47600 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47602 break 2
47603 fi
47604 done
47605 done
47606 IFS=$as_save_IFS
47607
47608 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47609 fi
47610 fi
47611 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47612 if test -n "$AIX_CXX_LD"; then
47613 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47614 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47615 else
47616 { echo "$as_me:$LINENO: result: no" >&5
47617 echo "${ECHO_T}no" >&6; }
47618 fi
47619
47620
47621 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47622 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47623 fi
47624 ;;
47625
47626 *-*-beos* )
47627 SHARED_LD_CC="${LD} -nostart -o"
47628 SHARED_LD_CXX="${LD} -nostart -o"
47629 ;;
47630
47631 *-*-irix* )
47632 if test "x$GCC" != "xyes"; then
47633 PIC_FLAG="-KPIC"
47634 fi
47635 ;;
47636
47637 *-*-cygwin* | *-*-mingw32* )
47638 PIC_FLAG=""
47639 SHARED_LD_CC="\$(CC) -shared -o"
47640 SHARED_LD_CXX="\$(CXX) -shared -o"
47641 WINDOWS_IMPLIB=1
47642 ;;
47643
47644 *-pc-os2_emx | *-pc-os2-emx )
47645 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47646 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47647 PIC_FLAG=""
47648
47649 D='$'
47650 cat <<EOF >dllar.sh
47651 #!/bin/sh
47652 #
47653 # dllar - a tool to build both a .dll and an .a file
47654 # from a set of object (.o) files for EMX/OS2.
47655 #
47656 # Written by Andrew Zabolotny, bit@freya.etu.ru
47657 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47658 #
47659 # This script will accept a set of files on the command line.
47660 # All the public symbols from the .o files will be exported into
47661 # a .DEF file, then linker will be run (through gcc) against them to
47662 # build a shared library consisting of all given .o files. All libraries
47663 # (.a) will be first decompressed into component .o files then act as
47664 # described above. You can optionally give a description (-d "description")
47665 # which will be put into .DLL. To see the list of accepted options (as well
47666 # as command-line format) simply run this program without options. The .DLL
47667 # is built to be imported by name (there is no guarantee that new versions
47668 # of the library you build will have same ordinals for same symbols).
47669 #
47670 # dllar is free software; you can redistribute it and/or modify
47671 # it under the terms of the GNU General Public License as published by
47672 # the Free Software Foundation; either version 2, or (at your option)
47673 # any later version.
47674 #
47675 # dllar is distributed in the hope that it will be useful,
47676 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47677 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47678 # GNU General Public License for more details.
47679 #
47680 # You should have received a copy of the GNU General Public License
47681 # along with dllar; see the file COPYING. If not, write to the Free
47682 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47683 # 02111-1307, USA.
47684
47685 # To successfuly run this program you will need:
47686 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47687 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47688 # - gcc
47689 # (used to build the .dll)
47690 # - emxexp
47691 # (used to create .def file from .o files)
47692 # - emximp
47693 # (used to create .a file from .def file)
47694 # - GNU text utilites (cat, sort, uniq)
47695 # used to process emxexp output
47696 # - GNU file utilities (mv, rm)
47697 # - GNU sed
47698 # - lxlite (optional, see flag below)
47699 # (used for general .dll cleanup)
47700 #
47701
47702 flag_USE_LXLITE=1;
47703
47704 #
47705 # helper functions
47706 # basnam, variant of basename, which does _not_ remove the path, _iff_
47707 # second argument (suffix to remove) is given
47708 basnam(){
47709 case ${D}# in
47710 1)
47711 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47712 ;;
47713 2)
47714 echo ${D}1 | sed 's/'${D}2'${D}//'
47715 ;;
47716 *)
47717 echo "error in basnam ${D}*"
47718 exit 8
47719 ;;
47720 esac
47721 }
47722
47723 # Cleanup temporary files and output
47724 CleanUp() {
47725 cd ${D}curDir
47726 for i in ${D}inputFiles ; do
47727 case ${D}i in
47728 *!)
47729 rm -rf \`basnam ${D}i !\`
47730 ;;
47731 *)
47732 ;;
47733 esac
47734 done
47735
47736 # Kill result in case of failure as there is just to many stupid make/nmake
47737 # things out there which doesn't do this.
47738 if [ ${D}# -eq 0 ]; then
47739 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47740 fi
47741 }
47742
47743 # Print usage and exit script with rc=1.
47744 PrintHelp() {
47745 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47746 echo ' [-name-mangler-script script.sh]'
47747 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47748 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47749 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47750 echo ' [*.o] [*.a]'
47751 echo '*> "output_file" should have no extension.'
47752 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47753 echo ' The import library name is derived from this and is set to "name".a,'
47754 echo ' unless overridden by -import'
47755 echo '*> "importlib_name" should have no extension.'
47756 echo ' If it has the .o, or .a extension, it is automatically removed.'
47757 echo ' This name is used as the import library name and may be longer and'
47758 echo ' more descriptive than the DLL name which has to follow the old '
47759 echo ' 8.3 convention of FAT.'
47760 echo '*> "script.sh may be given to override the output_file name by a'
47761 echo ' different name. It is mainly useful if the regular make process'
47762 echo ' of some package does not take into account OS/2 restriction of'
47763 echo ' DLL name lengths. It takes the importlib name as input and is'
47764 echo ' supposed to procude a shorter name as output. The script should'
47765 echo ' expect to get importlib_name without extension and should produce'
47766 echo ' a (max.) 8 letter name without extension.'
47767 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47768 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47769 echo ' These flags will be put at the start of GCC command line.'
47770 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47771 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47772 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47773 echo ' If the last character of a symbol is "*", all symbols beginning'
47774 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47775 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47776 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47777 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47778 echo ' C runtime DLLs.'
47779 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47780 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47781 echo ' unchanged to GCC at the end of command line.'
47782 echo '*> If you create a DLL from a library and you do not specify -o,'
47783 echo ' the basename for DLL and import library will be set to library name,'
47784 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47785 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47786 echo ' library will be renamed into gcc_s.a.'
47787 echo '--------'
47788 echo 'Example:'
47789 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47790 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47791 CleanUp
47792 exit 1
47793 }
47794
47795 # Execute a command.
47796 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47797 # @Uses Whatever CleanUp() uses.
47798 doCommand() {
47799 echo "${D}*"
47800 eval ${D}*
47801 rcCmd=${D}?
47802
47803 if [ ${D}rcCmd -ne 0 ]; then
47804 echo "command failed, exit code="${D}rcCmd
47805 CleanUp
47806 exit ${D}rcCmd
47807 fi
47808 }
47809
47810 # main routine
47811 # setup globals
47812 cmdLine=${D}*
47813 outFile=""
47814 outimpFile=""
47815 inputFiles=""
47816 renameScript=""
47817 description=""
47818 CC=gcc.exe
47819 CFLAGS="-s -Zcrtdll"
47820 EXTRA_CFLAGS=""
47821 EXPORT_BY_ORDINALS=0
47822 exclude_symbols=""
47823 library_flags=""
47824 curDir=\`pwd\`
47825 curDirS=curDir
47826 case ${D}curDirS in
47827 */)
47828 ;;
47829 *)
47830 curDirS=${D}{curDirS}"/"
47831 ;;
47832 esac
47833 # Parse commandline
47834 libsToLink=0
47835 omfLinking=0
47836 while [ ${D}1 ]; do
47837 case ${D}1 in
47838 -ord*)
47839 EXPORT_BY_ORDINALS=1;
47840 ;;
47841 -o*)
47842 shift
47843 outFile=${D}1
47844 ;;
47845 -i*)
47846 shift
47847 outimpFile=${D}1
47848 ;;
47849 -name-mangler-script)
47850 shift
47851 renameScript=${D}1
47852 ;;
47853 -d*)
47854 shift
47855 description=${D}1
47856 ;;
47857 -f*)
47858 shift
47859 CFLAGS=${D}1
47860 ;;
47861 -c*)
47862 shift
47863 CC=${D}1
47864 ;;
47865 -h*)
47866 PrintHelp
47867 ;;
47868 -ex*)
47869 shift
47870 exclude_symbols=${D}{exclude_symbols}${D}1" "
47871 ;;
47872 -libf*)
47873 shift
47874 library_flags=${D}{library_flags}${D}1" "
47875 ;;
47876 -nocrt*)
47877 CFLAGS="-s"
47878 ;;
47879 -nolxl*)
47880 flag_USE_LXLITE=0
47881 ;;
47882 -* | /*)
47883 case ${D}1 in
47884 -L* | -l*)
47885 libsToLink=1
47886 ;;
47887 -Zomf)
47888 omfLinking=1
47889 ;;
47890 *)
47891 ;;
47892 esac
47893 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47894 ;;
47895 *.dll)
47896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47897 if [ ${D}omfLinking -eq 1 ]; then
47898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47899 else
47900 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47901 fi
47902 ;;
47903 *)
47904 found=0;
47905 if [ ${D}libsToLink -ne 0 ]; then
47906 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47907 else
47908 for file in ${D}1 ; do
47909 if [ -f ${D}file ]; then
47910 inputFiles="${D}{inputFiles} ${D}file"
47911 found=1
47912 fi
47913 done
47914 if [ ${D}found -eq 0 ]; then
47915 echo "ERROR: No file(s) found: "${D}1
47916 exit 8
47917 fi
47918 fi
47919 ;;
47920 esac
47921 shift
47922 done # iterate cmdline words
47923
47924 #
47925 if [ -z "${D}inputFiles" ]; then
47926 echo "dllar: no input files"
47927 PrintHelp
47928 fi
47929
47930 # Now extract all .o files from .a files
47931 newInputFiles=""
47932 for file in ${D}inputFiles ; do
47933 case ${D}file in
47934 *.a | *.lib)
47935 case ${D}file in
47936 *.a)
47937 suffix=".a"
47938 AR="ar"
47939 ;;
47940 *.lib)
47941 suffix=".lib"
47942 AR="emxomfar"
47943 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47944 ;;
47945 *)
47946 ;;
47947 esac
47948 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47949 mkdir ${D}dirname
47950 if [ ${D}? -ne 0 ]; then
47951 echo "Failed to create subdirectory ./${D}dirname"
47952 CleanUp
47953 exit 8;
47954 fi
47955 # Append '!' to indicate archive
47956 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47957 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47958 cd ${D}curDir
47959 found=0;
47960 for subfile in ${D}dirname/*.o* ; do
47961 if [ -f ${D}subfile ]; then
47962 found=1
47963 if [ -s ${D}subfile ]; then
47964 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47965 newInputFiles="${D}newInputFiles ${D}subfile"
47966 fi
47967 fi
47968 done
47969 if [ ${D}found -eq 0 ]; then
47970 echo "WARNING: there are no files in archive \\'${D}file\\'"
47971 fi
47972 ;;
47973 *)
47974 newInputFiles="${D}{newInputFiles} ${D}file"
47975 ;;
47976 esac
47977 done
47978 inputFiles="${D}newInputFiles"
47979
47980 # Output filename(s).
47981 do_backup=0;
47982 if [ -z ${D}outFile ]; then
47983 do_backup=1;
47984 set outFile ${D}inputFiles; outFile=${D}2
47985 fi
47986
47987 # If it is an archive, remove the '!' and the '_%' suffixes
47988 case ${D}outFile in
47989 *_%!)
47990 outFile=\`basnam ${D}outFile _%!\`
47991 ;;
47992 *)
47993 ;;
47994 esac
47995 case ${D}outFile in
47996 *.dll)
47997 outFile=\`basnam ${D}outFile .dll\`
47998 ;;
47999 *.DLL)
48000 outFile=\`basnam ${D}outFile .DLL\`
48001 ;;
48002 *.o)
48003 outFile=\`basnam ${D}outFile .o\`
48004 ;;
48005 *.obj)
48006 outFile=\`basnam ${D}outFile .obj\`
48007 ;;
48008 *.a)
48009 outFile=\`basnam ${D}outFile .a\`
48010 ;;
48011 *.lib)
48012 outFile=\`basnam ${D}outFile .lib\`
48013 ;;
48014 *)
48015 ;;
48016 esac
48017 case ${D}outimpFile in
48018 *.a)
48019 outimpFile=\`basnam ${D}outimpFile .a\`
48020 ;;
48021 *.lib)
48022 outimpFile=\`basnam ${D}outimpFile .lib\`
48023 ;;
48024 *)
48025 ;;
48026 esac
48027 if [ -z ${D}outimpFile ]; then
48028 outimpFile=${D}outFile
48029 fi
48030 defFile="${D}{outFile}.def"
48031 arcFile="${D}{outimpFile}.a"
48032 arcFile2="${D}{outimpFile}.lib"
48033
48034 #create ${D}dllFile as something matching 8.3 restrictions,
48035 if [ -z ${D}renameScript ] ; then
48036 dllFile="${D}outFile"
48037 else
48038 dllFile=\`${D}renameScript ${D}outimpFile\`
48039 fi
48040
48041 if [ ${D}do_backup -ne 0 ] ; then
48042 if [ -f ${D}arcFile ] ; then
48043 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48044 fi
48045 if [ -f ${D}arcFile2 ] ; then
48046 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48047 fi
48048 fi
48049
48050 # Extract public symbols from all the object files.
48051 tmpdefFile=${D}{defFile}_%
48052 rm -f ${D}tmpdefFile
48053 for file in ${D}inputFiles ; do
48054 case ${D}file in
48055 *!)
48056 ;;
48057 *)
48058 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48059 ;;
48060 esac
48061 done
48062
48063 # Create the def file.
48064 rm -f ${D}defFile
48065 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48066 dllFile="${D}{dllFile}.dll"
48067 if [ ! -z ${D}description ]; then
48068 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48069 fi
48070 echo "EXPORTS" >> ${D}defFile
48071
48072 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48073 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48074
48075 # Checks if the export is ok or not.
48076 for word in ${D}exclude_symbols; do
48077 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48078 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48079 done
48080
48081
48082 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48083 sed "=" < ${D}tmpdefFile | \\
48084 sed '
48085 N
48086 : loop
48087 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48088 t loop
48089 ' > ${D}{tmpdefFile}%
48090 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48091 else
48092 rm -f ${D}{tmpdefFile}%
48093 fi
48094 cat ${D}tmpdefFile >> ${D}defFile
48095 rm -f ${D}tmpdefFile
48096
48097 # Do linking, create implib, and apply lxlite.
48098 gccCmdl="";
48099 for file in ${D}inputFiles ; do
48100 case ${D}file in
48101 *!)
48102 ;;
48103 *)
48104 gccCmdl="${D}gccCmdl ${D}file"
48105 ;;
48106 esac
48107 done
48108 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48109 touch "${D}{outFile}.dll"
48110
48111 doCommand "emximp -o ${D}arcFile ${D}defFile"
48112 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48113 add_flags="";
48114 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48115 add_flags="-ynd"
48116 fi
48117 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48118 fi
48119 doCommand "emxomf -s -l ${D}arcFile"
48120
48121 # Successful exit.
48122 CleanUp 1
48123 exit 0
48124 EOF
48125
48126 chmod +x dllar.sh
48127 ;;
48128
48129 powerpc-apple-macos* | \
48130 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48131 *-*-mirbsd* | \
48132 *-*-sunos4* | \
48133 *-*-osf* | \
48134 *-*-dgux5* | \
48135 *-*-sysv5* | \
48136 *-pc-msdosdjgpp )
48137 ;;
48138
48139 *)
48140 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48141 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48142 { (exit 1); exit 1; }; }
48143 esac
48144
48145 if test "x$PIC_FLAG" != "x" ; then
48146 PIC_FLAG="$PIC_FLAG -DPIC"
48147 fi
48148
48149 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48150 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48151 fi
48152 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48153 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48154 fi
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164 USE_SOVERSION=0
48165 USE_SOVERLINUX=0
48166 USE_SOVERSOLARIS=0
48167 USE_SOVERCYGWIN=0
48168 USE_SOSYMLINKS=0
48169 USE_MACVERSION=0
48170 SONAME_FLAG=
48171
48172 case "${BAKEFILE_HOST}" in
48173 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48174 if test "x$SUNCXX" = "xyes"; then
48175 SONAME_FLAG="-h "
48176 else
48177 SONAME_FLAG="-Wl,-soname,"
48178 fi
48179 USE_SOVERSION=1
48180 USE_SOVERLINUX=1
48181 USE_SOSYMLINKS=1
48182 ;;
48183
48184 *-*-solaris2* )
48185 SONAME_FLAG="-h "
48186 USE_SOVERSION=1
48187 USE_SOVERSOLARIS=1
48188 USE_SOSYMLINKS=1
48189 ;;
48190
48191 *-*-darwin* )
48192 USE_MACVERSION=1
48193 USE_SOVERSION=1
48194 USE_SOSYMLINKS=1
48195 ;;
48196
48197 *-*-cygwin* )
48198 USE_SOVERSION=1
48199 USE_SOVERCYGWIN=1
48200 ;;
48201 esac
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212 # Check whether --enable-dependency-tracking was given.
48213 if test "${enable_dependency_tracking+set}" = set; then
48214 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48215 fi
48216
48217
48218 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48219 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48220
48221 BK_DEPS=""
48222 if test "x$bk_use_trackdeps" = "xno" ; then
48223 DEPS_TRACKING=0
48224 { echo "$as_me:$LINENO: result: disabled" >&5
48225 echo "${ECHO_T}disabled" >&6; }
48226 else
48227 DEPS_TRACKING=1
48228
48229 if test "x$GCC" = "xyes"; then
48230 DEPSMODE=gcc
48231 case "${BAKEFILE_HOST}" in
48232 *-*-darwin* )
48233 DEPSFLAG="-no-cpp-precomp -MMD"
48234 ;;
48235 * )
48236 DEPSFLAG="-MMD"
48237 ;;
48238 esac
48239 { echo "$as_me:$LINENO: result: gcc" >&5
48240 echo "${ECHO_T}gcc" >&6; }
48241 elif test "x$MWCC" = "xyes"; then
48242 DEPSMODE=mwcc
48243 DEPSFLAG="-MM"
48244 { echo "$as_me:$LINENO: result: mwcc" >&5
48245 echo "${ECHO_T}mwcc" >&6; }
48246 elif test "x$SUNCC" = "xyes"; then
48247 DEPSMODE=unixcc
48248 DEPSFLAG="-xM1"
48249 { echo "$as_me:$LINENO: result: Sun cc" >&5
48250 echo "${ECHO_T}Sun cc" >&6; }
48251 elif test "x$SGICC" = "xyes"; then
48252 DEPSMODE=unixcc
48253 DEPSFLAG="-M"
48254 { echo "$as_me:$LINENO: result: SGI cc" >&5
48255 echo "${ECHO_T}SGI cc" >&6; }
48256 elif test "x$HPCC" = "xyes"; then
48257 DEPSMODE=unixcc
48258 DEPSFLAG="+make"
48259 { echo "$as_me:$LINENO: result: HP cc" >&5
48260 echo "${ECHO_T}HP cc" >&6; }
48261 elif test "x$COMPAQCC" = "xyes"; then
48262 DEPSMODE=gcc
48263 DEPSFLAG="-MD"
48264 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48265 echo "${ECHO_T}Compaq cc" >&6; }
48266 else
48267 DEPS_TRACKING=0
48268 { echo "$as_me:$LINENO: result: none" >&5
48269 echo "${ECHO_T}none" >&6; }
48270 fi
48271
48272 if test $DEPS_TRACKING = 1 ; then
48273
48274 D='$'
48275 cat <<EOF >bk-deps
48276 #!/bin/sh
48277
48278 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48279 # script. It is used to track C/C++ files dependencies in portable way.
48280 #
48281 # Permission is given to use this file in any way.
48282
48283 DEPSMODE=${DEPSMODE}
48284 DEPSDIR=.deps
48285 DEPSFLAG="${DEPSFLAG}"
48286
48287 mkdir -p ${D}DEPSDIR
48288
48289 if test ${D}DEPSMODE = gcc ; then
48290 ${D}* ${D}{DEPSFLAG}
48291 status=${D}?
48292 if test ${D}{status} != 0 ; then
48293 exit ${D}{status}
48294 fi
48295 # move created file to the location we want it in:
48296 while test ${D}# -gt 0; do
48297 case "${D}1" in
48298 -o )
48299 shift
48300 objfile=${D}1
48301 ;;
48302 -* )
48303 ;;
48304 * )
48305 srcfile=${D}1
48306 ;;
48307 esac
48308 shift
48309 done
48310 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48311 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48312 if test -f ${D}depfile ; then
48313 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48314 rm -f ${D}depfile
48315 else
48316 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48317 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48318 if test ! -f ${D}depfile ; then
48319 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48320 depfile="${D}objfile.d"
48321 fi
48322 if test -f ${D}depfile ; then
48323 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48324 rm -f ${D}depfile
48325 fi
48326 fi
48327 exit 0
48328 elif test ${D}DEPSMODE = mwcc ; then
48329 ${D}* || exit ${D}?
48330 # Run mwcc again with -MM and redirect into the dep file we want
48331 # NOTE: We can't use shift here because we need ${D}* to be valid
48332 prevarg=
48333 for arg in ${D}* ; do
48334 if test "${D}prevarg" = "-o"; then
48335 objfile=${D}arg
48336 else
48337 case "${D}arg" in
48338 -* )
48339 ;;
48340 * )
48341 srcfile=${D}arg
48342 ;;
48343 esac
48344 fi
48345 prevarg="${D}arg"
48346 done
48347 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48348 exit 0
48349 elif test ${D}DEPSMODE = unixcc; then
48350 ${D}* || exit ${D}?
48351 # Run compiler again with deps flag and redirect into the dep file.
48352 # It doesn't work if the '-o FILE' option is used, but without it the
48353 # dependency file will contain the wrong name for the object. So it is
48354 # removed from the command line, and the dep file is fixed with sed.
48355 cmd=""
48356 while test ${D}# -gt 0; do
48357 case "${D}1" in
48358 -o )
48359 shift
48360 objfile=${D}1
48361 ;;
48362 * )
48363 eval arg${D}#=\\${D}1
48364 cmd="${D}cmd \\${D}arg${D}#"
48365 ;;
48366 esac
48367 shift
48368 done
48369 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48370 exit 0
48371 else
48372 ${D}*
48373 exit ${D}?
48374 fi
48375 EOF
48376
48377 chmod +x bk-deps
48378 BK_DEPS="`pwd`/bk-deps"
48379 fi
48380 fi
48381
48382
48383
48384
48385
48386 case ${BAKEFILE_HOST} in
48387 *-*-cygwin* | *-*-mingw32* )
48388 if test -n "$ac_tool_prefix"; then
48389 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48390 set dummy ${ac_tool_prefix}windres; ac_word=$2
48391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48393 if test "${ac_cv_prog_WINDRES+set}" = set; then
48394 echo $ECHO_N "(cached) $ECHO_C" >&6
48395 else
48396 if test -n "$WINDRES"; then
48397 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48398 else
48399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48400 for as_dir in $PATH
48401 do
48402 IFS=$as_save_IFS
48403 test -z "$as_dir" && as_dir=.
48404 for ac_exec_ext in '' $ac_executable_extensions; do
48405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48406 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48408 break 2
48409 fi
48410 done
48411 done
48412 IFS=$as_save_IFS
48413
48414 fi
48415 fi
48416 WINDRES=$ac_cv_prog_WINDRES
48417 if test -n "$WINDRES"; then
48418 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48419 echo "${ECHO_T}$WINDRES" >&6; }
48420 else
48421 { echo "$as_me:$LINENO: result: no" >&5
48422 echo "${ECHO_T}no" >&6; }
48423 fi
48424
48425
48426 fi
48427 if test -z "$ac_cv_prog_WINDRES"; then
48428 ac_ct_WINDRES=$WINDRES
48429 # Extract the first word of "windres", so it can be a program name with args.
48430 set dummy windres; ac_word=$2
48431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48433 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48435 else
48436 if test -n "$ac_ct_WINDRES"; then
48437 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48438 else
48439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48440 for as_dir in $PATH
48441 do
48442 IFS=$as_save_IFS
48443 test -z "$as_dir" && as_dir=.
48444 for ac_exec_ext in '' $ac_executable_extensions; do
48445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48446 ac_cv_prog_ac_ct_WINDRES="windres"
48447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48448 break 2
48449 fi
48450 done
48451 done
48452 IFS=$as_save_IFS
48453
48454 fi
48455 fi
48456 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48457 if test -n "$ac_ct_WINDRES"; then
48458 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48459 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48460 else
48461 { echo "$as_me:$LINENO: result: no" >&5
48462 echo "${ECHO_T}no" >&6; }
48463 fi
48464
48465 if test "x$ac_ct_WINDRES" = x; then
48466 WINDRES=""
48467 else
48468 case $cross_compiling:$ac_tool_warned in
48469 yes:)
48470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48471 whose name does not start with the host triplet. If you think this
48472 configuration is useful to you, please write to autoconf@gnu.org." >&5
48473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48474 whose name does not start with the host triplet. If you think this
48475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48476 ac_tool_warned=yes ;;
48477 esac
48478 WINDRES=$ac_ct_WINDRES
48479 fi
48480 else
48481 WINDRES="$ac_cv_prog_WINDRES"
48482 fi
48483
48484 ;;
48485
48486 *-*-darwin* | powerpc-apple-macos* )
48487 # Extract the first word of "Rez", so it can be a program name with args.
48488 set dummy Rez; ac_word=$2
48489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48491 if test "${ac_cv_prog_REZ+set}" = set; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 else
48494 if test -n "$REZ"; then
48495 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48496 else
48497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48498 for as_dir in $PATH
48499 do
48500 IFS=$as_save_IFS
48501 test -z "$as_dir" && as_dir=.
48502 for ac_exec_ext in '' $ac_executable_extensions; do
48503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48504 ac_cv_prog_REZ="Rez"
48505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48506 break 2
48507 fi
48508 done
48509 done
48510 IFS=$as_save_IFS
48511
48512 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48513 fi
48514 fi
48515 REZ=$ac_cv_prog_REZ
48516 if test -n "$REZ"; then
48517 { echo "$as_me:$LINENO: result: $REZ" >&5
48518 echo "${ECHO_T}$REZ" >&6; }
48519 else
48520 { echo "$as_me:$LINENO: result: no" >&5
48521 echo "${ECHO_T}no" >&6; }
48522 fi
48523
48524
48525 # Extract the first word of "SetFile", so it can be a program name with args.
48526 set dummy SetFile; ac_word=$2
48527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48529 if test "${ac_cv_prog_SETFILE+set}" = set; then
48530 echo $ECHO_N "(cached) $ECHO_C" >&6
48531 else
48532 if test -n "$SETFILE"; then
48533 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48534 else
48535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48536 for as_dir in $PATH
48537 do
48538 IFS=$as_save_IFS
48539 test -z "$as_dir" && as_dir=.
48540 for ac_exec_ext in '' $ac_executable_extensions; do
48541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48542 ac_cv_prog_SETFILE="SetFile"
48543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48544 break 2
48545 fi
48546 done
48547 done
48548 IFS=$as_save_IFS
48549
48550 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48551 fi
48552 fi
48553 SETFILE=$ac_cv_prog_SETFILE
48554 if test -n "$SETFILE"; then
48555 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48556 echo "${ECHO_T}$SETFILE" >&6; }
48557 else
48558 { echo "$as_me:$LINENO: result: no" >&5
48559 echo "${ECHO_T}no" >&6; }
48560 fi
48561
48562
48563 ;;
48564 esac
48565
48566
48567
48568
48569
48570
48571 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48572
48573
48574 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48575
48576
48577
48578 # Check whether --enable-precomp-headers was given.
48579 if test "${enable_precomp_headers+set}" = set; then
48580 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48581 fi
48582
48583
48584 GCC_PCH=0
48585 ICC_PCH=0
48586 USE_PCH=0
48587 BK_MAKE_PCH=""
48588
48589 case ${BAKEFILE_HOST} in
48590 *-*-cygwin* )
48591 bk_use_pch="no"
48592 ;;
48593 esac
48594
48595 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48596 if test "x$GCC" = "xyes"; then
48597 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48598 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48599 cat >conftest.$ac_ext <<_ACEOF
48600 /* confdefs.h. */
48601 _ACEOF
48602 cat confdefs.h >>conftest.$ac_ext
48603 cat >>conftest.$ac_ext <<_ACEOF
48604 /* end confdefs.h. */
48605
48606 int
48607 main ()
48608 {
48609
48610 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48611 There is no PCH support
48612 #endif
48613 #if (__GNUC__ < 3)
48614 There is no PCH support
48615 #endif
48616 #if (__GNUC__ == 3) && \
48617 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48618 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48619 ( defined(__INTEL_COMPILER) )
48620 There is no PCH support
48621 #endif
48622
48623 ;
48624 return 0;
48625 }
48626 _ACEOF
48627 rm -f conftest.$ac_objext
48628 if { (ac_try="$ac_compile"
48629 case "(($ac_try" in
48630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48631 *) ac_try_echo=$ac_try;;
48632 esac
48633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48634 (eval "$ac_compile") 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } && {
48641 test -z "$ac_c_werror_flag" ||
48642 test ! -s conftest.err
48643 } && test -s conftest.$ac_objext; then
48644
48645 { echo "$as_me:$LINENO: result: yes" >&5
48646 echo "${ECHO_T}yes" >&6; }
48647 GCC_PCH=1
48648
48649 else
48650 echo "$as_me: failed program was:" >&5
48651 sed 's/^/| /' conftest.$ac_ext >&5
48652
48653
48654 cat >conftest.$ac_ext <<_ACEOF
48655 /* confdefs.h. */
48656 _ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h. */
48660
48661 int
48662 main ()
48663 {
48664
48665 #if !defined(__INTEL_COMPILER) || \
48666 (__INTEL_COMPILER < 800)
48667 There is no PCH support
48668 #endif
48669
48670 ;
48671 return 0;
48672 }
48673 _ACEOF
48674 rm -f conftest.$ac_objext
48675 if { (ac_try="$ac_compile"
48676 case "(($ac_try" in
48677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48678 *) ac_try_echo=$ac_try;;
48679 esac
48680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48681 (eval "$ac_compile") 2>conftest.er1
48682 ac_status=$?
48683 grep -v '^ *+' conftest.er1 >conftest.err
48684 rm -f conftest.er1
48685 cat conftest.err >&5
48686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48687 (exit $ac_status); } && {
48688 test -z "$ac_c_werror_flag" ||
48689 test ! -s conftest.err
48690 } && test -s conftest.$ac_objext; then
48691
48692 { echo "$as_me:$LINENO: result: yes" >&5
48693 echo "${ECHO_T}yes" >&6; }
48694 ICC_PCH=1
48695
48696 else
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48699
48700
48701 { echo "$as_me:$LINENO: result: no" >&5
48702 echo "${ECHO_T}no" >&6; }
48703
48704 fi
48705
48706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48707
48708 fi
48709
48710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48711 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48712 USE_PCH=1
48713
48714 D='$'
48715 cat <<EOF >bk-make-pch
48716 #!/bin/sh
48717
48718 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48719 # script. It is used to generated precompiled headers.
48720 #
48721 # Permission is given to use this file in any way.
48722
48723 outfile="${D}{1}"
48724 header="${D}{2}"
48725 shift
48726 shift
48727
48728 compiler=""
48729 headerfile=""
48730
48731 while test ${D}{#} -gt 0; do
48732 add_to_cmdline=1
48733 case "${D}{1}" in
48734 -I* )
48735 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48736 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48737 headerfile="${D}{incdir}/${D}{header}"
48738 fi
48739 ;;
48740 -use-pch|-use_pch )
48741 shift
48742 add_to_cmdline=0
48743 ;;
48744 esac
48745 if test ${D}add_to_cmdline = 1 ; then
48746 compiler="${D}{compiler} ${D}{1}"
48747 fi
48748 shift
48749 done
48750
48751 if test "x${D}{headerfile}" = "x" ; then
48752 echo "error: can't find header ${D}{header} in include paths" >&2
48753 else
48754 if test -f ${D}{outfile} ; then
48755 rm -f ${D}{outfile}
48756 else
48757 mkdir -p \`dirname ${D}{outfile}\`
48758 fi
48759 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48760 mkdir -p .deps
48761 if test "x${GCC_PCH}" = "x1" ; then
48762 # can do this because gcc is >= 3.4:
48763 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48764 elif test "x${ICC_PCH}" = "x1" ; then
48765 filename=pch_gen-${D}${D}
48766 file=${D}{filename}.c
48767 dfile=${D}{filename}.d
48768 cat > ${D}file <<EOT
48769 #include "${D}header"
48770 EOT
48771 # using -MF icc complains about differing command lines in creation/use
48772 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48773 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48774 rm -f ${D}file ${D}dfile ${D}{filename}.o
48775 fi
48776 exit ${D}{?}
48777 fi
48778 EOF
48779
48780 chmod +x bk-make-pch
48781 BK_MAKE_PCH="`pwd`/bk-make-pch"
48782 fi
48783 fi
48784 fi
48785
48786
48787
48788
48789
48790 COND_BUILD_DEBUG="#"
48791 if test "x$BUILD" = "xdebug" ; then
48792 COND_BUILD_DEBUG=""
48793 fi
48794
48795 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48797 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48798 fi
48799
48800 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48801 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48802 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48803 fi
48804
48805 COND_BUILD_DEBUG_UNICODE_0="#"
48806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48807 COND_BUILD_DEBUG_UNICODE_0=""
48808 fi
48809
48810 COND_BUILD_DEBUG_UNICODE_1="#"
48811 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48812 COND_BUILD_DEBUG_UNICODE_1=""
48813 fi
48814
48815 COND_BUILD_RELEASE="#"
48816 if test "x$BUILD" = "xrelease" ; then
48817 COND_BUILD_RELEASE=""
48818 fi
48819
48820 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48821 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48823 fi
48824
48825 COND_BUILD_RELEASE_UNICODE_0="#"
48826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48827 COND_BUILD_RELEASE_UNICODE_0=""
48828 fi
48829
48830 COND_BUILD_RELEASE_UNICODE_1="#"
48831 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48832 COND_BUILD_RELEASE_UNICODE_1=""
48833 fi
48834
48835 COND_DEBUG_FLAG_1="#"
48836 if test "x$DEBUG_FLAG" = "x1" ; then
48837 COND_DEBUG_FLAG_1=""
48838 fi
48839
48840 COND_DEBUG_INFO_0="#"
48841 if test "x$DEBUG_INFO" = "x0" ; then
48842 COND_DEBUG_INFO_0=""
48843 fi
48844
48845 COND_DEBUG_INFO_1="#"
48846 if test "x$DEBUG_INFO" = "x1" ; then
48847 COND_DEBUG_INFO_1=""
48848 fi
48849
48850 COND_DEPS_TRACKING_0="#"
48851 if test "x$DEPS_TRACKING" = "x0" ; then
48852 COND_DEPS_TRACKING_0=""
48853 fi
48854
48855 COND_DEPS_TRACKING_1="#"
48856 if test "x$DEPS_TRACKING" = "x1" ; then
48857 COND_DEPS_TRACKING_1=""
48858 fi
48859
48860 COND_GCC_PCH_1="#"
48861 if test "x$GCC_PCH" = "x1" ; then
48862 COND_GCC_PCH_1=""
48863 fi
48864
48865 COND_ICC_PCH_1="#"
48866 if test "x$ICC_PCH" = "x1" ; then
48867 COND_ICC_PCH_1=""
48868 fi
48869
48870 COND_MONOLITHIC_0="#"
48871 if test "x$MONOLITHIC" = "x0" ; then
48872 COND_MONOLITHIC_0=""
48873 fi
48874
48875 COND_MONOLITHIC_0_SHARED_0="#"
48876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48877 COND_MONOLITHIC_0_SHARED_0=""
48878 fi
48879
48880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48882 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48883 fi
48884
48885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48888 fi
48889
48890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48893 fi
48894
48895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48898 fi
48899
48900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48903 fi
48904
48905 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48907 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48908 fi
48909
48910 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48912 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48913 fi
48914
48915 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48917 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48918 fi
48919
48920 COND_MONOLITHIC_0_SHARED_1="#"
48921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48922 COND_MONOLITHIC_0_SHARED_1=""
48923 fi
48924
48925 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48927 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48928 fi
48929
48930 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48932 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48933 fi
48934
48935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48938 fi
48939
48940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48943 fi
48944
48945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48948 fi
48949
48950 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48952 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48953 fi
48954
48955 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48957 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48958 fi
48959
48960 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48962 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48963 fi
48964
48965 COND_MONOLITHIC_0_USE_AUI_1="#"
48966 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48967 COND_MONOLITHIC_0_USE_AUI_1=""
48968 fi
48969
48970 COND_MONOLITHIC_0_USE_GUI_1="#"
48971 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48972 COND_MONOLITHIC_0_USE_GUI_1=""
48973 fi
48974
48975 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48976 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48977 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48978 fi
48979
48980 COND_MONOLITHIC_0_USE_HTML_1="#"
48981 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48982 COND_MONOLITHIC_0_USE_HTML_1=""
48983 fi
48984
48985 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48986 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48987 COND_MONOLITHIC_0_USE_MEDIA_1=""
48988 fi
48989
48990 COND_MONOLITHIC_0_USE_QA_1="#"
48991 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48992 COND_MONOLITHIC_0_USE_QA_1=""
48993 fi
48994
48995 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48996 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48997 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48998 fi
48999
49000 COND_MONOLITHIC_0_USE_STC_1="#"
49001 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49002 COND_MONOLITHIC_0_USE_STC_1=""
49003 fi
49004
49005 COND_MONOLITHIC_0_USE_XRC_1="#"
49006 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49007 COND_MONOLITHIC_0_USE_XRC_1=""
49008 fi
49009
49010 COND_MONOLITHIC_1="#"
49011 if test "x$MONOLITHIC" = "x1" ; then
49012 COND_MONOLITHIC_1=""
49013 fi
49014
49015 COND_MONOLITHIC_1_SHARED_0="#"
49016 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49017 COND_MONOLITHIC_1_SHARED_0=""
49018 fi
49019
49020 COND_MONOLITHIC_1_SHARED_1="#"
49021 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49022 COND_MONOLITHIC_1_SHARED_1=""
49023 fi
49024
49025 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49026 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49027 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49028 fi
49029
49030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49031 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49032 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49033 fi
49034
49035 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49036 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49038 fi
49039
49040 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49041 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49042 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49043 fi
49044
49045 COND_PLATFORM_MACOSX_1="#"
49046 if test "x$PLATFORM_MACOSX" = "x1" ; then
49047 COND_PLATFORM_MACOSX_1=""
49048 fi
49049
49050 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49052 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49053 fi
49054
49055 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49057 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49058 fi
49059
49060 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49061 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49062 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49063 fi
49064
49065 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49066 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49067 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49068 fi
49069
49070 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49071 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49072 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49073 fi
49074
49075 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49076 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49077 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49078 fi
49079
49080 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49081 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49082 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49083 fi
49084
49085 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49087 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49088 fi
49089
49090 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49092 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49093 fi
49094
49095 COND_PLATFORM_MACOS_1="#"
49096 if test "x$PLATFORM_MACOS" = "x1" ; then
49097 COND_PLATFORM_MACOS_1=""
49098 fi
49099
49100 COND_PLATFORM_MAC_1="#"
49101 if test "x$PLATFORM_MAC" = "x1" ; then
49102 COND_PLATFORM_MAC_1=""
49103 fi
49104
49105 COND_PLATFORM_MSDOS_1="#"
49106 if test "x$PLATFORM_MSDOS" = "x1" ; then
49107 COND_PLATFORM_MSDOS_1=""
49108 fi
49109
49110 COND_PLATFORM_OS2_1="#"
49111 if test "x$PLATFORM_OS2" = "x1" ; then
49112 COND_PLATFORM_OS2_1=""
49113 fi
49114
49115 COND_PLATFORM_UNIX_0="#"
49116 if test "x$PLATFORM_UNIX" = "x0" ; then
49117 COND_PLATFORM_UNIX_0=""
49118 fi
49119
49120 COND_PLATFORM_UNIX_1="#"
49121 if test "x$PLATFORM_UNIX" = "x1" ; then
49122 COND_PLATFORM_UNIX_1=""
49123 fi
49124
49125 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49126 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49128 fi
49129
49130 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49131 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49133 fi
49134
49135 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49136 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49137 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49138 fi
49139
49140 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49141 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49142 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49143 fi
49144
49145 COND_PLATFORM_WIN32_0="#"
49146 if test "x$PLATFORM_WIN32" = "x0" ; then
49147 COND_PLATFORM_WIN32_0=""
49148 fi
49149
49150 COND_PLATFORM_WIN32_1="#"
49151 if test "x$PLATFORM_WIN32" = "x1" ; then
49152 COND_PLATFORM_WIN32_1=""
49153 fi
49154
49155 COND_SHARED_0="#"
49156 if test "x$SHARED" = "x0" ; then
49157 COND_SHARED_0=""
49158 fi
49159
49160 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49161 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49162 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49163 fi
49164
49165 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49166 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49167 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49168 fi
49169
49170 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49171 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49172 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49173 fi
49174
49175 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49176 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49177 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49178 fi
49179
49180 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49181 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49182 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49183 fi
49184
49185 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49186 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49187 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49188 fi
49189
49190 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49191 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49192 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49193 fi
49194
49195 COND_SHARED_0_USE_STC_1="#"
49196 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49197 COND_SHARED_0_USE_STC_1=""
49198 fi
49199
49200 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49201 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49202 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49203 fi
49204
49205 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49206 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49207 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49208 fi
49209
49210 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49211 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49212 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49213 fi
49214
49215 COND_SHARED_1="#"
49216 if test "x$SHARED" = "x1" ; then
49217 COND_SHARED_1=""
49218 fi
49219
49220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49221 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49222 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49223 fi
49224
49225 COND_TOOLKIT_="#"
49226 if test "x$TOOLKIT" = "x" ; then
49227 COND_TOOLKIT_=""
49228 fi
49229
49230 COND_TOOLKIT_COCOA="#"
49231 if test "x$TOOLKIT" = "xCOCOA" ; then
49232 COND_TOOLKIT_COCOA=""
49233 fi
49234
49235 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49236 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49237 COND_TOOLKIT_COCOA_USE_GUI_1=""
49238 fi
49239
49240 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49241 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49242 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49243 fi
49244
49245 COND_TOOLKIT_DFB="#"
49246 if test "x$TOOLKIT" = "xDFB" ; then
49247 COND_TOOLKIT_DFB=""
49248 fi
49249
49250 COND_TOOLKIT_DFB_USE_GUI_1="#"
49251 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49252 COND_TOOLKIT_DFB_USE_GUI_1=""
49253 fi
49254
49255 COND_TOOLKIT_GTK="#"
49256 if test "x$TOOLKIT" = "xGTK" ; then
49257 COND_TOOLKIT_GTK=""
49258 fi
49259
49260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49263 fi
49264
49265 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49268 fi
49269
49270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49273 fi
49274
49275 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49276 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49278 fi
49279
49280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49281 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49283 fi
49284
49285 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49286 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49288 fi
49289
49290 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49291 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49292 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49293 fi
49294
49295 COND_TOOLKIT_GTK_USE_GUI_1="#"
49296 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49297 COND_TOOLKIT_GTK_USE_GUI_1=""
49298 fi
49299
49300 COND_TOOLKIT_MAC="#"
49301 if test "x$TOOLKIT" = "xMAC" ; then
49302 COND_TOOLKIT_MAC=""
49303 fi
49304
49305 COND_TOOLKIT_MAC_USE_GUI_1="#"
49306 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49307 COND_TOOLKIT_MAC_USE_GUI_1=""
49308 fi
49309
49310 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49311 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49312 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49313 fi
49314
49315 COND_TOOLKIT_MGL="#"
49316 if test "x$TOOLKIT" = "xMGL" ; then
49317 COND_TOOLKIT_MGL=""
49318 fi
49319
49320 COND_TOOLKIT_MGL_USE_GUI_1="#"
49321 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49322 COND_TOOLKIT_MGL_USE_GUI_1=""
49323 fi
49324
49325 COND_TOOLKIT_MOTIF="#"
49326 if test "x$TOOLKIT" = "xMOTIF" ; then
49327 COND_TOOLKIT_MOTIF=""
49328 fi
49329
49330 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49331 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49332 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49333 fi
49334
49335 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49336 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49337 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49338 fi
49339
49340 COND_TOOLKIT_MSW="#"
49341 if test "x$TOOLKIT" = "xMSW" ; then
49342 COND_TOOLKIT_MSW=""
49343 fi
49344
49345 COND_TOOLKIT_MSW_USE_GUI_1="#"
49346 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49347 COND_TOOLKIT_MSW_USE_GUI_1=""
49348 fi
49349
49350 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49351 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49352 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49353 fi
49354
49355 COND_TOOLKIT_MSW_WXUNIV_0="#"
49356 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49357 COND_TOOLKIT_MSW_WXUNIV_0=""
49358 fi
49359
49360 COND_TOOLKIT_PM="#"
49361 if test "x$TOOLKIT" = "xPM" ; then
49362 COND_TOOLKIT_PM=""
49363 fi
49364
49365 COND_TOOLKIT_PM_USE_GUI_1="#"
49366 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49367 COND_TOOLKIT_PM_USE_GUI_1=""
49368 fi
49369
49370 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49371 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49372 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49373 fi
49374
49375 COND_TOOLKIT_WINCE="#"
49376 if test "x$TOOLKIT" = "xWINCE" ; then
49377 COND_TOOLKIT_WINCE=""
49378 fi
49379
49380 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49381 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49382 COND_TOOLKIT_WINCE_USE_GUI_1=""
49383 fi
49384
49385 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49386 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49387 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49388 fi
49389
49390 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49391 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49392 COND_TOOLKIT_WINCE_WXUNIV_0=""
49393 fi
49394
49395 COND_TOOLKIT_X11="#"
49396 if test "x$TOOLKIT" = "xX11" ; then
49397 COND_TOOLKIT_X11=""
49398 fi
49399
49400 COND_TOOLKIT_X11_USE_GUI_1="#"
49401 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49402 COND_TOOLKIT_X11_USE_GUI_1=""
49403 fi
49404
49405 COND_UNICODE_1="#"
49406 if test "x$UNICODE" = "x1" ; then
49407 COND_UNICODE_1=""
49408 fi
49409
49410 COND_USE_EXCEPTIONS_0="#"
49411 if test "x$USE_EXCEPTIONS" = "x0" ; then
49412 COND_USE_EXCEPTIONS_0=""
49413 fi
49414
49415 COND_USE_EXCEPTIONS_1="#"
49416 if test "x$USE_EXCEPTIONS" = "x1" ; then
49417 COND_USE_EXCEPTIONS_1=""
49418 fi
49419
49420 COND_USE_GUI_0="#"
49421 if test "x$USE_GUI" = "x0" ; then
49422 COND_USE_GUI_0=""
49423 fi
49424
49425 COND_USE_GUI_1="#"
49426 if test "x$USE_GUI" = "x1" ; then
49427 COND_USE_GUI_1=""
49428 fi
49429
49430 COND_USE_GUI_1_USE_OPENGL_1="#"
49431 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49432 COND_USE_GUI_1_USE_OPENGL_1=""
49433 fi
49434
49435 COND_USE_GUI_1_WXUNIV_0="#"
49436 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49437 COND_USE_GUI_1_WXUNIV_0=""
49438 fi
49439
49440 COND_USE_GUI_1_WXUNIV_1="#"
49441 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49442 COND_USE_GUI_1_WXUNIV_1=""
49443 fi
49444
49445 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49446 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49447 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49448 fi
49449
49450 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49451 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49452 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49453 fi
49454
49455 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49456 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49457 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49458 fi
49459
49460 COND_USE_PCH_1="#"
49461 if test "x$USE_PCH" = "x1" ; then
49462 COND_USE_PCH_1=""
49463 fi
49464
49465 COND_USE_PLUGINS_0="#"
49466 if test "x$USE_PLUGINS" = "x0" ; then
49467 COND_USE_PLUGINS_0=""
49468 fi
49469
49470 COND_USE_RTTI_0="#"
49471 if test "x$USE_RTTI" = "x0" ; then
49472 COND_USE_RTTI_0=""
49473 fi
49474
49475 COND_USE_RTTI_1="#"
49476 if test "x$USE_RTTI" = "x1" ; then
49477 COND_USE_RTTI_1=""
49478 fi
49479
49480 COND_USE_SOSYMLINKS_1="#"
49481 if test "x$USE_SOSYMLINKS" = "x1" ; then
49482 COND_USE_SOSYMLINKS_1=""
49483 fi
49484
49485 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49486 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49487 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49488 fi
49489
49490 COND_USE_SOVERLINUX_1="#"
49491 if test "x$USE_SOVERLINUX" = "x1" ; then
49492 COND_USE_SOVERLINUX_1=""
49493 fi
49494
49495 COND_USE_SOVERSION_0="#"
49496 if test "x$USE_SOVERSION" = "x0" ; then
49497 COND_USE_SOVERSION_0=""
49498 fi
49499
49500 COND_USE_SOVERSOLARIS_1="#"
49501 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49502 COND_USE_SOVERSOLARIS_1=""
49503 fi
49504
49505 COND_USE_STC_1="#"
49506 if test "x$USE_STC" = "x1" ; then
49507 COND_USE_STC_1=""
49508 fi
49509
49510 COND_USE_THREADS_0="#"
49511 if test "x$USE_THREADS" = "x0" ; then
49512 COND_USE_THREADS_0=""
49513 fi
49514
49515 COND_USE_THREADS_1="#"
49516 if test "x$USE_THREADS" = "x1" ; then
49517 COND_USE_THREADS_1=""
49518 fi
49519
49520 COND_USE_XRC_1="#"
49521 if test "x$USE_XRC" = "x1" ; then
49522 COND_USE_XRC_1=""
49523 fi
49524
49525 COND_WINDOWS_IMPLIB_1="#"
49526 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49527 COND_WINDOWS_IMPLIB_1=""
49528 fi
49529
49530 COND_WITH_PLUGIN_SDL_1="#"
49531 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49532 COND_WITH_PLUGIN_SDL_1=""
49533 fi
49534
49535 COND_WXUNIV_0="#"
49536 if test "x$WXUNIV" = "x0" ; then
49537 COND_WXUNIV_0=""
49538 fi
49539
49540 COND_WXUNIV_1="#"
49541 if test "x$WXUNIV" = "x1" ; then
49542 COND_WXUNIV_1=""
49543 fi
49544
49545 COND_WXUSE_EXPAT_BUILTIN="#"
49546 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49547 COND_WXUSE_EXPAT_BUILTIN=""
49548 fi
49549
49550 COND_WXUSE_LIBJPEG_BUILTIN="#"
49551 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49552 COND_WXUSE_LIBJPEG_BUILTIN=""
49553 fi
49554
49555 COND_WXUSE_LIBPNG_BUILTIN="#"
49556 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49557 COND_WXUSE_LIBPNG_BUILTIN=""
49558 fi
49559
49560 COND_WXUSE_LIBTIFF_BUILTIN="#"
49561 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49562 COND_WXUSE_LIBTIFF_BUILTIN=""
49563 fi
49564
49565 COND_WXUSE_REGEX_BUILTIN="#"
49566 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49567 COND_WXUSE_REGEX_BUILTIN=""
49568 fi
49569
49570 COND_WXUSE_ZLIB_BUILTIN="#"
49571 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49572 COND_WXUSE_ZLIB_BUILTIN=""
49573 fi
49574
49575
49576
49577 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49578 { { 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
49579 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;}
49580 { (exit 1); exit 1; }; }
49581 fi
49582
49583 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49584 { { 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
49585 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;}
49586 { (exit 1); exit 1; }; }
49587 fi
49588
49589
49590 case ${INSTALL} in
49591 /* ) # Absolute
49592 ;;
49593 ?:* ) # Drive letter, considered as absolute.
49594 ;;
49595 *)
49596 INSTALL=`pwd`/${INSTALL} ;;
49597 esac
49598
49599 if test "$wxUSE_GUI" = "yes"; then
49600
49601 if test "$wxUSE_MSW" = 1 ; then
49602 if test "x$WINDRES" = "x"; then
49603 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49604 echo "$as_me: error: Required windres program not found" >&2;}
49605 { (exit 1); exit 1; }; }
49606 fi
49607
49608 RESCOMP="$WINDRES"
49609 fi
49610
49611 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49612 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49613 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49614
49615 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49616
49617 # Extract the first word of "DeRez", so it can be a program name with args.
49618 set dummy DeRez; ac_word=$2
49619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49621 if test "${ac_cv_prog_DEREZ+set}" = set; then
49622 echo $ECHO_N "(cached) $ECHO_C" >&6
49623 else
49624 if test -n "$DEREZ"; then
49625 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49626 else
49627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49628 for as_dir in $PATH
49629 do
49630 IFS=$as_save_IFS
49631 test -z "$as_dir" && as_dir=.
49632 for ac_exec_ext in '' $ac_executable_extensions; do
49633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49634 ac_cv_prog_DEREZ="DeRez"
49635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49636 break 2
49637 fi
49638 done
49639 done
49640 IFS=$as_save_IFS
49641
49642 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49643 fi
49644 fi
49645 DEREZ=$ac_cv_prog_DEREZ
49646 if test -n "$DEREZ"; then
49647 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49648 echo "${ECHO_T}$DEREZ" >&6; }
49649 else
49650 { echo "$as_me:$LINENO: result: no" >&5
49651 echo "${ECHO_T}no" >&6; }
49652 fi
49653
49654
49655
49656 MACSETFILE="\$(SETFILE)"
49657
49658 if test "$wxUSE_MAC" = 1; then
49659 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49660 RESCOMP="$REZ"
49661 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49662 else
49663 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49664 RESCOMP="cat /dev/null \| $REZ"
49665 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49666 fi
49667
49668 else
49669 MACSETFILE="@true"
49670
49671 if test "$wxUSE_PM" = 1; then
49672 RESCOMP="emxbind"
49673 WXCONFIG_RESFLAGS="-ep"
49674
49675 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49676 else
49677 POSTLINK_COMMAND="@true"
49678 fi
49679 fi
49680
49681 fi
49682
49683
49684 if test $GCC_PCH = 1
49685 then
49686 if test "$wx_cv_gcc_pch_bug" = yes; then
49687 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49688 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49689 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49690 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49691 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49692 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49693 fi
49694
49695 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49696 fi
49697
49698
49699 if test "$wxUSE_MAC" = 1 ; then
49700 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49701 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49702 mv temp bk-deps
49703 chmod +x bk-deps
49704 fi
49705 fi
49706
49707 if test "$wxUSE_SHARED" = "yes"; then
49708 case "${host}" in
49709 *-pc-os2_emx | *-pc-os2-emx )
49710 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49711 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49712 cp -p ${srcdir}/src/os2/dllnames.sh .
49713 cp -p ${srcdir}/src/os2/dllar.sh .
49714 ;;
49715 esac
49716 fi
49717 if test "$wxUSE_OMF" = "yes"; then
49718 case "${host}" in
49719 *-pc-os2_emx | *-pc-os2-emx )
49720 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49721 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49722 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49723 ;;
49724 esac
49725 fi
49726
49727 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49728
49729
49730 case "${host}" in
49731 *-*-solaris2* )
49732 if test "$GCC" = yes; then
49733 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49734 LIBS=`echo $LIBS | sed 's/-mt//'`
49735 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49736 fi
49737 ;;
49738
49739 *-*-linux* )
49740 if test "x$SUNCXX" = xyes; then
49741 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49742 LIBS=`echo $LIBS | sed 's/-pthread//'`
49743 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49744 fi
49745 ;;
49746 esac
49747
49748 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49749 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49750
49751 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49814 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49815 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49816 echo $ECHO_N "(cached) $ECHO_C" >&6
49817 else
49818 cat >conftest.make <<\_ACEOF
49819 SHELL = /bin/sh
49820 all:
49821 @echo '@@@%%%=$(MAKE)=@@@%%%'
49822 _ACEOF
49823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49825 *@@@%%%=?*=@@@%%%*)
49826 eval ac_cv_prog_make_${ac_make}_set=yes;;
49827 *)
49828 eval ac_cv_prog_make_${ac_make}_set=no;;
49829 esac
49830 rm -f conftest.make
49831 fi
49832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49833 { echo "$as_me:$LINENO: result: yes" >&5
49834 echo "${ECHO_T}yes" >&6; }
49835 SET_MAKE=
49836 else
49837 { echo "$as_me:$LINENO: result: no" >&5
49838 echo "${ECHO_T}no" >&6; }
49839 SET_MAKE="MAKE=${MAKE-make}"
49840 fi
49841
49842
49843
49844 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49845
49846
49847 if test "$USE_WIN32" = 1; then
49848 ac_config_commands="$ac_config_commands
49849 rcdefs.h
49850 "
49851
49852 fi
49853
49854 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49855
49856
49857 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49858
49859
49860 if test "$wx_cv_version_script" = "yes"; then
49861 ac_config_files="$ac_config_files version-script"
49862
49863 fi
49864 ac_config_files="$ac_config_files Makefile"
49865
49866
49867 ac_config_commands="$ac_config_commands wx-config"
49868
49869
49870
49871 if test "$wxWITH_SUBDIRS" != "no"; then
49872 if test "$wxUSE_GUI" = "yes"; then
49873 SUBDIRS="samples demos utils"
49874 else
49875 SUBDIRS="samples utils"
49876 fi
49877
49878
49879
49880 # Check whether --with-cppunit-prefix was given.
49881 if test "${with_cppunit_prefix+set}" = set; then
49882 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49883 else
49884 cppunit_config_prefix=""
49885 fi
49886
49887
49888 # Check whether --with-cppunit-exec-prefix was given.
49889 if test "${with_cppunit_exec_prefix+set}" = set; then
49890 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49891 else
49892 cppunit_config_exec_prefix=""
49893 fi
49894
49895
49896 if test x$cppunit_config_exec_prefix != x ; then
49897 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49898 if test x${CPPUNIT_CONFIG+set} != xset ; then
49899 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49900 fi
49901 fi
49902 if test x$cppunit_config_prefix != x ; then
49903 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49904 if test x${CPPUNIT_CONFIG+set} != xset ; then
49905 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49906 fi
49907 fi
49908
49909 # Extract the first word of "cppunit-config", so it can be a program name with args.
49910 set dummy cppunit-config; ac_word=$2
49911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49913 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49914 echo $ECHO_N "(cached) $ECHO_C" >&6
49915 else
49916 case $CPPUNIT_CONFIG in
49917 [\\/]* | ?:[\\/]*)
49918 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49919 ;;
49920 *)
49921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49922 for as_dir in $PATH
49923 do
49924 IFS=$as_save_IFS
49925 test -z "$as_dir" && as_dir=.
49926 for ac_exec_ext in '' $ac_executable_extensions; do
49927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49928 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49930 break 2
49931 fi
49932 done
49933 done
49934 IFS=$as_save_IFS
49935
49936 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49937 ;;
49938 esac
49939 fi
49940 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49941 if test -n "$CPPUNIT_CONFIG"; then
49942 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49943 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49944 else
49945 { echo "$as_me:$LINENO: result: no" >&5
49946 echo "${ECHO_T}no" >&6; }
49947 fi
49948
49949
49950 cppunit_version_min=1.8.0
49951
49952 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49953 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49954 no_cppunit=""
49955 if test "$CPPUNIT_CONFIG" = "no" ; then
49956 { echo "$as_me:$LINENO: result: no" >&5
49957 echo "${ECHO_T}no" >&6; }
49958 no_cppunit=yes
49959 else
49960 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49961 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49962 cppunit_version=`$CPPUNIT_CONFIG --version`
49963
49964 cppunit_major_version=`echo $cppunit_version | \
49965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49966 cppunit_minor_version=`echo $cppunit_version | \
49967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49968 cppunit_micro_version=`echo $cppunit_version | \
49969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49970
49971 cppunit_major_min=`echo $cppunit_version_min | \
49972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49973 cppunit_minor_min=`echo $cppunit_version_min | \
49974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49975 cppunit_micro_min=`echo $cppunit_version_min | \
49976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49977
49978 cppunit_version_proper=`expr \
49979 $cppunit_major_version \> $cppunit_major_min \| \
49980 $cppunit_major_version \= $cppunit_major_min \& \
49981 $cppunit_minor_version \> $cppunit_minor_min \| \
49982 $cppunit_major_version \= $cppunit_major_min \& \
49983 $cppunit_minor_version \= $cppunit_minor_min \& \
49984 $cppunit_micro_version \>= $cppunit_micro_min `
49985
49986 if test "$cppunit_version_proper" = "1" ; then
49987 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49988 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49989 else
49990 { echo "$as_me:$LINENO: result: no" >&5
49991 echo "${ECHO_T}no" >&6; }
49992 no_cppunit=yes
49993 fi
49994 fi
49995
49996 if test "x$no_cppunit" = x ; then
49997 SUBDIRS="$SUBDIRS tests"
49998 else
49999 CPPUNIT_CFLAGS=""
50000 CPPUNIT_LIBS=""
50001 :
50002 fi
50003
50004
50005
50006
50007
50008 for subdir in $SUBDIRS; do
50009 if test -d ${srcdir}/${subdir} ; then
50010 if test "$wxUSE_GUI" = "yes"; then
50011 if test ${subdir} = "samples"; then
50012 makefiles="samples/Makefile.in $makefiles"
50013 for sample in $SAMPLES_SUBDIRS; do
50014 if test -d $srcdir/samples/$sample; then
50015 makefiles="samples/$sample/Makefile.in $makefiles"
50016 fi
50017 done
50018 else
50019 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
50020 eval "disabled=\$$disabled_var"
50021 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50022 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50023 fi
50024 else
50025 if test ${subdir} = "samples"; then
50026 makefiles="samples/Makefile.in samples/console/Makefile.in"
50027 elif test ${subdir} = "utils"; then
50028 makefiles=""
50029 for util in HelpGen tex2rtf ; do
50030 if test -d $srcdir/utils/$util ; then
50031 makefiles="utils/$util/Makefile.in \
50032 utils/$util/src/Makefile.in \
50033 $makefiles"
50034 fi
50035 done
50036 else
50037 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50038 fi
50039 fi
50040
50041 for mkin in $makefiles ; do
50042 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50043 ac_config_files="$ac_config_files $mk"
50044
50045 done
50046 fi
50047 done
50048 fi
50049 cat >confcache <<\_ACEOF
50050 # This file is a shell script that caches the results of configure
50051 # tests run on this system so they can be shared between configure
50052 # scripts and configure runs, see configure's option --config-cache.
50053 # It is not useful on other systems. If it contains results you don't
50054 # want to keep, you may remove or edit it.
50055 #
50056 # config.status only pays attention to the cache file if you give it
50057 # the --recheck option to rerun configure.
50058 #
50059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50061 # following values.
50062
50063 _ACEOF
50064
50065 # The following way of writing the cache mishandles newlines in values,
50066 # but we know of no workaround that is simple, portable, and efficient.
50067 # So, we kill variables containing newlines.
50068 # Ultrix sh set writes to stderr and can't be redirected directly,
50069 # and sets the high bit in the cache file unless we assign to the vars.
50070 (
50071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50072 eval ac_val=\$$ac_var
50073 case $ac_val in #(
50074 *${as_nl}*)
50075 case $ac_var in #(
50076 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50078 esac
50079 case $ac_var in #(
50080 _ | IFS | as_nl) ;; #(
50081 *) $as_unset $ac_var ;;
50082 esac ;;
50083 esac
50084 done
50085
50086 (set) 2>&1 |
50087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50088 *${as_nl}ac_space=\ *)
50089 # `set' does not quote correctly, so add quotes (double-quote
50090 # substitution turns \\\\ into \\, and sed turns \\ into \).
50091 sed -n \
50092 "s/'/'\\\\''/g;
50093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50094 ;; #(
50095 *)
50096 # `set' quotes correctly as required by POSIX, so do not add quotes.
50097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50098 ;;
50099 esac |
50100 sort
50101 ) |
50102 sed '
50103 /^ac_cv_env_/b end
50104 t clear
50105 :clear
50106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50107 t end
50108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50109 :end' >>confcache
50110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50111 if test -w "$cache_file"; then
50112 test "x$cache_file" != "x/dev/null" &&
50113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50114 echo "$as_me: updating cache $cache_file" >&6;}
50115 cat confcache >$cache_file
50116 else
50117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50119 fi
50120 fi
50121 rm -f confcache
50122
50123 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50124 # Let make expand exec_prefix.
50125 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50126
50127 DEFS=-DHAVE_CONFIG_H
50128
50129 ac_libobjs=
50130 ac_ltlibobjs=
50131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50132 # 1. Remove the extension, and $U if already installed.
50133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50134 ac_i=`echo "$ac_i" | sed "$ac_script"`
50135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50136 # will be set to the directory where LIBOBJS objects are built.
50137 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50138 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50139 done
50140 LIBOBJS=$ac_libobjs
50141
50142 LTLIBOBJS=$ac_ltlibobjs
50143
50144
50145
50146 : ${CONFIG_STATUS=./config.status}
50147 ac_clean_files_save=$ac_clean_files
50148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50151 cat >$CONFIG_STATUS <<_ACEOF
50152 #! $SHELL
50153 # Generated by $as_me.
50154 # Run this file to recreate the current configuration.
50155 # Compiler output produced by configure, useful for debugging
50156 # configure, is in config.log if it exists.
50157
50158 debug=false
50159 ac_cs_recheck=false
50160 ac_cs_silent=false
50161 SHELL=\${CONFIG_SHELL-$SHELL}
50162 _ACEOF
50163
50164 cat >>$CONFIG_STATUS <<\_ACEOF
50165 ## --------------------- ##
50166 ## M4sh Initialization. ##
50167 ## --------------------- ##
50168
50169 # Be more Bourne compatible
50170 DUALCASE=1; export DUALCASE # for MKS sh
50171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50172 emulate sh
50173 NULLCMD=:
50174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50175 # is contrary to our usage. Disable this feature.
50176 alias -g '${1+"$@"}'='"$@"'
50177 setopt NO_GLOB_SUBST
50178 else
50179 case `(set -o) 2>/dev/null` in
50180 *posix*) set -o posix ;;
50181 esac
50182
50183 fi
50184
50185
50186
50187
50188 # PATH needs CR
50189 # Avoid depending upon Character Ranges.
50190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50193 as_cr_digits='0123456789'
50194 as_cr_alnum=$as_cr_Letters$as_cr_digits
50195
50196 # The user is always right.
50197 if test "${PATH_SEPARATOR+set}" != set; then
50198 echo "#! /bin/sh" >conf$$.sh
50199 echo "exit 0" >>conf$$.sh
50200 chmod +x conf$$.sh
50201 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50202 PATH_SEPARATOR=';'
50203 else
50204 PATH_SEPARATOR=:
50205 fi
50206 rm -f conf$$.sh
50207 fi
50208
50209 # Support unset when possible.
50210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50211 as_unset=unset
50212 else
50213 as_unset=false
50214 fi
50215
50216
50217 # IFS
50218 # We need space, tab and new line, in precisely that order. Quoting is
50219 # there to prevent editors from complaining about space-tab.
50220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50221 # splitting by setting IFS to empty value.)
50222 as_nl='
50223 '
50224 IFS=" "" $as_nl"
50225
50226 # Find who we are. Look in the path if we contain no directory separator.
50227 case $0 in
50228 *[\\/]* ) as_myself=$0 ;;
50229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50230 for as_dir in $PATH
50231 do
50232 IFS=$as_save_IFS
50233 test -z "$as_dir" && as_dir=.
50234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50235 done
50236 IFS=$as_save_IFS
50237
50238 ;;
50239 esac
50240 # We did not find ourselves, most probably we were run as `sh COMMAND'
50241 # in which case we are not to be found in the path.
50242 if test "x$as_myself" = x; then
50243 as_myself=$0
50244 fi
50245 if test ! -f "$as_myself"; then
50246 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50247 { (exit 1); exit 1; }
50248 fi
50249
50250 # Work around bugs in pre-3.0 UWIN ksh.
50251 for as_var in ENV MAIL MAILPATH
50252 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50253 done
50254 PS1='$ '
50255 PS2='> '
50256 PS4='+ '
50257
50258 # NLS nuisances.
50259 for as_var in \
50260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50262 LC_TELEPHONE LC_TIME
50263 do
50264 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50265 eval $as_var=C; export $as_var
50266 else
50267 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50268 fi
50269 done
50270
50271 # Required to use basename.
50272 if expr a : '\(a\)' >/dev/null 2>&1 &&
50273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50274 as_expr=expr
50275 else
50276 as_expr=false
50277 fi
50278
50279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50280 as_basename=basename
50281 else
50282 as_basename=false
50283 fi
50284
50285
50286 # Name of the executable.
50287 as_me=`$as_basename -- "$0" ||
50288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50289 X"$0" : 'X\(//\)$' \| \
50290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50291 echo X/"$0" |
50292 sed '/^.*\/\([^/][^/]*\)\/*$/{
50293 s//\1/
50294 q
50295 }
50296 /^X\/\(\/\/\)$/{
50297 s//\1/
50298 q
50299 }
50300 /^X\/\(\/\).*/{
50301 s//\1/
50302 q
50303 }
50304 s/.*/./; q'`
50305
50306 # CDPATH.
50307 $as_unset CDPATH
50308
50309
50310
50311 as_lineno_1=$LINENO
50312 as_lineno_2=$LINENO
50313 test "x$as_lineno_1" != "x$as_lineno_2" &&
50314 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50315
50316 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50317 # uniformly replaced by the line number. The first 'sed' inserts a
50318 # line-number line after each line using $LINENO; the second 'sed'
50319 # does the real work. The second script uses 'N' to pair each
50320 # line-number line with the line containing $LINENO, and appends
50321 # trailing '-' during substitution so that $LINENO is not a special
50322 # case at line end.
50323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50324 # scripts with optimization help from Paolo Bonzini. Blame Lee
50325 # E. McMahon (1931-1989) for sed's syntax. :-)
50326 sed -n '
50327 p
50328 /[$]LINENO/=
50329 ' <$as_myself |
50330 sed '
50331 s/[$]LINENO.*/&-/
50332 t lineno
50333 b
50334 :lineno
50335 N
50336 :loop
50337 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50338 t loop
50339 s/-\n.*//
50340 ' >$as_me.lineno &&
50341 chmod +x "$as_me.lineno" ||
50342 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50343 { (exit 1); exit 1; }; }
50344
50345 # Don't try to exec as it changes $[0], causing all sort of problems
50346 # (the dirname of $[0] is not the place where we might find the
50347 # original and so on. Autoconf is especially sensitive to this).
50348 . "./$as_me.lineno"
50349 # Exit status is that of the last command.
50350 exit
50351 }
50352
50353
50354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50355 as_dirname=dirname
50356 else
50357 as_dirname=false
50358 fi
50359
50360 ECHO_C= ECHO_N= ECHO_T=
50361 case `echo -n x` in
50362 -n*)
50363 case `echo 'x\c'` in
50364 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50365 *) ECHO_C='\c';;
50366 esac;;
50367 *)
50368 ECHO_N='-n';;
50369 esac
50370
50371 if expr a : '\(a\)' >/dev/null 2>&1 &&
50372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50373 as_expr=expr
50374 else
50375 as_expr=false
50376 fi
50377
50378 rm -f conf$$ conf$$.exe conf$$.file
50379 if test -d conf$$.dir; then
50380 rm -f conf$$.dir/conf$$.file
50381 else
50382 rm -f conf$$.dir
50383 mkdir conf$$.dir
50384 fi
50385 echo >conf$$.file
50386 if ln -s conf$$.file conf$$ 2>/dev/null; then
50387 as_ln_s='ln -s'
50388 # ... but there are two gotchas:
50389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50391 # In both cases, we have to default to `cp -p'.
50392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50393 as_ln_s='cp -p'
50394 elif ln conf$$.file conf$$ 2>/dev/null; then
50395 as_ln_s=ln
50396 else
50397 as_ln_s='cp -p'
50398 fi
50399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50400 rmdir conf$$.dir 2>/dev/null
50401
50402 if mkdir -p . 2>/dev/null; then
50403 as_mkdir_p=:
50404 else
50405 test -d ./-p && rmdir ./-p
50406 as_mkdir_p=false
50407 fi
50408
50409 if test -x / >/dev/null 2>&1; then
50410 as_test_x='test -x'
50411 else
50412 if ls -dL / >/dev/null 2>&1; then
50413 as_ls_L_option=L
50414 else
50415 as_ls_L_option=
50416 fi
50417 as_test_x='
50418 eval sh -c '\''
50419 if test -d "$1"; then
50420 test -d "$1/.";
50421 else
50422 case $1 in
50423 -*)set "./$1";;
50424 esac;
50425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50426 ???[sx]*):;;*)false;;esac;fi
50427 '\'' sh
50428 '
50429 fi
50430 as_executable_p=$as_test_x
50431
50432 # Sed expression to map a string onto a valid CPP name.
50433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50434
50435 # Sed expression to map a string onto a valid variable name.
50436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50437
50438
50439 exec 6>&1
50440
50441 # Save the log message, to keep $[0] and so on meaningful, and to
50442 # report actual input values of CONFIG_FILES etc. instead of their
50443 # values after options handling.
50444 ac_log="
50445 This file was extended by wxWidgets $as_me 2.9.0, which was
50446 generated by GNU Autoconf 2.61. Invocation command line was
50447
50448 CONFIG_FILES = $CONFIG_FILES
50449 CONFIG_HEADERS = $CONFIG_HEADERS
50450 CONFIG_LINKS = $CONFIG_LINKS
50451 CONFIG_COMMANDS = $CONFIG_COMMANDS
50452 $ $0 $@
50453
50454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50455 "
50456
50457 _ACEOF
50458
50459 cat >>$CONFIG_STATUS <<_ACEOF
50460 # Files that config.status was made for.
50461 config_files="$ac_config_files"
50462 config_headers="$ac_config_headers"
50463 config_commands="$ac_config_commands"
50464
50465 _ACEOF
50466
50467 cat >>$CONFIG_STATUS <<\_ACEOF
50468 ac_cs_usage="\
50469 \`$as_me' instantiates files from templates according to the
50470 current configuration.
50471
50472 Usage: $0 [OPTIONS] [FILE]...
50473
50474 -h, --help print this help, then exit
50475 -V, --version print version number and configuration settings, then exit
50476 -q, --quiet do not print progress messages
50477 -d, --debug don't remove temporary files
50478 --recheck update $as_me by reconfiguring in the same conditions
50479 --file=FILE[:TEMPLATE]
50480 instantiate the configuration file FILE
50481 --header=FILE[:TEMPLATE]
50482 instantiate the configuration header FILE
50483
50484 Configuration files:
50485 $config_files
50486
50487 Configuration headers:
50488 $config_headers
50489
50490 Configuration commands:
50491 $config_commands
50492
50493 Report bugs to <bug-autoconf@gnu.org>."
50494
50495 _ACEOF
50496 cat >>$CONFIG_STATUS <<_ACEOF
50497 ac_cs_version="\\
50498 wxWidgets config.status 2.9.0
50499 configured by $0, generated by GNU Autoconf 2.61,
50500 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50501
50502 Copyright (C) 2006 Free Software Foundation, Inc.
50503 This config.status script is free software; the Free Software Foundation
50504 gives unlimited permission to copy, distribute and modify it."
50505
50506 ac_pwd='$ac_pwd'
50507 srcdir='$srcdir'
50508 INSTALL='$INSTALL'
50509 _ACEOF
50510
50511 cat >>$CONFIG_STATUS <<\_ACEOF
50512 # If no file are specified by the user, then we need to provide default
50513 # value. By we need to know if files were specified by the user.
50514 ac_need_defaults=:
50515 while test $# != 0
50516 do
50517 case $1 in
50518 --*=*)
50519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50521 ac_shift=:
50522 ;;
50523 *)
50524 ac_option=$1
50525 ac_optarg=$2
50526 ac_shift=shift
50527 ;;
50528 esac
50529
50530 case $ac_option in
50531 # Handling of the options.
50532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50533 ac_cs_recheck=: ;;
50534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50535 echo "$ac_cs_version"; exit ;;
50536 --debug | --debu | --deb | --de | --d | -d )
50537 debug=: ;;
50538 --file | --fil | --fi | --f )
50539 $ac_shift
50540 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50541 ac_need_defaults=false;;
50542 --header | --heade | --head | --hea )
50543 $ac_shift
50544 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50545 ac_need_defaults=false;;
50546 --he | --h)
50547 # Conflict between --help and --header
50548 { echo "$as_me: error: ambiguous option: $1
50549 Try \`$0 --help' for more information." >&2
50550 { (exit 1); exit 1; }; };;
50551 --help | --hel | -h )
50552 echo "$ac_cs_usage"; exit ;;
50553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50555 ac_cs_silent=: ;;
50556
50557 # This is an error.
50558 -*) { echo "$as_me: error: unrecognized option: $1
50559 Try \`$0 --help' for more information." >&2
50560 { (exit 1); exit 1; }; } ;;
50561
50562 *) ac_config_targets="$ac_config_targets $1"
50563 ac_need_defaults=false ;;
50564
50565 esac
50566 shift
50567 done
50568
50569 ac_configure_extra_args=
50570
50571 if $ac_cs_silent; then
50572 exec 6>/dev/null
50573 ac_configure_extra_args="$ac_configure_extra_args --silent"
50574 fi
50575
50576 _ACEOF
50577 cat >>$CONFIG_STATUS <<_ACEOF
50578 if \$ac_cs_recheck; then
50579 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50580 CONFIG_SHELL=$SHELL
50581 export CONFIG_SHELL
50582 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50583 fi
50584
50585 _ACEOF
50586 cat >>$CONFIG_STATUS <<\_ACEOF
50587 exec 5>>config.log
50588 {
50589 echo
50590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50591 ## Running $as_me. ##
50592 _ASBOX
50593 echo "$ac_log"
50594 } >&5
50595
50596 _ACEOF
50597 cat >>$CONFIG_STATUS <<_ACEOF
50598 #
50599 # INIT-COMMANDS
50600 #
50601
50602 CPP="$CPP"
50603 infile="$srcdir/include/wx/msw/genrcdefs.h"
50604 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50605
50606
50607 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50608 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50609 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50610 LN_S="${LN_S}"
50611
50612
50613 _ACEOF
50614
50615 cat >>$CONFIG_STATUS <<\_ACEOF
50616
50617 # Handling of arguments.
50618 for ac_config_target in $ac_config_targets
50619 do
50620 case $ac_config_target in
50621 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50622 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50623 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50625 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50626 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50627 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50628 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50629
50630 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50631 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50632 { (exit 1); exit 1; }; };;
50633 esac
50634 done
50635
50636
50637 # If the user did not use the arguments to specify the items to instantiate,
50638 # then the envvar interface is used. Set only those that are not.
50639 # We use the long form for the default assignment because of an extremely
50640 # bizarre bug on SunOS 4.1.3.
50641 if $ac_need_defaults; then
50642 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50643 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50644 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50645 fi
50646
50647 # Have a temporary directory for convenience. Make it in the build tree
50648 # simply because there is no reason against having it here, and in addition,
50649 # creating and moving files from /tmp can sometimes cause problems.
50650 # Hook for its removal unless debugging.
50651 # Note that there is a small window in which the directory will not be cleaned:
50652 # after its creation but before its name has been assigned to `$tmp'.
50653 $debug ||
50654 {
50655 tmp=
50656 trap 'exit_status=$?
50657 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50658 ' 0
50659 trap '{ (exit 1); exit 1; }' 1 2 13 15
50660 }
50661 # Create a (secure) tmp directory for tmp files.
50662
50663 {
50664 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50665 test -n "$tmp" && test -d "$tmp"
50666 } ||
50667 {
50668 tmp=./conf$$-$RANDOM
50669 (umask 077 && mkdir "$tmp")
50670 } ||
50671 {
50672 echo "$me: cannot create a temporary directory in ." >&2
50673 { (exit 1); exit 1; }
50674 }
50675
50676 #
50677 # Set up the sed scripts for CONFIG_FILES section.
50678 #
50679
50680 # No need to generate the scripts if there are no CONFIG_FILES.
50681 # This happens for instance when ./config.status config.h
50682 if test -n "$CONFIG_FILES"; then
50683
50684 _ACEOF
50685
50686
50687
50688 ac_delim='%!_!# '
50689 for ac_last_try in false false false false false :; do
50690 cat >conf$$subs.sed <<_ACEOF
50691 SHELL!$SHELL$ac_delim
50692 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50693 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50694 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50695 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50696 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50697 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50698 exec_prefix!$exec_prefix$ac_delim
50699 prefix!$prefix$ac_delim
50700 program_transform_name!$program_transform_name$ac_delim
50701 bindir!$bindir$ac_delim
50702 sbindir!$sbindir$ac_delim
50703 libexecdir!$libexecdir$ac_delim
50704 datarootdir!$datarootdir$ac_delim
50705 datadir!$datadir$ac_delim
50706 sysconfdir!$sysconfdir$ac_delim
50707 sharedstatedir!$sharedstatedir$ac_delim
50708 localstatedir!$localstatedir$ac_delim
50709 includedir!$includedir$ac_delim
50710 oldincludedir!$oldincludedir$ac_delim
50711 docdir!$docdir$ac_delim
50712 infodir!$infodir$ac_delim
50713 htmldir!$htmldir$ac_delim
50714 dvidir!$dvidir$ac_delim
50715 pdfdir!$pdfdir$ac_delim
50716 psdir!$psdir$ac_delim
50717 libdir!$libdir$ac_delim
50718 localedir!$localedir$ac_delim
50719 mandir!$mandir$ac_delim
50720 DEFS!$DEFS$ac_delim
50721 ECHO_C!$ECHO_C$ac_delim
50722 ECHO_N!$ECHO_N$ac_delim
50723 ECHO_T!$ECHO_T$ac_delim
50724 LIBS!$LIBS$ac_delim
50725 build_alias!$build_alias$ac_delim
50726 host_alias!$host_alias$ac_delim
50727 target_alias!$target_alias$ac_delim
50728 build!$build$ac_delim
50729 build_cpu!$build_cpu$ac_delim
50730 build_vendor!$build_vendor$ac_delim
50731 build_os!$build_os$ac_delim
50732 host!$host$ac_delim
50733 host_cpu!$host_cpu$ac_delim
50734 host_vendor!$host_vendor$ac_delim
50735 host_os!$host_os$ac_delim
50736 target!$target$ac_delim
50737 target_cpu!$target_cpu$ac_delim
50738 target_vendor!$target_vendor$ac_delim
50739 target_os!$target_os$ac_delim
50740 wx_top_builddir!$wx_top_builddir$ac_delim
50741 CC!$CC$ac_delim
50742 CFLAGS!$CFLAGS$ac_delim
50743 LDFLAGS!$LDFLAGS$ac_delim
50744 CPPFLAGS!$CPPFLAGS$ac_delim
50745 ac_ct_CC!$ac_ct_CC$ac_delim
50746 EXEEXT!$EXEEXT$ac_delim
50747 OBJEXT!$OBJEXT$ac_delim
50748 CPP!$CPP$ac_delim
50749 GREP!$GREP$ac_delim
50750 EGREP!$EGREP$ac_delim
50751 CXX!$CXX$ac_delim
50752 CXXFLAGS!$CXXFLAGS$ac_delim
50753 ac_ct_CXX!$ac_ct_CXX$ac_delim
50754 AR!$AR$ac_delim
50755 subdirs!$subdirs$ac_delim
50756 PKG_CONFIG!$PKG_CONFIG$ac_delim
50757 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50758 GTK_LIBS!$GTK_LIBS$ac_delim
50759 GTK_CONFIG!$GTK_CONFIG$ac_delim
50760 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50761 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50762 XMKMF!$XMKMF$ac_delim
50763 X_CFLAGS!$X_CFLAGS$ac_delim
50764 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50765 X_LIBS!$X_LIBS$ac_delim
50766 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50767 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50768 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50769 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50770 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50771 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50772 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50773 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50774 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50775 LIBICONV!$LIBICONV$ac_delim
50776 SDL_CONFIG!$SDL_CONFIG$ac_delim
50777 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50778 SDL_LIBS!$SDL_LIBS$ac_delim
50779 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50780 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50781 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50782 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50783 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50784 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50785 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50786 HILDON_LIBS!$HILDON_LIBS$ac_delim
50787 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50788 _ACEOF
50789
50790 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50791 break
50792 elif $ac_last_try; then
50793 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50794 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50795 { (exit 1); exit 1; }; }
50796 else
50797 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50798 fi
50799 done
50800
50801 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50802 if test -n "$ac_eof"; then
50803 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50804 ac_eof=`expr $ac_eof + 1`
50805 fi
50806
50807 cat >>$CONFIG_STATUS <<_ACEOF
50808 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50809 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50810 _ACEOF
50811 sed '
50812 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50813 s/^/s,@/; s/!/@,|#_!!_#|/
50814 :n
50815 t n
50816 s/'"$ac_delim"'$/,g/; t
50817 s/$/\\/; p
50818 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50819 ' >>$CONFIG_STATUS <conf$$subs.sed
50820 rm -f conf$$subs.sed
50821 cat >>$CONFIG_STATUS <<_ACEOF
50822 CEOF$ac_eof
50823 _ACEOF
50824
50825
50826 ac_delim='%!_!# '
50827 for ac_last_try in false false false false false :; do
50828 cat >conf$$subs.sed <<_ACEOF
50829 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50830 GST_CFLAGS!$GST_CFLAGS$ac_delim
50831 GST_LIBS!$GST_LIBS$ac_delim
50832 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50833 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50834 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50835 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50836 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50837 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50838 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50839 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50840 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50841 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50842 VENDOR!$VENDOR$ac_delim
50843 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50844 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50845 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50846 WXUNIV!$WXUNIV$ac_delim
50847 MONOLITHIC!$MONOLITHIC$ac_delim
50848 USE_PLUGINS!$USE_PLUGINS$ac_delim
50849 CXXWARNINGS!$CXXWARNINGS$ac_delim
50850 EXTRALIBS!$EXTRALIBS$ac_delim
50851 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50852 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50853 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50854 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50855 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50856 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50857 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50858 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50859 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50860 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50861 UNICODE!$UNICODE$ac_delim
50862 BUILD!$BUILD$ac_delim
50863 DEBUG_INFO!$DEBUG_INFO$ac_delim
50864 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50865 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50866 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50867 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50868 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50869 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50870 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50871 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50872 RANLIB!$RANLIB$ac_delim
50873 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50874 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50875 INSTALL_DATA!$INSTALL_DATA$ac_delim
50876 LN_S!$LN_S$ac_delim
50877 SET_MAKE!$SET_MAKE$ac_delim
50878 MAKE_SET!$MAKE_SET$ac_delim
50879 AROPTIONS!$AROPTIONS$ac_delim
50880 STRIP!$STRIP$ac_delim
50881 NM!$NM$ac_delim
50882 INSTALL_DIR!$INSTALL_DIR$ac_delim
50883 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50884 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50885 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50886 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50887 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50888 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50889 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50890 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50891 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50892 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50893 SO_SUFFIX!$SO_SUFFIX$ac_delim
50894 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50895 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50896 LIBPREFIX!$LIBPREFIX$ac_delim
50897 LIBEXT!$LIBEXT$ac_delim
50898 DLLPREFIX!$DLLPREFIX$ac_delim
50899 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50900 dlldir!$dlldir$ac_delim
50901 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50902 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50903 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50904 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50905 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50906 PIC_FLAG!$PIC_FLAG$ac_delim
50907 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50908 USE_SOVERSION!$USE_SOVERSION$ac_delim
50909 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50910 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50911 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50912 USE_MACVERSION!$USE_MACVERSION$ac_delim
50913 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50914 SONAME_FLAG!$SONAME_FLAG$ac_delim
50915 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50916 BK_DEPS!$BK_DEPS$ac_delim
50917 WINDRES!$WINDRES$ac_delim
50918 REZ!$REZ$ac_delim
50919 SETFILE!$SETFILE$ac_delim
50920 GCC_PCH!$GCC_PCH$ac_delim
50921 ICC_PCH!$ICC_PCH$ac_delim
50922 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50923 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50924 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50925 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50926 _ACEOF
50927
50928 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50929 break
50930 elif $ac_last_try; then
50931 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50932 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50933 { (exit 1); exit 1; }; }
50934 else
50935 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50936 fi
50937 done
50938
50939 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50940 if test -n "$ac_eof"; then
50941 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50942 ac_eof=`expr $ac_eof + 1`
50943 fi
50944
50945 cat >>$CONFIG_STATUS <<_ACEOF
50946 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50947 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50948 _ACEOF
50949 sed '
50950 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50951 s/^/s,@/; s/!/@,|#_!!_#|/
50952 :n
50953 t n
50954 s/'"$ac_delim"'$/,g/; t
50955 s/$/\\/; p
50956 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50957 ' >>$CONFIG_STATUS <conf$$subs.sed
50958 rm -f conf$$subs.sed
50959 cat >>$CONFIG_STATUS <<_ACEOF
50960 CEOF$ac_eof
50961 _ACEOF
50962
50963
50964 ac_delim='%!_!# '
50965 for ac_last_try in false false false false false :; do
50966 cat >conf$$subs.sed <<_ACEOF
50967 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50968 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50969 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50970 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50971 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50972 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50973 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50974 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50975 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50976 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50977 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50978 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50979 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50980 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50981 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50982 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50985 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50987 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50988 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50989 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50990 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50991 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50995 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50996 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50997 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50998 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50999 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51000 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51001 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51002 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51003 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51004 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51005 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51006 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51007 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51008 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51009 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51010 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51011 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51012 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51013 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51014 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51015 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51016 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51017 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51018 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51019 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51020 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51021 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51022 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51023 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51024 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51025 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51026 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51027 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51028 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51029 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51030 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51033 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51034 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51035 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51036 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51037 COND_SHARED_0!$COND_SHARED_0$ac_delim
51038 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51039 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51040 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51041 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51043 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51045 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51047 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51048 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51049 COND_SHARED_1!$COND_SHARED_1$ac_delim
51050 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51051 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51052 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51053 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51054 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51055 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51056 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51057 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51063 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51064 _ACEOF
51065
51066 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51067 break
51068 elif $ac_last_try; then
51069 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51070 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51071 { (exit 1); exit 1; }; }
51072 else
51073 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51074 fi
51075 done
51076
51077 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51078 if test -n "$ac_eof"; then
51079 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51080 ac_eof=`expr $ac_eof + 1`
51081 fi
51082
51083 cat >>$CONFIG_STATUS <<_ACEOF
51084 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51086 _ACEOF
51087 sed '
51088 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51089 s/^/s,@/; s/!/@,|#_!!_#|/
51090 :n
51091 t n
51092 s/'"$ac_delim"'$/,g/; t
51093 s/$/\\/; p
51094 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51095 ' >>$CONFIG_STATUS <conf$$subs.sed
51096 rm -f conf$$subs.sed
51097 cat >>$CONFIG_STATUS <<_ACEOF
51098 CEOF$ac_eof
51099 _ACEOF
51100
51101
51102 ac_delim='%!_!# '
51103 for ac_last_try in false false false false false :; do
51104 cat >conf$$subs.sed <<_ACEOF
51105 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51106 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51107 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51108 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51109 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51110 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51111 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51112 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51113 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51114 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51115 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51116 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51117 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51118 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51119 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51120 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51121 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51122 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51123 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51125 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51126 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51127 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51128 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51129 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51130 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51131 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51132 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51133 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51134 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51135 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51136 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51137 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51138 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51139 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51140 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51141 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51142 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51143 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51144 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51145 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51146 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51147 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51148 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51149 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51150 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51151 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51152 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51153 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51154 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51155 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51156 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51157 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51158 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51159 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51160 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51161 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51162 DEREZ!$DEREZ$ac_delim
51163 SHARED!$SHARED$ac_delim
51164 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51165 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51166 USE_GUI!$USE_GUI$ac_delim
51167 AFMINSTALL!$AFMINSTALL$ac_delim
51168 WIN32INSTALL!$WIN32INSTALL$ac_delim
51169 TOOLKIT!$TOOLKIT$ac_delim
51170 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51171 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51172 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51173 cross_compiling!$cross_compiling$ac_delim
51174 WIDGET_SET!$WIDGET_SET$ac_delim
51175 WX_RELEASE!$WX_RELEASE$ac_delim
51176 WX_VERSION!$WX_VERSION$ac_delim
51177 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51178 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51179 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51180 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51181 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51182 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51183 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51184 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51185 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51186 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51187 GUIDIST!$GUIDIST$ac_delim
51188 DISTDIR!$DISTDIR$ac_delim
51189 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51190 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51191 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51192 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51193 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51194 RESCOMP!$RESCOMP$ac_delim
51195 RESFLAGS!$RESFLAGS$ac_delim
51196 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51197 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51198 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51199 LIBWXMACRES!$LIBWXMACRES$ac_delim
51200 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51201 MACSETFILE!$MACSETFILE$ac_delim
51202 _ACEOF
51203
51204 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51205 break
51206 elif $ac_last_try; then
51207 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51208 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51209 { (exit 1); exit 1; }; }
51210 else
51211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51212 fi
51213 done
51214
51215 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51216 if test -n "$ac_eof"; then
51217 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51218 ac_eof=`expr $ac_eof + 1`
51219 fi
51220
51221 cat >>$CONFIG_STATUS <<_ACEOF
51222 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51224 _ACEOF
51225 sed '
51226 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51227 s/^/s,@/; s/!/@,|#_!!_#|/
51228 :n
51229 t n
51230 s/'"$ac_delim"'$/,g/; t
51231 s/$/\\/; p
51232 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51233 ' >>$CONFIG_STATUS <conf$$subs.sed
51234 rm -f conf$$subs.sed
51235 cat >>$CONFIG_STATUS <<_ACEOF
51236 CEOF$ac_eof
51237 _ACEOF
51238
51239
51240 ac_delim='%!_!# '
51241 for ac_last_try in false false false false false :; do
51242 cat >conf$$subs.sed <<_ACEOF
51243 GCC!$GCC$ac_delim
51244 DLLTOOL!$DLLTOOL$ac_delim
51245 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51246 LIBOBJS!$LIBOBJS$ac_delim
51247 LTLIBOBJS!$LTLIBOBJS$ac_delim
51248 _ACEOF
51249
51250 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
51251 break
51252 elif $ac_last_try; then
51253 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51254 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51255 { (exit 1); exit 1; }; }
51256 else
51257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51258 fi
51259 done
51260
51261 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51262 if test -n "$ac_eof"; then
51263 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51264 ac_eof=`expr $ac_eof + 1`
51265 fi
51266
51267 cat >>$CONFIG_STATUS <<_ACEOF
51268 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51270 _ACEOF
51271 sed '
51272 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51273 s/^/s,@/; s/!/@,|#_!!_#|/
51274 :n
51275 t n
51276 s/'"$ac_delim"'$/,g/; t
51277 s/$/\\/; p
51278 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51279 ' >>$CONFIG_STATUS <conf$$subs.sed
51280 rm -f conf$$subs.sed
51281 cat >>$CONFIG_STATUS <<_ACEOF
51282 :end
51283 s/|#_!!_#|//g
51284 CEOF$ac_eof
51285 _ACEOF
51286
51287
51288 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51289 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51290 # trailing colons and then remove the whole line if VPATH becomes empty
51291 # (actually we leave an empty line to preserve line numbers).
51292 if test "x$srcdir" = x.; then
51293 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51294 s/:*\$(srcdir):*/:/
51295 s/:*\${srcdir}:*/:/
51296 s/:*@srcdir@:*/:/
51297 s/^\([^=]*=[ ]*\):*/\1/
51298 s/:*$//
51299 s/^[^=]*=[ ]*$//
51300 }'
51301 fi
51302
51303 cat >>$CONFIG_STATUS <<\_ACEOF
51304 fi # test -n "$CONFIG_FILES"
51305
51306
51307 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51308 do
51309 case $ac_tag in
51310 :[FHLC]) ac_mode=$ac_tag; continue;;
51311 esac
51312 case $ac_mode$ac_tag in
51313 :[FHL]*:*);;
51314 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51315 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51316 { (exit 1); exit 1; }; };;
51317 :[FH]-) ac_tag=-:-;;
51318 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51319 esac
51320 ac_save_IFS=$IFS
51321 IFS=:
51322 set x $ac_tag
51323 IFS=$ac_save_IFS
51324 shift
51325 ac_file=$1
51326 shift
51327
51328 case $ac_mode in
51329 :L) ac_source=$1;;
51330 :[FH])
51331 ac_file_inputs=
51332 for ac_f
51333 do
51334 case $ac_f in
51335 -) ac_f="$tmp/stdin";;
51336 *) # Look for the file first in the build tree, then in the source tree
51337 # (if the path is not absolute). The absolute path cannot be DOS-style,
51338 # because $ac_f cannot contain `:'.
51339 test -f "$ac_f" ||
51340 case $ac_f in
51341 [\\/$]*) false;;
51342 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51343 esac ||
51344 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51345 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51346 { (exit 1); exit 1; }; };;
51347 esac
51348 ac_file_inputs="$ac_file_inputs $ac_f"
51349 done
51350
51351 # Let's still pretend it is `configure' which instantiates (i.e., don't
51352 # use $as_me), people would be surprised to read:
51353 # /* config.h. Generated by config.status. */
51354 configure_input="Generated from "`IFS=:
51355 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51356 if test x"$ac_file" != x-; then
51357 configure_input="$ac_file. $configure_input"
51358 { echo "$as_me:$LINENO: creating $ac_file" >&5
51359 echo "$as_me: creating $ac_file" >&6;}
51360 fi
51361
51362 case $ac_tag in
51363 *:-:* | *:-) cat >"$tmp/stdin";;
51364 esac
51365 ;;
51366 esac
51367
51368 ac_dir=`$as_dirname -- "$ac_file" ||
51369 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51370 X"$ac_file" : 'X\(//\)[^/]' \| \
51371 X"$ac_file" : 'X\(//\)$' \| \
51372 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51373 echo X"$ac_file" |
51374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51375 s//\1/
51376 q
51377 }
51378 /^X\(\/\/\)[^/].*/{
51379 s//\1/
51380 q
51381 }
51382 /^X\(\/\/\)$/{
51383 s//\1/
51384 q
51385 }
51386 /^X\(\/\).*/{
51387 s//\1/
51388 q
51389 }
51390 s/.*/./; q'`
51391 { as_dir="$ac_dir"
51392 case $as_dir in #(
51393 -*) as_dir=./$as_dir;;
51394 esac
51395 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51396 as_dirs=
51397 while :; do
51398 case $as_dir in #(
51399 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51400 *) as_qdir=$as_dir;;
51401 esac
51402 as_dirs="'$as_qdir' $as_dirs"
51403 as_dir=`$as_dirname -- "$as_dir" ||
51404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51405 X"$as_dir" : 'X\(//\)[^/]' \| \
51406 X"$as_dir" : 'X\(//\)$' \| \
51407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51408 echo X"$as_dir" |
51409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51410 s//\1/
51411 q
51412 }
51413 /^X\(\/\/\)[^/].*/{
51414 s//\1/
51415 q
51416 }
51417 /^X\(\/\/\)$/{
51418 s//\1/
51419 q
51420 }
51421 /^X\(\/\).*/{
51422 s//\1/
51423 q
51424 }
51425 s/.*/./; q'`
51426 test -d "$as_dir" && break
51427 done
51428 test -z "$as_dirs" || eval "mkdir $as_dirs"
51429 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51430 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51431 { (exit 1); exit 1; }; }; }
51432 ac_builddir=.
51433
51434 case "$ac_dir" in
51435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51436 *)
51437 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51438 # A ".." for each directory in $ac_dir_suffix.
51439 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51440 case $ac_top_builddir_sub in
51441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51443 esac ;;
51444 esac
51445 ac_abs_top_builddir=$ac_pwd
51446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51447 # for backward compatibility:
51448 ac_top_builddir=$ac_top_build_prefix
51449
51450 case $srcdir in
51451 .) # We are building in place.
51452 ac_srcdir=.
51453 ac_top_srcdir=$ac_top_builddir_sub
51454 ac_abs_top_srcdir=$ac_pwd ;;
51455 [\\/]* | ?:[\\/]* ) # Absolute name.
51456 ac_srcdir=$srcdir$ac_dir_suffix;
51457 ac_top_srcdir=$srcdir
51458 ac_abs_top_srcdir=$srcdir ;;
51459 *) # Relative name.
51460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51461 ac_top_srcdir=$ac_top_build_prefix$srcdir
51462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51463 esac
51464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51465
51466
51467 case $ac_mode in
51468 :F)
51469 #
51470 # CONFIG_FILE
51471 #
51472
51473 case $INSTALL in
51474 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51475 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51476 esac
51477 _ACEOF
51478
51479 cat >>$CONFIG_STATUS <<\_ACEOF
51480 # If the template does not know about datarootdir, expand it.
51481 # FIXME: This hack should be removed a few years after 2.60.
51482 ac_datarootdir_hack=; ac_datarootdir_seen=
51483
51484 case `sed -n '/datarootdir/ {
51485 p
51486 q
51487 }
51488 /@datadir@/p
51489 /@docdir@/p
51490 /@infodir@/p
51491 /@localedir@/p
51492 /@mandir@/p
51493 ' $ac_file_inputs` in
51494 *datarootdir*) ac_datarootdir_seen=yes;;
51495 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51496 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51497 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51498 _ACEOF
51499 cat >>$CONFIG_STATUS <<_ACEOF
51500 ac_datarootdir_hack='
51501 s&@datadir@&$datadir&g
51502 s&@docdir@&$docdir&g
51503 s&@infodir@&$infodir&g
51504 s&@localedir@&$localedir&g
51505 s&@mandir@&$mandir&g
51506 s&\\\${datarootdir}&$datarootdir&g' ;;
51507 esac
51508 _ACEOF
51509
51510 # Neutralize VPATH when `$srcdir' = `.'.
51511 # Shell code in configure.ac might set extrasub.
51512 # FIXME: do we really want to maintain this feature?
51513 cat >>$CONFIG_STATUS <<_ACEOF
51514 sed "$ac_vpsub
51515 $extrasub
51516 _ACEOF
51517 cat >>$CONFIG_STATUS <<\_ACEOF
51518 :t
51519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51520 s&@configure_input@&$configure_input&;t t
51521 s&@top_builddir@&$ac_top_builddir_sub&;t t
51522 s&@srcdir@&$ac_srcdir&;t t
51523 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51524 s&@top_srcdir@&$ac_top_srcdir&;t t
51525 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51526 s&@builddir@&$ac_builddir&;t t
51527 s&@abs_builddir@&$ac_abs_builddir&;t t
51528 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51529 s&@INSTALL@&$ac_INSTALL&;t t
51530 $ac_datarootdir_hack
51531 " $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
51532
51533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51534 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51536 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51537 which seems to be undefined. Please make sure it is defined." >&5
51538 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51539 which seems to be undefined. Please make sure it is defined." >&2;}
51540
51541 rm -f "$tmp/stdin"
51542 case $ac_file in
51543 -) cat "$tmp/out"; rm -f "$tmp/out";;
51544 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51545 esac
51546 ;;
51547 :H)
51548 #
51549 # CONFIG_HEADER
51550 #
51551 _ACEOF
51552
51553 # Transform confdefs.h into a sed script `conftest.defines', that
51554 # substitutes the proper values into config.h.in to produce config.h.
51555 rm -f conftest.defines conftest.tail
51556 # First, append a space to every undef/define line, to ease matching.
51557 echo 's/$/ /' >conftest.defines
51558 # Then, protect against being on the right side of a sed subst, or in
51559 # an unquoted here document, in config.status. If some macros were
51560 # called several times there might be several #defines for the same
51561 # symbol, which is useless. But do not sort them, since the last
51562 # AC_DEFINE must be honored.
51563 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51564 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51565 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51566 # PARAMS is the parameter list in the macro definition--in most cases, it's
51567 # just an empty string.
51568 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51569 ac_dB='\\)[ (].*,\\1define\\2'
51570 ac_dC=' '
51571 ac_dD=' ,'
51572
51573 uniq confdefs.h |
51574 sed -n '
51575 t rset
51576 :rset
51577 s/^[ ]*#[ ]*define[ ][ ]*//
51578 t ok
51579 d
51580 :ok
51581 s/[\\&,]/\\&/g
51582 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51583 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51584 ' >>conftest.defines
51585
51586 # Remove the space that was appended to ease matching.
51587 # Then replace #undef with comments. This is necessary, for
51588 # example, in the case of _POSIX_SOURCE, which is predefined and required
51589 # on some systems where configure will not decide to define it.
51590 # (The regexp can be short, since the line contains either #define or #undef.)
51591 echo 's/ $//
51592 s,^[ #]*u.*,/* & */,' >>conftest.defines
51593
51594 # Break up conftest.defines:
51595 ac_max_sed_lines=50
51596
51597 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51598 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51599 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51600 # et cetera.
51601 ac_in='$ac_file_inputs'
51602 ac_out='"$tmp/out1"'
51603 ac_nxt='"$tmp/out2"'
51604
51605 while :
51606 do
51607 # Write a here document:
51608 cat >>$CONFIG_STATUS <<_ACEOF
51609 # First, check the format of the line:
51610 cat >"\$tmp/defines.sed" <<\\CEOF
51611 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51612 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51613 b
51614 :def
51615 _ACEOF
51616 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51617 echo 'CEOF
51618 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51619 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51620 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51621 grep . conftest.tail >/dev/null || break
51622 rm -f conftest.defines
51623 mv conftest.tail conftest.defines
51624 done
51625 rm -f conftest.defines conftest.tail
51626
51627 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51628 cat >>$CONFIG_STATUS <<\_ACEOF
51629 if test x"$ac_file" != x-; then
51630 echo "/* $configure_input */" >"$tmp/config.h"
51631 cat "$ac_result" >>"$tmp/config.h"
51632 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51633 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51634 echo "$as_me: $ac_file is unchanged" >&6;}
51635 else
51636 rm -f $ac_file
51637 mv "$tmp/config.h" $ac_file
51638 fi
51639 else
51640 echo "/* $configure_input */"
51641 cat "$ac_result"
51642 fi
51643 rm -f "$tmp/out12"
51644 ;;
51645
51646 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51647 echo "$as_me: executing $ac_file commands" >&6;}
51648 ;;
51649 esac
51650
51651
51652 case $ac_file$ac_mode in
51653 "rcdefs.h":C)
51654 mkdir -p $outdir &&
51655 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51656 ;;
51657 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51658 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51659 "wx-config":C) rm -f wx-config
51660 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51661 ;;
51662
51663 esac
51664 done # for ac_tag
51665
51666
51667 { (exit 0); exit 0; }
51668 _ACEOF
51669 chmod +x $CONFIG_STATUS
51670 ac_clean_files=$ac_clean_files_save
51671
51672
51673 # configure is writing to config.log, and then calls config.status.
51674 # config.status does its own redirection, appending to config.log.
51675 # Unfortunately, on DOS this fails, as config.log is still kept open
51676 # by configure, so config.status won't be able to write to it; its
51677 # output is simply discarded. So we exec the FD to /dev/null,
51678 # effectively closing config.log, so it can be properly (re)opened and
51679 # appended to by config.status. When coming back to configure, we
51680 # need to make the FD available again.
51681 if test "$no_create" != yes; then
51682 ac_cs_success=:
51683 ac_config_status_args=
51684 test "$silent" = yes &&
51685 ac_config_status_args="$ac_config_status_args --quiet"
51686 exec 5>/dev/null
51687 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51688 exec 5>>config.log
51689 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51690 # would make configure fail if this is the last instruction.
51691 $ac_cs_success || { (exit 1); exit 1; }
51692 fi
51693
51694 #
51695 # CONFIG_SUBDIRS section.
51696 #
51697 if test "$no_recursion" != yes; then
51698
51699 # Remove --cache-file and --srcdir arguments so they do not pile up.
51700 ac_sub_configure_args=
51701 ac_prev=
51702 eval "set x $ac_configure_args"
51703 shift
51704 for ac_arg
51705 do
51706 if test -n "$ac_prev"; then
51707 ac_prev=
51708 continue
51709 fi
51710 case $ac_arg in
51711 -cache-file | --cache-file | --cache-fil | --cache-fi \
51712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51713 ac_prev=cache_file ;;
51714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51716 | --c=*)
51717 ;;
51718 --config-cache | -C)
51719 ;;
51720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51721 ac_prev=srcdir ;;
51722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51723 ;;
51724 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51725 ac_prev=prefix ;;
51726 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51727 ;;
51728 *)
51729 case $ac_arg in
51730 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51731 esac
51732 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51733 esac
51734 done
51735
51736 # Always prepend --prefix to ensure using the same prefix
51737 # in subdir configurations.
51738 ac_arg="--prefix=$prefix"
51739 case $ac_arg in
51740 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51741 esac
51742 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51743
51744 # Pass --silent
51745 if test "$silent" = yes; then
51746 ac_sub_configure_args="--silent $ac_sub_configure_args"
51747 fi
51748
51749 ac_popdir=`pwd`
51750 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51751
51752 # Do not complain, so a configure script can configure whichever
51753 # parts of a large source tree are present.
51754 test -d "$srcdir/$ac_dir" || continue
51755
51756 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51757 echo "$as_me:$LINENO: $ac_msg" >&5
51758 echo "$ac_msg" >&6
51759 { as_dir="$ac_dir"
51760 case $as_dir in #(
51761 -*) as_dir=./$as_dir;;
51762 esac
51763 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51764 as_dirs=
51765 while :; do
51766 case $as_dir in #(
51767 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51768 *) as_qdir=$as_dir;;
51769 esac
51770 as_dirs="'$as_qdir' $as_dirs"
51771 as_dir=`$as_dirname -- "$as_dir" ||
51772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51773 X"$as_dir" : 'X\(//\)[^/]' \| \
51774 X"$as_dir" : 'X\(//\)$' \| \
51775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51776 echo X"$as_dir" |
51777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51778 s//\1/
51779 q
51780 }
51781 /^X\(\/\/\)[^/].*/{
51782 s//\1/
51783 q
51784 }
51785 /^X\(\/\/\)$/{
51786 s//\1/
51787 q
51788 }
51789 /^X\(\/\).*/{
51790 s//\1/
51791 q
51792 }
51793 s/.*/./; q'`
51794 test -d "$as_dir" && break
51795 done
51796 test -z "$as_dirs" || eval "mkdir $as_dirs"
51797 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51798 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51799 { (exit 1); exit 1; }; }; }
51800 ac_builddir=.
51801
51802 case "$ac_dir" in
51803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51804 *)
51805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51806 # A ".." for each directory in $ac_dir_suffix.
51807 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51808 case $ac_top_builddir_sub in
51809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51811 esac ;;
51812 esac
51813 ac_abs_top_builddir=$ac_pwd
51814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51815 # for backward compatibility:
51816 ac_top_builddir=$ac_top_build_prefix
51817
51818 case $srcdir in
51819 .) # We are building in place.
51820 ac_srcdir=.
51821 ac_top_srcdir=$ac_top_builddir_sub
51822 ac_abs_top_srcdir=$ac_pwd ;;
51823 [\\/]* | ?:[\\/]* ) # Absolute name.
51824 ac_srcdir=$srcdir$ac_dir_suffix;
51825 ac_top_srcdir=$srcdir
51826 ac_abs_top_srcdir=$srcdir ;;
51827 *) # Relative name.
51828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51829 ac_top_srcdir=$ac_top_build_prefix$srcdir
51830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51831 esac
51832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51833
51834
51835 cd "$ac_dir"
51836
51837 # Check for guested configure; otherwise get Cygnus style configure.
51838 if test -f "$ac_srcdir/configure.gnu"; then
51839 ac_sub_configure=$ac_srcdir/configure.gnu
51840 elif test -f "$ac_srcdir/configure"; then
51841 ac_sub_configure=$ac_srcdir/configure
51842 elif test -f "$ac_srcdir/configure.in"; then
51843 # This should be Cygnus configure.
51844 ac_sub_configure=$ac_aux_dir/configure
51845 else
51846 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51847 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51848 ac_sub_configure=
51849 fi
51850
51851 # The recursion is here.
51852 if test -n "$ac_sub_configure"; then
51853 # Make the cache file name correct relative to the subdirectory.
51854 case $cache_file in
51855 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51856 *) # Relative name.
51857 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51858 esac
51859
51860 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51861 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51862 # The eval makes quoting arguments work.
51863 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51864 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51865 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51866 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51867 { (exit 1); exit 1; }; }
51868 fi
51869
51870 cd "$ac_popdir"
51871 done
51872 fi
51873
51874
51875 echo
51876 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51877 echo ""
51878 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51879 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51880
51881 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51882 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51883 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51884 if test "$wxUSE_UNICODE" = "yes"; then
51885 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51886 echo " (using UTF-8)"
51887 else
51888 echo " (using wchar_t)"
51889 fi
51890 else
51891 echo
51892 fi
51893
51894 echo " What level of wxWidgets compatibility should be enabled?"
51895 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51896 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51897
51898 echo " Which libraries should wxWidgets use?"
51899 echo " STL ${wxUSE_STL}"
51900 echo " jpeg ${wxUSE_LIBJPEG-none}"
51901 echo " png ${wxUSE_LIBPNG-none}"
51902 echo " regex ${wxUSE_REGEX}"
51903 echo " tiff ${wxUSE_LIBTIFF-none}"
51904 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51905 echo " xpm ${wxUSE_LIBXPM-none}"
51906 fi
51907 echo " zlib ${wxUSE_ZLIB}"
51908 echo " expat ${wxUSE_EXPAT}"
51909 echo " libmspack ${wxUSE_LIBMSPACK}"
51910 echo " sdl ${wxUSE_LIBSDL}"
51911
51912 echo ""
51913