]> git.saurik.com Git - wxWidgets.git/blob - configure
don't show the normal context menu while editing an item (#9543)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 53842 2008-05-30 13:35:30Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_0
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_
902 COND_TOOLKIT_COCOA
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_DFB
906 COND_TOOLKIT_DFB_USE_GUI_1
907 COND_TOOLKIT_GTK
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
916 COND_TOOLKIT_MAC
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MGL
920 COND_TOOLKIT_MGL_USE_GUI_1
921 COND_TOOLKIT_MOTIF
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_PM
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
935 COND_TOOLKIT_X11
936 COND_TOOLKIT_X11_USE_GUI_1
937 COND_UNICODE_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_0
941 COND_USE_GUI_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_OPENGL_1
949 COND_USE_PCH_1
950 COND_USE_PLUGINS_0
951 COND_USE_RTTI_0
952 COND_USE_RTTI_1
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
956 COND_USE_SOVERSION_0
957 COND_USE_SOVERSOLARIS_1
958 COND_USE_STC_1
959 COND_USE_THREADS_0
960 COND_USE_THREADS_1
961 COND_USE_XRC_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
964 COND_WXUNIV_0
965 COND_WXUNIV_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
972 DEREZ
973 SHARED
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
976 USE_GUI
977 AFMINSTALL
978 WIN32INSTALL
979 TOOLKIT
980 TOOLKIT_DIR
981 TOOLCHAIN_NAME
982 TOOLCHAIN_FULLNAME
983 cross_compiling
984 WIDGET_SET
985 WX_RELEASE
986 WX_VERSION
987 WX_SUBVERSION
988 WX_CHARTYPE
989 WX_DEBUGTYPE
990 WXCONFIG_CPPFLAGS
991 WXCONFIG_CFLAGS
992 WXCONFIG_CXXFLAGS
993 WXCONFIG_LIBS
994 WXCONFIG_RPATH
995 WXCONFIG_LDFLAGS_GUI
996 WXCONFIG_RESFLAGS
997 GUIDIST
998 DISTDIR
999 SAMPLES_SUBDIRS
1000 LDFLAGS_GL
1001 OPENGL_LIBS
1002 DMALLOC_LIBS
1003 WX_VERSION_TAG
1004 RESCOMP
1005 RESFLAGS
1006 RESPROGRAMOBJ
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1009 LIBWXMACRES
1010 POSTLINK_COMMAND
1011 MACSETFILE
1012 GCC
1013 DLLTOOL
1014 CPPUNIT_CONFIG
1015 LIBOBJS
1016 LTLIBOBJS'
1017 ac_subst_files=''
1018 ac_precious_vars='build_alias
1019 host_alias
1020 target_alias
1021 CC
1022 CFLAGS
1023 LDFLAGS
1024 LIBS
1025 CPPFLAGS
1026 CPP
1027 CXX
1028 CXXFLAGS
1029 CCC
1030 PKG_CONFIG
1031 DIRECTFB_CFLAGS
1032 DIRECTFB_LIBS
1033 XMKMF
1034 PANGOX_CFLAGS
1035 PANGOX_LIBS
1036 PANGOFT2_CFLAGS
1037 PANGOFT2_LIBS
1038 PANGOXFT_CFLAGS
1039 PANGOXFT_LIBS
1040 GTKPRINT_CFLAGS
1041 GTKPRINT_LIBS
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1044 GNOMEVFS_CFLAGS
1045 GNOMEVFS_LIBS
1046 HILDON_CFLAGS
1047 HILDON_LIBS
1048 CAIRO_CFLAGS
1049 CAIRO_LIBS
1050 GST_CFLAGS
1051 GST_LIBS'
1052 ac_subdirs_all='src/tiff
1053 src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --disable-gui don't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros, even if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets 2.6 compatibility
1667 --disable-compat28 disable wxWidgets 2.8 compatibility
1668 --disable-rpath disable use of rpath for uninstalled builds
1669 --enable-objc_uniquifying enable Objective-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even if supported
1671 --enable-intl use internationalization system
1672 --enable-xlocale use x-locale support (requires wxLocale)
1673 --enable-config use wxConfig (and derived) classes
1674 --enable-protocols use wxProtocol and derived classes
1675 --enable-ftp use wxFTP (requires wxProtocol
1676 --enable-http use wxHTTP (requires wxProtocol
1677 --enable-fileproto use wxFileProto class (requires wxProtocol
1678 --enable-sockets use socket/network classes
1679 --enable-ipv6 enable IPv6 support in wxSocket
1680 --enable-ole use OLE classes (Win32 only)
1681 --enable-dataobj use data object classes
1682 --enable-ipc use interprocess communication (wxSocket etc.)
1683 --enable-baseevtloop use event loop in console programs too
1684 --enable-epollloop use wxEpollDispatcher class (Linux only)
1685 --enable-selectloop use wxSelectDispatcher class
1686 --enable-apple_ieee use the Apple IEEE codec
1687 --enable-arcstream use wxArchive streams
1688 --enable-base64 use base64 encoding/decoding functions
1689 --enable-backtrace use wxStackWalker class for getting backtraces
1690 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1691 --enable-cmdline use wxCmdLineParser class
1692 --enable-datetime use wxDateTime class
1693 --enable-debugreport use wxDebugReport class
1694 --enable-dialupman use dialup network classes
1695 --enable-dynlib use wxLibrary class for DLL loading
1696 --enable-dynamicloader use (new) wxDynamicLibrary class
1697 --enable-exceptions build exception-safe library
1698 --enable-ffile use wxFFile class
1699 --enable-file use wxFile class
1700 --enable-filesystem use virtual file systems classes
1701 --enable-fontenum use wxFontEnumerator class
1702 --enable-fontmap use font encodings conversion classes
1703 --enable-fs_archive use virtual archive filesystems
1704 --enable-fs_inet use virtual HTTP/FTP filesystems
1705 --enable-fs_zip now replaced by fs_archive
1706 --enable-geometry use geometry class
1707 --enable-log use logging system
1708 --enable-longlong use wxLongLong class
1709 --enable-mimetype use wxMimeTypesManager
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-sound use wxSound class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-variant use wxVariant class
1722 --enable-weakref make wxEvtHandler trackable with wxWeakRef<>
1723 --enable-zipstream use wxZip streams
1724 --enable-url use wxURL class
1725 --enable-protocol use wxProtocol class
1726 --enable-protocol-http HTTP support in wxProtocol
1727 --enable-protocol-ftp FTP support in wxProtocol
1728 --enable-protocol-file FILE support in wxProtocol
1729 --enable-threads use threads
1730 --enable-iniconf use wxIniConfig (Win32 only)
1731 --enable-regkey use wxRegKey class (Win32 only)
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-loggui use standard GUI logger
1742 --enable-logwin use wxLogWindow
1743 --enable-logdialog use wxLogDialog
1744 --enable-mdi use multiple document interface architecture
1745 --enable-mdidoc use docview architecture with MDI
1746 --enable-mediactrl use wxMediaCtrl class
1747 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-printarch use printing architecture
1753 --enable-svg use wxSVGFileDC device context
1754 --enable-clipboard use wxClipboard class
1755 --enable-dnd use Drag'n'Drop classes
1756 --enable-metafile use win32 metafiles
1757 --disable-controls disable compilation of all standard controls
1758 --enable-accel use accelerators
1759 --enable-animatectrl use wxAnimationCtrl class
1760 --enable-button use wxButton class
1761 --enable-bmpbutton use wxBitmapButton class
1762 --enable-bmpcombobox use wxBitmapComboBox class
1763 --enable-calendar use wxCalendarCtrl class
1764 --enable-caret use wxCaret class
1765 --enable-checkbox use wxCheckBox class
1766 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1767 --enable-choice use wxChoice class
1768 --enable-choicebook use wxChoicebook class
1769 --enable-collpane use wxCollapsiblePane class
1770 --enable-colourpicker use wxColourPickerCtrl class
1771 --enable-combobox use wxComboBox class
1772 --enable-comboctrl use wxComboCtrl class
1773 --enable-datepick use wxDatePickerCtrl class
1774 --enable-dirpicker use wxDirPickerCtrl class
1775 --enable-display use wxDisplay class
1776 --enable-detect_sm use code to detect X11 session manager
1777 --enable-editablebox use wxEditableListBox class
1778 --enable-filepicker use wxFilePickerCtrl class
1779 --enable-filectrl use wxFileCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-notifmsg use wxNotificationMessage class
1791 --enable-odcombobox use wxOwnerDrawnComboBox class
1792 --enable-radiobox use wxRadioBox class
1793 --enable-radiobtn use wxRadioButton class
1794 --enable-sash use wxSashWindow class
1795 --enable-scrollbar use wxScrollBar class and scrollable windows
1796 --enable-searchctrl use wxSearchCtrl class
1797 --enable-slider use wxSlider class
1798 --enable-spinbtn use wxSpinButton class
1799 --enable-spinctrl use wxSpinCtrl class
1800 --enable-splitter use wxSplitterWindow class
1801 --enable-statbmp use wxStaticBitmap class
1802 --enable-statbox use wxStaticBox class
1803 --enable-statline use wxStaticLine class
1804 --enable-stattext use wxStaticText class
1805 --enable-statusbar use wxStatusBar class
1806 --enable-tabdialog use wxTabControl class
1807 --enable-taskbaricon use wxTaskBarIcon class
1808 --enable-textctrl use wxTextCtrl class
1809 --enable-togglebtn use wxToggleButton class
1810 --enable-toolbar use wxToolBar class
1811 --enable-tbarnative use native wxToolBar class
1812 --enable-treebook use wxTreebook class
1813 --enable-toolbook use wxToolbook class
1814 --enable-treectrl use wxTreeCtrl class
1815 --enable-tipwindow use wxTipWindow class
1816 --enable-popupwin use wxPopUpWindow class
1817 --enable-commondlg use all common dialogs
1818 --enable-aboutdlg use wxAboutBox
1819 --enable-choicedlg use wxChoiceDialog
1820 --enable-coldlg use wxColourDialog
1821 --enable-filedlg use wxFileDialog
1822 --enable-finddlg use wxFindReplaceDialog
1823 --enable-fontdlg use wxFontDialog
1824 --enable-dirdlg use wxDirDialog
1825 --enable-msgdlg use wxMessageDialog
1826 --enable-numberdlg use wxNumberEntryDialog
1827 --enable-splash use wxSplashScreen
1828 --enable-textdlg use wxTextDialog
1829 --enable-tipdlg use startup tips
1830 --enable-progressdlg use wxProgressDialog
1831 --enable-wizarddlg use wxWizard
1832 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1833 --enable-miniframe use wxMiniFrame class
1834 --enable-tooltips use wxToolTip class
1835 --enable-splines use spline drawing code
1836 --enable-mousewheel use mousewheel
1837 --enable-validators use wxValidator and derived classes
1838 --enable-busyinfo use wxBusyInfo
1839 --enable-joystick use wxJoystick
1840 --enable-metafiles use wxMetaFile (Win32 only)
1841 --enable-dragimage use wxDragImage
1842 --enable-accessibility enable accessibility support
1843 --enable-palette use wxPalette class
1844 --enable-image use wxImage class
1845 --enable-gif use gif images (GIF file format)
1846 --enable-pcx use pcx images (PCX file format)
1847 --enable-tga use tga images (TGA file format)
1848 --enable-iff use iff images (IFF file format)
1849 --enable-pnm use pnm images (PNM file format)
1850 --enable-xpm use xpm images (XPM file format)
1851 --enable-ico_cur use Windows ICO and CUR formats
1852 --enable-dccache cache temporary wxDC objects (Win32 only)
1853 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1854 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1855 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1856 --enable-wxdib use wxDIB class (Win32 only)
1857 --enable-autoidman use automatic ids management
1858 --disable-largefile omit support for large files
1859 --disable-gtktest do not try to compile and run a test GTK+ program
1860 --disable-gtktest Do not try to compile and run a test GTK program
1861 --disable-sdltest Do not try to compile and run a test SDL program
1862 --enable-omf use OMF object format (OS/2)
1863 --disable-dependency-tracking
1864 don't use dependency tracking even if the compiler
1865 can
1866 --disable-precomp-headers
1867 don't use precompiled headers even if compiler can
1868
1869 Optional Packages:
1870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1872 --without-subdirs don't generate makefiles for samples/demos/...
1873 --with-flavour=NAME specify a name to identify this build
1874 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1875 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1876 --with-motif use Motif/Lesstif
1877 --with-mac use Mac OS X
1878 --with-cocoa use Cocoa
1879 --with-wine use Wine
1880 --with-msw use MS-Windows
1881 --with-pm use OS/2 Presentation Manager
1882 --with-mgl use SciTech MGL
1883 --with-directfb use DirectFB
1884 --with-microwin use MicroWindows
1885 --with-x11 use X11
1886 --with-libpng use libpng (PNG image format)
1887 --with-libjpeg use libjpeg (JPEG file format)
1888 --with-libtiff use libtiff (TIFF file format)
1889 --with-libxpm use libxpm (XPM file format)
1890 --with-libiconv use libiconv (character conversion)
1891 --with-libmspack use libmspack (CHM help files loading)
1892 --without-gtkprint don't use GTK printing support
1893 --without-gnomeprint don't use GNOME printing libraries
1894 --with-gnomevfs use GNOME VFS for associating MIME types
1895 --with-hildon use Hildon framework for Nokia 770
1896 --with-opengl use OpenGL (or Mesa)
1897 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1898 --with-sdl use SDL for audio on Unix
1899 --with-regex enable support for wxRegEx class
1900 --with-zlib use zlib for LZW compression
1901 --with-expat enable XML support using expat parser
1902 --with-macosx-sdk=PATH use an OS X SDK at PATH
1903 --with-macosx-version-min=VER build binaries which require at least this OS X version
1904 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1905 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1906 --with-x use the X Window System
1907 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1908 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1909 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1910 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1911 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1912
1913 Some influential environment variables:
1914 CC C compiler command
1915 CFLAGS C compiler flags
1916 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1917 nonstandard directory <lib dir>
1918 LIBS libraries to pass to the linker, e.g. -l<library>
1919 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1920 you have headers in a nonstandard directory <include dir>
1921 CPP C preprocessor
1922 CXX C++ compiler command
1923 CXXFLAGS C++ compiler flags
1924 PKG_CONFIG path to pkg-config utility
1925 DIRECTFB_CFLAGS
1926 C compiler flags for DIRECTFB, overriding pkg-config
1927 DIRECTFB_LIBS
1928 linker flags for DIRECTFB, overriding pkg-config
1929 XMKMF Path to xmkmf, Makefile generator for X Window System
1930 PANGOX_CFLAGS
1931 C compiler flags for PANGOX, overriding pkg-config
1932 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1933 PANGOFT2_CFLAGS
1934 C compiler flags for PANGOFT2, overriding pkg-config
1935 PANGOFT2_LIBS
1936 linker flags for PANGOFT2, overriding pkg-config
1937 PANGOXFT_CFLAGS
1938 C compiler flags for PANGOXFT, overriding pkg-config
1939 PANGOXFT_LIBS
1940 linker flags for PANGOXFT, overriding pkg-config
1941 GTKPRINT_CFLAGS
1942 C compiler flags for GTKPRINT, overriding pkg-config
1943 GTKPRINT_LIBS
1944 linker flags for GTKPRINT, overriding pkg-config
1945 LIBGNOMEPRINTUI_CFLAGS
1946 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1947 LIBGNOMEPRINTUI_LIBS
1948 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1949 GNOMEVFS_CFLAGS
1950 C compiler flags for GNOMEVFS, overriding pkg-config
1951 GNOMEVFS_LIBS
1952 linker flags for GNOMEVFS, overriding pkg-config
1953 HILDON_CFLAGS
1954 C compiler flags for HILDON, overriding pkg-config
1955 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1956 CAIRO_CFLAGS
1957 C compiler flags for CAIRO, overriding pkg-config
1958 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1959 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1960 GST_LIBS linker flags for GST, overriding pkg-config
1961
1962 Use these variables to override the choices made by `configure' or to help
1963 it to find libraries and programs with nonstandard names/locations.
1964
1965 Report bugs to <wx-dev@lists.wxwidgets.org>.
1966 _ACEOF
1967 ac_status=$?
1968 fi
1969
1970 if test "$ac_init_help" = "recursive"; then
1971 # If there are subdirs, report their specific --help.
1972 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1973 test -d "$ac_dir" || continue
1974 ac_builddir=.
1975
1976 case "$ac_dir" in
1977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1978 *)
1979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1980 # A ".." for each directory in $ac_dir_suffix.
1981 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1982 case $ac_top_builddir_sub in
1983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1985 esac ;;
1986 esac
1987 ac_abs_top_builddir=$ac_pwd
1988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1989 # for backward compatibility:
1990 ac_top_builddir=$ac_top_build_prefix
1991
1992 case $srcdir in
1993 .) # We are building in place.
1994 ac_srcdir=.
1995 ac_top_srcdir=$ac_top_builddir_sub
1996 ac_abs_top_srcdir=$ac_pwd ;;
1997 [\\/]* | ?:[\\/]* ) # Absolute name.
1998 ac_srcdir=$srcdir$ac_dir_suffix;
1999 ac_top_srcdir=$srcdir
2000 ac_abs_top_srcdir=$srcdir ;;
2001 *) # Relative name.
2002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2003 ac_top_srcdir=$ac_top_build_prefix$srcdir
2004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2005 esac
2006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2007
2008 cd "$ac_dir" || { ac_status=$?; continue; }
2009 # Check for guested configure.
2010 if test -f "$ac_srcdir/configure.gnu"; then
2011 echo &&
2012 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2013 elif test -f "$ac_srcdir/configure"; then
2014 echo &&
2015 $SHELL "$ac_srcdir/configure" --help=recursive
2016 else
2017 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2018 fi || ac_status=$?
2019 cd "$ac_pwd" || { ac_status=$?; break; }
2020 done
2021 fi
2022
2023 test -n "$ac_init_help" && exit $ac_status
2024 if $ac_init_version; then
2025 cat <<\_ACEOF
2026 wxWidgets configure 2.9.0
2027 generated by GNU Autoconf 2.61
2028
2029 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2030 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2031 This configure script is free software; the Free Software Foundation
2032 gives unlimited permission to copy, distribute and modify it.
2033 _ACEOF
2034 exit
2035 fi
2036 cat >config.log <<_ACEOF
2037 This file contains any messages produced by compilers while
2038 running configure, to aid debugging if configure makes a mistake.
2039
2040 It was created by wxWidgets $as_me 2.9.0, which was
2041 generated by GNU Autoconf 2.61. Invocation command line was
2042
2043 $ $0 $@
2044
2045 _ACEOF
2046 exec 5>>config.log
2047 {
2048 cat <<_ASUNAME
2049 ## --------- ##
2050 ## Platform. ##
2051 ## --------- ##
2052
2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2058
2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2061
2062 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2063 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2066 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2067 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2068 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2069
2070 _ASUNAME
2071
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 for as_dir in $PATH
2074 do
2075 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=.
2077 echo "PATH: $as_dir"
2078 done
2079 IFS=$as_save_IFS
2080
2081 } >&5
2082
2083 cat >&5 <<_ACEOF
2084
2085
2086 ## ----------- ##
2087 ## Core tests. ##
2088 ## ----------- ##
2089
2090 _ACEOF
2091
2092
2093 # Keep a trace of the command line.
2094 # Strip out --no-create and --no-recursion so they do not pile up.
2095 # Strip out --silent because we don't want to record it for future runs.
2096 # Also quote any args containing shell meta-characters.
2097 # Make two passes to allow for proper duplicate-argument suppression.
2098 ac_configure_args=
2099 ac_configure_args0=
2100 ac_configure_args1=
2101 ac_must_keep_next=false
2102 for ac_pass in 1 2
2103 do
2104 for ac_arg
2105 do
2106 case $ac_arg in
2107 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109 | -silent | --silent | --silen | --sile | --sil)
2110 continue ;;
2111 *\'*)
2112 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 esac
2114 case $ac_pass in
2115 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2116 2)
2117 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2118 if test $ac_must_keep_next = true; then
2119 ac_must_keep_next=false # Got value, back to normal.
2120 else
2121 case $ac_arg in
2122 *=* | --config-cache | -C | -disable-* | --disable-* \
2123 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125 | -with-* | --with-* | -without-* | --without-* | --x)
2126 case "$ac_configure_args0 " in
2127 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 esac
2129 ;;
2130 -* ) ac_must_keep_next=true ;;
2131 esac
2132 fi
2133 ac_configure_args="$ac_configure_args '$ac_arg'"
2134 ;;
2135 esac
2136 done
2137 done
2138 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2139 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2140
2141 # When interrupted or exit'd, cleanup temporary files, and complete
2142 # config.log. We remove comments because anyway the quotes in there
2143 # would cause problems or look ugly.
2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146 trap 'exit_status=$?
2147 # Save into config.log some information that might help in debugging.
2148 {
2149 echo
2150
2151 cat <<\_ASBOX
2152 ## ---------------- ##
2153 ## Cache variables. ##
2154 ## ---------------- ##
2155 _ASBOX
2156 echo
2157 # The following way of writing the cache mishandles newlines in values,
2158 (
2159 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2160 eval ac_val=\$$ac_var
2161 case $ac_val in #(
2162 *${as_nl}*)
2163 case $ac_var in #(
2164 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2165 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2166 esac
2167 case $ac_var in #(
2168 _ | IFS | as_nl) ;; #(
2169 *) $as_unset $ac_var ;;
2170 esac ;;
2171 esac
2172 done
2173 (set) 2>&1 |
2174 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2175 *${as_nl}ac_space=\ *)
2176 sed -n \
2177 "s/'\''/'\''\\\\'\'''\''/g;
2178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2179 ;; #(
2180 *)
2181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 ;;
2183 esac |
2184 sort
2185 )
2186 echo
2187
2188 cat <<\_ASBOX
2189 ## ----------------- ##
2190 ## Output variables. ##
2191 ## ----------------- ##
2192 _ASBOX
2193 echo
2194 for ac_var in $ac_subst_vars
2195 do
2196 eval ac_val=\$$ac_var
2197 case $ac_val in
2198 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2199 esac
2200 echo "$ac_var='\''$ac_val'\''"
2201 done | sort
2202 echo
2203
2204 if test -n "$ac_subst_files"; then
2205 cat <<\_ASBOX
2206 ## ------------------- ##
2207 ## File substitutions. ##
2208 ## ------------------- ##
2209 _ASBOX
2210 echo
2211 for ac_var in $ac_subst_files
2212 do
2213 eval ac_val=\$$ac_var
2214 case $ac_val in
2215 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216 esac
2217 echo "$ac_var='\''$ac_val'\''"
2218 done | sort
2219 echo
2220 fi
2221
2222 if test -s confdefs.h; then
2223 cat <<\_ASBOX
2224 ## ----------- ##
2225 ## confdefs.h. ##
2226 ## ----------- ##
2227 _ASBOX
2228 echo
2229 cat confdefs.h
2230 echo
2231 fi
2232 test "$ac_signal" != 0 &&
2233 echo "$as_me: caught signal $ac_signal"
2234 echo "$as_me: exit $exit_status"
2235 } >&5
2236 rm -f core *.core core.conftest.* &&
2237 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238 exit $exit_status
2239 ' 0
2240 for ac_signal in 1 2 13 15; do
2241 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2242 done
2243 ac_signal=0
2244
2245 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2246 rm -f -r conftest* confdefs.h
2247
2248 # Predefined preprocessor variables.
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_NAME "$PACKAGE_NAME"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2262 _ACEOF
2263
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 _ACEOF
2268
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272 _ACEOF
2273
2274
2275 # Let the site file select an alternate cache file if it wants to.
2276 # Prefer explicitly selected file to automatically selected ones.
2277 if test -n "$CONFIG_SITE"; then
2278 set x "$CONFIG_SITE"
2279 elif test "x$prefix" != xNONE; then
2280 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2281 else
2282 set x "$ac_default_prefix/share/config.site" \
2283 "$ac_default_prefix/etc/config.site"
2284 fi
2285 shift
2286 for ac_site_file
2287 do
2288 if test -r "$ac_site_file"; then
2289 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2290 echo "$as_me: loading site script $ac_site_file" >&6;}
2291 sed 's/^/| /' "$ac_site_file" >&5
2292 . "$ac_site_file"
2293 fi
2294 done
2295
2296 if test -r "$cache_file"; then
2297 # Some versions of bash will fail to source /dev/null (special
2298 # files actually), so we avoid doing that.
2299 if test -f "$cache_file"; then
2300 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2301 echo "$as_me: loading cache $cache_file" >&6;}
2302 case $cache_file in
2303 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2304 *) . "./$cache_file";;
2305 esac
2306 fi
2307 else
2308 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2309 echo "$as_me: creating cache $cache_file" >&6;}
2310 >$cache_file
2311 fi
2312
2313 # Check that the precious variables saved in the cache have kept the same
2314 # value.
2315 ac_cache_corrupted=false
2316 for ac_var in $ac_precious_vars; do
2317 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2318 eval ac_new_set=\$ac_env_${ac_var}_set
2319 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2320 eval ac_new_val=\$ac_env_${ac_var}_value
2321 case $ac_old_set,$ac_new_set in
2322 set,)
2323 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2324 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2325 ac_cache_corrupted=: ;;
2326 ,set)
2327 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2328 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2329 ac_cache_corrupted=: ;;
2330 ,);;
2331 *)
2332 if test "x$ac_old_val" != "x$ac_new_val"; then
2333 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2334 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2335 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2336 echo "$as_me: former value: $ac_old_val" >&2;}
2337 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2338 echo "$as_me: current value: $ac_new_val" >&2;}
2339 ac_cache_corrupted=:
2340 fi;;
2341 esac
2342 # Pass precious variables to config.status.
2343 if test "$ac_new_set" = set; then
2344 case $ac_new_val in
2345 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 *) ac_arg=$ac_var=$ac_new_val ;;
2347 esac
2348 case " $ac_configure_args " in
2349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2350 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2351 esac
2352 fi
2353 done
2354 if $ac_cache_corrupted; then
2355 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2356 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2357 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2358 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2359 { (exit 1); exit 1; }; }
2360 fi
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386 ac_ext=c
2387 ac_cpp='$CPP $CPPFLAGS'
2388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2391
2392
2393
2394
2395
2396 ac_aux_dir=
2397 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2398 if test -f "$ac_dir/install-sh"; then
2399 ac_aux_dir=$ac_dir
2400 ac_install_sh="$ac_aux_dir/install-sh -c"
2401 break
2402 elif test -f "$ac_dir/install.sh"; then
2403 ac_aux_dir=$ac_dir
2404 ac_install_sh="$ac_aux_dir/install.sh -c"
2405 break
2406 elif test -f "$ac_dir/shtool"; then
2407 ac_aux_dir=$ac_dir
2408 ac_install_sh="$ac_aux_dir/shtool install -c"
2409 break
2410 fi
2411 done
2412 if test -z "$ac_aux_dir"; then
2413 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2414 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2415 { (exit 1); exit 1; }; }
2416 fi
2417
2418 # These three variables are undocumented and unsupported,
2419 # and are intended to be withdrawn in a future Autoconf release.
2420 # They can cause serious problems if a builder's source tree is in a directory
2421 # whose full name contains unusual characters.
2422 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2423 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2424 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2425
2426
2427 # Make sure we can run config.sub.
2428 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2429 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2430 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2431 { (exit 1); exit 1; }; }
2432
2433 { echo "$as_me:$LINENO: checking build system type" >&5
2434 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2435 if test "${ac_cv_build+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438 ac_build_alias=$build_alias
2439 test "x$ac_build_alias" = x &&
2440 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2441 test "x$ac_build_alias" = x &&
2442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2444 { (exit 1); exit 1; }; }
2445 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2446 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2447 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2448 { (exit 1); exit 1; }; }
2449
2450 fi
2451 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2452 echo "${ECHO_T}$ac_cv_build" >&6; }
2453 case $ac_cv_build in
2454 *-*-*) ;;
2455 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2456 echo "$as_me: error: invalid value of canonical build" >&2;}
2457 { (exit 1); exit 1; }; };;
2458 esac
2459 build=$ac_cv_build
2460 ac_save_IFS=$IFS; IFS='-'
2461 set x $ac_cv_build
2462 shift
2463 build_cpu=$1
2464 build_vendor=$2
2465 shift; shift
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2468 build_os=$*
2469 IFS=$ac_save_IFS
2470 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2471
2472
2473 { echo "$as_me:$LINENO: checking host system type" >&5
2474 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2475 if test "${ac_cv_host+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478 if test "x$host_alias" = x; then
2479 ac_cv_host=$ac_cv_build
2480 else
2481 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2485 fi
2486
2487 fi
2488 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2489 echo "${ECHO_T}$ac_cv_host" >&6; }
2490 case $ac_cv_host in
2491 *-*-*) ;;
2492 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2493 echo "$as_me: error: invalid value of canonical host" >&2;}
2494 { (exit 1); exit 1; }; };;
2495 esac
2496 host=$ac_cv_host
2497 ac_save_IFS=$IFS; IFS='-'
2498 set x $ac_cv_host
2499 shift
2500 host_cpu=$1
2501 host_vendor=$2
2502 shift; shift
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2505 host_os=$*
2506 IFS=$ac_save_IFS
2507 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2508
2509
2510 { echo "$as_me:$LINENO: checking target system type" >&5
2511 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2512 if test "${ac_cv_target+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 else
2515 if test "x$target_alias" = x; then
2516 ac_cv_target=$ac_cv_host
2517 else
2518 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2519 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2520 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2522 fi
2523
2524 fi
2525 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2526 echo "${ECHO_T}$ac_cv_target" >&6; }
2527 case $ac_cv_target in
2528 *-*-*) ;;
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2530 echo "$as_me: error: invalid value of canonical target" >&2;}
2531 { (exit 1); exit 1; }; };;
2532 esac
2533 target=$ac_cv_target
2534 ac_save_IFS=$IFS; IFS='-'
2535 set x $ac_cv_target
2536 shift
2537 target_cpu=$1
2538 target_vendor=$2
2539 shift; shift
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2542 target_os=$*
2543 IFS=$ac_save_IFS
2544 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2545
2546
2547 # The aliases save the names the user supplied, while $host etc.
2548 # will get canonicalized.
2549 test -n "$target_alias" &&
2550 test "$program_prefix$program_suffix$program_transform_name" = \
2551 NONENONEs,x,x, &&
2552 program_prefix=${target_alias}-
2553
2554
2555
2556 wx_major_version_number=2
2557 wx_minor_version_number=9
2558 wx_release_number=0
2559 wx_subrelease_number=0
2560
2561 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2562 WX_VERSION=$WX_RELEASE.$wx_release_number
2563 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2564
2565 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2566
2567
2568 wx_top_builddir="`pwd`"
2569
2570
2571
2572
2573 USE_UNIX=1
2574 USE_OS2=0
2575 USE_WIN32=0
2576 USE_DOS=0
2577 USE_BEOS=0
2578 USE_MAC=0
2579
2580 USE_AIX=
2581 USE_BSD= USE_DARWIN= USE_FREEBSD=
2582 USE_GNU= USE_HPUX=
2583 USE_LINUX=
2584 USE_NETBSD=
2585 USE_OPENBSD=
2586 USE_OSF= USE_SGI=
2587 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2588 USE_ULTRIX=
2589 USE_UNIXWARE=
2590
2591 USE_ALPHA=
2592
2593 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2594
2595 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2596
2597 DEFAULT_wxUSE_COCOA=0
2598 DEFAULT_wxUSE_GTK=0
2599 DEFAULT_wxUSE_MAC=0
2600 DEFAULT_wxUSE_MGL=0
2601 DEFAULT_wxUSE_MICROWIN=0
2602 DEFAULT_wxUSE_MOTIF=0
2603 DEFAULT_wxUSE_MSW=0
2604 DEFAULT_wxUSE_PM=0
2605 DEFAULT_wxUSE_X11=0
2606 DEFAULT_wxUSE_DFB=0
2607
2608 DEFAULT_DEFAULT_wxUSE_COCOA=0
2609 DEFAULT_DEFAULT_wxUSE_GTK=0
2610 DEFAULT_DEFAULT_wxUSE_MAC=0
2611 DEFAULT_DEFAULT_wxUSE_MGL=0
2612 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2614 DEFAULT_DEFAULT_wxUSE_MSW=0
2615 DEFAULT_DEFAULT_wxUSE_PM=0
2616 DEFAULT_DEFAULT_wxUSE_X11=0
2617 DEFAULT_DEFAULT_wxUSE_DFB=0
2618
2619 PROGRAM_EXT=
2620 SO_SUFFIX=so
2621 SAMPLES_RPATH_FLAG=
2622 SAMPLES_RPATH_POSTLINK=
2623
2624 DEFAULT_STD_FLAG=yes
2625
2626 case "${host}" in
2627 *-hp-hpux* )
2628 USE_HPUX=1
2629 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2630 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2631 SO_SUFFIX=sl
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __HPUX__ 1
2634 _ACEOF
2635
2636
2637 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2638 ;;
2639 *-*-linux* )
2640 USE_LINUX=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __LINUX__ 1
2643 _ACEOF
2644
2645 TMP=`uname -m`
2646 if test "x$TMP" = "xalpha"; then
2647 USE_ALPHA=1
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __ALPHA__ 1
2650 _ACEOF
2651
2652 fi
2653 DEFAULT_DEFAULT_wxUSE_GTK=1
2654 ;;
2655 *-*-gnu* | *-*-k*bsd*-gnu )
2656 USE_GNU=1
2657 TMP=`uname -m`
2658 if test "x$TMP" = "xalpha"; then
2659 USE_ALPHA=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __ALPHA__ 1
2662 _ACEOF
2663
2664 fi
2665 DEFAULT_DEFAULT_wxUSE_GTK=1
2666 ;;
2667 *-*-irix5* | *-*-irix6* )
2668 USE_SGI=1
2669 USE_SVR4=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __SGI__ 1
2672 _ACEOF
2673
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SVR4__ 1
2676 _ACEOF
2677
2678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2679 ;;
2680 *-*-solaris2* )
2681 USE_SUN=1
2682 USE_SOLARIS=1
2683 USE_SVR4=1
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SUN__ 1
2686 _ACEOF
2687
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SOLARIS__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SVR4__ 1
2694 _ACEOF
2695
2696 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2697 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2698 ;;
2699 *-*-sunos4* )
2700 USE_SUN=1
2701 USE_SUNOS=1
2702 USE_BSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SUN__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __SUNOS__ 1
2709 _ACEOF
2710
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __BSD__ 1
2713 _ACEOF
2714
2715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2716 ;;
2717 *-*-freebsd*)
2718 USE_BSD=1
2719 USE_FREEBSD=1
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __FREEBSD__ 1
2722 _ACEOF
2723
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __BSD__ 1
2726 _ACEOF
2727
2728 DEFAULT_DEFAULT_wxUSE_GTK=1
2729 ;;
2730 *-*-openbsd*|*-*-mirbsd*)
2731 USE_BSD=1
2732 USE_OPENBSD=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __OPENBSD__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __BSD__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_GTK=1
2742 ;;
2743 *-*-netbsd*)
2744 USE_BSD=1
2745 USE_NETBSD=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __NETBSD__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __BSD__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_GTK=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756
2757 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2758 ;;
2759 *-*-osf* )
2760 USE_ALPHA=1
2761 USE_OSF=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __ALPHA__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __OSF__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2772 ;;
2773 *-*-dgux5* )
2774 USE_ALPHA=1
2775 USE_SVR4=1
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __ALPHA__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SVR4__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2785 ;;
2786 *-*-sysv5* )
2787 USE_SYSV=1
2788 USE_SVR4=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __SYSV__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SVR4__ 1
2795 _ACEOF
2796
2797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2798 ;;
2799 *-*-aix* )
2800 USE_AIX=1
2801 USE_SYSV=1
2802 USE_SVR4=1
2803 SO_SUFFIX=a
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __AIX__ 1
2806 _ACEOF
2807
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __SYSV__ 1
2810 _ACEOF
2811
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __SVR4__ 1
2814 _ACEOF
2815
2816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2817 ;;
2818
2819 *-*-*UnixWare*)
2820 USE_SYSV=1
2821 USE_SVR4=1
2822 USE_UNIXWARE=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __UNIXWARE__ 1
2825 _ACEOF
2826
2827 ;;
2828
2829 *-*-cygwin* | *-*-mingw32* )
2830 SO_SUFFIX=dll
2831 PROGRAM_EXT=".exe"
2832 DEFAULT_DEFAULT_wxUSE_MSW=1
2833 ;;
2834
2835 *-pc-msdosdjgpp )
2836 USE_UNIX=0
2837 USE_DOS=1
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __DOS__ 1
2840 _ACEOF
2841
2842 PROGRAM_EXT=".exe"
2843 DEFAULT_DEFAULT_wxUSE_MGL=1
2844 ;;
2845
2846 *-pc-os2_emx | *-pc-os2-emx )
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __EMX__ 1
2849 _ACEOF
2850
2851 USE_OS2=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __OS2__ 1
2854 _ACEOF
2855
2856 PROGRAM_EXT=".exe"
2857 DEFAULT_DEFAULT_wxUSE_PM=1
2858 CXX=gcc
2859 LDFLAGS="$LDFLAGS -Zcrtdll"
2860 ac_executable_extensions=".exe"
2861 export ac_executable_extensions
2862 ac_save_IFS="$IFS"
2863 IFS='\\'
2864 ac_TEMP_PATH=
2865 for ac_dir in $PATH; do
2866 IFS=$ac_save_IFS
2867 if test -z "$ac_TEMP_PATH"; then
2868 ac_TEMP_PATH="$ac_dir"
2869 else
2870 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2871 fi
2872 done
2873 export PATH="$ac_TEMP_PATH"
2874 unset ac_TEMP_PATH
2875 DEFAULT_STD_FLAG=no
2876 ;;
2877
2878 *-*-darwin* )
2879 USE_BSD=1
2880 USE_DARWIN=1
2881 SO_SUFFIX=dylib
2882 cat >>confdefs.h <<\_ACEOF
2883 #define __BSD__ 1
2884 _ACEOF
2885
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __DARWIN__ 1
2888 _ACEOF
2889
2890 cat >>confdefs.h <<\_ACEOF
2891 #define TARGET_CARBON 1
2892 _ACEOF
2893
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 DEFAULT_STD_FLAG=no
2896 ;;
2897 powerpc-apple-macos* )
2898 USE_UNIX=0
2899 ac_cv_c_bigendian=yes
2900 SO_SUFFIX=shlib
2901 DEFAULT_DEFAULT_wxUSE_MAC=1
2902 DEFAULT_STD_FLAG=no
2903 ;;
2904
2905 *-*-beos* )
2906 USE_BEOS=1
2907 cat >>confdefs.h <<\_ACEOF
2908 #define __BEOS__ 1
2909 _ACEOF
2910
2911 ;;
2912
2913 *)
2914 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2915 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2916 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2917 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2918
2919 DEFAULT_DEFAULT_wxUSE_X11=1
2920 DEFAULT_wxUSE_SHARED=no
2921 esac
2922
2923
2924
2925 DEFAULT_wxUSE_ALL_FEATURES=yes
2926
2927 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2929
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_LIBGNOMEVFS=no
2932 DEFAULT_wxUSE_LIBHILDON=no
2933 DEFAULT_wxUSE_LIBMSPACK=no
2934 DEFAULT_wxUSE_LIBSDL=no
2935 DEFAULT_wxUSE_OPENGL=no
2936
2937 DEFAULT_wxUSE_ACCESSIBILITY=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_IPV6=no
2940 DEFAULT_wxUSE_MEDIACTRL=no
2941 DEFAULT_wxUSE_TAB_DIALOG=no
2942 DEFAULT_wxUSE_GSTREAMER8=no
2943
2944 DEFAULT_wxUSE_UNICODE_UTF8=auto
2945 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2946
2947 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2948
2949 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2950
2951 DEFAULT_wxUSE_GTK2=yes
2952
2953 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2954
2955
2956
2957
2958
2959 enablestring=disable
2960 defaultval=
2961 if test -z "$defaultval"; then
2962 if test x"$enablestring" = xdisable; then
2963 defaultval=yes
2964 else
2965 defaultval=no
2966 fi
2967 fi
2968
2969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2971 # Check whether --enable-gui was given.
2972 if test "${enable_gui+set}" = set; then
2973 enableval=$enable_gui;
2974 if test "$enableval" = yes; then
2975 wx_cv_use_gui='wxUSE_GUI=yes'
2976 else
2977 wx_cv_use_gui='wxUSE_GUI=no'
2978 fi
2979
2980 else
2981
2982 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2983
2984 fi
2985
2986
2987 eval "$wx_cv_use_gui"
2988
2989 if test x"$enablestring" = xdisable; then
2990 if test $wxUSE_GUI = yes; then
2991 result=no
2992 else
2993 result=yes
2994 fi
2995 else
2996 result=$wxUSE_GUI
2997 fi
2998
2999 { echo "$as_me:$LINENO: result: $result" >&5
3000 echo "${ECHO_T}$result" >&6; }
3001
3002
3003 enablestring=
3004 defaultval=
3005 if test -z "$defaultval"; then
3006 if test x"$enablestring" = xdisable; then
3007 defaultval=yes
3008 else
3009 defaultval=no
3010 fi
3011 fi
3012
3013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3014 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3015 # Check whether --enable-monolithic was given.
3016 if test "${enable_monolithic+set}" = set; then
3017 enableval=$enable_monolithic;
3018 if test "$enableval" = yes; then
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3020 else
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3022 fi
3023
3024 else
3025
3026 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3027
3028 fi
3029
3030
3031 eval "$wx_cv_use_monolithic"
3032
3033 if test x"$enablestring" = xdisable; then
3034 if test $wxUSE_MONOLITHIC = yes; then
3035 result=no
3036 else
3037 result=yes
3038 fi
3039 else
3040 result=$wxUSE_MONOLITHIC
3041 fi
3042
3043 { echo "$as_me:$LINENO: result: $result" >&5
3044 echo "${ECHO_T}$result" >&6; }
3045
3046
3047 enablestring=
3048 defaultval=
3049 if test -z "$defaultval"; then
3050 if test x"$enablestring" = xdisable; then
3051 defaultval=yes
3052 else
3053 defaultval=no
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3058 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3059 # Check whether --enable-plugins was given.
3060 if test "${enable_plugins+set}" = set; then
3061 enableval=$enable_plugins;
3062 if test "$enableval" = yes; then
3063 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3064 else
3065 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3066 fi
3067
3068 else
3069
3070 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3071
3072 fi
3073
3074
3075 eval "$wx_cv_use_plugins"
3076
3077 if test x"$enablestring" = xdisable; then
3078 if test $wxUSE_PLUGINS = yes; then
3079 result=no
3080 else
3081 result=yes
3082 fi
3083 else
3084 result=$wxUSE_PLUGINS
3085 fi
3086
3087 { echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6; }
3089
3090
3091 withstring=without
3092 defaultval=$wxUSE_ALL_FEATURES
3093 if test -z "$defaultval"; then
3094 if test x"$withstring" = xwithout; then
3095 defaultval=yes
3096 else
3097 defaultval=no
3098 fi
3099 fi
3100 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3102
3103 # Check whether --with-subdirs was given.
3104 if test "${with_subdirs+set}" = set; then
3105 withval=$with_subdirs;
3106 if test "$withval" = yes; then
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3108 else
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3110 fi
3111
3112 else
3113
3114 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3115
3116 fi
3117
3118
3119 eval "$wx_cv_use_subdirs"
3120
3121 if test x"$withstring" = xwithout; then
3122 if test $wxWITH_SUBDIRS = yes; then
3123 result=no
3124 else
3125 result=yes
3126 fi
3127 else
3128 result=$wxWITH_SUBDIRS
3129 fi
3130
3131 { echo "$as_me:$LINENO: result: $result" >&5
3132 echo "${ECHO_T}$result" >&6; }
3133
3134
3135 # Check whether --with-flavour was given.
3136 if test "${with_flavour+set}" = set; then
3137 withval=$with_flavour; WX_FLAVOUR="$withval"
3138 fi
3139
3140
3141 enablestring=
3142 defaultval=
3143 if test -z "$defaultval"; then
3144 if test x"$enablestring" = xdisable; then
3145 defaultval=yes
3146 else
3147 defaultval=no
3148 fi
3149 fi
3150
3151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3152 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3153 # Check whether --enable-official_build was given.
3154 if test "${enable_official_build+set}" = set; then
3155 enableval=$enable_official_build;
3156 if test "$enableval" = yes; then
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3158 else
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3160 fi
3161
3162 else
3163
3164 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3165
3166 fi
3167
3168
3169 eval "$wx_cv_use_official_build"
3170
3171 if test x"$enablestring" = xdisable; then
3172 if test $wxUSE_OFFICIAL_BUILD = yes; then
3173 result=no
3174 else
3175 result=yes
3176 fi
3177 else
3178 result=$wxUSE_OFFICIAL_BUILD
3179 fi
3180
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3183
3184 # Check whether --enable-vendor was given.
3185 if test "${enable_vendor+set}" = set; then
3186 enableval=$enable_vendor; VENDOR="$enableval"
3187 fi
3188
3189 if test "x$VENDOR" = "x"; then
3190 VENDOR="custom"
3191 fi
3192
3193
3194 enablestring=disable
3195 defaultval=
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3198 defaultval=yes
3199 else
3200 defaultval=no
3201 fi
3202 fi
3203
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3206 # Check whether --enable-all-features was given.
3207 if test "${enable_all_features+set}" = set; then
3208 enableval=$enable_all_features;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3211 else
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3213 fi
3214
3215 else
3216
3217 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3218
3219 fi
3220
3221
3222 eval "$wx_cv_use_all_features"
3223
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_ALL_FEATURES = yes; then
3226 result=no
3227 else
3228 result=yes
3229 fi
3230 else
3231 result=$wxUSE_ALL_FEATURES
3232 fi
3233
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3236
3237
3238
3239 if test "$wxUSE_GUI" = "yes"; then
3240
3241
3242 enablestring=
3243 defaultval=
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3246 defaultval=yes
3247 else
3248 defaultval=no
3249 fi
3250 fi
3251
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3254 # Check whether --enable-universal was given.
3255 if test "${enable_universal+set}" = set; then
3256 enableval=$enable_universal;
3257 if test "$enableval" = yes; then
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3259 else
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3261 fi
3262
3263 else
3264
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3266
3267 fi
3268
3269
3270 eval "$wx_cv_use_universal"
3271
3272 if test x"$enablestring" = xdisable; then
3273 if test $wxUSE_UNIVERSAL = yes; then
3274 result=no
3275 else
3276 result=yes
3277 fi
3278 else
3279 result=$wxUSE_UNIVERSAL
3280 fi
3281
3282 { echo "$as_me:$LINENO: result: $result" >&5
3283 echo "${ECHO_T}$result" >&6; }
3284
3285 if test "$wxUSE_UNIVERSAL" = "yes"; then
3286
3287 # Check whether --with-themes was given.
3288 if test "${with_themes+set}" = set; then
3289 withval=$with_themes; wxUNIV_THEMES="$withval"
3290 fi
3291
3292 fi
3293
3294
3295 # Check whether --with-gtk was given.
3296 if test "${with_gtk+set}" = set; then
3297 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3298 fi
3299
3300
3301 # Check whether --with-motif was given.
3302 if test "${with_motif+set}" = set; then
3303 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3304 fi
3305
3306
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3310 fi
3311
3312
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3316 fi
3317
3318
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3322 fi
3323
3324
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3340 fi
3341
3342
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 enablestring=
3362 defaultval=
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3365 defaultval=yes
3366 else
3367 defaultval=no
3368 fi
3369 fi
3370
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX=yes'
3378 else
3379 wx_cv_use_nanox='wxUSE_NANOX=no'
3380 fi
3381
3382 else
3383
3384 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3385
3386 fi
3387
3388
3389 eval "$wx_cv_use_nanox"
3390
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = yes; then
3393 result=no
3394 else
3395 result=yes
3396 fi
3397 else
3398 result=$wxUSE_NANOX
3399 fi
3400
3401 { echo "$as_me:$LINENO: result: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3403
3404
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3408 fi
3409
3410
3411 enablestring=
3412 defaultval=
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3415 defaultval=yes
3416 else
3417 defaultval=no
3418 fi
3419 fi
3420
3421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3428 else
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3430 fi
3431
3432 else
3433
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3435
3436 fi
3437
3438
3439 eval "$wx_cv_use_gpe"
3440
3441 if test x"$enablestring" = xdisable; then
3442 if test $wxUSE_GPE = yes; then
3443 result=no
3444 else
3445 result=yes
3446 fi
3447 else
3448 result=$wxUSE_GPE
3449 fi
3450
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3453
3454
3455
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3458
3459 # In Wine, we need to default to MSW, not GTK or MOTIF
3460 if test "$wxUSE_WINE" = "yes"; then
3461 DEFAULT_DEFAULT_wxUSE_GTK=0
3462 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3463 DEFAULT_DEFAULT_wxUSE_MSW=1
3464 wxUSE_SHARED=no
3465 CC=${CC:-winegcc}
3466 CXX=${CXX:-wineg++}
3467 fi
3468
3469
3470 if test "$wxUSE_GUI" = "yes"; then
3471
3472 if test "$USE_BEOS" = 1; then
3473 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3474 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3475 { (exit 1); exit 1; }; }
3476 fi
3477
3478 if test "$TOOLKIT_GIVEN" = 1; then
3479 for toolkit in $ALL_TOOLKITS; do
3480 var=wxUSE_$toolkit
3481 eval "value=\$${var}"
3482 if test "x$value" = "xno"; then
3483 eval "$var=0"
3484 elif test "x$value" != "x"; then
3485 eval "$var=1"
3486 fi
3487
3488 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3489 eval "wx${toolkit}_VERSION=$value"
3490 fi
3491 done
3492 else
3493 for toolkit in $ALL_TOOLKITS; do
3494 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3495 eval "wxUSE_$toolkit=\$${var}"
3496 done
3497 fi
3498
3499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3500 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3502
3503 case "${host}" in
3504 *-pc-os2_emx | *-pc-os2-emx )
3505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3506 esac
3507
3508 case "$NUM_TOOLKITS" in
3509 1)
3510 ;;
3511 0)
3512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3514 { (exit 1); exit 1; }; }
3515 ;;
3516 *)
3517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3518 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3519 { (exit 1); exit 1; }; }
3520 esac
3521
3522 # to be removed when --disable-gtk2 isn't needed
3523 if test "x$wxUSE_GTK2" = "xyes"; then
3524 wxGTK_VERSION=2
3525 elif test "x$wxUSE_GTK2" = "xno"; then
3526 wxGTK_VERSION=1
3527 fi
3528
3529 for toolkit in $ALL_TOOLKITS; do
3530 var=wxUSE_$toolkit
3531 eval "value=\$${var}"
3532 if test "$value" = 1; then
3533 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3534 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3535 echo "${ECHO_T}$toolkit_echo" >&6; }
3536 fi
3537 done
3538 else
3539 if test "x$host_alias" != "x"; then
3540 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3541 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3542 else
3543 { echo "$as_me:$LINENO: result: base only" >&5
3544 echo "${ECHO_T}base only" >&6; }
3545 fi
3546 fi
3547
3548
3549
3550 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3551 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3552
3553 # Check whether --with-libpng was given.
3554 if test "${with_libpng+set}" = set; then
3555 withval=$with_libpng;
3556 if test "$withval" = yes; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3558 elif test "$withval" = no; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3560 elif test "$withval" = sys; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3562 elif test "$withval" = builtin; then
3563 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3564 else
3565 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3566 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 else
3571
3572 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3573
3574 fi
3575
3576
3577 eval "$wx_cv_use_libpng"
3578
3579 if test "$wxUSE_LIBPNG" = yes; then
3580 { echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6; }
3582 elif test "$wxUSE_LIBPNG" = no; then
3583 { echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6; }
3585 elif test "$wxUSE_LIBPNG" = sys; then
3586 { echo "$as_me:$LINENO: result: system version" >&5
3587 echo "${ECHO_T}system version" >&6; }
3588 elif test "$wxUSE_LIBPNG" = builtin; then
3589 { echo "$as_me:$LINENO: result: builtin version" >&5
3590 echo "${ECHO_T}builtin version" >&6; }
3591 else
3592 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3593 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3594 { (exit 1); exit 1; }; }
3595 fi
3596
3597
3598 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3599 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3600
3601 # Check whether --with-libjpeg was given.
3602 if test "${with_libjpeg+set}" = set; then
3603 withval=$with_libjpeg;
3604 if test "$withval" = yes; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3606 elif test "$withval" = no; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3608 elif test "$withval" = sys; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3610 elif test "$withval" = builtin; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3612 else
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3616 fi
3617
3618 else
3619
3620 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3621
3622 fi
3623
3624
3625 eval "$wx_cv_use_libjpeg"
3626
3627 if test "$wxUSE_LIBJPEG" = yes; then
3628 { echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6; }
3630 elif test "$wxUSE_LIBJPEG" = no; then
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = sys; then
3634 { echo "$as_me:$LINENO: result: system version" >&5
3635 echo "${ECHO_T}system version" >&6; }
3636 elif test "$wxUSE_LIBJPEG" = builtin; then
3637 { echo "$as_me:$LINENO: result: builtin version" >&5
3638 echo "${ECHO_T}builtin version" >&6; }
3639 else
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3643 fi
3644
3645
3646 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3647 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3648
3649 # Check whether --with-libtiff was given.
3650 if test "${with_libtiff+set}" = set; then
3651 withval=$with_libtiff;
3652 if test "$withval" = yes; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3654 elif test "$withval" = no; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3656 elif test "$withval" = sys; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3658 elif test "$withval" = builtin; then
3659 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666 else
3667
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3669
3670 fi
3671
3672
3673 eval "$wx_cv_use_libtiff"
3674
3675 if test "$wxUSE_LIBTIFF" = yes; then
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 elif test "$wxUSE_LIBTIFF" = no; then
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = sys; then
3682 { echo "$as_me:$LINENO: result: system version" >&5
3683 echo "${ECHO_T}system version" >&6; }
3684 elif test "$wxUSE_LIBTIFF" = builtin; then
3685 { echo "$as_me:$LINENO: result: builtin version" >&5
3686 echo "${ECHO_T}builtin version" >&6; }
3687 else
3688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3689 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3691 fi
3692
3693
3694 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3695 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3696
3697 # Check whether --with-libxpm was given.
3698 if test "${with_libxpm+set}" = set; then
3699 withval=$with_libxpm;
3700 if test "$withval" = yes; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3702 elif test "$withval" = no; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3704 elif test "$withval" = sys; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3706 elif test "$withval" = builtin; then
3707 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3708 else
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3712 fi
3713
3714 else
3715
3716 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3717
3718 fi
3719
3720
3721 eval "$wx_cv_use_libxpm"
3722
3723 if test "$wxUSE_LIBXPM" = yes; then
3724 { echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6; }
3726 elif test "$wxUSE_LIBXPM" = no; then
3727 { echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6; }
3729 elif test "$wxUSE_LIBXPM" = sys; then
3730 { echo "$as_me:$LINENO: result: system version" >&5
3731 echo "${ECHO_T}system version" >&6; }
3732 elif test "$wxUSE_LIBXPM" = builtin; then
3733 { echo "$as_me:$LINENO: result: builtin version" >&5
3734 echo "${ECHO_T}builtin version" >&6; }
3735 else
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3739 fi
3740
3741
3742 withstring=
3743 defaultval=$wxUSE_ALL_FEATURES
3744 if test -z "$defaultval"; then
3745 if test x"$withstring" = xwithout; then
3746 defaultval=yes
3747 else
3748 defaultval=no
3749 fi
3750 fi
3751 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3752 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3753
3754 # Check whether --with-libiconv was given.
3755 if test "${with_libiconv+set}" = set; then
3756 withval=$with_libiconv;
3757 if test "$withval" = yes; then
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3759 else
3760 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3761 fi
3762
3763 else
3764
3765 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3766
3767 fi
3768
3769
3770 eval "$wx_cv_use_libiconv"
3771
3772 if test x"$withstring" = xwithout; then
3773 if test $wxUSE_LIBICONV = yes; then
3774 result=no
3775 else
3776 result=yes
3777 fi
3778 else
3779 result=$wxUSE_LIBICONV
3780 fi
3781
3782 { echo "$as_me:$LINENO: result: $result" >&5
3783 echo "${ECHO_T}$result" >&6; }
3784
3785
3786 withstring=
3787 defaultval=$wxUSE_ALL_FEATURES
3788 if test -z "$defaultval"; then
3789 if test x"$withstring" = xwithout; then
3790 defaultval=yes
3791 else
3792 defaultval=no
3793 fi
3794 fi
3795 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3796 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libmspack was given.
3799 if test "${with_libmspack+set}" = set; then
3800 withval=$with_libmspack;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3803 else
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3805 fi
3806
3807 else
3808
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3810
3811 fi
3812
3813
3814 eval "$wx_cv_use_libmspack"
3815
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBMSPACK = yes; then
3818 result=no
3819 else
3820 result=yes
3821 fi
3822 else
3823 result=$wxUSE_LIBMSPACK
3824 fi
3825
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3828
3829
3830 withstring=without
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3834 defaultval=yes
3835 else
3836 defaultval=no
3837 fi
3838 fi
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3841
3842 # Check whether --with-gtkprint was given.
3843 if test "${with_gtkprint+set}" = set; then
3844 withval=$with_gtkprint;
3845 if test "$withval" = yes; then
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3847 else
3848 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3849 fi
3850
3851 else
3852
3853 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_gtkprint"
3859
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_GTKPRINT = yes; then
3862 result=no
3863 else
3864 result=yes
3865 fi
3866 else
3867 result=$wxUSE_GTKPRINT
3868 fi
3869
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3872
3873
3874 withstring=without
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3878 defaultval=yes
3879 else
3880 defaultval=no
3881 fi
3882 fi
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3885
3886 # Check whether --with-gnomeprint was given.
3887 if test "${with_gnomeprint+set}" = set; then
3888 withval=$with_gnomeprint;
3889 if test "$withval" = yes; then
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3891 else
3892 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3893 fi
3894
3895 else
3896
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3898
3899 fi
3900
3901
3902 eval "$wx_cv_use_gnomeprint"
3903
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_LIBGNOMEPRINT = yes; then
3906 result=no
3907 else
3908 result=yes
3909 fi
3910 else
3911 result=$wxUSE_LIBGNOMEPRINT
3912 fi
3913
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3916
3917
3918 withstring=
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3922 defaultval=yes
3923 else
3924 defaultval=no
3925 fi
3926 fi
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3929
3930 # Check whether --with-gnomevfs was given.
3931 if test "${with_gnomevfs+set}" = set; then
3932 withval=$with_gnomevfs;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3935 else
3936 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3937 fi
3938
3939 else
3940
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3942
3943 fi
3944
3945
3946 eval "$wx_cv_use_gnomevfs"
3947
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEVFS = yes; then
3950 result=no
3951 else
3952 result=yes
3953 fi
3954 else
3955 result=$wxUSE_LIBGNOMEVFS
3956 fi
3957
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3960
3961
3962 withstring=
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3966 defaultval=yes
3967 else
3968 defaultval=no
3969 fi
3970 fi
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3973
3974 # Check whether --with-hildon was given.
3975 if test "${with_hildon+set}" = set; then
3976 withval=$with_hildon;
3977 if test "$withval" = yes; then
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3979 else
3980 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3981 fi
3982
3983 else
3984
3985 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3986
3987 fi
3988
3989
3990 eval "$wx_cv_use_hildon"
3991
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBHILDON = yes; then
3994 result=no
3995 else
3996 result=yes
3997 fi
3998 else
3999 result=$wxUSE_LIBHILDON
4000 fi
4001
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4004
4005
4006 withstring=
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4010 defaultval=yes
4011 else
4012 defaultval=no
4013 fi
4014 fi
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4017
4018 # Check whether --with-opengl was given.
4019 if test "${with_opengl+set}" = set; then
4020 withval=$with_opengl;
4021 if test "$withval" = yes; then
4022 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4023 else
4024 wx_cv_use_opengl='wxUSE_OPENGL=no'
4025 fi
4026
4027 else
4028
4029 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4030
4031 fi
4032
4033
4034 eval "$wx_cv_use_opengl"
4035
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_OPENGL = yes; then
4038 result=no
4039 else
4040 result=yes
4041 fi
4042 else
4043 result=$wxUSE_OPENGL
4044 fi
4045
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4048
4049
4050 fi
4051
4052
4053 withstring=
4054 defaultval=$wxUSE_ALL_FEATURES
4055 if test -z "$defaultval"; then
4056 if test x"$withstring" = xwithout; then
4057 defaultval=yes
4058 else
4059 defaultval=no
4060 fi
4061 fi
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4064
4065 # Check whether --with-dmalloc was given.
4066 if test "${with_dmalloc+set}" = set; then
4067 withval=$with_dmalloc;
4068 if test "$withval" = yes; then
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4070 else
4071 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4072 fi
4073
4074 else
4075
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4077
4078 fi
4079
4080
4081 eval "$wx_cv_use_dmalloc"
4082
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_DMALLOC = yes; then
4085 result=no
4086 else
4087 result=yes
4088 fi
4089 else
4090 result=$wxUSE_DMALLOC
4091 fi
4092
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4108
4109 # Check whether --with-sdl was given.
4110 if test "${with_sdl+set}" = set; then
4111 withval=$with_sdl;
4112 if test "$withval" = yes; then
4113 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4114 else
4115 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4116 fi
4117
4118 else
4119
4120 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4121
4122 fi
4123
4124
4125 eval "$wx_cv_use_sdl"
4126
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_LIBSDL = yes; then
4129 result=no
4130 else
4131 result=yes
4132 fi
4133 else
4134 result=$wxUSE_LIBSDL
4135 fi
4136
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4139
4140
4141 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4142 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4143
4144 # Check whether --with-regex was given.
4145 if test "${with_regex+set}" = set; then
4146 withval=$with_regex;
4147 if test "$withval" = yes; then
4148 wx_cv_use_regex='wxUSE_REGEX=yes'
4149 elif test "$withval" = no; then
4150 wx_cv_use_regex='wxUSE_REGEX=no'
4151 elif test "$withval" = sys; then
4152 wx_cv_use_regex='wxUSE_REGEX=sys'
4153 elif test "$withval" = builtin; then
4154 wx_cv_use_regex='wxUSE_REGEX=builtin'
4155 else
4156 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4157 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4158 { (exit 1); exit 1; }; }
4159 fi
4160
4161 else
4162
4163 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4164
4165 fi
4166
4167
4168 eval "$wx_cv_use_regex"
4169
4170 if test "$wxUSE_REGEX" = yes; then
4171 { echo "$as_me:$LINENO: result: yes" >&5
4172 echo "${ECHO_T}yes" >&6; }
4173 elif test "$wxUSE_REGEX" = no; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 elif test "$wxUSE_REGEX" = sys; then
4177 { echo "$as_me:$LINENO: result: system version" >&5
4178 echo "${ECHO_T}system version" >&6; }
4179 elif test "$wxUSE_REGEX" = builtin; then
4180 { echo "$as_me:$LINENO: result: builtin version" >&5
4181 echo "${ECHO_T}builtin version" >&6; }
4182 else
4183 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4184 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4185 { (exit 1); exit 1; }; }
4186 fi
4187
4188
4189 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4190 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4191
4192 # Check whether --with-zlib was given.
4193 if test "${with_zlib+set}" = set; then
4194 withval=$with_zlib;
4195 if test "$withval" = yes; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4197 elif test "$withval" = no; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=no'
4199 elif test "$withval" = sys; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4201 elif test "$withval" = builtin; then
4202 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4203 else
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4207 fi
4208
4209 else
4210
4211 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4212
4213 fi
4214
4215
4216 eval "$wx_cv_use_zlib"
4217
4218 if test "$wxUSE_ZLIB" = yes; then
4219 { echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6; }
4221 elif test "$wxUSE_ZLIB" = no; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 elif test "$wxUSE_ZLIB" = sys; then
4225 { echo "$as_me:$LINENO: result: system version" >&5
4226 echo "${ECHO_T}system version" >&6; }
4227 elif test "$wxUSE_ZLIB" = builtin; then
4228 { echo "$as_me:$LINENO: result: builtin version" >&5
4229 echo "${ECHO_T}builtin version" >&6; }
4230 else
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4234 fi
4235
4236
4237 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4238 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4239
4240 # Check whether --with-expat was given.
4241 if test "${with_expat+set}" = set; then
4242 withval=$with_expat;
4243 if test "$withval" = yes; then
4244 wx_cv_use_expat='wxUSE_EXPAT=yes'
4245 elif test "$withval" = no; then
4246 wx_cv_use_expat='wxUSE_EXPAT=no'
4247 elif test "$withval" = sys; then
4248 wx_cv_use_expat='wxUSE_EXPAT=sys'
4249 elif test "$withval" = builtin; then
4250 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4251 else
4252 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4253 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4255 fi
4256
4257 else
4258
4259 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4260
4261 fi
4262
4263
4264 eval "$wx_cv_use_expat"
4265
4266 if test "$wxUSE_EXPAT" = yes; then
4267 { echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6; }
4269 elif test "$wxUSE_EXPAT" = no; then
4270 { echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6; }
4272 elif test "$wxUSE_EXPAT" = sys; then
4273 { echo "$as_me:$LINENO: result: system version" >&5
4274 echo "${ECHO_T}system version" >&6; }
4275 elif test "$wxUSE_EXPAT" = builtin; then
4276 { echo "$as_me:$LINENO: result: builtin version" >&5
4277 echo "${ECHO_T}builtin version" >&6; }
4278 else
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4282 fi
4283
4284
4285 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4286 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4287
4288 # Check whether --with-macosx-sdk was given.
4289 if test "${with_macosx_sdk+set}" = set; then
4290 withval=$with_macosx_sdk;
4291 wxUSE_MACOSX_SDK=$withval
4292 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4293
4294 fi
4295
4296 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4297 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4298
4299 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4300 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4301
4302 # Check whether --with-macosx-version-min was given.
4303 if test "${with_macosx_version_min+set}" = set; then
4304 withval=$with_macosx_version_min;
4305 wxUSE_MACOSX_VERSION_MIN=$withval
4306 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4307
4308 fi
4309
4310 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4311 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4312
4313
4314
4315 enablestring=disable
4316 defaultval=
4317 if test -z "$defaultval"; then
4318 if test x"$enablestring" = xdisable; then
4319 defaultval=yes
4320 else
4321 defaultval=no
4322 fi
4323 fi
4324
4325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4327 # Check whether --enable-shared was given.
4328 if test "${enable_shared+set}" = set; then
4329 enableval=$enable_shared;
4330 if test "$enableval" = yes; then
4331 wx_cv_use_shared='wxUSE_SHARED=yes'
4332 else
4333 wx_cv_use_shared='wxUSE_SHARED=no'
4334 fi
4335
4336 else
4337
4338 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4339
4340 fi
4341
4342
4343 eval "$wx_cv_use_shared"
4344
4345 if test x"$enablestring" = xdisable; then
4346 if test $wxUSE_SHARED = yes; then
4347 result=no
4348 else
4349 result=yes
4350 fi
4351 else
4352 result=$wxUSE_SHARED
4353 fi
4354
4355 { echo "$as_me:$LINENO: result: $result" >&5
4356 echo "${ECHO_T}$result" >&6; }
4357
4358
4359 enablestring=disable
4360 defaultval=
4361 if test -z "$defaultval"; then
4362 if test x"$enablestring" = xdisable; then
4363 defaultval=yes
4364 else
4365 defaultval=no
4366 fi
4367 fi
4368
4369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4371 # Check whether --enable-optimise was given.
4372 if test "${enable_optimise+set}" = set; then
4373 enableval=$enable_optimise;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4376 else
4377 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4378 fi
4379
4380 else
4381
4382 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4383
4384 fi
4385
4386
4387 eval "$wx_cv_use_optimise"
4388
4389 if test x"$enablestring" = xdisable; then
4390 if test $wxUSE_OPTIMISE = yes; then
4391 result=no
4392 else
4393 result=yes
4394 fi
4395 else
4396 result=$wxUSE_OPTIMISE
4397 fi
4398
4399 { echo "$as_me:$LINENO: result: $result" >&5
4400 echo "${ECHO_T}$result" >&6; }
4401
4402
4403 enablestring=
4404 defaultval=
4405 if test -z "$defaultval"; then
4406 if test x"$enablestring" = xdisable; then
4407 defaultval=yes
4408 else
4409 defaultval=no
4410 fi
4411 fi
4412
4413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4415 # Check whether --enable-debug was given.
4416 if test "${enable_debug+set}" = set; then
4417 enableval=$enable_debug;
4418 if test "$enableval" = yes; then
4419 wx_cv_use_debug='wxUSE_DEBUG=yes'
4420 else
4421 wx_cv_use_debug='wxUSE_DEBUG=no'
4422 fi
4423
4424 else
4425
4426 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4427
4428 fi
4429
4430
4431 eval "$wx_cv_use_debug"
4432
4433 if test x"$enablestring" = xdisable; then
4434 if test $wxUSE_DEBUG = yes; then
4435 result=no
4436 else
4437 result=yes
4438 fi
4439 else
4440 result=$wxUSE_DEBUG
4441 fi
4442
4443 { echo "$as_me:$LINENO: result: $result" >&5
4444 echo "${ECHO_T}$result" >&6; }
4445
4446
4447 enablestring=
4448 defaultval=
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4451 defaultval=yes
4452 else
4453 defaultval=no
4454 fi
4455 fi
4456
4457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4459 # Check whether --enable-stl was given.
4460 if test "${enable_stl+set}" = set; then
4461 enableval=$enable_stl;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_stl='wxUSE_STL=yes'
4464 else
4465 wx_cv_use_stl='wxUSE_STL=no'
4466 fi
4467
4468 else
4469
4470 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4471
4472 fi
4473
4474
4475 eval "$wx_cv_use_stl"
4476
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_STL = yes; then
4479 result=no
4480 else
4481 result=yes
4482 fi
4483 else
4484 result=$wxUSE_STL
4485 fi
4486
4487 { echo "$as_me:$LINENO: result: $result" >&5
4488 echo "${ECHO_T}$result" >&6; }
4489
4490
4491 enablestring=
4492 defaultval=
4493 if test -z "$defaultval"; then
4494 if test x"$enablestring" = xdisable; then
4495 defaultval=yes
4496 else
4497 defaultval=no
4498 fi
4499 fi
4500
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4503 # Check whether --enable-std_iostreams was given.
4504 if test "${enable_std_iostreams+set}" = set; then
4505 enableval=$enable_std_iostreams;
4506 if test "$enableval" = yes; then
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4508 else
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4510 fi
4511
4512 else
4513
4514 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4515
4516 fi
4517
4518
4519 eval "$wx_cv_use_std_iostreams"
4520
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_STD_IOSTREAM = yes; then
4523 result=no
4524 else
4525 result=yes
4526 fi
4527 else
4528 result=$wxUSE_STD_IOSTREAM
4529 fi
4530
4531 { echo "$as_me:$LINENO: result: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4533
4534
4535 enablestring=
4536 defaultval=
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4539 defaultval=yes
4540 else
4541 defaultval=no
4542 fi
4543 fi
4544
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4547 # Check whether --enable-std_string was given.
4548 if test "${enable_std_string+set}" = set; then
4549 enableval=$enable_std_string;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4552 else
4553 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4554 fi
4555
4556 else
4557
4558 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4559
4560 fi
4561
4562
4563 eval "$wx_cv_use_std_string"
4564
4565 if test x"$enablestring" = xdisable; then
4566 if test $wxUSE_STD_STRING = yes; then
4567 result=no
4568 else
4569 result=yes
4570 fi
4571 else
4572 result=$wxUSE_STD_STRING
4573 fi
4574
4575 { echo "$as_me:$LINENO: result: $result" >&5
4576 echo "${ECHO_T}$result" >&6; }
4577
4578
4579 enablestring=disable
4580 defaultval=
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4583 defaultval=yes
4584 else
4585 defaultval=no
4586 fi
4587 fi
4588
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4591 # Check whether --enable-unicode was given.
4592 if test "${enable_unicode+set}" = set; then
4593 enableval=$enable_unicode;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4596 else
4597 wx_cv_use_unicode='wxUSE_UNICODE=no'
4598 fi
4599
4600 else
4601
4602 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_unicode"
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_UNICODE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_UNICODE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4635 # Check whether --enable-mslu was given.
4636 if test "${enable_mslu+set}" = set; then
4637 enableval=$enable_mslu;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4640 else
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4642 fi
4643
4644 else
4645
4646 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4647
4648 fi
4649
4650
4651 eval "$wx_cv_use_mslu"
4652
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_UNICODE_MSLU = yes; then
4655 result=no
4656 else
4657 result=yes
4658 fi
4659 else
4660 result=$wxUSE_UNICODE_MSLU
4661 fi
4662
4663 { echo "$as_me:$LINENO: result: $result" >&5
4664 echo "${ECHO_T}$result" >&6; }
4665
4666
4667 enablestring=
4668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4670 # Check whether --enable-utf8 was given.
4671 if test "${enable_utf8+set}" = set; then
4672 enableval=$enable_utf8;
4673 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4674
4675 else
4676
4677 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4678
4679 fi
4680
4681
4682 eval "$wx_cv_use_utf8"
4683
4684 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4685 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
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}-utf8only" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4700 # Check whether --enable-utf8only was given.
4701 if test "${enable_utf8only+set}" = set; then
4702 enableval=$enable_utf8only;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4705 else
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4707 fi
4708
4709 else
4710
4711 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_utf8only"
4717
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4720 result=no
4721 else
4722 result=yes
4723 fi
4724 else
4725 result=$wxUSE_UNICODE_UTF8_LOCALE
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}-extended_rtti" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4744 # Check whether --enable-extended_rtti was given.
4745 if test "${enable_extended_rtti+set}" = set; then
4746 enableval=$enable_extended_rtti;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4749 else
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_extended_rtti"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_EXTENDED_RTTI = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_EXTENDED_RTTI
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775 if test "$USE_OS2" = 1; then
4776 DEFAULT_wxUSE_OMF=no
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4790 # Check whether --enable-omf was given.
4791 if test "${enable_omf+set}" = set; then
4792 enableval=$enable_omf;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_omf='wxUSE_OMF=yes'
4795 else
4796 wx_cv_use_omf='wxUSE_OMF=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_omf"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_OMF = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_OMF
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821 fi
4822
4823 if test "$wxUSE_DEBUG" = "yes"; then
4824 DEFAULT_wxUSE_DEBUG_FLAG=yes
4825 DEFAULT_wxUSE_DEBUG_INFO=yes
4826 BUILD=debug
4827 elif test "$wxUSE_DEBUG" = "no"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=no
4829 DEFAULT_wxUSE_DEBUG_INFO=no
4830 BUILD=release
4831 fi
4832
4833
4834 enablestring=
4835 defaultval=
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4838 defaultval=yes
4839 else
4840 defaultval=no
4841 fi
4842 fi
4843
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4846 # Check whether --enable-debug_flag was given.
4847 if test "${enable_debug_flag+set}" = set; then
4848 enableval=$enable_debug_flag;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4851 else
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4853 fi
4854
4855 else
4856
4857 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4858
4859 fi
4860
4861
4862 eval "$wx_cv_use_debug_flag"
4863
4864 if test x"$enablestring" = xdisable; then
4865 if test $wxUSE_DEBUG_FLAG = yes; then
4866 result=no
4867 else
4868 result=yes
4869 fi
4870 else
4871 result=$wxUSE_DEBUG_FLAG
4872 fi
4873
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4876
4877
4878 enablestring=
4879 defaultval=
4880 if test -z "$defaultval"; then
4881 if test x"$enablestring" = xdisable; then
4882 defaultval=yes
4883 else
4884 defaultval=no
4885 fi
4886 fi
4887
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4890 # Check whether --enable-debug_info was given.
4891 if test "${enable_debug_info+set}" = set; then
4892 enableval=$enable_debug_info;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4895 else
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4897 fi
4898
4899 else
4900
4901 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4902
4903 fi
4904
4905
4906 eval "$wx_cv_use_debug_info"
4907
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_DEBUG_INFO = yes; then
4910 result=no
4911 else
4912 result=yes
4913 fi
4914 else
4915 result=$wxUSE_DEBUG_INFO
4916 fi
4917
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4920
4921
4922 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4923 wxUSE_DEBUG=yes
4924 BUILD=debug
4925 fi
4926
4927
4928 enablestring=
4929 defaultval=
4930 if test -z "$defaultval"; then
4931 if test x"$enablestring" = xdisable; then
4932 defaultval=yes
4933 else
4934 defaultval=no
4935 fi
4936 fi
4937
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4940 # Check whether --enable-debug_gdb was given.
4941 if test "${enable_debug_gdb+set}" = set; then
4942 enableval=$enable_debug_gdb;
4943 if test "$enableval" = yes; then
4944 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4945 else
4946 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4947 fi
4948
4949 else
4950
4951 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4952
4953 fi
4954
4955
4956 eval "$wx_cv_use_debug_gdb"
4957
4958 if test x"$enablestring" = xdisable; then
4959 if test $wxUSE_DEBUG_GDB = yes; then
4960 result=no
4961 else
4962 result=yes
4963 fi
4964 else
4965 result=$wxUSE_DEBUG_GDB
4966 fi
4967
4968 { echo "$as_me:$LINENO: result: $result" >&5
4969 echo "${ECHO_T}$result" >&6; }
4970
4971
4972 enablestring=
4973 defaultval=
4974 if test -z "$defaultval"; then
4975 if test x"$enablestring" = xdisable; then
4976 defaultval=yes
4977 else
4978 defaultval=no
4979 fi
4980 fi
4981
4982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4984 # Check whether --enable-debug_cntxt was given.
4985 if test "${enable_debug_cntxt+set}" = set; then
4986 enableval=$enable_debug_cntxt;
4987 if test "$enableval" = yes; then
4988 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4989 else
4990 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4991 fi
4992
4993 else
4994
4995 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4996
4997 fi
4998
4999
5000 eval "$wx_cv_use_debug_cntxt"
5001
5002 if test x"$enablestring" = xdisable; then
5003 if test $wxUSE_DEBUG_CONTEXT = yes; then
5004 result=no
5005 else
5006 result=yes
5007 fi
5008 else
5009 result=$wxUSE_DEBUG_CONTEXT
5010 fi
5011
5012 { echo "$as_me:$LINENO: result: $result" >&5
5013 echo "${ECHO_T}$result" >&6; }
5014
5015
5016 enablestring=
5017 defaultval=
5018 if test -z "$defaultval"; then
5019 if test x"$enablestring" = xdisable; then
5020 defaultval=yes
5021 else
5022 defaultval=no
5023 fi
5024 fi
5025
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5028 # Check whether --enable-mem_tracing was given.
5029 if test "${enable_mem_tracing+set}" = set; then
5030 enableval=$enable_mem_tracing;
5031 if test "$enableval" = yes; then
5032 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5033 else
5034 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5035 fi
5036
5037 else
5038
5039 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5040
5041 fi
5042
5043
5044 eval "$wx_cv_use_mem_tracing"
5045
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_MEM_TRACING = yes; then
5048 result=no
5049 else
5050 result=yes
5051 fi
5052 else
5053 result=$wxUSE_MEM_TRACING
5054 fi
5055
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5058
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5072 # Check whether --enable-profile was given.
5073 if test "${enable_profile+set}" = set; then
5074 enableval=$enable_profile;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_profile='wxUSE_PROFILE=yes'
5077 else
5078 wx_cv_use_profile='wxUSE_PROFILE=no'
5079 fi
5080
5081 else
5082
5083 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5084
5085 fi
5086
5087
5088 eval "$wx_cv_use_profile"
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_PROFILE = yes; then
5092 result=no
5093 else
5094 result=yes
5095 fi
5096 else
5097 result=$wxUSE_PROFILE
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103
5104 enablestring=
5105 defaultval=
5106 if test -z "$defaultval"; then
5107 if test x"$enablestring" = xdisable; then
5108 defaultval=yes
5109 else
5110 defaultval=no
5111 fi
5112 fi
5113
5114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5115 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5116 # Check whether --enable-no_rtti was given.
5117 if test "${enable_no_rtti+set}" = set; then
5118 enableval=$enable_no_rtti;
5119 if test "$enableval" = yes; then
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5121 else
5122 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5123 fi
5124
5125 else
5126
5127 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5128
5129 fi
5130
5131
5132 eval "$wx_cv_use_no_rtti"
5133
5134 if test x"$enablestring" = xdisable; then
5135 if test $wxUSE_NO_RTTI = yes; then
5136 result=no
5137 else
5138 result=yes
5139 fi
5140 else
5141 result=$wxUSE_NO_RTTI
5142 fi
5143
5144 { echo "$as_me:$LINENO: result: $result" >&5
5145 echo "${ECHO_T}$result" >&6; }
5146
5147
5148 enablestring=
5149 defaultval=
5150 if test -z "$defaultval"; then
5151 if test x"$enablestring" = xdisable; then
5152 defaultval=yes
5153 else
5154 defaultval=no
5155 fi
5156 fi
5157
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5160 # Check whether --enable-no_exceptions was given.
5161 if test "${enable_no_exceptions+set}" = set; then
5162 enableval=$enable_no_exceptions;
5163 if test "$enableval" = yes; then
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5165 else
5166 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5167 fi
5168
5169 else
5170
5171 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5172
5173 fi
5174
5175
5176 eval "$wx_cv_use_no_exceptions"
5177
5178 if test x"$enablestring" = xdisable; then
5179 if test $wxUSE_NO_EXCEPTIONS = yes; then
5180 result=no
5181 else
5182 result=yes
5183 fi
5184 else
5185 result=$wxUSE_NO_EXCEPTIONS
5186 fi
5187
5188 { echo "$as_me:$LINENO: result: $result" >&5
5189 echo "${ECHO_T}$result" >&6; }
5190
5191
5192 enablestring=
5193 defaultval=
5194 if test -z "$defaultval"; then
5195 if test x"$enablestring" = xdisable; then
5196 defaultval=yes
5197 else
5198 defaultval=no
5199 fi
5200 fi
5201
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5204 # Check whether --enable-permissive was given.
5205 if test "${enable_permissive+set}" = set; then
5206 enableval=$enable_permissive;
5207 if test "$enableval" = yes; then
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5209 else
5210 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5211 fi
5212
5213 else
5214
5215 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5216
5217 fi
5218
5219
5220 eval "$wx_cv_use_permissive"
5221
5222 if test x"$enablestring" = xdisable; then
5223 if test $wxUSE_PERMISSIVE = yes; then
5224 result=no
5225 else
5226 result=yes
5227 fi
5228 else
5229 result=$wxUSE_PERMISSIVE
5230 fi
5231
5232 { echo "$as_me:$LINENO: result: $result" >&5
5233 echo "${ECHO_T}$result" >&6; }
5234
5235
5236 enablestring=
5237 defaultval=
5238 if test -z "$defaultval"; then
5239 if test x"$enablestring" = xdisable; then
5240 defaultval=yes
5241 else
5242 defaultval=no
5243 fi
5244 fi
5245
5246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5248 # Check whether --enable-no_deps was given.
5249 if test "${enable_no_deps+set}" = set; then
5250 enableval=$enable_no_deps;
5251 if test "$enableval" = yes; then
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5253 else
5254 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5255 fi
5256
5257 else
5258
5259 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5260
5261 fi
5262
5263
5264 eval "$wx_cv_use_no_deps"
5265
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_NO_DEPS = yes; then
5268 result=no
5269 else
5270 result=yes
5271 fi
5272 else
5273 result=$wxUSE_NO_DEPS
5274 fi
5275
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5278
5279
5280 enablestring=disable
5281 defaultval=
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5284 defaultval=yes
5285 else
5286 defaultval=no
5287 fi
5288 fi
5289
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5292 # Check whether --enable-vararg_macros was given.
5293 if test "${enable_vararg_macros+set}" = set; then
5294 enableval=$enable_vararg_macros;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5297 else
5298 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5299 fi
5300
5301 else
5302
5303 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5304
5305 fi
5306
5307
5308 eval "$wx_cv_use_vararg_macros"
5309
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_VARARG_MACROS = yes; then
5312 result=no
5313 else
5314 result=yes
5315 fi
5316 else
5317 result=$wxUSE_VARARG_MACROS
5318 fi
5319
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5322
5323
5324 enablestring=
5325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5326 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5327 # Check whether --enable-universal_binary was given.
5328 if test "${enable_universal_binary+set}" = set; then
5329 enableval=$enable_universal_binary;
5330 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5331
5332 else
5333
5334 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5335
5336 fi
5337
5338
5339 eval "$wx_cv_use_universal_binary"
5340
5341 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5342 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5343
5344
5345
5346 enablestring=
5347 defaultval=
5348 if test -z "$defaultval"; then
5349 if test x"$enablestring" = xdisable; then
5350 defaultval=yes
5351 else
5352 defaultval=no
5353 fi
5354 fi
5355
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5358 # Check whether --enable-compat26 was given.
5359 if test "${enable_compat26+set}" = set; then
5360 enableval=$enable_compat26;
5361 if test "$enableval" = yes; then
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5363 else
5364 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5365 fi
5366
5367 else
5368
5369 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5370
5371 fi
5372
5373
5374 eval "$wx_cv_use_compat26"
5375
5376 if test x"$enablestring" = xdisable; then
5377 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5378 result=no
5379 else
5380 result=yes
5381 fi
5382 else
5383 result=$WXWIN_COMPATIBILITY_2_6
5384 fi
5385
5386 { echo "$as_me:$LINENO: result: $result" >&5
5387 echo "${ECHO_T}$result" >&6; }
5388
5389
5390 enablestring=disable
5391 defaultval=
5392 if test -z "$defaultval"; then
5393 if test x"$enablestring" = xdisable; then
5394 defaultval=yes
5395 else
5396 defaultval=no
5397 fi
5398 fi
5399
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5402 # Check whether --enable-compat28 was given.
5403 if test "${enable_compat28+set}" = set; then
5404 enableval=$enable_compat28;
5405 if test "$enableval" = yes; then
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5407 else
5408 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5409 fi
5410
5411 else
5412
5413 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5414
5415 fi
5416
5417
5418 eval "$wx_cv_use_compat28"
5419
5420 if test x"$enablestring" = xdisable; then
5421 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5422 result=no
5423 else
5424 result=yes
5425 fi
5426 else
5427 result=$WXWIN_COMPATIBILITY_2_8
5428 fi
5429
5430 { echo "$as_me:$LINENO: result: $result" >&5
5431 echo "${ECHO_T}$result" >&6; }
5432
5433
5434
5435 enablestring=disable
5436 defaultval=
5437 if test -z "$defaultval"; then
5438 if test x"$enablestring" = xdisable; then
5439 defaultval=yes
5440 else
5441 defaultval=no
5442 fi
5443 fi
5444
5445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5446 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5447 # Check whether --enable-rpath was given.
5448 if test "${enable_rpath+set}" = set; then
5449 enableval=$enable_rpath;
5450 if test "$enableval" = yes; then
5451 wx_cv_use_rpath='wxUSE_RPATH=yes'
5452 else
5453 wx_cv_use_rpath='wxUSE_RPATH=no'
5454 fi
5455
5456 else
5457
5458 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5459
5460 fi
5461
5462
5463 eval "$wx_cv_use_rpath"
5464
5465 if test x"$enablestring" = xdisable; then
5466 if test $wxUSE_RPATH = yes; then
5467 result=no
5468 else
5469 result=yes
5470 fi
5471 else
5472 result=$wxUSE_RPATH
5473 fi
5474
5475 { echo "$as_me:$LINENO: result: $result" >&5
5476 echo "${ECHO_T}$result" >&6; }
5477
5478
5479
5480 enablestring=
5481 defaultval=
5482 if test -z "$defaultval"; then
5483 if test x"$enablestring" = xdisable; then
5484 defaultval=yes
5485 else
5486 defaultval=no
5487 fi
5488 fi
5489
5490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5492 # Check whether --enable-objc_uniquifying was given.
5493 if test "${enable_objc_uniquifying+set}" = set; then
5494 enableval=$enable_objc_uniquifying;
5495 if test "$enableval" = yes; then
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5497 else
5498 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5499 fi
5500
5501 else
5502
5503 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5504
5505 fi
5506
5507
5508 eval "$wx_cv_use_objc_uniquifying"
5509
5510 if test x"$enablestring" = xdisable; then
5511 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5512 result=no
5513 else
5514 result=yes
5515 fi
5516 else
5517 result=$wxUSE_OBJC_UNIQUIFYING
5518 fi
5519
5520 { echo "$as_me:$LINENO: result: $result" >&5
5521 echo "${ECHO_T}$result" >&6; }
5522
5523
5524
5525 enablestring=disable
5526 defaultval=
5527 if test -z "$defaultval"; then
5528 if test x"$enablestring" = xdisable; then
5529 defaultval=yes
5530 else
5531 defaultval=no
5532 fi
5533 fi
5534
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5537 # Check whether --enable-visibility was given.
5538 if test "${enable_visibility+set}" = set; then
5539 enableval=$enable_visibility;
5540 if test "$enableval" = yes; then
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5542 else
5543 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5544 fi
5545
5546 else
5547
5548 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5549
5550 fi
5551
5552
5553 eval "$wx_cv_use_visibility"
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_VISIBILITY = yes; then
5557 result=no
5558 else
5559 result=yes
5560 fi
5561 else
5562 result=$wxUSE_VISIBILITY
5563 fi
5564
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5567
5568
5569
5570
5571 enablestring=
5572 defaultval=$wxUSE_ALL_FEATURES
5573 if test -z "$defaultval"; then
5574 if test x"$enablestring" = xdisable; then
5575 defaultval=yes
5576 else
5577 defaultval=no
5578 fi
5579 fi
5580
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5583 # Check whether --enable-intl was given.
5584 if test "${enable_intl+set}" = set; then
5585 enableval=$enable_intl;
5586 if test "$enableval" = yes; then
5587 wx_cv_use_intl='wxUSE_INTL=yes'
5588 else
5589 wx_cv_use_intl='wxUSE_INTL=no'
5590 fi
5591
5592 else
5593
5594 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5595
5596 fi
5597
5598
5599 eval "$wx_cv_use_intl"
5600
5601 if test x"$enablestring" = xdisable; then
5602 if test $wxUSE_INTL = yes; then
5603 result=no
5604 else
5605 result=yes
5606 fi
5607 else
5608 result=$wxUSE_INTL
5609 fi
5610
5611 { echo "$as_me:$LINENO: result: $result" >&5
5612 echo "${ECHO_T}$result" >&6; }
5613
5614
5615 enablestring=
5616 defaultval=$wxUSE_ALL_FEATURES
5617 if test -z "$defaultval"; then
5618 if test x"$enablestring" = xdisable; then
5619 defaultval=yes
5620 else
5621 defaultval=no
5622 fi
5623 fi
5624
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5627 # Check whether --enable-xlocale was given.
5628 if test "${enable_xlocale+set}" = set; then
5629 enableval=$enable_xlocale;
5630 if test "$enableval" = yes; then
5631 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5632 else
5633 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5634 fi
5635
5636 else
5637
5638 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5639
5640 fi
5641
5642
5643 eval "$wx_cv_use_xlocale"
5644
5645 if test x"$enablestring" = xdisable; then
5646 if test $wxUSE_XLOCALE = yes; then
5647 result=no
5648 else
5649 result=yes
5650 fi
5651 else
5652 result=$wxUSE_XLOCALE
5653 fi
5654
5655 { echo "$as_me:$LINENO: result: $result" >&5
5656 echo "${ECHO_T}$result" >&6; }
5657
5658
5659 enablestring=
5660 defaultval=$wxUSE_ALL_FEATURES
5661 if test -z "$defaultval"; then
5662 if test x"$enablestring" = xdisable; then
5663 defaultval=yes
5664 else
5665 defaultval=no
5666 fi
5667 fi
5668
5669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5671 # Check whether --enable-config was given.
5672 if test "${enable_config+set}" = set; then
5673 enableval=$enable_config;
5674 if test "$enableval" = yes; then
5675 wx_cv_use_config='wxUSE_CONFIG=yes'
5676 else
5677 wx_cv_use_config='wxUSE_CONFIG=no'
5678 fi
5679
5680 else
5681
5682 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5683
5684 fi
5685
5686
5687 eval "$wx_cv_use_config"
5688
5689 if test x"$enablestring" = xdisable; then
5690 if test $wxUSE_CONFIG = yes; then
5691 result=no
5692 else
5693 result=yes
5694 fi
5695 else
5696 result=$wxUSE_CONFIG
5697 fi
5698
5699 { echo "$as_me:$LINENO: result: $result" >&5
5700 echo "${ECHO_T}$result" >&6; }
5701
5702
5703
5704 enablestring=
5705 defaultval=$wxUSE_ALL_FEATURES
5706 if test -z "$defaultval"; then
5707 if test x"$enablestring" = xdisable; then
5708 defaultval=yes
5709 else
5710 defaultval=no
5711 fi
5712 fi
5713
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5716 # Check whether --enable-protocols was given.
5717 if test "${enable_protocols+set}" = set; then
5718 enableval=$enable_protocols;
5719 if test "$enableval" = yes; then
5720 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5721 else
5722 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5723 fi
5724
5725 else
5726
5727 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5728
5729 fi
5730
5731
5732 eval "$wx_cv_use_protocols"
5733
5734 if test x"$enablestring" = xdisable; then
5735 if test $wxUSE_PROTOCOL = yes; then
5736 result=no
5737 else
5738 result=yes
5739 fi
5740 else
5741 result=$wxUSE_PROTOCOL
5742 fi
5743
5744 { echo "$as_me:$LINENO: result: $result" >&5
5745 echo "${ECHO_T}$result" >&6; }
5746
5747
5748 enablestring=
5749 defaultval=$wxUSE_ALL_FEATURES
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5752 defaultval=yes
5753 else
5754 defaultval=no
5755 fi
5756 fi
5757
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5760 # Check whether --enable-ftp was given.
5761 if test "${enable_ftp+set}" = set; then
5762 enableval=$enable_ftp;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5765 else
5766 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5767 fi
5768
5769 else
5770
5771 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5772
5773 fi
5774
5775
5776 eval "$wx_cv_use_ftp"
5777
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_PROTOCOL_FTP = yes; then
5780 result=no
5781 else
5782 result=yes
5783 fi
5784 else
5785 result=$wxUSE_PROTOCOL_FTP
5786 fi
5787
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5790
5791
5792 enablestring=
5793 defaultval=$wxUSE_ALL_FEATURES
5794 if test -z "$defaultval"; then
5795 if test x"$enablestring" = xdisable; then
5796 defaultval=yes
5797 else
5798 defaultval=no
5799 fi
5800 fi
5801
5802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5804 # Check whether --enable-http was given.
5805 if test "${enable_http+set}" = set; then
5806 enableval=$enable_http;
5807 if test "$enableval" = yes; then
5808 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5809 else
5810 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5811 fi
5812
5813 else
5814
5815 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5816
5817 fi
5818
5819
5820 eval "$wx_cv_use_http"
5821
5822 if test x"$enablestring" = xdisable; then
5823 if test $wxUSE_PROTOCOL_HTTP = yes; then
5824 result=no
5825 else
5826 result=yes
5827 fi
5828 else
5829 result=$wxUSE_PROTOCOL_HTTP
5830 fi
5831
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5834
5835
5836 enablestring=
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5840 defaultval=yes
5841 else
5842 defaultval=no
5843 fi
5844 fi
5845
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5848 # Check whether --enable-fileproto was given.
5849 if test "${enable_fileproto+set}" = set; then
5850 enableval=$enable_fileproto;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5853 else
5854 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5855 fi
5856
5857 else
5858
5859 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5860
5861 fi
5862
5863
5864 eval "$wx_cv_use_fileproto"
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_PROTOCOL_FILE = yes; then
5868 result=no
5869 else
5870 result=yes
5871 fi
5872 else
5873 result=$wxUSE_PROTOCOL_FILE
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5892 # Check whether --enable-sockets was given.
5893 if test "${enable_sockets+set}" = set; then
5894 enableval=$enable_sockets;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5897 else
5898 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5899 fi
5900
5901 else
5902
5903 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5904
5905 fi
5906
5907
5908 eval "$wx_cv_use_sockets"
5909
5910 if test x"$enablestring" = xdisable; then
5911 if test $wxUSE_SOCKETS = yes; then
5912 result=no
5913 else
5914 result=yes
5915 fi
5916 else
5917 result=$wxUSE_SOCKETS
5918 fi
5919
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5922
5923
5924 enablestring=
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5936 # Check whether --enable-ipv6 was given.
5937 if test "${enable_ipv6+set}" = set; then
5938 enableval=$enable_ipv6;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5941 else
5942 wx_cv_use_ipv6='wxUSE_IPV6=no'
5943 fi
5944
5945 else
5946
5947 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5948
5949 fi
5950
5951
5952 eval "$wx_cv_use_ipv6"
5953
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_IPV6 = yes; then
5956 result=no
5957 else
5958 result=yes
5959 fi
5960 else
5961 result=$wxUSE_IPV6
5962 fi
5963
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5966
5967
5968 enablestring=
5969 defaultval=$wxUSE_ALL_FEATURES
5970 if test -z "$defaultval"; then
5971 if test x"$enablestring" = xdisable; then
5972 defaultval=yes
5973 else
5974 defaultval=no
5975 fi
5976 fi
5977
5978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5980 # Check whether --enable-ole was given.
5981 if test "${enable_ole+set}" = set; then
5982 enableval=$enable_ole;
5983 if test "$enableval" = yes; then
5984 wx_cv_use_ole='wxUSE_OLE=yes'
5985 else
5986 wx_cv_use_ole='wxUSE_OLE=no'
5987 fi
5988
5989 else
5990
5991 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5992
5993 fi
5994
5995
5996 eval "$wx_cv_use_ole"
5997
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_OLE = yes; then
6000 result=no
6001 else
6002 result=yes
6003 fi
6004 else
6005 result=$wxUSE_OLE
6006 fi
6007
6008 { echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6; }
6010
6011
6012 enablestring=
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6016 defaultval=yes
6017 else
6018 defaultval=no
6019 fi
6020 fi
6021
6022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6023 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6024 # Check whether --enable-dataobj was given.
6025 if test "${enable_dataobj+set}" = set; then
6026 enableval=$enable_dataobj;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6029 else
6030 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6031 fi
6032
6033 else
6034
6035 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_dataobj"
6041
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_DATAOBJ = yes; then
6044 result=no
6045 else
6046 result=yes
6047 fi
6048 else
6049 result=$wxUSE_DATAOBJ
6050 fi
6051
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6054
6055
6056
6057 enablestring=
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6061 defaultval=yes
6062 else
6063 defaultval=no
6064 fi
6065 fi
6066
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6069 # Check whether --enable-ipc was given.
6070 if test "${enable_ipc+set}" = set; then
6071 enableval=$enable_ipc;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_ipc='wxUSE_IPC=yes'
6074 else
6075 wx_cv_use_ipc='wxUSE_IPC=no'
6076 fi
6077
6078 else
6079
6080 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_ipc"
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_IPC = yes; then
6089 result=no
6090 else
6091 result=yes
6092 fi
6093 else
6094 result=$wxUSE_IPC
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101
6102 enablestring=
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6106 defaultval=yes
6107 else
6108 defaultval=no
6109 fi
6110 fi
6111
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6114 # Check whether --enable-baseevtloop was given.
6115 if test "${enable_baseevtloop+set}" = set; then
6116 enableval=$enable_baseevtloop;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6119 else
6120 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6121 fi
6122
6123 else
6124
6125 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6126
6127 fi
6128
6129
6130 eval "$wx_cv_use_baseevtloop"
6131
6132 if test x"$enablestring" = xdisable; then
6133 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6134 result=no
6135 else
6136 result=yes
6137 fi
6138 else
6139 result=$wxUSE_CONSOLE_EVENTLOOP
6140 fi
6141
6142 { echo "$as_me:$LINENO: result: $result" >&5
6143 echo "${ECHO_T}$result" >&6; }
6144
6145
6146 enablestring=
6147 defaultval=$wxUSE_ALL_FEATURES
6148 if test -z "$defaultval"; then
6149 if test x"$enablestring" = xdisable; then
6150 defaultval=yes
6151 else
6152 defaultval=no
6153 fi
6154 fi
6155
6156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6158 # Check whether --enable-epollloop was given.
6159 if test "${enable_epollloop+set}" = set; then
6160 enableval=$enable_epollloop;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6163 else
6164 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6165 fi
6166
6167 else
6168
6169 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6170
6171 fi
6172
6173
6174 eval "$wx_cv_use_epollloop"
6175
6176 if test x"$enablestring" = xdisable; then
6177 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6178 result=no
6179 else
6180 result=yes
6181 fi
6182 else
6183 result=$wxUSE_EPOLL_DISPATCHER
6184 fi
6185
6186 { echo "$as_me:$LINENO: result: $result" >&5
6187 echo "${ECHO_T}$result" >&6; }
6188
6189
6190 enablestring=
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6194 defaultval=yes
6195 else
6196 defaultval=no
6197 fi
6198 fi
6199
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6202 # Check whether --enable-selectloop was given.
6203 if test "${enable_selectloop+set}" = set; then
6204 enableval=$enable_selectloop;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6207 else
6208 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6209 fi
6210
6211 else
6212
6213 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_selectloop"
6219
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_SELECT_DISPATCHER = yes; then
6222 result=no
6223 else
6224 result=yes
6225 fi
6226 else
6227 result=$wxUSE_SELECT_DISPATCHER
6228 fi
6229
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6232
6233
6234
6235 enablestring=
6236 defaultval=$wxUSE_ALL_FEATURES
6237 if test -z "$defaultval"; then
6238 if test x"$enablestring" = xdisable; then
6239 defaultval=yes
6240 else
6241 defaultval=no
6242 fi
6243 fi
6244
6245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6246 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6247 # Check whether --enable-apple_ieee was given.
6248 if test "${enable_apple_ieee+set}" = set; then
6249 enableval=$enable_apple_ieee;
6250 if test "$enableval" = yes; then
6251 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6252 else
6253 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6254 fi
6255
6256 else
6257
6258 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6259
6260 fi
6261
6262
6263 eval "$wx_cv_use_apple_ieee"
6264
6265 if test x"$enablestring" = xdisable; then
6266 if test $wxUSE_APPLE_IEEE = yes; then
6267 result=no
6268 else
6269 result=yes
6270 fi
6271 else
6272 result=$wxUSE_APPLE_IEEE
6273 fi
6274
6275 { echo "$as_me:$LINENO: result: $result" >&5
6276 echo "${ECHO_T}$result" >&6; }
6277
6278
6279 enablestring=
6280 defaultval=$wxUSE_ALL_FEATURES
6281 if test -z "$defaultval"; then
6282 if test x"$enablestring" = xdisable; then
6283 defaultval=yes
6284 else
6285 defaultval=no
6286 fi
6287 fi
6288
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6291 # Check whether --enable-arcstream was given.
6292 if test "${enable_arcstream+set}" = set; then
6293 enableval=$enable_arcstream;
6294 if test "$enableval" = yes; then
6295 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6296 else
6297 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6298 fi
6299
6300 else
6301
6302 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6303
6304 fi
6305
6306
6307 eval "$wx_cv_use_arcstream"
6308
6309 if test x"$enablestring" = xdisable; then
6310 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6311 result=no
6312 else
6313 result=yes
6314 fi
6315 else
6316 result=$wxUSE_ARCHIVE_STREAMS
6317 fi
6318
6319 { echo "$as_me:$LINENO: result: $result" >&5
6320 echo "${ECHO_T}$result" >&6; }
6321
6322
6323 enablestring=
6324 defaultval=$wxUSE_ALL_FEATURES
6325 if test -z "$defaultval"; then
6326 if test x"$enablestring" = xdisable; then
6327 defaultval=yes
6328 else
6329 defaultval=no
6330 fi
6331 fi
6332
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6335 # Check whether --enable-base64 was given.
6336 if test "${enable_base64+set}" = set; then
6337 enableval=$enable_base64;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_base64='wxUSE_BASE64=yes'
6340 else
6341 wx_cv_use_base64='wxUSE_BASE64=no'
6342 fi
6343
6344 else
6345
6346 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6347
6348 fi
6349
6350
6351 eval "$wx_cv_use_base64"
6352
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_BASE64 = yes; then
6355 result=no
6356 else
6357 result=yes
6358 fi
6359 else
6360 result=$wxUSE_BASE64
6361 fi
6362
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6365
6366
6367 enablestring=
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6371 defaultval=yes
6372 else
6373 defaultval=no
6374 fi
6375 fi
6376
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6379 # Check whether --enable-backtrace was given.
6380 if test "${enable_backtrace+set}" = set; then
6381 enableval=$enable_backtrace;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6384 else
6385 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6386 fi
6387
6388 else
6389
6390 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6391
6392 fi
6393
6394
6395 eval "$wx_cv_use_backtrace"
6396
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_STACKWALKER = yes; then
6399 result=no
6400 else
6401 result=yes
6402 fi
6403 else
6404 result=$wxUSE_STACKWALKER
6405 fi
6406
6407 { echo "$as_me:$LINENO: result: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6409
6410
6411 enablestring=
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6415 defaultval=yes
6416 else
6417 defaultval=no
6418 fi
6419 fi
6420
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6423 # Check whether --enable-catch_segvs was given.
6424 if test "${enable_catch_segvs+set}" = set; then
6425 enableval=$enable_catch_segvs;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6428 else
6429 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6430 fi
6431
6432 else
6433
6434 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6435
6436 fi
6437
6438
6439 eval "$wx_cv_use_catch_segvs"
6440
6441 if test x"$enablestring" = xdisable; then
6442 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6443 result=no
6444 else
6445 result=yes
6446 fi
6447 else
6448 result=$wxUSE_ON_FATAL_EXCEPTION
6449 fi
6450
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6453
6454
6455 enablestring=
6456 defaultval=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x"$enablestring" = xdisable; then
6459 defaultval=yes
6460 else
6461 defaultval=no
6462 fi
6463 fi
6464
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6467 # Check whether --enable-cmdline was given.
6468 if test "${enable_cmdline+set}" = set; then
6469 enableval=$enable_cmdline;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6472 else
6473 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6474 fi
6475
6476 else
6477
6478 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_cmdline"
6484
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_CMDLINE_PARSER = yes; then
6487 result=no
6488 else
6489 result=yes
6490 fi
6491 else
6492 result=$wxUSE_CMDLINE_PARSER
6493 fi
6494
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6497
6498
6499 enablestring=
6500 defaultval=$wxUSE_ALL_FEATURES
6501 if test -z "$defaultval"; then
6502 if test x"$enablestring" = xdisable; then
6503 defaultval=yes
6504 else
6505 defaultval=no
6506 fi
6507 fi
6508
6509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6511 # Check whether --enable-datetime was given.
6512 if test "${enable_datetime+set}" = set; then
6513 enableval=$enable_datetime;
6514 if test "$enableval" = yes; then
6515 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6516 else
6517 wx_cv_use_datetime='wxUSE_DATETIME=no'
6518 fi
6519
6520 else
6521
6522 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6523
6524 fi
6525
6526
6527 eval "$wx_cv_use_datetime"
6528
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_DATETIME = yes; then
6531 result=no
6532 else
6533 result=yes
6534 fi
6535 else
6536 result=$wxUSE_DATETIME
6537 fi
6538
6539 { echo "$as_me:$LINENO: result: $result" >&5
6540 echo "${ECHO_T}$result" >&6; }
6541
6542
6543 enablestring=
6544 defaultval=$wxUSE_ALL_FEATURES
6545 if test -z "$defaultval"; then
6546 if test x"$enablestring" = xdisable; then
6547 defaultval=yes
6548 else
6549 defaultval=no
6550 fi
6551 fi
6552
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6555 # Check whether --enable-debugreport was given.
6556 if test "${enable_debugreport+set}" = set; then
6557 enableval=$enable_debugreport;
6558 if test "$enableval" = yes; then
6559 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6560 else
6561 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6562 fi
6563
6564 else
6565
6566 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6567
6568 fi
6569
6570
6571 eval "$wx_cv_use_debugreport"
6572
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_DEBUGREPORT = yes; then
6575 result=no
6576 else
6577 result=yes
6578 fi
6579 else
6580 result=$wxUSE_DEBUGREPORT
6581 fi
6582
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6585
6586
6587 enablestring=
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6591 defaultval=yes
6592 else
6593 defaultval=no
6594 fi
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6599 # Check whether --enable-dialupman was given.
6600 if test "${enable_dialupman+set}" = set; then
6601 enableval=$enable_dialupman;
6602 if test "$enableval" = yes; then
6603 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6604 else
6605 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6606 fi
6607
6608 else
6609
6610 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6611
6612 fi
6613
6614
6615 eval "$wx_cv_use_dialupman"
6616
6617 if test x"$enablestring" = xdisable; then
6618 if test $wxUSE_DIALUP_MANAGER = yes; then
6619 result=no
6620 else
6621 result=yes
6622 fi
6623 else
6624 result=$wxUSE_DIALUP_MANAGER
6625 fi
6626
6627 { echo "$as_me:$LINENO: result: $result" >&5
6628 echo "${ECHO_T}$result" >&6; }
6629
6630
6631 enablestring=
6632 defaultval=$wxUSE_ALL_FEATURES
6633 if test -z "$defaultval"; then
6634 if test x"$enablestring" = xdisable; then
6635 defaultval=yes
6636 else
6637 defaultval=no
6638 fi
6639 fi
6640
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6643 # Check whether --enable-dynlib was given.
6644 if test "${enable_dynlib+set}" = set; then
6645 enableval=$enable_dynlib;
6646 if test "$enableval" = yes; then
6647 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6648 else
6649 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6650 fi
6651
6652 else
6653
6654 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6655
6656 fi
6657
6658
6659 eval "$wx_cv_use_dynlib"
6660
6661 if test x"$enablestring" = xdisable; then
6662 if test $wxUSE_DYNLIB_CLASS = yes; then
6663 result=no
6664 else
6665 result=yes
6666 fi
6667 else
6668 result=$wxUSE_DYNLIB_CLASS
6669 fi
6670
6671 { echo "$as_me:$LINENO: result: $result" >&5
6672 echo "${ECHO_T}$result" >&6; }
6673
6674
6675 enablestring=
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6679 defaultval=yes
6680 else
6681 defaultval=no
6682 fi
6683 fi
6684
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6687 # Check whether --enable-dynamicloader was given.
6688 if test "${enable_dynamicloader+set}" = set; then
6689 enableval=$enable_dynamicloader;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6692 else
6693 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6694 fi
6695
6696 else
6697
6698 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6699
6700 fi
6701
6702
6703 eval "$wx_cv_use_dynamicloader"
6704
6705 if test x"$enablestring" = xdisable; then
6706 if test $wxUSE_DYNAMIC_LOADER = yes; then
6707 result=no
6708 else
6709 result=yes
6710 fi
6711 else
6712 result=$wxUSE_DYNAMIC_LOADER
6713 fi
6714
6715 { echo "$as_me:$LINENO: result: $result" >&5
6716 echo "${ECHO_T}$result" >&6; }
6717
6718
6719 enablestring=
6720 defaultval=$wxUSE_ALL_FEATURES
6721 if test -z "$defaultval"; then
6722 if test x"$enablestring" = xdisable; then
6723 defaultval=yes
6724 else
6725 defaultval=no
6726 fi
6727 fi
6728
6729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6731 # Check whether --enable-exceptions was given.
6732 if test "${enable_exceptions+set}" = set; then
6733 enableval=$enable_exceptions;
6734 if test "$enableval" = yes; then
6735 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6736 else
6737 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6738 fi
6739
6740 else
6741
6742 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6743
6744 fi
6745
6746
6747 eval "$wx_cv_use_exceptions"
6748
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_EXCEPTIONS = yes; then
6751 result=no
6752 else
6753 result=yes
6754 fi
6755 else
6756 result=$wxUSE_EXCEPTIONS
6757 fi
6758
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6761
6762
6763 enablestring=
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6767 defaultval=yes
6768 else
6769 defaultval=no
6770 fi
6771 fi
6772
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6775 # Check whether --enable-ffile was given.
6776 if test "${enable_ffile+set}" = set; then
6777 enableval=$enable_ffile;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_ffile='wxUSE_FFILE=yes'
6780 else
6781 wx_cv_use_ffile='wxUSE_FFILE=no'
6782 fi
6783
6784 else
6785
6786 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6787
6788 fi
6789
6790
6791 eval "$wx_cv_use_ffile"
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_FFILE = yes; then
6795 result=no
6796 else
6797 result=yes
6798 fi
6799 else
6800 result=$wxUSE_FFILE
6801 fi
6802
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6805
6806
6807 enablestring=
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6819 # Check whether --enable-file was given.
6820 if test "${enable_file+set}" = set; then
6821 enableval=$enable_file;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_file='wxUSE_FILE=yes'
6824 else
6825 wx_cv_use_file='wxUSE_FILE=no'
6826 fi
6827
6828 else
6829
6830 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6831
6832 fi
6833
6834
6835 eval "$wx_cv_use_file"
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_FILE = yes; then
6839 result=no
6840 else
6841 result=yes
6842 fi
6843 else
6844 result=$wxUSE_FILE
6845 fi
6846
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6849
6850
6851 enablestring=
6852 defaultval=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6863 # Check whether --enable-filesystem was given.
6864 if test "${enable_filesystem+set}" = set; then
6865 enableval=$enable_filesystem;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6868 else
6869 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6870 fi
6871
6872 else
6873
6874 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6875
6876 fi
6877
6878
6879 eval "$wx_cv_use_filesystem"
6880
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_FILESYSTEM = yes; then
6883 result=no
6884 else
6885 result=yes
6886 fi
6887 else
6888 result=$wxUSE_FILESYSTEM
6889 fi
6890
6891 { echo "$as_me:$LINENO: result: $result" >&5
6892 echo "${ECHO_T}$result" >&6; }
6893
6894
6895 enablestring=
6896 defaultval=$wxUSE_ALL_FEATURES
6897 if test -z "$defaultval"; then
6898 if test x"$enablestring" = xdisable; then
6899 defaultval=yes
6900 else
6901 defaultval=no
6902 fi
6903 fi
6904
6905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6907 # Check whether --enable-fontenum was given.
6908 if test "${enable_fontenum+set}" = set; then
6909 enableval=$enable_fontenum;
6910 if test "$enableval" = yes; then
6911 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6912 else
6913 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6914 fi
6915
6916 else
6917
6918 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6919
6920 fi
6921
6922
6923 eval "$wx_cv_use_fontenum"
6924
6925 if test x"$enablestring" = xdisable; then
6926 if test $wxUSE_FONTENUM = yes; then
6927 result=no
6928 else
6929 result=yes
6930 fi
6931 else
6932 result=$wxUSE_FONTENUM
6933 fi
6934
6935 { echo "$as_me:$LINENO: result: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6937
6938
6939 enablestring=
6940 defaultval=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x"$enablestring" = xdisable; then
6943 defaultval=yes
6944 else
6945 defaultval=no
6946 fi
6947 fi
6948
6949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6950 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6951 # Check whether --enable-fontmap was given.
6952 if test "${enable_fontmap+set}" = set; then
6953 enableval=$enable_fontmap;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6956 else
6957 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6958 fi
6959
6960 else
6961
6962 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6963
6964 fi
6965
6966
6967 eval "$wx_cv_use_fontmap"
6968
6969 if test x"$enablestring" = xdisable; then
6970 if test $wxUSE_FONTMAP = yes; then
6971 result=no
6972 else
6973 result=yes
6974 fi
6975 else
6976 result=$wxUSE_FONTMAP
6977 fi
6978
6979 { echo "$as_me:$LINENO: result: $result" >&5
6980 echo "${ECHO_T}$result" >&6; }
6981
6982
6983 enablestring=
6984 defaultval=$wxUSE_ALL_FEATURES
6985 if test -z "$defaultval"; then
6986 if test x"$enablestring" = xdisable; then
6987 defaultval=yes
6988 else
6989 defaultval=no
6990 fi
6991 fi
6992
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6995 # Check whether --enable-fs_archive was given.
6996 if test "${enable_fs_archive+set}" = set; then
6997 enableval=$enable_fs_archive;
6998 if test "$enableval" = yes; then
6999 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7000 else
7001 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7002 fi
7003
7004 else
7005
7006 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7007
7008 fi
7009
7010
7011 eval "$wx_cv_use_fs_archive"
7012
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_FS_ARCHIVE = yes; then
7015 result=no
7016 else
7017 result=yes
7018 fi
7019 else
7020 result=$wxUSE_FS_ARCHIVE
7021 fi
7022
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7025
7026
7027 enablestring=
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7031 defaultval=yes
7032 else
7033 defaultval=no
7034 fi
7035 fi
7036
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7039 # Check whether --enable-fs_inet was given.
7040 if test "${enable_fs_inet+set}" = set; then
7041 enableval=$enable_fs_inet;
7042 if test "$enableval" = yes; then
7043 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7044 else
7045 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7046 fi
7047
7048 else
7049
7050 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7051
7052 fi
7053
7054
7055 eval "$wx_cv_use_fs_inet"
7056
7057 if test x"$enablestring" = xdisable; then
7058 if test $wxUSE_FS_INET = yes; then
7059 result=no
7060 else
7061 result=yes
7062 fi
7063 else
7064 result=$wxUSE_FS_INET
7065 fi
7066
7067 { echo "$as_me:$LINENO: result: $result" >&5
7068 echo "${ECHO_T}$result" >&6; }
7069
7070
7071 enablestring=
7072 defaultval=$wxUSE_ALL_FEATURES
7073 if test -z "$defaultval"; then
7074 if test x"$enablestring" = xdisable; then
7075 defaultval=yes
7076 else
7077 defaultval=no
7078 fi
7079 fi
7080
7081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7083 # Check whether --enable-fs_zip was given.
7084 if test "${enable_fs_zip+set}" = set; then
7085 enableval=$enable_fs_zip;
7086 if test "$enableval" = yes; then
7087 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7088 else
7089 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7090 fi
7091
7092 else
7093
7094 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7095
7096 fi
7097
7098
7099 eval "$wx_cv_use_fs_zip"
7100
7101 if test x"$enablestring" = xdisable; then
7102 if test $wxUSE_FS_ZIP = yes; then
7103 result=no
7104 else
7105 result=yes
7106 fi
7107 else
7108 result=$wxUSE_FS_ZIP
7109 fi
7110
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7113
7114
7115 enablestring=
7116 defaultval=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x"$enablestring" = xdisable; then
7119 defaultval=yes
7120 else
7121 defaultval=no
7122 fi
7123 fi
7124
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7127 # Check whether --enable-geometry was given.
7128 if test "${enable_geometry+set}" = set; then
7129 enableval=$enable_geometry;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7132 else
7133 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7134 fi
7135
7136 else
7137
7138 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7139
7140 fi
7141
7142
7143 eval "$wx_cv_use_geometry"
7144
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_GEOMETRY = yes; then
7147 result=no
7148 else
7149 result=yes
7150 fi
7151 else
7152 result=$wxUSE_GEOMETRY
7153 fi
7154
7155 { echo "$as_me:$LINENO: result: $result" >&5
7156 echo "${ECHO_T}$result" >&6; }
7157
7158
7159 enablestring=
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7163 defaultval=yes
7164 else
7165 defaultval=no
7166 fi
7167 fi
7168
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7171 # Check whether --enable-log was given.
7172 if test "${enable_log+set}" = set; then
7173 enableval=$enable_log;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_log='wxUSE_LOG=yes'
7176 else
7177 wx_cv_use_log='wxUSE_LOG=no'
7178 fi
7179
7180 else
7181
7182 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7183
7184 fi
7185
7186
7187 eval "$wx_cv_use_log"
7188
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_LOG = yes; then
7191 result=no
7192 else
7193 result=yes
7194 fi
7195 else
7196 result=$wxUSE_LOG
7197 fi
7198
7199 { echo "$as_me:$LINENO: result: $result" >&5
7200 echo "${ECHO_T}$result" >&6; }
7201
7202
7203 enablestring=
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7207 defaultval=yes
7208 else
7209 defaultval=no
7210 fi
7211 fi
7212
7213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7214 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7215 # Check whether --enable-longlong was given.
7216 if test "${enable_longlong+set}" = set; then
7217 enableval=$enable_longlong;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7220 else
7221 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7222 fi
7223
7224 else
7225
7226 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7227
7228 fi
7229
7230
7231 eval "$wx_cv_use_longlong"
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_LONGLONG = yes; then
7235 result=no
7236 else
7237 result=yes
7238 fi
7239 else
7240 result=$wxUSE_LONGLONG
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7259 # Check whether --enable-mimetype was given.
7260 if test "${enable_mimetype+set}" = set; then
7261 enableval=$enable_mimetype;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7264 else
7265 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7266 fi
7267
7268 else
7269
7270 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7271
7272 fi
7273
7274
7275 eval "$wx_cv_use_mimetype"
7276
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_MIMETYPE = yes; then
7279 result=no
7280 else
7281 result=yes
7282 fi
7283 else
7284 result=$wxUSE_MIMETYPE
7285 fi
7286
7287 { echo "$as_me:$LINENO: result: $result" >&5
7288 echo "${ECHO_T}$result" >&6; }
7289
7290
7291 enablestring=
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7295 defaultval=yes
7296 else
7297 defaultval=no
7298 fi
7299 fi
7300
7301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7303 # Check whether --enable-printfposparam was given.
7304 if test "${enable_printfposparam+set}" = set; then
7305 enableval=$enable_printfposparam;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7308 else
7309 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7310 fi
7311
7312 else
7313
7314 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7315
7316 fi
7317
7318
7319 eval "$wx_cv_use_printfposparam"
7320
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7323 result=no
7324 else
7325 result=yes
7326 fi
7327 else
7328 result=$wxUSE_PRINTF_POS_PARAMS
7329 fi
7330
7331 { echo "$as_me:$LINENO: result: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7333
7334
7335 enablestring=
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7339 defaultval=yes
7340 else
7341 defaultval=no
7342 fi
7343 fi
7344
7345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7347 # Check whether --enable-snglinst was given.
7348 if test "${enable_snglinst+set}" = set; then
7349 enableval=$enable_snglinst;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7352 else
7353 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7354 fi
7355
7356 else
7357
7358 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7359
7360 fi
7361
7362
7363 eval "$wx_cv_use_snglinst"
7364
7365 if test x"$enablestring" = xdisable; then
7366 if test $wxUSE_SNGLINST_CHECKER = yes; then
7367 result=no
7368 else
7369 result=yes
7370 fi
7371 else
7372 result=$wxUSE_SNGLINST_CHECKER
7373 fi
7374
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7377
7378
7379 enablestring=
7380 defaultval=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x"$enablestring" = xdisable; then
7383 defaultval=yes
7384 else
7385 defaultval=no
7386 fi
7387 fi
7388
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7391 # Check whether --enable-sound was given.
7392 if test "${enable_sound+set}" = set; then
7393 enableval=$enable_sound;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_sound='wxUSE_SOUND=yes'
7396 else
7397 wx_cv_use_sound='wxUSE_SOUND=no'
7398 fi
7399
7400 else
7401
7402 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7403
7404 fi
7405
7406
7407 eval "$wx_cv_use_sound"
7408
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_SOUND = yes; then
7411 result=no
7412 else
7413 result=yes
7414 fi
7415 else
7416 result=$wxUSE_SOUND
7417 fi
7418
7419 { echo "$as_me:$LINENO: result: $result" >&5
7420 echo "${ECHO_T}$result" >&6; }
7421
7422
7423 enablestring=
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7427 defaultval=yes
7428 else
7429 defaultval=no
7430 fi
7431 fi
7432
7433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7435 # Check whether --enable-stdpaths was given.
7436 if test "${enable_stdpaths+set}" = set; then
7437 enableval=$enable_stdpaths;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7440 else
7441 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7442 fi
7443
7444 else
7445
7446 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7447
7448 fi
7449
7450
7451 eval "$wx_cv_use_stdpaths"
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_STDPATHS = yes; then
7455 result=no
7456 else
7457 result=yes
7458 fi
7459 else
7460 result=$wxUSE_STDPATHS
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7479 # Check whether --enable-stopwatch was given.
7480 if test "${enable_stopwatch+set}" = set; then
7481 enableval=$enable_stopwatch;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7484 else
7485 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7486 fi
7487
7488 else
7489
7490 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7491
7492 fi
7493
7494
7495 eval "$wx_cv_use_stopwatch"
7496
7497 if test x"$enablestring" = xdisable; then
7498 if test $wxUSE_STOPWATCH = yes; then
7499 result=no
7500 else
7501 result=yes
7502 fi
7503 else
7504 result=$wxUSE_STOPWATCH
7505 fi
7506
7507 { echo "$as_me:$LINENO: result: $result" >&5
7508 echo "${ECHO_T}$result" >&6; }
7509
7510
7511 enablestring=
7512 defaultval=$wxUSE_ALL_FEATURES
7513 if test -z "$defaultval"; then
7514 if test x"$enablestring" = xdisable; then
7515 defaultval=yes
7516 else
7517 defaultval=no
7518 fi
7519 fi
7520
7521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7522 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7523 # Check whether --enable-streams was given.
7524 if test "${enable_streams+set}" = set; then
7525 enableval=$enable_streams;
7526 if test "$enableval" = yes; then
7527 wx_cv_use_streams='wxUSE_STREAMS=yes'
7528 else
7529 wx_cv_use_streams='wxUSE_STREAMS=no'
7530 fi
7531
7532 else
7533
7534 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7535
7536 fi
7537
7538
7539 eval "$wx_cv_use_streams"
7540
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_STREAMS = yes; then
7543 result=no
7544 else
7545 result=yes
7546 fi
7547 else
7548 result=$wxUSE_STREAMS
7549 fi
7550
7551 { echo "$as_me:$LINENO: result: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7553
7554
7555 enablestring=
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7559 defaultval=yes
7560 else
7561 defaultval=no
7562 fi
7563 fi
7564
7565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7567 # Check whether --enable-system_options was given.
7568 if test "${enable_system_options+set}" = set; then
7569 enableval=$enable_system_options;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7572 else
7573 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7574 fi
7575
7576 else
7577
7578 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7579
7580 fi
7581
7582
7583 eval "$wx_cv_use_system_options"
7584
7585 if test x"$enablestring" = xdisable; then
7586 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7587 result=no
7588 else
7589 result=yes
7590 fi
7591 else
7592 result=$wxUSE_SYSTEM_OPTIONS
7593 fi
7594
7595 { echo "$as_me:$LINENO: result: $result" >&5
7596 echo "${ECHO_T}$result" >&6; }
7597
7598
7599 enablestring=
7600 defaultval=$wxUSE_ALL_FEATURES
7601 if test -z "$defaultval"; then
7602 if test x"$enablestring" = xdisable; then
7603 defaultval=yes
7604 else
7605 defaultval=no
7606 fi
7607 fi
7608
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7611 # Check whether --enable-tarstream was given.
7612 if test "${enable_tarstream+set}" = set; then
7613 enableval=$enable_tarstream;
7614 if test "$enableval" = yes; then
7615 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7616 else
7617 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7618 fi
7619
7620 else
7621
7622 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7623
7624 fi
7625
7626
7627 eval "$wx_cv_use_tarstream"
7628
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_TARSTREAM = yes; then
7631 result=no
7632 else
7633 result=yes
7634 fi
7635 else
7636 result=$wxUSE_TARSTREAM
7637 fi
7638
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7641
7642
7643 enablestring=
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7647 defaultval=yes
7648 else
7649 defaultval=no
7650 fi
7651 fi
7652
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7655 # Check whether --enable-textbuf was given.
7656 if test "${enable_textbuf+set}" = set; then
7657 enableval=$enable_textbuf;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7660 else
7661 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7662 fi
7663
7664 else
7665
7666 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7667
7668 fi
7669
7670
7671 eval "$wx_cv_use_textbuf"
7672
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_TEXTBUFFER = yes; then
7675 result=no
7676 else
7677 result=yes
7678 fi
7679 else
7680 result=$wxUSE_TEXTBUFFER
7681 fi
7682
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7685
7686
7687 enablestring=
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7691 defaultval=yes
7692 else
7693 defaultval=no
7694 fi
7695 fi
7696
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7699 # Check whether --enable-textfile was given.
7700 if test "${enable_textfile+set}" = set; then
7701 enableval=$enable_textfile;
7702 if test "$enableval" = yes; then
7703 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7704 else
7705 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7706 fi
7707
7708 else
7709
7710 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7711
7712 fi
7713
7714
7715 eval "$wx_cv_use_textfile"
7716
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_TEXTFILE = yes; then
7719 result=no
7720 else
7721 result=yes
7722 fi
7723 else
7724 result=$wxUSE_TEXTFILE
7725 fi
7726
7727 { echo "$as_me:$LINENO: result: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7729
7730
7731 enablestring=
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7735 defaultval=yes
7736 else
7737 defaultval=no
7738 fi
7739 fi
7740
7741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7743 # Check whether --enable-timer was given.
7744 if test "${enable_timer+set}" = set; then
7745 enableval=$enable_timer;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_timer='wxUSE_TIMER=yes'
7748 else
7749 wx_cv_use_timer='wxUSE_TIMER=no'
7750 fi
7751
7752 else
7753
7754 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7755
7756 fi
7757
7758
7759 eval "$wx_cv_use_timer"
7760
7761 if test x"$enablestring" = xdisable; then
7762 if test $wxUSE_TIMER = yes; then
7763 result=no
7764 else
7765 result=yes
7766 fi
7767 else
7768 result=$wxUSE_TIMER
7769 fi
7770
7771 { echo "$as_me:$LINENO: result: $result" >&5
7772 echo "${ECHO_T}$result" >&6; }
7773
7774
7775 enablestring=
7776 defaultval=$wxUSE_ALL_FEATURES
7777 if test -z "$defaultval"; then
7778 if test x"$enablestring" = xdisable; then
7779 defaultval=yes
7780 else
7781 defaultval=no
7782 fi
7783 fi
7784
7785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7787 # Check whether --enable-variant was given.
7788 if test "${enable_variant+set}" = set; then
7789 enableval=$enable_variant;
7790 if test "$enableval" = yes; then
7791 wx_cv_use_variant='wxUSE_VARIANT=yes'
7792 else
7793 wx_cv_use_variant='wxUSE_VARIANT=no'
7794 fi
7795
7796 else
7797
7798 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7799
7800 fi
7801
7802
7803 eval "$wx_cv_use_variant"
7804
7805 if test x"$enablestring" = xdisable; then
7806 if test $wxUSE_VARIANT = yes; then
7807 result=no
7808 else
7809 result=yes
7810 fi
7811 else
7812 result=$wxUSE_VARIANT
7813 fi
7814
7815 { echo "$as_me:$LINENO: result: $result" >&5
7816 echo "${ECHO_T}$result" >&6; }
7817
7818
7819 enablestring=
7820 defaultval=$wxUSE_ALL_FEATURES
7821 if test -z "$defaultval"; then
7822 if test x"$enablestring" = xdisable; then
7823 defaultval=yes
7824 else
7825 defaultval=no
7826 fi
7827 fi
7828
7829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-weakref" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-weakref... $ECHO_C" >&6; }
7831 # Check whether --enable-weakref was given.
7832 if test "${enable_weakref+set}" = set; then
7833 enableval=$enable_weakref;
7834 if test "$enableval" = yes; then
7835 wx_cv_use_weakref='wxUSE_WEAKREF=yes'
7836 else
7837 wx_cv_use_weakref='wxUSE_WEAKREF=no'
7838 fi
7839
7840 else
7841
7842 wx_cv_use_weakref='wxUSE_WEAKREF=${'DEFAULT_wxUSE_WEAKREF":-$defaultval}"
7843
7844 fi
7845
7846
7847 eval "$wx_cv_use_weakref"
7848
7849 if test x"$enablestring" = xdisable; then
7850 if test $wxUSE_WEAKREF = yes; then
7851 result=no
7852 else
7853 result=yes
7854 fi
7855 else
7856 result=$wxUSE_WEAKREF
7857 fi
7858
7859 { echo "$as_me:$LINENO: result: $result" >&5
7860 echo "${ECHO_T}$result" >&6; }
7861
7862
7863 enablestring=
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7867 defaultval=yes
7868 else
7869 defaultval=no
7870 fi
7871 fi
7872
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7875 # Check whether --enable-zipstream was given.
7876 if test "${enable_zipstream+set}" = set; then
7877 enableval=$enable_zipstream;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7880 else
7881 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7882 fi
7883
7884 else
7885
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7887
7888 fi
7889
7890
7891 eval "$wx_cv_use_zipstream"
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_ZIPSTREAM = yes; then
7895 result=no
7896 else
7897 result=yes
7898 fi
7899 else
7900 result=$wxUSE_ZIPSTREAM
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7920 # Check whether --enable-url was given.
7921 if test "${enable_url+set}" = set; then
7922 enableval=$enable_url;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_url='wxUSE_URL=yes'
7925 else
7926 wx_cv_use_url='wxUSE_URL=no'
7927 fi
7928
7929 else
7930
7931 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7932
7933 fi
7934
7935
7936 eval "$wx_cv_use_url"
7937
7938 if test x"$enablestring" = xdisable; then
7939 if test $wxUSE_URL = yes; then
7940 result=no
7941 else
7942 result=yes
7943 fi
7944 else
7945 result=$wxUSE_URL
7946 fi
7947
7948 { echo "$as_me:$LINENO: result: $result" >&5
7949 echo "${ECHO_T}$result" >&6; }
7950
7951
7952 enablestring=
7953 defaultval=$wxUSE_ALL_FEATURES
7954 if test -z "$defaultval"; then
7955 if test x"$enablestring" = xdisable; then
7956 defaultval=yes
7957 else
7958 defaultval=no
7959 fi
7960 fi
7961
7962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7964 # Check whether --enable-protocol was given.
7965 if test "${enable_protocol+set}" = set; then
7966 enableval=$enable_protocol;
7967 if test "$enableval" = yes; then
7968 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7969 else
7970 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7971 fi
7972
7973 else
7974
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7976
7977 fi
7978
7979
7980 eval "$wx_cv_use_protocol"
7981
7982 if test x"$enablestring" = xdisable; then
7983 if test $wxUSE_PROTOCOL = yes; then
7984 result=no
7985 else
7986 result=yes
7987 fi
7988 else
7989 result=$wxUSE_PROTOCOL
7990 fi
7991
7992 { echo "$as_me:$LINENO: result: $result" >&5
7993 echo "${ECHO_T}$result" >&6; }
7994
7995
7996 enablestring=
7997 defaultval=$wxUSE_ALL_FEATURES
7998 if test -z "$defaultval"; then
7999 if test x"$enablestring" = xdisable; then
8000 defaultval=yes
8001 else
8002 defaultval=no
8003 fi
8004 fi
8005
8006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8008 # Check whether --enable-protocol_http was given.
8009 if test "${enable_protocol_http+set}" = set; then
8010 enableval=$enable_protocol_http;
8011 if test "$enableval" = yes; then
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8013 else
8014 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8015 fi
8016
8017 else
8018
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8020
8021 fi
8022
8023
8024 eval "$wx_cv_use_protocol_http"
8025
8026 if test x"$enablestring" = xdisable; then
8027 if test $wxUSE_PROTOCOL_HTTP = yes; then
8028 result=no
8029 else
8030 result=yes
8031 fi
8032 else
8033 result=$wxUSE_PROTOCOL_HTTP
8034 fi
8035
8036 { echo "$as_me:$LINENO: result: $result" >&5
8037 echo "${ECHO_T}$result" >&6; }
8038
8039
8040 enablestring=
8041 defaultval=$wxUSE_ALL_FEATURES
8042 if test -z "$defaultval"; then
8043 if test x"$enablestring" = xdisable; then
8044 defaultval=yes
8045 else
8046 defaultval=no
8047 fi
8048 fi
8049
8050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8052 # Check whether --enable-protocol_ftp was given.
8053 if test "${enable_protocol_ftp+set}" = set; then
8054 enableval=$enable_protocol_ftp;
8055 if test "$enableval" = yes; then
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8057 else
8058 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8059 fi
8060
8061 else
8062
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8064
8065 fi
8066
8067
8068 eval "$wx_cv_use_protocol_ftp"
8069
8070 if test x"$enablestring" = xdisable; then
8071 if test $wxUSE_PROTOCOL_FTP = yes; then
8072 result=no
8073 else
8074 result=yes
8075 fi
8076 else
8077 result=$wxUSE_PROTOCOL_FTP
8078 fi
8079
8080 { echo "$as_me:$LINENO: result: $result" >&5
8081 echo "${ECHO_T}$result" >&6; }
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8096 # Check whether --enable-protocol_file was given.
8097 if test "${enable_protocol_file+set}" = set; then
8098 enableval=$enable_protocol_file;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8101 else
8102 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8103 fi
8104
8105 else
8106
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_protocol_file"
8113
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_PROTOCOL_FILE = yes; then
8116 result=no
8117 else
8118 result=yes
8119 fi
8120 else
8121 result=$wxUSE_PROTOCOL_FILE
8122 fi
8123
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8126
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8141 # Check whether --enable-threads was given.
8142 if test "${enable_threads+set}" = set; then
8143 enableval=$enable_threads;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_threads='wxUSE_THREADS=yes'
8146 else
8147 wx_cv_use_threads='wxUSE_THREADS=no'
8148 fi
8149
8150 else
8151
8152 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8153
8154 fi
8155
8156
8157 eval "$wx_cv_use_threads"
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_THREADS = yes; then
8161 result=no
8162 else
8163 result=yes
8164 fi
8165 else
8166 result=$wxUSE_THREADS
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173
8174 enablestring=
8175 defaultval=
8176 if test -z "$defaultval"; then
8177 if test x"$enablestring" = xdisable; then
8178 defaultval=yes
8179 else
8180 defaultval=no
8181 fi
8182 fi
8183
8184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8186 # Check whether --enable-iniconf was given.
8187 if test "${enable_iniconf+set}" = set; then
8188 enableval=$enable_iniconf;
8189 if test "$enableval" = yes; then
8190 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8191 else
8192 wx_cv_use_iniconf='wxUSE_INICONF=no'
8193 fi
8194
8195 else
8196
8197 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8198
8199 fi
8200
8201
8202 eval "$wx_cv_use_iniconf"
8203
8204 if test x"$enablestring" = xdisable; then
8205 if test $wxUSE_INICONF = yes; then
8206 result=no
8207 else
8208 result=yes
8209 fi
8210 else
8211 result=$wxUSE_INICONF
8212 fi
8213
8214 { echo "$as_me:$LINENO: result: $result" >&5
8215 echo "${ECHO_T}$result" >&6; }
8216
8217
8218 enablestring=
8219 defaultval=$wxUSE_ALL_FEATURES
8220 if test -z "$defaultval"; then
8221 if test x"$enablestring" = xdisable; then
8222 defaultval=yes
8223 else
8224 defaultval=no
8225 fi
8226 fi
8227
8228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8230 # Check whether --enable-regkey was given.
8231 if test "${enable_regkey+set}" = set; then
8232 enableval=$enable_regkey;
8233 if test "$enableval" = yes; then
8234 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8235 else
8236 wx_cv_use_regkey='wxUSE_REGKEY=no'
8237 fi
8238
8239 else
8240
8241 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8242
8243 fi
8244
8245
8246 eval "$wx_cv_use_regkey"
8247
8248 if test x"$enablestring" = xdisable; then
8249 if test $wxUSE_REGKEY = yes; then
8250 result=no
8251 else
8252 result=yes
8253 fi
8254 else
8255 result=$wxUSE_REGKEY
8256 fi
8257
8258 { echo "$as_me:$LINENO: result: $result" >&5
8259 echo "${ECHO_T}$result" >&6; }
8260
8261
8262 if test "$wxUSE_GUI" = "yes"; then
8263
8264
8265
8266 enablestring=
8267 defaultval=$wxUSE_ALL_FEATURES
8268 if test -z "$defaultval"; then
8269 if test x"$enablestring" = xdisable; then
8270 defaultval=yes
8271 else
8272 defaultval=no
8273 fi
8274 fi
8275
8276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8278 # Check whether --enable-docview was given.
8279 if test "${enable_docview+set}" = set; then
8280 enableval=$enable_docview;
8281 if test "$enableval" = yes; then
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8283 else
8284 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8285 fi
8286
8287 else
8288
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8290
8291 fi
8292
8293
8294 eval "$wx_cv_use_docview"
8295
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8298 result=no
8299 else
8300 result=yes
8301 fi
8302 else
8303 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8304 fi
8305
8306 { echo "$as_me:$LINENO: result: $result" >&5
8307 echo "${ECHO_T}$result" >&6; }
8308
8309
8310 enablestring=
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8314 defaultval=yes
8315 else
8316 defaultval=no
8317 fi
8318 fi
8319
8320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8322 # Check whether --enable-help was given.
8323 if test "${enable_help+set}" = set; then
8324 enableval=$enable_help;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_help='wxUSE_HELP=yes'
8327 else
8328 wx_cv_use_help='wxUSE_HELP=no'
8329 fi
8330
8331 else
8332
8333 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8334
8335 fi
8336
8337
8338 eval "$wx_cv_use_help"
8339
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_HELP = yes; then
8342 result=no
8343 else
8344 result=yes
8345 fi
8346 else
8347 result=$wxUSE_HELP
8348 fi
8349
8350 { echo "$as_me:$LINENO: result: $result" >&5
8351 echo "${ECHO_T}$result" >&6; }
8352
8353
8354 enablestring=
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8358 defaultval=yes
8359 else
8360 defaultval=no
8361 fi
8362 fi
8363
8364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8366 # Check whether --enable-mshtmlhelp was given.
8367 if test "${enable_mshtmlhelp+set}" = set; then
8368 enableval=$enable_mshtmlhelp;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8371 else
8372 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8373 fi
8374
8375 else
8376
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8378
8379 fi
8380
8381
8382 eval "$wx_cv_use_mshtmlhelp"
8383
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_MS_HTML_HELP = yes; then
8386 result=no
8387 else
8388 result=yes
8389 fi
8390 else
8391 result=$wxUSE_MS_HTML_HELP
8392 fi
8393
8394 { echo "$as_me:$LINENO: result: $result" >&5
8395 echo "${ECHO_T}$result" >&6; }
8396
8397
8398 enablestring=
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8402 defaultval=yes
8403 else
8404 defaultval=no
8405 fi
8406 fi
8407
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8410 # Check whether --enable-html was given.
8411 if test "${enable_html+set}" = set; then
8412 enableval=$enable_html;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_html='wxUSE_HTML=yes'
8415 else
8416 wx_cv_use_html='wxUSE_HTML=no'
8417 fi
8418
8419 else
8420
8421 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8422
8423 fi
8424
8425
8426 eval "$wx_cv_use_html"
8427
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_HTML = yes; then
8430 result=no
8431 else
8432 result=yes
8433 fi
8434 else
8435 result=$wxUSE_HTML
8436 fi
8437
8438 { echo "$as_me:$LINENO: result: $result" >&5
8439 echo "${ECHO_T}$result" >&6; }
8440
8441
8442 enablestring=
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8446 defaultval=yes
8447 else
8448 defaultval=no
8449 fi
8450 fi
8451
8452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8454 # Check whether --enable-htmlhelp was given.
8455 if test "${enable_htmlhelp+set}" = set; then
8456 enableval=$enable_htmlhelp;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8459 else
8460 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8461 fi
8462
8463 else
8464
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8466
8467 fi
8468
8469
8470 eval "$wx_cv_use_htmlhelp"
8471
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_WXHTML_HELP = yes; then
8474 result=no
8475 else
8476 result=yes
8477 fi
8478 else
8479 result=$wxUSE_WXHTML_HELP
8480 fi
8481
8482 { echo "$as_me:$LINENO: result: $result" >&5
8483 echo "${ECHO_T}$result" >&6; }
8484
8485
8486 enablestring=
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8490 defaultval=yes
8491 else
8492 defaultval=no
8493 fi
8494 fi
8495
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8498 # Check whether --enable-xrc was given.
8499 if test "${enable_xrc+set}" = set; then
8500 enableval=$enable_xrc;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_xrc='wxUSE_XRC=yes'
8503 else
8504 wx_cv_use_xrc='wxUSE_XRC=no'
8505 fi
8506
8507 else
8508
8509 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_xrc"
8515
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_XRC = yes; then
8518 result=no
8519 else
8520 result=yes
8521 fi
8522 else
8523 result=$wxUSE_XRC
8524 fi
8525
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8528
8529
8530 enablestring=
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8534 defaultval=yes
8535 else
8536 defaultval=no
8537 fi
8538 fi
8539
8540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8542 # Check whether --enable-aui was given.
8543 if test "${enable_aui+set}" = set; then
8544 enableval=$enable_aui;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_aui='wxUSE_AUI=yes'
8547 else
8548 wx_cv_use_aui='wxUSE_AUI=no'
8549 fi
8550
8551 else
8552
8553 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_aui"
8559
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_AUI = yes; then
8562 result=no
8563 else
8564 result=yes
8565 fi
8566 else
8567 result=$wxUSE_AUI
8568 fi
8569
8570 { echo "$as_me:$LINENO: result: $result" >&5
8571 echo "${ECHO_T}$result" >&6; }
8572
8573
8574 enablestring=
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8578 defaultval=yes
8579 else
8580 defaultval=no
8581 fi
8582 fi
8583
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8586 # Check whether --enable-stc was given.
8587 if test "${enable_stc+set}" = set; then
8588 enableval=$enable_stc;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_stc='wxUSE_STC=yes'
8591 else
8592 wx_cv_use_stc='wxUSE_STC=no'
8593 fi
8594
8595 else
8596
8597 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$wx_cv_use_stc"
8603
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_STC = yes; then
8606 result=no
8607 else
8608 result=yes
8609 fi
8610 else
8611 result=$wxUSE_STC
8612 fi
8613
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8616
8617
8618 enablestring=
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8622 defaultval=yes
8623 else
8624 defaultval=no
8625 fi
8626 fi
8627
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8630 # Check whether --enable-constraints was given.
8631 if test "${enable_constraints+set}" = set; then
8632 enableval=$enable_constraints;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8635 else
8636 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8637 fi
8638
8639 else
8640
8641 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8642
8643 fi
8644
8645
8646 eval "$wx_cv_use_constraints"
8647
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_CONSTRAINTS = yes; then
8650 result=no
8651 else
8652 result=yes
8653 fi
8654 else
8655 result=$wxUSE_CONSTRAINTS
8656 fi
8657
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8660
8661
8662 enablestring=
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8666 defaultval=yes
8667 else
8668 defaultval=no
8669 fi
8670 fi
8671
8672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8673 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8674 # Check whether --enable-loggui was given.
8675 if test "${enable_loggui+set}" = set; then
8676 enableval=$enable_loggui;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8679 else
8680 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8681 fi
8682
8683 else
8684
8685 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8686
8687 fi
8688
8689
8690 eval "$wx_cv_use_loggui"
8691
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_LOGGUI = yes; then
8694 result=no
8695 else
8696 result=yes
8697 fi
8698 else
8699 result=$wxUSE_LOGGUI
8700 fi
8701
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8718 # Check whether --enable-logwin was given.
8719 if test "${enable_logwin+set}" = set; then
8720 enableval=$enable_logwin;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8723 else
8724 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8725 fi
8726
8727 else
8728
8729 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8730
8731 fi
8732
8733
8734 eval "$wx_cv_use_logwin"
8735
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_LOGWINDOW = yes; then
8738 result=no
8739 else
8740 result=yes
8741 fi
8742 else
8743 result=$wxUSE_LOGWINDOW
8744 fi
8745
8746 { echo "$as_me:$LINENO: result: $result" >&5
8747 echo "${ECHO_T}$result" >&6; }
8748
8749
8750 enablestring=
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8754 defaultval=yes
8755 else
8756 defaultval=no
8757 fi
8758 fi
8759
8760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8762 # Check whether --enable-logdialog was given.
8763 if test "${enable_logdialog+set}" = set; then
8764 enableval=$enable_logdialog;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8767 else
8768 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8769 fi
8770
8771 else
8772
8773 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8774
8775 fi
8776
8777
8778 eval "$wx_cv_use_logdialog"
8779
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_LOGDIALOG = yes; then
8782 result=no
8783 else
8784 result=yes
8785 fi
8786 else
8787 result=$wxUSE_LOGDIALOG
8788 fi
8789
8790 { echo "$as_me:$LINENO: result: $result" >&5
8791 echo "${ECHO_T}$result" >&6; }
8792
8793
8794 enablestring=
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8798 defaultval=yes
8799 else
8800 defaultval=no
8801 fi
8802 fi
8803
8804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8805 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8806 # Check whether --enable-mdi was given.
8807 if test "${enable_mdi+set}" = set; then
8808 enableval=$enable_mdi;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_mdi='wxUSE_MDI=yes'
8811 else
8812 wx_cv_use_mdi='wxUSE_MDI=no'
8813 fi
8814
8815 else
8816
8817 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8818
8819 fi
8820
8821
8822 eval "$wx_cv_use_mdi"
8823
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_MDI = yes; then
8826 result=no
8827 else
8828 result=yes
8829 fi
8830 else
8831 result=$wxUSE_MDI
8832 fi
8833
8834 { echo "$as_me:$LINENO: result: $result" >&5
8835 echo "${ECHO_T}$result" >&6; }
8836
8837
8838 enablestring=
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8842 defaultval=yes
8843 else
8844 defaultval=no
8845 fi
8846 fi
8847
8848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8850 # Check whether --enable-mdidoc was given.
8851 if test "${enable_mdidoc+set}" = set; then
8852 enableval=$enable_mdidoc;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8855 else
8856 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8857 fi
8858
8859 else
8860
8861 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8862
8863 fi
8864
8865
8866 eval "$wx_cv_use_mdidoc"
8867
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8870 result=no
8871 else
8872 result=yes
8873 fi
8874 else
8875 result=$wxUSE_MDI_ARCHITECTURE
8876 fi
8877
8878 { echo "$as_me:$LINENO: result: $result" >&5
8879 echo "${ECHO_T}$result" >&6; }
8880
8881
8882 enablestring=
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8886 defaultval=yes
8887 else
8888 defaultval=no
8889 fi
8890 fi
8891
8892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8894 # Check whether --enable-mediactrl was given.
8895 if test "${enable_mediactrl+set}" = set; then
8896 enableval=$enable_mediactrl;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8899 else
8900 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8901 fi
8902
8903 else
8904
8905 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8906
8907 fi
8908
8909
8910 eval "$wx_cv_use_mediactrl"
8911
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_MEDIACTRL = yes; then
8914 result=no
8915 else
8916 result=yes
8917 fi
8918 else
8919 result=$wxUSE_MEDIACTRL
8920 fi
8921
8922 { echo "$as_me:$LINENO: result: $result" >&5
8923 echo "${ECHO_T}$result" >&6; }
8924
8925
8926 enablestring=
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8930 defaultval=yes
8931 else
8932 defaultval=no
8933 fi
8934 fi
8935
8936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8938 # Check whether --enable-gstreamer8 was given.
8939 if test "${enable_gstreamer8+set}" = set; then
8940 enableval=$enable_gstreamer8;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8943 else
8944 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8945 fi
8946
8947 else
8948
8949 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8950
8951 fi
8952
8953
8954 eval "$wx_cv_use_gstreamer8"
8955
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_GSTREAMER8 = yes; then
8958 result=no
8959 else
8960 result=yes
8961 fi
8962 else
8963 result=$wxUSE_GSTREAMER8
8964 fi
8965
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8982 # Check whether --enable-webkit was given.
8983 if test "${enable_webkit+set}" = set; then
8984 enableval=$enable_webkit;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8987 else
8988 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8989 fi
8990
8991 else
8992
8993 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8994
8995 fi
8996
8997
8998 eval "$wx_cv_use_webkit"
8999
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_WEBKIT = yes; then
9002 result=no
9003 else
9004 result=yes
9005 fi
9006 else
9007 result=$wxUSE_WEBKIT
9008 fi
9009
9010 { echo "$as_me:$LINENO: result: $result" >&5
9011 echo "${ECHO_T}$result" >&6; }
9012
9013
9014 enablestring=
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9018 defaultval=yes
9019 else
9020 defaultval=no
9021 fi
9022 fi
9023
9024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9026 # Check whether --enable-richtext was given.
9027 if test "${enable_richtext+set}" = set; then
9028 enableval=$enable_richtext;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9031 else
9032 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9033 fi
9034
9035 else
9036
9037 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9038
9039 fi
9040
9041
9042 eval "$wx_cv_use_richtext"
9043
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_RICHTEXT = yes; then
9046 result=no
9047 else
9048 result=yes
9049 fi
9050 else
9051 result=$wxUSE_RICHTEXT
9052 fi
9053
9054 { echo "$as_me:$LINENO: result: $result" >&5
9055 echo "${ECHO_T}$result" >&6; }
9056
9057
9058 enablestring=
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9062 defaultval=yes
9063 else
9064 defaultval=no
9065 fi
9066 fi
9067
9068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9069 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9070 # Check whether --enable-graphics_ctx was given.
9071 if test "${enable_graphics_ctx+set}" = set; then
9072 enableval=$enable_graphics_ctx;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9075 else
9076 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9077 fi
9078
9079 else
9080
9081 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9082
9083 fi
9084
9085
9086 eval "$wx_cv_use_graphics_ctx"
9087
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9090 result=no
9091 else
9092 result=yes
9093 fi
9094 else
9095 result=$wxUSE_GRAPHICS_CONTEXT
9096 fi
9097
9098 { echo "$as_me:$LINENO: result: $result" >&5
9099 echo "${ECHO_T}$result" >&6; }
9100
9101
9102 enablestring=
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9106 defaultval=yes
9107 else
9108 defaultval=no
9109 fi
9110 fi
9111
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9114 # Check whether --enable-postscript was given.
9115 if test "${enable_postscript+set}" = set; then
9116 enableval=$enable_postscript;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9119 else
9120 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9121 fi
9122
9123 else
9124
9125 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_postscript"
9131
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_POSTSCRIPT = yes; then
9134 result=no
9135 else
9136 result=yes
9137 fi
9138 else
9139 result=$wxUSE_POSTSCRIPT
9140 fi
9141
9142 { echo "$as_me:$LINENO: result: $result" >&5
9143 echo "${ECHO_T}$result" >&6; }
9144
9145
9146 enablestring=
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9150 defaultval=yes
9151 else
9152 defaultval=no
9153 fi
9154 fi
9155
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9158 # Check whether --enable-printarch was given.
9159 if test "${enable_printarch+set}" = set; then
9160 enableval=$enable_printarch;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9163 else
9164 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9165 fi
9166
9167 else
9168
9169 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_printarch"
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9178 result=no
9179 else
9180 result=yes
9181 fi
9182 else
9183 result=$wxUSE_PRINTING_ARCHITECTURE
9184 fi
9185
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9188
9189
9190 enablestring=
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9194 defaultval=yes
9195 else
9196 defaultval=no
9197 fi
9198 fi
9199
9200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9202 # Check whether --enable-svg was given.
9203 if test "${enable_svg+set}" = set; then
9204 enableval=$enable_svg;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_svg='wxUSE_SVG=yes'
9207 else
9208 wx_cv_use_svg='wxUSE_SVG=no'
9209 fi
9210
9211 else
9212
9213 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_svg"
9219
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_SVG = yes; then
9222 result=no
9223 else
9224 result=yes
9225 fi
9226 else
9227 result=$wxUSE_SVG
9228 fi
9229
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9232
9233
9234
9235
9236 enablestring=
9237 defaultval=$wxUSE_ALL_FEATURES
9238 if test -z "$defaultval"; then
9239 if test x"$enablestring" = xdisable; then
9240 defaultval=yes
9241 else
9242 defaultval=no
9243 fi
9244 fi
9245
9246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9248 # Check whether --enable-clipboard was given.
9249 if test "${enable_clipboard+set}" = set; then
9250 enableval=$enable_clipboard;
9251 if test "$enableval" = yes; then
9252 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9253 else
9254 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9255 fi
9256
9257 else
9258
9259 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9260
9261 fi
9262
9263
9264 eval "$wx_cv_use_clipboard"
9265
9266 if test x"$enablestring" = xdisable; then
9267 if test $wxUSE_CLIPBOARD = yes; then
9268 result=no
9269 else
9270 result=yes
9271 fi
9272 else
9273 result=$wxUSE_CLIPBOARD
9274 fi
9275
9276 { echo "$as_me:$LINENO: result: $result" >&5
9277 echo "${ECHO_T}$result" >&6; }
9278
9279
9280 enablestring=
9281 defaultval=$wxUSE_ALL_FEATURES
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9284 defaultval=yes
9285 else
9286 defaultval=no
9287 fi
9288 fi
9289
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9292 # Check whether --enable-dnd was given.
9293 if test "${enable_dnd+set}" = set; then
9294 enableval=$enable_dnd;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9297 else
9298 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9299 fi
9300
9301 else
9302
9303 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9304
9305 fi
9306
9307
9308 eval "$wx_cv_use_dnd"
9309
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_DRAG_AND_DROP = yes; then
9312 result=no
9313 else
9314 result=yes
9315 fi
9316 else
9317 result=$wxUSE_DRAG_AND_DROP
9318 fi
9319
9320 { echo "$as_me:$LINENO: result: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9322
9323
9324 enablestring=
9325 defaultval=$wxUSE_ALL_FEATURES
9326 if test -z "$defaultval"; then
9327 if test x"$enablestring" = xdisable; then
9328 defaultval=yes
9329 else
9330 defaultval=no
9331 fi
9332 fi
9333
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9336 # Check whether --enable-metafile was given.
9337 if test "${enable_metafile+set}" = set; then
9338 enableval=$enable_metafile;
9339 if test "$enableval" = yes; then
9340 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9341 else
9342 wx_cv_use_metafile='wxUSE_METAFILE=no'
9343 fi
9344
9345 else
9346
9347 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9348
9349 fi
9350
9351
9352 eval "$wx_cv_use_metafile"
9353
9354 if test x"$enablestring" = xdisable; then
9355 if test $wxUSE_METAFILE = yes; then
9356 result=no
9357 else
9358 result=yes
9359 fi
9360 else
9361 result=$wxUSE_METAFILE
9362 fi
9363
9364 { echo "$as_me:$LINENO: result: $result" >&5
9365 echo "${ECHO_T}$result" >&6; }
9366
9367
9368
9369 DEFAULT_wxUSE_CONTROLS=none
9370
9371 enablestring=disable
9372 defaultval=
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9375 defaultval=yes
9376 else
9377 defaultval=no
9378 fi
9379 fi
9380
9381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9382 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9383 # Check whether --enable-controls was given.
9384 if test "${enable_controls+set}" = set; then
9385 enableval=$enable_controls;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9388 else
9389 wx_cv_use_controls='wxUSE_CONTROLS=no'
9390 fi
9391
9392 else
9393
9394 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9395
9396 fi
9397
9398
9399 eval "$wx_cv_use_controls"
9400
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_CONTROLS = yes; then
9403 result=no
9404 else
9405 result=yes
9406 fi
9407 else
9408 result=$wxUSE_CONTROLS
9409 fi
9410
9411 { echo "$as_me:$LINENO: result: $result" >&5
9412 echo "${ECHO_T}$result" >&6; }
9413
9414
9415 if test "$wxUSE_CONTROLS" = "yes"; then
9416 DEFAULT_wxUSE_ACCEL=yes
9417 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9418 DEFAULT_wxUSE_BMPBUTTON=yes
9419 DEFAULT_wxUSE_BUTTON=yes
9420 DEFAULT_wxUSE_CALCTRL=yes
9421 DEFAULT_wxUSE_CARET=yes
9422 DEFAULT_wxUSE_COMBOBOX=yes
9423 DEFAULT_wxUSE_CHECKBOX=yes
9424 DEFAULT_wxUSE_CHECKLISTBOX=yes
9425 DEFAULT_wxUSE_CHOICE=yes
9426 DEFAULT_wxUSE_CHOICEBOOK=yes
9427 DEFAULT_wxUSE_COLLPANE=yes
9428 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9429 DEFAULT_wxUSE_COMBOBOX=yes
9430 DEFAULT_wxUSE_DATEPICKCTRL=yes
9431 DEFAULT_wxUSE_DISPLAY=yes
9432 DEFAULT_wxUSE_DETECT_SM=yes
9433 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9434 DEFAULT_wxUSE_FILECTRL=yes
9435 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9436 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9437 DEFAULT_wxUSE_GAUGE=yes
9438 DEFAULT_wxUSE_GRID=yes
9439 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9440 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9441 DEFAULT_wxUSE_IMAGLIST=yes
9442 DEFAULT_wxUSE_LISTBOOK=yes
9443 DEFAULT_wxUSE_LISTBOX=yes
9444 DEFAULT_wxUSE_LISTCTRL=yes
9445 DEFAULT_wxUSE_NOTEBOOK=yes
9446 DEFAULT_wxUSE_RADIOBOX=yes
9447 DEFAULT_wxUSE_RADIOBTN=yes
9448 DEFAULT_wxUSE_SASH=yes
9449 DEFAULT_wxUSE_SCROLLBAR=yes
9450 DEFAULT_wxUSE_SEARCHCTRL=yes
9451 DEFAULT_wxUSE_SLIDER=yes
9452 DEFAULT_wxUSE_SPINBTN=yes
9453 DEFAULT_wxUSE_SPINCTRL=yes
9454 DEFAULT_wxUSE_SPLITTER=yes
9455 DEFAULT_wxUSE_STATBMP=yes
9456 DEFAULT_wxUSE_STATBOX=yes
9457 DEFAULT_wxUSE_STATLINE=yes
9458 DEFAULT_wxUSE_STATUSBAR=yes
9459 DEFAULT_wxUSE_TAB_DIALOG=yes
9460 DEFAULT_wxUSE_TOGGLEBTN=yes
9461 DEFAULT_wxUSE_TOOLBAR=yes
9462 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9463 DEFAULT_wxUSE_TOOLTIPS=yes
9464 DEFAULT_wxUSE_TREEBOOK=yes
9465 DEFAULT_wxUSE_TOOLBOOK=yes
9466 DEFAULT_wxUSE_TREECTRL=yes
9467 DEFAULT_wxUSE_POPUPWIN=yes
9468 DEFAULT_wxUSE_TIPWINDOW=yes
9469 elif test "$wxUSE_CONTROLS" = "no"; then
9470 DEFAULT_wxUSE_ACCEL=no
9471 DEFAULT_wxUSE_ANIMATIONCTRL=no
9472 DEFAULT_wxUSE_BMPBUTTON=no
9473 DEFAULT_wxUSE_BUTTON=no
9474 DEFAULT_wxUSE_CALCTRL=no
9475 DEFAULT_wxUSE_CARET=no
9476 DEFAULT_wxUSE_COLLPANE=no
9477 DEFAULT_wxUSE_COMBOBOX=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9483 DEFAULT_wxUSE_COMBOBOX=no
9484 DEFAULT_wxUSE_DATEPICKCTRL=no
9485 DEFAULT_wxUSE_DISPLAY=no
9486 DEFAULT_wxUSE_DETECT_SM=no
9487 DEFAULT_wxUSE_DIRPICKERCTRL=no
9488 DEFAULT_wxUSE_FILECTRL=no
9489 DEFAULT_wxUSE_FILEPICKERCTRL=no
9490 DEFAULT_wxUSE_FONTPICKERCTRL=no
9491 DEFAULT_wxUSE_GAUGE=no
9492 DEFAULT_wxUSE_GRID=no
9493 DEFAULT_wxUSE_HYPERLINKCTRL=no
9494 DEFAULT_wxUSE_DATAVIEWCTRL=no
9495 DEFAULT_wxUSE_IMAGLIST=no
9496 DEFAULT_wxUSE_LISTBOOK=no
9497 DEFAULT_wxUSE_LISTBOX=no
9498 DEFAULT_wxUSE_LISTCTRL=no
9499 DEFAULT_wxUSE_NOTEBOOK=no
9500 DEFAULT_wxUSE_RADIOBOX=no
9501 DEFAULT_wxUSE_RADIOBTN=no
9502 DEFAULT_wxUSE_SASH=no
9503 DEFAULT_wxUSE_SCROLLBAR=no
9504 DEFAULT_wxUSE_SEARCHCTRL=no
9505 DEFAULT_wxUSE_SLIDER=no
9506 DEFAULT_wxUSE_SPINBTN=no
9507 DEFAULT_wxUSE_SPINCTRL=no
9508 DEFAULT_wxUSE_SPLITTER=no
9509 DEFAULT_wxUSE_STATBMP=no
9510 DEFAULT_wxUSE_STATBOX=no
9511 DEFAULT_wxUSE_STATLINE=no
9512 DEFAULT_wxUSE_STATUSBAR=no
9513 DEFAULT_wxUSE_TAB_DIALOG=no
9514 DEFAULT_wxUSE_TOGGLEBTN=no
9515 DEFAULT_wxUSE_TOOLBAR=no
9516 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9517 DEFAULT_wxUSE_TOOLTIPS=no
9518 DEFAULT_wxUSE_TREEBOOK=no
9519 DEFAULT_wxUSE_TOOLBOOK=no
9520 DEFAULT_wxUSE_TREECTRL=no
9521 DEFAULT_wxUSE_POPUPWIN=no
9522 DEFAULT_wxUSE_TIPWINDOW=no
9523 fi
9524
9525
9526 enablestring=
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9530 defaultval=yes
9531 else
9532 defaultval=no
9533 fi
9534 fi
9535
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9538 # Check whether --enable-accel was given.
9539 if test "${enable_accel+set}" = set; then
9540 enableval=$enable_accel;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_accel='wxUSE_ACCEL=yes'
9543 else
9544 wx_cv_use_accel='wxUSE_ACCEL=no'
9545 fi
9546
9547 else
9548
9549 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9550
9551 fi
9552
9553
9554 eval "$wx_cv_use_accel"
9555
9556 if test x"$enablestring" = xdisable; then
9557 if test $wxUSE_ACCEL = yes; then
9558 result=no
9559 else
9560 result=yes
9561 fi
9562 else
9563 result=$wxUSE_ACCEL
9564 fi
9565
9566 { echo "$as_me:$LINENO: result: $result" >&5
9567 echo "${ECHO_T}$result" >&6; }
9568
9569
9570 enablestring=
9571 defaultval=$wxUSE_ALL_FEATURES
9572 if test -z "$defaultval"; then
9573 if test x"$enablestring" = xdisable; then
9574 defaultval=yes
9575 else
9576 defaultval=no
9577 fi
9578 fi
9579
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9582 # Check whether --enable-animatectrl was given.
9583 if test "${enable_animatectrl+set}" = set; then
9584 enableval=$enable_animatectrl;
9585 if test "$enableval" = yes; then
9586 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9587 else
9588 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9589 fi
9590
9591 else
9592
9593 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9594
9595 fi
9596
9597
9598 eval "$wx_cv_use_animatectrl"
9599
9600 if test x"$enablestring" = xdisable; then
9601 if test $wxUSE_ANIMATIONCTRL = yes; then
9602 result=no
9603 else
9604 result=yes
9605 fi
9606 else
9607 result=$wxUSE_ANIMATIONCTRL
9608 fi
9609
9610 { echo "$as_me:$LINENO: result: $result" >&5
9611 echo "${ECHO_T}$result" >&6; }
9612
9613
9614 enablestring=
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9618 defaultval=yes
9619 else
9620 defaultval=no
9621 fi
9622 fi
9623
9624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9626 # Check whether --enable-button was given.
9627 if test "${enable_button+set}" = set; then
9628 enableval=$enable_button;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_button='wxUSE_BUTTON=yes'
9631 else
9632 wx_cv_use_button='wxUSE_BUTTON=no'
9633 fi
9634
9635 else
9636
9637 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9638
9639 fi
9640
9641
9642 eval "$wx_cv_use_button"
9643
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_BUTTON = yes; then
9646 result=no
9647 else
9648 result=yes
9649 fi
9650 else
9651 result=$wxUSE_BUTTON
9652 fi
9653
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9656
9657
9658 enablestring=
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9662 defaultval=yes
9663 else
9664 defaultval=no
9665 fi
9666 fi
9667
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9670 # Check whether --enable-bmpbutton was given.
9671 if test "${enable_bmpbutton+set}" = set; then
9672 enableval=$enable_bmpbutton;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9675 else
9676 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9677 fi
9678
9679 else
9680
9681 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9682
9683 fi
9684
9685
9686 eval "$wx_cv_use_bmpbutton"
9687
9688 if test x"$enablestring" = xdisable; then
9689 if test $wxUSE_BMPBUTTON = yes; then
9690 result=no
9691 else
9692 result=yes
9693 fi
9694 else
9695 result=$wxUSE_BMPBUTTON
9696 fi
9697
9698 { echo "$as_me:$LINENO: result: $result" >&5
9699 echo "${ECHO_T}$result" >&6; }
9700
9701
9702 enablestring=
9703 defaultval=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x"$enablestring" = xdisable; then
9706 defaultval=yes
9707 else
9708 defaultval=no
9709 fi
9710 fi
9711
9712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9713 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9714 # Check whether --enable-bmpcombobox was given.
9715 if test "${enable_bmpcombobox+set}" = set; then
9716 enableval=$enable_bmpcombobox;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9719 else
9720 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9721 fi
9722
9723 else
9724
9725 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9726
9727 fi
9728
9729
9730 eval "$wx_cv_use_bmpcombobox"
9731
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9734 result=no
9735 else
9736 result=yes
9737 fi
9738 else
9739 result=$wxUSE_BITMAPCOMBOBOX
9740 fi
9741
9742 { echo "$as_me:$LINENO: result: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9744
9745
9746 enablestring=
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9750 defaultval=yes
9751 else
9752 defaultval=no
9753 fi
9754 fi
9755
9756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9758 # Check whether --enable-calendar was given.
9759 if test "${enable_calendar+set}" = set; then
9760 enableval=$enable_calendar;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9763 else
9764 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9765 fi
9766
9767 else
9768
9769 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9770
9771 fi
9772
9773
9774 eval "$wx_cv_use_calendar"
9775
9776 if test x"$enablestring" = xdisable; then
9777 if test $wxUSE_CALCTRL = yes; then
9778 result=no
9779 else
9780 result=yes
9781 fi
9782 else
9783 result=$wxUSE_CALCTRL
9784 fi
9785
9786 { echo "$as_me:$LINENO: result: $result" >&5
9787 echo "${ECHO_T}$result" >&6; }
9788
9789
9790 enablestring=
9791 defaultval=$wxUSE_ALL_FEATURES
9792 if test -z "$defaultval"; then
9793 if test x"$enablestring" = xdisable; then
9794 defaultval=yes
9795 else
9796 defaultval=no
9797 fi
9798 fi
9799
9800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9802 # Check whether --enable-caret was given.
9803 if test "${enable_caret+set}" = set; then
9804 enableval=$enable_caret;
9805 if test "$enableval" = yes; then
9806 wx_cv_use_caret='wxUSE_CARET=yes'
9807 else
9808 wx_cv_use_caret='wxUSE_CARET=no'
9809 fi
9810
9811 else
9812
9813 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9814
9815 fi
9816
9817
9818 eval "$wx_cv_use_caret"
9819
9820 if test x"$enablestring" = xdisable; then
9821 if test $wxUSE_CARET = yes; then
9822 result=no
9823 else
9824 result=yes
9825 fi
9826 else
9827 result=$wxUSE_CARET
9828 fi
9829
9830 { echo "$as_me:$LINENO: result: $result" >&5
9831 echo "${ECHO_T}$result" >&6; }
9832
9833
9834 enablestring=
9835 defaultval=$wxUSE_ALL_FEATURES
9836 if test -z "$defaultval"; then
9837 if test x"$enablestring" = xdisable; then
9838 defaultval=yes
9839 else
9840 defaultval=no
9841 fi
9842 fi
9843
9844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9846 # Check whether --enable-checkbox was given.
9847 if test "${enable_checkbox+set}" = set; then
9848 enableval=$enable_checkbox;
9849 if test "$enableval" = yes; then
9850 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9851 else
9852 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9853 fi
9854
9855 else
9856
9857 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9858
9859 fi
9860
9861
9862 eval "$wx_cv_use_checkbox"
9863
9864 if test x"$enablestring" = xdisable; then
9865 if test $wxUSE_CHECKBOX = yes; then
9866 result=no
9867 else
9868 result=yes
9869 fi
9870 else
9871 result=$wxUSE_CHECKBOX
9872 fi
9873
9874 { echo "$as_me:$LINENO: result: $result" >&5
9875 echo "${ECHO_T}$result" >&6; }
9876
9877
9878 enablestring=
9879 defaultval=$wxUSE_ALL_FEATURES
9880 if test -z "$defaultval"; then
9881 if test x"$enablestring" = xdisable; then
9882 defaultval=yes
9883 else
9884 defaultval=no
9885 fi
9886 fi
9887
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9890 # Check whether --enable-checklst was given.
9891 if test "${enable_checklst+set}" = set; then
9892 enableval=$enable_checklst;
9893 if test "$enableval" = yes; then
9894 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9895 else
9896 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9897 fi
9898
9899 else
9900
9901 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9902
9903 fi
9904
9905
9906 eval "$wx_cv_use_checklst"
9907
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_CHECKLST = yes; then
9910 result=no
9911 else
9912 result=yes
9913 fi
9914 else
9915 result=$wxUSE_CHECKLST
9916 fi
9917
9918 { echo "$as_me:$LINENO: result: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9920
9921
9922 enablestring=
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9926 defaultval=yes
9927 else
9928 defaultval=no
9929 fi
9930 fi
9931
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9934 # Check whether --enable-choice was given.
9935 if test "${enable_choice+set}" = set; then
9936 enableval=$enable_choice;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_choice='wxUSE_CHOICE=yes'
9939 else
9940 wx_cv_use_choice='wxUSE_CHOICE=no'
9941 fi
9942
9943 else
9944
9945 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9946
9947 fi
9948
9949
9950 eval "$wx_cv_use_choice"
9951
9952 if test x"$enablestring" = xdisable; then
9953 if test $wxUSE_CHOICE = yes; then
9954 result=no
9955 else
9956 result=yes
9957 fi
9958 else
9959 result=$wxUSE_CHOICE
9960 fi
9961
9962 { echo "$as_me:$LINENO: result: $result" >&5
9963 echo "${ECHO_T}$result" >&6; }
9964
9965
9966 enablestring=
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9970 defaultval=yes
9971 else
9972 defaultval=no
9973 fi
9974 fi
9975
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9978 # Check whether --enable-choicebook was given.
9979 if test "${enable_choicebook+set}" = set; then
9980 enableval=$enable_choicebook;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9983 else
9984 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9985 fi
9986
9987 else
9988
9989 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9990
9991 fi
9992
9993
9994 eval "$wx_cv_use_choicebook"
9995
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_CHOICEBOOK = yes; then
9998 result=no
9999 else
10000 result=yes
10001 fi
10002 else
10003 result=$wxUSE_CHOICEBOOK
10004 fi
10005
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10008
10009
10010 enablestring=
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10014 defaultval=yes
10015 else
10016 defaultval=no
10017 fi
10018 fi
10019
10020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10021 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10022 # Check whether --enable-collpane was given.
10023 if test "${enable_collpane+set}" = set; then
10024 enableval=$enable_collpane;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10027 else
10028 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10029 fi
10030
10031 else
10032
10033 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10034
10035 fi
10036
10037
10038 eval "$wx_cv_use_collpane"
10039
10040 if test x"$enablestring" = xdisable; then
10041 if test $wxUSE_COLLPANE = yes; then
10042 result=no
10043 else
10044 result=yes
10045 fi
10046 else
10047 result=$wxUSE_COLLPANE
10048 fi
10049
10050 { echo "$as_me:$LINENO: result: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10052
10053
10054 enablestring=
10055 defaultval=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x"$enablestring" = xdisable; then
10058 defaultval=yes
10059 else
10060 defaultval=no
10061 fi
10062 fi
10063
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10066 # Check whether --enable-colourpicker was given.
10067 if test "${enable_colourpicker+set}" = set; then
10068 enableval=$enable_colourpicker;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10071 else
10072 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10073 fi
10074
10075 else
10076
10077 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10078
10079 fi
10080
10081
10082 eval "$wx_cv_use_colourpicker"
10083
10084 if test x"$enablestring" = xdisable; then
10085 if test $wxUSE_COLOURPICKERCTRL = yes; then
10086 result=no
10087 else
10088 result=yes
10089 fi
10090 else
10091 result=$wxUSE_COLOURPICKERCTRL
10092 fi
10093
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10096
10097
10098 enablestring=
10099 defaultval=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x"$enablestring" = xdisable; then
10102 defaultval=yes
10103 else
10104 defaultval=no
10105 fi
10106 fi
10107
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10110 # Check whether --enable-combobox was given.
10111 if test "${enable_combobox+set}" = set; then
10112 enableval=$enable_combobox;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10115 else
10116 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10117 fi
10118
10119 else
10120
10121 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10122
10123 fi
10124
10125
10126 eval "$wx_cv_use_combobox"
10127
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_COMBOBOX = yes; then
10130 result=no
10131 else
10132 result=yes
10133 fi
10134 else
10135 result=$wxUSE_COMBOBOX
10136 fi
10137
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10140
10141
10142 enablestring=
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10146 defaultval=yes
10147 else
10148 defaultval=no
10149 fi
10150 fi
10151
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10154 # Check whether --enable-comboctrl was given.
10155 if test "${enable_comboctrl+set}" = set; then
10156 enableval=$enable_comboctrl;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10159 else
10160 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10161 fi
10162
10163 else
10164
10165 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10166
10167 fi
10168
10169
10170 eval "$wx_cv_use_comboctrl"
10171
10172 if test x"$enablestring" = xdisable; then
10173 if test $wxUSE_COMBOCTRL = yes; then
10174 result=no
10175 else
10176 result=yes
10177 fi
10178 else
10179 result=$wxUSE_COMBOCTRL
10180 fi
10181
10182 { echo "$as_me:$LINENO: result: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10184
10185
10186 enablestring=
10187 defaultval=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x"$enablestring" = xdisable; then
10190 defaultval=yes
10191 else
10192 defaultval=no
10193 fi
10194 fi
10195
10196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10198 # Check whether --enable-datepick was given.
10199 if test "${enable_datepick+set}" = set; then
10200 enableval=$enable_datepick;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10203 else
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10205 fi
10206
10207 else
10208
10209 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10210
10211 fi
10212
10213
10214 eval "$wx_cv_use_datepick"
10215
10216 if test x"$enablestring" = xdisable; then
10217 if test $wxUSE_DATEPICKCTRL = yes; then
10218 result=no
10219 else
10220 result=yes
10221 fi
10222 else
10223 result=$wxUSE_DATEPICKCTRL
10224 fi
10225
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10228
10229
10230 enablestring=
10231 defaultval=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x"$enablestring" = xdisable; then
10234 defaultval=yes
10235 else
10236 defaultval=no
10237 fi
10238 fi
10239
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10242 # Check whether --enable-dirpicker was given.
10243 if test "${enable_dirpicker+set}" = set; then
10244 enableval=$enable_dirpicker;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10247 else
10248 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10249 fi
10250
10251 else
10252
10253 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10254
10255 fi
10256
10257
10258 eval "$wx_cv_use_dirpicker"
10259
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_DIRPICKERCTRL = yes; then
10262 result=no
10263 else
10264 result=yes
10265 fi
10266 else
10267 result=$wxUSE_DIRPICKERCTRL
10268 fi
10269
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10272
10273
10274 enablestring=
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10278 defaultval=yes
10279 else
10280 defaultval=no
10281 fi
10282 fi
10283
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10286 # Check whether --enable-display was given.
10287 if test "${enable_display+set}" = set; then
10288 enableval=$enable_display;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_display='wxUSE_DISPLAY=yes'
10291 else
10292 wx_cv_use_display='wxUSE_DISPLAY=no'
10293 fi
10294
10295 else
10296
10297 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10298
10299 fi
10300
10301
10302 eval "$wx_cv_use_display"
10303
10304 if test x"$enablestring" = xdisable; then
10305 if test $wxUSE_DISPLAY = yes; then
10306 result=no
10307 else
10308 result=yes
10309 fi
10310 else
10311 result=$wxUSE_DISPLAY
10312 fi
10313
10314 { echo "$as_me:$LINENO: result: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10316
10317
10318 enablestring=
10319 defaultval=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x"$enablestring" = xdisable; then
10322 defaultval=yes
10323 else
10324 defaultval=no
10325 fi
10326 fi
10327
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10330 # Check whether --enable-detect_sm was given.
10331 if test "${enable_detect_sm+set}" = set; then
10332 enableval=$enable_detect_sm;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10335 else
10336 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10337 fi
10338
10339 else
10340
10341 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10342
10343 fi
10344
10345
10346 eval "$wx_cv_use_detect_sm"
10347
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_DETECT_SM = yes; then
10350 result=no
10351 else
10352 result=yes
10353 fi
10354 else
10355 result=$wxUSE_DETECT_SM
10356 fi
10357
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10360
10361
10362 enablestring=
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10366 defaultval=yes
10367 else
10368 defaultval=no
10369 fi
10370 fi
10371
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10374 # Check whether --enable-editablebox was given.
10375 if test "${enable_editablebox+set}" = set; then
10376 enableval=$enable_editablebox;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10379 else
10380 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10381 fi
10382
10383 else
10384
10385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10386
10387 fi
10388
10389
10390 eval "$wx_cv_use_editablebox"
10391
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_EDITABLELISTBOX = yes; then
10394 result=no
10395 else
10396 result=yes
10397 fi
10398 else
10399 result=$wxUSE_EDITABLELISTBOX
10400 fi
10401
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10404
10405
10406 enablestring=
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10410 defaultval=yes
10411 else
10412 defaultval=no
10413 fi
10414 fi
10415
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10418 # Check whether --enable-filepicker was given.
10419 if test "${enable_filepicker+set}" = set; then
10420 enableval=$enable_filepicker;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10423 else
10424 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10425 fi
10426
10427 else
10428
10429 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10430
10431 fi
10432
10433
10434 eval "$wx_cv_use_filepicker"
10435
10436 if test x"$enablestring" = xdisable; then
10437 if test $wxUSE_FILEPICKERCTRL = yes; then
10438 result=no
10439 else
10440 result=yes
10441 fi
10442 else
10443 result=$wxUSE_FILEPICKERCTRL
10444 fi
10445
10446 { echo "$as_me:$LINENO: result: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10448
10449
10450 enablestring=
10451 defaultval=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x"$enablestring" = xdisable; then
10454 defaultval=yes
10455 else
10456 defaultval=no
10457 fi
10458 fi
10459
10460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10462 # Check whether --enable-filectrl was given.
10463 if test "${enable_filectrl+set}" = set; then
10464 enableval=$enable_filectrl;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10467 else
10468 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10469 fi
10470
10471 else
10472
10473 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10474
10475 fi
10476
10477
10478 eval "$wx_cv_use_filectrl"
10479
10480 if test x"$enablestring" = xdisable; then
10481 if test $wxUSE_FILECTRL = yes; then
10482 result=no
10483 else
10484 result=yes
10485 fi
10486 else
10487 result=$wxUSE_FILECTRL
10488 fi
10489
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10492
10493
10494 enablestring=
10495 defaultval=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x"$enablestring" = xdisable; then
10498 defaultval=yes
10499 else
10500 defaultval=no
10501 fi
10502 fi
10503
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10506 # Check whether --enable-fontpicker was given.
10507 if test "${enable_fontpicker+set}" = set; then
10508 enableval=$enable_fontpicker;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10511 else
10512 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10513 fi
10514
10515 else
10516
10517 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10518
10519 fi
10520
10521
10522 eval "$wx_cv_use_fontpicker"
10523
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_FONTPICKERCTRL = yes; then
10526 result=no
10527 else
10528 result=yes
10529 fi
10530 else
10531 result=$wxUSE_FONTPICKERCTRL
10532 fi
10533
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10536
10537
10538 enablestring=
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10542 defaultval=yes
10543 else
10544 defaultval=no
10545 fi
10546 fi
10547
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10550 # Check whether --enable-gauge was given.
10551 if test "${enable_gauge+set}" = set; then
10552 enableval=$enable_gauge;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10555 else
10556 wx_cv_use_gauge='wxUSE_GAUGE=no'
10557 fi
10558
10559 else
10560
10561 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10562
10563 fi
10564
10565
10566 eval "$wx_cv_use_gauge"
10567
10568 if test x"$enablestring" = xdisable; then
10569 if test $wxUSE_GAUGE = yes; then
10570 result=no
10571 else
10572 result=yes
10573 fi
10574 else
10575 result=$wxUSE_GAUGE
10576 fi
10577
10578 { echo "$as_me:$LINENO: result: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10580
10581
10582 enablestring=
10583 defaultval=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x"$enablestring" = xdisable; then
10586 defaultval=yes
10587 else
10588 defaultval=no
10589 fi
10590 fi
10591
10592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10594 # Check whether --enable-grid was given.
10595 if test "${enable_grid+set}" = set; then
10596 enableval=$enable_grid;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_grid='wxUSE_GRID=yes'
10599 else
10600 wx_cv_use_grid='wxUSE_GRID=no'
10601 fi
10602
10603 else
10604
10605 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10606
10607 fi
10608
10609
10610 eval "$wx_cv_use_grid"
10611
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_GRID = yes; then
10614 result=no
10615 else
10616 result=yes
10617 fi
10618 else
10619 result=$wxUSE_GRID
10620 fi
10621
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10624
10625
10626 enablestring=
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10630 defaultval=yes
10631 else
10632 defaultval=no
10633 fi
10634 fi
10635
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10638 # Check whether --enable-dataviewctrl was given.
10639 if test "${enable_dataviewctrl+set}" = set; then
10640 enableval=$enable_dataviewctrl;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10643 else
10644 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10645 fi
10646
10647 else
10648
10649 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10650
10651 fi
10652
10653
10654 eval "$wx_cv_use_dataviewctrl"
10655
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_DATAVIEWCTRL = yes; then
10658 result=no
10659 else
10660 result=yes
10661 fi
10662 else
10663 result=$wxUSE_DATAVIEWCTRL
10664 fi
10665
10666 { echo "$as_me:$LINENO: result: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10668
10669
10670 enablestring=
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10674 defaultval=yes
10675 else
10676 defaultval=no
10677 fi
10678 fi
10679
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10682 # Check whether --enable-hyperlink was given.
10683 if test "${enable_hyperlink+set}" = set; then
10684 enableval=$enable_hyperlink;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10687 else
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10689 fi
10690
10691 else
10692
10693 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10694
10695 fi
10696
10697
10698 eval "$wx_cv_use_hyperlink"
10699
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_HYPERLINKCTRL = yes; then
10702 result=no
10703 else
10704 result=yes
10705 fi
10706 else
10707 result=$wxUSE_HYPERLINKCTRL
10708 fi
10709
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10712
10713
10714 enablestring=
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10718 defaultval=yes
10719 else
10720 defaultval=no
10721 fi
10722 fi
10723
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10726 # Check whether --enable-imaglist was given.
10727 if test "${enable_imaglist+set}" = set; then
10728 enableval=$enable_imaglist;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10731 else
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10733 fi
10734
10735 else
10736
10737 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10738
10739 fi
10740
10741
10742 eval "$wx_cv_use_imaglist"
10743
10744 if test x"$enablestring" = xdisable; then
10745 if test $wxUSE_IMAGLIST = yes; then
10746 result=no
10747 else
10748 result=yes
10749 fi
10750 else
10751 result=$wxUSE_IMAGLIST
10752 fi
10753
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10756
10757
10758 enablestring=
10759 defaultval=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x"$enablestring" = xdisable; then
10762 defaultval=yes
10763 else
10764 defaultval=no
10765 fi
10766 fi
10767
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10770 # Check whether --enable-listbook was given.
10771 if test "${enable_listbook+set}" = set; then
10772 enableval=$enable_listbook;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10775 else
10776 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10777 fi
10778
10779 else
10780
10781 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10782
10783 fi
10784
10785
10786 eval "$wx_cv_use_listbook"
10787
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_LISTBOOK = yes; then
10790 result=no
10791 else
10792 result=yes
10793 fi
10794 else
10795 result=$wxUSE_LISTBOOK
10796 fi
10797
10798 { echo "$as_me:$LINENO: result: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10800
10801
10802 enablestring=
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10806 defaultval=yes
10807 else
10808 defaultval=no
10809 fi
10810 fi
10811
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10814 # Check whether --enable-listbox was given.
10815 if test "${enable_listbox+set}" = set; then
10816 enableval=$enable_listbox;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10819 else
10820 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10821 fi
10822
10823 else
10824
10825 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10826
10827 fi
10828
10829
10830 eval "$wx_cv_use_listbox"
10831
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_LISTBOX = yes; then
10834 result=no
10835 else
10836 result=yes
10837 fi
10838 else
10839 result=$wxUSE_LISTBOX
10840 fi
10841
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10844
10845
10846 enablestring=
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10850 defaultval=yes
10851 else
10852 defaultval=no
10853 fi
10854 fi
10855
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10858 # Check whether --enable-listctrl was given.
10859 if test "${enable_listctrl+set}" = set; then
10860 enableval=$enable_listctrl;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10863 else
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10865 fi
10866
10867 else
10868
10869 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10870
10871 fi
10872
10873
10874 eval "$wx_cv_use_listctrl"
10875
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_LISTCTRL = yes; then
10878 result=no
10879 else
10880 result=yes
10881 fi
10882 else
10883 result=$wxUSE_LISTCTRL
10884 fi
10885
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10888
10889
10890 enablestring=
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10894 defaultval=yes
10895 else
10896 defaultval=no
10897 fi
10898 fi
10899
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10902 # Check whether --enable-notebook was given.
10903 if test "${enable_notebook+set}" = set; then
10904 enableval=$enable_notebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10907 else
10908 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10909 fi
10910
10911 else
10912
10913 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10914
10915 fi
10916
10917
10918 eval "$wx_cv_use_notebook"
10919
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_NOTEBOOK = yes; then
10922 result=no
10923 else
10924 result=yes
10925 fi
10926 else
10927 result=$wxUSE_NOTEBOOK
10928 fi
10929
10930 { echo "$as_me:$LINENO: result: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10932
10933
10934 enablestring=
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10938 defaultval=yes
10939 else
10940 defaultval=no
10941 fi
10942 fi
10943
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10946 # Check whether --enable-notifmsg was given.
10947 if test "${enable_notifmsg+set}" = set; then
10948 enableval=$enable_notifmsg;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10951 else
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10953 fi
10954
10955 else
10956
10957 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10958
10959 fi
10960
10961
10962 eval "$wx_cv_use_notifmsg"
10963
10964 if test x"$enablestring" = xdisable; then
10965 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10966 result=no
10967 else
10968 result=yes
10969 fi
10970 else
10971 result=$wxUSE_NOTIFICATION_MESSAGE
10972 fi
10973
10974 { echo "$as_me:$LINENO: result: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10976
10977
10978 enablestring=
10979 defaultval=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x"$enablestring" = xdisable; then
10982 defaultval=yes
10983 else
10984 defaultval=no
10985 fi
10986 fi
10987
10988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10990 # Check whether --enable-odcombobox was given.
10991 if test "${enable_odcombobox+set}" = set; then
10992 enableval=$enable_odcombobox;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10995 else
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10997 fi
10998
10999 else
11000
11001 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11002
11003 fi
11004
11005
11006 eval "$wx_cv_use_odcombobox"
11007
11008 if test x"$enablestring" = xdisable; then
11009 if test $wxUSE_ODCOMBOBOX = yes; then
11010 result=no
11011 else
11012 result=yes
11013 fi
11014 else
11015 result=$wxUSE_ODCOMBOBOX
11016 fi
11017
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11020
11021
11022 enablestring=
11023 defaultval=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x"$enablestring" = xdisable; then
11026 defaultval=yes
11027 else
11028 defaultval=no
11029 fi
11030 fi
11031
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11034 # Check whether --enable-radiobox was given.
11035 if test "${enable_radiobox+set}" = set; then
11036 enableval=$enable_radiobox;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11039 else
11040 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11041 fi
11042
11043 else
11044
11045 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11046
11047 fi
11048
11049
11050 eval "$wx_cv_use_radiobox"
11051
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_RADIOBOX = yes; then
11054 result=no
11055 else
11056 result=yes
11057 fi
11058 else
11059 result=$wxUSE_RADIOBOX
11060 fi
11061
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11064
11065
11066 enablestring=
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11070 defaultval=yes
11071 else
11072 defaultval=no
11073 fi
11074 fi
11075
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11078 # Check whether --enable-radiobtn was given.
11079 if test "${enable_radiobtn+set}" = set; then
11080 enableval=$enable_radiobtn;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11083 else
11084 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11085 fi
11086
11087 else
11088
11089 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11090
11091 fi
11092
11093
11094 eval "$wx_cv_use_radiobtn"
11095
11096 if test x"$enablestring" = xdisable; then
11097 if test $wxUSE_RADIOBTN = yes; then
11098 result=no
11099 else
11100 result=yes
11101 fi
11102 else
11103 result=$wxUSE_RADIOBTN
11104 fi
11105
11106 { echo "$as_me:$LINENO: result: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11108
11109
11110 enablestring=
11111 defaultval=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x"$enablestring" = xdisable; then
11114 defaultval=yes
11115 else
11116 defaultval=no
11117 fi
11118 fi
11119
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11122 # Check whether --enable-sash was given.
11123 if test "${enable_sash+set}" = set; then
11124 enableval=$enable_sash;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_sash='wxUSE_SASH=yes'
11127 else
11128 wx_cv_use_sash='wxUSE_SASH=no'
11129 fi
11130
11131 else
11132
11133 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11134
11135 fi
11136
11137
11138 eval "$wx_cv_use_sash"
11139
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_SASH = yes; then
11142 result=no
11143 else
11144 result=yes
11145 fi
11146 else
11147 result=$wxUSE_SASH
11148 fi
11149
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11152
11153
11154 enablestring=
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11158 defaultval=yes
11159 else
11160 defaultval=no
11161 fi
11162 fi
11163
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11166 # Check whether --enable-scrollbar was given.
11167 if test "${enable_scrollbar+set}" = set; then
11168 enableval=$enable_scrollbar;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11171 else
11172 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11173 fi
11174
11175 else
11176
11177 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11178
11179 fi
11180
11181
11182 eval "$wx_cv_use_scrollbar"
11183
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_SCROLLBAR = yes; then
11186 result=no
11187 else
11188 result=yes
11189 fi
11190 else
11191 result=$wxUSE_SCROLLBAR
11192 fi
11193
11194 { echo "$as_me:$LINENO: result: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11196
11197
11198 enablestring=
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11202 defaultval=yes
11203 else
11204 defaultval=no
11205 fi
11206 fi
11207
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11210 # Check whether --enable-searchctrl was given.
11211 if test "${enable_searchctrl+set}" = set; then
11212 enableval=$enable_searchctrl;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11215 else
11216 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11217 fi
11218
11219 else
11220
11221 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11222
11223 fi
11224
11225
11226 eval "$wx_cv_use_searchctrl"
11227
11228 if test x"$enablestring" = xdisable; then
11229 if test $wxUSE_SEARCHCTRL = yes; then
11230 result=no
11231 else
11232 result=yes
11233 fi
11234 else
11235 result=$wxUSE_SEARCHCTRL
11236 fi
11237
11238 { echo "$as_me:$LINENO: result: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11240
11241
11242 enablestring=
11243 defaultval=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x"$enablestring" = xdisable; then
11246 defaultval=yes
11247 else
11248 defaultval=no
11249 fi
11250 fi
11251
11252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11254 # Check whether --enable-slider was given.
11255 if test "${enable_slider+set}" = set; then
11256 enableval=$enable_slider;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_slider='wxUSE_SLIDER=yes'
11259 else
11260 wx_cv_use_slider='wxUSE_SLIDER=no'
11261 fi
11262
11263 else
11264
11265 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11266
11267 fi
11268
11269
11270 eval "$wx_cv_use_slider"
11271
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_SLIDER = yes; then
11274 result=no
11275 else
11276 result=yes
11277 fi
11278 else
11279 result=$wxUSE_SLIDER
11280 fi
11281
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11284
11285
11286 enablestring=
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11290 defaultval=yes
11291 else
11292 defaultval=no
11293 fi
11294 fi
11295
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11298 # Check whether --enable-spinbtn was given.
11299 if test "${enable_spinbtn+set}" = set; then
11300 enableval=$enable_spinbtn;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11303 else
11304 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11305 fi
11306
11307 else
11308
11309 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11310
11311 fi
11312
11313
11314 eval "$wx_cv_use_spinbtn"
11315
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_SPINBTN = yes; then
11318 result=no
11319 else
11320 result=yes
11321 fi
11322 else
11323 result=$wxUSE_SPINBTN
11324 fi
11325
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11328
11329
11330 enablestring=
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11334 defaultval=yes
11335 else
11336 defaultval=no
11337 fi
11338 fi
11339
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11342 # Check whether --enable-spinctrl was given.
11343 if test "${enable_spinctrl+set}" = set; then
11344 enableval=$enable_spinctrl;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11347 else
11348 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11349 fi
11350
11351 else
11352
11353 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11354
11355 fi
11356
11357
11358 eval "$wx_cv_use_spinctrl"
11359
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_SPINCTRL = yes; then
11362 result=no
11363 else
11364 result=yes
11365 fi
11366 else
11367 result=$wxUSE_SPINCTRL
11368 fi
11369
11370 { echo "$as_me:$LINENO: result: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11372
11373
11374 enablestring=
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11378 defaultval=yes
11379 else
11380 defaultval=no
11381 fi
11382 fi
11383
11384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11385 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11386 # Check whether --enable-splitter was given.
11387 if test "${enable_splitter+set}" = set; then
11388 enableval=$enable_splitter;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11391 else
11392 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11393 fi
11394
11395 else
11396
11397 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11398
11399 fi
11400
11401
11402 eval "$wx_cv_use_splitter"
11403
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_SPLITTER = yes; then
11406 result=no
11407 else
11408 result=yes
11409 fi
11410 else
11411 result=$wxUSE_SPLITTER
11412 fi
11413
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11416
11417
11418 enablestring=
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11422 defaultval=yes
11423 else
11424 defaultval=no
11425 fi
11426 fi
11427
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11430 # Check whether --enable-statbmp was given.
11431 if test "${enable_statbmp+set}" = set; then
11432 enableval=$enable_statbmp;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11435 else
11436 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11437 fi
11438
11439 else
11440
11441 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11442
11443 fi
11444
11445
11446 eval "$wx_cv_use_statbmp"
11447
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_STATBMP = yes; then
11450 result=no
11451 else
11452 result=yes
11453 fi
11454 else
11455 result=$wxUSE_STATBMP
11456 fi
11457
11458 { echo "$as_me:$LINENO: result: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11460
11461
11462 enablestring=
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11466 defaultval=yes
11467 else
11468 defaultval=no
11469 fi
11470 fi
11471
11472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11473 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11474 # Check whether --enable-statbox was given.
11475 if test "${enable_statbox+set}" = set; then
11476 enableval=$enable_statbox;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11479 else
11480 wx_cv_use_statbox='wxUSE_STATBOX=no'
11481 fi
11482
11483 else
11484
11485 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11486
11487 fi
11488
11489
11490 eval "$wx_cv_use_statbox"
11491
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_STATBOX = yes; then
11494 result=no
11495 else
11496 result=yes
11497 fi
11498 else
11499 result=$wxUSE_STATBOX
11500 fi
11501
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11504
11505
11506 enablestring=
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11510 defaultval=yes
11511 else
11512 defaultval=no
11513 fi
11514 fi
11515
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11518 # Check whether --enable-statline was given.
11519 if test "${enable_statline+set}" = set; then
11520 enableval=$enable_statline;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_statline='wxUSE_STATLINE=yes'
11523 else
11524 wx_cv_use_statline='wxUSE_STATLINE=no'
11525 fi
11526
11527 else
11528
11529 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11530
11531 fi
11532
11533
11534 eval "$wx_cv_use_statline"
11535
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_STATLINE = yes; then
11538 result=no
11539 else
11540 result=yes
11541 fi
11542 else
11543 result=$wxUSE_STATLINE
11544 fi
11545
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11548
11549
11550 enablestring=
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11554 defaultval=yes
11555 else
11556 defaultval=no
11557 fi
11558 fi
11559
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11562 # Check whether --enable-stattext was given.
11563 if test "${enable_stattext+set}" = set; then
11564 enableval=$enable_stattext;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11567 else
11568 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11569 fi
11570
11571 else
11572
11573 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11574
11575 fi
11576
11577
11578 eval "$wx_cv_use_stattext"
11579
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_STATTEXT = yes; then
11582 result=no
11583 else
11584 result=yes
11585 fi
11586 else
11587 result=$wxUSE_STATTEXT
11588 fi
11589
11590 { echo "$as_me:$LINENO: result: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11592
11593
11594 enablestring=
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11598 defaultval=yes
11599 else
11600 defaultval=no
11601 fi
11602 fi
11603
11604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11605 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11606 # Check whether --enable-statusbar was given.
11607 if test "${enable_statusbar+set}" = set; then
11608 enableval=$enable_statusbar;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11611 else
11612 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11613 fi
11614
11615 else
11616
11617 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11618
11619 fi
11620
11621
11622 eval "$wx_cv_use_statusbar"
11623
11624 if test x"$enablestring" = xdisable; then
11625 if test $wxUSE_STATUSBAR = yes; then
11626 result=no
11627 else
11628 result=yes
11629 fi
11630 else
11631 result=$wxUSE_STATUSBAR
11632 fi
11633
11634 { echo "$as_me:$LINENO: result: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11636
11637
11638 enablestring=
11639 defaultval=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x"$enablestring" = xdisable; then
11642 defaultval=yes
11643 else
11644 defaultval=no
11645 fi
11646 fi
11647
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11650 # Check whether --enable-tabdialog was given.
11651 if test "${enable_tabdialog+set}" = set; then
11652 enableval=$enable_tabdialog;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11655 else
11656 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11657 fi
11658
11659 else
11660
11661 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11662
11663 fi
11664
11665
11666 eval "$wx_cv_use_tabdialog"
11667
11668 if test x"$enablestring" = xdisable; then
11669 if test $wxUSE_TAB_DIALOG = yes; then
11670 result=no
11671 else
11672 result=yes
11673 fi
11674 else
11675 result=$wxUSE_TAB_DIALOG
11676 fi
11677
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11680
11681
11682 enablestring=
11683 defaultval=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x"$enablestring" = xdisable; then
11686 defaultval=yes
11687 else
11688 defaultval=no
11689 fi
11690 fi
11691
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11694 # Check whether --enable-taskbaricon was given.
11695 if test "${enable_taskbaricon+set}" = set; then
11696 enableval=$enable_taskbaricon;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11699 else
11700 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11701 fi
11702
11703 else
11704
11705 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11706
11707 fi
11708
11709
11710 eval "$wx_cv_use_taskbaricon"
11711
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_TASKBARICON = yes; then
11714 result=no
11715 else
11716 result=yes
11717 fi
11718 else
11719 result=$wxUSE_TASKBARICON
11720 fi
11721
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11724
11725
11726 enablestring=
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11730 defaultval=yes
11731 else
11732 defaultval=no
11733 fi
11734 fi
11735
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11738 # Check whether --enable-textctrl was given.
11739 if test "${enable_textctrl+set}" = set; then
11740 enableval=$enable_textctrl;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11743 else
11744 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11745 fi
11746
11747 else
11748
11749 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11750
11751 fi
11752
11753
11754 eval "$wx_cv_use_textctrl"
11755
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_TEXTCTRL = yes; then
11758 result=no
11759 else
11760 result=yes
11761 fi
11762 else
11763 result=$wxUSE_TEXTCTRL
11764 fi
11765
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11768
11769
11770 enablestring=
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11774 defaultval=yes
11775 else
11776 defaultval=no
11777 fi
11778 fi
11779
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11782 # Check whether --enable-togglebtn was given.
11783 if test "${enable_togglebtn+set}" = set; then
11784 enableval=$enable_togglebtn;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11787 else
11788 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11789 fi
11790
11791 else
11792
11793 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11794
11795 fi
11796
11797
11798 eval "$wx_cv_use_togglebtn"
11799
11800 if test x"$enablestring" = xdisable; then
11801 if test $wxUSE_TOGGLEBTN = yes; then
11802 result=no
11803 else
11804 result=yes
11805 fi
11806 else
11807 result=$wxUSE_TOGGLEBTN
11808 fi
11809
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11812
11813
11814 enablestring=
11815 defaultval=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x"$enablestring" = xdisable; then
11818 defaultval=yes
11819 else
11820 defaultval=no
11821 fi
11822 fi
11823
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11826 # Check whether --enable-toolbar was given.
11827 if test "${enable_toolbar+set}" = set; then
11828 enableval=$enable_toolbar;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11831 else
11832 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11833 fi
11834
11835 else
11836
11837 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11838
11839 fi
11840
11841
11842 eval "$wx_cv_use_toolbar"
11843
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_TOOLBAR = yes; then
11846 result=no
11847 else
11848 result=yes
11849 fi
11850 else
11851 result=$wxUSE_TOOLBAR
11852 fi
11853
11854 { echo "$as_me:$LINENO: result: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11856
11857
11858 enablestring=
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11862 defaultval=yes
11863 else
11864 defaultval=no
11865 fi
11866 fi
11867
11868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11869 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11870 # Check whether --enable-tbarnative was given.
11871 if test "${enable_tbarnative+set}" = set; then
11872 enableval=$enable_tbarnative;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11875 else
11876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11877 fi
11878
11879 else
11880
11881 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11882
11883 fi
11884
11885
11886 eval "$wx_cv_use_tbarnative"
11887
11888 if test x"$enablestring" = xdisable; then
11889 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11890 result=no
11891 else
11892 result=yes
11893 fi
11894 else
11895 result=$wxUSE_TOOLBAR_NATIVE
11896 fi
11897
11898 { echo "$as_me:$LINENO: result: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11900
11901
11902 enablestring=
11903 defaultval=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x"$enablestring" = xdisable; then
11906 defaultval=yes
11907 else
11908 defaultval=no
11909 fi
11910 fi
11911
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11914 # Check whether --enable-treebook was given.
11915 if test "${enable_treebook+set}" = set; then
11916 enableval=$enable_treebook;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11919 else
11920 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11921 fi
11922
11923 else
11924
11925 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11926
11927 fi
11928
11929
11930 eval "$wx_cv_use_treebook"
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_TREEBOOK = yes; then
11934 result=no
11935 else
11936 result=yes
11937 fi
11938 else
11939 result=$wxUSE_TREEBOOK
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11958 # Check whether --enable-toolbook was given.
11959 if test "${enable_toolbook+set}" = set; then
11960 enableval=$enable_toolbook;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11963 else
11964 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11965 fi
11966
11967 else
11968
11969 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11970
11971 fi
11972
11973
11974 eval "$wx_cv_use_toolbook"
11975
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_TOOLBOOK = yes; then
11978 result=no
11979 else
11980 result=yes
11981 fi
11982 else
11983 result=$wxUSE_TOOLBOOK
11984 fi
11985
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11988
11989
11990 enablestring=
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
11994 defaultval=yes
11995 else
11996 defaultval=no
11997 fi
11998 fi
11999
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12002 # Check whether --enable-treectrl was given.
12003 if test "${enable_treectrl+set}" = set; then
12004 enableval=$enable_treectrl;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12007 else
12008 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12009 fi
12010
12011 else
12012
12013 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12014
12015 fi
12016
12017
12018 eval "$wx_cv_use_treectrl"
12019
12020 if test x"$enablestring" = xdisable; then
12021 if test $wxUSE_TREECTRL = yes; then
12022 result=no
12023 else
12024 result=yes
12025 fi
12026 else
12027 result=$wxUSE_TREECTRL
12028 fi
12029
12030 { echo "$as_me:$LINENO: result: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12032
12033
12034 enablestring=
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12038 defaultval=yes
12039 else
12040 defaultval=no
12041 fi
12042 fi
12043
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12046 # Check whether --enable-tipwindow was given.
12047 if test "${enable_tipwindow+set}" = set; then
12048 enableval=$enable_tipwindow;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12051 else
12052 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12053 fi
12054
12055 else
12056
12057 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12058
12059 fi
12060
12061
12062 eval "$wx_cv_use_tipwindow"
12063
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_TIPWINDOW = yes; then
12066 result=no
12067 else
12068 result=yes
12069 fi
12070 else
12071 result=$wxUSE_TIPWINDOW
12072 fi
12073
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12076
12077
12078 enablestring=
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12082 defaultval=yes
12083 else
12084 defaultval=no
12085 fi
12086 fi
12087
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12090 # Check whether --enable-popupwin was given.
12091 if test "${enable_popupwin+set}" = set; then
12092 enableval=$enable_popupwin;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12095 else
12096 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12097 fi
12098
12099 else
12100
12101 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12102
12103 fi
12104
12105
12106 eval "$wx_cv_use_popupwin"
12107
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_POPUPWIN = yes; then
12110 result=no
12111 else
12112 result=yes
12113 fi
12114 else
12115 result=$wxUSE_POPUPWIN
12116 fi
12117
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12120
12121
12122
12123
12124 enablestring=
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12128 defaultval=yes
12129 else
12130 defaultval=no
12131 fi
12132 fi
12133
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12136 # Check whether --enable-commondlg was given.
12137 if test "${enable_commondlg+set}" = set; then
12138 enableval=$enable_commondlg;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12141 else
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12143 fi
12144
12145 else
12146
12147 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12148
12149 fi
12150
12151
12152 eval "$wx_cv_use_commondlg"
12153
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_COMMONDLGS = yes; then
12156 result=no
12157 else
12158 result=yes
12159 fi
12160 else
12161 result=$wxUSE_COMMONDLGS
12162 fi
12163
12164 { echo "$as_me:$LINENO: result: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12166
12167
12168 enablestring=
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12172 defaultval=yes
12173 else
12174 defaultval=no
12175 fi
12176 fi
12177
12178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12179 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12180 # Check whether --enable-aboutdlg was given.
12181 if test "${enable_aboutdlg+set}" = set; then
12182 enableval=$enable_aboutdlg;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12185 else
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12187 fi
12188
12189 else
12190
12191 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12192
12193 fi
12194
12195
12196 eval "$wx_cv_use_aboutdlg"
12197
12198 if test x"$enablestring" = xdisable; then
12199 if test $wxUSE_ABOUTDLG = yes; then
12200 result=no
12201 else
12202 result=yes
12203 fi
12204 else
12205 result=$wxUSE_ABOUTDLG
12206 fi
12207
12208 { echo "$as_me:$LINENO: result: $result" >&5
12209 echo "${ECHO_T}$result" >&6; }
12210
12211
12212 enablestring=
12213 defaultval=$wxUSE_ALL_FEATURES
12214 if test -z "$defaultval"; then
12215 if test x"$enablestring" = xdisable; then
12216 defaultval=yes
12217 else
12218 defaultval=no
12219 fi
12220 fi
12221
12222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12223 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12224 # Check whether --enable-choicedlg was given.
12225 if test "${enable_choicedlg+set}" = set; then
12226 enableval=$enable_choicedlg;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12229 else
12230 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12231 fi
12232
12233 else
12234
12235 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12236
12237 fi
12238
12239
12240 eval "$wx_cv_use_choicedlg"
12241
12242 if test x"$enablestring" = xdisable; then
12243 if test $wxUSE_CHOICEDLG = yes; then
12244 result=no
12245 else
12246 result=yes
12247 fi
12248 else
12249 result=$wxUSE_CHOICEDLG
12250 fi
12251
12252 { echo "$as_me:$LINENO: result: $result" >&5
12253 echo "${ECHO_T}$result" >&6; }
12254
12255
12256 enablestring=
12257 defaultval=$wxUSE_ALL_FEATURES
12258 if test -z "$defaultval"; then
12259 if test x"$enablestring" = xdisable; then
12260 defaultval=yes
12261 else
12262 defaultval=no
12263 fi
12264 fi
12265
12266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12267 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12268 # Check whether --enable-coldlg was given.
12269 if test "${enable_coldlg+set}" = set; then
12270 enableval=$enable_coldlg;
12271 if test "$enableval" = yes; then
12272 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12273 else
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12275 fi
12276
12277 else
12278
12279 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12280
12281 fi
12282
12283
12284 eval "$wx_cv_use_coldlg"
12285
12286 if test x"$enablestring" = xdisable; then
12287 if test $wxUSE_COLOURDLG = yes; then
12288 result=no
12289 else
12290 result=yes
12291 fi
12292 else
12293 result=$wxUSE_COLOURDLG
12294 fi
12295
12296 { echo "$as_me:$LINENO: result: $result" >&5
12297 echo "${ECHO_T}$result" >&6; }
12298
12299
12300 enablestring=
12301 defaultval=$wxUSE_ALL_FEATURES
12302 if test -z "$defaultval"; then
12303 if test x"$enablestring" = xdisable; then
12304 defaultval=yes
12305 else
12306 defaultval=no
12307 fi
12308 fi
12309
12310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12311 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12312 # Check whether --enable-filedlg was given.
12313 if test "${enable_filedlg+set}" = set; then
12314 enableval=$enable_filedlg;
12315 if test "$enableval" = yes; then
12316 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12317 else
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12319 fi
12320
12321 else
12322
12323 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12324
12325 fi
12326
12327
12328 eval "$wx_cv_use_filedlg"
12329
12330 if test x"$enablestring" = xdisable; then
12331 if test $wxUSE_FILEDLG = yes; then
12332 result=no
12333 else
12334 result=yes
12335 fi
12336 else
12337 result=$wxUSE_FILEDLG
12338 fi
12339
12340 { echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6; }
12342
12343
12344 enablestring=
12345 defaultval=$wxUSE_ALL_FEATURES
12346 if test -z "$defaultval"; then
12347 if test x"$enablestring" = xdisable; then
12348 defaultval=yes
12349 else
12350 defaultval=no
12351 fi
12352 fi
12353
12354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12356 # Check whether --enable-finddlg was given.
12357 if test "${enable_finddlg+set}" = set; then
12358 enableval=$enable_finddlg;
12359 if test "$enableval" = yes; then
12360 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12361 else
12362 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12363 fi
12364
12365 else
12366
12367 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12368
12369 fi
12370
12371
12372 eval "$wx_cv_use_finddlg"
12373
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_FINDREPLDLG = yes; then
12376 result=no
12377 else
12378 result=yes
12379 fi
12380 else
12381 result=$wxUSE_FINDREPLDLG
12382 fi
12383
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12386
12387
12388 enablestring=
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12392 defaultval=yes
12393 else
12394 defaultval=no
12395 fi
12396 fi
12397
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12400 # Check whether --enable-fontdlg was given.
12401 if test "${enable_fontdlg+set}" = set; then
12402 enableval=$enable_fontdlg;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12405 else
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12407 fi
12408
12409 else
12410
12411 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12412
12413 fi
12414
12415
12416 eval "$wx_cv_use_fontdlg"
12417
12418 if test x"$enablestring" = xdisable; then
12419 if test $wxUSE_FONTDLG = yes; then
12420 result=no
12421 else
12422 result=yes
12423 fi
12424 else
12425 result=$wxUSE_FONTDLG
12426 fi
12427
12428 { echo "$as_me:$LINENO: result: $result" >&5
12429 echo "${ECHO_T}$result" >&6; }
12430
12431
12432 enablestring=
12433 defaultval=$wxUSE_ALL_FEATURES
12434 if test -z "$defaultval"; then
12435 if test x"$enablestring" = xdisable; then
12436 defaultval=yes
12437 else
12438 defaultval=no
12439 fi
12440 fi
12441
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12444 # Check whether --enable-dirdlg was given.
12445 if test "${enable_dirdlg+set}" = set; then
12446 enableval=$enable_dirdlg;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12449 else
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12451 fi
12452
12453 else
12454
12455 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12456
12457 fi
12458
12459
12460 eval "$wx_cv_use_dirdlg"
12461
12462 if test x"$enablestring" = xdisable; then
12463 if test $wxUSE_DIRDLG = yes; then
12464 result=no
12465 else
12466 result=yes
12467 fi
12468 else
12469 result=$wxUSE_DIRDLG
12470 fi
12471
12472 { echo "$as_me:$LINENO: result: $result" >&5
12473 echo "${ECHO_T}$result" >&6; }
12474
12475
12476 enablestring=
12477 defaultval=$wxUSE_ALL_FEATURES
12478 if test -z "$defaultval"; then
12479 if test x"$enablestring" = xdisable; then
12480 defaultval=yes
12481 else
12482 defaultval=no
12483 fi
12484 fi
12485
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12488 # Check whether --enable-msgdlg was given.
12489 if test "${enable_msgdlg+set}" = set; then
12490 enableval=$enable_msgdlg;
12491 if test "$enableval" = yes; then
12492 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12493 else
12494 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12495 fi
12496
12497 else
12498
12499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12500
12501 fi
12502
12503
12504 eval "$wx_cv_use_msgdlg"
12505
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_MSGDLG = yes; then
12508 result=no
12509 else
12510 result=yes
12511 fi
12512 else
12513 result=$wxUSE_MSGDLG
12514 fi
12515
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12518
12519
12520 enablestring=
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12524 defaultval=yes
12525 else
12526 defaultval=no
12527 fi
12528 fi
12529
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12532 # Check whether --enable-numberdlg was given.
12533 if test "${enable_numberdlg+set}" = set; then
12534 enableval=$enable_numberdlg;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12537 else
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12539 fi
12540
12541 else
12542
12543 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12544
12545 fi
12546
12547
12548 eval "$wx_cv_use_numberdlg"
12549
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_NUMBERDLG = yes; then
12552 result=no
12553 else
12554 result=yes
12555 fi
12556 else
12557 result=$wxUSE_NUMBERDLG
12558 fi
12559
12560 { echo "$as_me:$LINENO: result: $result" >&5
12561 echo "${ECHO_T}$result" >&6; }
12562
12563
12564 enablestring=
12565 defaultval=$wxUSE_ALL_FEATURES
12566 if test -z "$defaultval"; then
12567 if test x"$enablestring" = xdisable; then
12568 defaultval=yes
12569 else
12570 defaultval=no
12571 fi
12572 fi
12573
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12576 # Check whether --enable-splash was given.
12577 if test "${enable_splash+set}" = set; then
12578 enableval=$enable_splash;
12579 if test "$enableval" = yes; then
12580 wx_cv_use_splash='wxUSE_SPLASH=yes'
12581 else
12582 wx_cv_use_splash='wxUSE_SPLASH=no'
12583 fi
12584
12585 else
12586
12587 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12588
12589 fi
12590
12591
12592 eval "$wx_cv_use_splash"
12593
12594 if test x"$enablestring" = xdisable; then
12595 if test $wxUSE_SPLASH = yes; then
12596 result=no
12597 else
12598 result=yes
12599 fi
12600 else
12601 result=$wxUSE_SPLASH
12602 fi
12603
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12606
12607
12608 enablestring=
12609 defaultval=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x"$enablestring" = xdisable; then
12612 defaultval=yes
12613 else
12614 defaultval=no
12615 fi
12616 fi
12617
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12620 # Check whether --enable-textdlg was given.
12621 if test "${enable_textdlg+set}" = set; then
12622 enableval=$enable_textdlg;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12625 else
12626 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12627 fi
12628
12629 else
12630
12631 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12632
12633 fi
12634
12635
12636 eval "$wx_cv_use_textdlg"
12637
12638 if test x"$enablestring" = xdisable; then
12639 if test $wxUSE_TEXTDLG = yes; then
12640 result=no
12641 else
12642 result=yes
12643 fi
12644 else
12645 result=$wxUSE_TEXTDLG
12646 fi
12647
12648 { echo "$as_me:$LINENO: result: $result" >&5
12649 echo "${ECHO_T}$result" >&6; }
12650
12651
12652 enablestring=
12653 defaultval=$wxUSE_ALL_FEATURES
12654 if test -z "$defaultval"; then
12655 if test x"$enablestring" = xdisable; then
12656 defaultval=yes
12657 else
12658 defaultval=no
12659 fi
12660 fi
12661
12662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12663 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12664 # Check whether --enable-tipdlg was given.
12665 if test "${enable_tipdlg+set}" = set; then
12666 enableval=$enable_tipdlg;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12669 else
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12671 fi
12672
12673 else
12674
12675 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12676
12677 fi
12678
12679
12680 eval "$wx_cv_use_tipdlg"
12681
12682 if test x"$enablestring" = xdisable; then
12683 if test $wxUSE_STARTUP_TIPS = yes; then
12684 result=no
12685 else
12686 result=yes
12687 fi
12688 else
12689 result=$wxUSE_STARTUP_TIPS
12690 fi
12691
12692 { echo "$as_me:$LINENO: result: $result" >&5
12693 echo "${ECHO_T}$result" >&6; }
12694
12695
12696 enablestring=
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12700 defaultval=yes
12701 else
12702 defaultval=no
12703 fi
12704 fi
12705
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12708 # Check whether --enable-progressdlg was given.
12709 if test "${enable_progressdlg+set}" = set; then
12710 enableval=$enable_progressdlg;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12713 else
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12715 fi
12716
12717 else
12718
12719 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_progressdlg"
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_PROGRESSDLG = yes; then
12728 result=no
12729 else
12730 result=yes
12731 fi
12732 else
12733 result=$wxUSE_PROGRESSDLG
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12752 # Check whether --enable-wizarddlg was given.
12753 if test "${enable_wizarddlg+set}" = set; then
12754 enableval=$enable_wizarddlg;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12757 else
12758 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12759 fi
12760
12761 else
12762
12763 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12764
12765 fi
12766
12767
12768 eval "$wx_cv_use_wizarddlg"
12769
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_WIZARDDLG = yes; then
12772 result=no
12773 else
12774 result=yes
12775 fi
12776 else
12777 result=$wxUSE_WIZARDDLG
12778 fi
12779
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12782
12783
12784
12785
12786 enablestring=
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12790 defaultval=yes
12791 else
12792 defaultval=no
12793 fi
12794 fi
12795
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12798 # Check whether --enable-menus was given.
12799 if test "${enable_menus+set}" = set; then
12800 enableval=$enable_menus;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_menus='wxUSE_MENUS=yes'
12803 else
12804 wx_cv_use_menus='wxUSE_MENUS=no'
12805 fi
12806
12807 else
12808
12809 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12810
12811 fi
12812
12813
12814 eval "$wx_cv_use_menus"
12815
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_MENUS = yes; then
12818 result=no
12819 else
12820 result=yes
12821 fi
12822 else
12823 result=$wxUSE_MENUS
12824 fi
12825
12826 { echo "$as_me:$LINENO: result: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12828
12829
12830 enablestring=
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12834 defaultval=yes
12835 else
12836 defaultval=no
12837 fi
12838 fi
12839
12840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12841 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12842 # Check whether --enable-miniframe was given.
12843 if test "${enable_miniframe+set}" = set; then
12844 enableval=$enable_miniframe;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12847 else
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12849 fi
12850
12851 else
12852
12853 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12854
12855 fi
12856
12857
12858 eval "$wx_cv_use_miniframe"
12859
12860 if test x"$enablestring" = xdisable; then
12861 if test $wxUSE_MINIFRAME = yes; then
12862 result=no
12863 else
12864 result=yes
12865 fi
12866 else
12867 result=$wxUSE_MINIFRAME
12868 fi
12869
12870 { echo "$as_me:$LINENO: result: $result" >&5
12871 echo "${ECHO_T}$result" >&6; }
12872
12873
12874 enablestring=
12875 defaultval=$wxUSE_ALL_FEATURES
12876 if test -z "$defaultval"; then
12877 if test x"$enablestring" = xdisable; then
12878 defaultval=yes
12879 else
12880 defaultval=no
12881 fi
12882 fi
12883
12884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12885 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12886 # Check whether --enable-tooltips was given.
12887 if test "${enable_tooltips+set}" = set; then
12888 enableval=$enable_tooltips;
12889 if test "$enableval" = yes; then
12890 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12891 else
12892 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12893 fi
12894
12895 else
12896
12897 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12898
12899 fi
12900
12901
12902 eval "$wx_cv_use_tooltips"
12903
12904 if test x"$enablestring" = xdisable; then
12905 if test $wxUSE_TOOLTIPS = yes; then
12906 result=no
12907 else
12908 result=yes
12909 fi
12910 else
12911 result=$wxUSE_TOOLTIPS
12912 fi
12913
12914 { echo "$as_me:$LINENO: result: $result" >&5
12915 echo "${ECHO_T}$result" >&6; }
12916
12917
12918 enablestring=
12919 defaultval=$wxUSE_ALL_FEATURES
12920 if test -z "$defaultval"; then
12921 if test x"$enablestring" = xdisable; then
12922 defaultval=yes
12923 else
12924 defaultval=no
12925 fi
12926 fi
12927
12928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12929 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12930 # Check whether --enable-splines was given.
12931 if test "${enable_splines+set}" = set; then
12932 enableval=$enable_splines;
12933 if test "$enableval" = yes; then
12934 wx_cv_use_splines='wxUSE_SPLINES=yes'
12935 else
12936 wx_cv_use_splines='wxUSE_SPLINES=no'
12937 fi
12938
12939 else
12940
12941 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12942
12943 fi
12944
12945
12946 eval "$wx_cv_use_splines"
12947
12948 if test x"$enablestring" = xdisable; then
12949 if test $wxUSE_SPLINES = yes; then
12950 result=no
12951 else
12952 result=yes
12953 fi
12954 else
12955 result=$wxUSE_SPLINES
12956 fi
12957
12958 { echo "$as_me:$LINENO: result: $result" >&5
12959 echo "${ECHO_T}$result" >&6; }
12960
12961
12962 enablestring=
12963 defaultval=$wxUSE_ALL_FEATURES
12964 if test -z "$defaultval"; then
12965 if test x"$enablestring" = xdisable; then
12966 defaultval=yes
12967 else
12968 defaultval=no
12969 fi
12970 fi
12971
12972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12973 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12974 # Check whether --enable-mousewheel was given.
12975 if test "${enable_mousewheel+set}" = set; then
12976 enableval=$enable_mousewheel;
12977 if test "$enableval" = yes; then
12978 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12979 else
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12981 fi
12982
12983 else
12984
12985 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12986
12987 fi
12988
12989
12990 eval "$wx_cv_use_mousewheel"
12991
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_MOUSEWHEEL = yes; then
12994 result=no
12995 else
12996 result=yes
12997 fi
12998 else
12999 result=$wxUSE_MOUSEWHEEL
13000 fi
13001
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13004
13005
13006 enablestring=
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13010 defaultval=yes
13011 else
13012 defaultval=no
13013 fi
13014 fi
13015
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13018 # Check whether --enable-validators was given.
13019 if test "${enable_validators+set}" = set; then
13020 enableval=$enable_validators;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13023 else
13024 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13025 fi
13026
13027 else
13028
13029 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13030
13031 fi
13032
13033
13034 eval "$wx_cv_use_validators"
13035
13036 if test x"$enablestring" = xdisable; then
13037 if test $wxUSE_VALIDATORS = yes; then
13038 result=no
13039 else
13040 result=yes
13041 fi
13042 else
13043 result=$wxUSE_VALIDATORS
13044 fi
13045
13046 { echo "$as_me:$LINENO: result: $result" >&5
13047 echo "${ECHO_T}$result" >&6; }
13048
13049
13050 enablestring=
13051 defaultval=$wxUSE_ALL_FEATURES
13052 if test -z "$defaultval"; then
13053 if test x"$enablestring" = xdisable; then
13054 defaultval=yes
13055 else
13056 defaultval=no
13057 fi
13058 fi
13059
13060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13061 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13062 # Check whether --enable-busyinfo was given.
13063 if test "${enable_busyinfo+set}" = set; then
13064 enableval=$enable_busyinfo;
13065 if test "$enableval" = yes; then
13066 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13067 else
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13069 fi
13070
13071 else
13072
13073 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13074
13075 fi
13076
13077
13078 eval "$wx_cv_use_busyinfo"
13079
13080 if test x"$enablestring" = xdisable; then
13081 if test $wxUSE_BUSYINFO = yes; then
13082 result=no
13083 else
13084 result=yes
13085 fi
13086 else
13087 result=$wxUSE_BUSYINFO
13088 fi
13089
13090 { echo "$as_me:$LINENO: result: $result" >&5
13091 echo "${ECHO_T}$result" >&6; }
13092
13093
13094 enablestring=
13095 defaultval=$wxUSE_ALL_FEATURES
13096 if test -z "$defaultval"; then
13097 if test x"$enablestring" = xdisable; then
13098 defaultval=yes
13099 else
13100 defaultval=no
13101 fi
13102 fi
13103
13104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13105 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13106 # Check whether --enable-joystick was given.
13107 if test "${enable_joystick+set}" = set; then
13108 enableval=$enable_joystick;
13109 if test "$enableval" = yes; then
13110 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13111 else
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13113 fi
13114
13115 else
13116
13117 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13118
13119 fi
13120
13121
13122 eval "$wx_cv_use_joystick"
13123
13124 if test x"$enablestring" = xdisable; then
13125 if test $wxUSE_JOYSTICK = yes; then
13126 result=no
13127 else
13128 result=yes
13129 fi
13130 else
13131 result=$wxUSE_JOYSTICK
13132 fi
13133
13134 { echo "$as_me:$LINENO: result: $result" >&5
13135 echo "${ECHO_T}$result" >&6; }
13136
13137
13138 enablestring=
13139 defaultval=$wxUSE_ALL_FEATURES
13140 if test -z "$defaultval"; then
13141 if test x"$enablestring" = xdisable; then
13142 defaultval=yes
13143 else
13144 defaultval=no
13145 fi
13146 fi
13147
13148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13149 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13150 # Check whether --enable-metafile was given.
13151 if test "${enable_metafile+set}" = set; then
13152 enableval=$enable_metafile;
13153 if test "$enableval" = yes; then
13154 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13155 else
13156 wx_cv_use_metafile='wxUSE_METAFILE=no'
13157 fi
13158
13159 else
13160
13161 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13162
13163 fi
13164
13165
13166 eval "$wx_cv_use_metafile"
13167
13168 if test x"$enablestring" = xdisable; then
13169 if test $wxUSE_METAFILE = yes; then
13170 result=no
13171 else
13172 result=yes
13173 fi
13174 else
13175 result=$wxUSE_METAFILE
13176 fi
13177
13178 { echo "$as_me:$LINENO: result: $result" >&5
13179 echo "${ECHO_T}$result" >&6; }
13180
13181
13182 enablestring=
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13186 defaultval=yes
13187 else
13188 defaultval=no
13189 fi
13190 fi
13191
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13194 # Check whether --enable-dragimage was given.
13195 if test "${enable_dragimage+set}" = set; then
13196 enableval=$enable_dragimage;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13199 else
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13201 fi
13202
13203 else
13204
13205 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13206
13207 fi
13208
13209
13210 eval "$wx_cv_use_dragimage"
13211
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_DRAGIMAGE = yes; then
13214 result=no
13215 else
13216 result=yes
13217 fi
13218 else
13219 result=$wxUSE_DRAGIMAGE
13220 fi
13221
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13224
13225
13226 enablestring=
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13230 defaultval=yes
13231 else
13232 defaultval=no
13233 fi
13234 fi
13235
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13238 # Check whether --enable-accessibility was given.
13239 if test "${enable_accessibility+set}" = set; then
13240 enableval=$enable_accessibility;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13243 else
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13245 fi
13246
13247 else
13248
13249 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13250
13251 fi
13252
13253
13254 eval "$wx_cv_use_accessibility"
13255
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_ACCESSIBILITY = yes; then
13258 result=no
13259 else
13260 result=yes
13261 fi
13262 else
13263 result=$wxUSE_ACCESSIBILITY
13264 fi
13265
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13268
13269
13270
13271
13272 enablestring=
13273 defaultval=$wxUSE_ALL_FEATURES
13274 if test -z "$defaultval"; then
13275 if test x"$enablestring" = xdisable; then
13276 defaultval=yes
13277 else
13278 defaultval=no
13279 fi
13280 fi
13281
13282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13283 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13284 # Check whether --enable-palette was given.
13285 if test "${enable_palette+set}" = set; then
13286 enableval=$enable_palette;
13287 if test "$enableval" = yes; then
13288 wx_cv_use_palette='wxUSE_PALETTE=yes'
13289 else
13290 wx_cv_use_palette='wxUSE_PALETTE=no'
13291 fi
13292
13293 else
13294
13295 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13296
13297 fi
13298
13299
13300 eval "$wx_cv_use_palette"
13301
13302 if test x"$enablestring" = xdisable; then
13303 if test $wxUSE_PALETTE = yes; then
13304 result=no
13305 else
13306 result=yes
13307 fi
13308 else
13309 result=$wxUSE_PALETTE
13310 fi
13311
13312 { echo "$as_me:$LINENO: result: $result" >&5
13313 echo "${ECHO_T}$result" >&6; }
13314
13315
13316 enablestring=
13317 defaultval=$wxUSE_ALL_FEATURES
13318 if test -z "$defaultval"; then
13319 if test x"$enablestring" = xdisable; then
13320 defaultval=yes
13321 else
13322 defaultval=no
13323 fi
13324 fi
13325
13326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13327 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13328 # Check whether --enable-image was given.
13329 if test "${enable_image+set}" = set; then
13330 enableval=$enable_image;
13331 if test "$enableval" = yes; then
13332 wx_cv_use_image='wxUSE_IMAGE=yes'
13333 else
13334 wx_cv_use_image='wxUSE_IMAGE=no'
13335 fi
13336
13337 else
13338
13339 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13340
13341 fi
13342
13343
13344 eval "$wx_cv_use_image"
13345
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_IMAGE = yes; then
13348 result=no
13349 else
13350 result=yes
13351 fi
13352 else
13353 result=$wxUSE_IMAGE
13354 fi
13355
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13358
13359
13360 enablestring=
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13364 defaultval=yes
13365 else
13366 defaultval=no
13367 fi
13368 fi
13369
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13372 # Check whether --enable-gif was given.
13373 if test "${enable_gif+set}" = set; then
13374 enableval=$enable_gif;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_gif='wxUSE_GIF=yes'
13377 else
13378 wx_cv_use_gif='wxUSE_GIF=no'
13379 fi
13380
13381 else
13382
13383 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13384
13385 fi
13386
13387
13388 eval "$wx_cv_use_gif"
13389
13390 if test x"$enablestring" = xdisable; then
13391 if test $wxUSE_GIF = yes; then
13392 result=no
13393 else
13394 result=yes
13395 fi
13396 else
13397 result=$wxUSE_GIF
13398 fi
13399
13400 { echo "$as_me:$LINENO: result: $result" >&5
13401 echo "${ECHO_T}$result" >&6; }
13402
13403
13404 enablestring=
13405 defaultval=$wxUSE_ALL_FEATURES
13406 if test -z "$defaultval"; then
13407 if test x"$enablestring" = xdisable; then
13408 defaultval=yes
13409 else
13410 defaultval=no
13411 fi
13412 fi
13413
13414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13415 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13416 # Check whether --enable-pcx was given.
13417 if test "${enable_pcx+set}" = set; then
13418 enableval=$enable_pcx;
13419 if test "$enableval" = yes; then
13420 wx_cv_use_pcx='wxUSE_PCX=yes'
13421 else
13422 wx_cv_use_pcx='wxUSE_PCX=no'
13423 fi
13424
13425 else
13426
13427 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13428
13429 fi
13430
13431
13432 eval "$wx_cv_use_pcx"
13433
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_PCX = yes; then
13436 result=no
13437 else
13438 result=yes
13439 fi
13440 else
13441 result=$wxUSE_PCX
13442 fi
13443
13444 { echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6; }
13446
13447
13448 enablestring=
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z "$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13452 defaultval=yes
13453 else
13454 defaultval=no
13455 fi
13456 fi
13457
13458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13460 # Check whether --enable-tga was given.
13461 if test "${enable_tga+set}" = set; then
13462 enableval=$enable_tga;
13463 if test "$enableval" = yes; then
13464 wx_cv_use_tga='wxUSE_TGA=yes'
13465 else
13466 wx_cv_use_tga='wxUSE_TGA=no'
13467 fi
13468
13469 else
13470
13471 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13472
13473 fi
13474
13475
13476 eval "$wx_cv_use_tga"
13477
13478 if test x"$enablestring" = xdisable; then
13479 if test $wxUSE_TGA = yes; then
13480 result=no
13481 else
13482 result=yes
13483 fi
13484 else
13485 result=$wxUSE_TGA
13486 fi
13487
13488 { echo "$as_me:$LINENO: result: $result" >&5
13489 echo "${ECHO_T}$result" >&6; }
13490
13491
13492 enablestring=
13493 defaultval=$wxUSE_ALL_FEATURES
13494 if test -z "$defaultval"; then
13495 if test x"$enablestring" = xdisable; then
13496 defaultval=yes
13497 else
13498 defaultval=no
13499 fi
13500 fi
13501
13502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13503 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13504 # Check whether --enable-iff was given.
13505 if test "${enable_iff+set}" = set; then
13506 enableval=$enable_iff;
13507 if test "$enableval" = yes; then
13508 wx_cv_use_iff='wxUSE_IFF=yes'
13509 else
13510 wx_cv_use_iff='wxUSE_IFF=no'
13511 fi
13512
13513 else
13514
13515 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13516
13517 fi
13518
13519
13520 eval "$wx_cv_use_iff"
13521
13522 if test x"$enablestring" = xdisable; then
13523 if test $wxUSE_IFF = yes; then
13524 result=no
13525 else
13526 result=yes
13527 fi
13528 else
13529 result=$wxUSE_IFF
13530 fi
13531
13532 { echo "$as_me:$LINENO: result: $result" >&5
13533 echo "${ECHO_T}$result" >&6; }
13534
13535
13536 enablestring=
13537 defaultval=$wxUSE_ALL_FEATURES
13538 if test -z "$defaultval"; then
13539 if test x"$enablestring" = xdisable; then
13540 defaultval=yes
13541 else
13542 defaultval=no
13543 fi
13544 fi
13545
13546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13547 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13548 # Check whether --enable-pnm was given.
13549 if test "${enable_pnm+set}" = set; then
13550 enableval=$enable_pnm;
13551 if test "$enableval" = yes; then
13552 wx_cv_use_pnm='wxUSE_PNM=yes'
13553 else
13554 wx_cv_use_pnm='wxUSE_PNM=no'
13555 fi
13556
13557 else
13558
13559 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$wx_cv_use_pnm"
13565
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_PNM = yes; then
13568 result=no
13569 else
13570 result=yes
13571 fi
13572 else
13573 result=$wxUSE_PNM
13574 fi
13575
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13592 # Check whether --enable-xpm was given.
13593 if test "${enable_xpm+set}" = set; then
13594 enableval=$enable_xpm;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_xpm='wxUSE_XPM=yes'
13597 else
13598 wx_cv_use_xpm='wxUSE_XPM=no'
13599 fi
13600
13601 else
13602
13603 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13604
13605 fi
13606
13607
13608 eval "$wx_cv_use_xpm"
13609
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_XPM = yes; then
13612 result=no
13613 else
13614 result=yes
13615 fi
13616 else
13617 result=$wxUSE_XPM
13618 fi
13619
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13622
13623
13624 enablestring=
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13628 defaultval=yes
13629 else
13630 defaultval=no
13631 fi
13632 fi
13633
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13636 # Check whether --enable-ico_cur was given.
13637 if test "${enable_ico_cur+set}" = set; then
13638 enableval=$enable_ico_cur;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13641 else
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13643 fi
13644
13645 else
13646
13647 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13648
13649 fi
13650
13651
13652 eval "$wx_cv_use_ico_cur"
13653
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_ICO_CUR = yes; then
13656 result=no
13657 else
13658 result=yes
13659 fi
13660 else
13661 result=$wxUSE_ICO_CUR
13662 fi
13663
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13666
13667
13668
13669
13670 enablestring=
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13674 defaultval=yes
13675 else
13676 defaultval=no
13677 fi
13678 fi
13679
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13682 # Check whether --enable-dccache was given.
13683 if test "${enable_dccache+set}" = set; then
13684 enableval=$enable_dccache;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13687 else
13688 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13689 fi
13690
13691 else
13692
13693 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13694
13695 fi
13696
13697
13698 eval "$wx_cv_use_dccache"
13699
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_DC_CACHEING = yes; then
13702 result=no
13703 else
13704 result=yes
13705 fi
13706 else
13707 result=$wxUSE_DC_CACHEING
13708 fi
13709
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13712
13713
13714 enablestring=
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13718 defaultval=yes
13719 else
13720 defaultval=no
13721 fi
13722 fi
13723
13724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13725 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13726 # Check whether --enable-ps-in-msw was given.
13727 if test "${enable_ps_in_msw+set}" = set; then
13728 enableval=$enable_ps_in_msw;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13731 else
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13733 fi
13734
13735 else
13736
13737 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13738
13739 fi
13740
13741
13742 eval "$wx_cv_use_ps_in_msw"
13743
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13746 result=no
13747 else
13748 result=yes
13749 fi
13750 else
13751 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13752 fi
13753
13754 { echo "$as_me:$LINENO: result: $result" >&5
13755 echo "${ECHO_T}$result" >&6; }
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13770 # Check whether --enable-ownerdrawn was given.
13771 if test "${enable_ownerdrawn+set}" = set; then
13772 enableval=$enable_ownerdrawn;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13775 else
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_ownerdrawn"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_OWNER_DRAWN = yes; then
13790 result=no
13791 else
13792 result=yes
13793 fi
13794 else
13795 result=$wxUSE_OWNER_DRAWN
13796 fi
13797
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13800
13801
13802 enablestring=
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13806 defaultval=yes
13807 else
13808 defaultval=no
13809 fi
13810 fi
13811
13812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13813 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13814 # Check whether --enable-uxtheme was given.
13815 if test "${enable_uxtheme+set}" = set; then
13816 enableval=$enable_uxtheme;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13819 else
13820 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13821 fi
13822
13823 else
13824
13825 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_uxtheme"
13831
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_UXTHEME = yes; then
13834 result=no
13835 else
13836 result=yes
13837 fi
13838 else
13839 result=$wxUSE_UXTHEME
13840 fi
13841
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13844
13845
13846 enablestring=
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13850 defaultval=yes
13851 else
13852 defaultval=no
13853 fi
13854 fi
13855
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13858 # Check whether --enable-wxdib was given.
13859 if test "${enable_wxdib+set}" = set; then
13860 enableval=$enable_wxdib;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_wxdib='wxUSE_DIB=yes'
13863 else
13864 wx_cv_use_wxdib='wxUSE_DIB=no'
13865 fi
13866
13867 else
13868
13869 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13870
13871 fi
13872
13873
13874 eval "$wx_cv_use_wxdib"
13875
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_DIB = yes; then
13878 result=no
13879 else
13880 result=yes
13881 fi
13882 else
13883 result=$wxUSE_DIB
13884 fi
13885
13886 { echo "$as_me:$LINENO: result: $result" >&5
13887 echo "${ECHO_T}$result" >&6; }
13888
13889
13890 if test "$wxUSE_MSW" != 1; then
13891 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13892 fi
13893
13894
13895 enablestring=
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13899 defaultval=yes
13900 else
13901 defaultval=no
13902 fi
13903 fi
13904
13905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13907 # Check whether --enable-autoidman was given.
13908 if test "${enable_autoidman+set}" = set; then
13909 enableval=$enable_autoidman;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13912 else
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13914 fi
13915
13916 else
13917
13918 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13919
13920 fi
13921
13922
13923 eval "$wx_cv_use_autoidman"
13924
13925 if test x"$enablestring" = xdisable; then
13926 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13927 result=no
13928 else
13929 result=yes
13930 fi
13931 else
13932 result=$wxUSE_AUTOID_MANAGEMENT
13933 fi
13934
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13937
13938
13939 fi
13940
13941
13942 cat >confcache <<\_ACEOF
13943 # This file is a shell script that caches the results of configure
13944 # tests run on this system so they can be shared between configure
13945 # scripts and configure runs, see configure's option --config-cache.
13946 # It is not useful on other systems. If it contains results you don't
13947 # want to keep, you may remove or edit it.
13948 #
13949 # config.status only pays attention to the cache file if you give it
13950 # the --recheck option to rerun configure.
13951 #
13952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13954 # following values.
13955
13956 _ACEOF
13957
13958 # The following way of writing the cache mishandles newlines in values,
13959 # but we know of no workaround that is simple, portable, and efficient.
13960 # So, we kill variables containing newlines.
13961 # Ultrix sh set writes to stderr and can't be redirected directly,
13962 # and sets the high bit in the cache file unless we assign to the vars.
13963 (
13964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13965 eval ac_val=\$$ac_var
13966 case $ac_val in #(
13967 *${as_nl}*)
13968 case $ac_var in #(
13969 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13971 esac
13972 case $ac_var in #(
13973 _ | IFS | as_nl) ;; #(
13974 *) $as_unset $ac_var ;;
13975 esac ;;
13976 esac
13977 done
13978
13979 (set) 2>&1 |
13980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13981 *${as_nl}ac_space=\ *)
13982 # `set' does not quote correctly, so add quotes (double-quote
13983 # substitution turns \\\\ into \\, and sed turns \\ into \).
13984 sed -n \
13985 "s/'/'\\\\''/g;
13986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13987 ;; #(
13988 *)
13989 # `set' quotes correctly as required by POSIX, so do not add quotes.
13990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13991 ;;
13992 esac |
13993 sort
13994 ) |
13995 sed '
13996 /^ac_cv_env_/b end
13997 t clear
13998 :clear
13999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14000 t end
14001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14002 :end' >>confcache
14003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14004 if test -w "$cache_file"; then
14005 test "x$cache_file" != "x/dev/null" &&
14006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14007 echo "$as_me: updating cache $cache_file" >&6;}
14008 cat confcache >$cache_file
14009 else
14010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14012 fi
14013 fi
14014 rm -f confcache
14015
14016 CFLAGS=${CFLAGS:=}
14017
14018
14019
14020 ac_ext=c
14021 ac_cpp='$CPP $CPPFLAGS'
14022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14025 if test -n "$ac_tool_prefix"; then
14026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14027 set dummy ${ac_tool_prefix}gcc; 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_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}gcc"
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 CC=$ac_cv_prog_CC
14054 if test -n "$CC"; then
14055 { echo "$as_me:$LINENO: result: $CC" >&5
14056 echo "${ECHO_T}$CC" >&6; }
14057 else
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14060 fi
14061
14062
14063 fi
14064 if test -z "$ac_cv_prog_CC"; then
14065 ac_ct_CC=$CC
14066 # Extract the first word of "gcc", so it can be a program name with args.
14067 set dummy gcc; ac_word=$2
14068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 else
14073 if test -n "$ac_ct_CC"; then
14074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14075 else
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14078 do
14079 IFS=$as_save_IFS
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14083 ac_cv_prog_ac_ct_CC="gcc"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14085 break 2
14086 fi
14087 done
14088 done
14089 IFS=$as_save_IFS
14090
14091 fi
14092 fi
14093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14094 if test -n "$ac_ct_CC"; then
14095 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14096 echo "${ECHO_T}$ac_ct_CC" >&6; }
14097 else
14098 { echo "$as_me:$LINENO: result: no" >&5
14099 echo "${ECHO_T}no" >&6; }
14100 fi
14101
14102 if test "x$ac_ct_CC" = x; then
14103 CC=""
14104 else
14105 case $cross_compiling:$ac_tool_warned in
14106 yes:)
14107 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14108 whose name does not start with the host triplet. If you think this
14109 configuration is useful to you, please write to autoconf@gnu.org." >&5
14110 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14113 ac_tool_warned=yes ;;
14114 esac
14115 CC=$ac_ct_CC
14116 fi
14117 else
14118 CC="$ac_cv_prog_CC"
14119 fi
14120
14121 if test -z "$CC"; then
14122 if test -n "$ac_tool_prefix"; then
14123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14124 set dummy ${ac_tool_prefix}cc; ac_word=$2
14125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14127 if test "${ac_cv_prog_CC+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 else
14130 if test -n "$CC"; then
14131 ac_cv_prog_CC="$CC" # Let the user override the test.
14132 else
14133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14134 for as_dir in $PATH
14135 do
14136 IFS=$as_save_IFS
14137 test -z "$as_dir" && as_dir=.
14138 for ac_exec_ext in '' $ac_executable_extensions; do
14139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140 ac_cv_prog_CC="${ac_tool_prefix}cc"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14142 break 2
14143 fi
14144 done
14145 done
14146 IFS=$as_save_IFS
14147
14148 fi
14149 fi
14150 CC=$ac_cv_prog_CC
14151 if test -n "$CC"; then
14152 { echo "$as_me:$LINENO: result: $CC" >&5
14153 echo "${ECHO_T}$CC" >&6; }
14154 else
14155 { echo "$as_me:$LINENO: result: no" >&5
14156 echo "${ECHO_T}no" >&6; }
14157 fi
14158
14159
14160 fi
14161 fi
14162 if test -z "$CC"; then
14163 # Extract the first word of "cc", so it can be a program name with args.
14164 set dummy cc; ac_word=$2
14165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14167 if test "${ac_cv_prog_CC+set}" = set; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 else
14170 if test -n "$CC"; then
14171 ac_cv_prog_CC="$CC" # Let the user override the test.
14172 else
14173 ac_prog_rejected=no
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 for as_dir in $PATH
14176 do
14177 IFS=$as_save_IFS
14178 test -z "$as_dir" && as_dir=.
14179 for ac_exec_ext in '' $ac_executable_extensions; do
14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14182 ac_prog_rejected=yes
14183 continue
14184 fi
14185 ac_cv_prog_CC="cc"
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14187 break 2
14188 fi
14189 done
14190 done
14191 IFS=$as_save_IFS
14192
14193 if test $ac_prog_rejected = yes; then
14194 # We found a bogon in the path, so make sure we never use it.
14195 set dummy $ac_cv_prog_CC
14196 shift
14197 if test $# != 0; then
14198 # We chose a different compiler from the bogus one.
14199 # However, it has the same basename, so the bogon will be chosen
14200 # first if we set CC to just the basename; use the full file name.
14201 shift
14202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14203 fi
14204 fi
14205 fi
14206 fi
14207 CC=$ac_cv_prog_CC
14208 if test -n "$CC"; then
14209 { echo "$as_me:$LINENO: result: $CC" >&5
14210 echo "${ECHO_T}$CC" >&6; }
14211 else
14212 { echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6; }
14214 fi
14215
14216
14217 fi
14218 if test -z "$CC"; then
14219 if test -n "$ac_tool_prefix"; then
14220 for ac_prog in cl.exe
14221 do
14222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14226 if test "${ac_cv_prog_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 else
14229 if test -n "$CC"; then
14230 ac_cv_prog_CC="$CC" # Let the user override the test.
14231 else
14232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14233 for as_dir in $PATH
14234 do
14235 IFS=$as_save_IFS
14236 test -z "$as_dir" && as_dir=.
14237 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 break 2
14242 fi
14243 done
14244 done
14245 IFS=$as_save_IFS
14246
14247 fi
14248 fi
14249 CC=$ac_cv_prog_CC
14250 if test -n "$CC"; then
14251 { echo "$as_me:$LINENO: result: $CC" >&5
14252 echo "${ECHO_T}$CC" >&6; }
14253 else
14254 { echo "$as_me:$LINENO: result: no" >&5
14255 echo "${ECHO_T}no" >&6; }
14256 fi
14257
14258
14259 test -n "$CC" && break
14260 done
14261 fi
14262 if test -z "$CC"; then
14263 ac_ct_CC=$CC
14264 for ac_prog in cl.exe
14265 do
14266 # Extract the first word of "$ac_prog", so it can be a program name with args.
14267 set dummy $ac_prog; ac_word=$2
14268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 if test -n "$ac_ct_CC"; then
14274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14275 else
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14278 do
14279 IFS=$as_save_IFS
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14283 ac_cv_prog_ac_ct_CC="$ac_prog"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14285 break 2
14286 fi
14287 done
14288 done
14289 IFS=$as_save_IFS
14290
14291 fi
14292 fi
14293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14294 if test -n "$ac_ct_CC"; then
14295 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14296 echo "${ECHO_T}$ac_ct_CC" >&6; }
14297 else
14298 { echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6; }
14300 fi
14301
14302
14303 test -n "$ac_ct_CC" && break
14304 done
14305
14306 if test "x$ac_ct_CC" = x; then
14307 CC=""
14308 else
14309 case $cross_compiling:$ac_tool_warned in
14310 yes:)
14311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14312 whose name does not start with the host triplet. If you think this
14313 configuration is useful to you, please write to autoconf@gnu.org." >&5
14314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14317 ac_tool_warned=yes ;;
14318 esac
14319 CC=$ac_ct_CC
14320 fi
14321 fi
14322
14323 fi
14324
14325
14326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14327 See \`config.log' for more details." >&5
14328 echo "$as_me: error: no acceptable C compiler found in \$PATH
14329 See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14331
14332 # Provide some information about the compiler.
14333 echo "$as_me:$LINENO: checking for C compiler version" >&5
14334 ac_compiler=`set X $ac_compile; echo $2`
14335 { (ac_try="$ac_compiler --version >&5"
14336 case "(($ac_try" in
14337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14339 esac
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compiler --version >&5") 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }
14345 { (ac_try="$ac_compiler -v >&5"
14346 case "(($ac_try" in
14347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14349 esac
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compiler -v >&5") 2>&5
14352 ac_status=$?
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }
14355 { (ac_try="$ac_compiler -V >&5"
14356 case "(($ac_try" in
14357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14358 *) ac_try_echo=$ac_try;;
14359 esac
14360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 (eval "$ac_compiler -V >&5") 2>&5
14362 ac_status=$?
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }
14365
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372
14373 int
14374 main ()
14375 {
14376
14377 ;
14378 return 0;
14379 }
14380 _ACEOF
14381 ac_clean_files_save=$ac_clean_files
14382 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14383 # Try to create an executable without -o first, disregard a.out.
14384 # It will help us diagnose broken compilers, and finding out an intuition
14385 # of exeext.
14386 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14387 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14388 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14389 #
14390 # List of possible output files, starting from the most likely.
14391 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14392 # only as a last resort. b.out is created by i960 compilers.
14393 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14394 #
14395 # The IRIX 6 linker writes into existing files which may not be
14396 # executable, retaining their permissions. Remove them first so a
14397 # subsequent execution test works.
14398 ac_rmfiles=
14399 for ac_file in $ac_files
14400 do
14401 case $ac_file in
14402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14403 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14404 esac
14405 done
14406 rm -f $ac_rmfiles
14407
14408 if { (ac_try="$ac_link_default"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14412 esac
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_link_default") 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; then
14418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14421 # so that the user can short-circuit this test for compilers unknown to
14422 # Autoconf.
14423 for ac_file in $ac_files ''
14424 do
14425 test -f "$ac_file" || continue
14426 case $ac_file in
14427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14428 ;;
14429 [ab].out )
14430 # We found the default executable, but exeext='' is most
14431 # certainly right.
14432 break;;
14433 *.* )
14434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14435 then :; else
14436 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14437 fi
14438 # We set ac_cv_exeext here because the later test for it is not
14439 # safe: cross compilers may not add the suffix if given an `-o'
14440 # argument, so we may need to know it at that point already.
14441 # Even if this section looks crufty: it has the advantage of
14442 # actually working.
14443 break;;
14444 * )
14445 break;;
14446 esac
14447 done
14448 test "$ac_cv_exeext" = no && ac_cv_exeext=
14449
14450 else
14451 ac_file=''
14452 fi
14453
14454 { echo "$as_me:$LINENO: result: $ac_file" >&5
14455 echo "${ECHO_T}$ac_file" >&6; }
14456 if test -z "$ac_file"; then
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: C compiler cannot create executables
14463 See \`config.log' for more details." >&2;}
14464 { (exit 77); exit 77; }; }
14465 fi
14466
14467 ac_exeext=$ac_cv_exeext
14468
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14474 # If not cross compiling, check that we can run a simple program.
14475 if test "$cross_compiling" != yes; then
14476 if { ac_try='./$ac_file'
14477 { (case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14480 esac
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_try") 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 cross_compiling=no
14487 else
14488 if test "$cross_compiling" = maybe; then
14489 cross_compiling=yes
14490 else
14491 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14492 If you meant to cross compile, use \`--host'.
14493 See \`config.log' for more details." >&5
14494 echo "$as_me: error: cannot run C compiled programs.
14495 If you meant to cross compile, use \`--host'.
14496 See \`config.log' for more details." >&2;}
14497 { (exit 1); exit 1; }; }
14498 fi
14499 fi
14500 fi
14501 { echo "$as_me:$LINENO: result: yes" >&5
14502 echo "${ECHO_T}yes" >&6; }
14503
14504 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14505 ac_clean_files=$ac_clean_files_save
14506 # Check that the compiler produces executables we can run. If not, either
14507 # the compiler is broken, or we cross compile.
14508 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14509 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14510 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14511 echo "${ECHO_T}$cross_compiling" >&6; }
14512
14513 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14514 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14515 if { (ac_try="$ac_link"
14516 case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14519 esac
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_link") 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; then
14525 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14526 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14527 # work properly (i.e., refer to `conftest.exe'), while it won't with
14528 # `rm'.
14529 for ac_file in conftest.exe conftest conftest.*; do
14530 test -f "$ac_file" || continue
14531 case $ac_file in
14532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14533 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14534 break;;
14535 * ) break;;
14536 esac
14537 done
14538 else
14539 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14542 See \`config.log' for more details." >&2;}
14543 { (exit 1); exit 1; }; }
14544 fi
14545
14546 rm -f conftest$ac_cv_exeext
14547 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14548 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14549
14550 rm -f conftest.$ac_ext
14551 EXEEXT=$ac_cv_exeext
14552 ac_exeext=$EXEEXT
14553 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14555 if test "${ac_cv_objext+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564
14565 int
14566 main ()
14567 {
14568
14569 ;
14570 return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.o conftest.obj
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; then
14584 for ac_file in conftest.o conftest.obj conftest.*; do
14585 test -f "$ac_file" || continue;
14586 case $ac_file in
14587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14589 break;;
14590 esac
14591 done
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14595
14596 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14597 See \`config.log' for more details." >&5
14598 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14599 See \`config.log' for more details." >&2;}
14600 { (exit 1); exit 1; }; }
14601 fi
14602
14603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14604 fi
14605 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14606 echo "${ECHO_T}$ac_cv_objext" >&6; }
14607 OBJEXT=$ac_cv_objext
14608 ac_objext=$OBJEXT
14609 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14610 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14611 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 else
14614 cat >conftest.$ac_ext <<_ACEOF
14615 /* confdefs.h. */
14616 _ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14620
14621 int
14622 main ()
14623 {
14624 #ifndef __GNUC__
14625 choke me
14626 #endif
14627
14628 ;
14629 return 0;
14630 }
14631 _ACEOF
14632 rm -f conftest.$ac_objext
14633 if { (ac_try="$ac_compile"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14637 esac
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_compile") 2>conftest.er1
14640 ac_status=$?
14641 grep -v '^ *+' conftest.er1 >conftest.err
14642 rm -f conftest.er1
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest.$ac_objext; then
14649 ac_compiler_gnu=yes
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14653
14654 ac_compiler_gnu=no
14655 fi
14656
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14659
14660 fi
14661 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14662 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14663 GCC=`test $ac_compiler_gnu = yes && echo yes`
14664 ac_test_CFLAGS=${CFLAGS+set}
14665 ac_save_CFLAGS=$CFLAGS
14666 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14668 if test "${ac_cv_prog_cc_g+set}" = set; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 else
14671 ac_save_c_werror_flag=$ac_c_werror_flag
14672 ac_c_werror_flag=yes
14673 ac_cv_prog_cc_g=no
14674 CFLAGS="-g"
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681
14682 int
14683 main ()
14684 {
14685
14686 ;
14687 return 0;
14688 }
14689 _ACEOF
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14695 esac
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14698 ac_status=$?
14699 grep -v '^ *+' conftest.er1 >conftest.err
14700 rm -f conftest.er1
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14707 ac_cv_prog_cc_g=yes
14708 else
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14711
14712 CFLAGS=""
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 ;
14725 return 0;
14726 }
14727 _ACEOF
14728 rm -f conftest.$ac_objext
14729 if { (ac_try="$ac_compile"
14730 case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14733 esac
14734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_compile") 2>conftest.er1
14736 ac_status=$?
14737 grep -v '^ *+' conftest.er1 >conftest.err
14738 rm -f conftest.er1
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && {
14742 test -z "$ac_c_werror_flag" ||
14743 test ! -s conftest.err
14744 } && test -s conftest.$ac_objext; then
14745 :
14746 else
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14749
14750 ac_c_werror_flag=$ac_save_c_werror_flag
14751 CFLAGS="-g"
14752 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */
14754 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758
14759 int
14760 main ()
14761 {
14762
14763 ;
14764 return 0;
14765 }
14766 _ACEOF
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14788
14789
14790 fi
14791
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14793 fi
14794
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 fi
14797
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 ac_c_werror_flag=$ac_save_c_werror_flag
14800 fi
14801 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14802 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14803 if test "$ac_test_CFLAGS" = set; then
14804 CFLAGS=$ac_save_CFLAGS
14805 elif test $ac_cv_prog_cc_g = yes; then
14806 if test "$GCC" = yes; then
14807 CFLAGS="-g -O2"
14808 else
14809 CFLAGS="-g"
14810 fi
14811 else
14812 if test "$GCC" = yes; then
14813 CFLAGS="-O2"
14814 else
14815 CFLAGS=
14816 fi
14817 fi
14818 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14819 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14820 if test "${ac_cv_prog_cc_c89+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 else
14823 ac_cv_prog_cc_c89=no
14824 ac_save_CC=$CC
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <stdarg.h>
14832 #include <stdio.h>
14833 #include <sys/types.h>
14834 #include <sys/stat.h>
14835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14836 struct buf { int x; };
14837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14838 static char *e (p, i)
14839 char **p;
14840 int i;
14841 {
14842 return p[i];
14843 }
14844 static char *f (char * (*g) (char **, int), char **p, ...)
14845 {
14846 char *s;
14847 va_list v;
14848 va_start (v,p);
14849 s = g (p, va_arg (v,int));
14850 va_end (v);
14851 return s;
14852 }
14853
14854 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14855 function prototypes and stuff, but not '\xHH' hex character constants.
14856 These don't provoke an error unfortunately, instead are silently treated
14857 as 'x'. The following induces an error, until -std is added to get
14858 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14859 array size at least. It's necessary to write '\x00'==0 to get something
14860 that's true only with -std. */
14861 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14862
14863 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14864 inside strings and character constants. */
14865 #define FOO(x) 'x'
14866 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14867
14868 int test (int i, double x);
14869 struct s1 {int (*f) (int a);};
14870 struct s2 {int (*f) (double a);};
14871 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14872 int argc;
14873 char **argv;
14874 int
14875 main ()
14876 {
14877 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14878 ;
14879 return 0;
14880 }
14881 _ACEOF
14882 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14883 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14884 do
14885 CC="$ac_save_CC $ac_arg"
14886 rm -f conftest.$ac_objext
14887 if { (ac_try="$ac_compile"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_compile") 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest.$ac_objext; then
14903 ac_cv_prog_cc_c89=$ac_arg
14904 else
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14907
14908
14909 fi
14910
14911 rm -f core conftest.err conftest.$ac_objext
14912 test "x$ac_cv_prog_cc_c89" != "xno" && break
14913 done
14914 rm -f conftest.$ac_ext
14915 CC=$ac_save_CC
14916
14917 fi
14918 # AC_CACHE_VAL
14919 case "x$ac_cv_prog_cc_c89" in
14920 x)
14921 { echo "$as_me:$LINENO: result: none needed" >&5
14922 echo "${ECHO_T}none needed" >&6; } ;;
14923 xno)
14924 { echo "$as_me:$LINENO: result: unsupported" >&5
14925 echo "${ECHO_T}unsupported" >&6; } ;;
14926 *)
14927 CC="$CC $ac_cv_prog_cc_c89"
14928 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14929 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14930 esac
14931
14932
14933 ac_ext=c
14934 ac_cpp='$CPP $CPPFLAGS'
14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14938
14939
14940
14941
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947
14948 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14949 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14950 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 cat >conftest.$ac_ext <<_ACEOF
14954 /* confdefs.h. */
14955 _ACEOF
14956 cat confdefs.h >>conftest.$ac_ext
14957 cat >>conftest.$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14959
14960 int
14961 main ()
14962 {
14963
14964 #ifndef __INTEL_COMPILER
14965 choke me
14966 #endif
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 bakefile_cv_c_compiler___INTEL_COMPILER=no
14995
14996 fi
14997
14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14999
15000
15001 fi
15002 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15004 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15005 :; INTELCC=yes
15006 else
15007 :;
15008 fi
15009 ac_ext=c
15010 ac_cpp='$CPP $CPPFLAGS'
15011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15014
15015
15016
15017
15018 if test "x$GCC" != "xyes"; then
15019 if test "xCC" = "xC"; then
15020 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15021 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15022 if test "${bakefile_cv_c_exto+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 else
15025 cat >conftest.$ac_ext <<_ACEOF
15026 /* confdefs.h. */
15027 _ACEOF
15028 cat confdefs.h >>conftest.$ac_ext
15029 cat >>conftest.$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15031
15032 int
15033 main ()
15034 {
15035
15036 ;
15037 return 0;
15038 }
15039 _ACEOF
15040 rm -f conftest.$ac_objext conftest.$ac_ext.o
15041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15042 (eval $ac_compile) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; then
15046 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15047 case $ac_file in
15048 conftest.$ac_ext.o)
15049 bakefile_cv_c_exto="-ext o"
15050 ;;
15051 *)
15052 ;;
15053 esac
15054 done
15055 else
15056 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15057 See \`config.log' for more details." >&5
15058 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15059 See \`config.log' for more details." >&2;}
15060 { (exit 1); exit 1; }; }
15061
15062 fi
15063
15064 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15065
15066 fi
15067 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15068 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15069 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15070 if test "c" = "c"; then
15071 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15072 fi
15073 if test "c" = "cxx"; then
15074 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15075 fi
15076 fi
15077
15078 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15079 unset ac_cv_prog_cc_g
15080 ac_test_CFLAGS=${CFLAGS+set}
15081 ac_save_CFLAGS=$CFLAGS
15082 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15084 if test "${ac_cv_prog_cc_g+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15086 else
15087 ac_save_c_werror_flag=$ac_c_werror_flag
15088 ac_c_werror_flag=yes
15089 ac_cv_prog_cc_g=no
15090 CFLAGS="-g"
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097
15098 int
15099 main ()
15100 {
15101
15102 ;
15103 return 0;
15104 }
15105 _ACEOF
15106 rm -f conftest.$ac_objext
15107 if { (ac_try="$ac_compile"
15108 case "(($ac_try" in
15109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15111 esac
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_compile") 2>conftest.er1
15114 ac_status=$?
15115 grep -v '^ *+' conftest.er1 >conftest.err
15116 rm -f conftest.er1
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } && {
15120 test -z "$ac_c_werror_flag" ||
15121 test ! -s conftest.err
15122 } && test -s conftest.$ac_objext; then
15123 ac_cv_prog_cc_g=yes
15124 else
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15127
15128 CFLAGS=""
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135
15136 int
15137 main ()
15138 {
15139
15140 ;
15141 return 0;
15142 }
15143 _ACEOF
15144 rm -f conftest.$ac_objext
15145 if { (ac_try="$ac_compile"
15146 case "(($ac_try" in
15147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15149 esac
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_compile") 2>conftest.er1
15152 ac_status=$?
15153 grep -v '^ *+' conftest.er1 >conftest.err
15154 rm -f conftest.er1
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest.$ac_objext; then
15161 :
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15165
15166 ac_c_werror_flag=$ac_save_c_werror_flag
15167 CFLAGS="-g"
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174
15175 int
15176 main ()
15177 {
15178
15179 ;
15180 return 0;
15181 }
15182 _ACEOF
15183 rm -f conftest.$ac_objext
15184 if { (ac_try="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15188 esac
15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15191 ac_status=$?
15192 grep -v '^ *+' conftest.er1 >conftest.err
15193 rm -f conftest.er1
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_c_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 ac_cv_prog_cc_g=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15204
15205
15206 fi
15207
15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15209 fi
15210
15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15212 fi
15213
15214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15215 ac_c_werror_flag=$ac_save_c_werror_flag
15216 fi
15217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15218 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15219 if test "$ac_test_CFLAGS" = set; then
15220 CFLAGS=$ac_save_CFLAGS
15221 elif test $ac_cv_prog_cc_g = yes; then
15222 if test "$GCC" = yes; then
15223 CFLAGS="-g -O2"
15224 else
15225 CFLAGS="-g"
15226 fi
15227 else
15228 if test "$GCC" = yes; then
15229 CFLAGS="-O2"
15230 else
15231 CFLAGS=
15232 fi
15233 fi
15234 fi
15235 fi
15236
15237 case `uname -s` in
15238 AIX*)
15239
15240
15241 ac_ext=c
15242 ac_cpp='$CPP $CPPFLAGS'
15243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15246
15247 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15248 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15249 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15252 cat >conftest.$ac_ext <<_ACEOF
15253 /* confdefs.h. */
15254 _ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258
15259 int
15260 main ()
15261 {
15262
15263 #ifndef __xlC__
15264 choke me
15265 #endif
15266
15267 ;
15268 return 0;
15269 }
15270 _ACEOF
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15276 esac
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15279 ac_status=$?
15280 grep -v '^ *+' conftest.er1 >conftest.err
15281 rm -f conftest.er1
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 bakefile_cv_c_compiler___xlC__=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15292
15293 bakefile_cv_c_compiler___xlC__=no
15294
15295 fi
15296
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15298
15299
15300 fi
15301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15302 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15303 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15304 :; XLCC=yes
15305 else
15306 :;
15307 fi
15308 ac_ext=c
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313
15314
15315
15316 ;;
15317
15318 Darwin)
15319
15320
15321 ac_ext=c
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15326
15327 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15328 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15329 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 cat >conftest.$ac_ext <<_ACEOF
15333 /* confdefs.h. */
15334 _ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15338
15339 int
15340 main ()
15341 {
15342
15343 #ifndef __MWERKS__
15344 choke me
15345 #endif
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 bakefile_cv_c_compiler___MWERKS__=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 bakefile_cv_c_compiler___MWERKS__=no
15374
15375 fi
15376
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378
15379
15380 fi
15381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15382 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15383 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15384 :; MWCC=yes
15385 else
15386 :;
15387 fi
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393
15394
15395
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 IBM xlC C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___xlC__+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 __xlC__
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___xlC__=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450 bakefile_cv_c_compiler___xlC__=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___xlC__" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15460 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15461 :; XLCC=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 IRIX*)
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 SGI C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15540 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15541 :; SGICC=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 Linux*)
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
15635 HP-UX*)
15636
15637
15638 ac_ext=c
15639 ac_cpp='$CPP $CPPFLAGS'
15640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15643
15644 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15645 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15646 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 else
15649 cat >conftest.$ac_ext <<_ACEOF
15650 /* confdefs.h. */
15651 _ACEOF
15652 cat confdefs.h >>conftest.$ac_ext
15653 cat >>conftest.$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15655
15656 int
15657 main ()
15658 {
15659
15660 #ifndef __HP_cc
15661 choke me
15662 #endif
15663
15664 ;
15665 return 0;
15666 }
15667 _ACEOF
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15673 esac
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15676 ac_status=$?
15677 grep -v '^ *+' conftest.er1 >conftest.err
15678 rm -f conftest.er1
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.$ac_objext; then
15685 bakefile_cv_c_compiler___HP_cc=yes
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690 bakefile_cv_c_compiler___HP_cc=no
15691
15692 fi
15693
15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15695
15696
15697 fi
15698 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15699 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15700 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15701 :; HPCC=yes
15702 else
15703 :;
15704 fi
15705 ac_ext=c
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15710
15711
15712
15713 ;;
15714
15715 OSF1)
15716
15717
15718 ac_ext=c
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15723
15724 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 cat >conftest.$ac_ext <<_ACEOF
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735
15736 int
15737 main ()
15738 {
15739
15740 #ifndef __DECC
15741 choke me
15742 #endif
15743
15744 ;
15745 return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (ac_try="$ac_compile"
15750 case "(($ac_try" in
15751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15752 *) ac_try_echo=$ac_try;;
15753 esac
15754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15755 (eval "$ac_compile") 2>conftest.er1
15756 ac_status=$?
15757 grep -v '^ *+' conftest.er1 >conftest.err
15758 rm -f conftest.er1
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && {
15762 test -z "$ac_c_werror_flag" ||
15763 test ! -s conftest.err
15764 } && test -s conftest.$ac_objext; then
15765 bakefile_cv_c_compiler___DECC=yes
15766 else
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.$ac_ext >&5
15769
15770 bakefile_cv_c_compiler___DECC=no
15771
15772 fi
15773
15774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15775
15776
15777 fi
15778 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15779 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15780 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15781 :; COMPAQCC=yes
15782 else
15783 :;
15784 fi
15785 ac_ext=c
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790
15791
15792
15793 ;;
15794
15795 SunOS)
15796
15797
15798 ac_ext=c
15799 ac_cpp='$CPP $CPPFLAGS'
15800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15803
15804 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15805 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15806 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 else
15809 cat >conftest.$ac_ext <<_ACEOF
15810 /* confdefs.h. */
15811 _ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815
15816 int
15817 main ()
15818 {
15819
15820 #ifndef __SUNPRO_C
15821 choke me
15822 #endif
15823
15824 ;
15825 return 0;
15826 }
15827 _ACEOF
15828 rm -f conftest.$ac_objext
15829 if { (ac_try="$ac_compile"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15833 esac
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_compile") 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest.$ac_objext; then
15845 bakefile_cv_c_compiler___SUNPRO_C=yes
15846 else
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 bakefile_cv_c_compiler___SUNPRO_C=no
15851
15852 fi
15853
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855
15856
15857 fi
15858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15859 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15860 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15861 :; SUNCC=yes
15862 else
15863 :;
15864 fi
15865 ac_ext=c
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15870
15871
15872
15873 ;;
15874 esac
15875 fi
15876
15877
15878
15879 ac_ext=c
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15885 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15886 # On Suns, sometimes $CPP names a directory.
15887 if test -n "$CPP" && test -d "$CPP"; then
15888 CPP=
15889 fi
15890 if test -z "$CPP"; then
15891 if test "${ac_cv_prog_CPP+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 else
15894 # Double quotes because CPP needs to be expanded
15895 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15896 do
15897 ac_preproc_ok=false
15898 for ac_c_preproc_warn_flag in '' yes
15899 do
15900 # Use a header file that comes with gcc, so configuring glibc
15901 # with a fresh cross-compiler works.
15902 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15903 # <limits.h> exists even on freestanding compilers.
15904 # On the NeXT, cc -E runs the code through the compiler's parser,
15905 # not just through cpp. "Syntax error" is here to catch this case.
15906 cat >conftest.$ac_ext <<_ACEOF
15907 /* confdefs.h. */
15908 _ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 #ifdef __STDC__
15913 # include <limits.h>
15914 #else
15915 # include <assert.h>
15916 #endif
15917 Syntax error
15918 _ACEOF
15919 if { (ac_try="$ac_cpp conftest.$ac_ext"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15923 esac
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } >/dev/null && {
15932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15933 test ! -s conftest.err
15934 }; then
15935 :
15936 else
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15939
15940 # Broken: fails on valid input.
15941 continue
15942 fi
15943
15944 rm -f conftest.err conftest.$ac_ext
15945
15946 # OK, works on sane cases. Now check whether nonexistent headers
15947 # can be detected and how.
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <ac_nonexistent.h>
15955 _ACEOF
15956 if { (ac_try="$ac_cpp conftest.$ac_ext"
15957 case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15960 esac
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15963 ac_status=$?
15964 grep -v '^ *+' conftest.er1 >conftest.err
15965 rm -f conftest.er1
15966 cat conftest.err >&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } >/dev/null && {
15969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15970 test ! -s conftest.err
15971 }; then
15972 # Broken: success on invalid input.
15973 continue
15974 else
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15977
15978 # Passes both tests.
15979 ac_preproc_ok=:
15980 break
15981 fi
15982
15983 rm -f conftest.err conftest.$ac_ext
15984
15985 done
15986 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15987 rm -f conftest.err conftest.$ac_ext
15988 if $ac_preproc_ok; then
15989 break
15990 fi
15991
15992 done
15993 ac_cv_prog_CPP=$CPP
15994
15995 fi
15996 CPP=$ac_cv_prog_CPP
15997 else
15998 ac_cv_prog_CPP=$CPP
15999 fi
16000 { echo "$as_me:$LINENO: result: $CPP" >&5
16001 echo "${ECHO_T}$CPP" >&6; }
16002 ac_preproc_ok=false
16003 for ac_c_preproc_warn_flag in '' yes
16004 do
16005 # Use a header file that comes with gcc, so configuring glibc
16006 # with a fresh cross-compiler works.
16007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008 # <limits.h> exists even on freestanding compilers.
16009 # On the NeXT, cc -E runs the code through the compiler's parser,
16010 # not just through cpp. "Syntax error" is here to catch this case.
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 #ifdef __STDC__
16018 # include <limits.h>
16019 #else
16020 # include <assert.h>
16021 #endif
16022 Syntax error
16023 _ACEOF
16024 if { (ac_try="$ac_cpp conftest.$ac_ext"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16028 esac
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16031 ac_status=$?
16032 grep -v '^ *+' conftest.er1 >conftest.err
16033 rm -f conftest.er1
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } >/dev/null && {
16037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16038 test ! -s conftest.err
16039 }; then
16040 :
16041 else
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045 # Broken: fails on valid input.
16046 continue
16047 fi
16048
16049 rm -f conftest.err conftest.$ac_ext
16050
16051 # OK, works on sane cases. Now check whether nonexistent headers
16052 # can be detected and how.
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 #include <ac_nonexistent.h>
16060 _ACEOF
16061 if { (ac_try="$ac_cpp conftest.$ac_ext"
16062 case "(($ac_try" in
16063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16064 *) ac_try_echo=$ac_try;;
16065 esac
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16068 ac_status=$?
16069 grep -v '^ *+' conftest.er1 >conftest.err
16070 rm -f conftest.er1
16071 cat conftest.err >&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } >/dev/null && {
16074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16075 test ! -s conftest.err
16076 }; then
16077 # Broken: success on invalid input.
16078 continue
16079 else
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16082
16083 # Passes both tests.
16084 ac_preproc_ok=:
16085 break
16086 fi
16087
16088 rm -f conftest.err conftest.$ac_ext
16089
16090 done
16091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16092 rm -f conftest.err conftest.$ac_ext
16093 if $ac_preproc_ok; then
16094 :
16095 else
16096 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; }
16101 fi
16102
16103 ac_ext=c
16104 ac_cpp='$CPP $CPPFLAGS'
16105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16108
16109
16110 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16111 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16112 if test "${ac_cv_path_GREP+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 # Extract the first word of "grep ggrep" to use in msg output
16116 if test -z "$GREP"; then
16117 set dummy grep ggrep; ac_prog_name=$2
16118 if test "${ac_cv_path_GREP+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 else
16121 ac_path_GREP_found=false
16122 # Loop through the user's path and test for each of PROGNAME-LIST
16123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16125 do
16126 IFS=$as_save_IFS
16127 test -z "$as_dir" && as_dir=.
16128 for ac_prog in grep ggrep; do
16129 for ac_exec_ext in '' $ac_executable_extensions; do
16130 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16131 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16132 # Check for GNU ac_path_GREP and select it if it is found.
16133 # Check for GNU $ac_path_GREP
16134 case `"$ac_path_GREP" --version 2>&1` in
16135 *GNU*)
16136 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16137 *)
16138 ac_count=0
16139 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16140 while :
16141 do
16142 cat "conftest.in" "conftest.in" >"conftest.tmp"
16143 mv "conftest.tmp" "conftest.in"
16144 cp "conftest.in" "conftest.nl"
16145 echo 'GREP' >> "conftest.nl"
16146 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16148 ac_count=`expr $ac_count + 1`
16149 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16150 # Best one so far, save it but keep looking for a better one
16151 ac_cv_path_GREP="$ac_path_GREP"
16152 ac_path_GREP_max=$ac_count
16153 fi
16154 # 10*(2^10) chars as input seems more than enough
16155 test $ac_count -gt 10 && break
16156 done
16157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16158 esac
16159
16160
16161 $ac_path_GREP_found && break 3
16162 done
16163 done
16164
16165 done
16166 IFS=$as_save_IFS
16167
16168
16169 fi
16170
16171 GREP="$ac_cv_path_GREP"
16172 if test -z "$GREP"; then
16173 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16174 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16175 { (exit 1); exit 1; }; }
16176 fi
16177
16178 else
16179 ac_cv_path_GREP=$GREP
16180 fi
16181
16182
16183 fi
16184 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16185 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16186 GREP="$ac_cv_path_GREP"
16187
16188
16189 { echo "$as_me:$LINENO: checking for egrep" >&5
16190 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16191 if test "${ac_cv_path_EGREP+set}" = set; then
16192 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 else
16194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16195 then ac_cv_path_EGREP="$GREP -E"
16196 else
16197 # Extract the first word of "egrep" to use in msg output
16198 if test -z "$EGREP"; then
16199 set dummy egrep; ac_prog_name=$2
16200 if test "${ac_cv_path_EGREP+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 else
16203 ac_path_EGREP_found=false
16204 # Loop through the user's path and test for each of PROGNAME-LIST
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16207 do
16208 IFS=$as_save_IFS
16209 test -z "$as_dir" && as_dir=.
16210 for ac_prog in egrep; do
16211 for ac_exec_ext in '' $ac_executable_extensions; do
16212 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16213 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16214 # Check for GNU ac_path_EGREP and select it if it is found.
16215 # Check for GNU $ac_path_EGREP
16216 case `"$ac_path_EGREP" --version 2>&1` in
16217 *GNU*)
16218 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16219 *)
16220 ac_count=0
16221 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16222 while :
16223 do
16224 cat "conftest.in" "conftest.in" >"conftest.tmp"
16225 mv "conftest.tmp" "conftest.in"
16226 cp "conftest.in" "conftest.nl"
16227 echo 'EGREP' >> "conftest.nl"
16228 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16229 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16230 ac_count=`expr $ac_count + 1`
16231 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16232 # Best one so far, save it but keep looking for a better one
16233 ac_cv_path_EGREP="$ac_path_EGREP"
16234 ac_path_EGREP_max=$ac_count
16235 fi
16236 # 10*(2^10) chars as input seems more than enough
16237 test $ac_count -gt 10 && break
16238 done
16239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16240 esac
16241
16242
16243 $ac_path_EGREP_found && break 3
16244 done
16245 done
16246
16247 done
16248 IFS=$as_save_IFS
16249
16250
16251 fi
16252
16253 EGREP="$ac_cv_path_EGREP"
16254 if test -z "$EGREP"; then
16255 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16256 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16257 { (exit 1); exit 1; }; }
16258 fi
16259
16260 else
16261 ac_cv_path_EGREP=$EGREP
16262 fi
16263
16264
16265 fi
16266 fi
16267 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16268 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16269 EGREP="$ac_cv_path_EGREP"
16270
16271
16272 if test $ac_cv_c_compiler_gnu = yes; then
16273 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16274 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16275 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 else
16278 ac_pattern="Autoconf.*'x'"
16279 cat >conftest.$ac_ext <<_ACEOF
16280 /* confdefs.h. */
16281 _ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 #include <sgtty.h>
16286 Autoconf TIOCGETP
16287 _ACEOF
16288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16289 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16290 ac_cv_prog_gcc_traditional=yes
16291 else
16292 ac_cv_prog_gcc_traditional=no
16293 fi
16294 rm -f conftest*
16295
16296
16297 if test $ac_cv_prog_gcc_traditional = no; then
16298 cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h. */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <termio.h>
16305 Autoconf TCGETA
16306 _ACEOF
16307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16308 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16309 ac_cv_prog_gcc_traditional=yes
16310 fi
16311 rm -f conftest*
16312
16313 fi
16314 fi
16315 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16316 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16317 if test $ac_cv_prog_gcc_traditional = yes; then
16318 CC="$CC -traditional"
16319 fi
16320 fi
16321
16322
16323 CXXFLAGS=${CXXFLAGS:=}
16324
16325
16326
16327 ac_ext=cpp
16328 ac_cpp='$CXXCPP $CPPFLAGS'
16329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16332 if test -z "$CXX"; then
16333 if test -n "$CCC"; then
16334 CXX=$CCC
16335 else
16336 if test -n "$ac_tool_prefix"; then
16337 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16338 do
16339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16343 if test "${ac_cv_prog_CXX+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16346 if test -n "$CXX"; then
16347 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16348 else
16349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16351 do
16352 IFS=$as_save_IFS
16353 test -z "$as_dir" && as_dir=.
16354 for ac_exec_ext in '' $ac_executable_extensions; do
16355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16356 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16358 break 2
16359 fi
16360 done
16361 done
16362 IFS=$as_save_IFS
16363
16364 fi
16365 fi
16366 CXX=$ac_cv_prog_CXX
16367 if test -n "$CXX"; then
16368 { echo "$as_me:$LINENO: result: $CXX" >&5
16369 echo "${ECHO_T}$CXX" >&6; }
16370 else
16371 { echo "$as_me:$LINENO: result: no" >&5
16372 echo "${ECHO_T}no" >&6; }
16373 fi
16374
16375
16376 test -n "$CXX" && break
16377 done
16378 fi
16379 if test -z "$CXX"; then
16380 ac_ct_CXX=$CXX
16381 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16382 do
16383 # Extract the first word of "$ac_prog", so it can be a program name with args.
16384 set dummy $ac_prog; ac_word=$2
16385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16387 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 if test -n "$ac_ct_CXX"; then
16391 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16392 else
16393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16394 for as_dir in $PATH
16395 do
16396 IFS=$as_save_IFS
16397 test -z "$as_dir" && as_dir=.
16398 for ac_exec_ext in '' $ac_executable_extensions; do
16399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16400 ac_cv_prog_ac_ct_CXX="$ac_prog"
16401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16402 break 2
16403 fi
16404 done
16405 done
16406 IFS=$as_save_IFS
16407
16408 fi
16409 fi
16410 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16411 if test -n "$ac_ct_CXX"; then
16412 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16413 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16414 else
16415 { echo "$as_me:$LINENO: result: no" >&5
16416 echo "${ECHO_T}no" >&6; }
16417 fi
16418
16419
16420 test -n "$ac_ct_CXX" && break
16421 done
16422
16423 if test "x$ac_ct_CXX" = x; then
16424 CXX="g++"
16425 else
16426 case $cross_compiling:$ac_tool_warned in
16427 yes:)
16428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16429 whose name does not start with the host triplet. If you think this
16430 configuration is useful to you, please write to autoconf@gnu.org." >&5
16431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16432 whose name does not start with the host triplet. If you think this
16433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16434 ac_tool_warned=yes ;;
16435 esac
16436 CXX=$ac_ct_CXX
16437 fi
16438 fi
16439
16440 fi
16441 fi
16442 # Provide some information about the compiler.
16443 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16444 ac_compiler=`set X $ac_compile; echo $2`
16445 { (ac_try="$ac_compiler --version >&5"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compiler --version >&5") 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }
16455 { (ac_try="$ac_compiler -v >&5"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16459 esac
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_compiler -v >&5") 2>&5
16462 ac_status=$?
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }
16465 { (ac_try="$ac_compiler -V >&5"
16466 case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16469 esac
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_compiler -V >&5") 2>&5
16472 ac_status=$?
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }
16475
16476 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16477 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 else
16481 cat >conftest.$ac_ext <<_ACEOF
16482 /* confdefs.h. */
16483 _ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16487
16488 int
16489 main ()
16490 {
16491 #ifndef __GNUC__
16492 choke me
16493 #endif
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_cxx_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 ac_compiler_gnu=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 ac_compiler_gnu=no
16522 fi
16523
16524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16526
16527 fi
16528 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16529 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16530 GXX=`test $ac_compiler_gnu = yes && echo yes`
16531 ac_test_CXXFLAGS=${CXXFLAGS+set}
16532 ac_save_CXXFLAGS=$CXXFLAGS
16533 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16534 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16535 if test "${ac_cv_prog_cxx_g+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16539 ac_cxx_werror_flag=yes
16540 ac_cv_prog_cxx_g=no
16541 CXXFLAGS="-g"
16542 cat >conftest.$ac_ext <<_ACEOF
16543 /* confdefs.h. */
16544 _ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16548
16549 int
16550 main ()
16551 {
16552
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16562 esac
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16565 ac_status=$?
16566 grep -v '^ *+' conftest.er1 >conftest.err
16567 rm -f conftest.er1
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_cxx_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16574 ac_cv_prog_cxx_g=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 CXXFLAGS=""
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586
16587 int
16588 main ()
16589 {
16590
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 rm -f conftest.$ac_objext
16596 if { (ac_try="$ac_compile"
16597 case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16600 esac
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_compile") 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } && {
16609 test -z "$ac_cxx_werror_flag" ||
16610 test ! -s conftest.err
16611 } && test -s conftest.$ac_objext; then
16612 :
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16616
16617 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16618 CXXFLAGS="-g"
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625
16626 int
16627 main ()
16628 {
16629
16630 ;
16631 return 0;
16632 }
16633 _ACEOF
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16639 esac
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_cxx_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 ac_cv_prog_cxx_g=yes
16652 else
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16655
16656
16657 fi
16658
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 fi
16661
16662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16663 fi
16664
16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16666 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16667 fi
16668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16669 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16670 if test "$ac_test_CXXFLAGS" = set; then
16671 CXXFLAGS=$ac_save_CXXFLAGS
16672 elif test $ac_cv_prog_cxx_g = yes; then
16673 if test "$GXX" = yes; then
16674 CXXFLAGS="-g -O2"
16675 else
16676 CXXFLAGS="-g"
16677 fi
16678 else
16679 if test "$GXX" = yes; then
16680 CXXFLAGS="-O2"
16681 else
16682 CXXFLAGS=
16683 fi
16684 fi
16685 ac_ext=c
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690
16691
16692
16693
16694 ac_ext=cpp
16695 ac_cpp='$CXXCPP $CPPFLAGS'
16696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16699
16700 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16701 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16702 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 else
16705 cat >conftest.$ac_ext <<_ACEOF
16706 /* confdefs.h. */
16707 _ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711
16712 int
16713 main ()
16714 {
16715
16716 #ifndef __INTEL_COMPILER
16717 choke me
16718 #endif
16719
16720 ;
16721 return 0;
16722 }
16723 _ACEOF
16724 rm -f conftest.$ac_objext
16725 if { (ac_try="$ac_compile"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16729 esac
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_compile") 2>conftest.er1
16732 ac_status=$?
16733 grep -v '^ *+' conftest.er1 >conftest.err
16734 rm -f conftest.er1
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_cxx_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest.$ac_objext; then
16741 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16742 else
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16745
16746 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16747
16748 fi
16749
16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16751
16752
16753 fi
16754 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16756 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16757 :; INTELCXX=yes
16758 else
16759 :;
16760 fi
16761 ac_ext=c
16762 ac_cpp='$CPP $CPPFLAGS'
16763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16766
16767
16768
16769
16770 if test "x$GCXX" != "xyes"; then
16771 if test "xCXX" = "xC"; then
16772 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16773 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16774 if test "${bakefile_cv_c_exto+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 cat >conftest.$ac_ext <<_ACEOF
16778 /* confdefs.h. */
16779 _ACEOF
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783
16784 int
16785 main ()
16786 {
16787
16788 ;
16789 return 0;
16790 }
16791 _ACEOF
16792 rm -f conftest.$ac_objext conftest.$ac_ext.o
16793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16794 (eval $ac_compile) 2>&5
16795 ac_status=$?
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; then
16798 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16799 case $ac_file in
16800 conftest.$ac_ext.o)
16801 bakefile_cv_c_exto="-ext o"
16802 ;;
16803 *)
16804 ;;
16805 esac
16806 done
16807 else
16808 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16809 See \`config.log' for more details." >&5
16810 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16811 See \`config.log' for more details." >&2;}
16812 { (exit 1); exit 1; }; }
16813
16814 fi
16815
16816 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16817
16818 fi
16819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16820 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16821 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16822 if test "c" = "c"; then
16823 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16824 fi
16825 if test "c" = "cxx"; then
16826 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16827 fi
16828 fi
16829
16830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16831 unset ac_cv_prog_cc_g
16832 ac_test_CFLAGS=${CFLAGS+set}
16833 ac_save_CFLAGS=$CFLAGS
16834 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16835 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16836 if test "${ac_cv_prog_cc_g+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 else
16839 ac_save_c_werror_flag=$ac_c_werror_flag
16840 ac_c_werror_flag=yes
16841 ac_cv_prog_cc_g=no
16842 CFLAGS="-g"
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849
16850 int
16851 main ()
16852 {
16853
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16863 esac
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.$ac_objext; then
16875 ac_cv_prog_cc_g=yes
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 CFLAGS=""
16881 cat >conftest.$ac_ext <<_ACEOF
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887
16888 int
16889 main ()
16890 {
16891
16892 ;
16893 return 0;
16894 }
16895 _ACEOF
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16901 esac
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_c_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.$ac_objext; then
16913 :
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16917
16918 ac_c_werror_flag=$ac_save_c_werror_flag
16919 CFLAGS="-g"
16920 cat >conftest.$ac_ext <<_ACEOF
16921 /* confdefs.h. */
16922 _ACEOF
16923 cat confdefs.h >>conftest.$ac_ext
16924 cat >>conftest.$ac_ext <<_ACEOF
16925 /* end confdefs.h. */
16926
16927 int
16928 main ()
16929 {
16930
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 rm -f conftest.$ac_objext
16936 if { (ac_try="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16940 esac
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16943 ac_status=$?
16944 grep -v '^ *+' conftest.er1 >conftest.err
16945 rm -f conftest.er1
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_c_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.$ac_objext; then
16952 ac_cv_prog_cc_g=yes
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957
16958 fi
16959
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961 fi
16962
16963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16964 fi
16965
16966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967 ac_c_werror_flag=$ac_save_c_werror_flag
16968 fi
16969 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16970 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16971 if test "$ac_test_CFLAGS" = set; then
16972 CFLAGS=$ac_save_CFLAGS
16973 elif test $ac_cv_prog_cc_g = yes; then
16974 if test "$GCC" = yes; then
16975 CFLAGS="-g -O2"
16976 else
16977 CFLAGS="-g"
16978 fi
16979 else
16980 if test "$GCC" = yes; then
16981 CFLAGS="-O2"
16982 else
16983 CFLAGS=
16984 fi
16985 fi
16986 fi
16987 fi
16988
16989 case `uname -s` in
16990 AIX*)
16991
16992
16993 ac_ext=cpp
16994 ac_cpp='$CXXCPP $CPPFLAGS'
16995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16998
16999 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17000 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17001 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 else
17004 cat >conftest.$ac_ext <<_ACEOF
17005 /* confdefs.h. */
17006 _ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17010
17011 int
17012 main ()
17013 {
17014
17015 #ifndef __xlC__
17016 choke me
17017 #endif
17018
17019 ;
17020 return 0;
17021 }
17022 _ACEOF
17023 rm -f conftest.$ac_objext
17024 if { (ac_try="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17028 esac
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17031 ac_status=$?
17032 grep -v '^ *+' conftest.er1 >conftest.err
17033 rm -f conftest.er1
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_cxx_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17040 bakefile_cv_cxx_compiler___xlC__=yes
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045 bakefile_cv_cxx_compiler___xlC__=no
17046
17047 fi
17048
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050
17051
17052 fi
17053 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17055 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17056 :; XLCXX=yes
17057 else
17058 :;
17059 fi
17060 ac_ext=c
17061 ac_cpp='$CPP $CPPFLAGS'
17062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17065
17066
17067
17068 ;;
17069
17070 Darwin)
17071
17072
17073 ac_ext=cpp
17074 ac_cpp='$CXXCPP $CPPFLAGS'
17075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17078
17079 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17080 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17081 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 else
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090
17091 int
17092 main ()
17093 {
17094
17095 #ifndef __MWERKS__
17096 choke me
17097 #endif
17098
17099 ;
17100 return 0;
17101 }
17102 _ACEOF
17103 rm -f conftest.$ac_objext
17104 if { (ac_try="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17108 esac
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_cxx_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 bakefile_cv_cxx_compiler___MWERKS__=yes
17121 else
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17124
17125 bakefile_cv_cxx_compiler___MWERKS__=no
17126
17127 fi
17128
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130
17131
17132 fi
17133 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17134 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17135 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17136 :; MWCXX=yes
17137 else
17138 :;
17139 fi
17140 ac_ext=c
17141 ac_cpp='$CPP $CPPFLAGS'
17142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17145
17146
17147
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 IBM xlC C++ compiler" >&5
17157 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17158 if test "${bakefile_cv_cxx_compiler___xlC__+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 __xlC__
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___xlC__=yes
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 bakefile_cv_cxx_compiler___xlC__=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___xlC__" >&5
17211 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17212 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17213 :; XLCXX=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 IRIX*)
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 SGI C++ compiler" >&5
17237 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17238 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+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 _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=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__SGI_COMPILER_VERSION" >&5
17291 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17292 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17293 :; SGICXX=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 Linux*)
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
17387 HP-UX*)
17388
17389
17390 ac_ext=cpp
17391 ac_cpp='$CXXCPP $CPPFLAGS'
17392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17395
17396 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17397 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17398 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 else
17401 cat >conftest.$ac_ext <<_ACEOF
17402 /* confdefs.h. */
17403 _ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407
17408 int
17409 main ()
17410 {
17411
17412 #ifndef __HP_aCC
17413 choke me
17414 #endif
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext
17421 if { (ac_try="$ac_compile"
17422 case "(($ac_try" in
17423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17424 *) ac_try_echo=$ac_try;;
17425 esac
17426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17427 (eval "$ac_compile") 2>conftest.er1
17428 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && {
17434 test -z "$ac_cxx_werror_flag" ||
17435 test ! -s conftest.err
17436 } && test -s conftest.$ac_objext; then
17437 bakefile_cv_cxx_compiler___HP_aCC=yes
17438 else
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17441
17442 bakefile_cv_cxx_compiler___HP_aCC=no
17443
17444 fi
17445
17446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17447
17448
17449 fi
17450 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17452 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17453 :; HPCXX=yes
17454 else
17455 :;
17456 fi
17457 ac_ext=c
17458 ac_cpp='$CPP $CPPFLAGS'
17459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17462
17463
17464
17465 ;;
17466
17467 OSF1)
17468
17469
17470 ac_ext=cpp
17471 ac_cpp='$CXXCPP $CPPFLAGS'
17472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17475
17476 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17477 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17478 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17479 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 else
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 int
17489 main ()
17490 {
17491
17492 #ifndef __DECCXX
17493 choke me
17494 #endif
17495
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (ac_try="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17505 esac
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17508 ac_status=$?
17509 grep -v '^ *+' conftest.er1 >conftest.err
17510 rm -f conftest.er1
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && {
17514 test -z "$ac_cxx_werror_flag" ||
17515 test ! -s conftest.err
17516 } && test -s conftest.$ac_objext; then
17517 bakefile_cv_cxx_compiler___DECCXX=yes
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17521
17522 bakefile_cv_cxx_compiler___DECCXX=no
17523
17524 fi
17525
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527
17528
17529 fi
17530 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17531 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17532 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17533 :; COMPAQCXX=yes
17534 else
17535 :;
17536 fi
17537 ac_ext=c
17538 ac_cpp='$CPP $CPPFLAGS'
17539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17542
17543
17544
17545 ;;
17546
17547 SunOS)
17548
17549
17550 ac_ext=cpp
17551 ac_cpp='$CXXCPP $CPPFLAGS'
17552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17555
17556 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17557 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17558 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561 cat >conftest.$ac_ext <<_ACEOF
17562 /* confdefs.h. */
17563 _ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567
17568 int
17569 main ()
17570 {
17571
17572 #ifndef __SUNPRO_CC
17573 choke me
17574 #endif
17575
17576 ;
17577 return 0;
17578 }
17579 _ACEOF
17580 rm -f conftest.$ac_objext
17581 if { (ac_try="$ac_compile"
17582 case "(($ac_try" in
17583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17584 *) ac_try_echo=$ac_try;;
17585 esac
17586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17587 (eval "$ac_compile") 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && {
17594 test -z "$ac_cxx_werror_flag" ||
17595 test ! -s conftest.err
17596 } && test -s conftest.$ac_objext; then
17597 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17598 else
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17601
17602 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17603
17604 fi
17605
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608
17609 fi
17610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17612 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17613 :; SUNCXX=yes
17614 else
17615 :;
17616 fi
17617 ac_ext=c
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622
17623
17624
17625 ;;
17626 esac
17627 fi
17628
17629
17630
17631 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17632 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17633 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17634 { (exit 1); exit 1; }; }
17635 fi
17636
17637 if test "x$SUNCXX" != xyes; then
17638 if test -n "$ac_tool_prefix"; then
17639 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17640 set dummy ${ac_tool_prefix}ar; ac_word=$2
17641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17643 if test "${ac_cv_prog_AR+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 if test -n "$AR"; then
17647 ac_cv_prog_AR="$AR" # Let the user override the test.
17648 else
17649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17650 for as_dir in $PATH
17651 do
17652 IFS=$as_save_IFS
17653 test -z "$as_dir" && as_dir=.
17654 for ac_exec_ext in '' $ac_executable_extensions; do
17655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17656 ac_cv_prog_AR="${ac_tool_prefix}ar"
17657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17658 break 2
17659 fi
17660 done
17661 done
17662 IFS=$as_save_IFS
17663
17664 fi
17665 fi
17666 AR=$ac_cv_prog_AR
17667 if test -n "$AR"; then
17668 { echo "$as_me:$LINENO: result: $AR" >&5
17669 echo "${ECHO_T}$AR" >&6; }
17670 else
17671 { echo "$as_me:$LINENO: result: no" >&5
17672 echo "${ECHO_T}no" >&6; }
17673 fi
17674
17675
17676 fi
17677 if test -z "$ac_cv_prog_AR"; then
17678 ac_ct_AR=$AR
17679 # Extract the first word of "ar", so it can be a program name with args.
17680 set dummy ar; ac_word=$2
17681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17683 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17686 if test -n "$ac_ct_AR"; then
17687 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17688 else
17689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17690 for as_dir in $PATH
17691 do
17692 IFS=$as_save_IFS
17693 test -z "$as_dir" && as_dir=.
17694 for ac_exec_ext in '' $ac_executable_extensions; do
17695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17696 ac_cv_prog_ac_ct_AR="ar"
17697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17698 break 2
17699 fi
17700 done
17701 done
17702 IFS=$as_save_IFS
17703
17704 fi
17705 fi
17706 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17707 if test -n "$ac_ct_AR"; then
17708 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17709 echo "${ECHO_T}$ac_ct_AR" >&6; }
17710 else
17711 { echo "$as_me:$LINENO: result: no" >&5
17712 echo "${ECHO_T}no" >&6; }
17713 fi
17714
17715 if test "x$ac_ct_AR" = x; then
17716 AR=""
17717 else
17718 case $cross_compiling:$ac_tool_warned in
17719 yes:)
17720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17721 whose name does not start with the host triplet. If you think this
17722 configuration is useful to you, please write to autoconf@gnu.org." >&5
17723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17724 whose name does not start with the host triplet. If you think this
17725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17726 ac_tool_warned=yes ;;
17727 esac
17728 AR=$ac_ct_AR
17729 fi
17730 else
17731 AR="$ac_cv_prog_AR"
17732 fi
17733
17734 if test "x$AR" = "x" ; then
17735 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17736 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17737 { (exit 1); exit 1; }; }
17738 fi
17739 fi
17740
17741 retest_macosx_linking=no
17742
17743 #if test "$wxUSE_MAC" = 1; then
17744 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17745 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17746 # Implicitly turn on the new --with-macosx-sdk using the default
17747 # SDK which provides the behavior this option has always had.
17748 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17749 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17750 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17751 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17752 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17753 wxUSE_MACOSX_SDK=yes
17754 fi
17755 else
17756 # Complain to user if he specified an argument to --enable-universal_binary
17757 # and also 1) specified --with-macosx-sdk using the default (yes) or
17758 # 2) specified --with-macosx-sdk using a path or 3) specified
17759 # --without-macosx-sdk (no).
17760 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17761 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17762 See \`config.log' for more details." >&5
17763 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17764 See \`config.log' for more details." >&2;}
17765 { (exit 1); exit 1; }; }
17766 else
17767 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17768 # special-case the empty string because the below test simply
17769 # converts "no" to the empty string anyway.
17770 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17771 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17772 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17773 fi
17774 fi
17775 OSX_UNIV_OPTS="-arch ppc -arch i386"
17776 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17777 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17778 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17779 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17780 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17781 retest_macosx_linking=yes
17782
17783 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17784 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17785 bk_use_pch=no
17786 fi
17787 #fi
17788
17789 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17790 wxUSE_MACOSX_SDK=
17791 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17792 # TODO: Search for most recent SDK and use it.
17793 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17794 fi
17795
17796
17797 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17798 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17799 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17800 if ! test -d "$wxUSE_MACOSX_SDK"; then
17801 { { echo "$as_me:$LINENO: error: not found
17802 See \`config.log' for more details." >&5
17803 echo "$as_me: error: not found
17804 See \`config.log' for more details." >&2;}
17805 { (exit 1); exit 1; }; }
17806 else
17807 { echo "$as_me:$LINENO: result: exists" >&5
17808 echo "${ECHO_T}exists" >&6; }
17809 fi
17810 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17811 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17812 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17813 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17814 retest_macosx_linking=yes
17815 fi
17816
17817 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17818 wxUSE_MACOSX_VERSION_MIN=
17819 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17820 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17821 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17822 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17823
17824 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/'`
17825
17826 # If that failed, try again with the new key
17827 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17828
17829 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/'`
17830
17831 fi
17832
17833 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17834 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17835 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17836 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17837 else
17838 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17839 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17840 wxUSE_MACOSX_VERSION_MIN=
17841 fi
17842 else
17843 wxUSE_MACOSX_VERSION_MIN=
17844 fi
17845 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17846 if test "$wxUSE_MAC" = 1; then
17847 # otherwise configure stops on leopard for universal_binary
17848 wxUSE_MACOSX_VERSION_MIN=10.4
17849 fi
17850 fi
17851
17852 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17853 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17854 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17855 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17856 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17857 retest_macosx_linking=yes
17858 fi
17859
17860 if test "x$retest_macosx_linking" = "xyes"; then
17861 ac_ext=c
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17866
17867 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17868 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17869 cat >conftest.$ac_ext <<_ACEOF
17870 /* confdefs.h. */
17871 _ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17875
17876 int
17877 main ()
17878 {
17879
17880 ;
17881 return 0;
17882 }
17883 _ACEOF
17884 rm -f conftest.$ac_objext conftest$ac_exeext
17885 if { (ac_try="$ac_link"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_link") 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest$ac_exeext &&
17901 $as_test_x conftest$ac_exeext; then
17902 { echo "$as_me:$LINENO: result: yes" >&5
17903 echo "${ECHO_T}yes" >&6; }
17904 else
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17907
17908 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17909 See \`config.log' for more details." >&5
17910 echo "$as_me: error: no. Try a different SDK
17911 See \`config.log' for more details." >&2;}
17912 { (exit 1); exit 1; }; }; exit 1
17913 fi
17914
17915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17916 conftest$ac_exeext conftest.$ac_ext
17917 ac_ext=c
17918 ac_cpp='$CPP $CPPFLAGS'
17919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17922
17923
17924 ac_ext=cpp
17925 ac_cpp='$CXXCPP $CPPFLAGS'
17926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17929
17930 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17931 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938
17939 int
17940 main ()
17941 {
17942
17943 ;
17944 return 0;
17945 }
17946 _ACEOF
17947 rm -f conftest.$ac_objext conftest$ac_exeext
17948 if { (ac_try="$ac_link"
17949 case "(($ac_try" in
17950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17951 *) ac_try_echo=$ac_try;;
17952 esac
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_link") 2>conftest.er1
17955 ac_status=$?
17956 grep -v '^ *+' conftest.er1 >conftest.err
17957 rm -f conftest.er1
17958 cat conftest.err >&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } && {
17961 test -z "$ac_cxx_werror_flag" ||
17962 test ! -s conftest.err
17963 } && test -s conftest$ac_exeext &&
17964 $as_test_x conftest$ac_exeext; then
17965 { echo "$as_me:$LINENO: result: yes" >&5
17966 echo "${ECHO_T}yes" >&6; }
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17972 See \`config.log' for more details." >&5
17973 echo "$as_me: error: no. Try a different SDK
17974 See \`config.log' for more details." >&2;}
17975 { (exit 1); exit 1; }; }; exit 1
17976 fi
17977
17978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17979 conftest$ac_exeext conftest.$ac_ext
17980 ac_ext=c
17981 ac_cpp='$CPP $CPPFLAGS'
17982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17985
17986 fi
17987
17988
17989 case "${host}" in
17990
17991 *-*-darwin* )
17992 INSTALL_PROGRAM="cp -fp"
17993 INSTALL_DATA="cp -fp"
17994 ;;
17995 *)
17996 ;;
17997 esac
17998
17999
18000 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18001 CXXFLAGS="-qunique $CXXFLAGS"
18002 fi
18003
18004 case "${host}" in
18005 powerpc-*-darwin* )
18006 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18007 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18008 cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014
18015 int
18016 main ()
18017 {
18018 #ifndef __POWERPC__
18019 choke me for lack of PowerPC
18020 #endif
18021
18022 ;
18023 return 0;
18024 }
18025 _ACEOF
18026 rm -f conftest.$ac_objext
18027 if { (ac_try="$ac_compile"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_compile") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_c_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest.$ac_objext; then
18043 { echo "$as_me:$LINENO: result: yes" >&5
18044 echo "${ECHO_T}yes" >&6; }
18045 else
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18048
18049 { echo "$as_me:$LINENO: result: no" >&5
18050 echo "${ECHO_T}no" >&6; }
18051 cat >>confdefs.h <<\_ACEOF
18052 #define __POWERPC__ 1
18053 _ACEOF
18054
18055
18056 fi
18057
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059 ;;
18060 esac
18061
18062 case "${host}" in
18063 *-*-darwin* )
18064 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18065 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <CoreFoundation/CFBase.h>
18073
18074 int
18075 main ()
18076 {
18077
18078 ;
18079 return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext
18083 if { (ac_try="$ac_compile"
18084 case "(($ac_try" in
18085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18086 *) ac_try_echo=$ac_try;;
18087 esac
18088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18089 (eval "$ac_compile") 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } && {
18096 test -z "$ac_c_werror_flag" ||
18097 test ! -s conftest.err
18098 } && test -s conftest.$ac_objext; then
18099 { echo "$as_me:$LINENO: result: yes" >&5
18100 echo "${ECHO_T}yes" >&6; }
18101 else
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.$ac_ext >&5
18104
18105 { echo "$as_me:$LINENO: result: no" >&5
18106 echo "${ECHO_T}no" >&6; }
18107 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18108 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 #define __CF_USE_FRAMEWORK_INCLUDES__
18116 #include <CoreFoundation/CFBase.h>
18117
18118 int
18119 main ()
18120 {
18121
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18131 esac
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.$ac_objext; then
18143 { echo "$as_me:$LINENO: result: yes" >&5
18144 echo "${ECHO_T}yes" >&6; }
18145 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18151 See \`config.log' for more details." >&5
18152 echo "$as_me: error: no. CoreFoundation not available.
18153 See \`config.log' for more details." >&2;}
18154 { (exit 1); exit 1; }; }
18155
18156 fi
18157
18158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18159
18160
18161 fi
18162
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18164 ;;
18165 esac
18166
18167 wants_win32=0
18168 doesnt_want_win32=0
18169 case "${host}" in
18170 *-*-cygwin*)
18171 if test "$wxUSE_MSW" = 1 ; then
18172 wants_win32=1
18173 else
18174 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18175 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18176 if test "${wx_cv_nocygwin+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18178 else
18179
18180 cat >conftest.$ac_ext <<_ACEOF
18181 /* confdefs.h. */
18182 _ACEOF
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186
18187 int
18188 main ()
18189 {
18190
18191 #ifdef __MINGW32__
18192 choke me
18193 #endif
18194
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 rm -f conftest.$ac_objext
18200 if { (ac_try="$ac_compile"
18201 case "(($ac_try" in
18202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18203 *) ac_try_echo=$ac_try;;
18204 esac
18205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18206 (eval "$ac_compile") 2>conftest.er1
18207 ac_status=$?
18208 grep -v '^ *+' conftest.er1 >conftest.err
18209 rm -f conftest.er1
18210 cat conftest.err >&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } && {
18213 test -z "$ac_c_werror_flag" ||
18214 test ! -s conftest.err
18215 } && test -s conftest.$ac_objext; then
18216 wx_cv_nocygwin=no
18217 else
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.$ac_ext >&5
18220
18221 wx_cv_nocygwin=yes
18222
18223 fi
18224
18225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18226
18227
18228 fi
18229 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18230 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18231
18232 if test "$wx_cv_nocygwin" = "yes"; then
18233 wants_win32=1
18234 else
18235 doesnt_want_win32=1
18236 fi
18237 fi
18238 if test "$wants_win32" = 1 ; then
18239 BAKEFILE_FORCE_PLATFORM=win32
18240 fi
18241 ;;
18242 *-*-mingw*)
18243 wants_win32=1
18244 ;;
18245 esac
18246
18247 if test "$wxUSE_WINE" = "yes"; then
18248 wants_win32=1
18249 LDFLAGS_GUI="-mwindows"
18250 fi
18251
18252 if test "$wants_win32" = 1 ; then
18253 USE_UNIX=0
18254 USE_WIN32=1
18255 cat >>confdefs.h <<\_ACEOF
18256 #define __WIN32__ 1
18257 _ACEOF
18258
18259 cat >>confdefs.h <<\_ACEOF
18260 #define __WIN95__ 1
18261 _ACEOF
18262
18263 cat >>confdefs.h <<\_ACEOF
18264 #define __WINDOWS__ 1
18265 _ACEOF
18266
18267 cat >>confdefs.h <<\_ACEOF
18268 #define __GNUWIN32__ 1
18269 _ACEOF
18270
18271 cat >>confdefs.h <<\_ACEOF
18272 #define STRICT 1
18273 _ACEOF
18274
18275 fi
18276 if test "$doesnt_want_win32" = 1 ; then
18277 USE_UNIX=1
18278 USE_WIN32=0
18279 fi
18280
18281 if test "$USE_UNIX" = 1 ; then
18282 wxUSE_UNIX=yes
18283 cat >>confdefs.h <<\_ACEOF
18284 #define __UNIX__ 1
18285 _ACEOF
18286
18287 fi
18288
18289 case "${host}" in
18290 *-pc-os2_emx | *-pc-os2-emx )
18291 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18292 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18293 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18294 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 else
18297 ac_check_lib_save_LIBS=$LIBS
18298 LIBS="-lcExt $LIBS"
18299 cat >conftest.$ac_ext <<_ACEOF
18300 /* confdefs.h. */
18301 _ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305
18306 /* Override any GCC internal prototype to avoid an error.
18307 Use char because int might match the return type of a GCC
18308 builtin and then its argument prototype would still apply. */
18309 #ifdef __cplusplus
18310 extern "C"
18311 #endif
18312 char drand48 ();
18313 int
18314 main ()
18315 {
18316 return drand48 ();
18317 ;
18318 return 0;
18319 }
18320 _ACEOF
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (ac_try="$ac_link"
18323 case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18326 esac
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_link") 2>conftest.er1
18329 ac_status=$?
18330 grep -v '^ *+' conftest.er1 >conftest.err
18331 rm -f conftest.er1
18332 cat conftest.err >&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && {
18335 test -z "$ac_c_werror_flag" ||
18336 test ! -s conftest.err
18337 } && test -s conftest$ac_exeext &&
18338 $as_test_x conftest$ac_exeext; then
18339 ac_cv_lib_cExt_drand48=yes
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 ac_cv_lib_cExt_drand48=no
18345 fi
18346
18347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18350 fi
18351 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18352 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18353 if test $ac_cv_lib_cExt_drand48 = yes; then
18354 LIBS="$LIBS -lcExt"
18355 fi
18356
18357 else
18358 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18359 fi
18360 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18361 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18362 if test "${wx_cv_gccversion+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 else
18365
18366 if test "$cross_compiling" = yes; then
18367 wx_cv_gccversion="EMX2"
18368
18369 else
18370 cat >conftest.$ac_ext <<_ACEOF
18371 /* confdefs.h. */
18372 _ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376
18377 #include <stdio.h>
18378
18379 int main()
18380 {
18381 FILE *f=fopen("conftestval", "w");
18382 if (!f) exit(1);
18383 fprintf(f,
18384 #if (__GNUC__ < 3)
18385 "EMX2"
18386 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18387 "EMX3"
18388 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18389 "Innotek5"
18390 #else
18391 "Innotek6"
18392 #endif
18393 );
18394 exit(0);
18395 }
18396
18397 _ACEOF
18398 rm -f conftest$ac_exeext
18399 if { (ac_try="$ac_link"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_link") 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18409 { (case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18412 esac
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_try") 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 wx_cv_gccversion=`cat conftestval`
18419 else
18420 echo "$as_me: program exited with status $ac_status" >&5
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18423
18424 ( exit $ac_status )
18425 wx_cv_gccversion="EMX2"
18426 fi
18427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18428 fi
18429
18430
18431
18432 fi
18433 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18434 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18435 if test "$wx_cv_gccversion" = "EMX2"; then
18436 LIBS="$LIBS -lstdcpp"
18437 LDFLAGS="$LDFLAGS -Zsysv-signals"
18438 else
18439 if test "$wx_cv_gccversion" = "EMX3"; then
18440 LIBS="$LIBS -lstdcxx -lgcc"
18441 LDFLAGS="$LDFLAGS -Zsysv-signals"
18442 else
18443 LIBS="$LIBS -lstdc++"
18444 fi
18445 fi
18446 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18447 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18448 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18449 wxUSE_OMF=yes
18450 enable_omf=yes
18451 fi
18452 ;;
18453 *)
18454
18455 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18456 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18457 if test "${ac_cv_string_strcasecmp+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467
18468 #include <string.h>
18469
18470 int
18471 main ()
18472 {
18473
18474 strcasecmp("foo", "bar");
18475
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext conftest$ac_exeext
18481 if { (ac_try="$ac_link"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_link") 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest$ac_exeext &&
18497 $as_test_x conftest$ac_exeext; then
18498 ac_cv_string_strcasecmp=yes
18499 else
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 ac_cv_string_strcasecmp=no
18504
18505 fi
18506
18507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18508 conftest$ac_exeext conftest.$ac_ext
18509
18510 fi
18511 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18512 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18513
18514 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18515 cat >>confdefs.h <<\_ACEOF
18516 #define HAVE_STRCASECMP_IN_STRING_H 1
18517 _ACEOF
18518
18519 else
18520 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18521 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18522 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 else
18525
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532
18533 #include <strings.h>
18534
18535 int
18536 main ()
18537 {
18538
18539 strcasecmp("foo", "bar");
18540
18541 ;
18542 return 0;
18543 }
18544 _ACEOF
18545 rm -f conftest.$ac_objext conftest$ac_exeext
18546 if { (ac_try="$ac_link"
18547 case "(($ac_try" in
18548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18549 *) ac_try_echo=$ac_try;;
18550 esac
18551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18552 (eval "$ac_link") 2>conftest.er1
18553 ac_status=$?
18554 grep -v '^ *+' conftest.er1 >conftest.err
18555 rm -f conftest.er1
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } && {
18559 test -z "$ac_c_werror_flag" ||
18560 test ! -s conftest.err
18561 } && test -s conftest$ac_exeext &&
18562 $as_test_x conftest$ac_exeext; then
18563 ac_cv_strings_strcasecmp=yes
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18567
18568 ac_cv_strings_strcasecmp=no
18569
18570 fi
18571
18572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18573 conftest$ac_exeext conftest.$ac_ext
18574
18575 fi
18576 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18577 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18578
18579 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18580 cat >>confdefs.h <<\_ACEOF
18581 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18582 _ACEOF
18583
18584 else
18585 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18586 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18587 { (exit 1); exit 1; }; }
18588 fi
18589 fi
18590
18591 ;;
18592 esac
18593
18594
18595 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18596 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18597 if test "${ac_cv_header_stdc+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 else
18600 cat >conftest.$ac_ext <<_ACEOF
18601 /* confdefs.h. */
18602 _ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 #include <stdlib.h>
18607 #include <stdarg.h>
18608 #include <string.h>
18609 #include <float.h>
18610
18611 int
18612 main ()
18613 {
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18624 esac
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18627 ac_status=$?
18628 grep -v '^ *+' conftest.er1 >conftest.err
18629 rm -f conftest.er1
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_cv_header_stdc=yes
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18640
18641 ac_cv_header_stdc=no
18642 fi
18643
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645
18646 if test $ac_cv_header_stdc = yes; then
18647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <string.h>
18655
18656 _ACEOF
18657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18658 $EGREP "memchr" >/dev/null 2>&1; then
18659 :
18660 else
18661 ac_cv_header_stdc=no
18662 fi
18663 rm -f conftest*
18664
18665 fi
18666
18667 if test $ac_cv_header_stdc = yes; then
18668 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 #include <stdlib.h>
18676
18677 _ACEOF
18678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18679 $EGREP "free" >/dev/null 2>&1; then
18680 :
18681 else
18682 ac_cv_header_stdc=no
18683 fi
18684 rm -f conftest*
18685
18686 fi
18687
18688 if test $ac_cv_header_stdc = yes; then
18689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18690 if test "$cross_compiling" = yes; then
18691 :
18692 else
18693 cat >conftest.$ac_ext <<_ACEOF
18694 /* confdefs.h. */
18695 _ACEOF
18696 cat confdefs.h >>conftest.$ac_ext
18697 cat >>conftest.$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #include <ctype.h>
18700 #include <stdlib.h>
18701 #if ((' ' & 0x0FF) == 0x020)
18702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18704 #else
18705 # define ISLOWER(c) \
18706 (('a' <= (c) && (c) <= 'i') \
18707 || ('j' <= (c) && (c) <= 'r') \
18708 || ('s' <= (c) && (c) <= 'z'))
18709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18710 #endif
18711
18712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18713 int
18714 main ()
18715 {
18716 int i;
18717 for (i = 0; i < 256; i++)
18718 if (XOR (islower (i), ISLOWER (i))
18719 || toupper (i) != TOUPPER (i))
18720 return 2;
18721 return 0;
18722 }
18723 _ACEOF
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 :
18745 else
18746 echo "$as_me: program exited with status $ac_status" >&5
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ( exit $ac_status )
18751 ac_cv_header_stdc=no
18752 fi
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18754 fi
18755
18756
18757 fi
18758 fi
18759 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18760 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18761 if test $ac_cv_header_stdc = yes; then
18762
18763 cat >>confdefs.h <<\_ACEOF
18764 #define STDC_HEADERS 1
18765 _ACEOF
18766
18767 fi
18768
18769 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18780 inttypes.h stdint.h unistd.h
18781 do
18782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18787 else
18788 cat >conftest.$ac_ext <<_ACEOF
18789 /* confdefs.h. */
18790 _ACEOF
18791 cat confdefs.h >>conftest.$ac_ext
18792 cat >>conftest.$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 $ac_includes_default
18795
18796 #include <$ac_header>
18797 _ACEOF
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18802 *) ac_try_echo=$ac_try;;
18803 esac
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18806 ac_status=$?
18807 grep -v '^ *+' conftest.er1 >conftest.err
18808 rm -f conftest.er1
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.$ac_objext; then
18815 eval "$as_ac_Header=yes"
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18819
18820 eval "$as_ac_Header=no"
18821 fi
18822
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 fi
18825 ac_res=`eval echo '${'$as_ac_Header'}'`
18826 { echo "$as_me:$LINENO: result: $ac_res" >&5
18827 echo "${ECHO_T}$ac_res" >&6; }
18828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18831 _ACEOF
18832
18833 fi
18834
18835 done
18836
18837
18838
18839
18840 for ac_header in langinfo.h wchar.h
18841 do
18842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 else
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18855
18856 #include <$ac_header>
18857 _ACEOF
18858 rm -f conftest.$ac_objext
18859 if { (ac_try="$ac_compile"
18860 case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18863 esac
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_compile") 2>conftest.er1
18866 ac_status=$?
18867 grep -v '^ *+' conftest.er1 >conftest.err
18868 rm -f conftest.er1
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } && {
18872 test -z "$ac_c_werror_flag" ||
18873 test ! -s conftest.err
18874 } && test -s conftest.$ac_objext; then
18875 eval "$as_ac_Header=yes"
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18879
18880 eval "$as_ac_Header=no"
18881 fi
18882
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 fi
18885 ac_res=`eval echo '${'$as_ac_Header'}'`
18886 { echo "$as_me:$LINENO: result: $ac_res" >&5
18887 echo "${ECHO_T}$ac_res" >&6; }
18888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18889 cat >>confdefs.h <<_ACEOF
18890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18891 _ACEOF
18892
18893 fi
18894
18895 done
18896
18897
18898 if test "$ac_cv_header_wchar_h" != "yes"; then
18899
18900 for ac_header in wcstr.h
18901 do
18902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18907 else
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 $ac_includes_default
18915
18916 #include <$ac_header>
18917 _ACEOF
18918 rm -f conftest.$ac_objext
18919 if { (ac_try="$ac_compile"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18923 esac
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_compile") 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest.$ac_objext; then
18935 eval "$as_ac_Header=yes"
18936 else
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18939
18940 eval "$as_ac_Header=no"
18941 fi
18942
18943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 fi
18945 ac_res=`eval echo '${'$as_ac_Header'}'`
18946 { echo "$as_me:$LINENO: result: $ac_res" >&5
18947 echo "${ECHO_T}$ac_res" >&6; }
18948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18949 cat >>confdefs.h <<_ACEOF
18950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18951 _ACEOF
18952
18953 fi
18954
18955 done
18956
18957 fi
18958
18959 case "${host}" in
18960 *-pc-os2_emx | *-pc-os2-emx )
18961 if test $ac_cv_header_langinfo_h = "yes" \
18962 -a \( "$wx_cv_gccversion" = "EMX2" \
18963 -o "$wx_cv_gccversion" = "EMX3" \
18964 -o "$wx_cv_gccversion" = "Innotek5" \); then
18965 LIBS="$LIBS -lintl"
18966 fi
18967 ;;
18968 esac
18969
18970 if test "$USE_UNIX" = 1 ; then
18971
18972 for ac_header in sys/select.h
18973 do
18974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18987
18988 #include <$ac_header>
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 eval "$as_ac_Header=yes"
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 eval "$as_ac_Header=no"
19013 fi
19014
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 fi
19017 ac_res=`eval echo '${'$as_ac_Header'}'`
19018 { echo "$as_me:$LINENO: result: $ac_res" >&5
19019 echo "${ECHO_T}$ac_res" >&6; }
19020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19021 cat >>confdefs.h <<_ACEOF
19022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19023 _ACEOF
19024
19025 fi
19026
19027 done
19028
19029 fi
19030
19031
19032 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19033 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19034 if test "${ac_cv_c_const+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043
19044 int
19045 main ()
19046 {
19047 /* FIXME: Include the comments suggested by Paul. */
19048 #ifndef __cplusplus
19049 /* Ultrix mips cc rejects this. */
19050 typedef int charset[2];
19051 const charset cs;
19052 /* SunOS 4.1.1 cc rejects this. */
19053 char const *const *pcpcc;
19054 char **ppc;
19055 /* NEC SVR4.0.2 mips cc rejects this. */
19056 struct point {int x, y;};
19057 static struct point const zero = {0,0};
19058 /* AIX XL C 1.02.0.0 rejects this.
19059 It does not let you subtract one const X* pointer from another in
19060 an arm of an if-expression whose if-part is not a constant
19061 expression */
19062 const char *g = "string";
19063 pcpcc = &g + (g ? g-g : 0);
19064 /* HPUX 7.0 cc rejects these. */
19065 ++pcpcc;
19066 ppc = (char**) pcpcc;
19067 pcpcc = (char const *const *) ppc;
19068 { /* SCO 3.2v4 cc rejects this. */
19069 char *t;
19070 char const *s = 0 ? (char *) 0 : (char const *) 0;
19071
19072 *t++ = 0;
19073 if (s) return 0;
19074 }
19075 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19076 int x[] = {25, 17};
19077 const int *foo = &x[0];
19078 ++foo;
19079 }
19080 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19081 typedef const int *iptr;
19082 iptr p = 0;
19083 ++p;
19084 }
19085 { /* AIX XL C 1.02.0.0 rejects this saying
19086 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19087 struct s { int j; const int *ap[3]; };
19088 struct s *b; b->j = 5;
19089 }
19090 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19091 const int foo = 10;
19092 if (!foo) return 0;
19093 }
19094 return !cs[0] && !zero.x;
19095 #endif
19096
19097 ;
19098 return 0;
19099 }
19100 _ACEOF
19101 rm -f conftest.$ac_objext
19102 if { (ac_try="$ac_compile"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19106 esac
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_compile") 2>conftest.er1
19109 ac_status=$?
19110 grep -v '^ *+' conftest.er1 >conftest.err
19111 rm -f conftest.er1
19112 cat conftest.err >&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } && {
19115 test -z "$ac_c_werror_flag" ||
19116 test ! -s conftest.err
19117 } && test -s conftest.$ac_objext; then
19118 ac_cv_c_const=yes
19119 else
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19122
19123 ac_cv_c_const=no
19124 fi
19125
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127 fi
19128 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19129 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19130 if test $ac_cv_c_const = no; then
19131
19132 cat >>confdefs.h <<\_ACEOF
19133 #define const
19134 _ACEOF
19135
19136 fi
19137
19138 { echo "$as_me:$LINENO: checking for inline" >&5
19139 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19140 if test "${ac_cv_c_inline+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 else
19143 ac_cv_c_inline=no
19144 for ac_kw in inline __inline__ __inline; do
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #ifndef __cplusplus
19152 typedef int foo_t;
19153 static $ac_kw foo_t static_foo () {return 0; }
19154 $ac_kw foo_t foo () {return 0; }
19155 #endif
19156
19157 _ACEOF
19158 rm -f conftest.$ac_objext
19159 if { (ac_try="$ac_compile"
19160 case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19163 esac
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && {
19172 test -z "$ac_c_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
19175 ac_cv_c_inline=$ac_kw
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180
19181 fi
19182
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 test "$ac_cv_c_inline" != no && break
19185 done
19186
19187 fi
19188 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19189 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19190
19191
19192 case $ac_cv_c_inline in
19193 inline | yes) ;;
19194 *)
19195 case $ac_cv_c_inline in
19196 no) ac_val=;;
19197 *) ac_val=$ac_cv_c_inline;;
19198 esac
19199 cat >>confdefs.h <<_ACEOF
19200 #ifndef __cplusplus
19201 #define inline $ac_val
19202 #endif
19203 _ACEOF
19204 ;;
19205 esac
19206
19207
19208 { echo "$as_me:$LINENO: checking for short" >&5
19209 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19210 if test "${ac_cv_type_short+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 else
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 $ac_includes_default
19220 typedef short ac__type_new_;
19221 int
19222 main ()
19223 {
19224 if ((ac__type_new_ *) 0)
19225 return 0;
19226 if (sizeof (ac__type_new_))
19227 return 0;
19228 ;
19229 return 0;
19230 }
19231 _ACEOF
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19237 esac
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19240 ac_status=$?
19241 grep -v '^ *+' conftest.er1 >conftest.err
19242 rm -f conftest.er1
19243 cat conftest.err >&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.$ac_objext; then
19249 ac_cv_type_short=yes
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_cv_type_short=no
19255 fi
19256
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 fi
19259 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19260 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19261
19262 # The cast to long int works around a bug in the HP C Compiler
19263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19265 # This bug is HP SR number 8606223364.
19266 { echo "$as_me:$LINENO: checking size of short" >&5
19267 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19268 if test "${ac_cv_sizeof_short+set}" = set; then
19269 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 else
19271 if test "$cross_compiling" = yes; then
19272 # Depending upon the size, compute the lo and hi bounds.
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19280 typedef short ac__type_sizeof_;
19281 int
19282 main ()
19283 {
19284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19285 test_array [0] = 0
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 ac_lo=0 ac_mid=0
19309 while :; do
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19317 typedef short ac__type_sizeof_;
19318 int
19319 main ()
19320 {
19321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19322 test_array [0] = 0
19323
19324 ;
19325 return 0;
19326 }
19327 _ACEOF
19328 rm -f conftest.$ac_objext
19329 if { (ac_try="$ac_compile"
19330 case "(($ac_try" in
19331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19332 *) ac_try_echo=$ac_try;;
19333 esac
19334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19335 (eval "$ac_compile") 2>conftest.er1
19336 ac_status=$?
19337 grep -v '^ *+' conftest.er1 >conftest.err
19338 rm -f conftest.er1
19339 cat conftest.err >&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } && {
19342 test -z "$ac_c_werror_flag" ||
19343 test ! -s conftest.err
19344 } && test -s conftest.$ac_objext; then
19345 ac_hi=$ac_mid; break
19346 else
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19349
19350 ac_lo=`expr $ac_mid + 1`
19351 if test $ac_lo -le $ac_mid; then
19352 ac_lo= ac_hi=
19353 break
19354 fi
19355 ac_mid=`expr 2 '*' $ac_mid + 1`
19356 fi
19357
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 done
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 cat >conftest.$ac_ext <<_ACEOF
19365 /* confdefs.h. */
19366 _ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 $ac_includes_default
19371 typedef short ac__type_sizeof_;
19372 int
19373 main ()
19374 {
19375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19376 test_array [0] = 0
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19387 esac
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 ac_hi=-1 ac_mid=-1
19400 while :; do
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h. */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 $ac_includes_default
19408 typedef short ac__type_sizeof_;
19409 int
19410 main ()
19411 {
19412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19413 test_array [0] = 0
19414
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19424 esac
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19427 ac_status=$?
19428 grep -v '^ *+' conftest.er1 >conftest.err
19429 rm -f conftest.er1
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_lo=$ac_mid; break
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19440
19441 ac_hi=`expr '(' $ac_mid ')' - 1`
19442 if test $ac_mid -le $ac_hi; then
19443 ac_lo= ac_hi=
19444 break
19445 fi
19446 ac_mid=`expr 2 '*' $ac_mid`
19447 fi
19448
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 done
19451 else
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19454
19455 ac_lo= ac_hi=
19456 fi
19457
19458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19459 fi
19460
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 # Binary search between lo and hi bounds.
19463 while test "x$ac_lo" != "x$ac_hi"; do
19464 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19465 cat >conftest.$ac_ext <<_ACEOF
19466 /* confdefs.h. */
19467 _ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 $ac_includes_default
19472 typedef short ac__type_sizeof_;
19473 int
19474 main ()
19475 {
19476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19477 test_array [0] = 0
19478
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19500 ac_hi=$ac_mid
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505 ac_lo=`expr '(' $ac_mid ')' + 1`
19506 fi
19507
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 done
19510 case $ac_lo in
19511 ?*) ac_cv_sizeof_short=$ac_lo;;
19512 '') if test "$ac_cv_type_short" = yes; then
19513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19514 See \`config.log' for more details." >&5
19515 echo "$as_me: error: cannot compute sizeof (short)
19516 See \`config.log' for more details." >&2;}
19517 { (exit 77); exit 77; }; }
19518 else
19519 ac_cv_sizeof_short=0
19520 fi ;;
19521 esac
19522 else
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 typedef short ac__type_sizeof_;
19531 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19532 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19533 #include <stdio.h>
19534 #include <stdlib.h>
19535 int
19536 main ()
19537 {
19538
19539 FILE *f = fopen ("conftest.val", "w");
19540 if (! f)
19541 return 1;
19542 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19543 {
19544 long int i = longval ();
19545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19546 return 1;
19547 fprintf (f, "%ld\n", i);
19548 }
19549 else
19550 {
19551 unsigned long int i = ulongval ();
19552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19553 return 1;
19554 fprintf (f, "%lu\n", i);
19555 }
19556 return ferror (f) || fclose (f) != 0;
19557
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest$ac_exeext
19563 if { (ac_try="$ac_link"
19564 case "(($ac_try" in
19565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19566 *) ac_try_echo=$ac_try;;
19567 esac
19568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19569 (eval "$ac_link") 2>&5
19570 ac_status=$?
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19573 { (case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19576 esac
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_try") 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 ac_cv_sizeof_short=`cat conftest.val`
19583 else
19584 echo "$as_me: program exited with status $ac_status" >&5
19585 echo "$as_me: failed program was:" >&5
19586 sed 's/^/| /' conftest.$ac_ext >&5
19587
19588 ( exit $ac_status )
19589 if test "$ac_cv_type_short" = yes; then
19590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19591 See \`config.log' for more details." >&5
19592 echo "$as_me: error: cannot compute sizeof (short)
19593 See \`config.log' for more details." >&2;}
19594 { (exit 77); exit 77; }; }
19595 else
19596 ac_cv_sizeof_short=0
19597 fi
19598 fi
19599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19600 fi
19601 rm -f conftest.val
19602 fi
19603 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19604 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19605
19606
19607
19608 cat >>confdefs.h <<_ACEOF
19609 #define SIZEOF_SHORT $ac_cv_sizeof_short
19610 _ACEOF
19611
19612
19613 { echo "$as_me:$LINENO: checking for void *" >&5
19614 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19615 if test "${ac_cv_type_void_p+set}" = set; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 else
19618 cat >conftest.$ac_ext <<_ACEOF
19619 /* confdefs.h. */
19620 _ACEOF
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19625 typedef void * ac__type_new_;
19626 int
19627 main ()
19628 {
19629 if ((ac__type_new_ *) 0)
19630 return 0;
19631 if (sizeof (ac__type_new_))
19632 return 0;
19633 ;
19634 return 0;
19635 }
19636 _ACEOF
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19641 *) ac_try_echo=$ac_try;;
19642 esac
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.$ac_objext; then
19654 ac_cv_type_void_p=yes
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_cv_type_void_p=no
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 fi
19664 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19665 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19666
19667 # The cast to long int works around a bug in the HP C Compiler
19668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19670 # This bug is HP SR number 8606223364.
19671 { echo "$as_me:$LINENO: checking size of void *" >&5
19672 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19673 if test "${ac_cv_sizeof_void_p+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 else
19676 if test "$cross_compiling" = yes; then
19677 # Depending upon the size, compute the lo and hi bounds.
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 $ac_includes_default
19685 typedef void * ac__type_sizeof_;
19686 int
19687 main ()
19688 {
19689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19690 test_array [0] = 0
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_lo=0 ac_mid=0
19714 while :; do
19715 cat >conftest.$ac_ext <<_ACEOF
19716 /* confdefs.h. */
19717 _ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 $ac_includes_default
19722 typedef void * ac__type_sizeof_;
19723 int
19724 main ()
19725 {
19726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19727 test_array [0] = 0
19728
19729 ;
19730 return 0;
19731 }
19732 _ACEOF
19733 rm -f conftest.$ac_objext
19734 if { (ac_try="$ac_compile"
19735 case "(($ac_try" in
19736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19737 *) ac_try_echo=$ac_try;;
19738 esac
19739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19740 (eval "$ac_compile") 2>conftest.er1
19741 ac_status=$?
19742 grep -v '^ *+' conftest.er1 >conftest.err
19743 rm -f conftest.er1
19744 cat conftest.err >&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } && {
19747 test -z "$ac_c_werror_flag" ||
19748 test ! -s conftest.err
19749 } && test -s conftest.$ac_objext; then
19750 ac_hi=$ac_mid; break
19751 else
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19754
19755 ac_lo=`expr $ac_mid + 1`
19756 if test $ac_lo -le $ac_mid; then
19757 ac_lo= ac_hi=
19758 break
19759 fi
19760 ac_mid=`expr 2 '*' $ac_mid + 1`
19761 fi
19762
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764 done
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19768
19769 cat >conftest.$ac_ext <<_ACEOF
19770 /* confdefs.h. */
19771 _ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 $ac_includes_default
19776 typedef void * ac__type_sizeof_;
19777 int
19778 main ()
19779 {
19780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19781 test_array [0] = 0
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_hi=-1 ac_mid=-1
19805 while :; do
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 typedef void * ac__type_sizeof_;
19814 int
19815 main ()
19816 {
19817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19818 test_array [0] = 0
19819
19820 ;
19821 return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19829 esac
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19832 ac_status=$?
19833 grep -v '^ *+' conftest.er1 >conftest.err
19834 rm -f conftest.er1
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19841 ac_lo=$ac_mid; break
19842 else
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19845
19846 ac_hi=`expr '(' $ac_mid ')' - 1`
19847 if test $ac_mid -le $ac_hi; then
19848 ac_lo= ac_hi=
19849 break
19850 fi
19851 ac_mid=`expr 2 '*' $ac_mid`
19852 fi
19853
19854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19855 done
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 ac_lo= ac_hi=
19861 fi
19862
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19864 fi
19865
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 # Binary search between lo and hi bounds.
19868 while test "x$ac_lo" != "x$ac_hi"; do
19869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19870 cat >conftest.$ac_ext <<_ACEOF
19871 /* confdefs.h. */
19872 _ACEOF
19873 cat confdefs.h >>conftest.$ac_ext
19874 cat >>conftest.$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19876 $ac_includes_default
19877 typedef void * ac__type_sizeof_;
19878 int
19879 main ()
19880 {
19881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19882 test_array [0] = 0
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (ac_try="$ac_compile"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19893 esac
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_compile") 2>conftest.er1
19896 ac_status=$?
19897 grep -v '^ *+' conftest.er1 >conftest.err
19898 rm -f conftest.er1
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } && {
19902 test -z "$ac_c_werror_flag" ||
19903 test ! -s conftest.err
19904 } && test -s conftest.$ac_objext; then
19905 ac_hi=$ac_mid
19906 else
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19909
19910 ac_lo=`expr '(' $ac_mid ')' + 1`
19911 fi
19912
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 done
19915 case $ac_lo in
19916 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19917 '') if test "$ac_cv_type_void_p" = yes; then
19918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19919 See \`config.log' for more details." >&5
19920 echo "$as_me: error: cannot compute sizeof (void *)
19921 See \`config.log' for more details." >&2;}
19922 { (exit 77); exit 77; }; }
19923 else
19924 ac_cv_sizeof_void_p=0
19925 fi ;;
19926 esac
19927 else
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 $ac_includes_default
19935 typedef void * ac__type_sizeof_;
19936 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19937 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19938 #include <stdio.h>
19939 #include <stdlib.h>
19940 int
19941 main ()
19942 {
19943
19944 FILE *f = fopen ("conftest.val", "w");
19945 if (! f)
19946 return 1;
19947 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19948 {
19949 long int i = longval ();
19950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19951 return 1;
19952 fprintf (f, "%ld\n", i);
19953 }
19954 else
19955 {
19956 unsigned long int i = ulongval ();
19957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19958 return 1;
19959 fprintf (f, "%lu\n", i);
19960 }
19961 return ferror (f) || fclose (f) != 0;
19962
19963 ;
19964 return 0;
19965 }
19966 _ACEOF
19967 rm -f conftest$ac_exeext
19968 if { (ac_try="$ac_link"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19972 esac
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_link") 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19978 { (case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19981 esac
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_try") 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_cv_sizeof_void_p=`cat conftest.val`
19988 else
19989 echo "$as_me: program exited with status $ac_status" >&5
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19992
19993 ( exit $ac_status )
19994 if test "$ac_cv_type_void_p" = yes; then
19995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19996 See \`config.log' for more details." >&5
19997 echo "$as_me: error: cannot compute sizeof (void *)
19998 See \`config.log' for more details." >&2;}
19999 { (exit 77); exit 77; }; }
20000 else
20001 ac_cv_sizeof_void_p=0
20002 fi
20003 fi
20004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20005 fi
20006 rm -f conftest.val
20007 fi
20008 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20009 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20010
20011
20012
20013 cat >>confdefs.h <<_ACEOF
20014 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20015 _ACEOF
20016
20017
20018 { echo "$as_me:$LINENO: checking for int" >&5
20019 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20020 if test "${ac_cv_type_int+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 else
20023 cat >conftest.$ac_ext <<_ACEOF
20024 /* confdefs.h. */
20025 _ACEOF
20026 cat confdefs.h >>conftest.$ac_ext
20027 cat >>conftest.$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 $ac_includes_default
20030 typedef int ac__type_new_;
20031 int
20032 main ()
20033 {
20034 if ((ac__type_new_ *) 0)
20035 return 0;
20036 if (sizeof (ac__type_new_))
20037 return 0;
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 rm -f conftest.$ac_objext
20043 if { (ac_try="$ac_compile"
20044 case "(($ac_try" in
20045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20046 *) ac_try_echo=$ac_try;;
20047 esac
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_compile") 2>conftest.er1
20050 ac_status=$?
20051 grep -v '^ *+' conftest.er1 >conftest.err
20052 rm -f conftest.er1
20053 cat conftest.err >&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } && {
20056 test -z "$ac_c_werror_flag" ||
20057 test ! -s conftest.err
20058 } && test -s conftest.$ac_objext; then
20059 ac_cv_type_int=yes
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_cv_type_int=no
20065 fi
20066
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 fi
20069 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20070 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20071
20072 # The cast to long int works around a bug in the HP C Compiler
20073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20075 # This bug is HP SR number 8606223364.
20076 { echo "$as_me:$LINENO: checking size of int" >&5
20077 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20078 if test "${ac_cv_sizeof_int+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 else
20081 if test "$cross_compiling" = yes; then
20082 # Depending upon the size, compute the lo and hi bounds.
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef int ac__type_sizeof_;
20091 int
20092 main ()
20093 {
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20095 test_array [0] = 0
20096
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20106 esac
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.$ac_objext; then
20118 ac_lo=0 ac_mid=0
20119 while :; do
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 $ac_includes_default
20127 typedef int ac__type_sizeof_;
20128 int
20129 main ()
20130 {
20131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20132 test_array [0] = 0
20133
20134 ;
20135 return 0;
20136 }
20137 _ACEOF
20138 rm -f conftest.$ac_objext
20139 if { (ac_try="$ac_compile"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20143 esac
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_compile") 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } && {
20152 test -z "$ac_c_werror_flag" ||
20153 test ! -s conftest.err
20154 } && test -s conftest.$ac_objext; then
20155 ac_hi=$ac_mid; break
20156 else
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 ac_lo=`expr $ac_mid + 1`
20161 if test $ac_lo -le $ac_mid; then
20162 ac_lo= ac_hi=
20163 break
20164 fi
20165 ac_mid=`expr 2 '*' $ac_mid + 1`
20166 fi
20167
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20169 done
20170 else
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20173
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef int ac__type_sizeof_;
20182 int
20183 main ()
20184 {
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20186 test_array [0] = 0
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20197 esac
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20209 ac_hi=-1 ac_mid=-1
20210 while :; do
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h. */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 $ac_includes_default
20218 typedef int ac__type_sizeof_;
20219 int
20220 main ()
20221 {
20222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20223 test_array [0] = 0
20224
20225 ;
20226 return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (ac_try="$ac_compile"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20234 esac
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_compile") 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest.$ac_objext; then
20246 ac_lo=$ac_mid; break
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_hi=`expr '(' $ac_mid ')' - 1`
20252 if test $ac_mid -le $ac_hi; then
20253 ac_lo= ac_hi=
20254 break
20255 fi
20256 ac_mid=`expr 2 '*' $ac_mid`
20257 fi
20258
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 done
20261 else
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.$ac_ext >&5
20264
20265 ac_lo= ac_hi=
20266 fi
20267
20268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 fi
20270
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 # Binary search between lo and hi bounds.
20273 while test "x$ac_lo" != "x$ac_hi"; do
20274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 $ac_includes_default
20282 typedef int ac__type_sizeof_;
20283 int
20284 main ()
20285 {
20286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20287 test_array [0] = 0
20288
20289 ;
20290 return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest.$ac_objext
20294 if { (ac_try="$ac_compile"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_compile") 2>conftest.er1
20301 ac_status=$?
20302 grep -v '^ *+' conftest.er1 >conftest.err
20303 rm -f conftest.er1
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && {
20307 test -z "$ac_c_werror_flag" ||
20308 test ! -s conftest.err
20309 } && test -s conftest.$ac_objext; then
20310 ac_hi=$ac_mid
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20314
20315 ac_lo=`expr '(' $ac_mid ')' + 1`
20316 fi
20317
20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 done
20320 case $ac_lo in
20321 ?*) ac_cv_sizeof_int=$ac_lo;;
20322 '') if test "$ac_cv_type_int" = yes; then
20323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20324 See \`config.log' for more details." >&5
20325 echo "$as_me: error: cannot compute sizeof (int)
20326 See \`config.log' for more details." >&2;}
20327 { (exit 77); exit 77; }; }
20328 else
20329 ac_cv_sizeof_int=0
20330 fi ;;
20331 esac
20332 else
20333 cat >conftest.$ac_ext <<_ACEOF
20334 /* confdefs.h. */
20335 _ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20340 typedef int ac__type_sizeof_;
20341 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20342 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20343 #include <stdio.h>
20344 #include <stdlib.h>
20345 int
20346 main ()
20347 {
20348
20349 FILE *f = fopen ("conftest.val", "w");
20350 if (! f)
20351 return 1;
20352 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20353 {
20354 long int i = longval ();
20355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20356 return 1;
20357 fprintf (f, "%ld\n", i);
20358 }
20359 else
20360 {
20361 unsigned long int i = ulongval ();
20362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20363 return 1;
20364 fprintf (f, "%lu\n", i);
20365 }
20366 return ferror (f) || fclose (f) != 0;
20367
20368 ;
20369 return 0;
20370 }
20371 _ACEOF
20372 rm -f conftest$ac_exeext
20373 if { (ac_try="$ac_link"
20374 case "(($ac_try" in
20375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 *) ac_try_echo=$ac_try;;
20377 esac
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_link") 2>&5
20380 ac_status=$?
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20383 { (case "(($ac_try" in
20384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20385 *) ac_try_echo=$ac_try;;
20386 esac
20387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20388 (eval "$ac_try") 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_sizeof_int=`cat conftest.val`
20393 else
20394 echo "$as_me: program exited with status $ac_status" >&5
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.$ac_ext >&5
20397
20398 ( exit $ac_status )
20399 if test "$ac_cv_type_int" = yes; then
20400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20401 See \`config.log' for more details." >&5
20402 echo "$as_me: error: cannot compute sizeof (int)
20403 See \`config.log' for more details." >&2;}
20404 { (exit 77); exit 77; }; }
20405 else
20406 ac_cv_sizeof_int=0
20407 fi
20408 fi
20409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20410 fi
20411 rm -f conftest.val
20412 fi
20413 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20414 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20415
20416
20417
20418 cat >>confdefs.h <<_ACEOF
20419 #define SIZEOF_INT $ac_cv_sizeof_int
20420 _ACEOF
20421
20422
20423 { echo "$as_me:$LINENO: checking for long" >&5
20424 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20425 if test "${ac_cv_type_long+set}" = set; then
20426 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 else
20428 cat >conftest.$ac_ext <<_ACEOF
20429 /* confdefs.h. */
20430 _ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 $ac_includes_default
20435 typedef long ac__type_new_;
20436 int
20437 main ()
20438 {
20439 if ((ac__type_new_ *) 0)
20440 return 0;
20441 if (sizeof (ac__type_new_))
20442 return 0;
20443 ;
20444 return 0;
20445 }
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20452 esac
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.$ac_objext; then
20464 ac_cv_type_long=yes
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_cv_type_long=no
20470 fi
20471
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 fi
20474 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20475 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20476
20477 # The cast to long int works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 { echo "$as_me:$LINENO: checking size of long" >&5
20482 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20483 if test "${ac_cv_sizeof_long+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 else
20486 if test "$cross_compiling" = yes; then
20487 # Depending upon the size, compute the lo and hi bounds.
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 typedef long ac__type_sizeof_;
20496 int
20497 main ()
20498 {
20499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20500 test_array [0] = 0
20501
20502 ;
20503 return 0;
20504 }
20505 _ACEOF
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510 *) ac_try_echo=$ac_try;;
20511 esac
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.$ac_objext; then
20523 ac_lo=0 ac_mid=0
20524 while :; do
20525 cat >conftest.$ac_ext <<_ACEOF
20526 /* confdefs.h. */
20527 _ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 $ac_includes_default
20532 typedef long ac__type_sizeof_;
20533 int
20534 main ()
20535 {
20536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20537 test_array [0] = 0
20538
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 rm -f conftest.$ac_objext
20544 if { (ac_try="$ac_compile"
20545 case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20548 esac
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_compile") 2>conftest.er1
20551 ac_status=$?
20552 grep -v '^ *+' conftest.er1 >conftest.err
20553 rm -f conftest.er1
20554 cat conftest.err >&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } && {
20557 test -z "$ac_c_werror_flag" ||
20558 test ! -s conftest.err
20559 } && test -s conftest.$ac_objext; then
20560 ac_hi=$ac_mid; break
20561 else
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20564
20565 ac_lo=`expr $ac_mid + 1`
20566 if test $ac_lo -le $ac_mid; then
20567 ac_lo= ac_hi=
20568 break
20569 fi
20570 ac_mid=`expr 2 '*' $ac_mid + 1`
20571 fi
20572
20573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20574 done
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef long ac__type_sizeof_;
20587 int
20588 main ()
20589 {
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20591 test_array [0] = 0
20592
20593 ;
20594 return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20602 esac
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_hi=-1 ac_mid=-1
20615 while :; do
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 typedef long ac__type_sizeof_;
20624 int
20625 main ()
20626 {
20627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20628 test_array [0] = 0
20629
20630 ;
20631 return 0;
20632 }
20633 _ACEOF
20634 rm -f conftest.$ac_objext
20635 if { (ac_try="$ac_compile"
20636 case "(($ac_try" in
20637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20638 *) ac_try_echo=$ac_try;;
20639 esac
20640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20641 (eval "$ac_compile") 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } && {
20648 test -z "$ac_c_werror_flag" ||
20649 test ! -s conftest.err
20650 } && test -s conftest.$ac_objext; then
20651 ac_lo=$ac_mid; break
20652 else
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20655
20656 ac_hi=`expr '(' $ac_mid ')' - 1`
20657 if test $ac_mid -le $ac_hi; then
20658 ac_lo= ac_hi=
20659 break
20660 fi
20661 ac_mid=`expr 2 '*' $ac_mid`
20662 fi
20663
20664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20665 done
20666 else
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20669
20670 ac_lo= ac_hi=
20671 fi
20672
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 # Binary search between lo and hi bounds.
20678 while test "x$ac_lo" != "x$ac_hi"; do
20679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20680 cat >conftest.$ac_ext <<_ACEOF
20681 /* confdefs.h. */
20682 _ACEOF
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 $ac_includes_default
20687 typedef long ac__type_sizeof_;
20688 int
20689 main ()
20690 {
20691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20692 test_array [0] = 0
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20706 ac_status=$?
20707 grep -v '^ *+' conftest.er1 >conftest.err
20708 rm -f conftest.er1
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.$ac_objext; then
20715 ac_hi=$ac_mid
20716 else
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20719
20720 ac_lo=`expr '(' $ac_mid ')' + 1`
20721 fi
20722
20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20724 done
20725 case $ac_lo in
20726 ?*) ac_cv_sizeof_long=$ac_lo;;
20727 '') if test "$ac_cv_type_long" = yes; then
20728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20729 See \`config.log' for more details." >&5
20730 echo "$as_me: error: cannot compute sizeof (long)
20731 See \`config.log' for more details." >&2;}
20732 { (exit 77); exit 77; }; }
20733 else
20734 ac_cv_sizeof_long=0
20735 fi ;;
20736 esac
20737 else
20738 cat >conftest.$ac_ext <<_ACEOF
20739 /* confdefs.h. */
20740 _ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef long ac__type_sizeof_;
20746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20748 #include <stdio.h>
20749 #include <stdlib.h>
20750 int
20751 main ()
20752 {
20753
20754 FILE *f = fopen ("conftest.val", "w");
20755 if (! f)
20756 return 1;
20757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20758 {
20759 long int i = longval ();
20760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20761 return 1;
20762 fprintf (f, "%ld\n", i);
20763 }
20764 else
20765 {
20766 unsigned long int i = ulongval ();
20767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20768 return 1;
20769 fprintf (f, "%lu\n", i);
20770 }
20771 return ferror (f) || fclose (f) != 0;
20772
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest$ac_exeext
20778 if { (ac_try="$ac_link"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_link") 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20788 { (case "(($ac_try" in
20789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20790 *) ac_try_echo=$ac_try;;
20791 esac
20792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20793 (eval "$ac_try") 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_sizeof_long=`cat conftest.val`
20798 else
20799 echo "$as_me: program exited with status $ac_status" >&5
20800 echo "$as_me: failed program was:" >&5
20801 sed 's/^/| /' conftest.$ac_ext >&5
20802
20803 ( exit $ac_status )
20804 if test "$ac_cv_type_long" = yes; then
20805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20806 See \`config.log' for more details." >&5
20807 echo "$as_me: error: cannot compute sizeof (long)
20808 See \`config.log' for more details." >&2;}
20809 { (exit 77); exit 77; }; }
20810 else
20811 ac_cv_sizeof_long=0
20812 fi
20813 fi
20814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20815 fi
20816 rm -f conftest.val
20817 fi
20818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20819 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20820
20821
20822
20823 cat >>confdefs.h <<_ACEOF
20824 #define SIZEOF_LONG $ac_cv_sizeof_long
20825 _ACEOF
20826
20827
20828 { echo "$as_me:$LINENO: checking for size_t" >&5
20829 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20830 if test "${ac_cv_type_size_t+set}" = set; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20832 else
20833 cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h. */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 $ac_includes_default
20840 typedef size_t ac__type_new_;
20841 int
20842 main ()
20843 {
20844 if ((ac__type_new_ *) 0)
20845 return 0;
20846 if (sizeof (ac__type_new_))
20847 return 0;
20848 ;
20849 return 0;
20850 }
20851 _ACEOF
20852 rm -f conftest.$ac_objext
20853 if { (ac_try="$ac_compile"
20854 case "(($ac_try" in
20855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20856 *) ac_try_echo=$ac_try;;
20857 esac
20858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20859 (eval "$ac_compile") 2>conftest.er1
20860 ac_status=$?
20861 grep -v '^ *+' conftest.er1 >conftest.err
20862 rm -f conftest.er1
20863 cat conftest.err >&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } && {
20866 test -z "$ac_c_werror_flag" ||
20867 test ! -s conftest.err
20868 } && test -s conftest.$ac_objext; then
20869 ac_cv_type_size_t=yes
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_cv_type_size_t=no
20875 fi
20876
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 fi
20879 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20880 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20881
20882 # The cast to long int works around a bug in the HP C Compiler
20883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20885 # This bug is HP SR number 8606223364.
20886 { echo "$as_me:$LINENO: checking size of size_t" >&5
20887 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20888 if test "${ac_cv_sizeof_size_t+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891 if test "$cross_compiling" = yes; then
20892 # Depending upon the size, compute the lo and hi bounds.
20893 cat >conftest.$ac_ext <<_ACEOF
20894 /* confdefs.h. */
20895 _ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 typedef size_t ac__type_sizeof_;
20901 int
20902 main ()
20903 {
20904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20905 test_array [0] = 0
20906
20907 ;
20908 return 0;
20909 }
20910 _ACEOF
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20915 *) ac_try_echo=$ac_try;;
20916 esac
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.$ac_objext; then
20928 ac_lo=0 ac_mid=0
20929 while :; do
20930 cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h. */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20937 typedef size_t ac__type_sizeof_;
20938 int
20939 main ()
20940 {
20941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20942 test_array [0] = 0
20943
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 rm -f conftest.$ac_objext
20949 if { (ac_try="$ac_compile"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_compile") 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && {
20962 test -z "$ac_c_werror_flag" ||
20963 test ! -s conftest.err
20964 } && test -s conftest.$ac_objext; then
20965 ac_hi=$ac_mid; break
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 ac_lo=`expr $ac_mid + 1`
20971 if test $ac_lo -le $ac_mid; then
20972 ac_lo= ac_hi=
20973 break
20974 fi
20975 ac_mid=`expr 2 '*' $ac_mid + 1`
20976 fi
20977
20978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 done
20980 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20983
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef size_t ac__type_sizeof_;
20992 int
20993 main ()
20994 {
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20996 test_array [0] = 0
20997
20998 ;
20999 return 0;
21000 }
21001 _ACEOF
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21007 esac
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.$ac_objext; then
21019 ac_hi=-1 ac_mid=-1
21020 while :; do
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h. */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 $ac_includes_default
21028 typedef size_t ac__type_sizeof_;
21029 int
21030 main ()
21031 {
21032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21033 test_array [0] = 0
21034
21035 ;
21036 return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21044 esac
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21056 ac_lo=$ac_mid; break
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 ac_hi=`expr '(' $ac_mid ')' - 1`
21062 if test $ac_mid -le $ac_hi; then
21063 ac_lo= ac_hi=
21064 break
21065 fi
21066 ac_mid=`expr 2 '*' $ac_mid`
21067 fi
21068
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 done
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 ac_lo= ac_hi=
21076 fi
21077
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 fi
21080
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 # Binary search between lo and hi bounds.
21083 while test "x$ac_lo" != "x$ac_hi"; do
21084 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21085 cat >conftest.$ac_ext <<_ACEOF
21086 /* confdefs.h. */
21087 _ACEOF
21088 cat confdefs.h >>conftest.$ac_ext
21089 cat >>conftest.$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21091 $ac_includes_default
21092 typedef size_t ac__type_sizeof_;
21093 int
21094 main ()
21095 {
21096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21097 test_array [0] = 0
21098
21099 ;
21100 return 0;
21101 }
21102 _ACEOF
21103 rm -f conftest.$ac_objext
21104 if { (ac_try="$ac_compile"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108 esac
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_compile") 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } && {
21117 test -z "$ac_c_werror_flag" ||
21118 test ! -s conftest.err
21119 } && test -s conftest.$ac_objext; then
21120 ac_hi=$ac_mid
21121 else
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21124
21125 ac_lo=`expr '(' $ac_mid ')' + 1`
21126 fi
21127
21128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21129 done
21130 case $ac_lo in
21131 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21132 '') if test "$ac_cv_type_size_t" = yes; then
21133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21134 See \`config.log' for more details." >&5
21135 echo "$as_me: error: cannot compute sizeof (size_t)
21136 See \`config.log' for more details." >&2;}
21137 { (exit 77); exit 77; }; }
21138 else
21139 ac_cv_sizeof_size_t=0
21140 fi ;;
21141 esac
21142 else
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef size_t ac__type_sizeof_;
21151 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21152 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21153 #include <stdio.h>
21154 #include <stdlib.h>
21155 int
21156 main ()
21157 {
21158
21159 FILE *f = fopen ("conftest.val", "w");
21160 if (! f)
21161 return 1;
21162 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21163 {
21164 long int i = longval ();
21165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21166 return 1;
21167 fprintf (f, "%ld\n", i);
21168 }
21169 else
21170 {
21171 unsigned long int i = ulongval ();
21172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21173 return 1;
21174 fprintf (f, "%lu\n", i);
21175 }
21176 return ferror (f) || fclose (f) != 0;
21177
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest$ac_exeext
21183 if { (ac_try="$ac_link"
21184 case "(($ac_try" in
21185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21186 *) ac_try_echo=$ac_try;;
21187 esac
21188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21189 (eval "$ac_link") 2>&5
21190 ac_status=$?
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21193 { (case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21196 esac
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_try") 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_sizeof_size_t=`cat conftest.val`
21203 else
21204 echo "$as_me: program exited with status $ac_status" >&5
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ( exit $ac_status )
21209 if test "$ac_cv_type_size_t" = yes; then
21210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21211 See \`config.log' for more details." >&5
21212 echo "$as_me: error: cannot compute sizeof (size_t)
21213 See \`config.log' for more details." >&2;}
21214 { (exit 77); exit 77; }; }
21215 else
21216 ac_cv_sizeof_size_t=0
21217 fi
21218 fi
21219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21220 fi
21221 rm -f conftest.val
21222 fi
21223 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21224 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21225
21226
21227
21228 cat >>confdefs.h <<_ACEOF
21229 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21230 _ACEOF
21231
21232
21233
21234 case "${host}" in
21235 arm-*-linux* )
21236 { echo "$as_me:$LINENO: checking for long long" >&5
21237 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21238 if test "${ac_cv_type_long_long+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 else
21241 cat >conftest.$ac_ext <<_ACEOF
21242 /* confdefs.h. */
21243 _ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 typedef long long ac__type_new_;
21249 int
21250 main ()
21251 {
21252 if ((ac__type_new_ *) 0)
21253 return 0;
21254 if (sizeof (ac__type_new_))
21255 return 0;
21256 ;
21257 return 0;
21258 }
21259 _ACEOF
21260 rm -f conftest.$ac_objext
21261 if { (ac_try="$ac_compile"
21262 case "(($ac_try" in
21263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21264 *) ac_try_echo=$ac_try;;
21265 esac
21266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21267 (eval "$ac_compile") 2>conftest.er1
21268 ac_status=$?
21269 grep -v '^ *+' conftest.er1 >conftest.err
21270 rm -f conftest.er1
21271 cat conftest.err >&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } && {
21274 test -z "$ac_c_werror_flag" ||
21275 test ! -s conftest.err
21276 } && test -s conftest.$ac_objext; then
21277 ac_cv_type_long_long=yes
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 ac_cv_type_long_long=no
21283 fi
21284
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21288 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21289
21290 # The cast to long int works around a bug in the HP C Compiler
21291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21293 # This bug is HP SR number 8606223364.
21294 { echo "$as_me:$LINENO: checking size of long long" >&5
21295 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21296 if test "${ac_cv_sizeof_long_long+set}" = set; then
21297 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299 if test "$cross_compiling" = yes; then
21300 # Depending upon the size, compute the lo and hi bounds.
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_sizeof_;
21309 int
21310 main ()
21311 {
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21313 test_array [0] = 0
21314
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21327 ac_status=$?
21328 grep -v '^ *+' conftest.er1 >conftest.err
21329 rm -f conftest.er1
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.$ac_objext; then
21336 ac_lo=0 ac_mid=0
21337 while :; do
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 typedef long long ac__type_sizeof_;
21346 int
21347 main ()
21348 {
21349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21350 test_array [0] = 0
21351
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest.$ac_objext
21357 if { (ac_try="$ac_compile"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_compile") 2>conftest.er1
21364 ac_status=$?
21365 grep -v '^ *+' conftest.er1 >conftest.err
21366 rm -f conftest.er1
21367 cat conftest.err >&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } && {
21370 test -z "$ac_c_werror_flag" ||
21371 test ! -s conftest.err
21372 } && test -s conftest.$ac_objext; then
21373 ac_hi=$ac_mid; break
21374 else
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21377
21378 ac_lo=`expr $ac_mid + 1`
21379 if test $ac_lo -le $ac_mid; then
21380 ac_lo= ac_hi=
21381 break
21382 fi
21383 ac_mid=`expr 2 '*' $ac_mid + 1`
21384 fi
21385
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21387 done
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_hi=-1 ac_mid=-1
21428 while :; do
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 $ac_includes_default
21436 typedef long long ac__type_sizeof_;
21437 int
21438 main ()
21439 {
21440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21441 test_array [0] = 0
21442
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 rm -f conftest.$ac_objext
21448 if { (ac_try="$ac_compile"
21449 case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21452 esac
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_compile") 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } && {
21461 test -z "$ac_c_werror_flag" ||
21462 test ! -s conftest.err
21463 } && test -s conftest.$ac_objext; then
21464 ac_lo=$ac_mid; break
21465 else
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21468
21469 ac_hi=`expr '(' $ac_mid ')' - 1`
21470 if test $ac_mid -le $ac_hi; then
21471 ac_lo= ac_hi=
21472 break
21473 fi
21474 ac_mid=`expr 2 '*' $ac_mid`
21475 fi
21476
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 done
21479 else
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21482
21483 ac_lo= ac_hi=
21484 fi
21485
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21487 fi
21488
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 # Binary search between lo and hi bounds.
21491 while test "x$ac_lo" != "x$ac_hi"; do
21492 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21493 cat >conftest.$ac_ext <<_ACEOF
21494 /* confdefs.h. */
21495 _ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 $ac_includes_default
21500 typedef long long ac__type_sizeof_;
21501 int
21502 main ()
21503 {
21504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21505 test_array [0] = 0
21506
21507 ;
21508 return 0;
21509 }
21510 _ACEOF
21511 rm -f conftest.$ac_objext
21512 if { (ac_try="$ac_compile"
21513 case "(($ac_try" in
21514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21515 *) ac_try_echo=$ac_try;;
21516 esac
21517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21518 (eval "$ac_compile") 2>conftest.er1
21519 ac_status=$?
21520 grep -v '^ *+' conftest.er1 >conftest.err
21521 rm -f conftest.er1
21522 cat conftest.err >&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } && {
21525 test -z "$ac_c_werror_flag" ||
21526 test ! -s conftest.err
21527 } && test -s conftest.$ac_objext; then
21528 ac_hi=$ac_mid
21529 else
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 ac_lo=`expr '(' $ac_mid ')' + 1`
21534 fi
21535
21536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21537 done
21538 case $ac_lo in
21539 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21540 '') if test "$ac_cv_type_long_long" = yes; then
21541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21542 See \`config.log' for more details." >&5
21543 echo "$as_me: error: cannot compute sizeof (long long)
21544 See \`config.log' for more details." >&2;}
21545 { (exit 77); exit 77; }; }
21546 else
21547 ac_cv_sizeof_long_long=0
21548 fi ;;
21549 esac
21550 else
21551 cat >conftest.$ac_ext <<_ACEOF
21552 /* confdefs.h. */
21553 _ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 $ac_includes_default
21558 typedef long long ac__type_sizeof_;
21559 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21560 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21561 #include <stdio.h>
21562 #include <stdlib.h>
21563 int
21564 main ()
21565 {
21566
21567 FILE *f = fopen ("conftest.val", "w");
21568 if (! f)
21569 return 1;
21570 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21571 {
21572 long int i = longval ();
21573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21574 return 1;
21575 fprintf (f, "%ld\n", i);
21576 }
21577 else
21578 {
21579 unsigned long int i = ulongval ();
21580 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21581 return 1;
21582 fprintf (f, "%lu\n", i);
21583 }
21584 return ferror (f) || fclose (f) != 0;
21585
21586 ;
21587 return 0;
21588 }
21589 _ACEOF
21590 rm -f conftest$ac_exeext
21591 if { (ac_try="$ac_link"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21595 esac
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_link") 2>&5
21598 ac_status=$?
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21601 { (case "(($ac_try" in
21602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21603 *) ac_try_echo=$ac_try;;
21604 esac
21605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21606 (eval "$ac_try") 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 ac_cv_sizeof_long_long=`cat conftest.val`
21611 else
21612 echo "$as_me: program exited with status $ac_status" >&5
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 ( exit $ac_status )
21617 if test "$ac_cv_type_long_long" = yes; then
21618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21619 See \`config.log' for more details." >&5
21620 echo "$as_me: error: cannot compute sizeof (long long)
21621 See \`config.log' for more details." >&2;}
21622 { (exit 77); exit 77; }; }
21623 else
21624 ac_cv_sizeof_long_long=0
21625 fi
21626 fi
21627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21628 fi
21629 rm -f conftest.val
21630 fi
21631 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21632 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21633
21634
21635
21636 cat >>confdefs.h <<_ACEOF
21637 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21638 _ACEOF
21639
21640
21641 ;;
21642 *-hp-hpux* )
21643 { echo "$as_me:$LINENO: checking for long long" >&5
21644 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21645 if test "${ac_cv_type_long_long+set}" = set; then
21646 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 else
21648 cat >conftest.$ac_ext <<_ACEOF
21649 /* confdefs.h. */
21650 _ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 $ac_includes_default
21655 typedef long long ac__type_new_;
21656 int
21657 main ()
21658 {
21659 if ((ac__type_new_ *) 0)
21660 return 0;
21661 if (sizeof (ac__type_new_))
21662 return 0;
21663 ;
21664 return 0;
21665 }
21666 _ACEOF
21667 rm -f conftest.$ac_objext
21668 if { (ac_try="$ac_compile"
21669 case "(($ac_try" in
21670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21671 *) ac_try_echo=$ac_try;;
21672 esac
21673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21674 (eval "$ac_compile") 2>conftest.er1
21675 ac_status=$?
21676 grep -v '^ *+' conftest.er1 >conftest.err
21677 rm -f conftest.er1
21678 cat conftest.err >&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } && {
21681 test -z "$ac_c_werror_flag" ||
21682 test ! -s conftest.err
21683 } && test -s conftest.$ac_objext; then
21684 ac_cv_type_long_long=yes
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_cv_type_long_long=no
21690 fi
21691
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 fi
21694 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21695 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21696
21697 # The cast to long int works around a bug in the HP C Compiler
21698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21700 # This bug is HP SR number 8606223364.
21701 { echo "$as_me:$LINENO: checking size of long long" >&5
21702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21703 if test "${ac_cv_sizeof_long_long+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 else
21706 if test "$cross_compiling" = yes; then
21707 # Depending upon the size, compute the lo and hi bounds.
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_lo=0 ac_mid=0
21744 while :; do
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef long long ac__type_sizeof_;
21753 int
21754 main ()
21755 {
21756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21757 test_array [0] = 0
21758
21759 ;
21760 return 0;
21761 }
21762 _ACEOF
21763 rm -f conftest.$ac_objext
21764 if { (ac_try="$ac_compile"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21768 esac
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_compile") 2>conftest.er1
21771 ac_status=$?
21772 grep -v '^ *+' conftest.er1 >conftest.err
21773 rm -f conftest.er1
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest.$ac_objext; then
21780 ac_hi=$ac_mid; break
21781 else
21782 echo "$as_me: failed program was:" >&5
21783 sed 's/^/| /' conftest.$ac_ext >&5
21784
21785 ac_lo=`expr $ac_mid + 1`
21786 if test $ac_lo -le $ac_mid; then
21787 ac_lo= ac_hi=
21788 break
21789 fi
21790 ac_mid=`expr 2 '*' $ac_mid + 1`
21791 fi
21792
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794 done
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21807 int
21808 main ()
21809 {
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21811 test_array [0] = 0
21812
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21822 esac
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21825 ac_status=$?
21826 grep -v '^ *+' conftest.er1 >conftest.err
21827 rm -f conftest.er1
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21834 ac_hi=-1 ac_mid=-1
21835 while :; do
21836 cat >conftest.$ac_ext <<_ACEOF
21837 /* confdefs.h. */
21838 _ACEOF
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 $ac_includes_default
21843 typedef long long ac__type_sizeof_;
21844 int
21845 main ()
21846 {
21847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21848 test_array [0] = 0
21849
21850 ;
21851 return 0;
21852 }
21853 _ACEOF
21854 rm -f conftest.$ac_objext
21855 if { (ac_try="$ac_compile"
21856 case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21859 esac
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_compile") 2>conftest.er1
21862 ac_status=$?
21863 grep -v '^ *+' conftest.er1 >conftest.err
21864 rm -f conftest.er1
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } && {
21868 test -z "$ac_c_werror_flag" ||
21869 test ! -s conftest.err
21870 } && test -s conftest.$ac_objext; then
21871 ac_lo=$ac_mid; break
21872 else
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21875
21876 ac_hi=`expr '(' $ac_mid ')' - 1`
21877 if test $ac_mid -le $ac_hi; then
21878 ac_lo= ac_hi=
21879 break
21880 fi
21881 ac_mid=`expr 2 '*' $ac_mid`
21882 fi
21883
21884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21885 done
21886 else
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.$ac_ext >&5
21889
21890 ac_lo= ac_hi=
21891 fi
21892
21893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 fi
21895
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21897 # Binary search between lo and hi bounds.
21898 while test "x$ac_lo" != "x$ac_hi"; do
21899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21900 cat >conftest.$ac_ext <<_ACEOF
21901 /* confdefs.h. */
21902 _ACEOF
21903 cat confdefs.h >>conftest.$ac_ext
21904 cat >>conftest.$ac_ext <<_ACEOF
21905 /* end confdefs.h. */
21906 $ac_includes_default
21907 typedef long long ac__type_sizeof_;
21908 int
21909 main ()
21910 {
21911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21912 test_array [0] = 0
21913
21914 ;
21915 return 0;
21916 }
21917 _ACEOF
21918 rm -f conftest.$ac_objext
21919 if { (ac_try="$ac_compile"
21920 case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21923 esac
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_compile") 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } && {
21932 test -z "$ac_c_werror_flag" ||
21933 test ! -s conftest.err
21934 } && test -s conftest.$ac_objext; then
21935 ac_hi=$ac_mid
21936 else
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21939
21940 ac_lo=`expr '(' $ac_mid ')' + 1`
21941 fi
21942
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 done
21945 case $ac_lo in
21946 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21947 '') if test "$ac_cv_type_long_long" = yes; then
21948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21949 See \`config.log' for more details." >&5
21950 echo "$as_me: error: cannot compute sizeof (long long)
21951 See \`config.log' for more details." >&2;}
21952 { (exit 77); exit 77; }; }
21953 else
21954 ac_cv_sizeof_long_long=0
21955 fi ;;
21956 esac
21957 else
21958 cat >conftest.$ac_ext <<_ACEOF
21959 /* confdefs.h. */
21960 _ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 $ac_includes_default
21965 typedef long long ac__type_sizeof_;
21966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21968 #include <stdio.h>
21969 #include <stdlib.h>
21970 int
21971 main ()
21972 {
21973
21974 FILE *f = fopen ("conftest.val", "w");
21975 if (! f)
21976 return 1;
21977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21978 {
21979 long int i = longval ();
21980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21981 return 1;
21982 fprintf (f, "%ld\n", i);
21983 }
21984 else
21985 {
21986 unsigned long int i = ulongval ();
21987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21988 return 1;
21989 fprintf (f, "%lu\n", i);
21990 }
21991 return ferror (f) || fclose (f) != 0;
21992
21993 ;
21994 return 0;
21995 }
21996 _ACEOF
21997 rm -f conftest$ac_exeext
21998 if { (ac_try="$ac_link"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22002 esac
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_link") 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22008 { (case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22011 esac
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_try") 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22017 ac_cv_sizeof_long_long=`cat conftest.val`
22018 else
22019 echo "$as_me: program exited with status $ac_status" >&5
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22022
22023 ( exit $ac_status )
22024 if test "$ac_cv_type_long_long" = yes; then
22025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22026 See \`config.log' for more details." >&5
22027 echo "$as_me: error: cannot compute sizeof (long long)
22028 See \`config.log' for more details." >&2;}
22029 { (exit 77); exit 77; }; }
22030 else
22031 ac_cv_sizeof_long_long=0
22032 fi
22033 fi
22034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22035 fi
22036 rm -f conftest.val
22037 fi
22038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22039 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22040
22041
22042
22043 cat >>confdefs.h <<_ACEOF
22044 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22045 _ACEOF
22046
22047
22048 if test "$ac_cv_sizeof_long_long" != 0; then
22049 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22050 fi
22051 ;;
22052 * )
22053 { echo "$as_me:$LINENO: checking for long long" >&5
22054 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22055 if test "${ac_cv_type_long_long+set}" = set; then
22056 echo $ECHO_N "(cached) $ECHO_C" >&6
22057 else
22058 cat >conftest.$ac_ext <<_ACEOF
22059 /* confdefs.h. */
22060 _ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 $ac_includes_default
22065 typedef long long ac__type_new_;
22066 int
22067 main ()
22068 {
22069 if ((ac__type_new_ *) 0)
22070 return 0;
22071 if (sizeof (ac__type_new_))
22072 return 0;
22073 ;
22074 return 0;
22075 }
22076 _ACEOF
22077 rm -f conftest.$ac_objext
22078 if { (ac_try="$ac_compile"
22079 case "(($ac_try" in
22080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22081 *) ac_try_echo=$ac_try;;
22082 esac
22083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22084 (eval "$ac_compile") 2>conftest.er1
22085 ac_status=$?
22086 grep -v '^ *+' conftest.er1 >conftest.err
22087 rm -f conftest.er1
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } && {
22091 test -z "$ac_c_werror_flag" ||
22092 test ! -s conftest.err
22093 } && test -s conftest.$ac_objext; then
22094 ac_cv_type_long_long=yes
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_cv_type_long_long=no
22100 fi
22101
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22103 fi
22104 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22105 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22106
22107 # The cast to long int works around a bug in the HP C Compiler
22108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22110 # This bug is HP SR number 8606223364.
22111 { echo "$as_me:$LINENO: checking size of long long" >&5
22112 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22113 if test "${ac_cv_sizeof_long_long+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 else
22116 if test "$cross_compiling" = yes; then
22117 # Depending upon the size, compute the lo and hi bounds.
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h. */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22126 int
22127 main ()
22128 {
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22130 test_array [0] = 0
22131
22132 ;
22133 return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22144 ac_status=$?
22145 grep -v '^ *+' conftest.er1 >conftest.err
22146 rm -f conftest.er1
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
22153 ac_lo=0 ac_mid=0
22154 while :; do
22155 cat >conftest.$ac_ext <<_ACEOF
22156 /* confdefs.h. */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161 $ac_includes_default
22162 typedef long long ac__type_sizeof_;
22163 int
22164 main ()
22165 {
22166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22167 test_array [0] = 0
22168
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest.$ac_objext
22174 if { (ac_try="$ac_compile"
22175 case "(($ac_try" in
22176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22177 *) ac_try_echo=$ac_try;;
22178 esac
22179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22180 (eval "$ac_compile") 2>conftest.er1
22181 ac_status=$?
22182 grep -v '^ *+' conftest.er1 >conftest.err
22183 rm -f conftest.er1
22184 cat conftest.err >&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && {
22187 test -z "$ac_c_werror_flag" ||
22188 test ! -s conftest.err
22189 } && test -s conftest.$ac_objext; then
22190 ac_hi=$ac_mid; break
22191 else
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 ac_lo=`expr $ac_mid + 1`
22196 if test $ac_lo -le $ac_mid; then
22197 ac_lo= ac_hi=
22198 break
22199 fi
22200 ac_mid=`expr 2 '*' $ac_mid + 1`
22201 fi
22202
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22204 done
22205 else
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 cat >conftest.$ac_ext <<_ACEOF
22210 /* confdefs.h. */
22211 _ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22217 int
22218 main ()
22219 {
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22221 test_array [0] = 0
22222
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.$ac_objext; then
22244 ac_hi=-1 ac_mid=-1
22245 while :; do
22246 cat >conftest.$ac_ext <<_ACEOF
22247 /* confdefs.h. */
22248 _ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 $ac_includes_default
22253 typedef long long ac__type_sizeof_;
22254 int
22255 main ()
22256 {
22257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22258 test_array [0] = 0
22259
22260 ;
22261 return 0;
22262 }
22263 _ACEOF
22264 rm -f conftest.$ac_objext
22265 if { (ac_try="$ac_compile"
22266 case "(($ac_try" in
22267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22268 *) ac_try_echo=$ac_try;;
22269 esac
22270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22271 (eval "$ac_compile") 2>conftest.er1
22272 ac_status=$?
22273 grep -v '^ *+' conftest.er1 >conftest.err
22274 rm -f conftest.er1
22275 cat conftest.err >&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } && {
22278 test -z "$ac_c_werror_flag" ||
22279 test ! -s conftest.err
22280 } && test -s conftest.$ac_objext; then
22281 ac_lo=$ac_mid; break
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22285
22286 ac_hi=`expr '(' $ac_mid ')' - 1`
22287 if test $ac_mid -le $ac_hi; then
22288 ac_lo= ac_hi=
22289 break
22290 fi
22291 ac_mid=`expr 2 '*' $ac_mid`
22292 fi
22293
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 done
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ac_lo= ac_hi=
22301 fi
22302
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 fi
22305
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 # Binary search between lo and hi bounds.
22308 while test "x$ac_lo" != "x$ac_hi"; do
22309 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22310 cat >conftest.$ac_ext <<_ACEOF
22311 /* confdefs.h. */
22312 _ACEOF
22313 cat confdefs.h >>conftest.$ac_ext
22314 cat >>conftest.$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22317 typedef long long ac__type_sizeof_;
22318 int
22319 main ()
22320 {
22321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22322 test_array [0] = 0
22323
22324 ;
22325 return 0;
22326 }
22327 _ACEOF
22328 rm -f conftest.$ac_objext
22329 if { (ac_try="$ac_compile"
22330 case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22333 esac
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_compile") 2>conftest.er1
22336 ac_status=$?
22337 grep -v '^ *+' conftest.er1 >conftest.err
22338 rm -f conftest.er1
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } && {
22342 test -z "$ac_c_werror_flag" ||
22343 test ! -s conftest.err
22344 } && test -s conftest.$ac_objext; then
22345 ac_hi=$ac_mid
22346 else
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22349
22350 ac_lo=`expr '(' $ac_mid ')' + 1`
22351 fi
22352
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 done
22355 case $ac_lo in
22356 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22357 '') if test "$ac_cv_type_long_long" = yes; then
22358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22359 See \`config.log' for more details." >&5
22360 echo "$as_me: error: cannot compute sizeof (long long)
22361 See \`config.log' for more details." >&2;}
22362 { (exit 77); exit 77; }; }
22363 else
22364 ac_cv_sizeof_long_long=0
22365 fi ;;
22366 esac
22367 else
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22376 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22377 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22378 #include <stdio.h>
22379 #include <stdlib.h>
22380 int
22381 main ()
22382 {
22383
22384 FILE *f = fopen ("conftest.val", "w");
22385 if (! f)
22386 return 1;
22387 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22388 {
22389 long int i = longval ();
22390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22391 return 1;
22392 fprintf (f, "%ld\n", i);
22393 }
22394 else
22395 {
22396 unsigned long int i = ulongval ();
22397 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22398 return 1;
22399 fprintf (f, "%lu\n", i);
22400 }
22401 return ferror (f) || fclose (f) != 0;
22402
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest$ac_exeext
22408 if { (ac_try="$ac_link"
22409 case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_link") 2>&5
22415 ac_status=$?
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22418 { (case "(($ac_try" in
22419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22420 *) ac_try_echo=$ac_try;;
22421 esac
22422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22423 (eval "$ac_try") 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 ac_cv_sizeof_long_long=`cat conftest.val`
22428 else
22429 echo "$as_me: program exited with status $ac_status" >&5
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ( exit $ac_status )
22434 if test "$ac_cv_type_long_long" = yes; then
22435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22436 See \`config.log' for more details." >&5
22437 echo "$as_me: error: cannot compute sizeof (long long)
22438 See \`config.log' for more details." >&2;}
22439 { (exit 77); exit 77; }; }
22440 else
22441 ac_cv_sizeof_long_long=0
22442 fi
22443 fi
22444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22445 fi
22446 rm -f conftest.val
22447 fi
22448 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22449 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22450
22451
22452
22453 cat >>confdefs.h <<_ACEOF
22454 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22455 _ACEOF
22456
22457
22458 esac
22459
22460 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22461 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22462 if test "${ac_cv_type_wchar_t+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 else
22465 cat >conftest.$ac_ext <<_ACEOF
22466 /* confdefs.h. */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22471
22472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22474 # error "fake wchar_t"
22475 #endif
22476 #ifdef HAVE_WCHAR_H
22477 # ifdef __CYGWIN__
22478 # include <stddef.h>
22479 # endif
22480 # include <wchar.h>
22481 #endif
22482 #ifdef HAVE_STDLIB_H
22483 # include <stdlib.h>
22484 #endif
22485 #include <stdio.h>
22486
22487
22488
22489 typedef wchar_t ac__type_new_;
22490 int
22491 main ()
22492 {
22493 if ((ac__type_new_ *) 0)
22494 return 0;
22495 if (sizeof (ac__type_new_))
22496 return 0;
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_cv_type_wchar_t=yes
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 ac_cv_type_wchar_t=no
22524 fi
22525
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 fi
22528 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22529 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22530
22531 # The cast to long int works around a bug in the HP C Compiler
22532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22534 # This bug is HP SR number 8606223364.
22535 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22536 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22537 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 else
22540 if test "$cross_compiling" = yes; then
22541 # Depending upon the size, compute the lo and hi bounds.
22542 cat >conftest.$ac_ext <<_ACEOF
22543 /* confdefs.h. */
22544 _ACEOF
22545 cat confdefs.h >>conftest.$ac_ext
22546 cat >>conftest.$ac_ext <<_ACEOF
22547 /* end confdefs.h. */
22548
22549 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22551 # error "fake wchar_t"
22552 #endif
22553 #ifdef HAVE_WCHAR_H
22554 # ifdef __CYGWIN__
22555 # include <stddef.h>
22556 # endif
22557 # include <wchar.h>
22558 #endif
22559 #ifdef HAVE_STDLIB_H
22560 # include <stdlib.h>
22561 #endif
22562 #include <stdio.h>
22563
22564
22565
22566 typedef wchar_t ac__type_sizeof_;
22567 int
22568 main ()
22569 {
22570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22571 test_array [0] = 0
22572
22573 ;
22574 return 0;
22575 }
22576 _ACEOF
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22581 *) ac_try_echo=$ac_try;;
22582 esac
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_compile") 2>conftest.er1
22585 ac_status=$?
22586 grep -v '^ *+' conftest.er1 >conftest.err
22587 rm -f conftest.er1
22588 cat conftest.err >&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest.$ac_objext; then
22594 ac_lo=0 ac_mid=0
22595 while :; do
22596 cat >conftest.$ac_ext <<_ACEOF
22597 /* confdefs.h. */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602
22603 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22604 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22605 # error "fake wchar_t"
22606 #endif
22607 #ifdef HAVE_WCHAR_H
22608 # ifdef __CYGWIN__
22609 # include <stddef.h>
22610 # endif
22611 # include <wchar.h>
22612 #endif
22613 #ifdef HAVE_STDLIB_H
22614 # include <stdlib.h>
22615 #endif
22616 #include <stdio.h>
22617
22618
22619
22620 typedef wchar_t ac__type_sizeof_;
22621 int
22622 main ()
22623 {
22624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22625 test_array [0] = 0
22626
22627 ;
22628 return 0;
22629 }
22630 _ACEOF
22631 rm -f conftest.$ac_objext
22632 if { (ac_try="$ac_compile"
22633 case "(($ac_try" in
22634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22635 *) ac_try_echo=$ac_try;;
22636 esac
22637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22638 (eval "$ac_compile") 2>conftest.er1
22639 ac_status=$?
22640 grep -v '^ *+' conftest.er1 >conftest.err
22641 rm -f conftest.er1
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } && {
22645 test -z "$ac_c_werror_flag" ||
22646 test ! -s conftest.err
22647 } && test -s conftest.$ac_objext; then
22648 ac_hi=$ac_mid; break
22649 else
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22652
22653 ac_lo=`expr $ac_mid + 1`
22654 if test $ac_lo -le $ac_mid; then
22655 ac_lo= ac_hi=
22656 break
22657 fi
22658 ac_mid=`expr 2 '*' $ac_mid + 1`
22659 fi
22660
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22662 done
22663 else
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.$ac_ext >&5
22666
22667 cat >conftest.$ac_ext <<_ACEOF
22668 /* confdefs.h. */
22669 _ACEOF
22670 cat confdefs.h >>conftest.$ac_ext
22671 cat >>conftest.$ac_ext <<_ACEOF
22672 /* end confdefs.h. */
22673
22674 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22675 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22676 # error "fake wchar_t"
22677 #endif
22678 #ifdef HAVE_WCHAR_H
22679 # ifdef __CYGWIN__
22680 # include <stddef.h>
22681 # endif
22682 # include <wchar.h>
22683 #endif
22684 #ifdef HAVE_STDLIB_H
22685 # include <stdlib.h>
22686 #endif
22687 #include <stdio.h>
22688
22689
22690
22691 typedef wchar_t ac__type_sizeof_;
22692 int
22693 main ()
22694 {
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22696 test_array [0] = 0
22697
22698 ;
22699 return 0;
22700 }
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22719 ac_hi=-1 ac_mid=-1
22720 while :; do
22721 cat >conftest.$ac_ext <<_ACEOF
22722 /* confdefs.h. */
22723 _ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22727
22728 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22729 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22730 # error "fake wchar_t"
22731 #endif
22732 #ifdef HAVE_WCHAR_H
22733 # ifdef __CYGWIN__
22734 # include <stddef.h>
22735 # endif
22736 # include <wchar.h>
22737 #endif
22738 #ifdef HAVE_STDLIB_H
22739 # include <stdlib.h>
22740 #endif
22741 #include <stdio.h>
22742
22743
22744
22745 typedef wchar_t ac__type_sizeof_;
22746 int
22747 main ()
22748 {
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22750 test_array [0] = 0
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22761 esac
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_lo=$ac_mid; break
22774 else
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 ac_hi=`expr '(' $ac_mid ')' - 1`
22779 if test $ac_mid -le $ac_hi; then
22780 ac_lo= ac_hi=
22781 break
22782 fi
22783 ac_mid=`expr 2 '*' $ac_mid`
22784 fi
22785
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 done
22788 else
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22791
22792 ac_lo= ac_hi=
22793 fi
22794
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 fi
22797
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 # Binary search between lo and hi bounds.
22800 while test "x$ac_lo" != "x$ac_hi"; do
22801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22802 cat >conftest.$ac_ext <<_ACEOF
22803 /* confdefs.h. */
22804 _ACEOF
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22808
22809 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22810 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22811 # error "fake wchar_t"
22812 #endif
22813 #ifdef HAVE_WCHAR_H
22814 # ifdef __CYGWIN__
22815 # include <stddef.h>
22816 # endif
22817 # include <wchar.h>
22818 #endif
22819 #ifdef HAVE_STDLIB_H
22820 # include <stdlib.h>
22821 #endif
22822 #include <stdio.h>
22823
22824
22825
22826 typedef wchar_t ac__type_sizeof_;
22827 int
22828 main ()
22829 {
22830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22831 test_array [0] = 0
22832
22833 ;
22834 return 0;
22835 }
22836 _ACEOF
22837 rm -f conftest.$ac_objext
22838 if { (ac_try="$ac_compile"
22839 case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22842 esac
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_compile") 2>conftest.er1
22845 ac_status=$?
22846 grep -v '^ *+' conftest.er1 >conftest.err
22847 rm -f conftest.er1
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && {
22851 test -z "$ac_c_werror_flag" ||
22852 test ! -s conftest.err
22853 } && test -s conftest.$ac_objext; then
22854 ac_hi=$ac_mid
22855 else
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.$ac_ext >&5
22858
22859 ac_lo=`expr '(' $ac_mid ')' + 1`
22860 fi
22861
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 done
22864 case $ac_lo in
22865 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22866 '') if test "$ac_cv_type_wchar_t" = yes; then
22867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22868 See \`config.log' for more details." >&5
22869 echo "$as_me: error: cannot compute sizeof (wchar_t)
22870 See \`config.log' for more details." >&2;}
22871 { (exit 77); exit 77; }; }
22872 else
22873 ac_cv_sizeof_wchar_t=0
22874 fi ;;
22875 esac
22876 else
22877 cat >conftest.$ac_ext <<_ACEOF
22878 /* confdefs.h. */
22879 _ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22883
22884 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22885 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22886 # error "fake wchar_t"
22887 #endif
22888 #ifdef HAVE_WCHAR_H
22889 # ifdef __CYGWIN__
22890 # include <stddef.h>
22891 # endif
22892 # include <wchar.h>
22893 #endif
22894 #ifdef HAVE_STDLIB_H
22895 # include <stdlib.h>
22896 #endif
22897 #include <stdio.h>
22898
22899
22900
22901 typedef wchar_t ac__type_sizeof_;
22902 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22903 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22904 #include <stdio.h>
22905 #include <stdlib.h>
22906 int
22907 main ()
22908 {
22909
22910 FILE *f = fopen ("conftest.val", "w");
22911 if (! f)
22912 return 1;
22913 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22914 {
22915 long int i = longval ();
22916 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22917 return 1;
22918 fprintf (f, "%ld\n", i);
22919 }
22920 else
22921 {
22922 unsigned long int i = ulongval ();
22923 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22924 return 1;
22925 fprintf (f, "%lu\n", i);
22926 }
22927 return ferror (f) || fclose (f) != 0;
22928
22929 ;
22930 return 0;
22931 }
22932 _ACEOF
22933 rm -f conftest$ac_exeext
22934 if { (ac_try="$ac_link"
22935 case "(($ac_try" in
22936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22938 esac
22939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22940 (eval "$ac_link") 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22944 { (case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;;
22947 esac
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_try") 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22953 ac_cv_sizeof_wchar_t=`cat conftest.val`
22954 else
22955 echo "$as_me: program exited with status $ac_status" >&5
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22958
22959 ( exit $ac_status )
22960 if test "$ac_cv_type_wchar_t" = yes; then
22961 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22962 See \`config.log' for more details." >&5
22963 echo "$as_me: error: cannot compute sizeof (wchar_t)
22964 See \`config.log' for more details." >&2;}
22965 { (exit 77); exit 77; }; }
22966 else
22967 ac_cv_sizeof_wchar_t=0
22968 fi
22969 fi
22970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22971 fi
22972 rm -f conftest.val
22973 fi
22974 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22975 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22976
22977
22978
22979 cat >>confdefs.h <<_ACEOF
22980 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22981 _ACEOF
22982
22983
22984 if test "$ac_cv_sizeof_wchar_t" != 0; then
22985 wxUSE_WCHAR_T=yes
22986 else
22987 wxUSE_WCHAR_T=no
22988 fi
22989
22990 { echo "$as_me:$LINENO: checking for va_copy" >&5
22991 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22992 if test "${wx_cv_func_va_copy+set}" = set; then
22993 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 else
22995
22996 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001
23002 cat >conftest.$ac_ext <<_ACEOF
23003
23004 #include <stdarg.h>
23005 void foo(char *f, ...)
23006 {
23007 va_list ap1, ap2;
23008 va_start(ap1, f);
23009 va_copy(ap2, ap1);
23010 va_end(ap2);
23011 va_end(ap1);
23012 }
23013 int main()
23014 {
23015 foo("hi", 17);
23016 return 0;
23017 }
23018 _ACEOF
23019 rm -f conftest.$ac_objext conftest$ac_exeext
23020 if { (ac_try="$ac_link"
23021 case "(($ac_try" in
23022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23023 *) ac_try_echo=$ac_try;;
23024 esac
23025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23026 (eval "$ac_link") 2>conftest.er1
23027 ac_status=$?
23028 grep -v '^ *+' conftest.er1 >conftest.err
23029 rm -f conftest.er1
23030 cat conftest.err >&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } && {
23033 test -z "$ac_cxx_werror_flag" ||
23034 test ! -s conftest.err
23035 } && test -s conftest$ac_exeext &&
23036 $as_test_x conftest$ac_exeext; then
23037 wx_cv_func_va_copy=yes
23038 else
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23041
23042 wx_cv_func_va_copy=no
23043
23044 fi
23045
23046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23047 conftest$ac_exeext conftest.$ac_ext
23048 ac_ext=c
23049 ac_cpp='$CPP $CPPFLAGS'
23050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23053
23054
23055
23056 fi
23057 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23058 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23059
23060 if test $wx_cv_func_va_copy = "yes"; then
23061 cat >>confdefs.h <<\_ACEOF
23062 #define HAVE_VA_COPY 1
23063 _ACEOF
23064
23065 else
23066 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23067 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23068 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 else
23071
23072 if test "$cross_compiling" = yes; then
23073 wx_cv_type_va_list_lvalue=yes
23074
23075 else
23076 cat >conftest.$ac_ext <<_ACEOF
23077
23078 #include <stdarg.h>
23079 int foo(char *f, ...)
23080 {
23081 va_list ap1, ap2;
23082 va_start(ap1, f);
23083 ap2 = ap1;
23084 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23085 return 1;
23086 va_end(ap2);
23087 va_end(ap1);
23088 return 0;
23089 }
23090 int main()
23091 {
23092 return foo("hi", 17);
23093 }
23094 _ACEOF
23095 rm -f conftest$ac_exeext
23096 if { (ac_try="$ac_link"
23097 case "(($ac_try" in
23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23099 *) ac_try_echo=$ac_try;;
23100 esac
23101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23102 (eval "$ac_link") 2>&5
23103 ac_status=$?
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23106 { (case "(($ac_try" in
23107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23108 *) ac_try_echo=$ac_try;;
23109 esac
23110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23111 (eval "$ac_try") 2>&5
23112 ac_status=$?
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; }; then
23115 wx_cv_type_va_list_lvalue=yes
23116 else
23117 echo "$as_me: program exited with status $ac_status" >&5
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23120
23121 ( exit $ac_status )
23122 wx_cv_type_va_list_lvalue=no
23123 fi
23124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23125 fi
23126
23127
23128
23129
23130 fi
23131 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23132 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23133
23134 if test $wx_cv_type_va_list_lvalue != "yes"; then
23135 cat >>confdefs.h <<\_ACEOF
23136 #define VA_LIST_IS_ARRAY 1
23137 _ACEOF
23138
23139 fi
23140 fi
23141
23142 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23143
23144 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23145 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23146 if test "${wx_cv_have_variadic_macros+set}" = set; then
23147 echo $ECHO_N "(cached) $ECHO_C" >&6
23148 else
23149
23150 ac_ext=cpp
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162
23163 #include <stdio.h>
23164 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23165
23166 int
23167 main ()
23168 {
23169
23170 test("%s %d %p", "test", 1, 0);
23171
23172
23173 ;
23174 return 0;
23175 }
23176 _ACEOF
23177 rm -f conftest.$ac_objext
23178 if { (ac_try="$ac_compile"
23179 case "(($ac_try" in
23180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23181 *) ac_try_echo=$ac_try;;
23182 esac
23183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23184 (eval "$ac_compile") 2>conftest.er1
23185 ac_status=$?
23186 grep -v '^ *+' conftest.er1 >conftest.err
23187 rm -f conftest.er1
23188 cat conftest.err >&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && {
23191 test -z "$ac_cxx_werror_flag" ||
23192 test ! -s conftest.err
23193 } && test -s conftest.$ac_objext; then
23194 wx_cv_have_variadic_macros=yes
23195 else
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23198
23199 wx_cv_have_variadic_macros=no
23200
23201 fi
23202
23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23204 ac_ext=c
23205 ac_cpp='$CPP $CPPFLAGS'
23206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23209
23210
23211
23212 fi
23213 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23214 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23215
23216 if test $wx_cv_have_variadic_macros = "yes"; then
23217 cat >>confdefs.h <<\_ACEOF
23218 #define HAVE_VARIADIC_MACROS 1
23219 _ACEOF
23220
23221 fi
23222
23223 fi
23224 # Check whether --enable-largefile was given.
23225 if test "${enable_largefile+set}" = set; then
23226 enableval=$enable_largefile;
23227 fi
23228
23229 if test "$enable_largefile" != no; then
23230 wx_largefile=no
23231
23232 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23233 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23234 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23235 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 else
23237
23238 cat >conftest.$ac_ext <<_ACEOF
23239 /* confdefs.h. */
23240 _ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23244 #define _FILE_OFFSET_BITS 64
23245 #include <sys/types.h>
23246 int
23247 main ()
23248 {
23249 typedef struct {
23250 unsigned int field: sizeof(off_t) == 8;
23251 } wxlf;
23252
23253 ;
23254 return 0;
23255 }
23256 _ACEOF
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23262 esac
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23265 ac_status=$?
23266 grep -v '^ *+' conftest.er1 >conftest.err
23267 rm -f conftest.er1
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_cv_sys_file_offset_bits=64
23275 else
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23278
23279 ac_cv_sys_file_offset_bits=no
23280 fi
23281
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283
23284
23285 fi
23286 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23287 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23288
23289 if test "$ac_cv_sys_file_offset_bits" != no; then
23290 wx_largefile=yes
23291 cat >>confdefs.h <<_ACEOF
23292 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23293 _ACEOF
23294
23295 fi
23296
23297 if test "x$wx_largefile" != "xyes"; then
23298
23299 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23300 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23301 if test "${ac_cv_sys_large_files+set}" = set; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 else
23304
23305 cat >conftest.$ac_ext <<_ACEOF
23306 /* confdefs.h. */
23307 _ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 #define _LARGE_FILES 1
23312 #include <sys/types.h>
23313 int
23314 main ()
23315 {
23316 typedef struct {
23317 unsigned int field: sizeof(off_t) == 8;
23318 } wxlf;
23319
23320 ;
23321 return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest.$ac_objext
23325 if { (ac_try="$ac_compile"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23329 esac
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
23332 ac_status=$?
23333 grep -v '^ *+' conftest.er1 >conftest.err
23334 rm -f conftest.er1
23335 cat conftest.err >&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } && {
23338 test -z "$ac_c_werror_flag" ||
23339 test ! -s conftest.err
23340 } && test -s conftest.$ac_objext; then
23341 ac_cv_sys_large_files=1
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23345
23346 ac_cv_sys_large_files=no
23347 fi
23348
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23350
23351
23352 fi
23353 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23354 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23355
23356 if test "$ac_cv_sys_large_files" != no; then
23357 wx_largefile=yes
23358 cat >>confdefs.h <<_ACEOF
23359 #define _LARGE_FILES $ac_cv_sys_large_files
23360 _ACEOF
23361
23362 fi
23363
23364 fi
23365
23366 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23367 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23368 if test "x$wx_largefile" = "xyes"; then
23369 cat >>confdefs.h <<\_ACEOF
23370 #define HAVE_LARGEFILE_SUPPORT 1
23371 _ACEOF
23372
23373 fi
23374 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23375 echo "${ECHO_T}$wx_largefile" >&6; }
23376 fi
23377
23378
23379 if test "x$wx_largefile" = "xyes"; then
23380 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23381 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23382
23383 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23384 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23385 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23386 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 else
23389
23390 ac_ext=cpp
23391 ac_cpp='$CXXCPP $CPPFLAGS'
23392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395
23396 cat >conftest.$ac_ext <<_ACEOF
23397 /* confdefs.h. */
23398 _ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402
23403 int
23404 main ()
23405 {
23406
23407 #ifndef __STDC_EXT__
23408 choke me
23409 #endif
23410
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 rm -f conftest.$ac_objext
23416 if { (ac_try="$ac_compile"
23417 case "(($ac_try" in
23418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23419 *) ac_try_echo=$ac_try;;
23420 esac
23421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23422 (eval "$ac_compile") 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } && {
23429 test -z "$ac_cxx_werror_flag" ||
23430 test ! -s conftest.err
23431 } && test -s conftest.$ac_objext; then
23432 wx_cv_STDC_EXT_required=no
23433 else
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23436
23437 wx_cv_STDC_EXT_required=yes
23438
23439 fi
23440
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442 ac_ext=c
23443 ac_cpp='$CPP $CPPFLAGS'
23444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23447
23448
23449
23450 fi
23451 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23452 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23453 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23454 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23455 fi
23456 fi
23457 else
23458 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23459 fi
23460 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23461 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23462 if test "${ac_cv_sys_largefile_source+set}" = set; then
23463 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 else
23465 while :; do
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #include <sys/types.h> /* for off_t */
23473 #include <stdio.h>
23474 int
23475 main ()
23476 {
23477 int (*fp) (FILE *, off_t, int) = fseeko;
23478 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23479 ;
23480 return 0;
23481 }
23482 _ACEOF
23483 rm -f conftest.$ac_objext conftest$ac_exeext
23484 if { (ac_try="$ac_link"
23485 case "(($ac_try" in
23486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23487 *) ac_try_echo=$ac_try;;
23488 esac
23489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23490 (eval "$ac_link") 2>conftest.er1
23491 ac_status=$?
23492 grep -v '^ *+' conftest.er1 >conftest.err
23493 rm -f conftest.er1
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } && {
23497 test -z "$ac_c_werror_flag" ||
23498 test ! -s conftest.err
23499 } && test -s conftest$ac_exeext &&
23500 $as_test_x conftest$ac_exeext; then
23501 ac_cv_sys_largefile_source=no; break
23502 else
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23505
23506
23507 fi
23508
23509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23510 conftest$ac_exeext conftest.$ac_ext
23511 cat >conftest.$ac_ext <<_ACEOF
23512 /* confdefs.h. */
23513 _ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 #define _LARGEFILE_SOURCE 1
23518 #include <sys/types.h> /* for off_t */
23519 #include <stdio.h>
23520 int
23521 main ()
23522 {
23523 int (*fp) (FILE *, off_t, int) = fseeko;
23524 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23525 ;
23526 return 0;
23527 }
23528 _ACEOF
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (ac_try="$ac_link"
23531 case "(($ac_try" in
23532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23533 *) ac_try_echo=$ac_try;;
23534 esac
23535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23536 (eval "$ac_link") 2>conftest.er1
23537 ac_status=$?
23538 grep -v '^ *+' conftest.er1 >conftest.err
23539 rm -f conftest.er1
23540 cat conftest.err >&5
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); } && {
23543 test -z "$ac_c_werror_flag" ||
23544 test ! -s conftest.err
23545 } && test -s conftest$ac_exeext &&
23546 $as_test_x conftest$ac_exeext; then
23547 ac_cv_sys_largefile_source=1; break
23548 else
23549 echo "$as_me: failed program was:" >&5
23550 sed 's/^/| /' conftest.$ac_ext >&5
23551
23552
23553 fi
23554
23555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23556 conftest$ac_exeext conftest.$ac_ext
23557 ac_cv_sys_largefile_source=unknown
23558 break
23559 done
23560 fi
23561 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23562 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23563 case $ac_cv_sys_largefile_source in #(
23564 no | unknown) ;;
23565 *)
23566 cat >>confdefs.h <<_ACEOF
23567 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23568 _ACEOF
23569 ;;
23570 esac
23571 rm -f conftest*
23572
23573 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23574 # in glibc 2.1.3, but that breaks too many other things.
23575 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23576 if test $ac_cv_sys_largefile_source != unknown; then
23577
23578 cat >>confdefs.h <<\_ACEOF
23579 #define HAVE_FSEEKO 1
23580 _ACEOF
23581
23582 fi
23583
23584 if test "$ac_cv_sys_largefile_source" != no; then
23585 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23586 fi
23587 fi
23588
23589 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23590 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23591 if test "${ac_cv_c_bigendian+set}" = set; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594 ac_cv_c_bigendian=unknown
23595 # See if sys/param.h defines the BYTE_ORDER macro.
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h. */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #include <sys/types.h>
23603 #include <sys/param.h>
23604 int
23605 main ()
23606 {
23607
23608 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23609 bogus endian macros
23610 #endif
23611 ;
23612 return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext
23616 if { (ac_try="$ac_compile"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23620 esac
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_compile") 2>conftest.er1
23623 ac_status=$?
23624 grep -v '^ *+' conftest.er1 >conftest.err
23625 rm -f conftest.er1
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } && {
23629 test -z "$ac_c_werror_flag" ||
23630 test ! -s conftest.err
23631 } && test -s conftest.$ac_objext; then
23632 # It does; now see whether it defined to BIG_ENDIAN or not.
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #include <sys/types.h>
23640 #include <sys/param.h>
23641 int
23642 main ()
23643 {
23644
23645 #if BYTE_ORDER != BIG_ENDIAN
23646 not big endian
23647 #endif
23648 ;
23649 return 0;
23650 }
23651 _ACEOF
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23657 esac
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23660 ac_status=$?
23661 grep -v '^ *+' conftest.er1 >conftest.err
23662 rm -f conftest.er1
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_c_bigendian=yes
23670 else
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23673
23674 ac_cv_c_bigendian=no
23675 fi
23676
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23678 else
23679 echo "$as_me: failed program was:" >&5
23680 sed 's/^/| /' conftest.$ac_ext >&5
23681
23682
23683 fi
23684
23685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 if test $ac_cv_c_bigendian = unknown; then
23687 if test "$cross_compiling" = yes; then
23688 ac_cv_c_bigendian=unknown
23689 else
23690 cat >conftest.$ac_ext <<_ACEOF
23691 /* confdefs.h. */
23692 _ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 main () {
23697 /* Are we little or big endian? From Harbison&Steele. */
23698 union
23699 {
23700 long l;
23701 char c[sizeof (long)];
23702 } u;
23703 u.l = 1;
23704 exit (u.c[sizeof (long) - 1] == 1);
23705 }
23706 _ACEOF
23707 rm -f conftest$ac_exeext
23708 if { (ac_try="$ac_link"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23712 esac
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_link") 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23718 { (case "(($ac_try" in
23719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23720 *) ac_try_echo=$ac_try;;
23721 esac
23722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23723 (eval "$ac_try") 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23727 ac_cv_c_bigendian=no
23728 else
23729 echo "$as_me: program exited with status $ac_status" >&5
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23732
23733 ( exit $ac_status )
23734 ac_cv_c_bigendian=yes
23735 fi
23736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23737 fi
23738
23739
23740 fi
23741 fi
23742 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23743 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23744 if test $ac_cv_c_bigendian = unknown; then
23745 { 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
23746 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;}
23747 fi
23748 if test $ac_cv_c_bigendian = yes; then
23749 cat >>confdefs.h <<\_ACEOF
23750 #define WORDS_BIGENDIAN 1
23751 _ACEOF
23752
23753 fi
23754
23755
23756
23757
23758 ac_ext=cpp
23759 ac_cpp='$CXXCPP $CPPFLAGS'
23760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23763
23764
23765
23766 for ac_header in iostream
23767 do
23768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 else
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780
23781
23782 #include <$ac_header>
23783 _ACEOF
23784 rm -f conftest.$ac_objext
23785 if { (ac_try="$ac_compile"
23786 case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23789 esac
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_compile") 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } && {
23798 test -z "$ac_cxx_werror_flag" ||
23799 test ! -s conftest.err
23800 } && test -s conftest.$ac_objext; then
23801 eval "$as_ac_Header=yes"
23802 else
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23805
23806 eval "$as_ac_Header=no"
23807 fi
23808
23809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23810 fi
23811 ac_res=`eval echo '${'$as_ac_Header'}'`
23812 { echo "$as_me:$LINENO: result: $ac_res" >&5
23813 echo "${ECHO_T}$ac_res" >&6; }
23814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23815 cat >>confdefs.h <<_ACEOF
23816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23817 _ACEOF
23818
23819 fi
23820
23821 done
23822
23823
23824 if test "$ac_cv_header_iostream" = "yes" ; then
23825 :
23826 else
23827 cat >>confdefs.h <<\_ACEOF
23828 #define wxUSE_IOSTREAMH 1
23829 _ACEOF
23830
23831 fi
23832
23833 ac_ext=c
23834 ac_cpp='$CPP $CPPFLAGS'
23835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23838
23839
23840
23841
23842 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23843 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23844 if test "${wx_cv_cpp_bool+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847
23848
23849 ac_ext=cpp
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23854
23855
23856 cat >conftest.$ac_ext <<_ACEOF
23857 /* confdefs.h. */
23858 _ACEOF
23859 cat confdefs.h >>conftest.$ac_ext
23860 cat >>conftest.$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23862
23863
23864 int
23865 main ()
23866 {
23867
23868 bool b = true;
23869
23870 return 0;
23871
23872 ;
23873 return 0;
23874 }
23875 _ACEOF
23876 rm -f conftest.$ac_objext
23877 if { (ac_try="$ac_compile"
23878 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23881 esac
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_compile") 2>conftest.er1
23884 ac_status=$?
23885 grep -v '^ *+' conftest.er1 >conftest.err
23886 rm -f conftest.er1
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } && {
23890 test -z "$ac_cxx_werror_flag" ||
23891 test ! -s conftest.err
23892 } && test -s conftest.$ac_objext; then
23893
23894 wx_cv_cpp_bool=yes
23895
23896 else
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23899
23900
23901 wx_cv_cpp_bool=no
23902
23903
23904 fi
23905
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23907
23908 ac_ext=c
23909 ac_cpp='$CPP $CPPFLAGS'
23910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23913
23914
23915 fi
23916 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23917 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23918
23919 if test "$wx_cv_cpp_bool" = "yes"; then
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_BOOL 1
23922 _ACEOF
23923
23924 fi
23925
23926
23927
23928 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23929 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23930 if test "${wx_cv_explicit+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 else
23933
23934
23935 ac_ext=cpp
23936 ac_cpp='$CXXCPP $CPPFLAGS'
23937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23940
23941
23942 cat >conftest.$ac_ext <<_ACEOF
23943 /* confdefs.h. */
23944 _ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23948
23949 class Foo { public: explicit Foo(int) {} };
23950
23951 int
23952 main ()
23953 {
23954
23955 return 0;
23956
23957 ;
23958 return 0;
23959 }
23960 _ACEOF
23961 rm -f conftest.$ac_objext
23962 if { (ac_try="$ac_compile"
23963 case "(($ac_try" in
23964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23965 *) ac_try_echo=$ac_try;;
23966 esac
23967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23968 (eval "$ac_compile") 2>conftest.er1
23969 ac_status=$?
23970 grep -v '^ *+' conftest.er1 >conftest.err
23971 rm -f conftest.er1
23972 cat conftest.err >&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } && {
23975 test -z "$ac_cxx_werror_flag" ||
23976 test ! -s conftest.err
23977 } && test -s conftest.$ac_objext; then
23978
23979 cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h. */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h. */
23985
23986 class Foo { public: explicit Foo(int) {} };
23987 static void TakeFoo(const Foo& foo) { }
23988
23989 int
23990 main ()
23991 {
23992
23993 TakeFoo(17);
23994 return 0;
23995
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24005 esac
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24008 ac_status=$?
24009 grep -v '^ *+' conftest.er1 >conftest.err
24010 rm -f conftest.er1
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_cxx_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 wx_cv_explicit=no
24018 else
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 wx_cv_explicit=yes
24023
24024 fi
24025
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027
24028 else
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.$ac_ext >&5
24031
24032 wx_cv_explicit=no
24033
24034 fi
24035
24036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037
24038 ac_ext=c
24039 ac_cpp='$CPP $CPPFLAGS'
24040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24043
24044
24045 fi
24046 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24047 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24048
24049 if test "$wx_cv_explicit" = "yes"; then
24050 cat >>confdefs.h <<\_ACEOF
24051 #define HAVE_EXPLICIT 1
24052 _ACEOF
24053
24054 fi
24055
24056
24057 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24058 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24059 if test "${ac_cv_cxx_const_cast+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 else
24062
24063 ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24068
24069 cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075
24076 int
24077 main ()
24078 {
24079 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24080 ;
24081 return 0;
24082 }
24083 _ACEOF
24084 rm -f conftest.$ac_objext
24085 if { (ac_try="$ac_compile"
24086 case "(($ac_try" in
24087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24088 *) ac_try_echo=$ac_try;;
24089 esac
24090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24091 (eval "$ac_compile") 2>conftest.er1
24092 ac_status=$?
24093 grep -v '^ *+' conftest.er1 >conftest.err
24094 rm -f conftest.er1
24095 cat conftest.err >&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } && {
24098 test -z "$ac_cxx_werror_flag" ||
24099 test ! -s conftest.err
24100 } && test -s conftest.$ac_objext; then
24101 ac_cv_cxx_const_cast=yes
24102 else
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24105
24106 ac_cv_cxx_const_cast=no
24107 fi
24108
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115
24116
24117 fi
24118 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24119 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24120 if test "$ac_cv_cxx_const_cast" = yes; then
24121
24122 cat >>confdefs.h <<\_ACEOF
24123 #define HAVE_CONST_CAST
24124 _ACEOF
24125
24126 fi
24127
24128 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24129 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24130 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 else
24133
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24139
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <typeinfo>
24147 class Base { public : Base () {} virtual void f () = 0;};
24148 class Derived : public Base { public : Derived () {} virtual void f () {} };
24149 class Unrelated { public : Unrelated () {} };
24150 int g (Unrelated&) { return 0; }
24151 int
24152 main ()
24153 {
24154
24155 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24156 ;
24157 return 0;
24158 }
24159 _ACEOF
24160 rm -f conftest.$ac_objext
24161 if { (ac_try="$ac_compile"
24162 case "(($ac_try" in
24163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24164 *) ac_try_echo=$ac_try;;
24165 esac
24166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24167 (eval "$ac_compile") 2>conftest.er1
24168 ac_status=$?
24169 grep -v '^ *+' conftest.er1 >conftest.err
24170 rm -f conftest.er1
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } && {
24174 test -z "$ac_cxx_werror_flag" ||
24175 test ! -s conftest.err
24176 } && test -s conftest.$ac_objext; then
24177 ac_cv_cxx_reinterpret_cast=yes
24178 else
24179 echo "$as_me: failed program was:" >&5
24180 sed 's/^/| /' conftest.$ac_ext >&5
24181
24182 ac_cv_cxx_reinterpret_cast=no
24183 fi
24184
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24191
24192
24193 fi
24194 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24195 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24196 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24197
24198 cat >>confdefs.h <<\_ACEOF
24199 #define HAVE_REINTERPRET_CAST
24200 _ACEOF
24201
24202 fi
24203
24204 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24205 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24206 if test "${ac_cv_cxx_static_cast+set}" = set; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24208 else
24209
24210 ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215
24216 cat >conftest.$ac_ext <<_ACEOF
24217 /* confdefs.h. */
24218 _ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <typeinfo>
24223 class Base { public : Base () {} virtual void f () = 0; };
24224 class Derived : public Base { public : Derived () {} virtual void f () {} };
24225 int g (Derived&) { return 0; }
24226 int
24227 main ()
24228 {
24229
24230 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24231 ;
24232 return 0;
24233 }
24234 _ACEOF
24235 rm -f conftest.$ac_objext
24236 if { (ac_try="$ac_compile"
24237 case "(($ac_try" in
24238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24239 *) ac_try_echo=$ac_try;;
24240 esac
24241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24242 (eval "$ac_compile") 2>conftest.er1
24243 ac_status=$?
24244 grep -v '^ *+' conftest.er1 >conftest.err
24245 rm -f conftest.er1
24246 cat conftest.err >&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } && {
24249 test -z "$ac_cxx_werror_flag" ||
24250 test ! -s conftest.err
24251 } && test -s conftest.$ac_objext; then
24252 ac_cv_cxx_static_cast=yes
24253 else
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24256
24257 ac_cv_cxx_static_cast=no
24258 fi
24259
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266
24267
24268 fi
24269 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24270 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24271 if test "$ac_cv_cxx_static_cast" = yes; then
24272
24273 cat >>confdefs.h <<\_ACEOF
24274 #define HAVE_STATIC_CAST
24275 _ACEOF
24276
24277 fi
24278
24279
24280 if test "x$SUNCXX" = xyes; then
24281 CXXFLAGS="-features=tmplife $CXXFLAGS"
24282 fi
24283
24284 if test "x$SUNCC" = xyes; then
24285 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24286 fi
24287
24288 if test "x$SGICC" = "xyes"; then
24289 CFLAGS="-woff 3970 $CFLAGS"
24290 fi
24291 if test "x$SGICXX" = "xyes"; then
24292 CXXFLAGS="-woff 3970 $CXXFLAGS"
24293 fi
24294
24295 if test "x$HPCC" = "xyes"; then
24296 CFLAGS="+W 2011,2450 $CFLAGS"
24297 fi
24298 if test "x$HPCXX" = "xyes"; then
24299 CXXFLAGS="+W 2340 $CXXFLAGS"
24300 fi
24301
24302 if test "x$COMPAQCXX" = "xyes"; then
24303 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24304 fi
24305
24306 ac_ext=cpp
24307 ac_cpp='$CXXCPP $CPPFLAGS'
24308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24311
24312
24313 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24314 if test "$wxUSE_UNICODE" = "yes"; then
24315 std_string="std::wstring"
24316 char_type="wchar_t"
24317 else
24318 std_string="std::string"
24319 char_type="char"
24320 fi
24321
24322 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24323 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24324 if test "${wx_cv_class_stdstring+set}" = set; then
24325 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 else
24327
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 #include <string>
24335 int
24336 main ()
24337 {
24338 $std_string foo;
24339 ;
24340 return 0;
24341 }
24342 _ACEOF
24343 rm -f conftest.$ac_objext
24344 if { (ac_try="$ac_compile"
24345 case "(($ac_try" in
24346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24347 *) ac_try_echo=$ac_try;;
24348 esac
24349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24350 (eval "$ac_compile") 2>conftest.er1
24351 ac_status=$?
24352 grep -v '^ *+' conftest.er1 >conftest.err
24353 rm -f conftest.er1
24354 cat conftest.err >&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } && {
24357 test -z "$ac_cxx_werror_flag" ||
24358 test ! -s conftest.err
24359 } && test -s conftest.$ac_objext; then
24360 wx_cv_class_stdstring=yes
24361 else
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 wx_cv_class_stdstring=no
24366
24367 fi
24368
24369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24370
24371
24372 fi
24373 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24374 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24375
24376 if test "$wx_cv_class_stdstring" = yes; then
24377 if test "$wxUSE_UNICODE" = "yes"; then
24378 cat >>confdefs.h <<\_ACEOF
24379 #define HAVE_STD_WSTRING 1
24380 _ACEOF
24381
24382 fi
24383 else
24384 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24385 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24386 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24387 echo $ECHO_N "(cached) $ECHO_C" >&6
24388 else
24389
24390 cat >conftest.$ac_ext <<_ACEOF
24391 /* confdefs.h. */
24392 _ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396
24397 #ifdef HAVE_WCHAR_H
24398 # ifdef __CYGWIN__
24399 # include <stddef.h>
24400 # endif
24401 # include <wchar.h>
24402 #endif
24403 #ifdef HAVE_STDLIB_H
24404 # include <stdlib.h>
24405 #endif
24406 #include <stdio.h>
24407 #include <string>
24408
24409 int
24410 main ()
24411 {
24412 std::basic_string<$char_type> foo;
24413 const $char_type* dummy = foo.c_str();
24414 ;
24415 return 0;
24416 }
24417 _ACEOF
24418 rm -f conftest.$ac_objext
24419 if { (ac_try="$ac_compile"
24420 case "(($ac_try" in
24421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24422 *) ac_try_echo=$ac_try;;
24423 esac
24424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24425 (eval "$ac_compile") 2>conftest.er1
24426 ac_status=$?
24427 grep -v '^ *+' conftest.er1 >conftest.err
24428 rm -f conftest.er1
24429 cat conftest.err >&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } && {
24432 test -z "$ac_cxx_werror_flag" ||
24433 test ! -s conftest.err
24434 } && test -s conftest.$ac_objext; then
24435 wx_cv_class_stdbasicstring=yes
24436 else
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24439
24440 wx_cv_class_stdbasicstring=no
24441
24442 fi
24443
24444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24445
24446
24447 fi
24448 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24449 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24450
24451 if test "$wx_cv_class_stdbasicstring" != yes; then
24452 if test "$wxUSE_STL" = "yes"; then
24453 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24454 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24455 { (exit 1); exit 1; }; }
24456 elif test "$wxUSE_STD_STRING" = "yes"; then
24457 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24458 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24459 { (exit 1); exit 1; }; }
24460 else
24461 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24462 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24463 wxUSE_STD_STRING=no
24464 fi
24465 fi
24466 fi
24467 fi
24468
24469 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24470 { echo "$as_me:$LINENO: checking for std::istream" >&5
24471 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24472 if test "${ac_cv_type_std__istream+set}" = set; then
24473 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 else
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h. */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481 #include <iostream>
24482
24483 typedef std::istream ac__type_new_;
24484 int
24485 main ()
24486 {
24487 if ((ac__type_new_ *) 0)
24488 return 0;
24489 if (sizeof (ac__type_new_))
24490 return 0;
24491 ;
24492 return 0;
24493 }
24494 _ACEOF
24495 rm -f conftest.$ac_objext
24496 if { (ac_try="$ac_compile"
24497 case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24500 esac
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_compile") 2>conftest.er1
24503 ac_status=$?
24504 grep -v '^ *+' conftest.er1 >conftest.err
24505 rm -f conftest.er1
24506 cat conftest.err >&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } && {
24509 test -z "$ac_cxx_werror_flag" ||
24510 test ! -s conftest.err
24511 } && test -s conftest.$ac_objext; then
24512 ac_cv_type_std__istream=yes
24513 else
24514 echo "$as_me: failed program was:" >&5
24515 sed 's/^/| /' conftest.$ac_ext >&5
24516
24517 ac_cv_type_std__istream=no
24518 fi
24519
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24521 fi
24522 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24523 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24524 if test $ac_cv_type_std__istream = yes; then
24525
24526 cat >>confdefs.h <<_ACEOF
24527 #define HAVE_STD__ISTREAM 1
24528 _ACEOF
24529
24530
24531 else
24532 wxUSE_STD_IOSTREAM=no
24533 fi
24534 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24535 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24536 if test "${ac_cv_type_std__ostream+set}" = set; then
24537 echo $ECHO_N "(cached) $ECHO_C" >&6
24538 else
24539 cat >conftest.$ac_ext <<_ACEOF
24540 /* confdefs.h. */
24541 _ACEOF
24542 cat confdefs.h >>conftest.$ac_ext
24543 cat >>conftest.$ac_ext <<_ACEOF
24544 /* end confdefs.h. */
24545 #include <iostream>
24546
24547 typedef std::ostream ac__type_new_;
24548 int
24549 main ()
24550 {
24551 if ((ac__type_new_ *) 0)
24552 return 0;
24553 if (sizeof (ac__type_new_))
24554 return 0;
24555 ;
24556 return 0;
24557 }
24558 _ACEOF
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24564 esac
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24567 ac_status=$?
24568 grep -v '^ *+' conftest.er1 >conftest.err
24569 rm -f conftest.er1
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_type_std__ostream=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24580
24581 ac_cv_type_std__ostream=no
24582 fi
24583
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24585 fi
24586 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24587 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24588 if test $ac_cv_type_std__ostream = yes; then
24589
24590 cat >>confdefs.h <<_ACEOF
24591 #define HAVE_STD__OSTREAM 1
24592 _ACEOF
24593
24594
24595 else
24596 wxUSE_STD_IOSTREAM=no
24597 fi
24598
24599
24600 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24601 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24602 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24603 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24604 { (exit 1); exit 1; }; }
24605 else
24606 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24607 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24608 fi
24609 fi
24610 fi
24611
24612 if test "$wxUSE_STL" = "yes"; then
24613 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24614 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24615 if test "${wx_cv_lib_stl+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 else
24618 cat >conftest.$ac_ext <<_ACEOF
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <string>
24625 #include <functional>
24626 #include <algorithm>
24627 #include <vector>
24628 #include <list>
24629 int
24630 main ()
24631 {
24632 std::vector<int> moo;
24633 std::list<int> foo;
24634 std::vector<int>::iterator it =
24635 std::find_if(moo.begin(), moo.end(),
24636 std::bind2nd(std::less<int>(), 3));
24637 ;
24638 return 0;
24639 }
24640 _ACEOF
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24646 esac
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 wx_cv_lib_stl=yes
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 wx_cv_lib_stl=no
24664
24665 fi
24666
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668
24669 fi
24670 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24671 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24672
24673 if test "$wx_cv_lib_stl" != yes; then
24674 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24675 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24676 { (exit 1); exit 1; }; }
24677 fi
24678
24679 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24680 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24681 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24683 else
24684 cat >conftest.$ac_ext <<_ACEOF
24685 /* confdefs.h. */
24686 _ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 #include <string>
24691 int
24692 main ()
24693 {
24694 std::string foo, bar;
24695 foo.compare(bar);
24696 foo.compare(1, 1, bar);
24697 foo.compare(1, 1, bar, 1, 1);
24698 foo.compare("");
24699 foo.compare(1, 1, "");
24700 foo.compare(1, 1, "", 2);
24701 ;
24702 return 0;
24703 }
24704 _ACEOF
24705 rm -f conftest.$ac_objext
24706 if { (ac_try="$ac_compile"
24707 case "(($ac_try" in
24708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709 *) ac_try_echo=$ac_try;;
24710 esac
24711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24712 (eval "$ac_compile") 2>conftest.er1
24713 ac_status=$?
24714 grep -v '^ *+' conftest.er1 >conftest.err
24715 rm -f conftest.er1
24716 cat conftest.err >&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } && {
24719 test -z "$ac_cxx_werror_flag" ||
24720 test ! -s conftest.err
24721 } && test -s conftest.$ac_objext; then
24722 wx_cv_func_stdstring_compare=yes
24723 else
24724 echo "$as_me: failed program was:" >&5
24725 sed 's/^/| /' conftest.$ac_ext >&5
24726
24727 wx_cv_func_stdstring_compare=no
24728
24729 fi
24730
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732
24733 fi
24734 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24735 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24736
24737 if test "$wx_cv_func_stdstring_compare" = yes; then
24738 cat >>confdefs.h <<\_ACEOF
24739 #define HAVE_STD_STRING_COMPARE 1
24740 _ACEOF
24741
24742 fi
24743
24744 { echo "$as_me:$LINENO: checking for hash_map" >&5
24745 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24746 if test "${ac_cv_header_hash_map+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 else
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755
24756
24757
24758 #include <hash_map>
24759 _ACEOF
24760 rm -f conftest.$ac_objext
24761 if { (ac_try="$ac_compile"
24762 case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24765 esac
24766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 (eval "$ac_compile") 2>conftest.er1
24768 ac_status=$?
24769 grep -v '^ *+' conftest.er1 >conftest.err
24770 rm -f conftest.er1
24771 cat conftest.err >&5
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); } && {
24774 test -z "$ac_cxx_werror_flag" ||
24775 test ! -s conftest.err
24776 } && test -s conftest.$ac_objext; then
24777 ac_cv_header_hash_map=yes
24778 else
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24781
24782 ac_cv_header_hash_map=no
24783 fi
24784
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 fi
24787 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24788 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24789 if test $ac_cv_header_hash_map = yes; then
24790 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24791 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24792 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24794 else
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 #include <hash_map>
24802 #include <hash_set>
24803 int
24804 main ()
24805 {
24806 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24807 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24808 ;
24809 return 0;
24810 }
24811 _ACEOF
24812 rm -f conftest.$ac_objext
24813 if { (ac_try="$ac_compile"
24814 case "(($ac_try" in
24815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 *) ac_try_echo=$ac_try;;
24817 esac
24818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 (eval "$ac_compile") 2>conftest.er1
24820 ac_status=$?
24821 grep -v '^ *+' conftest.er1 >conftest.err
24822 rm -f conftest.er1
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } && {
24826 test -z "$ac_cxx_werror_flag" ||
24827 test ! -s conftest.err
24828 } && test -s conftest.$ac_objext; then
24829 wx_cv_class_stdhashmapset=yes
24830 else
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24833
24834 wx_cv_class_stdhashmapset=no
24835 fi
24836
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838
24839
24840 fi
24841 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24842 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24843 fi
24844
24845
24846
24847 if test "$wx_cv_class_stdhashmapset" = yes; then
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_HASH_MAP 1
24850 _ACEOF
24851
24852 cat >>confdefs.h <<\_ACEOF
24853 #define HAVE_STD_HASH_MAP 1
24854 _ACEOF
24855
24856 fi
24857
24858 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24859 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24860 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 else
24863 cat >conftest.$ac_ext <<_ACEOF
24864 /* confdefs.h. */
24865 _ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h. */
24869
24870
24871
24872 #include <ext/hash_map>
24873 _ACEOF
24874 rm -f conftest.$ac_objext
24875 if { (ac_try="$ac_compile"
24876 case "(($ac_try" in
24877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24878 *) ac_try_echo=$ac_try;;
24879 esac
24880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24881 (eval "$ac_compile") 2>conftest.er1
24882 ac_status=$?
24883 grep -v '^ *+' conftest.er1 >conftest.err
24884 rm -f conftest.er1
24885 cat conftest.err >&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } && {
24888 test -z "$ac_cxx_werror_flag" ||
24889 test ! -s conftest.err
24890 } && test -s conftest.$ac_objext; then
24891 ac_cv_header_ext_hash_map=yes
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 ac_cv_header_ext_hash_map=no
24897 fi
24898
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 fi
24901 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24902 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24903 if test $ac_cv_header_ext_hash_map = yes; then
24904 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24905 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24906 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 else
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 #include <ext/hash_map>
24916 #include <ext/hash_set>
24917 int
24918 main ()
24919 {
24920 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24921 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24922 ;
24923 return 0;
24924 }
24925 _ACEOF
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24931 esac
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24934 ac_status=$?
24935 grep -v '^ *+' conftest.er1 >conftest.err
24936 rm -f conftest.er1
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_cxx_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24943 wx_cv_class_gnuhashmapset=yes
24944 else
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24947
24948 wx_cv_class_gnuhashmapset=no
24949 fi
24950
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952
24953
24954 fi
24955 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24956 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24957 fi
24958
24959
24960
24961 if test "$wx_cv_class_gnuhashmapset" = yes; then
24962 cat >>confdefs.h <<\_ACEOF
24963 #define HAVE_EXT_HASH_MAP 1
24964 _ACEOF
24965
24966 cat >>confdefs.h <<\_ACEOF
24967 #define HAVE_GNU_CXX_HASH_MAP 1
24968 _ACEOF
24969
24970 fi
24971 fi
24972
24973
24974
24975 if test -n "$GCC"; then
24976 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24977 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24978 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24979 echo $ECHO_N "(cached) $ECHO_C" >&6
24980 else
24981
24982 cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h. */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24988
24989 int
24990 main ()
24991 {
24992
24993 unsigned int value=0;
24994 /* wxAtomicInc doesn't use return value here */
24995 __sync_fetch_and_add(&value, 2);
24996 __sync_sub_and_fetch(&value, 1);
24997 /* but wxAtomicDec does, so mimic that: */
24998 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24999
25000 ;
25001 return 0;
25002 }
25003 _ACEOF
25004 rm -f conftest.$ac_objext conftest$ac_exeext
25005 if { (ac_try="$ac_link"
25006 case "(($ac_try" in
25007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25008 *) ac_try_echo=$ac_try;;
25009 esac
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_link") 2>conftest.er1
25012 ac_status=$?
25013 grep -v '^ *+' conftest.er1 >conftest.err
25014 rm -f conftest.er1
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } && {
25018 test -z "$ac_cxx_werror_flag" ||
25019 test ! -s conftest.err
25020 } && test -s conftest$ac_exeext &&
25021 $as_test_x conftest$ac_exeext; then
25022 wx_cv_cc_gcc_atomic_builtins=yes
25023 else
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25026
25027 wx_cv_cc_gcc_atomic_builtins=no
25028 fi
25029
25030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25031 conftest$ac_exeext conftest.$ac_ext
25032
25033 fi
25034
25035 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25036 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25037 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_GCC_ATOMIC_BUILTINS 1
25040 _ACEOF
25041
25042 fi
25043 fi
25044
25045
25046 ac_ext=c
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051
25052
25053
25054 SEARCH_INCLUDE="\
25055 /usr/local/include \
25056 \
25057 /usr/Motif-2.1/include \
25058 /usr/Motif-1.2/include \
25059 /usr/include/Motif1.2 \
25060 \
25061 /usr/dt/include \
25062 /usr/openwin/include \
25063 \
25064 /usr/include/Xm \
25065 \
25066 /usr/X11R6/include \
25067 /usr/X11R6.4/include \
25068 /usr/X11R5/include \
25069 /usr/X11R4/include \
25070 \
25071 /usr/include/X11R6 \
25072 /usr/include/X11R5 \
25073 /usr/include/X11R4 \
25074 \
25075 /usr/local/X11R6/include \
25076 /usr/local/X11R5/include \
25077 /usr/local/X11R4/include \
25078 \
25079 /usr/local/include/X11R6 \
25080 /usr/local/include/X11R5 \
25081 /usr/local/include/X11R4 \
25082 \
25083 /usr/X11/include \
25084 /usr/include/X11 \
25085 /usr/local/X11/include \
25086 /usr/local/include/X11 \
25087 \
25088 /usr/XFree86/include/X11 \
25089 /usr/pkg/include \
25090 \
25091 /usr/openwin/share/include"
25092
25093 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25094 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25095
25096 case "${host}" in
25097 *-*-irix6* )
25098 if test "${wx_cv_std_libpath+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101
25102 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25103 for e in a so sl dylib dll.a; do
25104 libc="$d/libc.$e"
25105 if test -f $libc; then
25106 save_LIBS="$LIBS"
25107 LIBS="$libc"
25108 cat >conftest.$ac_ext <<_ACEOF
25109 int main() { return 0; }
25110 _ACEOF
25111 rm -f conftest.$ac_objext conftest$ac_exeext
25112 if { (ac_try="$ac_link"
25113 case "(($ac_try" in
25114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25115 *) ac_try_echo=$ac_try;;
25116 esac
25117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25118 (eval "$ac_link") 2>conftest.er1
25119 ac_status=$?
25120 grep -v '^ *+' conftest.er1 >conftest.err
25121 rm -f conftest.er1
25122 cat conftest.err >&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && {
25125 test -z "$ac_c_werror_flag" ||
25126 test ! -s conftest.err
25127 } && test -s conftest$ac_exeext &&
25128 $as_test_x conftest$ac_exeext; then
25129 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25130 else
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25133
25134
25135 fi
25136
25137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25138 conftest$ac_exeext conftest.$ac_ext
25139 LIBS="$save_LIBS"
25140 if test "x$wx_cv_std_libpath" != "x"; then
25141 break 2
25142 fi
25143 fi
25144 done
25145 done
25146 if test "x$wx_cv_std_libpath" = "x"; then
25147 wx_cv_std_libpath="lib"
25148 fi
25149
25150
25151 fi
25152
25153 ;;
25154
25155 *-*-solaris2* )
25156 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25157 wx_cv_std_libpath="lib/64"
25158 else
25159 wx_cv_std_libpath="lib"
25160 fi
25161 ;;
25162
25163 *-*-linux* )
25164 if test "$ac_cv_sizeof_void_p" = 8 -a \
25165 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25166 wx_cv_std_libpath="lib64"
25167 else
25168 wx_cv_std_libpath="lib"
25169 fi
25170 ;;
25171
25172 *)
25173 wx_cv_std_libpath="lib";
25174 ;;
25175 esac
25176
25177 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25178 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25179
25180 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25181
25182 if test "$build" != "$host" -a "$GCC" = yes; then
25183 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25184 cross_root=`dirname $cross_root`
25185 cross_root=`dirname $cross_root`
25186
25187 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25188 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25189 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25190
25191 if test -z "$PKG_CONFIG_PATH"; then
25192 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25193 export PKG_CONFIG_PATH
25194 fi
25195
25196 if test -z "$x_includes" -o "$x_includes" = NONE; then
25197
25198 ac_find_includes=
25199 for ac_dir in $SEARCH_INCLUDE /usr/include;
25200 do
25201 if test -f "$ac_dir/X11/Intrinsic.h"; then
25202 ac_find_includes=$ac_dir
25203 break
25204 fi
25205 done
25206
25207 x_includes=$ac_find_includes
25208 fi
25209 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25210
25211 ac_find_libraries=
25212 for ac_dir in $SEARCH_LIB;
25213 do
25214 for ac_extension in a so sl dylib dll.a; do
25215 if test -f "$ac_dir/libXt.$ac_extension"; then
25216 ac_find_libraries=$ac_dir
25217 break 2
25218 fi
25219 done
25220 done
25221
25222 x_libraries=$ac_find_libraries
25223 fi
25224 fi
25225 fi
25226
25227
25228 cat >confcache <<\_ACEOF
25229 # This file is a shell script that caches the results of configure
25230 # tests run on this system so they can be shared between configure
25231 # scripts and configure runs, see configure's option --config-cache.
25232 # It is not useful on other systems. If it contains results you don't
25233 # want to keep, you may remove or edit it.
25234 #
25235 # config.status only pays attention to the cache file if you give it
25236 # the --recheck option to rerun configure.
25237 #
25238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25240 # following values.
25241
25242 _ACEOF
25243
25244 # The following way of writing the cache mishandles newlines in values,
25245 # but we know of no workaround that is simple, portable, and efficient.
25246 # So, we kill variables containing newlines.
25247 # Ultrix sh set writes to stderr and can't be redirected directly,
25248 # and sets the high bit in the cache file unless we assign to the vars.
25249 (
25250 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25251 eval ac_val=\$$ac_var
25252 case $ac_val in #(
25253 *${as_nl}*)
25254 case $ac_var in #(
25255 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25256 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25257 esac
25258 case $ac_var in #(
25259 _ | IFS | as_nl) ;; #(
25260 *) $as_unset $ac_var ;;
25261 esac ;;
25262 esac
25263 done
25264
25265 (set) 2>&1 |
25266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25267 *${as_nl}ac_space=\ *)
25268 # `set' does not quote correctly, so add quotes (double-quote
25269 # substitution turns \\\\ into \\, and sed turns \\ into \).
25270 sed -n \
25271 "s/'/'\\\\''/g;
25272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25273 ;; #(
25274 *)
25275 # `set' quotes correctly as required by POSIX, so do not add quotes.
25276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25277 ;;
25278 esac |
25279 sort
25280 ) |
25281 sed '
25282 /^ac_cv_env_/b end
25283 t clear
25284 :clear
25285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25286 t end
25287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25288 :end' >>confcache
25289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25290 if test -w "$cache_file"; then
25291 test "x$cache_file" != "x/dev/null" &&
25292 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25293 echo "$as_me: updating cache $cache_file" >&6;}
25294 cat confcache >$cache_file
25295 else
25296 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25297 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25298 fi
25299 fi
25300 rm -f confcache
25301
25302 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25303 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25304 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25305 if test "${wx_cv_lib_glibc21+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25307 else
25308
25309 cat >conftest.$ac_ext <<_ACEOF
25310 /* confdefs.h. */
25311 _ACEOF
25312 cat confdefs.h >>conftest.$ac_ext
25313 cat >>conftest.$ac_ext <<_ACEOF
25314 /* end confdefs.h. */
25315 #include <features.h>
25316 int
25317 main ()
25318 {
25319
25320 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25321 not glibc 2.1
25322 #endif
25323
25324 ;
25325 return 0;
25326 }
25327 _ACEOF
25328 rm -f conftest.$ac_objext
25329 if { (ac_try="$ac_compile"
25330 case "(($ac_try" in
25331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25332 *) ac_try_echo=$ac_try;;
25333 esac
25334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25335 (eval "$ac_compile") 2>conftest.er1
25336 ac_status=$?
25337 grep -v '^ *+' conftest.er1 >conftest.err
25338 rm -f conftest.er1
25339 cat conftest.err >&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } && {
25342 test -z "$ac_c_werror_flag" ||
25343 test ! -s conftest.err
25344 } && test -s conftest.$ac_objext; then
25345
25346 wx_cv_lib_glibc21=yes
25347
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352
25353 wx_cv_lib_glibc21=no
25354
25355
25356 fi
25357
25358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25359
25360 fi
25361 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25362 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25363 if test "$wx_cv_lib_glibc21" = "yes"; then
25364 cat >>confdefs.h <<\_ACEOF
25365 #define wxHAVE_GLIBC2 1
25366 _ACEOF
25367
25368 fi
25369 fi
25370
25371 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25372 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25373 cat >>confdefs.h <<\_ACEOF
25374 #define _GNU_SOURCE 1
25375 _ACEOF
25376
25377 fi
25378 fi
25379
25380 have_cos=0
25381 have_floor=0
25382
25383 for ac_func in cos
25384 do
25385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 else
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25399 #define $ac_func innocuous_$ac_func
25400
25401 /* System header to define __stub macros and hopefully few prototypes,
25402 which can conflict with char $ac_func (); below.
25403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25404 <limits.h> exists even on freestanding compilers. */
25405
25406 #ifdef __STDC__
25407 # include <limits.h>
25408 #else
25409 # include <assert.h>
25410 #endif
25411
25412 #undef $ac_func
25413
25414 /* Override any GCC internal prototype to avoid an error.
25415 Use char because int might match the return type of a GCC
25416 builtin and then its argument prototype would still apply. */
25417 #ifdef __cplusplus
25418 extern "C"
25419 #endif
25420 char $ac_func ();
25421 /* The GNU C library defines this for functions which it implements
25422 to always fail with ENOSYS. Some functions are actually named
25423 something starting with __ and the normal name is an alias. */
25424 #if defined __stub_$ac_func || defined __stub___$ac_func
25425 choke me
25426 #endif
25427
25428 int
25429 main ()
25430 {
25431 return $ac_func ();
25432 ;
25433 return 0;
25434 }
25435 _ACEOF
25436 rm -f conftest.$ac_objext conftest$ac_exeext
25437 if { (ac_try="$ac_link"
25438 case "(($ac_try" in
25439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25440 *) ac_try_echo=$ac_try;;
25441 esac
25442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25443 (eval "$ac_link") 2>conftest.er1
25444 ac_status=$?
25445 grep -v '^ *+' conftest.er1 >conftest.err
25446 rm -f conftest.er1
25447 cat conftest.err >&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } && {
25450 test -z "$ac_c_werror_flag" ||
25451 test ! -s conftest.err
25452 } && test -s conftest$ac_exeext &&
25453 $as_test_x conftest$ac_exeext; then
25454 eval "$as_ac_var=yes"
25455 else
25456 echo "$as_me: failed program was:" >&5
25457 sed 's/^/| /' conftest.$ac_ext >&5
25458
25459 eval "$as_ac_var=no"
25460 fi
25461
25462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25463 conftest$ac_exeext conftest.$ac_ext
25464 fi
25465 ac_res=`eval echo '${'$as_ac_var'}'`
25466 { echo "$as_me:$LINENO: result: $ac_res" >&5
25467 echo "${ECHO_T}$ac_res" >&6; }
25468 if test `eval echo '${'$as_ac_var'}'` = yes; then
25469 cat >>confdefs.h <<_ACEOF
25470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471 _ACEOF
25472 have_cos=1
25473 fi
25474 done
25475
25476
25477 for ac_func in floor
25478 do
25479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25484 else
25485 cat >conftest.$ac_ext <<_ACEOF
25486 /* confdefs.h. */
25487 _ACEOF
25488 cat confdefs.h >>conftest.$ac_ext
25489 cat >>conftest.$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25493 #define $ac_func innocuous_$ac_func
25494
25495 /* System header to define __stub macros and hopefully few prototypes,
25496 which can conflict with char $ac_func (); below.
25497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25498 <limits.h> exists even on freestanding compilers. */
25499
25500 #ifdef __STDC__
25501 # include <limits.h>
25502 #else
25503 # include <assert.h>
25504 #endif
25505
25506 #undef $ac_func
25507
25508 /* Override any GCC internal prototype to avoid an error.
25509 Use char because int might match the return type of a GCC
25510 builtin and then its argument prototype would still apply. */
25511 #ifdef __cplusplus
25512 extern "C"
25513 #endif
25514 char $ac_func ();
25515 /* The GNU C library defines this for functions which it implements
25516 to always fail with ENOSYS. Some functions are actually named
25517 something starting with __ and the normal name is an alias. */
25518 #if defined __stub_$ac_func || defined __stub___$ac_func
25519 choke me
25520 #endif
25521
25522 int
25523 main ()
25524 {
25525 return $ac_func ();
25526 ;
25527 return 0;
25528 }
25529 _ACEOF
25530 rm -f conftest.$ac_objext conftest$ac_exeext
25531 if { (ac_try="$ac_link"
25532 case "(($ac_try" in
25533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25534 *) ac_try_echo=$ac_try;;
25535 esac
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_link") 2>conftest.er1
25538 ac_status=$?
25539 grep -v '^ *+' conftest.er1 >conftest.err
25540 rm -f conftest.er1
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_c_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest$ac_exeext &&
25547 $as_test_x conftest$ac_exeext; then
25548 eval "$as_ac_var=yes"
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 eval "$as_ac_var=no"
25554 fi
25555
25556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25557 conftest$ac_exeext conftest.$ac_ext
25558 fi
25559 ac_res=`eval echo '${'$as_ac_var'}'`
25560 { echo "$as_me:$LINENO: result: $ac_res" >&5
25561 echo "${ECHO_T}$ac_res" >&6; }
25562 if test `eval echo '${'$as_ac_var'}'` = yes; then
25563 cat >>confdefs.h <<_ACEOF
25564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25565 _ACEOF
25566 have_floor=1
25567 fi
25568 done
25569
25570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25573 { echo "$as_me:$LINENO: result: yes" >&5
25574 echo "${ECHO_T}yes" >&6; }
25575 else
25576 { echo "$as_me:$LINENO: result: no" >&5
25577 echo "${ECHO_T}no" >&6; }
25578 LIBS="$LIBS -lm"
25579 # use different functions to avoid configure caching
25580 have_sin=0
25581 have_ceil=0
25582
25583 for ac_func in sin
25584 do
25585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 cat >conftest.$ac_ext <<_ACEOF
25592 /* confdefs.h. */
25593 _ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25599 #define $ac_func innocuous_$ac_func
25600
25601 /* System header to define __stub macros and hopefully few prototypes,
25602 which can conflict with char $ac_func (); below.
25603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25604 <limits.h> exists even on freestanding compilers. */
25605
25606 #ifdef __STDC__
25607 # include <limits.h>
25608 #else
25609 # include <assert.h>
25610 #endif
25611
25612 #undef $ac_func
25613
25614 /* Override any GCC internal prototype to avoid an error.
25615 Use char because int might match the return type of a GCC
25616 builtin and then its argument prototype would still apply. */
25617 #ifdef __cplusplus
25618 extern "C"
25619 #endif
25620 char $ac_func ();
25621 /* The GNU C library defines this for functions which it implements
25622 to always fail with ENOSYS. Some functions are actually named
25623 something starting with __ and the normal name is an alias. */
25624 #if defined __stub_$ac_func || defined __stub___$ac_func
25625 choke me
25626 #endif
25627
25628 int
25629 main ()
25630 {
25631 return $ac_func ();
25632 ;
25633 return 0;
25634 }
25635 _ACEOF
25636 rm -f conftest.$ac_objext conftest$ac_exeext
25637 if { (ac_try="$ac_link"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25641 esac
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_link") 2>conftest.er1
25644 ac_status=$?
25645 grep -v '^ *+' conftest.er1 >conftest.err
25646 rm -f conftest.er1
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_c_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest$ac_exeext &&
25653 $as_test_x conftest$ac_exeext; then
25654 eval "$as_ac_var=yes"
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 eval "$as_ac_var=no"
25660 fi
25661
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25664 fi
25665 ac_res=`eval echo '${'$as_ac_var'}'`
25666 { echo "$as_me:$LINENO: result: $ac_res" >&5
25667 echo "${ECHO_T}$ac_res" >&6; }
25668 if test `eval echo '${'$as_ac_var'}'` = yes; then
25669 cat >>confdefs.h <<_ACEOF
25670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25671 _ACEOF
25672 have_sin=1
25673 fi
25674 done
25675
25676
25677 for ac_func in ceil
25678 do
25679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25684 else
25685 cat >conftest.$ac_ext <<_ACEOF
25686 /* confdefs.h. */
25687 _ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25693 #define $ac_func innocuous_$ac_func
25694
25695 /* System header to define __stub macros and hopefully few prototypes,
25696 which can conflict with char $ac_func (); below.
25697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25698 <limits.h> exists even on freestanding compilers. */
25699
25700 #ifdef __STDC__
25701 # include <limits.h>
25702 #else
25703 # include <assert.h>
25704 #endif
25705
25706 #undef $ac_func
25707
25708 /* Override any GCC internal prototype to avoid an error.
25709 Use char because int might match the return type of a GCC
25710 builtin and then its argument prototype would still apply. */
25711 #ifdef __cplusplus
25712 extern "C"
25713 #endif
25714 char $ac_func ();
25715 /* The GNU C library defines this for functions which it implements
25716 to always fail with ENOSYS. Some functions are actually named
25717 something starting with __ and the normal name is an alias. */
25718 #if defined __stub_$ac_func || defined __stub___$ac_func
25719 choke me
25720 #endif
25721
25722 int
25723 main ()
25724 {
25725 return $ac_func ();
25726 ;
25727 return 0;
25728 }
25729 _ACEOF
25730 rm -f conftest.$ac_objext conftest$ac_exeext
25731 if { (ac_try="$ac_link"
25732 case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25734 *) ac_try_echo=$ac_try;;
25735 esac
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_link") 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && {
25744 test -z "$ac_c_werror_flag" ||
25745 test ! -s conftest.err
25746 } && test -s conftest$ac_exeext &&
25747 $as_test_x conftest$ac_exeext; then
25748 eval "$as_ac_var=yes"
25749 else
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25752
25753 eval "$as_ac_var=no"
25754 fi
25755
25756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25757 conftest$ac_exeext conftest.$ac_ext
25758 fi
25759 ac_res=`eval echo '${'$as_ac_var'}'`
25760 { echo "$as_me:$LINENO: result: $ac_res" >&5
25761 echo "${ECHO_T}$ac_res" >&6; }
25762 if test `eval echo '${'$as_ac_var'}'` = yes; then
25763 cat >>confdefs.h <<_ACEOF
25764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25765 _ACEOF
25766 have_ceil=1
25767 fi
25768 done
25769
25770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25773 { echo "$as_me:$LINENO: result: yes" >&5
25774 echo "${ECHO_T}yes" >&6; }
25775 else
25776 { echo "$as_me:$LINENO: result: no" >&5
25777 echo "${ECHO_T}no" >&6; }
25778 # not sure we should warn the user, crash, etc.
25779 fi
25780 fi
25781
25782 ac_ext=cpp
25783 ac_cpp='$CXXCPP $CPPFLAGS'
25784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25787
25788 if test "wxUSE_UNICODE" = "yes"; then
25789
25790 for wx_func in wcstoull
25791 do
25792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797
25798 cat >conftest.$ac_ext <<_ACEOF
25799
25800 /* confdefs.h. */
25801 _ACEOF
25802 cat confdefs.h >>conftest.$ac_ext
25803 cat >>conftest.$ac_ext <<_ACEOF
25804 /* end confdefs.h. */
25805
25806
25807 $ac_includes_default
25808
25809 int
25810 main ()
25811 {
25812
25813 #ifndef $wx_func
25814 &$wx_func;
25815 #endif
25816
25817
25818 ;
25819 return 0;
25820 }
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_cxx_werror_flag" ||
25838 test ! -s conftest.err
25839 } && test -s conftest$ac_exeext &&
25840 $as_test_x conftest$ac_exeext; then
25841 eval wx_cv_func_$wx_func=yes
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 eval wx_cv_func_$wx_func=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
25852 fi
25853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25854 { echo "$as_me:$LINENO: result: $ac_res" >&5
25855 echo "${ECHO_T}$ac_res" >&6; }
25856
25857 if eval test \$wx_cv_func_$wx_func = yes
25858 then
25859 cat >>confdefs.h <<_ACEOF
25860 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25861 _ACEOF
25862
25863
25864 else
25865 :
25866
25867 fi
25868 done
25869
25870 else
25871
25872 for wx_func in strtoull
25873 do
25874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879
25880 cat >conftest.$ac_ext <<_ACEOF
25881
25882 /* confdefs.h. */
25883 _ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887
25888
25889 $ac_includes_default
25890
25891 int
25892 main ()
25893 {
25894
25895 #ifndef $wx_func
25896 &$wx_func;
25897 #endif
25898
25899
25900 ;
25901 return 0;
25902 }
25903
25904 _ACEOF
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (ac_try="$ac_link"
25907 case "(($ac_try" in
25908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25909 *) ac_try_echo=$ac_try;;
25910 esac
25911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25912 (eval "$ac_link") 2>conftest.er1
25913 ac_status=$?
25914 grep -v '^ *+' conftest.er1 >conftest.err
25915 rm -f conftest.er1
25916 cat conftest.err >&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } && {
25919 test -z "$ac_cxx_werror_flag" ||
25920 test ! -s conftest.err
25921 } && test -s conftest$ac_exeext &&
25922 $as_test_x conftest$ac_exeext; then
25923 eval wx_cv_func_$wx_func=yes
25924 else
25925 echo "$as_me: failed program was:" >&5
25926 sed 's/^/| /' conftest.$ac_ext >&5
25927
25928 eval wx_cv_func_$wx_func=no
25929 fi
25930
25931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25932 conftest$ac_exeext conftest.$ac_ext
25933
25934 fi
25935 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25936 { echo "$as_me:$LINENO: result: $ac_res" >&5
25937 echo "${ECHO_T}$ac_res" >&6; }
25938
25939 if eval test \$wx_cv_func_$wx_func = yes
25940 then
25941 cat >>confdefs.h <<_ACEOF
25942 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25943 _ACEOF
25944
25945
25946 else
25947 :
25948
25949 fi
25950 done
25951
25952 fi
25953 ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25958
25959
25960
25961
25962 if test "$wxUSE_REGEX" != "no"; then
25963 cat >>confdefs.h <<\_ACEOF
25964 #define wxUSE_REGEX 1
25965 _ACEOF
25966
25967
25968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25969 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25970 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25971 wxUSE_REGEX=builtin
25972 fi
25973
25974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25975 { echo "$as_me:$LINENO: checking for regex.h" >&5
25976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25977 if test "${ac_cv_header_regex_h+set}" = set; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 else
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h. */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986
25987
25988 #include <regex.h>
25989 _ACEOF
25990 rm -f conftest.$ac_objext
25991 if { (ac_try="$ac_compile"
25992 case "(($ac_try" in
25993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25994 *) ac_try_echo=$ac_try;;
25995 esac
25996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25997 (eval "$ac_compile") 2>conftest.er1
25998 ac_status=$?
25999 grep -v '^ *+' conftest.er1 >conftest.err
26000 rm -f conftest.er1
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } && {
26004 test -z "$ac_c_werror_flag" ||
26005 test ! -s conftest.err
26006 } && test -s conftest.$ac_objext; then
26007 ac_cv_header_regex_h=yes
26008 else
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26011
26012 ac_cv_header_regex_h=no
26013 fi
26014
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016 fi
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26019 if test $ac_cv_header_regex_h = yes; then
26020
26021
26022 for ac_func in regcomp re_search
26023 do
26024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 else
26030 cat >conftest.$ac_ext <<_ACEOF
26031 /* confdefs.h. */
26032 _ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26038 #define $ac_func innocuous_$ac_func
26039
26040 /* System header to define __stub macros and hopefully few prototypes,
26041 which can conflict with char $ac_func (); below.
26042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26043 <limits.h> exists even on freestanding compilers. */
26044
26045 #ifdef __STDC__
26046 # include <limits.h>
26047 #else
26048 # include <assert.h>
26049 #endif
26050
26051 #undef $ac_func
26052
26053 /* Override any GCC internal prototype to avoid an error.
26054 Use char because int might match the return type of a GCC
26055 builtin and then its argument prototype would still apply. */
26056 #ifdef __cplusplus
26057 extern "C"
26058 #endif
26059 char $ac_func ();
26060 /* The GNU C library defines this for functions which it implements
26061 to always fail with ENOSYS. Some functions are actually named
26062 something starting with __ and the normal name is an alias. */
26063 #if defined __stub_$ac_func || defined __stub___$ac_func
26064 choke me
26065 #endif
26066
26067 int
26068 main ()
26069 {
26070 return $ac_func ();
26071 ;
26072 return 0;
26073 }
26074 _ACEOF
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26080 esac
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26083 ac_status=$?
26084 grep -v '^ *+' conftest.er1 >conftest.err
26085 rm -f conftest.er1
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 eval "$as_ac_var=yes"
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098 eval "$as_ac_var=no"
26099 fi
26100
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26103 fi
26104 ac_res=`eval echo '${'$as_ac_var'}'`
26105 { echo "$as_me:$LINENO: result: $ac_res" >&5
26106 echo "${ECHO_T}$ac_res" >&6; }
26107 if test `eval echo '${'$as_ac_var'}'` = yes; then
26108 cat >>confdefs.h <<_ACEOF
26109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26110 _ACEOF
26111
26112 fi
26113 done
26114
26115 fi
26116
26117
26118
26119 if test "x$ac_cv_func_regcomp" != "xyes"; then
26120 if test "$wxUSE_REGEX" = "sys" ; then
26121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26123 { (exit 1); exit 1; }; }
26124 else
26125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26127 wxUSE_REGEX=builtin
26128 fi
26129 else
26130 wxUSE_REGEX=sys
26131 cat >>confdefs.h <<\_ACEOF
26132 #define WX_NO_REGEX_ADVANCED 1
26133 _ACEOF
26134
26135 fi
26136 fi
26137 fi
26138
26139
26140 ZLIB_LINK=
26141 if test "$wxUSE_ZLIB" != "no" ; then
26142 cat >>confdefs.h <<\_ACEOF
26143 #define wxUSE_ZLIB 1
26144 _ACEOF
26145
26146
26147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26148 if test "$USE_DARWIN" = 1; then
26149 system_zlib_h_ok="yes"
26150 else
26151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26153 if test "${ac_cv_header_zlib_h+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26155 else
26156 if test "$cross_compiling" = yes; then
26157 unset ac_cv_header_zlib_h
26158
26159 else
26160 cat >conftest.$ac_ext <<_ACEOF
26161 /* confdefs.h. */
26162 _ACEOF
26163 cat confdefs.h >>conftest.$ac_ext
26164 cat >>conftest.$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26166
26167 #include <zlib.h>
26168 #include <stdio.h>
26169
26170 int main()
26171 {
26172 FILE *f=fopen("conftestval", "w");
26173 if (!f) exit(1);
26174 fprintf(f, "%s",
26175 ZLIB_VERSION[0] == '1' &&
26176 (ZLIB_VERSION[2] > '1' ||
26177 (ZLIB_VERSION[2] == '1' &&
26178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26179 exit(0);
26180 }
26181
26182 _ACEOF
26183 rm -f conftest$ac_exeext
26184 if { (ac_try="$ac_link"
26185 case "(($ac_try" in
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26187 *) ac_try_echo=$ac_try;;
26188 esac
26189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26190 (eval "$ac_link") 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26194 { (case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26196 *) ac_try_echo=$ac_try;;
26197 esac
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_try") 2>&5
26200 ac_status=$?
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; }; then
26203 ac_cv_header_zlib_h=`cat conftestval`
26204 else
26205 echo "$as_me: program exited with status $ac_status" >&5
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.$ac_ext >&5
26208
26209 ( exit $ac_status )
26210 ac_cv_header_zlib_h=no
26211 fi
26212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26213 fi
26214
26215
26216
26217 fi
26218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26222 if test "${ac_cv_header_zlib_h+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 else
26225 cat >conftest.$ac_ext <<_ACEOF
26226 /* confdefs.h. */
26227 _ACEOF
26228 cat confdefs.h >>conftest.$ac_ext
26229 cat >>conftest.$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26231
26232
26233 #include <zlib.h>
26234 _ACEOF
26235 rm -f conftest.$ac_objext
26236 if { (ac_try="$ac_compile"
26237 case "(($ac_try" in
26238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26239 *) ac_try_echo=$ac_try;;
26240 esac
26241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26242 (eval "$ac_compile") 2>conftest.er1
26243 ac_status=$?
26244 grep -v '^ *+' conftest.er1 >conftest.err
26245 rm -f conftest.er1
26246 cat conftest.err >&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); } && {
26249 test -z "$ac_c_werror_flag" ||
26250 test ! -s conftest.err
26251 } && test -s conftest.$ac_objext; then
26252 ac_cv_header_zlib_h=yes
26253 else
26254 echo "$as_me: failed program was:" >&5
26255 sed 's/^/| /' conftest.$ac_ext >&5
26256
26257 ac_cv_header_zlib_h=no
26258 fi
26259
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 fi
26262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26264
26265
26266
26267 system_zlib_h_ok=$ac_cv_header_zlib_h
26268 fi
26269
26270 if test "$system_zlib_h_ok" = "yes"; then
26271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26273 if test "${ac_cv_lib_z_deflate+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 else
26276 ac_check_lib_save_LIBS=$LIBS
26277 LIBS="-lz $LIBS"
26278 cat >conftest.$ac_ext <<_ACEOF
26279 /* confdefs.h. */
26280 _ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26284
26285 /* Override any GCC internal prototype to avoid an error.
26286 Use char because int might match the return type of a GCC
26287 builtin and then its argument prototype would still apply. */
26288 #ifdef __cplusplus
26289 extern "C"
26290 #endif
26291 char deflate ();
26292 int
26293 main ()
26294 {
26295 return deflate ();
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 rm -f conftest.$ac_objext conftest$ac_exeext
26301 if { (ac_try="$ac_link"
26302 case "(($ac_try" in
26303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26304 *) ac_try_echo=$ac_try;;
26305 esac
26306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26307 (eval "$ac_link") 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } && {
26314 test -z "$ac_c_werror_flag" ||
26315 test ! -s conftest.err
26316 } && test -s conftest$ac_exeext &&
26317 $as_test_x conftest$ac_exeext; then
26318 ac_cv_lib_z_deflate=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_cv_lib_z_deflate=no
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26327 conftest$ac_exeext conftest.$ac_ext
26328 LIBS=$ac_check_lib_save_LIBS
26329 fi
26330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26332 if test $ac_cv_lib_z_deflate = yes; then
26333 ZLIB_LINK=" -lz"
26334 fi
26335
26336 fi
26337
26338 if test "x$ZLIB_LINK" = "x" ; then
26339 if test "$wxUSE_ZLIB" = "sys" ; then
26340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26342 { (exit 1); exit 1; }; }
26343 else
26344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26346 wxUSE_ZLIB=builtin
26347 fi
26348 else
26349 wxUSE_ZLIB=sys
26350 fi
26351 fi
26352 fi
26353
26354
26355 PNG_LINK=
26356 if test "$wxUSE_LIBPNG" != "no" ; then
26357 cat >>confdefs.h <<\_ACEOF
26358 #define wxUSE_LIBPNG 1
26359 _ACEOF
26360
26361
26362 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26363 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26364 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26365 wxUSE_LIBPNG=sys
26366 fi
26367
26368 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26369 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26370 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26371 wxUSE_LIBPNG=builtin
26372 fi
26373
26374 if test "$wxUSE_MGL" != 1 ; then
26375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26376 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26377 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26378 if test "${ac_cv_header_png_h+set}" = set; then
26379 echo $ECHO_N "(cached) $ECHO_C" >&6
26380 else
26381 if test "$cross_compiling" = yes; then
26382 unset ac_cv_header_png_h
26383
26384 else
26385 cat >conftest.$ac_ext <<_ACEOF
26386 /* confdefs.h. */
26387 _ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26391
26392 #include <png.h>
26393 #include <stdio.h>
26394
26395 int main()
26396 {
26397 FILE *f=fopen("conftestval", "w");
26398 if (!f) exit(1);
26399 fprintf(f, "%s",
26400 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26401 exit(0);
26402 }
26403
26404 _ACEOF
26405 rm -f conftest$ac_exeext
26406 if { (ac_try="$ac_link"
26407 case "(($ac_try" in
26408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26409 *) ac_try_echo=$ac_try;;
26410 esac
26411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26412 (eval "$ac_link") 2>&5
26413 ac_status=$?
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26416 { (case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26419 esac
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_try") 2>&5
26422 ac_status=$?
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); }; }; then
26425 ac_cv_header_png_h=`cat conftestval`
26426 else
26427 echo "$as_me: program exited with status $ac_status" >&5
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 ( exit $ac_status )
26432 ac_cv_header_png_h=no
26433 fi
26434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26435 fi
26436
26437
26438
26439 fi
26440 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26441 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26442 { echo "$as_me:$LINENO: checking for png.h" >&5
26443 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26444 if test "${ac_cv_header_png_h+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26446 else
26447 cat >conftest.$ac_ext <<_ACEOF
26448 /* confdefs.h. */
26449 _ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26453
26454
26455 #include <png.h>
26456 _ACEOF
26457 rm -f conftest.$ac_objext
26458 if { (ac_try="$ac_compile"
26459 case "(($ac_try" in
26460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26461 *) ac_try_echo=$ac_try;;
26462 esac
26463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26464 (eval "$ac_compile") 2>conftest.er1
26465 ac_status=$?
26466 grep -v '^ *+' conftest.er1 >conftest.err
26467 rm -f conftest.er1
26468 cat conftest.err >&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); } && {
26471 test -z "$ac_c_werror_flag" ||
26472 test ! -s conftest.err
26473 } && test -s conftest.$ac_objext; then
26474 ac_cv_header_png_h=yes
26475 else
26476 echo "$as_me: failed program was:" >&5
26477 sed 's/^/| /' conftest.$ac_ext >&5
26478
26479 ac_cv_header_png_h=no
26480 fi
26481
26482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26483 fi
26484 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26485 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26486
26487
26488
26489 if test "$ac_cv_header_png_h" = "yes"; then
26490 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26491 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26492 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26495 ac_check_lib_save_LIBS=$LIBS
26496 LIBS="-lpng -lz -lm $LIBS"
26497 cat >conftest.$ac_ext <<_ACEOF
26498 /* confdefs.h. */
26499 _ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26503
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26507 #ifdef __cplusplus
26508 extern "C"
26509 #endif
26510 char png_check_sig ();
26511 int
26512 main ()
26513 {
26514 return png_check_sig ();
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_png_png_check_sig=yes
26538 else
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26541
26542 ac_cv_lib_png_png_check_sig=no
26543 fi
26544
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26548 fi
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26550 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26551 if test $ac_cv_lib_png_png_check_sig = yes; then
26552 PNG_LINK=" -lpng -lz"
26553 fi
26554
26555 fi
26556
26557 if test "x$PNG_LINK" = "x" ; then
26558 if test "$wxUSE_LIBPNG" = "sys" ; then
26559 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26560 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26561 { (exit 1); exit 1; }; }
26562 else
26563 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26564 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26565 wxUSE_LIBPNG=builtin
26566 fi
26567 else
26568 wxUSE_LIBPNG=sys
26569 fi
26570 fi
26571 fi
26572 fi
26573
26574
26575 JPEG_LINK=
26576 if test "$wxUSE_LIBJPEG" != "no" ; then
26577 cat >>confdefs.h <<\_ACEOF
26578 #define wxUSE_LIBJPEG 1
26579 _ACEOF
26580
26581
26582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26584 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26585 wxUSE_LIBJPEG=sys
26586 fi
26587
26588 if test "$wxUSE_MGL" != 1 ; then
26589 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26590 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26591 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26592 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26594 else
26595 cat >conftest.$ac_ext <<_ACEOF
26596 /* confdefs.h. */
26597 _ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26601
26602 #undef HAVE_STDLIB_H
26603 #include <stdio.h>
26604 #include <jpeglib.h>
26605
26606 int
26607 main ()
26608 {
26609
26610
26611 ;
26612 return 0;
26613 }
26614 _ACEOF
26615 rm -f conftest.$ac_objext
26616 if { (ac_try="$ac_compile"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26620 esac
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_compile") 2>conftest.er1
26623 ac_status=$?
26624 grep -v '^ *+' conftest.er1 >conftest.err
26625 rm -f conftest.er1
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest.$ac_objext; then
26632 ac_cv_header_jpeglib_h=yes
26633 else
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26636
26637 ac_cv_header_jpeglib_h=no
26638
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642
26643 fi
26644
26645 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26646 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26647
26648 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26649 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26650 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26651 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 else
26654 ac_check_lib_save_LIBS=$LIBS
26655 LIBS="-ljpeg $LIBS"
26656 cat >conftest.$ac_ext <<_ACEOF
26657 /* confdefs.h. */
26658 _ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h. */
26662
26663 /* Override any GCC internal prototype to avoid an error.
26664 Use char because int might match the return type of a GCC
26665 builtin and then its argument prototype would still apply. */
26666 #ifdef __cplusplus
26667 extern "C"
26668 #endif
26669 char jpeg_read_header ();
26670 int
26671 main ()
26672 {
26673 return jpeg_read_header ();
26674 ;
26675 return 0;
26676 }
26677 _ACEOF
26678 rm -f conftest.$ac_objext conftest$ac_exeext
26679 if { (ac_try="$ac_link"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26683 esac
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_link") 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest$ac_exeext &&
26695 $as_test_x conftest$ac_exeext; then
26696 ac_cv_lib_jpeg_jpeg_read_header=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 ac_cv_lib_jpeg_jpeg_read_header=no
26702 fi
26703
26704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26705 conftest$ac_exeext conftest.$ac_ext
26706 LIBS=$ac_check_lib_save_LIBS
26707 fi
26708 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26709 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26710 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26711 JPEG_LINK=" -ljpeg"
26712 fi
26713
26714 fi
26715
26716 if test "x$JPEG_LINK" = "x" ; then
26717 if test "$wxUSE_LIBJPEG" = "sys" ; then
26718 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26719 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26720 { (exit 1); exit 1; }; }
26721 else
26722 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26723 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26724 wxUSE_LIBJPEG=builtin
26725 fi
26726 else
26727 wxUSE_LIBJPEG=sys
26728
26729 if test "$wxUSE_MSW" = 1; then
26730 { echo "$as_me:$LINENO: checking for boolean" >&5
26731 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26732 if test "${ac_cv_type_boolean+set}" = set; then
26733 echo $ECHO_N "(cached) $ECHO_C" >&6
26734 else
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h. */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <windows.h>
26742
26743 typedef boolean ac__type_new_;
26744 int
26745 main ()
26746 {
26747 if ((ac__type_new_ *) 0)
26748 return 0;
26749 if (sizeof (ac__type_new_))
26750 return 0;
26751 ;
26752 return 0;
26753 }
26754 _ACEOF
26755 rm -f conftest.$ac_objext
26756 if { (ac_try="$ac_compile"
26757 case "(($ac_try" in
26758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26759 *) ac_try_echo=$ac_try;;
26760 esac
26761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26762 (eval "$ac_compile") 2>conftest.er1
26763 ac_status=$?
26764 grep -v '^ *+' conftest.er1 >conftest.err
26765 rm -f conftest.er1
26766 cat conftest.err >&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } && {
26769 test -z "$ac_c_werror_flag" ||
26770 test ! -s conftest.err
26771 } && test -s conftest.$ac_objext; then
26772 ac_cv_type_boolean=yes
26773 else
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26776
26777 ac_cv_type_boolean=no
26778 fi
26779
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781 fi
26782 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26783 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26784 if test $ac_cv_type_boolean = yes; then
26785
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_BOOLEAN 1
26788 _ACEOF
26789
26790
26791 { echo "$as_me:$LINENO: checking for boolean" >&5
26792 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26793 if test "${ac_cv_type_boolean+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26796 cat >conftest.$ac_ext <<_ACEOF
26797 /* confdefs.h. */
26798 _ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802
26803 #undef HAVE_BOOLEAN
26804 #include <stdio.h>
26805 #include <jpeglib.h>
26806
26807
26808 typedef boolean ac__type_new_;
26809 int
26810 main ()
26811 {
26812 if ((ac__type_new_ *) 0)
26813 return 0;
26814 if (sizeof (ac__type_new_))
26815 return 0;
26816 ;
26817 return 0;
26818 }
26819 _ACEOF
26820 rm -f conftest.$ac_objext
26821 if { (ac_try="$ac_compile"
26822 case "(($ac_try" in
26823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26825 esac
26826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_compile") 2>conftest.er1
26828 ac_status=$?
26829 grep -v '^ *+' conftest.er1 >conftest.err
26830 rm -f conftest.er1
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && {
26834 test -z "$ac_c_werror_flag" ||
26835 test ! -s conftest.err
26836 } && test -s conftest.$ac_objext; then
26837 ac_cv_type_boolean=yes
26838 else
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 ac_cv_type_boolean=no
26843 fi
26844
26845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26846 fi
26847 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26848 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26849
26850 # The cast to long int works around a bug in the HP C Compiler
26851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26853 # This bug is HP SR number 8606223364.
26854 { echo "$as_me:$LINENO: checking size of boolean" >&5
26855 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26856 if test "${ac_cv_sizeof_boolean+set}" = set; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 else
26859 if test "$cross_compiling" = yes; then
26860 # Depending upon the size, compute the lo and hi bounds.
26861 cat >conftest.$ac_ext <<_ACEOF
26862 /* confdefs.h. */
26863 _ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26867
26868 #undef HAVE_BOOLEAN
26869 #include <stdio.h>
26870 #include <jpeglib.h>
26871
26872
26873 typedef boolean ac__type_sizeof_;
26874 int
26875 main ()
26876 {
26877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26878 test_array [0] = 0
26879
26880 ;
26881 return 0;
26882 }
26883 _ACEOF
26884 rm -f conftest.$ac_objext
26885 if { (ac_try="$ac_compile"
26886 case "(($ac_try" in
26887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26888 *) ac_try_echo=$ac_try;;
26889 esac
26890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26891 (eval "$ac_compile") 2>conftest.er1
26892 ac_status=$?
26893 grep -v '^ *+' conftest.er1 >conftest.err
26894 rm -f conftest.er1
26895 cat conftest.err >&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } && {
26898 test -z "$ac_c_werror_flag" ||
26899 test ! -s conftest.err
26900 } && test -s conftest.$ac_objext; then
26901 ac_lo=0 ac_mid=0
26902 while :; do
26903 cat >conftest.$ac_ext <<_ACEOF
26904 /* confdefs.h. */
26905 _ACEOF
26906 cat confdefs.h >>conftest.$ac_ext
26907 cat >>conftest.$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26909
26910 #undef HAVE_BOOLEAN
26911 #include <stdio.h>
26912 #include <jpeglib.h>
26913
26914
26915 typedef boolean ac__type_sizeof_;
26916 int
26917 main ()
26918 {
26919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26920 test_array [0] = 0
26921
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26931 esac
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.$ac_objext; then
26943 ac_hi=$ac_mid; break
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 ac_lo=`expr $ac_mid + 1`
26949 if test $ac_lo -le $ac_mid; then
26950 ac_lo= ac_hi=
26951 break
26952 fi
26953 ac_mid=`expr 2 '*' $ac_mid + 1`
26954 fi
26955
26956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26957 done
26958 else
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26961
26962 cat >conftest.$ac_ext <<_ACEOF
26963 /* confdefs.h. */
26964 _ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968
26969 #undef HAVE_BOOLEAN
26970 #include <stdio.h>
26971 #include <jpeglib.h>
26972
26973
26974 typedef boolean ac__type_sizeof_;
26975 int
26976 main ()
26977 {
26978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26979 test_array [0] = 0
26980
26981 ;
26982 return 0;
26983 }
26984 _ACEOF
26985 rm -f conftest.$ac_objext
26986 if { (ac_try="$ac_compile"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26989 *) ac_try_echo=$ac_try;;
26990 esac
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_compile") 2>conftest.er1
26993 ac_status=$?
26994 grep -v '^ *+' conftest.er1 >conftest.err
26995 rm -f conftest.er1
26996 cat conftest.err >&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } && {
26999 test -z "$ac_c_werror_flag" ||
27000 test ! -s conftest.err
27001 } && test -s conftest.$ac_objext; then
27002 ac_hi=-1 ac_mid=-1
27003 while :; do
27004 cat >conftest.$ac_ext <<_ACEOF
27005 /* confdefs.h. */
27006 _ACEOF
27007 cat confdefs.h >>conftest.$ac_ext
27008 cat >>conftest.$ac_ext <<_ACEOF
27009 /* end confdefs.h. */
27010
27011 #undef HAVE_BOOLEAN
27012 #include <stdio.h>
27013 #include <jpeglib.h>
27014
27015
27016 typedef boolean ac__type_sizeof_;
27017 int
27018 main ()
27019 {
27020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27021 test_array [0] = 0
27022
27023 ;
27024 return 0;
27025 }
27026 _ACEOF
27027 rm -f conftest.$ac_objext
27028 if { (ac_try="$ac_compile"
27029 case "(($ac_try" in
27030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27032 esac
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_compile") 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_c_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest.$ac_objext; then
27044 ac_lo=$ac_mid; break
27045 else
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27048
27049 ac_hi=`expr '(' $ac_mid ')' - 1`
27050 if test $ac_mid -le $ac_hi; then
27051 ac_lo= ac_hi=
27052 break
27053 fi
27054 ac_mid=`expr 2 '*' $ac_mid`
27055 fi
27056
27057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27058 done
27059 else
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27062
27063 ac_lo= ac_hi=
27064 fi
27065
27066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27067 fi
27068
27069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27070 # Binary search between lo and hi bounds.
27071 while test "x$ac_lo" != "x$ac_hi"; do
27072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27073 cat >conftest.$ac_ext <<_ACEOF
27074 /* confdefs.h. */
27075 _ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27079
27080 #undef HAVE_BOOLEAN
27081 #include <stdio.h>
27082 #include <jpeglib.h>
27083
27084
27085 typedef boolean ac__type_sizeof_;
27086 int
27087 main ()
27088 {
27089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27090 test_array [0] = 0
27091
27092 ;
27093 return 0;
27094 }
27095 _ACEOF
27096 rm -f conftest.$ac_objext
27097 if { (ac_try="$ac_compile"
27098 case "(($ac_try" in
27099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27100 *) ac_try_echo=$ac_try;;
27101 esac
27102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27103 (eval "$ac_compile") 2>conftest.er1
27104 ac_status=$?
27105 grep -v '^ *+' conftest.er1 >conftest.err
27106 rm -f conftest.er1
27107 cat conftest.err >&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } && {
27110 test -z "$ac_c_werror_flag" ||
27111 test ! -s conftest.err
27112 } && test -s conftest.$ac_objext; then
27113 ac_hi=$ac_mid
27114 else
27115 echo "$as_me: failed program was:" >&5
27116 sed 's/^/| /' conftest.$ac_ext >&5
27117
27118 ac_lo=`expr '(' $ac_mid ')' + 1`
27119 fi
27120
27121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122 done
27123 case $ac_lo in
27124 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27125 '') if test "$ac_cv_type_boolean" = yes; then
27126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27127 See \`config.log' for more details." >&5
27128 echo "$as_me: error: cannot compute sizeof (boolean)
27129 See \`config.log' for more details." >&2;}
27130 { (exit 77); exit 77; }; }
27131 else
27132 ac_cv_sizeof_boolean=0
27133 fi ;;
27134 esac
27135 else
27136 cat >conftest.$ac_ext <<_ACEOF
27137 /* confdefs.h. */
27138 _ACEOF
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27142
27143 #undef HAVE_BOOLEAN
27144 #include <stdio.h>
27145 #include <jpeglib.h>
27146
27147
27148 typedef boolean ac__type_sizeof_;
27149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27151 #include <stdio.h>
27152 #include <stdlib.h>
27153 int
27154 main ()
27155 {
27156
27157 FILE *f = fopen ("conftest.val", "w");
27158 if (! f)
27159 return 1;
27160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27161 {
27162 long int i = longval ();
27163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27164 return 1;
27165 fprintf (f, "%ld\n", i);
27166 }
27167 else
27168 {
27169 unsigned long int i = ulongval ();
27170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27171 return 1;
27172 fprintf (f, "%lu\n", i);
27173 }
27174 return ferror (f) || fclose (f) != 0;
27175
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest$ac_exeext
27181 if { (ac_try="$ac_link"
27182 case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27184 *) ac_try_echo=$ac_try;;
27185 esac
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_link") 2>&5
27188 ac_status=$?
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
27197 ac_status=$?
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 ac_cv_sizeof_boolean=`cat conftest.val`
27201 else
27202 echo "$as_me: program exited with status $ac_status" >&5
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27205
27206 ( exit $ac_status )
27207 if test "$ac_cv_type_boolean" = yes; then
27208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27209 See \`config.log' for more details." >&5
27210 echo "$as_me: error: cannot compute sizeof (boolean)
27211 See \`config.log' for more details." >&2;}
27212 { (exit 77); exit 77; }; }
27213 else
27214 ac_cv_sizeof_boolean=0
27215 fi
27216 fi
27217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27218 fi
27219 rm -f conftest.val
27220 fi
27221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27222 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27223
27224
27225
27226 cat >>confdefs.h <<_ACEOF
27227 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27228 _ACEOF
27229
27230
27231 cat >>confdefs.h <<_ACEOF
27232 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27233 _ACEOF
27234
27235
27236 fi
27237
27238 fi
27239 fi
27240 fi
27241 fi
27242 fi
27243
27244
27245 TIFF_LINK=
27246 TIFF_PREREQ_LINKS=-lm
27247 if test "$wxUSE_LIBTIFF" != "no" ; then
27248 cat >>confdefs.h <<\_ACEOF
27249 #define wxUSE_LIBTIFF 1
27250 _ACEOF
27251
27252
27253 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27254 if test "$wxUSE_LIBJPEG" = "sys"; then
27255 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27256 fi
27257 if test "$wxUSE_ZLIB" = "sys"; then
27258 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27259 fi
27260 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27261 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27262 if test "${ac_cv_header_tiffio_h+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 cat >conftest.$ac_ext <<_ACEOF
27266 /* confdefs.h. */
27267 _ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271
27272
27273
27274 #include <tiffio.h>
27275 _ACEOF
27276 rm -f conftest.$ac_objext
27277 if { (ac_try="$ac_compile"
27278 case "(($ac_try" in
27279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27280 *) ac_try_echo=$ac_try;;
27281 esac
27282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27283 (eval "$ac_compile") 2>conftest.er1
27284 ac_status=$?
27285 grep -v '^ *+' conftest.er1 >conftest.err
27286 rm -f conftest.er1
27287 cat conftest.err >&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } && {
27290 test -z "$ac_c_werror_flag" ||
27291 test ! -s conftest.err
27292 } && test -s conftest.$ac_objext; then
27293 ac_cv_header_tiffio_h=yes
27294 else
27295 echo "$as_me: failed program was:" >&5
27296 sed 's/^/| /' conftest.$ac_ext >&5
27297
27298 ac_cv_header_tiffio_h=no
27299 fi
27300
27301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27302 fi
27303 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27304 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27305 if test $ac_cv_header_tiffio_h = yes; then
27306
27307 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27308 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27309 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27311 else
27312 ac_check_lib_save_LIBS=$LIBS
27313 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27314 cat >conftest.$ac_ext <<_ACEOF
27315 /* confdefs.h. */
27316 _ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320
27321 /* Override any GCC internal prototype to avoid an error.
27322 Use char because int might match the return type of a GCC
27323 builtin and then its argument prototype would still apply. */
27324 #ifdef __cplusplus
27325 extern "C"
27326 #endif
27327 char TIFFError ();
27328 int
27329 main ()
27330 {
27331 return TIFFError ();
27332 ;
27333 return 0;
27334 }
27335 _ACEOF
27336 rm -f conftest.$ac_objext conftest$ac_exeext
27337 if { (ac_try="$ac_link"
27338 case "(($ac_try" in
27339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27340 *) ac_try_echo=$ac_try;;
27341 esac
27342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27343 (eval "$ac_link") 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } && {
27350 test -z "$ac_c_werror_flag" ||
27351 test ! -s conftest.err
27352 } && test -s conftest$ac_exeext &&
27353 $as_test_x conftest$ac_exeext; then
27354 ac_cv_lib_tiff_TIFFError=yes
27355 else
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27358
27359 ac_cv_lib_tiff_TIFFError=no
27360 fi
27361
27362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27363 conftest$ac_exeext conftest.$ac_ext
27364 LIBS=$ac_check_lib_save_LIBS
27365 fi
27366 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27367 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27368 if test $ac_cv_lib_tiff_TIFFError = yes; then
27369 TIFF_LINK=" -ltiff"
27370 fi
27371
27372
27373 fi
27374
27375
27376
27377 if test "x$TIFF_LINK" = "x" ; then
27378 if test "$wxUSE_LIBTIFF" = "sys" ; then
27379 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27380 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27381 { (exit 1); exit 1; }; }
27382 else
27383 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27384 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27385 wxUSE_LIBTIFF=builtin
27386 fi
27387 else
27388 wxUSE_LIBTIFF=sys
27389 fi
27390 fi
27391 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27392 if test "$wxUSE_LIBJPEG" = "no"; then
27393 ac_configure_args="$ac_configure_args --disable-jpeg"
27394 fi
27395 subdirs="$subdirs src/tiff"
27396
27397 fi
27398 fi
27399
27400
27401 if test "$wxUSE_WCHAR_T" != "yes"; then
27402 if test "$wxUSE_EXPAT" != "no"; then
27403 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27404 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27405 wxUSE_EXPAT=no
27406 fi
27407 if test "$wxUSE_XML" != "no"; then
27408 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27409 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27410 wxUSE_XML=no
27411 fi
27412 fi
27413
27414 if test "$wxUSE_EXPAT" != "no"; then
27415 wxUSE_XML=yes
27416 cat >>confdefs.h <<\_ACEOF
27417 #define wxUSE_EXPAT 1
27418 _ACEOF
27419
27420 cat >>confdefs.h <<\_ACEOF
27421 #define wxUSE_XML 1
27422 _ACEOF
27423
27424
27425 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27426 { echo "$as_me:$LINENO: checking for expat.h" >&5
27427 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27428 if test "${ac_cv_header_expat_h+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 else
27431 cat >conftest.$ac_ext <<_ACEOF
27432 /* confdefs.h. */
27433 _ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27437
27438
27439 #include <expat.h>
27440 _ACEOF
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27446 esac
27447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27449 ac_status=$?
27450 grep -v '^ *+' conftest.er1 >conftest.err
27451 rm -f conftest.er1
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_expat_h=yes
27459 else
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27462
27463 ac_cv_header_expat_h=no
27464 fi
27465
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27467 fi
27468 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27470 if test $ac_cv_header_expat_h = yes; then
27471 found_expat_h=1
27472 fi
27473
27474
27475 if test "x$found_expat_h" = "x1"; then
27476 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27477 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27478 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481
27482 ac_ext=cpp
27483 ac_cpp='$CXXCPP $CPPFLAGS'
27484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27487
27488 cat >conftest.$ac_ext <<_ACEOF
27489 /* confdefs.h. */
27490 _ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27494 #include <expat.h>
27495 int
27496 main ()
27497 {
27498
27499 ;
27500 return 0;
27501 }
27502 _ACEOF
27503 rm -f conftest.$ac_objext
27504 if { (ac_try="$ac_compile"
27505 case "(($ac_try" in
27506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27507 *) ac_try_echo=$ac_try;;
27508 esac
27509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27510 (eval "$ac_compile") 2>conftest.er1
27511 ac_status=$?
27512 grep -v '^ *+' conftest.er1 >conftest.err
27513 rm -f conftest.er1
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } && {
27517 test -z "$ac_cxx_werror_flag" ||
27518 test ! -s conftest.err
27519 } && test -s conftest.$ac_objext; then
27520 wx_cv_expat_is_not_broken=yes
27521 else
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27524
27525 wx_cv_expat_is_not_broken=no
27526
27527 fi
27528
27529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27530 ac_ext=c
27531 ac_cpp='$CPP $CPPFLAGS'
27532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27535
27536
27537
27538 fi
27539 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27540 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27541 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27542 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27543 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27544 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 else
27547 ac_check_lib_save_LIBS=$LIBS
27548 LIBS="-lexpat $LIBS"
27549 cat >conftest.$ac_ext <<_ACEOF
27550 /* confdefs.h. */
27551 _ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555
27556 /* Override any GCC internal prototype to avoid an error.
27557 Use char because int might match the return type of a GCC
27558 builtin and then its argument prototype would still apply. */
27559 #ifdef __cplusplus
27560 extern "C"
27561 #endif
27562 char XML_ParserCreate ();
27563 int
27564 main ()
27565 {
27566 return XML_ParserCreate ();
27567 ;
27568 return 0;
27569 }
27570 _ACEOF
27571 rm -f conftest.$ac_objext conftest$ac_exeext
27572 if { (ac_try="$ac_link"
27573 case "(($ac_try" in
27574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27575 *) ac_try_echo=$ac_try;;
27576 esac
27577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27578 (eval "$ac_link") 2>conftest.er1
27579 ac_status=$?
27580 grep -v '^ *+' conftest.er1 >conftest.err
27581 rm -f conftest.er1
27582 cat conftest.err >&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } && {
27585 test -z "$ac_c_werror_flag" ||
27586 test ! -s conftest.err
27587 } && test -s conftest$ac_exeext &&
27588 $as_test_x conftest$ac_exeext; then
27589 ac_cv_lib_expat_XML_ParserCreate=yes
27590 else
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 ac_cv_lib_expat_XML_ParserCreate=no
27595 fi
27596
27597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27598 conftest$ac_exeext conftest.$ac_ext
27599 LIBS=$ac_check_lib_save_LIBS
27600 fi
27601 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27602 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27603 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27604 EXPAT_LINK=" -lexpat"
27605 fi
27606
27607 fi
27608 fi
27609 if test "x$EXPAT_LINK" = "x" ; then
27610 if test "$wxUSE_EXPAT" = "sys" ; then
27611 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27612 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27613 { (exit 1); exit 1; }; }
27614 else
27615 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27616 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27617 wxUSE_EXPAT=builtin
27618 fi
27619 else
27620 wxUSE_EXPAT=sys
27621 fi
27622 fi
27623 if test "$wxUSE_EXPAT" = "builtin" ; then
27624 subdirs="$subdirs src/expat"
27625
27626 fi
27627 fi
27628
27629
27630
27631 if test "$wxUSE_LIBMSPACK" != "no"; then
27632 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27633 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27634 if test "${ac_cv_header_mspack_h+set}" = set; then
27635 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 else
27637 cat >conftest.$ac_ext <<_ACEOF
27638 /* confdefs.h. */
27639 _ACEOF
27640 cat confdefs.h >>conftest.$ac_ext
27641 cat >>conftest.$ac_ext <<_ACEOF
27642 /* end confdefs.h. */
27643
27644
27645 #include <mspack.h>
27646 _ACEOF
27647 rm -f conftest.$ac_objext
27648 if { (ac_try="$ac_compile"
27649 case "(($ac_try" in
27650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27651 *) ac_try_echo=$ac_try;;
27652 esac
27653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27654 (eval "$ac_compile") 2>conftest.er1
27655 ac_status=$?
27656 grep -v '^ *+' conftest.er1 >conftest.err
27657 rm -f conftest.er1
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } && {
27661 test -z "$ac_c_werror_flag" ||
27662 test ! -s conftest.err
27663 } && test -s conftest.$ac_objext; then
27664 ac_cv_header_mspack_h=yes
27665 else
27666 echo "$as_me: failed program was:" >&5
27667 sed 's/^/| /' conftest.$ac_ext >&5
27668
27669 ac_cv_header_mspack_h=no
27670 fi
27671
27672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27673 fi
27674 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27675 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27676 if test $ac_cv_header_mspack_h = yes; then
27677 found_mspack_h=1
27678 fi
27679
27680
27681 if test "x$found_mspack_h" = "x1"; then
27682 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27683 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27684 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 else
27687 ac_check_lib_save_LIBS=$LIBS
27688 LIBS="-lmspack $LIBS"
27689 cat >conftest.$ac_ext <<_ACEOF
27690 /* confdefs.h. */
27691 _ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27695
27696 /* Override any GCC internal prototype to avoid an error.
27697 Use char because int might match the return type of a GCC
27698 builtin and then its argument prototype would still apply. */
27699 #ifdef __cplusplus
27700 extern "C"
27701 #endif
27702 char mspack_create_chm_decompressor ();
27703 int
27704 main ()
27705 {
27706 return mspack_create_chm_decompressor ();
27707 ;
27708 return 0;
27709 }
27710 _ACEOF
27711 rm -f conftest.$ac_objext conftest$ac_exeext
27712 if { (ac_try="$ac_link"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27716 esac
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_link") 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest$ac_exeext &&
27728 $as_test_x conftest$ac_exeext; then
27729 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27730 else
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.$ac_ext >&5
27733
27734 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27735 fi
27736
27737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27738 conftest$ac_exeext conftest.$ac_ext
27739 LIBS=$ac_check_lib_save_LIBS
27740 fi
27741 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27742 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27743 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27744 MSPACK_LINK=" -lmspack"
27745 fi
27746
27747 fi
27748 if test "x$MSPACK_LINK" = "x" ; then
27749 wxUSE_LIBMSPACK=no
27750 fi
27751 fi
27752
27753 if test "$wxUSE_LIBMSPACK" != "no"; then
27754 cat >>confdefs.h <<\_ACEOF
27755 #define wxUSE_LIBMSPACK 1
27756 _ACEOF
27757
27758 fi
27759
27760
27761
27762 AFMINSTALL=
27763 WIN32INSTALL=
27764
27765 TOOLKIT=
27766 TOOLKIT_INCLUDE=
27767 WIDGET_SET=
27768
27769 if test "$USE_WIN32" = 1 ; then
27770
27771 for ac_header in w32api.h
27772 do
27773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27777 echo $ECHO_N "(cached) $ECHO_C" >&6
27778 else
27779 cat >conftest.$ac_ext <<_ACEOF
27780 /* confdefs.h. */
27781 _ACEOF
27782 cat confdefs.h >>conftest.$ac_ext
27783 cat >>conftest.$ac_ext <<_ACEOF
27784 /* end confdefs.h. */
27785
27786
27787 #include <$ac_header>
27788 _ACEOF
27789 rm -f conftest.$ac_objext
27790 if { (ac_try="$ac_compile"
27791 case "(($ac_try" in
27792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27793 *) ac_try_echo=$ac_try;;
27794 esac
27795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27796 (eval "$ac_compile") 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } && {
27803 test -z "$ac_c_werror_flag" ||
27804 test ! -s conftest.err
27805 } && test -s conftest.$ac_objext; then
27806 eval "$as_ac_Header=yes"
27807 else
27808 echo "$as_me: failed program was:" >&5
27809 sed 's/^/| /' conftest.$ac_ext >&5
27810
27811 eval "$as_ac_Header=no"
27812 fi
27813
27814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27815 fi
27816 ac_res=`eval echo '${'$as_ac_Header'}'`
27817 { echo "$as_me:$LINENO: result: $ac_res" >&5
27818 echo "${ECHO_T}$ac_res" >&6; }
27819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27820 cat >>confdefs.h <<_ACEOF
27821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27822 _ACEOF
27823
27824 fi
27825
27826 done
27827
27828 { echo "$as_me:$LINENO: checking for windows.h" >&5
27829 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27830 if test "${ac_cv_header_windows_h+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839
27840
27841 #include <windows.h>
27842 _ACEOF
27843 rm -f conftest.$ac_objext
27844 if { (ac_try="$ac_compile"
27845 case "(($ac_try" in
27846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27847 *) ac_try_echo=$ac_try;;
27848 esac
27849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27850 (eval "$ac_compile") 2>conftest.er1
27851 ac_status=$?
27852 grep -v '^ *+' conftest.er1 >conftest.err
27853 rm -f conftest.er1
27854 cat conftest.err >&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); } && {
27857 test -z "$ac_c_werror_flag" ||
27858 test ! -s conftest.err
27859 } && test -s conftest.$ac_objext; then
27860 ac_cv_header_windows_h=yes
27861 else
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 ac_cv_header_windows_h=no
27866 fi
27867
27868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869 fi
27870 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27871 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27872 if test $ac_cv_header_windows_h = yes; then
27873 :
27874 else
27875
27876 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27877 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27878 { (exit 1); exit 1; }; }
27879
27880 fi
27881
27882
27883
27884 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27885
27886 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27887 LIBS="$LIBS -loleacc"
27888 fi
27889
27890 case "${host}" in
27891 *-*-cygwin* )
27892 LIBS="$LIBS -lkernel32 -luser32"
27893 esac
27894
27895 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27896 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27897
27898 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27899
27900 WIN32INSTALL=win32install
27901
27902 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27903 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27904 if test "${ac_cv_header_pbt_h+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 cat >conftest.$ac_ext <<_ACEOF
27908 /* confdefs.h. */
27909 _ACEOF
27910 cat confdefs.h >>conftest.$ac_ext
27911 cat >>conftest.$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27913
27914
27915 #include <pbt.h>
27916 _ACEOF
27917 rm -f conftest.$ac_objext
27918 if { (ac_try="$ac_compile"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27922 esac
27923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_compile") 2>conftest.er1
27925 ac_status=$?
27926 grep -v '^ *+' conftest.er1 >conftest.err
27927 rm -f conftest.er1
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest.$ac_objext; then
27934 ac_cv_header_pbt_h=yes
27935 else
27936 echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27938
27939 ac_cv_header_pbt_h=no
27940 fi
27941
27942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27943 fi
27944 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27945 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27946 if test $ac_cv_header_pbt_h = yes; then
27947 :
27948 else
27949 cat >>confdefs.h <<\_ACEOF
27950 #define NEED_PBT_H 1
27951 _ACEOF
27952
27953 fi
27954
27955
27956 fi
27957
27958 if test "$wxUSE_GUI" = "yes"; then
27959 USE_GUI=1
27960
27961 GUI_TK_LIBRARY=
27962
27963 WXGTK12=
27964 WXGTK127=
27965 WXGTK2=
27966 WXGPE=
27967
27968 if test "$wxUSE_COCOA" = 1 ; then
27969 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27970 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27971 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27972 wxUSE_PRINTING_ARCHITECTURE=no
27973 fi
27974 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27975 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27976 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27977 wxUSE_DRAG_AND_DROP=no
27978 fi
27979 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27980 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27981 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27982 wxUSE_DRAGIMAGE=no
27983 fi
27984 fi
27985
27986 if test "$wxUSE_MSW" = 1 ; then
27987 TOOLKIT=MSW
27988 GUIDIST=MSW_DIST
27989
27990 case "${host}" in
27991 *-*-mingw32* )
27992 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27993 esac
27994 fi
27995
27996 if test "$wxUSE_GTK" = 1; then
27997 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27998 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27999
28000 gtk_version_cached=1
28001 if test "${wx_cv_lib_gtk+set}" = set; then
28002 echo $ECHO_N "(cached) $ECHO_C" >&6
28003 else
28004
28005 gtk_version_cached=0
28006 { echo "$as_me:$LINENO: result: " >&5
28007 echo "${ECHO_T}" >&6; }
28008
28009 GTK_MODULES=
28010 if test "$wxUSE_THREADS" = "yes"; then
28011 GTK_MODULES=gthread
28012 fi
28013
28014 wx_cv_lib_gtk=
28015 if test "x$wxGTK_VERSION" != "x1"
28016 then
28017 case "${host}" in
28018 *-*-solaris2* )
28019 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28020 enable_gtktest=no
28021 fi
28022 esac
28023
28024 # Check whether --enable-gtktest was given.
28025 if test "${enable_gtktest+set}" = set; then
28026 enableval=$enable_gtktest;
28027 else
28028 enable_gtktest=yes
28029 fi
28030
28031
28032 pkg_config_args=gtk+-2.0
28033 for module in . $GTK_MODULES
28034 do
28035 case "$module" in
28036 gthread)
28037 pkg_config_args="$pkg_config_args gthread-2.0"
28038 ;;
28039 esac
28040 done
28041
28042 no_gtk=""
28043
28044 # Extract the first word of "pkg-config", so it can be a program name with args.
28045 set dummy pkg-config; ac_word=$2
28046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28048 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28049 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 else
28051 case $PKG_CONFIG in
28052 [\\/]* | ?:[\\/]*)
28053 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28054 ;;
28055 *)
28056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28057 for as_dir in $PATH
28058 do
28059 IFS=$as_save_IFS
28060 test -z "$as_dir" && as_dir=.
28061 for ac_exec_ext in '' $ac_executable_extensions; do
28062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28063 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28065 break 2
28066 fi
28067 done
28068 done
28069 IFS=$as_save_IFS
28070
28071 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28072 ;;
28073 esac
28074 fi
28075 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28076 if test -n "$PKG_CONFIG"; then
28077 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28078 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28079 else
28080 { echo "$as_me:$LINENO: result: no" >&5
28081 echo "${ECHO_T}no" >&6; }
28082 fi
28083
28084
28085
28086 if test x$PKG_CONFIG != xno ; then
28087 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28088 :
28089 else
28090 echo "*** pkg-config too old; version 0.7 or better required."
28091 no_gtk=yes
28092 PKG_CONFIG=no
28093 fi
28094 else
28095 no_gtk=yes
28096 fi
28097
28098 min_gtk_version=2.4.0
28099 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28100 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28101
28102 if test x$PKG_CONFIG != xno ; then
28103 ## don't try to run the test against uninstalled libtool libs
28104 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28105 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28106 enable_gtktest=no
28107 fi
28108
28109 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28110 :
28111 else
28112 no_gtk=yes
28113 fi
28114 fi
28115
28116 if test x"$no_gtk" = x ; then
28117 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28118 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28119 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28121 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28123 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28125 if test "x$enable_gtktest" = "xyes" ; then
28126 ac_save_CFLAGS="$CFLAGS"
28127 ac_save_LIBS="$LIBS"
28128 CFLAGS="$CFLAGS $GTK_CFLAGS"
28129 LIBS="$GTK_LIBS $LIBS"
28130 rm -f conf.gtktest
28131 if test "$cross_compiling" = yes; then
28132 echo $ac_n "cross compiling; assumed OK... $ac_c"
28133 else
28134 cat >conftest.$ac_ext <<_ACEOF
28135 /* confdefs.h. */
28136 _ACEOF
28137 cat confdefs.h >>conftest.$ac_ext
28138 cat >>conftest.$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28140
28141 #include <gtk/gtk.h>
28142 #include <stdio.h>
28143 #include <stdlib.h>
28144
28145 int
28146 main ()
28147 {
28148 int major, minor, micro;
28149 char *tmp_version;
28150
28151 system ("touch conf.gtktest");
28152
28153 /* HP/UX 9 (%@#!) writes to sscanf strings */
28154 tmp_version = g_strdup("$min_gtk_version");
28155 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28156 printf("%s, bad version string\n", "$min_gtk_version");
28157 exit(1);
28158 }
28159
28160 if ((gtk_major_version != $gtk_config_major_version) ||
28161 (gtk_minor_version != $gtk_config_minor_version) ||
28162 (gtk_micro_version != $gtk_config_micro_version))
28163 {
28164 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28165 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28166 gtk_major_version, gtk_minor_version, gtk_micro_version);
28167 printf ("*** was found! If pkg-config was correct, then it is best\n");
28168 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28169 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28170 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28171 printf("*** required on your system.\n");
28172 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28173 printf("*** to point to the correct configuration files\n");
28174 }
28175 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28176 (gtk_minor_version != GTK_MINOR_VERSION) ||
28177 (gtk_micro_version != GTK_MICRO_VERSION))
28178 {
28179 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28180 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28181 printf("*** library (version %d.%d.%d)\n",
28182 gtk_major_version, gtk_minor_version, gtk_micro_version);
28183 }
28184 else
28185 {
28186 if ((gtk_major_version > major) ||
28187 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28188 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28189 {
28190 return 0;
28191 }
28192 else
28193 {
28194 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28195 gtk_major_version, gtk_minor_version, gtk_micro_version);
28196 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28197 major, minor, micro);
28198 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28199 printf("***\n");
28200 printf("*** If you have already installed a sufficiently new version, this error\n");
28201 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28202 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28203 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28204 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28205 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28206 printf("*** so that the correct libraries are found at run-time))\n");
28207 }
28208 }
28209 return 1;
28210 }
28211
28212 _ACEOF
28213 rm -f conftest$ac_exeext
28214 if { (ac_try="$ac_link"
28215 case "(($ac_try" in
28216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28217 *) ac_try_echo=$ac_try;;
28218 esac
28219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28220 (eval "$ac_link") 2>&5
28221 ac_status=$?
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28224 { (case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28227 esac
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_try") 2>&5
28230 ac_status=$?
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; }; then
28233 :
28234 else
28235 echo "$as_me: program exited with status $ac_status" >&5
28236 echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28238
28239 ( exit $ac_status )
28240 no_gtk=yes
28241 fi
28242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28243 fi
28244
28245
28246 CFLAGS="$ac_save_CFLAGS"
28247 LIBS="$ac_save_LIBS"
28248 fi
28249 fi
28250 if test "x$no_gtk" = x ; then
28251 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28252 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28253 wx_cv_lib_gtk=2.0
28254 else
28255 { echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6; }
28257 if test "$PKG_CONFIG" = "no" ; then
28258 echo "*** A new enough version of pkg-config was not found."
28259 echo "*** See http://pkgconfig.sourceforge.net"
28260 else
28261 if test -f conf.gtktest ; then
28262 :
28263 else
28264 echo "*** Could not run GTK+ test program, checking why..."
28265 ac_save_CFLAGS="$CFLAGS"
28266 ac_save_LIBS="$LIBS"
28267 CFLAGS="$CFLAGS $GTK_CFLAGS"
28268 LIBS="$LIBS $GTK_LIBS"
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275
28276 #include <gtk/gtk.h>
28277 #include <stdio.h>
28278
28279 int
28280 main ()
28281 {
28282 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28283 ;
28284 return 0;
28285 }
28286 _ACEOF
28287 rm -f conftest.$ac_objext conftest$ac_exeext
28288 if { (ac_try="$ac_link"
28289 case "(($ac_try" in
28290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28291 *) ac_try_echo=$ac_try;;
28292 esac
28293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28294 (eval "$ac_link") 2>conftest.er1
28295 ac_status=$?
28296 grep -v '^ *+' conftest.er1 >conftest.err
28297 rm -f conftest.er1
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } && {
28301 test -z "$ac_c_werror_flag" ||
28302 test ! -s conftest.err
28303 } && test -s conftest$ac_exeext &&
28304 $as_test_x conftest$ac_exeext; then
28305 echo "*** The test program compiled, but did not run. This usually means"
28306 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28307 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28308 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28309 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28310 echo "*** is required on your system"
28311 echo "***"
28312 echo "*** If you have an old version installed, it is best to remove it, although"
28313 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28314 else
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28317
28318 echo "*** The test program failed to compile or link. See the file config.log for the"
28319 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28320 fi
28321
28322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28323 conftest$ac_exeext conftest.$ac_ext
28324 CFLAGS="$ac_save_CFLAGS"
28325 LIBS="$ac_save_LIBS"
28326 fi
28327 fi
28328 GTK_CFLAGS=""
28329 GTK_LIBS=""
28330 :
28331 fi
28332
28333
28334 rm -f conf.gtktest
28335
28336
28337 case "${host}" in
28338 *-*-solaris2* )
28339 if test "$wxUSE_SHARED" != "yes"; then
28340 GTK_LIBS="$GTK_LIBS -lX11"
28341 fi
28342 esac
28343 fi
28344
28345 if test -z "$wx_cv_lib_gtk"; then
28346 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28347
28348 # Check whether --with-gtk-prefix was given.
28349 if test "${with_gtk_prefix+set}" = set; then
28350 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28351 else
28352 gtk_config_prefix=""
28353 fi
28354
28355
28356 # Check whether --with-gtk-exec-prefix was given.
28357 if test "${with_gtk_exec_prefix+set}" = set; then
28358 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28359 else
28360 gtk_config_exec_prefix=""
28361 fi
28362
28363 # Check whether --enable-gtktest was given.
28364 if test "${enable_gtktest+set}" = set; then
28365 enableval=$enable_gtktest;
28366 else
28367 enable_gtktest=yes
28368 fi
28369
28370
28371 for module in . $GTK_MODULES
28372 do
28373 case "$module" in
28374 gthread)
28375 gtk_config_args="$gtk_config_args gthread"
28376 ;;
28377 esac
28378 done
28379
28380 if test x$gtk_config_exec_prefix != x ; then
28381 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28382 if test x${GTK_CONFIG+set} != xset ; then
28383 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28384 fi
28385 fi
28386 if test x$gtk_config_prefix != x ; then
28387 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28388 if test x${GTK_CONFIG+set} != xset ; then
28389 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28390 fi
28391 fi
28392
28393 # Extract the first word of "gtk-config", so it can be a program name with args.
28394 set dummy gtk-config; ac_word=$2
28395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28397 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28399 else
28400 case $GTK_CONFIG in
28401 [\\/]* | ?:[\\/]*)
28402 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28403 ;;
28404 *)
28405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28406 for as_dir in $PATH
28407 do
28408 IFS=$as_save_IFS
28409 test -z "$as_dir" && as_dir=.
28410 for ac_exec_ext in '' $ac_executable_extensions; do
28411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28412 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28414 break 2
28415 fi
28416 done
28417 done
28418 IFS=$as_save_IFS
28419
28420 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28421 ;;
28422 esac
28423 fi
28424 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28425 if test -n "$GTK_CONFIG"; then
28426 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28427 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28428 else
28429 { echo "$as_me:$LINENO: result: no" >&5
28430 echo "${ECHO_T}no" >&6; }
28431 fi
28432
28433
28434 min_gtk_version=1.2.7
28435 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28436 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28437 no_gtk=""
28438 if test "$GTK_CONFIG" = "no" ; then
28439 no_gtk=yes
28440 else
28441 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28442 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28443 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28445 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28447 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28449 if test "x$enable_gtktest" = "xyes" ; then
28450 ac_save_CFLAGS="$CFLAGS"
28451 ac_save_LIBS="$LIBS"
28452 CFLAGS="$CFLAGS $GTK_CFLAGS"
28453 LIBS="$GTK_LIBS $LIBS"
28454 rm -f conf.gtktest
28455 if test "$cross_compiling" = yes; then
28456 echo $ac_n "cross compiling; assumed OK... $ac_c"
28457 else
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464
28465 #include <gtk/gtk.h>
28466 #include <stdio.h>
28467 #include <stdlib.h>
28468
28469 int
28470 main ()
28471 {
28472 int major, minor, micro;
28473 char *tmp_version;
28474
28475 system ("touch conf.gtktest");
28476
28477 /* HP/UX 9 (%@#!) writes to sscanf strings */
28478 tmp_version = g_strdup("$min_gtk_version");
28479 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28480 printf("%s, bad version string\n", "$min_gtk_version");
28481 exit(1);
28482 }
28483
28484 if ((gtk_major_version != $gtk_config_major_version) ||
28485 (gtk_minor_version != $gtk_config_minor_version) ||
28486 (gtk_micro_version != $gtk_config_micro_version))
28487 {
28488 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28489 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28490 gtk_major_version, gtk_minor_version, gtk_micro_version);
28491 printf ("*** was found! If gtk-config was correct, then it is best\n");
28492 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28493 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28494 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28495 printf("*** required on your system.\n");
28496 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28497 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28498 printf("*** before re-running configure\n");
28499 }
28500 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28501 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28502 (gtk_minor_version != GTK_MINOR_VERSION) ||
28503 (gtk_micro_version != GTK_MICRO_VERSION))
28504 {
28505 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28506 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28507 printf("*** library (version %d.%d.%d)\n",
28508 gtk_major_version, gtk_minor_version, gtk_micro_version);
28509 }
28510 #endif /* defined (GTK_MAJOR_VERSION) ... */
28511 else
28512 {
28513 if ((gtk_major_version > major) ||
28514 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28515 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28516 {
28517 return 0;
28518 }
28519 else
28520 {
28521 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28522 gtk_major_version, gtk_minor_version, gtk_micro_version);
28523 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28524 major, minor, micro);
28525 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28526 printf("***\n");
28527 printf("*** If you have already installed a sufficiently new version, this error\n");
28528 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28529 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28530 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28531 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28532 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28533 printf("*** so that the correct libraries are found at run-time))\n");
28534 }
28535 }
28536 return 1;
28537 }
28538
28539 _ACEOF
28540 rm -f conftest$ac_exeext
28541 if { (ac_try="$ac_link"
28542 case "(($ac_try" in
28543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28544 *) ac_try_echo=$ac_try;;
28545 esac
28546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28547 (eval "$ac_link") 2>&5
28548 ac_status=$?
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28551 { (case "(($ac_try" in
28552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28553 *) ac_try_echo=$ac_try;;
28554 esac
28555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28556 (eval "$ac_try") 2>&5
28557 ac_status=$?
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; }; then
28560 :
28561 else
28562 echo "$as_me: program exited with status $ac_status" >&5
28563 echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.$ac_ext >&5
28565
28566 ( exit $ac_status )
28567 no_gtk=yes
28568 fi
28569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28570 fi
28571
28572
28573 CFLAGS="$ac_save_CFLAGS"
28574 LIBS="$ac_save_LIBS"
28575 fi
28576 fi
28577 if test "x$no_gtk" = x ; then
28578 { echo "$as_me:$LINENO: result: yes" >&5
28579 echo "${ECHO_T}yes" >&6; }
28580 wx_cv_lib_gtk=1.2.7
28581 else
28582 { echo "$as_me:$LINENO: result: no" >&5
28583 echo "${ECHO_T}no" >&6; }
28584 if test "$GTK_CONFIG" = "no" ; then
28585 echo "*** The gtk-config script installed by GTK could not be found"
28586 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28587 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28588 echo "*** full path to gtk-config."
28589 else
28590 if test -f conf.gtktest ; then
28591 :
28592 else
28593 echo "*** Could not run GTK test program, checking why..."
28594 CFLAGS="$CFLAGS $GTK_CFLAGS"
28595 LIBS="$LIBS $GTK_LIBS"
28596 cat >conftest.$ac_ext <<_ACEOF
28597 /* confdefs.h. */
28598 _ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28602
28603 #include <gtk/gtk.h>
28604 #include <stdio.h>
28605
28606 int
28607 main ()
28608 {
28609 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28610 ;
28611 return 0;
28612 }
28613 _ACEOF
28614 rm -f conftest.$ac_objext conftest$ac_exeext
28615 if { (ac_try="$ac_link"
28616 case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28619 esac
28620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_link") 2>conftest.er1
28622 ac_status=$?
28623 grep -v '^ *+' conftest.er1 >conftest.err
28624 rm -f conftest.er1
28625 cat conftest.err >&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); } && {
28628 test -z "$ac_c_werror_flag" ||
28629 test ! -s conftest.err
28630 } && test -s conftest$ac_exeext &&
28631 $as_test_x conftest$ac_exeext; then
28632 echo "*** The test program compiled, but did not run. This usually means"
28633 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28634 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28637 echo "*** is required on your system"
28638 echo "***"
28639 echo "*** If you have an old version installed, it is best to remove it, although"
28640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28641 echo "***"
28642 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28643 echo "*** came with the system with the command"
28644 echo "***"
28645 echo "*** rpm --erase --nodeps gtk gtk-devel"
28646 else
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.$ac_ext >&5
28649
28650 echo "*** The test program failed to compile or link. See the file config.log for the"
28651 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28652 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28653 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28654 fi
28655
28656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28657 conftest$ac_exeext conftest.$ac_ext
28658 CFLAGS="$ac_save_CFLAGS"
28659 LIBS="$ac_save_LIBS"
28660 fi
28661 fi
28662 GTK_CFLAGS=""
28663 GTK_LIBS=""
28664 :
28665 fi
28666
28667
28668 rm -f conf.gtktest
28669
28670
28671 if test -z "$wx_cv_lib_gtk"; then
28672
28673 # Check whether --with-gtk-prefix was given.
28674 if test "${with_gtk_prefix+set}" = set; then
28675 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28676 else
28677 gtk_config_prefix=""
28678 fi
28679
28680
28681 # Check whether --with-gtk-exec-prefix was given.
28682 if test "${with_gtk_exec_prefix+set}" = set; then
28683 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28684 else
28685 gtk_config_exec_prefix=""
28686 fi
28687
28688 # Check whether --enable-gtktest was given.
28689 if test "${enable_gtktest+set}" = set; then
28690 enableval=$enable_gtktest;
28691 else
28692 enable_gtktest=yes
28693 fi
28694
28695
28696 for module in . $GTK_MODULES
28697 do
28698 case "$module" in
28699 gthread)
28700 gtk_config_args="$gtk_config_args gthread"
28701 ;;
28702 esac
28703 done
28704
28705 if test x$gtk_config_exec_prefix != x ; then
28706 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28707 if test x${GTK_CONFIG+set} != xset ; then
28708 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28709 fi
28710 fi
28711 if test x$gtk_config_prefix != x ; then
28712 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28713 if test x${GTK_CONFIG+set} != xset ; then
28714 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28715 fi
28716 fi
28717
28718 # Extract the first word of "gtk-config", so it can be a program name with args.
28719 set dummy gtk-config; ac_word=$2
28720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28722 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28723 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 else
28725 case $GTK_CONFIG in
28726 [\\/]* | ?:[\\/]*)
28727 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28728 ;;
28729 *)
28730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28731 for as_dir in $PATH
28732 do
28733 IFS=$as_save_IFS
28734 test -z "$as_dir" && as_dir=.
28735 for ac_exec_ext in '' $ac_executable_extensions; do
28736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28737 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28739 break 2
28740 fi
28741 done
28742 done
28743 IFS=$as_save_IFS
28744
28745 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28746 ;;
28747 esac
28748 fi
28749 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28750 if test -n "$GTK_CONFIG"; then
28751 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28752 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28753 else
28754 { echo "$as_me:$LINENO: result: no" >&5
28755 echo "${ECHO_T}no" >&6; }
28756 fi
28757
28758
28759 min_gtk_version=1.2.3
28760 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28761 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28762 no_gtk=""
28763 if test "$GTK_CONFIG" = "no" ; then
28764 no_gtk=yes
28765 else
28766 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28767 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28768 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28770 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28772 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28774 if test "x$enable_gtktest" = "xyes" ; then
28775 ac_save_CFLAGS="$CFLAGS"
28776 ac_save_LIBS="$LIBS"
28777 CFLAGS="$CFLAGS $GTK_CFLAGS"
28778 LIBS="$GTK_LIBS $LIBS"
28779 rm -f conf.gtktest
28780 if test "$cross_compiling" = yes; then
28781 echo $ac_n "cross compiling; assumed OK... $ac_c"
28782 else
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789
28790 #include <gtk/gtk.h>
28791 #include <stdio.h>
28792 #include <stdlib.h>
28793
28794 int
28795 main ()
28796 {
28797 int major, minor, micro;
28798 char *tmp_version;
28799
28800 system ("touch conf.gtktest");
28801
28802 /* HP/UX 9 (%@#!) writes to sscanf strings */
28803 tmp_version = g_strdup("$min_gtk_version");
28804 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28805 printf("%s, bad version string\n", "$min_gtk_version");
28806 exit(1);
28807 }
28808
28809 if ((gtk_major_version != $gtk_config_major_version) ||
28810 (gtk_minor_version != $gtk_config_minor_version) ||
28811 (gtk_micro_version != $gtk_config_micro_version))
28812 {
28813 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28814 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28815 gtk_major_version, gtk_minor_version, gtk_micro_version);
28816 printf ("*** was found! If gtk-config was correct, then it is best\n");
28817 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28818 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28819 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28820 printf("*** required on your system.\n");
28821 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28822 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28823 printf("*** before re-running configure\n");
28824 }
28825 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28826 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28827 (gtk_minor_version != GTK_MINOR_VERSION) ||
28828 (gtk_micro_version != GTK_MICRO_VERSION))
28829 {
28830 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28831 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28832 printf("*** library (version %d.%d.%d)\n",
28833 gtk_major_version, gtk_minor_version, gtk_micro_version);
28834 }
28835 #endif /* defined (GTK_MAJOR_VERSION) ... */
28836 else
28837 {
28838 if ((gtk_major_version > major) ||
28839 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28840 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28841 {
28842 return 0;
28843 }
28844 else
28845 {
28846 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28847 gtk_major_version, gtk_minor_version, gtk_micro_version);
28848 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28849 major, minor, micro);
28850 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28851 printf("***\n");
28852 printf("*** If you have already installed a sufficiently new version, this error\n");
28853 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28854 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28855 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28856 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28857 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28858 printf("*** so that the correct libraries are found at run-time))\n");
28859 }
28860 }
28861 return 1;
28862 }
28863
28864 _ACEOF
28865 rm -f conftest$ac_exeext
28866 if { (ac_try="$ac_link"
28867 case "(($ac_try" in
28868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28869 *) ac_try_echo=$ac_try;;
28870 esac
28871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28872 (eval "$ac_link") 2>&5
28873 ac_status=$?
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28876 { (case "(($ac_try" in
28877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28878 *) ac_try_echo=$ac_try;;
28879 esac
28880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28881 (eval "$ac_try") 2>&5
28882 ac_status=$?
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 :
28886 else
28887 echo "$as_me: program exited with status $ac_status" >&5
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ( exit $ac_status )
28892 no_gtk=yes
28893 fi
28894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28895 fi
28896
28897
28898 CFLAGS="$ac_save_CFLAGS"
28899 LIBS="$ac_save_LIBS"
28900 fi
28901 fi
28902 if test "x$no_gtk" = x ; then
28903 { echo "$as_me:$LINENO: result: yes" >&5
28904 echo "${ECHO_T}yes" >&6; }
28905 wx_cv_lib_gtk=1.2.3
28906 else
28907 { echo "$as_me:$LINENO: result: no" >&5
28908 echo "${ECHO_T}no" >&6; }
28909 if test "$GTK_CONFIG" = "no" ; then
28910 echo "*** The gtk-config script installed by GTK could not be found"
28911 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28912 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28913 echo "*** full path to gtk-config."
28914 else
28915 if test -f conf.gtktest ; then
28916 :
28917 else
28918 echo "*** Could not run GTK test program, checking why..."
28919 CFLAGS="$CFLAGS $GTK_CFLAGS"
28920 LIBS="$LIBS $GTK_LIBS"
28921 cat >conftest.$ac_ext <<_ACEOF
28922 /* confdefs.h. */
28923 _ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28927
28928 #include <gtk/gtk.h>
28929 #include <stdio.h>
28930
28931 int
28932 main ()
28933 {
28934 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28935 ;
28936 return 0;
28937 }
28938 _ACEOF
28939 rm -f conftest.$ac_objext conftest$ac_exeext
28940 if { (ac_try="$ac_link"
28941 case "(($ac_try" in
28942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28943 *) ac_try_echo=$ac_try;;
28944 esac
28945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28946 (eval "$ac_link") 2>conftest.er1
28947 ac_status=$?
28948 grep -v '^ *+' conftest.er1 >conftest.err
28949 rm -f conftest.er1
28950 cat conftest.err >&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } && {
28953 test -z "$ac_c_werror_flag" ||
28954 test ! -s conftest.err
28955 } && test -s conftest$ac_exeext &&
28956 $as_test_x conftest$ac_exeext; then
28957 echo "*** The test program compiled, but did not run. This usually means"
28958 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28959 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28960 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28961 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28962 echo "*** is required on your system"
28963 echo "***"
28964 echo "*** If you have an old version installed, it is best to remove it, although"
28965 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28966 echo "***"
28967 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28968 echo "*** came with the system with the command"
28969 echo "***"
28970 echo "*** rpm --erase --nodeps gtk gtk-devel"
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975 echo "*** The test program failed to compile or link. See the file config.log for the"
28976 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28977 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28978 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28979 fi
28980
28981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28982 conftest$ac_exeext conftest.$ac_ext
28983 CFLAGS="$ac_save_CFLAGS"
28984 LIBS="$ac_save_LIBS"
28985 fi
28986 fi
28987 GTK_CFLAGS=""
28988 GTK_LIBS=""
28989 :
28990 fi
28991
28992
28993 rm -f conf.gtktest
28994
28995 fi
28996 fi
28997 fi
28998
28999 if test -z "$wx_cv_lib_gtk"; then
29000 wx_cv_lib_gtk=none
29001 else
29002 wx_cv_cflags_gtk=$GTK_CFLAGS
29003 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29004 fi
29005
29006
29007 fi
29008
29009
29010 if test "$gtk_version_cached" = 1; then
29011 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29012 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29013 fi
29014
29015 case "$wx_cv_lib_gtk" in
29016 2.0) WXGTK2=1
29017 TOOLKIT_VERSION=2
29018 ;;
29019 1.2.7) WXGTK127=1
29020 WXGTK12=1
29021 ;;
29022 1.2.3) WXGTK12=1
29023 ;;
29024 *) { { echo "$as_me:$LINENO: error:
29025 The development files for GTK+ were not found. For GTK+ 2, please
29026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29028 and that the version is 1.2.3 or above. Also check that the
29029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29030 --libs' are in the LD_LIBRARY_PATH or equivalent.
29031 " >&5
29032 echo "$as_me: error:
29033 The development files for GTK+ were not found. For GTK+ 2, please
29034 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29035 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29036 and that the version is 1.2.3 or above. Also check that the
29037 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29038 --libs' are in the LD_LIBRARY_PATH or equivalent.
29039 " >&2;}
29040 { (exit 1); exit 1; }; }
29041 ;;
29042 esac
29043
29044 if test "$WXGTK2" = 1; then
29045 save_CFLAGS="$CFLAGS"
29046 save_LIBS="$LIBS"
29047 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29048 LIBS="$LIBS $wx_cv_libs_gtk"
29049
29050 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29051 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29052 cat >conftest.$ac_ext <<_ACEOF
29053 /* confdefs.h. */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058
29059 #include <gtk/gtk.h>
29060
29061 int
29062 main ()
29063 {
29064
29065 #if !GTK_CHECK_VERSION(2,10,0)
29066 Not GTK+ 2.10
29067 #endif
29068
29069 ;
29070 return 0;
29071 }
29072 _ACEOF
29073 rm -f conftest.$ac_objext
29074 if { (ac_try="$ac_compile"
29075 case "(($ac_try" in
29076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29077 *) ac_try_echo=$ac_try;;
29078 esac
29079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29080 (eval "$ac_compile") 2>conftest.er1
29081 ac_status=$?
29082 grep -v '^ *+' conftest.er1 >conftest.err
29083 rm -f conftest.er1
29084 cat conftest.err >&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && {
29087 test -z "$ac_c_werror_flag" ||
29088 test ! -s conftest.err
29089 } && test -s conftest.$ac_objext; then
29090
29091 cat >>confdefs.h <<\_ACEOF
29092 #define __WXGTK210__ 1
29093 _ACEOF
29094
29095 cat >>confdefs.h <<\_ACEOF
29096 #define __WXGTK26__ 1
29097 _ACEOF
29098
29099 { echo "$as_me:$LINENO: result: yes" >&5
29100 echo "${ECHO_T}yes" >&6; }
29101 ac_wxgtk210=1
29102
29103 else
29104 echo "$as_me: failed program was:" >&5
29105 sed 's/^/| /' conftest.$ac_ext >&5
29106
29107
29108 { echo "$as_me:$LINENO: result: no" >&5
29109 echo "${ECHO_T}no" >&6; }
29110 ac_wxgtk210=0
29111
29112 fi
29113
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29115
29116 if test "$ac_wxgtk210" = 0; then
29117 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29118 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125
29126 #include <gtk/gtk.h>
29127
29128 int
29129 main ()
29130 {
29131
29132 #if !GTK_CHECK_VERSION(2,6,0)
29133 Not GTK+ 2.6
29134 #endif
29135
29136 ;
29137 return 0;
29138 }
29139 _ACEOF
29140 rm -f conftest.$ac_objext
29141 if { (ac_try="$ac_compile"
29142 case "(($ac_try" in
29143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144 *) ac_try_echo=$ac_try;;
29145 esac
29146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29147 (eval "$ac_compile") 2>conftest.er1
29148 ac_status=$?
29149 grep -v '^ *+' conftest.er1 >conftest.err
29150 rm -f conftest.er1
29151 cat conftest.err >&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); } && {
29154 test -z "$ac_c_werror_flag" ||
29155 test ! -s conftest.err
29156 } && test -s conftest.$ac_objext; then
29157
29158 cat >>confdefs.h <<\_ACEOF
29159 #define __WXGTK26__ 1
29160 _ACEOF
29161
29162 { echo "$as_me:$LINENO: result: yes" >&5
29163 echo "${ECHO_T}yes" >&6; }
29164 ac_wxgtk26=1
29165
29166 else
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170
29171 { echo "$as_me:$LINENO: result: no" >&5
29172 echo "${ECHO_T}no" >&6; }
29173 ac_wxgtk26=0
29174
29175 fi
29176
29177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29178 fi
29179
29180 CFLAGS="$save_CFLAGS"
29181 LIBS="$save_LIBS"
29182 else
29183 if test "$wxUSE_UNICODE" = "yes"; then
29184 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29185 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29186 wxUSE_UNICODE=no
29187 fi
29188
29189 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29190 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29191 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29193 else
29194 ac_check_lib_save_LIBS=$LIBS
29195 LIBS="-lgdk $LIBS"
29196 cat >conftest.$ac_ext <<_ACEOF
29197 /* confdefs.h. */
29198 _ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29202
29203 /* Override any GCC internal prototype to avoid an error.
29204 Use char because int might match the return type of a GCC
29205 builtin and then its argument prototype would still apply. */
29206 #ifdef __cplusplus
29207 extern "C"
29208 #endif
29209 char gdk_im_open ();
29210 int
29211 main ()
29212 {
29213 return gdk_im_open ();
29214 ;
29215 return 0;
29216 }
29217 _ACEOF
29218 rm -f conftest.$ac_objext conftest$ac_exeext
29219 if { (ac_try="$ac_link"
29220 case "(($ac_try" in
29221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29222 *) ac_try_echo=$ac_try;;
29223 esac
29224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29225 (eval "$ac_link") 2>conftest.er1
29226 ac_status=$?
29227 grep -v '^ *+' conftest.er1 >conftest.err
29228 rm -f conftest.er1
29229 cat conftest.err >&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } && {
29232 test -z "$ac_c_werror_flag" ||
29233 test ! -s conftest.err
29234 } && test -s conftest$ac_exeext &&
29235 $as_test_x conftest$ac_exeext; then
29236 ac_cv_lib_gdk_gdk_im_open=yes
29237 else
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29240
29241 ac_cv_lib_gdk_gdk_im_open=no
29242 fi
29243
29244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29245 conftest$ac_exeext conftest.$ac_ext
29246 LIBS=$ac_check_lib_save_LIBS
29247 fi
29248 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29249 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29250 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29251 cat >>confdefs.h <<\_ACEOF
29252 #define HAVE_XIM 1
29253 _ACEOF
29254
29255 fi
29256
29257
29258 if test "$USE_DARWIN" != 1; then
29259
29260 for ac_func in poll
29261 do
29262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268 cat >conftest.$ac_ext <<_ACEOF
29269 /* confdefs.h. */
29270 _ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29276 #define $ac_func innocuous_$ac_func
29277
29278 /* System header to define __stub macros and hopefully few prototypes,
29279 which can conflict with char $ac_func (); below.
29280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29281 <limits.h> exists even on freestanding compilers. */
29282
29283 #ifdef __STDC__
29284 # include <limits.h>
29285 #else
29286 # include <assert.h>
29287 #endif
29288
29289 #undef $ac_func
29290
29291 /* Override any GCC internal prototype to avoid an error.
29292 Use char because int might match the return type of a GCC
29293 builtin and then its argument prototype would still apply. */
29294 #ifdef __cplusplus
29295 extern "C"
29296 #endif
29297 char $ac_func ();
29298 /* The GNU C library defines this for functions which it implements
29299 to always fail with ENOSYS. Some functions are actually named
29300 something starting with __ and the normal name is an alias. */
29301 #if defined __stub_$ac_func || defined __stub___$ac_func
29302 choke me
29303 #endif
29304
29305 int
29306 main ()
29307 {
29308 return $ac_func ();
29309 ;
29310 return 0;
29311 }
29312 _ACEOF
29313 rm -f conftest.$ac_objext conftest$ac_exeext
29314 if { (ac_try="$ac_link"
29315 case "(($ac_try" in
29316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29317 *) ac_try_echo=$ac_try;;
29318 esac
29319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29320 (eval "$ac_link") 2>conftest.er1
29321 ac_status=$?
29322 grep -v '^ *+' conftest.er1 >conftest.err
29323 rm -f conftest.er1
29324 cat conftest.err >&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } && {
29327 test -z "$ac_c_werror_flag" ||
29328 test ! -s conftest.err
29329 } && test -s conftest$ac_exeext &&
29330 $as_test_x conftest$ac_exeext; then
29331 eval "$as_ac_var=yes"
29332 else
29333 echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.$ac_ext >&5
29335
29336 eval "$as_ac_var=no"
29337 fi
29338
29339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29340 conftest$ac_exeext conftest.$ac_ext
29341 fi
29342 ac_res=`eval echo '${'$as_ac_var'}'`
29343 { echo "$as_me:$LINENO: result: $ac_res" >&5
29344 echo "${ECHO_T}$ac_res" >&6; }
29345 if test `eval echo '${'$as_ac_var'}'` = yes; then
29346 cat >>confdefs.h <<_ACEOF
29347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29348 _ACEOF
29349
29350 fi
29351 done
29352
29353 fi
29354 fi
29355
29356 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29357 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29358
29359 AFMINSTALL=afminstall
29360 TOOLKIT=GTK
29361 GUIDIST=GTK_DIST
29362
29363 if test "$wxUSE_GPE" = "yes"; then
29364 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29365 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29366
29367 ac_find_libraries=
29368 for ac_dir in $SEARCH_LIB;
29369 do
29370 for ac_extension in a so sl dylib dll.a; do
29371 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29372 ac_find_libraries=$ac_dir
29373 break 2
29374 fi
29375 done
29376 done
29377
29378 if test "$ac_find_libraries" != "" ; then
29379
29380 if test "$ac_find_libraries" = "default location"; then
29381 ac_path_to_link=""
29382 else
29383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29384 result=$?
29385 if test $result = 0; then
29386 ac_path_to_link=""
29387 else
29388 ac_path_to_link=" -L$ac_find_libraries"
29389 fi
29390 fi
29391
29392 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29393 WXGPE=1
29394 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29395 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29396 else
29397 { echo "$as_me:$LINENO: result: not found" >&5
29398 echo "${ECHO_T}not found" >&6; }
29399 fi
29400
29401 fi
29402 fi
29403
29404 if test "$wxUSE_MGL" = 1; then
29405 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29406 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29407 if test "x$MGL_ROOT" = x ; then
29408 { echo "$as_me:$LINENO: result: not found" >&5
29409 echo "${ECHO_T}not found" >&6; }
29410 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29411 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29412 { (exit 1); exit 1; }; }
29413 else
29414 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29415 echo "${ECHO_T}$MGL_ROOT" >&6; }
29416 fi
29417
29418 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29419 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29420 case "${host}" in
29421 *-*-linux* )
29422 if test "x$wxUSE_SHARED" = xyes ; then
29423 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29424 else
29425 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29426 fi
29427 ;;
29428 *-pc-msdosdjgpp )
29429 mgl_os_candidates="dos32/dj2"
29430 ;;
29431 *)
29432 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29433 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29434 { (exit 1); exit 1; }; }
29435 esac
29436
29437 mgl_lib_type=""
29438 mgl_os=""
29439
29440 for mgl_os_i in $mgl_os_candidates ; do
29441 if test "x$mgl_os" = x ; then
29442 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29443 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29444 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29445 mgl_lib_type=debug
29446 mgl_os=$mgl_os_i
29447 fi
29448 fi
29449 if test "x$mgl_lib_type" = x ; then
29450 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29451 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29452 mgl_lib_type=release
29453 mgl_os=$mgl_os_i
29454 fi
29455 fi
29456 fi
29457 done
29458
29459 if test "x$mgl_os" = x ; then
29460 { echo "$as_me:$LINENO: result: not found" >&5
29461 echo "${ECHO_T}not found" >&6; }
29462 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29463 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29464 { (exit 1); exit 1; }; }
29465 fi
29466 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29467 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29468
29469 wxUSE_UNIVERSAL="yes"
29470
29471 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29472 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29473
29474 AFMINSTALL=afminstall
29475 TOOLKIT=MGL
29476 GUIDIST=MGL_DIST
29477 fi
29478
29479 if test "$wxUSE_DFB" = 1; then
29480
29481
29482 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29483 if test -n "$ac_tool_prefix"; then
29484 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29485 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29488 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 else
29491 case $PKG_CONFIG in
29492 [\\/]* | ?:[\\/]*)
29493 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29494 ;;
29495 *)
29496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29497 for as_dir in $PATH
29498 do
29499 IFS=$as_save_IFS
29500 test -z "$as_dir" && as_dir=.
29501 for ac_exec_ext in '' $ac_executable_extensions; do
29502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29503 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29505 break 2
29506 fi
29507 done
29508 done
29509 IFS=$as_save_IFS
29510
29511 ;;
29512 esac
29513 fi
29514 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29515 if test -n "$PKG_CONFIG"; then
29516 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29517 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29518 else
29519 { echo "$as_me:$LINENO: result: no" >&5
29520 echo "${ECHO_T}no" >&6; }
29521 fi
29522
29523
29524 fi
29525 if test -z "$ac_cv_path_PKG_CONFIG"; then
29526 ac_pt_PKG_CONFIG=$PKG_CONFIG
29527 # Extract the first word of "pkg-config", so it can be a program name with args.
29528 set dummy pkg-config; ac_word=$2
29529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29531 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29532 echo $ECHO_N "(cached) $ECHO_C" >&6
29533 else
29534 case $ac_pt_PKG_CONFIG in
29535 [\\/]* | ?:[\\/]*)
29536 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29537 ;;
29538 *)
29539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29540 for as_dir in $PATH
29541 do
29542 IFS=$as_save_IFS
29543 test -z "$as_dir" && as_dir=.
29544 for ac_exec_ext in '' $ac_executable_extensions; do
29545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29546 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29548 break 2
29549 fi
29550 done
29551 done
29552 IFS=$as_save_IFS
29553
29554 ;;
29555 esac
29556 fi
29557 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29558 if test -n "$ac_pt_PKG_CONFIG"; then
29559 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29560 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29561 else
29562 { echo "$as_me:$LINENO: result: no" >&5
29563 echo "${ECHO_T}no" >&6; }
29564 fi
29565
29566 if test "x$ac_pt_PKG_CONFIG" = x; then
29567 PKG_CONFIG=""
29568 else
29569 case $cross_compiling:$ac_tool_warned in
29570 yes:)
29571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29572 whose name does not start with the host triplet. If you think this
29573 configuration is useful to you, please write to autoconf@gnu.org." >&5
29574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29575 whose name does not start with the host triplet. If you think this
29576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29577 ac_tool_warned=yes ;;
29578 esac
29579 PKG_CONFIG=$ac_pt_PKG_CONFIG
29580 fi
29581 else
29582 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29583 fi
29584
29585 fi
29586 if test -n "$PKG_CONFIG"; then
29587 _pkg_min_version=0.9.0
29588 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29589 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29590 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29591 { echo "$as_me:$LINENO: result: yes" >&5
29592 echo "${ECHO_T}yes" >&6; }
29593 else
29594 { echo "$as_me:$LINENO: result: no" >&5
29595 echo "${ECHO_T}no" >&6; }
29596 PKG_CONFIG=""
29597 fi
29598
29599 fi
29600
29601
29602 pkg_failed=no
29603 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29604 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29605
29606 if test -n "$PKG_CONFIG"; then
29607 if test -n "$DIRECTFB_CFLAGS"; then
29608 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29609 else
29610 if test -n "$PKG_CONFIG" && \
29611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29612 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29613 ac_status=$?
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; then
29616 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29617 else
29618 pkg_failed=yes
29619 fi
29620 fi
29621 else
29622 pkg_failed=untried
29623 fi
29624 if test -n "$PKG_CONFIG"; then
29625 if test -n "$DIRECTFB_LIBS"; then
29626 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29627 else
29628 if test -n "$PKG_CONFIG" && \
29629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29630 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29631 ac_status=$?
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); }; then
29634 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29635 else
29636 pkg_failed=yes
29637 fi
29638 fi
29639 else
29640 pkg_failed=untried
29641 fi
29642
29643
29644
29645 if test $pkg_failed = yes; then
29646
29647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29648 _pkg_short_errors_supported=yes
29649 else
29650 _pkg_short_errors_supported=no
29651 fi
29652 if test $_pkg_short_errors_supported = yes; then
29653 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29654 else
29655 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29656 fi
29657 # Put the nasty error message in config.log where it belongs
29658 echo "$DIRECTFB_PKG_ERRORS" >&5
29659
29660
29661 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29662 echo "$as_me: error: DirectFB not found." >&2;}
29663 { (exit 1); exit 1; }; }
29664
29665
29666 elif test $pkg_failed = untried; then
29667
29668 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29669 echo "$as_me: error: DirectFB not found." >&2;}
29670 { (exit 1); exit 1; }; }
29671
29672
29673 else
29674 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29675 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29676 { echo "$as_me:$LINENO: result: yes" >&5
29677 echo "${ECHO_T}yes" >&6; }
29678
29679 wxUSE_UNIVERSAL="yes"
29680 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29681 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29682 TOOLKIT=DFB
29683 GUIDIST=DFB_DIST
29684
29685 fi
29686 fi
29687
29688 if test "$wxUSE_MICROWIN" = 1; then
29689 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29690 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29691 if test "x$MICROWINDOWS" = x ; then
29692 { echo "$as_me:$LINENO: result: not found" >&5
29693 echo "${ECHO_T}not found" >&6; }
29694 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29695 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29696 { (exit 1); exit 1; }; }
29697 else
29698 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29699 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29700 fi
29701
29702 if test -f $MICROWINDOWS/lib/libmwin.a; then
29703 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29704 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29705 else
29706 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29707 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29708 { (exit 1); exit 1; }; }
29709 fi
29710
29711 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29712 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29713
29714 wxUSE_UNIVERSAL="yes"
29715
29716 AFMINSTALL=afminstall
29717 TOOLKIT=MICROWIN
29718 GUIDIST=MICROWIN_DIST
29719
29720 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29721 fi
29722
29723 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29724 { echo "$as_me:$LINENO: checking for X" >&5
29725 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29726
29727
29728 # Check whether --with-x was given.
29729 if test "${with_x+set}" = set; then
29730 withval=$with_x;
29731 fi
29732
29733 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29734 if test "x$with_x" = xno; then
29735 # The user explicitly disabled X.
29736 have_x=disabled
29737 else
29738 case $x_includes,$x_libraries in #(
29739 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29740 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29741 { (exit 1); exit 1; }; };; #(
29742 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 else
29745 # One or both of the vars are not set, and there is no cached value.
29746 ac_x_includes=no ac_x_libraries=no
29747 rm -f -r conftest.dir
29748 if mkdir conftest.dir; then
29749 cd conftest.dir
29750 cat >Imakefile <<'_ACEOF'
29751 incroot:
29752 @echo incroot='${INCROOT}'
29753 usrlibdir:
29754 @echo usrlibdir='${USRLIBDIR}'
29755 libdir:
29756 @echo libdir='${LIBDIR}'
29757 _ACEOF
29758 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29760 for ac_var in incroot usrlibdir libdir; do
29761 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29762 done
29763 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29764 for ac_extension in a so sl; do
29765 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29766 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29767 ac_im_usrlibdir=$ac_im_libdir; break
29768 fi
29769 done
29770 # Screen out bogus values from the imake configuration. They are
29771 # bogus both because they are the default anyway, and because
29772 # using them would break gcc on systems where it needs fixed includes.
29773 case $ac_im_incroot in
29774 /usr/include) ac_x_includes= ;;
29775 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29776 esac
29777 case $ac_im_usrlibdir in
29778 /usr/lib | /lib) ;;
29779 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29780 esac
29781 fi
29782 cd ..
29783 rm -f -r conftest.dir
29784 fi
29785
29786 # Standard set of common directories for X headers.
29787 # Check X11 before X11Rn because it is often a symlink to the current release.
29788 ac_x_header_dirs='
29789 /usr/X11/include
29790 /usr/X11R6/include
29791 /usr/X11R5/include
29792 /usr/X11R4/include
29793
29794 /usr/include/X11
29795 /usr/include/X11R6
29796 /usr/include/X11R5
29797 /usr/include/X11R4
29798
29799 /usr/local/X11/include
29800 /usr/local/X11R6/include
29801 /usr/local/X11R5/include
29802 /usr/local/X11R4/include
29803
29804 /usr/local/include/X11
29805 /usr/local/include/X11R6
29806 /usr/local/include/X11R5
29807 /usr/local/include/X11R4
29808
29809 /usr/X386/include
29810 /usr/x386/include
29811 /usr/XFree86/include/X11
29812
29813 /usr/include
29814 /usr/local/include
29815 /usr/unsupported/include
29816 /usr/athena/include
29817 /usr/local/x11r5/include
29818 /usr/lpp/Xamples/include
29819
29820 /usr/openwin/include
29821 /usr/openwin/share/include'
29822
29823 if test "$ac_x_includes" = no; then
29824 # Guess where to find include files, by looking for Xlib.h.
29825 # First, try using that file with no special directory specified.
29826 cat >conftest.$ac_ext <<_ACEOF
29827 /* confdefs.h. */
29828 _ACEOF
29829 cat confdefs.h >>conftest.$ac_ext
29830 cat >>conftest.$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29832 #include <X11/Xlib.h>
29833 _ACEOF
29834 if { (ac_try="$ac_cpp conftest.$ac_ext"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29838 esac
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29841 ac_status=$?
29842 grep -v '^ *+' conftest.er1 >conftest.err
29843 rm -f conftest.er1
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); } >/dev/null && {
29847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29848 test ! -s conftest.err
29849 }; then
29850 # We can compile using X headers with no special include directory.
29851 ac_x_includes=
29852 else
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29855
29856 for ac_dir in $ac_x_header_dirs; do
29857 if test -r "$ac_dir/X11/Xlib.h"; then
29858 ac_x_includes=$ac_dir
29859 break
29860 fi
29861 done
29862 fi
29863
29864 rm -f conftest.err conftest.$ac_ext
29865 fi # $ac_x_includes = no
29866
29867 if test "$ac_x_libraries" = no; then
29868 # Check for the libraries.
29869 # See if we find them without any special options.
29870 # Don't add to $LIBS permanently.
29871 ac_save_LIBS=$LIBS
29872 LIBS="-lX11 $LIBS"
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 #include <X11/Xlib.h>
29880 int
29881 main ()
29882 {
29883 XrmInitialize ()
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 rm -f conftest.$ac_objext conftest$ac_exeext
29889 if { (ac_try="$ac_link"
29890 case "(($ac_try" in
29891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29892 *) ac_try_echo=$ac_try;;
29893 esac
29894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29895 (eval "$ac_link") 2>conftest.er1
29896 ac_status=$?
29897 grep -v '^ *+' conftest.er1 >conftest.err
29898 rm -f conftest.er1
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } && {
29902 test -z "$ac_c_werror_flag" ||
29903 test ! -s conftest.err
29904 } && test -s conftest$ac_exeext &&
29905 $as_test_x conftest$ac_exeext; then
29906 LIBS=$ac_save_LIBS
29907 # We can link X programs with no special library path.
29908 ac_x_libraries=
29909 else
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29912
29913 LIBS=$ac_save_LIBS
29914 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29915 do
29916 # Don't even attempt the hair of trying to link an X program!
29917 for ac_extension in a so sl; do
29918 if test -r "$ac_dir/libX11.$ac_extension"; then
29919 ac_x_libraries=$ac_dir
29920 break 2
29921 fi
29922 done
29923 done
29924 fi
29925
29926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29927 conftest$ac_exeext conftest.$ac_ext
29928 fi # $ac_x_libraries = no
29929
29930 case $ac_x_includes,$ac_x_libraries in #(
29931 no,* | *,no | *\'*)
29932 # Didn't find X, or a directory has "'" in its name.
29933 ac_cv_have_x="have_x=no";; #(
29934 *)
29935 # Record where we found X for the cache.
29936 ac_cv_have_x="have_x=yes\
29937 ac_x_includes='$ac_x_includes'\
29938 ac_x_libraries='$ac_x_libraries'"
29939 esac
29940 fi
29941 ;; #(
29942 *) have_x=yes;;
29943 esac
29944 eval "$ac_cv_have_x"
29945 fi # $with_x != no
29946
29947 if test "$have_x" != yes; then
29948 { echo "$as_me:$LINENO: result: $have_x" >&5
29949 echo "${ECHO_T}$have_x" >&6; }
29950 no_x=yes
29951 else
29952 # If each of the values was on the command line, it overrides each guess.
29953 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29954 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29955 # Update the cache value to reflect the command line values.
29956 ac_cv_have_x="have_x=yes\
29957 ac_x_includes='$x_includes'\
29958 ac_x_libraries='$x_libraries'"
29959 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29960 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29961 fi
29962
29963 if test "$no_x" = yes; then
29964 # Not all programs may use this symbol, but it does not hurt to define it.
29965
29966 cat >>confdefs.h <<\_ACEOF
29967 #define X_DISPLAY_MISSING 1
29968 _ACEOF
29969
29970 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29971 else
29972 if test -n "$x_includes"; then
29973 X_CFLAGS="$X_CFLAGS -I$x_includes"
29974 fi
29975
29976 # It would also be nice to do this for all -L options, not just this one.
29977 if test -n "$x_libraries"; then
29978 X_LIBS="$X_LIBS -L$x_libraries"
29979 # For Solaris; some versions of Sun CC require a space after -R and
29980 # others require no space. Words are not sufficient . . . .
29981 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29982 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29983 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29984 ac_xsave_c_werror_flag=$ac_c_werror_flag
29985 ac_c_werror_flag=yes
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992
29993 int
29994 main ()
29995 {
29996
29997 ;
29998 return 0;
29999 }
30000 _ACEOF
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30005 *) ac_try_echo=$ac_try;;
30006 esac
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30009 ac_status=$?
30010 grep -v '^ *+' conftest.er1 >conftest.err
30011 rm -f conftest.er1
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest$ac_exeext &&
30018 $as_test_x conftest$ac_exeext; then
30019 { echo "$as_me:$LINENO: result: no" >&5
30020 echo "${ECHO_T}no" >&6; }
30021 X_LIBS="$X_LIBS -R$x_libraries"
30022 else
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.$ac_ext >&5
30025
30026 LIBS="$ac_xsave_LIBS -R $x_libraries"
30027 cat >conftest.$ac_ext <<_ACEOF
30028 /* confdefs.h. */
30029 _ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033
30034 int
30035 main ()
30036 {
30037
30038 ;
30039 return 0;
30040 }
30041 _ACEOF
30042 rm -f conftest.$ac_objext conftest$ac_exeext
30043 if { (ac_try="$ac_link"
30044 case "(($ac_try" in
30045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30046 *) ac_try_echo=$ac_try;;
30047 esac
30048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30049 (eval "$ac_link") 2>conftest.er1
30050 ac_status=$?
30051 grep -v '^ *+' conftest.er1 >conftest.err
30052 rm -f conftest.er1
30053 cat conftest.err >&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } && {
30056 test -z "$ac_c_werror_flag" ||
30057 test ! -s conftest.err
30058 } && test -s conftest$ac_exeext &&
30059 $as_test_x conftest$ac_exeext; then
30060 { echo "$as_me:$LINENO: result: yes" >&5
30061 echo "${ECHO_T}yes" >&6; }
30062 X_LIBS="$X_LIBS -R $x_libraries"
30063 else
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30066
30067 { echo "$as_me:$LINENO: result: neither works" >&5
30068 echo "${ECHO_T}neither works" >&6; }
30069 fi
30070
30071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30072 conftest$ac_exeext conftest.$ac_ext
30073 fi
30074
30075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30076 conftest$ac_exeext conftest.$ac_ext
30077 ac_c_werror_flag=$ac_xsave_c_werror_flag
30078 LIBS=$ac_xsave_LIBS
30079 fi
30080
30081 # Check for system-dependent libraries X programs must link with.
30082 # Do this before checking for the system-independent R6 libraries
30083 # (-lICE), since we may need -lsocket or whatever for X linking.
30084
30085 if test "$ISC" = yes; then
30086 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30087 else
30088 # Martyn Johnson says this is needed for Ultrix, if the X
30089 # libraries were built with DECnet support. And Karl Berry says
30090 # the Alpha needs dnet_stub (dnet does not exist).
30091 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30092 cat >conftest.$ac_ext <<_ACEOF
30093 /* confdefs.h. */
30094 _ACEOF
30095 cat confdefs.h >>conftest.$ac_ext
30096 cat >>conftest.$ac_ext <<_ACEOF
30097 /* end confdefs.h. */
30098
30099 /* Override any GCC internal prototype to avoid an error.
30100 Use char because int might match the return type of a GCC
30101 builtin and then its argument prototype would still apply. */
30102 #ifdef __cplusplus
30103 extern "C"
30104 #endif
30105 char XOpenDisplay ();
30106 int
30107 main ()
30108 {
30109 return XOpenDisplay ();
30110 ;
30111 return 0;
30112 }
30113 _ACEOF
30114 rm -f conftest.$ac_objext conftest$ac_exeext
30115 if { (ac_try="$ac_link"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30119 esac
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_link") 2>conftest.er1
30122 ac_status=$?
30123 grep -v '^ *+' conftest.er1 >conftest.err
30124 rm -f conftest.er1
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } && {
30128 test -z "$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 } && test -s conftest$ac_exeext &&
30131 $as_test_x conftest$ac_exeext; then
30132 :
30133 else
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30136
30137 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30138 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30139 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142 ac_check_lib_save_LIBS=$LIBS
30143 LIBS="-ldnet $LIBS"
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150
30151 /* Override any GCC internal prototype to avoid an error.
30152 Use char because int might match the return type of a GCC
30153 builtin and then its argument prototype would still apply. */
30154 #ifdef __cplusplus
30155 extern "C"
30156 #endif
30157 char dnet_ntoa ();
30158 int
30159 main ()
30160 {
30161 return dnet_ntoa ();
30162 ;
30163 return 0;
30164 }
30165 _ACEOF
30166 rm -f conftest.$ac_objext conftest$ac_exeext
30167 if { (ac_try="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30171 esac
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30174 ac_status=$?
30175 grep -v '^ *+' conftest.er1 >conftest.err
30176 rm -f conftest.er1
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30184 ac_cv_lib_dnet_dnet_ntoa=yes
30185 else
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30188
30189 ac_cv_lib_dnet_dnet_ntoa=no
30190 fi
30191
30192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30193 conftest$ac_exeext conftest.$ac_ext
30194 LIBS=$ac_check_lib_save_LIBS
30195 fi
30196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30197 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30198 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30199 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30200 fi
30201
30202 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30203 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30204 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30205 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 else
30208 ac_check_lib_save_LIBS=$LIBS
30209 LIBS="-ldnet_stub $LIBS"
30210 cat >conftest.$ac_ext <<_ACEOF
30211 /* confdefs.h. */
30212 _ACEOF
30213 cat confdefs.h >>conftest.$ac_ext
30214 cat >>conftest.$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30216
30217 /* Override any GCC internal prototype to avoid an error.
30218 Use char because int might match the return type of a GCC
30219 builtin and then its argument prototype would still apply. */
30220 #ifdef __cplusplus
30221 extern "C"
30222 #endif
30223 char dnet_ntoa ();
30224 int
30225 main ()
30226 {
30227 return dnet_ntoa ();
30228 ;
30229 return 0;
30230 }
30231 _ACEOF
30232 rm -f conftest.$ac_objext conftest$ac_exeext
30233 if { (ac_try="$ac_link"
30234 case "(($ac_try" in
30235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30236 *) ac_try_echo=$ac_try;;
30237 esac
30238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30239 (eval "$ac_link") 2>conftest.er1
30240 ac_status=$?
30241 grep -v '^ *+' conftest.er1 >conftest.err
30242 rm -f conftest.er1
30243 cat conftest.err >&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } && {
30246 test -z "$ac_c_werror_flag" ||
30247 test ! -s conftest.err
30248 } && test -s conftest$ac_exeext &&
30249 $as_test_x conftest$ac_exeext; then
30250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30254
30255 ac_cv_lib_dnet_stub_dnet_ntoa=no
30256 fi
30257
30258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30259 conftest$ac_exeext conftest.$ac_ext
30260 LIBS=$ac_check_lib_save_LIBS
30261 fi
30262 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30263 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30264 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30265 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30266 fi
30267
30268 fi
30269 fi
30270
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS="$ac_xsave_LIBS"
30274
30275 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30276 # to get the SysV transport functions.
30277 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30278 # needs -lnsl.
30279 # The nsl library prevents programs from opening the X display
30280 # on Irix 5.2, according to T.E. Dickey.
30281 # The functions gethostbyname, getservbyname, and inet_addr are
30282 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30283 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30284 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30285 if test "${ac_cv_func_gethostbyname+set}" = set; then
30286 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 else
30288 cat >conftest.$ac_ext <<_ACEOF
30289 /* confdefs.h. */
30290 _ACEOF
30291 cat confdefs.h >>conftest.$ac_ext
30292 cat >>conftest.$ac_ext <<_ACEOF
30293 /* end confdefs.h. */
30294 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30296 #define gethostbyname innocuous_gethostbyname
30297
30298 /* System header to define __stub macros and hopefully few prototypes,
30299 which can conflict with char gethostbyname (); below.
30300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30301 <limits.h> exists even on freestanding compilers. */
30302
30303 #ifdef __STDC__
30304 # include <limits.h>
30305 #else
30306 # include <assert.h>
30307 #endif
30308
30309 #undef gethostbyname
30310
30311 /* Override any GCC internal prototype to avoid an error.
30312 Use char because int might match the return type of a GCC
30313 builtin and then its argument prototype would still apply. */
30314 #ifdef __cplusplus
30315 extern "C"
30316 #endif
30317 char gethostbyname ();
30318 /* The GNU C library defines this for functions which it implements
30319 to always fail with ENOSYS. Some functions are actually named
30320 something starting with __ and the normal name is an alias. */
30321 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30322 choke me
30323 #endif
30324
30325 int
30326 main ()
30327 {
30328 return gethostbyname ();
30329 ;
30330 return 0;
30331 }
30332 _ACEOF
30333 rm -f conftest.$ac_objext conftest$ac_exeext
30334 if { (ac_try="$ac_link"
30335 case "(($ac_try" in
30336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30337 *) ac_try_echo=$ac_try;;
30338 esac
30339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30340 (eval "$ac_link") 2>conftest.er1
30341 ac_status=$?
30342 grep -v '^ *+' conftest.er1 >conftest.err
30343 rm -f conftest.er1
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } && {
30347 test -z "$ac_c_werror_flag" ||
30348 test ! -s conftest.err
30349 } && test -s conftest$ac_exeext &&
30350 $as_test_x conftest$ac_exeext; then
30351 ac_cv_func_gethostbyname=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 ac_cv_func_gethostbyname=no
30357 fi
30358
30359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30360 conftest$ac_exeext conftest.$ac_ext
30361 fi
30362 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30363 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30364
30365 if test $ac_cv_func_gethostbyname = no; then
30366 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30367 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30368 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30370 else
30371 ac_check_lib_save_LIBS=$LIBS
30372 LIBS="-lnsl $LIBS"
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379
30380 /* Override any GCC internal prototype to avoid an error.
30381 Use char because int might match the return type of a GCC
30382 builtin and then its argument prototype would still apply. */
30383 #ifdef __cplusplus
30384 extern "C"
30385 #endif
30386 char gethostbyname ();
30387 int
30388 main ()
30389 {
30390 return gethostbyname ();
30391 ;
30392 return 0;
30393 }
30394 _ACEOF
30395 rm -f conftest.$ac_objext conftest$ac_exeext
30396 if { (ac_try="$ac_link"
30397 case "(($ac_try" in
30398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399 *) ac_try_echo=$ac_try;;
30400 esac
30401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30402 (eval "$ac_link") 2>conftest.er1
30403 ac_status=$?
30404 grep -v '^ *+' conftest.er1 >conftest.err
30405 rm -f conftest.er1
30406 cat conftest.err >&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && {
30409 test -z "$ac_c_werror_flag" ||
30410 test ! -s conftest.err
30411 } && test -s conftest$ac_exeext &&
30412 $as_test_x conftest$ac_exeext; then
30413 ac_cv_lib_nsl_gethostbyname=yes
30414 else
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.$ac_ext >&5
30417
30418 ac_cv_lib_nsl_gethostbyname=no
30419 fi
30420
30421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30422 conftest$ac_exeext conftest.$ac_ext
30423 LIBS=$ac_check_lib_save_LIBS
30424 fi
30425 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30426 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30427 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30429 fi
30430
30431 if test $ac_cv_lib_nsl_gethostbyname = no; then
30432 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30433 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30434 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30436 else
30437 ac_check_lib_save_LIBS=$LIBS
30438 LIBS="-lbsd $LIBS"
30439 cat >conftest.$ac_ext <<_ACEOF
30440 /* confdefs.h. */
30441 _ACEOF
30442 cat confdefs.h >>conftest.$ac_ext
30443 cat >>conftest.$ac_ext <<_ACEOF
30444 /* end confdefs.h. */
30445
30446 /* Override any GCC internal prototype to avoid an error.
30447 Use char because int might match the return type of a GCC
30448 builtin and then its argument prototype would still apply. */
30449 #ifdef __cplusplus
30450 extern "C"
30451 #endif
30452 char gethostbyname ();
30453 int
30454 main ()
30455 {
30456 return gethostbyname ();
30457 ;
30458 return 0;
30459 }
30460 _ACEOF
30461 rm -f conftest.$ac_objext conftest$ac_exeext
30462 if { (ac_try="$ac_link"
30463 case "(($ac_try" in
30464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30465 *) ac_try_echo=$ac_try;;
30466 esac
30467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30468 (eval "$ac_link") 2>conftest.er1
30469 ac_status=$?
30470 grep -v '^ *+' conftest.er1 >conftest.err
30471 rm -f conftest.er1
30472 cat conftest.err >&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } && {
30475 test -z "$ac_c_werror_flag" ||
30476 test ! -s conftest.err
30477 } && test -s conftest$ac_exeext &&
30478 $as_test_x conftest$ac_exeext; then
30479 ac_cv_lib_bsd_gethostbyname=yes
30480 else
30481 echo "$as_me: failed program was:" >&5
30482 sed 's/^/| /' conftest.$ac_ext >&5
30483
30484 ac_cv_lib_bsd_gethostbyname=no
30485 fi
30486
30487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30488 conftest$ac_exeext conftest.$ac_ext
30489 LIBS=$ac_check_lib_save_LIBS
30490 fi
30491 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30492 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30493 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30495 fi
30496
30497 fi
30498 fi
30499
30500 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30501 # socket/setsockopt and other routines are undefined under SCO ODT
30502 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30503 # on later versions), says Simon Leinen: it contains gethostby*
30504 # variants that don't use the name server (or something). -lsocket
30505 # must be given before -lnsl if both are needed. We assume that
30506 # if connect needs -lnsl, so does gethostbyname.
30507 { echo "$as_me:$LINENO: checking for connect" >&5
30508 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30509 if test "${ac_cv_func_connect+set}" = set; then
30510 echo $ECHO_N "(cached) $ECHO_C" >&6
30511 else
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30520 #define connect innocuous_connect
30521
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char connect (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30526
30527 #ifdef __STDC__
30528 # include <limits.h>
30529 #else
30530 # include <assert.h>
30531 #endif
30532
30533 #undef connect
30534
30535 /* Override any GCC internal prototype to avoid an error.
30536 Use char because int might match the return type of a GCC
30537 builtin and then its argument prototype would still apply. */
30538 #ifdef __cplusplus
30539 extern "C"
30540 #endif
30541 char connect ();
30542 /* The GNU C library defines this for functions which it implements
30543 to always fail with ENOSYS. Some functions are actually named
30544 something starting with __ and the normal name is an alias. */
30545 #if defined __stub_connect || defined __stub___connect
30546 choke me
30547 #endif
30548
30549 int
30550 main ()
30551 {
30552 return connect ();
30553 ;
30554 return 0;
30555 }
30556 _ACEOF
30557 rm -f conftest.$ac_objext conftest$ac_exeext
30558 if { (ac_try="$ac_link"
30559 case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30562 esac
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_link") 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } && {
30571 test -z "$ac_c_werror_flag" ||
30572 test ! -s conftest.err
30573 } && test -s conftest$ac_exeext &&
30574 $as_test_x conftest$ac_exeext; then
30575 ac_cv_func_connect=yes
30576 else
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.$ac_ext >&5
30579
30580 ac_cv_func_connect=no
30581 fi
30582
30583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30584 conftest$ac_exeext conftest.$ac_ext
30585 fi
30586 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30587 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30588
30589 if test $ac_cv_func_connect = no; then
30590 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30592 if test "${ac_cv_lib_socket_connect+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595 ac_check_lib_save_LIBS=$LIBS
30596 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603
30604 /* Override any GCC internal prototype to avoid an error.
30605 Use char because int might match the return type of a GCC
30606 builtin and then its argument prototype would still apply. */
30607 #ifdef __cplusplus
30608 extern "C"
30609 #endif
30610 char connect ();
30611 int
30612 main ()
30613 {
30614 return connect ();
30615 ;
30616 return 0;
30617 }
30618 _ACEOF
30619 rm -f conftest.$ac_objext conftest$ac_exeext
30620 if { (ac_try="$ac_link"
30621 case "(($ac_try" in
30622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30623 *) ac_try_echo=$ac_try;;
30624 esac
30625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30626 (eval "$ac_link") 2>conftest.er1
30627 ac_status=$?
30628 grep -v '^ *+' conftest.er1 >conftest.err
30629 rm -f conftest.er1
30630 cat conftest.err >&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } && {
30633 test -z "$ac_c_werror_flag" ||
30634 test ! -s conftest.err
30635 } && test -s conftest$ac_exeext &&
30636 $as_test_x conftest$ac_exeext; then
30637 ac_cv_lib_socket_connect=yes
30638 else
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30641
30642 ac_cv_lib_socket_connect=no
30643 fi
30644
30645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30646 conftest$ac_exeext conftest.$ac_ext
30647 LIBS=$ac_check_lib_save_LIBS
30648 fi
30649 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30650 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30651 if test $ac_cv_lib_socket_connect = yes; then
30652 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30653 fi
30654
30655 fi
30656
30657 # Guillermo Gomez says -lposix is necessary on A/UX.
30658 { echo "$as_me:$LINENO: checking for remove" >&5
30659 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30660 if test "${ac_cv_func_remove+set}" = set; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 else
30663 cat >conftest.$ac_ext <<_ACEOF
30664 /* confdefs.h. */
30665 _ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30671 #define remove innocuous_remove
30672
30673 /* System header to define __stub macros and hopefully few prototypes,
30674 which can conflict with char remove (); below.
30675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30676 <limits.h> exists even on freestanding compilers. */
30677
30678 #ifdef __STDC__
30679 # include <limits.h>
30680 #else
30681 # include <assert.h>
30682 #endif
30683
30684 #undef remove
30685
30686 /* Override any GCC internal prototype to avoid an error.
30687 Use char because int might match the return type of a GCC
30688 builtin and then its argument prototype would still apply. */
30689 #ifdef __cplusplus
30690 extern "C"
30691 #endif
30692 char remove ();
30693 /* The GNU C library defines this for functions which it implements
30694 to always fail with ENOSYS. Some functions are actually named
30695 something starting with __ and the normal name is an alias. */
30696 #if defined __stub_remove || defined __stub___remove
30697 choke me
30698 #endif
30699
30700 int
30701 main ()
30702 {
30703 return remove ();
30704 ;
30705 return 0;
30706 }
30707 _ACEOF
30708 rm -f conftest.$ac_objext conftest$ac_exeext
30709 if { (ac_try="$ac_link"
30710 case "(($ac_try" in
30711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30712 *) ac_try_echo=$ac_try;;
30713 esac
30714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30715 (eval "$ac_link") 2>conftest.er1
30716 ac_status=$?
30717 grep -v '^ *+' conftest.er1 >conftest.err
30718 rm -f conftest.er1
30719 cat conftest.err >&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } && {
30722 test -z "$ac_c_werror_flag" ||
30723 test ! -s conftest.err
30724 } && test -s conftest$ac_exeext &&
30725 $as_test_x conftest$ac_exeext; then
30726 ac_cv_func_remove=yes
30727 else
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.$ac_ext >&5
30730
30731 ac_cv_func_remove=no
30732 fi
30733
30734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30735 conftest$ac_exeext conftest.$ac_ext
30736 fi
30737 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30738 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30739
30740 if test $ac_cv_func_remove = no; then
30741 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30742 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30743 if test "${ac_cv_lib_posix_remove+set}" = set; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30745 else
30746 ac_check_lib_save_LIBS=$LIBS
30747 LIBS="-lposix $LIBS"
30748 cat >conftest.$ac_ext <<_ACEOF
30749 /* confdefs.h. */
30750 _ACEOF
30751 cat confdefs.h >>conftest.$ac_ext
30752 cat >>conftest.$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30754
30755 /* Override any GCC internal prototype to avoid an error.
30756 Use char because int might match the return type of a GCC
30757 builtin and then its argument prototype would still apply. */
30758 #ifdef __cplusplus
30759 extern "C"
30760 #endif
30761 char remove ();
30762 int
30763 main ()
30764 {
30765 return remove ();
30766 ;
30767 return 0;
30768 }
30769 _ACEOF
30770 rm -f conftest.$ac_objext conftest$ac_exeext
30771 if { (ac_try="$ac_link"
30772 case "(($ac_try" in
30773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30774 *) ac_try_echo=$ac_try;;
30775 esac
30776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30777 (eval "$ac_link") 2>conftest.er1
30778 ac_status=$?
30779 grep -v '^ *+' conftest.er1 >conftest.err
30780 rm -f conftest.er1
30781 cat conftest.err >&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } && {
30784 test -z "$ac_c_werror_flag" ||
30785 test ! -s conftest.err
30786 } && test -s conftest$ac_exeext &&
30787 $as_test_x conftest$ac_exeext; then
30788 ac_cv_lib_posix_remove=yes
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30792
30793 ac_cv_lib_posix_remove=no
30794 fi
30795
30796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30797 conftest$ac_exeext conftest.$ac_ext
30798 LIBS=$ac_check_lib_save_LIBS
30799 fi
30800 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30801 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30802 if test $ac_cv_lib_posix_remove = yes; then
30803 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30804 fi
30805
30806 fi
30807
30808 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30809 { echo "$as_me:$LINENO: checking for shmat" >&5
30810 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30811 if test "${ac_cv_func_shmat+set}" = set; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 else
30814 cat >conftest.$ac_ext <<_ACEOF
30815 /* confdefs.h. */
30816 _ACEOF
30817 cat confdefs.h >>conftest.$ac_ext
30818 cat >>conftest.$ac_ext <<_ACEOF
30819 /* end confdefs.h. */
30820 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30822 #define shmat innocuous_shmat
30823
30824 /* System header to define __stub macros and hopefully few prototypes,
30825 which can conflict with char shmat (); below.
30826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30827 <limits.h> exists even on freestanding compilers. */
30828
30829 #ifdef __STDC__
30830 # include <limits.h>
30831 #else
30832 # include <assert.h>
30833 #endif
30834
30835 #undef shmat
30836
30837 /* Override any GCC internal prototype to avoid an error.
30838 Use char because int might match the return type of a GCC
30839 builtin and then its argument prototype would still apply. */
30840 #ifdef __cplusplus
30841 extern "C"
30842 #endif
30843 char shmat ();
30844 /* The GNU C library defines this for functions which it implements
30845 to always fail with ENOSYS. Some functions are actually named
30846 something starting with __ and the normal name is an alias. */
30847 #if defined __stub_shmat || defined __stub___shmat
30848 choke me
30849 #endif
30850
30851 int
30852 main ()
30853 {
30854 return shmat ();
30855 ;
30856 return 0;
30857 }
30858 _ACEOF
30859 rm -f conftest.$ac_objext conftest$ac_exeext
30860 if { (ac_try="$ac_link"
30861 case "(($ac_try" in
30862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30863 *) ac_try_echo=$ac_try;;
30864 esac
30865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30866 (eval "$ac_link") 2>conftest.er1
30867 ac_status=$?
30868 grep -v '^ *+' conftest.er1 >conftest.err
30869 rm -f conftest.er1
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } && {
30873 test -z "$ac_c_werror_flag" ||
30874 test ! -s conftest.err
30875 } && test -s conftest$ac_exeext &&
30876 $as_test_x conftest$ac_exeext; then
30877 ac_cv_func_shmat=yes
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 ac_cv_func_shmat=no
30883 fi
30884
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30887 fi
30888 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30889 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30890
30891 if test $ac_cv_func_shmat = no; then
30892 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30893 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30894 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897 ac_check_lib_save_LIBS=$LIBS
30898 LIBS="-lipc $LIBS"
30899 cat >conftest.$ac_ext <<_ACEOF
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905
30906 /* Override any GCC internal prototype to avoid an error.
30907 Use char because int might match the return type of a GCC
30908 builtin and then its argument prototype would still apply. */
30909 #ifdef __cplusplus
30910 extern "C"
30911 #endif
30912 char shmat ();
30913 int
30914 main ()
30915 {
30916 return shmat ();
30917 ;
30918 return 0;
30919 }
30920 _ACEOF
30921 rm -f conftest.$ac_objext conftest$ac_exeext
30922 if { (ac_try="$ac_link"
30923 case "(($ac_try" in
30924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30925 *) ac_try_echo=$ac_try;;
30926 esac
30927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30928 (eval "$ac_link") 2>conftest.er1
30929 ac_status=$?
30930 grep -v '^ *+' conftest.er1 >conftest.err
30931 rm -f conftest.er1
30932 cat conftest.err >&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } && {
30935 test -z "$ac_c_werror_flag" ||
30936 test ! -s conftest.err
30937 } && test -s conftest$ac_exeext &&
30938 $as_test_x conftest$ac_exeext; then
30939 ac_cv_lib_ipc_shmat=yes
30940 else
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30943
30944 ac_cv_lib_ipc_shmat=no
30945 fi
30946
30947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30948 conftest$ac_exeext conftest.$ac_ext
30949 LIBS=$ac_check_lib_save_LIBS
30950 fi
30951 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30952 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30953 if test $ac_cv_lib_ipc_shmat = yes; then
30954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30955 fi
30956
30957 fi
30958 fi
30959
30960 # Check for libraries that X11R6 Xt/Xaw programs need.
30961 ac_save_LDFLAGS=$LDFLAGS
30962 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30963 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30964 # check for ICE first), but we must link in the order -lSM -lICE or
30965 # we get undefined symbols. So assume we have SM if we have ICE.
30966 # These have to be linked with before -lX11, unlike the other
30967 # libraries we check for below, so use a different variable.
30968 # John Interrante, Karl Berry
30969 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30970 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30971 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30972 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 else
30974 ac_check_lib_save_LIBS=$LIBS
30975 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982
30983 /* Override any GCC internal prototype to avoid an error.
30984 Use char because int might match the return type of a GCC
30985 builtin and then its argument prototype would still apply. */
30986 #ifdef __cplusplus
30987 extern "C"
30988 #endif
30989 char IceConnectionNumber ();
30990 int
30991 main ()
30992 {
30993 return IceConnectionNumber ();
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (ac_try="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31003 esac
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31006 ac_status=$?
31007 grep -v '^ *+' conftest.er1 >conftest.err
31008 rm -f conftest.er1
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 ac_cv_lib_ICE_IceConnectionNumber=yes
31017 else
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31020
31021 ac_cv_lib_ICE_IceConnectionNumber=no
31022 fi
31023
31024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31025 conftest$ac_exeext conftest.$ac_ext
31026 LIBS=$ac_check_lib_save_LIBS
31027 fi
31028 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31029 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31030 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31031 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31032 fi
31033
31034 LDFLAGS=$ac_save_LDFLAGS
31035
31036 fi
31037
31038
31039 if test "$no_x" = "yes"; then
31040 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31041 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31042 { (exit 1); exit 1; }; }
31043 fi
31044
31045 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31046 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31047 AFMINSTALL=afminstall
31048 COMPILED_X_PROGRAM=0
31049
31050 fi
31051
31052 if test "$wxUSE_X11" = 1; then
31053 if test "$wxUSE_NANOX" = "yes"; then
31054 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31055 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31056 if test "x$MICROWIN" = x ; then
31057 { echo "$as_me:$LINENO: result: not found" >&5
31058 echo "${ECHO_T}not found" >&6; }
31059 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31060 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31061 { (exit 1); exit 1; }; }
31062 else
31063 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31064 echo "${ECHO_T}$MICROWIN" >&6; }
31065 cat >>confdefs.h <<\_ACEOF
31066 #define wxUSE_NANOX 1
31067 _ACEOF
31068
31069 fi
31070 fi
31071
31072 if test "$wxUSE_UNICODE" = "yes"; then
31073
31074
31075 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31076 if test -n "$ac_tool_prefix"; then
31077 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31078 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31081 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 else
31084 case $PKG_CONFIG in
31085 [\\/]* | ?:[\\/]*)
31086 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31087 ;;
31088 *)
31089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31090 for as_dir in $PATH
31091 do
31092 IFS=$as_save_IFS
31093 test -z "$as_dir" && as_dir=.
31094 for ac_exec_ext in '' $ac_executable_extensions; do
31095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31096 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31098 break 2
31099 fi
31100 done
31101 done
31102 IFS=$as_save_IFS
31103
31104 ;;
31105 esac
31106 fi
31107 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31108 if test -n "$PKG_CONFIG"; then
31109 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31110 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31111 else
31112 { echo "$as_me:$LINENO: result: no" >&5
31113 echo "${ECHO_T}no" >&6; }
31114 fi
31115
31116
31117 fi
31118 if test -z "$ac_cv_path_PKG_CONFIG"; then
31119 ac_pt_PKG_CONFIG=$PKG_CONFIG
31120 # Extract the first word of "pkg-config", so it can be a program name with args.
31121 set dummy pkg-config; ac_word=$2
31122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31124 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31126 else
31127 case $ac_pt_PKG_CONFIG in
31128 [\\/]* | ?:[\\/]*)
31129 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31130 ;;
31131 *)
31132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31133 for as_dir in $PATH
31134 do
31135 IFS=$as_save_IFS
31136 test -z "$as_dir" && as_dir=.
31137 for ac_exec_ext in '' $ac_executable_extensions; do
31138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31139 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31141 break 2
31142 fi
31143 done
31144 done
31145 IFS=$as_save_IFS
31146
31147 ;;
31148 esac
31149 fi
31150 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31151 if test -n "$ac_pt_PKG_CONFIG"; then
31152 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31153 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31154 else
31155 { echo "$as_me:$LINENO: result: no" >&5
31156 echo "${ECHO_T}no" >&6; }
31157 fi
31158
31159 if test "x$ac_pt_PKG_CONFIG" = x; then
31160 PKG_CONFIG=""
31161 else
31162 case $cross_compiling:$ac_tool_warned in
31163 yes:)
31164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31165 whose name does not start with the host triplet. If you think this
31166 configuration is useful to you, please write to autoconf@gnu.org." >&5
31167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31168 whose name does not start with the host triplet. If you think this
31169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31170 ac_tool_warned=yes ;;
31171 esac
31172 PKG_CONFIG=$ac_pt_PKG_CONFIG
31173 fi
31174 else
31175 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31176 fi
31177
31178 fi
31179 if test -n "$PKG_CONFIG"; then
31180 _pkg_min_version=0.9.0
31181 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31182 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31183 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31184 { echo "$as_me:$LINENO: result: yes" >&5
31185 echo "${ECHO_T}yes" >&6; }
31186 else
31187 { echo "$as_me:$LINENO: result: no" >&5
31188 echo "${ECHO_T}no" >&6; }
31189 PKG_CONFIG=""
31190 fi
31191
31192 fi
31193
31194
31195 pkg_failed=no
31196 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31197 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31198
31199 if test -n "$PKG_CONFIG"; then
31200 if test -n "$PANGOX_CFLAGS"; then
31201 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31202 else
31203 if test -n "$PKG_CONFIG" && \
31204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31205 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31206 ac_status=$?
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; then
31209 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31210 else
31211 pkg_failed=yes
31212 fi
31213 fi
31214 else
31215 pkg_failed=untried
31216 fi
31217 if test -n "$PKG_CONFIG"; then
31218 if test -n "$PANGOX_LIBS"; then
31219 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31220 else
31221 if test -n "$PKG_CONFIG" && \
31222 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31223 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; then
31227 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31228 else
31229 pkg_failed=yes
31230 fi
31231 fi
31232 else
31233 pkg_failed=untried
31234 fi
31235
31236
31237
31238 if test $pkg_failed = yes; then
31239
31240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31241 _pkg_short_errors_supported=yes
31242 else
31243 _pkg_short_errors_supported=no
31244 fi
31245 if test $_pkg_short_errors_supported = yes; then
31246 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31247 else
31248 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31249 fi
31250 # Put the nasty error message in config.log where it belongs
31251 echo "$PANGOX_PKG_ERRORS" >&5
31252
31253
31254 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31255 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31256 { (exit 1); exit 1; }; }
31257
31258
31259 elif test $pkg_failed = untried; then
31260
31261 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31262 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31263 { (exit 1); exit 1; }; }
31264
31265
31266 else
31267 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31268 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31269 { echo "$as_me:$LINENO: result: yes" >&5
31270 echo "${ECHO_T}yes" >&6; }
31271
31272 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31273 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31275
31276 fi
31277
31278 pkg_failed=no
31279 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31280 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31281
31282 if test -n "$PKG_CONFIG"; then
31283 if test -n "$PANGOFT2_CFLAGS"; then
31284 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31285 else
31286 if test -n "$PKG_CONFIG" && \
31287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31288 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31289 ac_status=$?
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); }; then
31292 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31293 else
31294 pkg_failed=yes
31295 fi
31296 fi
31297 else
31298 pkg_failed=untried
31299 fi
31300 if test -n "$PKG_CONFIG"; then
31301 if test -n "$PANGOFT2_LIBS"; then
31302 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31303 else
31304 if test -n "$PKG_CONFIG" && \
31305 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31306 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31307 ac_status=$?
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; then
31310 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31311 else
31312 pkg_failed=yes
31313 fi
31314 fi
31315 else
31316 pkg_failed=untried
31317 fi
31318
31319
31320
31321 if test $pkg_failed = yes; then
31322
31323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31324 _pkg_short_errors_supported=yes
31325 else
31326 _pkg_short_errors_supported=no
31327 fi
31328 if test $_pkg_short_errors_supported = yes; then
31329 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31330 else
31331 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31332 fi
31333 # Put the nasty error message in config.log where it belongs
31334 echo "$PANGOFT2_PKG_ERRORS" >&5
31335
31336
31337 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31338 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31339 wxUSE_PRINTING_ARCHITECTURE="no"
31340
31341
31342 elif test $pkg_failed = untried; then
31343
31344 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31345 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31346 wxUSE_PRINTING_ARCHITECTURE="no"
31347
31348
31349 else
31350 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31351 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31352 { echo "$as_me:$LINENO: result: yes" >&5
31353 echo "${ECHO_T}yes" >&6; }
31354
31355 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31356 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31358
31359 fi
31360
31361 pkg_failed=no
31362 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31363 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31364
31365 if test -n "$PKG_CONFIG"; then
31366 if test -n "$PANGOXFT_CFLAGS"; then
31367 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31368 else
31369 if test -n "$PKG_CONFIG" && \
31370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31371 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31372 ac_status=$?
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; then
31375 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31376 else
31377 pkg_failed=yes
31378 fi
31379 fi
31380 else
31381 pkg_failed=untried
31382 fi
31383 if test -n "$PKG_CONFIG"; then
31384 if test -n "$PANGOXFT_LIBS"; then
31385 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31386 else
31387 if test -n "$PKG_CONFIG" && \
31388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31389 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31390 ac_status=$?
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; then
31393 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31394 else
31395 pkg_failed=yes
31396 fi
31397 fi
31398 else
31399 pkg_failed=untried
31400 fi
31401
31402
31403
31404 if test $pkg_failed = yes; then
31405
31406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31407 _pkg_short_errors_supported=yes
31408 else
31409 _pkg_short_errors_supported=no
31410 fi
31411 if test $_pkg_short_errors_supported = yes; then
31412 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31413 else
31414 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31415 fi
31416 # Put the nasty error message in config.log where it belongs
31417 echo "$PANGOXFT_PKG_ERRORS" >&5
31418
31419
31420 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31421 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31422
31423
31424 elif test $pkg_failed = untried; then
31425
31426 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31427 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31428
31429
31430 else
31431 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31432 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31433 { echo "$as_me:$LINENO: result: yes" >&5
31434 echo "${ECHO_T}yes" >&6; }
31435
31436 cat >>confdefs.h <<\_ACEOF
31437 #define HAVE_PANGO_XFT 1
31438 _ACEOF
31439
31440 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31441 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31442 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31443
31444 fi
31445 save_LIBS="$LIBS"
31446 LIBS="$LIBS $PANGOX_LIBS"
31447
31448 for ac_func in pango_font_family_is_monospace
31449 do
31450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31454 echo $ECHO_N "(cached) $ECHO_C" >&6
31455 else
31456 cat >conftest.$ac_ext <<_ACEOF
31457 /* confdefs.h. */
31458 _ACEOF
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h. */
31462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31464 #define $ac_func innocuous_$ac_func
31465
31466 /* System header to define __stub macros and hopefully few prototypes,
31467 which can conflict with char $ac_func (); below.
31468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31469 <limits.h> exists even on freestanding compilers. */
31470
31471 #ifdef __STDC__
31472 # include <limits.h>
31473 #else
31474 # include <assert.h>
31475 #endif
31476
31477 #undef $ac_func
31478
31479 /* Override any GCC internal prototype to avoid an error.
31480 Use char because int might match the return type of a GCC
31481 builtin and then its argument prototype would still apply. */
31482 #ifdef __cplusplus
31483 extern "C"
31484 #endif
31485 char $ac_func ();
31486 /* The GNU C library defines this for functions which it implements
31487 to always fail with ENOSYS. Some functions are actually named
31488 something starting with __ and the normal name is an alias. */
31489 #if defined __stub_$ac_func || defined __stub___$ac_func
31490 choke me
31491 #endif
31492
31493 int
31494 main ()
31495 {
31496 return $ac_func ();
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 rm -f conftest.$ac_objext conftest$ac_exeext
31502 if { (ac_try="$ac_link"
31503 case "(($ac_try" in
31504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31505 *) ac_try_echo=$ac_try;;
31506 esac
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_link") 2>conftest.er1
31509 ac_status=$?
31510 grep -v '^ *+' conftest.er1 >conftest.err
31511 rm -f conftest.er1
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } && {
31515 test -z "$ac_c_werror_flag" ||
31516 test ! -s conftest.err
31517 } && test -s conftest$ac_exeext &&
31518 $as_test_x conftest$ac_exeext; then
31519 eval "$as_ac_var=yes"
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524 eval "$as_ac_var=no"
31525 fi
31526
31527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31528 conftest$ac_exeext conftest.$ac_ext
31529 fi
31530 ac_res=`eval echo '${'$as_ac_var'}'`
31531 { echo "$as_me:$LINENO: result: $ac_res" >&5
31532 echo "${ECHO_T}$ac_res" >&6; }
31533 if test `eval echo '${'$as_ac_var'}'` = yes; then
31534 cat >>confdefs.h <<_ACEOF
31535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31536 _ACEOF
31537
31538 fi
31539 done
31540
31541 LIBS="$save_LIBS"
31542 fi
31543
31544 wxUSE_UNIVERSAL="yes"
31545
31546 if test "$wxUSE_NANOX" = "yes"; then
31547 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31548 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"
31549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31550 else
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31552 fi
31553
31554 TOOLKIT=X11
31555 GUIDIST=X11_DIST
31556 fi
31557
31558 if test "$wxUSE_MOTIF" = 1; then
31559 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31560 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31561
31562 ac_find_includes=
31563 for ac_dir in $SEARCH_INCLUDE /usr/include;
31564 do
31565 if test -f "$ac_dir/Xm/Xm.h"; then
31566 ac_find_includes=$ac_dir
31567 break
31568 fi
31569 done
31570
31571 if test "$ac_find_includes" != "" ; then
31572 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31573 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31574
31575 if test "x$ac_find_includes" = "x/usr/include"; then
31576 ac_path_to_include=""
31577 else
31578 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31579 result=$?
31580 if test $result = 0; then
31581 ac_path_to_include=""
31582 else
31583 ac_path_to_include=" -I$ac_find_includes"
31584 fi
31585 fi
31586
31587 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31588 else
31589 save_CFLAGS=$CFLAGS
31590 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31591
31592 cat >conftest.$ac_ext <<_ACEOF
31593 /* confdefs.h. */
31594 _ACEOF
31595 cat confdefs.h >>conftest.$ac_ext
31596 cat >>conftest.$ac_ext <<_ACEOF
31597 /* end confdefs.h. */
31598
31599 #include <Xm/Xm.h>
31600
31601 int
31602 main ()
31603 {
31604
31605 int version;
31606 version = xmUseVersion;
31607
31608 ;
31609 return 0;
31610 }
31611 _ACEOF
31612 rm -f conftest.$ac_objext
31613 if { (ac_try="$ac_compile"
31614 case "(($ac_try" in
31615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31616 *) ac_try_echo=$ac_try;;
31617 esac
31618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31619 (eval "$ac_compile") 2>conftest.er1
31620 ac_status=$?
31621 grep -v '^ *+' conftest.er1 >conftest.err
31622 rm -f conftest.er1
31623 cat conftest.err >&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } && {
31626 test -z "$ac_c_werror_flag" ||
31627 test ! -s conftest.err
31628 } && test -s conftest.$ac_objext; then
31629
31630 { echo "$as_me:$LINENO: result: found in default search path" >&5
31631 echo "${ECHO_T}found in default search path" >&6; }
31632 COMPILED_X_PROGRAM=1
31633
31634 else
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.$ac_ext >&5
31637
31638
31639 { echo "$as_me:$LINENO: result: no" >&5
31640 echo "${ECHO_T}no" >&6; }
31641 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31642 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31643 { (exit 1); exit 1; }; }
31644
31645
31646 fi
31647
31648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31649
31650 CFLAGS=$save_CFLAGS
31651 fi
31652
31653
31654 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31655 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31656
31657 ac_find_libraries=
31658 for ac_dir in $SEARCH_LIB;
31659 do
31660 for ac_extension in a so sl dylib dll.a; do
31661 if test -f "$ac_dir/libXm.$ac_extension"; then
31662 ac_find_libraries=$ac_dir
31663 break 2
31664 fi
31665 done
31666 done
31667
31668
31669 if test "x$ac_find_libraries" != "x" ; then
31670 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31671 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31672
31673
31674 if test "$ac_find_libraries" = "default location"; then
31675 ac_path_to_link=""
31676 else
31677 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31678 result=$?
31679 if test $result = 0; then
31680 ac_path_to_link=""
31681 else
31682 ac_path_to_link=" -L$ac_find_libraries"
31683 fi
31684 fi
31685
31686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31687 else
31688 save_CFLAGS=$CFLAGS
31689 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31690 save_LIBS="$LIBS"
31691 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31692
31693 cat >conftest.$ac_ext <<_ACEOF
31694 /* confdefs.h. */
31695 _ACEOF
31696 cat confdefs.h >>conftest.$ac_ext
31697 cat >>conftest.$ac_ext <<_ACEOF
31698 /* end confdefs.h. */
31699
31700 #include <Xm/Xm.h>
31701
31702 int
31703 main ()
31704 {
31705
31706 int version;
31707 version = xmUseVersion;
31708
31709 ;
31710 return 0;
31711 }
31712 _ACEOF
31713 rm -f conftest.$ac_objext conftest$ac_exeext
31714 if { (ac_try="$ac_link"
31715 case "(($ac_try" in
31716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31717 *) ac_try_echo=$ac_try;;
31718 esac
31719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31720 (eval "$ac_link") 2>conftest.er1
31721 ac_status=$?
31722 grep -v '^ *+' conftest.er1 >conftest.err
31723 rm -f conftest.er1
31724 cat conftest.err >&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); } && {
31727 test -z "$ac_c_werror_flag" ||
31728 test ! -s conftest.err
31729 } && test -s conftest$ac_exeext &&
31730 $as_test_x conftest$ac_exeext; then
31731
31732 { echo "$as_me:$LINENO: result: found in default search path" >&5
31733 echo "${ECHO_T}found in default search path" >&6; }
31734 COMPILED_X_PROGRAM=1
31735
31736 else
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31739
31740
31741 { echo "$as_me:$LINENO: result: no" >&5
31742 echo "${ECHO_T}no" >&6; }
31743 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31744 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31745 { (exit 1); exit 1; }; }
31746
31747
31748 fi
31749
31750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31751 conftest$ac_exeext conftest.$ac_ext
31752
31753 CFLAGS=$save_CFLAGS
31754 LIBS="$save_LIBS"
31755 fi
31756
31757 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31758 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31759 libp_link=""
31760 libsm_ice_link=""
31761 libs_found=0
31762 for libp in "" " -lXp"; do
31763 if test "$libs_found" = 0; then
31764 for libsm_ice in "" " -lSM -lICE"; do
31765 if test "$libs_found" = 0; then
31766 save_LIBS="$LIBS"
31767 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31768 save_CFLAGS=$CFLAGS
31769 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31770
31771 cat >conftest.$ac_ext <<_ACEOF
31772 /* confdefs.h. */
31773 _ACEOF
31774 cat confdefs.h >>conftest.$ac_ext
31775 cat >>conftest.$ac_ext <<_ACEOF
31776 /* end confdefs.h. */
31777
31778 #include <Xm/Xm.h>
31779 #include <Xm/List.h>
31780
31781 int
31782 main ()
31783 {
31784
31785 XmString string = NULL;
31786 Widget w = NULL;
31787 int position = 0;
31788 XmListAddItem(w, string, position);
31789
31790 ;
31791 return 0;
31792 }
31793 _ACEOF
31794 rm -f conftest.$ac_objext conftest$ac_exeext
31795 if { (ac_try="$ac_link"
31796 case "(($ac_try" in
31797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31798 *) ac_try_echo=$ac_try;;
31799 esac
31800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31801 (eval "$ac_link") 2>conftest.er1
31802 ac_status=$?
31803 grep -v '^ *+' conftest.er1 >conftest.err
31804 rm -f conftest.er1
31805 cat conftest.err >&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); } && {
31808 test -z "$ac_c_werror_flag" ||
31809 test ! -s conftest.err
31810 } && test -s conftest$ac_exeext &&
31811 $as_test_x conftest$ac_exeext; then
31812
31813 libp_link="$libp"
31814 libsm_ice_link="$libsm_ice"
31815 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31816 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31817 libs_found=1
31818
31819 else
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823
31824
31825 fi
31826
31827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31828 conftest$ac_exeext conftest.$ac_ext
31829
31830 LIBS="$save_LIBS"
31831 CFLAGS=$save_CFLAGS
31832 fi
31833 done
31834 fi
31835 done
31836
31837 if test "$libs_found" = 0; then
31838 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31839 echo "${ECHO_T}can't find the right libraries" >&6; }
31840 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31841 echo "$as_me: error: can't link a simple motif program" >&2;}
31842 { (exit 1); exit 1; }; }
31843 fi
31844
31845 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31846 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31847 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31849 else
31850 ac_check_lib_save_LIBS=$LIBS
31851 LIBS="-lSgm $LIBS"
31852 cat >conftest.$ac_ext <<_ACEOF
31853 /* confdefs.h. */
31854 _ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31858
31859 /* Override any GCC internal prototype to avoid an error.
31860 Use char because int might match the return type of a GCC
31861 builtin and then its argument prototype would still apply. */
31862 #ifdef __cplusplus
31863 extern "C"
31864 #endif
31865 char SgCreateList ();
31866 int
31867 main ()
31868 {
31869 return SgCreateList ();
31870 ;
31871 return 0;
31872 }
31873 _ACEOF
31874 rm -f conftest.$ac_objext conftest$ac_exeext
31875 if { (ac_try="$ac_link"
31876 case "(($ac_try" in
31877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31878 *) ac_try_echo=$ac_try;;
31879 esac
31880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31881 (eval "$ac_link") 2>conftest.er1
31882 ac_status=$?
31883 grep -v '^ *+' conftest.er1 >conftest.err
31884 rm -f conftest.er1
31885 cat conftest.err >&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } && {
31888 test -z "$ac_c_werror_flag" ||
31889 test ! -s conftest.err
31890 } && test -s conftest$ac_exeext &&
31891 $as_test_x conftest$ac_exeext; then
31892 ac_cv_lib_Sgm_SgCreateList=yes
31893 else
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31896
31897 ac_cv_lib_Sgm_SgCreateList=no
31898 fi
31899
31900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31901 conftest$ac_exeext conftest.$ac_ext
31902 LIBS=$ac_check_lib_save_LIBS
31903 fi
31904 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31905 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31906 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31907 libsgm_link=" -lSgm"
31908 fi
31909
31910
31911 save_CFLAGS=$CFLAGS
31912 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31913
31914 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31915 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31916 if test "${wx_cv_lib_motif2+set}" = set; then
31917 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 else
31919 cat >conftest.$ac_ext <<_ACEOF
31920 /* confdefs.h. */
31921 _ACEOF
31922 cat confdefs.h >>conftest.$ac_ext
31923 cat >>conftest.$ac_ext <<_ACEOF
31924 /* end confdefs.h. */
31925
31926 #include <Xm/Xm.h>
31927
31928 int
31929 main ()
31930 {
31931
31932 #if XmVersion < 2000
31933 Not Motif 2
31934 #endif
31935
31936 ;
31937 return 0;
31938 }
31939 _ACEOF
31940 rm -f conftest.$ac_objext
31941 if { (ac_try="$ac_compile"
31942 case "(($ac_try" in
31943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31944 *) ac_try_echo=$ac_try;;
31945 esac
31946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31947 (eval "$ac_compile") 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && {
31954 test -z "$ac_c_werror_flag" ||
31955 test ! -s conftest.err
31956 } && test -s conftest.$ac_objext; then
31957 wx_cv_lib_motif2="yes"
31958 else
31959 echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.$ac_ext >&5
31961
31962 wx_cv_lib_motif2="no"
31963 fi
31964
31965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31966 fi
31967 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31968 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31969 if test "$wx_cv_lib_motif2" = "yes"; then
31970 cat >>confdefs.h <<\_ACEOF
31971 #define __WXMOTIF20__ 1
31972 _ACEOF
31973
31974 else
31975 cat >>confdefs.h <<\_ACEOF
31976 #define __WXMOTIF20__ 0
31977 _ACEOF
31978
31979 fi
31980
31981 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31982 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31983 if test "${wx_cv_lib_lesstif+set}" = set; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31985 else
31986 cat >conftest.$ac_ext <<_ACEOF
31987 /* confdefs.h. */
31988 _ACEOF
31989 cat confdefs.h >>conftest.$ac_ext
31990 cat >>conftest.$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31992
31993 #include <Xm/Xm.h>
31994
31995 int
31996 main ()
31997 {
31998
31999 #if !defined(LesstifVersion) || LesstifVersion <= 0
32000 Not Lesstif
32001 #endif
32002
32003 ;
32004 return 0;
32005 }
32006 _ACEOF
32007 rm -f conftest.$ac_objext
32008 if { (ac_try="$ac_compile"
32009 case "(($ac_try" in
32010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32011 *) ac_try_echo=$ac_try;;
32012 esac
32013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32014 (eval "$ac_compile") 2>conftest.er1
32015 ac_status=$?
32016 grep -v '^ *+' conftest.er1 >conftest.err
32017 rm -f conftest.er1
32018 cat conftest.err >&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } && {
32021 test -z "$ac_c_werror_flag" ||
32022 test ! -s conftest.err
32023 } && test -s conftest.$ac_objext; then
32024 wx_cv_lib_lesstif="yes"
32025 else
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.$ac_ext >&5
32028
32029 wx_cv_lib_lesstif="no"
32030 fi
32031
32032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033
32034 fi
32035 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32036 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32037 if test "$wx_cv_lib_lesstif" = "yes"; then
32038 cat >>confdefs.h <<\_ACEOF
32039 #define __WXLESSTIF__ 1
32040 _ACEOF
32041
32042 else
32043 cat >>confdefs.h <<\_ACEOF
32044 #define __WXLESSTIF__ 0
32045 _ACEOF
32046
32047 fi
32048
32049 CFLAGS=$save_CFLAGS
32050
32051 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32052 TOOLKIT=MOTIF
32053 GUIDIST=MOTIF_DIST
32054 fi
32055
32056 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32057 if test "$wxUSE_LIBXPM" = "sys"; then
32058 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32059 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32060
32061 ac_find_libraries=
32062 for ac_dir in $SEARCH_LIB;
32063 do
32064 for ac_extension in a so sl dylib dll.a; do
32065 if test -f "$ac_dir/libXpm.$ac_extension"; then
32066 ac_find_libraries=$ac_dir
32067 break 2
32068 fi
32069 done
32070 done
32071
32072 if test "$ac_find_libraries" != "" ; then
32073
32074 if test "$ac_find_libraries" = "default location"; then
32075 ac_path_to_link=""
32076 else
32077 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32078 result=$?
32079 if test $result = 0; then
32080 ac_path_to_link=""
32081 else
32082 ac_path_to_link=" -L$ac_find_libraries"
32083 fi
32084 fi
32085
32086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32087 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32088 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32089
32090 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32091 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32092 if test "${wx_cv_x11_xpm_h+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32094 else
32095
32096 save_CFLAGS=$CFLAGS
32097 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32098
32099 cat >conftest.$ac_ext <<_ACEOF
32100 /* confdefs.h. */
32101 _ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105
32106 #include <X11/xpm.h>
32107
32108 int
32109 main ()
32110 {
32111
32112 int version;
32113 version = XpmLibraryVersion();
32114
32115 ;
32116 return 0;
32117 }
32118 _ACEOF
32119 rm -f conftest.$ac_objext
32120 if { (ac_try="$ac_compile"
32121 case "(($ac_try" in
32122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32123 *) ac_try_echo=$ac_try;;
32124 esac
32125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32126 (eval "$ac_compile") 2>conftest.er1
32127 ac_status=$?
32128 grep -v '^ *+' conftest.er1 >conftest.err
32129 rm -f conftest.er1
32130 cat conftest.err >&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } && {
32133 test -z "$ac_c_werror_flag" ||
32134 test ! -s conftest.err
32135 } && test -s conftest.$ac_objext; then
32136 wx_cv_x11_xpm_h=yes
32137 else
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141 wx_cv_x11_xpm_h=no
32142
32143 fi
32144
32145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32146
32147 CFLAGS=$save_CFLAGS
32148
32149
32150 fi
32151 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32152 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32153
32154 if test $wx_cv_x11_xpm_h = "yes"; then
32155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32156 cat >>confdefs.h <<\_ACEOF
32157 #define wxHAVE_LIB_XPM 1
32158 _ACEOF
32159
32160 else
32161 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32162 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32163 fi
32164 fi
32165
32166 fi
32167
32168 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32169 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32170 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32172 else
32173 ac_check_lib_save_LIBS=$LIBS
32174 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32175 cat >conftest.$ac_ext <<_ACEOF
32176 /* confdefs.h. */
32177 _ACEOF
32178 cat confdefs.h >>conftest.$ac_ext
32179 cat >>conftest.$ac_ext <<_ACEOF
32180 /* end confdefs.h. */
32181
32182 /* Override any GCC internal prototype to avoid an error.
32183 Use char because int might match the return type of a GCC
32184 builtin and then its argument prototype would still apply. */
32185 #ifdef __cplusplus
32186 extern "C"
32187 #endif
32188 char XShapeQueryExtension ();
32189 int
32190 main ()
32191 {
32192 return XShapeQueryExtension ();
32193 ;
32194 return 0;
32195 }
32196 _ACEOF
32197 rm -f conftest.$ac_objext conftest$ac_exeext
32198 if { (ac_try="$ac_link"
32199 case "(($ac_try" in
32200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32201 *) ac_try_echo=$ac_try;;
32202 esac
32203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32204 (eval "$ac_link") 2>conftest.er1
32205 ac_status=$?
32206 grep -v '^ *+' conftest.er1 >conftest.err
32207 rm -f conftest.er1
32208 cat conftest.err >&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); } && {
32211 test -z "$ac_c_werror_flag" ||
32212 test ! -s conftest.err
32213 } && test -s conftest$ac_exeext &&
32214 $as_test_x conftest$ac_exeext; then
32215 ac_cv_lib_Xext_XShapeQueryExtension=yes
32216 else
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32219
32220 ac_cv_lib_Xext_XShapeQueryExtension=no
32221 fi
32222
32223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32224 conftest$ac_exeext conftest.$ac_ext
32225 LIBS=$ac_check_lib_save_LIBS
32226 fi
32227 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32228 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32229 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32230
32231 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32232 wxHAVE_XEXT_LIB=1
32233
32234 fi
32235
32236
32237 if test "$wxHAVE_XEXT_LIB" = 1; then
32238 save_CFLAGS="$CFLAGS"
32239 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32240
32241 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32242 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32243 cat >conftest.$ac_ext <<_ACEOF
32244 /* confdefs.h. */
32245 _ACEOF
32246 cat confdefs.h >>conftest.$ac_ext
32247 cat >>conftest.$ac_ext <<_ACEOF
32248 /* end confdefs.h. */
32249
32250 #include <X11/Xlib.h>
32251 #include <X11/extensions/shape.h>
32252
32253 int
32254 main ()
32255 {
32256
32257 int dummy1, dummy2;
32258 XShapeQueryExtension((Display*)NULL,
32259 (int*)NULL, (int*)NULL);
32260
32261 ;
32262 return 0;
32263 }
32264 _ACEOF
32265 rm -f conftest.$ac_objext
32266 if { (ac_try="$ac_compile"
32267 case "(($ac_try" in
32268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32269 *) ac_try_echo=$ac_try;;
32270 esac
32271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32272 (eval "$ac_compile") 2>conftest.er1
32273 ac_status=$?
32274 grep -v '^ *+' conftest.er1 >conftest.err
32275 rm -f conftest.er1
32276 cat conftest.err >&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } && {
32279 test -z "$ac_c_werror_flag" ||
32280 test ! -s conftest.err
32281 } && test -s conftest.$ac_objext; then
32282
32283 cat >>confdefs.h <<\_ACEOF
32284 #define HAVE_XSHAPE 1
32285 _ACEOF
32286
32287 { echo "$as_me:$LINENO: result: found" >&5
32288 echo "${ECHO_T}found" >&6; }
32289
32290 else
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32293
32294
32295 { echo "$as_me:$LINENO: result: not found" >&5
32296 echo "${ECHO_T}not found" >&6; }
32297
32298 fi
32299
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301 CFLAGS="$save_CFLAGS"
32302
32303 fi
32304 fi
32305
32306 if test "$wxUSE_MAC" = 1; then
32307 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32308 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32309 if test "$GCC" = yes; then
32310 { echo "$as_me:$LINENO: result: gcc" >&5
32311 echo "${ECHO_T}gcc" >&6; }
32312 CPPFLAGS_PASCAL="-fpascal-strings"
32313 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32314 { echo "$as_me:$LINENO: result: xlc" >&5
32315 echo "${ECHO_T}xlc" >&6; }
32316 CPPFLAGS_PASCAL="-qmacpstr"
32317 else
32318 { echo "$as_me:$LINENO: result: none" >&5
32319 echo "${ECHO_T}none" >&6; }
32320 fi
32321
32322 if test "x$wxUSE_UNIX" = "xyes"; then
32323 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32324 else
32325 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32326 fi
32327
32328 TOOLKIT=MAC
32329 GUIDIST=MACX_DIST
32330 WXBASEPORT="_carbon"
32331 fi
32332
32333 if test "$wxUSE_COCOA" = 1; then
32334 TOOLKIT=COCOA
32335 GUIDIST=COCOA_DIST
32336 fi
32337
32338 if test "$wxUSE_PM" = 1; then
32339 TOOLKIT=PM
32340 GUIDIST=PM_DIST
32341 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32342 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32343 if test "${wx_cv_spbcdata+set}" = set; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32345 else
32346
32347 cat >conftest.$ac_ext <<_ACEOF
32348 /* confdefs.h. */
32349 _ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353
32354 #define INCL_PM
32355 #include <os2.h>
32356
32357 int
32358 main ()
32359 {
32360
32361 SPBCDATA test;
32362
32363 ;
32364 return 0;
32365 }
32366 _ACEOF
32367 rm -f conftest.$ac_objext
32368 if { (ac_try="$ac_compile"
32369 case "(($ac_try" in
32370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32371 *) ac_try_echo=$ac_try;;
32372 esac
32373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32374 (eval "$ac_compile") 2>conftest.er1
32375 ac_status=$?
32376 grep -v '^ *+' conftest.er1 >conftest.err
32377 rm -f conftest.er1
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } && {
32381 test -z "$ac_c_werror_flag" ||
32382 test ! -s conftest.err
32383 } && test -s conftest.$ac_objext; then
32384 wx_cv_spbcdata=yes
32385 else
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32388
32389 wx_cv_spbcdata=no
32390
32391 fi
32392
32393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32394
32395
32396 fi
32397 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32398 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32399
32400 if test $wx_cv_spbcdata = "yes"; then
32401 cat >>confdefs.h <<\_ACEOF
32402 #define HAVE_SPBCDATA 1
32403 _ACEOF
32404
32405 fi
32406 fi
32407
32408 if test "$TOOLKIT" = "PM" ; then
32409 TOOLKIT_DIR="os2"
32410 else
32411 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32412 fi
32413
32414 if test "$wxUSE_UNIVERSAL" = "yes"; then
32415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32416 WIDGET_SET=univ
32417 fi
32418
32419 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32420 DISTDIR="wx\$(TOOLKIT)"
32421 else
32422 USE_GUI=0
32423
32424 TOOLKIT_DIR="base"
32425
32426 if test "$USE_WIN32" = 1 ; then
32427 TOOLKIT="MSW"
32428 fi
32429
32430 GUIDIST="BASE_DIST"
32431 DISTDIR="wxBase"
32432 fi
32433
32434
32435
32436 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32437 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32438 wxUSE_UNICODE_UTF8=yes
32439 elif test "$USE_OS2" = 1 ; then
32440 wxUSE_UNICODE_UTF8=yes
32441 else
32442 wxUSE_UNICODE_UTF8=no
32443 fi
32444 fi
32445
32446
32447 if test "$wxUSE_GUI" = "yes"; then
32448 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32449
32450 for ac_header in X11/Xlib.h
32451 do
32452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32457 else
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h. */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464
32465
32466 #include <$ac_header>
32467 _ACEOF
32468 rm -f conftest.$ac_objext
32469 if { (ac_try="$ac_compile"
32470 case "(($ac_try" in
32471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32472 *) ac_try_echo=$ac_try;;
32473 esac
32474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32475 (eval "$ac_compile") 2>conftest.er1
32476 ac_status=$?
32477 grep -v '^ *+' conftest.er1 >conftest.err
32478 rm -f conftest.er1
32479 cat conftest.err >&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); } && {
32482 test -z "$ac_c_werror_flag" ||
32483 test ! -s conftest.err
32484 } && test -s conftest.$ac_objext; then
32485 eval "$as_ac_Header=yes"
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 eval "$as_ac_Header=no"
32491 fi
32492
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 fi
32495 ac_res=`eval echo '${'$as_ac_Header'}'`
32496 { echo "$as_me:$LINENO: result: $ac_res" >&5
32497 echo "${ECHO_T}$ac_res" >&6; }
32498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32499 cat >>confdefs.h <<_ACEOF
32500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32501 _ACEOF
32502
32503 fi
32504
32505 done
32506
32507
32508 for ac_header in X11/XKBlib.h
32509 do
32510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 #if HAVE_X11_XLIB_H
32524 #include <X11/Xlib.h>
32525 #endif
32526
32527
32528 #include <$ac_header>
32529 _ACEOF
32530 rm -f conftest.$ac_objext
32531 if { (ac_try="$ac_compile"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32535 esac
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_compile") 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest.$ac_objext; then
32547 eval "$as_ac_Header=yes"
32548 else
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32551
32552 eval "$as_ac_Header=no"
32553 fi
32554
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556 fi
32557 ac_res=`eval echo '${'$as_ac_Header'}'`
32558 { echo "$as_me:$LINENO: result: $ac_res" >&5
32559 echo "${ECHO_T}$ac_res" >&6; }
32560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32561 cat >>confdefs.h <<_ACEOF
32562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32563 _ACEOF
32564
32565 fi
32566
32567 done
32568
32569 fi
32570 fi
32571
32572
32573
32574 if test "$wxUSE_DISPLAY" = "yes"; then
32575 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32576 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32577 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32578
32579 ac_find_libraries=
32580 for ac_dir in $SEARCH_LIB;
32581 do
32582 for ac_extension in a so sl dylib dll.a; do
32583 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32584 ac_find_libraries=$ac_dir
32585 break 2
32586 fi
32587 done
32588 done
32589
32590 if test "$ac_find_libraries" != "" ; then
32591
32592 if test "$ac_find_libraries" = "default location"; then
32593 ac_path_to_link=""
32594 else
32595 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32596 result=$?
32597 if test $result = 0; then
32598 ac_path_to_link=""
32599 else
32600 ac_path_to_link=" -L$ac_find_libraries"
32601 fi
32602 fi
32603
32604 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32605 LDFLAGS="$LDFLAGS $ac_path_to_link"
32606 fi
32607 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32608 { echo "$as_me:$LINENO: result: yes" >&5
32609 echo "${ECHO_T}yes" >&6; }
32610
32611 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32612 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32613
32614 ac_find_libraries=
32615 for ac_dir in $SEARCH_LIB;
32616 do
32617 for ac_extension in a so sl dylib dll.a; do
32618 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32619 ac_find_libraries=$ac_dir
32620 break 2
32621 fi
32622 done
32623 done
32624
32625 if test "$ac_find_libraries" != "" ; then
32626 { echo "$as_me:$LINENO: result: yes" >&5
32627 echo "${ECHO_T}yes" >&6; }
32628
32629 for ac_header in X11/extensions/xf86vmode.h
32630 do
32631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 else
32637 cat >conftest.$ac_ext <<_ACEOF
32638 /* confdefs.h. */
32639 _ACEOF
32640 cat confdefs.h >>conftest.$ac_ext
32641 cat >>conftest.$ac_ext <<_ACEOF
32642 /* end confdefs.h. */
32643
32644 #if HAVE_X11_XLIB_H
32645 #include <X11/Xlib.h>
32646 #endif
32647
32648
32649 #include <$ac_header>
32650 _ACEOF
32651 rm -f conftest.$ac_objext
32652 if { (ac_try="$ac_compile"
32653 case "(($ac_try" in
32654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32655 *) ac_try_echo=$ac_try;;
32656 esac
32657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32658 (eval "$ac_compile") 2>conftest.er1
32659 ac_status=$?
32660 grep -v '^ *+' conftest.er1 >conftest.err
32661 rm -f conftest.er1
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } && {
32665 test -z "$ac_c_werror_flag" ||
32666 test ! -s conftest.err
32667 } && test -s conftest.$ac_objext; then
32668 eval "$as_ac_Header=yes"
32669 else
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32672
32673 eval "$as_ac_Header=no"
32674 fi
32675
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 fi
32678 ac_res=`eval echo '${'$as_ac_Header'}'`
32679 { echo "$as_me:$LINENO: result: $ac_res" >&5
32680 echo "${ECHO_T}$ac_res" >&6; }
32681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32682 cat >>confdefs.h <<_ACEOF
32683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32684 _ACEOF
32685
32686 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32687
32688 fi
32689
32690 done
32691
32692 else
32693 { echo "$as_me:$LINENO: result: no" >&5
32694 echo "${ECHO_T}no" >&6; }
32695 fi
32696
32697 else
32698 { echo "$as_me:$LINENO: result: no" >&5
32699 echo "${ECHO_T}no" >&6; }
32700 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32701 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32702 wxUSE_DISPLAY="no"
32703 fi
32704 elif test "$wxUSE_MSW" = 1; then
32705 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32706 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32707 if test "${ac_cv_header_ddraw_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h. */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716 #include <windows.h>
32717
32718 #include <ddraw.h>
32719 _ACEOF
32720 rm -f conftest.$ac_objext
32721 if { (ac_try="$ac_compile"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32725 esac
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_compile") 2>conftest.er1
32728 ac_status=$?
32729 grep -v '^ *+' conftest.er1 >conftest.err
32730 rm -f conftest.er1
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest.$ac_objext; then
32737 ac_cv_header_ddraw_h=yes
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 ac_cv_header_ddraw_h=no
32743 fi
32744
32745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32746 fi
32747 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32748 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32749
32750
32751 fi
32752 fi
32753
32754 if test "$wxUSE_DETECT_SM" = "yes"; then
32755 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32756 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32757 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32758
32759 ac_find_libraries=
32760 for ac_dir in $SEARCH_LIB;
32761 do
32762 for ac_extension in a so sl dylib dll.a; do
32763 if test -f "$ac_dir/libSM.$ac_extension"; then
32764 ac_find_libraries=$ac_dir
32765 break 2
32766 fi
32767 done
32768 done
32769
32770 if test "$ac_find_libraries" != "" ; then
32771
32772 if test "$ac_find_libraries" = "default location"; then
32773 ac_path_to_link=""
32774 else
32775 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32776 result=$?
32777 if test $result = 0; then
32778 ac_path_to_link=""
32779 else
32780 ac_path_to_link=" -L$ac_find_libraries"
32781 fi
32782 fi
32783
32784 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32785 LDFLAGS="$LDFLAGS $ac_path_to_link"
32786 fi
32787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32788 { echo "$as_me:$LINENO: result: yes" >&5
32789 echo "${ECHO_T}yes" >&6; }
32790 else
32791 { echo "$as_me:$LINENO: result: no" >&5
32792 echo "${ECHO_T}no" >&6; }
32793 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32794 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32795 wxUSE_DETECT_SM="no"
32796 fi
32797 else
32798 wxUSE_DETECT_SM="no"
32799 fi
32800 fi
32801
32802
32803
32804 USE_OPENGL=0
32805 if test "$wxUSE_OPENGL" = "yes"; then
32806 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32807 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32808 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32809 wxUSE_OPENGL="no"
32810 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32811 OPENGL_LIBS="-framework OpenGL -framework AGL"
32812 elif test "$wxUSE_MSW" = 1; then
32813 OPENGL_LIBS="-lopengl32 -lglu32"
32814 else
32815 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32816 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32817
32818 ac_find_includes=
32819 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32820 do
32821 if test -f "$ac_dir/GL/gl.h"; then
32822 ac_find_includes=$ac_dir
32823 break
32824 fi
32825 done
32826
32827 if test "$ac_find_includes" != "" ; then
32828 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32829 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32830
32831 if test "x$ac_find_includes" = "x/usr/include"; then
32832 ac_path_to_include=""
32833 else
32834 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32835 result=$?
32836 if test $result = 0; then
32837 ac_path_to_include=""
32838 else
32839 ac_path_to_include=" -I$ac_find_includes"
32840 fi
32841 fi
32842
32843 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32844 else
32845 { echo "$as_me:$LINENO: result: not found" >&5
32846 echo "${ECHO_T}not found" >&6; }
32847 fi
32848
32849 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32853 else
32854 cat >conftest.$ac_ext <<_ACEOF
32855 /* confdefs.h. */
32856 _ACEOF
32857 cat confdefs.h >>conftest.$ac_ext
32858 cat >>conftest.$ac_ext <<_ACEOF
32859 /* end confdefs.h. */
32860
32861
32862 #include <GL/gl.h>
32863 _ACEOF
32864 rm -f conftest.$ac_objext
32865 if { (ac_try="$ac_compile"
32866 case "(($ac_try" in
32867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32868 *) ac_try_echo=$ac_try;;
32869 esac
32870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32871 (eval "$ac_compile") 2>conftest.er1
32872 ac_status=$?
32873 grep -v '^ *+' conftest.er1 >conftest.err
32874 rm -f conftest.er1
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } && {
32878 test -z "$ac_c_werror_flag" ||
32879 test ! -s conftest.err
32880 } && test -s conftest.$ac_objext; then
32881 ac_cv_header_GL_gl_h=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32885
32886 ac_cv_header_GL_gl_h=no
32887 fi
32888
32889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32890 fi
32891 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32892 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32893 if test $ac_cv_header_GL_gl_h = yes; then
32894
32895 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32896 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32897 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32899 else
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906
32907
32908 #include <GL/glu.h>
32909 _ACEOF
32910 rm -f conftest.$ac_objext
32911 if { (ac_try="$ac_compile"
32912 case "(($ac_try" in
32913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32914 *) ac_try_echo=$ac_try;;
32915 esac
32916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32917 (eval "$ac_compile") 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } && {
32924 test -z "$ac_c_werror_flag" ||
32925 test ! -s conftest.err
32926 } && test -s conftest.$ac_objext; then
32927 ac_cv_header_GL_glu_h=yes
32928 else
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32931
32932 ac_cv_header_GL_glu_h=no
32933 fi
32934
32935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 fi
32937 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32938 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32939 if test $ac_cv_header_GL_glu_h = yes; then
32940
32941 found_gl=0
32942
32943 { echo "$as_me:$LINENO: checking for -lGL" >&5
32944 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32945
32946 ac_find_libraries=
32947 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32948 do
32949 for ac_extension in a so sl dylib dll.a; do
32950 if test -f "$ac_dir/libGL.$ac_extension"; then
32951 ac_find_libraries=$ac_dir
32952 break 2
32953 fi
32954 done
32955 done
32956
32957 if test "$ac_find_libraries" != "" ; then
32958 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32959 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32960
32961
32962 if test "$ac_find_libraries" = "default location"; then
32963 ac_path_to_link=""
32964 else
32965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32966 result=$?
32967 if test $result = 0; then
32968 ac_path_to_link=""
32969 else
32970 ac_path_to_link=" -L$ac_find_libraries"
32971 fi
32972 fi
32973
32974 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32975 LDFLAGS_GL="$ac_path_to_link"
32976 fi
32977
32978 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32979 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32980
32981 ac_find_libraries=
32982 for ac_dir in $SEARCH_LIB;
32983 do
32984 for ac_extension in a so sl dylib dll.a; do
32985 if test -f "$ac_dir/libGLU.$ac_extension"; then
32986 ac_find_libraries=$ac_dir
32987 break 2
32988 fi
32989 done
32990 done
32991
32992 if test "$ac_find_libraries" != "" ; then
32993
32994 if test "$ac_find_libraries" = "default location"; then
32995 ac_path_to_link=""
32996 else
32997 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32998 result=$?
32999 if test $result = 0; then
33000 ac_path_to_link=""
33001 else
33002 ac_path_to_link=" -L$ac_find_libraries"
33003 fi
33004 fi
33005
33006 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33007 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33008 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33009 fi
33010
33011 found_gl=1
33012 OPENGL_LIBS="-lGL -lGLU"
33013 { echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6; }
33015 else
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33018 fi
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 fi
33023
33024 if test "$found_gl" != 1; then
33025 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33026 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33027
33028 ac_find_libraries=
33029 for ac_dir in $SEARCH_LIB;
33030 do
33031 for ac_extension in a so sl dylib dll.a; do
33032 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33033 ac_find_libraries=$ac_dir
33034 break 2
33035 fi
33036 done
33037 done
33038
33039 if test "$ac_find_libraries" != "" ; then
33040
33041 if test "$ac_find_libraries" = "default location"; then
33042 ac_path_to_link=""
33043 else
33044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33045 result=$?
33046 if test $result = 0; then
33047 ac_path_to_link=""
33048 else
33049 ac_path_to_link=" -L$ac_find_libraries"
33050 fi
33051 fi
33052
33053 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33054 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33055 { echo "$as_me:$LINENO: result: yes" >&5
33056 echo "${ECHO_T}yes" >&6; }
33057 else
33058 { echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6; }
33060 fi
33061 fi
33062
33063 fi
33064
33065
33066
33067 fi
33068
33069
33070
33071 if test "x$OPENGL_LIBS" = "x"; then
33072 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33073 echo "$as_me: error: OpenGL libraries not available" >&2;}
33074 { (exit 1); exit 1; }; }
33075 fi
33076 fi
33077
33078 if test "$wxUSE_OPENGL" = "yes"; then
33079 USE_OPENGL=1
33080 cat >>confdefs.h <<\_ACEOF
33081 #define wxUSE_OPENGL 1
33082 _ACEOF
33083
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_GLCANVAS 1
33086 _ACEOF
33087
33088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33089 fi
33090 fi
33091
33092
33093 if test -n "$TOOLKIT" ; then
33094 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33095 fi
33096
33097
33098
33099 if test "$wxUSE_SHARED" = "yes"; then
33100 case "${host}" in
33101 *-pc-msdosdjgpp )
33102 wxUSE_SHARED=no
33103 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33104 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33105 ;;
33106 esac
33107 fi
33108
33109 if test "$wxUSE_SHARED" = "yes"; then
33110
33111
33112 case "${host}" in
33113 *-*-cygwin* | *-*-mingw* )
33114 wx_cv_version_script=no
33115 ;;
33116
33117 *)
33118 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33119 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33120 if test "${wx_cv_version_script+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 else
33123
33124 echo "VER_1 { *; };" >conftest.sym
33125 echo "int main() { return 0; }" >conftest.cpp
33126
33127 if { ac_try='
33128 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33129 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33131 (eval $ac_try) 2>&5
33132 ac_status=$?
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; } ; then
33135 if test -s conftest.stderr ; then
33136 wx_cv_version_script=no
33137 else
33138 wx_cv_version_script=yes
33139 fi
33140 else
33141 wx_cv_version_script=no
33142 fi
33143
33144 if test $wx_cv_version_script = yes
33145 then
33146 echo "struct B { virtual ~B() { } }; \
33147 struct D : public B { }; \
33148 void F() { D d; }" > conftest.cpp
33149
33150 if { ac_try='
33151 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33152 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33154 (eval $ac_try) 2>&5
33155 ac_status=$?
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; } &&
33158 { ac_try='
33159 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33160 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; }
33166 then
33167 if { ac_try='
33168 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33169 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33172 ac_status=$?
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; }
33175 then
33176 wx_cv_version_script=yes
33177 else
33178 wx_cv_version_script=no
33179 fi
33180 fi
33181 fi
33182
33183 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33184 rm -f conftest1.output conftest2.output conftest3.output
33185
33186 fi
33187 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33188 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33189
33190 if test $wx_cv_version_script = yes ; then
33191 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33192 fi
33193 ;;
33194 esac
33195
33196
33197 if test "$wxUSE_VISIBILITY" != "no"; then
33198
33199
33200 if test -n "$GCC"; then
33201 CFLAGS_VISIBILITY="-fvisibility=hidden"
33202 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33203 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33204 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33205 if test "${wx_cv_cc_visibility+set}" = set; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33207 else
33208
33209 wx_save_CXXFLAGS="$CXXFLAGS"
33210 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33216
33217 cat >conftest.$ac_ext <<_ACEOF
33218 /* confdefs.h. */
33219 _ACEOF
33220 cat confdefs.h >>conftest.$ac_ext
33221 cat >>conftest.$ac_ext <<_ACEOF
33222 /* end confdefs.h. */
33223
33224 /* we need gcc >= 4.0, older versions with visibility support
33225 didn't have class visibility: */
33226 #if defined(__GNUC__) && __GNUC__ < 4
33227 error this gcc is too old;
33228 #endif
33229
33230 /* visibility only makes sense for ELF shared libs: */
33231 #if !defined(__ELF__) && !defined(__APPLE__)
33232 error this platform has no visibility;
33233 #endif
33234
33235 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33236 extern __attribute__((__visibility__("default"))) int exportedvar;
33237 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33238 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33239 class __attribute__((__visibility__("default"))) Foo {
33240 Foo() {}
33241 };
33242
33243 int
33244 main ()
33245 {
33246
33247 ;
33248 return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext
33252 if { (ac_try="$ac_compile"
33253 case "(($ac_try" in
33254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33255 *) ac_try_echo=$ac_try;;
33256 esac
33257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33258 (eval "$ac_compile") 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } && {
33265 test -z "$ac_cxx_werror_flag" ||
33266 test ! -s conftest.err
33267 } && test -s conftest.$ac_objext; then
33268 wx_cv_cc_visibility=yes
33269 else
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33272
33273 wx_cv_cc_visibility=no
33274 fi
33275
33276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33277 ac_ext=c
33278 ac_cpp='$CPP $CPPFLAGS'
33279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33282
33283 CXXFLAGS="$wx_save_CXXFLAGS"
33284 fi
33285
33286 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33287 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33288 if test $wx_cv_cc_visibility = yes; then
33289 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33290 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33291 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33294
33295 wx_save_CXXFLAGS="$CXXFLAGS"
33296 wx_save_LDFLAGS="$LDFLAGS"
33297 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33298 LDFLAGS="$LDFLAGS -shared -fPIC"
33299 ac_ext=cpp
33300 ac_cpp='$CXXCPP $CPPFLAGS'
33301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33304
33305 cat >conftest.$ac_ext <<_ACEOF
33306 /* confdefs.h. */
33307 _ACEOF
33308 cat confdefs.h >>conftest.$ac_ext
33309 cat >>conftest.$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311
33312 #include <string>
33313
33314 int
33315 main ()
33316 {
33317
33318 std::string s("hello");
33319 return s.length();
33320
33321 ;
33322 return 0;
33323 }
33324 _ACEOF
33325 rm -f conftest.$ac_objext conftest$ac_exeext
33326 if { (ac_try="$ac_link"
33327 case "(($ac_try" in
33328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33329 *) ac_try_echo=$ac_try;;
33330 esac
33331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33332 (eval "$ac_link") 2>conftest.er1
33333 ac_status=$?
33334 grep -v '^ *+' conftest.er1 >conftest.err
33335 rm -f conftest.er1
33336 cat conftest.err >&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); } && {
33339 test -z "$ac_cxx_werror_flag" ||
33340 test ! -s conftest.err
33341 } && test -s conftest$ac_exeext &&
33342 $as_test_x conftest$ac_exeext; then
33343 wx_cv_cc_broken_libstdcxx_visibility=no
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 wx_cv_cc_broken_libstdcxx_visibility=yes
33349 fi
33350
33351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33352 conftest$ac_exeext conftest.$ac_ext
33353 ac_ext=c
33354 ac_cpp='$CPP $CPPFLAGS'
33355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33358
33359 CXXFLAGS="$wx_save_CXXFLAGS"
33360 LDFLAGS="$wx_save_LDFLAGS"
33361 fi
33362
33363 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33364 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33365
33366 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33367 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33368 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33369 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33370 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 else
33372
33373 ac_ext=cpp
33374 ac_cpp='$CXXCPP $CPPFLAGS'
33375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33378
33379 cat >conftest.$ac_ext <<_ACEOF
33380 /* confdefs.h. */
33381 _ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385
33386 #pragma GCC visibility push(default)
33387 #include <string>
33388 #pragma GCC visibility pop
33389
33390 int
33391 main ()
33392 {
33393
33394 std::string s("hello");
33395 return s.length();
33396
33397 ;
33398 return 0;
33399 }
33400 _ACEOF
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (ac_try="$ac_link"
33403 case "(($ac_try" in
33404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33405 *) ac_try_echo=$ac_try;;
33406 esac
33407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33408 (eval "$ac_link") 2>conftest.er1
33409 ac_status=$?
33410 grep -v '^ *+' conftest.er1 >conftest.err
33411 rm -f conftest.er1
33412 cat conftest.err >&5
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); } && {
33415 test -z "$ac_cxx_werror_flag" ||
33416 test ! -s conftest.err
33417 } && test -s conftest$ac_exeext &&
33418 $as_test_x conftest$ac_exeext; then
33419 wx_cv_cc_visibility_workaround=no
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 wx_cv_cc_visibility_workaround=yes
33425 fi
33426
33427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33428 conftest$ac_exeext conftest.$ac_ext
33429 ac_ext=c
33430 ac_cpp='$CPP $CPPFLAGS'
33431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434
33435
33436 fi
33437
33438 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33439 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33440
33441 if test $wx_cv_cc_visibility_workaround = no; then
33442 wx_cv_cc_visibility=no
33443 fi
33444 fi
33445 fi
33446
33447 if test $wx_cv_cc_visibility = yes; then
33448 cat >>confdefs.h <<\_ACEOF
33449 #define HAVE_VISIBILITY 1
33450 _ACEOF
33451
33452 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33453 cat >>confdefs.h <<\_ACEOF
33454 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33455 _ACEOF
33456
33457 fi
33458 else
33459 CFLAGS_VISIBILITY=""
33460 CXXFLAGS_VISIBILITY=""
33461 fi
33462
33463
33464 fi
33465
33466 fi
33467
33468 if test "x$SUNCXX" = xyes; then
33469 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33470 WXCONFIG_RPATH="-R\$libdir"
33471 else
33472 case "${host}" in
33473 *-*-linux* | *-*-gnu* )
33474 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33475 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33476 ;;
33477
33478 *-*-solaris2* )
33479
33480 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33481
33482 saveLdflags="$LDFLAGS"
33483 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33484 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33485 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33486 cat >conftest.$ac_ext <<_ACEOF
33487 /* confdefs.h. */
33488 _ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33492
33493 int
33494 main ()
33495 {
33496
33497 ;
33498 return 0;
33499 }
33500 _ACEOF
33501 rm -f conftest.$ac_objext conftest$ac_exeext
33502 if { (ac_try="$ac_link"
33503 case "(($ac_try" in
33504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33505 *) ac_try_echo=$ac_try;;
33506 esac
33507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33508 (eval "$ac_link") 2>conftest.er1
33509 ac_status=$?
33510 grep -v '^ *+' conftest.er1 >conftest.err
33511 rm -f conftest.er1
33512 cat conftest.err >&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } && {
33515 test -z "$ac_c_werror_flag" ||
33516 test ! -s conftest.err
33517 } && test -s conftest$ac_exeext &&
33518 $as_test_x conftest$ac_exeext; then
33519
33520 { echo "$as_me:$LINENO: result: yes" >&5
33521 echo "${ECHO_T}yes" >&6; }
33522 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33523 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33524
33525 else
33526 echo "$as_me: failed program was:" >&5
33527 sed 's/^/| /' conftest.$ac_ext >&5
33528
33529
33530 { echo "$as_me:$LINENO: result: no" >&5
33531 echo "${ECHO_T}no" >&6; }
33532 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33533 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33534 LDFLAGS="$saveLdflags -Wl,-R,/"
33535 cat >conftest.$ac_ext <<_ACEOF
33536 /* confdefs.h. */
33537 _ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33541
33542 int
33543 main ()
33544 {
33545
33546 ;
33547 return 0;
33548 }
33549 _ACEOF
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (ac_try="$ac_link"
33552 case "(($ac_try" in
33553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33554 *) ac_try_echo=$ac_try;;
33555 esac
33556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33557 (eval "$ac_link") 2>conftest.er1
33558 ac_status=$?
33559 grep -v '^ *+' conftest.er1 >conftest.err
33560 rm -f conftest.er1
33561 cat conftest.err >&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); } && {
33564 test -z "$ac_c_werror_flag" ||
33565 test ! -s conftest.err
33566 } && test -s conftest$ac_exeext &&
33567 $as_test_x conftest$ac_exeext; then
33568
33569 { echo "$as_me:$LINENO: result: yes" >&5
33570 echo "${ECHO_T}yes" >&6; }
33571 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33572 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33573
33574 else
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33577
33578
33579 { echo "$as_me:$LINENO: result: no" >&5
33580 echo "${ECHO_T}no" >&6; }
33581
33582 fi
33583
33584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33585 conftest$ac_exeext conftest.$ac_ext
33586
33587 fi
33588
33589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33590 conftest$ac_exeext conftest.$ac_ext
33591 LDFLAGS="$saveLdflags"
33592 ;;
33593
33594 *-*-darwin* )
33595 install_name_tool=`which install_name_tool`
33596 if test "$install_name_tool" -a -x "$install_name_tool"; then
33597 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33598 cat <<EOF >change-install-names
33599 #!/bin/sh
33600 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33601 inst_cmd="install_name_tool "
33602 for i in \${libnames} ; do
33603 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33604 done
33605 \${inst_cmd} \${3}
33606 EOF
33607 chmod +x change-install-names
33608 fi
33609 ;;
33610
33611 *-*-cygwin* | *-*-mingw32* )
33612 ;;
33613
33614 *-*-hpux* )
33615 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33616 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33617 ;;
33618
33619 esac
33620 fi
33621
33622 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33623
33624 if test $wxUSE_RPATH = "no"; then
33625 SAMPLES_RPATH_FLAG=''
33626 SAMPLES_RPATH_POSTLINK=''
33627 WXCONFIG_RPATH=''
33628 fi
33629
33630 SHARED=1
33631
33632 else
33633
33634 config_linkage_component="-static"
33635 SHARED=0
33636
33637 fi
33638
33639
33640 UNICODE=0
33641 lib_unicode_suffix=
33642 WX_CHARTYPE="ansi"
33643 if test "$wxUSE_UNICODE" = "yes"; then
33644 lib_unicode_suffix=u
33645 WX_CHARTYPE="unicode"
33646 UNICODE=1
33647 fi
33648
33649 lib_debug_suffix=
33650 WX_DEBUGTYPE="release"
33651 DEBUG_FLAG=0
33652 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33653 lib_debug_suffix=d
33654 WX_DEBUGTYPE="debug"
33655 DEBUG_FLAG=1
33656 fi
33657
33658 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33659 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33660
33661 DEBUG_INFO=0
33662 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33663 DEBUG_INFO=1
33664 fi
33665
33666 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33667
33668 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33669
33670 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33671
33672 if test "$cross_compiling" = "yes"; then
33673 HOST_SUFFIX="-$host_alias"
33674 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33675 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33676 fi
33677
33678 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33679 if test "${TOOLKIT_DIR}" = "os2"; then
33680 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33681 else
33682 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33683 fi
33684
33685
33686
33687 if test "$wxUSE_COCOA" = 1; then
33688
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33694
33695 ac_ext=m
33696
33697 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33698 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33699 cat >conftest.$ac_ext <<_ACEOF
33700 /* confdefs.h. */
33701 _ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705 #include <AppKit/NSEvent.h>
33706 #include <CoreFoundation/CoreFoundation.h>
33707
33708 int
33709 main ()
33710 {
33711
33712 ;
33713 return 0;
33714 }
33715 _ACEOF
33716 rm -f conftest.$ac_objext
33717 if { (ac_try="$ac_compile"
33718 case "(($ac_try" in
33719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33720 *) ac_try_echo=$ac_try;;
33721 esac
33722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33723 (eval "$ac_compile") 2>conftest.er1
33724 ac_status=$?
33725 grep -v '^ *+' conftest.er1 >conftest.err
33726 rm -f conftest.er1
33727 cat conftest.err >&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } && {
33730 test -z "$ac_c_werror_flag" ||
33731 test ! -s conftest.err
33732 } && test -s conftest.$ac_objext; then
33733 { echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6; }
33735 else
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33738
33739 { echo "$as_me:$LINENO: result: yes" >&5
33740 echo "${ECHO_T}yes" >&6; }
33741 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33742 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 #define __Point__ 1
33750 #include <AppKit/NSEvent.h>
33751 #include <CoreFoundation/CoreFoundation.h>
33752
33753 int
33754 main ()
33755 {
33756
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (ac_try="$ac_compile"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33766 esac
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_compile") 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest.$ac_objext; then
33778 { echo "$as_me:$LINENO: result: yes" >&5
33779 echo "${ECHO_T}yes" >&6; }
33780 cat >>confdefs.h <<\_ACEOF
33781 #define __Point__ 1
33782 _ACEOF
33783
33784
33785 else
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33788
33789 { { echo "$as_me:$LINENO: error: no
33790 See \`config.log' for more details." >&5
33791 echo "$as_me: error: no
33792 See \`config.log' for more details." >&2;}
33793 { (exit 1); exit 1; }; }
33794
33795 fi
33796
33797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33798
33799 fi
33800
33801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33802 ac_ext=c
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33807
33808 fi
33809
33810
33811 { echo "$as_me:$LINENO: checking for mode_t" >&5
33812 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33813 if test "${ac_cv_type_mode_t+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816 cat >conftest.$ac_ext <<_ACEOF
33817 /* confdefs.h. */
33818 _ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33822 $ac_includes_default
33823 typedef mode_t ac__type_new_;
33824 int
33825 main ()
33826 {
33827 if ((ac__type_new_ *) 0)
33828 return 0;
33829 if (sizeof (ac__type_new_))
33830 return 0;
33831 ;
33832 return 0;
33833 }
33834 _ACEOF
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33840 esac
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.$ac_objext; then
33852 ac_cv_type_mode_t=yes
33853 else
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33856
33857 ac_cv_type_mode_t=no
33858 fi
33859
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33861 fi
33862 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33863 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33864 if test $ac_cv_type_mode_t = yes; then
33865 :
33866 else
33867
33868 cat >>confdefs.h <<_ACEOF
33869 #define mode_t int
33870 _ACEOF
33871
33872 fi
33873
33874 { echo "$as_me:$LINENO: checking for off_t" >&5
33875 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33876 if test "${ac_cv_type_off_t+set}" = set; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33878 else
33879 cat >conftest.$ac_ext <<_ACEOF
33880 /* confdefs.h. */
33881 _ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 $ac_includes_default
33886 typedef off_t ac__type_new_;
33887 int
33888 main ()
33889 {
33890 if ((ac__type_new_ *) 0)
33891 return 0;
33892 if (sizeof (ac__type_new_))
33893 return 0;
33894 ;
33895 return 0;
33896 }
33897 _ACEOF
33898 rm -f conftest.$ac_objext
33899 if { (ac_try="$ac_compile"
33900 case "(($ac_try" in
33901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33902 *) ac_try_echo=$ac_try;;
33903 esac
33904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33905 (eval "$ac_compile") 2>conftest.er1
33906 ac_status=$?
33907 grep -v '^ *+' conftest.er1 >conftest.err
33908 rm -f conftest.er1
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } && {
33912 test -z "$ac_c_werror_flag" ||
33913 test ! -s conftest.err
33914 } && test -s conftest.$ac_objext; then
33915 ac_cv_type_off_t=yes
33916 else
33917 echo "$as_me: failed program was:" >&5
33918 sed 's/^/| /' conftest.$ac_ext >&5
33919
33920 ac_cv_type_off_t=no
33921 fi
33922
33923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33924 fi
33925 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33926 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33927 if test $ac_cv_type_off_t = yes; then
33928 :
33929 else
33930
33931 cat >>confdefs.h <<_ACEOF
33932 #define off_t long int
33933 _ACEOF
33934
33935 fi
33936
33937 { echo "$as_me:$LINENO: checking for pid_t" >&5
33938 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33939 if test "${ac_cv_type_pid_t+set}" = set; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33941 else
33942 cat >conftest.$ac_ext <<_ACEOF
33943 /* confdefs.h. */
33944 _ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948 $ac_includes_default
33949 typedef pid_t ac__type_new_;
33950 int
33951 main ()
33952 {
33953 if ((ac__type_new_ *) 0)
33954 return 0;
33955 if (sizeof (ac__type_new_))
33956 return 0;
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33966 esac
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33969 ac_status=$?
33970 grep -v '^ *+' conftest.er1 >conftest.err
33971 rm -f conftest.er1
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.$ac_objext; then
33978 ac_cv_type_pid_t=yes
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983 ac_cv_type_pid_t=no
33984 fi
33985
33986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33987 fi
33988 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33989 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33990 if test $ac_cv_type_pid_t = yes; then
33991 :
33992 else
33993
33994 cat >>confdefs.h <<_ACEOF
33995 #define pid_t int
33996 _ACEOF
33997
33998 fi
33999
34000 { echo "$as_me:$LINENO: checking for size_t" >&5
34001 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34002 if test "${ac_cv_type_size_t+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005 cat >conftest.$ac_ext <<_ACEOF
34006 /* confdefs.h. */
34007 _ACEOF
34008 cat confdefs.h >>conftest.$ac_ext
34009 cat >>conftest.$ac_ext <<_ACEOF
34010 /* end confdefs.h. */
34011 $ac_includes_default
34012 typedef size_t ac__type_new_;
34013 int
34014 main ()
34015 {
34016 if ((ac__type_new_ *) 0)
34017 return 0;
34018 if (sizeof (ac__type_new_))
34019 return 0;
34020 ;
34021 return 0;
34022 }
34023 _ACEOF
34024 rm -f conftest.$ac_objext
34025 if { (ac_try="$ac_compile"
34026 case "(($ac_try" in
34027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34028 *) ac_try_echo=$ac_try;;
34029 esac
34030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34031 (eval "$ac_compile") 2>conftest.er1
34032 ac_status=$?
34033 grep -v '^ *+' conftest.er1 >conftest.err
34034 rm -f conftest.er1
34035 cat conftest.err >&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); } && {
34038 test -z "$ac_c_werror_flag" ||
34039 test ! -s conftest.err
34040 } && test -s conftest.$ac_objext; then
34041 ac_cv_type_size_t=yes
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34045
34046 ac_cv_type_size_t=no
34047 fi
34048
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050 fi
34051 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34052 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34053 if test $ac_cv_type_size_t = yes; then
34054 :
34055 else
34056
34057 cat >>confdefs.h <<_ACEOF
34058 #define size_t unsigned int
34059 _ACEOF
34060
34061 fi
34062
34063
34064 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34065 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34066 if test "${ac_cv_type_ssize_t+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h. */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 $ac_includes_default
34076 typedef ssize_t ac__type_new_;
34077 int
34078 main ()
34079 {
34080 if ((ac__type_new_ *) 0)
34081 return 0;
34082 if (sizeof (ac__type_new_))
34083 return 0;
34084 ;
34085 return 0;
34086 }
34087 _ACEOF
34088 rm -f conftest.$ac_objext
34089 if { (ac_try="$ac_compile"
34090 case "(($ac_try" in
34091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34092 *) ac_try_echo=$ac_try;;
34093 esac
34094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34095 (eval "$ac_compile") 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } && {
34102 test -z "$ac_c_werror_flag" ||
34103 test ! -s conftest.err
34104 } && test -s conftest.$ac_objext; then
34105 ac_cv_type_ssize_t=yes
34106 else
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.$ac_ext >&5
34109
34110 ac_cv_type_ssize_t=no
34111 fi
34112
34113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34114 fi
34115 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34116 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34117 if test $ac_cv_type_ssize_t = yes; then
34118
34119 cat >>confdefs.h <<_ACEOF
34120 #define HAVE_SSIZE_T 1
34121 _ACEOF
34122
34123
34124 fi
34125
34126
34127 ac_ext=cpp
34128 ac_cpp='$CXXCPP $CPPFLAGS'
34129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34133 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34134 if test "${wx_cv_size_t_is_uint+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137
34138 cat >conftest.$ac_ext <<_ACEOF
34139 /* confdefs.h. */
34140 _ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 #include <stddef.h>
34145 int
34146 main ()
34147 {
34148
34149 return 0; }
34150
34151 struct Foo { void foo(size_t); void foo(unsigned int); };
34152
34153 int bar() {
34154
34155 ;
34156 return 0;
34157 }
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_cxx_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 wx_cv_size_t_is_uint=no
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34180
34181 wx_cv_size_t_is_uint=yes
34182
34183 fi
34184
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186
34187
34188 fi
34189 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34190 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34191
34192 if test "$wx_cv_size_t_is_uint" = "yes"; then
34193 cat >>confdefs.h <<\_ACEOF
34194 #define wxSIZE_T_IS_UINT 1
34195 _ACEOF
34196
34197 else
34198 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34199 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34200 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 cat >conftest.$ac_ext <<_ACEOF
34204 /* confdefs.h. */
34205 _ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 #include <stddef.h>
34210 int
34211 main ()
34212 {
34213
34214 return 0; }
34215
34216 struct Foo { void foo(size_t); void foo(unsigned long); };
34217
34218 int bar() {
34219
34220 ;
34221 return 0;
34222 }
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 *) ac_try_echo=$ac_try;;
34229 esac
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34232 ac_status=$?
34233 grep -v '^ *+' conftest.er1 >conftest.err
34234 rm -f conftest.er1
34235 cat conftest.err >&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_cxx_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.$ac_objext; then
34241 wx_cv_size_t_is_ulong=no
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 wx_cv_size_t_is_ulong=yes
34247
34248 fi
34249
34250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34251
34252 fi
34253 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34254 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34255
34256 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34257 cat >>confdefs.h <<\_ACEOF
34258 #define wxSIZE_T_IS_ULONG 1
34259 _ACEOF
34260
34261 fi
34262 fi
34263
34264 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34265 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34266 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 else
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 #include <wchar.h>
34276 int
34277 main ()
34278 {
34279
34280 return 0; }
34281
34282 struct Foo { void foo(wchar_t);
34283 void foo(unsigned short);
34284 void foo(unsigned int);
34285 void foo(unsigned long); };
34286
34287 int bar() {
34288
34289 ;
34290 return 0;
34291 }
34292 _ACEOF
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34298 esac
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_cxx_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_wchar_t_is_separate_type=yes
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34314
34315 wx_cv_wchar_t_is_separate_type=no
34316
34317 fi
34318
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320
34321 fi
34322 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34323 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34324
34325 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34326 cat >>confdefs.h <<\_ACEOF
34327 #define wxWCHAR_T_IS_REAL_TYPE 1
34328 _ACEOF
34329
34330 else
34331 cat >>confdefs.h <<\_ACEOF
34332 #define wxWCHAR_T_IS_REAL_TYPE 0
34333 _ACEOF
34334
34335 fi
34336
34337 ac_ext=c
34338 ac_cpp='$CPP $CPPFLAGS'
34339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342
34343
34344 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34345 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34346 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349
34350 cat >conftest.$ac_ext <<_ACEOF
34351 /* confdefs.h. */
34352 _ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34356 #include <pwd.h>
34357 int
34358 main ()
34359 {
34360
34361 char *p;
34362 struct passwd *pw;
34363 p = pw->pw_gecos;
34364
34365 ;
34366 return 0;
34367 }
34368 _ACEOF
34369 rm -f conftest.$ac_objext
34370 if { (ac_try="$ac_compile"
34371 case "(($ac_try" in
34372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34373 *) ac_try_echo=$ac_try;;
34374 esac
34375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34376 (eval "$ac_compile") 2>conftest.er1
34377 ac_status=$?
34378 grep -v '^ *+' conftest.er1 >conftest.err
34379 rm -f conftest.er1
34380 cat conftest.err >&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); } && {
34383 test -z "$ac_c_werror_flag" ||
34384 test ! -s conftest.err
34385 } && test -s conftest.$ac_objext; then
34386
34387 wx_cv_struct_pw_gecos=yes
34388
34389 else
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.$ac_ext >&5
34392
34393
34394 wx_cv_struct_pw_gecos=no
34395
34396
34397 fi
34398
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400
34401
34402 fi
34403 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34404 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34405
34406 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define HAVE_PW_GECOS 1
34409 _ACEOF
34410
34411 fi
34412
34413
34414 if test "$wxUSE_WCHAR_T" = "yes"; then
34415 cat >>confdefs.h <<\_ACEOF
34416 #define wxUSE_WCHAR_T 1
34417 _ACEOF
34418
34419
34420 WCSLEN_FOUND=0
34421 WCHAR_LINK=
34422
34423 for ac_func in wcslen
34424 do
34425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34439 #define $ac_func innocuous_$ac_func
34440
34441 /* System header to define __stub macros and hopefully few prototypes,
34442 which can conflict with char $ac_func (); below.
34443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34444 <limits.h> exists even on freestanding compilers. */
34445
34446 #ifdef __STDC__
34447 # include <limits.h>
34448 #else
34449 # include <assert.h>
34450 #endif
34451
34452 #undef $ac_func
34453
34454 /* Override any GCC internal prototype to avoid an error.
34455 Use char because int might match the return type of a GCC
34456 builtin and then its argument prototype would still apply. */
34457 #ifdef __cplusplus
34458 extern "C"
34459 #endif
34460 char $ac_func ();
34461 /* The GNU C library defines this for functions which it implements
34462 to always fail with ENOSYS. Some functions are actually named
34463 something starting with __ and the normal name is an alias. */
34464 #if defined __stub_$ac_func || defined __stub___$ac_func
34465 choke me
34466 #endif
34467
34468 int
34469 main ()
34470 {
34471 return $ac_func ();
34472 ;
34473 return 0;
34474 }
34475 _ACEOF
34476 rm -f conftest.$ac_objext conftest$ac_exeext
34477 if { (ac_try="$ac_link"
34478 case "(($ac_try" in
34479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34480 *) ac_try_echo=$ac_try;;
34481 esac
34482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34483 (eval "$ac_link") 2>conftest.er1
34484 ac_status=$?
34485 grep -v '^ *+' conftest.er1 >conftest.err
34486 rm -f conftest.er1
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } && {
34490 test -z "$ac_c_werror_flag" ||
34491 test ! -s conftest.err
34492 } && test -s conftest$ac_exeext &&
34493 $as_test_x conftest$ac_exeext; then
34494 eval "$as_ac_var=yes"
34495 else
34496 echo "$as_me: failed program was:" >&5
34497 sed 's/^/| /' conftest.$ac_ext >&5
34498
34499 eval "$as_ac_var=no"
34500 fi
34501
34502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34503 conftest$ac_exeext conftest.$ac_ext
34504 fi
34505 ac_res=`eval echo '${'$as_ac_var'}'`
34506 { echo "$as_me:$LINENO: result: $ac_res" >&5
34507 echo "${ECHO_T}$ac_res" >&6; }
34508 if test `eval echo '${'$as_ac_var'}'` = yes; then
34509 cat >>confdefs.h <<_ACEOF
34510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34511 _ACEOF
34512 WCSLEN_FOUND=1
34513 fi
34514 done
34515
34516
34517 if test "$WCSLEN_FOUND" = 0; then
34518 if test "$TOOLKIT" = "MSW"; then
34519 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34520 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34521 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524 ac_check_lib_save_LIBS=$LIBS
34525 LIBS="-lmsvcrt $LIBS"
34526 cat >conftest.$ac_ext <<_ACEOF
34527 /* confdefs.h. */
34528 _ACEOF
34529 cat confdefs.h >>conftest.$ac_ext
34530 cat >>conftest.$ac_ext <<_ACEOF
34531 /* end confdefs.h. */
34532
34533 /* Override any GCC internal prototype to avoid an error.
34534 Use char because int might match the return type of a GCC
34535 builtin and then its argument prototype would still apply. */
34536 #ifdef __cplusplus
34537 extern "C"
34538 #endif
34539 char wcslen ();
34540 int
34541 main ()
34542 {
34543 return wcslen ();
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext conftest$ac_exeext
34549 if { (ac_try="$ac_link"
34550 case "(($ac_try" in
34551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34552 *) ac_try_echo=$ac_try;;
34553 esac
34554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34555 (eval "$ac_link") 2>conftest.er1
34556 ac_status=$?
34557 grep -v '^ *+' conftest.er1 >conftest.err
34558 rm -f conftest.er1
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } && {
34562 test -z "$ac_c_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest$ac_exeext &&
34565 $as_test_x conftest$ac_exeext; then
34566 ac_cv_lib_msvcrt_wcslen=yes
34567 else
34568 echo "$as_me: failed program was:" >&5
34569 sed 's/^/| /' conftest.$ac_ext >&5
34570
34571 ac_cv_lib_msvcrt_wcslen=no
34572 fi
34573
34574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34575 conftest$ac_exeext conftest.$ac_ext
34576 LIBS=$ac_check_lib_save_LIBS
34577 fi
34578 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34579 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34580 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34581 WCHAR_OK=1
34582 fi
34583
34584 else
34585 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34586 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34587 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590 ac_check_lib_save_LIBS=$LIBS
34591 LIBS="-lw $LIBS"
34592 cat >conftest.$ac_ext <<_ACEOF
34593 /* confdefs.h. */
34594 _ACEOF
34595 cat confdefs.h >>conftest.$ac_ext
34596 cat >>conftest.$ac_ext <<_ACEOF
34597 /* end confdefs.h. */
34598
34599 /* Override any GCC internal prototype to avoid an error.
34600 Use char because int might match the return type of a GCC
34601 builtin and then its argument prototype would still apply. */
34602 #ifdef __cplusplus
34603 extern "C"
34604 #endif
34605 char wcslen ();
34606 int
34607 main ()
34608 {
34609 return wcslen ();
34610 ;
34611 return 0;
34612 }
34613 _ACEOF
34614 rm -f conftest.$ac_objext conftest$ac_exeext
34615 if { (ac_try="$ac_link"
34616 case "(($ac_try" in
34617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34618 *) ac_try_echo=$ac_try;;
34619 esac
34620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34621 (eval "$ac_link") 2>conftest.er1
34622 ac_status=$?
34623 grep -v '^ *+' conftest.er1 >conftest.err
34624 rm -f conftest.er1
34625 cat conftest.err >&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } && {
34628 test -z "$ac_c_werror_flag" ||
34629 test ! -s conftest.err
34630 } && test -s conftest$ac_exeext &&
34631 $as_test_x conftest$ac_exeext; then
34632 ac_cv_lib_w_wcslen=yes
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 ac_cv_lib_w_wcslen=no
34638 fi
34639
34640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34641 conftest$ac_exeext conftest.$ac_ext
34642 LIBS=$ac_check_lib_save_LIBS
34643 fi
34644 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34645 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34646 if test $ac_cv_lib_w_wcslen = yes; then
34647
34648 WCHAR_LINK=" -lw"
34649 WCSLEN_FOUND=1
34650
34651 fi
34652
34653 fi
34654 fi
34655
34656 if test "$WCSLEN_FOUND" = 1; then
34657 cat >>confdefs.h <<\_ACEOF
34658 #define HAVE_WCSLEN 1
34659 _ACEOF
34660
34661 fi
34662
34663
34664 for ac_func in wcsdup
34665 do
34666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34680 #define $ac_func innocuous_$ac_func
34681
34682 /* System header to define __stub macros and hopefully few prototypes,
34683 which can conflict with char $ac_func (); below.
34684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34685 <limits.h> exists even on freestanding compilers. */
34686
34687 #ifdef __STDC__
34688 # include <limits.h>
34689 #else
34690 # include <assert.h>
34691 #endif
34692
34693 #undef $ac_func
34694
34695 /* Override any GCC internal prototype to avoid an error.
34696 Use char because int might match the return type of a GCC
34697 builtin and then its argument prototype would still apply. */
34698 #ifdef __cplusplus
34699 extern "C"
34700 #endif
34701 char $ac_func ();
34702 /* The GNU C library defines this for functions which it implements
34703 to always fail with ENOSYS. Some functions are actually named
34704 something starting with __ and the normal name is an alias. */
34705 #if defined __stub_$ac_func || defined __stub___$ac_func
34706 choke me
34707 #endif
34708
34709 int
34710 main ()
34711 {
34712 return $ac_func ();
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 rm -f conftest.$ac_objext conftest$ac_exeext
34718 if { (ac_try="$ac_link"
34719 case "(($ac_try" in
34720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34721 *) ac_try_echo=$ac_try;;
34722 esac
34723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34724 (eval "$ac_link") 2>conftest.er1
34725 ac_status=$?
34726 grep -v '^ *+' conftest.er1 >conftest.err
34727 rm -f conftest.er1
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } && {
34731 test -z "$ac_c_werror_flag" ||
34732 test ! -s conftest.err
34733 } && test -s conftest$ac_exeext &&
34734 $as_test_x conftest$ac_exeext; then
34735 eval "$as_ac_var=yes"
34736 else
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.$ac_ext >&5
34739
34740 eval "$as_ac_var=no"
34741 fi
34742
34743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34744 conftest$ac_exeext conftest.$ac_ext
34745 fi
34746 ac_res=`eval echo '${'$as_ac_var'}'`
34747 { echo "$as_me:$LINENO: result: $ac_res" >&5
34748 echo "${ECHO_T}$ac_res" >&6; }
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750 cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34752 _ACEOF
34753
34754 fi
34755 done
34756
34757
34758 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34759 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34760 fi
34761
34762 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34763 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34764 if test "${ac_cv_type_mbstate_t+set}" = set; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h. */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 #include <wchar.h>
34774
34775 typedef mbstate_t ac__type_new_;
34776 int
34777 main ()
34778 {
34779 if ((ac__type_new_ *) 0)
34780 return 0;
34781 if (sizeof (ac__type_new_))
34782 return 0;
34783 ;
34784 return 0;
34785 }
34786 _ACEOF
34787 rm -f conftest.$ac_objext
34788 if { (ac_try="$ac_compile"
34789 case "(($ac_try" in
34790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34791 *) ac_try_echo=$ac_try;;
34792 esac
34793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34794 (eval "$ac_compile") 2>conftest.er1
34795 ac_status=$?
34796 grep -v '^ *+' conftest.er1 >conftest.err
34797 rm -f conftest.er1
34798 cat conftest.err >&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } && {
34801 test -z "$ac_c_werror_flag" ||
34802 test ! -s conftest.err
34803 } && test -s conftest.$ac_objext; then
34804 ac_cv_type_mbstate_t=yes
34805 else
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34808
34809 ac_cv_type_mbstate_t=no
34810 fi
34811
34812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34813 fi
34814 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34815 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34816 if test $ac_cv_type_mbstate_t = yes; then
34817
34818 cat >>confdefs.h <<_ACEOF
34819 #define HAVE_MBSTATE_T 1
34820 _ACEOF
34821
34822
34823 for ac_func in wcsrtombs
34824 do
34825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 else
34831 cat >conftest.$ac_ext <<_ACEOF
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34839 #define $ac_func innocuous_$ac_func
34840
34841 /* System header to define __stub macros and hopefully few prototypes,
34842 which can conflict with char $ac_func (); below.
34843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34844 <limits.h> exists even on freestanding compilers. */
34845
34846 #ifdef __STDC__
34847 # include <limits.h>
34848 #else
34849 # include <assert.h>
34850 #endif
34851
34852 #undef $ac_func
34853
34854 /* Override any GCC internal prototype to avoid an error.
34855 Use char because int might match the return type of a GCC
34856 builtin and then its argument prototype would still apply. */
34857 #ifdef __cplusplus
34858 extern "C"
34859 #endif
34860 char $ac_func ();
34861 /* The GNU C library defines this for functions which it implements
34862 to always fail with ENOSYS. Some functions are actually named
34863 something starting with __ and the normal name is an alias. */
34864 #if defined __stub_$ac_func || defined __stub___$ac_func
34865 choke me
34866 #endif
34867
34868 int
34869 main ()
34870 {
34871 return $ac_func ();
34872 ;
34873 return 0;
34874 }
34875 _ACEOF
34876 rm -f conftest.$ac_objext conftest$ac_exeext
34877 if { (ac_try="$ac_link"
34878 case "(($ac_try" in
34879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34880 *) ac_try_echo=$ac_try;;
34881 esac
34882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34883 (eval "$ac_link") 2>conftest.er1
34884 ac_status=$?
34885 grep -v '^ *+' conftest.er1 >conftest.err
34886 rm -f conftest.er1
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } && {
34890 test -z "$ac_c_werror_flag" ||
34891 test ! -s conftest.err
34892 } && test -s conftest$ac_exeext &&
34893 $as_test_x conftest$ac_exeext; then
34894 eval "$as_ac_var=yes"
34895 else
34896 echo "$as_me: failed program was:" >&5
34897 sed 's/^/| /' conftest.$ac_ext >&5
34898
34899 eval "$as_ac_var=no"
34900 fi
34901
34902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34903 conftest$ac_exeext conftest.$ac_ext
34904 fi
34905 ac_res=`eval echo '${'$as_ac_var'}'`
34906 { echo "$as_me:$LINENO: result: $ac_res" >&5
34907 echo "${ECHO_T}$ac_res" >&6; }
34908 if test `eval echo '${'$as_ac_var'}'` = yes; then
34909 cat >>confdefs.h <<_ACEOF
34910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34911 _ACEOF
34912
34913 fi
34914 done
34915
34916 fi
34917
34918 else
34919 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34920 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34921 fi
34922
34923
34924
34925
34926 for ac_func in snprintf vsnprintf vsscanf
34927 do
34928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34932 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 else
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34942 #define $ac_func innocuous_$ac_func
34943
34944 /* System header to define __stub macros and hopefully few prototypes,
34945 which can conflict with char $ac_func (); below.
34946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34947 <limits.h> exists even on freestanding compilers. */
34948
34949 #ifdef __STDC__
34950 # include <limits.h>
34951 #else
34952 # include <assert.h>
34953 #endif
34954
34955 #undef $ac_func
34956
34957 /* Override any GCC internal prototype to avoid an error.
34958 Use char because int might match the return type of a GCC
34959 builtin and then its argument prototype would still apply. */
34960 #ifdef __cplusplus
34961 extern "C"
34962 #endif
34963 char $ac_func ();
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined __stub_$ac_func || defined __stub___$ac_func
34968 choke me
34969 #endif
34970
34971 int
34972 main ()
34973 {
34974 return $ac_func ();
34975 ;
34976 return 0;
34977 }
34978 _ACEOF
34979 rm -f conftest.$ac_objext conftest$ac_exeext
34980 if { (ac_try="$ac_link"
34981 case "(($ac_try" in
34982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34983 *) ac_try_echo=$ac_try;;
34984 esac
34985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34986 (eval "$ac_link") 2>conftest.er1
34987 ac_status=$?
34988 grep -v '^ *+' conftest.er1 >conftest.err
34989 rm -f conftest.er1
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } && {
34993 test -z "$ac_c_werror_flag" ||
34994 test ! -s conftest.err
34995 } && test -s conftest$ac_exeext &&
34996 $as_test_x conftest$ac_exeext; then
34997 eval "$as_ac_var=yes"
34998 else
34999 echo "$as_me: failed program was:" >&5
35000 sed 's/^/| /' conftest.$ac_ext >&5
35001
35002 eval "$as_ac_var=no"
35003 fi
35004
35005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35006 conftest$ac_exeext conftest.$ac_ext
35007 fi
35008 ac_res=`eval echo '${'$as_ac_var'}'`
35009 { echo "$as_me:$LINENO: result: $ac_res" >&5
35010 echo "${ECHO_T}$ac_res" >&6; }
35011 if test `eval echo '${'$as_ac_var'}'` = yes; then
35012 cat >>confdefs.h <<_ACEOF
35013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35014 _ACEOF
35015
35016 fi
35017 done
35018
35019
35020 ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35025
35026 if test "$ac_cv_func_vsnprintf" = "yes"; then
35027 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35028 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35029 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032
35033 cat >conftest.$ac_ext <<_ACEOF
35034 /* confdefs.h. */
35035 _ACEOF
35036 cat confdefs.h >>conftest.$ac_ext
35037 cat >>conftest.$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35039
35040 #include <stdio.h>
35041 #include <stdarg.h>
35042 #ifdef __MSL__
35043 #if __MSL__ >= 0x6000
35044 namespace std {}
35045 using namespace std;
35046 #endif
35047 #endif
35048
35049 int
35050 main ()
35051 {
35052
35053 char *buf;
35054 va_list ap;
35055 vsnprintf(buf, 10u, "%s", ap);
35056
35057 ;
35058 return 0;
35059 }
35060 _ACEOF
35061 rm -f conftest.$ac_objext
35062 if { (ac_try="$ac_compile"
35063 case "(($ac_try" in
35064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35065 *) ac_try_echo=$ac_try;;
35066 esac
35067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35068 (eval "$ac_compile") 2>conftest.er1
35069 ac_status=$?
35070 grep -v '^ *+' conftest.er1 >conftest.err
35071 rm -f conftest.er1
35072 cat conftest.err >&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } && {
35075 test -z "$ac_cxx_werror_flag" ||
35076 test ! -s conftest.err
35077 } && test -s conftest.$ac_objext; then
35078 wx_cv_func_vsnprintf_decl=yes
35079 else
35080 echo "$as_me: failed program was:" >&5
35081 sed 's/^/| /' conftest.$ac_ext >&5
35082
35083 wx_cv_func_vsnprintf_decl=no
35084
35085 fi
35086
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088
35089
35090 fi
35091 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35092 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35093
35094 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35095 cat >>confdefs.h <<\_ACEOF
35096 #define HAVE_VSNPRINTF_DECL 1
35097 _ACEOF
35098
35099
35100 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35101 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35102 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105
35106 cat >conftest.$ac_ext <<_ACEOF
35107 /* confdefs.h. */
35108 _ACEOF
35109 cat confdefs.h >>conftest.$ac_ext
35110 cat >>conftest.$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35112
35113 #include <stdio.h>
35114 #include <stdarg.h>
35115 #ifdef __MSL__
35116 #if __MSL__ >= 0x6000
35117 namespace std {}
35118 using namespace std;
35119 #endif
35120 #endif
35121
35122 int
35123 main ()
35124 {
35125
35126 char *buf;
35127 va_list ap;
35128 const char *fmt = "%s";
35129 vsnprintf(buf, 10u, fmt, ap);
35130
35131 ;
35132 return 0;
35133 }
35134 _ACEOF
35135 rm -f conftest.$ac_objext
35136 if { (ac_try="$ac_compile"
35137 case "(($ac_try" in
35138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35139 *) ac_try_echo=$ac_try;;
35140 esac
35141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35142 (eval "$ac_compile") 2>conftest.er1
35143 ac_status=$?
35144 grep -v '^ *+' conftest.er1 >conftest.err
35145 rm -f conftest.er1
35146 cat conftest.err >&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } && {
35149 test -z "$ac_cxx_werror_flag" ||
35150 test ! -s conftest.err
35151 } && test -s conftest.$ac_objext; then
35152 wx_cv_func_broken_vsnprintf_decl=no
35153 else
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.$ac_ext >&5
35156
35157 wx_cv_func_broken_vsnprintf_decl=yes
35158
35159 fi
35160
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162
35163
35164 fi
35165 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35166 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35167
35168 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35171 _ACEOF
35172
35173 fi
35174 fi
35175 fi
35176
35177 if test "$ac_cv_func_snprintf" = "yes"; then
35178 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35179 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35180 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35183
35184 cat >conftest.$ac_ext <<_ACEOF
35185 /* confdefs.h. */
35186 _ACEOF
35187 cat confdefs.h >>conftest.$ac_ext
35188 cat >>conftest.$ac_ext <<_ACEOF
35189 /* end confdefs.h. */
35190
35191 #include <stdio.h>
35192 #include <stdarg.h>
35193 #ifdef __MSL__
35194 #if __MSL__ >= 0x6000
35195 namespace std {}
35196 using namespace std;
35197 #endif
35198 #endif
35199
35200 int
35201 main ()
35202 {
35203
35204 char *buf;
35205 snprintf(buf, 10u, "%s", "wx");
35206
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext
35212 if { (ac_try="$ac_compile"
35213 case "(($ac_try" in
35214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35216 esac
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_compile") 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_cxx_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest.$ac_objext; then
35228 wx_cv_func_snprintf_decl=yes
35229 else
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.$ac_ext >&5
35232
35233 wx_cv_func_snprintf_decl=no
35234
35235 fi
35236
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238
35239
35240 fi
35241 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35242 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35243
35244 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define HAVE_SNPRINTF_DECL 1
35247 _ACEOF
35248
35249 fi
35250
35251 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35252
35253 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35254 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35255 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258
35259 if test "$cross_compiling" = yes; then
35260
35261 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35262 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35263 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35264 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35265 wx_cv_func_snprintf_pos_params=no
35266
35267
35268 else
35269 cat >conftest.$ac_ext <<_ACEOF
35270 /* confdefs.h. */
35271 _ACEOF
35272 cat confdefs.h >>conftest.$ac_ext
35273 cat >>conftest.$ac_ext <<_ACEOF
35274 /* end confdefs.h. */
35275
35276 #include <stdio.h>
35277
35278 int main (void)
35279 {
35280 char buffer[128];
35281 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35282 if (strcmp ("2 3 1", buffer) == 0)
35283 exit (0);
35284 exit (1);
35285 }
35286
35287 _ACEOF
35288 rm -f conftest$ac_exeext
35289 if { (ac_try="$ac_link"
35290 case "(($ac_try" in
35291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35292 *) ac_try_echo=$ac_try;;
35293 esac
35294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35295 (eval "$ac_link") 2>&5
35296 ac_status=$?
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35299 { (case "(($ac_try" in
35300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35301 *) ac_try_echo=$ac_try;;
35302 esac
35303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35304 (eval "$ac_try") 2>&5
35305 ac_status=$?
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; }; then
35308 wx_cv_func_snprintf_pos_params=no
35309 else
35310 echo "$as_me: program exited with status $ac_status" >&5
35311 echo "$as_me: failed program was:" >&5
35312 sed 's/^/| /' conftest.$ac_ext >&5
35313
35314 ( exit $ac_status )
35315 wx_cv_func_snprintf_pos_params=yes
35316 fi
35317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35318 fi
35319
35320
35321
35322
35323 fi
35324 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35325 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35326
35327 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35328 cat >>confdefs.h <<\_ACEOF
35329 #define HAVE_UNIX98_PRINTF 1
35330 _ACEOF
35331
35332 fi
35333 fi
35334 fi
35335
35336 if test "$ac_cv_func_vsscanf" = "yes"; then
35337 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35338 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35339 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342
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
35350 #include <stdio.h>
35351 #include <stdarg.h>
35352 #ifdef __MSL__
35353 #if __MSL__ >= 0x6000
35354 namespace std {}
35355 using namespace std;
35356 #endif
35357 #endif
35358
35359 int
35360 main ()
35361 {
35362
35363 char *buf;
35364 va_list args;
35365 vsscanf(buf, "%s", args);
35366
35367 ;
35368 return 0;
35369 }
35370 _ACEOF
35371 rm -f conftest.$ac_objext
35372 if { (ac_try="$ac_compile"
35373 case "(($ac_try" in
35374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35375 *) ac_try_echo=$ac_try;;
35376 esac
35377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35378 (eval "$ac_compile") 2>conftest.er1
35379 ac_status=$?
35380 grep -v '^ *+' conftest.er1 >conftest.err
35381 rm -f conftest.er1
35382 cat conftest.err >&5
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); } && {
35385 test -z "$ac_cxx_werror_flag" ||
35386 test ! -s conftest.err
35387 } && test -s conftest.$ac_objext; then
35388 wx_cv_func_vsscanf_decl=yes
35389 else
35390 echo "$as_me: failed program was:" >&5
35391 sed 's/^/| /' conftest.$ac_ext >&5
35392
35393 wx_cv_func_vsscanf_decl=no
35394
35395 fi
35396
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398
35399
35400 fi
35401 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35402 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35403
35404 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35405 cat >>confdefs.h <<\_ACEOF
35406 #define HAVE_VSSCANF_DECL 1
35407 _ACEOF
35408
35409 fi
35410 fi
35411 ac_ext=c
35412 ac_cpp='$CPP $CPPFLAGS'
35413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35416
35417
35418 if test "$wxUSE_UNICODE" = yes; then
35419
35420 wchar_headers="#include <stdio.h>
35421 #include <wchar.h>"
35422 case "${host}" in
35423 *-*-solaris2* )
35424
35425 for ac_header in widec.h
35426 do
35427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35431 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 else
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439 $ac_includes_default
35440
35441 #include <$ac_header>
35442 _ACEOF
35443 rm -f conftest.$ac_objext
35444 if { (ac_try="$ac_compile"
35445 case "(($ac_try" in
35446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35447 *) ac_try_echo=$ac_try;;
35448 esac
35449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35450 (eval "$ac_compile") 2>conftest.er1
35451 ac_status=$?
35452 grep -v '^ *+' conftest.er1 >conftest.err
35453 rm -f conftest.er1
35454 cat conftest.err >&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); } && {
35457 test -z "$ac_c_werror_flag" ||
35458 test ! -s conftest.err
35459 } && test -s conftest.$ac_objext; then
35460 eval "$as_ac_Header=yes"
35461 else
35462 echo "$as_me: failed program was:" >&5
35463 sed 's/^/| /' conftest.$ac_ext >&5
35464
35465 eval "$as_ac_Header=no"
35466 fi
35467
35468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35469 fi
35470 ac_res=`eval echo '${'$as_ac_Header'}'`
35471 { echo "$as_me:$LINENO: result: $ac_res" >&5
35472 echo "${ECHO_T}$ac_res" >&6; }
35473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35474 cat >>confdefs.h <<_ACEOF
35475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35476 _ACEOF
35477
35478 fi
35479
35480 done
35481
35482 if test "$ac_cv_header_widec_h" = "yes"; then
35483 wchar_headers="$wchar_headers
35484 #include <widec.h>"
35485 fi
35486 esac
35487
35488
35489 for wx_func in putws fputws wprintf vswprintf vswscanf
35490 do
35491 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35492 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35493 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 else
35496
35497 cat >conftest.$ac_ext <<_ACEOF
35498
35499 /* confdefs.h. */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504
35505 $wchar_headers
35506 $ac_includes_default
35507
35508 int
35509 main ()
35510 {
35511
35512 #ifndef $wx_func
35513 &$wx_func;
35514 #endif
35515
35516
35517 ;
35518 return 0;
35519 }
35520
35521 _ACEOF
35522 rm -f conftest.$ac_objext conftest$ac_exeext
35523 if { (ac_try="$ac_link"
35524 case "(($ac_try" in
35525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35526 *) ac_try_echo=$ac_try;;
35527 esac
35528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35529 (eval "$ac_link") 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } && {
35536 test -z "$ac_c_werror_flag" ||
35537 test ! -s conftest.err
35538 } && test -s conftest$ac_exeext &&
35539 $as_test_x conftest$ac_exeext; then
35540 eval wx_cv_func_$wx_func=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 eval wx_cv_func_$wx_func=no
35546 fi
35547
35548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35549 conftest$ac_exeext conftest.$ac_ext
35550
35551 fi
35552 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35553 { echo "$as_me:$LINENO: result: $ac_res" >&5
35554 echo "${ECHO_T}$ac_res" >&6; }
35555
35556 if eval test \$wx_cv_func_$wx_func = yes
35557 then
35558 cat >>confdefs.h <<_ACEOF
35559 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35560 _ACEOF
35561
35562
35563 else
35564 :
35565
35566 fi
35567 done
35568
35569
35570 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35571 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h. */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578 #include <wchar.h>
35579 int
35580 main ()
35581 {
35582 &_vsnwprintf;
35583 ;
35584 return 0;
35585 }
35586 _ACEOF
35587 rm -f conftest.$ac_objext
35588 if { (ac_try="$ac_compile"
35589 case "(($ac_try" in
35590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35591 *) ac_try_echo=$ac_try;;
35592 esac
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_compile") 2>conftest.er1
35595 ac_status=$?
35596 grep -v '^ *+' conftest.er1 >conftest.err
35597 rm -f conftest.er1
35598 cat conftest.err >&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && {
35601 test -z "$ac_c_werror_flag" ||
35602 test ! -s conftest.err
35603 } && test -s conftest.$ac_objext; then
35604 { echo "$as_me:$LINENO: result: yes" >&5
35605 echo "${ECHO_T}yes" >&6; }
35606 cat >>confdefs.h <<\_ACEOF
35607 #define HAVE__VSNWPRINTF 1
35608 _ACEOF
35609
35610 else
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35613
35614 { echo "$as_me:$LINENO: result: no" >&5
35615 echo "${ECHO_T}no" >&6; }
35616 fi
35617
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35619 fi
35620
35621 if test "$wxUSE_FILE" = "yes"; then
35622
35623 for wx_func in fsync
35624 do
35625 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35626 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35627 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630
35631 cat >conftest.$ac_ext <<_ACEOF
35632
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638
35639
35640 $ac_includes_default
35641
35642 int
35643 main ()
35644 {
35645
35646 #ifndef $wx_func
35647 &$wx_func;
35648 #endif
35649
35650
35651 ;
35652 return 0;
35653 }
35654
35655 _ACEOF
35656 rm -f conftest.$ac_objext conftest$ac_exeext
35657 if { (ac_try="$ac_link"
35658 case "(($ac_try" in
35659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35660 *) ac_try_echo=$ac_try;;
35661 esac
35662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35663 (eval "$ac_link") 2>conftest.er1
35664 ac_status=$?
35665 grep -v '^ *+' conftest.er1 >conftest.err
35666 rm -f conftest.er1
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } && {
35670 test -z "$ac_c_werror_flag" ||
35671 test ! -s conftest.err
35672 } && test -s conftest$ac_exeext &&
35673 $as_test_x conftest$ac_exeext; then
35674 eval wx_cv_func_$wx_func=yes
35675 else
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35678
35679 eval wx_cv_func_$wx_func=no
35680 fi
35681
35682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35683 conftest$ac_exeext conftest.$ac_ext
35684
35685 fi
35686 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35687 { echo "$as_me:$LINENO: result: $ac_res" >&5
35688 echo "${ECHO_T}$ac_res" >&6; }
35689
35690 if eval test \$wx_cv_func_$wx_func = yes
35691 then
35692 cat >>confdefs.h <<_ACEOF
35693 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35694 _ACEOF
35695
35696
35697 else
35698 :
35699
35700 fi
35701 done
35702
35703 fi
35704
35705 ac_ext=cpp
35706 ac_cpp='$CXXCPP $CPPFLAGS'
35707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35710
35711
35712 for wx_func in round
35713 do
35714 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35715 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35716 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 else
35719
35720 cat >conftest.$ac_ext <<_ACEOF
35721
35722 /* confdefs.h. */
35723 _ACEOF
35724 cat confdefs.h >>conftest.$ac_ext
35725 cat >>conftest.$ac_ext <<_ACEOF
35726 /* end confdefs.h. */
35727
35728 #include <math.h>
35729 $ac_includes_default
35730
35731 int
35732 main ()
35733 {
35734
35735 #ifndef $wx_func
35736 &$wx_func;
35737 #endif
35738
35739
35740 ;
35741 return 0;
35742 }
35743
35744 _ACEOF
35745 rm -f conftest.$ac_objext conftest$ac_exeext
35746 if { (ac_try="$ac_link"
35747 case "(($ac_try" in
35748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35749 *) ac_try_echo=$ac_try;;
35750 esac
35751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35752 (eval "$ac_link") 2>conftest.er1
35753 ac_status=$?
35754 grep -v '^ *+' conftest.er1 >conftest.err
35755 rm -f conftest.er1
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } && {
35759 test -z "$ac_cxx_werror_flag" ||
35760 test ! -s conftest.err
35761 } && test -s conftest$ac_exeext &&
35762 $as_test_x conftest$ac_exeext; then
35763 eval wx_cv_func_$wx_func=yes
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 eval wx_cv_func_$wx_func=no
35769 fi
35770
35771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35772 conftest$ac_exeext conftest.$ac_ext
35773
35774 fi
35775 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35776 { echo "$as_me:$LINENO: result: $ac_res" >&5
35777 echo "${ECHO_T}$ac_res" >&6; }
35778
35779 if eval test \$wx_cv_func_$wx_func = yes
35780 then
35781 cat >>confdefs.h <<_ACEOF
35782 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35783 _ACEOF
35784
35785
35786 else
35787 :
35788
35789 fi
35790 done
35791
35792 ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 if test "$TOOLKIT" != "MSW"; then
35800
35801 if test "$wxUSE_LIBICONV" != "no" ; then
35802
35803
35804
35805 # Check whether --with-libiconv-prefix was given.
35806 if test "${with_libiconv_prefix+set}" = set; then
35807 withval=$with_libiconv_prefix;
35808 for dir in `echo "$withval" | tr : ' '`; do
35809 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35810 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35811 done
35812
35813 fi
35814
35815
35816 { echo "$as_me:$LINENO: checking for iconv" >&5
35817 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35818 if test "${am_cv_func_iconv+set}" = set; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 else
35821
35822 am_cv_func_iconv="no, consider installing GNU libiconv"
35823 am_cv_lib_iconv=no
35824 cat >conftest.$ac_ext <<_ACEOF
35825 /* confdefs.h. */
35826 _ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830 #include <stdlib.h>
35831 #include <iconv.h>
35832 int
35833 main ()
35834 {
35835 iconv_t cd = iconv_open("","");
35836 iconv(cd,NULL,NULL,NULL,NULL);
35837 iconv_close(cd);
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (ac_try="$ac_link"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_link") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest$ac_exeext &&
35859 $as_test_x conftest$ac_exeext; then
35860 am_cv_func_iconv=yes
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35869 conftest$ac_exeext conftest.$ac_ext
35870 if test "$am_cv_func_iconv" != yes; then
35871 am_save_LIBS="$LIBS"
35872 LIBS="$LIBS -liconv"
35873 cat >conftest.$ac_ext <<_ACEOF
35874 /* confdefs.h. */
35875 _ACEOF
35876 cat confdefs.h >>conftest.$ac_ext
35877 cat >>conftest.$ac_ext <<_ACEOF
35878 /* end confdefs.h. */
35879 #include <stdlib.h>
35880 #include <iconv.h>
35881 int
35882 main ()
35883 {
35884 iconv_t cd = iconv_open("","");
35885 iconv(cd,NULL,NULL,NULL,NULL);
35886 iconv_close(cd);
35887 ;
35888 return 0;
35889 }
35890 _ACEOF
35891 rm -f conftest.$ac_objext conftest$ac_exeext
35892 if { (ac_try="$ac_link"
35893 case "(($ac_try" in
35894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35895 *) ac_try_echo=$ac_try;;
35896 esac
35897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35898 (eval "$ac_link") 2>conftest.er1
35899 ac_status=$?
35900 grep -v '^ *+' conftest.er1 >conftest.err
35901 rm -f conftest.er1
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } && {
35905 test -z "$ac_c_werror_flag" ||
35906 test ! -s conftest.err
35907 } && test -s conftest$ac_exeext &&
35908 $as_test_x conftest$ac_exeext; then
35909 am_cv_lib_iconv=yes
35910 am_cv_func_iconv=yes
35911 else
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.$ac_ext >&5
35914
35915
35916 fi
35917
35918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35919 conftest$ac_exeext conftest.$ac_ext
35920 LIBS="$am_save_LIBS"
35921 fi
35922
35923 fi
35924 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35925 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35926 if test "$am_cv_func_iconv" = yes; then
35927
35928 cat >>confdefs.h <<\_ACEOF
35929 #define HAVE_ICONV 1
35930 _ACEOF
35931
35932 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35933 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35934 if test "${wx_cv_func_iconv_const+set}" = set; then
35935 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 else
35937 cat >conftest.$ac_ext <<_ACEOF
35938 /* confdefs.h. */
35939 _ACEOF
35940 cat confdefs.h >>conftest.$ac_ext
35941 cat >>conftest.$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943
35944 #include <stdlib.h>
35945 #include <iconv.h>
35946 extern
35947 #ifdef __cplusplus
35948 "C"
35949 #endif
35950 #if defined(__STDC__) || defined(__cplusplus)
35951 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35952 #else
35953 size_t iconv();
35954 #endif
35955
35956 int
35957 main ()
35958 {
35959
35960 ;
35961 return 0;
35962 }
35963 _ACEOF
35964 rm -f conftest.$ac_objext
35965 if { (ac_try="$ac_compile"
35966 case "(($ac_try" in
35967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35968 *) ac_try_echo=$ac_try;;
35969 esac
35970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35971 (eval "$ac_compile") 2>conftest.er1
35972 ac_status=$?
35973 grep -v '^ *+' conftest.er1 >conftest.err
35974 rm -f conftest.er1
35975 cat conftest.err >&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } && {
35978 test -z "$ac_c_werror_flag" ||
35979 test ! -s conftest.err
35980 } && test -s conftest.$ac_objext; then
35981 wx_cv_func_iconv_const="no"
35982 else
35983 echo "$as_me: failed program was:" >&5
35984 sed 's/^/| /' conftest.$ac_ext >&5
35985
35986 wx_cv_func_iconv_const="yes"
35987
35988 fi
35989
35990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35991
35992 fi
35993 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35994 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35995
35996 iconv_const=
35997 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35998 iconv_const="const"
35999 fi
36000
36001
36002 cat >>confdefs.h <<_ACEOF
36003 #define ICONV_CONST $iconv_const
36004 _ACEOF
36005
36006 fi
36007 LIBICONV=
36008 if test "$am_cv_lib_iconv" = yes; then
36009 LIBICONV="-liconv"
36010 fi
36011
36012
36013 LIBS="$LIBICONV $LIBS"
36014 fi
36015
36016 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36017
36018 for ac_func in sigaction
36019 do
36020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36025 else
36026 cat >conftest.$ac_ext <<_ACEOF
36027 /* confdefs.h. */
36028 _ACEOF
36029 cat confdefs.h >>conftest.$ac_ext
36030 cat >>conftest.$ac_ext <<_ACEOF
36031 /* end confdefs.h. */
36032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36034 #define $ac_func innocuous_$ac_func
36035
36036 /* System header to define __stub macros and hopefully few prototypes,
36037 which can conflict with char $ac_func (); below.
36038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36039 <limits.h> exists even on freestanding compilers. */
36040
36041 #ifdef __STDC__
36042 # include <limits.h>
36043 #else
36044 # include <assert.h>
36045 #endif
36046
36047 #undef $ac_func
36048
36049 /* Override any GCC internal prototype to avoid an error.
36050 Use char because int might match the return type of a GCC
36051 builtin and then its argument prototype would still apply. */
36052 #ifdef __cplusplus
36053 extern "C"
36054 #endif
36055 char $ac_func ();
36056 /* The GNU C library defines this for functions which it implements
36057 to always fail with ENOSYS. Some functions are actually named
36058 something starting with __ and the normal name is an alias. */
36059 #if defined __stub_$ac_func || defined __stub___$ac_func
36060 choke me
36061 #endif
36062
36063 int
36064 main ()
36065 {
36066 return $ac_func ();
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 rm -f conftest.$ac_objext conftest$ac_exeext
36072 if { (ac_try="$ac_link"
36073 case "(($ac_try" in
36074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36075 *) ac_try_echo=$ac_try;;
36076 esac
36077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36078 (eval "$ac_link") 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } && {
36085 test -z "$ac_c_werror_flag" ||
36086 test ! -s conftest.err
36087 } && test -s conftest$ac_exeext &&
36088 $as_test_x conftest$ac_exeext; then
36089 eval "$as_ac_var=yes"
36090 else
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.$ac_ext >&5
36093
36094 eval "$as_ac_var=no"
36095 fi
36096
36097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36098 conftest$ac_exeext conftest.$ac_ext
36099 fi
36100 ac_res=`eval echo '${'$as_ac_var'}'`
36101 { echo "$as_me:$LINENO: result: $ac_res" >&5
36102 echo "${ECHO_T}$ac_res" >&6; }
36103 if test `eval echo '${'$as_ac_var'}'` = yes; then
36104 cat >>confdefs.h <<_ACEOF
36105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36106 _ACEOF
36107
36108 fi
36109 done
36110
36111
36112 if test "$ac_cv_func_sigaction" = "no"; then
36113 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36114 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36115 wxUSE_ON_FATAL_EXCEPTION=no
36116 fi
36117
36118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36119 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36120 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36121 if test "${wx_cv_type_sa_handler+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 else
36124
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 #include <signal.h>
36138 int
36139 main ()
36140 {
36141
36142 extern void testSigHandler(int);
36143
36144 struct sigaction sa;
36145 sa.sa_handler = testSigHandler;
36146
36147 ;
36148 return 0;
36149 }
36150 _ACEOF
36151 rm -f conftest.$ac_objext
36152 if { (ac_try="$ac_compile"
36153 case "(($ac_try" in
36154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36155 *) ac_try_echo=$ac_try;;
36156 esac
36157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36158 (eval "$ac_compile") 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } && {
36165 test -z "$ac_cxx_werror_flag" ||
36166 test ! -s conftest.err
36167 } && test -s conftest.$ac_objext; then
36168
36169 wx_cv_type_sa_handler=int
36170
36171 else
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.$ac_ext >&5
36174
36175
36176 wx_cv_type_sa_handler=void
36177
36178 fi
36179
36180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36181 ac_ext=c
36182 ac_cpp='$CPP $CPPFLAGS'
36183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186
36187
36188 fi
36189 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36190 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36191
36192 cat >>confdefs.h <<_ACEOF
36193 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36194 _ACEOF
36195
36196 fi
36197 fi
36198
36199 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36200 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36201 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36202 if test "${wx_cv_func_backtrace+set}" = set; then
36203 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 else
36205
36206 ac_ext=cpp
36207 ac_cpp='$CXXCPP $CPPFLAGS'
36208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211
36212 cat >conftest.$ac_ext <<_ACEOF
36213 /* confdefs.h. */
36214 _ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36218 #include <execinfo.h>
36219 int
36220 main ()
36221 {
36222
36223 void *trace[1];
36224 char **messages;
36225
36226 backtrace(trace, 1);
36227 messages = backtrace_symbols(trace, 1);
36228
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext
36234 if { (ac_try="$ac_compile"
36235 case "(($ac_try" in
36236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36237 *) ac_try_echo=$ac_try;;
36238 esac
36239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36240 (eval "$ac_compile") 2>conftest.er1
36241 ac_status=$?
36242 grep -v '^ *+' conftest.er1 >conftest.err
36243 rm -f conftest.er1
36244 cat conftest.err >&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } && {
36247 test -z "$ac_cxx_werror_flag" ||
36248 test ! -s conftest.err
36249 } && test -s conftest.$ac_objext; then
36250 wx_cv_func_backtrace=yes
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36254
36255 wx_cv_func_backtrace=no
36256
36257 fi
36258
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267
36268 fi
36269 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36270 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36271
36272
36273 if test "$wx_cv_func_backtrace" = "no"; then
36274 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36275 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36276 wxUSE_STACKWALKER=no
36277 else
36278 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36279 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36280 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283
36284 ac_ext=cpp
36285 ac_cpp='$CXXCPP $CPPFLAGS'
36286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36289
36290 cat >conftest.$ac_ext <<_ACEOF
36291 /* confdefs.h. */
36292 _ACEOF
36293 cat confdefs.h >>conftest.$ac_ext
36294 cat >>conftest.$ac_ext <<_ACEOF
36295 /* end confdefs.h. */
36296 #include <cxxabi.h>
36297 int
36298 main ()
36299 {
36300
36301 int rc;
36302 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36303
36304 ;
36305 return 0;
36306 }
36307 _ACEOF
36308 rm -f conftest.$ac_objext conftest$ac_exeext
36309 if { (ac_try="$ac_link"
36310 case "(($ac_try" in
36311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36312 *) ac_try_echo=$ac_try;;
36313 esac
36314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36315 (eval "$ac_link") 2>conftest.er1
36316 ac_status=$?
36317 grep -v '^ *+' conftest.er1 >conftest.err
36318 rm -f conftest.er1
36319 cat conftest.err >&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); } && {
36322 test -z "$ac_cxx_werror_flag" ||
36323 test ! -s conftest.err
36324 } && test -s conftest$ac_exeext &&
36325 $as_test_x conftest$ac_exeext; then
36326 wx_cv_func_cxa_demangle=yes
36327 else
36328 echo "$as_me: failed program was:" >&5
36329 sed 's/^/| /' conftest.$ac_ext >&5
36330
36331 wx_cv_func_cxa_demangle=no
36332
36333 fi
36334
36335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36336 conftest$ac_exeext conftest.$ac_ext
36337 ac_ext=c
36338 ac_cpp='$CPP $CPPFLAGS'
36339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36342
36343
36344
36345 fi
36346 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36347 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36348
36349 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36350 cat >>confdefs.h <<\_ACEOF
36351 #define HAVE_CXA_DEMANGLE 1
36352 _ACEOF
36353
36354 fi
36355 fi
36356 fi
36357
36358 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36359 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36360 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36361 wxUSE_STACKWALKER=no
36362 fi
36363
36364
36365
36366
36367 for ac_func in mkstemp mktemp
36368 do
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h. */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36384
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36389
36390 #ifdef __STDC__
36391 # include <limits.h>
36392 #else
36393 # include <assert.h>
36394 #endif
36395
36396 #undef $ac_func
36397
36398 /* Override any GCC internal prototype to avoid an error.
36399 Use char because int might match the return type of a GCC
36400 builtin and then its argument prototype would still apply. */
36401 #ifdef __cplusplus
36402 extern "C"
36403 #endif
36404 char $ac_func ();
36405 /* The GNU C library defines this for functions which it implements
36406 to always fail with ENOSYS. Some functions are actually named
36407 something starting with __ and the normal name is an alias. */
36408 #if defined __stub_$ac_func || defined __stub___$ac_func
36409 choke me
36410 #endif
36411
36412 int
36413 main ()
36414 {
36415 return $ac_func ();
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (ac_try="$ac_link"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36425 esac
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_link") 2>conftest.er1
36428 ac_status=$?
36429 grep -v '^ *+' conftest.er1 >conftest.err
36430 rm -f conftest.er1
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest$ac_exeext &&
36437 $as_test_x conftest$ac_exeext; then
36438 eval "$as_ac_var=yes"
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 eval "$as_ac_var=no"
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36447 conftest$ac_exeext conftest.$ac_ext
36448 fi
36449 ac_res=`eval echo '${'$as_ac_var'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_var'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36455 _ACEOF
36456 break
36457 fi
36458 done
36459
36460
36461 { echo "$as_me:$LINENO: checking for statfs" >&5
36462 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36463 if test "${wx_cv_func_statfs+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466 cat >conftest.$ac_ext <<_ACEOF
36467 /* confdefs.h. */
36468 _ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472
36473 #if defined(__BSD__)
36474 #include <sys/param.h>
36475 #include <sys/mount.h>
36476 #else
36477 #include <sys/vfs.h>
36478 #endif
36479
36480 int
36481 main ()
36482 {
36483
36484 long l;
36485 struct statfs fs;
36486 statfs("/", &fs);
36487 l = fs.f_bsize;
36488 l += fs.f_blocks;
36489 l += fs.f_bavail;
36490
36491 ;
36492 return 0;
36493 }
36494 _ACEOF
36495 rm -f conftest.$ac_objext
36496 if { (ac_try="$ac_compile"
36497 case "(($ac_try" in
36498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36499 *) ac_try_echo=$ac_try;;
36500 esac
36501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36502 (eval "$ac_compile") 2>conftest.er1
36503 ac_status=$?
36504 grep -v '^ *+' conftest.er1 >conftest.err
36505 rm -f conftest.er1
36506 cat conftest.err >&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } && {
36509 test -z "$ac_c_werror_flag" ||
36510 test ! -s conftest.err
36511 } && test -s conftest.$ac_objext; then
36512 wx_cv_func_statfs=yes
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517 wx_cv_func_statfs=no
36518
36519 fi
36520
36521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36522
36523 fi
36524 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36525 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36526
36527 if test "$wx_cv_func_statfs" = "yes"; then
36528 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36529 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36530 if test "${wx_cv_func_statfs_decl+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533 ac_ext=cpp
36534 ac_cpp='$CXXCPP $CPPFLAGS'
36535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36538
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545
36546 #if defined(__BSD__)
36547 #include <sys/param.h>
36548 #include <sys/mount.h>
36549 #else
36550 #include <sys/vfs.h>
36551 #endif
36552
36553 int
36554 main ()
36555 {
36556
36557 struct statfs fs;
36558 statfs("", &fs);
36559
36560 ;
36561 return 0;
36562 }
36563 _ACEOF
36564 rm -f conftest.$ac_objext
36565 if { (ac_try="$ac_compile"
36566 case "(($ac_try" in
36567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36568 *) ac_try_echo=$ac_try;;
36569 esac
36570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36571 (eval "$ac_compile") 2>conftest.er1
36572 ac_status=$?
36573 grep -v '^ *+' conftest.er1 >conftest.err
36574 rm -f conftest.er1
36575 cat conftest.err >&5
36576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36577 (exit $ac_status); } && {
36578 test -z "$ac_cxx_werror_flag" ||
36579 test ! -s conftest.err
36580 } && test -s conftest.$ac_objext; then
36581 wx_cv_func_statfs_decl=yes
36582 else
36583 echo "$as_me: failed program was:" >&5
36584 sed 's/^/| /' conftest.$ac_ext >&5
36585
36586 wx_cv_func_statfs_decl=no
36587
36588 fi
36589
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596
36597
36598 fi
36599 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36600 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36601
36602 if test "$wx_cv_func_statfs_decl" = "yes"; then
36603 cat >>confdefs.h <<\_ACEOF
36604 #define HAVE_STATFS_DECL 1
36605 _ACEOF
36606
36607 fi
36608
36609 wx_cv_type_statvfs_t="struct statfs"
36610 cat >>confdefs.h <<\_ACEOF
36611 #define HAVE_STATFS 1
36612 _ACEOF
36613
36614 else
36615 { echo "$as_me:$LINENO: checking for statvfs" >&5
36616 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36617 if test "${wx_cv_func_statvfs+set}" = set; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36619 else
36620 cat >conftest.$ac_ext <<_ACEOF
36621 /* confdefs.h. */
36622 _ACEOF
36623 cat confdefs.h >>conftest.$ac_ext
36624 cat >>conftest.$ac_ext <<_ACEOF
36625 /* end confdefs.h. */
36626
36627 #include <stddef.h>
36628 #include <sys/statvfs.h>
36629
36630 int
36631 main ()
36632 {
36633
36634 statvfs("/", NULL);
36635
36636 ;
36637 return 0;
36638 }
36639 _ACEOF
36640 rm -f conftest.$ac_objext
36641 if { (ac_try="$ac_compile"
36642 case "(($ac_try" in
36643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36644 *) ac_try_echo=$ac_try;;
36645 esac
36646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36647 (eval "$ac_compile") 2>conftest.er1
36648 ac_status=$?
36649 grep -v '^ *+' conftest.er1 >conftest.err
36650 rm -f conftest.er1
36651 cat conftest.err >&5
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); } && {
36654 test -z "$ac_c_werror_flag" ||
36655 test ! -s conftest.err
36656 } && test -s conftest.$ac_objext; then
36657 wx_cv_func_statvfs=yes
36658 else
36659 echo "$as_me: failed program was:" >&5
36660 sed 's/^/| /' conftest.$ac_ext >&5
36661
36662 wx_cv_func_statvfs=no
36663
36664 fi
36665
36666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36667
36668 fi
36669 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36670 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36671
36672 if test "$wx_cv_func_statvfs" = "yes"; then
36673 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36674 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36675 if test "${wx_cv_type_statvfs_t+set}" = set; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 else
36678 ac_ext=cpp
36679 ac_cpp='$CXXCPP $CPPFLAGS'
36680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36683
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690
36691 #include <sys/statvfs.h>
36692
36693 int
36694 main ()
36695 {
36696
36697 long l;
36698 statvfs_t fs;
36699 statvfs("/", &fs);
36700 l = fs.f_bsize;
36701 l += fs.f_blocks;
36702 l += fs.f_bavail;
36703
36704 ;
36705 return 0;
36706 }
36707 _ACEOF
36708 rm -f conftest.$ac_objext
36709 if { (ac_try="$ac_compile"
36710 case "(($ac_try" in
36711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36712 *) ac_try_echo=$ac_try;;
36713 esac
36714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36715 (eval "$ac_compile") 2>conftest.er1
36716 ac_status=$?
36717 grep -v '^ *+' conftest.er1 >conftest.err
36718 rm -f conftest.er1
36719 cat conftest.err >&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } && {
36722 test -z "$ac_cxx_werror_flag" ||
36723 test ! -s conftest.err
36724 } && test -s conftest.$ac_objext; then
36725 wx_cv_type_statvfs_t=statvfs_t
36726 else
36727 echo "$as_me: failed program was:" >&5
36728 sed 's/^/| /' conftest.$ac_ext >&5
36729
36730
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737
36738 #include <sys/statvfs.h>
36739
36740 int
36741 main ()
36742 {
36743
36744 long l;
36745 struct statvfs fs;
36746 statvfs("/", &fs);
36747 l = fs.f_bsize;
36748 l += fs.f_blocks;
36749 l += fs.f_bavail;
36750
36751 ;
36752 return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext
36756 if { (ac_try="$ac_compile"
36757 case "(($ac_try" in
36758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36759 *) ac_try_echo=$ac_try;;
36760 esac
36761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36762 (eval "$ac_compile") 2>conftest.er1
36763 ac_status=$?
36764 grep -v '^ *+' conftest.er1 >conftest.err
36765 rm -f conftest.er1
36766 cat conftest.err >&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); } && {
36769 test -z "$ac_cxx_werror_flag" ||
36770 test ! -s conftest.err
36771 } && test -s conftest.$ac_objext; then
36772 wx_cv_type_statvfs_t="struct statvfs"
36773 else
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36776
36777 wx_cv_type_statvfs_t="unknown"
36778
36779 fi
36780
36781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36782
36783
36784 fi
36785
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 ac_ext=c
36788 ac_cpp='$CPP $CPPFLAGS'
36789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36792
36793
36794 fi
36795 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36796 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36797
36798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36799 cat >>confdefs.h <<\_ACEOF
36800 #define HAVE_STATVFS 1
36801 _ACEOF
36802
36803 fi
36804 else
36805 wx_cv_type_statvfs_t="unknown"
36806 fi
36807 fi
36808
36809 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36810 cat >>confdefs.h <<_ACEOF
36811 #define WX_STATFS_T $wx_cv_type_statvfs_t
36812 _ACEOF
36813
36814 else
36815 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36816 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36817 fi
36818
36819 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36820
36821
36822 for ac_func in fcntl flock
36823 do
36824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830 cat >conftest.$ac_ext <<_ACEOF
36831 /* confdefs.h. */
36832 _ACEOF
36833 cat confdefs.h >>conftest.$ac_ext
36834 cat >>conftest.$ac_ext <<_ACEOF
36835 /* end confdefs.h. */
36836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36838 #define $ac_func innocuous_$ac_func
36839
36840 /* System header to define __stub macros and hopefully few prototypes,
36841 which can conflict with char $ac_func (); below.
36842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36843 <limits.h> exists even on freestanding compilers. */
36844
36845 #ifdef __STDC__
36846 # include <limits.h>
36847 #else
36848 # include <assert.h>
36849 #endif
36850
36851 #undef $ac_func
36852
36853 /* Override any GCC internal prototype to avoid an error.
36854 Use char because int might match the return type of a GCC
36855 builtin and then its argument prototype would still apply. */
36856 #ifdef __cplusplus
36857 extern "C"
36858 #endif
36859 char $ac_func ();
36860 /* The GNU C library defines this for functions which it implements
36861 to always fail with ENOSYS. Some functions are actually named
36862 something starting with __ and the normal name is an alias. */
36863 #if defined __stub_$ac_func || defined __stub___$ac_func
36864 choke me
36865 #endif
36866
36867 int
36868 main ()
36869 {
36870 return $ac_func ();
36871 ;
36872 return 0;
36873 }
36874 _ACEOF
36875 rm -f conftest.$ac_objext conftest$ac_exeext
36876 if { (ac_try="$ac_link"
36877 case "(($ac_try" in
36878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36879 *) ac_try_echo=$ac_try;;
36880 esac
36881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36882 (eval "$ac_link") 2>conftest.er1
36883 ac_status=$?
36884 grep -v '^ *+' conftest.er1 >conftest.err
36885 rm -f conftest.er1
36886 cat conftest.err >&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } && {
36889 test -z "$ac_c_werror_flag" ||
36890 test ! -s conftest.err
36891 } && test -s conftest$ac_exeext &&
36892 $as_test_x conftest$ac_exeext; then
36893 eval "$as_ac_var=yes"
36894 else
36895 echo "$as_me: failed program was:" >&5
36896 sed 's/^/| /' conftest.$ac_ext >&5
36897
36898 eval "$as_ac_var=no"
36899 fi
36900
36901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36902 conftest$ac_exeext conftest.$ac_ext
36903 fi
36904 ac_res=`eval echo '${'$as_ac_var'}'`
36905 { echo "$as_me:$LINENO: result: $ac_res" >&5
36906 echo "${ECHO_T}$ac_res" >&6; }
36907 if test `eval echo '${'$as_ac_var'}'` = yes; then
36908 cat >>confdefs.h <<_ACEOF
36909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36910 _ACEOF
36911 break
36912 fi
36913 done
36914
36915
36916 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36917 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36918 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36919 wxUSE_SNGLINST_CHECKER=no
36920 fi
36921 fi
36922
36923
36924
36925 for ac_func in setenv putenv
36926 do
36927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36928 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36930 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36932 else
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36941 #define $ac_func innocuous_$ac_func
36942
36943 /* System header to define __stub macros and hopefully few prototypes,
36944 which can conflict with char $ac_func (); below.
36945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36946 <limits.h> exists even on freestanding compilers. */
36947
36948 #ifdef __STDC__
36949 # include <limits.h>
36950 #else
36951 # include <assert.h>
36952 #endif
36953
36954 #undef $ac_func
36955
36956 /* Override any GCC internal prototype to avoid an error.
36957 Use char because int might match the return type of a GCC
36958 builtin and then its argument prototype would still apply. */
36959 #ifdef __cplusplus
36960 extern "C"
36961 #endif
36962 char $ac_func ();
36963 /* The GNU C library defines this for functions which it implements
36964 to always fail with ENOSYS. Some functions are actually named
36965 something starting with __ and the normal name is an alias. */
36966 #if defined __stub_$ac_func || defined __stub___$ac_func
36967 choke me
36968 #endif
36969
36970 int
36971 main ()
36972 {
36973 return $ac_func ();
36974 ;
36975 return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext conftest$ac_exeext
36979 if { (ac_try="$ac_link"
36980 case "(($ac_try" in
36981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36982 *) ac_try_echo=$ac_try;;
36983 esac
36984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36985 (eval "$ac_link") 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } && {
36992 test -z "$ac_c_werror_flag" ||
36993 test ! -s conftest.err
36994 } && test -s conftest$ac_exeext &&
36995 $as_test_x conftest$ac_exeext; then
36996 eval "$as_ac_var=yes"
36997 else
36998 echo "$as_me: failed program was:" >&5
36999 sed 's/^/| /' conftest.$ac_ext >&5
37000
37001 eval "$as_ac_var=no"
37002 fi
37003
37004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37005 conftest$ac_exeext conftest.$ac_ext
37006 fi
37007 ac_res=`eval echo '${'$as_ac_var'}'`
37008 { echo "$as_me:$LINENO: result: $ac_res" >&5
37009 echo "${ECHO_T}$ac_res" >&6; }
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37013 _ACEOF
37014 break
37015 fi
37016 done
37017
37018 if test "$ac_cv_func_setenv" = "yes"; then
37019
37020 for ac_func in unsetenv
37021 do
37022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37037
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37042
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37048
37049 #undef $ac_func
37050
37051 /* Override any GCC internal prototype to avoid an error.
37052 Use char because int might match the return type of a GCC
37053 builtin and then its argument prototype would still apply. */
37054 #ifdef __cplusplus
37055 extern "C"
37056 #endif
37057 char $ac_func ();
37058 /* The GNU C library defines this for functions which it implements
37059 to always fail with ENOSYS. Some functions are actually named
37060 something starting with __ and the normal name is an alias. */
37061 #if defined __stub_$ac_func || defined __stub___$ac_func
37062 choke me
37063 #endif
37064
37065 int
37066 main ()
37067 {
37068 return $ac_func ();
37069 ;
37070 return 0;
37071 }
37072 _ACEOF
37073 rm -f conftest.$ac_objext conftest$ac_exeext
37074 if { (ac_try="$ac_link"
37075 case "(($ac_try" in
37076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37077 *) ac_try_echo=$ac_try;;
37078 esac
37079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37080 (eval "$ac_link") 2>conftest.er1
37081 ac_status=$?
37082 grep -v '^ *+' conftest.er1 >conftest.err
37083 rm -f conftest.er1
37084 cat conftest.err >&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); } && {
37087 test -z "$ac_c_werror_flag" ||
37088 test ! -s conftest.err
37089 } && test -s conftest$ac_exeext &&
37090 $as_test_x conftest$ac_exeext; then
37091 eval "$as_ac_var=yes"
37092 else
37093 echo "$as_me: failed program was:" >&5
37094 sed 's/^/| /' conftest.$ac_ext >&5
37095
37096 eval "$as_ac_var=no"
37097 fi
37098
37099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37100 conftest$ac_exeext conftest.$ac_ext
37101 fi
37102 ac_res=`eval echo '${'$as_ac_var'}'`
37103 { echo "$as_me:$LINENO: result: $ac_res" >&5
37104 echo "${ECHO_T}$ac_res" >&6; }
37105 if test `eval echo '${'$as_ac_var'}'` = yes; then
37106 cat >>confdefs.h <<_ACEOF
37107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37108 _ACEOF
37109
37110 fi
37111 done
37112
37113 fi
37114
37115 HAVE_SOME_SLEEP_FUNC=0
37116 if test "$USE_BEOS" = 1; then
37117 cat >>confdefs.h <<\_ACEOF
37118 #define HAVE_SLEEP 1
37119 _ACEOF
37120
37121 HAVE_SOME_SLEEP_FUNC=1
37122 fi
37123
37124 if test "$USE_DARWIN" = 1; then
37125 cat >>confdefs.h <<\_ACEOF
37126 #define HAVE_USLEEP 1
37127 _ACEOF
37128
37129 HAVE_SOME_SLEEP_FUNC=1
37130 fi
37131
37132 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37133 POSIX4_LINK=
37134
37135 for ac_func in nanosleep
37136 do
37137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37142 else
37143 cat >conftest.$ac_ext <<_ACEOF
37144 /* confdefs.h. */
37145 _ACEOF
37146 cat confdefs.h >>conftest.$ac_ext
37147 cat >>conftest.$ac_ext <<_ACEOF
37148 /* end confdefs.h. */
37149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37151 #define $ac_func innocuous_$ac_func
37152
37153 /* System header to define __stub macros and hopefully few prototypes,
37154 which can conflict with char $ac_func (); below.
37155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37156 <limits.h> exists even on freestanding compilers. */
37157
37158 #ifdef __STDC__
37159 # include <limits.h>
37160 #else
37161 # include <assert.h>
37162 #endif
37163
37164 #undef $ac_func
37165
37166 /* Override any GCC internal prototype to avoid an error.
37167 Use char because int might match the return type of a GCC
37168 builtin and then its argument prototype would still apply. */
37169 #ifdef __cplusplus
37170 extern "C"
37171 #endif
37172 char $ac_func ();
37173 /* The GNU C library defines this for functions which it implements
37174 to always fail with ENOSYS. Some functions are actually named
37175 something starting with __ and the normal name is an alias. */
37176 #if defined __stub_$ac_func || defined __stub___$ac_func
37177 choke me
37178 #endif
37179
37180 int
37181 main ()
37182 {
37183 return $ac_func ();
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (ac_try="$ac_link"
37190 case "(($ac_try" in
37191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 *) ac_try_echo=$ac_try;;
37193 esac
37194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37195 (eval "$ac_link") 2>conftest.er1
37196 ac_status=$?
37197 grep -v '^ *+' conftest.er1 >conftest.err
37198 rm -f conftest.er1
37199 cat conftest.err >&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); } && {
37202 test -z "$ac_c_werror_flag" ||
37203 test ! -s conftest.err
37204 } && test -s conftest$ac_exeext &&
37205 $as_test_x conftest$ac_exeext; then
37206 eval "$as_ac_var=yes"
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37210
37211 eval "$as_ac_var=no"
37212 fi
37213
37214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37215 conftest$ac_exeext conftest.$ac_ext
37216 fi
37217 ac_res=`eval echo '${'$as_ac_var'}'`
37218 { echo "$as_me:$LINENO: result: $ac_res" >&5
37219 echo "${ECHO_T}$ac_res" >&6; }
37220 if test `eval echo '${'$as_ac_var'}'` = yes; then
37221 cat >>confdefs.h <<_ACEOF
37222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37223 _ACEOF
37224 cat >>confdefs.h <<\_ACEOF
37225 #define HAVE_NANOSLEEP 1
37226 _ACEOF
37227
37228 else
37229
37230 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37231 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37232 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37233 echo $ECHO_N "(cached) $ECHO_C" >&6
37234 else
37235 ac_check_lib_save_LIBS=$LIBS
37236 LIBS="-lposix4 $LIBS"
37237 cat >conftest.$ac_ext <<_ACEOF
37238 /* confdefs.h. */
37239 _ACEOF
37240 cat confdefs.h >>conftest.$ac_ext
37241 cat >>conftest.$ac_ext <<_ACEOF
37242 /* end confdefs.h. */
37243
37244 /* Override any GCC internal prototype to avoid an error.
37245 Use char because int might match the return type of a GCC
37246 builtin and then its argument prototype would still apply. */
37247 #ifdef __cplusplus
37248 extern "C"
37249 #endif
37250 char nanosleep ();
37251 int
37252 main ()
37253 {
37254 return nanosleep ();
37255 ;
37256 return 0;
37257 }
37258 _ACEOF
37259 rm -f conftest.$ac_objext conftest$ac_exeext
37260 if { (ac_try="$ac_link"
37261 case "(($ac_try" in
37262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37263 *) ac_try_echo=$ac_try;;
37264 esac
37265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37266 (eval "$ac_link") 2>conftest.er1
37267 ac_status=$?
37268 grep -v '^ *+' conftest.er1 >conftest.err
37269 rm -f conftest.er1
37270 cat conftest.err >&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } && {
37273 test -z "$ac_c_werror_flag" ||
37274 test ! -s conftest.err
37275 } && test -s conftest$ac_exeext &&
37276 $as_test_x conftest$ac_exeext; then
37277 ac_cv_lib_posix4_nanosleep=yes
37278 else
37279 echo "$as_me: failed program was:" >&5
37280 sed 's/^/| /' conftest.$ac_ext >&5
37281
37282 ac_cv_lib_posix4_nanosleep=no
37283 fi
37284
37285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37286 conftest$ac_exeext conftest.$ac_ext
37287 LIBS=$ac_check_lib_save_LIBS
37288 fi
37289 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37290 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37291 if test $ac_cv_lib_posix4_nanosleep = yes; then
37292
37293 cat >>confdefs.h <<\_ACEOF
37294 #define HAVE_NANOSLEEP 1
37295 _ACEOF
37296
37297 POSIX4_LINK=" -lposix4"
37298
37299 else
37300
37301
37302 for wx_func in usleep
37303 do
37304 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37305 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37306 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 else
37309
37310 cat >conftest.$ac_ext <<_ACEOF
37311
37312 /* confdefs.h. */
37313 _ACEOF
37314 cat confdefs.h >>conftest.$ac_ext
37315 cat >>conftest.$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37317
37318
37319 $ac_includes_default
37320
37321 int
37322 main ()
37323 {
37324
37325 #ifndef $wx_func
37326 &$wx_func;
37327 #endif
37328
37329
37330 ;
37331 return 0;
37332 }
37333
37334 _ACEOF
37335 rm -f conftest.$ac_objext conftest$ac_exeext
37336 if { (ac_try="$ac_link"
37337 case "(($ac_try" in
37338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37339 *) ac_try_echo=$ac_try;;
37340 esac
37341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37342 (eval "$ac_link") 2>conftest.er1
37343 ac_status=$?
37344 grep -v '^ *+' conftest.er1 >conftest.err
37345 rm -f conftest.er1
37346 cat conftest.err >&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } && {
37349 test -z "$ac_c_werror_flag" ||
37350 test ! -s conftest.err
37351 } && test -s conftest$ac_exeext &&
37352 $as_test_x conftest$ac_exeext; then
37353 eval wx_cv_func_$wx_func=yes
37354 else
37355 echo "$as_me: failed program was:" >&5
37356 sed 's/^/| /' conftest.$ac_ext >&5
37357
37358 eval wx_cv_func_$wx_func=no
37359 fi
37360
37361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37362 conftest$ac_exeext conftest.$ac_ext
37363
37364 fi
37365 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37366 { echo "$as_me:$LINENO: result: $ac_res" >&5
37367 echo "${ECHO_T}$ac_res" >&6; }
37368
37369 if eval test \$wx_cv_func_$wx_func = yes
37370 then
37371 cat >>confdefs.h <<_ACEOF
37372 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37373 _ACEOF
37374
37375
37376 else
37377 :
37378 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37379 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37380
37381 fi
37382 done
37383
37384
37385
37386 fi
37387
37388
37389
37390 fi
37391 done
37392
37393 fi
37394
37395
37396 for wx_func in uname
37397 do
37398 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37399 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37400 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37401 echo $ECHO_N "(cached) $ECHO_C" >&6
37402 else
37403
37404 cat >conftest.$ac_ext <<_ACEOF
37405
37406 /* confdefs.h. */
37407 _ACEOF
37408 cat confdefs.h >>conftest.$ac_ext
37409 cat >>conftest.$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411
37412 #include <sys/utsname.h>
37413 $ac_includes_default
37414
37415 int
37416 main ()
37417 {
37418
37419 #ifndef $wx_func
37420 &$wx_func;
37421 #endif
37422
37423
37424 ;
37425 return 0;
37426 }
37427
37428 _ACEOF
37429 rm -f conftest.$ac_objext conftest$ac_exeext
37430 if { (ac_try="$ac_link"
37431 case "(($ac_try" in
37432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37433 *) ac_try_echo=$ac_try;;
37434 esac
37435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37436 (eval "$ac_link") 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } && {
37443 test -z "$ac_c_werror_flag" ||
37444 test ! -s conftest.err
37445 } && test -s conftest$ac_exeext &&
37446 $as_test_x conftest$ac_exeext; then
37447 eval wx_cv_func_$wx_func=yes
37448 else
37449 echo "$as_me: failed program was:" >&5
37450 sed 's/^/| /' conftest.$ac_ext >&5
37451
37452 eval wx_cv_func_$wx_func=no
37453 fi
37454
37455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37456 conftest$ac_exeext conftest.$ac_ext
37457
37458 fi
37459 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37460 { echo "$as_me:$LINENO: result: $ac_res" >&5
37461 echo "${ECHO_T}$ac_res" >&6; }
37462
37463 if eval test \$wx_cv_func_$wx_func = yes
37464 then
37465 cat >>confdefs.h <<_ACEOF
37466 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37467 _ACEOF
37468
37469
37470 else
37471 :
37472
37473 fi
37474 done
37475
37476 if test "$wx_cv_func_uname" != yes; then
37477
37478 for wx_func in gethostname
37479 do
37480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37482 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 else
37485
37486 cat >conftest.$ac_ext <<_ACEOF
37487
37488 /* confdefs.h. */
37489 _ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37493
37494
37495 $ac_includes_default
37496
37497 int
37498 main ()
37499 {
37500
37501 #ifndef $wx_func
37502 &$wx_func;
37503 #endif
37504
37505
37506 ;
37507 return 0;
37508 }
37509
37510 _ACEOF
37511 rm -f conftest.$ac_objext conftest$ac_exeext
37512 if { (ac_try="$ac_link"
37513 case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37515 *) ac_try_echo=$ac_try;;
37516 esac
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_link") 2>conftest.er1
37519 ac_status=$?
37520 grep -v '^ *+' conftest.er1 >conftest.err
37521 rm -f conftest.er1
37522 cat conftest.err >&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } && {
37525 test -z "$ac_c_werror_flag" ||
37526 test ! -s conftest.err
37527 } && test -s conftest$ac_exeext &&
37528 $as_test_x conftest$ac_exeext; then
37529 eval wx_cv_func_$wx_func=yes
37530 else
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.$ac_ext >&5
37533
37534 eval wx_cv_func_$wx_func=no
37535 fi
37536
37537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37538 conftest$ac_exeext conftest.$ac_ext
37539
37540 fi
37541 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37544
37545 if eval test \$wx_cv_func_$wx_func = yes
37546 then
37547 cat >>confdefs.h <<_ACEOF
37548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37549 _ACEOF
37550
37551
37552 else
37553 :
37554
37555 fi
37556 done
37557
37558 fi
37559
37560
37561 for wx_func in strtok_r
37562 do
37563 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37564 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37565 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37566 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 else
37568
37569 cat >conftest.$ac_ext <<_ACEOF
37570
37571 /* confdefs.h. */
37572 _ACEOF
37573 cat confdefs.h >>conftest.$ac_ext
37574 cat >>conftest.$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37576
37577 #define _REENTRANT
37578 $ac_includes_default
37579
37580 int
37581 main ()
37582 {
37583
37584 #ifndef $wx_func
37585 &$wx_func;
37586 #endif
37587
37588
37589 ;
37590 return 0;
37591 }
37592
37593 _ACEOF
37594 rm -f conftest.$ac_objext conftest$ac_exeext
37595 if { (ac_try="$ac_link"
37596 case "(($ac_try" in
37597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37598 *) ac_try_echo=$ac_try;;
37599 esac
37600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37601 (eval "$ac_link") 2>conftest.er1
37602 ac_status=$?
37603 grep -v '^ *+' conftest.er1 >conftest.err
37604 rm -f conftest.er1
37605 cat conftest.err >&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); } && {
37608 test -z "$ac_c_werror_flag" ||
37609 test ! -s conftest.err
37610 } && test -s conftest$ac_exeext &&
37611 $as_test_x conftest$ac_exeext; then
37612 eval wx_cv_func_$wx_func=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 eval wx_cv_func_$wx_func=no
37618 fi
37619
37620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37621 conftest$ac_exeext conftest.$ac_ext
37622
37623 fi
37624 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37625 { echo "$as_me:$LINENO: result: $ac_res" >&5
37626 echo "${ECHO_T}$ac_res" >&6; }
37627
37628 if eval test \$wx_cv_func_$wx_func = yes
37629 then
37630 cat >>confdefs.h <<_ACEOF
37631 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37632 _ACEOF
37633
37634
37635 else
37636 :
37637
37638 fi
37639 done
37640
37641
37642 INET_LINK=
37643
37644 for ac_func in inet_addr
37645 do
37646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37661
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37666
37667 #ifdef __STDC__
37668 # include <limits.h>
37669 #else
37670 # include <assert.h>
37671 #endif
37672
37673 #undef $ac_func
37674
37675 /* Override any GCC internal prototype to avoid an error.
37676 Use char because int might match the return type of a GCC
37677 builtin and then its argument prototype would still apply. */
37678 #ifdef __cplusplus
37679 extern "C"
37680 #endif
37681 char $ac_func ();
37682 /* The GNU C library defines this for functions which it implements
37683 to always fail with ENOSYS. Some functions are actually named
37684 something starting with __ and the normal name is an alias. */
37685 #if defined __stub_$ac_func || defined __stub___$ac_func
37686 choke me
37687 #endif
37688
37689 int
37690 main ()
37691 {
37692 return $ac_func ();
37693 ;
37694 return 0;
37695 }
37696 _ACEOF
37697 rm -f conftest.$ac_objext conftest$ac_exeext
37698 if { (ac_try="$ac_link"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37702 esac
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_link") 2>conftest.er1
37705 ac_status=$?
37706 grep -v '^ *+' conftest.er1 >conftest.err
37707 rm -f conftest.er1
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest$ac_exeext &&
37714 $as_test_x conftest$ac_exeext; then
37715 eval "$as_ac_var=yes"
37716 else
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37719
37720 eval "$as_ac_var=no"
37721 fi
37722
37723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37724 conftest$ac_exeext conftest.$ac_ext
37725 fi
37726 ac_res=`eval echo '${'$as_ac_var'}'`
37727 { echo "$as_me:$LINENO: result: $ac_res" >&5
37728 echo "${ECHO_T}$ac_res" >&6; }
37729 if test `eval echo '${'$as_ac_var'}'` = yes; then
37730 cat >>confdefs.h <<_ACEOF
37731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37732 _ACEOF
37733 cat >>confdefs.h <<\_ACEOF
37734 #define HAVE_INET_ADDR 1
37735 _ACEOF
37736
37737 else
37738
37739 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37740 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37741 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744 ac_check_lib_save_LIBS=$LIBS
37745 LIBS="-lnsl $LIBS"
37746 cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h. */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37752
37753 /* Override any GCC internal prototype to avoid an error.
37754 Use char because int might match the return type of a GCC
37755 builtin and then its argument prototype would still apply. */
37756 #ifdef __cplusplus
37757 extern "C"
37758 #endif
37759 char inet_addr ();
37760 int
37761 main ()
37762 {
37763 return inet_addr ();
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (ac_try="$ac_link"
37770 case "(($ac_try" in
37771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37772 *) ac_try_echo=$ac_try;;
37773 esac
37774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37775 (eval "$ac_link") 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } && {
37782 test -z "$ac_c_werror_flag" ||
37783 test ! -s conftest.err
37784 } && test -s conftest$ac_exeext &&
37785 $as_test_x conftest$ac_exeext; then
37786 ac_cv_lib_nsl_inet_addr=yes
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 ac_cv_lib_nsl_inet_addr=no
37792 fi
37793
37794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37795 conftest$ac_exeext conftest.$ac_ext
37796 LIBS=$ac_check_lib_save_LIBS
37797 fi
37798 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37799 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37800 if test $ac_cv_lib_nsl_inet_addr = yes; then
37801 INET_LINK="nsl"
37802 else
37803
37804 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37805 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37806 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809 ac_check_lib_save_LIBS=$LIBS
37810 LIBS="-lresolv $LIBS"
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817
37818 /* Override any GCC internal prototype to avoid an error.
37819 Use char because int might match the return type of a GCC
37820 builtin and then its argument prototype would still apply. */
37821 #ifdef __cplusplus
37822 extern "C"
37823 #endif
37824 char inet_addr ();
37825 int
37826 main ()
37827 {
37828 return inet_addr ();
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (ac_try="$ac_link"
37835 case "(($ac_try" in
37836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37837 *) ac_try_echo=$ac_try;;
37838 esac
37839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37840 (eval "$ac_link") 2>conftest.er1
37841 ac_status=$?
37842 grep -v '^ *+' conftest.er1 >conftest.err
37843 rm -f conftest.er1
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } && {
37847 test -z "$ac_c_werror_flag" ||
37848 test ! -s conftest.err
37849 } && test -s conftest$ac_exeext &&
37850 $as_test_x conftest$ac_exeext; then
37851 ac_cv_lib_resolv_inet_addr=yes
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37855
37856 ac_cv_lib_resolv_inet_addr=no
37857 fi
37858
37859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37860 conftest$ac_exeext conftest.$ac_ext
37861 LIBS=$ac_check_lib_save_LIBS
37862 fi
37863 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37864 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37865 if test $ac_cv_lib_resolv_inet_addr = yes; then
37866 INET_LINK="resolv"
37867 else
37868
37869 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37870 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37871 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37872 echo $ECHO_N "(cached) $ECHO_C" >&6
37873 else
37874 ac_check_lib_save_LIBS=$LIBS
37875 LIBS="-lsocket $LIBS"
37876 cat >conftest.$ac_ext <<_ACEOF
37877 /* confdefs.h. */
37878 _ACEOF
37879 cat confdefs.h >>conftest.$ac_ext
37880 cat >>conftest.$ac_ext <<_ACEOF
37881 /* end confdefs.h. */
37882
37883 /* Override any GCC internal prototype to avoid an error.
37884 Use char because int might match the return type of a GCC
37885 builtin and then its argument prototype would still apply. */
37886 #ifdef __cplusplus
37887 extern "C"
37888 #endif
37889 char inet_addr ();
37890 int
37891 main ()
37892 {
37893 return inet_addr ();
37894 ;
37895 return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (ac_try="$ac_link"
37900 case "(($ac_try" in
37901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37902 *) ac_try_echo=$ac_try;;
37903 esac
37904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37905 (eval "$ac_link") 2>conftest.er1
37906 ac_status=$?
37907 grep -v '^ *+' conftest.er1 >conftest.err
37908 rm -f conftest.er1
37909 cat conftest.err >&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } && {
37912 test -z "$ac_c_werror_flag" ||
37913 test ! -s conftest.err
37914 } && test -s conftest$ac_exeext &&
37915 $as_test_x conftest$ac_exeext; then
37916 ac_cv_lib_socket_inet_addr=yes
37917 else
37918 echo "$as_me: failed program was:" >&5
37919 sed 's/^/| /' conftest.$ac_ext >&5
37920
37921 ac_cv_lib_socket_inet_addr=no
37922 fi
37923
37924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37925 conftest$ac_exeext conftest.$ac_ext
37926 LIBS=$ac_check_lib_save_LIBS
37927 fi
37928 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37929 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37930 if test $ac_cv_lib_socket_inet_addr = yes; then
37931 INET_LINK="socket"
37932
37933 fi
37934
37935
37936
37937 fi
37938
37939
37940
37941 fi
37942
37943
37944
37945 fi
37946 done
37947
37948
37949
37950 for ac_func in inet_aton
37951 do
37952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 else
37958 cat >conftest.$ac_ext <<_ACEOF
37959 /* confdefs.h. */
37960 _ACEOF
37961 cat confdefs.h >>conftest.$ac_ext
37962 cat >>conftest.$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37966 #define $ac_func innocuous_$ac_func
37967
37968 /* System header to define __stub macros and hopefully few prototypes,
37969 which can conflict with char $ac_func (); below.
37970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37971 <limits.h> exists even on freestanding compilers. */
37972
37973 #ifdef __STDC__
37974 # include <limits.h>
37975 #else
37976 # include <assert.h>
37977 #endif
37978
37979 #undef $ac_func
37980
37981 /* Override any GCC internal prototype to avoid an error.
37982 Use char because int might match the return type of a GCC
37983 builtin and then its argument prototype would still apply. */
37984 #ifdef __cplusplus
37985 extern "C"
37986 #endif
37987 char $ac_func ();
37988 /* The GNU C library defines this for functions which it implements
37989 to always fail with ENOSYS. Some functions are actually named
37990 something starting with __ and the normal name is an alias. */
37991 #if defined __stub_$ac_func || defined __stub___$ac_func
37992 choke me
37993 #endif
37994
37995 int
37996 main ()
37997 {
37998 return $ac_func ();
37999 ;
38000 return 0;
38001 }
38002 _ACEOF
38003 rm -f conftest.$ac_objext conftest$ac_exeext
38004 if { (ac_try="$ac_link"
38005 case "(($ac_try" in
38006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38007 *) ac_try_echo=$ac_try;;
38008 esac
38009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38010 (eval "$ac_link") 2>conftest.er1
38011 ac_status=$?
38012 grep -v '^ *+' conftest.er1 >conftest.err
38013 rm -f conftest.er1
38014 cat conftest.err >&5
38015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38016 (exit $ac_status); } && {
38017 test -z "$ac_c_werror_flag" ||
38018 test ! -s conftest.err
38019 } && test -s conftest$ac_exeext &&
38020 $as_test_x conftest$ac_exeext; then
38021 eval "$as_ac_var=yes"
38022 else
38023 echo "$as_me: failed program was:" >&5
38024 sed 's/^/| /' conftest.$ac_ext >&5
38025
38026 eval "$as_ac_var=no"
38027 fi
38028
38029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38030 conftest$ac_exeext conftest.$ac_ext
38031 fi
38032 ac_res=`eval echo '${'$as_ac_var'}'`
38033 { echo "$as_me:$LINENO: result: $ac_res" >&5
38034 echo "${ECHO_T}$ac_res" >&6; }
38035 if test `eval echo '${'$as_ac_var'}'` = yes; then
38036 cat >>confdefs.h <<_ACEOF
38037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38038 _ACEOF
38039 cat >>confdefs.h <<\_ACEOF
38040 #define HAVE_INET_ATON 1
38041 _ACEOF
38042
38043 else
38044
38045 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38046 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38047 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38048 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 else
38051 ac_check_lib_save_LIBS=$LIBS
38052 LIBS="-l$INET_LINK $LIBS"
38053 cat >conftest.$ac_ext <<_ACEOF
38054 /* confdefs.h. */
38055 _ACEOF
38056 cat confdefs.h >>conftest.$ac_ext
38057 cat >>conftest.$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38059
38060 /* Override any GCC internal prototype to avoid an error.
38061 Use char because int might match the return type of a GCC
38062 builtin and then its argument prototype would still apply. */
38063 #ifdef __cplusplus
38064 extern "C"
38065 #endif
38066 char inet_aton ();
38067 int
38068 main ()
38069 {
38070 return inet_aton ();
38071 ;
38072 return 0;
38073 }
38074 _ACEOF
38075 rm -f conftest.$ac_objext conftest$ac_exeext
38076 if { (ac_try="$ac_link"
38077 case "(($ac_try" in
38078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38080 esac
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_link") 2>conftest.er1
38083 ac_status=$?
38084 grep -v '^ *+' conftest.er1 >conftest.err
38085 rm -f conftest.er1
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } && {
38089 test -z "$ac_c_werror_flag" ||
38090 test ! -s conftest.err
38091 } && test -s conftest$ac_exeext &&
38092 $as_test_x conftest$ac_exeext; then
38093 eval "$as_ac_Lib=yes"
38094 else
38095 echo "$as_me: failed program was:" >&5
38096 sed 's/^/| /' conftest.$ac_ext >&5
38097
38098 eval "$as_ac_Lib=no"
38099 fi
38100
38101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38102 conftest$ac_exeext conftest.$ac_ext
38103 LIBS=$ac_check_lib_save_LIBS
38104 fi
38105 ac_res=`eval echo '${'$as_ac_Lib'}'`
38106 { echo "$as_me:$LINENO: result: $ac_res" >&5
38107 echo "${ECHO_T}$ac_res" >&6; }
38108 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define HAVE_INET_ATON 1
38111 _ACEOF
38112
38113 fi
38114
38115
38116 fi
38117 done
38118
38119
38120 if test "x$INET_LINK" != "x"; then
38121 cat >>confdefs.h <<\_ACEOF
38122 #define HAVE_INET_ADDR 1
38123 _ACEOF
38124
38125 INET_LINK=" -l$INET_LINK"
38126 fi
38127
38128
38129 for wx_func in fdopen
38130 do
38131 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38132 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38133 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38134 echo $ECHO_N "(cached) $ECHO_C" >&6
38135 else
38136
38137 cat >conftest.$ac_ext <<_ACEOF
38138
38139 /* confdefs.h. */
38140 _ACEOF
38141 cat confdefs.h >>conftest.$ac_ext
38142 cat >>conftest.$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38144
38145
38146 $ac_includes_default
38147
38148 int
38149 main ()
38150 {
38151
38152 #ifndef $wx_func
38153 &$wx_func;
38154 #endif
38155
38156
38157 ;
38158 return 0;
38159 }
38160
38161 _ACEOF
38162 rm -f conftest.$ac_objext conftest$ac_exeext
38163 if { (ac_try="$ac_link"
38164 case "(($ac_try" in
38165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38166 *) ac_try_echo=$ac_try;;
38167 esac
38168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38169 (eval "$ac_link") 2>conftest.er1
38170 ac_status=$?
38171 grep -v '^ *+' conftest.er1 >conftest.err
38172 rm -f conftest.er1
38173 cat conftest.err >&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } && {
38176 test -z "$ac_c_werror_flag" ||
38177 test ! -s conftest.err
38178 } && test -s conftest$ac_exeext &&
38179 $as_test_x conftest$ac_exeext; then
38180 eval wx_cv_func_$wx_func=yes
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185 eval wx_cv_func_$wx_func=no
38186 fi
38187
38188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38189 conftest$ac_exeext conftest.$ac_ext
38190
38191 fi
38192 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38193 { echo "$as_me:$LINENO: result: $ac_res" >&5
38194 echo "${ECHO_T}$ac_res" >&6; }
38195
38196 if eval test \$wx_cv_func_$wx_func = yes
38197 then
38198 cat >>confdefs.h <<_ACEOF
38199 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38200 _ACEOF
38201
38202
38203 else
38204 :
38205
38206 fi
38207 done
38208
38209
38210 if test "$wxUSE_TARSTREAM" = "yes"; then
38211
38212 for wx_func in sysconf
38213 do
38214 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38215 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38216 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38217 echo $ECHO_N "(cached) $ECHO_C" >&6
38218 else
38219
38220 cat >conftest.$ac_ext <<_ACEOF
38221
38222 /* confdefs.h. */
38223 _ACEOF
38224 cat confdefs.h >>conftest.$ac_ext
38225 cat >>conftest.$ac_ext <<_ACEOF
38226 /* end confdefs.h. */
38227
38228
38229 $ac_includes_default
38230
38231 int
38232 main ()
38233 {
38234
38235 #ifndef $wx_func
38236 &$wx_func;
38237 #endif
38238
38239
38240 ;
38241 return 0;
38242 }
38243
38244 _ACEOF
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38250 esac
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38253 ac_status=$?
38254 grep -v '^ *+' conftest.er1 >conftest.err
38255 rm -f conftest.er1
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 eval wx_cv_func_$wx_func=yes
38264 else
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38267
38268 eval wx_cv_func_$wx_func=no
38269 fi
38270
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273
38274 fi
38275 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38276 { echo "$as_me:$LINENO: result: $ac_res" >&5
38277 echo "${ECHO_T}$ac_res" >&6; }
38278
38279 if eval test \$wx_cv_func_$wx_func = yes
38280 then
38281 cat >>confdefs.h <<_ACEOF
38282 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38283 _ACEOF
38284
38285
38286 else
38287 :
38288
38289 fi
38290 done
38291
38292
38293
38294 for wx_func in getpwuid_r
38295 do
38296 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38298 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38299 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 else
38301
38302 cat >conftest.$ac_ext <<_ACEOF
38303
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310
38311 #define _REENTRANT
38312 #include <pwd.h>
38313
38314 $ac_includes_default
38315
38316 int
38317 main ()
38318 {
38319
38320 #ifndef $wx_func
38321 &$wx_func;
38322 #endif
38323
38324 struct passwd pw, *ppw;
38325 char buf[1024];
38326 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38327
38328
38329 ;
38330 return 0;
38331 }
38332
38333 _ACEOF
38334 rm -f conftest.$ac_objext conftest$ac_exeext
38335 if { (ac_try="$ac_link"
38336 case "(($ac_try" in
38337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38338 *) ac_try_echo=$ac_try;;
38339 esac
38340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38341 (eval "$ac_link") 2>conftest.er1
38342 ac_status=$?
38343 grep -v '^ *+' conftest.er1 >conftest.err
38344 rm -f conftest.er1
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } && {
38348 test -z "$ac_c_werror_flag" ||
38349 test ! -s conftest.err
38350 } && test -s conftest$ac_exeext &&
38351 $as_test_x conftest$ac_exeext; then
38352 eval wx_cv_func_$wx_func=yes
38353 else
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.$ac_ext >&5
38356
38357 eval wx_cv_func_$wx_func=no
38358 fi
38359
38360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38361 conftest$ac_exeext conftest.$ac_ext
38362
38363 fi
38364 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38365 { echo "$as_me:$LINENO: result: $ac_res" >&5
38366 echo "${ECHO_T}$ac_res" >&6; }
38367
38368 if eval test \$wx_cv_func_$wx_func = yes
38369 then
38370 cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38372 _ACEOF
38373
38374
38375 else
38376 :
38377
38378 fi
38379 done
38380
38381
38382
38383 for wx_func in getgrgid_r
38384 do
38385 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38386 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38387 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390
38391 cat >conftest.$ac_ext <<_ACEOF
38392
38393 /* confdefs.h. */
38394 _ACEOF
38395 cat confdefs.h >>conftest.$ac_ext
38396 cat >>conftest.$ac_ext <<_ACEOF
38397 /* end confdefs.h. */
38398
38399
38400 #define _REENTRANT
38401 #include <grp.h>
38402
38403 $ac_includes_default
38404
38405 int
38406 main ()
38407 {
38408
38409 #ifndef $wx_func
38410 &$wx_func;
38411 #endif
38412
38413 struct group grp, *pgrp;
38414 char buf[1024];
38415 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38416
38417
38418 ;
38419 return 0;
38420 }
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 eval wx_cv_func_$wx_func=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446 eval wx_cv_func_$wx_func=no
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 fi
38453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38454 { echo "$as_me:$LINENO: result: $ac_res" >&5
38455 echo "${ECHO_T}$ac_res" >&6; }
38456
38457 if eval test \$wx_cv_func_$wx_func = yes
38458 then
38459 cat >>confdefs.h <<_ACEOF
38460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38461 _ACEOF
38462
38463
38464 else
38465 :
38466
38467 fi
38468 done
38469
38470 fi
38471
38472 fi
38473
38474
38475
38476 cat >confcache <<\_ACEOF
38477 # This file is a shell script that caches the results of configure
38478 # tests run on this system so they can be shared between configure
38479 # scripts and configure runs, see configure's option --config-cache.
38480 # It is not useful on other systems. If it contains results you don't
38481 # want to keep, you may remove or edit it.
38482 #
38483 # config.status only pays attention to the cache file if you give it
38484 # the --recheck option to rerun configure.
38485 #
38486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38488 # following values.
38489
38490 _ACEOF
38491
38492 # The following way of writing the cache mishandles newlines in values,
38493 # but we know of no workaround that is simple, portable, and efficient.
38494 # So, we kill variables containing newlines.
38495 # Ultrix sh set writes to stderr and can't be redirected directly,
38496 # and sets the high bit in the cache file unless we assign to the vars.
38497 (
38498 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38499 eval ac_val=\$$ac_var
38500 case $ac_val in #(
38501 *${as_nl}*)
38502 case $ac_var in #(
38503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38505 esac
38506 case $ac_var in #(
38507 _ | IFS | as_nl) ;; #(
38508 *) $as_unset $ac_var ;;
38509 esac ;;
38510 esac
38511 done
38512
38513 (set) 2>&1 |
38514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38515 *${as_nl}ac_space=\ *)
38516 # `set' does not quote correctly, so add quotes (double-quote
38517 # substitution turns \\\\ into \\, and sed turns \\ into \).
38518 sed -n \
38519 "s/'/'\\\\''/g;
38520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38521 ;; #(
38522 *)
38523 # `set' quotes correctly as required by POSIX, so do not add quotes.
38524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38525 ;;
38526 esac |
38527 sort
38528 ) |
38529 sed '
38530 /^ac_cv_env_/b end
38531 t clear
38532 :clear
38533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38534 t end
38535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38536 :end' >>confcache
38537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38538 if test -w "$cache_file"; then
38539 test "x$cache_file" != "x/dev/null" &&
38540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38541 echo "$as_me: updating cache $cache_file" >&6;}
38542 cat confcache >$cache_file
38543 else
38544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38546 fi
38547 fi
38548 rm -f confcache
38549
38550
38551 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38552
38553
38554 THREADS_LINK=
38555 THREADS_CFLAGS=
38556
38557 if test "$wxUSE_THREADS" = "yes" ; then
38558 if test "$USE_BEOS" = 1; then
38559 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38560 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38561 wxUSE_THREADS="no"
38562 fi
38563 fi
38564
38565 if test "$wxUSE_THREADS" = "yes" ; then
38566
38567
38568 THREAD_OPTS="-pthread"
38569 if test "x$SUNCXX" = xyes; then
38570 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38571 fi
38572
38573 case "${host}" in
38574 *-*-solaris2* | *-*-sunos4* )
38575 if test "x$GCC" = "xyes"; then
38576 THREAD_OPTS="-pthreads $THREAD_OPTS"
38577 fi
38578 ;;
38579 *-*-freebsd*)
38580 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38581 ;;
38582 *-*-darwin* | *-*-cygwin* )
38583 THREAD_OPTS=""
38584 ;;
38585 *-*-aix*)
38586 THREAD_OPTS="pthreads"
38587 ;;
38588 *-hp-hpux* )
38589 if test "x$GCC" = "xyes"; then
38590 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38591 THREAD_OPTS=""
38592 else
38593 THREAD_OPTS="-mt"
38594 fi
38595 ;;
38596
38597 *-*-irix* )
38598 if test "x$GCC" = "xyes"; then
38599 THREAD_OPTS=""
38600 fi
38601 ;;
38602
38603 *-*-*UnixWare*)
38604 if test "x$GCC" != "xyes"; then
38605 THREAD_OPTS="-Ethread"
38606 fi
38607 ;;
38608 esac
38609
38610 THREAD_OPTS="$THREAD_OPTS pthread none"
38611
38612 THREADS_OK=no
38613 for flag in $THREAD_OPTS; do
38614 case $flag in
38615 none)
38616 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38617 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38618 ;;
38619
38620 -*)
38621 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38622 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38623 THREADS_CFLAGS="$flag"
38624 ;;
38625
38626 *)
38627 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38628 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38629 THREADS_LINK="-l$flag"
38630 ;;
38631 esac
38632
38633 save_LIBS="$LIBS"
38634 save_CFLAGS="$CFLAGS"
38635 LIBS="$THREADS_LINK $LIBS"
38636 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38637
38638 cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 #include <pthread.h>
38645 int
38646 main ()
38647 {
38648 pthread_create(0,0,0,0);
38649 ;
38650 return 0;
38651 }
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38658 esac
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 THREADS_OK=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676
38677 fi
38678
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38681
38682 LIBS="$save_LIBS"
38683 CFLAGS="$save_CFLAGS"
38684
38685 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38686 echo "${ECHO_T}$THREADS_OK" >&6; }
38687 if test "x$THREADS_OK" = "xyes"; then
38688 break;
38689 fi
38690
38691 THREADS_LINK=""
38692 THREADS_CFLAGS=""
38693 done
38694
38695 if test "x$THREADS_OK" != "xyes"; then
38696 wxUSE_THREADS=no
38697 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38698 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38699 else
38700 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38701 LIBS="$THREADS_LINK $LIBS"
38702
38703 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38704 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38705 flag=no
38706 case "${host}" in
38707 *-aix*)
38708 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38709 flag="-D_THREAD_SAFE"
38710 ;;
38711 *-freebsd*)
38712 flag="-D_THREAD_SAFE"
38713 ;;
38714 *-hp-hpux* )
38715 flag="-D_REENTRANT"
38716 if test "x$GCC" != "xyes"; then
38717 flag="$flag -D_RWSTD_MULTI_THREAD"
38718 fi
38719 ;;
38720 *solaris* | alpha*-osf*)
38721 flag="-D_REENTRANT"
38722 ;;
38723 esac
38724 { echo "$as_me:$LINENO: result: ${flag}" >&5
38725 echo "${ECHO_T}${flag}" >&6; }
38726 if test "x$flag" != xno; then
38727 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38728 fi
38729
38730 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38731 fi
38732 fi
38733
38734 if test "$wxUSE_THREADS" = "yes" ; then
38735
38736 for ac_func in thr_setconcurrency
38737 do
38738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38742 echo $ECHO_N "(cached) $ECHO_C" >&6
38743 else
38744 cat >conftest.$ac_ext <<_ACEOF
38745 /* confdefs.h. */
38746 _ACEOF
38747 cat confdefs.h >>conftest.$ac_ext
38748 cat >>conftest.$ac_ext <<_ACEOF
38749 /* end confdefs.h. */
38750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38752 #define $ac_func innocuous_$ac_func
38753
38754 /* System header to define __stub macros and hopefully few prototypes,
38755 which can conflict with char $ac_func (); below.
38756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38757 <limits.h> exists even on freestanding compilers. */
38758
38759 #ifdef __STDC__
38760 # include <limits.h>
38761 #else
38762 # include <assert.h>
38763 #endif
38764
38765 #undef $ac_func
38766
38767 /* Override any GCC internal prototype to avoid an error.
38768 Use char because int might match the return type of a GCC
38769 builtin and then its argument prototype would still apply. */
38770 #ifdef __cplusplus
38771 extern "C"
38772 #endif
38773 char $ac_func ();
38774 /* The GNU C library defines this for functions which it implements
38775 to always fail with ENOSYS. Some functions are actually named
38776 something starting with __ and the normal name is an alias. */
38777 #if defined __stub_$ac_func || defined __stub___$ac_func
38778 choke me
38779 #endif
38780
38781 int
38782 main ()
38783 {
38784 return $ac_func ();
38785 ;
38786 return 0;
38787 }
38788 _ACEOF
38789 rm -f conftest.$ac_objext conftest$ac_exeext
38790 if { (ac_try="$ac_link"
38791 case "(($ac_try" in
38792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38793 *) ac_try_echo=$ac_try;;
38794 esac
38795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38796 (eval "$ac_link") 2>conftest.er1
38797 ac_status=$?
38798 grep -v '^ *+' conftest.er1 >conftest.err
38799 rm -f conftest.er1
38800 cat conftest.err >&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); } && {
38803 test -z "$ac_c_werror_flag" ||
38804 test ! -s conftest.err
38805 } && test -s conftest$ac_exeext &&
38806 $as_test_x conftest$ac_exeext; then
38807 eval "$as_ac_var=yes"
38808 else
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38811
38812 eval "$as_ac_var=no"
38813 fi
38814
38815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38816 conftest$ac_exeext conftest.$ac_ext
38817 fi
38818 ac_res=`eval echo '${'$as_ac_var'}'`
38819 { echo "$as_me:$LINENO: result: $ac_res" >&5
38820 echo "${ECHO_T}$ac_res" >&6; }
38821 if test `eval echo '${'$as_ac_var'}'` = yes; then
38822 cat >>confdefs.h <<_ACEOF
38823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829
38830 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38831 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38832 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 else
38835
38836 ac_ext=cpp
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841
38842 cat >conftest.$ac_ext <<_ACEOF
38843 /* confdefs.h. */
38844 _ACEOF
38845 cat confdefs.h >>conftest.$ac_ext
38846 cat >>conftest.$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 #include <pthread.h>
38849 void ThreadCleanupFunc(void *p);
38850
38851 int
38852 main ()
38853 {
38854
38855 void *p;
38856 pthread_cleanup_push(ThreadCleanupFunc, p);
38857 pthread_cleanup_pop(0);
38858
38859 ;
38860 return 0;
38861 }
38862 _ACEOF
38863 rm -f conftest.$ac_objext
38864 if { (ac_try="$ac_compile"
38865 case "(($ac_try" in
38866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38867 *) ac_try_echo=$ac_try;;
38868 esac
38869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38870 (eval "$ac_compile") 2>conftest.er1
38871 ac_status=$?
38872 grep -v '^ *+' conftest.er1 >conftest.err
38873 rm -f conftest.er1
38874 cat conftest.err >&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); } && {
38877 test -z "$ac_cxx_werror_flag" ||
38878 test ! -s conftest.err
38879 } && test -s conftest.$ac_objext; then
38880
38881 wx_cv_func_pthread_cleanup=yes
38882
38883 else
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.$ac_ext >&5
38886
38887
38888 wx_cv_func_pthread_cleanup=no
38889
38890
38891 fi
38892
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900
38901 fi
38902 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38903 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38904 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38905 cat >>confdefs.h <<\_ACEOF
38906 #define wxHAVE_PTHREAD_CLEANUP 1
38907 _ACEOF
38908
38909 fi
38910
38911
38912 for ac_header in sched.h
38913 do
38914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 $ac_includes_default
38927
38928 #include <$ac_header>
38929 _ACEOF
38930 rm -f conftest.$ac_objext
38931 if { (ac_try="$ac_compile"
38932 case "(($ac_try" in
38933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38934 *) ac_try_echo=$ac_try;;
38935 esac
38936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38937 (eval "$ac_compile") 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } && {
38944 test -z "$ac_c_werror_flag" ||
38945 test ! -s conftest.err
38946 } && test -s conftest.$ac_objext; then
38947 eval "$as_ac_Header=yes"
38948 else
38949 echo "$as_me: failed program was:" >&5
38950 sed 's/^/| /' conftest.$ac_ext >&5
38951
38952 eval "$as_ac_Header=no"
38953 fi
38954
38955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38956 fi
38957 ac_res=`eval echo '${'$as_ac_Header'}'`
38958 { echo "$as_me:$LINENO: result: $ac_res" >&5
38959 echo "${ECHO_T}$ac_res" >&6; }
38960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38961 cat >>confdefs.h <<_ACEOF
38962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38963 _ACEOF
38964
38965 fi
38966
38967 done
38968
38969 if test "$ac_cv_header_sched_h" = "yes"; then
38970 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38971 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38972 if test "${ac_cv_func_sched_yield+set}" = set; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975 cat >conftest.$ac_ext <<_ACEOF
38976 /* confdefs.h. */
38977 _ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38983 #define sched_yield innocuous_sched_yield
38984
38985 /* System header to define __stub macros and hopefully few prototypes,
38986 which can conflict with char sched_yield (); below.
38987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38988 <limits.h> exists even on freestanding compilers. */
38989
38990 #ifdef __STDC__
38991 # include <limits.h>
38992 #else
38993 # include <assert.h>
38994 #endif
38995
38996 #undef sched_yield
38997
38998 /* Override any GCC internal prototype to avoid an error.
38999 Use char because int might match the return type of a GCC
39000 builtin and then its argument prototype would still apply. */
39001 #ifdef __cplusplus
39002 extern "C"
39003 #endif
39004 char sched_yield ();
39005 /* The GNU C library defines this for functions which it implements
39006 to always fail with ENOSYS. Some functions are actually named
39007 something starting with __ and the normal name is an alias. */
39008 #if defined __stub_sched_yield || defined __stub___sched_yield
39009 choke me
39010 #endif
39011
39012 int
39013 main ()
39014 {
39015 return sched_yield ();
39016 ;
39017 return 0;
39018 }
39019 _ACEOF
39020 rm -f conftest.$ac_objext conftest$ac_exeext
39021 if { (ac_try="$ac_link"
39022 case "(($ac_try" in
39023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39024 *) ac_try_echo=$ac_try;;
39025 esac
39026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39027 (eval "$ac_link") 2>conftest.er1
39028 ac_status=$?
39029 grep -v '^ *+' conftest.er1 >conftest.err
39030 rm -f conftest.er1
39031 cat conftest.err >&5
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); } && {
39034 test -z "$ac_c_werror_flag" ||
39035 test ! -s conftest.err
39036 } && test -s conftest$ac_exeext &&
39037 $as_test_x conftest$ac_exeext; then
39038 ac_cv_func_sched_yield=yes
39039 else
39040 echo "$as_me: failed program was:" >&5
39041 sed 's/^/| /' conftest.$ac_ext >&5
39042
39043 ac_cv_func_sched_yield=no
39044 fi
39045
39046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39047 conftest$ac_exeext conftest.$ac_ext
39048 fi
39049 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39050 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39051 if test $ac_cv_func_sched_yield = yes; then
39052 cat >>confdefs.h <<\_ACEOF
39053 #define HAVE_SCHED_YIELD 1
39054 _ACEOF
39055
39056 else
39057
39058 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39059 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39060 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 else
39063 ac_check_lib_save_LIBS=$LIBS
39064 LIBS="-lposix4 $LIBS"
39065 cat >conftest.$ac_ext <<_ACEOF
39066 /* confdefs.h. */
39067 _ACEOF
39068 cat confdefs.h >>conftest.$ac_ext
39069 cat >>conftest.$ac_ext <<_ACEOF
39070 /* end confdefs.h. */
39071
39072 /* Override any GCC internal prototype to avoid an error.
39073 Use char because int might match the return type of a GCC
39074 builtin and then its argument prototype would still apply. */
39075 #ifdef __cplusplus
39076 extern "C"
39077 #endif
39078 char sched_yield ();
39079 int
39080 main ()
39081 {
39082 return sched_yield ();
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39092 esac
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39095 ac_status=$?
39096 grep -v '^ *+' conftest.er1 >conftest.err
39097 rm -f conftest.er1
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest$ac_exeext &&
39104 $as_test_x conftest$ac_exeext; then
39105 ac_cv_lib_posix4_sched_yield=yes
39106 else
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39109
39110 ac_cv_lib_posix4_sched_yield=no
39111 fi
39112
39113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39114 conftest$ac_exeext conftest.$ac_ext
39115 LIBS=$ac_check_lib_save_LIBS
39116 fi
39117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39118 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39119 if test $ac_cv_lib_posix4_sched_yield = yes; then
39120 cat >>confdefs.h <<\_ACEOF
39121 #define HAVE_SCHED_YIELD 1
39122 _ACEOF
39123 POSIX4_LINK=" -lposix4"
39124 else
39125 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39126 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39127
39128 fi
39129
39130
39131
39132 fi
39133
39134 fi
39135
39136 HAVE_PRIOR_FUNCS=0
39137 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39138 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39139 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 else
39142 cat >conftest.$ac_ext <<_ACEOF
39143 /* confdefs.h. */
39144 _ACEOF
39145 cat confdefs.h >>conftest.$ac_ext
39146 cat >>conftest.$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39148 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39150 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39151
39152 /* System header to define __stub macros and hopefully few prototypes,
39153 which can conflict with char pthread_attr_getschedpolicy (); below.
39154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39155 <limits.h> exists even on freestanding compilers. */
39156
39157 #ifdef __STDC__
39158 # include <limits.h>
39159 #else
39160 # include <assert.h>
39161 #endif
39162
39163 #undef pthread_attr_getschedpolicy
39164
39165 /* Override any GCC internal prototype to avoid an error.
39166 Use char because int might match the return type of a GCC
39167 builtin and then its argument prototype would still apply. */
39168 #ifdef __cplusplus
39169 extern "C"
39170 #endif
39171 char pthread_attr_getschedpolicy ();
39172 /* The GNU C library defines this for functions which it implements
39173 to always fail with ENOSYS. Some functions are actually named
39174 something starting with __ and the normal name is an alias. */
39175 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39176 choke me
39177 #endif
39178
39179 int
39180 main ()
39181 {
39182 return pthread_attr_getschedpolicy ();
39183 ;
39184 return 0;
39185 }
39186 _ACEOF
39187 rm -f conftest.$ac_objext conftest$ac_exeext
39188 if { (ac_try="$ac_link"
39189 case "(($ac_try" in
39190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39192 esac
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_link") 2>conftest.er1
39195 ac_status=$?
39196 grep -v '^ *+' conftest.er1 >conftest.err
39197 rm -f conftest.er1
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_c_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest$ac_exeext &&
39204 $as_test_x conftest$ac_exeext; then
39205 ac_cv_func_pthread_attr_getschedpolicy=yes
39206 else
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39209
39210 ac_cv_func_pthread_attr_getschedpolicy=no
39211 fi
39212
39213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39214 conftest$ac_exeext conftest.$ac_ext
39215 fi
39216 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39217 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39218 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39219 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39220 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39221 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 else
39224 cat >conftest.$ac_ext <<_ACEOF
39225 /* confdefs.h. */
39226 _ACEOF
39227 cat confdefs.h >>conftest.$ac_ext
39228 cat >>conftest.$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39233
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char pthread_attr_setschedparam (); below.
39236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39237 <limits.h> exists even on freestanding compilers. */
39238
39239 #ifdef __STDC__
39240 # include <limits.h>
39241 #else
39242 # include <assert.h>
39243 #endif
39244
39245 #undef pthread_attr_setschedparam
39246
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 #endif
39253 char pthread_attr_setschedparam ();
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39258 choke me
39259 #endif
39260
39261 int
39262 main ()
39263 {
39264 return pthread_attr_setschedparam ();
39265 ;
39266 return 0;
39267 }
39268 _ACEOF
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39273 *) ac_try_echo=$ac_try;;
39274 esac
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39277 ac_status=$?
39278 grep -v '^ *+' conftest.er1 >conftest.err
39279 rm -f conftest.er1
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest$ac_exeext &&
39286 $as_test_x conftest$ac_exeext; then
39287 ac_cv_func_pthread_attr_setschedparam=yes
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 ac_cv_func_pthread_attr_setschedparam=no
39293 fi
39294
39295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39296 conftest$ac_exeext conftest.$ac_ext
39297 fi
39298 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39299 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39300 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39301 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39302 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39303 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306 cat >conftest.$ac_ext <<_ACEOF
39307 /* confdefs.h. */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39314 #define sched_get_priority_max innocuous_sched_get_priority_max
39315
39316 /* System header to define __stub macros and hopefully few prototypes,
39317 which can conflict with char sched_get_priority_max (); below.
39318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39319 <limits.h> exists even on freestanding compilers. */
39320
39321 #ifdef __STDC__
39322 # include <limits.h>
39323 #else
39324 # include <assert.h>
39325 #endif
39326
39327 #undef sched_get_priority_max
39328
39329 /* Override any GCC internal prototype to avoid an error.
39330 Use char because int might match the return type of a GCC
39331 builtin and then its argument prototype would still apply. */
39332 #ifdef __cplusplus
39333 extern "C"
39334 #endif
39335 char sched_get_priority_max ();
39336 /* The GNU C library defines this for functions which it implements
39337 to always fail with ENOSYS. Some functions are actually named
39338 something starting with __ and the normal name is an alias. */
39339 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39340 choke me
39341 #endif
39342
39343 int
39344 main ()
39345 {
39346 return sched_get_priority_max ();
39347 ;
39348 return 0;
39349 }
39350 _ACEOF
39351 rm -f conftest.$ac_objext conftest$ac_exeext
39352 if { (ac_try="$ac_link"
39353 case "(($ac_try" in
39354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39355 *) ac_try_echo=$ac_try;;
39356 esac
39357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39358 (eval "$ac_link") 2>conftest.er1
39359 ac_status=$?
39360 grep -v '^ *+' conftest.er1 >conftest.err
39361 rm -f conftest.er1
39362 cat conftest.err >&5
39363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39364 (exit $ac_status); } && {
39365 test -z "$ac_c_werror_flag" ||
39366 test ! -s conftest.err
39367 } && test -s conftest$ac_exeext &&
39368 $as_test_x conftest$ac_exeext; then
39369 ac_cv_func_sched_get_priority_max=yes
39370 else
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.$ac_ext >&5
39373
39374 ac_cv_func_sched_get_priority_max=no
39375 fi
39376
39377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39378 conftest$ac_exeext conftest.$ac_ext
39379 fi
39380 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39381 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39382 if test $ac_cv_func_sched_get_priority_max = yes; then
39383 HAVE_PRIOR_FUNCS=1
39384 else
39385 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39386 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39387 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39388 echo $ECHO_N "(cached) $ECHO_C" >&6
39389 else
39390 ac_check_lib_save_LIBS=$LIBS
39391 LIBS="-lposix4 $LIBS"
39392 cat >conftest.$ac_ext <<_ACEOF
39393 /* confdefs.h. */
39394 _ACEOF
39395 cat confdefs.h >>conftest.$ac_ext
39396 cat >>conftest.$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398
39399 /* Override any GCC internal prototype to avoid an error.
39400 Use char because int might match the return type of a GCC
39401 builtin and then its argument prototype would still apply. */
39402 #ifdef __cplusplus
39403 extern "C"
39404 #endif
39405 char sched_get_priority_max ();
39406 int
39407 main ()
39408 {
39409 return sched_get_priority_max ();
39410 ;
39411 return 0;
39412 }
39413 _ACEOF
39414 rm -f conftest.$ac_objext conftest$ac_exeext
39415 if { (ac_try="$ac_link"
39416 case "(($ac_try" in
39417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39418 *) ac_try_echo=$ac_try;;
39419 esac
39420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39421 (eval "$ac_link") 2>conftest.er1
39422 ac_status=$?
39423 grep -v '^ *+' conftest.er1 >conftest.err
39424 rm -f conftest.er1
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } && {
39428 test -z "$ac_c_werror_flag" ||
39429 test ! -s conftest.err
39430 } && test -s conftest$ac_exeext &&
39431 $as_test_x conftest$ac_exeext; then
39432 ac_cv_lib_posix4_sched_get_priority_max=yes
39433 else
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39436
39437 ac_cv_lib_posix4_sched_get_priority_max=no
39438 fi
39439
39440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39441 conftest$ac_exeext conftest.$ac_ext
39442 LIBS=$ac_check_lib_save_LIBS
39443 fi
39444 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39445 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39446 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39447
39448 HAVE_PRIOR_FUNCS=1
39449 POSIX4_LINK=" -lposix4"
39450
39451 fi
39452
39453
39454 fi
39455
39456
39457 fi
39458
39459
39460 fi
39461
39462
39463 if test "$HAVE_PRIOR_FUNCS" = 1; then
39464 cat >>confdefs.h <<\_ACEOF
39465 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39466 _ACEOF
39467
39468 else
39469 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39470 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39471 fi
39472
39473 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39474 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39475 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39476 echo $ECHO_N "(cached) $ECHO_C" >&6
39477 else
39478 cat >conftest.$ac_ext <<_ACEOF
39479 /* confdefs.h. */
39480 _ACEOF
39481 cat confdefs.h >>conftest.$ac_ext
39482 cat >>conftest.$ac_ext <<_ACEOF
39483 /* end confdefs.h. */
39484 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39486 #define pthread_cancel innocuous_pthread_cancel
39487
39488 /* System header to define __stub macros and hopefully few prototypes,
39489 which can conflict with char pthread_cancel (); below.
39490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39491 <limits.h> exists even on freestanding compilers. */
39492
39493 #ifdef __STDC__
39494 # include <limits.h>
39495 #else
39496 # include <assert.h>
39497 #endif
39498
39499 #undef pthread_cancel
39500
39501 /* Override any GCC internal prototype to avoid an error.
39502 Use char because int might match the return type of a GCC
39503 builtin and then its argument prototype would still apply. */
39504 #ifdef __cplusplus
39505 extern "C"
39506 #endif
39507 char pthread_cancel ();
39508 /* The GNU C library defines this for functions which it implements
39509 to always fail with ENOSYS. Some functions are actually named
39510 something starting with __ and the normal name is an alias. */
39511 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39512 choke me
39513 #endif
39514
39515 int
39516 main ()
39517 {
39518 return pthread_cancel ();
39519 ;
39520 return 0;
39521 }
39522 _ACEOF
39523 rm -f conftest.$ac_objext conftest$ac_exeext
39524 if { (ac_try="$ac_link"
39525 case "(($ac_try" in
39526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39527 *) ac_try_echo=$ac_try;;
39528 esac
39529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39530 (eval "$ac_link") 2>conftest.er1
39531 ac_status=$?
39532 grep -v '^ *+' conftest.er1 >conftest.err
39533 rm -f conftest.er1
39534 cat conftest.err >&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); } && {
39537 test -z "$ac_c_werror_flag" ||
39538 test ! -s conftest.err
39539 } && test -s conftest$ac_exeext &&
39540 $as_test_x conftest$ac_exeext; then
39541 ac_cv_func_pthread_cancel=yes
39542 else
39543 echo "$as_me: failed program was:" >&5
39544 sed 's/^/| /' conftest.$ac_ext >&5
39545
39546 ac_cv_func_pthread_cancel=no
39547 fi
39548
39549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39550 conftest$ac_exeext conftest.$ac_ext
39551 fi
39552 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39553 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39554 if test $ac_cv_func_pthread_cancel = yes; then
39555 cat >>confdefs.h <<\_ACEOF
39556 #define HAVE_PTHREAD_CANCEL 1
39557 _ACEOF
39558
39559 else
39560 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39561 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39562 fi
39563
39564
39565 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39566 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39567 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570 cat >conftest.$ac_ext <<_ACEOF
39571 /* confdefs.h. */
39572 _ACEOF
39573 cat confdefs.h >>conftest.$ac_ext
39574 cat >>conftest.$ac_ext <<_ACEOF
39575 /* end confdefs.h. */
39576 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39578 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39579
39580 /* System header to define __stub macros and hopefully few prototypes,
39581 which can conflict with char pthread_mutex_timedlock (); below.
39582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39583 <limits.h> exists even on freestanding compilers. */
39584
39585 #ifdef __STDC__
39586 # include <limits.h>
39587 #else
39588 # include <assert.h>
39589 #endif
39590
39591 #undef pthread_mutex_timedlock
39592
39593 /* Override any GCC internal prototype to avoid an error.
39594 Use char because int might match the return type of a GCC
39595 builtin and then its argument prototype would still apply. */
39596 #ifdef __cplusplus
39597 extern "C"
39598 #endif
39599 char pthread_mutex_timedlock ();
39600 /* The GNU C library defines this for functions which it implements
39601 to always fail with ENOSYS. Some functions are actually named
39602 something starting with __ and the normal name is an alias. */
39603 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39604 choke me
39605 #endif
39606
39607 int
39608 main ()
39609 {
39610 return pthread_mutex_timedlock ();
39611 ;
39612 return 0;
39613 }
39614 _ACEOF
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39619 *) ac_try_echo=$ac_try;;
39620 esac
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39623 ac_status=$?
39624 grep -v '^ *+' conftest.er1 >conftest.err
39625 rm -f conftest.er1
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest$ac_exeext &&
39632 $as_test_x conftest$ac_exeext; then
39633 ac_cv_func_pthread_mutex_timedlock=yes
39634 else
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39637
39638 ac_cv_func_pthread_mutex_timedlock=no
39639 fi
39640
39641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39642 conftest$ac_exeext conftest.$ac_ext
39643 fi
39644 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39645 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39646 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39647 cat >>confdefs.h <<\_ACEOF
39648 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39649 _ACEOF
39650
39651 else
39652 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39653 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39654 fi
39655
39656
39657 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39658 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39659 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 else
39662 cat >conftest.$ac_ext <<_ACEOF
39663 /* confdefs.h. */
39664 _ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39670 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39671
39672 /* System header to define __stub macros and hopefully few prototypes,
39673 which can conflict with char pthread_attr_setstacksize (); below.
39674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39675 <limits.h> exists even on freestanding compilers. */
39676
39677 #ifdef __STDC__
39678 # include <limits.h>
39679 #else
39680 # include <assert.h>
39681 #endif
39682
39683 #undef pthread_attr_setstacksize
39684
39685 /* Override any GCC internal prototype to avoid an error.
39686 Use char because int might match the return type of a GCC
39687 builtin and then its argument prototype would still apply. */
39688 #ifdef __cplusplus
39689 extern "C"
39690 #endif
39691 char pthread_attr_setstacksize ();
39692 /* The GNU C library defines this for functions which it implements
39693 to always fail with ENOSYS. Some functions are actually named
39694 something starting with __ and the normal name is an alias. */
39695 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39696 choke me
39697 #endif
39698
39699 int
39700 main ()
39701 {
39702 return pthread_attr_setstacksize ();
39703 ;
39704 return 0;
39705 }
39706 _ACEOF
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39711 *) ac_try_echo=$ac_try;;
39712 esac
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39715 ac_status=$?
39716 grep -v '^ *+' conftest.er1 >conftest.err
39717 rm -f conftest.er1
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest$ac_exeext &&
39724 $as_test_x conftest$ac_exeext; then
39725 ac_cv_func_pthread_attr_setstacksize=yes
39726 else
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.$ac_ext >&5
39729
39730 ac_cv_func_pthread_attr_setstacksize=no
39731 fi
39732
39733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39734 conftest$ac_exeext conftest.$ac_ext
39735 fi
39736 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39737 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39738 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39739 cat >>confdefs.h <<\_ACEOF
39740 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39741 _ACEOF
39742
39743 fi
39744
39745
39746
39747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39748 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39749 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39751 else
39752
39753 cat >conftest.$ac_ext <<_ACEOF
39754 /* confdefs.h. */
39755 _ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 #include <pthread.h>
39760 int
39761 main ()
39762 {
39763
39764 pthread_mutexattr_t attr;
39765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39766
39767 ;
39768 return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39776 esac
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39779 ac_status=$?
39780 grep -v '^ *+' conftest.er1 >conftest.err
39781 rm -f conftest.er1
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_c_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_type_pthread_mutexattr_t=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 wx_cv_type_pthread_mutexattr_t=no
39794
39795 fi
39796
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798
39799 fi
39800 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39801 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39802
39803 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define HAVE_PTHREAD_MUTEXATTR_T 1
39806 _ACEOF
39807
39808
39809 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39810 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39811 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39812 echo $ECHO_N "(cached) $ECHO_C" >&6
39813 else
39814
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 #include <pthread.h>
39822 int
39823 main ()
39824 {
39825
39826 pthread_mutexattr_t attr;
39827 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39828
39829 ;
39830 return 0;
39831 }
39832 _ACEOF
39833 rm -f conftest.$ac_objext
39834 if { (ac_try="$ac_compile"
39835 case "(($ac_try" in
39836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39837 *) ac_try_echo=$ac_try;;
39838 esac
39839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39840 (eval "$ac_compile") 2>conftest.er1
39841 ac_status=$?
39842 grep -v '^ *+' conftest.er1 >conftest.err
39843 rm -f conftest.er1
39844 cat conftest.err >&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); } && {
39847 test -z "$ac_c_werror_flag" ||
39848 test ! -s conftest.err
39849 } && test -s conftest.$ac_objext; then
39850 wx_cv_func_pthread_mutexattr_settype_decl=yes
39851 else
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 wx_cv_func_pthread_mutexattr_settype_decl=no
39856
39857 fi
39858
39859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39860
39861 fi
39862 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39863 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39864 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39865 cat >>confdefs.h <<\_ACEOF
39866 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39867 _ACEOF
39868
39869 fi
39870 else
39871 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39872 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39873 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39875 else
39876
39877 cat >conftest.$ac_ext <<_ACEOF
39878 /* confdefs.h. */
39879 _ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 #include <pthread.h>
39884 int
39885 main ()
39886 {
39887
39888 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39889
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (ac_try="$ac_compile"
39896 case "(($ac_try" in
39897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39898 *) ac_try_echo=$ac_try;;
39899 esac
39900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39901 (eval "$ac_compile") 2>conftest.er1
39902 ac_status=$?
39903 grep -v '^ *+' conftest.er1 >conftest.err
39904 rm -f conftest.er1
39905 cat conftest.err >&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } && {
39908 test -z "$ac_c_werror_flag" ||
39909 test ! -s conftest.err
39910 } && test -s conftest.$ac_objext; then
39911
39912 wx_cv_type_pthread_rec_mutex_init=yes
39913
39914 else
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.$ac_ext >&5
39917
39918
39919 wx_cv_type_pthread_rec_mutex_init=no
39920
39921
39922 fi
39923
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925
39926 fi
39927 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39928 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39929 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39932 _ACEOF
39933
39934 else
39935 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39936 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39937 fi
39938 fi
39939 fi
39940
39941 else
39942 if test "$wxUSE_THREADS" = "yes" ; then
39943 case "${host}" in
39944 *-*-mingw32* )
39945 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39946 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39947 if test "${wx_cv_cflags_mthread+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39949 else
39950
39951 CFLAGS_OLD="$CFLAGS"
39952 CFLAGS="-mthreads $CFLAGS"
39953 cat >conftest.$ac_ext <<_ACEOF
39954 /* confdefs.h. */
39955 _ACEOF
39956 cat confdefs.h >>conftest.$ac_ext
39957 cat >>conftest.$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39959
39960 int
39961 main ()
39962 {
39963
39964 ;
39965 return 0;
39966 }
39967 _ACEOF
39968 rm -f conftest.$ac_objext
39969 if { (ac_try="$ac_compile"
39970 case "(($ac_try" in
39971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39972 *) ac_try_echo=$ac_try;;
39973 esac
39974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39975 (eval "$ac_compile") 2>conftest.er1
39976 ac_status=$?
39977 grep -v '^ *+' conftest.er1 >conftest.err
39978 rm -f conftest.er1
39979 cat conftest.err >&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); } && {
39982 test -z "$ac_c_werror_flag" ||
39983 test ! -s conftest.err
39984 } && test -s conftest.$ac_objext; then
39985 wx_cv_cflags_mthread=yes
39986 else
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39989
39990 wx_cv_cflags_mthread=no
39991
39992 fi
39993
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995
39996
39997 fi
39998 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39999 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40000
40001 if test "$wx_cv_cflags_mthread" = "yes"; then
40002 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40003 LDFLAGS="$LDFLAGS -mthreads"
40004 else
40005 CFLAGS="$CFLAGS_OLD"
40006 fi
40007 ;;
40008 *-pc-os2*emx )
40009 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40010 LDFLAGS="$LDFLAGS -Zmt"
40011 ;;
40012 esac
40013 fi
40014 fi
40015
40016 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40017 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40018 if test "${ac_cv_func_localtime_r+set}" = set; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40021 cat >conftest.$ac_ext <<_ACEOF
40022 /* confdefs.h. */
40023 _ACEOF
40024 cat confdefs.h >>conftest.$ac_ext
40025 cat >>conftest.$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40029 #define localtime_r innocuous_localtime_r
40030
40031 /* System header to define __stub macros and hopefully few prototypes,
40032 which can conflict with char localtime_r (); below.
40033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40034 <limits.h> exists even on freestanding compilers. */
40035
40036 #ifdef __STDC__
40037 # include <limits.h>
40038 #else
40039 # include <assert.h>
40040 #endif
40041
40042 #undef localtime_r
40043
40044 /* Override any GCC internal prototype to avoid an error.
40045 Use char because int might match the return type of a GCC
40046 builtin and then its argument prototype would still apply. */
40047 #ifdef __cplusplus
40048 extern "C"
40049 #endif
40050 char localtime_r ();
40051 /* The GNU C library defines this for functions which it implements
40052 to always fail with ENOSYS. Some functions are actually named
40053 something starting with __ and the normal name is an alias. */
40054 #if defined __stub_localtime_r || defined __stub___localtime_r
40055 choke me
40056 #endif
40057
40058 int
40059 main ()
40060 {
40061 return localtime_r ();
40062 ;
40063 return 0;
40064 }
40065 _ACEOF
40066 rm -f conftest.$ac_objext conftest$ac_exeext
40067 if { (ac_try="$ac_link"
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_link") 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_exeext &&
40083 $as_test_x conftest$ac_exeext; then
40084 ac_cv_func_localtime_r=yes
40085 else
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089 ac_cv_func_localtime_r=no
40090 fi
40091
40092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40093 conftest$ac_exeext conftest.$ac_ext
40094 fi
40095 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40096 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40097 if test $ac_cv_func_localtime_r = yes; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_LOCALTIME_R 1
40100 _ACEOF
40101
40102 fi
40103
40104 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40105 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40106 if test "${ac_cv_func_gmtime_r+set}" = set; then
40107 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 else
40109 cat >conftest.$ac_ext <<_ACEOF
40110 /* confdefs.h. */
40111 _ACEOF
40112 cat confdefs.h >>conftest.$ac_ext
40113 cat >>conftest.$ac_ext <<_ACEOF
40114 /* end confdefs.h. */
40115 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40117 #define gmtime_r innocuous_gmtime_r
40118
40119 /* System header to define __stub macros and hopefully few prototypes,
40120 which can conflict with char gmtime_r (); below.
40121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40122 <limits.h> exists even on freestanding compilers. */
40123
40124 #ifdef __STDC__
40125 # include <limits.h>
40126 #else
40127 # include <assert.h>
40128 #endif
40129
40130 #undef gmtime_r
40131
40132 /* Override any GCC internal prototype to avoid an error.
40133 Use char because int might match the return type of a GCC
40134 builtin and then its argument prototype would still apply. */
40135 #ifdef __cplusplus
40136 extern "C"
40137 #endif
40138 char gmtime_r ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40143 choke me
40144 #endif
40145
40146 int
40147 main ()
40148 {
40149 return gmtime_r ();
40150 ;
40151 return 0;
40152 }
40153 _ACEOF
40154 rm -f conftest.$ac_objext conftest$ac_exeext
40155 if { (ac_try="$ac_link"
40156 case "(($ac_try" in
40157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40158 *) ac_try_echo=$ac_try;;
40159 esac
40160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40161 (eval "$ac_link") 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } && {
40168 test -z "$ac_c_werror_flag" ||
40169 test ! -s conftest.err
40170 } && test -s conftest$ac_exeext &&
40171 $as_test_x conftest$ac_exeext; then
40172 ac_cv_func_gmtime_r=yes
40173 else
40174 echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40176
40177 ac_cv_func_gmtime_r=no
40178 fi
40179
40180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40181 conftest$ac_exeext conftest.$ac_ext
40182 fi
40183 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40184 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40185 if test $ac_cv_func_gmtime_r = yes; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define HAVE_GMTIME_R 1
40188 _ACEOF
40189
40190 fi
40191
40192
40193
40194
40195 ac_ext=c
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40200
40201 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40202 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40203
40204 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40205 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 else
40207
40208
40209 ################################################################
40210
40211 ac_cv_func_which_gethostbyname_r=unknown
40212
40213 #
40214 # ONE ARGUMENT (sanity check)
40215 #
40216
40217 # This should fail, as there is no variant of gethostbyname_r() that takes
40218 # a single argument. If it actually compiles, then we can assume that
40219 # netdb.h is not declaring the function, and the compiler is thereby
40220 # assuming an implicit prototype. In which case, we're out of luck.
40221 #
40222 cat >conftest.$ac_ext <<_ACEOF
40223 /* confdefs.h. */
40224 _ACEOF
40225 cat confdefs.h >>conftest.$ac_ext
40226 cat >>conftest.$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 #include <netdb.h>
40229 int
40230 main ()
40231 {
40232
40233 char *name = "www.gnu.org";
40234 (void)gethostbyname_r(name) /* ; */
40235
40236 ;
40237 return 0;
40238 }
40239 _ACEOF
40240 rm -f conftest.$ac_objext
40241 if { (ac_try="$ac_compile"
40242 case "(($ac_try" in
40243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40244 *) ac_try_echo=$ac_try;;
40245 esac
40246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40247 (eval "$ac_compile") 2>conftest.er1
40248 ac_status=$?
40249 grep -v '^ *+' conftest.er1 >conftest.err
40250 rm -f conftest.er1
40251 cat conftest.err >&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); } && {
40254 test -z "$ac_c_werror_flag" ||
40255 test ! -s conftest.err
40256 } && test -s conftest.$ac_objext; then
40257 ac_cv_func_which_gethostbyname_r=no
40258 else
40259 echo "$as_me: failed program was:" >&5
40260 sed 's/^/| /' conftest.$ac_ext >&5
40261
40262
40263 fi
40264
40265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40266
40267 #
40268 # SIX ARGUMENTS
40269 # (e.g. Linux)
40270 #
40271
40272 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40273
40274 cat >conftest.$ac_ext <<_ACEOF
40275 /* confdefs.h. */
40276 _ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 #include <netdb.h>
40281 int
40282 main ()
40283 {
40284
40285 char *name = "www.gnu.org";
40286 struct hostent ret, *retp;
40287 char buf[1024];
40288 int buflen = 1024;
40289 int my_h_errno;
40290 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40291
40292 ;
40293 return 0;
40294 }
40295 _ACEOF
40296 rm -f conftest.$ac_objext
40297 if { (ac_try="$ac_compile"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 *) ac_try_echo=$ac_try;;
40301 esac
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_compile") 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_c_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest.$ac_objext; then
40313 ac_cv_func_which_gethostbyname_r=six
40314 else
40315 echo "$as_me: failed program was:" >&5
40316 sed 's/^/| /' conftest.$ac_ext >&5
40317
40318
40319 fi
40320
40321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40322
40323 fi
40324
40325 #
40326 # FIVE ARGUMENTS
40327 # (e.g. Solaris)
40328 #
40329
40330 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40331
40332 cat >conftest.$ac_ext <<_ACEOF
40333 /* confdefs.h. */
40334 _ACEOF
40335 cat confdefs.h >>conftest.$ac_ext
40336 cat >>conftest.$ac_ext <<_ACEOF
40337 /* end confdefs.h. */
40338 #include <netdb.h>
40339 int
40340 main ()
40341 {
40342
40343 char *name = "www.gnu.org";
40344 struct hostent ret;
40345 char buf[1024];
40346 int buflen = 1024;
40347 int my_h_errno;
40348 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40349
40350 ;
40351 return 0;
40352 }
40353 _ACEOF
40354 rm -f conftest.$ac_objext
40355 if { (ac_try="$ac_compile"
40356 case "(($ac_try" in
40357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40358 *) ac_try_echo=$ac_try;;
40359 esac
40360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40361 (eval "$ac_compile") 2>conftest.er1
40362 ac_status=$?
40363 grep -v '^ *+' conftest.er1 >conftest.err
40364 rm -f conftest.er1
40365 cat conftest.err >&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); } && {
40368 test -z "$ac_c_werror_flag" ||
40369 test ! -s conftest.err
40370 } && test -s conftest.$ac_objext; then
40371 ac_cv_func_which_gethostbyname_r=five
40372 else
40373 echo "$as_me: failed program was:" >&5
40374 sed 's/^/| /' conftest.$ac_ext >&5
40375
40376
40377 fi
40378
40379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40380
40381 fi
40382
40383 #
40384 # THREE ARGUMENTS
40385 # (e.g. AIX, HP-UX, Tru64)
40386 #
40387
40388 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40389
40390 cat >conftest.$ac_ext <<_ACEOF
40391 /* confdefs.h. */
40392 _ACEOF
40393 cat confdefs.h >>conftest.$ac_ext
40394 cat >>conftest.$ac_ext <<_ACEOF
40395 /* end confdefs.h. */
40396 #include <netdb.h>
40397 int
40398 main ()
40399 {
40400
40401 char *name = "www.gnu.org";
40402 struct hostent ret;
40403 struct hostent_data data;
40404 (void)gethostbyname_r(name, &ret, &data) /* ; */
40405
40406 ;
40407 return 0;
40408 }
40409 _ACEOF
40410 rm -f conftest.$ac_objext
40411 if { (ac_try="$ac_compile"
40412 case "(($ac_try" in
40413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40414 *) ac_try_echo=$ac_try;;
40415 esac
40416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40417 (eval "$ac_compile") 2>conftest.er1
40418 ac_status=$?
40419 grep -v '^ *+' conftest.er1 >conftest.err
40420 rm -f conftest.er1
40421 cat conftest.err >&5
40422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40423 (exit $ac_status); } && {
40424 test -z "$ac_c_werror_flag" ||
40425 test ! -s conftest.err
40426 } && test -s conftest.$ac_objext; then
40427 ac_cv_func_which_gethostbyname_r=three
40428 else
40429 echo "$as_me: failed program was:" >&5
40430 sed 's/^/| /' conftest.$ac_ext >&5
40431
40432
40433 fi
40434
40435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40436
40437 fi
40438
40439 ################################################################
40440
40441
40442 fi
40443
40444 case "$ac_cv_func_which_gethostbyname_r" in
40445 three)
40446 { echo "$as_me:$LINENO: result: three" >&5
40447 echo "${ECHO_T}three" >&6; }
40448 cat >>confdefs.h <<\_ACEOF
40449 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40450 _ACEOF
40451
40452 ;;
40453
40454 five)
40455 { echo "$as_me:$LINENO: result: five" >&5
40456 echo "${ECHO_T}five" >&6; }
40457 cat >>confdefs.h <<\_ACEOF
40458 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40459 _ACEOF
40460
40461 ;;
40462
40463 six)
40464 { echo "$as_me:$LINENO: result: six" >&5
40465 echo "${ECHO_T}six" >&6; }
40466 cat >>confdefs.h <<\_ACEOF
40467 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40468 _ACEOF
40469
40470 ;;
40471
40472 no)
40473 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40474 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40475 ;;
40476
40477 unknown)
40478 { echo "$as_me:$LINENO: result: can't tell" >&5
40479 echo "${ECHO_T}can't tell" >&6; }
40480 ;;
40481
40482 *)
40483 { { echo "$as_me:$LINENO: error: internal error" >&5
40484 echo "$as_me: error: internal error" >&2;}
40485 { (exit 1); exit 1; }; }
40486 ;;
40487 esac
40488
40489 ac_ext=c
40490 ac_cpp='$CPP $CPPFLAGS'
40491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40494
40495
40496
40497 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40498 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40499 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40500 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40501 if test "${ac_cv_func_gethostbyname+set}" = set; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504 cat >conftest.$ac_ext <<_ACEOF
40505 /* confdefs.h. */
40506 _ACEOF
40507 cat confdefs.h >>conftest.$ac_ext
40508 cat >>conftest.$ac_ext <<_ACEOF
40509 /* end confdefs.h. */
40510 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40512 #define gethostbyname innocuous_gethostbyname
40513
40514 /* System header to define __stub macros and hopefully few prototypes,
40515 which can conflict with char gethostbyname (); below.
40516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40517 <limits.h> exists even on freestanding compilers. */
40518
40519 #ifdef __STDC__
40520 # include <limits.h>
40521 #else
40522 # include <assert.h>
40523 #endif
40524
40525 #undef gethostbyname
40526
40527 /* Override any GCC internal prototype to avoid an error.
40528 Use char because int might match the return type of a GCC
40529 builtin and then its argument prototype would still apply. */
40530 #ifdef __cplusplus
40531 extern "C"
40532 #endif
40533 char gethostbyname ();
40534 /* The GNU C library defines this for functions which it implements
40535 to always fail with ENOSYS. Some functions are actually named
40536 something starting with __ and the normal name is an alias. */
40537 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40538 choke me
40539 #endif
40540
40541 int
40542 main ()
40543 {
40544 return gethostbyname ();
40545 ;
40546 return 0;
40547 }
40548 _ACEOF
40549 rm -f conftest.$ac_objext conftest$ac_exeext
40550 if { (ac_try="$ac_link"
40551 case "(($ac_try" in
40552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40553 *) ac_try_echo=$ac_try;;
40554 esac
40555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40556 (eval "$ac_link") 2>conftest.er1
40557 ac_status=$?
40558 grep -v '^ *+' conftest.er1 >conftest.err
40559 rm -f conftest.er1
40560 cat conftest.err >&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); } && {
40563 test -z "$ac_c_werror_flag" ||
40564 test ! -s conftest.err
40565 } && test -s conftest$ac_exeext &&
40566 $as_test_x conftest$ac_exeext; then
40567 ac_cv_func_gethostbyname=yes
40568 else
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.$ac_ext >&5
40571
40572 ac_cv_func_gethostbyname=no
40573 fi
40574
40575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40576 conftest$ac_exeext conftest.$ac_ext
40577 fi
40578 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40579 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40580 if test $ac_cv_func_gethostbyname = yes; then
40581 cat >>confdefs.h <<\_ACEOF
40582 #define HAVE_GETHOSTBYNAME 1
40583 _ACEOF
40584
40585 fi
40586
40587 fi
40588
40589 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40590 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40591 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 else
40594
40595 ac_ext=cpp
40596 ac_cpp='$CXXCPP $CPPFLAGS'
40597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40600
40601
40602 cat >conftest.$ac_ext <<_ACEOF
40603 /* confdefs.h. */
40604 _ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40608 #include <netdb.h>
40609 int
40610 main ()
40611 {
40612
40613 char *name;
40614 char *proto;
40615 struct servent *se, *res;
40616 char buffer[2048];
40617 int buflen = 2048;
40618 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40619
40620 ;
40621 return 0;
40622 }
40623 _ACEOF
40624 rm -f conftest.$ac_objext
40625 if { (ac_try="$ac_compile"
40626 case "(($ac_try" in
40627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40628 *) ac_try_echo=$ac_try;;
40629 esac
40630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40631 (eval "$ac_compile") 2>conftest.er1
40632 ac_status=$?
40633 grep -v '^ *+' conftest.er1 >conftest.err
40634 rm -f conftest.er1
40635 cat conftest.err >&5
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); } && {
40638 test -z "$ac_cxx_werror_flag" ||
40639 test ! -s conftest.err
40640 } && test -s conftest.$ac_objext; then
40641 ac_cv_func_which_getservbyname_r=six
40642 else
40643 echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.$ac_ext >&5
40645
40646
40647 cat >conftest.$ac_ext <<_ACEOF
40648 /* confdefs.h. */
40649 _ACEOF
40650 cat confdefs.h >>conftest.$ac_ext
40651 cat >>conftest.$ac_ext <<_ACEOF
40652 /* end confdefs.h. */
40653 #include <netdb.h>
40654 int
40655 main ()
40656 {
40657
40658 char *name;
40659 char *proto;
40660 struct servent *se;
40661 char buffer[2048];
40662 int buflen = 2048;
40663 (void) getservbyname_r(name, proto, se, buffer, buflen)
40664
40665 ;
40666 return 0;
40667 }
40668 _ACEOF
40669 rm -f conftest.$ac_objext
40670 if { (ac_try="$ac_compile"
40671 case "(($ac_try" in
40672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40673 *) ac_try_echo=$ac_try;;
40674 esac
40675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40676 (eval "$ac_compile") 2>conftest.er1
40677 ac_status=$?
40678 grep -v '^ *+' conftest.er1 >conftest.err
40679 rm -f conftest.er1
40680 cat conftest.err >&5
40681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682 (exit $ac_status); } && {
40683 test -z "$ac_cxx_werror_flag" ||
40684 test ! -s conftest.err
40685 } && test -s conftest.$ac_objext; then
40686 ac_cv_func_which_getservbyname_r=five
40687 else
40688 echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40690
40691
40692 cat >conftest.$ac_ext <<_ACEOF
40693 /* confdefs.h. */
40694 _ACEOF
40695 cat confdefs.h >>conftest.$ac_ext
40696 cat >>conftest.$ac_ext <<_ACEOF
40697 /* end confdefs.h. */
40698 #include <netdb.h>
40699 int
40700 main ()
40701 {
40702
40703 char *name;
40704 char *proto;
40705 struct servent *se;
40706 struct servent_data data;
40707 (void) getservbyname_r(name, proto, se, &data);
40708
40709 ;
40710 return 0;
40711 }
40712 _ACEOF
40713 rm -f conftest.$ac_objext
40714 if { (ac_try="$ac_compile"
40715 case "(($ac_try" in
40716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40717 *) ac_try_echo=$ac_try;;
40718 esac
40719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40720 (eval "$ac_compile") 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } && {
40727 test -z "$ac_cxx_werror_flag" ||
40728 test ! -s conftest.err
40729 } && test -s conftest.$ac_objext; then
40730 ac_cv_func_which_getservbyname_r=four
40731 else
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.$ac_ext >&5
40734
40735 ac_cv_func_which_getservbyname_r=no
40736
40737 fi
40738
40739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40740
40741
40742 fi
40743
40744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745
40746
40747 fi
40748
40749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40750 ac_ext=c
40751 ac_cpp='$CPP $CPPFLAGS'
40752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40755
40756
40757
40758 fi
40759 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40760 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40761
40762 if test $ac_cv_func_which_getservbyname_r = six; then
40763 cat >>confdefs.h <<\_ACEOF
40764 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40765 _ACEOF
40766
40767 elif test $ac_cv_func_which_getservbyname_r = five; then
40768 cat >>confdefs.h <<\_ACEOF
40769 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40770 _ACEOF
40771
40772 elif test $ac_cv_func_which_getservbyname_r = four; then
40773 cat >>confdefs.h <<\_ACEOF
40774 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40775 _ACEOF
40776
40777 fi
40778
40779
40780 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40781 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40782
40783 for ac_func in getservbyname
40784 do
40785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 else
40791 cat >conftest.$ac_ext <<_ACEOF
40792 /* confdefs.h. */
40793 _ACEOF
40794 cat confdefs.h >>conftest.$ac_ext
40795 cat >>conftest.$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40799 #define $ac_func innocuous_$ac_func
40800
40801 /* System header to define __stub macros and hopefully few prototypes,
40802 which can conflict with char $ac_func (); below.
40803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40804 <limits.h> exists even on freestanding compilers. */
40805
40806 #ifdef __STDC__
40807 # include <limits.h>
40808 #else
40809 # include <assert.h>
40810 #endif
40811
40812 #undef $ac_func
40813
40814 /* Override any GCC internal prototype to avoid an error.
40815 Use char because int might match the return type of a GCC
40816 builtin and then its argument prototype would still apply. */
40817 #ifdef __cplusplus
40818 extern "C"
40819 #endif
40820 char $ac_func ();
40821 /* The GNU C library defines this for functions which it implements
40822 to always fail with ENOSYS. Some functions are actually named
40823 something starting with __ and the normal name is an alias. */
40824 #if defined __stub_$ac_func || defined __stub___$ac_func
40825 choke me
40826 #endif
40827
40828 int
40829 main ()
40830 {
40831 return $ac_func ();
40832 ;
40833 return 0;
40834 }
40835 _ACEOF
40836 rm -f conftest.$ac_objext conftest$ac_exeext
40837 if { (ac_try="$ac_link"
40838 case "(($ac_try" in
40839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40840 *) ac_try_echo=$ac_try;;
40841 esac
40842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40843 (eval "$ac_link") 2>conftest.er1
40844 ac_status=$?
40845 grep -v '^ *+' conftest.er1 >conftest.err
40846 rm -f conftest.er1
40847 cat conftest.err >&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); } && {
40850 test -z "$ac_c_werror_flag" ||
40851 test ! -s conftest.err
40852 } && test -s conftest$ac_exeext &&
40853 $as_test_x conftest$ac_exeext; then
40854 eval "$as_ac_var=yes"
40855 else
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40858
40859 eval "$as_ac_var=no"
40860 fi
40861
40862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40863 conftest$ac_exeext conftest.$ac_ext
40864 fi
40865 ac_res=`eval echo '${'$as_ac_var'}'`
40866 { echo "$as_me:$LINENO: result: $ac_res" >&5
40867 echo "${ECHO_T}$ac_res" >&6; }
40868 if test `eval echo '${'$as_ac_var'}'` = yes; then
40869 cat >>confdefs.h <<_ACEOF
40870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40871 _ACEOF
40872 cat >>confdefs.h <<\_ACEOF
40873 #define HAVE_GETSERVBYNAME 1
40874 _ACEOF
40875
40876 fi
40877 done
40878
40879 fi
40880
40881 if test "$wxUSE_THREADS" = "yes"; then
40882 cat >>confdefs.h <<\_ACEOF
40883 #define wxUSE_THREADS 1
40884 _ACEOF
40885
40886
40887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40888 else
40889 if test "$wx_cv_func_strtok_r" = "yes"; then
40890 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40891 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40892 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40893 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40894 { echo "$as_me:$LINENO: result: yes" >&5
40895 echo "${ECHO_T}yes" >&6; }
40896 else
40897 { echo "$as_me:$LINENO: result: no" >&5
40898 echo "${ECHO_T}no" >&6; }
40899 fi
40900 fi
40901 fi
40902
40903 if test "$WXGTK2" = 1 ; then
40904 cat >>confdefs.h <<_ACEOF
40905 #define __WXGTK20__ $WXGTK2
40906 _ACEOF
40907
40908 WXGTK12=1
40909 fi
40910
40911 if test "$WXGTK12" = 1 ; then
40912 cat >>confdefs.h <<_ACEOF
40913 #define __WXGTK12__ $WXGTK12
40914 _ACEOF
40915
40916 fi
40917
40918 if test "$WXGTK127" = 1 ; then
40919 cat >>confdefs.h <<_ACEOF
40920 #define __WXGTK127__ $WXGTK127
40921 _ACEOF
40922
40923 fi
40924
40925 if test "$WXGPE" = 1 ; then
40926 cat >>confdefs.h <<_ACEOF
40927 #define __WXGPE__ $WXGPE
40928 _ACEOF
40929
40930 fi
40931
40932 DEBUG_CFLAGS=
40933 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40934 DEBUG_CFLAGS="-g"
40935 wxUSE_OPTIMISE=no
40936 fi
40937
40938 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40939 wxUSE_DEBUG_INFO=yes
40940 if test "$GCC" = yes; then
40941 DEBUG_CFLAGS="-ggdb"
40942 fi
40943 fi
40944
40945 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40946 cat >>confdefs.h <<\_ACEOF
40947 #define WXDEBUG 1
40948 _ACEOF
40949
40950 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40951 else
40952 if test "$wxUSE_GTK" = 1 ; then
40953 if test "x$wxGTK_VERSION" = "x1" ; then
40954 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40955 fi
40956 fi
40957 fi
40958
40959 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40960 cat >>confdefs.h <<\_ACEOF
40961 #define wxUSE_MEMORY_TRACING 1
40962 _ACEOF
40963
40964 cat >>confdefs.h <<\_ACEOF
40965 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40966 _ACEOF
40967
40968 cat >>confdefs.h <<\_ACEOF
40969 #define wxUSE_DEBUG_NEW_ALWAYS 1
40970 _ACEOF
40971
40972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40973 fi
40974
40975 if test "$wxUSE_DMALLOC" = "yes" ; then
40976 DMALLOC_LIBS="-ldmallocthcxx"
40977 fi
40978
40979 PROFILE_FLAGS=
40980 if test "$wxUSE_PROFILE" = "yes" ; then
40981 PROFILE_FLAGS=" -pg"
40982 fi
40983
40984 if test "$GCC" = "yes" ; then
40985 if test "$wxUSE_NO_RTTI" = "yes" ; then
40986 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40987 fi
40988 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40989 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40990 fi
40991 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40992 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40993 fi
40994
40995 case "${host}" in
40996 powerpc*-*-aix* )
40997 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40998 ;;
40999 *-hppa* )
41000 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41001 ;;
41002 esac
41003 fi
41004
41005 OPTIMISE_CFLAGS=
41006 if test "$wxUSE_OPTIMISE" = "no" ; then
41007 if test "$GCC" = yes ; then
41008 OPTIMISE_CFLAGS="-O0"
41009 fi
41010 else
41011 if test "$GCC" = yes ; then
41012 case "${host}" in
41013 *-pc-os2_emx | *-pc-os2-emx )
41014 OPTIMISE_CFLAGS="-O2"
41015 ;;
41016 *)
41017 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41018 ;;
41019 esac
41020 else
41021 OPTIMISE_CFLAGS="-O"
41022 fi
41023 fi
41024
41025
41026 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41027 cat >>confdefs.h <<\_ACEOF
41028 #define WXWIN_COMPATIBILITY_2_6 1
41029 _ACEOF
41030
41031
41032 WXWIN_COMPATIBILITY_2_8="yes"
41033 fi
41034
41035 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41036 cat >>confdefs.h <<\_ACEOF
41037 #define WXWIN_COMPATIBILITY_2_8 1
41038 _ACEOF
41039
41040 fi
41041
41042
41043 if test "$wxUSE_GUI" = "yes"; then
41044 cat >>confdefs.h <<\_ACEOF
41045 #define wxUSE_GUI 1
41046 _ACEOF
41047
41048
41049 fi
41050
41051
41052 if test "$wxUSE_UNIX" = "yes"; then
41053 cat >>confdefs.h <<\_ACEOF
41054 #define wxUSE_UNIX 1
41055 _ACEOF
41056
41057 fi
41058
41059
41060 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41061
41062 HAVE_DL_FUNCS=0
41063 HAVE_SHL_FUNCS=0
41064 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41065 if test "$USE_DOS" = 1; then
41066 HAVE_DL_FUNCS=0
41067 else
41068
41069 for ac_func in dlopen
41070 do
41071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41075 echo $ECHO_N "(cached) $ECHO_C" >&6
41076 else
41077 cat >conftest.$ac_ext <<_ACEOF
41078 /* confdefs.h. */
41079 _ACEOF
41080 cat confdefs.h >>conftest.$ac_ext
41081 cat >>conftest.$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41085 #define $ac_func innocuous_$ac_func
41086
41087 /* System header to define __stub macros and hopefully few prototypes,
41088 which can conflict with char $ac_func (); below.
41089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41090 <limits.h> exists even on freestanding compilers. */
41091
41092 #ifdef __STDC__
41093 # include <limits.h>
41094 #else
41095 # include <assert.h>
41096 #endif
41097
41098 #undef $ac_func
41099
41100 /* Override any GCC internal prototype to avoid an error.
41101 Use char because int might match the return type of a GCC
41102 builtin and then its argument prototype would still apply. */
41103 #ifdef __cplusplus
41104 extern "C"
41105 #endif
41106 char $ac_func ();
41107 /* The GNU C library defines this for functions which it implements
41108 to always fail with ENOSYS. Some functions are actually named
41109 something starting with __ and the normal name is an alias. */
41110 #if defined __stub_$ac_func || defined __stub___$ac_func
41111 choke me
41112 #endif
41113
41114 int
41115 main ()
41116 {
41117 return $ac_func ();
41118 ;
41119 return 0;
41120 }
41121 _ACEOF
41122 rm -f conftest.$ac_objext conftest$ac_exeext
41123 if { (ac_try="$ac_link"
41124 case "(($ac_try" in
41125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41126 *) ac_try_echo=$ac_try;;
41127 esac
41128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41129 (eval "$ac_link") 2>conftest.er1
41130 ac_status=$?
41131 grep -v '^ *+' conftest.er1 >conftest.err
41132 rm -f conftest.er1
41133 cat conftest.err >&5
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); } && {
41136 test -z "$ac_c_werror_flag" ||
41137 test ! -s conftest.err
41138 } && test -s conftest$ac_exeext &&
41139 $as_test_x conftest$ac_exeext; then
41140 eval "$as_ac_var=yes"
41141 else
41142 echo "$as_me: failed program was:" >&5
41143 sed 's/^/| /' conftest.$ac_ext >&5
41144
41145 eval "$as_ac_var=no"
41146 fi
41147
41148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41149 conftest$ac_exeext conftest.$ac_ext
41150 fi
41151 ac_res=`eval echo '${'$as_ac_var'}'`
41152 { echo "$as_me:$LINENO: result: $ac_res" >&5
41153 echo "${ECHO_T}$ac_res" >&6; }
41154 if test `eval echo '${'$as_ac_var'}'` = yes; then
41155 cat >>confdefs.h <<_ACEOF
41156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41157 _ACEOF
41158
41159 cat >>confdefs.h <<\_ACEOF
41160 #define HAVE_DLOPEN 1
41161 _ACEOF
41162
41163 HAVE_DL_FUNCS=1
41164
41165 else
41166
41167 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41170 echo $ECHO_N "(cached) $ECHO_C" >&6
41171 else
41172 ac_check_lib_save_LIBS=$LIBS
41173 LIBS="-ldl $LIBS"
41174 cat >conftest.$ac_ext <<_ACEOF
41175 /* confdefs.h. */
41176 _ACEOF
41177 cat confdefs.h >>conftest.$ac_ext
41178 cat >>conftest.$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180
41181 /* Override any GCC internal prototype to avoid an error.
41182 Use char because int might match the return type of a GCC
41183 builtin and then its argument prototype would still apply. */
41184 #ifdef __cplusplus
41185 extern "C"
41186 #endif
41187 char dlopen ();
41188 int
41189 main ()
41190 {
41191 return dlopen ();
41192 ;
41193 return 0;
41194 }
41195 _ACEOF
41196 rm -f conftest.$ac_objext conftest$ac_exeext
41197 if { (ac_try="$ac_link"
41198 case "(($ac_try" in
41199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41200 *) ac_try_echo=$ac_try;;
41201 esac
41202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41203 (eval "$ac_link") 2>conftest.er1
41204 ac_status=$?
41205 grep -v '^ *+' conftest.er1 >conftest.err
41206 rm -f conftest.er1
41207 cat conftest.err >&5
41208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41209 (exit $ac_status); } && {
41210 test -z "$ac_c_werror_flag" ||
41211 test ! -s conftest.err
41212 } && test -s conftest$ac_exeext &&
41213 $as_test_x conftest$ac_exeext; then
41214 ac_cv_lib_dl_dlopen=yes
41215 else
41216 echo "$as_me: failed program was:" >&5
41217 sed 's/^/| /' conftest.$ac_ext >&5
41218
41219 ac_cv_lib_dl_dlopen=no
41220 fi
41221
41222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41223 conftest$ac_exeext conftest.$ac_ext
41224 LIBS=$ac_check_lib_save_LIBS
41225 fi
41226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41227 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41228 if test $ac_cv_lib_dl_dlopen = yes; then
41229
41230 cat >>confdefs.h <<\_ACEOF
41231 #define HAVE_DLOPEN 1
41232 _ACEOF
41233
41234 HAVE_DL_FUNCS=1
41235 DL_LINK=" -ldl$DL_LINK"
41236
41237 else
41238
41239
41240 for ac_func in shl_load
41241 do
41242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41256 #define $ac_func innocuous_$ac_func
41257
41258 /* System header to define __stub macros and hopefully few prototypes,
41259 which can conflict with char $ac_func (); below.
41260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41261 <limits.h> exists even on freestanding compilers. */
41262
41263 #ifdef __STDC__
41264 # include <limits.h>
41265 #else
41266 # include <assert.h>
41267 #endif
41268
41269 #undef $ac_func
41270
41271 /* Override any GCC internal prototype to avoid an error.
41272 Use char because int might match the return type of a GCC
41273 builtin and then its argument prototype would still apply. */
41274 #ifdef __cplusplus
41275 extern "C"
41276 #endif
41277 char $ac_func ();
41278 /* The GNU C library defines this for functions which it implements
41279 to always fail with ENOSYS. Some functions are actually named
41280 something starting with __ and the normal name is an alias. */
41281 #if defined __stub_$ac_func || defined __stub___$ac_func
41282 choke me
41283 #endif
41284
41285 int
41286 main ()
41287 {
41288 return $ac_func ();
41289 ;
41290 return 0;
41291 }
41292 _ACEOF
41293 rm -f conftest.$ac_objext conftest$ac_exeext
41294 if { (ac_try="$ac_link"
41295 case "(($ac_try" in
41296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41297 *) ac_try_echo=$ac_try;;
41298 esac
41299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41300 (eval "$ac_link") 2>conftest.er1
41301 ac_status=$?
41302 grep -v '^ *+' conftest.er1 >conftest.err
41303 rm -f conftest.er1
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } && {
41307 test -z "$ac_c_werror_flag" ||
41308 test ! -s conftest.err
41309 } && test -s conftest$ac_exeext &&
41310 $as_test_x conftest$ac_exeext; then
41311 eval "$as_ac_var=yes"
41312 else
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41315
41316 eval "$as_ac_var=no"
41317 fi
41318
41319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41320 conftest$ac_exeext conftest.$ac_ext
41321 fi
41322 ac_res=`eval echo '${'$as_ac_var'}'`
41323 { echo "$as_me:$LINENO: result: $ac_res" >&5
41324 echo "${ECHO_T}$ac_res" >&6; }
41325 if test `eval echo '${'$as_ac_var'}'` = yes; then
41326 cat >>confdefs.h <<_ACEOF
41327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41328 _ACEOF
41329
41330 cat >>confdefs.h <<\_ACEOF
41331 #define HAVE_SHL_LOAD 1
41332 _ACEOF
41333
41334 HAVE_SHL_FUNCS=1
41335
41336 else
41337
41338 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41339 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41340 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 else
41343 ac_check_lib_save_LIBS=$LIBS
41344 LIBS="-lshl_load $LIBS"
41345 cat >conftest.$ac_ext <<_ACEOF
41346 /* confdefs.h. */
41347 _ACEOF
41348 cat confdefs.h >>conftest.$ac_ext
41349 cat >>conftest.$ac_ext <<_ACEOF
41350 /* end confdefs.h. */
41351
41352 /* Override any GCC internal prototype to avoid an error.
41353 Use char because int might match the return type of a GCC
41354 builtin and then its argument prototype would still apply. */
41355 #ifdef __cplusplus
41356 extern "C"
41357 #endif
41358 char dld ();
41359 int
41360 main ()
41361 {
41362 return dld ();
41363 ;
41364 return 0;
41365 }
41366 _ACEOF
41367 rm -f conftest.$ac_objext conftest$ac_exeext
41368 if { (ac_try="$ac_link"
41369 case "(($ac_try" in
41370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41371 *) ac_try_echo=$ac_try;;
41372 esac
41373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41374 (eval "$ac_link") 2>conftest.er1
41375 ac_status=$?
41376 grep -v '^ *+' conftest.er1 >conftest.err
41377 rm -f conftest.er1
41378 cat conftest.err >&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); } && {
41381 test -z "$ac_c_werror_flag" ||
41382 test ! -s conftest.err
41383 } && test -s conftest$ac_exeext &&
41384 $as_test_x conftest$ac_exeext; then
41385 ac_cv_lib_shl_load_dld=yes
41386 else
41387 echo "$as_me: failed program was:" >&5
41388 sed 's/^/| /' conftest.$ac_ext >&5
41389
41390 ac_cv_lib_shl_load_dld=no
41391 fi
41392
41393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41394 conftest$ac_exeext conftest.$ac_ext
41395 LIBS=$ac_check_lib_save_LIBS
41396 fi
41397 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41398 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41399 if test $ac_cv_lib_shl_load_dld = yes; then
41400
41401 HAVE_SHL_FUNCS=1
41402 DL_LINK=" -ldld$DL_LINK"
41403
41404 fi
41405
41406
41407 fi
41408 done
41409
41410
41411 fi
41412
41413
41414 fi
41415 done
41416
41417
41418 if test "$HAVE_DL_FUNCS" = 1; then
41419
41420 for ac_func in dlerror
41421 do
41422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41425 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41426 echo $ECHO_N "(cached) $ECHO_C" >&6
41427 else
41428 cat >conftest.$ac_ext <<_ACEOF
41429 /* confdefs.h. */
41430 _ACEOF
41431 cat confdefs.h >>conftest.$ac_ext
41432 cat >>conftest.$ac_ext <<_ACEOF
41433 /* end confdefs.h. */
41434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41436 #define $ac_func innocuous_$ac_func
41437
41438 /* System header to define __stub macros and hopefully few prototypes,
41439 which can conflict with char $ac_func (); below.
41440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41441 <limits.h> exists even on freestanding compilers. */
41442
41443 #ifdef __STDC__
41444 # include <limits.h>
41445 #else
41446 # include <assert.h>
41447 #endif
41448
41449 #undef $ac_func
41450
41451 /* Override any GCC internal prototype to avoid an error.
41452 Use char because int might match the return type of a GCC
41453 builtin and then its argument prototype would still apply. */
41454 #ifdef __cplusplus
41455 extern "C"
41456 #endif
41457 char $ac_func ();
41458 /* The GNU C library defines this for functions which it implements
41459 to always fail with ENOSYS. Some functions are actually named
41460 something starting with __ and the normal name is an alias. */
41461 #if defined __stub_$ac_func || defined __stub___$ac_func
41462 choke me
41463 #endif
41464
41465 int
41466 main ()
41467 {
41468 return $ac_func ();
41469 ;
41470 return 0;
41471 }
41472 _ACEOF
41473 rm -f conftest.$ac_objext conftest$ac_exeext
41474 if { (ac_try="$ac_link"
41475 case "(($ac_try" in
41476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41477 *) ac_try_echo=$ac_try;;
41478 esac
41479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41480 (eval "$ac_link") 2>conftest.er1
41481 ac_status=$?
41482 grep -v '^ *+' conftest.er1 >conftest.err
41483 rm -f conftest.er1
41484 cat conftest.err >&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); } && {
41487 test -z "$ac_c_werror_flag" ||
41488 test ! -s conftest.err
41489 } && test -s conftest$ac_exeext &&
41490 $as_test_x conftest$ac_exeext; then
41491 eval "$as_ac_var=yes"
41492 else
41493 echo "$as_me: failed program was:" >&5
41494 sed 's/^/| /' conftest.$ac_ext >&5
41495
41496 eval "$as_ac_var=no"
41497 fi
41498
41499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41500 conftest$ac_exeext conftest.$ac_ext
41501 fi
41502 ac_res=`eval echo '${'$as_ac_var'}'`
41503 { echo "$as_me:$LINENO: result: $ac_res" >&5
41504 echo "${ECHO_T}$ac_res" >&6; }
41505 if test `eval echo '${'$as_ac_var'}'` = yes; then
41506 cat >>confdefs.h <<_ACEOF
41507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41508 _ACEOF
41509 cat >>confdefs.h <<\_ACEOF
41510 #define HAVE_DLERROR 1
41511 _ACEOF
41512
41513 else
41514
41515 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41516 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41517 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41518 echo $ECHO_N "(cached) $ECHO_C" >&6
41519 else
41520 ac_check_lib_save_LIBS=$LIBS
41521 LIBS="-ldl $LIBS"
41522 cat >conftest.$ac_ext <<_ACEOF
41523 /* confdefs.h. */
41524 _ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41528
41529 /* Override any GCC internal prototype to avoid an error.
41530 Use char because int might match the return type of a GCC
41531 builtin and then its argument prototype would still apply. */
41532 #ifdef __cplusplus
41533 extern "C"
41534 #endif
41535 char dlerror ();
41536 int
41537 main ()
41538 {
41539 return dlerror ();
41540 ;
41541 return 0;
41542 }
41543 _ACEOF
41544 rm -f conftest.$ac_objext conftest$ac_exeext
41545 if { (ac_try="$ac_link"
41546 case "(($ac_try" in
41547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41548 *) ac_try_echo=$ac_try;;
41549 esac
41550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41551 (eval "$ac_link") 2>conftest.er1
41552 ac_status=$?
41553 grep -v '^ *+' conftest.er1 >conftest.err
41554 rm -f conftest.er1
41555 cat conftest.err >&5
41556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41557 (exit $ac_status); } && {
41558 test -z "$ac_c_werror_flag" ||
41559 test ! -s conftest.err
41560 } && test -s conftest$ac_exeext &&
41561 $as_test_x conftest$ac_exeext; then
41562 ac_cv_lib_dl_dlerror=yes
41563 else
41564 echo "$as_me: failed program was:" >&5
41565 sed 's/^/| /' conftest.$ac_ext >&5
41566
41567 ac_cv_lib_dl_dlerror=no
41568 fi
41569
41570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41571 conftest$ac_exeext conftest.$ac_ext
41572 LIBS=$ac_check_lib_save_LIBS
41573 fi
41574 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41575 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41576 if test $ac_cv_lib_dl_dlerror = yes; then
41577 cat >>confdefs.h <<\_ACEOF
41578 #define HAVE_DLERROR 1
41579 _ACEOF
41580
41581 fi
41582
41583
41584
41585 fi
41586 done
41587
41588 fi
41589 fi
41590
41591 if test "$USE_DARWIN" = 1; then
41592 HAVE_DL_FUNCS=1
41593 fi
41594
41595 if test "$HAVE_DL_FUNCS" = 0; then
41596 if test "$HAVE_SHL_FUNCS" = 0; then
41597 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41598 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41599 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41600 wxUSE_DYNAMIC_LOADER=no
41601 wxUSE_DYNLIB_CLASS=no
41602 else
41603 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41604 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41605 fi
41606 fi
41607 fi
41608 fi
41609 fi
41610
41611 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41612 cat >>confdefs.h <<\_ACEOF
41613 #define wxUSE_DYNAMIC_LOADER 1
41614 _ACEOF
41615
41616 fi
41617 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41618 cat >>confdefs.h <<\_ACEOF
41619 #define wxUSE_DYNLIB_CLASS 1
41620 _ACEOF
41621
41622 fi
41623
41624
41625
41626 if test "$wxUSE_PLUGINS" = "yes" ; then
41627 if test "$wxUSE_SHARED" = "no" ; then
41628 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41629 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41630 wxUSE_PLUGINS=no
41631 fi
41632 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41633 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41634 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41635 wxUSE_PLUGINS=no
41636 fi
41637 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41638 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41639 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41640 wxUSE_PLUGINS=no
41641 fi
41642 if test "$wxUSE_PLUGINS" = "yes" ; then
41643 cat >>confdefs.h <<\_ACEOF
41644 #define wxUSE_PLUGINS 1
41645 _ACEOF
41646
41647 fi
41648 fi
41649
41650
41651 if test "$wxUSE_STL" = "yes"; then
41652 cat >>confdefs.h <<\_ACEOF
41653 #define wxUSE_STL 1
41654 _ACEOF
41655
41656 fi
41657
41658 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41659 cat >>confdefs.h <<\_ACEOF
41660 #define wxUSE_EXTENDED_RTTI 1
41661 _ACEOF
41662
41663 fi
41664
41665 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41666 cat >>confdefs.h <<\_ACEOF
41667 #define wxUSE_APPLE_IEEE 1
41668 _ACEOF
41669
41670 fi
41671
41672 if test "$wxUSE_TIMER" = "yes"; then
41673 cat >>confdefs.h <<\_ACEOF
41674 #define wxUSE_TIMER 1
41675 _ACEOF
41676
41677 fi
41678
41679 if test "$USE_UNIX" = 1 ; then
41680 if test "$wxUSE_MGL" != 1; then
41681 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41682 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41683 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686
41687 cat >conftest.$ac_ext <<_ACEOF
41688 /* confdefs.h. */
41689 _ACEOF
41690 cat confdefs.h >>conftest.$ac_ext
41691 cat >>conftest.$ac_ext <<_ACEOF
41692 /* end confdefs.h. */
41693
41694 #include <sys/ioctl.h>
41695 #include <sys/soundcard.h>
41696
41697 int
41698 main ()
41699 {
41700
41701 ioctl(0, SNDCTL_DSP_SPEED, 0);
41702
41703 ;
41704 return 0;
41705 }
41706 _ACEOF
41707 rm -f conftest.$ac_objext conftest$ac_exeext
41708 if { (ac_try="$ac_link"
41709 case "(($ac_try" in
41710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41711 *) ac_try_echo=$ac_try;;
41712 esac
41713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41714 (eval "$ac_link") 2>conftest.er1
41715 ac_status=$?
41716 grep -v '^ *+' conftest.er1 >conftest.err
41717 rm -f conftest.er1
41718 cat conftest.err >&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); } && {
41721 test -z "$ac_c_werror_flag" ||
41722 test ! -s conftest.err
41723 } && test -s conftest$ac_exeext &&
41724 $as_test_x conftest$ac_exeext; then
41725 ac_cv_header_sys_soundcard=yes
41726 else
41727 echo "$as_me: failed program was:" >&5
41728 sed 's/^/| /' conftest.$ac_ext >&5
41729
41730
41731 saveLibs="$LIBS"
41732 LIBS="$saveLibs -lossaudio"
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739
41740 #include <sys/ioctl.h>
41741 #include <sys/soundcard.h>
41742
41743 int
41744 main ()
41745 {
41746
41747 ioctl(0, SNDCTL_DSP_SPEED, 0);
41748
41749 ;
41750 return 0;
41751 }
41752 _ACEOF
41753 rm -f conftest.$ac_objext conftest$ac_exeext
41754 if { (ac_try="$ac_link"
41755 case "(($ac_try" in
41756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41757 *) ac_try_echo=$ac_try;;
41758 esac
41759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41760 (eval "$ac_link") 2>conftest.er1
41761 ac_status=$?
41762 grep -v '^ *+' conftest.er1 >conftest.err
41763 rm -f conftest.er1
41764 cat conftest.err >&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); } && {
41767 test -z "$ac_c_werror_flag" ||
41768 test ! -s conftest.err
41769 } && test -s conftest$ac_exeext &&
41770 $as_test_x conftest$ac_exeext; then
41771 ac_cv_header_sys_soundcard=yes
41772 else
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776
41777 LIBS="$saveLibs"
41778 ac_cv_header_sys_soundcard=no
41779
41780
41781 fi
41782
41783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41784 conftest$ac_exeext conftest.$ac_ext
41785
41786
41787 fi
41788
41789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41790 conftest$ac_exeext conftest.$ac_ext
41791
41792 fi
41793 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41794 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41795 fi
41796
41797 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41798 cat >>confdefs.h <<\_ACEOF
41799 #define HAVE_SYS_SOUNDCARD_H 1
41800 _ACEOF
41801
41802 fi
41803 fi
41804
41805 WITH_PLUGIN_SDL=0
41806 if test "$wxUSE_SOUND" = "yes"; then
41807 if test "$USE_UNIX" = 1 ; then
41808 if test "$wxUSE_LIBSDL" != "no"; then
41809
41810 # Check whether --with-sdl-prefix was given.
41811 if test "${with_sdl_prefix+set}" = set; then
41812 withval=$with_sdl_prefix; sdl_prefix="$withval"
41813 else
41814 sdl_prefix=""
41815 fi
41816
41817
41818 # Check whether --with-sdl-exec-prefix was given.
41819 if test "${with_sdl_exec_prefix+set}" = set; then
41820 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41821 else
41822 sdl_exec_prefix=""
41823 fi
41824
41825 # Check whether --enable-sdltest was given.
41826 if test "${enable_sdltest+set}" = set; then
41827 enableval=$enable_sdltest;
41828 else
41829 enable_sdltest=yes
41830 fi
41831
41832
41833 if test x$sdl_exec_prefix != x ; then
41834 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41835 if test x${SDL_CONFIG+set} != xset ; then
41836 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41837 fi
41838 fi
41839 if test x$sdl_prefix != x ; then
41840 sdl_args="$sdl_args --prefix=$sdl_prefix"
41841 if test x${SDL_CONFIG+set} != xset ; then
41842 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41843 fi
41844 fi
41845
41846 if test "x$prefix" != xNONE; then
41847 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41848 fi
41849 # Extract the first word of "sdl-config", so it can be a program name with args.
41850 set dummy sdl-config; ac_word=$2
41851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41853 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41854 echo $ECHO_N "(cached) $ECHO_C" >&6
41855 else
41856 case $SDL_CONFIG in
41857 [\\/]* | ?:[\\/]*)
41858 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41859 ;;
41860 *)
41861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41862 for as_dir in $PATH
41863 do
41864 IFS=$as_save_IFS
41865 test -z "$as_dir" && as_dir=.
41866 for ac_exec_ext in '' $ac_executable_extensions; do
41867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41868 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41870 break 2
41871 fi
41872 done
41873 done
41874 IFS=$as_save_IFS
41875
41876 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41877 ;;
41878 esac
41879 fi
41880 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41881 if test -n "$SDL_CONFIG"; then
41882 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41883 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41884 else
41885 { echo "$as_me:$LINENO: result: no" >&5
41886 echo "${ECHO_T}no" >&6; }
41887 fi
41888
41889
41890 min_sdl_version=1.2.0
41891 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41892 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41893 no_sdl=""
41894 if test "$SDL_CONFIG" = "no" ; then
41895 no_sdl=yes
41896 else
41897 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41898 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41899
41900 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41902 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41904 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41905 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41906 if test "x$enable_sdltest" = "xyes" ; then
41907 ac_save_CFLAGS="$CFLAGS"
41908 ac_save_CXXFLAGS="$CXXFLAGS"
41909 ac_save_LIBS="$LIBS"
41910 CFLAGS="$CFLAGS $SDL_CFLAGS"
41911 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41912 LIBS="$LIBS $SDL_LIBS"
41913 rm -f conf.sdltest
41914 if test "$cross_compiling" = yes; then
41915 echo $ac_n "cross compiling; assumed OK... $ac_c"
41916 else
41917 cat >conftest.$ac_ext <<_ACEOF
41918 /* confdefs.h. */
41919 _ACEOF
41920 cat confdefs.h >>conftest.$ac_ext
41921 cat >>conftest.$ac_ext <<_ACEOF
41922 /* end confdefs.h. */
41923
41924 #include <stdio.h>
41925 #include <stdlib.h>
41926 #include <string.h>
41927 #include "SDL.h"
41928
41929 char*
41930 my_strdup (char *str)
41931 {
41932 char *new_str;
41933
41934 if (str)
41935 {
41936 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41937 strcpy (new_str, str);
41938 }
41939 else
41940 new_str = NULL;
41941
41942 return new_str;
41943 }
41944
41945 int main (int argc, char *argv[])
41946 {
41947 int major, minor, micro;
41948 char *tmp_version;
41949
41950 /* This hangs on some systems (?)
41951 system ("touch conf.sdltest");
41952 */
41953 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41954
41955 /* HP/UX 9 (%@#!) writes to sscanf strings */
41956 tmp_version = my_strdup("$min_sdl_version");
41957 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41958 printf("%s, bad version string\n", "$min_sdl_version");
41959 exit(1);
41960 }
41961
41962 if (($sdl_major_version > major) ||
41963 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41964 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41965 {
41966 return 0;
41967 }
41968 else
41969 {
41970 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41971 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41972 printf("*** best to upgrade to the required version.\n");
41973 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41974 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41975 printf("*** config.cache before re-running configure\n");
41976 return 1;
41977 }
41978 }
41979
41980
41981 _ACEOF
41982 rm -f conftest$ac_exeext
41983 if { (ac_try="$ac_link"
41984 case "(($ac_try" in
41985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41986 *) ac_try_echo=$ac_try;;
41987 esac
41988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41989 (eval "$ac_link") 2>&5
41990 ac_status=$?
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41993 { (case "(($ac_try" in
41994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41995 *) ac_try_echo=$ac_try;;
41996 esac
41997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41998 (eval "$ac_try") 2>&5
41999 ac_status=$?
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); }; }; then
42002 :
42003 else
42004 echo "$as_me: program exited with status $ac_status" >&5
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42007
42008 ( exit $ac_status )
42009 no_sdl=yes
42010 fi
42011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42012 fi
42013
42014
42015 CFLAGS="$ac_save_CFLAGS"
42016 CXXFLAGS="$ac_save_CXXFLAGS"
42017 LIBS="$ac_save_LIBS"
42018 fi
42019 fi
42020 if test "x$no_sdl" = x ; then
42021 { echo "$as_me:$LINENO: result: yes" >&5
42022 echo "${ECHO_T}yes" >&6; }
42023
42024 EXTRALIBS_SDL="$SDL_LIBS"
42025 CFLAGS="$SDL_CFLAGS $CFLAGS"
42026 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42027 cat >>confdefs.h <<\_ACEOF
42028 #define wxUSE_LIBSDL 1
42029 _ACEOF
42030
42031
42032 else
42033 { echo "$as_me:$LINENO: result: no" >&5
42034 echo "${ECHO_T}no" >&6; }
42035 if test "$SDL_CONFIG" = "no" ; then
42036 echo "*** The sdl-config script installed by SDL could not be found"
42037 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42038 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42039 echo "*** full path to sdl-config."
42040 else
42041 if test -f conf.sdltest ; then
42042 :
42043 else
42044 echo "*** Could not run SDL test program, checking why..."
42045 CFLAGS="$CFLAGS $SDL_CFLAGS"
42046 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42047 LIBS="$LIBS $SDL_LIBS"
42048 cat >conftest.$ac_ext <<_ACEOF
42049 /* confdefs.h. */
42050 _ACEOF
42051 cat confdefs.h >>conftest.$ac_ext
42052 cat >>conftest.$ac_ext <<_ACEOF
42053 /* end confdefs.h. */
42054
42055 #include <stdio.h>
42056 #include "SDL.h"
42057
42058 int main(int argc, char *argv[])
42059 { return 0; }
42060 #undef main
42061 #define main K_and_R_C_main
42062
42063 int
42064 main ()
42065 {
42066 return 0;
42067 ;
42068 return 0;
42069 }
42070 _ACEOF
42071 rm -f conftest.$ac_objext conftest$ac_exeext
42072 if { (ac_try="$ac_link"
42073 case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42075 *) ac_try_echo=$ac_try;;
42076 esac
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_link") 2>conftest.er1
42079 ac_status=$?
42080 grep -v '^ *+' conftest.er1 >conftest.err
42081 rm -f conftest.er1
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } && {
42085 test -z "$ac_c_werror_flag" ||
42086 test ! -s conftest.err
42087 } && test -s conftest$ac_exeext &&
42088 $as_test_x conftest$ac_exeext; then
42089 echo "*** The test program compiled, but did not run. This usually means"
42090 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42091 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42092 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42093 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42094 echo "*** is required on your system"
42095 echo "***"
42096 echo "*** If you have an old version installed, it is best to remove it, although"
42097 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42098 else
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.$ac_ext >&5
42101
42102 echo "*** The test program failed to compile or link. See the file config.log for the"
42103 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42104 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42105 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42106 fi
42107
42108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42109 conftest$ac_exeext conftest.$ac_ext
42110 CFLAGS="$ac_save_CFLAGS"
42111 CXXFLAGS="$ac_save_CXXFLAGS"
42112 LIBS="$ac_save_LIBS"
42113 fi
42114 fi
42115 SDL_CFLAGS=""
42116 SDL_LIBS=""
42117 wxUSE_LIBSDL="no"
42118 fi
42119
42120
42121 rm -f conf.sdltest
42122
42123 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42124 WITH_PLUGIN_SDL=1
42125 fi
42126 fi
42127 else
42128 if test "$wxUSE_MGL" = 1; then
42129 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42130 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42131 wxUSE_SOUND="no"
42132 fi
42133 fi
42134 fi
42135
42136 if test "$wxUSE_SOUND" = "yes"; then
42137 cat >>confdefs.h <<\_ACEOF
42138 #define wxUSE_SOUND 1
42139 _ACEOF
42140
42141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42142 fi
42143
42144 if test "$WXGTK2" = 1; then
42145
42146
42147 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42148 if test -n "$ac_tool_prefix"; then
42149 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42150 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42153 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42154 echo $ECHO_N "(cached) $ECHO_C" >&6
42155 else
42156 case $PKG_CONFIG in
42157 [\\/]* | ?:[\\/]*)
42158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42159 ;;
42160 *)
42161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42162 for as_dir in $PATH
42163 do
42164 IFS=$as_save_IFS
42165 test -z "$as_dir" && as_dir=.
42166 for ac_exec_ext in '' $ac_executable_extensions; do
42167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42170 break 2
42171 fi
42172 done
42173 done
42174 IFS=$as_save_IFS
42175
42176 ;;
42177 esac
42178 fi
42179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42180 if test -n "$PKG_CONFIG"; then
42181 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42182 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42183 else
42184 { echo "$as_me:$LINENO: result: no" >&5
42185 echo "${ECHO_T}no" >&6; }
42186 fi
42187
42188
42189 fi
42190 if test -z "$ac_cv_path_PKG_CONFIG"; then
42191 ac_pt_PKG_CONFIG=$PKG_CONFIG
42192 # Extract the first word of "pkg-config", so it can be a program name with args.
42193 set dummy pkg-config; ac_word=$2
42194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42196 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 else
42199 case $ac_pt_PKG_CONFIG in
42200 [\\/]* | ?:[\\/]*)
42201 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42202 ;;
42203 *)
42204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42205 for as_dir in $PATH
42206 do
42207 IFS=$as_save_IFS
42208 test -z "$as_dir" && as_dir=.
42209 for ac_exec_ext in '' $ac_executable_extensions; do
42210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42211 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42213 break 2
42214 fi
42215 done
42216 done
42217 IFS=$as_save_IFS
42218
42219 ;;
42220 esac
42221 fi
42222 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42223 if test -n "$ac_pt_PKG_CONFIG"; then
42224 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42225 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42226 else
42227 { echo "$as_me:$LINENO: result: no" >&5
42228 echo "${ECHO_T}no" >&6; }
42229 fi
42230
42231 if test "x$ac_pt_PKG_CONFIG" = x; then
42232 PKG_CONFIG=""
42233 else
42234 case $cross_compiling:$ac_tool_warned in
42235 yes:)
42236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42237 whose name does not start with the host triplet. If you think this
42238 configuration is useful to you, please write to autoconf@gnu.org." >&5
42239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42240 whose name does not start with the host triplet. If you think this
42241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42242 ac_tool_warned=yes ;;
42243 esac
42244 PKG_CONFIG=$ac_pt_PKG_CONFIG
42245 fi
42246 else
42247 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42248 fi
42249
42250 fi
42251 if test -n "$PKG_CONFIG"; then
42252 _pkg_min_version=0.9.0
42253 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42254 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42255 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42256 { echo "$as_me:$LINENO: result: yes" >&5
42257 echo "${ECHO_T}yes" >&6; }
42258 else
42259 { echo "$as_me:$LINENO: result: no" >&5
42260 echo "${ECHO_T}no" >&6; }
42261 PKG_CONFIG=""
42262 fi
42263
42264 fi
42265
42266 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42267
42268 if test "$wxUSE_GTKPRINT" = "yes" ; then
42269
42270
42271 pkg_failed=no
42272 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42273 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42274
42275 if test -n "$PKG_CONFIG"; then
42276 if test -n "$GTKPRINT_CFLAGS"; then
42277 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42278 else
42279 if test -n "$PKG_CONFIG" && \
42280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42281 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42282 ac_status=$?
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; then
42285 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42286 else
42287 pkg_failed=yes
42288 fi
42289 fi
42290 else
42291 pkg_failed=untried
42292 fi
42293 if test -n "$PKG_CONFIG"; then
42294 if test -n "$GTKPRINT_LIBS"; then
42295 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42296 else
42297 if test -n "$PKG_CONFIG" && \
42298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42299 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42300 ac_status=$?
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); }; then
42303 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42304 else
42305 pkg_failed=yes
42306 fi
42307 fi
42308 else
42309 pkg_failed=untried
42310 fi
42311
42312
42313
42314 if test $pkg_failed = yes; then
42315
42316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42317 _pkg_short_errors_supported=yes
42318 else
42319 _pkg_short_errors_supported=no
42320 fi
42321 if test $_pkg_short_errors_supported = yes; then
42322 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42323 else
42324 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42325 fi
42326 # Put the nasty error message in config.log where it belongs
42327 echo "$GTKPRINT_PKG_ERRORS" >&5
42328
42329
42330 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42331 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42332 wxUSE_GTKPRINT="no"
42333
42334
42335 elif test $pkg_failed = untried; then
42336
42337 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42338 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42339 wxUSE_GTKPRINT="no"
42340
42341
42342 else
42343 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42344 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42345 { echo "$as_me:$LINENO: result: yes" >&5
42346 echo "${ECHO_T}yes" >&6; }
42347
42348 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42349 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42350 cat >>confdefs.h <<\_ACEOF
42351 #define wxUSE_GTKPRINT 1
42352 _ACEOF
42353
42354
42355 fi
42356 fi
42357
42358 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42359
42360
42361 pkg_failed=no
42362 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42363 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42364
42365 if test -n "$PKG_CONFIG"; then
42366 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42367 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42368 else
42369 if test -n "$PKG_CONFIG" && \
42370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42371 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42372 ac_status=$?
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; then
42375 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42376 else
42377 pkg_failed=yes
42378 fi
42379 fi
42380 else
42381 pkg_failed=untried
42382 fi
42383 if test -n "$PKG_CONFIG"; then
42384 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42385 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42386 else
42387 if test -n "$PKG_CONFIG" && \
42388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42389 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42390 ac_status=$?
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); }; then
42393 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42394 else
42395 pkg_failed=yes
42396 fi
42397 fi
42398 else
42399 pkg_failed=untried
42400 fi
42401
42402
42403
42404 if test $pkg_failed = yes; then
42405
42406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42407 _pkg_short_errors_supported=yes
42408 else
42409 _pkg_short_errors_supported=no
42410 fi
42411 if test $_pkg_short_errors_supported = yes; then
42412 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42413 else
42414 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42415 fi
42416 # Put the nasty error message in config.log where it belongs
42417 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42418
42419
42420 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42421 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42422 wxUSE_LIBGNOMEPRINT="no"
42423
42424
42425 elif test $pkg_failed = untried; then
42426
42427 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42428 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42429 wxUSE_LIBGNOMEPRINT="no"
42430
42431
42432 else
42433 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42434 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42435 { echo "$as_me:$LINENO: result: yes" >&5
42436 echo "${ECHO_T}yes" >&6; }
42437
42438 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42439 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42440 cat >>confdefs.h <<\_ACEOF
42441 #define wxUSE_LIBGNOMEPRINT 1
42442 _ACEOF
42443
42444
42445 fi
42446 fi
42447 fi
42448
42449 if test "$wxUSE_MIMETYPE" = "yes" ; then
42450 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42451
42452
42453 pkg_failed=no
42454 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42455 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42456
42457 if test -n "$PKG_CONFIG"; then
42458 if test -n "$GNOMEVFS_CFLAGS"; then
42459 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42460 else
42461 if test -n "$PKG_CONFIG" && \
42462 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42463 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42464 ac_status=$?
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); }; then
42467 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42468 else
42469 pkg_failed=yes
42470 fi
42471 fi
42472 else
42473 pkg_failed=untried
42474 fi
42475 if test -n "$PKG_CONFIG"; then
42476 if test -n "$GNOMEVFS_LIBS"; then
42477 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42478 else
42479 if test -n "$PKG_CONFIG" && \
42480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42481 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42482 ac_status=$?
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); }; then
42485 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42486 else
42487 pkg_failed=yes
42488 fi
42489 fi
42490 else
42491 pkg_failed=untried
42492 fi
42493
42494
42495
42496 if test $pkg_failed = yes; then
42497
42498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42499 _pkg_short_errors_supported=yes
42500 else
42501 _pkg_short_errors_supported=no
42502 fi
42503 if test $_pkg_short_errors_supported = yes; then
42504 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42505 else
42506 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42507 fi
42508 # Put the nasty error message in config.log where it belongs
42509 echo "$GNOMEVFS_PKG_ERRORS" >&5
42510
42511
42512 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42513 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42514 wxUSE_LIBGNOMEVFS="no"
42515
42516
42517 elif test $pkg_failed = untried; then
42518
42519 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42520 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42521 wxUSE_LIBGNOMEVFS="no"
42522
42523
42524 else
42525 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42526 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42527 { echo "$as_me:$LINENO: result: yes" >&5
42528 echo "${ECHO_T}yes" >&6; }
42529
42530 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42531 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42532 cat >>confdefs.h <<\_ACEOF
42533 #define wxUSE_LIBGNOMEVFS 1
42534 _ACEOF
42535
42536
42537 fi
42538 fi
42539 fi
42540
42541 if test "$wxUSE_LIBHILDON" = "yes" ; then
42542
42543 pkg_failed=no
42544 { echo "$as_me:$LINENO: checking for HILDON" >&5
42545 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42546
42547 if test -n "$PKG_CONFIG"; then
42548 if test -n "$HILDON_CFLAGS"; then
42549 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42550 else
42551 if test -n "$PKG_CONFIG" && \
42552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42553 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42554 ac_status=$?
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); }; then
42557 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42558 else
42559 pkg_failed=yes
42560 fi
42561 fi
42562 else
42563 pkg_failed=untried
42564 fi
42565 if test -n "$PKG_CONFIG"; then
42566 if test -n "$HILDON_LIBS"; then
42567 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42568 else
42569 if test -n "$PKG_CONFIG" && \
42570 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42571 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42572 ac_status=$?
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; then
42575 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42576 else
42577 pkg_failed=yes
42578 fi
42579 fi
42580 else
42581 pkg_failed=untried
42582 fi
42583
42584
42585
42586 if test $pkg_failed = yes; then
42587
42588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42589 _pkg_short_errors_supported=yes
42590 else
42591 _pkg_short_errors_supported=no
42592 fi
42593 if test $_pkg_short_errors_supported = yes; then
42594 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42595 else
42596 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42597 fi
42598 # Put the nasty error message in config.log where it belongs
42599 echo "$HILDON_PKG_ERRORS" >&5
42600
42601
42602 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42603 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42604 wxUSE_LIBHILDON="no"
42605
42606
42607 elif test $pkg_failed = untried; then
42608
42609 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42610 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42611 wxUSE_LIBHILDON="no"
42612
42613
42614 else
42615 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42616 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42617 { echo "$as_me:$LINENO: result: yes" >&5
42618 echo "${ECHO_T}yes" >&6; }
42619
42620 EXTRALIBS_HILDON="$HILDON_LIBS"
42621 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42622 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_LIBHILDON 1
42625 _ACEOF
42626
42627
42628 fi
42629 fi
42630 fi
42631
42632 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_CMDLINE_PARSER 1
42635 _ACEOF
42636
42637 fi
42638
42639 if test "$wxUSE_STOPWATCH" = "yes"; then
42640 cat >>confdefs.h <<\_ACEOF
42641 #define wxUSE_STOPWATCH 1
42642 _ACEOF
42643
42644 fi
42645
42646 if test "$wxUSE_DATETIME" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_DATETIME 1
42649 _ACEOF
42650
42651 fi
42652
42653 if test "$wxUSE_FILE" = "yes"; then
42654 cat >>confdefs.h <<\_ACEOF
42655 #define wxUSE_FILE 1
42656 _ACEOF
42657
42658 fi
42659
42660 if test "$wxUSE_FFILE" = "yes"; then
42661 cat >>confdefs.h <<\_ACEOF
42662 #define wxUSE_FFILE 1
42663 _ACEOF
42664
42665 fi
42666
42667 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42668 if test "$wxUSE_STREAMS" != yes; then
42669 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42670 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42671 wxUSE_ARCHIVE_STREAMS=no
42672 else
42673 cat >>confdefs.h <<\_ACEOF
42674 #define wxUSE_ARCHIVE_STREAMS 1
42675 _ACEOF
42676
42677 fi
42678 fi
42679
42680 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42681 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42682 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42683 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42684 elif test "$wxUSE_ZLIB" = "no"; then
42685 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42686 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42687 else
42688 cat >>confdefs.h <<\_ACEOF
42689 #define wxUSE_ZIPSTREAM 1
42690 _ACEOF
42691
42692 fi
42693 fi
42694
42695 if test "$wxUSE_TARSTREAM" = "yes"; then
42696 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42697 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42698 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42699 else
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_TARSTREAM 1
42702 _ACEOF
42703
42704 fi
42705 fi
42706
42707 if test "$wxUSE_FILESYSTEM" = "yes"; then
42708 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42709 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42710 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42711 wxUSE_FILESYSTEM=no
42712 else
42713 cat >>confdefs.h <<\_ACEOF
42714 #define wxUSE_FILESYSTEM 1
42715 _ACEOF
42716
42717 fi
42718 fi
42719
42720 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42721 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42722 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42723 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42724 else
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_FS_ARCHIVE 1
42727 _ACEOF
42728
42729 fi
42730 fi
42731
42732 if test "$wxUSE_FS_ZIP" = "yes"; then
42733 if test "$wxUSE_FS_ARCHIVE" != yes; then
42734 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42735 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42736 else
42737 cat >>confdefs.h <<\_ACEOF
42738 #define wxUSE_FS_ZIP 1
42739 _ACEOF
42740
42741 fi
42742 fi
42743
42744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42745 if test "$USE_UNIX" != 1; then
42746 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42747 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42748 wxUSE_ON_FATAL_EXCEPTION=no
42749 else
42750 cat >>confdefs.h <<\_ACEOF
42751 #define wxUSE_ON_FATAL_EXCEPTION 1
42752 _ACEOF
42753
42754 fi
42755 fi
42756
42757 if test "$wxUSE_STACKWALKER" = "yes"; then
42758 cat >>confdefs.h <<\_ACEOF
42759 #define wxUSE_STACKWALKER 1
42760 _ACEOF
42761
42762 fi
42763
42764 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42765 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42766 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42767 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42768 wxUSE_DEBUGREPORT=no
42769 else
42770 cat >>confdefs.h <<\_ACEOF
42771 #define wxUSE_DEBUGREPORT 1
42772 _ACEOF
42773
42774 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42776 fi
42777 fi
42778 fi
42779
42780 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define wxUSE_SNGLINST_CHECKER 1
42783 _ACEOF
42784
42785 fi
42786
42787 if test "$wxUSE_BUSYINFO" = "yes"; then
42788 cat >>confdefs.h <<\_ACEOF
42789 #define wxUSE_BUSYINFO 1
42790 _ACEOF
42791
42792 fi
42793
42794 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42795 cat >>confdefs.h <<\_ACEOF
42796 #define wxUSE_STD_IOSTREAM 1
42797 _ACEOF
42798
42799 fi
42800
42801 if test "$wxUSE_STD_STRING" = "yes"; then
42802 cat >>confdefs.h <<\_ACEOF
42803 #define wxUSE_STD_STRING 1
42804 _ACEOF
42805
42806 fi
42807
42808 if test "$wxUSE_STDPATHS" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define wxUSE_STDPATHS 1
42811 _ACEOF
42812
42813 fi
42814
42815 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42816 cat >>confdefs.h <<\_ACEOF
42817 #define wxUSE_TEXTBUFFER 1
42818 _ACEOF
42819
42820 fi
42821
42822 if test "$wxUSE_TEXTFILE" = "yes"; then
42823 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42824 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42825 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42826 else
42827 cat >>confdefs.h <<\_ACEOF
42828 #define wxUSE_TEXTFILE 1
42829 _ACEOF
42830
42831 fi
42832 fi
42833
42834 if test "$wxUSE_CONFIG" = "yes" ; then
42835 if test "$wxUSE_TEXTFILE" != "yes"; then
42836 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42837 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42838 else
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_CONFIG 1
42841 _ACEOF
42842
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_CONFIG_NATIVE 1
42845 _ACEOF
42846
42847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42848 fi
42849 fi
42850
42851 if test "$wxUSE_INTL" = "yes" ; then
42852 if test "$wxUSE_FILE" != "yes"; then
42853 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42854 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42855 else
42856 cat >>confdefs.h <<\_ACEOF
42857 #define wxUSE_INTL 1
42858 _ACEOF
42859
42860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42861 GUIDIST="$GUIDIST INTL_DIST"
42862 fi
42863 fi
42864
42865 if test "$wxUSE_XLOCALE" == "yes" ; then
42866 cat >>confdefs.h <<\_ACEOF
42867 #define wxUSE_XLOCALE 1
42868 _ACEOF
42869
42870 { echo "$as_me:$LINENO: checking for locale_t" >&5
42871 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
42872 if test "${ac_cv_type_locale_t+set}" = set; then
42873 echo $ECHO_N "(cached) $ECHO_C" >&6
42874 else
42875 cat >conftest.$ac_ext <<_ACEOF
42876 /* confdefs.h. */
42877 _ACEOF
42878 cat confdefs.h >>conftest.$ac_ext
42879 cat >>conftest.$ac_ext <<_ACEOF
42880 /* end confdefs.h. */
42881 #include <xlocale.h>
42882 #include <locale.h>
42883
42884 typedef locale_t ac__type_new_;
42885 int
42886 main ()
42887 {
42888 if ((ac__type_new_ *) 0)
42889 return 0;
42890 if (sizeof (ac__type_new_))
42891 return 0;
42892 ;
42893 return 0;
42894 }
42895 _ACEOF
42896 rm -f conftest.$ac_objext
42897 if { (ac_try="$ac_compile"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42901 esac
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_compile") 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest.$ac_objext; then
42913 ac_cv_type_locale_t=yes
42914 else
42915 echo "$as_me: failed program was:" >&5
42916 sed 's/^/| /' conftest.$ac_ext >&5
42917
42918 ac_cv_type_locale_t=no
42919 fi
42920
42921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42922 fi
42923 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
42924 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
42925 if test $ac_cv_type_locale_t = yes; then
42926
42927 cat >>confdefs.h <<_ACEOF
42928 #define HAVE_LOCALE_T 1
42929 _ACEOF
42930
42931
42932 fi
42933
42934 fi
42935
42936 if test "$wxUSE_LOG" = "yes"; then
42937 cat >>confdefs.h <<\_ACEOF
42938 #define wxUSE_LOG 1
42939 _ACEOF
42940
42941
42942 if test "$wxUSE_LOGGUI" = "yes"; then
42943 cat >>confdefs.h <<\_ACEOF
42944 #define wxUSE_LOGGUI 1
42945 _ACEOF
42946
42947 fi
42948
42949 if test "$wxUSE_LOGWINDOW" = "yes"; then
42950 cat >>confdefs.h <<\_ACEOF
42951 #define wxUSE_LOGWINDOW 1
42952 _ACEOF
42953
42954 fi
42955
42956 if test "$wxUSE_LOGDIALOG" = "yes"; then
42957 cat >>confdefs.h <<\_ACEOF
42958 #define wxUSE_LOG_DIALOG 1
42959 _ACEOF
42960
42961 fi
42962
42963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42964 fi
42965
42966 if test "$wxUSE_LONGLONG" = "yes"; then
42967 cat >>confdefs.h <<\_ACEOF
42968 #define wxUSE_LONGLONG 1
42969 _ACEOF
42970
42971 fi
42972
42973 if test "$wxUSE_GEOMETRY" = "yes"; then
42974 cat >>confdefs.h <<\_ACEOF
42975 #define wxUSE_GEOMETRY 1
42976 _ACEOF
42977
42978 fi
42979
42980 if test "$wxUSE_BASE64" = "yes"; then
42981 cat >>confdefs.h <<\_ACEOF
42982 #define wxUSE_BASE64 1
42983 _ACEOF
42984
42985 fi
42986
42987 if test "$wxUSE_STREAMS" = "yes" ; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define wxUSE_STREAMS 1
42990 _ACEOF
42991
42992 fi
42993
42994 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42995 cat >>confdefs.h <<\_ACEOF
42996 #define wxUSE_PRINTF_POS_PARAMS 1
42997 _ACEOF
42998
42999 fi
43000
43001 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define wxUSE_OBJC_UNIQUIFYING 1
43004 _ACEOF
43005
43006 fi
43007
43008
43009 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43010 cat >>confdefs.h <<\_ACEOF
43011 #define wxUSE_CONSOLE_EVENTLOOP 1
43012 _ACEOF
43013
43014
43015 if test "$wxUSE_UNIX" = "yes"; then
43016 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43017 cat >>confdefs.h <<\_ACEOF
43018 #define wxUSE_SELECT_DISPATCHER 1
43019 _ACEOF
43020
43021 fi
43022
43023 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43024
43025 for ac_header in sys/epoll.h
43026 do
43027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033 cat >conftest.$ac_ext <<_ACEOF
43034 /* confdefs.h. */
43035 _ACEOF
43036 cat confdefs.h >>conftest.$ac_ext
43037 cat >>conftest.$ac_ext <<_ACEOF
43038 /* end confdefs.h. */
43039 $ac_includes_default
43040
43041 #include <$ac_header>
43042 _ACEOF
43043 rm -f conftest.$ac_objext
43044 if { (ac_try="$ac_compile"
43045 case "(($ac_try" in
43046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43047 *) ac_try_echo=$ac_try;;
43048 esac
43049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43050 (eval "$ac_compile") 2>conftest.er1
43051 ac_status=$?
43052 grep -v '^ *+' conftest.er1 >conftest.err
43053 rm -f conftest.er1
43054 cat conftest.err >&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); } && {
43057 test -z "$ac_c_werror_flag" ||
43058 test ! -s conftest.err
43059 } && test -s conftest.$ac_objext; then
43060 eval "$as_ac_Header=yes"
43061 else
43062 echo "$as_me: failed program was:" >&5
43063 sed 's/^/| /' conftest.$ac_ext >&5
43064
43065 eval "$as_ac_Header=no"
43066 fi
43067
43068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43069 fi
43070 ac_res=`eval echo '${'$as_ac_Header'}'`
43071 { echo "$as_me:$LINENO: result: $ac_res" >&5
43072 echo "${ECHO_T}$ac_res" >&6; }
43073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43074 cat >>confdefs.h <<_ACEOF
43075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43076 _ACEOF
43077
43078 fi
43079
43080 done
43081
43082 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43083 cat >>confdefs.h <<\_ACEOF
43084 #define wxUSE_EPOLL_DISPATCHER 1
43085 _ACEOF
43086
43087 else
43088 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43089 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43090 fi
43091 fi
43092 fi
43093 fi
43094
43095
43096
43097
43098 for ac_func in gettimeofday ftime
43099 do
43100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43104 echo $ECHO_N "(cached) $ECHO_C" >&6
43105 else
43106 cat >conftest.$ac_ext <<_ACEOF
43107 /* confdefs.h. */
43108 _ACEOF
43109 cat confdefs.h >>conftest.$ac_ext
43110 cat >>conftest.$ac_ext <<_ACEOF
43111 /* end confdefs.h. */
43112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43114 #define $ac_func innocuous_$ac_func
43115
43116 /* System header to define __stub macros and hopefully few prototypes,
43117 which can conflict with char $ac_func (); below.
43118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43119 <limits.h> exists even on freestanding compilers. */
43120
43121 #ifdef __STDC__
43122 # include <limits.h>
43123 #else
43124 # include <assert.h>
43125 #endif
43126
43127 #undef $ac_func
43128
43129 /* Override any GCC internal prototype to avoid an error.
43130 Use char because int might match the return type of a GCC
43131 builtin and then its argument prototype would still apply. */
43132 #ifdef __cplusplus
43133 extern "C"
43134 #endif
43135 char $ac_func ();
43136 /* The GNU C library defines this for functions which it implements
43137 to always fail with ENOSYS. Some functions are actually named
43138 something starting with __ and the normal name is an alias. */
43139 #if defined __stub_$ac_func || defined __stub___$ac_func
43140 choke me
43141 #endif
43142
43143 int
43144 main ()
43145 {
43146 return $ac_func ();
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext conftest$ac_exeext
43152 if { (ac_try="$ac_link"
43153 case "(($ac_try" in
43154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43156 esac
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_link") 2>conftest.er1
43159 ac_status=$?
43160 grep -v '^ *+' conftest.er1 >conftest.err
43161 rm -f conftest.er1
43162 cat conftest.err >&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); } && {
43165 test -z "$ac_c_werror_flag" ||
43166 test ! -s conftest.err
43167 } && test -s conftest$ac_exeext &&
43168 $as_test_x conftest$ac_exeext; then
43169 eval "$as_ac_var=yes"
43170 else
43171 echo "$as_me: failed program was:" >&5
43172 sed 's/^/| /' conftest.$ac_ext >&5
43173
43174 eval "$as_ac_var=no"
43175 fi
43176
43177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43178 conftest$ac_exeext conftest.$ac_ext
43179 fi
43180 ac_res=`eval echo '${'$as_ac_var'}'`
43181 { echo "$as_me:$LINENO: result: $ac_res" >&5
43182 echo "${ECHO_T}$ac_res" >&6; }
43183 if test `eval echo '${'$as_ac_var'}'` = yes; then
43184 cat >>confdefs.h <<_ACEOF
43185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43186 _ACEOF
43187 break
43188 fi
43189 done
43190
43191
43192 if test "$ac_cv_func_gettimeofday" = "yes"; then
43193 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43194 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43195 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43196 echo $ECHO_N "(cached) $ECHO_C" >&6
43197 else
43198
43199 cat >conftest.$ac_ext <<_ACEOF
43200 /* confdefs.h. */
43201 _ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205
43206 #include <sys/time.h>
43207 #include <unistd.h>
43208
43209 int
43210 main ()
43211 {
43212
43213 struct timeval tv;
43214 gettimeofday(&tv, NULL);
43215
43216 ;
43217 return 0;
43218 }
43219 _ACEOF
43220 rm -f conftest.$ac_objext
43221 if { (ac_try="$ac_compile"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43225 esac
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_compile") 2>conftest.er1
43228 ac_status=$?
43229 grep -v '^ *+' conftest.er1 >conftest.err
43230 rm -f conftest.er1
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_c_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest.$ac_objext; then
43237 wx_cv_func_gettimeofday_has_2_args=yes
43238 else
43239 echo "$as_me: failed program was:" >&5
43240 sed 's/^/| /' conftest.$ac_ext >&5
43241
43242 cat >conftest.$ac_ext <<_ACEOF
43243 /* confdefs.h. */
43244 _ACEOF
43245 cat confdefs.h >>conftest.$ac_ext
43246 cat >>conftest.$ac_ext <<_ACEOF
43247 /* end confdefs.h. */
43248
43249 #include <sys/time.h>
43250 #include <unistd.h>
43251
43252 int
43253 main ()
43254 {
43255
43256 struct timeval tv;
43257 gettimeofday(&tv);
43258
43259 ;
43260 return 0;
43261 }
43262 _ACEOF
43263 rm -f conftest.$ac_objext
43264 if { (ac_try="$ac_compile"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43268 esac
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_compile") 2>conftest.er1
43271 ac_status=$?
43272 grep -v '^ *+' conftest.er1 >conftest.err
43273 rm -f conftest.er1
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest.$ac_objext; then
43280 wx_cv_func_gettimeofday_has_2_args=no
43281 else
43282 echo "$as_me: failed program was:" >&5
43283 sed 's/^/| /' conftest.$ac_ext >&5
43284
43285
43286 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43287 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43288 wx_cv_func_gettimeofday_has_2_args=unknown
43289
43290
43291 fi
43292
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294
43295 fi
43296
43297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43298
43299 fi
43300 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43301 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43302
43303 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43304 cat >>confdefs.h <<\_ACEOF
43305 #define WX_GETTIMEOFDAY_NO_TZ 1
43306 _ACEOF
43307
43308 fi
43309 fi
43310
43311 if test "$wxUSE_DATETIME" = "yes"; then
43312 { echo "$as_me:$LINENO: checking for strptime" >&5
43313 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43314 if test "${ac_cv_func_strptime+set}" = set; then
43315 echo $ECHO_N "(cached) $ECHO_C" >&6
43316 else
43317 cat >conftest.$ac_ext <<_ACEOF
43318 /* confdefs.h. */
43319 _ACEOF
43320 cat confdefs.h >>conftest.$ac_ext
43321 cat >>conftest.$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43323 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43325 #define strptime innocuous_strptime
43326
43327 /* System header to define __stub macros and hopefully few prototypes,
43328 which can conflict with char strptime (); below.
43329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43330 <limits.h> exists even on freestanding compilers. */
43331
43332 #ifdef __STDC__
43333 # include <limits.h>
43334 #else
43335 # include <assert.h>
43336 #endif
43337
43338 #undef strptime
43339
43340 /* Override any GCC internal prototype to avoid an error.
43341 Use char because int might match the return type of a GCC
43342 builtin and then its argument prototype would still apply. */
43343 #ifdef __cplusplus
43344 extern "C"
43345 #endif
43346 char strptime ();
43347 /* The GNU C library defines this for functions which it implements
43348 to always fail with ENOSYS. Some functions are actually named
43349 something starting with __ and the normal name is an alias. */
43350 #if defined __stub_strptime || defined __stub___strptime
43351 choke me
43352 #endif
43353
43354 int
43355 main ()
43356 {
43357 return strptime ();
43358 ;
43359 return 0;
43360 }
43361 _ACEOF
43362 rm -f conftest.$ac_objext conftest$ac_exeext
43363 if { (ac_try="$ac_link"
43364 case "(($ac_try" in
43365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43366 *) ac_try_echo=$ac_try;;
43367 esac
43368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43369 (eval "$ac_link") 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } && {
43376 test -z "$ac_c_werror_flag" ||
43377 test ! -s conftest.err
43378 } && test -s conftest$ac_exeext &&
43379 $as_test_x conftest$ac_exeext; then
43380 ac_cv_func_strptime=yes
43381 else
43382 echo "$as_me: failed program was:" >&5
43383 sed 's/^/| /' conftest.$ac_ext >&5
43384
43385 ac_cv_func_strptime=no
43386 fi
43387
43388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43389 conftest$ac_exeext conftest.$ac_ext
43390 fi
43391 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43392 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43393
43394 if test "$ac_cv_func_strptime" = "yes"; then
43395 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43396 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43397 if test "${wx_cv_func_strptime_decl+set}" = set; then
43398 echo $ECHO_N "(cached) $ECHO_C" >&6
43399 else
43400
43401 ac_ext=cpp
43402 ac_cpp='$CXXCPP $CPPFLAGS'
43403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43406
43407 cat >conftest.$ac_ext <<_ACEOF
43408 /* confdefs.h. */
43409 _ACEOF
43410 cat confdefs.h >>conftest.$ac_ext
43411 cat >>conftest.$ac_ext <<_ACEOF
43412 /* end confdefs.h. */
43413
43414 #include <time.h>
43415
43416 int
43417 main ()
43418 {
43419
43420 struct tm t;
43421 strptime("foo", "bar", &t);
43422
43423 ;
43424 return 0;
43425 }
43426 _ACEOF
43427 rm -f conftest.$ac_objext
43428 if { (ac_try="$ac_compile"
43429 case "(($ac_try" in
43430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43431 *) ac_try_echo=$ac_try;;
43432 esac
43433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43434 (eval "$ac_compile") 2>conftest.er1
43435 ac_status=$?
43436 grep -v '^ *+' conftest.er1 >conftest.err
43437 rm -f conftest.er1
43438 cat conftest.err >&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); } && {
43441 test -z "$ac_cxx_werror_flag" ||
43442 test ! -s conftest.err
43443 } && test -s conftest.$ac_objext; then
43444 wx_cv_func_strptime_decl=yes
43445 else
43446 echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 wx_cv_func_strptime_decl=no
43450
43451 fi
43452
43453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43454 ac_ext=c
43455 ac_cpp='$CPP $CPPFLAGS'
43456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43459
43460
43461
43462 fi
43463 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43464 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43465 fi
43466 if test "$wx_cv_func_strptime_decl" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define HAVE_STRPTIME_DECL 1
43469 _ACEOF
43470
43471 else
43472 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43473 fi
43474 if test "$ac_cv_func_strptime" = "yes"; then
43475 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43476 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43477 if test "${wx_cv_func_strptime_ok+set}" = set; then
43478 echo $ECHO_N "(cached) $ECHO_C" >&6
43479 else
43480 if test "$cross_compiling" = yes; then
43481 wx_cv_func_strptime_ok=no
43482
43483 else
43484 cat >conftest.$ac_ext <<_ACEOF
43485
43486 #include <stdlib.h>
43487 #include <time.h>
43488 #include "confdefs.h"
43489
43490 $wx_strptime_decl
43491
43492 int main()
43493 {
43494 struct tm t;
43495 return !!strptime("", "%x", &t);
43496 }
43497
43498 _ACEOF
43499 rm -f conftest$ac_exeext
43500 if { (ac_try="$ac_link"
43501 case "(($ac_try" in
43502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43503 *) ac_try_echo=$ac_try;;
43504 esac
43505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43506 (eval "$ac_link") 2>&5
43507 ac_status=$?
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43510 { (case "(($ac_try" in
43511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43512 *) ac_try_echo=$ac_try;;
43513 esac
43514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43515 (eval "$ac_try") 2>&5
43516 ac_status=$?
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); }; }; then
43519 wx_cv_func_strptime_ok=yes
43520 else
43521 echo "$as_me: program exited with status $ac_status" >&5
43522 echo "$as_me: failed program was:" >&5
43523 sed 's/^/| /' conftest.$ac_ext >&5
43524
43525 ( exit $ac_status )
43526 wx_cv_func_strptime_ok=no
43527 fi
43528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43529 fi
43530
43531
43532
43533 fi
43534 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43535 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43536
43537 if test "$wx_cv_func_strptime_ok" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define HAVE_STRPTIME 1
43540 _ACEOF
43541
43542 fi
43543 fi
43544
43545 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43546 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43547 if test "${wx_cv_var_timezone+set}" = set; then
43548 echo $ECHO_N "(cached) $ECHO_C" >&6
43549 else
43550
43551 ac_ext=cpp
43552 ac_cpp='$CXXCPP $CPPFLAGS'
43553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556
43557 cat >conftest.$ac_ext <<_ACEOF
43558 /* confdefs.h. */
43559 _ACEOF
43560 cat confdefs.h >>conftest.$ac_ext
43561 cat >>conftest.$ac_ext <<_ACEOF
43562 /* end confdefs.h. */
43563
43564 #include <time.h>
43565
43566 int
43567 main ()
43568 {
43569
43570 int tz;
43571 tz = timezone;
43572
43573 ;
43574 return 0;
43575 }
43576 _ACEOF
43577 rm -f conftest.$ac_objext
43578 if { (ac_try="$ac_compile"
43579 case "(($ac_try" in
43580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43581 *) ac_try_echo=$ac_try;;
43582 esac
43583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43584 (eval "$ac_compile") 2>conftest.er1
43585 ac_status=$?
43586 grep -v '^ *+' conftest.er1 >conftest.err
43587 rm -f conftest.er1
43588 cat conftest.err >&5
43589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590 (exit $ac_status); } && {
43591 test -z "$ac_cxx_werror_flag" ||
43592 test ! -s conftest.err
43593 } && test -s conftest.$ac_objext; then
43594
43595 wx_cv_var_timezone=timezone
43596
43597 else
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.$ac_ext >&5
43600
43601
43602 cat >conftest.$ac_ext <<_ACEOF
43603 /* confdefs.h. */
43604 _ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43608
43609 #include <time.h>
43610
43611 int
43612 main ()
43613 {
43614
43615 int tz;
43616 tz = _timezone;
43617
43618 ;
43619 return 0;
43620 }
43621 _ACEOF
43622 rm -f conftest.$ac_objext
43623 if { (ac_try="$ac_compile"
43624 case "(($ac_try" in
43625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43627 esac
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_compile") 2>conftest.er1
43630 ac_status=$?
43631 grep -v '^ *+' conftest.er1 >conftest.err
43632 rm -f conftest.er1
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_cxx_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest.$ac_objext; then
43639
43640 wx_cv_var_timezone=_timezone
43641
43642 else
43643 echo "$as_me: failed program was:" >&5
43644 sed 's/^/| /' conftest.$ac_ext >&5
43645
43646
43647 cat >conftest.$ac_ext <<_ACEOF
43648 /* confdefs.h. */
43649 _ACEOF
43650 cat confdefs.h >>conftest.$ac_ext
43651 cat >>conftest.$ac_ext <<_ACEOF
43652 /* end confdefs.h. */
43653
43654 #include <time.h>
43655
43656 int
43657 main ()
43658 {
43659
43660 int tz;
43661 tz = __timezone;
43662
43663 ;
43664 return 0;
43665 }
43666 _ACEOF
43667 rm -f conftest.$ac_objext
43668 if { (ac_try="$ac_compile"
43669 case "(($ac_try" in
43670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43671 *) ac_try_echo=$ac_try;;
43672 esac
43673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43674 (eval "$ac_compile") 2>conftest.er1
43675 ac_status=$?
43676 grep -v '^ *+' conftest.er1 >conftest.err
43677 rm -f conftest.er1
43678 cat conftest.err >&5
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); } && {
43681 test -z "$ac_cxx_werror_flag" ||
43682 test ! -s conftest.err
43683 } && test -s conftest.$ac_objext; then
43684
43685 wx_cv_var_timezone=__timezone
43686
43687 else
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.$ac_ext >&5
43690
43691
43692 if test "$USE_DOS" = 0 ; then
43693 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43694 echo "$as_me: WARNING: no timezone variable" >&2;}
43695 fi
43696
43697
43698 fi
43699
43700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43701
43702
43703 fi
43704
43705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43706
43707
43708 fi
43709
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711 ac_ext=c
43712 ac_cpp='$CPP $CPPFLAGS'
43713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43716
43717
43718
43719 fi
43720 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43721 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43722
43723 if test "x$wx_cv_var_timezone" != x ; then
43724 cat >>confdefs.h <<_ACEOF
43725 #define WX_TIMEZONE $wx_cv_var_timezone
43726 _ACEOF
43727
43728 fi
43729
43730
43731 for ac_func in localtime
43732 do
43733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43737 echo $ECHO_N "(cached) $ECHO_C" >&6
43738 else
43739 cat >conftest.$ac_ext <<_ACEOF
43740 /* confdefs.h. */
43741 _ACEOF
43742 cat confdefs.h >>conftest.$ac_ext
43743 cat >>conftest.$ac_ext <<_ACEOF
43744 /* end confdefs.h. */
43745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43747 #define $ac_func innocuous_$ac_func
43748
43749 /* System header to define __stub macros and hopefully few prototypes,
43750 which can conflict with char $ac_func (); below.
43751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43752 <limits.h> exists even on freestanding compilers. */
43753
43754 #ifdef __STDC__
43755 # include <limits.h>
43756 #else
43757 # include <assert.h>
43758 #endif
43759
43760 #undef $ac_func
43761
43762 /* Override any GCC internal prototype to avoid an error.
43763 Use char because int might match the return type of a GCC
43764 builtin and then its argument prototype would still apply. */
43765 #ifdef __cplusplus
43766 extern "C"
43767 #endif
43768 char $ac_func ();
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined __stub_$ac_func || defined __stub___$ac_func
43773 choke me
43774 #endif
43775
43776 int
43777 main ()
43778 {
43779 return $ac_func ();
43780 ;
43781 return 0;
43782 }
43783 _ACEOF
43784 rm -f conftest.$ac_objext conftest$ac_exeext
43785 if { (ac_try="$ac_link"
43786 case "(($ac_try" in
43787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43788 *) ac_try_echo=$ac_try;;
43789 esac
43790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43791 (eval "$ac_link") 2>conftest.er1
43792 ac_status=$?
43793 grep -v '^ *+' conftest.er1 >conftest.err
43794 rm -f conftest.er1
43795 cat conftest.err >&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } && {
43798 test -z "$ac_c_werror_flag" ||
43799 test ! -s conftest.err
43800 } && test -s conftest$ac_exeext &&
43801 $as_test_x conftest$ac_exeext; then
43802 eval "$as_ac_var=yes"
43803 else
43804 echo "$as_me: failed program was:" >&5
43805 sed 's/^/| /' conftest.$ac_ext >&5
43806
43807 eval "$as_ac_var=no"
43808 fi
43809
43810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43811 conftest$ac_exeext conftest.$ac_ext
43812 fi
43813 ac_res=`eval echo '${'$as_ac_var'}'`
43814 { echo "$as_me:$LINENO: result: $ac_res" >&5
43815 echo "${ECHO_T}$ac_res" >&6; }
43816 if test `eval echo '${'$as_ac_var'}'` = yes; then
43817 cat >>confdefs.h <<_ACEOF
43818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43819 _ACEOF
43820
43821 fi
43822 done
43823
43824
43825 if test "$ac_cv_func_localtime" = "yes"; then
43826 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43827 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43828 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43829 echo $ECHO_N "(cached) $ECHO_C" >&6
43830 else
43831
43832 cat >conftest.$ac_ext <<_ACEOF
43833 /* confdefs.h. */
43834 _ACEOF
43835 cat confdefs.h >>conftest.$ac_ext
43836 cat >>conftest.$ac_ext <<_ACEOF
43837 /* end confdefs.h. */
43838
43839 #include <time.h>
43840
43841 int
43842 main ()
43843 {
43844
43845 struct tm tm;
43846 tm.tm_gmtoff++;
43847
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext
43853 if { (ac_try="$ac_compile"
43854 case "(($ac_try" in
43855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43856 *) ac_try_echo=$ac_try;;
43857 esac
43858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43859 (eval "$ac_compile") 2>conftest.er1
43860 ac_status=$?
43861 grep -v '^ *+' conftest.er1 >conftest.err
43862 rm -f conftest.er1
43863 cat conftest.err >&5
43864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865 (exit $ac_status); } && {
43866 test -z "$ac_c_werror_flag" ||
43867 test ! -s conftest.err
43868 } && test -s conftest.$ac_objext; then
43869
43870 wx_cv_struct_tm_has_gmtoff=yes
43871
43872 else
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43875
43876 wx_cv_struct_tm_has_gmtoff=no
43877
43878 fi
43879
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881
43882 fi
43883 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43884 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43885 fi
43886
43887 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43888 cat >>confdefs.h <<\_ACEOF
43889 #define WX_GMTOFF_IN_TM 1
43890 _ACEOF
43891
43892 fi
43893
43894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43895 fi
43896
43897
43898 if test "$wxUSE_SOCKETS" = "yes"; then
43899 if test "$wxUSE_MGL" = 1; then
43900 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43901 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43902 wxUSE_SOCKETS="no"
43903 fi
43904 fi
43905
43906 if test "$wxUSE_SOCKETS" = "yes"; then
43907 if test "$TOOLKIT" != "MSW"; then
43908 { echo "$as_me:$LINENO: checking for socket" >&5
43909 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43910 if test "${ac_cv_func_socket+set}" = set; then
43911 echo $ECHO_N "(cached) $ECHO_C" >&6
43912 else
43913 cat >conftest.$ac_ext <<_ACEOF
43914 /* confdefs.h. */
43915 _ACEOF
43916 cat confdefs.h >>conftest.$ac_ext
43917 cat >>conftest.$ac_ext <<_ACEOF
43918 /* end confdefs.h. */
43919 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43921 #define socket innocuous_socket
43922
43923 /* System header to define __stub macros and hopefully few prototypes,
43924 which can conflict with char socket (); below.
43925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43926 <limits.h> exists even on freestanding compilers. */
43927
43928 #ifdef __STDC__
43929 # include <limits.h>
43930 #else
43931 # include <assert.h>
43932 #endif
43933
43934 #undef socket
43935
43936 /* Override any GCC internal prototype to avoid an error.
43937 Use char because int might match the return type of a GCC
43938 builtin and then its argument prototype would still apply. */
43939 #ifdef __cplusplus
43940 extern "C"
43941 #endif
43942 char socket ();
43943 /* The GNU C library defines this for functions which it implements
43944 to always fail with ENOSYS. Some functions are actually named
43945 something starting with __ and the normal name is an alias. */
43946 #if defined __stub_socket || defined __stub___socket
43947 choke me
43948 #endif
43949
43950 int
43951 main ()
43952 {
43953 return socket ();
43954 ;
43955 return 0;
43956 }
43957 _ACEOF
43958 rm -f conftest.$ac_objext conftest$ac_exeext
43959 if { (ac_try="$ac_link"
43960 case "(($ac_try" in
43961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43962 *) ac_try_echo=$ac_try;;
43963 esac
43964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43965 (eval "$ac_link") 2>conftest.er1
43966 ac_status=$?
43967 grep -v '^ *+' conftest.er1 >conftest.err
43968 rm -f conftest.er1
43969 cat conftest.err >&5
43970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43971 (exit $ac_status); } && {
43972 test -z "$ac_c_werror_flag" ||
43973 test ! -s conftest.err
43974 } && test -s conftest$ac_exeext &&
43975 $as_test_x conftest$ac_exeext; then
43976 ac_cv_func_socket=yes
43977 else
43978 echo "$as_me: failed program was:" >&5
43979 sed 's/^/| /' conftest.$ac_ext >&5
43980
43981 ac_cv_func_socket=no
43982 fi
43983
43984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43985 conftest$ac_exeext conftest.$ac_ext
43986 fi
43987 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43988 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43989 if test $ac_cv_func_socket = yes; then
43990 :
43991 else
43992
43993 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43994 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43995 if test "${ac_cv_lib_socket_socket+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
43998 ac_check_lib_save_LIBS=$LIBS
43999 LIBS="-lsocket $LIBS"
44000 cat >conftest.$ac_ext <<_ACEOF
44001 /* confdefs.h. */
44002 _ACEOF
44003 cat confdefs.h >>conftest.$ac_ext
44004 cat >>conftest.$ac_ext <<_ACEOF
44005 /* end confdefs.h. */
44006
44007 /* Override any GCC internal prototype to avoid an error.
44008 Use char because int might match the return type of a GCC
44009 builtin and then its argument prototype would still apply. */
44010 #ifdef __cplusplus
44011 extern "C"
44012 #endif
44013 char socket ();
44014 int
44015 main ()
44016 {
44017 return socket ();
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext conftest$ac_exeext
44023 if { (ac_try="$ac_link"
44024 case "(($ac_try" in
44025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44026 *) ac_try_echo=$ac_try;;
44027 esac
44028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44029 (eval "$ac_link") 2>conftest.er1
44030 ac_status=$?
44031 grep -v '^ *+' conftest.er1 >conftest.err
44032 rm -f conftest.er1
44033 cat conftest.err >&5
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); } && {
44036 test -z "$ac_c_werror_flag" ||
44037 test ! -s conftest.err
44038 } && test -s conftest$ac_exeext &&
44039 $as_test_x conftest$ac_exeext; then
44040 ac_cv_lib_socket_socket=yes
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 ac_cv_lib_socket_socket=no
44046 fi
44047
44048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44049 conftest$ac_exeext conftest.$ac_ext
44050 LIBS=$ac_check_lib_save_LIBS
44051 fi
44052 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44053 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44054 if test $ac_cv_lib_socket_socket = yes; then
44055 if test "$INET_LINK" != " -lsocket"; then
44056 INET_LINK="$INET_LINK -lsocket"
44057 fi
44058 else
44059
44060 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44061 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44062 wxUSE_SOCKETS=no
44063
44064
44065 fi
44066
44067
44068
44069 fi
44070
44071 fi
44072 fi
44073
44074 if test "$wxUSE_SOCKETS" = "yes" ; then
44075 if test "$TOOLKIT" != "MSW"; then
44076 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44077 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44078 if test "${wx_cv_type_getsockname3+set}" = set; then
44079 echo $ECHO_N "(cached) $ECHO_C" >&6
44080 else
44081
44082 ac_ext=cpp
44083 ac_cpp='$CXXCPP $CPPFLAGS'
44084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44087
44088 cat >conftest.$ac_ext <<_ACEOF
44089 /* confdefs.h. */
44090 _ACEOF
44091 cat confdefs.h >>conftest.$ac_ext
44092 cat >>conftest.$ac_ext <<_ACEOF
44093 /* end confdefs.h. */
44094
44095 #include <sys/types.h>
44096 #include <sys/socket.h>
44097
44098 int
44099 main ()
44100 {
44101
44102 socklen_t len;
44103 getsockname(0, 0, &len);
44104
44105 ;
44106 return 0;
44107 }
44108 _ACEOF
44109 rm -f conftest.$ac_objext
44110 if { (ac_try="$ac_compile"
44111 case "(($ac_try" in
44112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44113 *) ac_try_echo=$ac_try;;
44114 esac
44115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44116 (eval "$ac_compile") 2>conftest.er1
44117 ac_status=$?
44118 grep -v '^ *+' conftest.er1 >conftest.err
44119 rm -f conftest.er1
44120 cat conftest.err >&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); } && {
44123 test -z "$ac_cxx_werror_flag" ||
44124 test ! -s conftest.err
44125 } && test -s conftest.$ac_objext; then
44126 wx_cv_type_getsockname3=socklen_t
44127 else
44128 echo "$as_me: failed program was:" >&5
44129 sed 's/^/| /' conftest.$ac_ext >&5
44130
44131
44132 CFLAGS_OLD="$CFLAGS"
44133 if test "$GCC" = yes ; then
44134 CFLAGS="-Werror $CFLAGS"
44135 fi
44136
44137 cat >conftest.$ac_ext <<_ACEOF
44138 /* confdefs.h. */
44139 _ACEOF
44140 cat confdefs.h >>conftest.$ac_ext
44141 cat >>conftest.$ac_ext <<_ACEOF
44142 /* end confdefs.h. */
44143
44144 #include <sys/types.h>
44145 #include <sys/socket.h>
44146
44147 int
44148 main ()
44149 {
44150
44151 size_t len;
44152 getsockname(0, 0, &len);
44153
44154 ;
44155 return 0;
44156 }
44157 _ACEOF
44158 rm -f conftest.$ac_objext
44159 if { (ac_try="$ac_compile"
44160 case "(($ac_try" in
44161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44162 *) ac_try_echo=$ac_try;;
44163 esac
44164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44165 (eval "$ac_compile") 2>conftest.er1
44166 ac_status=$?
44167 grep -v '^ *+' conftest.er1 >conftest.err
44168 rm -f conftest.er1
44169 cat conftest.err >&5
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); } && {
44172 test -z "$ac_cxx_werror_flag" ||
44173 test ! -s conftest.err
44174 } && test -s conftest.$ac_objext; then
44175 wx_cv_type_getsockname3=size_t
44176 else
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44179
44180 cat >conftest.$ac_ext <<_ACEOF
44181 /* confdefs.h. */
44182 _ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44186
44187 #include <sys/types.h>
44188 #include <sys/socket.h>
44189
44190 int
44191 main ()
44192 {
44193
44194 int len;
44195 getsockname(0, 0, &len);
44196
44197 ;
44198 return 0;
44199 }
44200 _ACEOF
44201 rm -f conftest.$ac_objext
44202 if { (ac_try="$ac_compile"
44203 case "(($ac_try" in
44204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44205 *) ac_try_echo=$ac_try;;
44206 esac
44207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44208 (eval "$ac_compile") 2>conftest.er1
44209 ac_status=$?
44210 grep -v '^ *+' conftest.er1 >conftest.err
44211 rm -f conftest.er1
44212 cat conftest.err >&5
44213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44214 (exit $ac_status); } && {
44215 test -z "$ac_cxx_werror_flag" ||
44216 test ! -s conftest.err
44217 } && test -s conftest.$ac_objext; then
44218 wx_cv_type_getsockname3=int
44219 else
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44222
44223 wx_cv_type_getsockname3=unknown
44224
44225 fi
44226
44227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44228
44229 fi
44230
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232
44233 CFLAGS="$CFLAGS_OLD"
44234
44235
44236 fi
44237
44238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44239 ac_ext=c
44240 ac_cpp='$CPP $CPPFLAGS'
44241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44244
44245
44246 fi
44247 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44248 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44249
44250 if test "$wx_cv_type_getsockname3" = "unknown"; then
44251 wxUSE_SOCKETS=no
44252 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44253 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44254 else
44255 cat >>confdefs.h <<_ACEOF
44256 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44257 _ACEOF
44258
44259 fi
44260 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44261 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44262 if test "${wx_cv_type_getsockopt5+set}" = set; then
44263 echo $ECHO_N "(cached) $ECHO_C" >&6
44264 else
44265
44266 ac_ext=cpp
44267 ac_cpp='$CXXCPP $CPPFLAGS'
44268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44271
44272 cat >conftest.$ac_ext <<_ACEOF
44273 /* confdefs.h. */
44274 _ACEOF
44275 cat confdefs.h >>conftest.$ac_ext
44276 cat >>conftest.$ac_ext <<_ACEOF
44277 /* end confdefs.h. */
44278
44279 #include <sys/types.h>
44280 #include <sys/socket.h>
44281
44282 int
44283 main ()
44284 {
44285
44286 socklen_t len;
44287 getsockopt(0, 0, 0, 0, &len);
44288
44289 ;
44290 return 0;
44291 }
44292 _ACEOF
44293 rm -f conftest.$ac_objext
44294 if { (ac_try="$ac_compile"
44295 case "(($ac_try" in
44296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44297 *) ac_try_echo=$ac_try;;
44298 esac
44299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44300 (eval "$ac_compile") 2>conftest.er1
44301 ac_status=$?
44302 grep -v '^ *+' conftest.er1 >conftest.err
44303 rm -f conftest.er1
44304 cat conftest.err >&5
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); } && {
44307 test -z "$ac_cxx_werror_flag" ||
44308 test ! -s conftest.err
44309 } && test -s conftest.$ac_objext; then
44310 wx_cv_type_getsockopt5=socklen_t
44311 else
44312 echo "$as_me: failed program was:" >&5
44313 sed 's/^/| /' conftest.$ac_ext >&5
44314
44315
44316 cat >conftest.$ac_ext <<_ACEOF
44317 /* confdefs.h. */
44318 _ACEOF
44319 cat confdefs.h >>conftest.$ac_ext
44320 cat >>conftest.$ac_ext <<_ACEOF
44321 /* end confdefs.h. */
44322
44323 #include <sys/types.h>
44324 #include <sys/socket.h>
44325
44326 int
44327 main ()
44328 {
44329
44330 size_t len;
44331 getsockopt(0, 0, 0, 0, &len);
44332
44333 ;
44334 return 0;
44335 }
44336 _ACEOF
44337 rm -f conftest.$ac_objext
44338 if { (ac_try="$ac_compile"
44339 case "(($ac_try" in
44340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44341 *) ac_try_echo=$ac_try;;
44342 esac
44343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44344 (eval "$ac_compile") 2>conftest.er1
44345 ac_status=$?
44346 grep -v '^ *+' conftest.er1 >conftest.err
44347 rm -f conftest.er1
44348 cat conftest.err >&5
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); } && {
44351 test -z "$ac_cxx_werror_flag" ||
44352 test ! -s conftest.err
44353 } && test -s conftest.$ac_objext; then
44354 wx_cv_type_getsockopt5=size_t
44355 else
44356 echo "$as_me: failed program was:" >&5
44357 sed 's/^/| /' conftest.$ac_ext >&5
44358
44359 cat >conftest.$ac_ext <<_ACEOF
44360 /* confdefs.h. */
44361 _ACEOF
44362 cat confdefs.h >>conftest.$ac_ext
44363 cat >>conftest.$ac_ext <<_ACEOF
44364 /* end confdefs.h. */
44365
44366 #include <sys/types.h>
44367 #include <sys/socket.h>
44368
44369 int
44370 main ()
44371 {
44372
44373 int len;
44374 getsockopt(0, 0, 0, 0, &len);
44375
44376 ;
44377 return 0;
44378 }
44379 _ACEOF
44380 rm -f conftest.$ac_objext
44381 if { (ac_try="$ac_compile"
44382 case "(($ac_try" in
44383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44384 *) ac_try_echo=$ac_try;;
44385 esac
44386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44387 (eval "$ac_compile") 2>conftest.er1
44388 ac_status=$?
44389 grep -v '^ *+' conftest.er1 >conftest.err
44390 rm -f conftest.er1
44391 cat conftest.err >&5
44392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44393 (exit $ac_status); } && {
44394 test -z "$ac_cxx_werror_flag" ||
44395 test ! -s conftest.err
44396 } && test -s conftest.$ac_objext; then
44397 wx_cv_type_getsockopt5=int
44398 else
44399 echo "$as_me: failed program was:" >&5
44400 sed 's/^/| /' conftest.$ac_ext >&5
44401
44402 wx_cv_type_getsockopt5=unknown
44403
44404 fi
44405
44406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44407
44408 fi
44409
44410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44411
44412
44413 fi
44414
44415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44416 ac_ext=c
44417 ac_cpp='$CPP $CPPFLAGS'
44418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44421
44422
44423 fi
44424 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44425 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44426
44427 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44428 wxUSE_SOCKETS=no
44429 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44430 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44431 else
44432 cat >>confdefs.h <<_ACEOF
44433 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44434 _ACEOF
44435
44436 fi
44437 fi
44438 fi
44439
44440 if test "$wxUSE_SOCKETS" = "yes" ; then
44441 if test "$wxUSE_IPV6" = "yes"; then
44442 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44443 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44444 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44445 echo $ECHO_N "(cached) $ECHO_C" >&6
44446 else
44447
44448 cat >conftest.$ac_ext <<_ACEOF
44449 /* confdefs.h. */
44450 _ACEOF
44451 cat confdefs.h >>conftest.$ac_ext
44452 cat >>conftest.$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44454
44455 #include <sys/types.h>
44456 #include <sys/socket.h>
44457 #include <netinet/in.h>
44458
44459 int
44460 main ()
44461 {
44462
44463 struct sockaddr_in6 sa6;
44464
44465 ;
44466 return 0;
44467 }
44468 _ACEOF
44469 rm -f conftest.$ac_objext
44470 if { (ac_try="$ac_compile"
44471 case "(($ac_try" in
44472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44473 *) ac_try_echo=$ac_try;;
44474 esac
44475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44476 (eval "$ac_compile") 2>conftest.er1
44477 ac_status=$?
44478 grep -v '^ *+' conftest.er1 >conftest.err
44479 rm -f conftest.er1
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } && {
44483 test -z "$ac_c_werror_flag" ||
44484 test ! -s conftest.err
44485 } && test -s conftest.$ac_objext; then
44486 wx_cv_type_sockaddr_in6=yes
44487 else
44488 echo "$as_me: failed program was:" >&5
44489 sed 's/^/| /' conftest.$ac_ext >&5
44490
44491 wx_cv_type_sockaddr_in6=no
44492
44493 fi
44494
44495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44496
44497
44498 fi
44499 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44500 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44501
44502 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44503 cat >>confdefs.h <<\_ACEOF
44504 #define wxUSE_IPV6 1
44505 _ACEOF
44506
44507 else
44508 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44509 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44510 fi
44511 fi
44512
44513 cat >>confdefs.h <<\_ACEOF
44514 #define wxUSE_SOCKETS 1
44515 _ACEOF
44516
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44518 fi
44519
44520 if test "$wxUSE_PROTOCOL" = "yes"; then
44521 if test "$wxUSE_SOCKETS" != "yes"; then
44522 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44523 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44524 wxUSE_PROTOCOL=no
44525 fi
44526 fi
44527
44528 if test "$wxUSE_PROTOCOL" = "yes"; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_PROTOCOL 1
44531 _ACEOF
44532
44533
44534 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_PROTOCOL_HTTP 1
44537 _ACEOF
44538
44539 fi
44540 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_PROTOCOL_FTP 1
44543 _ACEOF
44544
44545 fi
44546 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_PROTOCOL_FILE 1
44549 _ACEOF
44550
44551 fi
44552 else
44553 if test "$wxUSE_FS_INET" = "yes"; then
44554 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44555 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44556 wxUSE_FS_INET="no"
44557 fi
44558 fi
44559
44560 if test "$wxUSE_URL" = "yes"; then
44561 if test "$wxUSE_PROTOCOL" != "yes"; then
44562 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44563 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44564 wxUSE_URL=no
44565 fi
44566 if test "$wxUSE_URL" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_URL 1
44569 _ACEOF
44570
44571 fi
44572 fi
44573
44574 if test "$wxUSE_VARIANT" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_VARIANT 1
44577 _ACEOF
44578
44579 fi
44580
44581 if test "$wxUSE_WEAKREF" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_WEAKREF 1
44584 _ACEOF
44585
44586 fi
44587
44588 if test "$wxUSE_FS_INET" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_FS_INET 1
44591 _ACEOF
44592
44593 fi
44594
44595
44596 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44597 wxUSE_JOYSTICK=no
44598
44599 if test "$TOOLKIT" = "MSW"; then
44600 wxUSE_JOYSTICK=yes
44601
44602 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44603 if test "$USE_DARWIN" = 1; then
44604 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44605 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44606 ac_ext=cpp
44607 ac_cpp='$CXXCPP $CPPFLAGS'
44608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44611
44612 cat >conftest.$ac_ext <<_ACEOF
44613 /* confdefs.h. */
44614 _ACEOF
44615 cat confdefs.h >>conftest.$ac_ext
44616 cat >>conftest.$ac_ext <<_ACEOF
44617 /* end confdefs.h. */
44618 #include <IOKit/hid/IOHIDLib.h>
44619 int
44620 main ()
44621 {
44622 IOHIDQueueInterface *qi = NULL;
44623 IOHIDCallbackFunction cb = NULL;
44624 qi->setEventCallout(NULL, cb, NULL, NULL);
44625 ;
44626 return 0;
44627 }
44628 _ACEOF
44629 rm -f conftest.$ac_objext
44630 if { (ac_try="$ac_compile"
44631 case "(($ac_try" in
44632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44633 *) ac_try_echo=$ac_try;;
44634 esac
44635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44636 (eval "$ac_compile") 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } && {
44643 test -z "$ac_cxx_werror_flag" ||
44644 test ! -s conftest.err
44645 } && test -s conftest.$ac_objext; then
44646 wxUSE_JOYSTICK=yes
44647
44648 else
44649 echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.$ac_ext >&5
44651
44652
44653 fi
44654
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656 ac_ext=c
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44661
44662 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44663 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44664 fi
44665
44666 else
44667 if test "$wxUSE_MGL" != 1; then
44668
44669 for ac_header in linux/joystick.h
44670 do
44671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44675 echo $ECHO_N "(cached) $ECHO_C" >&6
44676 else
44677 cat >conftest.$ac_ext <<_ACEOF
44678 /* confdefs.h. */
44679 _ACEOF
44680 cat confdefs.h >>conftest.$ac_ext
44681 cat >>conftest.$ac_ext <<_ACEOF
44682 /* end confdefs.h. */
44683 $ac_includes_default
44684
44685 #include <$ac_header>
44686 _ACEOF
44687 rm -f conftest.$ac_objext
44688 if { (ac_try="$ac_compile"
44689 case "(($ac_try" in
44690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44691 *) ac_try_echo=$ac_try;;
44692 esac
44693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44694 (eval "$ac_compile") 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } && {
44701 test -z "$ac_c_werror_flag" ||
44702 test ! -s conftest.err
44703 } && test -s conftest.$ac_objext; then
44704 eval "$as_ac_Header=yes"
44705 else
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44708
44709 eval "$as_ac_Header=no"
44710 fi
44711
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 fi
44714 ac_res=`eval echo '${'$as_ac_Header'}'`
44715 { echo "$as_me:$LINENO: result: $ac_res" >&5
44716 echo "${ECHO_T}$ac_res" >&6; }
44717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44718 cat >>confdefs.h <<_ACEOF
44719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44720 _ACEOF
44721 wxUSE_JOYSTICK=yes
44722 fi
44723
44724 done
44725
44726 fi
44727 fi
44728
44729 if test "$wxUSE_JOYSTICK" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_JOYSTICK 1
44732 _ACEOF
44733
44734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44735 else
44736 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44737 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44738 fi
44739 fi
44740
44741
44742
44743 if test "$wxUSE_FONTENUM" = "yes" ; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_FONTENUM 1
44746 _ACEOF
44747
44748 fi
44749
44750 if test "$wxUSE_FONTMAP" = "yes" ; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_FONTMAP 1
44753 _ACEOF
44754
44755 fi
44756
44757 if test "$wxUSE_UNICODE" = "yes" ; then
44758 cat >>confdefs.h <<\_ACEOF
44759 #define wxUSE_UNICODE 1
44760 _ACEOF
44761
44762
44763 if test "$USE_WIN32" != 1; then
44764 wxUSE_UNICODE_MSLU=no
44765 fi
44766
44767 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44768 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44769 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44770 if test "${ac_cv_lib_unicows_main+set}" = set; then
44771 echo $ECHO_N "(cached) $ECHO_C" >&6
44772 else
44773 ac_check_lib_save_LIBS=$LIBS
44774 LIBS="-lunicows $LIBS"
44775 cat >conftest.$ac_ext <<_ACEOF
44776 /* confdefs.h. */
44777 _ACEOF
44778 cat confdefs.h >>conftest.$ac_ext
44779 cat >>conftest.$ac_ext <<_ACEOF
44780 /* end confdefs.h. */
44781
44782
44783 int
44784 main ()
44785 {
44786 return main ();
44787 ;
44788 return 0;
44789 }
44790 _ACEOF
44791 rm -f conftest.$ac_objext conftest$ac_exeext
44792 if { (ac_try="$ac_link"
44793 case "(($ac_try" in
44794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44795 *) ac_try_echo=$ac_try;;
44796 esac
44797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44798 (eval "$ac_link") 2>conftest.er1
44799 ac_status=$?
44800 grep -v '^ *+' conftest.er1 >conftest.err
44801 rm -f conftest.er1
44802 cat conftest.err >&5
44803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44804 (exit $ac_status); } && {
44805 test -z "$ac_c_werror_flag" ||
44806 test ! -s conftest.err
44807 } && test -s conftest$ac_exeext &&
44808 $as_test_x conftest$ac_exeext; then
44809 ac_cv_lib_unicows_main=yes
44810 else
44811 echo "$as_me: failed program was:" >&5
44812 sed 's/^/| /' conftest.$ac_ext >&5
44813
44814 ac_cv_lib_unicows_main=no
44815 fi
44816
44817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44818 conftest$ac_exeext conftest.$ac_ext
44819 LIBS=$ac_check_lib_save_LIBS
44820 fi
44821 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44822 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44823 if test $ac_cv_lib_unicows_main = yes; then
44824
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_UNICODE_MSLU 1
44827 _ACEOF
44828
44829
44830 else
44831
44832 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44833 Applications will only run on Windows NT/2000/XP!" >&5
44834 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44835 Applications will only run on Windows NT/2000/XP!" >&2;}
44836 wxUSE_UNICODE_MSLU=no
44837
44838 fi
44839
44840 fi
44841 fi
44842
44843 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_UNICODE_UTF8 1
44846 _ACEOF
44847
44848
44849 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_UTF8_LOCALE_ONLY 1
44852 _ACEOF
44853
44854 fi
44855 fi
44856
44857
44858 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_CONSTRAINTS 1
44861 _ACEOF
44862
44863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44864 fi
44865
44866 if test "$wxUSE_MDI" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_MDI 1
44869 _ACEOF
44870
44871
44872 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44873 cat >>confdefs.h <<\_ACEOF
44874 #define wxUSE_MDI_ARCHITECTURE 1
44875 _ACEOF
44876
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44878 fi
44879 fi
44880
44881 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44884 _ACEOF
44885
44886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44887 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44889 fi
44890 fi
44891
44892 if test "$wxUSE_HELP" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_HELP 1
44895 _ACEOF
44896
44897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44898
44899 if test "$wxUSE_MSW" = 1; then
44900 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_MS_HTML_HELP 1
44903 _ACEOF
44904
44905 fi
44906 fi
44907
44908 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44909 if test "$wxUSE_HTML" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_WXHTML_HELP 1
44912 _ACEOF
44913
44914 else
44915 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44916 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44917 wxUSE_WXHTML_HELP=no
44918 fi
44919 fi
44920 fi
44921
44922 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44923 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44924 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44925 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44926 else
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_PRINTING_ARCHITECTURE 1
44929 _ACEOF
44930
44931 fi
44932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44933 fi
44934
44935 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_POSTSCRIPT 1
44938 _ACEOF
44939
44940 fi
44941
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44944 _ACEOF
44945
44946
44947 if test "$wxUSE_SVG" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_SVG 1
44950 _ACEOF
44951
44952 fi
44953
44954
44955 if test "$wxUSE_METAFILE" = "yes"; then
44956 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44957 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44958 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44959 wxUSE_METAFILE=no
44960 fi
44961 fi
44962
44963
44964 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44965 -o "$wxUSE_CLIPBOARD" = "yes" \
44966 -o "$wxUSE_OLE" = "yes" \
44967 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44968 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44969 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44970 if test "${ac_cv_header_ole2_h+set}" = set; then
44971 echo $ECHO_N "(cached) $ECHO_C" >&6
44972 else
44973 cat >conftest.$ac_ext <<_ACEOF
44974 /* confdefs.h. */
44975 _ACEOF
44976 cat confdefs.h >>conftest.$ac_ext
44977 cat >>conftest.$ac_ext <<_ACEOF
44978 /* end confdefs.h. */
44979
44980
44981 #include <ole2.h>
44982 _ACEOF
44983 rm -f conftest.$ac_objext
44984 if { (ac_try="$ac_compile"
44985 case "(($ac_try" in
44986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44987 *) ac_try_echo=$ac_try;;
44988 esac
44989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44990 (eval "$ac_compile") 2>conftest.er1
44991 ac_status=$?
44992 grep -v '^ *+' conftest.er1 >conftest.err
44993 rm -f conftest.er1
44994 cat conftest.err >&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); } && {
44997 test -z "$ac_c_werror_flag" ||
44998 test ! -s conftest.err
44999 } && test -s conftest.$ac_objext; then
45000 ac_cv_header_ole2_h=yes
45001 else
45002 echo "$as_me: failed program was:" >&5
45003 sed 's/^/| /' conftest.$ac_ext >&5
45004
45005 ac_cv_header_ole2_h=no
45006 fi
45007
45008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45009 fi
45010 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45011 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45012
45013
45014
45015 if test "$ac_cv_header_ole2_h" = "yes" ; then
45016 if test "$GCC" = yes ; then
45017 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45018 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45019 cat >conftest.$ac_ext <<_ACEOF
45020 /* confdefs.h. */
45021 _ACEOF
45022 cat confdefs.h >>conftest.$ac_ext
45023 cat >>conftest.$ac_ext <<_ACEOF
45024 /* end confdefs.h. */
45025 #include <windows.h>
45026 #include <ole2.h>
45027 int
45028 main ()
45029 {
45030
45031 ;
45032 return 0;
45033 }
45034 _ACEOF
45035 rm -f conftest.$ac_objext
45036 if { (ac_try="$ac_compile"
45037 case "(($ac_try" in
45038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45039 *) ac_try_echo=$ac_try;;
45040 esac
45041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45042 (eval "$ac_compile") 2>conftest.er1
45043 ac_status=$?
45044 grep -v '^ *+' conftest.er1 >conftest.err
45045 rm -f conftest.er1
45046 cat conftest.err >&5
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); } && {
45049 test -z "$ac_c_werror_flag" ||
45050 test ! -s conftest.err
45051 } && test -s conftest.$ac_objext; then
45052 { echo "$as_me:$LINENO: result: no" >&5
45053 echo "${ECHO_T}no" >&6; }
45054 else
45055 echo "$as_me: failed program was:" >&5
45056 sed 's/^/| /' conftest.$ac_ext >&5
45057
45058 { echo "$as_me:$LINENO: result: yes" >&5
45059 echo "${ECHO_T}yes" >&6; }
45060 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45061 fi
45062
45063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45064 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45065 if test "$wxUSE_OLE" = "yes" ; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_OLE 1
45068 _ACEOF
45069
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_OLE_AUTOMATION 1
45072 _ACEOF
45073
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_ACTIVEX 1
45076 _ACEOF
45077
45078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45079 fi
45080 fi
45081
45082 if test "$wxUSE_DATAOBJ" = "yes" ; then
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_DATAOBJ 1
45085 _ACEOF
45086
45087 fi
45088 else
45089 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45090 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45091
45092 wxUSE_CLIPBOARD=no
45093 wxUSE_DRAG_AND_DROP=no
45094 wxUSE_DATAOBJ=no
45095 wxUSE_OLE=no
45096 fi
45097
45098 if test "$wxUSE_METAFILE" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_METAFILE 1
45101 _ACEOF
45102
45103
45104 cat >>confdefs.h <<\_ACEOF
45105 #define wxUSE_ENH_METAFILE 1
45106 _ACEOF
45107
45108 fi
45109 fi
45110
45111 if test "$wxUSE_IPC" = "yes"; then
45112 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45113 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45114 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45115 wxUSE_IPC=no
45116 fi
45117
45118 if test "$wxUSE_IPC" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_IPC 1
45121 _ACEOF
45122
45123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45124 fi
45125 fi
45126
45127 if test "$wxUSE_DATAOBJ" = "yes"; then
45128 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45129 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45130 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45131 wxUSE_DATAOBJ=no
45132 else
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_DATAOBJ 1
45135 _ACEOF
45136
45137 fi
45138 else
45139 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45140 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45141 wxUSE_CLIPBOARD=no
45142 wxUSE_DRAG_AND_DROP=no
45143 fi
45144
45145 if test "$wxUSE_CLIPBOARD" = "yes"; then
45146 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45147 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45148 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45149 wxUSE_CLIPBOARD=no
45150 fi
45151
45152 if test "$wxUSE_CLIPBOARD" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_CLIPBOARD 1
45155 _ACEOF
45156
45157 fi
45158 fi
45159
45160 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45161 if test "$wxUSE_GTK" = 1; then
45162 if test "$WXGTK12" != 1; then
45163 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45164 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45165 wxUSE_DRAG_AND_DROP=no
45166 fi
45167 fi
45168
45169 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45170 "$wxUSE_DFB" = 1; then
45171 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45172 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45173 wxUSE_DRAG_AND_DROP=no
45174 fi
45175
45176 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_DRAG_AND_DROP 1
45179 _ACEOF
45180
45181 fi
45182
45183 fi
45184
45185 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45187 fi
45188
45189 if test "$wxUSE_SPLINES" = "yes" ; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_SPLINES 1
45192 _ACEOF
45193
45194 fi
45195
45196 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_MOUSEWHEEL 1
45199 _ACEOF
45200
45201 fi
45202
45203
45204 USES_CONTROLS=0
45205 if test "$wxUSE_CONTROLS" = "yes"; then
45206 USES_CONTROLS=1
45207 fi
45208
45209 if test "$wxUSE_ACCEL" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_ACCEL 1
45212 _ACEOF
45213
45214 USES_CONTROLS=1
45215 fi
45216
45217 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45218 cat >>confdefs.h <<\_ACEOF
45219 #define wxUSE_ANIMATIONCTRL 1
45220 _ACEOF
45221
45222 USES_CONTROLS=1
45223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45224 fi
45225
45226 if test "$wxUSE_BUTTON" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_BUTTON 1
45229 _ACEOF
45230
45231 USES_CONTROLS=1
45232 fi
45233
45234 if test "$wxUSE_BMPBUTTON" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_BMPBUTTON 1
45237 _ACEOF
45238
45239 USES_CONTROLS=1
45240 fi
45241
45242 if test "$wxUSE_CALCTRL" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_CALENDARCTRL 1
45245 _ACEOF
45246
45247 USES_CONTROLS=1
45248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45249 fi
45250
45251 if test "$wxUSE_CARET" = "yes"; then
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_CARET 1
45254 _ACEOF
45255
45256 USES_CONTROLS=1
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45258 fi
45259
45260 if test "$wxUSE_COLLPANE" = "yes"; then
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_COLLPANE 1
45263 _ACEOF
45264
45265 USES_CONTROLS=1
45266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45267 fi
45268
45269 if test "$wxUSE_COMBOBOX" = "yes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxUSE_COMBOBOX 1
45272 _ACEOF
45273
45274 USES_CONTROLS=1
45275 fi
45276
45277 if test "$wxUSE_COMBOCTRL" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_COMBOCTRL 1
45280 _ACEOF
45281
45282 USES_CONTROLS=1
45283 fi
45284
45285 if test "$wxUSE_CHOICE" = "yes"; then
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_CHOICE 1
45288 _ACEOF
45289
45290 USES_CONTROLS=1
45291 fi
45292
45293 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_CHOICEBOOK 1
45296 _ACEOF
45297
45298 USES_CONTROLS=1
45299 fi
45300
45301 if test "$wxUSE_CHECKBOX" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_CHECKBOX 1
45304 _ACEOF
45305
45306 USES_CONTROLS=1
45307 fi
45308
45309 if test "$wxUSE_CHECKLST" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_CHECKLISTBOX 1
45312 _ACEOF
45313
45314 USES_CONTROLS=1
45315 fi
45316
45317 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_COLOURPICKERCTRL 1
45320 _ACEOF
45321
45322 USES_CONTROLS=1
45323 fi
45324
45325 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_DATEPICKCTRL 1
45328 _ACEOF
45329
45330 USES_CONTROLS=1
45331 fi
45332
45333 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_DIRPICKERCTRL 1
45336 _ACEOF
45337
45338 USES_CONTROLS=1
45339 fi
45340
45341 if test "$wxUSE_FILECTRL" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_FILECTRL 1
45344 _ACEOF
45345
45346 USES_CONTROLS=1
45347 fi
45348
45349 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_FILEPICKERCTRL 1
45352 _ACEOF
45353
45354 USES_CONTROLS=1
45355 fi
45356
45357 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_FONTPICKERCTRL 1
45360 _ACEOF
45361
45362 USES_CONTROLS=1
45363 fi
45364
45365 if test "$wxUSE_DISPLAY" = "yes"; then
45366 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45367 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45368 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45369 wxUSE_DISPLAY=no
45370 else
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_DISPLAY 1
45373 _ACEOF
45374
45375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45376 fi
45377 fi
45378
45379 if test "$wxUSE_DETECT_SM" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_DETECT_SM 1
45382 _ACEOF
45383
45384 fi
45385
45386 if test "$wxUSE_GAUGE" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_GAUGE 1
45389 _ACEOF
45390
45391 USES_CONTROLS=1
45392 fi
45393
45394 if test "$wxUSE_GRID" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_GRID 1
45397 _ACEOF
45398
45399 USES_CONTROLS=1
45400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45401 fi
45402
45403 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_HYPERLINKCTRL 1
45406 _ACEOF
45407
45408 USES_CONTROLS=1
45409 fi
45410
45411 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_BITMAPCOMBOBOX 1
45414 _ACEOF
45415
45416 USES_CONTROLS=1
45417 fi
45418
45419 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_DATAVIEWCTRL 1
45422 _ACEOF
45423
45424 USES_CONTROLS=1
45425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45426 fi
45427
45428 if test "$wxUSE_IMAGLIST" = "yes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_IMAGLIST 1
45431 _ACEOF
45432
45433 fi
45434
45435 if test "$wxUSE_LISTBOOK" = "yes"; then
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_LISTBOOK 1
45438 _ACEOF
45439
45440 USES_CONTROLS=1
45441 fi
45442
45443 if test "$wxUSE_LISTBOX" = "yes"; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_LISTBOX 1
45446 _ACEOF
45447
45448 USES_CONTROLS=1
45449 fi
45450
45451 if test "$wxUSE_LISTCTRL" = "yes"; then
45452 if test "$wxUSE_IMAGLIST" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_LISTCTRL 1
45455 _ACEOF
45456
45457 USES_CONTROLS=1
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45459 else
45460 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45461 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45462 fi
45463 fi
45464
45465 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_EDITABLELISTBOX 1
45468 _ACEOF
45469
45470 USES_CONTROLS=1
45471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45472 fi
45473
45474 if test "$wxUSE_NOTEBOOK" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_NOTEBOOK 1
45477 _ACEOF
45478
45479 USES_CONTROLS=1
45480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45481 fi
45482
45483 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_NOTIFICATION_MESSAGE 1
45486 _ACEOF
45487
45488 fi
45489
45490 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_ODCOMBOBOX 1
45493 _ACEOF
45494
45495 USES_CONTROLS=1
45496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45497 fi
45498
45499 if test "$wxUSE_RADIOBOX" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_RADIOBOX 1
45502 _ACEOF
45503
45504 USES_CONTROLS=1
45505 fi
45506
45507 if test "$wxUSE_RADIOBTN" = "yes"; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_RADIOBTN 1
45510 _ACEOF
45511
45512 USES_CONTROLS=1
45513 fi
45514
45515 if test "$wxUSE_SASH" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_SASH 1
45518 _ACEOF
45519
45520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45521 fi
45522
45523 if test "$wxUSE_SCROLLBAR" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_SCROLLBAR 1
45526 _ACEOF
45527
45528 USES_CONTROLS=1
45529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45530 fi
45531
45532 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_SEARCHCTRL 1
45535 _ACEOF
45536
45537 USES_CONTROLS=1
45538 fi
45539
45540 if test "$wxUSE_SLIDER" = "yes"; then
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_SLIDER 1
45543 _ACEOF
45544
45545 USES_CONTROLS=1
45546 fi
45547
45548 if test "$wxUSE_SPINBTN" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_SPINBTN 1
45551 _ACEOF
45552
45553 USES_CONTROLS=1
45554 fi
45555
45556 if test "$wxUSE_SPINCTRL" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_SPINCTRL 1
45559 _ACEOF
45560
45561 USES_CONTROLS=1
45562 fi
45563
45564 if test "$wxUSE_SPLITTER" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_SPLITTER 1
45567 _ACEOF
45568
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45570 fi
45571
45572 if test "$wxUSE_STATBMP" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_STATBMP 1
45575 _ACEOF
45576
45577 USES_CONTROLS=1
45578 fi
45579
45580 if test "$wxUSE_STATBOX" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_STATBOX 1
45583 _ACEOF
45584
45585 USES_CONTROLS=1
45586 fi
45587
45588 if test "$wxUSE_STATTEXT" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_STATTEXT 1
45591 _ACEOF
45592
45593 USES_CONTROLS=1
45594 fi
45595
45596 if test "$wxUSE_STATLINE" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_STATLINE 1
45599 _ACEOF
45600
45601 USES_CONTROLS=1
45602 fi
45603
45604 if test "$wxUSE_STATUSBAR" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_NATIVE_STATUSBAR 1
45607 _ACEOF
45608
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_STATUSBAR 1
45611 _ACEOF
45612
45613 USES_CONTROLS=1
45614
45615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45616 fi
45617
45618 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_TAB_DIALOG 1
45621 _ACEOF
45622
45623 fi
45624
45625 if test "$wxUSE_TEXTCTRL" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_TEXTCTRL 1
45628 _ACEOF
45629
45630 USES_CONTROLS=1
45631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45632
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_RICHEDIT 1
45635 _ACEOF
45636
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_RICHEDIT2 1
45639 _ACEOF
45640
45641 fi
45642
45643 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45644 if test "$wxUSE_COCOA" = 1 ; then
45645 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45646 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45647 wxUSE_TOGGLEBTN=no
45648 fi
45649
45650 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_TOGGLEBTN 1
45653 _ACEOF
45654
45655 USES_CONTROLS=1
45656 fi
45657 fi
45658
45659 if test "$wxUSE_TOOLBAR" = "yes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_TOOLBAR 1
45662 _ACEOF
45663
45664 USES_CONTROLS=1
45665
45666 if test "$wxUSE_UNIVERSAL" = "yes"; then
45667 wxUSE_TOOLBAR_NATIVE="no"
45668 else
45669 wxUSE_TOOLBAR_NATIVE="yes"
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_TOOLBAR_NATIVE 1
45672 _ACEOF
45673
45674 fi
45675
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45677 fi
45678
45679 if test "$wxUSE_TOOLTIPS" = "yes"; then
45680 if test "$wxUSE_MOTIF" = 1; then
45681 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45682 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45683 else
45684 if test "$wxUSE_UNIVERSAL" = "yes"; then
45685 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45686 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45687 else
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_TOOLTIPS 1
45690 _ACEOF
45691
45692 fi
45693 fi
45694 fi
45695
45696 if test "$wxUSE_TREEBOOK" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_TREEBOOK 1
45699 _ACEOF
45700
45701 USES_CONTROLS=1
45702 fi
45703
45704 if test "$wxUSE_TOOLBOOK" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_TOOLBOOK 1
45707 _ACEOF
45708
45709 USES_CONTROLS=1
45710 fi
45711
45712 if test "$wxUSE_TREECTRL" = "yes"; then
45713 if test "$wxUSE_IMAGLIST" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_TREECTRL 1
45716 _ACEOF
45717
45718 USES_CONTROLS=1
45719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45720 else
45721 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45722 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45723 fi
45724 fi
45725
45726 if test "$wxUSE_POPUPWIN" = "yes"; then
45727 if test "$wxUSE_COCOA" = 1 ; then
45728 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45729 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45730 else
45731 if test "$wxUSE_PM" = 1; then
45732 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45733 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45734 else
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_POPUPWIN 1
45737 _ACEOF
45738
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45740
45741 USES_CONTROLS=1
45742 fi
45743 fi
45744 fi
45745
45746 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45747 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45748 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45749 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45750 else
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_DIALUP_MANAGER 1
45753 _ACEOF
45754
45755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45756 fi
45757 fi
45758
45759 if test "$wxUSE_TIPWINDOW" = "yes"; then
45760 if test "$wxUSE_PM" = 1; then
45761 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45762 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45763 else
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_TIPWINDOW 1
45766 _ACEOF
45767
45768 fi
45769 fi
45770
45771 if test "$USES_CONTROLS" = 1; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_CONTROLS 1
45774 _ACEOF
45775
45776 fi
45777
45778
45779 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_ACCESSIBILITY 1
45782 _ACEOF
45783
45784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45785 fi
45786
45787 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_DRAGIMAGE 1
45790 _ACEOF
45791
45792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45793 fi
45794
45795 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45796 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45797 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45798 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45799 else
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_EXCEPTIONS 1
45802 _ACEOF
45803
45804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45805 fi
45806 fi
45807
45808 USE_HTML=0
45809 if test "$wxUSE_HTML" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_HTML 1
45812 _ACEOF
45813
45814 USE_HTML=1
45815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45816 if test "$wxUSE_MAC" = 1; then
45817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45818 fi
45819 fi
45820 if test "$wxUSE_WEBKIT" = "yes"; then
45821 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45822 old_CPPFLAGS="$CPPFLAGS"
45823 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45824 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45825 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45826 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45827 echo $ECHO_N "(cached) $ECHO_C" >&6
45828 else
45829 cat >conftest.$ac_ext <<_ACEOF
45830 /* confdefs.h. */
45831 _ACEOF
45832 cat confdefs.h >>conftest.$ac_ext
45833 cat >>conftest.$ac_ext <<_ACEOF
45834 /* end confdefs.h. */
45835
45836 #include <Carbon/Carbon.h>
45837 #include <WebKit/WebKit.h>
45838
45839
45840 #include <WebKit/HIWebView.h>
45841 _ACEOF
45842 rm -f conftest.$ac_objext
45843 if { (ac_try="$ac_compile"
45844 case "(($ac_try" in
45845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45846 *) ac_try_echo=$ac_try;;
45847 esac
45848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45849 (eval "$ac_compile") 2>conftest.er1
45850 ac_status=$?
45851 grep -v '^ *+' conftest.er1 >conftest.err
45852 rm -f conftest.er1
45853 cat conftest.err >&5
45854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45855 (exit $ac_status); } && {
45856 test -z "$ac_c_werror_flag" ||
45857 test ! -s conftest.err
45858 } && test -s conftest.$ac_objext; then
45859 ac_cv_header_WebKit_HIWebView_h=yes
45860 else
45861 echo "$as_me: failed program was:" >&5
45862 sed 's/^/| /' conftest.$ac_ext >&5
45863
45864 ac_cv_header_WebKit_HIWebView_h=no
45865 fi
45866
45867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45868 fi
45869 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45870 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45871 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45872
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_WEBKIT 1
45875 _ACEOF
45876
45877 WEBKIT_LINK="-framework WebKit"
45878
45879 else
45880
45881 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45882 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45883 wxUSE_WEBKIT=no
45884
45885 fi
45886
45887
45888 CPPFLAGS="$old_CPPFLAGS"
45889 elif test "$wxUSE_COCOA" = 1; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_WEBKIT 1
45892 _ACEOF
45893
45894 else
45895 wxUSE_WEBKIT=no
45896 fi
45897 fi
45898
45899 USE_XRC=0
45900 if test "$wxUSE_XRC" = "yes"; then
45901 if test "$wxUSE_XML" != "yes"; then
45902 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45903 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45904 wxUSE_XRC=no
45905 else
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_XRC 1
45908 _ACEOF
45909
45910 USE_XRC=1
45911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45912 fi
45913 fi
45914
45915 USE_AUI=0
45916 if test "$wxUSE_AUI" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_AUI 1
45919 _ACEOF
45920
45921 USE_AUI=1
45922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45923 fi
45924
45925 USE_STC=0
45926 if test "$wxUSE_STC" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_STC 1
45929 _ACEOF
45930
45931 USE_STC=1
45932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45933 fi
45934
45935 if test "$wxUSE_MENUS" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_MENUS 1
45938 _ACEOF
45939
45940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45941 fi
45942
45943 if test "$wxUSE_METAFILE" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_METAFILE 1
45946 _ACEOF
45947
45948 fi
45949
45950 if test "$wxUSE_MIMETYPE" = "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_MIMETYPE 1
45953 _ACEOF
45954
45955 fi
45956
45957 if test "$wxUSE_MINIFRAME" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_MINIFRAME 1
45960 _ACEOF
45961
45962 fi
45963
45964 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_SYSTEM_OPTIONS 1
45967 _ACEOF
45968
45969 fi
45970
45971 if test "$wxUSE_TASKBARICON" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_TASKBARICON 1
45974 _ACEOF
45975
45976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45977 fi
45978
45979
45980 if test "$wxUSE_VALIDATORS" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_VALIDATORS 1
45983 _ACEOF
45984
45985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45986 fi
45987
45988 if test "$wxUSE_PALETTE" = "yes" ; then
45989 if test "$wxUSE_DFB" = 1; then
45990 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45991 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45992 wxUSE_PALETTE=no
45993 else
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_PALETTE 1
45996 _ACEOF
45997
45998 fi
45999 fi
46000
46001 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46002 LIBS=" -lunicows $LIBS"
46003 fi
46004
46005 USE_RICHTEXT=0
46006 if test "$wxUSE_RICHTEXT" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_RICHTEXT 1
46009 _ACEOF
46010
46011 USE_RICHTEXT=1
46012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46013 fi
46014
46015
46016 if test "$wxUSE_IMAGE" = "yes" ; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_IMAGE 1
46019 _ACEOF
46020
46021
46022 if test "$wxUSE_GIF" = "yes" ; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_GIF 1
46025 _ACEOF
46026
46027 fi
46028
46029 if test "$wxUSE_PCX" = "yes" ; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_PCX 1
46032 _ACEOF
46033
46034 fi
46035
46036 if test "$wxUSE_TGA" = "yes" ; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_TGA 1
46039 _ACEOF
46040
46041 fi
46042
46043 if test "$wxUSE_IFF" = "yes" ; then
46044 cat >>confdefs.h <<\_ACEOF
46045 #define wxUSE_IFF 1
46046 _ACEOF
46047
46048 fi
46049
46050 if test "$wxUSE_PNM" = "yes" ; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_PNM 1
46053 _ACEOF
46054
46055 fi
46056
46057 if test "$wxUSE_XPM" = "yes" ; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_XPM 1
46060 _ACEOF
46061
46062 fi
46063
46064 if test "$wxUSE_ICO_CUR" = "yes" ; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_ICO_CUR 1
46067 _ACEOF
46068
46069 fi
46070 fi
46071
46072
46073 if test "$wxUSE_ABOUTDLG" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_ABOUTDLG 1
46076 _ACEOF
46077
46078 fi
46079
46080 if test "$wxUSE_CHOICEDLG" = "yes"; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_CHOICEDLG 1
46083 _ACEOF
46084
46085 fi
46086
46087 if test "$wxUSE_COLOURDLG" = "yes"; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_COLOURDLG 1
46090 _ACEOF
46091
46092 fi
46093
46094 if test "$wxUSE_FILEDLG" = "yes"; then
46095 cat >>confdefs.h <<\_ACEOF
46096 #define wxUSE_FILEDLG 1
46097 _ACEOF
46098
46099 fi
46100
46101 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_FINDREPLDLG 1
46104 _ACEOF
46105
46106 fi
46107
46108 if test "$wxUSE_FONTDLG" = "yes"; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_FONTDLG 1
46111 _ACEOF
46112
46113 fi
46114
46115 if test "$wxUSE_DIRDLG" = "yes"; then
46116 if test "$wxUSE_TREECTRL" != "yes"; then
46117 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46118 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46119 else
46120 cat >>confdefs.h <<\_ACEOF
46121 #define wxUSE_DIRDLG 1
46122 _ACEOF
46123
46124 fi
46125 fi
46126
46127 if test "$wxUSE_MSGDLG" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_MSGDLG 1
46130 _ACEOF
46131
46132 fi
46133
46134 if test "$wxUSE_NUMBERDLG" = "yes"; then
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_NUMBERDLG 1
46137 _ACEOF
46138
46139 fi
46140
46141 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46142 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46143 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46144 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46145 else
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_PROGRESSDLG 1
46148 _ACEOF
46149
46150 fi
46151 fi
46152
46153 if test "$wxUSE_SPLASH" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_SPLASH 1
46156 _ACEOF
46157
46158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46159 fi
46160
46161 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46162 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46163 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46164 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46165 else
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_STARTUP_TIPS 1
46168 _ACEOF
46169
46170 fi
46171 fi
46172
46173 if test "$wxUSE_TEXTDLG" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_TEXTDLG 1
46176 _ACEOF
46177
46178 fi
46179
46180 if test "$wxUSE_WIZARDDLG" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_WIZARDDLG 1
46183 _ACEOF
46184
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46186 fi
46187
46188
46189 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46190 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46191 cat >>confdefs.h <<\_ACEOF
46192 #define wxUSE_OWNER_DRAWN 1
46193 _ACEOF
46194
46195 fi
46196 fi
46197
46198
46199 if test "$wxUSE_MSW" = 1 ; then
46200
46201 if test "$wxUSE_DC_CACHEING" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_DC_CACHEING 1
46204 _ACEOF
46205
46206 fi
46207
46208 if test "$wxUSE_DIB" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_WXDIB 1
46211 _ACEOF
46212
46213 fi
46214
46215 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46218 _ACEOF
46219
46220 fi
46221
46222 if test "$wxUSE_UXTHEME" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_UXTHEME 1
46225 _ACEOF
46226
46227 fi
46228
46229 fi
46230
46231 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_AUTOID_MANAGEMENT 1
46234 _ACEOF
46235
46236 fi
46237
46238 if test "$USE_WIN32" = 1 ; then
46239 if test "$wxUSE_INICONF" = "yes"; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_INICONF 1
46242 _ACEOF
46243
46244 fi
46245
46246 if test "$wxUSE_REGKEY" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_REGKEY 1
46249 _ACEOF
46250
46251 fi
46252 fi
46253
46254
46255 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46256 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_GRAPHICS_CONTEXT 1
46259 _ACEOF
46260
46261 elif test "$wxUSE_GTK" != 1; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_GRAPHICS_CONTEXT 1
46264 _ACEOF
46265
46266 else
46267
46268 pkg_failed=no
46269 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46270 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46271
46272 if test -n "$PKG_CONFIG"; then
46273 if test -n "$CAIRO_CFLAGS"; then
46274 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46275 else
46276 if test -n "$PKG_CONFIG" && \
46277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46278 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46279 ac_status=$?
46280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281 (exit $ac_status); }; then
46282 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46283 else
46284 pkg_failed=yes
46285 fi
46286 fi
46287 else
46288 pkg_failed=untried
46289 fi
46290 if test -n "$PKG_CONFIG"; then
46291 if test -n "$CAIRO_LIBS"; then
46292 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46293 else
46294 if test -n "$PKG_CONFIG" && \
46295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46296 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; then
46300 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46301 else
46302 pkg_failed=yes
46303 fi
46304 fi
46305 else
46306 pkg_failed=untried
46307 fi
46308
46309
46310
46311 if test $pkg_failed = yes; then
46312
46313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46314 _pkg_short_errors_supported=yes
46315 else
46316 _pkg_short_errors_supported=no
46317 fi
46318 if test $_pkg_short_errors_supported = yes; then
46319 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46320 else
46321 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46322 fi
46323 # Put the nasty error message in config.log where it belongs
46324 echo "$CAIRO_PKG_ERRORS" >&5
46325
46326 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46327 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46328
46329 elif test $pkg_failed = untried; then
46330 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46331 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46332
46333 else
46334 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46335 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46336 { echo "$as_me:$LINENO: result: yes" >&5
46337 echo "${ECHO_T}yes" >&6; }
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_GRAPHICS_CONTEXT 1
46340 _ACEOF
46341
46342 fi
46343 fi
46344 fi
46345
46346
46347 USE_MEDIA=0
46348
46349 if test "$wxUSE_MEDIACTRL" = "yes"; then
46350 USE_MEDIA=1
46351
46352 if test "$wxUSE_GTK" = 1; then
46353 wxUSE_GSTREAMER="no"
46354
46355 GST_VERSION_MAJOR=0
46356 GST_VERSION_MINOR=10
46357 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46358
46359 if test "$wxUSE_GSTREAMER8" = "no"; then
46360
46361 pkg_failed=no
46362 { echo "$as_me:$LINENO: checking for GST" >&5
46363 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46364
46365 if test -n "$PKG_CONFIG"; then
46366 if test -n "$GST_CFLAGS"; then
46367 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46368 else
46369 if test -n "$PKG_CONFIG" && \
46370 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46371 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46372 ac_status=$?
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); }; then
46375 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46376 else
46377 pkg_failed=yes
46378 fi
46379 fi
46380 else
46381 pkg_failed=untried
46382 fi
46383 if test -n "$PKG_CONFIG"; then
46384 if test -n "$GST_LIBS"; then
46385 pkg_cv_GST_LIBS="$GST_LIBS"
46386 else
46387 if test -n "$PKG_CONFIG" && \
46388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46389 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46390 ac_status=$?
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); }; then
46393 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46394 else
46395 pkg_failed=yes
46396 fi
46397 fi
46398 else
46399 pkg_failed=untried
46400 fi
46401
46402
46403
46404 if test $pkg_failed = yes; then
46405
46406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46407 _pkg_short_errors_supported=yes
46408 else
46409 _pkg_short_errors_supported=no
46410 fi
46411 if test $_pkg_short_errors_supported = yes; then
46412 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46413 else
46414 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46415 fi
46416 # Put the nasty error message in config.log where it belongs
46417 echo "$GST_PKG_ERRORS" >&5
46418
46419
46420 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46421 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46422 GST_VERSION_MINOR=8
46423
46424
46425 elif test $pkg_failed = untried; then
46426
46427 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46428 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46429 GST_VERSION_MINOR=8
46430
46431
46432 else
46433 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46434 GST_LIBS=$pkg_cv_GST_LIBS
46435 { echo "$as_me:$LINENO: result: yes" >&5
46436 echo "${ECHO_T}yes" >&6; }
46437
46438 wxUSE_GSTREAMER="yes"
46439 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46440
46441 fi
46442 else
46443 GST_VERSION_MINOR=8
46444 fi
46445
46446 if test $GST_VERSION_MINOR = "8"; then
46447 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46448
46449 pkg_failed=no
46450 { echo "$as_me:$LINENO: checking for GST" >&5
46451 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46452
46453 if test -n "$PKG_CONFIG"; then
46454 if test -n "$GST_CFLAGS"; then
46455 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46456 else
46457 if test -n "$PKG_CONFIG" && \
46458 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46459 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46460 ac_status=$?
46461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46462 (exit $ac_status); }; then
46463 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46464 else
46465 pkg_failed=yes
46466 fi
46467 fi
46468 else
46469 pkg_failed=untried
46470 fi
46471 if test -n "$PKG_CONFIG"; then
46472 if test -n "$GST_LIBS"; then
46473 pkg_cv_GST_LIBS="$GST_LIBS"
46474 else
46475 if test -n "$PKG_CONFIG" && \
46476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46477 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46478 ac_status=$?
46479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46480 (exit $ac_status); }; then
46481 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46482 else
46483 pkg_failed=yes
46484 fi
46485 fi
46486 else
46487 pkg_failed=untried
46488 fi
46489
46490
46491
46492 if test $pkg_failed = yes; then
46493
46494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46495 _pkg_short_errors_supported=yes
46496 else
46497 _pkg_short_errors_supported=no
46498 fi
46499 if test $_pkg_short_errors_supported = yes; then
46500 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46501 else
46502 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46503 fi
46504 # Put the nasty error message in config.log where it belongs
46505 echo "$GST_PKG_ERRORS" >&5
46506
46507
46508 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46509 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46510
46511 elif test $pkg_failed = untried; then
46512
46513 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46514 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46515
46516 else
46517 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46518 GST_LIBS=$pkg_cv_GST_LIBS
46519 { echo "$as_me:$LINENO: result: yes" >&5
46520 echo "${ECHO_T}yes" >&6; }
46521 wxUSE_GSTREAMER="yes"
46522 fi
46523 fi
46524
46525
46526 if test "$wxUSE_GSTREAMER" = "yes"; then
46527 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46528 EXTRALIBS_MEDIA="$GST_LIBS"
46529
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_GSTREAMER 1
46532 _ACEOF
46533
46534 else
46535 USE_MEDIA=0
46536 fi
46537 fi
46538
46539 if test $USE_MEDIA = 1; then
46540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_MEDIACTRL 1
46543 _ACEOF
46544
46545 fi
46546 fi
46547
46548
46549 if test "$cross_compiling" = "yes"; then
46550 OSINFO="\"$host\""
46551 else
46552 OSINFO=`uname -s -r -m`
46553 OSINFO="\"$OSINFO\""
46554 fi
46555
46556 cat >>confdefs.h <<_ACEOF
46557 #define WXWIN_OS_DESCRIPTION $OSINFO
46558 _ACEOF
46559
46560
46561
46562 if test "x$prefix" != "xNONE"; then
46563 wxPREFIX=$prefix
46564 else
46565 wxPREFIX=$ac_default_prefix
46566 fi
46567
46568 cat >>confdefs.h <<_ACEOF
46569 #define wxINSTALL_PREFIX "$wxPREFIX"
46570 _ACEOF
46571
46572
46573
46574
46575 STD_BASE_LIBS="base"
46576 STD_GUI_LIBS=""
46577 BUILT_WX_LIBS="base"
46578 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46579
46580 if test "$wxUSE_SOCKETS" = "yes" ; then
46581 STD_BASE_LIBS="net $STD_BASE_LIBS"
46582 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46583 fi
46584 if test "$wxUSE_XML" = "yes" ; then
46585 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46586 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46587 fi
46588
46589 if test "$wxUSE_GUI" = "yes"; then
46590 STD_GUI_LIBS="adv core"
46591 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46592
46593 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46594 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46595 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46596 fi
46597 if test "$wxUSE_HTML" = "yes" ; then
46598 STD_GUI_LIBS="html $STD_GUI_LIBS"
46599 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46600 fi
46601 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46602 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46603 fi
46604 if test "$wxUSE_OPENGL" = "yes" ; then
46605 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46606 fi
46607 if test "$wxUSE_AUI" = "yes" ; then
46608 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46609 fi
46610 if test "$wxUSE_STC" = "yes" ; then
46611 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46612 fi
46613 if test "$wxUSE_XRC" = "yes" ; then
46614 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46615 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46616 fi
46617 fi
46618
46619
46620
46621
46622
46623
46624
46625
46626 if test "$wxUSE_MAC" = 1 ; then
46627 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46628 if test "$USE_DARWIN" = 1; then
46629 LDFLAGS="$LDFLAGS -framework QuickTime"
46630 else
46631 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46632 fi
46633 fi
46634 if test "$USE_DARWIN" = 1; then
46635 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46636 else
46637 LDFLAGS="$LDFLAGS -lCarbonLib"
46638 fi
46639 fi
46640 if test "$wxUSE_COCOA" = 1 ; then
46641 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46642 if test "$wxUSE_MEDIACTRL" = "yes"; then
46643 LDFLAGS="$LDFLAGS -framework QuickTime"
46644 fi
46645 fi
46646 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46647 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46648 fi
46649
46650 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46651
46652 if test "$wxUSE_GUI" = "yes"; then
46653
46654
46655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46656 erase event exec font image minimal mobile \
46657 mobile/wxedit mobile/styles render \
46658 shaped svg taborder vscroll widgets"
46659
46660 if test "$wxUSE_MONOLITHIC" != "yes"; then
46661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46662 fi
46663 if test "$TOOLKIT" = "MSW"; then
46664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46665 if test "$wxUSE_UNIVERSAL" != "yes"; then
46666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46667 fi
46668 fi
46669 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46671 fi
46672 else
46673 SAMPLES_SUBDIRS="console"
46674 if test "$wxUSE_SOCKETS" = "yes" ; then
46675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46676 fi
46677 if test "$wxUSE_IPC" = "yes" ; then
46678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46679 fi
46680 fi
46681
46682
46683 if test "x$INTELCC" = "xyes" ; then
46684 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46685 elif test "$GCC" = yes ; then
46686 CWARNINGS="-Wall -Wundef"
46687 fi
46688
46689 if test "x$INTELCXX" = "xyes" ; then
46690 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46691 elif test "$GXX" = yes ; then
46692 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46693 fi
46694
46695
46696 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46697 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46698
46699
46700 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46701 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46702 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46703 $CPPFLAGS `
46704
46705 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46706 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46707 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46708 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46709 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46710
46711 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46712
46713
46714 if test "x$MWCC" = "xyes"; then
46715
46716 CC="$CC -cwd source -I-"
46717 CXX="$CXX -cwd source -I-"
46718 fi
46719
46720
46721 LIBS=`echo $LIBS`
46722 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46723 EXTRALIBS_XML="$EXPAT_LINK"
46724 EXTRALIBS_HTML="$MSPACK_LINK"
46725 EXTRALIBS_MEDIA="$GST_LIBS"
46726 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46727 if test "$wxUSE_GUI" = "yes"; then
46728 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46729 fi
46730 if test "$wxUSE_OPENGL" = "yes"; then
46731 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46732 fi
46733
46734 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46735
46736 WXCONFIG_LIBS="$LIBS"
46737
46738 if test "$wxUSE_REGEX" = "builtin" ; then
46739 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46740 fi
46741 if test "$wxUSE_EXPAT" = "builtin" ; then
46742 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46743 fi
46744 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46745 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46746 fi
46747 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46748 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46749 fi
46750 if test "$wxUSE_LIBPNG" = "builtin" ; then
46751 wxconfig_3rdparty="png $wxconfig_3rdparty"
46752 fi
46753 if test "$wxUSE_ZLIB" = "builtin" ; then
46754 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46755 fi
46756
46757 for i in $wxconfig_3rdparty ; do
46758 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46759 done
46760
46761
46762 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46763 WXUNIV=1
46764
46765 case "$wxUNIV_THEMES" in
46766 ''|all)
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_ALL_THEMES 1
46769 _ACEOF
46770
46771 ;;
46772
46773 *)
46774 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46775 cat >>confdefs.h <<_ACEOF
46776 #define wxUSE_THEME_$t 1
46777 _ACEOF
46778
46779 done
46780 esac
46781 else
46782 WXUNIV=0
46783 fi
46784
46785
46786
46787
46788
46789
46790
46791
46792 if test $wxUSE_MONOLITHIC = "yes" ; then
46793 MONOLITHIC=1
46794 else
46795 MONOLITHIC=0
46796 fi
46797
46798 if test $wxUSE_PLUGINS = "yes" ; then
46799 USE_PLUGINS=1
46800 else
46801 USE_PLUGINS=0
46802 fi
46803
46804 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46805 USE_QA=1
46806 else
46807 USE_QA=0
46808 fi
46809
46810 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46811 OFFICIAL_BUILD=1
46812 else
46813 OFFICIAL_BUILD=0
46814 fi
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46844
46845
46846
46847
46848
46849
46850
46851
46852 case "$TOOLKIT" in
46853 GTK)
46854 TOOLKIT_DESC="GTK+"
46855 if test "$WXGTK2" = 1; then
46856 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46857 if test "$wxUSE_GTKPRINT" = "yes" ; then
46858 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46859 fi
46860 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46861 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46862 fi
46863 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46864 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46865 fi
46866 if test "$wxUSE_LIBHILDON" = "yes"; then
46867 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46868 fi
46869
46870 if test "$TOOLKIT_EXTRA" != ""; then
46871 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46872 fi
46873 fi
46874 ;;
46875
46876 ?*)
46877 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46878 ;;
46879
46880 *)
46881 TOOLKIT_DESC="base only"
46882 ;;
46883 esac
46884
46885 if test "$wxUSE_WINE" = "yes"; then
46886 BAKEFILE_FORCE_PLATFORM=win32
46887 fi
46888
46889 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46890 then
46891 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46892 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46893 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46895 else
46896
46897 echo '#include <stdio.h>
46898 const wchar_t test_var[] = L"awidetest";' > conftest.h
46899
46900 echo '#include "conftest.h"
46901 int main()
46902 {
46903 printf("%ls", test_var);
46904 return 0;
46905 }' > conftest.cpp
46906
46907 wx_cv_gcc_pch_bug="pch not supported"
46908
46909 if $CXX conftest.h >/dev/null 2>&1
46910 then
46911 wx_cv_gcc_pch_bug=
46912
46913 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46914 then
46915 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46916 grep awidetest >/dev/null
46917 then
46918 wx_cv_gcc_pch_bug=no
46919 else
46920 wx_cv_gcc_pch_bug=yes
46921 fi
46922 fi
46923 fi
46924
46925 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46926
46927 fi
46928 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46929 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46930
46931 if test "$wx_cv_gcc_pch_bug" = yes; then
46932 bk_use_pch=no
46933 fi
46934 fi
46935
46936
46937
46938
46939
46940
46941
46942 if test "x$BAKEFILE_HOST" = "x"; then
46943 if test "x${host}" = "x" ; then
46944 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46945 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46946 { (exit 1); exit 1; }; }
46947 fi
46948
46949 BAKEFILE_HOST="${host}"
46950 fi
46951
46952 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46953
46954 if test -n "$ac_tool_prefix"; then
46955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46956 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46959 if test "${ac_cv_prog_RANLIB+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46961 else
46962 if test -n "$RANLIB"; then
46963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46964 else
46965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46966 for as_dir in $PATH
46967 do
46968 IFS=$as_save_IFS
46969 test -z "$as_dir" && as_dir=.
46970 for ac_exec_ext in '' $ac_executable_extensions; do
46971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46972 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46974 break 2
46975 fi
46976 done
46977 done
46978 IFS=$as_save_IFS
46979
46980 fi
46981 fi
46982 RANLIB=$ac_cv_prog_RANLIB
46983 if test -n "$RANLIB"; then
46984 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46985 echo "${ECHO_T}$RANLIB" >&6; }
46986 else
46987 { echo "$as_me:$LINENO: result: no" >&5
46988 echo "${ECHO_T}no" >&6; }
46989 fi
46990
46991
46992 fi
46993 if test -z "$ac_cv_prog_RANLIB"; then
46994 ac_ct_RANLIB=$RANLIB
46995 # Extract the first word of "ranlib", so it can be a program name with args.
46996 set dummy ranlib; ac_word=$2
46997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46999 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47001 else
47002 if test -n "$ac_ct_RANLIB"; then
47003 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47004 else
47005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47006 for as_dir in $PATH
47007 do
47008 IFS=$as_save_IFS
47009 test -z "$as_dir" && as_dir=.
47010 for ac_exec_ext in '' $ac_executable_extensions; do
47011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47012 ac_cv_prog_ac_ct_RANLIB="ranlib"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47014 break 2
47015 fi
47016 done
47017 done
47018 IFS=$as_save_IFS
47019
47020 fi
47021 fi
47022 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47023 if test -n "$ac_ct_RANLIB"; then
47024 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47025 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47026 else
47027 { echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6; }
47029 fi
47030
47031 if test "x$ac_ct_RANLIB" = x; then
47032 RANLIB=":"
47033 else
47034 case $cross_compiling:$ac_tool_warned in
47035 yes:)
47036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47037 whose name does not start with the host triplet. If you think this
47038 configuration is useful to you, please write to autoconf@gnu.org." >&5
47039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47040 whose name does not start with the host triplet. If you think this
47041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47042 ac_tool_warned=yes ;;
47043 esac
47044 RANLIB=$ac_ct_RANLIB
47045 fi
47046 else
47047 RANLIB="$ac_cv_prog_RANLIB"
47048 fi
47049
47050 # Find a good install program. We prefer a C program (faster),
47051 # so one script is as good as another. But avoid the broken or
47052 # incompatible versions:
47053 # SysV /etc/install, /usr/sbin/install
47054 # SunOS /usr/etc/install
47055 # IRIX /sbin/install
47056 # AIX /bin/install
47057 # AmigaOS /C/install, which installs bootblocks on floppy discs
47058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47061 # OS/2's system install, which has a completely different semantic
47062 # ./install, which can be erroneously created by make from ./install.sh.
47063 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47065 if test -z "$INSTALL"; then
47066 if test "${ac_cv_path_install+set}" = set; then
47067 echo $ECHO_N "(cached) $ECHO_C" >&6
47068 else
47069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47070 for as_dir in $PATH
47071 do
47072 IFS=$as_save_IFS
47073 test -z "$as_dir" && as_dir=.
47074 # Account for people who put trailing slashes in PATH elements.
47075 case $as_dir/ in
47076 ./ | .// | /cC/* | \
47077 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47078 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47079 /usr/ucb/* ) ;;
47080 *)
47081 # OSF1 and SCO ODT 3.0 have their own names for install.
47082 # Don't use installbsd from OSF since it installs stuff as root
47083 # by default.
47084 for ac_prog in ginstall scoinst install; do
47085 for ac_exec_ext in '' $ac_executable_extensions; do
47086 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47087 if test $ac_prog = install &&
47088 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47089 # AIX install. It has an incompatible calling convention.
47090 :
47091 elif test $ac_prog = install &&
47092 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47093 # program-specific install script used by HP pwplus--don't use.
47094 :
47095 else
47096 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47097 break 3
47098 fi
47099 fi
47100 done
47101 done
47102 ;;
47103 esac
47104 done
47105 IFS=$as_save_IFS
47106
47107
47108 fi
47109 if test "${ac_cv_path_install+set}" = set; then
47110 INSTALL=$ac_cv_path_install
47111 else
47112 # As a last resort, use the slow shell script. Don't cache a
47113 # value for INSTALL within a source directory, because that will
47114 # break other packages using the cache if that directory is
47115 # removed, or if the value is a relative name.
47116 INSTALL=$ac_install_sh
47117 fi
47118 fi
47119 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47120 echo "${ECHO_T}$INSTALL" >&6; }
47121
47122 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47123 # It thinks the first close brace ends the variable substitution.
47124 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47125
47126 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47127
47128 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47129
47130 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47131 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47132 LN_S=$as_ln_s
47133 if test "$LN_S" = "ln -s"; then
47134 { echo "$as_me:$LINENO: result: yes" >&5
47135 echo "${ECHO_T}yes" >&6; }
47136 else
47137 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47138 echo "${ECHO_T}no, using $LN_S" >&6; }
47139 fi
47140
47141
47142 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47143 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47144 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47145 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47146 echo $ECHO_N "(cached) $ECHO_C" >&6
47147 else
47148 cat >conftest.make <<\_ACEOF
47149 SHELL = /bin/sh
47150 all:
47151 @echo '@@@%%%=$(MAKE)=@@@%%%'
47152 _ACEOF
47153 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47154 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47155 *@@@%%%=?*=@@@%%%*)
47156 eval ac_cv_prog_make_${ac_make}_set=yes;;
47157 *)
47158 eval ac_cv_prog_make_${ac_make}_set=no;;
47159 esac
47160 rm -f conftest.make
47161 fi
47162 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47163 { echo "$as_me:$LINENO: result: yes" >&5
47164 echo "${ECHO_T}yes" >&6; }
47165 SET_MAKE=
47166 else
47167 { echo "$as_me:$LINENO: result: no" >&5
47168 echo "${ECHO_T}no" >&6; }
47169 SET_MAKE="MAKE=${MAKE-make}"
47170 fi
47171
47172
47173
47174 if test "x$SUNCXX" = "xyes"; then
47175 AR=$CXX
47176 AROPTIONS="-xar -o"
47177
47178 elif test "x$SGICC" = "xyes"; then
47179 AR=$CXX
47180 AROPTIONS="-ar -o"
47181
47182 else
47183 if test -n "$ac_tool_prefix"; then
47184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47185 set dummy ${ac_tool_prefix}ar; ac_word=$2
47186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47188 if test "${ac_cv_prog_AR+set}" = set; then
47189 echo $ECHO_N "(cached) $ECHO_C" >&6
47190 else
47191 if test -n "$AR"; then
47192 ac_cv_prog_AR="$AR" # Let the user override the test.
47193 else
47194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47195 for as_dir in $PATH
47196 do
47197 IFS=$as_save_IFS
47198 test -z "$as_dir" && as_dir=.
47199 for ac_exec_ext in '' $ac_executable_extensions; do
47200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47201 ac_cv_prog_AR="${ac_tool_prefix}ar"
47202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47203 break 2
47204 fi
47205 done
47206 done
47207 IFS=$as_save_IFS
47208
47209 fi
47210 fi
47211 AR=$ac_cv_prog_AR
47212 if test -n "$AR"; then
47213 { echo "$as_me:$LINENO: result: $AR" >&5
47214 echo "${ECHO_T}$AR" >&6; }
47215 else
47216 { echo "$as_me:$LINENO: result: no" >&5
47217 echo "${ECHO_T}no" >&6; }
47218 fi
47219
47220
47221 fi
47222 if test -z "$ac_cv_prog_AR"; then
47223 ac_ct_AR=$AR
47224 # Extract the first word of "ar", so it can be a program name with args.
47225 set dummy ar; ac_word=$2
47226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47228 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47229 echo $ECHO_N "(cached) $ECHO_C" >&6
47230 else
47231 if test -n "$ac_ct_AR"; then
47232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47233 else
47234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47235 for as_dir in $PATH
47236 do
47237 IFS=$as_save_IFS
47238 test -z "$as_dir" && as_dir=.
47239 for ac_exec_ext in '' $ac_executable_extensions; do
47240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47241 ac_cv_prog_ac_ct_AR="ar"
47242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47243 break 2
47244 fi
47245 done
47246 done
47247 IFS=$as_save_IFS
47248
47249 fi
47250 fi
47251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47252 if test -n "$ac_ct_AR"; then
47253 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47254 echo "${ECHO_T}$ac_ct_AR" >&6; }
47255 else
47256 { echo "$as_me:$LINENO: result: no" >&5
47257 echo "${ECHO_T}no" >&6; }
47258 fi
47259
47260 if test "x$ac_ct_AR" = x; then
47261 AR="ar"
47262 else
47263 case $cross_compiling:$ac_tool_warned in
47264 yes:)
47265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47266 whose name does not start with the host triplet. If you think this
47267 configuration is useful to you, please write to autoconf@gnu.org." >&5
47268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47269 whose name does not start with the host triplet. If you think this
47270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47271 ac_tool_warned=yes ;;
47272 esac
47273 AR=$ac_ct_AR
47274 fi
47275 else
47276 AR="$ac_cv_prog_AR"
47277 fi
47278
47279 AROPTIONS=rcu
47280 fi
47281
47282
47283 if test -n "$ac_tool_prefix"; then
47284 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47285 set dummy ${ac_tool_prefix}strip; ac_word=$2
47286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47288 if test "${ac_cv_prog_STRIP+set}" = set; then
47289 echo $ECHO_N "(cached) $ECHO_C" >&6
47290 else
47291 if test -n "$STRIP"; then
47292 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47293 else
47294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47295 for as_dir in $PATH
47296 do
47297 IFS=$as_save_IFS
47298 test -z "$as_dir" && as_dir=.
47299 for ac_exec_ext in '' $ac_executable_extensions; do
47300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47301 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47303 break 2
47304 fi
47305 done
47306 done
47307 IFS=$as_save_IFS
47308
47309 fi
47310 fi
47311 STRIP=$ac_cv_prog_STRIP
47312 if test -n "$STRIP"; then
47313 { echo "$as_me:$LINENO: result: $STRIP" >&5
47314 echo "${ECHO_T}$STRIP" >&6; }
47315 else
47316 { echo "$as_me:$LINENO: result: no" >&5
47317 echo "${ECHO_T}no" >&6; }
47318 fi
47319
47320
47321 fi
47322 if test -z "$ac_cv_prog_STRIP"; then
47323 ac_ct_STRIP=$STRIP
47324 # Extract the first word of "strip", so it can be a program name with args.
47325 set dummy strip; ac_word=$2
47326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47328 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47329 echo $ECHO_N "(cached) $ECHO_C" >&6
47330 else
47331 if test -n "$ac_ct_STRIP"; then
47332 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47333 else
47334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47335 for as_dir in $PATH
47336 do
47337 IFS=$as_save_IFS
47338 test -z "$as_dir" && as_dir=.
47339 for ac_exec_ext in '' $ac_executable_extensions; do
47340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47341 ac_cv_prog_ac_ct_STRIP="strip"
47342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47343 break 2
47344 fi
47345 done
47346 done
47347 IFS=$as_save_IFS
47348
47349 fi
47350 fi
47351 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47352 if test -n "$ac_ct_STRIP"; then
47353 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47354 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47355 else
47356 { echo "$as_me:$LINENO: result: no" >&5
47357 echo "${ECHO_T}no" >&6; }
47358 fi
47359
47360 if test "x$ac_ct_STRIP" = x; then
47361 STRIP=":"
47362 else
47363 case $cross_compiling:$ac_tool_warned in
47364 yes:)
47365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47366 whose name does not start with the host triplet. If you think this
47367 configuration is useful to you, please write to autoconf@gnu.org." >&5
47368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47369 whose name does not start with the host triplet. If you think this
47370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47371 ac_tool_warned=yes ;;
47372 esac
47373 STRIP=$ac_ct_STRIP
47374 fi
47375 else
47376 STRIP="$ac_cv_prog_STRIP"
47377 fi
47378
47379 if test -n "$ac_tool_prefix"; then
47380 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47381 set dummy ${ac_tool_prefix}nm; ac_word=$2
47382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47384 if test "${ac_cv_prog_NM+set}" = set; then
47385 echo $ECHO_N "(cached) $ECHO_C" >&6
47386 else
47387 if test -n "$NM"; then
47388 ac_cv_prog_NM="$NM" # Let the user override the test.
47389 else
47390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47391 for as_dir in $PATH
47392 do
47393 IFS=$as_save_IFS
47394 test -z "$as_dir" && as_dir=.
47395 for ac_exec_ext in '' $ac_executable_extensions; do
47396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47397 ac_cv_prog_NM="${ac_tool_prefix}nm"
47398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47399 break 2
47400 fi
47401 done
47402 done
47403 IFS=$as_save_IFS
47404
47405 fi
47406 fi
47407 NM=$ac_cv_prog_NM
47408 if test -n "$NM"; then
47409 { echo "$as_me:$LINENO: result: $NM" >&5
47410 echo "${ECHO_T}$NM" >&6; }
47411 else
47412 { echo "$as_me:$LINENO: result: no" >&5
47413 echo "${ECHO_T}no" >&6; }
47414 fi
47415
47416
47417 fi
47418 if test -z "$ac_cv_prog_NM"; then
47419 ac_ct_NM=$NM
47420 # Extract the first word of "nm", so it can be a program name with args.
47421 set dummy nm; ac_word=$2
47422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47424 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47425 echo $ECHO_N "(cached) $ECHO_C" >&6
47426 else
47427 if test -n "$ac_ct_NM"; then
47428 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47429 else
47430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47431 for as_dir in $PATH
47432 do
47433 IFS=$as_save_IFS
47434 test -z "$as_dir" && as_dir=.
47435 for ac_exec_ext in '' $ac_executable_extensions; do
47436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47437 ac_cv_prog_ac_ct_NM="nm"
47438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47439 break 2
47440 fi
47441 done
47442 done
47443 IFS=$as_save_IFS
47444
47445 fi
47446 fi
47447 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47448 if test -n "$ac_ct_NM"; then
47449 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47450 echo "${ECHO_T}$ac_ct_NM" >&6; }
47451 else
47452 { echo "$as_me:$LINENO: result: no" >&5
47453 echo "${ECHO_T}no" >&6; }
47454 fi
47455
47456 if test "x$ac_ct_NM" = x; then
47457 NM=":"
47458 else
47459 case $cross_compiling:$ac_tool_warned in
47460 yes:)
47461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47462 whose name does not start with the host triplet. If you think this
47463 configuration is useful to you, please write to autoconf@gnu.org." >&5
47464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47465 whose name does not start with the host triplet. If you think this
47466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47467 ac_tool_warned=yes ;;
47468 esac
47469 NM=$ac_ct_NM
47470 fi
47471 else
47472 NM="$ac_cv_prog_NM"
47473 fi
47474
47475
47476 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47477 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47478 INSTALL_TEST_DIR=acbftest$$
47479 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47480 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47481 rmdir $INSTALL_TEST_DIR
47482 INSTALL_DIR='$(INSTALL) -d'
47483 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47484 echo "${ECHO_T}$INSTALL -d" >&6; }
47485 else
47486 INSTALL_DIR="mkdir -p"
47487 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47488 echo "${ECHO_T}mkdir -p" >&6; }
47489 fi
47490
47491
47492 LDFLAGS_GUI=
47493 case ${BAKEFILE_HOST} in
47494 *-*-cygwin* | *-*-mingw32* )
47495 LDFLAGS_GUI="-mwindows"
47496 esac
47497
47498
47499 fi
47500
47501 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47502 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47503 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47504 echo $ECHO_N "(cached) $ECHO_C" >&6
47505 else
47506
47507 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47508 egrep -s GNU > /dev/null); then
47509 bakefile_cv_prog_makeisgnu="yes"
47510 else
47511 bakefile_cv_prog_makeisgnu="no"
47512 fi
47513
47514 fi
47515 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47516 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47517
47518 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47519 IF_GNU_MAKE=""
47520 else
47521 IF_GNU_MAKE="#"
47522 fi
47523
47524
47525
47526 PLATFORM_UNIX=0
47527 PLATFORM_WIN32=0
47528 PLATFORM_MSDOS=0
47529 PLATFORM_MAC=0
47530 PLATFORM_MACOS=0
47531 PLATFORM_MACOSX=0
47532 PLATFORM_OS2=0
47533 PLATFORM_BEOS=0
47534
47535 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47536 case "${BAKEFILE_HOST}" in
47537 *-*-mingw32* )
47538 PLATFORM_WIN32=1
47539 ;;
47540 *-pc-msdosdjgpp )
47541 PLATFORM_MSDOS=1
47542 ;;
47543 *-pc-os2_emx | *-pc-os2-emx )
47544 PLATFORM_OS2=1
47545 ;;
47546 *-*-darwin* )
47547 PLATFORM_MAC=1
47548 PLATFORM_MACOSX=1
47549 ;;
47550 *-*-beos* )
47551 PLATFORM_BEOS=1
47552 ;;
47553 powerpc-apple-macos* )
47554 PLATFORM_MAC=1
47555 PLATFORM_MACOS=1
47556 ;;
47557 * )
47558 PLATFORM_UNIX=1
47559 ;;
47560 esac
47561 else
47562 case "$BAKEFILE_FORCE_PLATFORM" in
47563 win32 )
47564 PLATFORM_WIN32=1
47565 ;;
47566 msdos )
47567 PLATFORM_MSDOS=1
47568 ;;
47569 os2 )
47570 PLATFORM_OS2=1
47571 ;;
47572 darwin )
47573 PLATFORM_MAC=1
47574 PLATFORM_MACOSX=1
47575 ;;
47576 unix )
47577 PLATFORM_UNIX=1
47578 ;;
47579 beos )
47580 PLATFORM_BEOS=1
47581 ;;
47582 * )
47583 ;;
47584 esac
47585 fi
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597 # Check whether --enable-omf was given.
47598 if test "${enable_omf+set}" = set; then
47599 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47600 fi
47601
47602
47603 case "${BAKEFILE_HOST}" in
47604 *-*-darwin* )
47605 if test "x$GCC" = "xyes"; then
47606 CFLAGS="$CFLAGS -fno-common"
47607 CXXFLAGS="$CXXFLAGS -fno-common"
47608 fi
47609 if test "x$XLCC" = "xyes"; then
47610 CFLAGS="$CFLAGS -qnocommon"
47611 CXXFLAGS="$CXXFLAGS -qnocommon"
47612 fi
47613 ;;
47614
47615 *-pc-os2_emx | *-pc-os2-emx )
47616 if test "x$bk_os2_use_omf" = "xyes" ; then
47617 AR=emxomfar
47618 RANLIB=:
47619 LDFLAGS="-Zomf $LDFLAGS"
47620 CFLAGS="-Zomf $CFLAGS"
47621 CXXFLAGS="-Zomf $CXXFLAGS"
47622 OS2_LIBEXT="lib"
47623 else
47624 OS2_LIBEXT="a"
47625 fi
47626 ;;
47627
47628 i*86-*-beos* )
47629 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47630 ;;
47631 esac
47632
47633
47634 SO_SUFFIX="so"
47635 SO_SUFFIX_MODULE="so"
47636 EXEEXT=""
47637 LIBPREFIX="lib"
47638 LIBEXT=".a"
47639 DLLPREFIX="lib"
47640 DLLPREFIX_MODULE=""
47641 DLLIMP_SUFFIX=""
47642 dlldir="$libdir"
47643
47644 case "${BAKEFILE_HOST}" in
47645 *-hp-hpux* )
47646 SO_SUFFIX="sl"
47647 SO_SUFFIX_MODULE="sl"
47648 ;;
47649 *-*-aix* )
47650 SO_SUFFIX="a"
47651 SO_SUFFIX_MODULE="a"
47652 ;;
47653 *-*-cygwin* )
47654 SO_SUFFIX="dll"
47655 SO_SUFFIX_MODULE="dll"
47656 DLLIMP_SUFFIX="dll.a"
47657 EXEEXT=".exe"
47658 DLLPREFIX="cyg"
47659 dlldir="$bindir"
47660 ;;
47661 *-*-mingw32* )
47662 SO_SUFFIX="dll"
47663 SO_SUFFIX_MODULE="dll"
47664 DLLIMP_SUFFIX="dll.a"
47665 EXEEXT=".exe"
47666 DLLPREFIX=""
47667 dlldir="$bindir"
47668 ;;
47669 *-pc-msdosdjgpp )
47670 EXEEXT=".exe"
47671 DLLPREFIX=""
47672 dlldir="$bindir"
47673 ;;
47674 *-pc-os2_emx | *-pc-os2-emx )
47675 SO_SUFFIX="dll"
47676 SO_SUFFIX_MODULE="dll"
47677 DLLIMP_SUFFIX=$OS2_LIBEXT
47678 EXEEXT=".exe"
47679 DLLPREFIX=""
47680 LIBPREFIX=""
47681 LIBEXT=".$OS2_LIBEXT"
47682 dlldir="$bindir"
47683 ;;
47684 *-*-darwin* )
47685 SO_SUFFIX="dylib"
47686 SO_SUFFIX_MODULE="bundle"
47687 ;;
47688 esac
47689
47690 if test "x$DLLIMP_SUFFIX" = "x" ; then
47691 DLLIMP_SUFFIX="$SO_SUFFIX"
47692 fi
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705 PIC_FLAG=""
47706 if test "x$GCC" = "xyes"; then
47707 PIC_FLAG="-fPIC"
47708 fi
47709
47710 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47711 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47712 WINDOWS_IMPLIB=0
47713
47714 case "${BAKEFILE_HOST}" in
47715 *-hp-hpux* )
47716 if test "x$GCC" != "xyes"; then
47717 LDFLAGS="$LDFLAGS -L/usr/lib"
47718
47719 SHARED_LD_CC="${CC} -b -o"
47720 SHARED_LD_CXX="${CXX} -b -o"
47721 PIC_FLAG="+Z"
47722 fi
47723 ;;
47724
47725 *-*-linux* )
47726 if test "$INTELCC" = "yes"; then
47727 PIC_FLAG="-KPIC"
47728 elif test "x$SUNCXX" = "xyes"; then
47729 SHARED_LD_CC="${CC} -G -o"
47730 SHARED_LD_CXX="${CXX} -G -o"
47731 PIC_FLAG="-KPIC"
47732 fi
47733 ;;
47734
47735 *-*-solaris2* )
47736 if test "x$SUNCXX" = xyes ; then
47737 SHARED_LD_CC="${CC} -G -o"
47738 SHARED_LD_CXX="${CXX} -G -o"
47739 PIC_FLAG="-KPIC"
47740 fi
47741 ;;
47742
47743 *-*-darwin* )
47744
47745 D='$'
47746 cat <<EOF >shared-ld-sh
47747 #!/bin/sh
47748 #-----------------------------------------------------------------------------
47749 #-- Name: distrib/mac/shared-ld-sh
47750 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47751 #-- Author: Gilles Depeyrot
47752 #-- Copyright: (c) 2002 Gilles Depeyrot
47753 #-- Licence: any use permitted
47754 #-----------------------------------------------------------------------------
47755
47756 verbose=0
47757 args=""
47758 objects=""
47759 linking_flag="-dynamiclib"
47760 ldargs="-r -keep_private_externs -nostdlib"
47761
47762 if test "x${D}CXX" = "x"; then
47763 CXX="c++"
47764 fi
47765
47766 while test ${D}# -gt 0; do
47767 case ${D}1 in
47768
47769 -v)
47770 verbose=1
47771 ;;
47772
47773 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47774 # collect these options and values
47775 args="${D}{args} ${D}1 ${D}2"
47776 shift
47777 ;;
47778
47779 -arch|-isysroot)
47780 # collect these options and values
47781 ldargs="${D}{ldargs} ${D}1 ${D}2"
47782 shift
47783 ;;
47784
47785 -s|-Wl,*)
47786 # collect these load args
47787 ldargs="${D}{ldargs} ${D}1"
47788 ;;
47789
47790 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47791 # collect these options
47792 args="${D}{args} ${D}1"
47793 ;;
47794
47795 -dynamiclib|-bundle)
47796 linking_flag="${D}1"
47797 ;;
47798
47799 -*)
47800 echo "shared-ld: unhandled option '${D}1'"
47801 exit 1
47802 ;;
47803
47804 *.o | *.a | *.dylib)
47805 # collect object files
47806 objects="${D}{objects} ${D}1"
47807 ;;
47808
47809 *)
47810 echo "shared-ld: unhandled argument '${D}1'"
47811 exit 1
47812 ;;
47813
47814 esac
47815 shift
47816 done
47817
47818 status=0
47819
47820 #
47821 # Link one module containing all the others
47822 #
47823 if test ${D}{verbose} = 1; then
47824 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47825 fi
47826 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47827 status=${D}?
47828
47829 #
47830 # Link the shared library from the single module created, but only if the
47831 # previous command didn't fail:
47832 #
47833 if test ${D}{status} = 0; then
47834 if test ${D}{verbose} = 1; then
47835 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47836 fi
47837 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47838 status=${D}?
47839 fi
47840
47841 #
47842 # Remove intermediate module
47843 #
47844 rm -f master.${D}${D}.o
47845
47846 exit ${D}status
47847 EOF
47848
47849 chmod +x shared-ld-sh
47850
47851 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47852 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47853
47854
47855 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47856 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47857 if test "${bakefile_cv_gcc31+set}" = set; then
47858 echo $ECHO_N "(cached) $ECHO_C" >&6
47859 else
47860
47861 cat >conftest.$ac_ext <<_ACEOF
47862 /* confdefs.h. */
47863 _ACEOF
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h. */
47867
47868 int
47869 main ()
47870 {
47871
47872 #if (__GNUC__ < 3) || \
47873 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47874 This is old gcc
47875 #endif
47876
47877 ;
47878 return 0;
47879 }
47880 _ACEOF
47881 rm -f conftest.$ac_objext
47882 if { (ac_try="$ac_compile"
47883 case "(($ac_try" in
47884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47885 *) ac_try_echo=$ac_try;;
47886 esac
47887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47888 (eval "$ac_compile") 2>conftest.er1
47889 ac_status=$?
47890 grep -v '^ *+' conftest.er1 >conftest.err
47891 rm -f conftest.er1
47892 cat conftest.err >&5
47893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47894 (exit $ac_status); } && {
47895 test -z "$ac_c_werror_flag" ||
47896 test ! -s conftest.err
47897 } && test -s conftest.$ac_objext; then
47898
47899 bakefile_cv_gcc31=yes
47900
47901 else
47902 echo "$as_me: failed program was:" >&5
47903 sed 's/^/| /' conftest.$ac_ext >&5
47904
47905
47906 bakefile_cv_gcc31=no
47907
47908
47909 fi
47910
47911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47912
47913 fi
47914 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47915 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47916 if test "$bakefile_cv_gcc31" = "no"; then
47917 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47918 SHARED_LD_CXX="$SHARED_LD_CC"
47919 else
47920 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47921 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47922 fi
47923
47924 if test "x$GCC" == "xyes"; then
47925 PIC_FLAG="-dynamic -fPIC"
47926 fi
47927 if test "x$XLCC" = "xyes"; then
47928 PIC_FLAG="-dynamic -DPIC"
47929 fi
47930 ;;
47931
47932 *-*-aix* )
47933 if test "x$GCC" = "xyes"; then
47934 PIC_FLAG=""
47935
47936 case "${BAKEFILE_HOST}" in
47937 *-*-aix5* )
47938 LD_EXPFULL="-Wl,-bexpfull"
47939 ;;
47940 esac
47941
47942 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47943 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47944 else
47945 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47946 set dummy makeC++SharedLib; ac_word=$2
47947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47949 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47950 echo $ECHO_N "(cached) $ECHO_C" >&6
47951 else
47952 if test -n "$AIX_CXX_LD"; then
47953 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47954 else
47955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47956 for as_dir in $PATH
47957 do
47958 IFS=$as_save_IFS
47959 test -z "$as_dir" && as_dir=.
47960 for ac_exec_ext in '' $ac_executable_extensions; do
47961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47962 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47964 break 2
47965 fi
47966 done
47967 done
47968 IFS=$as_save_IFS
47969
47970 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47971 fi
47972 fi
47973 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47974 if test -n "$AIX_CXX_LD"; then
47975 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47976 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47977 else
47978 { echo "$as_me:$LINENO: result: no" >&5
47979 echo "${ECHO_T}no" >&6; }
47980 fi
47981
47982
47983 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47984 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47985 fi
47986 ;;
47987
47988 *-*-beos* )
47989 SHARED_LD_CC="${LD} -nostart -o"
47990 SHARED_LD_CXX="${LD} -nostart -o"
47991 ;;
47992
47993 *-*-irix* )
47994 if test "x$GCC" != "xyes"; then
47995 PIC_FLAG="-KPIC"
47996 fi
47997 ;;
47998
47999 *-*-cygwin* | *-*-mingw32* )
48000 PIC_FLAG=""
48001 SHARED_LD_CC="\$(CC) -shared -o"
48002 SHARED_LD_CXX="\$(CXX) -shared -o"
48003 WINDOWS_IMPLIB=1
48004 ;;
48005
48006 *-pc-os2_emx | *-pc-os2-emx )
48007 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48008 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48009 PIC_FLAG=""
48010
48011 D='$'
48012 cat <<EOF >dllar.sh
48013 #!/bin/sh
48014 #
48015 # dllar - a tool to build both a .dll and an .a file
48016 # from a set of object (.o) files for EMX/OS2.
48017 #
48018 # Written by Andrew Zabolotny, bit@freya.etu.ru
48019 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48020 #
48021 # This script will accept a set of files on the command line.
48022 # All the public symbols from the .o files will be exported into
48023 # a .DEF file, then linker will be run (through gcc) against them to
48024 # build a shared library consisting of all given .o files. All libraries
48025 # (.a) will be first decompressed into component .o files then act as
48026 # described above. You can optionally give a description (-d "description")
48027 # which will be put into .DLL. To see the list of accepted options (as well
48028 # as command-line format) simply run this program without options. The .DLL
48029 # is built to be imported by name (there is no guarantee that new versions
48030 # of the library you build will have same ordinals for same symbols).
48031 #
48032 # dllar is free software; you can redistribute it and/or modify
48033 # it under the terms of the GNU General Public License as published by
48034 # the Free Software Foundation; either version 2, or (at your option)
48035 # any later version.
48036 #
48037 # dllar is distributed in the hope that it will be useful,
48038 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48039 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48040 # GNU General Public License for more details.
48041 #
48042 # You should have received a copy of the GNU General Public License
48043 # along with dllar; see the file COPYING. If not, write to the Free
48044 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48045 # 02111-1307, USA.
48046
48047 # To successfuly run this program you will need:
48048 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48049 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48050 # - gcc
48051 # (used to build the .dll)
48052 # - emxexp
48053 # (used to create .def file from .o files)
48054 # - emximp
48055 # (used to create .a file from .def file)
48056 # - GNU text utilites (cat, sort, uniq)
48057 # used to process emxexp output
48058 # - GNU file utilities (mv, rm)
48059 # - GNU sed
48060 # - lxlite (optional, see flag below)
48061 # (used for general .dll cleanup)
48062 #
48063
48064 flag_USE_LXLITE=1;
48065
48066 #
48067 # helper functions
48068 # basnam, variant of basename, which does _not_ remove the path, _iff_
48069 # second argument (suffix to remove) is given
48070 basnam(){
48071 case ${D}# in
48072 1)
48073 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48074 ;;
48075 2)
48076 echo ${D}1 | sed 's/'${D}2'${D}//'
48077 ;;
48078 *)
48079 echo "error in basnam ${D}*"
48080 exit 8
48081 ;;
48082 esac
48083 }
48084
48085 # Cleanup temporary files and output
48086 CleanUp() {
48087 cd ${D}curDir
48088 for i in ${D}inputFiles ; do
48089 case ${D}i in
48090 *!)
48091 rm -rf \`basnam ${D}i !\`
48092 ;;
48093 *)
48094 ;;
48095 esac
48096 done
48097
48098 # Kill result in case of failure as there is just to many stupid make/nmake
48099 # things out there which doesn't do this.
48100 if [ ${D}# -eq 0 ]; then
48101 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48102 fi
48103 }
48104
48105 # Print usage and exit script with rc=1.
48106 PrintHelp() {
48107 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48108 echo ' [-name-mangler-script script.sh]'
48109 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48110 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48111 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48112 echo ' [*.o] [*.a]'
48113 echo '*> "output_file" should have no extension.'
48114 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48115 echo ' The import library name is derived from this and is set to "name".a,'
48116 echo ' unless overridden by -import'
48117 echo '*> "importlib_name" should have no extension.'
48118 echo ' If it has the .o, or .a extension, it is automatically removed.'
48119 echo ' This name is used as the import library name and may be longer and'
48120 echo ' more descriptive than the DLL name which has to follow the old '
48121 echo ' 8.3 convention of FAT.'
48122 echo '*> "script.sh may be given to override the output_file name by a'
48123 echo ' different name. It is mainly useful if the regular make process'
48124 echo ' of some package does not take into account OS/2 restriction of'
48125 echo ' DLL name lengths. It takes the importlib name as input and is'
48126 echo ' supposed to procude a shorter name as output. The script should'
48127 echo ' expect to get importlib_name without extension and should produce'
48128 echo ' a (max.) 8 letter name without extension.'
48129 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48130 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48131 echo ' These flags will be put at the start of GCC command line.'
48132 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48133 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48134 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48135 echo ' If the last character of a symbol is "*", all symbols beginning'
48136 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48137 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48138 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48139 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48140 echo ' C runtime DLLs.'
48141 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48142 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48143 echo ' unchanged to GCC at the end of command line.'
48144 echo '*> If you create a DLL from a library and you do not specify -o,'
48145 echo ' the basename for DLL and import library will be set to library name,'
48146 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48147 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48148 echo ' library will be renamed into gcc_s.a.'
48149 echo '--------'
48150 echo 'Example:'
48151 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48152 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48153 CleanUp
48154 exit 1
48155 }
48156
48157 # Execute a command.
48158 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48159 # @Uses Whatever CleanUp() uses.
48160 doCommand() {
48161 echo "${D}*"
48162 eval ${D}*
48163 rcCmd=${D}?
48164
48165 if [ ${D}rcCmd -ne 0 ]; then
48166 echo "command failed, exit code="${D}rcCmd
48167 CleanUp
48168 exit ${D}rcCmd
48169 fi
48170 }
48171
48172 # main routine
48173 # setup globals
48174 cmdLine=${D}*
48175 outFile=""
48176 outimpFile=""
48177 inputFiles=""
48178 renameScript=""
48179 description=""
48180 CC=gcc.exe
48181 CFLAGS="-s -Zcrtdll"
48182 EXTRA_CFLAGS=""
48183 EXPORT_BY_ORDINALS=0
48184 exclude_symbols=""
48185 library_flags=""
48186 curDir=\`pwd\`
48187 curDirS=curDir
48188 case ${D}curDirS in
48189 */)
48190 ;;
48191 *)
48192 curDirS=${D}{curDirS}"/"
48193 ;;
48194 esac
48195 # Parse commandline
48196 libsToLink=0
48197 omfLinking=0
48198 while [ ${D}1 ]; do
48199 case ${D}1 in
48200 -ord*)
48201 EXPORT_BY_ORDINALS=1;
48202 ;;
48203 -o*)
48204 shift
48205 outFile=${D}1
48206 ;;
48207 -i*)
48208 shift
48209 outimpFile=${D}1
48210 ;;
48211 -name-mangler-script)
48212 shift
48213 renameScript=${D}1
48214 ;;
48215 -d*)
48216 shift
48217 description=${D}1
48218 ;;
48219 -f*)
48220 shift
48221 CFLAGS=${D}1
48222 ;;
48223 -c*)
48224 shift
48225 CC=${D}1
48226 ;;
48227 -h*)
48228 PrintHelp
48229 ;;
48230 -ex*)
48231 shift
48232 exclude_symbols=${D}{exclude_symbols}${D}1" "
48233 ;;
48234 -libf*)
48235 shift
48236 library_flags=${D}{library_flags}${D}1" "
48237 ;;
48238 -nocrt*)
48239 CFLAGS="-s"
48240 ;;
48241 -nolxl*)
48242 flag_USE_LXLITE=0
48243 ;;
48244 -* | /*)
48245 case ${D}1 in
48246 -L* | -l*)
48247 libsToLink=1
48248 ;;
48249 -Zomf)
48250 omfLinking=1
48251 ;;
48252 *)
48253 ;;
48254 esac
48255 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48256 ;;
48257 *.dll)
48258 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48259 if [ ${D}omfLinking -eq 1 ]; then
48260 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48261 else
48262 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48263 fi
48264 ;;
48265 *)
48266 found=0;
48267 if [ ${D}libsToLink -ne 0 ]; then
48268 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48269 else
48270 for file in ${D}1 ; do
48271 if [ -f ${D}file ]; then
48272 inputFiles="${D}{inputFiles} ${D}file"
48273 found=1
48274 fi
48275 done
48276 if [ ${D}found -eq 0 ]; then
48277 echo "ERROR: No file(s) found: "${D}1
48278 exit 8
48279 fi
48280 fi
48281 ;;
48282 esac
48283 shift
48284 done # iterate cmdline words
48285
48286 #
48287 if [ -z "${D}inputFiles" ]; then
48288 echo "dllar: no input files"
48289 PrintHelp
48290 fi
48291
48292 # Now extract all .o files from .a files
48293 newInputFiles=""
48294 for file in ${D}inputFiles ; do
48295 case ${D}file in
48296 *.a | *.lib)
48297 case ${D}file in
48298 *.a)
48299 suffix=".a"
48300 AR="ar"
48301 ;;
48302 *.lib)
48303 suffix=".lib"
48304 AR="emxomfar"
48305 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48306 ;;
48307 *)
48308 ;;
48309 esac
48310 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48311 mkdir ${D}dirname
48312 if [ ${D}? -ne 0 ]; then
48313 echo "Failed to create subdirectory ./${D}dirname"
48314 CleanUp
48315 exit 8;
48316 fi
48317 # Append '!' to indicate archive
48318 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48319 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48320 cd ${D}curDir
48321 found=0;
48322 for subfile in ${D}dirname/*.o* ; do
48323 if [ -f ${D}subfile ]; then
48324 found=1
48325 if [ -s ${D}subfile ]; then
48326 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48327 newInputFiles="${D}newInputFiles ${D}subfile"
48328 fi
48329 fi
48330 done
48331 if [ ${D}found -eq 0 ]; then
48332 echo "WARNING: there are no files in archive \\'${D}file\\'"
48333 fi
48334 ;;
48335 *)
48336 newInputFiles="${D}{newInputFiles} ${D}file"
48337 ;;
48338 esac
48339 done
48340 inputFiles="${D}newInputFiles"
48341
48342 # Output filename(s).
48343 do_backup=0;
48344 if [ -z ${D}outFile ]; then
48345 do_backup=1;
48346 set outFile ${D}inputFiles; outFile=${D}2
48347 fi
48348
48349 # If it is an archive, remove the '!' and the '_%' suffixes
48350 case ${D}outFile in
48351 *_%!)
48352 outFile=\`basnam ${D}outFile _%!\`
48353 ;;
48354 *)
48355 ;;
48356 esac
48357 case ${D}outFile in
48358 *.dll)
48359 outFile=\`basnam ${D}outFile .dll\`
48360 ;;
48361 *.DLL)
48362 outFile=\`basnam ${D}outFile .DLL\`
48363 ;;
48364 *.o)
48365 outFile=\`basnam ${D}outFile .o\`
48366 ;;
48367 *.obj)
48368 outFile=\`basnam ${D}outFile .obj\`
48369 ;;
48370 *.a)
48371 outFile=\`basnam ${D}outFile .a\`
48372 ;;
48373 *.lib)
48374 outFile=\`basnam ${D}outFile .lib\`
48375 ;;
48376 *)
48377 ;;
48378 esac
48379 case ${D}outimpFile in
48380 *.a)
48381 outimpFile=\`basnam ${D}outimpFile .a\`
48382 ;;
48383 *.lib)
48384 outimpFile=\`basnam ${D}outimpFile .lib\`
48385 ;;
48386 *)
48387 ;;
48388 esac
48389 if [ -z ${D}outimpFile ]; then
48390 outimpFile=${D}outFile
48391 fi
48392 defFile="${D}{outFile}.def"
48393 arcFile="${D}{outimpFile}.a"
48394 arcFile2="${D}{outimpFile}.lib"
48395
48396 #create ${D}dllFile as something matching 8.3 restrictions,
48397 if [ -z ${D}renameScript ] ; then
48398 dllFile="${D}outFile"
48399 else
48400 dllFile=\`${D}renameScript ${D}outimpFile\`
48401 fi
48402
48403 if [ ${D}do_backup -ne 0 ] ; then
48404 if [ -f ${D}arcFile ] ; then
48405 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48406 fi
48407 if [ -f ${D}arcFile2 ] ; then
48408 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48409 fi
48410 fi
48411
48412 # Extract public symbols from all the object files.
48413 tmpdefFile=${D}{defFile}_%
48414 rm -f ${D}tmpdefFile
48415 for file in ${D}inputFiles ; do
48416 case ${D}file in
48417 *!)
48418 ;;
48419 *)
48420 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48421 ;;
48422 esac
48423 done
48424
48425 # Create the def file.
48426 rm -f ${D}defFile
48427 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48428 dllFile="${D}{dllFile}.dll"
48429 if [ ! -z ${D}description ]; then
48430 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48431 fi
48432 echo "EXPORTS" >> ${D}defFile
48433
48434 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48435 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48436
48437 # Checks if the export is ok or not.
48438 for word in ${D}exclude_symbols; do
48439 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48440 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48441 done
48442
48443
48444 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48445 sed "=" < ${D}tmpdefFile | \\
48446 sed '
48447 N
48448 : loop
48449 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48450 t loop
48451 ' > ${D}{tmpdefFile}%
48452 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48453 else
48454 rm -f ${D}{tmpdefFile}%
48455 fi
48456 cat ${D}tmpdefFile >> ${D}defFile
48457 rm -f ${D}tmpdefFile
48458
48459 # Do linking, create implib, and apply lxlite.
48460 gccCmdl="";
48461 for file in ${D}inputFiles ; do
48462 case ${D}file in
48463 *!)
48464 ;;
48465 *)
48466 gccCmdl="${D}gccCmdl ${D}file"
48467 ;;
48468 esac
48469 done
48470 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48471 touch "${D}{outFile}.dll"
48472
48473 doCommand "emximp -o ${D}arcFile ${D}defFile"
48474 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48475 add_flags="";
48476 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48477 add_flags="-ynd"
48478 fi
48479 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48480 fi
48481 doCommand "emxomf -s -l ${D}arcFile"
48482
48483 # Successful exit.
48484 CleanUp 1
48485 exit 0
48486 EOF
48487
48488 chmod +x dllar.sh
48489 ;;
48490
48491 powerpc-apple-macos* | \
48492 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48493 *-*-mirbsd* | \
48494 *-*-sunos4* | \
48495 *-*-osf* | \
48496 *-*-dgux5* | \
48497 *-*-sysv5* | \
48498 *-pc-msdosdjgpp )
48499 ;;
48500
48501 *)
48502 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48503 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48504 { (exit 1); exit 1; }; }
48505 esac
48506
48507 if test "x$PIC_FLAG" != "x" ; then
48508 PIC_FLAG="$PIC_FLAG -DPIC"
48509 fi
48510
48511 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48512 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48513 fi
48514 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48515 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48516 fi
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526 USE_SOVERSION=0
48527 USE_SOVERLINUX=0
48528 USE_SOVERSOLARIS=0
48529 USE_SOVERCYGWIN=0
48530 USE_SOSYMLINKS=0
48531 USE_MACVERSION=0
48532 SONAME_FLAG=
48533
48534 case "${BAKEFILE_HOST}" in
48535 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48536 *-*-k*bsd*-gnu | *-*-mirbsd* )
48537 if test "x$SUNCXX" = "xyes"; then
48538 SONAME_FLAG="-h "
48539 else
48540 SONAME_FLAG="-Wl,-soname,"
48541 fi
48542 USE_SOVERSION=1
48543 USE_SOVERLINUX=1
48544 USE_SOSYMLINKS=1
48545 ;;
48546
48547 *-*-solaris2* )
48548 SONAME_FLAG="-h "
48549 USE_SOVERSION=1
48550 USE_SOVERSOLARIS=1
48551 USE_SOSYMLINKS=1
48552 ;;
48553
48554 *-*-darwin* )
48555 USE_MACVERSION=1
48556 USE_SOVERSION=1
48557 USE_SOSYMLINKS=1
48558 ;;
48559
48560 *-*-cygwin* )
48561 USE_SOVERSION=1
48562 USE_SOVERCYGWIN=1
48563 ;;
48564 esac
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575 # Check whether --enable-dependency-tracking was given.
48576 if test "${enable_dependency_tracking+set}" = set; then
48577 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48578 fi
48579
48580
48581 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48582 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48583
48584 BK_DEPS=""
48585 if test "x$bk_use_trackdeps" = "xno" ; then
48586 DEPS_TRACKING=0
48587 { echo "$as_me:$LINENO: result: disabled" >&5
48588 echo "${ECHO_T}disabled" >&6; }
48589 else
48590 DEPS_TRACKING=1
48591
48592 if test "x$GCC" = "xyes"; then
48593 DEPSMODE=gcc
48594 case "${BAKEFILE_HOST}" in
48595 *-*-darwin* )
48596 DEPSFLAG="-no-cpp-precomp -MMD"
48597 ;;
48598 * )
48599 DEPSFLAG="-MMD"
48600 ;;
48601 esac
48602 { echo "$as_me:$LINENO: result: gcc" >&5
48603 echo "${ECHO_T}gcc" >&6; }
48604 elif test "x$MWCC" = "xyes"; then
48605 DEPSMODE=mwcc
48606 DEPSFLAG="-MM"
48607 { echo "$as_me:$LINENO: result: mwcc" >&5
48608 echo "${ECHO_T}mwcc" >&6; }
48609 elif test "x$SUNCC" = "xyes"; then
48610 DEPSMODE=unixcc
48611 DEPSFLAG="-xM1"
48612 { echo "$as_me:$LINENO: result: Sun cc" >&5
48613 echo "${ECHO_T}Sun cc" >&6; }
48614 elif test "x$SGICC" = "xyes"; then
48615 DEPSMODE=unixcc
48616 DEPSFLAG="-M"
48617 { echo "$as_me:$LINENO: result: SGI cc" >&5
48618 echo "${ECHO_T}SGI cc" >&6; }
48619 elif test "x$HPCC" = "xyes"; then
48620 DEPSMODE=unixcc
48621 DEPSFLAG="+make"
48622 { echo "$as_me:$LINENO: result: HP cc" >&5
48623 echo "${ECHO_T}HP cc" >&6; }
48624 elif test "x$COMPAQCC" = "xyes"; then
48625 DEPSMODE=gcc
48626 DEPSFLAG="-MD"
48627 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48628 echo "${ECHO_T}Compaq cc" >&6; }
48629 else
48630 DEPS_TRACKING=0
48631 { echo "$as_me:$LINENO: result: none" >&5
48632 echo "${ECHO_T}none" >&6; }
48633 fi
48634
48635 if test $DEPS_TRACKING = 1 ; then
48636
48637 D='$'
48638 cat <<EOF >bk-deps
48639 #!/bin/sh
48640
48641 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48642 # script. It is used to track C/C++ files dependencies in portable way.
48643 #
48644 # Permission is given to use this file in any way.
48645
48646 DEPSMODE=${DEPSMODE}
48647 DEPSDIR=.deps
48648 DEPSFLAG="${DEPSFLAG}"
48649
48650 mkdir -p ${D}DEPSDIR
48651
48652 if test ${D}DEPSMODE = gcc ; then
48653 ${D}* ${D}{DEPSFLAG}
48654 status=${D}?
48655
48656 # determine location of created files:
48657 while test ${D}# -gt 0; do
48658 case "${D}1" in
48659 -o )
48660 shift
48661 objfile=${D}1
48662 ;;
48663 -* )
48664 ;;
48665 * )
48666 srcfile=${D}1
48667 ;;
48668 esac
48669 shift
48670 done
48671 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48672 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48673
48674 # if the compiler failed, we're done:
48675 if test ${D}{status} != 0 ; then
48676 rm -f ${D}depfile
48677 exit ${D}{status}
48678 fi
48679
48680 # move created file to the location we want it in:
48681 if test -f ${D}depfile ; then
48682 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48683 rm -f ${D}depfile
48684 else
48685 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48686 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48687 if test ! -f ${D}depfile ; then
48688 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48689 depfile="${D}objfile.d"
48690 fi
48691 if test -f ${D}depfile ; then
48692 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48693 rm -f ${D}depfile
48694 fi
48695 fi
48696 exit 0
48697 elif test ${D}DEPSMODE = mwcc ; then
48698 ${D}* || exit ${D}?
48699 # Run mwcc again with -MM and redirect into the dep file we want
48700 # NOTE: We can't use shift here because we need ${D}* to be valid
48701 prevarg=
48702 for arg in ${D}* ; do
48703 if test "${D}prevarg" = "-o"; then
48704 objfile=${D}arg
48705 else
48706 case "${D}arg" in
48707 -* )
48708 ;;
48709 * )
48710 srcfile=${D}arg
48711 ;;
48712 esac
48713 fi
48714 prevarg="${D}arg"
48715 done
48716 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48717 exit 0
48718 elif test ${D}DEPSMODE = unixcc; then
48719 ${D}* || exit ${D}?
48720 # Run compiler again with deps flag and redirect into the dep file.
48721 # It doesn't work if the '-o FILE' option is used, but without it the
48722 # dependency file will contain the wrong name for the object. So it is
48723 # removed from the command line, and the dep file is fixed with sed.
48724 cmd=""
48725 while test ${D}# -gt 0; do
48726 case "${D}1" in
48727 -o )
48728 shift
48729 objfile=${D}1
48730 ;;
48731 * )
48732 eval arg${D}#=\\${D}1
48733 cmd="${D}cmd \\${D}arg${D}#"
48734 ;;
48735 esac
48736 shift
48737 done
48738 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48739 exit 0
48740 else
48741 ${D}*
48742 exit ${D}?
48743 fi
48744 EOF
48745
48746 chmod +x bk-deps
48747 BK_DEPS="`pwd`/bk-deps"
48748 fi
48749 fi
48750
48751
48752
48753
48754
48755 case ${BAKEFILE_HOST} in
48756 *-*-cygwin* | *-*-mingw32* )
48757 if test -n "$ac_tool_prefix"; then
48758 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48759 set dummy ${ac_tool_prefix}windres; ac_word=$2
48760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48762 if test "${ac_cv_prog_WINDRES+set}" = set; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765 if test -n "$WINDRES"; then
48766 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48767 else
48768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48769 for as_dir in $PATH
48770 do
48771 IFS=$as_save_IFS
48772 test -z "$as_dir" && as_dir=.
48773 for ac_exec_ext in '' $ac_executable_extensions; do
48774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48775 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48777 break 2
48778 fi
48779 done
48780 done
48781 IFS=$as_save_IFS
48782
48783 fi
48784 fi
48785 WINDRES=$ac_cv_prog_WINDRES
48786 if test -n "$WINDRES"; then
48787 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48788 echo "${ECHO_T}$WINDRES" >&6; }
48789 else
48790 { echo "$as_me:$LINENO: result: no" >&5
48791 echo "${ECHO_T}no" >&6; }
48792 fi
48793
48794
48795 fi
48796 if test -z "$ac_cv_prog_WINDRES"; then
48797 ac_ct_WINDRES=$WINDRES
48798 # Extract the first word of "windres", so it can be a program name with args.
48799 set dummy windres; ac_word=$2
48800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48802 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48803 echo $ECHO_N "(cached) $ECHO_C" >&6
48804 else
48805 if test -n "$ac_ct_WINDRES"; then
48806 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48807 else
48808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48809 for as_dir in $PATH
48810 do
48811 IFS=$as_save_IFS
48812 test -z "$as_dir" && as_dir=.
48813 for ac_exec_ext in '' $ac_executable_extensions; do
48814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48815 ac_cv_prog_ac_ct_WINDRES="windres"
48816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48817 break 2
48818 fi
48819 done
48820 done
48821 IFS=$as_save_IFS
48822
48823 fi
48824 fi
48825 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48826 if test -n "$ac_ct_WINDRES"; then
48827 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48828 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48829 else
48830 { echo "$as_me:$LINENO: result: no" >&5
48831 echo "${ECHO_T}no" >&6; }
48832 fi
48833
48834 if test "x$ac_ct_WINDRES" = x; then
48835 WINDRES=""
48836 else
48837 case $cross_compiling:$ac_tool_warned in
48838 yes:)
48839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48840 whose name does not start with the host triplet. If you think this
48841 configuration is useful to you, please write to autoconf@gnu.org." >&5
48842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48843 whose name does not start with the host triplet. If you think this
48844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48845 ac_tool_warned=yes ;;
48846 esac
48847 WINDRES=$ac_ct_WINDRES
48848 fi
48849 else
48850 WINDRES="$ac_cv_prog_WINDRES"
48851 fi
48852
48853 ;;
48854
48855 *-*-darwin* | powerpc-apple-macos* )
48856 # Extract the first word of "Rez", so it can be a program name with args.
48857 set dummy Rez; ac_word=$2
48858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48860 if test "${ac_cv_prog_REZ+set}" = set; then
48861 echo $ECHO_N "(cached) $ECHO_C" >&6
48862 else
48863 if test -n "$REZ"; then
48864 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48865 else
48866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48867 for as_dir in $PATH
48868 do
48869 IFS=$as_save_IFS
48870 test -z "$as_dir" && as_dir=.
48871 for ac_exec_ext in '' $ac_executable_extensions; do
48872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48873 ac_cv_prog_REZ="Rez"
48874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48875 break 2
48876 fi
48877 done
48878 done
48879 IFS=$as_save_IFS
48880
48881 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48882 fi
48883 fi
48884 REZ=$ac_cv_prog_REZ
48885 if test -n "$REZ"; then
48886 { echo "$as_me:$LINENO: result: $REZ" >&5
48887 echo "${ECHO_T}$REZ" >&6; }
48888 else
48889 { echo "$as_me:$LINENO: result: no" >&5
48890 echo "${ECHO_T}no" >&6; }
48891 fi
48892
48893
48894 # Extract the first word of "SetFile", so it can be a program name with args.
48895 set dummy SetFile; ac_word=$2
48896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48898 if test "${ac_cv_prog_SETFILE+set}" = set; then
48899 echo $ECHO_N "(cached) $ECHO_C" >&6
48900 else
48901 if test -n "$SETFILE"; then
48902 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48903 else
48904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48905 for as_dir in $PATH
48906 do
48907 IFS=$as_save_IFS
48908 test -z "$as_dir" && as_dir=.
48909 for ac_exec_ext in '' $ac_executable_extensions; do
48910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48911 ac_cv_prog_SETFILE="SetFile"
48912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48913 break 2
48914 fi
48915 done
48916 done
48917 IFS=$as_save_IFS
48918
48919 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48920 fi
48921 fi
48922 SETFILE=$ac_cv_prog_SETFILE
48923 if test -n "$SETFILE"; then
48924 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48925 echo "${ECHO_T}$SETFILE" >&6; }
48926 else
48927 { echo "$as_me:$LINENO: result: no" >&5
48928 echo "${ECHO_T}no" >&6; }
48929 fi
48930
48931
48932 ;;
48933 esac
48934
48935
48936
48937
48938
48939
48940 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
48941
48942
48943 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
48944
48945
48946
48947 # Check whether --enable-precomp-headers was given.
48948 if test "${enable_precomp_headers+set}" = set; then
48949 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48950 fi
48951
48952
48953 GCC_PCH=0
48954 ICC_PCH=0
48955 USE_PCH=0
48956 BK_MAKE_PCH=""
48957
48958 case ${BAKEFILE_HOST} in
48959 *-*-cygwin* )
48960 bk_use_pch="no"
48961 ;;
48962 esac
48963
48964 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48965 if test "x$GCC" = "xyes"; then
48966 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48967 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48968 cat >conftest.$ac_ext <<_ACEOF
48969 /* confdefs.h. */
48970 _ACEOF
48971 cat confdefs.h >>conftest.$ac_ext
48972 cat >>conftest.$ac_ext <<_ACEOF
48973 /* end confdefs.h. */
48974
48975 int
48976 main ()
48977 {
48978
48979 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48980 There is no PCH support
48981 #endif
48982 #if (__GNUC__ < 3)
48983 There is no PCH support
48984 #endif
48985 #if (__GNUC__ == 3) && \
48986 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48987 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48988 ( defined(__INTEL_COMPILER) )
48989 There is no PCH support
48990 #endif
48991
48992 ;
48993 return 0;
48994 }
48995 _ACEOF
48996 rm -f conftest.$ac_objext
48997 if { (ac_try="$ac_compile"
48998 case "(($ac_try" in
48999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49000 *) ac_try_echo=$ac_try;;
49001 esac
49002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49003 (eval "$ac_compile") 2>conftest.er1
49004 ac_status=$?
49005 grep -v '^ *+' conftest.er1 >conftest.err
49006 rm -f conftest.er1
49007 cat conftest.err >&5
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); } && {
49010 test -z "$ac_c_werror_flag" ||
49011 test ! -s conftest.err
49012 } && test -s conftest.$ac_objext; then
49013
49014 { echo "$as_me:$LINENO: result: yes" >&5
49015 echo "${ECHO_T}yes" >&6; }
49016 GCC_PCH=1
49017
49018 else
49019 echo "$as_me: failed program was:" >&5
49020 sed 's/^/| /' conftest.$ac_ext >&5
49021
49022
49023 cat >conftest.$ac_ext <<_ACEOF
49024 /* confdefs.h. */
49025 _ACEOF
49026 cat confdefs.h >>conftest.$ac_ext
49027 cat >>conftest.$ac_ext <<_ACEOF
49028 /* end confdefs.h. */
49029
49030 int
49031 main ()
49032 {
49033
49034 #if !defined(__INTEL_COMPILER) || \
49035 (__INTEL_COMPILER < 800)
49036 There is no PCH support
49037 #endif
49038
49039 ;
49040 return 0;
49041 }
49042 _ACEOF
49043 rm -f conftest.$ac_objext
49044 if { (ac_try="$ac_compile"
49045 case "(($ac_try" in
49046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49047 *) ac_try_echo=$ac_try;;
49048 esac
49049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49050 (eval "$ac_compile") 2>conftest.er1
49051 ac_status=$?
49052 grep -v '^ *+' conftest.er1 >conftest.err
49053 rm -f conftest.er1
49054 cat conftest.err >&5
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); } && {
49057 test -z "$ac_c_werror_flag" ||
49058 test ! -s conftest.err
49059 } && test -s conftest.$ac_objext; then
49060
49061 { echo "$as_me:$LINENO: result: yes" >&5
49062 echo "${ECHO_T}yes" >&6; }
49063 ICC_PCH=1
49064
49065 else
49066 echo "$as_me: failed program was:" >&5
49067 sed 's/^/| /' conftest.$ac_ext >&5
49068
49069
49070 { echo "$as_me:$LINENO: result: no" >&5
49071 echo "${ECHO_T}no" >&6; }
49072
49073 fi
49074
49075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49076
49077 fi
49078
49079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49080 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49081 USE_PCH=1
49082
49083 D='$'
49084 cat <<EOF >bk-make-pch
49085 #!/bin/sh
49086
49087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49088 # script. It is used to generated precompiled headers.
49089 #
49090 # Permission is given to use this file in any way.
49091
49092 outfile="${D}{1}"
49093 header="${D}{2}"
49094 shift
49095 shift
49096
49097 compiler=""
49098 headerfile=""
49099
49100 while test ${D}{#} -gt 0; do
49101 add_to_cmdline=1
49102 case "${D}{1}" in
49103 -I* )
49104 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49105 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49106 headerfile="${D}{incdir}/${D}{header}"
49107 fi
49108 ;;
49109 -use-pch|-use_pch )
49110 shift
49111 add_to_cmdline=0
49112 ;;
49113 esac
49114 if test ${D}add_to_cmdline = 1 ; then
49115 compiler="${D}{compiler} ${D}{1}"
49116 fi
49117 shift
49118 done
49119
49120 if test "x${D}{headerfile}" = "x" ; then
49121 echo "error: can't find header ${D}{header} in include paths" >&2
49122 else
49123 if test -f ${D}{outfile} ; then
49124 rm -f ${D}{outfile}
49125 else
49126 mkdir -p \`dirname ${D}{outfile}\`
49127 fi
49128 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49129 mkdir -p .deps
49130 if test "x${GCC_PCH}" = "x1" ; then
49131 # can do this because gcc is >= 3.4:
49132 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49133 elif test "x${ICC_PCH}" = "x1" ; then
49134 filename=pch_gen-${D}${D}
49135 file=${D}{filename}.c
49136 dfile=${D}{filename}.d
49137 cat > ${D}file <<EOT
49138 #include "${D}header"
49139 EOT
49140 # using -MF icc complains about differing command lines in creation/use
49141 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49142 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49143 rm -f ${D}file ${D}dfile ${D}{filename}.o
49144 fi
49145 exit ${D}{?}
49146 fi
49147 EOF
49148
49149 chmod +x bk-make-pch
49150 BK_MAKE_PCH="`pwd`/bk-make-pch"
49151 fi
49152 fi
49153 fi
49154
49155
49156
49157
49158
49159 COND_BUILD_DEBUG="#"
49160 if test "x$BUILD" = "xdebug" ; then
49161 COND_BUILD_DEBUG=""
49162 fi
49163
49164 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49165 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49166 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49167 fi
49168
49169 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49170 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49171 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49172 fi
49173
49174 COND_BUILD_DEBUG_UNICODE_0="#"
49175 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49176 COND_BUILD_DEBUG_UNICODE_0=""
49177 fi
49178
49179 COND_BUILD_DEBUG_UNICODE_1="#"
49180 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49181 COND_BUILD_DEBUG_UNICODE_1=""
49182 fi
49183
49184 COND_BUILD_RELEASE="#"
49185 if test "x$BUILD" = "xrelease" ; then
49186 COND_BUILD_RELEASE=""
49187 fi
49188
49189 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49190 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49191 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49192 fi
49193
49194 COND_BUILD_RELEASE_UNICODE_0="#"
49195 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49196 COND_BUILD_RELEASE_UNICODE_0=""
49197 fi
49198
49199 COND_BUILD_RELEASE_UNICODE_1="#"
49200 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49201 COND_BUILD_RELEASE_UNICODE_1=""
49202 fi
49203
49204 COND_DEBUG_FLAG_1="#"
49205 if test "x$DEBUG_FLAG" = "x1" ; then
49206 COND_DEBUG_FLAG_1=""
49207 fi
49208
49209 COND_DEBUG_INFO_0="#"
49210 if test "x$DEBUG_INFO" = "x0" ; then
49211 COND_DEBUG_INFO_0=""
49212 fi
49213
49214 COND_DEBUG_INFO_1="#"
49215 if test "x$DEBUG_INFO" = "x1" ; then
49216 COND_DEBUG_INFO_1=""
49217 fi
49218
49219 COND_DEPS_TRACKING_0="#"
49220 if test "x$DEPS_TRACKING" = "x0" ; then
49221 COND_DEPS_TRACKING_0=""
49222 fi
49223
49224 COND_DEPS_TRACKING_1="#"
49225 if test "x$DEPS_TRACKING" = "x1" ; then
49226 COND_DEPS_TRACKING_1=""
49227 fi
49228
49229 COND_GCC_PCH_1="#"
49230 if test "x$GCC_PCH" = "x1" ; then
49231 COND_GCC_PCH_1=""
49232 fi
49233
49234 COND_ICC_PCH_1="#"
49235 if test "x$ICC_PCH" = "x1" ; then
49236 COND_ICC_PCH_1=""
49237 fi
49238
49239 COND_MONOLITHIC_0="#"
49240 if test "x$MONOLITHIC" = "x0" ; then
49241 COND_MONOLITHIC_0=""
49242 fi
49243
49244 COND_MONOLITHIC_0_SHARED_0="#"
49245 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49246 COND_MONOLITHIC_0_SHARED_0=""
49247 fi
49248
49249 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49250 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49251 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49252 fi
49253
49254 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49257 fi
49258
49259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49262 fi
49263
49264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49267 fi
49268
49269 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49272 fi
49273
49274 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49276 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49277 fi
49278
49279 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49281 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49282 fi
49283
49284 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49286 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49287 fi
49288
49289 COND_MONOLITHIC_0_SHARED_1="#"
49290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49291 COND_MONOLITHIC_0_SHARED_1=""
49292 fi
49293
49294 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49296 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49297 fi
49298
49299 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49301 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49302 fi
49303
49304 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49305 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49306 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49307 fi
49308
49309 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49311 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49312 fi
49313
49314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49316 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49317 fi
49318
49319 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49321 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49322 fi
49323
49324 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49326 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49327 fi
49328
49329 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49331 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49332 fi
49333
49334 COND_MONOLITHIC_0_USE_AUI_1="#"
49335 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49336 COND_MONOLITHIC_0_USE_AUI_1=""
49337 fi
49338
49339 COND_MONOLITHIC_0_USE_GUI_1="#"
49340 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49341 COND_MONOLITHIC_0_USE_GUI_1=""
49342 fi
49343
49344 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49345 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49346 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49347 fi
49348
49349 COND_MONOLITHIC_0_USE_HTML_1="#"
49350 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49351 COND_MONOLITHIC_0_USE_HTML_1=""
49352 fi
49353
49354 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49355 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49356 COND_MONOLITHIC_0_USE_MEDIA_1=""
49357 fi
49358
49359 COND_MONOLITHIC_0_USE_QA_1="#"
49360 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49361 COND_MONOLITHIC_0_USE_QA_1=""
49362 fi
49363
49364 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49365 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49366 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49367 fi
49368
49369 COND_MONOLITHIC_0_USE_STC_1="#"
49370 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49371 COND_MONOLITHIC_0_USE_STC_1=""
49372 fi
49373
49374 COND_MONOLITHIC_0_USE_XRC_1="#"
49375 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49376 COND_MONOLITHIC_0_USE_XRC_1=""
49377 fi
49378
49379 COND_MONOLITHIC_1="#"
49380 if test "x$MONOLITHIC" = "x1" ; then
49381 COND_MONOLITHIC_1=""
49382 fi
49383
49384 COND_MONOLITHIC_1_SHARED_0="#"
49385 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49386 COND_MONOLITHIC_1_SHARED_0=""
49387 fi
49388
49389 COND_MONOLITHIC_1_SHARED_1="#"
49390 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49391 COND_MONOLITHIC_1_SHARED_1=""
49392 fi
49393
49394 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49395 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49396 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49397 fi
49398
49399 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49400 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49401 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49402 fi
49403
49404 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49405 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49406 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49407 fi
49408
49409 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49410 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49411 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49412 fi
49413
49414 COND_PLATFORM_MACOSX_1="#"
49415 if test "x$PLATFORM_MACOSX" = "x1" ; then
49416 COND_PLATFORM_MACOSX_1=""
49417 fi
49418
49419 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49420 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49421 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49422 fi
49423
49424 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49425 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49426 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49427 fi
49428
49429 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49430 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49431 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49432 fi
49433
49434 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49435 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49436 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49437 fi
49438
49439 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49440 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49441 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49442 fi
49443
49444 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49445 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49446 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49447 fi
49448
49449 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49450 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49451 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49452 fi
49453
49454 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49455 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49456 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49457 fi
49458
49459 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49460 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49461 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49462 fi
49463
49464 COND_PLATFORM_MACOS_1="#"
49465 if test "x$PLATFORM_MACOS" = "x1" ; then
49466 COND_PLATFORM_MACOS_1=""
49467 fi
49468
49469 COND_PLATFORM_MAC_0="#"
49470 if test "x$PLATFORM_MAC" = "x0" ; then
49471 COND_PLATFORM_MAC_0=""
49472 fi
49473
49474 COND_PLATFORM_MAC_1="#"
49475 if test "x$PLATFORM_MAC" = "x1" ; then
49476 COND_PLATFORM_MAC_1=""
49477 fi
49478
49479 COND_PLATFORM_MSDOS_0="#"
49480 if test "x$PLATFORM_MSDOS" = "x0" ; then
49481 COND_PLATFORM_MSDOS_0=""
49482 fi
49483
49484 COND_PLATFORM_MSDOS_1="#"
49485 if test "x$PLATFORM_MSDOS" = "x1" ; then
49486 COND_PLATFORM_MSDOS_1=""
49487 fi
49488
49489 COND_PLATFORM_OS2_1="#"
49490 if test "x$PLATFORM_OS2" = "x1" ; then
49491 COND_PLATFORM_OS2_1=""
49492 fi
49493
49494 COND_PLATFORM_UNIX_0="#"
49495 if test "x$PLATFORM_UNIX" = "x0" ; then
49496 COND_PLATFORM_UNIX_0=""
49497 fi
49498
49499 COND_PLATFORM_UNIX_1="#"
49500 if test "x$PLATFORM_UNIX" = "x1" ; then
49501 COND_PLATFORM_UNIX_1=""
49502 fi
49503
49504 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49505 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49506 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49507 fi
49508
49509 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49510 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49511 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49512 fi
49513
49514 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49515 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49516 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49517 fi
49518
49519 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49520 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49521 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49522 fi
49523
49524 COND_PLATFORM_WIN32_0="#"
49525 if test "x$PLATFORM_WIN32" = "x0" ; then
49526 COND_PLATFORM_WIN32_0=""
49527 fi
49528
49529 COND_PLATFORM_WIN32_1="#"
49530 if test "x$PLATFORM_WIN32" = "x1" ; then
49531 COND_PLATFORM_WIN32_1=""
49532 fi
49533
49534 COND_SHARED_0="#"
49535 if test "x$SHARED" = "x0" ; then
49536 COND_SHARED_0=""
49537 fi
49538
49539 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49540 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49541 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49542 fi
49543
49544 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49545 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49546 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49547 fi
49548
49549 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49550 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49551 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49552 fi
49553
49554 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49555 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49556 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49557 fi
49558
49559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49560 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49561 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49562 fi
49563
49564 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49565 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49567 fi
49568
49569 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49570 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49571 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49572 fi
49573
49574 COND_SHARED_0_USE_STC_1="#"
49575 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49576 COND_SHARED_0_USE_STC_1=""
49577 fi
49578
49579 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49580 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49581 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49582 fi
49583
49584 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49585 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49586 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49587 fi
49588
49589 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49590 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49591 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49592 fi
49593
49594 COND_SHARED_1="#"
49595 if test "x$SHARED" = "x1" ; then
49596 COND_SHARED_1=""
49597 fi
49598
49599 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49600 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49601 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49602 fi
49603
49604 COND_TOOLKIT_="#"
49605 if test "x$TOOLKIT" = "x" ; then
49606 COND_TOOLKIT_=""
49607 fi
49608
49609 COND_TOOLKIT_COCOA="#"
49610 if test "x$TOOLKIT" = "xCOCOA" ; then
49611 COND_TOOLKIT_COCOA=""
49612 fi
49613
49614 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49615 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49616 COND_TOOLKIT_COCOA_USE_GUI_1=""
49617 fi
49618
49619 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49620 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49621 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49622 fi
49623
49624 COND_TOOLKIT_DFB="#"
49625 if test "x$TOOLKIT" = "xDFB" ; then
49626 COND_TOOLKIT_DFB=""
49627 fi
49628
49629 COND_TOOLKIT_DFB_USE_GUI_1="#"
49630 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49631 COND_TOOLKIT_DFB_USE_GUI_1=""
49632 fi
49633
49634 COND_TOOLKIT_GTK="#"
49635 if test "x$TOOLKIT" = "xGTK" ; then
49636 COND_TOOLKIT_GTK=""
49637 fi
49638
49639 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49640 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49641 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49642 fi
49643
49644 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49645 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49646 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49647 fi
49648
49649 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49650 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49651 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49652 fi
49653
49654 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49655 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49656 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49657 fi
49658
49659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49660 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49661 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49662 fi
49663
49664 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49665 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49666 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49667 fi
49668
49669 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49670 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49671 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49672 fi
49673
49674 COND_TOOLKIT_GTK_USE_GUI_1="#"
49675 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49676 COND_TOOLKIT_GTK_USE_GUI_1=""
49677 fi
49678
49679 COND_TOOLKIT_MAC="#"
49680 if test "x$TOOLKIT" = "xMAC" ; then
49681 COND_TOOLKIT_MAC=""
49682 fi
49683
49684 COND_TOOLKIT_MAC_USE_GUI_1="#"
49685 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49686 COND_TOOLKIT_MAC_USE_GUI_1=""
49687 fi
49688
49689 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49690 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49691 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49692 fi
49693
49694 COND_TOOLKIT_MGL="#"
49695 if test "x$TOOLKIT" = "xMGL" ; then
49696 COND_TOOLKIT_MGL=""
49697 fi
49698
49699 COND_TOOLKIT_MGL_USE_GUI_1="#"
49700 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49701 COND_TOOLKIT_MGL_USE_GUI_1=""
49702 fi
49703
49704 COND_TOOLKIT_MOTIF="#"
49705 if test "x$TOOLKIT" = "xMOTIF" ; then
49706 COND_TOOLKIT_MOTIF=""
49707 fi
49708
49709 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49710 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49711 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49712 fi
49713
49714 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49715 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49716 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49717 fi
49718
49719 COND_TOOLKIT_MSW="#"
49720 if test "x$TOOLKIT" = "xMSW" ; then
49721 COND_TOOLKIT_MSW=""
49722 fi
49723
49724 COND_TOOLKIT_MSW_USE_GUI_1="#"
49725 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49726 COND_TOOLKIT_MSW_USE_GUI_1=""
49727 fi
49728
49729 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49730 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49731 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49732 fi
49733
49734 COND_TOOLKIT_MSW_WXUNIV_0="#"
49735 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49736 COND_TOOLKIT_MSW_WXUNIV_0=""
49737 fi
49738
49739 COND_TOOLKIT_PM="#"
49740 if test "x$TOOLKIT" = "xPM" ; then
49741 COND_TOOLKIT_PM=""
49742 fi
49743
49744 COND_TOOLKIT_PM_USE_GUI_1="#"
49745 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49746 COND_TOOLKIT_PM_USE_GUI_1=""
49747 fi
49748
49749 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49750 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49751 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49752 fi
49753
49754 COND_TOOLKIT_WINCE="#"
49755 if test "x$TOOLKIT" = "xWINCE" ; then
49756 COND_TOOLKIT_WINCE=""
49757 fi
49758
49759 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49760 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49761 COND_TOOLKIT_WINCE_USE_GUI_1=""
49762 fi
49763
49764 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49765 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49766 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49767 fi
49768
49769 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49770 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49771 COND_TOOLKIT_WINCE_WXUNIV_0=""
49772 fi
49773
49774 COND_TOOLKIT_X11="#"
49775 if test "x$TOOLKIT" = "xX11" ; then
49776 COND_TOOLKIT_X11=""
49777 fi
49778
49779 COND_TOOLKIT_X11_USE_GUI_1="#"
49780 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49781 COND_TOOLKIT_X11_USE_GUI_1=""
49782 fi
49783
49784 COND_UNICODE_1="#"
49785 if test "x$UNICODE" = "x1" ; then
49786 COND_UNICODE_1=""
49787 fi
49788
49789 COND_USE_EXCEPTIONS_0="#"
49790 if test "x$USE_EXCEPTIONS" = "x0" ; then
49791 COND_USE_EXCEPTIONS_0=""
49792 fi
49793
49794 COND_USE_EXCEPTIONS_1="#"
49795 if test "x$USE_EXCEPTIONS" = "x1" ; then
49796 COND_USE_EXCEPTIONS_1=""
49797 fi
49798
49799 COND_USE_GUI_0="#"
49800 if test "x$USE_GUI" = "x0" ; then
49801 COND_USE_GUI_0=""
49802 fi
49803
49804 COND_USE_GUI_1="#"
49805 if test "x$USE_GUI" = "x1" ; then
49806 COND_USE_GUI_1=""
49807 fi
49808
49809 COND_USE_GUI_1_USE_OPENGL_1="#"
49810 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49811 COND_USE_GUI_1_USE_OPENGL_1=""
49812 fi
49813
49814 COND_USE_GUI_1_WXUNIV_0="#"
49815 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49816 COND_USE_GUI_1_WXUNIV_0=""
49817 fi
49818
49819 COND_USE_GUI_1_WXUNIV_1="#"
49820 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49821 COND_USE_GUI_1_WXUNIV_1=""
49822 fi
49823
49824 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49825 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49826 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49827 fi
49828
49829 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49830 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49831 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49832 fi
49833
49834 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49835 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49836 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49837 fi
49838
49839 COND_USE_OPENGL_1="#"
49840 if test "x$USE_OPENGL" = "x1" ; then
49841 COND_USE_OPENGL_1=""
49842 fi
49843
49844 COND_USE_PCH_1="#"
49845 if test "x$USE_PCH" = "x1" ; then
49846 COND_USE_PCH_1=""
49847 fi
49848
49849 COND_USE_PLUGINS_0="#"
49850 if test "x$USE_PLUGINS" = "x0" ; then
49851 COND_USE_PLUGINS_0=""
49852 fi
49853
49854 COND_USE_RTTI_0="#"
49855 if test "x$USE_RTTI" = "x0" ; then
49856 COND_USE_RTTI_0=""
49857 fi
49858
49859 COND_USE_RTTI_1="#"
49860 if test "x$USE_RTTI" = "x1" ; then
49861 COND_USE_RTTI_1=""
49862 fi
49863
49864 COND_USE_SOSYMLINKS_1="#"
49865 if test "x$USE_SOSYMLINKS" = "x1" ; then
49866 COND_USE_SOSYMLINKS_1=""
49867 fi
49868
49869 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49870 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49871 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49872 fi
49873
49874 COND_USE_SOVERLINUX_1="#"
49875 if test "x$USE_SOVERLINUX" = "x1" ; then
49876 COND_USE_SOVERLINUX_1=""
49877 fi
49878
49879 COND_USE_SOVERSION_0="#"
49880 if test "x$USE_SOVERSION" = "x0" ; then
49881 COND_USE_SOVERSION_0=""
49882 fi
49883
49884 COND_USE_SOVERSOLARIS_1="#"
49885 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49886 COND_USE_SOVERSOLARIS_1=""
49887 fi
49888
49889 COND_USE_STC_1="#"
49890 if test "x$USE_STC" = "x1" ; then
49891 COND_USE_STC_1=""
49892 fi
49893
49894 COND_USE_THREADS_0="#"
49895 if test "x$USE_THREADS" = "x0" ; then
49896 COND_USE_THREADS_0=""
49897 fi
49898
49899 COND_USE_THREADS_1="#"
49900 if test "x$USE_THREADS" = "x1" ; then
49901 COND_USE_THREADS_1=""
49902 fi
49903
49904 COND_USE_XRC_1="#"
49905 if test "x$USE_XRC" = "x1" ; then
49906 COND_USE_XRC_1=""
49907 fi
49908
49909 COND_WINDOWS_IMPLIB_1="#"
49910 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49911 COND_WINDOWS_IMPLIB_1=""
49912 fi
49913
49914 COND_WITH_PLUGIN_SDL_1="#"
49915 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49916 COND_WITH_PLUGIN_SDL_1=""
49917 fi
49918
49919 COND_WXUNIV_0="#"
49920 if test "x$WXUNIV" = "x0" ; then
49921 COND_WXUNIV_0=""
49922 fi
49923
49924 COND_WXUNIV_1="#"
49925 if test "x$WXUNIV" = "x1" ; then
49926 COND_WXUNIV_1=""
49927 fi
49928
49929 COND_WXUSE_EXPAT_BUILTIN="#"
49930 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49931 COND_WXUSE_EXPAT_BUILTIN=""
49932 fi
49933
49934 COND_WXUSE_LIBJPEG_BUILTIN="#"
49935 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49936 COND_WXUSE_LIBJPEG_BUILTIN=""
49937 fi
49938
49939 COND_WXUSE_LIBPNG_BUILTIN="#"
49940 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49941 COND_WXUSE_LIBPNG_BUILTIN=""
49942 fi
49943
49944 COND_WXUSE_LIBTIFF_BUILTIN="#"
49945 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49946 COND_WXUSE_LIBTIFF_BUILTIN=""
49947 fi
49948
49949 COND_WXUSE_REGEX_BUILTIN="#"
49950 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49951 COND_WXUSE_REGEX_BUILTIN=""
49952 fi
49953
49954 COND_WXUSE_ZLIB_BUILTIN="#"
49955 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49956 COND_WXUSE_ZLIB_BUILTIN=""
49957 fi
49958
49959
49960
49961 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49962 { { 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
49963 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;}
49964 { (exit 1); exit 1; }; }
49965 fi
49966
49967 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49968 { { 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
49969 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;}
49970 { (exit 1); exit 1; }; }
49971 fi
49972
49973
49974 case ${INSTALL} in
49975 /* ) # Absolute
49976 ;;
49977 ?:* ) # Drive letter, considered as absolute.
49978 ;;
49979 *)
49980 INSTALL=`pwd`/${INSTALL} ;;
49981 esac
49982
49983 if test "$wxUSE_GUI" = "yes"; then
49984
49985 if test "$wxUSE_MSW" = 1 ; then
49986 if test "x$WINDRES" = "x"; then
49987 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49988 echo "$as_me: error: Required windres program not found" >&2;}
49989 { (exit 1); exit 1; }; }
49990 fi
49991
49992 RESCOMP="$WINDRES"
49993 fi
49994
49995 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49996 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49997 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49998
49999 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50000
50001 # Extract the first word of "DeRez", so it can be a program name with args.
50002 set dummy DeRez; ac_word=$2
50003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50005 if test "${ac_cv_prog_DEREZ+set}" = set; then
50006 echo $ECHO_N "(cached) $ECHO_C" >&6
50007 else
50008 if test -n "$DEREZ"; then
50009 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50010 else
50011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50012 for as_dir in $PATH
50013 do
50014 IFS=$as_save_IFS
50015 test -z "$as_dir" && as_dir=.
50016 for ac_exec_ext in '' $ac_executable_extensions; do
50017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50018 ac_cv_prog_DEREZ="DeRez"
50019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50020 break 2
50021 fi
50022 done
50023 done
50024 IFS=$as_save_IFS
50025
50026 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50027 fi
50028 fi
50029 DEREZ=$ac_cv_prog_DEREZ
50030 if test -n "$DEREZ"; then
50031 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50032 echo "${ECHO_T}$DEREZ" >&6; }
50033 else
50034 { echo "$as_me:$LINENO: result: no" >&5
50035 echo "${ECHO_T}no" >&6; }
50036 fi
50037
50038
50039
50040 MACSETFILE="\$(SETFILE)"
50041
50042 if test "$wxUSE_MAC" = 1; then
50043 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50044 RESCOMP="$REZ"
50045 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50046 else
50047 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50048 RESCOMP="cat /dev/null \| $REZ"
50049 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50050 fi
50051
50052 else
50053 MACSETFILE="@true"
50054
50055 if test "$wxUSE_PM" = 1; then
50056 RESCOMP="emxbind"
50057 WXCONFIG_RESFLAGS="-ep"
50058
50059 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50060 else
50061 POSTLINK_COMMAND="@true"
50062 fi
50063 fi
50064
50065 fi
50066
50067
50068 if test $GCC_PCH = 1
50069 then
50070 if test "$wx_cv_gcc_pch_bug" = yes; then
50071 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50072 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50073 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50074 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50075 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50076 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50077 fi
50078
50079 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50080 # the headers that benefit from precompilation are mostly C++ headers.
50081 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50082 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50083 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50084 fi
50085
50086
50087 if test "$wxUSE_MAC" = 1 ; then
50088 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50089 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50090 mv temp bk-deps
50091 chmod +x bk-deps
50092 fi
50093 fi
50094
50095 if test "$wxUSE_SHARED" = "yes"; then
50096 case "${host}" in
50097 *-pc-os2_emx | *-pc-os2-emx )
50098 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50099 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50100 cp -p ${srcdir}/src/os2/dllnames.sh .
50101 cp -p ${srcdir}/src/os2/dllar.sh .
50102 ;;
50103 esac
50104 fi
50105 if test "$wxUSE_OMF" = "yes"; then
50106 case "${host}" in
50107 *-pc-os2_emx | *-pc-os2-emx )
50108 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50109 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50110 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50111 ;;
50112 esac
50113 fi
50114
50115 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50116
50117
50118 case "${host}" in
50119 *-*-solaris2* )
50120 if test "$GCC" = yes; then
50121 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50122 LIBS=`echo $LIBS | sed 's/-mt//'`
50123 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50124 fi
50125 ;;
50126
50127 *-*-linux* )
50128 if test "x$SUNCXX" = xyes; then
50129 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50130 LIBS=`echo $LIBS | sed 's/-pthread//'`
50131 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50132 fi
50133 ;;
50134 esac
50135
50136 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50137 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50138
50139 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50201 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50202 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50203 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50204 echo $ECHO_N "(cached) $ECHO_C" >&6
50205 else
50206 cat >conftest.make <<\_ACEOF
50207 SHELL = /bin/sh
50208 all:
50209 @echo '@@@%%%=$(MAKE)=@@@%%%'
50210 _ACEOF
50211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50212 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50213 *@@@%%%=?*=@@@%%%*)
50214 eval ac_cv_prog_make_${ac_make}_set=yes;;
50215 *)
50216 eval ac_cv_prog_make_${ac_make}_set=no;;
50217 esac
50218 rm -f conftest.make
50219 fi
50220 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50221 { echo "$as_me:$LINENO: result: yes" >&5
50222 echo "${ECHO_T}yes" >&6; }
50223 SET_MAKE=
50224 else
50225 { echo "$as_me:$LINENO: result: no" >&5
50226 echo "${ECHO_T}no" >&6; }
50227 SET_MAKE="MAKE=${MAKE-make}"
50228 fi
50229
50230
50231
50232 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50233
50234
50235 if test "$USE_WIN32" = 1; then
50236 ac_config_commands="$ac_config_commands
50237 rcdefs.h
50238 "
50239
50240 fi
50241
50242 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50243
50244
50245 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50246
50247
50248 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50249
50250
50251 if test "$wx_cv_version_script" = "yes"; then
50252 ac_config_files="$ac_config_files version-script"
50253
50254 fi
50255 ac_config_files="$ac_config_files Makefile"
50256
50257
50258 ac_config_commands="$ac_config_commands wx-config"
50259
50260
50261
50262 if test "$wxWITH_SUBDIRS" != "no"; then
50263 if test "$wxUSE_GUI" = "yes"; then
50264 SUBDIRS="samples demos utils"
50265 else
50266 SUBDIRS="samples utils"
50267 fi
50268
50269
50270
50271 # Check whether --with-cppunit-prefix was given.
50272 if test "${with_cppunit_prefix+set}" = set; then
50273 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50274 else
50275 cppunit_config_prefix=""
50276 fi
50277
50278
50279 # Check whether --with-cppunit-exec-prefix was given.
50280 if test "${with_cppunit_exec_prefix+set}" = set; then
50281 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50282 else
50283 cppunit_config_exec_prefix=""
50284 fi
50285
50286
50287 if test x$cppunit_config_exec_prefix != x ; then
50288 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50289 if test x${CPPUNIT_CONFIG+set} != xset ; then
50290 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50291 fi
50292 fi
50293 if test x$cppunit_config_prefix != x ; then
50294 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50295 if test x${CPPUNIT_CONFIG+set} != xset ; then
50296 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50297 fi
50298 fi
50299
50300 # Extract the first word of "cppunit-config", so it can be a program name with args.
50301 set dummy cppunit-config; ac_word=$2
50302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50304 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50305 echo $ECHO_N "(cached) $ECHO_C" >&6
50306 else
50307 case $CPPUNIT_CONFIG in
50308 [\\/]* | ?:[\\/]*)
50309 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50310 ;;
50311 *)
50312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50313 for as_dir in $PATH
50314 do
50315 IFS=$as_save_IFS
50316 test -z "$as_dir" && as_dir=.
50317 for ac_exec_ext in '' $ac_executable_extensions; do
50318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50319 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50321 break 2
50322 fi
50323 done
50324 done
50325 IFS=$as_save_IFS
50326
50327 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50328 ;;
50329 esac
50330 fi
50331 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50332 if test -n "$CPPUNIT_CONFIG"; then
50333 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50334 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50335 else
50336 { echo "$as_me:$LINENO: result: no" >&5
50337 echo "${ECHO_T}no" >&6; }
50338 fi
50339
50340
50341 cppunit_version_min=1.8.0
50342
50343 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50344 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50345 no_cppunit=""
50346 if test "$CPPUNIT_CONFIG" = "no" ; then
50347 { echo "$as_me:$LINENO: result: no" >&5
50348 echo "${ECHO_T}no" >&6; }
50349 no_cppunit=yes
50350 else
50351 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50352 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50353 cppunit_version=`$CPPUNIT_CONFIG --version`
50354
50355 cppunit_major_version=`echo $cppunit_version | \
50356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50357 cppunit_minor_version=`echo $cppunit_version | \
50358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50359 cppunit_micro_version=`echo $cppunit_version | \
50360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50361
50362 cppunit_major_min=`echo $cppunit_version_min | \
50363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50364 cppunit_minor_min=`echo $cppunit_version_min | \
50365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50366 cppunit_micro_min=`echo $cppunit_version_min | \
50367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50368
50369 cppunit_version_proper=`expr \
50370 $cppunit_major_version \> $cppunit_major_min \| \
50371 $cppunit_major_version \= $cppunit_major_min \& \
50372 $cppunit_minor_version \> $cppunit_minor_min \| \
50373 $cppunit_major_version \= $cppunit_major_min \& \
50374 $cppunit_minor_version \= $cppunit_minor_min \& \
50375 $cppunit_micro_version \>= $cppunit_micro_min `
50376
50377 if test "$cppunit_version_proper" = "1" ; then
50378 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50379 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50380 else
50381 { echo "$as_me:$LINENO: result: no" >&5
50382 echo "${ECHO_T}no" >&6; }
50383 no_cppunit=yes
50384 fi
50385 fi
50386
50387 if test "x$no_cppunit" = x ; then
50388 SUBDIRS="$SUBDIRS tests"
50389 else
50390 CPPUNIT_CFLAGS=""
50391 CPPUNIT_LIBS=""
50392 :
50393 fi
50394
50395
50396
50397
50398
50399 for subdir in $SUBDIRS; do
50400 if test -d ${srcdir}/${subdir} ; then
50401 if test "$wxUSE_GUI" = "yes"; then
50402 if test ${subdir} = "samples"; then
50403 makefiles="samples/Makefile.in $makefiles"
50404 for sample in $SAMPLES_SUBDIRS; do
50405 if test -d $srcdir/samples/$sample; then
50406 makefiles="samples/$sample/Makefile.in $makefiles"
50407 fi
50408 done
50409 else
50410 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50411 eval "disabled=\$$disabled_var"
50412 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50413 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50414 fi
50415 else
50416 if test ${subdir} = "samples"; then
50417 makefiles="samples/Makefile.in $makefiles"
50418 for sample in `echo $SAMPLES_SUBDIRS`; do
50419 if test -d $srcdir/samples/$sample; then
50420 makefiles="samples/$sample/Makefile.in $makefiles"
50421 fi
50422 done
50423 elif test ${subdir} = "utils"; then
50424 makefiles=""
50425 for util in ifacecheck ; do
50426 if test -d $srcdir/utils/$util ; then
50427 makefiles="utils/$util/src/Makefile.in \
50428 $makefiles"
50429 fi
50430 done
50431 else
50432 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50433 fi
50434 fi
50435
50436 for mkin in $makefiles ; do
50437 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50438 ac_config_files="$ac_config_files $mk"
50439
50440 done
50441 fi
50442 done
50443 fi
50444 cat >confcache <<\_ACEOF
50445 # This file is a shell script that caches the results of configure
50446 # tests run on this system so they can be shared between configure
50447 # scripts and configure runs, see configure's option --config-cache.
50448 # It is not useful on other systems. If it contains results you don't
50449 # want to keep, you may remove or edit it.
50450 #
50451 # config.status only pays attention to the cache file if you give it
50452 # the --recheck option to rerun configure.
50453 #
50454 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50455 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50456 # following values.
50457
50458 _ACEOF
50459
50460 # The following way of writing the cache mishandles newlines in values,
50461 # but we know of no workaround that is simple, portable, and efficient.
50462 # So, we kill variables containing newlines.
50463 # Ultrix sh set writes to stderr and can't be redirected directly,
50464 # and sets the high bit in the cache file unless we assign to the vars.
50465 (
50466 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50467 eval ac_val=\$$ac_var
50468 case $ac_val in #(
50469 *${as_nl}*)
50470 case $ac_var in #(
50471 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50472 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50473 esac
50474 case $ac_var in #(
50475 _ | IFS | as_nl) ;; #(
50476 *) $as_unset $ac_var ;;
50477 esac ;;
50478 esac
50479 done
50480
50481 (set) 2>&1 |
50482 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50483 *${as_nl}ac_space=\ *)
50484 # `set' does not quote correctly, so add quotes (double-quote
50485 # substitution turns \\\\ into \\, and sed turns \\ into \).
50486 sed -n \
50487 "s/'/'\\\\''/g;
50488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50489 ;; #(
50490 *)
50491 # `set' quotes correctly as required by POSIX, so do not add quotes.
50492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50493 ;;
50494 esac |
50495 sort
50496 ) |
50497 sed '
50498 /^ac_cv_env_/b end
50499 t clear
50500 :clear
50501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50502 t end
50503 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50504 :end' >>confcache
50505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50506 if test -w "$cache_file"; then
50507 test "x$cache_file" != "x/dev/null" &&
50508 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50509 echo "$as_me: updating cache $cache_file" >&6;}
50510 cat confcache >$cache_file
50511 else
50512 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50513 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50514 fi
50515 fi
50516 rm -f confcache
50517
50518 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50519 # Let make expand exec_prefix.
50520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50521
50522 DEFS=-DHAVE_CONFIG_H
50523
50524 ac_libobjs=
50525 ac_ltlibobjs=
50526 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50527 # 1. Remove the extension, and $U if already installed.
50528 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50529 ac_i=`echo "$ac_i" | sed "$ac_script"`
50530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50531 # will be set to the directory where LIBOBJS objects are built.
50532 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50533 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50534 done
50535 LIBOBJS=$ac_libobjs
50536
50537 LTLIBOBJS=$ac_ltlibobjs
50538
50539
50540
50541 : ${CONFIG_STATUS=./config.status}
50542 ac_clean_files_save=$ac_clean_files
50543 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50544 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50545 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50546 cat >$CONFIG_STATUS <<_ACEOF
50547 #! $SHELL
50548 # Generated by $as_me.
50549 # Run this file to recreate the current configuration.
50550 # Compiler output produced by configure, useful for debugging
50551 # configure, is in config.log if it exists.
50552
50553 debug=false
50554 ac_cs_recheck=false
50555 ac_cs_silent=false
50556 SHELL=\${CONFIG_SHELL-$SHELL}
50557 _ACEOF
50558
50559 cat >>$CONFIG_STATUS <<\_ACEOF
50560 ## --------------------- ##
50561 ## M4sh Initialization. ##
50562 ## --------------------- ##
50563
50564 # Be more Bourne compatible
50565 DUALCASE=1; export DUALCASE # for MKS sh
50566 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50567 emulate sh
50568 NULLCMD=:
50569 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50570 # is contrary to our usage. Disable this feature.
50571 alias -g '${1+"$@"}'='"$@"'
50572 setopt NO_GLOB_SUBST
50573 else
50574 case `(set -o) 2>/dev/null` in
50575 *posix*) set -o posix ;;
50576 esac
50577
50578 fi
50579
50580
50581
50582
50583 # PATH needs CR
50584 # Avoid depending upon Character Ranges.
50585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50588 as_cr_digits='0123456789'
50589 as_cr_alnum=$as_cr_Letters$as_cr_digits
50590
50591 # The user is always right.
50592 if test "${PATH_SEPARATOR+set}" != set; then
50593 echo "#! /bin/sh" >conf$$.sh
50594 echo "exit 0" >>conf$$.sh
50595 chmod +x conf$$.sh
50596 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50597 PATH_SEPARATOR=';'
50598 else
50599 PATH_SEPARATOR=:
50600 fi
50601 rm -f conf$$.sh
50602 fi
50603
50604 # Support unset when possible.
50605 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50606 as_unset=unset
50607 else
50608 as_unset=false
50609 fi
50610
50611
50612 # IFS
50613 # We need space, tab and new line, in precisely that order. Quoting is
50614 # there to prevent editors from complaining about space-tab.
50615 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50616 # splitting by setting IFS to empty value.)
50617 as_nl='
50618 '
50619 IFS=" "" $as_nl"
50620
50621 # Find who we are. Look in the path if we contain no directory separator.
50622 case $0 in
50623 *[\\/]* ) as_myself=$0 ;;
50624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50625 for as_dir in $PATH
50626 do
50627 IFS=$as_save_IFS
50628 test -z "$as_dir" && as_dir=.
50629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50630 done
50631 IFS=$as_save_IFS
50632
50633 ;;
50634 esac
50635 # We did not find ourselves, most probably we were run as `sh COMMAND'
50636 # in which case we are not to be found in the path.
50637 if test "x$as_myself" = x; then
50638 as_myself=$0
50639 fi
50640 if test ! -f "$as_myself"; then
50641 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50642 { (exit 1); exit 1; }
50643 fi
50644
50645 # Work around bugs in pre-3.0 UWIN ksh.
50646 for as_var in ENV MAIL MAILPATH
50647 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50648 done
50649 PS1='$ '
50650 PS2='> '
50651 PS4='+ '
50652
50653 # NLS nuisances.
50654 for as_var in \
50655 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50656 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50657 LC_TELEPHONE LC_TIME
50658 do
50659 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50660 eval $as_var=C; export $as_var
50661 else
50662 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50663 fi
50664 done
50665
50666 # Required to use basename.
50667 if expr a : '\(a\)' >/dev/null 2>&1 &&
50668 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50669 as_expr=expr
50670 else
50671 as_expr=false
50672 fi
50673
50674 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50675 as_basename=basename
50676 else
50677 as_basename=false
50678 fi
50679
50680
50681 # Name of the executable.
50682 as_me=`$as_basename -- "$0" ||
50683 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50684 X"$0" : 'X\(//\)$' \| \
50685 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50686 echo X/"$0" |
50687 sed '/^.*\/\([^/][^/]*\)\/*$/{
50688 s//\1/
50689 q
50690 }
50691 /^X\/\(\/\/\)$/{
50692 s//\1/
50693 q
50694 }
50695 /^X\/\(\/\).*/{
50696 s//\1/
50697 q
50698 }
50699 s/.*/./; q'`
50700
50701 # CDPATH.
50702 $as_unset CDPATH
50703
50704
50705
50706 as_lineno_1=$LINENO
50707 as_lineno_2=$LINENO
50708 test "x$as_lineno_1" != "x$as_lineno_2" &&
50709 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50710
50711 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50712 # uniformly replaced by the line number. The first 'sed' inserts a
50713 # line-number line after each line using $LINENO; the second 'sed'
50714 # does the real work. The second script uses 'N' to pair each
50715 # line-number line with the line containing $LINENO, and appends
50716 # trailing '-' during substitution so that $LINENO is not a special
50717 # case at line end.
50718 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50719 # scripts with optimization help from Paolo Bonzini. Blame Lee
50720 # E. McMahon (1931-1989) for sed's syntax. :-)
50721 sed -n '
50722 p
50723 /[$]LINENO/=
50724 ' <$as_myself |
50725 sed '
50726 s/[$]LINENO.*/&-/
50727 t lineno
50728 b
50729 :lineno
50730 N
50731 :loop
50732 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50733 t loop
50734 s/-\n.*//
50735 ' >$as_me.lineno &&
50736 chmod +x "$as_me.lineno" ||
50737 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50738 { (exit 1); exit 1; }; }
50739
50740 # Don't try to exec as it changes $[0], causing all sort of problems
50741 # (the dirname of $[0] is not the place where we might find the
50742 # original and so on. Autoconf is especially sensitive to this).
50743 . "./$as_me.lineno"
50744 # Exit status is that of the last command.
50745 exit
50746 }
50747
50748
50749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50750 as_dirname=dirname
50751 else
50752 as_dirname=false
50753 fi
50754
50755 ECHO_C= ECHO_N= ECHO_T=
50756 case `echo -n x` in
50757 -n*)
50758 case `echo 'x\c'` in
50759 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50760 *) ECHO_C='\c';;
50761 esac;;
50762 *)
50763 ECHO_N='-n';;
50764 esac
50765
50766 if expr a : '\(a\)' >/dev/null 2>&1 &&
50767 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50768 as_expr=expr
50769 else
50770 as_expr=false
50771 fi
50772
50773 rm -f conf$$ conf$$.exe conf$$.file
50774 if test -d conf$$.dir; then
50775 rm -f conf$$.dir/conf$$.file
50776 else
50777 rm -f conf$$.dir
50778 mkdir conf$$.dir
50779 fi
50780 echo >conf$$.file
50781 if ln -s conf$$.file conf$$ 2>/dev/null; then
50782 as_ln_s='ln -s'
50783 # ... but there are two gotchas:
50784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50786 # In both cases, we have to default to `cp -p'.
50787 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50788 as_ln_s='cp -p'
50789 elif ln conf$$.file conf$$ 2>/dev/null; then
50790 as_ln_s=ln
50791 else
50792 as_ln_s='cp -p'
50793 fi
50794 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50795 rmdir conf$$.dir 2>/dev/null
50796
50797 if mkdir -p . 2>/dev/null; then
50798 as_mkdir_p=:
50799 else
50800 test -d ./-p && rmdir ./-p
50801 as_mkdir_p=false
50802 fi
50803
50804 if test -x / >/dev/null 2>&1; then
50805 as_test_x='test -x'
50806 else
50807 if ls -dL / >/dev/null 2>&1; then
50808 as_ls_L_option=L
50809 else
50810 as_ls_L_option=
50811 fi
50812 as_test_x='
50813 eval sh -c '\''
50814 if test -d "$1"; then
50815 test -d "$1/.";
50816 else
50817 case $1 in
50818 -*)set "./$1";;
50819 esac;
50820 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50821 ???[sx]*):;;*)false;;esac;fi
50822 '\'' sh
50823 '
50824 fi
50825 as_executable_p=$as_test_x
50826
50827 # Sed expression to map a string onto a valid CPP name.
50828 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50829
50830 # Sed expression to map a string onto a valid variable name.
50831 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50832
50833
50834 exec 6>&1
50835
50836 # Save the log message, to keep $[0] and so on meaningful, and to
50837 # report actual input values of CONFIG_FILES etc. instead of their
50838 # values after options handling.
50839 ac_log="
50840 This file was extended by wxWidgets $as_me 2.9.0, which was
50841 generated by GNU Autoconf 2.61. Invocation command line was
50842
50843 CONFIG_FILES = $CONFIG_FILES
50844 CONFIG_HEADERS = $CONFIG_HEADERS
50845 CONFIG_LINKS = $CONFIG_LINKS
50846 CONFIG_COMMANDS = $CONFIG_COMMANDS
50847 $ $0 $@
50848
50849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50850 "
50851
50852 _ACEOF
50853
50854 cat >>$CONFIG_STATUS <<_ACEOF
50855 # Files that config.status was made for.
50856 config_files="$ac_config_files"
50857 config_headers="$ac_config_headers"
50858 config_commands="$ac_config_commands"
50859
50860 _ACEOF
50861
50862 cat >>$CONFIG_STATUS <<\_ACEOF
50863 ac_cs_usage="\
50864 \`$as_me' instantiates files from templates according to the
50865 current configuration.
50866
50867 Usage: $0 [OPTIONS] [FILE]...
50868
50869 -h, --help print this help, then exit
50870 -V, --version print version number and configuration settings, then exit
50871 -q, --quiet do not print progress messages
50872 -d, --debug don't remove temporary files
50873 --recheck update $as_me by reconfiguring in the same conditions
50874 --file=FILE[:TEMPLATE]
50875 instantiate the configuration file FILE
50876 --header=FILE[:TEMPLATE]
50877 instantiate the configuration header FILE
50878
50879 Configuration files:
50880 $config_files
50881
50882 Configuration headers:
50883 $config_headers
50884
50885 Configuration commands:
50886 $config_commands
50887
50888 Report bugs to <bug-autoconf@gnu.org>."
50889
50890 _ACEOF
50891 cat >>$CONFIG_STATUS <<_ACEOF
50892 ac_cs_version="\\
50893 wxWidgets config.status 2.9.0
50894 configured by $0, generated by GNU Autoconf 2.61,
50895 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50896
50897 Copyright (C) 2006 Free Software Foundation, Inc.
50898 This config.status script is free software; the Free Software Foundation
50899 gives unlimited permission to copy, distribute and modify it."
50900
50901 ac_pwd='$ac_pwd'
50902 srcdir='$srcdir'
50903 INSTALL='$INSTALL'
50904 _ACEOF
50905
50906 cat >>$CONFIG_STATUS <<\_ACEOF
50907 # If no file are specified by the user, then we need to provide default
50908 # value. By we need to know if files were specified by the user.
50909 ac_need_defaults=:
50910 while test $# != 0
50911 do
50912 case $1 in
50913 --*=*)
50914 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50915 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50916 ac_shift=:
50917 ;;
50918 *)
50919 ac_option=$1
50920 ac_optarg=$2
50921 ac_shift=shift
50922 ;;
50923 esac
50924
50925 case $ac_option in
50926 # Handling of the options.
50927 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50928 ac_cs_recheck=: ;;
50929 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50930 echo "$ac_cs_version"; exit ;;
50931 --debug | --debu | --deb | --de | --d | -d )
50932 debug=: ;;
50933 --file | --fil | --fi | --f )
50934 $ac_shift
50935 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50936 ac_need_defaults=false;;
50937 --header | --heade | --head | --hea )
50938 $ac_shift
50939 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50940 ac_need_defaults=false;;
50941 --he | --h)
50942 # Conflict between --help and --header
50943 { echo "$as_me: error: ambiguous option: $1
50944 Try \`$0 --help' for more information." >&2
50945 { (exit 1); exit 1; }; };;
50946 --help | --hel | -h )
50947 echo "$ac_cs_usage"; exit ;;
50948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50949 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50950 ac_cs_silent=: ;;
50951
50952 # This is an error.
50953 -*) { echo "$as_me: error: unrecognized option: $1
50954 Try \`$0 --help' for more information." >&2
50955 { (exit 1); exit 1; }; } ;;
50956
50957 *) ac_config_targets="$ac_config_targets $1"
50958 ac_need_defaults=false ;;
50959
50960 esac
50961 shift
50962 done
50963
50964 ac_configure_extra_args=
50965
50966 if $ac_cs_silent; then
50967 exec 6>/dev/null
50968 ac_configure_extra_args="$ac_configure_extra_args --silent"
50969 fi
50970
50971 _ACEOF
50972 cat >>$CONFIG_STATUS <<_ACEOF
50973 if \$ac_cs_recheck; then
50974 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50975 CONFIG_SHELL=$SHELL
50976 export CONFIG_SHELL
50977 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50978 fi
50979
50980 _ACEOF
50981 cat >>$CONFIG_STATUS <<\_ACEOF
50982 exec 5>>config.log
50983 {
50984 echo
50985 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50986 ## Running $as_me. ##
50987 _ASBOX
50988 echo "$ac_log"
50989 } >&5
50990
50991 _ACEOF
50992 cat >>$CONFIG_STATUS <<_ACEOF
50993 #
50994 # INIT-COMMANDS
50995 #
50996
50997 CPP="$CPP"
50998 infile="$srcdir/include/wx/msw/genrcdefs.h"
50999 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51000
51001
51002 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51003 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51004 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51005 LN_S="${LN_S}"
51006
51007
51008 _ACEOF
51009
51010 cat >>$CONFIG_STATUS <<\_ACEOF
51011
51012 # Handling of arguments.
51013 for ac_config_target in $ac_config_targets
51014 do
51015 case $ac_config_target in
51016 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51017 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51018 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51019 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51020 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51021 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51022 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51023 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51024 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51025
51026 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51027 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51028 { (exit 1); exit 1; }; };;
51029 esac
51030 done
51031
51032
51033 # If the user did not use the arguments to specify the items to instantiate,
51034 # then the envvar interface is used. Set only those that are not.
51035 # We use the long form for the default assignment because of an extremely
51036 # bizarre bug on SunOS 4.1.3.
51037 if $ac_need_defaults; then
51038 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51039 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51040 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51041 fi
51042
51043 # Have a temporary directory for convenience. Make it in the build tree
51044 # simply because there is no reason against having it here, and in addition,
51045 # creating and moving files from /tmp can sometimes cause problems.
51046 # Hook for its removal unless debugging.
51047 # Note that there is a small window in which the directory will not be cleaned:
51048 # after its creation but before its name has been assigned to `$tmp'.
51049 $debug ||
51050 {
51051 tmp=
51052 trap 'exit_status=$?
51053 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51054 ' 0
51055 trap '{ (exit 1); exit 1; }' 1 2 13 15
51056 }
51057 # Create a (secure) tmp directory for tmp files.
51058
51059 {
51060 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51061 test -n "$tmp" && test -d "$tmp"
51062 } ||
51063 {
51064 tmp=./conf$$-$RANDOM
51065 (umask 077 && mkdir "$tmp")
51066 } ||
51067 {
51068 echo "$me: cannot create a temporary directory in ." >&2
51069 { (exit 1); exit 1; }
51070 }
51071
51072 #
51073 # Set up the sed scripts for CONFIG_FILES section.
51074 #
51075
51076 # No need to generate the scripts if there are no CONFIG_FILES.
51077 # This happens for instance when ./config.status config.h
51078 if test -n "$CONFIG_FILES"; then
51079
51080 _ACEOF
51081
51082
51083
51084 ac_delim='%!_!# '
51085 for ac_last_try in false false false false false :; do
51086 cat >conf$$subs.sed <<_ACEOF
51087 SHELL!$SHELL$ac_delim
51088 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51089 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51090 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51091 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51092 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51093 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51094 exec_prefix!$exec_prefix$ac_delim
51095 prefix!$prefix$ac_delim
51096 program_transform_name!$program_transform_name$ac_delim
51097 bindir!$bindir$ac_delim
51098 sbindir!$sbindir$ac_delim
51099 libexecdir!$libexecdir$ac_delim
51100 datarootdir!$datarootdir$ac_delim
51101 datadir!$datadir$ac_delim
51102 sysconfdir!$sysconfdir$ac_delim
51103 sharedstatedir!$sharedstatedir$ac_delim
51104 localstatedir!$localstatedir$ac_delim
51105 includedir!$includedir$ac_delim
51106 oldincludedir!$oldincludedir$ac_delim
51107 docdir!$docdir$ac_delim
51108 infodir!$infodir$ac_delim
51109 htmldir!$htmldir$ac_delim
51110 dvidir!$dvidir$ac_delim
51111 pdfdir!$pdfdir$ac_delim
51112 psdir!$psdir$ac_delim
51113 libdir!$libdir$ac_delim
51114 localedir!$localedir$ac_delim
51115 mandir!$mandir$ac_delim
51116 DEFS!$DEFS$ac_delim
51117 ECHO_C!$ECHO_C$ac_delim
51118 ECHO_N!$ECHO_N$ac_delim
51119 ECHO_T!$ECHO_T$ac_delim
51120 LIBS!$LIBS$ac_delim
51121 build_alias!$build_alias$ac_delim
51122 host_alias!$host_alias$ac_delim
51123 target_alias!$target_alias$ac_delim
51124 build!$build$ac_delim
51125 build_cpu!$build_cpu$ac_delim
51126 build_vendor!$build_vendor$ac_delim
51127 build_os!$build_os$ac_delim
51128 host!$host$ac_delim
51129 host_cpu!$host_cpu$ac_delim
51130 host_vendor!$host_vendor$ac_delim
51131 host_os!$host_os$ac_delim
51132 target!$target$ac_delim
51133 target_cpu!$target_cpu$ac_delim
51134 target_vendor!$target_vendor$ac_delim
51135 target_os!$target_os$ac_delim
51136 wx_top_builddir!$wx_top_builddir$ac_delim
51137 CC!$CC$ac_delim
51138 CFLAGS!$CFLAGS$ac_delim
51139 LDFLAGS!$LDFLAGS$ac_delim
51140 CPPFLAGS!$CPPFLAGS$ac_delim
51141 ac_ct_CC!$ac_ct_CC$ac_delim
51142 EXEEXT!$EXEEXT$ac_delim
51143 OBJEXT!$OBJEXT$ac_delim
51144 CPP!$CPP$ac_delim
51145 GREP!$GREP$ac_delim
51146 EGREP!$EGREP$ac_delim
51147 CXX!$CXX$ac_delim
51148 CXXFLAGS!$CXXFLAGS$ac_delim
51149 ac_ct_CXX!$ac_ct_CXX$ac_delim
51150 AR!$AR$ac_delim
51151 subdirs!$subdirs$ac_delim
51152 PKG_CONFIG!$PKG_CONFIG$ac_delim
51153 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51154 GTK_LIBS!$GTK_LIBS$ac_delim
51155 GTK_CONFIG!$GTK_CONFIG$ac_delim
51156 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51157 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51158 XMKMF!$XMKMF$ac_delim
51159 X_CFLAGS!$X_CFLAGS$ac_delim
51160 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51161 X_LIBS!$X_LIBS$ac_delim
51162 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51163 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51164 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51165 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51166 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51167 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51168 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51169 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51170 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51171 LIBICONV!$LIBICONV$ac_delim
51172 SDL_CONFIG!$SDL_CONFIG$ac_delim
51173 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51174 SDL_LIBS!$SDL_LIBS$ac_delim
51175 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51176 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51177 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51178 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51179 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51180 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51181 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51182 HILDON_LIBS!$HILDON_LIBS$ac_delim
51183 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51184 _ACEOF
51185
51186 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51187 break
51188 elif $ac_last_try; then
51189 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51190 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51191 { (exit 1); exit 1; }; }
51192 else
51193 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51194 fi
51195 done
51196
51197 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51198 if test -n "$ac_eof"; then
51199 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51200 ac_eof=`expr $ac_eof + 1`
51201 fi
51202
51203 cat >>$CONFIG_STATUS <<_ACEOF
51204 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51206 _ACEOF
51207 sed '
51208 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51209 s/^/s,@/; s/!/@,|#_!!_#|/
51210 :n
51211 t n
51212 s/'"$ac_delim"'$/,g/; t
51213 s/$/\\/; p
51214 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51215 ' >>$CONFIG_STATUS <conf$$subs.sed
51216 rm -f conf$$subs.sed
51217 cat >>$CONFIG_STATUS <<_ACEOF
51218 CEOF$ac_eof
51219 _ACEOF
51220
51221
51222 ac_delim='%!_!# '
51223 for ac_last_try in false false false false false :; do
51224 cat >conf$$subs.sed <<_ACEOF
51225 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51226 GST_CFLAGS!$GST_CFLAGS$ac_delim
51227 GST_LIBS!$GST_LIBS$ac_delim
51228 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51229 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51230 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51231 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51232 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51233 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51234 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51235 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51236 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51237 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51238 VENDOR!$VENDOR$ac_delim
51239 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51240 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51241 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51242 WXUNIV!$WXUNIV$ac_delim
51243 MONOLITHIC!$MONOLITHIC$ac_delim
51244 USE_PLUGINS!$USE_PLUGINS$ac_delim
51245 CXXWARNINGS!$CXXWARNINGS$ac_delim
51246 EXTRALIBS!$EXTRALIBS$ac_delim
51247 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51248 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51249 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51250 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51251 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51252 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51253 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51254 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51255 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51256 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51257 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51258 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51259 UNICODE!$UNICODE$ac_delim
51260 BUILD!$BUILD$ac_delim
51261 DEBUG_INFO!$DEBUG_INFO$ac_delim
51262 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51263 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51264 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51265 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51266 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51267 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51268 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51269 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51270 RANLIB!$RANLIB$ac_delim
51271 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51272 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51273 INSTALL_DATA!$INSTALL_DATA$ac_delim
51274 LN_S!$LN_S$ac_delim
51275 SET_MAKE!$SET_MAKE$ac_delim
51276 MAKE_SET!$MAKE_SET$ac_delim
51277 AROPTIONS!$AROPTIONS$ac_delim
51278 STRIP!$STRIP$ac_delim
51279 NM!$NM$ac_delim
51280 INSTALL_DIR!$INSTALL_DIR$ac_delim
51281 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51282 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51283 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51284 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51285 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51286 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51287 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51288 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51289 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51290 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51291 SO_SUFFIX!$SO_SUFFIX$ac_delim
51292 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51293 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51294 LIBPREFIX!$LIBPREFIX$ac_delim
51295 LIBEXT!$LIBEXT$ac_delim
51296 DLLPREFIX!$DLLPREFIX$ac_delim
51297 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51298 dlldir!$dlldir$ac_delim
51299 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51300 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51301 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51302 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51303 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51304 PIC_FLAG!$PIC_FLAG$ac_delim
51305 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51306 USE_SOVERSION!$USE_SOVERSION$ac_delim
51307 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51308 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51309 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51310 USE_MACVERSION!$USE_MACVERSION$ac_delim
51311 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51312 SONAME_FLAG!$SONAME_FLAG$ac_delim
51313 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51314 BK_DEPS!$BK_DEPS$ac_delim
51315 WINDRES!$WINDRES$ac_delim
51316 REZ!$REZ$ac_delim
51317 SETFILE!$SETFILE$ac_delim
51318 GCC_PCH!$GCC_PCH$ac_delim
51319 ICC_PCH!$ICC_PCH$ac_delim
51320 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51321 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51322 _ACEOF
51323
51324 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51325 break
51326 elif $ac_last_try; then
51327 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51328 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51329 { (exit 1); exit 1; }; }
51330 else
51331 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51332 fi
51333 done
51334
51335 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51336 if test -n "$ac_eof"; then
51337 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51338 ac_eof=`expr $ac_eof + 1`
51339 fi
51340
51341 cat >>$CONFIG_STATUS <<_ACEOF
51342 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51344 _ACEOF
51345 sed '
51346 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51347 s/^/s,@/; s/!/@,|#_!!_#|/
51348 :n
51349 t n
51350 s/'"$ac_delim"'$/,g/; t
51351 s/$/\\/; p
51352 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51353 ' >>$CONFIG_STATUS <conf$$subs.sed
51354 rm -f conf$$subs.sed
51355 cat >>$CONFIG_STATUS <<_ACEOF
51356 CEOF$ac_eof
51357 _ACEOF
51358
51359
51360 ac_delim='%!_!# '
51361 for ac_last_try in false false false false false :; do
51362 cat >conf$$subs.sed <<_ACEOF
51363 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51364 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51365 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51366 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51367 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51368 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51369 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51370 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51371 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51372 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51373 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51374 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51375 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51376 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51377 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51378 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51379 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51380 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51382 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51384 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51385 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51386 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51387 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51388 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51389 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51390 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51392 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51393 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51394 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51395 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51396 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51397 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51398 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51399 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51400 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51401 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51402 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51403 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51404 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51405 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51406 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51407 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51408 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51409 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51410 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51411 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51412 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51413 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51414 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51415 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51416 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51417 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51418 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51419 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51420 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51421 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51422 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51423 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51424 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51425 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51426 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51427 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51428 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51429 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51430 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51431 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51432 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51433 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51434 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51435 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51436 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51437 COND_SHARED_0!$COND_SHARED_0$ac_delim
51438 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51439 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51440 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51441 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51442 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51443 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51444 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51445 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51446 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51447 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51448 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51449 COND_SHARED_1!$COND_SHARED_1$ac_delim
51450 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51451 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51452 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51453 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51454 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51455 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51456 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51457 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51458 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51459 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51460 _ACEOF
51461
51462 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51463 break
51464 elif $ac_last_try; then
51465 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51466 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51467 { (exit 1); exit 1; }; }
51468 else
51469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51470 fi
51471 done
51472
51473 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51474 if test -n "$ac_eof"; then
51475 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51476 ac_eof=`expr $ac_eof + 1`
51477 fi
51478
51479 cat >>$CONFIG_STATUS <<_ACEOF
51480 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51482 _ACEOF
51483 sed '
51484 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51485 s/^/s,@/; s/!/@,|#_!!_#|/
51486 :n
51487 t n
51488 s/'"$ac_delim"'$/,g/; t
51489 s/$/\\/; p
51490 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51491 ' >>$CONFIG_STATUS <conf$$subs.sed
51492 rm -f conf$$subs.sed
51493 cat >>$CONFIG_STATUS <<_ACEOF
51494 CEOF$ac_eof
51495 _ACEOF
51496
51497
51498 ac_delim='%!_!# '
51499 for ac_last_try in false false false false false :; do
51500 cat >conf$$subs.sed <<_ACEOF
51501 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51502 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51503 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51504 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51505 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51506 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51507 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51508 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51509 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51510 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51511 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51512 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51513 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51515 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51516 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51517 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51518 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51519 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51520 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51521 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51522 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51523 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51524 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51525 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51526 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51527 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51528 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51529 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51530 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51531 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51532 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51533 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51534 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51535 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51536 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51537 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51538 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51539 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51540 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51541 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51542 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51543 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51544 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51545 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51546 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51547 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51548 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51549 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51550 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51551 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51552 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51553 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51554 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51555 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51556 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51557 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51558 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51559 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51560 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51561 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51562 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51563 DEREZ!$DEREZ$ac_delim
51564 SHARED!$SHARED$ac_delim
51565 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51566 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51567 USE_GUI!$USE_GUI$ac_delim
51568 AFMINSTALL!$AFMINSTALL$ac_delim
51569 WIN32INSTALL!$WIN32INSTALL$ac_delim
51570 TOOLKIT!$TOOLKIT$ac_delim
51571 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51572 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51573 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51574 cross_compiling!$cross_compiling$ac_delim
51575 WIDGET_SET!$WIDGET_SET$ac_delim
51576 WX_RELEASE!$WX_RELEASE$ac_delim
51577 WX_VERSION!$WX_VERSION$ac_delim
51578 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51579 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51580 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51581 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51582 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51583 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51584 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51585 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51586 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51587 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51588 GUIDIST!$GUIDIST$ac_delim
51589 DISTDIR!$DISTDIR$ac_delim
51590 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51591 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51592 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51593 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51594 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51595 RESCOMP!$RESCOMP$ac_delim
51596 RESFLAGS!$RESFLAGS$ac_delim
51597 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51598 _ACEOF
51599
51600 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51601 break
51602 elif $ac_last_try; then
51603 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51604 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51605 { (exit 1); exit 1; }; }
51606 else
51607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51608 fi
51609 done
51610
51611 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51612 if test -n "$ac_eof"; then
51613 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51614 ac_eof=`expr $ac_eof + 1`
51615 fi
51616
51617 cat >>$CONFIG_STATUS <<_ACEOF
51618 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51620 _ACEOF
51621 sed '
51622 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51623 s/^/s,@/; s/!/@,|#_!!_#|/
51624 :n
51625 t n
51626 s/'"$ac_delim"'$/,g/; t
51627 s/$/\\/; p
51628 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51629 ' >>$CONFIG_STATUS <conf$$subs.sed
51630 rm -f conf$$subs.sed
51631 cat >>$CONFIG_STATUS <<_ACEOF
51632 CEOF$ac_eof
51633 _ACEOF
51634
51635
51636 ac_delim='%!_!# '
51637 for ac_last_try in false false false false false :; do
51638 cat >conf$$subs.sed <<_ACEOF
51639 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51640 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51641 LIBWXMACRES!$LIBWXMACRES$ac_delim
51642 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51643 MACSETFILE!$MACSETFILE$ac_delim
51644 GCC!$GCC$ac_delim
51645 DLLTOOL!$DLLTOOL$ac_delim
51646 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51647 LIBOBJS!$LIBOBJS$ac_delim
51648 LTLIBOBJS!$LTLIBOBJS$ac_delim
51649 _ACEOF
51650
51651 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51652 break
51653 elif $ac_last_try; then
51654 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51655 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51656 { (exit 1); exit 1; }; }
51657 else
51658 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51659 fi
51660 done
51661
51662 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51663 if test -n "$ac_eof"; then
51664 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51665 ac_eof=`expr $ac_eof + 1`
51666 fi
51667
51668 cat >>$CONFIG_STATUS <<_ACEOF
51669 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51671 _ACEOF
51672 sed '
51673 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51674 s/^/s,@/; s/!/@,|#_!!_#|/
51675 :n
51676 t n
51677 s/'"$ac_delim"'$/,g/; t
51678 s/$/\\/; p
51679 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51680 ' >>$CONFIG_STATUS <conf$$subs.sed
51681 rm -f conf$$subs.sed
51682 cat >>$CONFIG_STATUS <<_ACEOF
51683 :end
51684 s/|#_!!_#|//g
51685 CEOF$ac_eof
51686 _ACEOF
51687
51688
51689 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51690 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51691 # trailing colons and then remove the whole line if VPATH becomes empty
51692 # (actually we leave an empty line to preserve line numbers).
51693 if test "x$srcdir" = x.; then
51694 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51695 s/:*\$(srcdir):*/:/
51696 s/:*\${srcdir}:*/:/
51697 s/:*@srcdir@:*/:/
51698 s/^\([^=]*=[ ]*\):*/\1/
51699 s/:*$//
51700 s/^[^=]*=[ ]*$//
51701 }'
51702 fi
51703
51704 cat >>$CONFIG_STATUS <<\_ACEOF
51705 fi # test -n "$CONFIG_FILES"
51706
51707
51708 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51709 do
51710 case $ac_tag in
51711 :[FHLC]) ac_mode=$ac_tag; continue;;
51712 esac
51713 case $ac_mode$ac_tag in
51714 :[FHL]*:*);;
51715 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51716 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51717 { (exit 1); exit 1; }; };;
51718 :[FH]-) ac_tag=-:-;;
51719 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51720 esac
51721 ac_save_IFS=$IFS
51722 IFS=:
51723 set x $ac_tag
51724 IFS=$ac_save_IFS
51725 shift
51726 ac_file=$1
51727 shift
51728
51729 case $ac_mode in
51730 :L) ac_source=$1;;
51731 :[FH])
51732 ac_file_inputs=
51733 for ac_f
51734 do
51735 case $ac_f in
51736 -) ac_f="$tmp/stdin";;
51737 *) # Look for the file first in the build tree, then in the source tree
51738 # (if the path is not absolute). The absolute path cannot be DOS-style,
51739 # because $ac_f cannot contain `:'.
51740 test -f "$ac_f" ||
51741 case $ac_f in
51742 [\\/$]*) false;;
51743 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51744 esac ||
51745 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51746 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51747 { (exit 1); exit 1; }; };;
51748 esac
51749 ac_file_inputs="$ac_file_inputs $ac_f"
51750 done
51751
51752 # Let's still pretend it is `configure' which instantiates (i.e., don't
51753 # use $as_me), people would be surprised to read:
51754 # /* config.h. Generated by config.status. */
51755 configure_input="Generated from "`IFS=:
51756 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51757 if test x"$ac_file" != x-; then
51758 configure_input="$ac_file. $configure_input"
51759 { echo "$as_me:$LINENO: creating $ac_file" >&5
51760 echo "$as_me: creating $ac_file" >&6;}
51761 fi
51762
51763 case $ac_tag in
51764 *:-:* | *:-) cat >"$tmp/stdin";;
51765 esac
51766 ;;
51767 esac
51768
51769 ac_dir=`$as_dirname -- "$ac_file" ||
51770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51771 X"$ac_file" : 'X\(//\)[^/]' \| \
51772 X"$ac_file" : 'X\(//\)$' \| \
51773 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51774 echo X"$ac_file" |
51775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51776 s//\1/
51777 q
51778 }
51779 /^X\(\/\/\)[^/].*/{
51780 s//\1/
51781 q
51782 }
51783 /^X\(\/\/\)$/{
51784 s//\1/
51785 q
51786 }
51787 /^X\(\/\).*/{
51788 s//\1/
51789 q
51790 }
51791 s/.*/./; q'`
51792 { as_dir="$ac_dir"
51793 case $as_dir in #(
51794 -*) as_dir=./$as_dir;;
51795 esac
51796 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51797 as_dirs=
51798 while :; do
51799 case $as_dir in #(
51800 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51801 *) as_qdir=$as_dir;;
51802 esac
51803 as_dirs="'$as_qdir' $as_dirs"
51804 as_dir=`$as_dirname -- "$as_dir" ||
51805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51806 X"$as_dir" : 'X\(//\)[^/]' \| \
51807 X"$as_dir" : 'X\(//\)$' \| \
51808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51809 echo X"$as_dir" |
51810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51811 s//\1/
51812 q
51813 }
51814 /^X\(\/\/\)[^/].*/{
51815 s//\1/
51816 q
51817 }
51818 /^X\(\/\/\)$/{
51819 s//\1/
51820 q
51821 }
51822 /^X\(\/\).*/{
51823 s//\1/
51824 q
51825 }
51826 s/.*/./; q'`
51827 test -d "$as_dir" && break
51828 done
51829 test -z "$as_dirs" || eval "mkdir $as_dirs"
51830 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51831 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51832 { (exit 1); exit 1; }; }; }
51833 ac_builddir=.
51834
51835 case "$ac_dir" in
51836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51837 *)
51838 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51839 # A ".." for each directory in $ac_dir_suffix.
51840 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51841 case $ac_top_builddir_sub in
51842 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51843 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51844 esac ;;
51845 esac
51846 ac_abs_top_builddir=$ac_pwd
51847 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51848 # for backward compatibility:
51849 ac_top_builddir=$ac_top_build_prefix
51850
51851 case $srcdir in
51852 .) # We are building in place.
51853 ac_srcdir=.
51854 ac_top_srcdir=$ac_top_builddir_sub
51855 ac_abs_top_srcdir=$ac_pwd ;;
51856 [\\/]* | ?:[\\/]* ) # Absolute name.
51857 ac_srcdir=$srcdir$ac_dir_suffix;
51858 ac_top_srcdir=$srcdir
51859 ac_abs_top_srcdir=$srcdir ;;
51860 *) # Relative name.
51861 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51862 ac_top_srcdir=$ac_top_build_prefix$srcdir
51863 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51864 esac
51865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51866
51867
51868 case $ac_mode in
51869 :F)
51870 #
51871 # CONFIG_FILE
51872 #
51873
51874 case $INSTALL in
51875 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51876 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51877 esac
51878 _ACEOF
51879
51880 cat >>$CONFIG_STATUS <<\_ACEOF
51881 # If the template does not know about datarootdir, expand it.
51882 # FIXME: This hack should be removed a few years after 2.60.
51883 ac_datarootdir_hack=; ac_datarootdir_seen=
51884
51885 case `sed -n '/datarootdir/ {
51886 p
51887 q
51888 }
51889 /@datadir@/p
51890 /@docdir@/p
51891 /@infodir@/p
51892 /@localedir@/p
51893 /@mandir@/p
51894 ' $ac_file_inputs` in
51895 *datarootdir*) ac_datarootdir_seen=yes;;
51896 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51897 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51898 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51899 _ACEOF
51900 cat >>$CONFIG_STATUS <<_ACEOF
51901 ac_datarootdir_hack='
51902 s&@datadir@&$datadir&g
51903 s&@docdir@&$docdir&g
51904 s&@infodir@&$infodir&g
51905 s&@localedir@&$localedir&g
51906 s&@mandir@&$mandir&g
51907 s&\\\${datarootdir}&$datarootdir&g' ;;
51908 esac
51909 _ACEOF
51910
51911 # Neutralize VPATH when `$srcdir' = `.'.
51912 # Shell code in configure.ac might set extrasub.
51913 # FIXME: do we really want to maintain this feature?
51914 cat >>$CONFIG_STATUS <<_ACEOF
51915 sed "$ac_vpsub
51916 $extrasub
51917 _ACEOF
51918 cat >>$CONFIG_STATUS <<\_ACEOF
51919 :t
51920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51921 s&@configure_input@&$configure_input&;t t
51922 s&@top_builddir@&$ac_top_builddir_sub&;t t
51923 s&@srcdir@&$ac_srcdir&;t t
51924 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51925 s&@top_srcdir@&$ac_top_srcdir&;t t
51926 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51927 s&@builddir@&$ac_builddir&;t t
51928 s&@abs_builddir@&$ac_abs_builddir&;t t
51929 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51930 s&@INSTALL@&$ac_INSTALL&;t t
51931 $ac_datarootdir_hack
51932 " $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
51933
51934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51935 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51936 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51937 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51938 which seems to be undefined. Please make sure it is defined." >&5
51939 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51940 which seems to be undefined. Please make sure it is defined." >&2;}
51941
51942 rm -f "$tmp/stdin"
51943 case $ac_file in
51944 -) cat "$tmp/out"; rm -f "$tmp/out";;
51945 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51946 esac
51947 ;;
51948 :H)
51949 #
51950 # CONFIG_HEADER
51951 #
51952 _ACEOF
51953
51954 # Transform confdefs.h into a sed script `conftest.defines', that
51955 # substitutes the proper values into config.h.in to produce config.h.
51956 rm -f conftest.defines conftest.tail
51957 # First, append a space to every undef/define line, to ease matching.
51958 echo 's/$/ /' >conftest.defines
51959 # Then, protect against being on the right side of a sed subst, or in
51960 # an unquoted here document, in config.status. If some macros were
51961 # called several times there might be several #defines for the same
51962 # symbol, which is useless. But do not sort them, since the last
51963 # AC_DEFINE must be honored.
51964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51965 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51966 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51967 # PARAMS is the parameter list in the macro definition--in most cases, it's
51968 # just an empty string.
51969 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51970 ac_dB='\\)[ (].*,\\1define\\2'
51971 ac_dC=' '
51972 ac_dD=' ,'
51973
51974 uniq confdefs.h |
51975 sed -n '
51976 t rset
51977 :rset
51978 s/^[ ]*#[ ]*define[ ][ ]*//
51979 t ok
51980 d
51981 :ok
51982 s/[\\&,]/\\&/g
51983 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51984 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51985 ' >>conftest.defines
51986
51987 # Remove the space that was appended to ease matching.
51988 # Then replace #undef with comments. This is necessary, for
51989 # example, in the case of _POSIX_SOURCE, which is predefined and required
51990 # on some systems where configure will not decide to define it.
51991 # (The regexp can be short, since the line contains either #define or #undef.)
51992 echo 's/ $//
51993 s,^[ #]*u.*,/* & */,' >>conftest.defines
51994
51995 # Break up conftest.defines:
51996 ac_max_sed_lines=50
51997
51998 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51999 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52000 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52001 # et cetera.
52002 ac_in='$ac_file_inputs'
52003 ac_out='"$tmp/out1"'
52004 ac_nxt='"$tmp/out2"'
52005
52006 while :
52007 do
52008 # Write a here document:
52009 cat >>$CONFIG_STATUS <<_ACEOF
52010 # First, check the format of the line:
52011 cat >"\$tmp/defines.sed" <<\\CEOF
52012 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52013 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52014 b
52015 :def
52016 _ACEOF
52017 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52018 echo 'CEOF
52019 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52020 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52021 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52022 grep . conftest.tail >/dev/null || break
52023 rm -f conftest.defines
52024 mv conftest.tail conftest.defines
52025 done
52026 rm -f conftest.defines conftest.tail
52027
52028 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52029 cat >>$CONFIG_STATUS <<\_ACEOF
52030 if test x"$ac_file" != x-; then
52031 echo "/* $configure_input */" >"$tmp/config.h"
52032 cat "$ac_result" >>"$tmp/config.h"
52033 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52034 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52035 echo "$as_me: $ac_file is unchanged" >&6;}
52036 else
52037 rm -f $ac_file
52038 mv "$tmp/config.h" $ac_file
52039 fi
52040 else
52041 echo "/* $configure_input */"
52042 cat "$ac_result"
52043 fi
52044 rm -f "$tmp/out12"
52045 ;;
52046
52047 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52048 echo "$as_me: executing $ac_file commands" >&6;}
52049 ;;
52050 esac
52051
52052
52053 case $ac_file$ac_mode in
52054 "rcdefs.h":C)
52055 mkdir -p $outdir &&
52056 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52057 ;;
52058 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52059 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52060 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52061 "wx-config":C) rm -f wx-config
52062 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52063 ;;
52064
52065 esac
52066 done # for ac_tag
52067
52068
52069 { (exit 0); exit 0; }
52070 _ACEOF
52071 chmod +x $CONFIG_STATUS
52072 ac_clean_files=$ac_clean_files_save
52073
52074
52075 # configure is writing to config.log, and then calls config.status.
52076 # config.status does its own redirection, appending to config.log.
52077 # Unfortunately, on DOS this fails, as config.log is still kept open
52078 # by configure, so config.status won't be able to write to it; its
52079 # output is simply discarded. So we exec the FD to /dev/null,
52080 # effectively closing config.log, so it can be properly (re)opened and
52081 # appended to by config.status. When coming back to configure, we
52082 # need to make the FD available again.
52083 if test "$no_create" != yes; then
52084 ac_cs_success=:
52085 ac_config_status_args=
52086 test "$silent" = yes &&
52087 ac_config_status_args="$ac_config_status_args --quiet"
52088 exec 5>/dev/null
52089 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52090 exec 5>>config.log
52091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52092 # would make configure fail if this is the last instruction.
52093 $ac_cs_success || { (exit 1); exit 1; }
52094 fi
52095
52096 #
52097 # CONFIG_SUBDIRS section.
52098 #
52099 if test "$no_recursion" != yes; then
52100
52101 # Remove --cache-file and --srcdir arguments so they do not pile up.
52102 ac_sub_configure_args=
52103 ac_prev=
52104 eval "set x $ac_configure_args"
52105 shift
52106 for ac_arg
52107 do
52108 if test -n "$ac_prev"; then
52109 ac_prev=
52110 continue
52111 fi
52112 case $ac_arg in
52113 -cache-file | --cache-file | --cache-fil | --cache-fi \
52114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52115 ac_prev=cache_file ;;
52116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52118 | --c=*)
52119 ;;
52120 --config-cache | -C)
52121 ;;
52122 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52123 ac_prev=srcdir ;;
52124 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52125 ;;
52126 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52127 ac_prev=prefix ;;
52128 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52129 ;;
52130 *)
52131 case $ac_arg in
52132 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52133 esac
52134 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52135 esac
52136 done
52137
52138 # Always prepend --prefix to ensure using the same prefix
52139 # in subdir configurations.
52140 ac_arg="--prefix=$prefix"
52141 case $ac_arg in
52142 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52143 esac
52144 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52145
52146 # Pass --silent
52147 if test "$silent" = yes; then
52148 ac_sub_configure_args="--silent $ac_sub_configure_args"
52149 fi
52150
52151 ac_popdir=`pwd`
52152 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52153
52154 # Do not complain, so a configure script can configure whichever
52155 # parts of a large source tree are present.
52156 test -d "$srcdir/$ac_dir" || continue
52157
52158 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52159 echo "$as_me:$LINENO: $ac_msg" >&5
52160 echo "$ac_msg" >&6
52161 { as_dir="$ac_dir"
52162 case $as_dir in #(
52163 -*) as_dir=./$as_dir;;
52164 esac
52165 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52166 as_dirs=
52167 while :; do
52168 case $as_dir in #(
52169 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52170 *) as_qdir=$as_dir;;
52171 esac
52172 as_dirs="'$as_qdir' $as_dirs"
52173 as_dir=`$as_dirname -- "$as_dir" ||
52174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52175 X"$as_dir" : 'X\(//\)[^/]' \| \
52176 X"$as_dir" : 'X\(//\)$' \| \
52177 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52178 echo X"$as_dir" |
52179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52180 s//\1/
52181 q
52182 }
52183 /^X\(\/\/\)[^/].*/{
52184 s//\1/
52185 q
52186 }
52187 /^X\(\/\/\)$/{
52188 s//\1/
52189 q
52190 }
52191 /^X\(\/\).*/{
52192 s//\1/
52193 q
52194 }
52195 s/.*/./; q'`
52196 test -d "$as_dir" && break
52197 done
52198 test -z "$as_dirs" || eval "mkdir $as_dirs"
52199 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52200 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52201 { (exit 1); exit 1; }; }; }
52202 ac_builddir=.
52203
52204 case "$ac_dir" in
52205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52206 *)
52207 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52208 # A ".." for each directory in $ac_dir_suffix.
52209 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52210 case $ac_top_builddir_sub in
52211 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52212 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52213 esac ;;
52214 esac
52215 ac_abs_top_builddir=$ac_pwd
52216 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52217 # for backward compatibility:
52218 ac_top_builddir=$ac_top_build_prefix
52219
52220 case $srcdir in
52221 .) # We are building in place.
52222 ac_srcdir=.
52223 ac_top_srcdir=$ac_top_builddir_sub
52224 ac_abs_top_srcdir=$ac_pwd ;;
52225 [\\/]* | ?:[\\/]* ) # Absolute name.
52226 ac_srcdir=$srcdir$ac_dir_suffix;
52227 ac_top_srcdir=$srcdir
52228 ac_abs_top_srcdir=$srcdir ;;
52229 *) # Relative name.
52230 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52231 ac_top_srcdir=$ac_top_build_prefix$srcdir
52232 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52233 esac
52234 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52235
52236
52237 cd "$ac_dir"
52238
52239 # Check for guested configure; otherwise get Cygnus style configure.
52240 if test -f "$ac_srcdir/configure.gnu"; then
52241 ac_sub_configure=$ac_srcdir/configure.gnu
52242 elif test -f "$ac_srcdir/configure"; then
52243 ac_sub_configure=$ac_srcdir/configure
52244 elif test -f "$ac_srcdir/configure.in"; then
52245 # This should be Cygnus configure.
52246 ac_sub_configure=$ac_aux_dir/configure
52247 else
52248 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52249 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52250 ac_sub_configure=
52251 fi
52252
52253 # The recursion is here.
52254 if test -n "$ac_sub_configure"; then
52255 # Make the cache file name correct relative to the subdirectory.
52256 case $cache_file in
52257 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52258 *) # Relative name.
52259 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52260 esac
52261
52262 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52263 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52264 # The eval makes quoting arguments work.
52265 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52266 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52267 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52268 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52269 { (exit 1); exit 1; }; }
52270 fi
52271
52272 cd "$ac_popdir"
52273 done
52274 fi
52275
52276
52277 echo
52278 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52279 echo ""
52280 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52281 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52282
52283 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52284 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52285 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52286 if test "$wxUSE_UNICODE" = "yes"; then
52287 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52288 echo " (using UTF-8)"
52289 else
52290 echo " (using wchar_t)"
52291 fi
52292 else
52293 echo
52294 fi
52295
52296 echo " What level of wxWidgets compatibility should be enabled?"
52297 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52298 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52299
52300 echo " Which libraries should wxWidgets use?"
52301 echo " STL ${wxUSE_STL}"
52302 echo " jpeg ${wxUSE_LIBJPEG-none}"
52303 echo " png ${wxUSE_LIBPNG-none}"
52304 echo " regex ${wxUSE_REGEX}"
52305 echo " tiff ${wxUSE_LIBTIFF-none}"
52306 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52307 echo " xpm ${wxUSE_LIBXPM-none}"
52308 fi
52309 echo " zlib ${wxUSE_ZLIB}"
52310 echo " expat ${wxUSE_EXPAT}"
52311 echo " libmspack ${wxUSE_LIBMSPACK}"
52312 echo " sdl ${wxUSE_LIBSDL}"
52313
52314 echo ""
52315